Mechanical Relays
Mechanical relays are electronic components which can switch a load on and off from an isolated control signal using an electromagnet and contactors.
Relays are used for things such as:
- Turing on mains voltage devices from 5-12V circuits, while providing isolation
- Switching large currents
- Providing isolation between two circuits (although opto-couplers are normally used for this)
Relays can also come packaged with other functionality such as built-in timers.
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
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)
Inductive Kickback and Flyback Diodes
The coil of a relay is basically an inductor. Due to the rapid 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 .
It is absolutely necessary to connect a diode in the circuit as a means of preventing damage from the counter emf --- Panasonic: Relay Technical Information1.
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 open21.
This diode shunt provides maximum protection to the solid state switch, but may have very adverse effects on the switching capability of the relay --- TE Connectivity (Application Note): Coil Suppression Can Reduce Relay Life2.
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).
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).
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 below:
Supplier Links
- DigiKey: http://www.digikey.com/product-search/en/relays
- TE: http://www.te.com/catalog/relays/menu/en/16453
Footnotes
-
Panasonic. Relay Technical Information. Retrieved 2021-12-29, from https://www.panasonic-electric-works.com/pew/eu/downloads/technical_information_relay_en.pdf. ↩ ↩2
-
TE Connectivity. Application Note: Coil Suppression Can Reduce Relay Life. Retrieved 2021-12-29, from https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=13C3264_AppNote&DocType=CS&DocLang=EN. ↩ ↩2