Relay Switch Diagram: Circuit Operation, Wiring, and Practical Reference
This is a free printable relay switch diagram: download the diagram as SVG or open it and print to paper or PDF.
A relay switch diagram shows how a low-current control signal energises an electromagnetic coil to open or close a separate, higher-power switching circuit.
A relay is an electrically operated switch. At its core, a relay consists of two electrically isolated circuits: the control circuit and the load circuit. When a voltage is applied across the coil terminals, current flows through the coil winding, generating a magnetic field. This field attracts a ferromagnetic armature, which physically moves a set of contacts from their resting position.
The contacts have defined states: Normally Open (NO) contacts are open when the coil is de-energised and close when the coil is activated. Normally Closed (NC) contacts are closed at rest and open when the coil is activated. The Common (COM) terminal connects to either NO or NC depending on coil state. A single-pole double-throw (SPDT) relay exposes all three terminals, giving the designer full flexibility to switch between two circuit paths.
The primary reason relays exist is isolation. A microcontroller, a PLC output, or a simple switch rated at milliamps can control a motor, heater, or lamp drawing tens of amperes — without any electrical connection between the control and load sides. This isolation also protects sensitive electronics from voltage spikes on inductive loads.
Coil voltage is a key specification. Common DC coil voltages are 5 V, 12 V, and 24 V; AC coil relays operate at 24 V AC, 120 V AC, and 230 V AC. The coil resistance determines current draw. A 12 V relay with a 360 Ω coil draws approximately 33 mA — within the capability of a transistor driver but too much for most logic pins alone.
A freewheeling diode (flyback diode) placed across the coil in reverse bias is essential in DC relay circuits. When the coil is de-energised, the collapsing magnetic field induces a voltage spike that can be several times the supply voltage, destroying transistors or microcontrollers. The diode clamps this spike by providing a return path for the induced current.
Contact ratings — expressed as voltage and current at a given power factor — must never be exceeded. AC contact ratings differ from DC ratings for the same physical relay because AC current crosses zero (aiding arc extinction), while DC arcs are sustained. Always derate contacts to 75–80% of their rated capacity in continuous-duty applications.
How to wire relay switch diagram
- Identify coil voltage and contact ratings Confirm the relay coil voltage matches your control supply (e.g., 12 V DC) and that the contact voltage and current ratings exceed your load requirements. Apply a 75–80% derating factor for continuous-duty applications. Record the NC, NO, and COM pin numbers from the relay datasheet.
- Wire the control circuit Connect the positive supply rail to one coil terminal (often marked A1 or pin 1). Connect the second coil terminal (A2 or pin 2) through your switching device — transistor collector, switch, or PLC output — to the negative rail. If using a transistor driver, place a flyback diode across the coil terminals in reverse bias (cathode to positive, anode to negative).
- Wire the load circuit Connect the supply for the load to the COM terminal. Connect the load to the NO terminal if you want the load active when the coil is energised, or to the NC terminal if you want the load active at rest. Keep load wiring physically separated from coil wiring to avoid interference.
- Add fusing to the load circuit Fit an appropriately rated fuse in series with the load supply line, sized to protect the wiring (not the relay contact). Fuse selection follows the minimum wire ampacity rating for the gauge used. Never rely solely on the relay's contact rating as overcurrent protection.
- Test with the load disconnected first Apply coil voltage and verify the relay clicks and the contacts switch using a continuity tester or multimeter in resistance mode. Confirm NO reads open and COM-to-NO reads closed when energised. Confirm NC reads closed when de-energised. Only then connect the full load.
- Connect and test under load Reconnect the load. Apply coil control voltage and verify the load operates correctly. Monitor contact temperature under rated load for several minutes. Warm contacts are normal; hot contacts indicate overloading or high-resistance joints — investigate immediately.
Specifications
| Coil Operating Voltage Range | Typically 75–120% of rated coil voltage (refer to datasheet pick-up and drop-out values) |
|---|---|
| Contact Voltage Rating (AC) | Commonly 250 V AC for general-purpose relays |
| Contact Current Rating | Typical range 5 A to 30 A depending on relay class |
| Coil Power Consumption | 0.36 W to 1.8 W typical for miniature 12 V DC relays |
| Operate Time (Pickup) | 5–15 ms typical for general-purpose relays |
| Release Time | 2–8 ms typical (without flyback diode); 5–30 ms with flyback diode (diode slows release) |
| Mechanical Life | 10 million operations minimum (no load) |
| Electrical Life | 100 000 operations at rated load (typical) |
Safety warnings
- All work on mains-voltage load circuits must be performed by a licensed electrician and must comply with local wiring regulations (NEC/NFPA 70, BS 7671, AS/NZS 3000, IEC 60364). Verify circuits are isolated and confirmed dead with a calibrated voltage tester before making or modifying any connections.
- Never exceed the relay contact voltage or current ratings. Exceeding these ratings causes arcing that erodes contacts, generates heat, and creates a fire hazard. Apply a derating factor of 75–80% for continuous-duty inductive loads.
- Always fit a correctly rated flyback diode across the relay coil in DC circuits. Omitting this diode can produce voltage spikes exceeding 100 V on a 12 V supply, destroying driver transistors, microcontrollers, and other circuit components instantaneously.
- Physically separate control-circuit wiring from load-circuit wiring inside enclosures to prevent arcing or flashover if insulation fails on the load side.
- Before assuming a relay is de-energised, verify coil voltage is absent and confirm contact state with a meter. Mechanical failure can leave contacts welded in the closed position even with no coil power.
Tools needed
- Digital multimeter (continuity, resistance, and AC/DC voltage functions)
- Insulated screwdrivers (flat and cross-head, VDE-rated for mains work)
- Wire strippers and crimping tool
- Ferrule crimper and bootlace ferrules (for stranded wire terminations)
- Oscilloscope (optional, for diagnosing back-EMF spikes and contact bounce)
- Cable labels or marker pen
Common mistakes
- Connecting the flyback diode in forward bias (incorrect polarity) — this short-circuits the supply rail when the coil is energised, blowing the supply fuse or destroying the driver immediately.
- Using the relay's AC contact rating for a DC load — DC contacts must be derated significantly; consulting the relay datasheet's DC derating curve is mandatory.
- Omitting fusing on the load circuit and relying solely on the relay contact rating as protection — contacts are switches, not fuses.
- Driving the relay coil directly from a microcontroller I/O pin without a transistor driver — most microcontroller pins cannot source sufficient current to reliably hold a relay armature and risk latching up or damaging the I/O port.
- Selecting a relay by coil voltage alone without checking pickup voltage versus hold voltage — a relay may require 12 V to pick up but hold at 8 V; if supply voltage drops, the relay may chatter rather than release cleanly.
Troubleshooting
- Relay does not click when control voltage is applied
- Cause: Insufficient coil voltage, open coil winding, or driver transistor not saturating Fix: Measure voltage across coil terminals directly with a multimeter. Verify it meets or exceeds the relay's minimum pickup voltage. Measure coil resistance (should match datasheet). Check transistor base drive voltage and base resistor value. Replace relay if coil is open-circuit.
- Relay clicks but load does not operate
- Cause: Wiring connected to NC instead of NO terminal, blown fuse in load circuit, or welded contacts on NO terminal Fix: Measure continuity between COM and NO with coil energised. Verify load fuse integrity. Check that load wiring is connected to the intended contact set. Measure load supply voltage at the load terminals.
- Relay contacts weld or stick in closed position
- Cause: Load current exceeding contact rating, high inrush current from capacitive or motor loads, or insufficient arc suppression Fix: Replace the relay with a higher-rated type or use a contactor for motor loads. Add a snubber network (RC across contacts) for AC inductive loads. For DC motor loads, add a freewheeling diode across the motor terminals.
- Driver transistor or microcontroller destroyed when relay coil de-energises
- Cause: Missing or incorrectly wired flyback diode allowing back-EMF spike to exceed driver breakdown voltage Fix: Install a 1N4007 or equivalent diode across the coil with cathode to the positive rail and anode to the driver side. Verify polarity before powering on.
- Relay contacts causing interference or noise in control electronics
- Cause: Load circuit arcing or radiated EMI from relay switching coupled into control wiring Fix: Route control and load wiring separately. Add RC snubbers across contacts for AC loads. Use shielded cable for sensitive control signals. Consider solid-state relays for noise-critical applications.
Frequently asked questions
What is the difference between a relay and a contactor?
A contactor is a heavy-duty relay designed for high-current loads such as motors and HVAC compressors. Contactors typically feature arc-quenching chambers, replaceable contact tips, and auxiliary contact blocks. Standard relays are rated for lighter loads (generally below 30 A) and lack arc suppression hardware. The operating principle — an electromagnetic coil moving a set of contacts — is identical.
Why does my relay chatter or buzz?
Relay chatter on a DC relay usually indicates the coil supply voltage is too low to hold the armature fully seated. On AC relays, chattering is commonly caused by a faulty shading ring on the pole face — the shading ring creates a phase-shifted flux that prevents the armature from releasing on every AC half-cycle, eliminating the characteristic 50/60 Hz hum.
Do I always need a flyback diode on a relay coil?
For any DC relay driven by a transistor, MOSFET, or microcontroller output, a flyback diode is mandatory to prevent the back-EMF voltage spike from damaging the driver. For relays driven directly by mechanical switches or robust relay driver ICs with built-in clamping, the diode may be unnecessary but remains good practice and costs virtually nothing.
What does the coil voltage rating mean for an AC relay versus a DC relay?
For a DC relay, the coil voltage is the steady-state supply voltage. For an AC relay, the rated voltage is the RMS voltage at which the coil is designed to operate. AC relays cannot simply be replaced with DC coils at the same RMS voltage: DC coil resistance is specified to limit current, whereas AC coil impedance is largely inductive and changes with frequency.
Can I use a relay to switch DC loads at its full AC contact rating?
No. DC contact ratings are significantly lower than AC ratings for the same relay. Because DC current does not cross zero, arcing is sustained during contact opening and DC loads erode contacts faster. Always consult the manufacturer's DC derating table, and consider solid-state relays or contactors designed specifically for DC loads at higher voltages or currents.
Related diagrams
- 4 pin relay wiring diagram with switch
- 5 pin relay wiring diagram with switch
- 1 gang 1 way switch wiring diagram
- 1 gang 2 way switch wiring diagram
- 1 switch 1 socket connection diagram
- 1 switch 2 socket connection diagram