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

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, H=1+az−1, and an N-tap zero-forcing equalizer, the first N terms of its inverse: 1−az−1+a2z−2−⋯. 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 aN, 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?

Name it

Zero forcing

An equalizer G(z) after the channel H(z) removes ISI when G(z)H(z)=z−Δ, a pure delay. For H=1+az−1 with |a| < 1, G=∑k(−a)kz−k, and truncating to N taps leaves 1−(−a)Nz−N, an echo of |a|N.

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 1+az−1, white noise power grows by ∑ka2k=1/(1−a2): 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 y=𝐰𝖳𝐱 and the desired symbol d (from the training sequence, or the decision once trained):

e=d−y,𝐰←𝐰+μe𝐱

Each update steps the taps a little way down the gradient of e2. The step μ trades speed against noise: it must stay below 2/(NP), 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
  1. The taps. Inverting the echo term by term gives 1,−0.5,0.25,−0.125
  2. Product with the channel. 1−0.0625z−4
  3. Leftover echo. An echo of 0.0625 remains four symbols late: 20log10⁡0.0625=−24.1dB

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
  1. Stability limit. μmax⁡=2NP=211×2=0.091
  2. 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
  1. Echo span in symbols. 0.005×1200=6symbols
  2. Taps. The main tap plus six makes at least 7 taps.
  3. 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 1+az−1 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?

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.