Electronic – Why Snub an Optoisolator

opto-isolatortriac

I am using an optocoupler and a power triac to switch 120VAC supply to an ~108 watt fan. The datasheet for my optocoupler requires me to snub the optocoupler output when I'm switching an inductive load (which I'm guessing an AC fan is). Why?

I can see you might want to snub the fan itself if you're switching off/on frequently and you don't want the initial voltage and resulting EM spike, but I don't know why I should care to snub the relatively low current through the optocoupler outputs.

Best Answer

The snubber on a triac helps the triac turn off.

Whether you need a snubber has nothing to do with the how much power your load consumes. If you have an inductive load, you need a snubber to get that triac to turn off and stay off -- to avoid unwanted turn-on -- even when your load is very low power.

Typically the control circuit tries to turn off a triac by pulling the other end of a resistor tied to the triac gate "up" to VCC, the same voltage as the cathode A1.

The triac remains "on" until the current through the triac reaches zero, which may be as much as 10 ms later. At that later time, there is zero current through an inductive load, and therefore zero energy stored in the magnetic field.

(When we use a NPN transistor or MOSFET transistor or a relay contact to turn off an inductive load, we have to somehow deal with the "flyback voltage" produced when the energy stored in the magnetic field in the load is dumped. We don't have to deal with this energy dump when we use a triac, and so the complete system using a triac+snubber typically ends up simpler and cheaper than these other ways of switching AC mains power to a load).

When the triac finally turns off, the voltage across the load rapidly changes to near zero, and the voltage across the triac rapidly changes to nearly the instantaneous mains voltage. (At the instant the triac turns off, the instantaneous current through the load is near zero, but with an inductive load the instantaneous absolute voltage across the load is close to the maximum peak instantaneous mains voltage).

The voltage itself is not a problem -- before the triac turned on, and after the triac has been turned off for a while, the full mains voltage is applied across the triac A1 and A2 pins indefinitely, without any problems.

The rapid change in voltage causes problems -- the rapid change in voltage at the anode A2 is coupled through unwanted parasitic capacitance inside the triac to the gate of the triac, turning the triac back on.

To avoid this unwanted turn-on, we add a snubber to reduce the rate of the change in voltage at A2. Lowering the change in voltage reduces the current through that parasitic internal capacitance. We can't reduce that current to zero, but we can keep it low enough that the resistor connected to the gate terminal keeps the gate voltage close enough to A1 -- keeping the triac turned off when it is supposed to be off.

Another way to avoid this unwanted turn-on is to choose one of the newer "SNUBBERLESS" triacs that have much smaller parasitic capacitance inside the triac.