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

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 z−1−a1−az−1, 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, 1+a1−a samples; at ω = π it's 1−a1+a.

Predict

A channel has the impulse response [1, −2]. Can a causal, stable filter undo it exactly?

Name it

All-pass systems

A first-order all-pass section with pole a (|a| < 1) and zero at 1/a*:

Hap(z)=z−1−a*1−az−1,|Hap(ejω)|=1

For a stable all-pass system the group delay is always positive; for a real pole a it's 1−a21−2acos⁡ω+a2, and for a complex pole rejθ it peaks at 1+r1−r 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

H(z)=Hmin(z)Hap(z)

by reflecting each outside zero c to 1/c* (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: ∑m=0n|hmin[m]|2≥∑m=0n|h[m]|2 for every n, so it delivers its energy soonest;
  • a causal, stable inverse 1/Hmin.

Magnitude equalization therefore uses 1/Hmin, and phase equalization adds all-pass sections.

Worked example

H(z)=1−2z−1. Find its minimum-phase counterpart and compare how fast each delivers its energy.

Show the solution
  1. Reflect the zero. The zero at 2 reflects to 0.5, with the magnitude scaled by 2: Hmin(z)=2(1−0.5z−1)=2−z−1 This has exactly the same |H|.
  2. The all-pass factor. H=Hmin⋅1−2z−12−z−1 The second factor is an all-pass.
  3. Energy. The energies are both 5, but hmin = [2, −1] puts 4/5 into its first sample while h = [1, −2] puts only 1/5 there.

Answer Hmin(z)=2−z−1; 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
  1. Delay at DC. τ(0)=1−0.64(1−0.8)2=9samples
  2. Delay at π. τ(π)=0.361.82=0.11sample
  3. Phase at π/2. ϕ=−π/2−2arctan⁡(0.8)=−167.3°
  4. 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 0.8e±jθ is used to equalize a filter's delay at 48 kHz. How much delay does it add at ω = θ?

Show the solution
  1. Peak delay. The peak group delay of a complex all-pass pole pair, at ω = θ, is about τ≈1+r1−r=1.80.2=9samples exactly so when θ is far from 0 and π.
  2. In time. t=948000Hz=0.19ms
  3. 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 rejθ with r = 0.8. What group delay does it give at ω = θ?

Check

H(z)=1−2z−1 has the minimum-phase counterpart 2−z−1. What fraction of the minimum-phase version's energy is in its first sample?

Check

What's |H| at ω = 0.5 for 1−2z−1, and equally for its minimum-phase version 2−z−1?

Check

What's the n = 2 sample of the causal inverse of 1−0.75z−1?

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

H(z)=1−cz−1 with c > 1, and its minimum-phase counterpart c−z−1.

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°.

Explain why

Why does the minimum-phase version of a system deliver its energy fastest?

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.