Signal Processing and Detection PDF
Signal Processing and Detection PDF
1
Contents
2
B The Q Function 105
3
Chapter 1
Figure 1.1 illustrates discrete data transmission, which is the transmission of one message from a finite
set of messages through a communication channel. A message sender at the transmitter communicates
with a message receiver. The sender selects one message from the finite set, and the transmitter sends a
corresponding signal (or “waveform”) that represents this message through the communication channel.
The receiver decides the message sent by observing the channel output. Successive transmission of
discrete data messages is known as digital communication. Based on the noisy received signal at the
channel output, the receiver uses a procedure known as detection to decide which message, or sequence
of messages, was sent. Optimum detection minimizes the probability of an erroneous receiver decision
on which message was transmitted.
This chapter characterizes and analyzes optimum detection for a single message transmission through
the channel. Dependencies between message transmissions can be important also, but the study of such
inter-message dependency is deferred to later chapters. Such single-message analysis is often called
“one-shot” analysis.
The messages are usually digital sequences of bits, which are usually not compatible with transmission
of physical analog signals through a communication channel. Thus the messages are converted into analog
signals that can be sent through the channel. Section 1.1 introduces both encoding and modulation
to characterize such conversion of messages into analog signals by a transmitter. Encoding is the process
of converting the messages from their innate form (typically bits) into vectors of real numbers that
represent the messages. Modulation is a procedure for converting the encoder-output real-number vectors
into analog signals for transmission through a physical channel. The last subsection of Section 1.1
introduces the increasingly relevant situation (particularly for multiple-input multiple-output or MIMO
Transmitter Receiver
4
transmission that may coordinate the use of multiple transmission antennas or wires) of vectored-basis-
function transmission systems. This generalization of the basic modulation theory that is tacitly carried
thereafter in Chapter 1 but more explicitly revisited in later chapters.
Section 1.2 studies the theory of optimal detection, which depends on a probabilistic model for the
communication channel. The channel distorts the transmitted signals both deterministically and with
random noise. The noisy channel output will usually not equal the channel input and will be described
only in terms of conditional probabilities of various channel-output signals. The channel-input signals
have probabilities equal to the probabilties of the messages that they represent. The optimum detector
will depend only on the probabilistic model for the channel and the probability distribution of the
messages at the channel input. The general optimum detector specializes in many important practical
cases of interest.
This chapter develops a theory of modulation and detection that uses a discrete vector representation
for any set of continuous-time signals. This “vector-channel” approach was pioneered for educational
purposes by Wozencraft and Jacobs in their classic text [1] (Chapter 4). In fact, the first four sections of
this chapter closely parallel their development (with some updating and rearrangement), before diverging
in Sections 1.5 – 1.7 and in the remainder of this text.
The general model for modulation and demodulation leads to a discussion of the relationship between
continuous signals and their vector-channel representation, essentially allowing easier analysis of vectors
to replace the more difficult analysis of continuous signals. Section 1.2 solves the general detection
problem for the discrete vector channel. Section 1.3 shows that the most common case of a continuous
Gaussian-noise channel maps easily into the discrete vector model without loss of generality. Section
1.3 then finds the corresponding optimum detector with Gaussian noise. Given the optimum detector,
Section 1.4 shows methods to calculate and estimate average probability of error, Pe , for a vector channel
with Additive White Gaussian Noise (AWGN). Sections 1.5 and 1.6 discuss several popular modulation
schemes and determine bounds for their probability of error with AWGN. Section 1.6 focuses in particular
on signals derived from rectangular lattices, a popular signal transmission format. Section 1.7 then
generalizes results for the case of self-correlated Gaussian noise.
5
Figure 1.2: Discrete data transmission with greater detail.
Conversely, the combination of demodulation and detection in the receiver leads to the mapping:
When the receiver output message is not equal to the transmitter input message, an error occurs. An
optimum receiver minimizes the probability of such errors for a given communications channel and set
of message waveforms.
6
Message
Set
Channel(f)
Message
x 0 (t ) = + cos(2π ⋅ 150 ⋅ t ) f Detector
Receiver
100 200
x1 (t ) = − cos(2π ⋅150 ⋅ t )
Receiver
Transmitter
Figure 1.3: Example of channel for which 1 volt and 0 volt binary transmission is inappropriate.
EXAMPLE 1.1.1 (binary phase-shift keying) Figure 1.3 repeats Figure 1.1 with a spe-
cific linear time-invariant channel that has the Fourier transform indicated. This channel
essentially passes signals between 100 Hz and 200 Hz with 150 Hz having the largest gain.
Binary logic familiar to most electrical engineers transmits some positive voltage level (say
perhaps 1 volt) for a 1 and another voltage level (say 0 volts) for a 0 inside integrated
circuits. Clearly such a constant 1/0 transmission on this “DC-blocking” channel would
not pass through the channel, leaving 0 always at the output and making a receiver de-
tection of the correct message difficult if not impossible. Instead the two modulated signals
x0 (t) = +cos(2πt) and x1 (t) = −cos(2πt) will easily pass through this channel and be readily
distinguishable at the channel output. This latter type of transmission is known as BPSK for
binary phase-shift keying. If the symbol period is 1 second and if successive transmission
is used, the data rate would be 1 bit per second (1 bps).1
In more detail, the engineer could recognize the trivial vector encoder that converts the
message bit of 0 or 1 into the real one-dimensional vectors x0 = +1 and x1 = −1. The
modulator simply multiples this xi value by the function cos(2πt).
A variety of modulation methods are applied in digital communication systems. To develop a separate
analysis for each of these formats would be an enormous task. Instead, this text uses a general vector
representation for modulated signals. This vector representation leads to a single method for the analysis
of the performance of the data transmission (or storage) system. This section describes the discrete
vector representation of any finite or countably infinite set of continuous-time signals and the conversion
between the vectors and the signals.
The analysis of the detection process will simplify for an additive white Gaussian noise (AWGN)
channel through the symbol-vector approach, which was pioneered by Wozencraft and Jacobs. This
approach, indicated in Figure 1.2 by the real-valued vector symbols xi and y, decouples the probability-
of-error analysis from the specific modulation method. Each modulation method uses a set of basis
functions that link the vector xi with the continuous waveform xi (t). The choice of modulation basis
functions usually depends upon their spectral properties. This chapter investigates and enumerates a
number of different basis functions in later sections.
1 However, this chapter is mainly concerned with a single transmission. Each of such successive transmissions could be
treated independently because by ignoring transients at the beginning or end of any message transmission as they would
be negligible in time extent on such a channel.
7
ϕ2 (t )
x2
x1 ϕ1 (t )
x3 x
ϕ 3 (t )
Figure 1.4: Vector space.
Any “well-behaved” continuous time function x(t) defined on the interval [0, T ] decomposes according
to some set of N orthonormal basis functions {ϕi (t)} as
N
X
x(t) = xn · ϕn (t)
n=1
where ϕn (t) satisfy hϕn (t), ϕm (t)i = 1 for n = m and 0 otherwise. The continuous function x(t) describes
the continuous-time waveform that carries the information through the communication channel. The
number of basis functions that represent all the waveforms {xi (t)} for a particular communication system
may be infinite, i.e. N may equal ∞. Using the set of basis functions, the function x(t) maps to a set
of N real numbers {xi }; these real-valued scalar coefficients assemble into an N -dimensional real-valued
vector
x1
x = ... .
xN
Thus, the function x(t) corresponds to an N -dimensional point x in a vector space with axes defined by
{ϕi (t)} as illustrated for a three-dimensional point in Figure 1.4.
Similarly a set of continuous time functions {xi (t)} corresponds to a set of discrete N -dimensional
points {xi } known as a signal constellation. Such a geometric viewpoint advantageously enables the
8
visualization of the distance between continuous-time functions using distances between the associated
signal points in RN , the space of N -dimensional real vectors. In fact, later developments show
where the right hand side is taken as the usual Euclidean inner product in RN (discussed later in
Definition 1.1.6). This decomposition of continuous-time functions extends to random processes using
what is known as a “Karhunen-Loeve expansion.” The basis functions also extend for allRtime, i.e. on the
∞
infinite time interval (−∞, ∞), in which case the inner product becomes hf (t), g(t)i = −∞ f (t)g(t)dt.
Decomposition of random processes is fundamental to demodulation and detection in the presence
of noise. Modulation constructively assembles random signals for the communication system from a set
of basis functions {ϕn (t)} and a set of signal points {xi }. The chosen basis functions and signal points
typically satisfy physical constraints of the system and determine performance in the presence of noise.
The data symbol is in lower-case boldface, indicating a vector, to distinguish it from its components,
shown in lowercase Roman to indicate scalars. Unless specified otherwise, all quantities shall be real-
valued in this chapter. Extensions of the definitions to complex-valued quantities occurs in succeeding
chapters as necessary. The synthesis of a modulated waveform uses a set of orthonormal basis func-
tions.
Definition 1.1.2 (Orthonormal Basis Functions) A set of N functions {ϕn (t)} consti-
tute an N -dimensional orthonormal basis if they satisfy the following property:
Z ∞
1 m=n
ϕm (t)ϕn (t)dt = δmn = . (1.2)
−∞ 0 m 6= n
The discrete-time function δmn will be called the discrete delta function2 .
The construction of a modulated waveform x(t) appears in Figure 1.5:
Definition 1.1.3 (Modulated Waveform) A modulated waveform, corresponding to
the data symbol x, for the orthonormal basis ϕn (t) is defined as
N
∆
X
x(t) = xn ϕn (t) , (1.3)
n=1
Thus, the modulated signal x(t) is formed by multiplying each of the components of the vector x by the
corresponding basis function and summing the continuous-time waveforms, as shown in Figure 1.5. There
are many possible choices for the basis functions ϕn (t), and correspondingly many possible modulated
waveforms x(t) for the same vector x. The specific choice of basis functions used in a communication
system depends on physical limitations of the system.
In practice, a modulator can construct a modulated waveform from any set of data symbols, leading
to the concept of a signal constellation:
2δ is also called a “Kronecker” delta.
mn
9
x1 ×
ϕ1 (t )
x2 × Σ x (t )
()
ϕ2 t
x3 ×
ϕ3 (t )
10
2
ϕ1 (t ) = 2
T ⋅ cos( 2Tπt + π4 ) 2
x0 (t ) = − 2
T
⋅ sin ( 2Tπt )
T T
1 1
T T
0
0
1 1
− T
T/2
− T
T/2
2 2
− T 0
− T 0
T T
2 ϕ 2 (t ) = 2
T ⋅ cos( 2πt
T − 4)
π
2 x1 (t ) = 2
T
⋅ sin ( 2πt
T
)
T T
1 1
T T
0
0
1 1
− T T/2
− T T/2
2 2
− 0
− T 0
T
T T
The following example at this point illustrates the utility of the basis-function concept:
EXAMPLE 1.1.2 A commonly used and previously discussed transmission method is Bi-
nary Phase-Shift Keying (BPSK), used in some satellite and deep-space transmissions as well
as a number of simple transmission systems. q A more general form of the basisqfunctions, which
are parameterized by variable T , is ϕ1 (t) = T2 cos 2πt π 2
2πt π
T + 4 and ϕ2 (t) = T cos T − 4
for 0 ≤ t ≤ T and 0 elsewhere. These two basis functions (N = 2), ϕ1 (t) and ϕ2 (t), are shown
in Figure 1.6. The two basis functions are orthogonal to each other and both have unit energy,
thus satisfying the orthonormality condition. The two possible modulated waveforms trans-
mitted during the interval [0, T ] also appear in Figure 1.6, where x0 (t) = ϕ1 (t) − ϕ2 (t) and
x1 (t) = ϕ2 (t) − ϕ1 (t). Thus, the data symbols associated with the continuous waveforms are
x0 = [1 − 1]0 and x1 = [−1 1]0 (a prime denotes transpose). The signal constellation appears
in Figure 1.7. The resulting waveforms are x0 (t) = − √2T sin( 2πt
T ) and x1 (t) =
√2 sin( 2πt ).
T T
This type of modulation is called “binary phase-shift keying,” because the two waveforms are
shifted in phase from each other. Since only two possible waveforms are transmitted during
each T second time interval, the information rate is log2 (2) = 1 bit per T seconds. Thus
to transmit at 1 Mbps, T must equal 1 µs. (Additional scaling may be used to adjust the
BPSK transmit power/energy level to some desired value, but this simply scales all possible
constellation points and transmit signals by the same constant value.)
Another set of basis functions is known as “FM code” (FM is ”Frequency Modulation”)
in the storage industry and also as “Manchester Encoding” in data communications. This
method is used to write (modulate) in many commercial disk storage products. It is also
used in a quite different area known as “Ethernet” in what is called “10Base-T Ethernet”
(the lowest ethernet speed commonly used in local area networks for the internet). The
basis functions are approximated in Figure 1.8 – in practice, the sharp edges are somewhat
smoother depending on the specific implementation. The two basis functions again satisfy
11
ϕ2 (t )
x1
ϕ1 (t )
x0
Figure 1.7: BPSK and FM/Manchester signal constellation.
2 ()
ϕ1 t 2
x0 (t )
T T
1 1
T T
0 0
1 1
− T T/2
− T T/2
2 2
− T 0
− T 0
T T
2 ϕ2 (t ) 2 x1 (t )
T T
1 1
T T
0 0
1 1
− T
− T
T/2
T/2
2 2
− −
T 0
T 0
T T
12
the orthonormality condition. The data rate equals one bit per T seconds; for a data transfer
rate into the disk of 1 GByte/s or 8 Gbps, T = 1/(8GHz) = 125ps; by contrast at the
much lower data rate of 10 Mbps in “Ethernet,” T = 100 ns. However, both modulation
methods have the same signal constellation. Thus, for the FM/Manchester example, only two
signal-constellation points are used, x0 = [1 − 1]0 and x1 = [−1 1]0 , as shown in Figure 1.7,
although the basis functions differ from the previous example. The resulting modulated
waveforms appear in Figure 1.8 and correspond to the write currents that are applied to
the head in the storage system.(Additional scaling may be used to adjust either the FM
or Ethernet transmit power/energy level to some desired value, but this simply scales all
possible constellation points and transmit signals by the same constant value.)
The common vector space representation (i.e. signal constellation) of the “Ethernet” and “BPSK”
examples allows the performance of a detector to be analyzed for either system in the same way, despite
the gross differences in the overall systems.
In either of the systems in Example 1.1.2, a more compact representation of the signals with only one
basis function is possible. (As an exercise, the reader should conjecture what this basis function could
be and what the associated signal constellation would be.) Appendix A considers the construction of a
minimal set of basis functions for a given set of modulated waveforms.
Two more examples briefly illustrate vector components xn that are not necessarily binary-valued.
EXAMPLE 1.1.3 (Short-Haul non-coherent Fiber Ethernet 802.3bm - 2B1Q) 3 This
transmission system digital phone-line service uses M = 4 waveforms while the number of
basis functions N = 1. Thus, the system transmits 2 bits of information
qper T seconds of
1
channel use. The basis function is roughly approximated4 by ϕ1 (t) = T sinc( Tt ), where
∆
1/T = 53.125 GHz, and sinc(x) = sin(πx) πx . This basis function is not time limited to the
interval [0,T]. The associated signal constellation appears in Figure 1.9.
Longer-distance fiber transmission (up to 2 km) may occur at 1/2 the symbol rate (26.5625
GHz) so at roughly 50 Gbps in other related IEEE 802.3 “Ethernet” standards.
2 bits are transmitted using one 4-level (or “quaternary”) symbol every T seconds, hence the
name “2B1Q.”
By contrast, telephone companies also often transmit the much lower data rate 1.544 Mbps
“T1 Service” symmetrically on twisted pairs between the fiber termination point (often called
an Optical Line terminal) and a small business (such a signal often carries twenty-four 64
kbps digital voice signals plus overhead signaling information of 8 kbps). A method, known
as HDSL (High-bit-rate Digital Subscriber Lines), uses 2B1Q with 1/T = 392 kHz, and thus
transmits a data rate of 784 kbps on each of two phone lines for a total of 1.568 Mbps
(1.544 Mbps plus 24 kbps of additional HDSL management overhead). The range of this
system is about 2 miles of twisted pair, making it more cost-effective and quicker to use the
existing twisted pairs than to attempt to drill through walls, dig up streets, etc to get digital
service to the small businesses. A more recent version of this will use various levels of PAM
to get 1.544 Mbps, and higher symmetric speeds, on a single twisted pair at different lengths
that may be shorter than 2 miles. This is known as “Symmetric HDSL” or just “SDSL’.’
The two very different transmission systems use the same constellation and can be analyzed
identically.
5
EXAMPLE 1.1.4 (V.32 - 32CR) Consider a signal set with 32 waveforms (M = 32)
3 IEEE 802.3bm is a standard that contains specifications for short-length non-coherent transmission at (roughly) 100
Gbps on each of up to 8-16 parallel channels (8 wavelengths with each having two polarizations) on up to roughly 500m
of fiber . IEEE √802.3 standards also use other constellations for alternatives on longer lengths of fiber.
4 Actually 1/ T sinc(t/T ), or some other “Nyquist” pulse shape is used, see Chapter 3 on Intersymbol Interference.
5 The ITU has published a set of modem standards numbered V.XX. These are older standards, but are still used on
hundreds of millions of phone lines globally, particularly in developing countries, where higher-speed xDSL services are
not yet available. Essentially these “voiceband” modems use the analog end-to-end plain-old-telephone-service (POTS)
connection for digital transmission. It is interesting to note that these standards, now almost a half-century old can be
analyzed the same as very modern standards at much higher speeds on wired connections like cablemodems.
13
ϕ1
-‐3
-‐1
1
3
and with 2 basis functions (N = 2) for transmission of 32 signals per channel use. The
ITU 32CRq compatible 9600bps voiceband
q modems use basis functions that are equivalent to
2 πt 2
ϕ1 (t) = T cos T and ϕ2 (t) = T sin πt
T for 0 ≤ t ≤ T and 0 elsewhere. A raw bit rate
6
of 12.0Kbps is achieved with a symbol rate of 1/T = 2400 Hz. The signal constellation is
shown in Figure 1.10; the 32 points are arranged in a rotated cross pattern, called 32 CR or
32 cross.
5 bits are transformed into 1 of 32 possible 2-dimensional symbols, hence the extension in
the name V.32.
The last two examples also emphasize another tacit advantage of the vector representation, namely
that the details of the rates and carrier frequencies in the modulation format are implicit in the normal-
ization of the basis functions, and they do not appear in the description of the signal constellation.
where ∗ denotes vector transpose (and conjugate vector transpose in Chapter 2 and beyond).
6 The actual user information rate is usually 9600 bps with the extra bits used for error-correction purposes as shown
in Chapter 8.
14
ϕ2 (t )
+3
+1
ϕ1 (t )
-3 -1 +1 +3
-1
-3
The two inner products in the above definition are equal under the conditions in the following
theorem:
Theorem 1.1.1 (Invariance of the Inner Product) If there exists a set of basis func-
PN PN
tions ϕn (t), n = 1, ..., N for some N such that u(t) = n=1 un ϕn (t) and v(t) = n=1 vn ϕn (t)
then
hu(t), v(t)i = hu, vi . (1.8)
where
u1 v1
u = ... and v = ... .
∆ ∆
(1.9)
uN vN
Thus the inner product is “invariant” to the choice of basis functions and only depends on the com-
ponents of the time functions along each of the basis functions. While the inner product is invariant
to the choice of basis functions, the component values of the data symbols depend on basis functions.
RT
for theV.32 example, one could recognize that the integral T2 0 2 cos πt πt
For example, T + sin T ·
cos πt πt
T + 2 sin T dt = 2 · 1 + 1 · 2 = 4.
Parseval’s Identity is a special case (with x = u = v) of the invariance of the inner product.
Theorem 1.1.2 (Parseval’s Identity) The following relation holds true for any modulated
waveform Z ∞
Ex = E ||x||2 = E x2 (t)dt
. (1.13)
−∞
15
The proof follows from the previous Theorem 1.1.1 with u = v = x
Parseval’s Identity implies that the average energy of a signal constellation is invariant to the choice of
basis functions, as long as they satisfy the orthonormality condition of Equation (1.2). As another V.32
RT 2
example, one could recognize that the energy of the [2,1] point is T2 0 2 cos 2πt + sin 2πt
T T dt =
2 · 2 + 1 · 1 = 5.
The individual basis functions themselves have a trivial vector representation; namely ϕn (t) is rep-
resented by ϕn = [0 0 , ..., 1 , ..., 0]∗ , where the 1 occurs in the nth position. Thus, the data symbol xi
has a representation in terms of the unit basis vectors ϕn that is
N
X
xi = xin ϕn . (1.18)
n=1
Thus any set of modulated waveforms {xi (t)} can be interpreted as a vector signal constellation, with
the components of any particular vector xi given by Equation (1.20). In effect, xin is the projection of
the ith modulated waveform on the nth basis function. The Gram-Schmidt procedure can be used to
determine the minimum number of basis functions needed to represent any signal in the signal set, as
discussed in Appendix A of this chapter.
1.1.4 Demodulation
As in (1.20), the data symbol vector x can be recovered, component-by-component, by computing
the inner product of x(t) with each of the N basis functions. This recovery is called correlative
demodulation because the modulated signal, x(t), is “correlated” with each of the basis functions to
determine x, as is illustrated in Figure 1.11. The modulated signal, x(t), is first multiplied by each of the
basis functions in parallel, and the outputs of the multipliers are then passed into a bank of N integrators
to produce the components of the data symbol vector x. Practical realization of the multipliers and
integrators may be difficult. Any physically implementable set of basis functions can only exist over a
finite interval in time, call it T , the symbol period.7 Then the computation of xn alternately becomes
Z T
xn = x(t)ϕn (t)dt . (1.21)
0
where ∗ indicates convolution. The component of the modulated waveform x(t) along the nth basis
function is equivalently the convolution (filter) of the waveform x(t) with a filter ϕn (T − t) at output
16
Figure 1.11: The correlative demodulator.
ϕ1 (T − t ) x1
y (t ) ϕ2 (T − t ) x2
.
.
.
ϕ N (T − t ) xN
t =T
17
sample time T . Such matched-filter demodulation is “matched” to the corresponding modulator
basis function. Matched-filter demodulation is illustrated in Figure 1.12.
Figure 1.12 illustrates a conversion between the data symbol and the corresponding modulated wave-
form such that the modulated waveform can be represented by a finite (or countably infinite as N → ∞)
set of components along an orthonormal set of basis functions. The coming sections use this concept to
analyze the performance of a particular modulation scheme on the AWGN channel.
× ϕ1 (T − t ) y1
x
1
MIMO
ϕ1 (t )
channel
x × ϕ2 (T − t ) y2
2
.
ϕ2 (t ) .
.
.
. .
x
3
× (
φ T −t ) yL
Lx x
φ t
Lx
() x(t ) y(t ) t =T
Figure 1.13: The MIMO channel.
where the ϕn (t) are a common set of basis functions used on all the parallel channels8 . In effect the
elements of the vector xn in Equation ( 1.23 ) above need not be nonzero in only one component, although
this chapter basically views Lx = N and each of the parallel channels basically being equivalent to a
dimension (so does in effect zero all components of xn except the nth .
7 The restriction to a finite time interval is later removed with the introduction of “Nyquist” Pulse shapes in Chapter
is retained in creating the set of larger functions for modulation across all channels.
18
An example could be a system that has Lx highly directional transmit antennas that each point at
another set of Lx highly directional receive antennas. In effect, each transmit antenna has an input
component xi,n of a transmit vector xn with on the nth normalized basis function ϕn (t) that passes
only to the corresponding ith output antenna. The receivers as a set have corresponding components yn ,
which can be aggregated into a vector y. Similarly, Lx parallel wires could be used between common
end points to increase speed. For instance, the IEEE 803.3z 1 Gbps Ethernet standard uses PAM on
each of 4 parallel twisted pairs that each carry 250 Mbps of individual throughput (the actual speed is
312.5 Mbps because an extra 20% is used for overhead). These sets of Lx = 4 wires are often called
“cat-5” cables, connecting with the familiar RJ45 connectors for ethernet (if one looks closely, 8 wires or
4 twisted pairs are in those connectors). Yet another example occurs in the above mentioned IEEE 802.3
fiber standards for 40 and 100 Gbps where 4 wavelengths on the same fiber (with no interference between
them) each carry 1/4 of the overall data rate. Sometimes there is leakage between the channels, known
as crosstalk, which is similar to the “intersymbol interference” addressed in Chapter 3, but crosstalk is
better described as “intra-symbol” interference. This topic is addressed in Chapters 4, 5, as well as 12,
13, and 14. Important here is that the MIMO channel also fits into the vector-channel analysis that is
common then to all forms of transmission in this book.
The inner product of vector functions simply generalizes to (a superscript of * denotes transpose
here)
Z T
hf (t), g(t)i = f ∗ (t) · g(t)dt , (1.24)
0
basically a sum of integrals instead of a single integral previously. Orthonormality still applies. Inner
products of the components on the (now) vector basis functions again equal the sum-of-integral inner
products. This entire section could be reread with the basis vector functions replacing the scalar basis
functions, and the modulated signal being a vector of transmitted time-domain waveforms x(t) that
results in a vector of channel output waveforms y(t).
19
channel
m Discrete
Modulator
py Decision
m̂
x
20
An integral replaces9 the sum in (1.28) for the case of a continuous density function py (v).
As an example, consider the simple additive noise channel y = x + n. In this case py |x = pn (y − x),
where pn (•) is the noise density, when n is independent of the input x.
The optimum data detector chooses m̂ to minimize Pe , or equivalently, to maximize Pc . The probability
of being correct is a function of the particular transmitted message, mi .
mathematical terms, not advisable; however, we do so here, as this particular substitution prevents a preponderance of
additional notation, and it has long been conventional in the data transmission literature. The reader is thus forewarned to
keep the continuous or discrete nature of the probability density in mind in the analysis of any particular vector channel.
10 The more general form of this identity is called “Bayes Theorem”, [2].
21
The Maximum Likelihood (ML) Detector
If all transmitted messages are of equal probability, that is if
1
px (i) = ∀ i = 0, ..., M − 1 , (1.34)
M
then the MAP Detection Rule becomes the Maximum Likelihood Detection Rule:
Rule 1.2.2 (ML Detection Rule)
If equality holds in (1.36), then the decision can be assigned to either message mi or mj
without changing the probability of error.
As with the MAP detector, the ML detector also chooses an index i for each possible received vector
y = v, but this index now only depends on the channel transition probabilities and is independent of
the input distribution (by assumption). The ML detector essentially cancels the 1/M factor on both
sides of (1.34) to get (1.36). This type of detector only minimizes Pe when the input data symbols have
equal probability of occurrence. As this requirement is often met in practice, ML detection is often used.
Even when the input distribution is not uniform, ML detection is still often employed as a detection
rule, because the input distribution may be unknown and thus assumed to be uniform. The Minimax
Theorem sometimes justifies this uniform assumption:
Theorem 1.2.1 (Minimax Theorem) The ML detector minimizes the maximum possi-
ble average probability of error when the input distribution is unknown if the conditional
probability of error Pe,M L/m=mi is independent of i.
Proof:
First, if Pe,M L/i is independent of i, then
M
X −1
Pe,M L = px (i) · Pe,M L/i
i=0
= Pe,M L/i
And so,
M
X −1
max Pe,M L = max px (i) · Pe,M L/i
{px } {px }
i=0
M
X −1
= Pe,M L px (i)
i=0
= Pe,M L
22
x1
D1
x2
D2
x4
D4 x3 D3
So,
The ML receiver minimizes the maximum Pe over all possible receivers. QED.
The condition of symmetry imposed by the above Theorem is not always satisfied in practical situations;
but the likelihood of an application where both the inputs are nonuniform in distribution and the ML
conditional error probabilities are not symmetric is rare. Thus, ML receivers have come to be of nearly
ubiquitous use in place of MAP receivers.
Definition 1.2.3 (Decision Region) The decision region using a MAP detector for each
message mi , i = 0, ..., M − 1 is defined as
∆
Di = {v | py |x (v|i) · px (i) ≥ py |x (v|j) · px (j) ∀ j 6= i} . (1.36)
In Figure (1.15), each of the four different two-dimensional transmitted vectors xi (corresponding to
the messages mi ) has a surrounding decision region in which any received value for y = v is mapped to
the message mi . In general, the regions need not be connected, and although such situations are rare in
practice, they can occur (see Problem 1.12). Section 1.3 illustrates several examples of decision regions
for the AWGN channel.
23
1.2.4 Irrelevant Components of the Channel Output
The discrete channel-output vector y may contain information that does not help determine which of
the M messages has been transmitted. These irrelevant components may be discarded without loss of
performance, i.e. the input detected and the associated probability of error remain unchanged. Let us
presume the L-dimensional channel output y can be separated into two sets of dimensions, those which
do carry useful information y 1 and those which do not carry useful information y 2 . That is,
y1
y= . (1.38)
y2
EXAMPLE 1.2.1 (Extra Irrelevant Noise) Suppose y 1 is the noisy channel output shown
in Figure 1.16. In the first example, py |y , x = pn2 = py |y , thus satisfying the condition
2 1 2 1
for y 2 to be ignored, as might be obvious upon casual inspection. The extra independent noise
signal n2 tells the receiver nothing given y 1 about the transmitted message x. In the second
example, the irrelevance of y 2 given y 1 is not quite as obvious as the signal is present in both
the received channel output components. Nevertheless, py |y , x = pn2 (v 2 − v 1 ) = py |y .
2 1 2 1
Of course, in some cases the output component y 2 should not be discarded. A classic example is the
following case of “noise cancelation.”
EXAMPLE 1.2.2 (Noise Cancelation) Suppose y 1 is the noisy channel output shown
in Figure 1.17 while y 2 may appear to contain only useless noise, it is in fact possible to
reduce the effect of n1 in y 1 by constructing an estimate of n1 using y 2 . Correspondingly,
py 2 |y 1 , x = pn2 (v 2 − (v 1 − xi )) 6= py 2 |y 1 .
24
n1 n1 n2
x + y1 x + + y2
n2 y2 y1
p y2 = p y2 = p y2 p y2 = p y2
[ y1 , x ] y1
[ y1 , x ] y1
y2
is
irrelevant
x + y1
n1
n2 + y2
25
y2 y1
x
channel
G
G −1
MAP
y2 x
MAP
y1
Reversibility
An important result in digital communication is the Reversibility Theorem, which will be used several
times over the course of this book. This theorem is, in effect, a special case of the Theorem on Irrelevance:
Equivalently, Figure 1.18 illustrates the reversibility theorem by constructing a MAP receiver for
the output of the invertible transformation y 1 as the cascade of the inverse filter G−1 and the MAP
receiver for the input of the invertible transformation y 2 .
26
n t ()
!
x(t ) +
y t()
Figure 1.19: AWGN channel.
27
∆ ∆
where n = [n1 n2 ... nN ] and nl = hn(t), ϕl (t)i. The vector channel output is the sum of the vector
equivalent of the modulated signal and the vector equivalent of the demodulated noise. Nevertheless,
the exact noise sample function may not be reconstructed from n,
N
∆
X
n(t) 6= nl ϕl (t) = n̂(t) , (1.46)
l=1
or equivalently,
N
∆
X
y(t) 6= yl ϕl (t) = ŷ(t) . (1.47)
l=1
There may exist a component of n(t) that is orthogonal to the space spanned by the basis functions
{ϕ1 (t) ... ϕN (t)}. This unrepresented noise component is
∆
ñ(t) = n(t) − n̂(t) = y(t) − ŷ(t) . (1.48)
The development of the MAP detector could have replaced y by y(t) everywhere and the development
would have proceeded identically with the tacit inclusion of the time variable t in the probability densities
(and also assuming stationarity of y(t) as a random process). The Theorem of Irrelevance would hold
with [y 1 y 2 ] replaced by [ŷ(t) ñ(s)], as long as the relation (1.41) holds for any pair of time instants t and
s. In a non-mathematical sense, the unrepresented noise is useless to the receiver, so there is nothing of
value lost in the vector demodulator, even though some of the channel output noise is not represented.
The following algebra demonstrates that ñ(s) is irrelevant:
First, " #
XN XN
E [ñ(s) · n̂(t)] = E ñ(s) · nl ϕl (t) = ϕl (t)E [ñ(s) · nl ] . (1.52)
l=1 l=1
and,
28
px,ŷ(t) · pñ(s)
= (1.58)
pŷ(t) · pñ(s)
px,ŷ(t)
= (1.59)
pŷ(t)
= px|ŷ(t) . (1.60)
Equation (1.61) satisfies the theorem of irrelevance, and thus the receiver need only base its decision
on ŷ(t), or equivalently, only on the received vector y. The vector AWGN channel is equivalent to the
continuous-time AWGN channel.
Rule 1.3.1 (The Vector AWGN Channel) The vector AWGN channel is given by
y =x+n (1.61)
and is equivalent to the channel illustrated in Figure 1.19. The noise vector n is an N -
dimensional Gaussian random vector with zero mean, equal-variance, uncorrelated compo-
nents in each dimension. The noise distribution is
− N
pn (u) = (πN0 ) 2 · e− N0 kuk = 2πσ 2 2 · e− 2σ2 kuk .
2
−N 1 1 2
(1.62)
Application of y(t) to either the correlative demodulator of Figure 1.11 or to the matched-filter demod-
ulator of Figure 1.12, generates the desired vector channel output y at the demodulator output. The
following section specifies the decision process that produces an estimate of the input message, given the
output y, for the AWGN channel.
py |x (v|i) = pn (v − xi ) , (1.63)
where pn is the vector noise distribution in (1.63). Thus for AWGN the MAP Decision Rule becomes
If the channel input messages are equally likely, the ln terms on both sides of (1.66) cancel, yielding the
AWGN ML Detection Rule:
Rule 1.3.3 (AWGN ML Detection Rule)
m̂ ⇒ mi if kv − xi k2 ≤ kv − xj k2 ∀ j 6= i . (1.66)
The ML detector for the AWGN channel in (1.67) has the intuitively appealing physical interpretation
that the decision m̂ = mi corresponds to choosing the data symbol xi that is closest, in terms of the
Euclidean distance, to the received vector channel output y = v. Without noise, the received vector
is y = xi the transmitted symbol, but the additive Gaussian noise results in a received symbol most
likely in the neighborhood of xi . The Gaussian shape of the noise implies the probability of a received
29
-‐1
D0 D1 +1
ϕ1
x0 v<0 x1
v>0
-‐1 D0 D1 +1
ϕ1
x0 x1
σ2 ⎛ p (0) ⎞
v>0
ln⎜ x ⎟
x1 − x0 ⎜⎝ p x (1) ⎟⎠
point decreases as the distance from the transmitted point increases. As an example consider the decision
regions for binary data transmission over the AWGN channel illustrated in Figure 1.20. The ML receiver
decides x1 if y = v ≥ 0 and x0 if y = v < 0. (One might have guessed this answer without need for
theory.) With d defined as the distance kx1 − x0 k, the decision regions are offset in the MAP detector
2
by σd ln{ px (i) } with the decision boundary shifting towards the data symbol of lesser probability, as
p (j)
x
illustrated in Figure 1.21. Unlike the ML detector, the MAP detector accounts for the à priori message
probabilities. The decision region for the more likely symbol is extended by shifting the boundary
towards the less likely symbol. Figure 1.22 illustrates the decision region for a two-dimensional example
of the QPSK signal set, which uses the same basis functions as the V.32 example (Example 1.1.4). The
points in the signal constellation are all assumed to be equally likely.
Minimization of (1.69) can ignore the kyk2 term. The MAP decision rule then becomes
∆ N0 kxi k2
ci = ln{px (i)} − . (1.70)
2 2
A system design can precompute the constants {ci } from the transmitted symbols {xi } and their proba-
bilities px (i). The detector thus only needs to implement the M inner products, hy, xi i i = 0, . . . , M −1.
When all the data symbols have the same energy (Ex = kxi k2 ∀ i) and are equally probable (i.e. MAP
30
ϕ2
x2 x1
D2 D1
ϕ1
D3 D0
x3 x0
c0
Matrix
ϕ1 (T − t ) Mul*ply
+
c1
⎡ x0' ⎤
Max
()
y t ϕ2 (T − t )
⎢
⎢ ⎥ y
⎥
+
.
.
&
Decode
m̂
.
⎢ x M' −1 ⎥ .
⎣ ⎦
.
cM −1
.
ϕ N (T − t ) M ×N +
t =T
Figure 1.23: Basis detector (y(t) would be just Lx = N parallel signals y(t) in the MIMO case).
= ML), then the constant ci is independent of i and can be eliminated from (1.70). The ML detector
thus chooses the xi that maximizes the inner product (or correlation) of the received value for y = v
with xi over i.
There exist two common implementations of the MAP receiver in (1.70). The first, shown in Fig-
ure 1.23, called a “basis detector,” computes y using a matched filter demodulator. This MAP receiver
computes the M inner products of (1.70) digitally (an M ×N matrix multiply with y), adds the constant
ci of (1.71), and picks the index i with maximum result. Finally, a decoder translates the index i into
the desired message mi . Often in practice, the signal constellation is such (see Section 1.6 for examples)
that the max and decode function reduces to simple truncation of each component in the received vector
y.
The second form of the demodulator eliminates the matrix multiply in Figure 1.23 by recalling the
inner product equivalences between the discrete vectors xi , y and the continuous time functions xi (t)
and y(t). That is
Z T
hy, xi i = y(t)xi (t)dt = hy(t), xi (t)i . (1.71)
0
Equivalently,
hy, xi i = y(t) ∗ xi (T − t)|t=T (1.72)
31
c0
x0 T - t( ) +
c1
Max
()
y t x1 T - t ( ) +
.
.
&
Decode
m̂
.
.
.
cM −1
.
( )
X M -1 T - t +
t =T
Figure 1.24: Signal detector. (y(t) would be just Lx = N parallel signals y(t) in the MIMO case, but
there would be several filters for each parallel-channel output - signal detectors are rarely used with
MIMO)
x(t ) +
h(t )
t = Ts
where ∗ indicates convolution. This type of detector is called a “signal detector” and appears in Fig-
ure 1.24.
The above example/discussion illustrates that many of the principles of digital communication theory
are common to other fields of digital signal processing and science.
32
Theorem 1.3.1 (SNR Maximization) For the system shown in Figure 1.25, the filter12
h(t) that maximizes the signal-to-noise ratio at sample time Ts is given by the matched filter
h(t) = x(Ts − t).
Proof: Compute the SNR at sample time t = Ts as follows.
2
Signal Energy = [x(t) ∗ h(t)|t=Ts ] (1.73)
Z ∞ 2
2
= x(t) · h(Ts − t) dt = [hx(t), h(Ts − t)i] . (1.74)
−∞
The sampled noise at the matched filter output has energy or mean-square
Z ∞ Z ∞
Noise Energy = E n(t)h(Ts − t)dt n(s)h(Ts − s)ds (1.75)
−∞ −∞
Z ∞Z ∞
N0
= δ(t − s)h(Ts − t)h(Ts − s)dtds (1.76)
−∞ −∞ 2
N0 ∞ 2
Z
= h (Ts − t)dt (1.77)
2 −∞
(1.78)
N0
= khk2 . (1.79)
2
The signal-to-noise ratio, defined as the ratio of the signal power in (1.75) to the noise power
in (1.80), equals
2
2 [hx(t), h(Ts − t)i]
SN R = · . (1.80)
N0 khk2
The “Cauchy-Schwarz Inequality” states that
2
[hx(t), h(Ts − t)i] ≤ kxk2 khk2 (1.81)
with equality if and only if x(t) = kh(Ts − t), where k is some arbitrary constant. Thus, by
inspection, (1.81) is maximized over all choices for h(t) when h(t) = x(Ts − t). The filter h(t)
is “matched” to x(t), and the corresponding maximum SNR (for any k) is
2
SNRmax = kxk2 . (1.82)
N0
An example of the use of the SNR maximization property of the matched filter occurs in time-delay
estimation, which is used for instance in radar:
EXAMPLE 1.3.2 (Time-delay estimation) Radar systems emit electromagnetic pulses
and measure reflection of those pulses off objects within range of the radar. The distance of
the object is determined by the delay of the reflected energy, with longer delay corresponding
to longer distance. By processing the received signal at the radar with a filter matched to the
radar pulse shape, the signal level measured in the presence of a presumably fixed background
white noise will appear largest relative to the noise. Thus, the ability to determine the exact
time instant at which the maximum pulse returned is improved by the use of the matched
filter, allowing more accurate estimation of the position of the object.
12 For MIMO, this becomes a vector filter h(t) and the integrals in this development become sums of integrals consistent
33
1.4 Error Probability for the AWGN Channel
This section discusses the computation of the average probability of error of decoding the transmitted
message incorrectly on an AWGN channel. From the previous section, the AWGN channel is equivalent
to a vector channel with output given by
y =x+n . (1.83)
1
The computation of Pe often assumes that the inputs xi are equally likely, or px (i) = M. Under this
assumption, the optimum detector is the ML detector, which has decision rule
m̂ ⇒ mi if kv − xi k2 ≤ kv − xj k2 ∀ j 6= i . (1.84)
The Pe associated with this rule depends on the signal constellation {xi } and the noise variance N20 .
Two general invariance theorems in Subsection 1.4.1 facilitate the computation of Pe . The exact Pe ,
M −1
1 X
Pe = · Pe/i (1.85)
M i=0
M −1
1 X
= 1− · Pc/i (1.86)
M i=0
may be difficult to compute, so convenient and accurate bounding procedures in Subsections 1.4.2
through 1.4.4 can alternately approximate Pe .
Theorem 1.4.1 (Rotational Invariance) If all the data symbols in a signal constellation
are rotated by an orthogonal transformation, that is x̄i ← Qxi for all i = 0, ..., M − 1 (where
Q is an N × N matrix such that QQ0 = Q0 Q = I), then the probability of error of the ML
receiver remains unchanged on an AWGN channel.
Proof: The AWGN remains statistically equivalent after rotation by Q0 . In particular consider
ñ = Q0 n, a rotated Gaussian random vector. (ñ is Gaussian since a linear combination of
Gaussian random variables remains a Gaussian random variable). A Gaussian random vector
is completely specified by its mean and covariance matrix: The mean is E[ñ] = 0 since
E[ni ] = 0, ∀ i = 0, . . . , N − 1. The covariance matrix is E[ññ0 ] = Q0 E[nn0 ]Q = N20 I. Thus,
ñ is statistically equivalent to n. The channel output for the rotated signal constellation is
now ỹ = x̃ + n as illustrated in Figure 1.26. The corresponding decision rule is based on the
distance from the received signal sample ỹ = ṽ to the rotated constellation points x̃i .
0
kṽ − x̃i k2 = (ṽ − x̃i ) (ṽ − x̃i ) (1.87)
0 0
= (v − xi ) Q Q (v − xi ) (1.88)
= kv − xi k2 , (1.89)
where y = x+Qn. Since ñ = Q0 n has the same distribution as n, and the distances measured
in (1.90) are the same as in the original unrotated signal constellation, the ML detector for the
rotated constellation is the same as the ML detector for the original (unrotated) constellation
in terms of all distances and noise variances. Thus, the probability of error must be identical.
QED.
34
n
is equivalent to ˆ = Q' n
n
~
x = Qx ~ x = Q' ~
x
+
y = Qy +
y = Qy
Unrotated constellation
with backward rotated noise
x1 ϕ1
ϕ2
D1
D2 x0
x2 D0
D3
x3
An example of the QPSK constellation appears in Figure 1.22, where N = 2. With Q be a 45o
rotation matrix,
cos π4 sin π4
Q= , (1.90)
− sin π4 cos π4
then the rotated constellation and decision regions are shown in Figure 1.27. From Figure 1.27, clearly
the rotation has not changed the detection problem and has only changed the labeling of the axes,
effectively giving another equivalent set of orthonormal basis functions. Since rotation does not change
the squared length of any of the data symbols, the average energy remains unchanged. The invariance
does depend on the noise components being uncorrelated with one another, and of equal variance, as in
(1.52); for other noise correlations (i.e., n(t) not white, see Section 1.7) rotational invariance does not
hold. Rotational invariance is summarized in Figure 1.28. Each of the three diagrams shown in figures
1.27 and 1.28 have identical Pe when used with identical AWGN.
The probability of error is also invariant to translation by a constant vector amount for the AWGN,
because again Pe depends only on relative distances and the noise remains unchanged.
Theorem 1.4.2 (Translational Invariance) If all the data symbols in a signal constella-
tion are translated by a constant vector amount, that is x̄i ← xi − a for all i = 0, ..., M − 1,
then the probability of error of the ML detector remains unchanged on an AWGN channel.
35
Contours
of
equal
probability
density
magnitude
Proof: Note that the constant vector a is common to both y and to x, and thus subtracts
from k(v − a) − (xi − a)k2 = kv − xi k2 , so (1.85) remains unchanged. QED.
An important use of the Theorem of Translational Invariance is the minimum energy translate
of a signal constellation:
Definition 1.4.1 (Minimum Energy Translate) The minimum energy translate of
a signal constellation is defined as that constellation obtained by subtracting the constant
vector E{x} from each data symbol in the constellation.
To show that the minimum energy translate has the minimum energy among all possible translations
of the signal constellation, write the average energy of the translated signal constellation as
M
X −1
Ex−a = kxi − ak2 px (i) (1.91)
i=0
M
X −1
kx2i k − 2hxi , ai + kak2 px (i)
=
i=0
= Ex + kak2 − 2hE{x}, ai (1.92)
From (1.93), the energy Ex−a is minimized over all possible translates a if and only if a = E{x}, so
M
X −1
2
kxi − E{x}k2 px (i) = Ex − [E(x)]
min Ex−a = . (1.93)
i=0
Thus, as transmitter energy (or power) is often a quantity to be preserved, the engineer can always
translate the signal constellation by E{x}, to minimize the required energy without affecting perfor-
mance. (However, there may be practical reasons, such as complexity and synchronization, where this
translation is avoided in some designs.)
36
1.4.2 Union Bounding
Specific examples of calculating Pe appear in the next two subsections. This subsection illustrates this
calculation for binary signaling in N dimensions for use in probability-of-error bounds.
Suppose a system has two signals in N dimensions, as illustrated for N = 1 dimension in Figure 1.20
with an AWGN channel. Then the probability of error for the ML detector is the probability that the
component of the noise vector n along the line connecting the two data symbols is greater than half the
distance along this line. In this case, the noisy received vector y lies in the incorrect decision region,
resulting in an error. Since the noise is white Gaussian, its projection in any dimension, in particular,
the segment of the line connecting the two data symbols, is of variance σ 2 = N20 , as was discussed in the
proof of Theorem 1.4.1. Thus,
d
Pe = P {hn, ϕi ≥ } , (1.94)
2
∆
where ϕ is a unit norm vector along the line between x0 and x1 and d = kx0 −x1 k. This error probability
is
Z ∞
1 1 2
Pe = √ e− 2σ2 u du
d 2πσ 2
Z 2∞
1 u2
= √ e− 2 du
d
2σ
2π
d
= Q . (1.95)
2σ
N0
The Q-function is defined in Appendix B of this chapter. As σ 2 = 2 , (1.96) can also be written
d
Pe = Q √ . (1.96)
2N0
Minimum Distance
Every signal constellation has an important characteristic known as the minimum distance:
Definition 1.4.2 (Minimum Distance, dmin ) The minimum distance, dmin (x) is de-
∆
fined as the minimum distance between any two data symbols in a signal constellation x =
{xi }i=0,...,M −1 . The argument (x) is often dropped when the specific signal constellation is
obvious from the context, thus leaving
∆
dmin = min kxi − xj k ∀ i, j . (1.97)
i6=j
Equation (1.96) is useful in the proof of the following theorem for the probability of error of a ML
detector for any signal constellation with M data symbols:
Theorem 1.4.3 (Union Bound) The probability of error for the ML detector on the AWGN
channel, with an M -point signal constellation with minimum distance dmin , is bounded by
dmin
Pe ≤ (M − 1)Q . (1.98)
2σ
The proof of the Union Bound defines an “error event” εij as the event where the ML detector
chooses x̂ = xj while xi is the correct transmitted data symbol. The conditional probability of error
given that xi was transmitted is then
M
[ −1
Pe/i = P {εi0 ∪ εi1 ... ∪ εi,i−1 ∪ εi,i+1 ∪ ... ∪ εi,M −1 } = P { εij } . (1.99)
j=0
(j6=i)
37
xi
xk
xj
P2 {x i , x j }
P {ε ij } includes this region
adds this region
xk
xi
P2 {xi , xk }
xj
P2 {x i , x j }
Because the error events in (1.100) are mutually exclusive (meaning if one occurs, the others cannot),
the probability of the union is the sum of the probabilities,
M
X −1 M
X −1
Pe/i = P {εij } ≤ P2 (xi , xj ) , (1.100)
j=0 j=0
(j6=i) (j6=i)
where
∆
P2 (xi , xj ) = P { y is closer to xj than to xi } , (1.101)
because
P {εij } ≤ P2 (xi , xj ) . (1.102)
As illustrated in Figure 1.29, P {εij } is the probability the received vector y lies in the shaded decision
region for xj given the symbol xi was transmitted. The incorrect decision region for the probability
P2 (xi , xj ) includes part (shaded red in Figure 1.29) of the region for P {εik }, which explains the inequality
in Equation (1.103). Thus, the union bound overestimates Pe/i by integrating pairwise on overlapping
half-planes.
Using the result in (1.96),
kxi − xj k
P2 (xi , xj ) = Q . (1.103)
2σ
38
x1
x0 x2
Ex
π
8
x7 x3
x6
x4
x5
Substitution of (1.107) into (1.106), and recognizing that dmin is not a function of the indices i or j,
one finds the desired result
M −1
d d
(M − 1)Q min px (i) = (M − 1)Q min
X
Pe ≤ . (1.107)
i=0
2σ 2σ
QED.
Since the constellation contains M points, the factor M − 1 equals the maximum number of neighboring
constellation points that can be at distance dmin from any particular constellation point.
Examples
The union bound can be tight (or exact) in some cases, but it is not always a good approximation to the
actual Pe , especially when M is large. Two examples for M = 8 show situations where the union bound
is a poor approximation to the actual probability of error. These two examples also naturally lead to
the “nearest neighbor” bound of the next subsection.
EXAMPLE 1.4.1 (8PSK) The constellation in Figure 1.31 is often called “eight phase”
or “8PSK”. For the maximum likelihood detector, the 8 decision regions correspond to sectors
bounded by straight lines emanating from the origin as shown in Figure 1.30. The union
bound for 8PSK equals "√ #
Ex sin( π8 )
Pe ≤ 7Q , (1.108)
σ
39
n2 xi
n1
0
√
and dmin = 2 Ex sin( π8 ).
Figure 1.32 magnifies the detection region for one of the 8 data symbols. By symmetry
the analysis would proceed identically, no matter which point is chosen, so Pe/i = Pe . An
error can occur if the component of the additive white Gaussian noise, along either of the
two directions shown, is greater than dmin /2. These two events are not mutually exclusive,
although the variance of the noise along either vector (with unit vectors along each defined
as ϕ1 and ϕ2 ) is σ 2 . Thus,
d d
= P {(k < n, ϕ1 > k > min ) (k < n, ϕ2 > k > min )}
[
Pe (1.109)
2 2
dmin dmin
≤ P {(n1 > )} + P {(n2 > )} (1.110)
2 2
d
= 2Q min , (1.111)
2σ
The following second example illustrates problems in applying the union bound to a 2-dimensional signal
constellation with 8 or more signal points on a rectangular grid (or lattice):
EXAMPLE 1.4.2 (8AMPM) Figure 1.33 illustrates an 8-point signal constellation called
“8AMPM” (amplitude-modulated phase modulation), or “8 Square”. The union bound for
Pe yields "√ #
2
Pe ≤ 7Q . (1.113)
σ
By rotational invariance the rotated 8AMPM constellation shown in Figure 1.34 has the
same Pe as the unrotated constellation. The decision boundaries shown are pessimistic at
the corners of the constellation, so the Pe derived from them will be an upper bound. For
∆
notational brevity, let Q = Q[dmin /2σ]. The probability of a correct decision for 8AMPM is
7
X X 1 X 1
Pc = Pc/i · px (i) = Pc/i · + Pc/i · (1.114)
i=0
8 i=1,4 8
i6=1,4
6 2
> (1 − Q)(1 − 2Q) + (1 − 2Q)2 (1.115)
8 8
40
x0 x6
3
1
x1 x7
-3
-1 1 3
x2 x4
-1
-3
x3 x5
x0
x2 x1 x6
x3 x7
x4
x5
41
3 1
1 − 3Q + 2Q2 + 1 − 4Q + 4Q2
= (1.116)
4 4
= 1 − 3.25Q + 2.5Q2 . (1.117)
which is tighter than the union bound in (1.114). As M increases for constellations like
8AMPM, the accuracy of the union bound degrades, since the union bound calculates Pe
by pairwise error events and thus redundantly includes the probabilities of overlapping half-
planes. It is desirable to produce a tighter bound. The multiplier on the Q-function in (1.119)
is the average number of nearest neighbors (or decision boundaries) = 41 (4 + 3 + 3 + 3) = 3.25
for the constellation. This rule of thumb, the Nearest-Neighbor Union bound (NNUB), often
used by practicing data transmission engineers, is formalized in the next subsection.
Definition 1.4.3 (Average Number of Nearest Neighbors) The average number of neigh-
bors, Ne , for a signal constellation is defined as
M
X −1
Ne = Ni · px (i) , (1.119)
i=0
where Ni is the number of neighboring constellation points of the point xi , that is the number
of other signal constellation points sharing a common decision region boundary with xi .
Often, Ne is approximated by
MX−1
Ne ≈ Ñi · px (i) , (1.120)
i=0
where Ñi is the set of points at minimum distance from xi , whence the often used name
“nearest” neighbors. This approximation is often very tight and facilitates computation of
Ne when signal constellations are complicated (i.e., coding is used - see Chapters 6, 7, and
8).
Thus, Ne also measures the average number of sides of the decision regions surrounding any point
in the constellation. These decision boundaries can be at different distances from any given point and
thus might best not be called “nearest.” Ne is used in the following theorem:
Theorem 1.4.4 (Nearest Neighbor Union Bound) The probability of error for the ML
detector on the AWGN channel, with an M -point signal constellation with minimum distance
dmin , is bounded by
d
Pe ≤ Ne · Q min . (1.121)
2σ
In the case that Ne is approximated by counting only “nearest” neighbors, then the NNUB
becomes an approximation to probability of symbol error, and not necessary an upper bound.
42
Proof: Note that for each signal point, the distance to each decision-region boundary must
be at least dmin /2. The probability of error for point xi , Pe/i is upper bounded by the union
bound as
d
Pe/i ≤ Ni · Q min . (1.122)
2σ
Thus,
M −1 M −1
d d
Pe/i · px (i) ≤ Q min Ni · px (i) = Ne · Q min
X X
Pe = . (1.123)
i=0
2σ i=0
2σ
QED.
The previous Examples 1.4.1 and 1.4.2 show that the Q-function multiplier in each case is exactly Ne
for that constellation.
As signal set design becomes more complicated in Chapters 7 and 8, the number of nearest neighbors is
commonly taken as only those neighbors who also are at minimum distance, and Ne is then approximated
by (1.121). With this approximation, the Pe expression in the NNUB consequently becomes only an
approximation rather than a strict upper bound.
where nb (i, j) is the number of bit errors for the particular choice of encoder when symbol i
is erroneously detected as symbol j. This quantity, despite the label using P , is not strictly a
probability.
The bit error rate will always be approximated for the AWGN in this text by:
M
X −1 X
Ni
Pb ≈ px (i)P {εij }nb (i, j) (1.125)
i=0 j=1
M −1 Ni
dmin X X
≤ Q px (i) nb (i, j)
2σ i=0 j=1
M −1
< dmin X
Pb ∼ Q px (i)nb (i)
2σ i=0
d
∼ Nb · Q min
<
(1.126)
2σ
43
where
Ni
∆
X
nb (i) = nb (i, j) , (1.127)
j=1
and the Average Total Bit Errors per Error Event, Nb , is defined as:
M
X −1
Nb = px (i) · nb (i) . (1.128)
i=0
44
EXAMPLE 1.4.3 (8AMPM) The average number of bit errors per error event for 8AMPM
using the octal labeling indicated by the subscripts in Figure 1.33 is computed by
7
X 1
Nb = nb (i)
i=0
8
1
= [(1 + 1 + 2) + (3 + 1 + 2 + 2)+ (1.135)
8
(2 + 1 + 1) + (1 + 2 + 3) + (3 + 2 + 2 + 1)+ (1.136)
+(1 + 1 + 2) + (3 + 1 + 2) + (1 + 2 + 1)] (1.137)
44
= = 5.5 . (1.138)
8
Then
d
Pb ≈ 5.5 · Q min . (1.139)
2σ
Also,
3.25
N̄e = = 1.625 (1.140)
2
so that
d
P̄e ≤ 1.625 · Q min , (1.141)
2σ
and
5.5 d
P̄b ≈ · Q min . (1.142)
3 2σ
Thus the bit error rate is somewhat higher than the normalized symbol error rate. Careful
assignment of bits to symbols can reduce the bit error rate slightly.
45
Dependency between bits and bit errors will change the exact nature of the above formulae, but is usually
ignored in calculations. More common in telecommunications is the derived concept of percentage
error free seconds which is the percentage of seconds that are error free. Thus, if a detector has
P̄b = 10−7 and the data rate is 10 Mbps, then one might naively guess that almost every second contains
errors according to Pe = B · P̄b , and the percentage of error free seconds is thus very low. To be
7
exact, Pef s = (1 − 10−7 )10 = .368, so that the link has 36.8% error free seconds, so actually about
63% of the seconds have errors. Typically large telecommunications networks strive for five nines
reliability, which translates into 99.999% error free seconds. At 10 Mbps, this means that the detector
−7
has P̄b = 1 − e10 ln(.99999) = 2.3 · 10−12 . At lower data rates, five nines is less stringent on the channel
error probability. Data networks today, often designed for bit error rates above 10−12 operate at 10 Mbps
with external “error detection and retransmission” protocols. Retransmission may not be acceptable for
continuous signals like voice or video, so that five nines reliability is often not possible on the data
network – this has become a key issue in the convergence of telecommunications networks (designed
with 5 nines reliability normally for voice transmission over the last 5 decades) and data networks,
designed with higher error rates for data transmission over the last 3 decades. (Often though, the data
network probability error is much better than the specification, so systems may work fine without any
true understanding of the designers as to exactly why. However, Voice (“VoIP”) and video (“IPTV”)
signals on data networks often exhibit quality issues, which is a function of the packet error rate being
too high and also of the failure of retransmission approaches to restore the quality.)
In any case, the probability of symbol and bit error are fundamental to all other measures of network
performance and can be used by the serious communication engineer to evaluate carefully a system’s
performance.
46
1.5 General Classes of Constellations and Modulation
This section describes three classes of modulation that abound in digital data transmission. Each of these
three classes represent different geometric approaches to constellation construction. Three successive
subsections examine the choice of basis functions for each modulation class and develop corresponding
general expressions for the average probability of error Pe for these modulation classes when used on
the AWGN channel. Subsection 1.5.2 discusses cubic constellations (Section 1.6 also investigates some
important extensions to the cubic constellations). Subsection 1.5.3 examines orthogonal constellations,
while Subsection 1.5.4 studies circular constellations.
To compare constellations, some constellation measures are developed first. The cost of modulation
depends upon transmitted power (energy per unit time). A unit of time translates to a number of
dimensions, given a certain system bandwidth, so the energy per dimension is essentially a measure of
power. Given a wider bandwidth, the same unit in time and power will correspond to proportionately
more dimensions, but a lower power spectral density. While somewhat loosely defined, a system with
symbol period T and bandwidth13 W , has a number of dimensions available for signal constellation
construction
N = 2 · W · T dimensions. (1.145)
The reasons for this approximation will become increasingly apparent, but all the methods of this section
will follow this simple rule when the reasonable and obvious definition of bandwidth is applied. Systems
in practice all follow this rule (or have fewer dimensions than this practical maximum) even though it
may be possible to construct signal sets with slightly more dimensions theoretically. The number of
dimensions in any case is a combined measure of the system resources of bandwidth and time - thus,
performance measures and energy are thus often normalized by N for fair comparison. The data rate
concept thus generalizes to the number of bits per dimension:
Definition 1.5.1 (Average Number of Bits Per Dimension) The average number
of bits per dimension, b̄, for a signal constellation x, is
∆ b
b̄ = . (1.146)
N
The related quantity, data rate, is
b
R= . (1.147)
T
Using (1.146), one can compute that
R
2b̄ =
, (1.148)
W
the spectral efficiency of a modulation method which is often used by transmission engineers to
describe an efficiency of transmission (how much data rate per unit of bandwidth). Spectral efficiency
is often described in terms of the unit bits/second/Hz, which is really a measure of double the number
of bits/dimension. Engineers often abbreviated the term bits/second/Hz to say bits/Hz, which is an
(unfortunately) often used and confusing term because the units are incorrect. Nonetheless, experienced
engineers automatically translate the verbal abbreviation bits/Hz to the correct units and interpretation,
bits-per-second/Hz, or simply double the number of bits/dimension.
The concept of power also generalizes to energy per dimension:
Definition 1.5.2 (Average Energy Per Dimension) The average energy per dimen-
sion, Ēx , for a signal constellation x, is
∆ Ex
Ēx = . (1.149)
N
A related quantity is the average power,
Ex
Px = . (1.150)
T
13 It is theoretically not possible to have finite bandwidth and finite time extent, but in practice this can be approximated
closely.
47
Clearly N cannot exceed the actual number of dimensions in the constellation, but the constellation
may require fewer dimensions for a complete representation. For example the two-dimensional constella-
tion in Figure 1.7 can be described using only one basis vector simply by rotating the constellation by 45
degrees. The average power, which was also defined earlier, is a scaled quantity, but consistently defined
for all constellations. In particular, the normalization of basis functions often absorbs gain into the signal
constellation definition that may tacitly conceal complicated calculations based on transmission-channel
impedance, load matching, and various non-trivially calculated analog effects. These effects can also be
absorbed into bandlimited channel models as is the case in Chapters 2, 3, 4, 10 and 11.
The energy per dimension allows the comparison of constellations with different dimensionality. The
smaller the Ēx for a given P̄e and b̄, the better the design. The concatenation of two successively
transmitted N -dimensional signals taken from the same N -dimensional signal constellation as a single
2N -dimensional signal causes the resulting 2N -dimensional constellation, formed as a Cartesian product
of the constituent N -dimensional constellations, to have the same average energy per dimension as the
N -dimensional constellation. Thus, simple concatenation of a signal set with itself does not improve the
design. However, careful packing of signals in increasingly larger dimensional signals sets can lead to
a reduction in the energy per dimension required to transmit a given set of messages, which will be of
interest in this section and throughout this text.
The average power is the usual measure of energy per unit time and is useful when sizing the power
requirements of a modulator or in determining scale constants for analog filter/driver circuits in the
actual implementation. The power can be set equal to the square of the voltage over the load resistance.
The noise energy per dimension for an N -dimensional AWGN channel is
PN 2
¯ σ N0
σ = l=1
2 = σ2 = . (1.151)
N 2
While AWGN is inherently infinite dimensional, by the theorem of irrelevance, a computation of proba-
bility of error need only consider the noise components in the N dimensions of the signal constellation.
For AWGN channels, the signal-to-noise ratio (SNR) is used often by this text to characterize
the channel:
Definition 1.5.3 (SNR) The SNR is
Ēx
SNR = (1.152)
σ2
As shown in Section 1.4, the performance of a constellation in the presence of AWGN depends on
the minimum distance between any two vectors in the constellation. Increasing the distance between
points in a particular constellation increases the average energy per dimension of the constellation.
The “Constellation Figure of Merit.”14 combines the energy per dimension and the minimum distance
measures:
Definition 1.5.4 (Constellation Figure of Merit - CFM ) The constellation figure of
merit, ζx for a signal constellation x, is
d 2
min
∆ 2
ζx = , (1.153)
Ēx
a unit-less quantity, defined only when b̄ ≥ 1.
The CFM ζx will measure the quality of any constellation used with an AWGN channel. A higher
CFM ζx generally results in better performance. The CFM should only be used to compare systems
with equal numbers of bits per dimension b̄ = b/N , but can be used to compare systems of different
dimensionality.
A different measure, known as the “energy per bit,” measures performance in systems with low
average bit rate of b̄ ≤ 1 (see Chapter 10).
14 G. D. Forney, Jr., 8/89 IEEE Journal on Selected Areas in Communication.
48
Definition 1.5.5 (Energy Per Bit) The energy per bit, Eb , in a signal constellation {x}
is:
Ex Ēx
Eb = = . (1.154)
b b̄
This measure is only defined when b̄ ≤ 1 and has no meaning in other contexts.
Definition 1.5.6 (margin) The margin of a transmission system is the amount by which
the argument of the Q-function can be reduced while retaining the probability of error below
a specified maximum that is associated with the margin.
Margin’s are often quoted in transmission design as they give a level of confidence to designers that
unforseen noise increases or signal attenuation will not cause the system performance to become unac-
ceptable.
EXAMPLE 1.5.1 (Margin in DSL) Digital Subscriber Line systems deliver 100’s of kilo-
bits to 10’s of megabits of data over telephone lines and use sophisticated adaptive modulation
systems described later in Chapters 4 and 5. The two modems are located at the ends of
the telephone line at the telephone-company central office and at the customer’s premise.
However, they ultimately also have probability of error specified by a relation of the form
Ne · Q(dmin /2σ). Because noise sources can be unpredictable on telephone lines, which tend
to sense everything from other phone lines’ signals to radio signals to refrigerator doors and
fluorescent and other lights, and because customer-location additional wiring to the modem
can be poor grade or long, a margin of at least 6 dB is mandated at the data rate of service
offered if the customer is to be allowed service. This 6 dB essentially allows performance to
be degraded by a combined factor of 4 in increased noise before costly manual maintenance
or repair service would be necessary.
49
ϕ1 (t )
N=1
ϕ2 t()
ϕ2 t()
ϕ1 (t )
ϕ1 (t ) ϕ 3 (t )
N=2
N=3
Figure 1.35: Cubic constellations for N = 1, 2, and 3.
50
This representation uses the minimum number of basis functions N = 1 to represent BPSK,
rather than N = 2 as in Example 1.1.2.
√1 0 ≤ t < T /2
T
ϕ1 (t) = − √1T T /2 ≤ t < T (1.158)
0 elsewhere
The power spectral density of the modulated signal is related to the Fourier transform Φ1 (f ) of the
pulse ϕ1 (t). The Fourier transform of the NRZ square pulse is a sinc function with zero crossings spaced
at T1 Hz. The basis function for BPL in Equation (1.159) requires approximately twice the bandwidth
of the basis function for NRZ in Equation (1.158), because the Fourier transform of the biphase pulse
is a sinc function with zero crossings spaced at T2 Hz. Similarly BPSK requires double the bandwidth
of NRZ. Both BPSK and BPL are referred to as “rate 1/2” transmission schemes, because for the same
bandwidth they permit only half the transmitted transmission rate compared with NRZ.
51
Quadrature Phase Shift Keying (QPSK)
The basis functions for the two dimensional QPSK constellation are
( q
2 2πt
T cos T 0≤t≤T
ϕ1 (t) = (1.161)
0 elsewhere
( q
2 2πt
T sin T 0≤t≤T
ϕ2 (t) = . (1.162)
0 elsewhere
The transmitted signal is a linear combination of both an inphase (cos) component and a
quadrature (sin) component. The four possible data symbols are
q
Ex
[−1 − 1]
q 2
Ex
2 [−1 + 1]
[x1 x2 ] = q . (1.163)
Ex
[+1 − 1]
q 2
Ex
[+1 + 1]
2
The additional basis function does not require any extra bandwidth with respect to BPSK,
and the average energy Ex remains unchanged. While the minimum distance d2min has
decreased by a factor of two, the number of dimensions has doubled, thus the CFM for
QPSK is ζx = 1 again, as with BPSK.
For performance evaluation, it is easier to compute the average probability of a correct
decision Pc rather than Pe for maximum likelihood detection on the AWGN channel with
equally probable signals. By symmetry of the signal constellation, Pc|i is identical ∀ i =
0, . . . , 3.
3
X
Pc = Pc/i px (i) = Pc/i
i=0
dmin d
= 1−Q 1 − Q min (1.164)
2σ 2σ
dmin 2
dmin
= 1 − 2Q + Q . (1.165)
2σ 2σ
To prove the step from the first to second line, note that the noise in the two dimensions
is independent. The probability of a correct decision requires both noise components to fall
within the decision region, which gives the product in (1.165). Thus
Pe = 1 − Pc (1.166)
2
d d d
= 2Q min − Q min < 2Q min , (1.167)
2σ 2σ 2σ
√ 1/2
hd i2
where dmin = 2Ex = 2Ēx . For reasonable error rates (Pe < 10−2 ), the Q min 2σ
term in (1.168) is negligible, and the bound on the right, which is also the NNUB, is tight.
With a “reasonable” mapping of bits to data symbols (e.g. the Gray code 0 → −1 and
1 → +1), the probability of a bit error P̄b = P̄e for QPSK. Pe for QPSK is twice Pe for
BPSK, but P̄e is the same for both systems. Comparing P̄e is usually more informative.
Block Binary
For hypercubic signal constellations in three or more dimensions, N ≥ 3, the signal points
are the vertices of a hypercube centered on the origin. In this case, the probability of error
generalizes to
dmin N
dmin
Pe = 1 − 1 − Q < NQ . (1.168)
2σ 2σ
52
()
ϕ2 t
()
ϕ2 t
ϕ1 (t )
ϕ1 (t )
N=3
N=2
ϕ 3 (t )
1/2
where dmin = 2Ēx . The basis functions are usually given by ϕn (t) = ϕ(t − nT ), where ϕ(t)
is the square pulse given in (1.158). The transmission of one symbol with the hypercubic
constellation requires a time interval of length N T . Alternatively, scaling of the basis func-
tions in time can retain a symbol period of length T , but the narrower pulse will require N
times the bandwidth as the T width pulses. For this case again ζx = 1. As N → ∞, Pe → 1.
While the probability of any single dimension being correct remains constant and less than
one, as N increases, the probability of all dimensions being correct decreases.
Ignoring the higher order terms Qi , i ≥ 2, the average probability of error is approximately
P̄e ≈ Q(dmin /(2σ)), which equals P̄e for binary antipodal signaling. This example illustrates
that increasing dimensionality does not always reduce the probability of error unless the
signal constellation has been carefully designed. As block binary constellations are just a
concatenation of several binary transmissions, the receiver can equivalently decode each of
the independent dimensions separately. However, with a careful selection of the transmitted
signal constellation, it is possible to drive the probability of both a message error Pe and
a bit error Pb to zero with increasing dimensionality N , as long as the average number of
transmitted bits per unit time does not exceed a fundamental rate known as the “capacity”
of the communication channel. (Chapter 8)
Block Orthogonal
Block orthogonal signal constellations have a dimension, or basis function, for each signal point. The
block orthogonal signal set thus consists of M = N orthogonal signals xi (t), that is
Block orthogonal signal constellations appear in Figure 1.36 for N = 2 and 3. The signal constellation
vectors are, in general, h i p
p
xi = 0 ... 0 Ex 0 ... 0 = Ex ϕi+1 . (1.170)
The CFM should not be used on block orthogonal signal sets because b̄ < 1.
53
As examples of block orthogonal signaling, consider the following two dimensional signal sets.
Return to Zero (RZ) Signaling
RZ uses the following two basis functions for the two-dimensional signal constellation shown
in Figure 1.36:
1
√
T
0≤t≤T
ϕ1 (t) = (1.171)
0 elsewhere
1
√T 0 ≤ t < T /2
ϕ2 (t) = − √1T T /2 ≤ t < T (1.172)
0 elsewhere
“Return to zero” indicates that the transmitted voltage (i.e. the real value of the signal
waveform) always returns to the same value at the beginning of any symbol interval.
As for any binary signal constellation,
"r #
dmin Ex
Pb = Pe = Q =Q . (1.173)
2σ 2σ 2
RZ is 3 dB inferior to binary antipodal signaling, and uses twice the bandwidth of NRZ.
Frequency Shift Keying (FSK)
Frequency shift keying uses the following two basis functions for the two dimensional signal
constellation shown in Figure 1.36.
( q
2 πt
T sin T 0≤t≤T
ϕ1 (t) = (1.174)
0 elsewhere
( q
2 2πt
T sin T 0≤t≤T
ϕ2 (t) = (1.175)
0 elsewhere
The term “frequency-shift” indicates that the sequence of “1’s” and “0’s” in the transmitted
data shifts between two different frequencies, 1/(2T ) and 1/T .
As for any binary signal constellation,
"r #
dmin Ex
Pb = Pe = Q =Q . (1.176)
2σ 2σ 2
54
By the symmetry of the block orthogonal signal constellation, Pe/i = Pe or Pc/i = Pc for all i. For
convenience, the analysis calculates Pc = Pc|i=0 , in which case the ith elements of y are
p
y0 = Ex + n0 (1.179)
yi = ni ∀ i 6= 0 . (1.180)
If a decision is made that message 0 was sent, then hy, x0 i ≥ hy, xi i or equivalently y0 ≥ yi ∀ i 6= 0.
The probability of this decision being correct is
If y0 takes on a particular value v, then since yi = ni ∀ i 6= 0 and since all the noise components are
independent,
The last equation uses the fact that the ni are independent, identically distributed √ Gaussian random
variables N (0, σ 2 ). Finally, recalling that y0 is also a Gaussian random variable N ( Ex , σ 2 ).
Z ∞
1 √ 2
e− 2σ2 (v− Ex ) [1 − Q(v/σ)]
1 N −1
Pc = Pc/0 = √ dv , (1.185)
2πσ 2
−∞
yielding Z ∞
1 √
1
Ex ) 2 N −1
Pe = 1 − √ e− 2σ2 (v− [1 − Q(v/σ)] dv . (1.186)
−∞ 2πσ 2
This function must be evaluated numerically using a computer.
A simpler calculation yields the NNUB, which also coincides with the union bound because the
number of nearest neighbors M −1 equals the total number of neighbors to any point for block orthogonal
signaling. The NNUB is given by
"r #
dmin Ex
Pe ≤ (M − 1)Q = (M − 1)Q . (1.187)
2σ 2σ 2
A plot of performance for several values of N appears in Figure 1.37. As N gets large, performance
improves without increase of SNR, but at the expense of a lower b̄.
Simplex Constellation
For
√ block orthogonal signaling, the mean value of the signal constellation is nonzero, that is E[x] =
( Ex /M )[ 1 1 ... 1 ]. Translation of the constellation by −E[x] minimizes the energy in the signal
constellation without changing the average error probability. The translated signal constellation, known
as the simplex constellation, is
√ √ √ √ 0
s Ex Ex p 1 Ex Ex
xi = − , ..., − , Ex (1 − ), − , ... − , (1.188)
M M M M M
√ 1
where the Ex (1− M ) occurs in the ith position. The superscript s distinguishes the simplex constellation
s
{xi } from the block orthogonal constellation {xi } from which the simplex constellation is constructed.
The energy of the simplex constellation equals
s M −1
Ex = Ex , (1.189)
M
55
0
10
-8
N=8
10
-10
10
0
1
2
3
4
5
6
7
8
9
10
SNR in dB
which provides significant energy savings for small M . The set of data symbols, however, are no longer
orthogonal.
0
hxsi , xsj i = (xi − E[x]) (xj − E[x]) (1.190)
Ex
= Ex δij − hE[x], (xi + xj )i + (1.191)
M
Ex Ex
= Ex δij − 2 + (1.192)
M M
Ex
= Ex δij − . (1.193)
M
By the theorem of translational invariance, Pe of the simplex signal set equals Pe of the block orthogonal
signal set given in (1.187) and bounded in (1.188).
56
t
x0 (t )
2T
4T
6T
8T
x 1 (t )
t
2T
4T
6T
8T
t
x 2 (t )
2T
4T
6T
8T
.
.
. t
x M −1 (t )
2T 4T 6T 8T
x0 (t )
t
2T
4T
6T
8T
x1 (t ) t
2T
4T
6T
8T
x 2 (t )
t
2T
4T
6T
8T
.
.
.
x M −1 (t )
t
2T
4T
6T
8T
57
Biorthogonal Signal Constellations
A variation on block orthogonal signaling is the biorthogonal signal set, which doubles the size of the
signal set from M = N to M = 2N by including the negative of each of the data symbol vectors in the
signal set. From this perspective, QPSK is both a biorthogonal signal set and a cubic signal set.
The probability of error analysis for biorthogonal constellations parallels that for block orthogonal
signal sets. As with orthogonal signaling, because all the signals are equally likely and of equal energy,
the constants ci in the signal detector in Figure 1.24 can be omitted, and the MAP receiver becomes
If x0 was sent, then a correct decision is made if hy, x0 i ≥ hy, xi i or equivalently if y0 ≥ |yi | ∀ i 6= 0.
Thus
Pc/0 = P {y0 ≥ |yi |, ∀ i 6= 0|0 was sent} . (1.197)
Suppose y0 takes on a particular value v ∈ [0, ∞), then since the noise components ni are iid
N
Y −1
Pc/0,y0 =v = P {|ni | ≤ v} (1.198)
i=1
N −1
= [1 − 2Q(v/σ)] . (1.199)
If y0 < 0, then an incorrect decision is guaranteed if symbol zero was sent. (The reader should visualize
the decision regions for this constellation). Thus
Z ∞
1 √ 2
e− 2σ2 (v− Ex ) [1 − 2Q(v/σ)]
1 N −1
Pc = Pc/o = √ dv , (1.200)
2πσ 2
0
yielding Z ∞
1 √ 2
e− 2σ2 (v− Ex )
1 N −1
Pe = 1 − √ [1 − 2Q(v/σ)] dv . (1.201)
0 2πσ 2
This function can be evaluated numerically using a computer.
Using the NNUB, which is slightly tighter than the union bound because the number of nearest
neighbors is M − 2 for biorthogonal signaling,
"r #
dmin Ex
Pe ≤ (M − 2)Q = 2(N − 1)Q . (1.202)
2σ 2σ 2
58
which is inferior to block binary signaling for any constellation with M > 4. The NNUB on error
probability is tight and equal to "√ #
π
Ex sin M
Pe < 2Q , (1.205)
σ
for all M .
59
x0 xM xM xM −1
2
−1 2
+1
m=0 m= M
2 −1 m = M
2 +1 m = M −1
…
…
ϕ1
3d
− ( )
M −1 d − 5d − − d d 3d 5d ( )
M −1 d
2 2 2 2 2 2 2
2
60
(M −1)d
or another “Nyquist” pulse shape (see Chapter 3). The data-symbol amplitudes are ± d2 , ± 3d 5d
2 , ± 2 , ..., ± 2 ,
and all input levels are equally likely. The minimum distance between points in a PAM constellation
abbreviates as
dmin = d . (1.208)
Both binary antipodal and “2B1Q” are examples of PAM signals.
The average energy of a PAM constellation is
M/2 2
1 X 2k − 1
Ex = Ēx = (2) d2 (1.209)
M 2
k=1
M/2
d2 X
= (4k 2 − 4k + 1) (1.210)
2M
k=1
d2 (M/2)3 (M/2)2 (M/2)2
(M/2) (M/2) M
= 4 + + −4 + + (1.211)
2M 3 2 6 2 2 2
d2 M 3
M
= − . (1.212)
2M 6 6
This PAM average energy is expressed in terms of the minimum distance and constellation size as
d2 2
Ex = Ēx = M −1 . (1.213)
12
The PAM minimum distance is a function of Ex and M :
r
12Ex
d= . (1.214)
M2 − 1
Finally, given distance and average energy,
1 Ēx
b̄ = log2 M = log 12 2 + 1 . (1.215)
2 d
Figure 1.40 shows that the decision region for an interior point of PAM extends over a length d
interval centered on that point. The Voronoi region of the constellation thus extends for an interval of
M d over [−L, L] where L = M2d . The continuous approximation for PAM assumes a uniform distribution
on this interval (−L, L), and thus approximates the average energy of the constellation as
L
x2 L2 M 2 d2
Z
Ex = Ēx ≈ dx = = . (1.216)
−L 2L 3 12
2
The approximation for the average energy does not include the constant term − d12 , which becomes
insignificant as M becomes large.
Since M = 2b̄ , then M 2 = 4b̄ , leaving alternative relations (b̄ = b for N = 1) for (1.214) and (1.215)
d2 b d2 h b̄ i
Ex = Ēx = 4 −1 = 4 −1 , (1.217)
12 12
and r
12Ex
d= . (1.218)
4b − 1
The following recursion derives from increasing the number of bits, b = b̄, in a PAM constellation while
maintaining constant minimum distance between signal points:
d2
Ēx (b + 1) = 4Ēx (b) + . (1.219)
4
61
d
2σ for P̄e = 10−6 ≈ SNR = SNR increase =
d (M 2 −1)·101.37 M 2 −1
b = b̄ M 2Q min 2σ 3 (M −1)2 −1
1 2 13.7dB 13.7dB —
2 4 13.7dB 20.7dB 7dB
3 8 13.7dB 27.0dB 6.3dB
4 16 13.7dB 33.0dB 6.0dB
5 32 13.7dB 39.0dB 6.0dB
Thus for moderately large b, the required signal energy increases by a factor of 4 for each additional bit
of information in the signal constellation. This corresponds to an increase of 6dB per bit, a measure
commonly quoted by communication engineers as the required SNR increase for a transmission scheme
to support an additional bit-per-dimension of information.
The PAM probability of correct symbol detection is
M
X −1
Pc = Pc|i px (i) (1.220)
i=0
M −2 dmin 2 dmin
= 1 − 2Q + 1−Q (1.221)
M 2σ M 2σ
2M − 4 + 2 d
= 1− Q min (1.222)
M 2σ
1 d
= 1−2 1− Q min (1.223)
M 2σ
The average number of nearest neighbors for the constellation is 2(1 − 1/M ); thus, the NNUB is exact
for PAM. Thus r !
1 3
Pe = 2 1 − Q SN R (1.225)
M M2 − 1
EXAMPLE 1.6.1 (56K voiceband modem) The 56 kbps voiceband modem of Figure
1.41 can be viewed as a PAM modem with 128 levels, or b = 7, and a symbol rate of 8000
Hz. Thus, the data rate is R = b/T = 56, 000 bits per second. The 8000Hz is thus consistent
with the maximum allowed bandwidth of a voice-only telephone-network connection (4000
Hz) that is imposed by network switches that sample also at 8000Hz and the clock is supplied
from the network to the internet service provider’s modem as shown. The modulator is
curiously and tacitly implemented by the combination of the network connection and the
eventual DAC (digital-to-analog converter) at the beginning of the customer’s analog phone
62
8000
Hz
Network
Clock
Digital
Source
Digital
Voice
ISP
(Internet
DAC
&
PAM
Network
Receiver
Customer
Service
Filter
Encoder*
Digital
connec>on
Connec>on
Provider)
(no
modulator)
computer
(4000
Hz
max)
v.90
Telephone
v.90
“digital”
line
“analog”
modem
modulator
modem
*the PAM levels are not equally spaced in v.90 – instead they are chosen to match the levels of the so-‐called “voice
codecs”
(µ-‐law
in
US,
A-‐law
interna>onally)
that
are
matched
to
best
capture
of
analog
voice
signals
and
unfortunately
all
that
is
available
for
the
v.90
modem
path
even
if
worse
than
equally
spaced
PAM
for
data
traffic.
7
effec>ve
bits/symbol
are
transmi[ed,
but
an
8th
redundant
bit
is
also
sent
for
use
with
coding
as
in
Chapters
8-‐10.
line. A special receiver structure known as a DFE (see Chapter 3) converts the telephone
line into an AWGN with an SNR sufficiently high to carry 128PAM. This particular choice of
modulator implementation avoids the distortion that would be introduced by an extra ADC
and DAC on the Internet Service Provider’s phone line (and which are superfluous as that
Internet Service Provider most often has a digital high-speed connection by fiber or other
means to the network).
The levels are not equally spaced in most implementations, an artifact only of the fact
that the network DAC is not a uniform-DAC, and instead chooses its levels for best voice
transmission, which is not the best for data transmission. Yet higher-speed DSL versions
of the same system, allow a higher-speed connection through the network, and use a new
”DAC” in what is called a DSLAM that replaces the voice connection to the subscriber.
The sinc(t/T ) term may be replaced by any Nyquist pulse shape as discussed in Chapter 3. The ωc is a
radian carrier frequency that is discussed for in Chapters 2 and 3; for now, ωc ≥ π/T .
from the first set in the Cartesian product, and the second coordinate taken from the second set in the Cartesian product.
63
( M −1 d
2
) ϕ2
.
.
.
5d
2
16QAM
3d
2
4QAM
d
2
−( )
M −1 d
…
− 5d
− 3d
− d2 d 3d 5d ( )
M −1 d
2 2 2 2 2 2
…
2
ϕ1
− d2
− 3d2
− 5d2
.
.
.
−( M −1 d
2
)
64
√
from the Cartesian product of two M -PAM constellations. √For b̄ bits per dimension, the M = 4b̄ signal
( M −1)d
points are placed at the coordinates ± d2 , ± 3d 5d
2 , ± 2 , ..., ± 2 in each dimension.
The average energy of square QAM constellations is easily computed as
√
M
1 X 2
xi + x2j
EM −QAM = Ex = 2Ēx = (1.228)
M i,j=1
√ √
M M
1 √ X 2 √ X 2
= M xi + M xj (1.229)
M i=1 j=1
√
M
1 X 2
= 2 √ xi (1.230)
M i=1
= 2E√M −PAM (1.231)
M −1
= d2 (1.232)
6
Since M = 4b̄ , alternative relations for (1.234) and (1.235) in terms of the average bit rate b̄ are
Ex d2 h b̄ i
Ēx = = 4 −1 , (1.235)
2 12
and s
12Ēx
d= . (1.236)
4b̄ − 1
Finally,
1 6Ex 1 12Ēx
b̄ = log2 +1 = log2 +1 , (1.237)
2 d2 2 d2
the same as for a PAM constellation.
2 2
For large M , Ēx ≈ d12 M = d12 4b̄ , which is the same as that obtained by using the continuous
approximation. The continuous approximation for two dimensional QAM uses a uniform constellation
over the square defined by [±L, ±L],
L L
x2 + y 2 L2
Z Z
Ex ≈ 2
dxdy = 2 , (1.238)
−L −L 4L 3
√
or L = 1.5Ex . Since the Voronoi region for each signal point in a QAM constellation has area d2
4 · L2 6Ex 12Ēx
M≈ = 2 = . (1.239)
d2 d d2
This result agrees with Equation 1.234 for large M .
65
As the number of points increases, the energy-computation error caused by using the continuous
approximation becomes negligible.
Increasing the number of bits, b, in a QAM constellation while maintaining constant minimum
distance, we find the following recursion for the increase in average energy:
d2
Ex (b + 1) = 2Ex (b) + . (1.240)
6
Asymptotically the average energy increases by 3dB for each added bit per two dimensional symbol.
The probability of error can be exactly computed for QAM by noting that the conditional probability
of a correct decision falls into one of 3 categories:
1. corner points (4 points with only 2 nearest neighbors)
2
d
Pc|corner = 1−Q (1.241)
2σ
√
2. inner points ( M − 2)2 points with 4 nearest neighbors)
2
d
Pc|inner = 1 − 2Q (1.242)
2σ
√
3. edge points 4( M − 2) points with 3 nearest neighbors)
d d
Pc|edge = 1 − Q 1 − 2Q . (1.243)
2σ 2σ
d
The probability of being correct is then (abbreviating Q ← Q 2σ )
M
X −1
Pc = Pc/i px (i) (1.244)
i=0
√ √
4 2 ( M − 2)2 2 4( M − 2)
= (1 − Q) + (1 − 2Q) + (1 − 2Q) (1 − Q) (1.245)
M M M
1 h √
= (4 − 8Q + 4Q2 ) + (4 M − 8)(1 − 3Q + 2Q2 ) (1.246)
M
√ i
+(M − 4 M + 4)(1 − 4Q + 4Q2 ) (1.247)
1 h √ √ i
= M + (4 M − 4M )Q + (4 − 8 M + 4M )Q2 (1.248)
M
1 1
= 1 + 4( √ − 1)Q + 4( √ − 1)2 Q2 (1.249)
M M
Thus, the probability of symbol error is
2 2
1 d 1 d 1 d
Pe = 4 1 − √ Q −4 1− √ Q <4 1− √ Q . (1.250)
M 2σ M 2σ M 2σ
√
The average number of nearest neighbors for the constellation equals 4(1 − 1/ M ), thus for QAM the
NNUB is not exact, but usually tight. The corresponding normalized NNUB is
"r #
1 d 1 3
P̄e ≤ 2 1 − b̄ Q = 2 1 − b̄ Q SN R , (1.251)
2 2σ 2 M −1
which equals the PAM result. For Pe = 10−6 , one determines that d
2σ ≈ 4.75 (13.5dB). Table 1.2 relates
66
d
2σ for P̄e =10−6 ≈ SNR = SNR increase =
d
(M −1)·101.37
b = 2b̄ M 2Q min 2σ 3
M −1
(M −1)−1 dB/bit
2 4 13.7dB 13.7dB — —
4 16 13.7dB 20.7dB 7.0dB 3.5dB
6 64 13.7dB 27.0dB 6.3dB 3.15dB
8 256 13.7dB 33.0dB 6.0dB 3.0dB
10 1024 13.7dB 39.0dB 6.0dB 3.0dB
12 4096 13.7dB 45.0dB 6.0dB 3.0dB
14 16,384 13.7dB 51.0dB 6.0dB 3.0dB
d
b̄, M , 2σ , the SNR, and the required increase in SNR (or equivalently in Ēx ) to transmit an additional
bit of information.
As with PAM for average bit rates of b̄ > 2, the approximation of 3dB per bit per two-dimensional
additional for the average energy increase is accurate.
The constellation figure of merit for square QAM is
3 3 3
ζx = = b̄ = b . (1.252)
M −1 4 −1 2 −1
When b is odd, it is possible to define a SQ QAM constellation by taking every other point from a b + 1
SQ QAM constellation. (See Problem 1.14.)
A couple of examples illustrate the wide use of QAM transmission.
EXAMPLE 1.6.2 (Cable Modem) Cable modems use existing cable-TV coaxial cables
for two-way transmission (presuming the cable TV provider has sent personnel to the various
unidirectional blocking points in the network and replaced them with so-called ”diplex”
filters). Early cable modem conventions (i.e., DOCSIS) use 4QAM in both directions of
transmission. The downstream direction from cable TV end to customer is typically at a
carrier frequency well above the used TV band, somewhere between 300 MHz and 500 MHz.
The upstream direction is below 50 MHz, typically between 5 and 40 MHz. The symbol rate
is typically 1/T =2MHz so the data rate is 4 Mbps on any given carrier. Typically about
10 carriers can be used (so 40 Mbps maximum) and each is shared by various subgroups
of customers, each customer within a subgroup typically getting 384 kbps in fair systems
(although some customers can “hog” all the 4 Mbps and systems for resolving such customer-
use are evolving).
EXAMPLE 1.6.3 (Satellite TV Broadcast) Satellite television uses 4QAM in for broad-
cast transmission at one of 20 carrier frequencies between 12.2 GHz to 12.7 GHz from satellite
to customer receiver for some suppliers and satellites. Corresponding carriers between 17.3
and 17.8 GHz are used to send the signals from the broadcaster to the satellite, again with
4 QAM. The symbol rate is 1/T = 19.151 MHz, so the aggregate data rate is 38.302 Mbps
on any of the 20 carriers. A typical digital TV signal is compressed into about 2-3 Mbps
allowing for 4-16 channels per carrier/QAM signal. (Some stations watched by many, for
instance sports, may get a larger allocation of bandwidth and carry a higher-quality image
than others that are not heavily watched. A high-definition TV channel (there are only 4
presently) requires 20 Mbps if sent with full fidelity. Each carrier is transmitted in a 24
MHz transponder channel on the satellite – these 24 MHz channels were originally used to
broadcast a single analog TV channel, modulated via FM unlike terrestrial analog broadcast
television (which uses only 6 MHz for analog TV).
67
2b-3
points
Inner
Square
2b-3 2b-3
2b-‐1
points points
points
2b-3
points
68
ϕ2
ϕ1
d2 31 b 2 d2 31
= 2 − = M −1 (1.261)
4 48 3 6 32
The minimum distance dmin = d can be computed from Ex (or Ēx ) and M by
s s s
6Ex 12Ēx 12Ēx
d= 31 = 31 = 31 b̄
. (1.262)
32 M − 1 32 M − 1 32 4 − 1
2 2
In (1.262), for large M , Ex ≈ 31d 31d b̄
192 M = 192 4 , the same as the continuous approximation.
The following recursion derives from increasing the number of bits, b, in a QAM cross constellation
while maintaining constant minimum distance:.
d2
Ex (b + 1) = 2Ex (b) + . (1.263)
6
As with the square QAM constellation asymptotically the average energy increases by 3 dB for each
added bit per two dimensional symbol.
The probability of error can be bounded for QAM Cross by noting that a lower bound on the
conditional probability of a correct decision falls into one of two categories:
n b−3 b−5
o n b−1 o
1. inner points ( 2b − 4 3 · 2 2 − 2 · 2 2 = 2b − 4 2 2 ) with four nearest neighbors
dmin 2
Pc/inner = 1 − 2Q (1.264)
2σ
b−3 b−5
b−1
2. side points (4 3 · 2 2 − 2 · 2 2 = 4 2 2 ) with three nearest neighbors. (This calculation is
only a bound because some of the side points have fewer than three neighbors at distance dmin )
dmin dmin
Pc/outer = 1 − Q 1 − 2Q . (1.265)
2σ 2σ
hd i
The probability of a correct decision is then, abbreviating Q = Q min ,
2σ
1 h b−1 i
Pc ≥ 4 2 2 (1 − Q)(1 − 2Q) (1.266)
M
69
d
2σ for P̄e =10−6 ≈ SNR = SNR increase =
d
([31/32]·M −1)·101.37 [31/32]·M −1
b = 2b̄ M 2Q min 2σ 3 [32/32]·(M −1)−1 dB/bit
5 32 13.7dB 23.7 dB — —
7 128 13.7dB 29.8dB 6.1dB 3.05dB
9 512 13.7dB 35.8dB 6.0dB 3.0dB
11 2048 13.7dB 41.8dB 6.0dB 3.0dB
13 8192 13.7dB 47.8dB 6.0dB 3.0dB
15 32,768 13.7dB 53.8dB 6.0dB 3.0dB
1 hn b b−1 o i
+ 2 −4 2 2 (1 − 2Q)2 (1.267)
M
1 h b−1
h b+3
i i
= 4 · 2 2 (1 − 3Q + 2Q2 ) + 2b − 2 2 (1 − 4Q + 4Q2 ) (1.268)
M h i h i
3−b 5−b 5−b
= 1 − −2 2 +4 Q+ 2 2 −2·2 2 + 4 Q2 (1.269)
70
VSB Vestigial sideband modulation (VSB) is an alternative modulation
p method that is equivalent to
QAM. In QAM, typically the same unit-energy basis function ( 1/T sinc(t/T )) is “double-side-band
modulated” independently by the sine and cosine of a carrier to generate the two QAM basis functions.
In VSB, a double bandwidth sinc function and its Hilbert transform (see Chapter 2 for a discussion of
Hilbert transforms) are “single-side-band modulated.” The two VSB basis functions are16
r
1 2t
ϕ1 (t) = sinc cos ωc t , . (1.274)
T T
r
1 t πt
ϕ2 (t) = sinc sin( ) sin ωc t . (1.275)
T T T
A natural symbol-rate choice for successive transmission with these two basis functions might appear to
be 2/T , twice the rate associated with QAM. However, successive translations of these basic functions
by integer multiples of T /2 are not orthogonal – that is < ϕi (t), ϕj (t − T /2) >6= δij ; however, <
ϕi (t), ϕj (t − kT ) >= δij for any integer k. Thus, the symbol rate for successive orthogonal transmissions
needs to be 1/T .
VSB designers often prefer to exploit the observation that < ϕ1 (t), ϕ2 (t − kT /2) >= 0 for all odd
integers k to implement the VSB transmission system as one-dimensional time-varying at rate 2/T
dimensions per second. The first and second dimensions are alternately implemented at an aggregate
rate of 2/T dimensions per second. The optimum receiver consists of two matched filters to the two
basis functions, which have their outputs each sampled at rate 1/T (staggered by T /2 with respect to
one another), and these samples interleaved to form a single one-dimensional sample stream for the
detector. Nonetheless, those same designers call the VSB constellations by two-dimensional names.
Thus, one may hear of 16 VSB or 64 VSB, which are equivalent to 16 QAM (or 4 PAM) and 64 QAM
(8 PAM) respectively. VSB transmission may be more convenient for upgrading existing analog systems
that are already VSB (i.e., commercial television) to digital systems that use the same bandwidths and
carrier frequencies - that is where the carrier frequencies are not centered within the existing band. VSB
otherwise has no fundamental advantages or differences from QAM.
CAP Carrierless Amplitude/Phase (CAP) transmission systems are also very similar to QAM. The
basis functions of QAM are time-varying when ωc is arbitrary – that is, the basis functions on subsequent
transmissions may differ. CAP is a method that can eliminate this time variation for any choice of
carrier-frequency, making the combined transmitter implementation appear “carrierless” and thus time-
invariant. CAP has the same one-shot basis functions as QAM, but also has a time-varying encoder
constellation when used for successive transmission of two-dimensional symbols. The time-varying CAP
encoder implements a sequence of additional two-dimensional constellation rotations that are known
and easily removed at the receiver after the demodulator and just before the detector. The time-varying
encoder usually selects the sequence of rotations so that the phase (argument of sines and cosines) of
the carrier is the same at the beginning of each symbol period, regardless of the actual carrier frequency.
Effectively, all carrier frequencies thus appear the same, hence the term “carrierless.” The sequence of
rotations has an angle that increases linearly with time and can often be very easily implemented (and
virtually omitted when differential encoding - see Chapter 4 - is implemented). See Section 2.4.
OQAM Offset QAM (OQAM) or “staggered” QAM uses the alternative basis functions
r
2 t πt
ϕ1 (t) = sinc cos (1.276)
T T T
r
2 t − T /2 πt
ϕ2 (t) = − sinc sin (1.277)
T T T
effectively “offseting” the two dimensions by T /2. For one-shot transmission, such offset has no effect (the
receiver matched filters effectively re-align the two dimensions) and OQAM and QAM are the same. For
16 This simple description is actually single-side-band (SSB), a special case of VSB. VSB uses practical realizable functions
instead of the unrealizable sinc functions that simplify fundamental developments in Chapter 1.
71
successive transmission, the derivative (rate of change) of x(t) is less for OQAM than for QAM, effectively
reducing the bandwidth of transmitted signals when the sinc functions cannot be perfectly implemented.
OQAM signals will never take the value x(t) = 0, while this value is instantaneously possible with QAM
– thus nonlinear transmitter/receiver amplifiers are not as stressed by OQAM. There is otherwise no
difference between OQAM and QAM.
The Gap
The gap, Γ, is an approximation introduced by Forney for constellations with b̄ ≥ 1/2 that is empirically
evident in the PAM and QAM tables. Specifically, if one knows the SNR for an AWGN channel, the
number of bits that can be transmitted with PAM or QAM according to
1 SNR
b̄ = log2 1 + . (1.278)
2 Γ
At error rate P̄e = 10−6 , the gap is 8.8 dB. For P̄e = 10−7 , the gap is 9.5 dB. If the designer knows
the SNR and his desired performance level (P̄e ) or equivalently the gap, then the number of bits per
dimension (and thus the achievable data rate R = b/T ) are immediately computed. Chapters 8-10
will introduce more sophisticated encoder designs where the gap can be reduced, ultimately to 0 dB,
enabling a highest possible data rate of .5 log2 (1 + SNR), sometimes known as the “channel capacity”
of the AWGN channel. QAM and PAM are thus about 9 dB away in terms of efficient use of SNR from
ultimate limits.
Coding Gain
Of fundamental importance to the comparison of two systems that transmit the same number of bits
per dimension is the coding gain, which specifies the improvement of one constellation over another
when used to transmit the same information.
Definition 1.6.2 (Coding Gain) The coding gain (or loss), γ, of a particular constella-
tion with data symbols {xi }i=0,...,M −1 with respect to another constellation with data symbols
{x̃i }i=0,...,M −1 is defined as
2
dmin (x)/ Ēx ζ
γ=
∆
= x , (1.279)
d2min (x̃)/Ēx̃ ζx̃
where both constellations are used to transmit b̄ bits of information per dimension.
A coding gain of γ = 1 (0dB) implies that the two systems perform equally. A positive gain (in dB)
means that the constellation with data symbols x outperforms the constellation with data symbols x̃.
As an example, we compare the two constellations in Figures 1.31 and 1.33 and obtain
2
ζx (8AMPM) 10
γ= = 2 ≈ 1.37 (1.4dB) . (1.280)
ζx (8PSK) sin ( π8 )
Signal constellations are often based on N -dimensional structures known as lattices. (A discussion
of lattices appears in Chapter 8.) A lattice is a set of vectors in N -dimensional space that is closed
under vector addition – that is, the sum of any two vectors is another vector in the set. A translation of
a lattice produces a coset of the lattice. Most good signal constellations are chosen as subsets of cosets
of lattices. The fundamental volume for a lattice measures the region around a point:
72
Definition 1.6.3 (Fundamental Volume) The fundamental volume V(Λ) of a lattice Λ
(from which a signal constellation is constructed) is the volume of the decision region for
any single point in the lattice. This decision region is also called a Voronoi Region of
the lattice. The Voronoi Region of a lattice, V(Λ), is to be distinguished from the Voronoi
Region of the constellation, Vx the latter being the union of M of the former.
= γf + γs (dB) (1.282)
The two quantities on the right in (1.283) are called the fundamental gain γf and the shaping
gain γs respectively.
Definition 1.6.4 (Fundamental Gain) The fundamental gain γf of a lattice, upon which
a signal constellation is based, is
(x)
2
d
min2/N
∆ V(Λ)
γf = . (1.283)
d2 (x̃)
min2/N
˜
V(Λ)
The fundamental gain measures the efficiency of the spacing of the points within a particular
constellation per unit of fundamental volume surrounding each point.
Definition 1.6.5 (Shaping Gain) The shaping gain γs of a signal constellation is defined
as 2/N
V(Λ)
Ēx
γs = . (1.284)
˜ 2/N
V(Λ)
Ēx̃
The shaping gain measures the efficiency of the shape of the boundary of a particular con-
stellation in relation to the average energy per dimension required for the constellation.
Using a continuous approximation, the designer can extend shaping gain to constellations with different
numbers of points as
V(Λ)2/N
Ēx
· 22b̄(x)
γs = . (1.285)
˜ 2/N
V(Λ)
· 2 2b̄(x̃)
Ēx̃
73
into the other channel, causing an impulsive noise hit and an unexpected error in the adjacent system.
Thus, the Peak-to-Average Power Ratio (PAR) is a measure of immunity to these important types of
effects.
The peak energy is:
Definition 1.6.6 (Peak Energy) The N -dimensional peak energy for any signal constel-
lation is Epeak .
N
∆
X
Epeak = max x2in . (1.286)
i
n=1
The peak energy of a constellation should be distinguished from the peak squared energy of a signal
x(t), which is maxi,t |xi (t)|2 . This later quantity is important in analog amplifier design or equivalently
in however the filters ϕn (t) are implemented.
The peak energy of a constellation concept allows precise definition of the PAR:
Definition 1.6.7 (Peak-to-Average Power Ratio) The N −dimensional Peak-to-Average
Power Ratio, PARx , for N -dimensional Constellation is
Epeak
PARx = (1.287)
Ex
For example 16SQ QAM has a PAR of 1.8 in two dimensions. For each of the one-dimensional 4-PAM
constellations that constitute a 16SQ QAM constellation, the one-dimensional PAR is also 1.8. These
two ratios need not be equal, however, in general. For instance, for 32CR, the two-dimensional PAR is
34/20 = 1.7, while observation of a single dimension when 32CR is used gives a one-dimensional PAR of
25/(.75(5) + .25(25)) = 2.5. Typically, the peak squared signal energy is inevitably yet higher in QAM
constellations and depends on the choice of ϕ(t).
If the minimum distance between any two points is d in both constellations, then the fundamental gain
of the hexagonal constellation with respect to the QAM constellation is
d2 2
γf = √ = √ = .625dB . (1.289)
3d2 3
2
The encoder/detector for constellations based on the hexagonal lattice may be more complex than
those for QAM.
74
d
2
75
n (t )
x (t )
x(t ) h(t ) +
y (t )
76
N
X
= xin {h(t) ∗ ϕn (t)} (1.292)
n=1
N
X
= xin φn (t) , (1.293)
n=1
where
∆
φn (t) = h(t) ∗ ϕn (t) . (1.294)
Note that:
If the set {φn (t)} is linearly independent then the sum in (1.296) must be nonzero: a contradiction
to (1.296). If this set of vectors is linearly dependent, then (1.296) can be satisfied, resulting in the
possibility of ambiguous transmitted signals. Failure to meet the linear independence condition could
mandate a redesign of the modulated signal set or a rate reduction (decrease of M ). The dimensionality
loss and ensuing redesign of {xi (t)}i=0:M −1 is studied in Chapters 4 and 5. This chapter assumes such
dimensionality loss does not occur.
If the set {φn (t)} is linearly independent, then the Gram-Schmidt procedure in Appendix A generates
an orthonormal set of N basis functions {ψn (t)}n=1,...,N from {φn (t)}n=1,...,N . A new signal constellation
{x̃i }i=0:M −1 can be computed from the filtered signal set {x̃i (t)} using the basis set {ψn (t)}.
Z ∞
x̃in = x̃i (t)ψn (t)dt = hx̃i (t), ψn (t)i . (1.296)
−∞
Using the previous analysis for AWGN, a tight upper bound on message error probability is still given
by
dmin
P e ≤ Ne Q , (1.297)
2σ
where dmin is the minimum Euclidean distance between any two points in the filtered signal constellation
{x̃i }i=0:M −1 . The matched filter implementation of the demodulator/detector does not need to compute
{ψn (t)}n=1,...,N for the signal detector as shown in Figure 1.47. (For reference the reader can reexamine
the detector for the unfiltered constellation in Figure 1.24).
In the analysis of the filtered AWGN, the transmitted average energy Ex is still measured at the
channel input. Thus, while Ex̃ can be computed, its physical significance can differ from that of Ex . If,
as is often the case, the energy constraint is at the input to the channel, then the comparison of various
signaling alternatives, as performed earlier in this chapter could change depending on the specific filter
h(t).
77
c0
( )
x0 T - t +
c1
Max
()
y t ()
h t ( )
x1 T - t +
.
.
&
Decode
m̂
.
.
.
cM −1
.
( )
X M -1 T - t +
t =T
Figure 1.47: Modified signal detector (each filter can become Lx filters for MIMO).
nc (t )
N0
Sn ( f )= ⋅ Sn ( f )
2
x(t ) + ŷ (t )
78
need not equal N20 δ(τ ). Simplification of the ensuing development defines and uses a normalized noise
autocorrelation function
∆ rn (τ )
r̄n (τ ) = N0 . (1.298)
2
The power spectral density of the unnormalized noise is then
N0
Sn (f ) = S̄n (f ) , (1.299)
2
where S̄n (f ) is the Fourier Transform of r̄n (τ ).
then there exists a G(f ) satisfying (1.301) with a realizable inverse. (Thus the filter g(t) is
a 1-to-1 mapping).
If the Paley-Wiener criterion were violated by a noise signal, then it is possible to design transmission
systems with infinite data rate (that is when Sn (f ) = 0 over a given bandwidth) or to design transmission
systems for each band overwhich Paley-Wiener is satisfied (that is the bands where noise is essentially of
finite energy). This subsection’s analysis always assumes Equation (1.302) is satisfied.17 With a 1-to-1
g(t) that satisfies (1.301), the ACGN channel converts into an equivalent filtered white Gaussian noise
channel as shown in Figure 1.46 replacing h(t) with g(t) . The performance analysis of ACGN is identical
to that derived for the filtered AWGN channel in Subsection 1.7.1.
A further refinement handles the filtered ACGN channel by whitening the noise and then analyzing
the filtered AWGN with h(t) replaced by h(t) ∗ g(t).
Analytic continuation of S̄n (s) determines an invertible g(t):
s
S̄n (s) = S̄n f = , (1.302)
2π
where S̄n (s) can be canonically (and uniquely) factored into causal (and causally invertible) and anti-
causal (and anticausally invertible) parts as
79
where
S̄n+ (s) = S̄n− (−s) . (1.304)
If S̄n (s) is rational, then S̄n+ (s) is “minimum phase,” i.e. all poles and zeros of S̄n+ (s) are in the left half
plane. The filter g(t) is then given by
1
g(t) = L−1 (1.305)
S̄n+ (s)
where L−1 is the inverse Laplace Transform. The matched filter g(−t) is given by g(−t) = 2π 1
G(s)e−st ds,
H
or equivalently by
−1 1
g(−t) = L . (1.306)
S̄n− (s)
g(−t) is anticausal and cannot be realized. Practical receivers instead realize g(T − t), where T is
sufficiently large to ensure causality.
In general g(t) may be difficult to implement by this method; however, the next subsection considers
a discrete equivalent of whitening that is more straightforward to implement in practice. When the noise
is complex (see Chapter 2), Equation (1.305) generalizes to
∗
S̄n+ (s) = S̄n− (−s∗ )
. (1.307)
Whitening of the MIMO channel will typically consist of an inverted matrix-square-root constant
matrix to remove any spatial correlation between noises of different parallel channels, then followed by
a scalar further whitening in time-frequency as in this subsection. (Practically, the same noise is hitting
the different antennas or wires and this is spatially removed by the square root with the remaining core
noise then whitened. More generally, this whitening can be handled in the practical discrete-time cases
as shown in Chapters 4 and 5.)
y =x+n , (1.308)
Both Rn and R¯n are positive definite matrices. This discrete ACGN channel can often be substituted for
the continuous ACGN channel. MIMO applies here directly with the correlation of noise now introducing
a dependency of sorts between the parallel channels. All analysis proceeds identically, MIMO or not.
The discrete noise vector can be “whitened”, transforming R¯n into an identity matrix. The discrete
equivalent to whitening y(t) by g(t) is a matrix multiplication.
The N × N whitening matrix in the discrete case corresponds to the whitening filter g(t) in the
continuous case.
Cholesky factorization determines the invertible whitening transformation according (see Appendix
A of Chapter 3):
1/2 ∗/2
R¯n = R̄ R̄ , (1.310)
1/2 ∗/2
where R̄ is lower triangular and R̄ is upper triangular. These matrices constitute the matrix
equivalent of a “square root”, and both matrices are invertible. Noting the definitions,
1/2 −1
h i
−/2 ∆
R̄ = R̄ , (1.311)
and
∗/2 −1
h i
−∗/2 ∆
R̄ = R̄ , (1.312)
80
x2 ϕ2
x1
1
1
ϕ1
-‐1
-‐1
x3 x0
−/2
To whiten n, the receiver passes y through the matrix multiply R̄ ,
∆ −/2 −/2 −/2
ỹ = R̄ y = R̄ x + R̄ n = x̃ + ñ . (1.313)
Thus, the covariance matrix of the transformed noise ñ is the same as the covariance matrix of the
AWGN vector. By the theorem of reversibility, no information is lost in such a transformation.
EXAMPLE 1.7.1 (QPSK with correlated noise) For the example shown in Figure 1.22
suppose that the noise is colored with correlation matrix
" #
1 √1
Rn = σ 2 √1 2 (1.315)
2
1
Then
1/2 1 0
R̄ = √1 √1
(1.316)
2 2
and " #
∗/2 1 √1
R̄ = 2 . (1.317)
0 √1
2
From (1.317),
−/2 1 √0
R̄ = (1.318)
−1 2
and
−∗/2 1 −1
√
R̄ = . (1.319)
0 2
The signal constellation after the whitening filter becomes
−/2 1 √0 1 √ 1
x̃0 = R̄ x0 = = , (1.320)
−1 2 −1 (− 2 − 1)
81
√ 0 √ 0 √ 0
and similarly x̃2 = −1 ( 2 + 1) , x̃1 = 1 ( 2 − 1) , and x̃3 = −1 (− 2 + 1) .
This new constellation forms a parallelogram in two dimensions, where the minimum distance
is now along the shorter diagonal (between x̃1 and x̃3 ), rather than along the sides and
dmin = 2.164 > 2. This new constellation appears in Figure 1.49. Thus, the optimum
detector for this channel with self-correlated Gaussian noise has larger minimum distance
than for the white noise case, illustrating the important fact that having correlated noise is
sometimes advantageous.
The example shows that correlated noise may lead to improved performance measured with respect to
the same channel and signal constellation with white noise of the same average energy. Nevertheless, the
autocorrelation matrix of the noise is often not known in implementation, or it may vary from channel
use to channel use. Then, the detector is designed as if white noise were present anyway, and there is a
performance loss with respect to the optimum detector. The next subsection deals with the calculation
of this performance loss.
The component of the additive noise vector along an error event vector is hn, ij i. The variance of the
2 ∆
noise along this vector is σij = E hn, ij i2 . Then, the NNUB becomes
kxi − xj k
Pe ≤ Ne Q min . (1.322)
i6=j 2σij
For Example 1.7.1, the worst case argument of the Q-function in (1.323) is 1/σ, which represents
a factor of (2.164/2)2 = .7dB loss with respect to optimum. This loss varies with rotation of the
o
signal set, but not translation. If the signal constellation
p in Example 1.7.1 were rotated by 45 , as in
Figure 1.27, then the increase in noise variance is (1 + 1/2)/1=2.3 dB, but dmin remains at 2 for this
sub-optimum detector, so performance is 3 dB inferior than the optimum detector for the unrotated
constellation. However, the optimum receiver for the rotated case would also have changed to have 3
dB worse performance for this rotation, so in this case the optimum rotated and sub-optimum rotated
receiver have the same performance.
82
Chapter 1 Excercises
1.1 Our First Constellation.
a. Show that the following two basis functions are orthonormal. (2 pts)
√
2 (cos (2πt)) if t [0, 1]
φ1 (t) =
0 otherwise
√
2 (sin (2πt)) if t [0, 1]
φ2 (t) =
0 otherwise
√
2 (cos (2πt) + sin (2πt)) if t [0, 1]
x0 (t) =
0 otherwise
√
2 (cos (2πt) + 3 sin (2πt)) if t [0, 1]
x1 (t) =
0 otherwise
√
2 (3 cos (2πt) + sin (2πt)) if t [0, 1]
x2 (t) =
0 otherwise
√
2 (3 cos (2πt) + 3 sin (2πt)) if t [0, 1]
x3 (t) =
0 otherwise
√
2 (cos (2πt) − sin (2πt)) if t [0, 1]
x4 (t) =
0 otherwise
√
2 (cos (2πt) − 3 sin (2πt)) if t [0, 1]
x5 (t) =
0 otherwise
√
2 (3 cos (2πt) − sin (2πt)) if t [0, 1]
x6 (t) =
0 otherwise
√
2 (3 cos (2πt) − 3 sin (2πt)) if t [0, 1]
x7 (t) =
0 otherwise
Draw the constellation points for these waveforms using the basis functions of (a). (2 pts)
c. Compute Ex and Ēx (Ēx = Ex /N ) where N is the number of dimensions
(i) for the case where all signals are equally likely. (2 pts)
(ii) for the case where (2 pts)
1
p(x0 ) = p(x4 ) = p(x8 ) = p(x12 ) =
8
and
1
p(xi ) = i = 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15
24
d. Let
yi (t) = xi (t) + 4φ3 (t)
where
1 if t [0, 1]
φ3 (t) =
0 otherwise
Compute Ey for the case where all signals are equally likely. (2 pts)
83
1.2 Inner Products.
Consider the following signals:
√2 cos( 2πt π
T T + 6) if t [0, T ]
x0 (t) =
0 otherwise
√2 cos( 2πt 5π
T T + 6 ) if t [0, T ]
x1 (t) =
0 otherwise
√2 cos( 2πt 3π
T T + 2 ) if t [0, T ]
x2 (t) =
0 otherwise
a. Find a set of orthonormal basis functions for this signal set. Show that they are orthonormal.
Hint: Use the identity for cos(a + b) = cos(a) cos(b) − sin(a) sin(b). (4 pts)
b. Find the data symbols corresponding to the signals above for the basis functions you found in (a).
(3 pts)
c. Find the following inner products: (3 pts)
nc (t )
N0
Sn ( f )= ⋅ Sn ( f )
2
x(t ) + ŷ (t )
a. Use the basis functions given above to find the modulated waveforms u(t) and v(t) given the data
symbols u = [1 1] and v = [2 1]. It is sufficient to draw u(t) and v(t). (2 pts)
b. For the
√ same u(t) and v(t), a different set of two orthonormal basis functions is employed for which
u = [ 2 0] produces u(t). Draw the new basis functions and find the v which produces v(t). (3 pts)
84
A = [a0 a1 ... a7 ] (1.323)
1 2 3 4 5 6 7 8
1 3 5 7 9 11 13 15
2 4 6 8 10 12 14 16
=
0 1 0 1
(1.324)
0 1 0 1
0 2 0 2 0 2 0 2
2 4 2 4 2 4 2 4
The transmitted signals ai (t) are represented (with a superscript of * meaning matrix or vector transpose)
as
φ1 (t)
φ2 (t)
ai (t) = a∗i . (1.325)
..
φ6 (t)
∗
A(t) = A ϕ(t) . (1.326)
a. Use MATLAB to find an orthonormal basis for the columns of A. Record the matrix of basis vectors.
The MATLAB commands help and orth will be useful. In particular, if one executes Q = orth(A)
in matlab, a 6 × 3 orthogonal matrix Q is produced such that Q∗ Q = I and A∗ = [A∗ Q] Q∗ . The
columns of Q can be thought of as a new basis – thus try writing A(t) and interpreting to get a
new set of basis functions and description of the 8 possible transmit waveforms. Note that help
orth will give a summary of the orth command. To enter the matrix B in matlab (for example)
shown below, simply type B=[1 2; 3 4]; (2 pts)
1 2
B= (1.327)
3 4
b. How many basis functions are actually needed to represent our signal set ? What are the new basis
functions in terms of {φ1 (t), φ2 (t), . . . , φ6 (t)} ?(2 pts)
c. Find the new matrix  which gives the data symbol representation for the original modulated
waveforms using the smaller set of basis functions found in (b). Â will have 8 columns, one for
each data symbol. The number of rows in  will be the number of basis functions you found in
(b). (1 pts)
b. The Binary Erasure Channel (BEC) has binary inputs as with the BSC. However there are
three possible outputs. Given an input of 0, the output is 0 with probability 1 − p1 and 2 with
probability p1 . Given an input of 1, the output is 1 with probability 1 − p2 and 2 with probability
p2 . Assume 0 and 1 are equally likely inputs. State the MAP and ML decision rules for the BEC
when p1 < p2 < 12 . How are the decision rules different when p2 < p1 < 12 ? (5 pts)
85
1-p
0 0
p
p
1 1
1-p
Figure 1.51: Binary Symmetric Channel(BSC).
1− p1
0 0
p1
2
p2
1 1
1− p2
y =x+n
where x = ±1 and n is Gaussian noise with σ 2 = 1. The Maximum-Likelihood (ML) Receiver which is
minimax, has decision regions:
DM L,1 = [0, ∞)
and
DM L,−1 = (−∞, 0)
So if y is in DM L,1 we decode y as +1; in DM L,−1 , as −1.
Consider another receiver, R, where the decision regions are:
1
DR,1 = [ , ∞)
2
and
1
DR,−1 = (−∞, )
2
86
a. Find Pe,M L and Pe,R as a function of px (1) = p for values of p in the interval [0, 1]. On the same
graph, plot Pe,M L vs. p and Pe,R vs. p. (2 pts)
b. Find maxp Pe,M L and maxp Pe,R . Are your results consistent with the Minimax Theorem? (2 pts)
c. For what value of p is DR the MAP decision rule? (1 pt)
Note: For this problem you will need to use the Q(·) function discussed in Appendix B. Here are
some relevant values of Q(·).
x Q(x)
0.5 0.3085
1.0 0.1587
1.5 0.0668
87
1.7 Irrelevancy/Decision Regions. (From Wozencraft and Jacobs)
a. Consider the channel in Figure a where x, n1 , and n2 are independent binary random variables.
All the additions shown below are modulo two. (Equivalently, the additions may be considered
xor’s.)
n1
+
y1
n2
x +
y2
n1 + n2
+
y3
n1
+ y1
x n2
+
y2
One of the two signals x0 = −1 or x1 = 1 is transmitted over this channel. The noise random
variables n1 and n2 are statistically independent of the transmitted signal x and of each other.
88
Their density functions are,
1 −|n|
pn1 (n) = pn2 (n) = e (1.328)
2
89
b. Given y1 only, is y2 relevant ? (1 pt)
c. Prove that the optimum decision regions for equally likely messages are shown in Figure c, (3 pts)
y2
Either
Choice
Choose
1
x1
-1
1
y1
Choose
-1
x0
Either
Choice
d. A receiver chooses x1 if and only if (y1 +y2 ) > 0. Is this receiver optimum for equally likely messages
? What is the probability of error ? (Hint: Pe = P {y1 + y2 > 0/x = −1}px (−1) + P {y1 + y2 /x =
1}px (1) and use symmetry. Recall the probability density function of the sum of 2 random variables
is the convolution of their individual probability density functions) (4 pts)
e. Prove that the optimum decision regions are modified as indicated in Figure e when P r{X =
x1 } > 1/2. (2 pts)
y2
1
Choose
x1
45
o
y1
-1
1
Choose
x0 -1
90
1.8 Optimum Receiver. (From Wozencraft and Jacobs)
Suppose one of M equiprobable signals xi (t), i = 0, . . . , M − 1 is to be transmitted during a period of
time T over an AWGN channel. Moreover, each signal is identical to all others in the subinterval [t1 , t2 ],
where 0 < t1 < t2 < T .
a. Show that the optimum receiver may ignore the subinterval [t1 , t2 ]. (2 pts)
b. Equivalently, show that if x0 , . . . , xM −1 all have the same projection in one dimension, then this
dimension may be ignored.(2 pts)
c. Does this result necessarily hold true if the noise is Gaussian but not white ? Explain.(2 pts)
1.9 Receiver Noise (use MATLAB for all necessary calculations - courtesy S. Li, 2005.
Each column of A given below is a data symbol that is used to construct its corresponding modulated
waveform from a set of orthonormal basis functions (assume all messages are equally likely):
Φ(t) = φ1 (t) φ2 (t) φ3 (t) φ4 (t) φ5 (t) φ6 (t) .
so that
x(t) = Φ(t)A = [x0 (t) x1 (t) ... x7 (t)] . (1.330)
n1
n2
n3
A noise vector n = is added to the symbol vector x, such that
n4
n5
n6
y(t) = Φ(t) · (x + n)
where n1 ...n6 are independent, with nk = ±1 with equal probability.
The transmitted waveform y(t) is demodulated using the basis detector of Figure ??. This problem
∆
examines the signal-to-noise ratio of the demodulated vector y = x + n with σ 2 = E(n2 )
a. Find Ēx , σ 2 , and SNR, Ēx /σ 2 if all messages are equally likely. (2 pts)
b. Find the minimal number of basis vectors and new matrix  as in Problem 1.4, and calculate the
new ε¯x , σ 2 , and SNR. (4 points)
c. Let the new vector be ỹ = x̃ + ñ, and discuss if the conversion from y to ỹ is invariant (namely,
if Pe is affected by the conversion matrix). Compare the detectors for parts a and b. (1 points)
d. Compare b̄, ε¯x with the previous system. Is the new system superior? Why or why not? (2 pts)
e. The new system now has three unused dimensions, we would like to send 8 more messages by
constructing a big matrix Ā, as follows:
 0
Ā =
0 Â
91
ϕ2
2
3
2
1 6
5
4 9
8
θ
7
ϕ1
L
Compare b̄, ε¯x with the original 6-dimensional system, and the 3-dimensional system in b). (4 pts)
1.10 Tilt. Consider the signal set shown in Figure 1.53 with an AWGN channel and let σ 2 = 0.1.
d. Suppose we have a minimum energy constraint on the signal constellation. How would we change
the constellation of this problem without changing the Pe ? How does θ affect the constellation
energy? (2 pts)
1.11 Parseval. Consider binary signaling on an AWGN σ 2 = 0.04 with ML detection for the following
signal set. (Hint: consider various ways of computing dmin .)
Determine the exact Pe assuming that the two input signals are equally likely. (5 pts)
92
a. For either input, the output can take on any real value. On the same graph, plot the two possible
output probability density functions (pdf’s). i.e. Plot the output pdf for x = 0 and the output pdf
for x = 1. Indicate (qualitatively) the decision regions on your graph. (2 pts)
b. Determine the optimal receiver in terms of σ1 and σ0 . (3 pts)
Ex 1
c. Find σ02 and σ12 if the SNR is 15 dB. SNR is defined as 1 2 2 = σ02 +σ12
. (1 pt)
2 (σ0 +σ1 )
x2 x1
d
θ
b. Note that the noise projected on the line in the previous part is Gaussian. Find Pe for the ML
detector. Assume your detector was designed for uncorrelated noise. (2 pts)
√
c. Fixing d = 2, find θ to minimize the ML detector Pe and give the corresponding Pe . You may
continue to assume that the receiver is designed for uncorrelated noise. (2 pts)
d. Could your detector in part a be improved by taking advantage of the fact that the noise is
correlated? (1 pt)
1.14 Hybrid QAM. Consider the 64 QAM constellation with d=2 (see Figure 1.55.): The 32 hybrid
QAM (×) is obtained by taking one of two points of the constellation. This problem investigates the
properties of such a constellation. Assume all points are equally likely and the channel is an AWGN.
a. Compute the energy Ex of the 64 QAM and the 32 hybrid QAM constellations. Compare your
results. (2 pts)
b. Find the NNUB for the probability of error for the 64 QAM and 32 hybrid QAM constellations.
Which has lower Pe ? Why ? (3 pts)
93
Figure 1.55: 32 SQ embedded in 64 SQ QAM Constellation
c. What is dmin for a 32 Cross QAM constellation having the same energy ? (1 pt)
d. Find the NNUB for the probability of error for the 32 Cross QAM constellation. Compare with
the 32 hybrid QAM constellation. Which one performs better ? Why ? (2 pts)
e. Compute the figure of merit for both 32 QAM constellations. Is your result consistent with the
one of (d) ? (2 pts)
94
1.16 Equivalency of rectangular-lattice constellations.
Ē
Consider an AWGN system with a SNR = σx2 of 22 dB, a target probability of error Pe = 10−6 , and
a symbol rate T1 = 8 KHz.
b
a. Find the maximum data rate R = T that can be transmitted for
b. What is the NNUB normalized probability of error P e for the systems used in (a).(1 12 pts)
c. For the rest of the problem we will only consider QAM systems. Suppose that the desired data
rate is 40 Kbps. What is the transmit power needed to maintain the same probability of error ?
The SNR is no longer given as 22 dB. (2 pts)
d. Suppose now that the SNR was increased to 28 dB. What is the highest data rate that can be
reliably sent at the same probability of error 10−6 ? (1 pt)
95
Figure 1.57: Examples of patterns considered
Each square may have two possible intensities, black or white. The class of patterns studied will
consist of those having two black squares, and two white squares. For example, some of these patterns
are as shown in Figure 1.57,
Each pattern can be encoded into a vector x = [x1 x2 x3 x4 ] where each component indicates the
‘intensity’ of a small square according to the following rule,
Black square ⇔ xi = 1
White square ⇔ xi = −1
For a given pattern, a set of four sensors take measurements at the center of each small square and
outputs y = [y1 y2 y3 y4 ],
y =x+n (1.332)
Where n = [n1 n2 n3 n4 ] is thermal noise (White Gaussian noise) introduced by the sensors. The goal
of the problem is to minimize the probability of error for this particular case of pattern recognition.
a. What is the total number of possible patterns ? (1 pt)
b. Write the optimum decision rule for deciding which pattern is being observed. Draw the corre-
sponding signal detector. Assume each pattern is equally likely. (3 pts)
c. Find the union bound for the probability of error Pe . (2 pts)
d. Assuming that nearest neighbours are at minimum distance, find the NNUB for the probability of
error Pe . (2 pts)
1.20 ( From Wozencraft and Jacobs). On an additive white Gaussian noise channel, determine Pe for
the following signal set with ML detection. Leave the answer in terms of σ 2 .
96
(Hint: Plot the signals and then the signal vectors.)
1 if t [0, 1]
x1 (t) =
0 otherwise
1 if t [1, 2]
x2 (t) =
0 otherwise
1 if t [0, 2]
x3 (t) =
0 otherwise
1 if t [2, 3]
x4 (t) =
0 otherwise
1 if t [0, 1]
x5 (t) = 1 if t [2, 3]
0 otherwise
1 if t [1, 3]
x6 (t) =
0 otherwise
1 if t [0, 3]
x7 (t) =
0 otherwise
x8 (t) = 0
1.21 Comparing bounds. Consider the following signal constellation in use on an AWGN channel.
x0 = (−1, −1)
x1 = (1, −1)
x2 = (−1, 1)
x3 = (1, 1)
x4 = (0, 3)
b. Find the Nearest Neighbor Union Bound on Pe for the ML detector on this signal constellation.
c. Let the SNR = 14 dB and determine a numerical value for Pe using the NNUB.
1.22 Basic QAM Design - Midterm 1996 Either square or cross QAM can be used on an AWGN
channel with SNR = 30.2 dB and symbol rate 1/T = 106 .
a. Select a QAM constellation and specify a corresponding integer number of bits per symbol, b, for
a modem with the highest data rate such that Pe < 10−6 .
97
1− p1
0 0
p1
p1/ 2
1− p1
1 1
p1/2
p1
2 2
1− p1
a. Draw an optimum (ML) basis detector and enumerate a signal constellation. (Hint: use basis
functions.) (3 pts)
c. Compute Ñe counting only those neighbors that are dmin away. ( 2pts)
d. Approximate Pe for your detector. (3 pts)
where L/2 is the maximum noise magnitude. The input x has binary antipodal constellation with equally
likely input values x = ±1. The noise is independent of x.
a. Design an optimum detector (showing decision regions is sufficient.) (2 pts)
b. For what value of L is Pe < 10−6 ? (1 pt)
c. Find the SNR (function of L). (2 pts)
98
1.26 Can you design or just use formulae? - Midterm 1995
N0
32 CR QAM modulation is used for transmission on an AWGN with 2 = .001. The symbol rate is
1/T = 400kHz.
a. Find the data rate R.
b. What SNR is required for Pe < 10−7 ? (ignore Ne ).
c. In actual transmitter design, the analog filter rarely is normalized and has some gain/attenuation,
unlike a basis function. Thus, the average power in the constellation is calibrated to the actual
power measured at the analog input to the channel. Suppose Ēx = 1 corresponds to 0 dBm ( 1
milliwatt), then what is the power of the signals entering the transmission channel for the 32CR
in this problem with Pe < 10−7 ?
N0
d. the engineer under stress. Without increasing transmit power or changing 2 = .001, design a
QAM system that achieves the same Pe at 3.2 Mbps on this same AWGN.
e. Find a general expression relating Pe to SNR, M , and Q̃ for PAM transmission. (2 pts)
f. What SNR is required for transmission at b̄ = 1, 2, and 3 when Pe = 10−6 ? (2 pts)
99
g. Would you prefer Gaussian or exponential noise if you had a choice? (1 pt)
a. (1 pt) Find M (message-set size) and Ēx (energy per dimension) for this constellation.
b. (2 pts) Draw the constellation with decision regions indicated for an ML detector.
c. (2 pts) Find Ne and dmin for this constellation.
d. (2 pts) Compute a NNUB value for P̄e for the ML detector of part b.
e. (1 pt) Determine b̄ for this constellation (value may be non-integer).
f. (2 pts) For the same b̄ as part e, how much better in decibels is the constellation of this problem
than SQ QAM?
100
+3
+1
-3 -1 +1 +3
-1
-3
O +1 E
-1 +1
E -1 O
e. (2 pts) Find Ne and N̄e for this constellation (you may elect to include only points at minimum
distance in computing nearest neighbors).
f. (2 pts) Find Pe and P̄e for this constellation using the NNUB if used on an AWGN with σ 2 = 0.1.
g. (3 pts) Compare this 4-dimensional constellation fairly (which requires increasing the number of
points in the constellation to 6 to get the same data rate). 4QAM.
a. (1 pt) What are the values that the discrete random variable x takes, and what are their proba-
bilities? (1 pt)
b. (1 pt) What are the means and variances of x and y?
c. (2 pts) What is the lowest probability of error in detecting x given only an observation of y? Draw
corresponding decision regions.
101
d. (1 pt) Relate the value of x with a table to the values of x1 and x2 . Explain why this is called a
“noisy DAC” channel.
e. (1 pt) What is the (approximate) lowest probability of error in detecting x1 given only an obser-
vation of y?
f. (1 pt) What is the (approximate) lowest probability of error in detecting x2 given only an obser-
vation of y?
g. Suppose additional binary independent random variables are added so that the two bipolar values
for xu are ±2u−1 , u = 1, ..., U . Which xu has lowest probability of error for any AWG noise, and
what is that Pe ? (1 pt)
h. For U = 2, what is the lowest probability of error in detecting x1 given an observation of y and a
correct observation of x2 ? (1 pt)
i. For U = 2, what is the lowest probability of error in detecting x2 given an observation of y and a
correct observation of x1 ? (1 pt)
j. What is the lowest probability of error in any of parts e through i if σ 2 = 0? What does this mean
in terms of the DAC? (1 pt)
k. Derive a general expression for the probability of error for all bits u = 1, ..., U where x = x1 + x2 +
... + xU in AWGN with variance σ 2 for part g? (2 pts)
5
1
4
2
Each of the solid constellation symbol possibilities is at the center of a perfect hexagon (all sides are
equal) and the distance to any of the closest sides of the hexagon is d2 . The 6 empty points represent
a possible message also, but each is used only every 6 symbol instants, so that for instance, the point
labelled 0 is a potential message only on symbol instants that are integer multiples of 6. The 1 point
can only be transmitted on symbol instants that are integer multiples of 6 plus one, the 2 point only on
symbol instants that are integer multiples of 6 plus two, and so on. At any symbol instant, any of the
points possible on that symbol are equally likely.
102
a. What is the number of messages that can be possibly transmitted on any single symbol? What
are b and b̄? (3 pts)
b. What is the data rate? (1 pt)
c. Draw the decision boundaries for time 0 of a ML receiver. ( 2 pts)
d. What is dmin ? (1 pt)
103
Appendix A
Gram-Schmidt Orthonormalization
Procedure
This appendix illustrates the construction of a set of orthonormal basis functions ϕn (t) from a set of
modulated waveforms {xi (t), i = 0, ..., M − 1}. The process for doing so, and achieving minimal dimen-
sionality is called Gram-Schmidt Orthonormalization.
Step 1:
Find a signal in the set of modulated waveforms with nonzero energy and call it x0 (t). Let
∆ x0 (t)
ϕ1 (t) = p , (A.1)
Ex0
R∞ p
where Ex = −∞ [x(t)]2 dt. Then x0 = Ex0 0 ... 0 .
∆ R∞
• Compute xi−1,n for n = 1, ..., i − 1 (xi−1,n = −∞
xi−1 (t)ϕn (t)dt).
• Compute
i−1
∆
X
θi (t) = xi−1 (t) − xi−1,n ϕn (t) (A.2)
n=1
Final Step:
Delete all components, n, for which ϕn (t) = 0 to achieve minimum dimensional basis function set,
and reorder indices appropriately.
104
Appendix B
The Q Function
The Q Function is used to evaluate probability of error in digital communication - It is the integral of
a zero-mean unit-variance Gaussian random variable from some specified argument to ∞:
The integral cannot be evaluated in closed form for arbitrary x. Instead, see Figures B.1 and B.2 for a
graph of the function that can be used to get numerical values. Note the argument is in dB (20 log10 (x)).
Note Q(−x) = 1 − Q(x), so we need only plot Q(x) for positive arguments.
We state without proof the following bounds
x2 x2
1 e− 2 e− 2
(1 − 2 ) √ ≤ Q(x) ≤ √ (B.2)
x 2πx2 2πx2
The upper bound in (B.2) is easily seen to be a very close approximation for x ≥ 3.
Computation of the probability that a Gaussian random variable u with mean m and variance σ 2
exceeds some value d then uses the Q-function as follows:
d−m
P {u ≥ d} = Q( ) (B.3)
σ
The Q-function appears in Figures B.3, B.1, and B.2 for very low SNR (-10 to 0 dB), low SNR (0 to
10 dB), and high SNR (10 to 16 dB) using a very accurate approximation (less than 1% error) formula
from the recent book by Leon-Garcia:
" # x2
1 e− 2
Q(x) ≈ π−1 1
√ √ . (B.4)
2 2π
π x + π x + 2π
√
For the mathematician at heart, Q(x) = .5 · erf c(x/ 2), where erfc is known as the complimentary error
function by mathematicians.
105
Figure B.1: Low SNR Q-Function Values
106
Figure B.3: Very Low SNR Q-Function Values
107
Bibliography
[1] J.M. Wozencraft and I.M. Jacobs. “Principles of Communication Engineering”. Wiley, New York,
1965.
[2] B.W. Lindgren. “Statistical Theory, Third Edition”. Macmillan, New York, 1968.
108