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: .
- 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?
The least-squares estimate from one pilot has an error whose variance, relative to the channel's power, is 1/SNR. Used for detection, that error multiplies the data and adds an interference term as strong as the noise itself, so the effective SNR is : half, 3 dB. Averaging N pilots cuts the loss to : 0.41 dB with ten.
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 . The least-squares (LS) estimate averages over N pilots:
Relative to the channel's average power, the error variance is .
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 and has error variance
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 instead of h leaves a term that behaves like extra noise of variance . With pilots at the data's energy, the effective SNR is
for the LS estimate: a loss of 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 , so pilots must be no more than subcarriers apart;
- in time, it varies at up to the Doppler shift , so pilots must be no more than symbols apart, with the symbol period including its prefix.
The overhead of a grid with one pilot per cell is . 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 , so
(Moose's estimator). The angle is unambiguous only within ±π, so a repetition period measures offsets up to : 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
- One pilot. 3.0 dB lost.
- Four pilots. a loss of = 0.97 dB.
- 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
- Spacing in frequency. subcarriers.
- Doppler.
- Spacing in time. symbols.
- 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
- Useful rate. With N pilots in each block of 100 it's
- Try a few values. In bit/s/Hz:
| Pilots | Useful rate |
|---|---|
| 1 | 5.62 |
| 3 | 6.06 |
| 4 | 6.09 |
| 5 | 6.08 |
| 8 | 5.97 |
- The best choice. Four is best, 0.57 bit/s/Hz (8.6%) below the 6.66 a known channel would give:
- 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
- Worst offset. Between two radios it's
- Short symbols. They measure up to enough.
- Long symbols. They measure only not enough on their own.
- 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°.
Step 2
What is the MMSE error variance for a unit-power Rayleigh channel?
Step 3
What useful rate does the block carry with the LS estimate?
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?
The channel's response across an OFDM grid is a function of frequency and time, and pilots are samples of that function from which the rest must be interpolated. How fast the response changes across frequency is set by the delay spread: echoes arriving over a longer time make the response ripple over fewer subcarriers. How fast it changes in time is set by the Doppler spread: faster motion makes it change within fewer symbols. As with any sampling, the pilots must be closer together than the fastest variation, about one over the delay spread in frequency and one over twice the Doppler shift in time, or the interpolated channel will be wrong no matter how clean each pilot is.
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.