RELAYS

# Relays

Article by:

## 1. Overview

Relays are traditionally electro-mechanical devices used for switching electronic circuits. There now exists "sold-state relays", which are purely electronic and contain no moving parts.

Uses:

• Turing on mains voltage devices from 5-12V circuits, while providing isolation

• Switching large currents

Relays with built in timers.

## 2. Terminology/Parameters

• The Coil: The windings which turn the relay on when you apply a voltage

• The Contacts: The output pins when get connected or disconnected when the relay turns on

• Rated Coil Voltage: The recommended voltage that should be applied to the coil to turn the relay on.

• Rated Coil Current: The current the relay coil will draw when the rated coil voltage is applied to it.

• Contact Current Rating: The maximum current that the relay can conduct through the contacts

Figure 1. The DEC DH1U-5VDC relay that can switch 250VAC at 15A.
Figure 2. The Tyco T9AS5D12 relay. Coil is driven with 12VDC and switches 240VAC. Notice the two different contact ratings, 10A for the N.C. (normally closed) and 20A for the N.O. (normally open).

## 3. Solid State Relays

Solid-state relays are relay’s that don’t have any moving mechanical parts involved in the switching. They use semi-conductor devices to perform the switching instead.

Figure 3. The MGR-1 D4825 solid state relay from Mager. The input takes 3-32VDC to switch the output 24-480VAC contacts at up to 25A.

The normal way of doing this is to perform the switching with back-to-back N-channel MOSFETs whose gates are activated by a isolating opto-coupler (LED and receiver).

Below is the typical schematic symbol for a solid-state relay, along with a resistor connected to the input to limit the current through the internal LED.

Figure 4. This is the typical schematic symbol for a solid-state relay, along with a resistor connected to the input to limit the current through the internal LED.

## 4. Contact Arrangements

• Normally open (NO): Contacts which are open-circuit when the coil is not energized, and become short-circuit to common when the coil is energized.

• Normally open (NO): Contacts which are short-circuit to common when the coil is not energized, and become open-circuit when the coil is energized.

Single-pole, single-throw (1A)

Double-pole, single-throw (1C)

Figure 5. Schematic symbol for a relay with a normally-open (NO), normally-closed (NC) and common contact.

## 5. Inductive Kickback and Flyback Diodes

The coil of a relay is basically an inductor. Due to the rapid $$\frac{di}{dt}$$ when the relay is switched off, the inductive coil will generate a large negative voltage to try and keep the current flowing (remember: inductors "resist" the change in current). This is called inductive kickback. This voltage spike can cause havoc in neighbouring components (e.g. killing the transistor used to switch the relay on, or arcing across switch terminals) if not suppressed. A flyback diode in anti-parallel across the coil of the relay will clamp the voltage spike to approx. no more than $$-0.7V$$.

Figure 6. Always add a "flyback" diode in anti-parallel across the coil of a relay to quench voltage spikes due the rapid di/dt through the inductor when the relay is switched of.

It is absolutely necessary to connect a diode in the circuit as a means of preventing damage from the counter emf[2].

— Panasonic: Relay Technical Information

However, there are some drawbacks to using basic flyback diodes. On relay switch-off, the flyback diode decays the magnetic field of the coil far more slowly than if there was no flyback diode protection present. This causes the relay to take longer for the "clapper type" relay contacts to open. When relay contacts open, small "microwelds" occurs at the contact interface. Usually, the contacts are moving apart with enough force/velocity that these welds are easily broken. However, the slower open time with a flyback diode can cause the relay to "stick" — this is when the contacts become welded together and do not open[1][2].

This diode shunt provides maximum protection to the solid state switch, but may have very adverse effects on the switching capability of the relay[1].

— TE Connectivity (Application Note): Coil Suppression Can Reduce Relay Life

The solution? Add a Zener diode in series with the general purpose diode to increase the voltage drop when the coil is turning off. This causes the magnetic field to collapse faster (closer to an open-circuit), but still provides circuit protection. Choose a Zener voltage so that the Zener voltage plus forward diode drop does not exceed the maximum voltage of the switching element (or other circuitry).

Figure 7. Adding a Zener in series with a general purpose diode as shown will improve the turn-off time and help prevent sticking, yet still provides over-voltage protection.

## 6. Latching

With a little external componentry, a mechanical relay can be made to latch-on after triggered, and will only reset once a reset button has been pushed (or power disconnected).

Figure 8. A simple latching relay circuit. The RESET pushbutton can be replaced with short if you only need the circuit to reset on power off.

## 7. Common Relay Packages

Most PCB-mount relays have an asymmetric lead configuration so that it cannot be installed incorrectly.

You can get DIN mounted relay "sockets" for mounting relays onto DIN rail, as shown in Figure 9.

Figure 9. An Omron relay on a DIN mounted relay "socket".

## Authors

### Geoffrey Hunter

Dude making stuff.