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.


2 Answers 2


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.


The snubbers are to minimise the effect of high voltages when the inductive load is switched. In some circumstances a voltage can be fed back to the opto-coupler output via the triac connections, hence the second snubber. The note does say that the snubber might not be needed, but I'd be inclined to include it, anyway. The parts are cheap and will avoid zapping the opto-coupler.

  • \$\begingroup\$ What circumstances are you thinking of which would feedback voltage to the opto-coupler and "zap" it, as you say? \$\endgroup\$ Jun 2, 2011 at 18:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.