What Is a Relay in Electronics? (The Core Mechanism)
A relay is an electromechanical switch that uses a low-power electrical signal to control a high-power circuit. In practical electronics, it acts as an isolation barrier: your fragile 3.3V or 5V microcontroller GPIO pin toggles an electromagnet (the coil), which physically pulls a metal armature to close or open a separate set of high-current contacts.
Think of it like a municipal water valve. A tiny pilot stream of water (the coil current) pushes against a diaphragm, which mechanically forces open a massive main pipe (the contact current). This allows a 50mA logic signal to safely switch a 15A compressor motor without the high-voltage current ever touching your low-voltage control board.
Inside a standard Single Pole Double Throw (SPDT) relay, you will find three primary contact terminals: Common (COM), Normally Open (NO), and Normally Closed (NC). When the coil is de-energized, the internal spring holds the armature against the NC contact. When the coil energizes, the magnetic field overcomes the spring tension, snapping the armature to the NO contact.
Decoding the Datasheet: Which Rating Column Governs Your Load?
The most common mistake makers and junior technicians make is looking only at the headline current rating (e.g., '16A 250VAC') and assuming the relay can handle any 16A load. Relays have multiple rating columns, and picking the wrong one will result in welded contacts or a melted PCB.
| Rating Column | What It Measures | When It Applies |
|---|---|---|
| Coil Voltage & Resistance | The voltage required to pull in the armature, and the DC resistance of the copper winding (e.g., 12V DC, 275Ω). | Always. Dictates your driving transistor and power supply sizing. |
| Resistive Contact Rating | Maximum continuous current for purely resistive loads (e.g., 16A at 250VAC). | Heaters, incandescent bulbs, and raw DC resistors. |
| Inductive / Motor Breaking Capacity | Maximum current the contacts can safely interrupt without arcing (e.g., 3A at 250VAC, or 1/2 HP at 120VAC). | Motors, solenoids, transformers, and LED drivers with heavy capacitive inrush. |
Which rating column governs this load? If your load has a coil, a motor winding, or a large input capacitor, the Inductive Breaking Capacity (often listed as HP, TV-5, or L/R time constant ratings) is the only column that governs your load. According to Macromatic's relay application guidelines, an inductive load can generate an arc voltage up to 10 times the supply voltage when the contacts open. A relay rated for '16A Resistive' might only be rated for '2A Inductive'. Always size your relay based on the breaking capacity column for non-resistive loads.
Wiring the Coil vs. the Contacts (and Flyback Protection)
A relay is effectively two separate circuits sharing a magnetic core. You must wire them independently.
The Coil Side (Control): Typically labeled A1 and A2 on industrial plug-in relays, or simply two adjacent pins on a PCB relay. This side connects to your low-voltage DC supply and your switching transistor (like a 2N2222 BJT or an IRLZ44N MOSFET).
The Contact Side (Load): Labeled COM, NO, and NC. The load's hot/live wire connects to COM, and the device you want to power connects to NO. The neutral or ground return of the load bypasses the relay entirely and goes straight to the power source.
Selection Decision Path: Picking the Right Relay by Load Type
Do not guess your relay part number. Use this decision tree to match your specific load profile to the correct contact metallurgy and form factor. Modern RoHS-compliant relays use Silver Tin Oxide (AgSnO2) for inductive loads, which resists welding far better than older Silver Nickel (AgNi) contacts.
| Load Type | Inrush / Arc Characteristic | Required Contact Material | Concrete Part Pick (12V DC Coil) |
|---|---|---|---|
| Resistive (Heaters, raw LED strips) | Low inrush, minimal arcing on break. | AgNi (Silver Nickel) or AgCdO. | Omron G2R-1-E DC12 (16A SPDT, standard PCB mount, ~$3.50) |
| Inductive (Solenoids, contactor coils) | Severe arcing on break, moderate inrush. | AgSnO2 (Silver Tin Oxide) for arc resistance. | Finder 40.52.8.012.0000 (8A DPDT, high dielectric strength, ~$6.00) |
| Motor / Compressor (Pumps, HVAC) | Massive inrush (6x running current), heavy break arc. | AgSnO2 with high thermal mass, TV-5 or HP rated. | Song Chuan 833H-1C-C-12V (30A SPST, heavy-duty lug mount, ~$4.20) |
Default Recommendation: If you are building a general-purpose 12V DC control board for a hobby project and need a reliable, easily sourceable workhorse, buy the Omron G2R-1-E DC12. It is the industry benchmark for PCB power relays, has a 275Ω coil (drawing only 43mA), and fits standard 5-pin relay sockets if you prefer not to solder it directly to the board.
Bench Testing: Dead and Live Diagnostics
When a relay circuit fails, you need to determine if the relay itself is dead, or if the driving circuit is at fault. Follow this diagnostic sequence.
Set your multimeter to Resistance (Ω) mode.
1. Coil Test: Probe the two coil pins. A healthy 12V DC relay will read between 100Ω and 400Ω. If it reads 'OL' (infinite), the internal copper winding is broken. Toss it.
2. Contact Test: Probe COM and NC. It should read < 1.0Ω. Probe COM and NO. It should read 'OL'. If COM to NC reads high resistance, the contacts are carbonized.
Live Testing (Power Applied & Under Load):
Set your multimeter to DC or AC Voltage mode, matching your load.
1. Coil Energization: Trigger your control circuit. You should hear a distinct mechanical 'click'. Measure the voltage across the coil pins while energized; it must be within 10% of the nominal coil rating (e.g., 10.8V to 13.2V for a 12V relay). If it's lower, your driving transistor is dropping too much voltage or your power supply is sagging.
2. Contact Voltage Drop: With the relay closed and the load running, place your multimeter probes directly on the COM and NO solder joints. A healthy relay will show a voltage drop of less than 0.05V. If you measure 0.5V or higher across the closed contacts, the internal metal surfaces are pitted and oxidized. The relay is failing and must be replaced.
Repair vs. Replace: When to Toss a Welded Relay
A frequent question on the bench is whether you can open a relay and file down pitted or welded contacts to save money.
The Rule: For PCB-mount and standard plug-in relays (anything under 40A), always replace. Never attempt to repair.
Relay contacts are not just bare metal; they are precision-plated with specific alloys (like AgSnO2) designed to resist welding and minimize contact resistance. If a relay has failed to pull in, or if the contacts have welded shut due to an inductive arc, the internal metallurgy is permanently compromised. Filing the contacts removes this vital plating, exposes the base brass, and alters the precise armature gap engineered by the manufacturer. A filed relay will weld shut again, usually much faster, potentially causing a fire hazard or destroying the load it is supposed to protect.
The Only Exception: Heavy-duty industrial contactors (e.g., Allen-Bradley 100-C series or Schneider TeSys) rated for 50A and above. These are designed with swappable, modular power poles and replaceable arc chutes. In those specific industrial systems, replacing the contact cartridge is standard maintenance.
For everything else on your workbench: if a relay is suspect, swap it. A $4 Omron G2R is infinitely cheaper than a burned-down control board or a damaged compressor motor. Keep a small bin of G2R-1-E (12V and 24V variants) in your shop, and you will never be stuck waiting for a part when a relay inevitably gives up the ghost.






