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: Digital AC Dimmer Circuit Using STM32 and Power TRIAC - YouTube

References

Article: High Power Standalone Digital AC Dimmer Using STM32 - Technology - PCBway

[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: TLP521-1 footprint, schematic symbol and 3D model by Toshiba

[8]: Schematic Symbol and PCB Footprint of MOC3021: MOC3021M footprint, schematic symbol and 3D model by onsemi

[9]: Schematic Symbol and PCB Footprint of BTA26-600: Component Search Engine - Free access to schematic symbols, PCB footprints and 3D models

[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: Component Search Engine - Free access to schematic symbols, PCB footprints and 3D models

[12]: Electronic CAD Plugins: Library Loader help - SamacSys

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

[14]: Schematic Symbol and PCB Footprint of 2N7002: 2N7002AQ-7 footprint, schematic symbol and 3D model by Diodes Inc.