Naar de inhoud
OneKitly

A Coil Refuses to Stop, and the Bill Arrives as a Spark

Gepubliceerd op 29-10-2026 · 3 min leestijd · Ontwikkelaarstools

Daniel Okonkwo

Daniel Okonkwo — Front-enddeveloper en techredacteur bij OneKitly

Webprestaties · Bestandsformaten

Getoetst aan 2 bronnen

Profiel bekijken →
Kort gezegd

An inductor stores energy in its magnetic field, and the amount depends on the square of the current: half the inductance times the current squared. A 100 mH coil carrying 2 A holds 200 mJ; double the current to 4 A and it holds 800 mJ, four times as much. That energy cannot disappear when the circuit opens, and the coil will raise whatever voltage is required to keep its current flowing — hundreds of volts across an air gap of a fraction of a millimetre, which is what the visible spark at a switch actually is. The cure is a path for the current to take instead: a diode across the coil, conducting only when the coil tries to reverse the voltage, turns a destructive spike into a quiet decay.

Advertentie

A 100 mH relay coil at 2 A holds 200 millijoules. Open the switch and that energy has one microsecond to find somewhere to go — usually across the contacts.

Two millijoules is enough to matter

The smallest coil in the table, a signal relay drawing 200 mA, holds two thousandths of a joule — an amount that would not warm a drop of water. It is nevertheless enough to punch through the junction of a small transistor, because the damage is done by voltage rather than by heat and the energy is delivered in well under a microsecond. This is why the flyback diode is not an optional refinement: a microcontroller pin driving a relay directly, with nothing across the coil, tends to work in testing and fail in the field once the switching has been repeated a few hundred thousand times.

The same effect, deliberately

Every switching power supply is this problem turned into a mechanism. A transistor lets current build up in a small choke, then interrupts it; the coil's insistence on continuing pushes the current through a diode into a capacitor at a different voltage, and the cycle repeats tens of thousands of times a second. The 0.1 mH choke in the table holds under half a millijoule per cycle, which sounds negligible until you multiply by 100 000 cycles per second and get 45 W. Nothing about the physics differs from the spark at a switch — only the presence of somewhere for the energy to go, and a schedule for sending it there.

Energy
Stored energy at a glance
CoilCurrentEnergy
Small relay, 100 mH0.2 A2 mJ
Contactor, 100 mH2 A200 mJ
Same coil, twice the current4 A800 mJ
Switching choke, 0.1 mH3 A0.45 mJ

Uitgewerkt met onze eigen calculator

Spoelenergiecalculator

Gegeven

Inductantie (mH)
50
Stroom (A)
1

Resultaat

Energie (J)
0,025
Energie (mJ)
25

Deze cijfers komen uit de calculator hieronder, ze zijn niet met de hand ingetypt — ze worden opnieuw berekend telkens als de tool verandert.

Reken het door met je eigen cijfers →
Advertentie

Veelgestelde vragen

How high does the voltage actually go?
As high as it needs to, until something conducts. The coil sets the rate of change of current, not the voltage, and the voltage that appears is whatever the surrounding circuit produces at that rate — which in an open circuit is limited only by the breakdown of the air or the semiconductor. Measured spikes of several hundred volts from a 12 V relay are routine. Adding a diode caps the excursion at about a volt beyond the supply, and adding a resistor in series with that diode trades a higher clamp voltage for a faster release, which matters when the relay must drop out quickly.
How does this compare with a capacitor of similar size?
Capacitors win on stored energy per unit of volume by a wide margin, which is why they, and not coils, are used to hold energy between cycles. A capacitor the size of the 100 mH relay coil can store tens of joules rather than tenths. The trade is that a capacitor resists changes in voltage while an inductor resists changes in current, so they occupy opposite roles: the capacitor is the reservoir, the inductor is the pump that moves charge between reservoirs at different pressures. Neither replaces the other, and a switching converter needs both.

Artikelen die je misschien interesseren

Alle gidsen →

Vergelijkbare tools

Bronnen

Een fout in dit artikel gezien?