The AWGN channel is represented by a series of outputs Y i {\displaystyle Y_{i}} at discrete-time event index i {\displaystyle i} . Y i {\displaystyle Y_{i}} is the sum of the input X i {\displaystyle X_{i}} and noise, Z i {\displaystyle Z_{i}} , where Z i {\displaystyle Z_{i}} is independent and identically distributed and drawn from a zero-mean normal distribution with variance N {\displaystyle N} (the noise). The Z i {\displaystyle Z_{i}} are further assumed to not be correlated with the X i {\displaystyle X_{i}} .
The capacity of the channel is infinite unless the noise N {\displaystyle N} is nonzero, and the X i {\displaystyle X_{i}} are sufficiently constrained. The most common constraint on the input is the so-called "power" constraint, requiring that for a codeword ( x 1 , x 2 , … , x k ) {\displaystyle (x_{1},x_{2},\dots ,x_{k})} transmitted through the channel, we have:
where P {\displaystyle P} represents the maximum channel power. Therefore, the channel capacity for the power-constrained channel is given by:
where f {\displaystyle f} is the distribution of X {\displaystyle X} . Expand I ( X ; Y ) {\displaystyle I(X;Y)} , writing it in terms of the differential entropy:
But X {\displaystyle X} and Z {\displaystyle Z} are independent, therefore:
Evaluating the differential entropy of a Gaussian gives:
Because X {\displaystyle X} and Z {\displaystyle Z} are independent and their sum gives Y {\displaystyle Y} :
From this bound, we infer from a property of the differential entropy that
Therefore, the channel capacity is given by the highest achievable bound on the mutual information:
Where I ( X ; Y ) {\displaystyle I(X;Y)} is maximized when:
Thus the channel capacity C {\displaystyle C} for the AWGN channel is given by:
Suppose that we are sending messages through the channel with index ranging from 1 {\displaystyle 1} to M {\displaystyle M} , the number of distinct possible messages. If we encode the M {\displaystyle M} messages to n {\displaystyle n} bits, then we define the rate R {\displaystyle R} as:
A rate is said to be achievable if there is a sequence of codes so that the maximum probability of error tends to zero as n {\displaystyle n} approaches infinity. The capacity C {\displaystyle C} is the highest achievable rate.
Consider a codeword of length n {\displaystyle n} sent through the AWGN channel with noise level N {\displaystyle N} . When received, the codeword vector variance is now N {\displaystyle N} , and its mean is the codeword sent. The vector is very likely to be contained in a sphere of radius n ( N + ε ) {\textstyle {\sqrt {n(N+\varepsilon )}}} around the codeword sent. If we decode by mapping every message received onto the codeword at the center of this sphere, then an error occurs only when the received vector is outside of this sphere, which is very unlikely.
Each codeword vector has an associated sphere of received codeword vectors which are decoded to it and each such sphere must map uniquely onto a codeword. Because these spheres therefore must not intersect, we are faced with the problem of sphere packing. How many distinct codewords can we pack into our n {\displaystyle n} -bit codeword vector? The received vectors have a maximum energy of n ( P + N ) {\displaystyle n(P+N)} and therefore must occupy a sphere of radius n ( P + N ) {\textstyle {\sqrt {n(P+N)}}} . Each codeword sphere has radius n N {\displaystyle {\sqrt {nN}}} . The volume of an n-dimensional sphere is directly proportional to r n {\displaystyle r^{n}} , so the maximum number of uniquely decodeable spheres that can be packed into our sphere with transmission power P is:
By this argument, the rate R can be no more than 1 2 log ( 1 + P N ) {\displaystyle {\frac {1}{2}}\log \left(1+{\frac {P}{N}}\right)} .
In this section, we show achievability of the upper bound on the rate from the last section.
A codebook, known to both encoder and decoder, is generated by selecting codewords of length n, i.i.d. Gaussian with variance P − ε {\displaystyle P-\varepsilon } and mean zero. For large n, the empirical variance of the codebook will be very close to the variance of its distribution, thereby avoiding violation of the power constraint probabilistically.
Received messages are decoded to a message in the codebook which is uniquely jointly typical. If there is no such message or if the power constraint is violated, a decoding error is declared.
Let X n ( i ) {\displaystyle X^{n}(i)} denote the codeword for message i {\displaystyle i} , while Y n {\displaystyle Y^{n}} is, as before the received vector. Define the following three events:
An error therefore occurs if U {\displaystyle U} , V {\displaystyle V} or any of the E i {\displaystyle E_{i}} occur. By the law of large numbers, P ( U ) {\displaystyle P(U)} goes to zero as n approaches infinity, and by the joint Asymptotic Equipartition Property the same applies to P ( V ) {\displaystyle P(V)} . Therefore, for a sufficiently large n {\displaystyle n} , both P ( U ) {\displaystyle P(U)} and P ( V ) {\displaystyle P(V)} are each less than ε {\displaystyle \varepsilon } . Since X n ( i ) {\displaystyle X^{n}(i)} and X n ( j ) {\displaystyle X^{n}(j)} are independent for i ≠ j {\displaystyle i\neq j} , we have that X n ( i ) {\displaystyle X^{n}(i)} and Y n {\displaystyle Y^{n}} are also independent. Therefore, by the joint AEP, P ( E j ) = 2 − n ( I ( X ; Y ) − 3 ε ) {\displaystyle P(E_{j})=2^{-n(I(X;Y)-3\varepsilon )}} . This allows us to calculate P e ( n ) {\displaystyle P_{e}^{(n)}} , the probability of error as follows:
Therefore, as n approaches infinity, P e ( n ) {\displaystyle P_{e}^{(n)}} goes to zero and R < I ( X ; Y ) − 3 ε {\displaystyle R<I(X;Y)-3\varepsilon } . Therefore, there is a code of rate R arbitrarily close to the capacity derived earlier.
Here we show that rates above the capacity C = 1 2 log ( 1 + P N ) {\displaystyle C={\frac {1}{2}}\log \left(1+{\frac {P}{N}}\right)} are not achievable.
Suppose that the power constraint is satisfied for a codebook, and further suppose that the messages follow a uniform distribution. Let W {\displaystyle W} be the input messages and W ^ {\displaystyle {\hat {W}}} the output messages. Thus the information flows as:
W ⟶ X ( n ) ( W ) ⟶ Y ( n ) ⟶ W ^ {\displaystyle W\longrightarrow X^{(n)}(W)\longrightarrow Y^{(n)}\longrightarrow {\hat {W}}}
Making use of Fano's inequality gives:
H ( W ∣ W ^ ) ≤ 1 + n R P e ( n ) = n ε n {\displaystyle H(W\mid {\hat {W}})\leq 1+nRP_{e}^{(n)}=n\varepsilon _{n}} where ε n → 0 {\displaystyle \varepsilon _{n}\rightarrow 0} as P e ( n ) → 0 {\displaystyle P_{e}^{(n)}\rightarrow 0}
Let X i {\displaystyle X_{i}} be the encoded message of codeword index i. Then:
Let P i {\displaystyle P_{i}} be the average power of the codeword of index i:
where the sum is over all input messages w {\displaystyle w} . X i {\displaystyle X_{i}} and Z i {\displaystyle Z_{i}} are independent, thus the expectation of the power of Y i {\displaystyle Y_{i}} is, for noise level N {\displaystyle N} :
And, if Y i {\displaystyle Y_{i}} is normally distributed, we have that
Therefore,
We may apply Jensen's equality to log ( 1 + x ) {\displaystyle \log(1+x)} , a concave (downward) function of x, to get:
Because each codeword individually satisfies the power constraint, the average also satisfies the power constraint. Therefore,
which we may apply to simplify the inequality above and get:
Therefore, it must be that R ≤ 1 2 log ( 1 + P N ) + ε n {\displaystyle R\leq {\frac {1}{2}}\log \left(1+{\frac {P}{N}}\right)+\varepsilon _{n}} . Therefore, R must be less than a value arbitrarily close to the capacity derived earlier, as ε n → 0 {\displaystyle \varepsilon _{n}\rightarrow 0} .
In serial data communications, the AWGN mathematical model is used to model the timing error caused by random jitter (RJ).
The graph to the right shows an example of timing errors associated with AWGN. The variable Δt represents the uncertainty in the zero crossing. As the amplitude of the AWGN is increased, the signal-to-noise ratio decreases. This results in increased uncertainty Δt.1
When affected by AWGN, the average number of either positive-going or negative-going zero crossings per second at the output of a narrow bandpass filter when the input is a sine wave is
where
In modern communication systems, bandlimited AWGN cannot be ignored. When modeling bandlimited AWGN in the phasor domain, statistical analysis reveals that the amplitudes of the real and imaginary contributions are independent variables which follow the Gaussian distribution model. When combined, the resultant phasor's magnitude is a Rayleigh-distributed random variable, while the phase is uniformly distributed from 0 to 2π.
The graph to the right shows an example of how bandlimited AWGN can affect a coherent carrier signal. The instantaneous response of the noise vector cannot be precisely predicted, however, its time-averaged response can be statistically predicted. As shown in the graph, we confidently predict that the noise phasor will reside about 38% of the time inside the 1σ circle, about 86% of the time inside the 2σ circle, and about 98% of the time inside the 3σ circle.2
McClaning, Kevin, Radio Receiver Design, Noble Publishing Corporation ↩