EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: that_guy on February 23, 2015, 09:39:33 pm

Title: Looking for feedback on mains triac circuit design
Post by: that_guy on February 23, 2015, 09:39:33 pm
Hi there,

I've created a simple schematic for a 240VAC mains-powered triac dimming circuit and I'd like to get your feedback on whether I'm likely to blow anything up or whether anything can be done better. The relevant part of the schematic is attached. The circuit is based on Figure 13 in the MOC3020M triac optocoupler datasheet (https://www.fairchildsemi.com/datasheets/MO/MOC3023M.pdf). Some points and questions:


Thanks in advance for taking the time to read this. It's really important to me to get feedback on handling the mains part of this design correctly and safely.
Title: Re: Looking for feedback on mains triac circuit design
Post by: IanB on February 23, 2015, 09:55:54 pm
The low voltage part of your circuit and the use of the optocoupler seems like overkill unless you are looking to provide remote dimming control from another system (but you did not mention this in your post)?

If the lamp cooling fan has an induction motor (is it small and quiet?) then it won't take kindly to being dimmed. You may want to power it separately from the dimming circuit.
Title: Re: Looking for feedback on mains triac circuit design
Post by: that_guy on February 23, 2015, 10:07:42 pm
The low voltage part of your circuit and the use of the optocoupler seems like overkill unless you are looking to provide remote dimming control from another system (but you did not mention this in your post)?
Yes the dimming control will be handled by an MCU that monitors the ZSENSE zero crossing signal and switches the triac at the optimum point in the cycle via the ACTIVE signal.
Quote
If the lamp cooling fan has an induction motor (is it small and quiet?) then it won't take kindly to being dimmed. You may want to power it separately from the dimming circuit.
Good point. Pretty sure it's not an induction motor. It's certainly not quiet. Might be a good idea to separate it out though as there's no benefit to dimming it.
Title: Re: Looking for feedback on mains triac circuit design
Post by: IanB on February 23, 2015, 10:23:01 pm
The low voltage part of your circuit and the use of the optocoupler seems like overkill unless you are looking to provide remote dimming control from another system (but you did not mention this in your post)?
Yes the dimming control will be handled by an MCU that monitors the ZSENSE zero crossing signal and switches the triac at the optimum point in the cycle via the ACTIVE signal.

No, that's not what I mean. It doesn't make sense to use an MCU to perform cycle by cycle monitoring and phase control like this. An MCU is best used for high level supervisory control, not low level loop control.

Remote dimming control means you might have some kind of external 0 to 5 V signal (for example) that you want to use to control the brightness remotely.

In general you seem to have a very complicated circuit with more parts than necessary. Does it need to be so complicated? Without context it would be hard for someone to give review comments.
Title: Re: Looking for feedback on mains triac circuit design
Post by: oldway on February 23, 2015, 10:27:50 pm
Primary of T1 must be feeded directly by mains, not after the 1200W lamp.
Title: Re: Looking for feedback on mains triac circuit design
Post by: wraper on February 23, 2015, 10:45:58 pm
Yes the dimming control will be handled by an MCU that monitors the ZSENSE zero crossing signal and switches the triac at the optimum point in the cycle via the ACTIVE signal.
How it is supposed to detect zero crossing if there is 470uF in parallel to emitter of the optocoupler? This is not functional circuit. If you are using transformer, there is no need for optocoupler to detect zero crossing, it is just wasting parts. If using SMPS, then better to use optocoupler with AC input such as H11A1 at the mains side.
Title: Re: Looking for feedback on mains triac circuit design
Post by: wraper on February 23, 2015, 10:53:36 pm
There is another error. T1 primary winding is connected in parallel with the triac and in series with the load. Once you open the triac, your circuit will just shut down because of power lacking. There will be virtually no voltage on the primary of T1.
Title: Re: Looking for feedback on mains triac circuit design
Post by: that_guy on February 24, 2015, 07:23:32 am
Primary of T1 must be feeded directly by mains, not after the 1200W lamp.

That one is embarrassing,  thanks for spotting it. ????
Title: Re: Looking for feedback on mains triac circuit design
Post by: picandmix on February 24, 2015, 04:29:44 pm
Why not simply use a commercial SSR  thats  all safely enclosed in a strong housing.
It can be driven directly from your micro via a small series resistor
http://uk.farnell.com/omron-industrial-automation/g3na-210b-5-24dc/ssr-10a/dp/1181259 (http://uk.farnell.com/omron-industrial-automation/g3na-210b-5-24dc/ssr-10a/dp/1181259)

Again as Ian has said, you will need a separate power line for the fan, as many do not like being driven that way.
However some do, the easier way to test them is to try a simple household light dimmer  and see if it works ok.

That said, for its power use, is there any point in running the fan at a lower setting, the cooler the lamp is the better.