S7 · Lesson 13 · All-pass and minimum-phase systems
Systems that change only phase, the factorization of any rational system into minimum-phase and all-pass parts, minimum group and energy delay, and invertibility
The magnitude of a frequency response doesn't pin down the system. Reflect a zero from inside the unit circle to its mirror point outside and the magnitude changes only by a constant, while the phase and the impulse response change completely. Every rational system is a minimum-phase system, with all its poles and zeros inside the circle, cascaded with an all-pass system that has unit magnitude everywhere and only adds delay. This factorization explains which systems can be inverted, which impulse responses deliver their energy soonest, and how equalizers correct phase without touching magnitude.
- The unwrapped phase of a first-order all-pass , in units of π, against frequency (dashed: a pure one-sample delay, ).
- Its magnitude is exactly 1 at every frequency, yet its phase falls by π from ω = 0 to π, unevenly: with a > 0 most of the lag happens at low frequencies.
- The readout gives its group delay at ω = 0, samples; at ω = π it's .
Predict
A channel has the impulse response [1, −2]. Can a causal, stable filter undo it exactly?
No. has a pole at 2; causal, it's unstable, and stable, it's anticausal. Only minimum-phase systems have causal, stable inverses. What can be done is to equalize the magnitude with the minimum-phase inverse and accept, or separately correct, an all-pass phase error.
Name it
All-pass systems
A first-order all-pass section with pole a (|a| < 1) and zero at :
For a stable all-pass system the group delay is always positive; for a real pole a it's , and for a complex pole it peaks at samples at ω = θ. Its continuous phase is never positive, and a section adds π of lag across 0 to π.
Minimum phase
A system with all poles and zeros inside the unit circle is minimum phase. Every rational system factors as
by reflecting each outside zero to (which scales the magnitude by |c|) and putting the difference into the all-pass factor. Among all causal stable systems with the same magnitude response, the minimum-phase one has
- the smallest group delay at every frequency (the all-pass factor only adds delay);
- the minimum energy delay: for every n, so it delivers its energy soonest;
- a causal, stable inverse .
Magnitude equalization therefore uses , and phase equalization adds all-pass sections.
Worked example
. Find its minimum-phase counterpart and compare how fast each delivers its energy.
Show the solution
- Reflect the zero. The zero at 2 reflects to 0.5, with the magnitude scaled by 2: This has exactly the same |H|.
- The all-pass factor. The second factor is an all-pass.
- Energy. The energies are both 5, but = [2, −1] puts 4/5 into its first sample while h = [1, −2] puts only 1/5 there.
Answer ; both have energy 5, but the minimum-phase version delivers 4/5 of it in the first sample against 1/5.
Worked example
A first-order all-pass has a = 0.8. What group delay does it add at DC and at ω = π, and what phase at π/2?
Show the solution
- Delay at DC.
- Delay at π.
- Phase at π/2.
- Use. Such sections, in cascade, can flatten a filter's group delay where it's too short, at the cost of extra overall delay.
Answer it adds 9 samples of delay at DC and 0.11 sample at π, and its phase at π/2 is −167.3°.
Worked example
A second-order all-pass with poles at is used to equalize a filter's delay at 48 kHz. How much delay does it add at ω = θ?
Show the solution
- Peak delay. The peak group delay of a complex all-pass pole pair, at ω = θ, is about exactly so when θ is far from 0 and π.
- In time.
- Use. Cascading such sections, each centered where the filter's delay sags, flattens the total group delay while leaving the magnitude untouched.
Answer about 9 samples, or 0.19 ms, at ω = θ.
Check
A first-order all-pass with real pole a = 0.7. What's its group delay at ω = 0.4?
Check
An all-pass section's pole is at with r = 0.8. What group delay does it give at ω = θ?
Check
has the minimum-phase counterpart . What fraction of the minimum-phase version's energy is in its first sample?
Check
What's |H| at ω = 0.5 for , and equally for its minimum-phase version ?
Check
What's the n = 2 sample of the causal inverse of ?
Check
A first-order all-pass with real a = 0.6. What's its phase at ω = π/2?
Check
A first-order all-pass has real pole a = 0.5; consider ω = 0.5 rad.
(a)
What group delay does it give?
(b)
What is its phase there (continuous)?
Check
with c > 1, and its minimum-phase counterpart .
Step 1
What is |H| at frequency w (the same for both)?
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 fraction of H's energy arrives in its first sample?
Step 3
And of the minimum-phase version's?
Explain why
Why does the minimum-phase version of a system deliver its energy fastest?
Any system with a given magnitude response can be written as the minimum-phase system with that magnitude followed by an all-pass system. The all-pass part keeps the energy in every frequency band the same, so it can't change the total energy, but its group delay is positive at every frequency, so all it can do is hold energy back and release it later. Starting from the minimum-phase response and passing it through any all-pass filter therefore leaves the total unchanged while shifting energy toward later samples. No causal, stable system with the same magnitude can put more of its energy into the first n samples than the minimum-phase one, for every n.
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.