MIMO/OFDM simulation
How link-level simulation of MIMO-OFDM systems models transmitter, fading channel and receiver in software to measure bit error rate and throughput of wireless standards such as Wi-Fi, LTE and 5G.
What it is
MIMO-OFDM simulation is software modeling of a wireless link that combines two key technologies. OFDM (orthogonal frequency-division multiplexing) splits a wideband signal into many narrow, orthogonal subcarriers, which makes it robust to multipath fading and simple to equalize. MIMO (multiple-input multiple-output) uses several transmit and receive antennas to increase data rate (spatial multiplexing), reliability (diversity) or signal strength (beamforming). Together they form the physical layer of Wi-Fi (802.11n/ac/ax), 4G LTE, 5G NR and WiMAX. A link-level simulation generates random bits, builds the transmitted signal, passes it through a channel model with noise, and recovers the bits at the receiver, measuring bit error rate (BER), block error rate (BLER) and throughput against signal-to-noise ratio (SNR).
It answers questions such as: How many errors will this modulation and coding scheme make at a given SNR? How much gain does a second antenna give? Which channel estimator or detector performs best? How does Doppler shift or a timing error degrade the link? Simulation lets researchers compare algorithms fairly and design receivers before building hardware.
Fundamentals
OFDM: subcarriers, the FFT and the cyclic prefix
Data symbols Xk (BPSK, QPSK, 16-QAM, up to 1024-QAM) are placed on N subcarriers and converted to a time-domain signal by an inverse FFT. The subcarrier spacing is Δf = 1/Tu, with useful symbol duration Tu; LTE uses 15 kHz and an FFT size of 2048 for 20 MHz, and 802.11a/g uses 64 subcarriers at 312.5 kHz spacing in 20 MHz (48 data, 4 pilots). A cyclic prefix (CP), a copy of the end of each symbol placed at its start, absorbs multipath delay spread, provided the CP is longer than the channel’s delay. Then the channel acts as circular convolution, and after the receiver FFT each subcarrier sees a flat channel: Yk = Hk Xk + Nk, which a simple one-tap equalizer inverts. The costs are CP overhead, sensitivity to frequency offset and phase noise (which destroy orthogonality, giving inter-carrier interference), and a high peak-to-average power ratio (PAPR) that stresses power amplifiers.
MIMO signal model and processing
On each subcarrier, the received vector is y = H x + n, where H is the Nr × Nt channel matrix, x the transmitted vector, and n noise. Capacity with perfect knowledge at the receiver only is C = log2 det(I + (SNR/Nt) H HH) bits/s/Hz, which grows roughly linearly with min(Nt, Nr) in rich scattering. Receivers use zero-forcing (ZF), x̂ = (HHH)−1HHy, which removes interference but amplifies noise; MMSE, x̂ = (HHH + σ2I)−1HHy, which balances them; maximum likelihood or sphere decoding (best performance, highest complexity); and successive interference cancellation (V-BLAST). Space-time block codes such as Alamouti’s (2 × 1) give transmit diversity without channel knowledge at the transmitter, and with channel feedback, precoding from the SVD of H (H = UΣVH) turns the channel into parallel streams. Massive MIMO and beamforming extend this to tens or hundreds of antennas.
Channel models and estimation
Wireless channels are modeled as multipath fading: Rayleigh (no line of sight) or Rician (with line of sight) amplitude fading, with Doppler spread fD = v fc/c from motion (Jakes spectrum), and a power-delay profile. Standard models are 3GPP tapped delay line (TDL) and clustered delay line (CDL), ITU Pedestrian and Vehicular channels, and 802.11 TGn models, with spatial correlation among antennas included through Kronecker or geometry-based models. For AWGN with BPSK the BER is Q(√(2Eb/N0)); in Rayleigh fading it falls only as roughly 1/(4Eb/N0), which is why diversity and coding are essential. The receiver must estimate H from pilot symbols (LS or MMSE estimation, then interpolation across subcarriers and time), and handle synchronization (timing, carrier frequency offset, sampling offset). Channel coding (convolutional, turbo, LDPC, polar) with interleaving and hybrid ARQ is added in full-chain simulations.
Running the simulation and reading results
A Monte Carlo loop simulates many random frames at each SNR point, counting bit errors until enough errors (usually at least 100) accumulate for a reliable estimate, since the confidence interval of BER depends on the number of errors, not bits. Plot BER or BLER against Eb/N0 or SNR on a log scale, and compare to theory (AWGN, Rayleigh, diversity order given by the slope at high SNR). Other metrics: throughput, spectral efficiency, error vector magnitude, PAPR (CCDF) and outage probability. Define SNR carefully (per symbol, per bit, per antenna, with or without CP overhead), and normalize channel and noise power so that comparisons are fair. System-level simulation, in contrast, models many cells and users for network capacity and is a separate step. Tools: MATLAB with Communications, WLAN and 5G Toolboxes (standard-compliant waveforms), NVIDIA Sionna (GPU-based, differentiable, for machine-learning receivers), Python (NumPy, CommPy), GNU Radio, AFF3CT for fast error-correcting codes, and Vienna simulators from TU Wien.
Typical applications and limits
Used to compare detectors, estimators and coding schemes, to design waveforms and to test machine-learning receivers, and to prepare over-the-air tests with software-defined radio (see software-defined radio). Limits: simulated channels are only as realistic as their models, hardware impairments (phase noise, nonlinearity, IQ imbalance) must be added explicitly, and link-level results do not capture network effects like interference and scheduling.
Basic operation
- Choose the system parameters. Set FFT size, CP length, modulation, coding, number of antennas and bandwidth.
- Generate the transmit signal. Create bits, map to symbols, add pilots, run the IFFT and add the CP.
- Apply the channel. Pass the signal through a fading channel model and add noise at the chosen SNR.
- Receive. Remove the CP, apply the FFT, estimate the channel and equalize or detect.
- Decode. Demap and decode to recover the bits.
- Count errors. Compare with transmitted bits over enough frames.
- Sweep SNR. Repeat for a range of SNR values and plot curves.
- Collect the output. You obtain BER or BLER curves and throughput; channel models and detector comparison are covered in the video.
Good practice
- Validate against theory. Check the AWGN and Rayleigh BER curves first.
- Collect enough errors. At least 100 per point.
- Define SNR clearly. State the normalization used.
- Use standard channel models. This allows comparison with published work.
- Include real impairments. Add estimation error, offsets and hardware effects.
- Respect spectrum rules in over-the-air tests. When moving from simulation to radio hardware, transmit only in permitted bands and at licensed power levels.
Key terms
- OFDM — a multicarrier modulation using orthogonal subcarriers generated by an FFT.
- Cyclic prefix — a guard interval copied from the symbol end to absorb multipath.
- MIMO — using multiple transmit and receive antennas.
- Spatial multiplexing — sending independent data streams over different antennas.
- MMSE detection — a linear receiver that balances interference and noise.
- Rayleigh fading — random amplitude variation of a signal with many scattered paths.
- BER — bit error rate, the fraction of bits received incorrectly.
Video coming soon
About five minutes on MIMO/OFDM simulation: how it works in detail, how the data is acquired, and how it is analyzed.
More in 4.2 Computational Modeling and Simulation
- Density functional theory (DFT)
- Ab initio methods (Hartree-Fock, post-HF)
- Semi-empirical/DFTB
- Molecular dynamics
- Coarse-grained modeling
- QM/MM
- Monte Carlo
- Kinetic Monte Carlo
- Finite element analysis
- Finite difference method
- Finite volume method
- Computational fluid dynamics
- Discrete element method
- Lattice Boltzmann
- Phase-field modeling
- FDTD
- Multiscale modeling
- CALPHAD
- Topology optimization
- Reduced-order modeling
- Digital twins
- Agent-based modeling
- System dynamics
- Climate modeling (GCM/RCM)
- Hydrological modeling
- Species distribution modeling
- SPICE circuit simulation
- TCAD device simulation
- EM simulation
- MIMO/OFDM simulation
- Power system load-flow and stability analysis
- Quantum circuit design and simulation
