CH 11
CH 11
Contents
Slide 1 Pulse Amplitude Modulation (PAM)
Slide 2 Block Diagram of PAM System
Slide 3 PAM Block Diagram Description
Slide 4 Block Diagram Description (cont. 1)
Slide 5 Block Diagram Description (cont. 2)
Slide 6 Block Diagram Description (cont. 3)
Slide 7 Intersymbol Interference (ISI)
Slide 8 Eye Diagrams
Slide 13 Formula for Eye Closure
Slide 14 Nyquist Criterion for No ISI
Slide 15 Nyquist’s Criterion (cont.)
Slide 16 Raised Cosine Shaping Filters
Slide 17 Raised Cosine Filters (cont.)
Slide 18 Splitting the Shaping
Slide 19 Interpolation Filter Bank
Slide 20 Interpolation Filter Bank (cont.)
Slide 21 Symbol Error Probability vs. SNR
Slide 22 Example Filter Bank for L = 2
Slide 23 Symbol Error Probability (2)
Slide 24 Symbol Error Probability (3)
Slide 25 Symbol Error Probability (4)
Slide 26 Symbol Error Probability (5)
Slide 27 Symbol Error Probability (6)
Slide 27 Generating a Symbol Clock Tone
Slide 28 Generating a Clock Tone (cont. 1)
Slide 29 Generating a Clock Tone (cont. 2)
Slide 30 Generating a Clock Tone (cont. 3)
Slide 31 Generating a Clock Tone (cont. 4)
Slide 32 Generating a Clock Tone (cont. 5)
Slide 33 Generating a Clock Tone (cont. 6)
Chapter 11
Digital Data Transmission by
Baseband Pulse Amplitude
Modulation (PAM)
Goals
Learn about baseband digital data transmis-
sion over bandlimited channels by PAM.
Learn how to generate bandlimited PAM
signals using baseband shaping filters realized
by interpolation filter banks.
Learn about intersymbol interference (ISI).
– Eye diagrams to show ISI
– The Nyquist criterion for no ISI
– Raised cosine shaping filters for no ISI
Derive a symbol error probability formula.
Implement a symbol clock recovery method.
✫ ✪
11-1
✬ ✩
Transmitter
r(t)
+
Channel
Frequency Response
6 C (! )
v (t)
Channel Model
Receive x(t)
Sampler x(nT0 + ) y (nT ) ^n
- Filter - and - Adaptive - Quantizer a
Equalizer
GR (! ) A/D
6 ?
Symbol Clock
Recovery
d^i
Parallel to Map from
.
....
....
.... Serial ....
....
.
....
2J Levels to
1 Converter J J -bit Words
Receiver
✫ ✪
11-2
✬ ✩
✫ ✪
11-3
✬ ✩
✫ ✪
11-4
✬ ✩
✫ ✪
11-6
✬ ✩
✫ ✪
11-7
✬ ✩
Eye Diagrams
1.5
0.5
-0.5
-1
-1.5
-2
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Normalized Time t/T
✫ ✪
11-8
✬ ✩
1.5
0.5
-0.5
-1
-1.5
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Normalized Time t/T
✫ ✪
11-9
✬ ✩
-1
-2
-3
-4
-5
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Normalized Time t/T
✫ ✪
11-10
✬ ✩
-1
-2
-3
-4
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Normalized Time t/T
✫ ✪
k=−∞
11-11
✬ ✩
∞
X g(nT − kT )
x(nT ) = g(0)
a n + ak
g(0)
k=−∞
k6=n
✫ ✪
When η is less than 1, the eyes are open.
11-12
✬ ✩
✫ ✪
11-13
✬ ✩
G∗ (ω) = 1
✫ ✪
11-14
✬ ✩
0.8
0.6
G(ω)
0.4
0.2
✫ ✪
11-15
✬ ✩
Raised Cosine Filters (cont.)
The corresponding impulse response is
ωs ωs
sin 2 t cos α 2 t
g(t) = ωs
2 t 1 − 4(αt/T )2
C:\DIGFIL64\Console Versions\rascos.exe and
C:\DIGFIL64\Windows Forms Versions
\RaisedCosine.exe compute the impulse response
modified by the Hamming window.
Special Cases
If α = 0, the raised cosine filter becomes an
ideal flat lowpass filter with cutoff frequency
ωs /2.
If α = 1, the frequency response has no flat
region and is one cycle of a cosine function
raised up so it becomes 0 at the cutoff
frequency of ωs .
As the bandwidth is increased by making α
closer to 1, the impulse response decays more
rapidly.
✫ ✪
11-16
✬ ✩
Splitting the Shaping Between the
Transmit and Receive Filters
If the channel amplitude response is flat across
the signal passband and the noise is white, the
amplitude response of the combined baseband
shaping filter should be equally split between the
transmit and receive filters to maximize the
output signal-to-noise ratio, that is,
|GT (ω)| = |GR (ω)| = |G(ω)|1/2
Their phases can be arbitrary as long as the
combined phase is linear.
When raised cosine shaping is used, the transmit
and receive filters are called square-root of raised
cosine filters.
C:\DIGFIL64\Console Versions
\SQRTRACO.EXE or
C:\DIGFIL64\Windows Forms Class
Versions\SquareRootRaisedCosine.exe can
be used to compute the impulse response of a
✫ ✪
square-root of raised cosine filter.
11-17
✬ ✩
✫ ✪
11-18
✬ ✩
✫ ✪
11-19
✬ ✩
An Interpolation Filter Bank
- gT; 0 (n) B
B
s(nT )
(n)
B
- gT; 1
B
B
@
s(t)
B
a Lowpass
@
D/A
n
.. Filter
Q
Q - - -
+
- g T ;L 1 (n)
s nT L
L
1
T
g[0][0] g[1][0]
T
Delay
an−1
g[0][1] g[1][1]
T
Delay
an−2
g[0][2] g[1][2]
T
Delay
an−3
g[0][3] g[1][3]
T
Delay
+ +
an−4
g[0][4] g[1][4]
T
s(nT ) Delay s nT + T
2
an−5
g[0][5] g[1][5]
T 7
Delay X
s(nT ) = g[0][k]an−k
an−6 k=0
g[0][6] g[1][6] 7
X
T
s nT + 2
= g[1][k]an−k
k=0
T
Delay
an−7
g[0][7] g[1][7]
✫ ✪
11-21
✬ ✩
✫ ✪
11-22
✬ ✩
✫ ✪
11-23
✬ ✩
x(nT ) = an + vR (nT )
✫ ✪
11-24
✬ ✩
✫ ✪
11-25
✬ ✩
✫ ✪
11-26
✬ ✩
−ωs /2 0 ωs /2
✫ ✪
11-27
✬ ✩
−ωs 0 ωs
E{ak am } = a2 δk,m
This reduces to
∞
X
Λ(t) = E{p(t)} = a2 g12 (t − kT )
k=−∞
✫ ✪
11-29
✬ ✩
Generating a Clock Tone (cont. 4)
where
T
1
Z
pk = E{p(t)}e−jkωs t dt
T 0
where
zk = pk H(kωs )
∞
a2
Z
= H(kωs ) G1 (ω)G1 (kωs − ω) dω
T 2π −∞
✫ ✪
11-30
✬ ✩
✫ ✪
11-31
✬ ✩
✫ ✪
11-32
✬ ✩
Theoretical Exercises
1. Write a C function to generate
pseudo-random four-level symbols.
The function should use a 23-stage self
synchronizing shift register sequence
generator with the connection polynomial
an = (−1)d2n (1 + 2d2n+1 )d
✫ ✪
11-35
✬ ✩
✫ ✪
11-36
✬ ✩
✫ ✪
11-37
✬ ✩
✫ ✪
11-38
✬ ✩
✫ ✪
11-39
✬ ✩
✫ ✪
11-40
✬ ✩
Using a Mailbox to Store and Output
Samples
There are a variety of ways to structure the program.
Here is one approach to try.
Write output samples to the McBSP DXR with
an interrupt routine triggered by the serial port
transmit interrupts (XINT). Write the samples to
the left channel.
Determine the symbol timing by counting
interrupts modulo 4.
Set up an 8-word circular buffer as a “mail box.”
One half of the buffer (4 words) will be used to
hold the output samples for the current symbol
period, and the remaining half will be used to
store the four samples for the next symbol period.
Each symbol period, the input and output halves
will be swapped. These are sometimes called ping
pong buffers.
Output
0 1 2 3 0 1 2 3
Input
✫ ✪
11-41
✬ ✩
✫ ✪
11-42
✬ ✩
The transmit interrupt service routine should
write the sample addressed by the output pointer
to the DXR, increment the output pointer
circularly modulo 8, and increment the interrupt
count modulo 4.
✫ ✪
output.
11-45
✬ ✩
✫ ✪
11-46
✬ ✩
✫ ✪
11-47
✬ ✩
✫ ✪
11-48
✬ ✩
Optional Team Exercise (cont. 1)
The sampling phase of the codec cannot be
altered, so you will have to pass the received
samples through a variable phase interpolator
that compensates for the phase difference
between the transmit and receive clocks.
Variable phase interpolators are discussed in
the next chapter. You can lock the phase of
the receiver symbol clock to the positive zero
crossings of the symbol clock tone generator.
In addition you will have to compensate for
any delays in the system so that samples are
taken at the symbol instants, that is, at the
point where the eye has its maximum
opening.
You should also process the received samples
with a baseband version of the T /2 spaced
adaptive equalizer described in Chapter 15.
The equalizer will automatically adjust for
any symbol sampling phase offset but not for
✫ ✪
a frequency offset.
11-49
✬ ✩
✫ ✪
11-50