Part III β€Ί Chapter 8

Gaussian Channel Capacity

The Shannon-Hartley theorem gives the fundamental limit of every analog communication channel. Every hertz of bandwidth and every watt of power has a precise informational value.

8.1 The AWGN Channel

The Additive White Gaussian Noise (AWGN) channel is the canonical continuous-channel model:

\[ Y = X + Z, \qquad Z \sim \mathcal{N}(0, N) \]

with a power constraint\(E[X^2] \le P\). The noise \(Z\) is independent of the input \(X\). The goal: find the input distribution \(p^*(x)\) that maximizes mutual information \(I(X;Y)\).

Key step: \(I(X;Y) = h(Y) - h(Y|X) = h(Y) - h(Z)\). Since \(h(Z) = \frac{1}{2}\log(2\pi e N)\)is fixed, we need to maximize \(h(Y)\). The variance of \(Y\) is\(\operatorname{Var}(Y) = P + N\). By the max-entropy theorem, \(h(Y)\)is maximized when \(Y\) is Gaussian, which occurs when \(X\) is Gaussian.

8.2 Shannon-Hartley Theorem

For a channel of bandwidth \(B\) Hz with signal power \(S\)and noise power \(N\):

\[ C = B\log_2\!\left(1 + \frac{S}{N}\right) \quad\text{[bits/second]} \]

This is the capacity of the AWGN channel β€” the maximum rate at which information can be transmitted with arbitrarily small error probability. The optimal input distribution is\(X \sim \mathcal{N}(0, P)\).

High SNR

\[ C \approx B\log_2\!\frac{S}{N} \]

Each 3 dB of SNR adds ~1 bit/s/Hz

Low SNR (wideband)

\[ C \approx \frac{S}{N_0 \ln 2} \]

Capacity proportional to power, not bandwidth

Shannon limit

\[ \frac{E_b}{N_0} \ge \ln 2 \approx -1.59 \;\text{dB} \]

Minimum energy per bit for reliable comm.

8.3 The Shannon Limit: βˆ’1.6 dB

The Shannon limit is the minimum energy per bit\(E_b/N_0\) required for reliable communication, regardless of bandwidth. Define\(R\) as the code rate in bits/s and \(E_b = P/R\) as energy per bit:

\[ C = B\log_2\!\left(1 + \frac{E_b R}{N_0 B}\right) \]

For \(R \le C\) and taking \(B\to\infty\) (infinite bandwidth):

\[ \frac{E_b}{N_0} \ge \ln 2 \approx 0.693 \approx -1.59\;\text{dB} \]

This is an absolute floor β€” no coding scheme, however complex, can communicate reliably below this threshold. Modern codes (turbo, LDPC, polar) operate within 0.1 dB of this limit.

8.4 Bandwidth–Power Tradeoff

Bandwidth and power are interchangeable commodities for achieving a target capacity. Rewrite with noise spectral density \(N = N_0 B\):

\[ C = B\log_2\!\left(1 + \frac{S}{N_0 B}\right) \]

  • β€£Fixed S, increase B: capacity grows, but with diminishing returns (converges to \(S/N_0\ln 2\))
  • β€£Fixed B, double S: capacity increases by less than 1 bit/s/Hz at high SNR (logarithmic)
  • β€£Wideband regime (low SNR): capacity \(\propto S\) β€” doubling power doubles capacity
  • β€£Bandwidth-limited: more power helps; Power-limited: more bandwidth helps

Python: Shannon-Hartley Analysis

Four plots: capacity vs SNR with real system markers, the bandwidth-power tradeoff curve, practical systems mapped against the Shannon bound, and mutual information as a function of input power for varying noise levels.

Python
script.py150 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server