# What is the purpose of the Zener diode in this relay coil circuit?

It is clear that the ordinary diode is the usual flyback diode that dissipates the energy stored in the coil while it is turned off, but what could be the purpose of the Zener diode?

I think the main effect of it would be that a significant reverse voltage spike occurs at the relay coil during turn-off, but wouldn't this spike be counterproductive for a fast turn-off because the relay has no polarity and will stay magnetized during the spike?

This answer seems somehow related, but there the Zener is at the switching transistor and not in parallel to the coil. Is the function the same (dissipate energy faster at higher voltage?)

• Try to figure out why the regular diode is needed, and compare the power dissipated in the Zener in above circuit and the answer you linked. Whence does the difference come? Apr 24, 2023 at 15:27
• @greybeard the OP knows why the diode is used. Apr 24, 2023 at 15:43
• (@Andyaka quite possibly. Mentioned above is the usual flyback diode that dissipates the energy, which is off in that only a small part of the dissipation will be in the regular diode.) Apr 24, 2023 at 15:48
• With the so-called flyback diode most of the energy is dissipated in the coil resistance. Apr 24, 2023 at 15:58
• greybeard and RussellH: good point. This was actually a misconception of mine, but it is of course pretty obvious if one weighs the coil voltage at turn-off (e.g. 12 V) against the diode voltage of say 0.7 V. Apr 24, 2023 at 16:06

what could be the purpose of the Zener diode

With the Zener diode bypassed, the time taken to discharge all the magnetic stored energy from the relay coil via the diode can be several ten of milli-seconds. During most of this period, the relay may stay energized enough to hold the contacts closed.

However, if you insert the Zener, it will burn-off that stored energy in a much quicker time and the relay will deactivate much more quickly.

So, if speed is a big deal you'll probably use a Zener diode as per your diagram.

The down side is that you get a bigger peak back-emf and, if you are switching the relay coil with a transistor, it needs to be rated accordingly.

• The reverse polarity of the bigger voltage was my main concern and the reason why I thought at first "why would anyone do such a stupid thing?". But as it turns out, there is often some clever trick behind seemingly stupid things. ;-) Apr 24, 2023 at 15:45

The relay coil is an inductor which follows the inductor equation $$\V=L\frac{dI}{dt}\$$

A higher voltage causes the current to change more quickly (or vice versa).

Just as in the single-diode circuit, when the transistor turns off the relay tries to make infinite voltage at the transistor until something limits it. We don't want a very high voltage because it breaks the transistor (you already know that). We usually put in one diode as a flyback diode because it is the simplest solution. However this extra Zener diode causes the turn-off voltage to be higher and therefore the relay turns off more quickly.

A resistor can also be used instead of the Zener diode, and sometimes you will see even more exotic circuits, such as resistor-capacitor combinations.

• I'm aware this partially duplicates Andy's answer but Andy does not reference the equation nor explain what magnetic stored energy is. Apr 24, 2023 at 16:39
• I didn't explain it because the question didn't ask for that information and, after reading the question, it seems like the OP understood the basics in this respect. Apr 24, 2023 at 18:28
• Both are good answers that provide different views. I don't quite understand what you mean by "turn-off voltage" though. Zener conducts at a higher reverse voltage, so my intuition says coil will stay energised for longer Feb 10 at 12:34
• @YarekT It follows the inductor equation V=L*dI/dt. The voltage across the diode is in the direction that reduces the current (so, negative in the equation). More negative V, more negative dI/dt. Feb 10 at 22:23