Home / Learn / Electronics basics

Inductors explained: inductance, reactance, time constant and flyback

New to this? Read from the top. Already know the basics? Jump to Going deeper for intermediate and advanced detail.

An inductor: enamelled copper wire wound on a dark ferrite rod, beside a graph of current rising slowly after switch-on and reaching 63 percent after one time constant, tau = L / R
Beginner

An inductor is a coil of wire, sometimes wound on a magnetic core. It's the magnetic partner of the capacitor: a capacitor stores energy in an electric field and resists changes in voltage; an inductor stores energy in a magnetic field and resists changes in current. That single property explains filters, switch-mode power supplies, and the spike that destroys transistors driving relays.

Inductance

Current in a coil makes a magnetic field. If the current changes, the field changes, and a changing field induces a voltage in the coil that opposes the change (Lenz's law). The size of that effect is the inductance, L, measured in henries (H):

V = L × di/dt

So the voltage across an inductor depends on how fast its current changes, not on the current itself. More turns, a bigger coil area and a magnetic core all increase the inductance. Practical values range from nanohenries in radio circuits to henries in old mains chokes.

Stored energy

The energy stored in the magnetic field is ½ L I². A 1 mH inductor carrying 2 A stores ½ × 0.001 × 2² = 2 mJ. It has to go somewhere when the current stops, which is the whole story behind flyback.

Switching on: the time constant

1.2 A0.76 A10 ms50 mstime after switching on63% after one time constant
An inductor slows the rise of current. After five time constants it has almost reached its final value.

Connect an inductor and resistor in series to a DC supply and the current can't jump straight to V ÷ R: it rises along a curve. The time constant τ = L ÷ R. For 100 mH and 10 Ω on 12 V, τ = 0.1 ÷ 10 = 10 ms, and the final current is 12 ÷ 10 = 1.2 A. After one time constant the current has reached 63% (0.76 A); after five, more than 99%.

Switching off: flyback

Now open the switch. The current wants to stop instantly, so di/dt is huge, and V = L di/dt becomes a very large voltage, hundreds of volts from a small 12 V relay coil. That's the flyback or back-EMF spike. It arcs across switch contacts and destroys transistors. The cure for DC coils is a flyback diode across the coil, reverse-biased in normal use, which gives the current a path to die away gently. See relays explained and transistors as switches.

Inductors in AC circuits

With AC the current is always changing, so an inductor always opposes it. Its reactance is XL = 2πfL, rising with frequency. A 10 mH inductor has a reactance of 3.14 Ω at 50 Hz but 628 Ω at 10 kHz. That's why inductors are used to block high frequencies while letting DC and low frequencies through: chokes on power leads, and filters in audio crossovers and power supplies. In an inductor, the current lags the voltage by 90°. See AC theory explained.

Where inductors are used

  • Switch-mode power supplies: a buck converter stores energy in an inductor while the switch is on and releases it when it's off, stepping voltage down efficiently. See voltage regulators.
  • Filters and chokes: ferrite beads and common-mode chokes stop high-frequency noise travelling along cables.
  • Relays, contactors, solenoids and motors: all are inductors as far as the circuit driving them is concerned.
  • Transformers: two coupled inductors. See transformers explained.

Choosing one

As well as inductance, check the saturation current (above it the core can't hold more magnetism, the inductance collapses and current shoots up), the rated (heating) current, and the DC resistance of the winding, which wastes power as heat.

Intermediate and advanced

Going deeper

Why the flyback voltage is so high

An ideal inductor would try to keep its current flowing even if that needed infinite voltage. In reality the voltage rises until something conducts: the air gap across the switch contacts arcs, or the transistor breaks down. The stray capacitance of the coil and wiring limits how fast it rises, but it's still easily enough to damage a 30 V transistor.

Mutual inductance

When the field of one coil passes through another, a change in current in the first induces a voltage in the second. That's mutual inductance, the principle of transformers, and the reason long parallel cables can induce noise in each other.

Core types

Air-cored inductors never saturate but have low inductance. Iron and ferrite cores give much more inductance in a small size, but saturate and have losses that rise with frequency. Ferrite is used at the tens to hundreds of kilohertz of switch-mode supplies; laminated steel at 50 Hz.

Sources

The main references behind this guide. Numbers we worked out ourselves, such as the code outputs, come from running the code.