Modulation
How does a steady radio wave carry your voice, or a video? And why does Wi-Fi slow down as you walk away from the router?
The intuition
A radio wave on its own says nothing. It is a steady hum at one frequency, called the carrier. To send something, you change the carrier in step with your message. Picture signalling a friend across a dark field with a torch. Make it brighter and dimmer to the rhythm of your message, or flicker it faster and slower.
A radio wave has three things you can change. How big it is: that is AM, amplitude modulation. How fast it wiggles: that is FM, frequency modulation. Or where in its cycle it starts, called its phase. Changing the phase is how most digital radios work.
Why not send the voice as it is? Two reasons. The first is the antenna. A 3 kHz sound wave as a radio wave would be about 100 km long, and an antenna needs to be a good fraction of the wavelength. The second is sharing. Every voice would sit on the same low frequencies and drown the others out. A carrier lifts your message up to its own slice of the spectrum, where a small antenna works.
Digital radios send bits by choosing from a fixed list of states, like letters from an alphabet. Each choice is called a symbol. BPSK has 2 states, so a symbol carries 1 bit. QPSK has 4 states and carries 2 bits. 64-QAM has 64 states. Count how many times you can halve a list of 64: six. So each symbol carries 6 bits.
There is a catch. A bigger list squeezes the states closer together. Noise nudges each received dot away from where it should be. If it is nudged near a neighbour, the receiver reads the wrong symbol. So more bits per symbol needs a cleaner signal, a higher SNR, from the noise lesson.
That is what Wi-Fi does when you walk away. The signal gets weaker, so the SNR drops. The router quietly switches to a simpler pattern, with fewer states that sit further apart. You get fewer bits per symbol, so it is slower, but the link survives.
Try it
Start with AM and raise m: the height of the wave follows the message. Then FM: raise β and watch the wiggle rate change while the height stays put. Last, the dots. Pick 256-QAM and slide the SNR down until the clouds run together. Then pick QPSK at the same SNR.
AM: change the height
The dashed line is the envelope, the shape of the message. The carrier's height follows it. m says how deep the changes are.
Derived
FM: change the wiggle
The carrier bunches up when the message is high and spreads out when it is low. A bigger β means a bigger swing, and a wider signal.
Carson's rule
Digital: pick a state, then add noise
Each gold dot is a state the transmitter can send. The blue dots are what the receiver sees after noise. When two clouds overlap, the receiver cannot tell those states apart.
Scheme
Lower SNR makes a bigger cloud around each ideal point.
4 states, 90° apart. Twice the bits of BPSK.
The maths
Carson’s rule (FM bandwidth)
How wide an FM signal is. Broadcast FM swings 75 kHz either side and carries audio up to 15 kHz, so it needs about 180 kHz.
Where:
Bits per symbol
A symbol that picks one of M states carries n bits. QPSK has M = 4, so 2 bits. 64-QAM has M = 64, so 6 bits.
Where:
Shannon limit
The most data any scheme can send through a channel with this much noise. No clever trick beats it.
Where:
What this assumes
- Carson’s rule is a rule of thumb. It holds nearly all of the power. The true FM spectrum goes on further, but it is very weak.
- The AM and FM demos use made-up units, and the carrier is drawn only about 10 times faster than the message so that you can see it. A real carrier is thousands of times faster.
- The dots demo adds random noise to ideal states. Its SNR is per symbol. It leaves out fading, phase error and filtering.
- The SNR numbers are for a clean channel with only random noise, and one error in a million bits. They assume the symbol rate equals the bandwidth, which needs ideal filtering. Real radios add error-correcting codes and margin, so real switch points differ.
- The Shannon limit assumes white noise, as in the noise lesson.
Predict
As you walk away, Wi-Fi switches from 64-QAM to QPSK. What happens to the bits each symbol carries?
The takeaway
Modulation changes a steady carrier in step with the message. In digital radio, each extra bit per symbol packs the states closer together, so it needs a cleaner signal. That is the trade between speed and noise your Wi-Fi makes every time you move.
Go deeper
Why AM wastes power
AM puts a copy of the message on each side of the carrier. These are the sidebands, so an AM signal is twice as wide as the message. The carrier in the middle carries nothing. Even at full modulation, m = 1, only 33% of the power is in the sidebands. The other two thirds is carrier. At a gentler m = 0.6 it is only 15%. Push m past 1 and the envelope flips, which a simple receiver turns into a harsh buzz.
FM broadcast, in numbers
FM stations swing 75 kHz either side of the carrier, and carry audio up to 15 kHz. The swing divided by the audio frequency is β = 75 / 15 = 5. Carson's rule gives 2 × (75 + 15) = 180 kHz, which fits in a 200 kHz channel. FM spends bandwidth to sound cleaner. Most noise, such as lightning or motors, changes the height of the wave. FM carries its message in the wiggle, so the receiver can ignore the height.
The Shannon limit
In 1948 Claude Shannon showed there is a ceiling on how much data a channel can carry. A 20 MHz channel with 30 dB of SNR tops out at about 199 Mbit/s, whatever the scheme. The chart plots that limit as the green line. Each dot is the SNR one scheme needs for one error in a million bits. Every dot sits to the right of the line. Two more bits per symbol costs roughly 6 dB. Error-correcting codes close most of the gap.
Markers show the SNR each scheme needs for BER = 10⁻⁶ over an AWGN channel (textbook Eb/N0 values converted to SNR = Eb/N0 + 10·log₁₀(bits per symbol), assuming the symbol rate equals the bandwidth, which needs ideal filtering; real systems pay an additional implementation margin). Every scheme sits below the green Shannon limit — modern codes (LDPC, turbo) push within a fraction of a dB of it.
Where you meet each one
AM radio uses AM and FM radio uses FM. GSM mobile phones use GMSK, a smooth kind of frequency keying. Bluetooth uses GFSK, also frequency keying. GPS satellites use BPSK, the most noise-proof choice, because their signal arrives very weak. Wi-Fi uses BPSK and QPSK when the signal is weak, and steps up through the QAM sizes as it gets stronger.