Powerful Digital AC Dimmer Circuit Using STM32

AC loads live with us! Because they are everywhere around us and at least home appliances are supplied with the mains power. Many types of industrial equipment are also powered with the single-phase 220V-AC. Therefore, we frequently face situations that we need to have full control (dimming) over an AC load, such as a lamp, an AC motor, a vacuum cleaner, a drill, … etc.

We should know that controlling an AC load is not as simple as a DC load. We have to use a different electronic circuit and strategy. Moreover, if an AC dimmer designed digitally, it is considered a time-critical application, and the microcontroller’s code must be written carefully and efficiently. In this article, I introduced an isolated 4000W digital AC dimmer that consists of two parts: the mainboard and the panel. The panel board provides two push buttons and a seven-segment display that allows the user to adjust the output voltage smoothly.

YouTube: https://www.youtube.com/watch?v=Yp4x3e1ilU4










Article: https://www.pcbway.com/blog/technology/4000W_Standalone_Digital_AC_Dimmer_Using_STM32.html

[1]: TLP521 Datasheet: https://www.futurlec.com/Datasheet/LED/TLP521.pdf

[2]: BTA26 Datasheet: https://www.mouser.com/datasheet/2/389/cd00002264-1795706.pdf

[3]: AN437, ST Application Note: https://www.st.com/resource/en/application_note/cd00004096-rc-snubber-circuit-design-for-triacs-stmicroelectronics.pdf

[4]: MOC3021 Datasheet: http://www.farnell.com/datasheets/97984.pdf

[5]: AMS1117-3.3 Datasheet: http://www.advanced-monolithic.com/pdf/ds1117.pdf

[6]: STM32F030F4 Datasheet: https://www.mouser.com/datasheet/2/389/dm00088500-1797910.pdf

[7]: Schematic Symbol and PCB Footprint of TLP521: https://componentsearchengine.com/part/1774908/model/download

[8]: Schematic Symbol and PCB Footprint of MOC3021: https://componentsearchengine.com/part/229006098/model/download

[9]: Schematic Symbol and PCB Footprint of BTA26-600: https://componentsearchengine.com/part/1587919/model/download

[10]: Schematic Symbol and PCB Footprint of AMS1117-3.3: https://componentsearchengine.com/part/656857/model/download

[11]: Schematic Symbol and PCB Footprint of STM32F030F4: https://componentsearchengine.com/part/182014793/model/download

[12]: Electronic CAD Plugins: https://www.samacsys.com/library-loader-help

[13]: 2N7002 Datasheet: https://www.diodes.com/assets/Datasheets/ds11303.pdf

[14]: Schematic Symbol and PCB Footprint of 2N7002: https://componentsearchengine.com/part/228320879/model/download