hkk.fyi
ESSAY · SIGNALS & COMMUNICATION · ~15 MIN · 7 LIVE FIGURES

FM Modulation

An FM transmitter never changes how loud it is. It says everything by changing how fast it wiggles.

That one swap — height for frequency — costs a great deal of bandwidth and buys something amplitude modulation cannot have at any price. Almost all the noise a radio picks up arrives as a voltage added to the signal, which means it lands on the amplitude. FM does not listen to the amplitude.

You only need to know what a sine wave is. Every figure below is live — drag it, break it, watch what happens.

SAME HEIGHT, CHANGING PACE

01 What noise does to a height

Everything a receiver picks up arrives as a voltage on a wire, and the wanted signal is not the only thing arriving. Lightning hundreds of kilometres away, a car ignition in the next street, the thermal agitation of the electrons in the receiver's own first transistor — all of it adds itself to the antenna voltage. It is a sum, not a mixture: what reaches the detector is signal plus noise, one waveform, with no label on either part.

Now recall what an AM receiver does with that waveform. It measures the height. The envelope detector follows the peaks, and the peaks it follows are the peaks of the sum. A wave that should have been 1.00 volts tall arrives 1.04 volts tall, and the detector reports 1.04, because that is genuinely how tall it is. Nothing has malfunctioned. The noise simply landed in the same place the message was kept.

FIG 1THE SAME NOISE, TWICE
NOISE ADDED0.10
then drag the noise while it plays
The same message, sent twice with the same noise added on the way. Left is AM, and the noise is sitting on the envelope the detector is trying to read. Right is FM: the noise is on the height too — it has to be, it is the same noise — but the height is not where the message is, and a limiter is about to throw the height away. The faint trace is the recovered audio, the dashed line what was sent. Drag the noise up from zero: the AM output degrades from the first step, while the FM output does not visibly move until the noise is large enough to start moving the zero crossings. Press Listen and use the two buttons to switch which side you are hearing.

You can beat this with brute force. Noise power in a given bandwidth is roughly fixed, so doubling the signal-to-noise ratio means quadrupling the transmitter power, and a broadcaster who wants a quiet signal over a wide area ends up paying an electricity bill for it. That is the whole remedy AM offers. There is no clever detector that helps, because there is nothing to be clever about: the detector is reading a height, and the height is genuinely wrong.

Which points at the way out. The noise adds a voltage. If the message is not stored in the voltage, the noise has nothing to corrupt.

Why is the noise mostly on the amplitude?

Strictly it is not. Add a small noise vector to a large signal vector and you perturb both the length and the angle of the sum — amplitude and phase. What makes the two cases different is what happens next.

The amplitude error is the component of the noise along the signal, and it goes straight through an envelope detector at full size. The phase error is the component across it, divided by the signal amplitude — so it shrinks as the carrier gets stronger, and an FM receiver can shrink it further by spending bandwidth, which is what the rest of this article is about. Below a certain carrier-to-noise ratio that advantage collapses, and section 8 comes back to it.

02 Put the message in the frequency

A sine wave has three things you can change: its height, its frequency, and its phase. AM takes the first. FM takes the second, and leaves the height strictly alone.

The quantity being controlled is the instantaneous frequency — how fast the wave is going right now. At rest it sits at the carrier frequency fc. The message pushes it above and below:

instantaneous frequency fi(t) = fc + Δf · x(t) x(t) is the message, scaled to ±1; Δf is the frequency deviation

Δf is the deviation: the furthest the frequency ever gets from the carrier, reached when the message is at full volume. It is a property of the transmitter, chosen by whoever designed it and fixed by regulation. Broadcast FM in most of the world uses Δf = 75 kHz. A hand-held two-way radio uses 2.5 kHz.

Notice what is missing from that equation: any mention of amplitude. The transmitted wave is Ac tall when the message is loud, Ac tall when it is quiet, and Ac tall in the silence between words. The envelope of an FM signal is a flat line, and it carries nothing. That is not a curiosity. It is the entire point, and section 7 collects on it.

FIG 2THE CARRIER BENDS
DEVIATION10 kHz
MESSAGE FREQUENCY2.5 kHz
Top is the message. Middle is the instantaneous frequency it asks for, a copy of the message with fc as its zero line. Bottom is the wave that comes out: same height everywhere, packed tight where the middle trace is high and stretched thin where it is low. Push the deviation up and the squeezing gets more violent; pull it to zero and you are left with a bare carrier that says nothing. The dashed envelope stays flat no matter what you do — compare that with the same figure in the AM essay, where the envelope is the message.
A note on the drawings. A real FM broadcast runs a carrier near 100 MHz against audio below 15 kHz — a ratio of about 7000 : 1. Drawn honestly, that is a solid block of ink. Every figure here uses a carrier of a few tens of kilohertz instead, with the deviation and the message scaled to match, so the wave stays visible and the figures you can listen to land inside the range of a speaker. Every ratio that matters — β, Carson's rule, the fraction of power inside the channel — is preserved exactly.

Four of the figures make sound. Nothing plays until you ask for it, and only one plays at a time.

03 The phase is the integral

There is an obvious way to write the transmitted wave from the equation above, and it is wrong. It is worth seeing why, because the correct version looks stranger than it should and the reason is easy to miss.

The tempting thing to write is Ac cos(2π fi(t) · t). Put the instantaneous frequency in the place the carrier frequency used to be. But a cosine does not read the number in front of t and go at that speed; it reads the whole angle inside the brackets, and the speed is how fast that angle is turning. Frequency is not a term in the phase — it is the rate of change of the phase:

what frequency means fi(t) = 1 · dt

So if you want the frequency to follow the message, the phase has to follow the running total of the message. Integrate fi to get φ, and the transmitted wave is:

FM, in full s(t) = Ac cos( 2π fc t + 2π Δf ∫0t x(τ) dτ ) the message enters through an integral, never directly

The integral is not decoration. It changes what the transmitted wave looks like in ways you would not guess from the message alone — a message that jumps abruptly produces a phase that only ever bends, because an integral cannot jump. It also explains a fact from the next section: the deviation depends on how loud the message is, and the resulting bandwidth depends on how fast it is, and those are two different knobs.

FIG 3THREE LAYERS, AND AN INTEGRAL IN THE MIDDLE
Top the message x(t). Middle its running integral, which is the extra phase being added to the carrier. Bottom the wave that phase produces. Switch the message to pulse and watch the middle trace: the message slams between −1 and +1, and the phase answers with straight ramps and sharp corners — bends, never jumps. Tick the wrong version to overlay what you get from cos(2πfi(t)·t) instead; it is not a small error, and it is not even a valid FM signal, because its frequency runs away with t.

04 Deviation, and the index β

Two numbers describe an FM signal, and confusing them is the usual source of trouble.

The ratio of the two is the modulation index:

modulation index β = Δf fm how many cycles of carrier-phase the message pushes around, per cycle of message

β is where FM stops resembling AM. In AM the index m has a hard ceiling: at m = 1 the envelope touches zero, and past it the signal is broken and a simple receiver hears distortion. β has no such ceiling. β = 0.2, β = 5, β = 40 — nothing folds over, nothing clips, and the recovered message is perfect in every case. What changes is how much room the signal takes up, and that is the only thing that changes.

Two regimes get their own names, and the boundary is conventionally put at β ≈ 0.3:

05 A spectrum that never ends

Take the single-tone case, x(t) = cos(2π fm t), and put it through the integral from section 3. The phase comes out as β sin(2π fm t), so:

single-tone FM s(t) = Ac cos( 2π fc t + β sin(2π fm t) )

In AM the equivalent step was a line of algebra and out fell three tones. Here the message sits inside a cosine, inside another cosine, and no amount of rearranging gets it out. The expansion that does work has been known since the 1820s and produces something unsettling:

the spectrum of single-tone FM s(t) = Ac Σn = −∞ Jn(β) · cos( 2π (fc + n fm) t ) Jn is the Bessel function of the first kind, order n

One tone in, and out come infinitely many sidebands, spaced fm apart, running away from the carrier in both directions forever. Their heights are Bessel functions of β, which is the only place in this article where a named special function is unavoidable — it is simply what the integral of a cosine-inside-a-cosine evaluates to.

Three things about that sum are worth more than the formula itself:

FIG 4DRAG THE INDEX, AND WATCH THE CARRIER VANISH
MODULATION INDEX2.40
then drag β while it plays
Every line is one sideband, at fc + n·fm, and its height is Jn(β). The dark line in the centre is the carrier. Drag β up from zero: at the left-hand end there is a carrier and nothing else, then one pair grows and the thing looks exactly like AM, then the energy marches outward and the carrier shrinks. Stop at β = 2.405 and the carrier is gone — the readout shows how much of it is left. The bar under the axis is Carson's rule from the next section, and the readout tells you what fraction of the power it contains. Press Listen to hear the same signal: the pitch never changes, only the timbre, because all that is happening is power moving between sidebands.
Where does the Bessel function come from?

Write s(t) as the real part of Ac ej2πfct · ejβ sin(2πfmt). The second factor is periodic in the message, with period 1/fm, so it has a Fourier series — and its coefficients are, by definition, the integrals

Jn(β) = (1/2π) ∫−ππ ej(β sin θ − nθ)

which is one of the standard definitions of the Bessel function of the first kind. So the Bessel functions are not imported from anywhere: they are the Fourier coefficients of a phase-modulated exponential, and they turn up here for the same reason sines turn up in a Fourier series. The figure above evaluates that integral numerically, which is all it takes.

06 Carson's rule

An infinite spectrum is not something you can license, so the practical question is where to cut it off. The answer everyone uses dates from 1922 and is a single line:

Carson's rule BW ≈ 2 ( Δf + fm ) = 2 fm ( β + 1 ) the band holding about 99 % of the transmitted power

It is a rule of thumb with a real justification: keep every sideband whose amplitude exceeds about 1 % of the unmodulated carrier, and you have kept 98 % or more of the power, and what you have kept is β + 1 pairs on each side. Both limits check out against what you already know:

Put broadcast numbers in: Δf = 75 kHz, top audio frequency 15 kHz, so BW ≈ 2(75 + 15) = 180 kHz. FM broadcast channels are spaced 200 kHz apart, which is that number plus a guard band. Compare with an AM broadcast channel at 10 kHz. One FM station occupies the room of twenty AM stations, and that is the bill for everything section 8 is about.

FIG 5HOW MUCH ROOM DOES IT NEED?
DEVIATION75 kHz
TOP MESSAGE FREQUENCY15 kHz
The spectrum of a single tone at the deviation and message frequency you set, with Carson's band drawn across it and the broadcast channel grid behind. Drag the deviation and watch two things at once: the sidebands march outward, and the readout's power inside Carson barely moves off 99 % — that is the rule doing its job. Now drop to the narrowband preset and the whole thing collapses to a carrier and one pair, sitting in a channel the size of an AM station's. The two presets are the two real ends of FM: the same mathematics, four hundred times apart in bandwidth.

07 Getting the message back

An FM receiver does two things in order, and the first one is the reason the whole scheme works.

Step one: throw the amplitude away

The wanted signal has a constant envelope. Therefore any variation in the envelope is, by definition, not the message — it is noise, fading, or interference. So the receiver limits: it amplifies hard into saturation until the wave is clipped flat top and bottom, closer to a square wave than a sine. Every trace of amplitude information is destroyed, deliberately, along with the noise that was carried in it. The zero crossings survive untouched, and the zero crossings are where the message is.

An AM receiver can never do this, at any price, with any circuit. Its amplitude is its message. This single step is what FM buys with its 180 kHz, and it is why the comparison in figure 1 looks the way it does.

Step two: turn frequency into voltage

Now something has to convert "how fast is this wave going" into a voltage. The tidiest way to see it is to differentiate. If s(t) = Ac cos φ(t), then

a differentiator makes frequency into amplitude ds/dt = − Ac · φ′(t) · sin φ(t) = − Ac · 2π fi(t) · sin φ(t)

Read the right-hand side as a wave whose height is proportional to the instantaneous frequency. The differentiator has converted FM into AM — and an AM signal is something we already know how to demodulate, with the diode, resistor and capacitor from the previous essay. Differentiate, then envelope-detect. That pair is a slope detector, and in practice the differentiator is just a tuned circuit operated off to one side of resonance, where its response happens to be a rising line.

Real receivers mostly use one of three refinements — the Foster-Seeley discriminator, the ratio detector, or, in anything built in the last forty years, a phase-locked loop, which steers an oscillator to follow the incoming frequency and reads the message straight off the steering voltage. All three do the job of the two lines above with better linearity.

FIG 6LIMIT FIRST, THEN DIFFERENTIATE
NOISE ADDED0.25
then untick the limiter while it plays
The signal as it arrives, noise and all; then what the limiter makes of it; then the recovered message against the original. Untick the limiter and the amplitude noise walks straight into the output, because the differentiator cannot tell a change in height from a change in pace. Tick it again and the same noise is gone. Then push the noise far enough and watch the limiter stop helping: once the noise is large enough to create extra zero crossings, it is writing false frequencies that no later stage can undo. That cliff is the threshold effect, and it is the subject of the next section.

08 What the bandwidth buys

FM spends twenty times the room of an AM station. Three things come back for it.

Quieting, and why it grows as β²

After the discriminator, the noise that survives is the phase noise differentiated — and differentiating multiplies each frequency component by that frequency, so the output noise density rises as f². Integrating that across the message band and comparing with the recovered signal gives a clean result for a single tone:

FM figure of merit SNRout / SNRchannel = (3/2) β²

The improvement grows with the square of the index, while the bandwidth grows only linearly with it — so every doubling of bandwidth buys about 6 dB. At broadcast settings, β = 5 gives a factor of 37.5. Standard AM at full modulation manages a figure of merit of 1/3. The ratio of the two is about 112, which is roughly 20 dB: the same transmitter power, into the same noise, arriving a hundred times quieter.

Capture: the stronger station wins outright

Two AM stations inside one receiver's filter give you both, mixed, at their relative strengths — that was figure 7 of the AM essay. Two FM stations do not mix. The limiter and the discriminator between them track whichever signal is momentarily larger, so the stronger station takes the output completely and the weaker one disappears. A few decibels of advantage is enough. It is why driving between two transmitters on the same frequency gives you one station, then a band of noise, then the other station, instead of a long stretch of both at once.

FIG 7TWO STATIONS, ONE FREQUENCY
STRONGER BY0.0 dB
then drag the ratio while it plays
Two FM transmitters on the same channel, sending different notes. The bars show how much of each one reaches the output, measured from the recovered audio rather than asserted. At 0 dB the receiver cannot decide and the output is a mess belonging to neither. Nudge the slider and the fight is over remarkably fast: by 6 dB the weaker station is essentially gone. Press Listen and drag — the weaker note does not fade out so much as get switched off. The dotted line is what an AM receiver would have done with the same two signals: a straight mix, all the way across.

The threshold, where it all stops working

None of this is free below a certain carrier-to-noise ratio. The advantage rests on the noise being small enough that it only nudges the phase. Once the noise vector is comparable with the signal vector it can swing the sum all the way around zero, adding or removing a whole cycle — and a discriminator reads that as an enormous momentary frequency, which you hear as a click. The clicks arrive slowly at first, then all at once.

The collapse happens near a carrier-to-noise ratio of about 10 dB, and it is steep: a decibel of extra noise below threshold costs far more than a decibel of output. So FM is better than AM above threshold and worse below it. AM degrades into something hissy but audible; FM degrades into nothing. It is the reason a distant AM station is still just about listenable while a distant FM station is silent.

Pre-emphasis, the last trick

One consequence of that f² noise slope is that the treble suffers most, even though music has least energy there. So broadcast FM tilts the deal: before transmission the high frequencies are boosted by a simple RC network, and the receiver applies the exact inverse afterwards. The music comes out flat, the noise comes out cut. The time constant is 50 µs in Europe and most of the world, 75 µs in the Americas — which is why a radio set for the wrong one sounds either dull or harsh.

09 What to remember

Six sentences, and they are the whole article:

AM and FM are the same sentence with one word changed: take a steady wave, and let the message change one thing about it. AM changes the height and pays in noise. FM changes the pace and pays in bandwidth. Which is the better bargain depends entirely on which of the two you have to spare — and in 1930, when the spectrum was empty and amplifiers were noisy, everyone had bandwidth to spare.

More of this sort of thing

This essay is the second half of a pair. The first one builds amplitude modulation from zero with the same kind of figures — and the Smith chart essay next door does the same job for impedance, reflection and matching, with the chart itself running live in the Lab.

Sources & further reading