Arduino Forum

Topics => Product Design => Topic started by: hesam_m on Jul 04, 2020, 11:47 am

Title: Powerful Digital AC Dimmer Circuit Using STM32
Post by: hesam_m on Jul 04, 2020, 11:47 am
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 (https://www.youtube.com/watch?v=Yp4x3e1ilU4)


(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1730475301242t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1731401020551t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1732144535135t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1732384613015t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1737292926430t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1737097612642t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1738045172807t.jpg)

(https://pcbwayfile.s3-us-west-2.amazonaws.com/web/20/06/30/1738216614788t.jpg)


References

Article: https://www.pcbway.com/blog/technology/4000W_Standalone_Digital_AC_Dimmer_Using_STM32.html (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 (https://www.futurlec.com/Datasheet/LED/TLP521.pdf)

[2]: BTA26 Datasheet: https://www.mouser.com/datasheet/2/389/cd00002264-1795706.pdf (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 (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 (http://www.farnell.com/datasheets/97984.pdf)

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

[6]: STM32F030F4 Datasheet: https://www.mouser.com/datasheet/2/389/dm00088500-1797910.pdf (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 (https://componentsearchengine.com/part/1774908/model/download)

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

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

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

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

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

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

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