Learn & build · Electronics · Chapter 3

Coils, resonance and antennas

A capacitor stores energy in its electric field and hates sudden changes of voltage. A coil of wire, an inductor, is its mirror image: it stores energy in a magnetic field and hates sudden changes of current. Put the two together and something remarkable happens: the circuit rings at one frequency all by itself. That's how every radio picks a station.

In plain words: current in a coil is like a heavy flywheel. It's slow to get going, and once it's spinning it doesn't want to stop. Push current into a coil and it pushes back at first; try to stop the current suddenly and the coil will do almost anything to keep it flowing, including making a spark.

1. A coil resists change

Close the switch: the current doesn't jump up, it ramps. Then open it and watch what the coil does.

Without the diode, opening the switch gives the coil's current nowhere to go. It forces it anyway: the voltage shoots up, often to hundreds or thousands of volts, until a spark jumps the switch's gap. That's exactly how a car's ignition coil makes the spark for its spark plugs, and how a relay coil can kill the transistor that drives it. The fix is one diode across the coil, the flyback diode: it gives the current a loop to run around in until it dies out quietly. You'll see it again next chapter, next to every MOSFET that drives a motor or a relay.

Why does a coil push back at all? A current makes a magnetic field around its wire, and winding the wire into a coil stacks the field up through the middle. Whenever the field through a coil changes, it makes, or induces, a voltage in that coil, and the voltage pushes against the change (Faraday's law of induction). A coil's own current changing does this to itself: that's the push-back you just saw. A magnet moved in and out of a coil does it too, with no battery at all: that's how a bicycle dynamo, a dynamic microphone (chapter 16) and a spinning motor (chapter 14) make a voltage.

The math, step by step

A coil is the capacitor's mirror image. A capacitor's voltage can't jump (it takes current to change it); a coil's current can't jump (it takes voltage to change it):

\[ V = L \frac{dI}{dt} \]

Closing the switch: the current ramps as \(I(t) = \frac{V}{R}(1 - e^{-tR/L})\), with time constant \(\tau = L/R\). Opening it: the current wants to drop from, say, 0.5 A to zero in a microsecond. With \(L = 10\) mH that's \(V = 0.01 \times 0.5 / 10^{-6} = 5{,}000\) V. Nothing limits that voltage except a spark, or a diode that gives the current a path to keep flowing and die away gently.

A 10 mH coil carrying 0.5 A is cut off in 1 µs. How big is the voltage spike, \(L \, \Delta I / \Delta t\)?

\(0.01 \times 0.5 / 0.000001 = 5{,}000\) V. That's how a car's ignition coil makes a spark from 12 V.

🎯 Challenge: switch the coil off without a spark.

2. An LC tank: energy sloshing back and forth

Charge a capacitor, then connect it to a coil. The capacitor pushes current into the coil; the coil's current keeps flowing after the capacitor is empty and charges it the other way round; and back again. The energy swings between the two like a pendulum.

It rings at one frequency, set only by L and C: f = 1 / (2π √(L·C)). Bigger parts swing slower, just as a longer pendulum does. Every real circuit has some resistance, which steals a little energy each swing, so the ringing dies away; turn "losses" up and it dies faster. The parts here are huge (henries and millifarads) so you can watch it at walking pace; a radio's tuned circuit uses millionths of a henry and trillionths of a farad and rings millions of times a second.

The math: where \(1/(2\pi\sqrt{LC})\) comes from

In the loop the coil's voltage equals the capacitor's, and the coil's current is what drains the capacitor, \(I = -C\,dV/dt\). Combine with \(V = L\,dI/dt\):

\[ \frac{d^2 V}{dt^2} = -\frac{1}{LC} V \]

"Acceleration proportional to minus position" is the equation of a pendulum or a mass on a spring, and its solution is a sine wave, \(V = V_0 \cos(\omega t)\) with \(\omega = 1/\sqrt{LC}\) radians per second, so \(f = 1/(2\pi\sqrt{LC})\). The energy swaps between the capacitor, \(\tfrac12 C V^2\), and the coil, \(\tfrac12 L I^2\), and their sum stays constant, exactly like a pendulum trading height for speed.

You make the capacitor 4 times bigger. What happens to the ringing frequency?

\(f \propto 1/\sqrt{C}\): \(\sqrt 4 = 2\), so half the frequency. To tune an FM radio across 88–108 MHz (a ratio of 1.23), the capacitor only needs to change by \(1.23^2 \approx 1.5\) times.

A 10 µH coil and a 1 nF capacitor. What frequency do they ring at, in MHz?

\(\sqrt{10^{-5} \times 10^{-9}} = 10^{-7}\); \(1/(2\pi \times 10^{-7}) \approx 1.59\) MHz, the top of the AM broadcast band.

🎯 Challenge: make it ring at exactly 1 swing per second (1.00 Hz, within 3%).

A coil keeps current flowing and a capacitor keeps voltage steady; joined, they trade energy back and forth at one frequency, \(1/(2\pi\sqrt{LC})\).

3. Tuning a radio

Now three "stations" arrive at once, mixed together as they would be on an antenna. A coil and a capacitor in series only let through frequencies near their own ringing frequency. Turn the capacitor, the tuning knob of every old radio, and pick one station out. (Everything here is scaled down 1000×, AM's 540–1600 kHz to 540–1600 Hz, so the waves fit on the screen.)

The sharper the tuned circuit (less resistance, a higher "Q"), the better it rejects the neighbors. Real receivers stack several tuned circuits, and the radio course does the same thing in software: moving a station to zero and filtering the rest away.

The math: Q, the sharpness of a tuned circuit

For a series RLC, the quality factor is \(Q = \frac{1}{R}\sqrt{L/C}\), and the band it lets through (to the 71% points) is \(f_0 / Q\) wide. With \(Q = 100\) at 1 MHz, the passband is 10 kHz, about one AM station. Halve the resistance and the passband halves. Q also counts how many cycles a tank rings before its energy fades: roughly \(Q / \pi\) cycles to lose most of it.

🎯 Challenge: tune in the 1000 Hz station so it comes through at least 90%, with both neighbors below 30%.

4. How long should an antenna be?

An antenna is a tuned circuit made of a bare piece of wire: it rings best at the frequency whose wave fits it. A wave's length is the speed of light divided by its frequency, λ = c / f. The classic antennas are a half-wave dipole (two arms, each a quarter wave) and a quarter-wave whip over a ground plane. Pick a band.

The yellow wave on the dipole is the current: biggest at the middle where the cable connects, zero at the tips. That's what "resonant" means for an antenna. Real wire is a little slower than light in space, so antennas are cut about 5% shorter than the pure math says. The ADS-B radar on this site listens at 1090 MHz, and a 6.5 cm whip is all it needs.

Half-wave dipole for 100 MHz: how long, end to end, before the "real wire is slower" trim? (\(c = 3 \times 10^8\) m/s.)

\(\lambda = 3\times10^8 / 10^8 = 3\) m, half of it 1.5 m. Trimmed by about 5% for real wire: ≈1.43 m.

🎯 Challenge: cut a quarter-wave whip for ADS-B at 1090 MHz (within 3%).

Next: diodes and transistors, the parts that let a tiny signal control a big current, and the flyback diode in its natural habitat.

Previous: Capacitors and time · All chapters: Learn & build · Try things in the circuit lab.

Last updated