Author Topic: DIY Smart Dimmer with Power Monitoring: Need safety tips.  (Read 311 times)

0 Members and 1 Guest are viewing this topic.

Offline johmTopic starter

  • Contributor
  • Posts: 42
  • Country: es
  • Really fond of Sines & Silicon.
DIY Smart Dimmer with Power Monitoring: Need safety tips.
« on: June 29, 2024, 10:22:43 pm »
Hello, low power design enthusiast here.

I am working on a mains-connected project consisting of an ST microcontroller, a digitally controlled TRIAC+IGBT based AC dimmer and a power meter IC. Basically I am stitching together two reference designs (STEVAL-ILD004V2https://www.st.com/resource/en/user_manual/um1908-stevalild004v2-leadingedge-dimmer-stmicroelectronics.pdf from ST and CRD5436PM https://statics.cirrus.com/pubs/rdDatasheet/CRD5463PM_RD2.pdf from Cirrus Logic). The design intent is to have a dimmable light socket with embedded power metering, for domestic use.

Which nodes on the dimmer circuit have AC mains voltage?
Can I use the same ground across both designs and the power supply? It looks like ground has AC voltage as well with respect to earth (it is not isolated).

I have attached snapshots of the power supply, dimmer circuit and power metering circuit (a 99 % copy from the reference designs). The microcontroller is powered from 3.3 V. I want to be sure of the above questions before feeling safe about plugging the design onto real AC mains.

Hopefully you can clarify my confusion. Thank you.
Assembly is the high level programming for an ASIC design engineer (with no VHDL/Verilog).
 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 1971
  • Country: au
Re: DIY Smart Dimmer with Power Monitoring: Need safety tips.
« Reply #1 on: June 29, 2024, 11:54:45 pm »
It is a very confusing circuit to evaluate, the best I can see is that you have a controlled bridge rectifier with two SCRs and an IGBT inserted into it somehow, the use of 'GND' everywhere when I don't think you mean mains ground is confusing. I would use the term 'GND' only to refer to mains ground and either 0V or some other name for non mains ground nets to avoid ambiguity.
 

Offline Phoenix

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: au
Re: DIY Smart Dimmer with Power Monitoring: Need safety tips.
« Reply #2 on: June 30, 2024, 12:22:08 am »
A block diagram of what you're trying to achieve would help.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9163
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: DIY Smart Dimmer with Power Monitoring: Need safety tips.
« Reply #3 on: June 30, 2024, 04:37:14 am »
I don't see any advantage of using both an IGBT and a SCR in that application. You could instead use a pair of back to back IGBTs or MOSFETs. Reference the circuit to the middle of the two MOSFETs or IGBTs and you'll find that you can put the shunt right there.
Try these for design ideas: https://www.sound-au.com/project157.htm https://www.sound-au.com/project201.htm
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 
The following users thanked this post: johm

Offline johmTopic starter

  • Contributor
  • Posts: 42
  • Country: es
  • Really fond of Sines & Silicon.
Re: DIY Smart Dimmer with Power Monitoring: Need safety tips.
« Reply #4 on: June 30, 2024, 08:13:27 am »
Here's a simplified block diagram of the funcionality expected. The meter IC, CS5463, is powered from 5V0 and 3V3 generated from the AC/DC brick and linear regulators. The microcontroller uses 3.3V only. The unregulated 12V are needed for the IGBT section of the dimmer. The IGBT section is used to limit the inrush of current when the SCRs are triggered, hence reducing the need for a bulky inductor.
Assembly is the high level programming for an ASIC design engineer (with no VHDL/Verilog).
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9163
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: DIY Smart Dimmer with Power Monitoring: Need safety tips.
« Reply #5 on: June 30, 2024, 12:22:34 pm »
The IGBT section is used to limit the inrush of current when the SCRs are triggered, hence reducing the need for a bulky inductor.
That doesn't make sense, IGBTs are generally much faster than SCRs. Inrush control is done by ramping the output.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf