Expand description
Orthogonal frequency-division multiplexing (OFDM).
OFDM sends data on many narrow, orthogonal subcarriers at once. The transmitter places one
constellation symbol on each active subcarrier of an N-point frequency grid, takes an inverse
FFT to get N time samples, and prepends a cyclic prefix (a copy of the last cp_len
samples). Because the prefix makes the channel’s linear convolution look circular over the
symbol body, a multipath channel whose delay spread is shorter than the prefix turns into a
simple complex gain H[k] on each subcarrier: the receiver drops the prefix, takes an FFT, and
equalizes every subcarrier with one complex division.
The channel gains come either from a known training symbol (Ofdm::estimate_channel),
which gives an exact per-subcarrier estimate, or from the pilot subcarriers carried in every
symbol, interpolated in frequency across the data subcarriers (Ofdm::demodulate). Pilot
interpolation needs the pilots dense enough that the channel is smooth between them: roughly
pilot spacing < N / delay spread.
Scaling is chosen so the time-domain samples have unit average power when the subcarrier symbols have unit power.
See the book entry Modulation: constellations, OFDM and FM.
Structs§
- Ofdm
- An OFDM modulator/demodulator for a fixed layout.
- Ofdm
Demodulated - The result of demodulating a stream of OFDM symbols.
- Ofdm
Params - The subcarrier layout of an OFDM system. Subcarriers are numbered by signed index
kin-N/2 .. N/2(index 0 is DC and is never used); negative indices are the upper half of the FFT.
Functions§
- ofdm_
demodulate - Demodulates an OFDM signal, equalizing with the pilots, and returns the data symbols.
- ofdm_
modulate - Modulates
symbols(a multiple of the layout’s data-subcarrier count) into an OFDM signal.