D13 · Lesson 6 · Software radio
Frequency modulation as a phasor whose speed follows the audio, the modulation index and Carson's bandwidth, the discriminator that turns phase steps between samples into frequency, why FM ignores amplitude, and the SNR it trades bandwidth for
At baseband, an FM station is a phasor of constant length whose angle swings back and forth with the audio: the louder the sound, the faster it turns. To get the audio back, a software radio only has to measure how far the phasor turns from one sample to the next. That's one multiplication and one angle per sample, the discriminator, and because it looks only at angles, it ignores fading and amplitude noise that would wreck an AM receiver.
- The complex baseband phasor of an FM signal, , modulated by a tone of frequency with peak deviation Δf. Play it in slow motion.
- The phasor swings through ±β radians, where β = Δf/. Its angular speed, not its angle, carries the audio: it turns fastest through the middle of each swing.
- Raise the deviation: the swing widens and the signal's bandwidth grows, as Carson's rule in the readout shows.
Predict
A discriminator compares each sample with the one before. If the signal arrives 100 times weaker, what happens to its output?
The discriminator takes the angle of , and scaling z by any constant scales that product by a positive number without changing its angle. So the audio comes out the same at any signal strength, as long as the signal stays well above the noise. That's FM's resistance to fading, and why it needs no automatic gain control.
Name it
Frequency modulation
The audio a(t) moves the instantaneous frequency by Δf × a(t), so the phase is the running integral:
For a tone, the phase swings by the modulation index , and Carson's rule puts 98% of the power within . Narrowband FM voice uses Δf = 2.5 to 5 kHz; broadcast FM uses 75 kHz.
The discriminator
is the frequency in hertz, and dividing by Δf gives back a(t). A tuning error shows up as a steady offset in the output, which a receiver can use to correct its tuning. The phase step between samples must stay within ±π, so must exceed twice the highest instantaneous frequency.
What FM buys
Above its threshold, FM's output SNR for a tone is times what the same received power gives as plain baseband audio, the baseband reference of S8: bandwidth traded for SNR. The threshold sits near γ = 20(β + 1); below it, noise spikes ("clicks") take over quickly. Broadcast FM also boosts the treble before transmission (pre-emphasis, a 75 µs time constant in North America) and cuts it after demodulation, since the discriminator's output noise rises with audio frequency.
Worked example
A 1 kHz tone at full scale deviates a narrowband station by 2.5 kHz. What's β, the bandwidth, and what does the lab's discriminator output?
Show the solution
- Modulation index.
- Bandwidth by Carson's rule.
- Discriminator output. A 1 kHz sine of peak 2500 Hz, whose RMS value is
- Recover the tone. Divided by Δf it's the original tone.
Answer β = 2.5 and a 7 kHz bandwidth, and the discriminator puts out a 1 kHz sine of 2500 Hz peak (1768 Hz RMS).
Worked example
What output SNR advantage does β = 5 give over plain baseband audio, above threshold, and where's the pre-emphasis corner for 75 µs?
Show the solution
- SNR advantage. or 15.7 dB over baseband.
- Bandwidth it costs. times the audio bandwidth.
- Threshold. The advantage holds only above or 20.8 dB.
- Pre-emphasis corner.
Answer 37.5 times (15.7 dB) better than baseband above a threshold of γ = 120 (20.8 dB), and a pre-emphasis corner at 2122 Hz.
Check
Write an FM modulator and a discriminator.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
An FM signal deviates 5000 Hz with audio up to 1000 Hz. What bandwidth does Carson's rule give?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
Above threshold, how much SNR does FM with modulation index 2 gain over plain baseband audio of the same power?
Check
FM pre-emphasis uses a 50 µs time constant. Where's its corner?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
An FM signal has a peak deviation of 30 kHz and is modulated by a 1 kHz tone.
(a)
What is its modulation index?
(b)
What bandwidth does Carson's rule give?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
For tone modulation with index 2, an FM receiver above threshold improves the SNR over baseband by . How many dB is that?
Explain why
Why does FM reject amplitude noise and fading that would distort AM?
In FM, all the information is in how fast the phase turns, while the amplitude is constant at the transmitter. The discriminator measures only the angle between successive samples, so anything that scales the signal's amplitude, whether fading, a weaker station or amplitude noise, changes the length of the phasor but not the angle it turns through, and the audio comes out the same. AM, by contrast, carries its audio in the amplitude itself, so every amplitude change appears directly in the output. FM's immunity holds as long as the signal stays well above the noise; once noise is comparable to the signal, it can swing the phase on its own and the output collapses into clicks.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.