D12 · Lesson 11 · Equalization
Undoing a channel's echoes with a filter, the zero-forcing equalizer as the channel's inverse and how many taps it needs, the noise it amplifies at the channel's notches, the LMS algorithm that learns the taps from a training sequence and then from its own decisions, and its step size
If the channel adds an echo, a filter at the receiver can subtract it again, but only if it knows the echo's size and delay, and in a room those change every time someone moves. An adaptive equalizer learns them. It starts with a known training sequence, compares its output with what it knows was sent, and nudges its taps to shrink the error, thousands of times a second. Once trained it keeps adapting on its own decisions. Every dial-up modem, DSL line and Wi-Fi radio does a version of this.
- A channel with an echo of size a one symbol late, , and an N-tap zero-forcing equalizer, the first N terms of its inverse: . The x axis is frequency in symbol rates.
- The equalizer boosts where the channel dips, and together they're nearly flat. The leftover ripple is an echo of size , N symbols late.
- Push a toward 1: the channel's notch deepens, the equalizer's boost there grows, and so does the noise it amplifies.
Predict
An echo of half the direct signal's size arrives one symbol late. How many taps must a zero-forcing equalizer have to leave less than 1% of echo?
The inverse of has taps 1, −0.5, 0.25, −0.125, ..., and cutting it after N taps leaves an echo of . = 1.6% and = 0.78%, so 7 taps. An echo nearly as big as the direct path would need many more, since shrinks slowly when a is near 1.
Name it
Zero forcing
An equalizer after the channel removes ISI when , a pure delay. For with |a| < 1, , and truncating to N taps leaves , an echo of .
Noise enhancement
Where the channel has a deep notch, the inverse has a tall peak, and it amplifies the noise there just as much. For the full inverse of , white noise power grows by : 1.25 dB at a = 0.5, 7.2 dB at a = 0.9. The MMSE equalizer balances leftover ISI against noise and is what LMS converges to.
LMS
With the last N received samples in a vector x, taps w, output and the desired symbol d (from the training sequence, or the decision once trained):
Each update steps the taps a little way down the gradient of . The step μ trades speed against noise: it must stay below , with P the received power, or the taps diverge, and smaller steps converge slower but settle closer to the optimum.
Decision-directed mode
After training, the receiver's own decisions stand in for d. While most decisions are right, the equalizer keeps tracking slow changes in the channel.
Worked example
What are the first four zero-forcing taps for an echo of 0.5 one symbol late, and how much echo is left?
Show the solution
- The taps. Inverting the echo term by term gives
- Product with the channel.
- Leftover echo. An echo of 0.0625 remains four symbols late:
Answer the taps are 1, −0.5, 0.25 and −0.125, and an echo of 0.0625 (−24.1 dB) remains four symbols late.
Worked example
An 11-tap LMS equalizer sees received samples of power 2. What's the largest stable step size?
Show the solution
- Stability limit.
- In practice. μ is chosen several times smaller, like 0.01, so the taps settle without much jitter.
Answer about 0.091.
Worked example
How many equalizer taps does it take to span 5 ms of echo at 1200 baud?
Show the solution
- Echo span in symbols.
- Taps. The main tap plus six makes at least 7 taps.
- Fractionally spaced equalizers. Sampling twice per symbol, they need about twice as many.
Answer at least 7 taps.
Check
Train an LMS equalizer and let it run on its own decisions.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
A channel has a = 0.5. What's tap number 1 (counting from 0) of its zero-forcing equalizer?
Check
A 3-tap zero-forcing equalizer works against an echo of size 0.5. How strong is the echo left over, in dB?
Check
A full zero-forcing equalizer undoes an echo of size 0.5. How much does it raise white noise power?
Check
An LMS equalizer has 11 taps and its input has power 0.5. What's the largest stable step size?
Check
A zero-forcing equalizer cancels an echo of 0.5 one symbol late with 3 taps: 1, −a, a², ….
(a)
How much echo remains?
(b)
In decibels?
Check
An 11-tap LMS equalizer sees samples of power 0.5; the echo it must cover lasts 10 ms at 2400 baud.
(a)
What is the largest stable step size?
(b)
How many symbol-spaced taps does covering the echo need?
Explain why
Why does an LMS equalizer need a training sequence to start, but not once it's working?
LMS adjusts its taps by comparing its output with the symbol that was actually sent, and it can only do that if it knows what was sent. At the start, the channel's echoes may close the eye so badly that the receiver's own decisions are often wrong, and adapting toward wrong answers would steer the taps the wrong way. A known training sequence gives correct targets until the taps are good enough to open the eye. From then on, nearly all decisions are right, so they can serve as the targets, and the equalizer keeps following slow changes in the channel without any more training.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.