OFDM System Interactive Tutorial

Explore the fundamentals and challenges of Orthogonal Frequency-Division Multiplexing.

Accessibility

1. What is OFDM, and why is it used?

Orthogonal Frequency-Division Multiplexing (OFDM) is a method of encoding digital data on multiple carrier frequencies. It's a key technology in modern wireless communication standards like Wi-Fi (802.11), 4G LTE, and 5G.

**Why OFDM is Used:** OFDM's primary advantage is its robustness against **frequency-selective fading** and **inter-symbol interference (ISI)**, which are common problems in wireless channels caused by multipath propagation. Instead of transmitting data on a single wideband carrier, OFDM divides a high-rate data stream into several lower-rate streams, which are then transmitted simultaneously over multiple, closely spaced **subcarriers**. This makes each subcarrier experience relatively **flat fading**, simplifying equalization.

1.1 OFDM vs. Traditional FDM

**How does OFDM differ from traditional FDM (Frequency Division Multiplexing)?** In traditional FDM, different data streams are modulated onto separate carrier frequencies, which are then transmitted in parallel. To prevent interference, these carriers must be separated by significant **guard bands**, leading to inefficient spectrum utilization.

OFDM, in contrast, achieves **orthogonality** between subcarriers, meaning that their spectra can overlap without causing inter-carrier interference (ICI). This is the key difference that allows OFDM to be significantly more spectrally efficient than traditional FDM.

Observe how in Traditional FDM, subcarriers are separated by guard bands to prevent interference. In OFDM, subcarriers overlap, but their orthogonality ensures that they can still be uniquely decoded at the receiver.

2. Key Principle: Orthogonality & Subcarrier Spacing

**Explain the concept of orthogonality in OFDM:** Orthogonality in OFDM means that each subcarrier's spectrum has nulls (zero amplitude) precisely at the center frequencies of all other subcarriers. This precise spacing ensures that despite spectral overlap, the signals on different subcarriers do not interfere with each other when sampled at the correct instants at the receiver.

**What are subcarriers in OFDM, and how are they spaced?** Subcarriers are individual narrowband carrier frequencies onto which portions of the data stream are modulated. They are spaced at multiples of $1/T_{symbol}$, where $T_{symbol}$ is the useful symbol duration. This spacing ensures that the subcarriers are mathematically orthogonal over the symbol duration.

**What is the role of the IFFT/FFT in OFDM?** The Fast Fourier Transform (FFT) and its inverse (IFFT) are central to OFDM. At the transmitter, the **IFFT** (Inverse Fast Fourier Transform) converts the frequency-domain modulated data symbols (one symbol per subcarrier) into a time-domain OFDM signal. At the receiver, the **FFT** (Fast Fourier Transform) converts the received time-domain signal back into the frequency domain, separating the individual subcarrier signals for demodulation. This efficient implementation of modulation and demodulation is what makes OFDM practical.

The graph above shows the time-domain representation of subcarriers. When multiple subcarriers are orthogonal, they can be separated perfectly using the Fast Fourier Transform (FFT) at the receiver.

3. Mitigating ISI & Multipath: The Cyclic Prefix (CP)

In wireless channels, signals can arrive at the receiver via multiple paths, leading to time dispersion (multipath delay spread). This can cause Inter-Symbol Interference (ISI) and Inter-Carrier Interference (ICI) if not properly handled.

**Why is OFDM robust to multipath fading?** OFDM's robustness to multipath fading comes from two key aspects:

  1. **Conversion of Frequency-Selective to Flat Fading:** By dividing the wideband channel into many narrow subchannels (subcarriers), each individual subcarrier experiences relatively **flat fading**. This means the gain and phase shift across each subcarrier's narrow bandwidth are nearly constant, simplifying equalization.
  2. **Use of Cyclic Prefix (CP):** The CP effectively extends the symbol duration, acting as a guard interval to absorb multipath delays.

**Why is a cyclic prefix (CP) added in OFDM?** The Cyclic Prefix (CP) is a copy of the end portion of an OFDM symbol that is appended to the beginning of the symbol. It serves two crucial purposes:

  1. It acts as a **guard interval**, absorbing multipath delays and ensuring that the useful part of the OFDM symbol (after the CP is removed at the receiver) is free from ISI caused by the previous symbol. Any delayed versions of the previous symbol will arrive within the CP duration of the current symbol.
  2. It converts the linear convolution of the signal with the channel into a **circular convolution**. This property is vital because circular convolution can be easily compensated for in the frequency domain using a simple one-tap equalizer for each subcarrier (a scalar multiplication), as opposed to complex time-domain equalizers needed for linear convolution.

**OFDM: Signal bandwidth, What if CP < max channel delay spread?** The length of the Cyclic Prefix ($T_{CP}$) must be greater than or equal to the maximum channel delay spread ($\tau_{max}$). If $T_{CP} < \tau_{max}$, then delayed versions of the signal from previous symbols will spill over into the useful part of the current symbol (after the CP is removed), leading to **Inter-Symbol Interference (ISI)**. This can also cause **Inter-Carrier Interference (ICI)**, as the orthogonality among subcarriers will be destroyed. This scenario significantly degrades system performance.

Observe how the CP effectively extends the symbol, providing a buffer against delayed versions of the signal arriving at the receiver.

4. OFDM System Overview

Here, you can simulate a simplified OFDM system and observe the effects of various parameters and noise.

16 subcarriers
10%
20 dB

This chart shows the transmitted and received signals in the time domain, incorporating the effects of noise based on the SNR. Increasing SNR reduces noise and improves signal quality.

5. OFDM Challenges and Impairments

5.1 Peak-to-Average Power Ratio (PAPR)

**Explain the PAPR (Peak-to-Average Power Ratio) problem in OFDM:** OFDM signals are generated by summing many independent subcarriers. When these subcarriers add up constructively (i.e., their peaks align in phase), the instantaneous peak power of the combined signal can be significantly higher than its average power. This ratio is known as the Peak-to-Average Power Ratio (PAPR). High PAPR is undesirable because:

  1. It requires power amplifiers (PAs) with a very high linearity range, which are typically expensive and less power-efficient.
  2. Non-linearities in the PA can cause signal distortion, leading to spectral regrowth (out-of-band emissions) and inter-carrier interference (ICI), degrading performance.

The signal peaks significantly above its average power level, demonstrating the PAPR issue.

5.1.1 Techniques to Reduce PAPR

Several techniques have been developed to mitigate the high PAPR problem in OFDM systems:

  • **Clipping and Filtering:** The simplest method where the signal peaks above a certain threshold are simply clipped. While effective in reducing PAPR, it introduces in-band distortion and out-of-band radiation (spectral regrowth).
  • **Selected Mapping (SLM):** Multiple candidate OFDM symbols are generated for the same data by applying different phase rotation sequences. The symbol with the lowest PAPR is then selected for transmission.
  • **Partial Transmit Sequences (PTS):** The data block is partitioned into several disjoint sub-blocks, and each sub-block is rotated by a phase factor. These phase-rotated sub-blocks are then combined to form an OFDM symbol, and the combination that yields the lowest PAPR is chosen.
  • **Active Constellation Extension (ACE):** This method extends the constellation points outward for a limited number of subcarriers, reducing the likelihood of high peaks.
  • **Tone Reservation (TR):** A small set of subcarriers are reserved and used to transmit a peak-reducing signal, without carrying actual data.
These techniques aim to find a trade-off between PAPR reduction, computational complexity, and performance degradation.

5.2 Frequency Offset (FO)

Frequency offset, caused by mismatches between transmitter and receiver oscillators or Doppler shifts, leads to a loss of orthogonality between subcarriers. This results in Inter-Carrier Interference (ICI), where power from one subcarrier spills into adjacent ones, degrading performance.

Observe how a frequency offset causes the subcarrier spectra to shift, leading to overlap at non-null points for adjacent subcarriers.

5.3 Timing Offset (TO)

Accurate symbol synchronization (timing) is crucial in OFDM. A timing offset, where the receiver samples the OFDM symbol at the wrong time, can lead to both Inter-Symbol Interference (ISI) and Inter-Carrier Interference (ICI), especially if the sampling window extends beyond the cyclic prefix or into adjacent symbols.

This chart demonstrates how a shift in the reception window can distort the received symbol, leading to errors.

5.4 Channel Estimation and Equalization

**OFDM: How is the channel determined and equalized for each subcarrier?** Wireless channels introduce distortions (fading, multipath) that vary across different subcarriers. To correctly decode the received signal, the receiver needs to compensate for these distortions. This is achieved through:

  1. **Channel Estimation:** The receiver estimates the Channel Frequency Response (CFR) for each subcarrier. This is typically done by transmitting known symbols called **pilot symbols** or **training sequences** on specific subcarriers. By comparing the received pilot symbols with their known transmitted values, the receiver can infer the channel's gain and phase distortion on those subcarriers. For the data subcarriers without pilots, the channel response is estimated through interpolation.
  2. **Equalization:** Once the CFR for each subcarrier is estimated, an equalizer is applied. Because each subcarrier effectively experiences flat fading, equalization in OFDM is significantly simplified. It often involves a simple **one-tap equalizer** for each subcarrier, which is essentially a complex scalar multiplication or division in the frequency domain. The received symbol on a subcarrier is multiplied by the inverse of the estimated channel gain for that subcarrier (e.g., in Zero-Forcing) or by a more complex factor (e.g., in MMSE).

The blue line represents the actual channel response, while the orange line represents the receiver's estimate. Accurate estimation is key for effective equalization.

6. End-to-End OFDM Simulation

Run a full simulation to see the effects of different modulation schemes, channel conditions, and equalization techniques on the received signal and constellation diagram.

Transmitted Signal

Received Signal (After Channel & Equalization)

Constellation Diagram

Bit Error Rate (BER): N/A
Symbol Error Rate (SER): N/A
Simulated SNR: N/A

The constellation diagram visually represents the received symbols in the complex plane. Ideally, they should cluster tightly around the reference points (small black circles). Noise, interference, and uncompensated channel effects cause them to spread out, leading to errors.