You are on page 1of 7

Contents
[hide]

1 Channel Capacity o 1.1 Channel Capacity and Sphere Packing o 1.2 Achievability o 1.3 Coding Theorem Converse 2 Effects in Time Domain 3 Effects in Phasor Domain 4 See also 5 References

##  Channel Capacity

The AWGN channel is represented by a series of outputs Yi at discrete time event index i. Yi is the sum of the input Xi and noise, Zi, where Zi is independent and identically-

distributed and drawn from a zero-mean normal distribution with variance n (the noise). The Zi are further assumed to not be correlated with the Xi. The capacity of the channel is infinite unless the noise n is nonzero, and the Xi are sufficiently constrained. The most common constraint on the input is the so-called "power" constraint, requiring that for a codeword (x1,x2,...,xn) transmitted through the channel, we have: , where P represents the maximum channel power. Therefore, the channel capacity for the power-constrained channel is given by: Where f(x) is the distribution of X. Expand I(X;Y), writing it in terms of the differential entropy: But X and Z are independent, therefore: Evaluating the differential entropy of a Gaussian gives: Because X and Z are independent and their sum gives 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) is maximized when: Thus the channel capacity C for the AWGN channel is given by:

##  Channel Capacity and Sphere Packing

Suppose that we are sending messages through the channel with index ranging from 1 to M, the number of distinct possible messages. If we encode the M messages to n bits, then we define the rate 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 approaches infinity. The capacity C is the highest achievable rate.

Consider a codeword of length n sent through the AWGN channel with noise level N. When received, the codeword vector variance is now N, and its mean is the codeword sent. The vector is very likely to be contained in a sphere of radius 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-bit codeword vector? The received vectors have a maximum energy of n(P + N) and therefore must occupy a sphere of radius . Each codeword sphere has radius . The volume of an n-dimensional sphere is directly proportional to rn, 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 .

 Achievability
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 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 Xn(i) denote the codeword for message i, while Yn is, as before the received vector. Define the following three events: 1. Event U:the power of the received message is larger than P. 2. Event V: the transmitted and received codewords are not jointly typical. 3. Event Ej: (Xn(j),Yn) is in , the typical set where , which is to say that the incorrect codeword is jointly typical with the received vector. An error therefore occurs if U, V or any of the Ei occur. By the law of large numbers, P(U) goes to zero as n approaches infinity, and by the joint Asymptotic Equipartition Property the same applies to P(V). Therefore, for a sufficiently large n, both P(U) and P(V) are each less than . Since Xn(i) and Xn(j) are independent for , we have that

Xn(i) and Yn are also independent. Therefore, by the joint AEP, P(Ej) = 2 n(I(X;Y) 3).
This allows us to calculate , the probability of error as follows:

Therefore, as n approaches infinity, goes to zero and R < I(X;Y) is a code of rate R arbitrarily close to the capacity derived earlier.

3. Therefore there

##  Coding Theorem Converse

Here we show that rates above the capacity 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 be the input messages and the output messages. Thus the information flows as: Making use of Fano's inequality gives: where as Let Xi be the encoded message of codeword index i. Then:

Let Pi be the average power of the codeword of index i: Where the sum is over all input messages w. Xi and Zi are independent, thus the expectation of the power of Yi is, for noise level N: And, if Yi is normally distributed, we have that Therefore,

## + x), a concave (downward) function of x, to

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 . Therefore, R must be less than a value arbitrarily close to the capacity derived earlier, as .

##  Effects in Time Domain

Zero-Crossings of a Noisy Cosine 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. 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

f0 = the center frequency of the filter B = the filter bandwidth SNR = the signal-to-noise power ratio in linear terms

##  Effects in Phasor Domain

AWGN Contributions in the Phasor Domain 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 inside the 1 circle about 38% of the time; the noise phasor will reside inside the 2 circle about 86% of the time; and the noise phasor will reside inside the 3 circle about 98% of the time.