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

S8 · Lesson 6 · FM demodulation and the phase-locked loop

Discriminators and quadrature detectors, the phase-locked loop as a demodulator and tracking filter, first- and second-order loops, phase error, settling and noise bandwidth

Recovering an FM message means measuring how fast a carrier's phase is turning. A discriminator does it by converting frequency to amplitude; a phase-locked loop does it by building a local oscillator that chases the incoming carrier and reporting how hard it had to push. The PLL turned out to be far more than an FM detector: the same loop recovers carriers for coherent demodulation, extracts symbol timing, synthesizes frequencies and cleans up jittery clocks. This lesson analyzes it as a control system, which is what it is, and finds how fast it locks, how far it lags, and how much noise it lets through.

  • The phase error of a PLL after a sudden step Δf in the input frequency, in units of 2πΔf/ωn: a second-order loop (solid) with natural frequency ωn and damping ζ, and a first-order loop with gain K=ωn (dashed).
  • The first-order loop settles to a permanent phase error, 2πΔf/K. The second-order loop with an integrator drives the error back to zero after a transient.
  • Lower damping gives a faster but ringing response; ζ ≈ 0.7 is the usual compromise. The peak error is 2πΔfωne−ζarccos⁡ζ/1−ζ2.

Predict

A first-order PLL with loop gain 2π × 1000 rad/s locks to a carrier that then jumps 100 Hz. What happens to its phase error?

Name it

Discriminators

Differentiating an FM signal gives A[2πfc+2πkfm(t)]sin⁡(⋅), an AM signal whose envelope is proportional to the instantaneous frequency; an envelope detector then recovers m(t). The quadrature detector and the zero-crossing counter do the same job with simpler hardware. All of them respond to amplitude noise too, so they follow a limiter.

The phase-locked loop

A phase detector compares the input with a VCO, a loop filter F(s) smooths the result, and the filter's output steers the VCO. Linearized, with phase-detector gain Kd and VCO gain Kv (rad/s per volt), the closed loop is

H(s)=KF(s)s+KF(s),K=KdKv

and the VCO control voltage is proportional to the input's frequency deviation: in lock, it is the FM demodulator's output.

  • First order (F = 1): H=Ks+K, a frequency step Δω leaves a steady phase error Δω/K; noise bandwidth BL=K/4 Hz.
  • Second order, type 2 (proportional-plus-integral filter): H=2ζωns+ωn2s2+2ζωns+ωn2. A frequency step leaves zero steady error, with transient Δωωne−ζωntsin⁡(ωn1−ζ2t)1−ζ2, settling in about 4/(ζωn). Noise bandwidth:
BL=ωn2(ζ+14ζ) Hz

A narrow loop rejects noise but tracks slowly and has a small pull-in range; a wide loop does the opposite.

Worked example

A second-order PLL has ωn = 2π × 100 rad/s and ζ = 0.707. Find its noise bandwidth and its peak phase error for a 50 Hz frequency step.

Show the solution
  1. Noise bandwidth. BL=628.32(0.707+0.354)=333Hz
  2. Peak phase error. θpk=2π×50628.3×e−0.707arccos⁡(0.707)/0.707=0.5×e−0.785=0.228rad=13.1°
  3. Settling. After the peak the error decays to zero within about 40.707×628s=9ms

Answer the noise bandwidth is 333 Hz, and the peak phase error is 0.228 rad (13.1°), gone within about 9 ms.

Worked example

The first-order loop with K = 2π × 1000 rad/s: what's its noise bandwidth, and what frequency step makes it lose lock?

Show the solution
  1. Noise bandwidth. BL=K4=1571Hz
  2. Hold-in range. With a sinusoidal phase detector, the steady error Δω/K can't exceed 90° (sin θ = 1), so the largest step it can hold is Δω=KΔf=1000Hz
  3. Beyond that. The loop slips cycles and loses lock.

Answer the noise bandwidth is 1571 Hz, and a frequency step of more than 1000 Hz makes the loop lose lock.

Worked example

A second-order PLL has ωn = 2π × 100 rad/s. Compare its noise bandwidth at ζ = 0.5, 0.707 and 1.

Show the solution
  1. The formula. With ωn/2=314: BL=ωn2(ζ+14ζ)
  2. ζ = 0.5. BL=314(0.5+0.5)=314Hz
  3. ζ = 0.707. BL=314(0.707+0.354)=333Hz
  4. ζ = 1. BL=314(1+0.25)=393Hz
  5. The usual choice. The noise bandwidth is smallest at ζ = 0.5, but ζ = 0.707 is the usual choice: only 0.26 dB more noise for a far better-damped response to frequency steps.

Answer 314 Hz at ζ = 0.5, 333 Hz at 0.707 and 393 Hz at 1.

Check

A first-order PLL with gain K = 2π × 500 rad/s sees a 100 Hz frequency step. What's its steady phase error?

Check

What's the noise bandwidth of a first-order PLL with K = 2π × 2000 rad/s?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A second-order PLL has ωn = 2π × 100 rad/s and ζ = 0.5. What's its noise bandwidth?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A second-order PLL (ωn = 2π × 50 rad/s, ζ = 0.707) sees a 50 Hz frequency step. What's its peak phase error?

Check

About how long does that second-order loop (ωn = 2π × 100 rad/s, ζ = 0.5) take to settle?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

Check

A first-order PLL with a sinusoidal phase detector and K = 2π × 2000 rad/s: how far can the input frequency move before it loses lock?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A PLL FM demodulator has a VCO gain of 50 kHz per volt and a first-order loop gain K = 2π × 10 kHz; the input deviates by 5 kHz.

(a)

What peak control voltage does the VCO need?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What peak phase error does the first-order loop show?

Check

A second-order PLL has natural frequency w (rad/s) and damping z; a first-order PLL has gain K.

Step 1

What is the second-order loop's noise bandwidth in hertz?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a PLL's control voltage reproduce an FM signal's message?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.