PanelSimulator Academy

Electricity and Low Voltage, lesson 6 of 12

Relays

Lesson 5 used contacts that a door or a finger moves. A relay is a set of contacts moved by electricity instead. It lets a tiny signal from a controller or sensor switch a lock, a siren or a gate motor, and it keeps the two circuits completely apart while doing so. It is the part that joins security systems to each other and to the hardware they control.

About 14 minutes. Read lesson 5 first.

Inside a relay

Pick a situation, then play or step through. Watch the coil on the left move the contacts on the right.

inside the relay spring Coil C NC NO Controller output 12 V, 30 mA Lock supply, 24 V Electric strike locked

The everyday picture

When you turn the key in a car, your hand moves a small switch on the steering column. That switch could never carry the huge current the starter motor needs. It does not have to. It sends a small current to a heavy-duty switch beside the motor, and that switch connects the battery to the starter.

The small circuit gives the order. The big circuit does the work. The two never touch. The part in between is a relay, and the same idea lets a controller's small output run a door lock.

The parts of a relay

  • Coil Many turns of fine wire around an iron core. When current flows through it, it becomes a magnet. When the current stops, the magnetism goes.
  • Armature A hinged piece of iron held away from the coil by a spring. The magnet pulls it in, and the spring pulls it back. This is the click you hear.
  • Contacts The armature moves a changeover contact with the three terminals from lesson 5: C, NO and NC. They belong to a separate circuit and have no electrical connection to the coil.

A relay with current in its coil is energized. With none, it is de-energized, which is its resting state. NO and NC are named for that resting state, as in lesson 5. De-energized, C is joined to NC. Energized, C is joined to NO.

The coil side is the control circuit. The contact side is the load circuit, and whatever the contacts switch is the load. The only link between the two sides is a magnetic pull across a small gap.

Four reasons to use one

  • A small signal switches a large load. A sensor output that can supply a few milliamps can operate a relay whose contacts carry several amps.
  • The two circuits stay apart. The control side can be 12 volts DC from one system and the load side 24 volts AC from another. Neither system's power reaches the other. The trade calls this isolation.
  • A powered output becomes a dry contact. Lesson 5 ended with this. An output that supplies voltage drives the coil, and the relay's contact gives the next system the dry contact it expects.
  • One signal does several jobs, or the opposite job. A relay with two poles switches two separate circuits at once. Choosing NC instead of NO turns "close on signal" into "open on signal".

You have already met relays without opening one. The lock output on an access controller is a relay on the circuit board. So are the alarm output of a motion sensor and the "trouble" output of a power supply.

Check yourself

A relay has no power on its coil. Which two terminals are joined?

Two sets of numbers

A relay's data sheet has two halves, one for each side. Read them separately.

SideFigureWhat it meansTypical of a small relay
CoilCoil voltageThe voltage the coil is made for, and whether it is AC or DC12 or 24 volts DC
CoilCoil current or resistanceWhat the coil draws from whatever drives itTens of milliamps
ContactsArrangementPoles and throws, as in lesson 5SPDT or DPDT
ContactsContact ratingThe most current the contacts may switch, at a stated voltage and kind of loadA few amps. Read the sheet.

The coil voltage must match the signal that drives it, in the same way any device must match its supply. A 24-volt coil on a 12-volt signal may not pull in, or may chatter. A 12-volt coil on 24 volts overheats.

The contact rating needs care. It is usually given more than once, because contacts cope with some loads better than others. Switching DC is harder on them than switching AC, and switching a coil such as a lock is harder than switching a plain resistance such as a heater. Each time contacts open on a coil load, a small spark jumps the gap and erodes the metal. Use the rating that matches your kind of load, and leave a margin. Lesson 7 shows the small part that tames the spark.

Electromechanical relaySolid-state relay
How it switchesMetal contacts moved by a coilElectronic parts, nothing moves
Sound and wearClicks. Contacts wear with use.Silent. No contacts to wear.
When offA true open gapA tiny leakage current still passes
LoadAC or DC, within the ratingMade for AC or for DC. Check which.
Contacts offeredNO, NC and changeoverUsually NO only

Check a relay for a job

Three questions decide whether a relay suits a job. Change the figures and see which question fails.

Will this relay do?

  • Coil voltage matches the signal
  • Output can drive the coil
  • Contacts can carry the load

Think about the resting state

A relay rests when its coil has no current. That happens when the controller decides so. It also happens when the controller loses power, a fuse opens or a wire to the coil breaks. The relay cannot tell these apart.

So for every relay, ask: what should the load do when everything upstream is dead? Then wire the load to the contact that gives that result at rest. A lock that must stay locked without the controller goes where rest means locked. An alarm signal goes where rest means "report", so that a dead device is noticed. The third situation in the scene at the top shows a door surviving the loss of its controller.

This is a design choice about security. Getting out is a separate matter that must never depend on a relay being energized. The Access Control lesson "Getting out: egress and life safety" covers those rules.

Three examples

Simple: a small output and a loud siren

A sensor has an alarm output that can supply 50 mA at 12 volts. The siren it should sound draws 1 amp. The output drives a relay whose 12-volt coil draws 30 mA. The relay's NO contact, rated well above 1 amp, connects the siren to its own supply. The sensor gives the order and the relay does the work.

Medium: the door that would not relock

A door with an electric strike on a relay's NO contact stays unlocked now and then until someone taps the cabinet. The relay is a small signal type and the strike draws 0.6 amps. Each release ended with a spark across the opening contacts. After a year of sparks, the pitted contacts stick together.

The strike is a coil, and no suppressor had been fitted at it. The fix is a relay rated for the strike's current as a coil load, with a suppressor at the strike. The Access Control lesson "Electric locks" describes that part.

Advanced: one event, two systems

When a door is forced, a controller output goes to 12 volts. The site wants two things to happen: a 12-volt sounder at the door should sound, and the intrusion panel should receive an alarm on one of its zones. The zone needs a dry contact that rests closed. A first attempt joins the sounder and the zone to the same contact, which puts sounder voltage onto the panel's zone wiring. The zone reads nonsense.

The answer is a relay with two poles, DPDT. The controller output drives the coil. The first pole's NO contact switches the sounder's power. The second pole's C and NC terminals go to the panel zone: closed at rest, open on alarm. The poles are separate, so the sounder's voltage never meets the zone.

Now check the resting state. If the wire to the zone breaks, the loop opens and the panel reports it. If the controller dies, the relay rests, the zone stays closed and the sounder stays quiet, so a dead controller needs its own trouble signal. Asking the question in advance is how you find that gap on paper and not on site.

From the field

  • Listen for the click. A click with no result points to the contact side or the load. No click points to the coil side or the signal.
  • Buy relay modules with an indicator light where you can. The light shows the coil state at a glance.
  • Use relays in sockets on jobs you will maintain. A worn relay then changes in seconds without touching a wire.
  • Label both sides. Write what drives the coil and what the contacts switch, on the relay or beside it.
  • Leave anything above low voltage to a qualified electrician. A relay may be rated to switch 120 volts, but connecting that wiring is licensed work in most places.

Common mistakes

  • Choosing a relay by its contact rating and forgetting to check the coil voltage.
  • Driving a coil from an output that cannot supply the coil's current.
  • Reading the largest number on the case as the rating for every kind of load.
  • Forgetting that a dead controller and a controller saying "off" look the same to the relay.
  • Joining the coil circuit and the contact circuit at a shared terminal, which throws away the isolation the relay was fitted to provide.

Summary

  • A relay is a switch moved by a coil. A small current in the coil operates contacts in a separate circuit.
  • De-energized, C is joined to NC. Energized, C is joined to NO.
  • Relays switch large loads from small signals, keep circuits apart and turn powered outputs into dry contacts.
  • Match the coil voltage to the signal. Keep the load within the contact rating for that kind of load.
  • Decide what the load should do when the coil has no power, and wire for that.

Exercises

Answer each one yourself first, then open the answer.

Exercise 1. A relay's coil is rated 12 volts and has a resistance of 400 ohms. What current does it draw, and what power does it use?

Show answer
12 ÷ 400 is 0.03 amps, or 30 mA. 12 × 0.03 is 0.36 watts.

Exercise 2. A magnetic lock must hold all the time and release when the controller grants access. Which two relay terminals carry its power, and why?

Show answer
C and NC. At rest the contact is closed, so the lock has power and holds. When the controller energizes the relay, the contact opens and the magnet lets go. Step through the second situation in the scene at the top.

Exercise 3. An output can supply 25 mA. The relay you have draws 40 mA. What do you do?

Show answer
Do not connect it. The output would be overloaded and could be damaged, or the relay might not pull in. Choose a relay whose coil draws less than 25 mA with some margin, or a relay module made to be driven by a small signal, which takes its coil current from a separate supply.

Exercise 4 (think, don't memorize). A controller board fails completely during the night. One door has an electric strike on NO. Another has a magnetic lock on NC. The lock power supply is still working. What state is each door in, and what does that tell you?

Show answer
Both relays are at rest. The strike has no power and stays locked. The magnetic lock still has power through the closed NC contact and stays locked. Neither door can be opened with a card, and both stay secure. It tells you that a relay's resting state should be the state you want when the controller is dead, and that the way out must work without the controller: a handle on the strike door, and exit devices that cut the magnet's power directly on the other.