|
|
||||||||||||||||||||||
|
Objective. This interactive simulation shows the Cyclic Prefix (CP) trade-off in OFDM: too little CP causes Inter-Symbol Interference (ISI) and destroys the signal; too much CP wastes capacity and reduces spectral efficiency. The goal is to find the "sweet spot" where CP is just long enough to cover the channel delay spread. Setup. We use a simplified OFDM model: NFFT = 64, QPSK modulation. The channel has exponential-decay impulse response of length Delay Spread. The CP is prepended to each symbol; the receiver strips it and runs an FFT on the remaining NFFT samples. If the channel "tail" extends beyond the CP into the FFT window, we get ISI. Sections TheoryChannel & ISI. The channel impulse response h[n] has exponential decay over Delay Spread samples, normalized so ISI = Σn ≥ NCP |h[n]|² SINR = SNR / (1 + K·ISI)
where K is a penalty factor. From SINR follow the error metrics: Efficiency & Goodput. The CP is pure overhead, so spectral efficiency and useful throughput are: η = NFFT / (NFFT + NCP) Goodput = η·(1 − BLER)
The sweet spot: too short a CP lets ISI raise BLER (Goodput falls); too long a CP shrinks η (Goodput also falls). Peak goodput sits where
NCP ≈ Delay Spread — just long enough to cover the channel tail, and no longer.SimulationThe interactive simulator is below. Use the controls to explore the concepts described above. Panel A: Time Domain (CP, Data, Tail)
Panel B: QPSK Constellation
Panel C: Overhead / Link Quality / Goodput
UsageUse the Preset dropdown to load scenarios: High ISI (CP=4, Delay=20), Wasted Efficiency (CP=32, Delay=5), Optimal (CP=22, Delay=20). Adjust CP Length, Delay Spread, and SNR sliders to explore the trade-off. Run/Pause stops or resumes the animation; sliders and plots update even when paused. Show circular (CP loop) toggles the CP Loop View: a green "Perfect Cycle" when safe (Delay ≤ CP), or a red corrupted arc with "Broken Illusion!" when the tail exceeds the CP (ISI). Panel A (Time Domain): Two tracks—original Symbol 1 (top) and delayed copy + Symbol 2 (bottom). Blue = CP, green = data; red = interference region. Waveforms overlay the blocks. When the tail enters the FFT window, "INTERFERENCE (ISI)!" appears; otherwise "SAFE". Panel B (QPSK Constellation): Ideal × marks and received points with real ISI distortion. EVM at the center is directly measured from the constellation (RMS error / RMS reference). Panel C shows Overhead, Link Quality, and Goodput bars; Goodput peaks when CP ≈ Delay Spread. Parameters
Key Concepts
Limitations
|
||||||||||||||||||||||