The relay that lets go at a sixth of the current that closed it
Assumes: The force read off a surface that touches nothing · The circuit that fights its own change
The data sheet of an ordinary 12-volt relay gives two voltages that look as if they should be the same. The must-operate voltage, typically about nine volts, is the coil voltage above which the relay is guaranteed to close. The must-release voltage, typically one or two volts, is the voltage below which it is guaranteed to open. Between them, from two volts to nine, the relay is guaranteed to do nothing at all: if it was open it stays open, and if it was closed it stays closed.
A gap of that size, a factor of five or six between the current that closes a relay and the current that lets it go, is easily taken for a property of the iron — the core staying magnetised once it has been magnetised, the way a paper clip stroked with a magnet becomes one. That is not what produces it. A relay with perfectly soft iron, which remembered nothing at all, would behave the same way, because the force between an electromagnet and the piece of iron it pulls depends on the distance between them in a way that makes the closed relay a different machine from the open one.
The pull of a gap
A relay’s coil is wound on an iron core, and the core is part of an almost closed loop of iron — the core, a bent frame called the yoke, and the hinged armature, a flap of iron that the coil pulls towards the core’s end. The only break in the loop is the air gap between the armature and the core. Current in the coil drives a magnetic flux round the loop — Ampère’s law, which the field that wraps a current wrote as the circulation of the field round any loop equalling the current threading it, here turns of it — and the loop behaves like a circuit: the coil’s ampere-turns are the driving force, and the opposition is a reluctance, proportional to each part’s length divided by its permeability. Iron’s permeability is thousands of times that of air, so in a loop of four centimetres of iron and half a millimetre of air the air gap is almost all of the reluctance. The field across it is close to
where is the gap, the length of the iron path and its relative permeability; for the model relay here, is twenty micrometres, the equivalent in air of the whole iron path.
The pull on the armature follows from the field in the gap alone. The force read off a surface that touches nothing found that Maxwell’s stress tensor gives the force on a body from the field on any surface around it, and that across an air gap the field pulls the two faces together with a pressure — at one tesla, four atmospheres. Over a pole face of area ,
At a fixed current, the force grows as one over the square of the gap, plus a small correction from the iron.
Against that the armature has a return spring. A spring’s force changes linearly with how far it is compressed, and a relay’s spring is set with a preload, so that it pushes with 0.3 newtons when the armature is fully open and 0.48 newtons when it is fully closed, 0.45 millimetres further on. The spring barely cares where the armature is. The magnet cares enormously: between the open position, half a millimetre, and the closed position, where a thin shim stops the armature at fifty micrometres, the factor grows by a factor of fifty-five.
Snap shut, hold on
Suppose the current is raised slowly from zero. At first the magnet’s pull at full gap is less than the spring’s preload, and the armature does not move. At 24.0 milliamps, for this relay, the pull reaches 0.3 newtons and the armature starts to move. The moment it moves, the gap shrinks, and the pull at the same current grows far faster than the spring’s push. There is no position partway across where the two balance; the force difference grows as the armature goes, and it crosses the gap in a few milliseconds and lands on its stop with seventeen newtons pressing it there.
Now lower the current. The armature is shut, at a gap of fifty micrometres plus the twenty of the iron, and at that gap the magnet needs only enough current to beat 0.48 newtons. That happens at 4.1 milliamps. Above it the relay stays shut; at it, the armature leaves the stop, the gap opens, the pull falls faster than the spring’s push, and the armature snaps back across in turn. The drop-out current is the pull-in current multiplied by the ratio of the two gaps, seven to fifty-two, and by the square root of the ratio of the two spring forces:
That is the hysteresis loop of the picture, and it belongs to a very general class: a system whose restoring force is weaker than its driving force over the whole range, so that it has only two stable states and jumps between them. The curve that is really a staircase met the same structure at a much smaller scale, in the domain walls of a ferromagnet jumping from one pinning site to the next, and the magnet that reverses where its crystal is weakest met it in the reversal of a single grain. The relay’s version is the plainest of all, because the two forces can be written down and drawn on one page.
The loop is the point of the device. A relay with no hysteresis would chatter whenever its coil current was close to the threshold, opening and closing with every wobble of the supply, and its contacts, which arc a little each time they part, would wear out in hours. Because the thresholds are far apart, a relay driven by a slowly drifting signal changes state once and decisively. Thermostats built from bimetal strips use a magnet for the same reason, so that the contacts snap rather than creep, and the detent in a light switch is a mechanical spring doing the same job.
A bit of memory made of iron
A device with two stable states and a band of inputs in which it keeps whichever state it last had is a memory, and for half a century relays were the memory of the telephone network and of the first programmable computers. A relay can be made to hold itself: one of its own contacts, wired in parallel with the switch that energised it, keeps the coil supplied after the switch is released, and the relay stays closed until something breaks the holding circuit. That self-holding circuit is the electrical form of the loop in the second picture, and the automatic telephone exchanges of the twentieth century stored every dialled digit in banks of relays held this way. Konrad Zuse’s Z3 of 1941, the first working programmable computer, used about 2,600 relays, and the Harvard computer of 1944 that IBM built several thousand more, each one a bit.
The hysteresis is what made them reliable as memories. A relay held on its holding current does not care whether the supply droops by a third, because the closed relay needs a sixth of its pull-in current; noise on a line would have to drive the current below that before the bit was lost. The same margin is what a modern digital circuit gets from its transistors’ gain, and the Schmitt trigger, an electronic circuit built to have two thresholds a fixed distance apart, is a deliberate copy of the relay’s two currents.
Some relays go further and keep their state with no current at all. A latching relay puts a small permanent magnet in the magnetic circuit, sized so that its field alone can hold the armature shut across the small residual gap but cannot pull it shut across the large open one — the same asymmetry, now with a magnet supplying the ampere-turns. A pulse of current one way closes it, a pulse the other way cancels the magnet’s field and lets the spring open it, and in between it draws nothing. The magnet that has to fight its own field found that a permanent magnet’s working point depends on the gap it faces; a latching relay uses that dependence as its whole design, and electricity meters and battery-powered controllers use latching relays because a relay that holds without current costs nothing to leave on.
The shim that keeps iron from touching
Iron is not perfectly soft. A piece of ordinary electrical steel, magnetised and then released, keeps a remanent magnetisation, and a closed loop of it with no gap would keep nearly all of that — about a tesla in a typical steel. Nothing keeps a magnetisation for ever followed the same remanence in a permanent magnet, where it is the whole point. In a relay it is a hazard. If the armature closed iron on iron, the remanent field could hold it shut with no current at all, and the relay would stick.
What saves it is the gap. A remanent field in the iron has to return through the air gap, and the gap opposes it: the field in the gap, times its width, must be balanced by a reversed field in the iron, times the iron’s length. Soft iron cannot sustain a reversed field larger than its coercivity, the field at which its magnetisation gives way — about sixty amperes per metre for a soft core — so the remanent field is capped at about , which falls as the gap opens.
So every relay and contactor carries a residual gap that the armature cannot close: a thin brass shim on the pole face, a pip of non-magnetic metal, or a stop that holds the armature a fraction of a millimetre clear of the core. In the model relay the remanent pull would beat the spring below about fourteen micrometres; the fifty-micrometre shim leaves a remanent pull of 0.036 newtons against the spring’s 0.48, a thirteen-fold margin. Old telephone relays carried an adjustable residual screw for exactly this purpose, and a relay that sticks after years of service has usually worn its shim thin.
The shim sets more than the release. The drop-out current is proportional to the residual gap, so a thicker shim makes the relay release at a higher current, narrowing its hysteresis; a thinner one makes it hold to lower currents and risks sticking. The designer is choosing where on that curve to sit, and a relay that must release quickly when its coil is switched off — before the coil’s own stored energy has decayed — gets a thicker shim.
The current that dips
The same physics shows in the coil’s current. A coil’s inductance is the flux linkage per ampere, and with a magnetic circuit it is : the gap that sets the force also sets the inductance. In the model relay it is 0.54 henries with the armature open and four henries with it shut. The coil is an inductance that changes by a factor of seven when the armature moves.
When twelve volts are applied, the current rises as in any inductor, with a time constant of 1.4 milliseconds. It passes the pull-in current, and the armature starts across. As the gap closes the flux linkage tries to grow, and by Faraday’s law that growth demands a voltage; the circuit that fights its own change found the coil opposing any change in its own flux, and here the change is driven by motion rather than by the supply. The opposing voltage takes so much of the twelve volts that the current falls — from 27 milliamps to six, at the instant the armature lands — and then, with the armature still, climbs again towards its final thirty milliamps on the closed coil’s longer time constant of ten milliseconds.
The dip is not a curiosity. It is the signature that industrial controllers use to tell whether a solenoid valve has actually moved, without any sensor on the valve: a stuck valve’s current rises smoothly, a working one’s dips, and the time of the dip gives the time of travel. Fuel injectors in engines are monitored the same way, because injection timing to a tenth of a millisecond matters and the dip gives the moment of opening directly. The energy that went into the armature’s motion and into the closed circuit’s larger stored field came from the supply during the dip, when the coil was taking more voltage than its resistance needed.
The large margin of the closed relay has another use. Once shut, the armature needs only 4.1 milliamps to stay shut and is carrying thirty, so the coil is dissipating fifty times more power than holding requires. Drivers for contactors and large solenoid valves exploit it with a “hit and hold” scheme: full current for a few tens of milliseconds to close, then a holding current of a third or less, set by switching the coil on and off rapidly. Since heat goes as current squared, a third of the current is a ninth of the heat, and coils that would otherwise run hot all day run cool.
On alternating current the pull vanishes
A relay meant for alternating current has a further problem, and it comes from the same square. The force goes as , and on mains current the field passes through zero twice in every cycle. At those instants the magnet is not pulling at all, and the spring, which never stops pushing, starts the armature away from its seat.
The armature then rattles on its stop a hundred times a second on fifty-hertz mains, the buzz of a failing contactor, and the contacts it carries open and close in sympathy. The hum at twice the mains found the same doubling in a transformer, whose laminations are squeezed by the same stress a hundred times a second; in a contactor the squeeze is not merely audible but undoes the contact.
The cure is a single turn of copper, the shading ring, set into a slot in the pole face so that it encircles part of the pole. The changing flux in that part induces a current in the ring, and by Lenz’s law the current opposes the change, so the flux through the shaded part lags the flux through the rest. It is the same induced current that the ring that jumps because its current is late found throwing an aluminium ring off the end of a coil; here the lateness is the point, and the ring is held in place. With two parts of the pole whose fluxes are out of step, their pulls reach zero at different instants. With half the pole shaded and a sixty-degree lag, the total pull never falls below half its mean, and if that minimum stays above the spring the armature never leaves its seat. Equal pulls exactly a quarter-cycle apart would give a perfectly steady force — the square of a sine plus the square of a cosine — but a single shorted turn cannot produce a full ninety-degree lag, so real designs settle for what their ring and pole proportions allow.
A broken shading ring is the commonest cause of a contactor that suddenly starts buzzing loudly; the relay still closes, because the mean pull is unchanged, but it no longer holds still.
What the model leaves out
The magnetic circuit used here has no leakage and no fringing: all the flux crosses the gap, and it crosses it straight. A real gap has flux bulging out round its edges, which makes the effective area larger at large gaps, softening the law when the armature is open, and a real coil has leakage flux that never reaches the armature at all. Both make the force at full gap smaller than the formula, and real relays’ pull-in currents are correspondingly higher. The iron is taken as unsaturated, which in the closed relay at full current is marginal: the model’s gap field there is about 1.6 tesla, close to where silicon steel saturates, and a real relay’s closed force would level off rather than continuing to rise.
The armature is a mass on a single spring, with no contact springs, no bounce and no friction in its hinge. Real relays have contact springs that engage part-way through the travel and make the spring force a broken line rather than a straight one, and the armature bounces several times on landing, which shows as ripples in the current after the dip. The remanence model takes a rectangular demagnetisation curve and a single coercivity, which for real steel is an upper-bound estimate; it shows the scale of the shim needed, not the exact thickness. And the shading-ring figure takes the lag and the split as given rather than computing them from the ring’s resistance and the pole’s reluctance, which is where a real design starts.
Still open: how small a relay can be
Relays are not disappearing; they are shrinking. Micro-electromechanical relays a few hundred micrometres across, switched electrostatically rather than magnetically, are made on silicon wafers, and their designers meet the same structure in a sharper form. An electrostatic actuator’s force also grows as one over the gap squared, and its spring is a cantilever, so it snaps shut at a pull-in voltage — reached when the gap has closed by a third, for a parallel-plate actuator against a linear spring — and releases at a much lower one. At those scales, though, the closed contact is held as much by adhesion between the touching surfaces as by the actuator, and a contact that will not open because its surfaces have welded or stuck is the main failure. How to make contacts that switch billions of times without sticking, and whether the adhesion can be controlled rather than merely fought with stiffer springs, is the question that limits the technology.
The pull of a relay’s magnet across its gap is , rising fifty-five-fold as the armature closes from 0.5 to 0.05 mm while the spring’s push rises from 0.30 to 0.48 N — so the relay snaps shut at 24.0 mA and holds until 4.1 mA, 17 per cent of it, with no memory in the iron at all. The brass shim keeps the remanent field below the spring, the changing gap makes the coil’s current dip at the moment of closing, and on alternating current the same square sends the pull to zero a hundred times a second unless a copper ring delays part of the flux.
Part 10 of 10
This essay is one argument about Magnetism. The others:
The objects named here
The third axis, after the field and the reading path: the things themselves, and every essay that touches each one.
BistabilityHysteresisInductanceLenz's lawMagnetic circuitMagnetic pressureRemanence
- The push at the end of a pair of rails inductance, magnetic pressure