S8 · Lesson 26 · OFDM
Orthogonal frequency-division multiplexing, overlapping subcarriers that don't interfere, the FFT implementation, the cyclic prefix that turns a dispersive channel into one-tap equalization, and its costs
Equalizing a channel whose echoes span dozens of symbols takes long, power-hungry filters. OFDM sidesteps the problem by sending hundreds of slow symbols side by side on closely packed subcarriers instead of one fast stream. Each subcarrier is narrow enough that the channel looks flat across it, so equalization shrinks to a single complex multiplication per subcarrier. An FFT generates and separates the subcarriers, and a short cyclic prefix absorbs the echoes. Wi-Fi, LTE, 5G, DSL and digital TV are all built this way.
- The spectra of five adjacent OFDM subcarriers, each a sinc centered on its own frequency, spaced exactly by the reciprocal of the symbol time.
- At each subcarrier's center, every other subcarrier's spectrum passes through zero: they overlap heavily but don't interfere.
- A receiver frequency offset ε (in units of the spacing) samples each subcarrier off its peak and picks up the neighbors' sidelobes: intercarrier interference. At 5% of the spacing the signal loses 0.04 dB and each neighbor leaks in at −25.6 dB.
Predict
Wi-Fi (802.11a) uses 64-point FFTs at 20 MHz with a 0.8 µs cyclic prefix and 48 data subcarriers. With 64-QAM at code rate 3/4, what's the data rate?
Subcarriers are 20 MHz/64 = 312.5 kHz apart, so the useful symbol lasts 3.2 µs, plus 0.8 µs of prefix: 4 µs per OFDM symbol. Each carries 48 × 6 coded bits, 288, of which three quarters are data: 216 bits per 4 µs, 54 Mb/s.
Name it
Orthogonal subcarriers
N subcarriers spaced over a useful symbol time are orthogonal: for k ≠ l. Each subcarrier carries one QAM symbol per OFDM symbol, and the total occupies about .
The FFT implementation
The transmitter puts the N QAM symbols into an inverse FFT; its N outputs, sent at rate , are the OFDM symbol. The receiver's FFT recovers them. With sample rate and FFT size N, .
The cyclic prefix
Copying the last samples of each symbol to its front makes the channel's linear convolution look circular, as long as the channel's delay spread is shorter than the prefix. Then each subcarrier simply sees one complex gain , and the equalizer divides by it:
The prefix costs a fraction of the time and energy, an SNR penalty of .
Costs and cures
- Frequency offset ε (in units of Δf) loses of signal and leaks each neighbor in at : OFDM needs accurate frequency synchronization.
- Peak-to-average power: the sum of many independent subcarriers looks Gaussian, with occasional large peaks (up to N times the average in the worst case), so amplifiers must back off (S6 lesson 46).
- Deep fades on individual subcarriers are handled by coding and interleaving across them (COFDM).
Worked example
LTE uses 15 kHz subcarriers with a 4.69 µs normal cyclic prefix. What delay spread can it absorb, and what's the prefix's cost?
Show the solution
- Useful symbol time.
- Delay spread absorbed. Echoes up to 4.69 µs later fall inside the prefix, a path difference of
- Overhead.
- SNR penalty.
Answer it absorbs echoes up to 4.69 µs late (1.4 km of extra path), at a cost of 6.6% overhead and 0.30 dB of SNR.
Worked example
A receiver's frequency is off by 5% of the subcarrier spacing. What does that cost?
Show the solution
- Signal loss. negligible.
- Leakage. From each adjacent subcarrier: or −25.6 dB, and the many more distant subcarriers add more.
- For 64-QAM. It needs about 25 dB SNR, so that interference alone would matter; receivers correct frequency to about 1% of the spacing.
Answer a negligible 0.04 dB of signal loss, but −25.6 dB of leakage from each adjacent subcarrier, enough to matter for 64-QAM.
Worked example
Wi-Fi's 20 MHz mode uses a 64-point FFT, a 0.8 µs prefix and 48 data subcarriers. What is its subcarrier spacing, symbol time, prefix cost, and its rate with 64-QAM at code rate 3/4?
Show the solution
- Subcarrier spacing.
- Symbol time. = 3.2 µs, and with its prefix the symbol lasts
- Prefix cost.
- Rate. Each symbol carries = 216 bits: the familiar top rate of 802.11a/g.
Answer 312.5 kHz spacing, a 4.0 µs symbol (3.2 µs plus the prefix), 0.97 dB for the prefix, and 54 Mb/s.
Check
An OFDM system samples at 30.72 MHz with 64-point FFTs. What's its subcarrier spacing?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
An OFDM symbol has a 12.8 µs useful part and a 0.4 µs cyclic prefix. What SNR does the prefix cost?
Check
An OFDM system carries 600 data subcarriers with 2 coded bits each at code rate 0.75, in 71.4 µs symbols. What's its data rate?
Write units the way you normally would: 1.5 Mb/s, 1500 kb/s and 0.0015 Gb/s are the same answer.
Check
A cyclic prefix lasts 4.7 µs. What's the longest echo path difference it can absorb?
Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.
Check
An OFDM receiver's frequency is off by 0.05 of the subcarrier spacing. How strongly does each adjacent subcarrier leak in?
Check
What's the useful symbol time of an OFDM system with 30 kHz subcarrier spacing?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
An OFDM system samples at 20 MHz with 64-point FFTs and a cyclic prefix of 0.25 of the useful symbol.
(a)
What is the subcarrier spacing?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
How long is each symbol, prefix included?
(c)
What does the prefix cost in SNR?
Check
An OFDM system carries D data subcarriers of b coded bits each at code rate r in symbols of duration T (prefix included).
Step 1
How many data bits does each symbol carry?
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 data rate results?
Explain why
Why does a cyclic prefix make a dispersive channel act like one complex gain per subcarrier?
A channel with echoes convolves the transmitted signal with its impulse response, so each OFDM symbol's start is contaminated by the previous symbol's tail and its subcarriers no longer line up as whole numbers of cycles. Prefixing each symbol with a copy of its own last few samples changes that: as long as the echoes are shorter than the prefix, the receiver can discard the prefix and the remaining samples are exactly what a circular convolution of the symbol with the channel would produce. Circular convolution becomes multiplication in the DFT domain, so after the receiver's FFT each subcarrier is simply multiplied by the channel's frequency response at that frequency. Undoing the channel is then one complex division per subcarrier.
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.