D136 of 14
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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, ejβsin⁡(2πfmt), modulated by a tone of frequency fm with peak deviation Δf. Play it in slow motion.
  • The phasor swings through ±β radians, where β = Δf/fm. 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?

Name it

Frequency modulation

The audio a(t) moves the instantaneous frequency by Δf × a(t), so the phase is the running integral:

z(t)=ej2πΔf∫adt,z[n]=ej2πΔf∑ka[k]/fs

For a tone, the phase swings by the modulation index β=Δf/fm, and Carson's rule puts 98% of the power within BT=2(Δf+fm). Narrowband FM voice uses Δf = 2.5 to 5 kHz; broadcast FM uses 75 kHz.

The discriminator

finst[n]=fs2πarg⁡(z[n]z[n−1]¯)

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 fs must exceed twice the highest instantaneous frequency.

What FM buys

Above its threshold, FM's output SNR for a tone is 1.5β2 times what the same received power gives as plain baseband audio, the baseband reference γ=S/(N0W) 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
  1. Modulation index. β=2.5kHz1kHz=2.5
  2. Bandwidth by Carson's rule. B=2(2500+1000)Hz=7kHz
  3. Discriminator output. A 1 kHz sine of peak 2500 Hz, whose RMS value is 25002Hz=1768Hz
  4. 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
  1. SNR advantage. 1.5β2=1.5×25=37.5 or 15.7 dB over baseband.
  2. Bandwidth it costs. 2(5+1)=12 times the audio bandwidth.
  3. Threshold. The advantage holds only above γ=20×6=120 or 20.8 dB.
  4. Pre-emphasis corner. f=12π×75μs=2122Hz

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 1.5β2. How many dB is that?

Explain why

Why does FM reject amplitude noise and fading that would distort AM?

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.