S7 · Lesson 12 · Magnitude, phase and group delay
Frequency response in decibels, phase and its ambiguities, group delay as the delay of a narrowband envelope, and the contribution of each pole and zero
Two filters can have identical magnitude responses and still do very different things to a signal, because the phase response decides when each frequency arrives. For a narrowband burst, what matters is the slope of the phase, the group delay: it says how long the burst's envelope takes to pass through. A filter whose group delay varies across its passband smears pulses and distorts data symbols even when every frequency passes at full strength. This lesson computes group delay pole by pole and zero by zero, so a pole–zero plot predicts not only what a filter passes but how long things take.
- The group delay of a two-pole resonator with poles at , from the sum of each pole's contribution .
- Near the pole angle the delay peaks, and the closer the poles are to the unit circle the taller and narrower the peak.
- With r = 0.95 the resonator delays a tone at its center by about 18.5 samples, while far from resonance the delay is small or even negative.
Predict
A linear-phase FIR filter has 101 taps and runs at 48 kHz. How long does it delay every frequency?
A symmetric FIR filter of N taps has phase plus jumps of π where the response changes sign, so its group delay is (N − 1)/2 = 50 samples at every frequency: 50/48,000 s = 1.04 ms. Every frequency is delayed equally, so waveforms pass through undistorted, only late.
Name it
Magnitude and phase
Write . Magnitudes are usually plotted in dB, and for a rational system the dB magnitude, phase and group delay are sums of one term per pole and zero.
- The principal value of the phase, ARG, jumps by 2π when it wraps; the continuous (unwrapped) phase arg doesn't. A real zero of the response also makes the phase jump by π.
- Phase delay ; group delay
the delay of a narrowband envelope centered on ω.
One pole or zero at a time
A zero factor contributes
and a pole contributes the negative of that. At ω = θ a pole adds samples, a zero inside the circle subtracts the same, and a zero exactly on the unit circle contributes a constant ½ sample (apart from its π jump).
Linear phase
(symmetric) or gives (+ constants and π jumps): a constant group delay of (N − 1)/2 samples. Only FIR filters can have exactly linear phase while being causal and stable.
Worked example
A single pole at z = 0.9. What's its group delay at ω = 0, at ω = 0.5 and at ω = π?
Show the solution
- Group delay of the pole.
- At ω = 0.
- At ω = 0.5.
- At ω = π.
- Shape. It's a lowpass with a long delay at DC and a slightly negative one beyond ω = arccos 0.9 = 0.45.
Answer 9 samples at ω = 0, −0.088 sample at 0.5 and −0.47 sample at π.
Worked example
Two tones at ω = 0.05 and ω = 0.3 pass through that pole. By how much does their delay differ?
Show the solution
- At ω = 0.05.
- At ω = 0.3.
- The difference. A pulse containing both is pulled apart by about 6.7 samples: phase distortion, even though both tones are in the filter's passband.
Answer their delays differ by about 6.7 samples: 7.3 against 0.55.
Worked example
A resonator has poles at and no zeros. What group delay does it have at its peak, ω = π/4?
Show the solution
- The pole at the peak. It contributes
- Its conjugate. The conjugate pole, π/2 away, contributes
- Total.
- What it means. A narrow resonance delays signals near its center far more than its pole count suggests, which is why sharp IIR filters smear transients.
Answer 8.55 samples at ω = π/4.
Check
A single real pole at z = 0.8. What's its group delay at ω = 0.2, in samples?
Check
A zero at with r = 0.8. What group delay does it contribute at ω = θ?
Check
A linear-phase FIR filter with 64 taps runs at 8 kHz. What's its delay?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A pole at 0.7. How much longer is the group delay at ω = 0.02 than at ω = 0.6?
Check
A resonator has poles at 0.9e^{±j0.5}. What's its group delay at ω = 0.5?
Check
A pure delay : what's its phase delay at ω = 0.2?
Check
A resonator has poles at 0.9 and no zeros.
(a)
What does the pole at the peak contribute to the group delay at ω = 0.5?
(b)
What is the total group delay there?
Check
A single pole at is observed at frequency w.
Step 1
What group delay does it contribute?
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°.
Step 2
What is that at w = t?
Step 3
And at w = t + π, opposite it?
Explain why
Why does a filter with non-constant group delay distort a pulse even when its passband magnitude is flat?
A pulse is made of many frequencies whose relative phases line them up into a sharp shape. Group delay says how long each narrow band of frequencies takes to get through the filter. If it's the same everywhere, all the components arrive together, merely late, and the pulse emerges intact. If it varies, the components that make up the pulse arrive at different times, so their phases no longer line up at one instant and the pulse spreads and rings, even though each component has the right amplitude. In data links that spreading blurs one symbol into the next, which is why receivers either use linear-phase filters or add all-pass equalizers to flatten the delay.
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.