A relay works by passing current through a wire coil to generate a magnetic field, which pulls a ferrous armature to physically open or close electrical contacts. This fundamental electromechanical action allows a low-power control circuit (like a microcontroller or thermostat) to switch a high-power load circuit (like a motor or heater) while keeping the two sides galvanically isolated. Understanding how relays work requires looking past the simple 'click' and examining the distinct electrical behaviors of the coil side versus the contact side.

The Spec Sheet: Decoding Coil and Contact Ratings

Every electromechanical relay has two completely isolated electrical systems: the coil (the input control side) and the contacts (the output load side). The most common mistake makers and junior technicians make is looking only at the 'Max Contact Rating' and assuming it applies universally. It does not.

Below is a spec-sheet-table comparing four common industrial and PCB relays. Notice how the maximum resistive rating drops significantly when switching inductive or motor loads.

Part Number Coil Voltage Coil Resistance Max Resistive Rating Max Motor/Inductive Rating Breaking Capacity
Omron G2R-1-E 24V DC 1,150 Ω 10A @ 250VAC 3A @ 250VAC (Motor) 1,250 VA
Finder 55.34 230V AC 19,400 Ω 10A @ 250VAC 4A @ 250VAC (AC15) 2,500 VA
Panasonic ALQ3 5V DC 125 Ω 16A @ 250VAC 2A @ 250VAC (Inductive) 4,000 VA
Schneider RXM4AB2 24V DC 650 Ω 6A @ 250VAC 2A @ 250VAC (AC15) 1,500 VA

Which rating column governs your load?

The Max Resistive Rating column is a best-case scenario for purely resistive loads like space heaters or incandescent bulbs (though cold filaments have a brief inrush). If you are switching a compressor, a solenoid valve, or a fluorescent ballast, you must look at the Max Motor/Inductive Rating. Inductive loads store energy in magnetic fields and release it as a high-voltage arc when the contacts open. This arc pits and degrades the contact metallurgy. A relay rated for 10A resistive might only be rated for 3A inductive. If you ignore this column, your relay contacts will weld shut or carbonize within a few hundred cycles.

Wiring the Coil and Contacts (With Flyback Protection)

The physical wiring of a relay is split between the coil terminals (usually labeled A1 and A2, or simply + and - on PCB types) and the contact terminals (Common/C, Normally Open/NO, and Normally Closed/NC).

On the coil side, AC coils are generally non-polarized, meaning you can wire A1 and A2 in either direction. DC coils, however, often contain internal polarity-sensitive components like status LEDs or built-in suppression diodes. Always wire the positive supply to A1 (+) and the negative/ground to A2 (-) for DC coils unless the datasheet specifies otherwise.

WARNING: DC Coil Flyback Protection is Mandatory
When you de-energize a DC relay coil, the collapsing magnetic field induces a massive reverse-voltage spike (often 10x to 20x the supply voltage). If you are driving a 24V DC coil with an ESP32 GPIO via a 2N7000 MOSFET or a ULN2803 Darlington array, this spike will instantly punch through the semiconductor junction and fry your driver. Always wire a flyback diode (like a 1N4007) in reverse bias across the coil terminals (cathode to A1, anode to A2). The diode safely clamps the spike to about 0.7V above the supply rail.

On the contact side, the Common (C) terminal is your feed. The load connects to either NO (circuit closes when the coil is energized) or NC (circuit opens when the coil is energized). When protecting the contact side with overcurrent devices, remember that a fast-blow fuse and a thermal-magnetic breaker are not interchangeable. A breaker’s magnetic trip curve is designed to let a 10x motor inrush pass for a few milliseconds without tripping, whereas a fast-blow fuse of the same nominal rating will snap instantly. Match the protective device curve to the specific load type to avoid nuisance tripping or unprotected fault conditions.

Selection Decision Path by Load Type

Loads dictate relay selection. Use the decision-tree-table below to determine the correct relay class and supplementary protection for your specific application.

Load Type Typical Examples Inrush Characteristic Relay Selection Rule Supplementary Protection
Resistive Heaters, Toasters 1x running current (steady) Standard resistive contact rating is sufficient. Standard thermal breaker or fuse.
Inductive Solenoids, Contactors, Relays 1x running, but massive turn-off voltage spike. High breaking capacity required. Use AC-15 rated contacts. RC snubber network across contacts to quench arcs.
Motor Compressors, Fans, Pumps 6x to 8x running current (Locked Rotor Amps - LRA). Must be explicitly HP (Horsepower) rated for LRA and FLA. Motor-rated breaker with magnetic trip curve.
Capacitive LED Drivers, SMPS, UPS 20x to 100x running current (charging empty caps). Tungsten-rated contacts or Solid State Relay (SSR). NTC thermistor in series to limit inrush current.

For capacitive loads like modern LED drivers or switch-mode power supplies, the initial inrush current to charge the internal bulk capacitors can exceed 100A for a few milliseconds. A standard 10A electromechanical relay will suffer severe contact bouncing and micro-welding. For these loads, transition to a zero-crossing Solid State Relay (SSR) or use an NTC inrush current limiter in series with the load.

Testing, Troubleshooting, and Replacement

Relays are mechanical wear items. The contacts physically strike each other, and the spring metal fatigues. Knowing how to test a relay dead and live will save you hours of chasing phantom circuit faults.

How to Test a Relay Dead (Bench Test)

Remove the relay from the circuit or ensure all power is disconnected and locked out. Set your multimeter to the Ohms (Ω) setting.

  1. Test the Coil: Place probes across A1 and A2. You should read a resistance matching the datasheet (e.g., ~1,150 Ω for a 24VDC Omron G2R). If it reads 'OL' (open), the coil wire is broken internally. If it reads near 0 Ω, the coil is shorted.
  2. Test the Contacts (De-energized): Place probes across Common (C) and Normally Closed (NC). It should read < 1 Ω. Place probes across C and Normally Open (NO). It should read 'OL'.

How to Test a Relay Live (Voltage Drop Test)

If the coil tests fine on the bench but the circuit fails in the panel, the contacts may be carbonized, creating high resistance under load.

  1. Energize the coil with the rated voltage. You should hear a distinct mechanical click.
  2. Set your multimeter to AC or DC Volts, matching the load supply.
  3. Place the probes directly on the relay's Common and NO terminals while the load is running.
  4. A healthy, closed contact will drop less than 0.1V. If you read 2V, 5V, or more across the closed contacts, the contact faces are pitted or carbonized. The relay is failing and dropping voltage that should be reaching the load.

When to Repair vs. Replace

For standard PCB, ice-cube, or DIN-rail relays under $15 (like the Finder 55 series or Omron G2R), the rule is strictly replace-only. The labor cost to disassemble the relay and clean pitted contacts with a burnishing file far exceeds the part cost. Furthermore, filing contacts removes the factory-applied silver-nickel or silver-tin-oxide plating, exposing base brass that will oxidize and fail rapidly.

Only consider repairing (cleaning contacts, adjusting spring tension, or replacing individual contact blocks) on large, high-voltage industrial contactors or legacy mercury-displacement relays where the replacement part costs hundreds of dollars or has a multi-week lead time. For 99% of bench, home, and light-commercial applications, swap the failed unit with an exact-match OEM replacement and verify the coil voltage matches your control circuit.