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

S8 · Lesson 28 · Channel estimation and pilots

Least-squares and MMSE channel estimates, the SNR they cost, how densely to place pilots in time and frequency, and frequency offsets from repeated preambles

Coherent detection, equalization, maximal-ratio combining and MIMO all assume the receiver knows the channel. It doesn't: it has to measure it, using pilots, known symbols the transmitter inserts among the data. Every pilot is a symbol that carries no information, and every estimate made from a few noisy pilots is itself noisy, so the receiver pays twice. How many pilots to send, how to space them across a channel that changes in time and frequency, and how to squeeze the most out of each one are the questions of this lesson.

  • The stems are the useful rate per symbol when a block of T symbols, over which the channel stays fixed, spends N of them on pilots: (1−N/T)log2⁡(1+SNR1+1/N).
  • Too few pilots and the noisy estimate costs SNR; too many and the overhead costs symbols. At 20 dB in a 100-symbol block the best is four.
  • Shorten the block (a faster channel) and the best number of pilots falls while the loss grows.

Predict

A receiver estimates a flat channel from one pilot sent at the same energy as the data, then detects coherently. How much SNR does the noisy estimate cost?

Name it

Pilots and the least-squares estimate

With a flat channel h, pilots x_p of energy E_p and noise of density N0, each received pilot is y=hxp+n. The least-squares (LS) estimate averages y/xp over N pilots:

h^LS=1N∑yixp,i,E|h^−h|2=N0NEp

Relative to the channel's average power, the error variance is 1/(NSNRp).

The MMSE estimate

If the channel's statistics are known (Rayleigh with unit power), the linear MMSE estimate shrinks the LS one toward zero by NSNRp1+NSNRp and has error variance

E|h^−h|2=11+NSNRp

much better than LS at low SNR, the same at high SNR. In OFDM the MMSE estimator also uses the correlation between subcarriers, set by the delay spread.

What the error costs

Detecting with h^ instead of h leaves a term (h−h^)x that behaves like extra noise of variance σe2Es. With pilots at the data's energy, the effective SNR is

SNReff=SNR1+SNRσe2=SNR1+1/N

for the LS estimate: a loss of 10log10⁡(1+1/N) dB.

Where to put pilots

An OFDM channel is a function of subcarrier and symbol, and pilots sample it. By the sampling theorem:

  • in frequency, the response varies at "frequencies" up to the delay spread τmax, so pilots must be no more than Df≤1/(τmaxΔf) subcarriers apart;
  • in time, it varies at up to the Doppler shift fd, so pilots must be no more than Dt≤1/(2fdTs) symbols apart, with Ts the symbol period including its prefix.

The overhead of a grid with one pilot per Df×Dt cell is 1/(DfDt). Real systems place them closer than these limits, to leave margin for interpolation and to average noise.

Frequency offset from a repeated preamble

If a preamble repeats every N samples, a frequency offset ε (cycles per sample) rotates each repetition by 2πNε, so

ε^=12πNarg⁡∑nyn+Nyn*

(Moose's estimator). The angle is unambiguous only within ±π, so a repetition period Tr measures offsets up to ±1/(2Tr): short repetitions give a coarse estimate over a wide range, long ones a fine estimate over a narrow one.

Worked example

A link at 20 dB SNR estimates a flat channel by least squares. What effective SNR does it get from one pilot, and from four?

Show the solution
  1. One pilot. SNR=1001+1=50=17.0dB 3.0 dB lost.
  2. Four pilots. SNR=1001+0.25=80=19.0dB a loss of 10log10⁡1.25 = 0.97 dB.
  3. What sets the loss. It doesn't depend on the SNR as long as the pilots have the data's energy: it's set by how many are averaged.

Answer 17.0 dB with one pilot and 19.0 dB with four.

Worked example

An OFDM system at 2 GHz has 15 kHz subcarriers, 71.4 µs symbols (with prefix) and must work with 5 µs of delay spread at 350 km/h. How far apart may its pilots be?

Show the solution
  1. Spacing in frequency. Df≤15µs×15kHz=13.3 subcarriers.
  2. Doppler. fd=vfcc=649Hz
  3. Spacing in time. Dt≤12×649Hz×71.4µs=10.8 symbols.
  4. LTE. LTE's reference signals sit every 6 subcarriers and twice in each 7-symbol slot, well inside both limits, leaving margin for interpolation and for averaging noise.

Answer pilots may be up to 13.3 subcarriers apart in frequency and 10.8 symbols apart in time.

Worked example

A channel stays fixed for blocks of 100 symbols at 20 dB SNR. How many of each block's symbols should be pilots?

Show the solution
  1. Useful rate. With N pilots in each block of 100 it's (1−N/100)log2⁡(1+1001+1/N)
  2. Try a few values. In bit/s/Hz:
PilotsUseful rate
15.62
36.06
46.09
56.08
85.97
  1. The best choice. Four is best, 0.57 bit/s/Hz (8.6%) below the 6.66 a known channel would give: 6.66−6.09=0.57bit/s/Hz
  2. The gap. That gap is the price of learning the channel.

Answer four pilots per block, for 6.09 bit/s/Hz.

Worked example

Wi-Fi's preamble has short training symbols repeating every 0.8 µs and long ones repeating every 3.2 µs. Each radio's oscillator may be off by 20 ppm at 5.8 GHz. Which repetition can measure the offset?

Show the solution
  1. Worst offset. Between two radios it's Δf=40×10−6×5.8GHz=232kHz
  2. Short symbols. They measure up to ±12×0.8µs=±625kHz enough.
  3. Long symbols. They measure only ±12×3.2µs=±156kHz not enough on their own.
  4. Coarse, then fine. So the receiver makes a coarse estimate from the short symbols, corrects it, then refines with the long symbols, whose longer spacing averages more noise.

Answer only the short symbols can measure the full 232 kHz offset; the long ones refine the estimate afterward.

Check

A receiver estimates a flat channel by least squares from 4 pilot(s) at 5 dB SNR, the same energy as the data.

(a)

What is the estimate's error variance, relative to the channel's power?

(b)

What effective SNR does detection with the estimate reach?

Check

A unit-power Rayleigh channel is estimated from 2 pilot(s) at −5 dB pilot SNR.

(a)

What is the LMMSE estimate's error variance?

(b)

How many times larger is the least-squares estimate's error?

Check

An OFDM system has 30 kHz subcarriers and 35.7 µs symbols (with prefix) and must cope with 1 µs of delay spread at 350 km/h on a 3.5 GHz carrier.

(a)

How many subcarriers apart may its pilots be, at most?

(b)

How many symbols apart, at most?

Check

An OFDM grid carries one pilot every 4 subcarriers in every 2th symbol.

(a)

What fraction of the grid is pilots?

Check

A channel stays fixed for 20 symbols; 2 of them are pilots, at 20 dB SNR.

(a)

What useful rate per symbol does the link reach?

Check

A preamble repeats every 1.6 µs; radios at 2.4 GHz have oscillators within ±20 ppm.

(a)

What is the largest offset the repetition can measure without ambiguity?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

(b)

What is the worst offset between two radios?

Check

Why does the MMSE channel estimate beat least squares at low SNR but not at high SNR?

Check

A flat channel is estimated from N pilots at SNR S (linear), the same energy as the data, in blocks of T symbols.

Step 1

What is the least-squares error variance?

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

Check

Write interp_pilots(kp, hp, K): linear interpolation of complex channel estimates hp at increasing subcarrier indices kp onto all subcarriers 0 to K − 1 (hold the end values beyond the outermost pilots), and moose(y, N): the frequency offset in cycles per sample from a preamble repeating every N samples.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why must pilots be spaced according to both the delay spread and the Doppler spread?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.