Massive MIMO Simulation

Massive MIMO: Many Antennas, Simple Processing

Massive MIMO uses a very large number of base station antennas (M≫KM \gg K users) to concentrate energy to each user through beamforming. The remarkable result: as Mβ†’βˆžM \to \infty, even simple matched filtering becomes optimal, and all interference vanishes.

Definition:

Massive MIMO System Model

A massive MIMO base station with MM antennas serves KK single-antenna users (M≫KM \gg K):

y=Hx+n\mathbf{y} = \mathbf{H}\mathbf{x} + \mathbf{n}

where H∈CMΓ—K\mathbf{H} \in \mathbb{C}^{M \times K} and the BS applies conjugate beamforming (matched filter):

x^=HHy\hat{\mathbf{x}} = \mathbf{H}^H\mathbf{y}

def massive_mimo_mf(y, H):
    """Conjugate beamforming / matched filter detection."""
    return H.conj().T @ y

Definition:

Channel Hardening

As Mβ†’βˆžM \to \infty, the Gram matrix converges:

1MHHH→IK\frac{1}{M}\mathbf{H}^H\mathbf{H} \to \mathbf{I}_K

This means the effective channel for each user becomes deterministic (no fading), eliminating the need for fast channel estimation.

Theorem: Favorable Propagation in Massive MIMO

For i.i.d. Rayleigh fading with MM antennas and KK users:

1MhiHhjβ†’Mβ†’βˆž{1i=j0iβ‰ j\frac{1}{M}\mathbf{h}_i^H\mathbf{h}_j \xrightarrow{M \to \infty} \begin{cases} 1 & i = j \\ 0 & i \neq j \end{cases}

The user channels become asymptotically orthogonal. Matched filtering achieves near-optimal performance without matrix inversion.

With many antennas, random channel vectors in CM\mathbb{C}^M are nearly orthogonal by the law of large numbers.

Theorem: Spectral Efficiency Scaling

With conjugate beamforming, pilot contamination, and MM antennas serving KK users, the per-user uplink SE is:

SEkβ‰ˆlog⁑2 ⁣(1+(Mβˆ’K)ρu1+Kρpβˆ’1)\text{SE}_k \approx \log_2\!\left(1 + \frac{(M-K)\rho_u}{1 + K\rho_p^{-1}}\right)

where ρu\rho_u is the uplink SNR and ρp\rho_p is the pilot SNR. SE grows with MM but saturates due to pilot contamination.

Adding more antennas always helps, but pilot contamination from neighboring cells creates an interference floor.

Example: Simulating Massive MIMO with 64 Antennas

Simulate a massive MIMO system with M=64M = 64 antennas and K=8K = 8 users. Compare conjugate beamforming with ZF processing.

Massive MIMO Performance Scaling

Explore how massive MIMO performance scales with the number of antennas.

Parameters

Massive MIMO Concept

Massive MIMO Concept
Massive MIMO base station with many antennas focusing energy to individual users through beamforming.

Quick Check

What does 'channel hardening' mean in massive MIMO?

The channel becomes more difficult to estimate

The effective channel gain becomes deterministic (no fading)

The channel becomes frequency-selective

The channel becomes rank-deficient

Key Takeaway

Massive MIMO (M≫KM \gg K) provides channel hardening and favorable propagation: simple matched filtering becomes near-optimal, and the system becomes interference-free as Mβ†’βˆžM \to \infty. This is why 5G base stations use 64-256 antennas.

Massive MIMO

A MIMO system with a very large number of base station antennas (typically Mβ‰₯64M \ge 64) serving many fewer users simultaneously.

Channel Hardening

The phenomenon where the effective channel gain becomes nearly deterministic as the number of antennas grows large.

Pilot Contamination

Interference in channel estimation caused by reuse of the same pilot sequences in neighboring cells; the fundamental limit of massive MIMO.