Capacity of Flat-Fading Channels

From AWGN to Fading

The AWGN capacity formula assumes a deterministic channel gain. In wireless, the channel gain h2|h|^2 fluctuates randomly due to fading. The instantaneous SNR γ=h2γˉ\gamma = |h|^2 \bar{\gamma} becomes a random variable, and we must redefine "capacity" carefully. Two fundamentally different notions arise depending on the delay constraint: ergodic capacity (long codewords spanning many fading realisations) and outage capacity (short codewords experiencing a single fading state).

Definition:

Ergodic Capacity

The ergodic capacity of a fading channel is the maximum long-term average rate achievable when codewords span many independent fading realisations (ergodic regime):

Cerg=maxP(γ)E ⁣[log2 ⁣(1+γP(γ)Pˉ)]C_{\text{erg}} = \max_{P(\gamma)} E\!\left[\log_2\!\left(1 + \gamma \frac{P(\gamma)}{\bar{P}}\right)\right]

where γ\gamma is the instantaneous SNR, P(γ)P(\gamma) is the power allocation policy, and the expectation is over the fading distribution. Ergodic capacity requires infinite delay tolerance — the codeword must be long enough to experience the full fading statistics.

,

Theorem: Ergodic Capacity with Receiver CSI Only

When only the receiver knows the channel state (CSIR), the transmitter uses constant power Pˉ\bar{P}, and the ergodic capacity is

CCSIR=E ⁣[log2(1+γ)]=0log2(1+γ)fγ(γ)dγC_{\text{CSIR}} = E\!\left[\log_2(1 + \gamma)\right] = \int_0^\infty \log_2(1 + \gamma)\, f_\gamma(\gamma)\, d\gamma

where fγ(γ)f_\gamma(\gamma) is the PDF of the instantaneous SNR.

For Rayleigh fading (γExp(γˉ)\gamma \sim \text{Exp}(\bar{\gamma})):

CCSIR=0log2(1+γ)1γˉeγ/γˉdγ=e1/γˉln2E1 ⁣(1γˉ)C_{\text{CSIR}} = \int_0^\infty \log_2(1+\gamma) \frac{1}{\bar{\gamma}} e^{-\gamma/\bar{\gamma}} d\gamma = \frac{e^{1/\bar{\gamma}}}{\ln 2} E_1\!\left(\frac{1}{\bar{\gamma}}\right)

where E1(x)=xet/tdtE_1(x) = \int_x^\infty e^{-t}/t\, dt is the exponential integral.

With only CSIR, the transmitter cannot adapt its power or rate to the channel state, so it transmits at constant power. The capacity is the average of the instantaneous AWGN capacities weighted by the fading distribution. By Jensen's inequality, CCSIR=E[log2(1+γ)]<log2(1+γˉ)C_{\text{CSIR}} = E[\log_2(1+\gamma)] < \log_2(1+\bar{\gamma}): fading always reduces ergodic capacity compared to an unfaded AWGN channel with the same average SNR.

,

Theorem: Ergodic Capacity with Full CSI (Water-Filling in Time)

When both transmitter and receiver know the channel state, the transmitter adapts its power P(γ)P(\gamma) to the instantaneous SNR. The optimal policy is water-filling in time:

P(γ)Pˉ=(μ1γ)+\frac{P(\gamma)}{\bar{P}} = \left(\mu - \frac{1}{\gamma}\right)^+

where (x)+=max(0,x)(x)^+ = \max(0, x) and μ\mu is chosen so that

E ⁣[(μ1γ)+]=1E\!\left[\left(\mu - \frac{1}{\gamma}\right)^+\right] = 1

(average power constraint). The resulting capacity is

CCSIT=E ⁣[log2 ⁣(μγ)+]=γ1/μlog2(μγ)fγ(γ)dγC_{\text{CSIT}} = E\!\left[\log_2\!\left(\mu\gamma\right)^+\right] = \int_{\gamma \geq 1/\mu} \log_2(\mu\gamma)\, f_\gamma(\gamma)\, d\gamma

The transmitter allocates more power to stronger channels and no power to deeply faded channels (below threshold 1/μ1/\mu).

Water-filling is like pouring water into a vessel with an uneven bottom: the water level μ\mu is constant, more water fills the shallow parts (good channels) and deep parts (poor channels) get no water. Paradoxically, the optimal strategy sends more power when the channel is already good, not when it is bad.

, ,

Definition:

Outage Probability and ε\varepsilon-Outage Capacity

For slow fading (quasi-static) channels where the codeword experiences a single fading realisation, Shannon capacity in the strict sense is zero (any fixed rate R>0R > 0 will be unsupported by some fading states). Instead, we define:

Outage probability at rate RR:

Pout(R)=P ⁣(log2(1+γ)<R)=P ⁣(γ<2R1)P_{\text{out}}(R) = P\!\left(\log_2(1 + \gamma) < R\right) = P\!\left(\gamma < 2^R - 1\right)

ε\varepsilon-outage capacity: the maximum rate CεC_\varepsilon such that Pout(Cε)εP_{\text{out}}(C_\varepsilon) \leq \varepsilon:

Cε=log2(1+Fγ1(ε))C_\varepsilon = \log_2(1 + F_\gamma^{-1}(\varepsilon))

where Fγ1F_\gamma^{-1} is the inverse CDF of γ\gamma.

For Rayleigh fading: Fγ(γ)=1eγ/γˉF_\gamma(\gamma) = 1 - e^{-\gamma/\bar{\gamma}}, so Cε=log2(1γˉln(1ε))C_\varepsilon = \log_2(1 - \bar{\gamma}\ln(1-\varepsilon)).

,

Ergodic vs Outage Capacity

Compare ergodic capacity (achievable with long codewords) and ε\varepsilon-outage capacity (relevant for delay-limited systems) as functions of average SNR. Select the fading distribution and observe how the gap between ergodic and outage capacity widens with more severe fading.

Parameters
15
6

Water-Filling Power Allocation in Time

Visualise the water-filling power allocation across time slots with varying channel gains. The water level μ\mu is shown as a horizontal line. Channels below the cutoff 1/μ1/\mu receive no power (the transmitter stays silent during deep fades).

Parameters
15
20

Outage Probability vs Transmission Rate

Animate how the outage probability curve shifts as the average SNR changes. For a fixed target outage probability ε\varepsilon, the ε\varepsilon-outage capacity increases with SNR. Observe the steep waterfall behaviour characteristic of fading channels.

Parameters
15

Example: Outage Capacity of a Rayleigh Channel

A Rayleigh fading channel has average SNR γˉ=20\bar{\gamma} = 20 dB. Compute the 1%-outage capacity and compare with the ergodic capacity and the AWGN capacity at the same average SNR.

Quick Check

Which capacity notion is appropriate for a voice call with a strict 20 ms latency requirement over a channel with coherence time 100 ms?

Ergodic capacity

Outage capacity

AWGN capacity

Zero, since Shannon capacity of a slow fading channel is zero

Common Mistake: Ergodic Capacity Assumes Infinite Delay Tolerance

Mistake:

Quoting ergodic capacity as the achievable rate for a delay-sensitive application (e.g., VoIP, video conferencing) over a slowly fading channel.

Correction:

Ergodic capacity is achievable only when the codeword spans many independent fading realisations — requiring the coding delay to be much larger than the coherence time. For delay- sensitive applications with codewords shorter than the coherence time, outage capacity is the appropriate metric. The ergodic capacity can dramatically overestimate what is achievable in practice under strict delay constraints.

Why This Matters: Adaptive Modulation as Finite-Rate Water-Filling

Optimal water-filling requires continuously adapting the power and rate to the instantaneous channel state. In practice, systems like LTE and 5G NR implement a discrete approximation through adaptive modulation and coding (AMC):

  • The receiver estimates the channel quality and feeds back a Channel Quality Indicator (CQI)
  • The transmitter selects a Modulation and Coding Scheme (MCS) from a finite table (e.g., 29 entries in 5G NR)
  • Higher MCS indices correspond to higher spectral efficiency (more power-demanding modulations and higher code rates)

This discrete adaptation captures most of the water-filling gain. At high SNR, the loss from using a finite MCS table instead of continuous adaptation is typically less than 0.5 dB.

See full treatment in Adaptive Modulation and Coding in OFDM

⚠️Engineering Note

CSI Feedback Overhead in FDD Systems

Water-filling requires the transmitter to know the instantaneous channel state. In TDD systems, uplink-downlink channel reciprocity provides CSIT directly. In FDD systems, the receiver must quantise and feed back the CSI, creating overhead:

  • LTE: 4-bit wideband CQI + 2-bit sub-band differential CQI, reported every 5-80 ms. Total overhead: ~1-5% of uplink capacity.
  • 5G NR: Type I/II codebook-based PMI feedback. Type II uses up to 22 bits per sub-band for 32-antenna systems.
  • Massive MIMO (FDD): Full channel feedback scales as O(NtK)O(N_t \cdot K) bits per coherence interval, which becomes prohibitive for Nt>64N_t > 64. This is a key driver for TDD-based massive MIMO deployments.

When feedback is delayed by Δt\Delta t, the effective CSIT quality degrades as ρ(Δt)=J0(2πfDΔt)2\rho(\Delta t) = J_0(2\pi f_D \Delta t)^2 where fDf_D is the maximum Doppler frequency. At vehicular speeds (fD=500f_D = 500 Hz) with 5 ms delay, ρ0.45\rho \approx 0.45 — severely degraded. This limits the water-filling gain and motivates robust power allocation strategies.

Practical Constraints
  • FDD feedback overhead: 1-5% of uplink capacity (LTE/5G NR)

  • Massive MIMO FDD: feedback O(Nt)O(N_t), impractical for Nt>64N_t > 64

  • Feedback delay > 2 ms at 60 km/h causes ~50% CSIT quality loss

📋 Ref: 3GPP TS 38.214 §5.2.2 (CSI reporting)

Ergodic Capacity

The maximum average rate achievable over a fading channel when codewords span many independent fading realisations: Cerg=E[log2(1+γ)]C_{\text{erg}} = E[\log_2(1+\gamma)] with CSIR only.

Related: Outage Probability and ε\varepsilon-Outage Capacity, From AWGN to Fading, Water-Filling Problem

Outage Capacity

The maximum rate CεC_\varepsilon such that the probability of the channel not supporting this rate is at most ε\varepsilon: P(log2(1+γ)<Cε)εP(\log_2(1+\gamma) < C_\varepsilon) \leq \varepsilon. Appropriate for delay-limited systems over slow fading.

Related: Ergodic Capacity, Outage Probability and ε\varepsilon-Outage Capacity, Slow Fading

Water-Filling

The optimal power allocation strategy that maximises capacity under an average power constraint. More power is allocated to channel states with higher gain, and no power to states below a cutoff threshold. The power plus inverse channel gain equals a constant "water level" μ\mu.

Related: MISO Without CSIT Has No Array Gain, Power Adaptation, Ergodic Capacity