Web Simulation

 

 

 

OFDM PAPR & Clipping Visualizer

Objective. This interactive simulation illustrates why peaks hurt in RF power amplifiers (PAs). OFDM signals have a high Peak-to-Average Power Ratio (PAPR). To avoid distortion, the PA must be backed off, which reduces efficiency. If the backoff is too small, clipping causes EVM degradation and spectral regrowth (shoulders in the spectrum), which can interfere with neighboring channels.

Setup. We use NFFT = 256, 4× oversampling (1024-point IFFT), and 200 active subcarriers (center-aligned). You can switch QPSK, 16QAM, or 64QAM. The PA is modeled as hard clipping at a threshold set by the Input Backoff (dB). Lower backoff → more clipping → higher EVM and spectral regrowth; higher backoff → cleaner signal but lower efficiency.

Theory

PAPR. PAPR = Ppeak / Pavg = max|x[n]|² / mean|x[n]|², often expressed in dB. Oversampling is used to catch inter-sample peaks.

Clipping. The PA clips at amplitude A = √Pavg · 10−Backoff/20. For |x| > A we output A · x/|x| (hard clipping).

EVM & Spectral regrowth. Clipping distorts the signal, increasing EVM (Error Vector Magnitude) and causing spectral regrowth—energy “spilling” into guard bands. Shoulders in the spectrum graph indicate interference with neighboring channels.

Cross-shaped constellation. Under strong clipping, the received constellation (FFT of the clipped time-domain signal) often forms a “+” (cross) pattern: dense clusters along the I and Q axes. This is real OFDM compression behavior, not a plotting artifact. OFDM time-domain peaks tend to align near the I/Q axes (phase ≈ 0°, 90°, 180°, 270°). Magnitude clipping maps those peaks onto a circle; the resulting axis-biased distortion, seen in the frequency domain, pushes received symbols toward the axes and produces the cross. The exact pattern depends on backoff, modulation, and FFT size, but the underlying mechanism is what happens in real PAs when driven into compression.

Controls

7.0
ON
Metrics
PAPR:
EVM:
Efficiency: %
PAPR: dB  |  EVM: %  |  Efficiency: %
Time Domain (Re)
Spectrum / PSD (dB)
Shoulders = spectral regrowth → interference with neighboring channels.
Constellation (I vs Q)
Gray = ideal symbols; red = received. Strong clipping → “+” (cross) along I/Q axes; real compression behavior.
AM/AM (In vs Out)
CCDF (|x|)
Fraction of samples with |x| > level. X-axis in dB (20·log₁₀|x|); green = original, red = clipped.

 

Usage

Use the Modulation dropdown (QPSK, 16QAM, 64QAM) and the Input Backoff (dB) slider (0–25 dB) to explore the trade-off. Presets: Extreme (0 dB) → no backoff, max clipping; High Distortion (2 dB); Balanced (7 dB); Clean / Low Eff (12 dB); No clipping (25 dB) → reference, minimal EVM. The top bar shows PAPR, EVM, and Efficiency. Time domain: green = original |x|, red dashed = clipped, orange = threshold. Spectrum: blue = original, red = clipped (shoulders = regrowth). Constellation: gray = original symbols, red = received after clipping. AM/AM: input vs output amplitude; green 1:1 line vs red saturation ceiling. CCDF: fraction of samples with |x| > level vs |x|; bin-based over time-domain amplitude; green = original, red = clipped.

Parameters

  • NFFT: 256. Oversampling: 4× (1024-point IFFT). Active subcarriers: 200 (center).
  • Modulation: QPSK, 16QAM, or 64QAM. Higher-order modulations tend to have higher PAPR.
  • Input Backoff (dB): 0–25 dB. Clipping threshold = √Pavg · 10−Backoff/20.
  • Efficiency: Proxy 100 − 3×Backoff (%), clamped 0–100.

Key Concepts

  • PAPR = max|x|² / avg|x|² (dB). OFDM has high PAPR → PA backoff → efficiency loss.
  • Clipping → EVM increase and spectral regrowth (shoulders in spectrum).
  • EVM: RMS(error) / RMS(reference) over active subcarriers after FFT of clipped signal.
  • Cross-shaped constellation: Under clipping, received points often cluster along the I and Q axes (“+” shape). This reflects real OFDM compression—axis-biased peaks and magnitude clipping—not a visual artifact.
  • CCDF: Fraction of time-domain samples with |x| > level vs |x|. Bin-based histogram; green = original, red = clipped. Clipping caps the envelope → clipped tail drops at threshold.