Professional Documents
Culture Documents
http://astro.temple.edu/~silage/
Digital Communication Systems Using MATLAB and Simulink
Bookstand Publishing 2009
MATLAB and Simulink models of baseband and bandpass modulation and demodulation systems, time,
frequency and code division multiplexing, synchronization and equalization, channel models, and baseband and
bandpass signal sampling in digital communication system design.
http://astro.temple.edu/~silage/digitalcommSVU.htm
Digital Communication Systems Using SystemVue
Da Vinci Engineering Press, Thomson Delmar Publishing 2006
SystemVue models of baseband and bandpass modulation and demodulation systems, time, frequency and code
division multiplexing, synchronization and equalization, channel models, and baseband and bandpass signal
sampling in digital communication system design.
Syllabus
Chapter 1 - Introduction
Chapter 2 - Frequency Domain Analysis
Chapter 3 - Digital Baseband Modulation Techniques
Chapter 4 - Receiver Design
Chapter 5 - Digital Bandpass Modulation and Demodulation Techniques
Chapter 6 - Analog Modulation and Demodulation
Chapter 7 - Multiplexing Techniques
Chapter 8 - Analog-to-Digital and Digital-to-Analog Conversion
Download Complete MATLAB and Simulink models to accompany Digital Communication Systems using
MATLAB? and Simulink? can be downloaded in ZIP archive format here(~3 MB, digicommMS1.zip). The
ZIP archive files are password protected as described in Appendix A of the text.
Table of Contents
Chapter 1:Communication Simulation Techniques
Capabilities and Limitations of Simulation
Introduction to MATLAB? and Simulink?
Model Window
Temporal Display
Spectral Display
Correlation Display
Blocksets and Blocks
Data Types
Modulation
Analog Amplitude Modulation
Simulation of Coherent AM
Simulation of Noncoherent AM
Summary
References
Chapter 2:Baseband Modulation and Demodulation
Rectangular Pulse Amplitude Modulation
Simulation of Rectangular PAM
Rectangular PAM Power Spectral Density
Performance of Rectangular PAM in a Simple Receiver in AWGN
Performance of Filtered Rectangular PAM in a Simple Receiver in AWGN
Sinc Pulse Amplitude Modulation
Simulation of Sinc PAM
Sinc PAM Power Spectral Density
Performance of Sinc PAM in a Simple Receiver in AWGN
Raised Cosine Pulse Amplitude Modulation
Simulation of Raised Cosine PAM
Raised Cosine PAM Power Spectral Density
Performance of Raised Cosine PAM in a Simple Receiver in AWGN
Optimum Baseband Receiver: The Correlation Receiver
Correlation Receiver for Baseband Symmetrical Signals
Probability of Bit Error for Baseband Symmetrical Signals
Performance of Symmetrical PAM for the Optimum Receiver in AWGN
Correlation Receiver for Baseband Asymmetrical Signals
Probability of Bit Error for Baseband Asymmetrical Signals
Performance of Asymmetrical PAM for the Optimum Receiver in AWGN
Multilevel (M-ary) Pulse Amplitude Modulation
Simulation of M-ary Rectangular PAM
M-ary Rectangular PAM Power Spectral Density
Correlation Receiver for M-ary Baseband Signals
Probability of Bit Error for M-ary Baseband Signals
Performance of M-ary PAM for the Optimum Receiver in AWGN
Partial Response Signaling
Duobinary PAM Signaling
Simulation of Duobinary PAM
Simple Receiver for Precoded Duobinary Signals
Simple Receiver for Precoded Modified Duobinary Signals
Duobinary PAM Power Spectral Density
Performance of Duobinary PAM in a Simple Receiver in AWGN
Delta Modulation
Simulation of Delta Modulation
Eye Diagrams
Summary
References
Chapter 3:Bandpass Modulation and Demodulation
Optimum Bandpass Receiver: The Correlation Receiver
Correlation Receiver for Bandpass Symmetrical Signals
Probability of Bit Error for Bandpass Symmetrical Signals
Correlation Receiver for Bandpass Asymmetrical Signals
Probability of Bit Error for Bandpass Asymmetrical Signals
Binary Amplitude Shift Keying
Simulation of Binary ASK
Binary ASK Power Spectral Density
Performance of Binary ASK for the Optimal Receiver in AWGN
Binary Frequency Shift Keying
Simulation of Binary FSK
Binary FSK Power Spectral Density
Performance of Binary FSK for the Optimal Receiver in AWGN
Binary Phase Shift Keying
Simulation of Binary PSK
Binary PSK Power Spectral Density
Performance of Binary PSK for the Optimal Receiver in AWGN
Multilevel (M-ary) Amplitude Shift Keying
Simulation of M-ary ASK
M-ary ASK Power Spectral Density
Correlation Receiver for M-ary ASK Signals
Probability of Bit Error for M-ary ASK Signals
Performance of M-ary ASK for the Optimum Receiver in AWGN
Multilevel (M-ary) Frequency Shift Keying
Simulation of M-ary FSK
M-ary FSK Power Spectral Density
Correlation Receiver for M-ary FSK Signals
Probability of Bit Error for M-ary FSK Signals
Performance of M-ary FSK for the Optimum Receiver in AWGN
Multilevel (M-ary) Phase Shift Keying
Simulation of M-ary PSK
M-ary PSK Power Spectral Density
Probability of Bit Error for M-ary PSK Signals
Performance of M-ary PSK for the Optimum Receiver in AWGN
Quadrature Amplitude Modulation
Simulation of QAM
QAM Power Spectral Density
Probability of Bit Error for QAM Signals
Performance of QAM for the Optimum Receiver in AWGN
Differential Phase Shift Keying
Simulation of DPSK
DPSK Power Spectral Density
Probability of Bit Error for DPSK Signals
Performance of DPSK for the Optimum Receiver in AWGN
Noncoherent Demodulation of Binary Frequency Shift Keying
Simulation of Noncoherent Binary FSK Signals
Probability of Bit Error for Noncoherent Binary FSK Signals
Performance of Noncoherent Binary FSK Signals in AWGN
Noncoherent Demodulation of Binary Amplitude Shift Keying
Simulation of Noncoherent Binary ASK Signals
Probability of Bit Error for Noncoherent Binary ASK Signals
Performance of Noncoherent Binary ASK Signals in AWGN
Threshold for Demodulation of Noncoherent Binary ASK Signals
Constellation Plots
Summary
References
Chapter 4:Sampling and Quantization
Sampling Baseband Analog Signal
Companding
Line Codes
Power Spectral Density of Line Codes
Polar NRZ Line Code
Unipolar NRZ Line Code
Alternate Mark Inversion NRZ Line Code
Split-Phase NRZ Line Code
Return-to-Zero Line Codes
Simulation of Line Codes
Pulse Code Modulation
Differential Pulse Code Modulation
Simulation of DPCM
Sampling Bandpass Analog Signals
Summary
References
Appendix A:MATLAB? and Simulink? Model File Download Procedure
Appendix B:Complementary Error (Q) Function Table
• Course syllabus
• Course textbooks
• Course grades
• Course objectives
EE4512 Analog and Digital Communications
• Course
textbook
• Available as:
bound hardcopy
pdf file
Kindle download
YouTube video
blog session
twitter stream
text message
Morse code .wav file
EE4512 Analog and Digital Communications
• Course
textbook
– only
kidding!
EE4512 Analog and Digital Communications
• Course textbooks
• Communication
Systems provides
the theoretical
basis
• Digital
Communication
Systems provides
simulations for
insight and
experiential laboratories
in EE4513
EE4512 Analog and Digital Communications
• Course
syllabus
• All course
materials
are also
available on
Blackboard
EE4512 Analog and Digital Communications
• In-class discussions,
simulation studies and
problem solutions
• Weekly closed-book
but open notes SNAP
quizzes to assess Edwin and Marian Armstrong
performance with a portable radio 1923
EE4512 Analog and Digital Communications
Chapter 1
Introduction
EE4512 Analog and Digital Communications Chapter 1
Chapter 1
Introduction
• Components of a Communication
System
• Pages 1-5
EE4512 Analog and Digital Communications Chapter 1
• Analog modulation:
continuous
information such as
speech or video
encoded as an
amplitude
• Digital modulation:
discrete information
such as binary data
encoded as
a frequency shift
or
a phase shift
EE4512 Analog and Digital Communications Chapter 1
Channel
with noise
MS Figure 1.16
Simulink subsystems
Source
Transmitter Receiver
User
Channel
with noise
Coherent
demodulation
MS Figure 1.16
Channel
Non-coherent demodulation with noise
MS Figure 1.20
Simulink subsystem
Carrier
DSB modulated
spectrum
2 x carrier
DSB demodulated frequency
Original spectrum
spectrum
Tb = 1 msec
End of Chapter 1
Introduction
EE4513 Analog and Digital Communications Laboratory Chapter 1
Chapter 1
Communication Simulation
Techniques
• Introduction to MATLAB and
Simulink
• Blocksets
• Simulation displays
EE4513 Analog and Digital Communications Laboratory Chapter 1
• Simulink
Library
Browser:
Commonly
Used Blocks
EE4513 Analog and Digital Communications Laboratory Chapter 1
• Simulink
Library
Browser:
Communications
Blockset
EE4513 Analog and Digital Communications Laboratory Chapter 1
• Simulink
Library
Browser:
Signal
Processing
Blockset
EE4513 Analog and Digital Communications Laboratory Chapter 1
• Simulink
Library
Browser:
Simulink
Extras
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.2
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.3
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.4
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.6
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.8
EE4513 Analog and Digital Communications Laboratory Chapter 1
MS Figure 1.10
EE4513 Analog and Digital Communications Laboratory Chapter 1
Flat PSD
Uncorrelated
Correlated
EE4513 Analog and Digital Communications Laboratory Chapter 1
End of Chapter 1
Communication Simulation
Techniques
EE4512 Analog and Digital Communications Chapter 2
Chapter 2
Frequency Domain Analysis
EE4512 Analog and Digital Communications Chapter 2
Chapter 2
Frequency Domain Analysis
• Why Study Frequency Domain
Analysis?
• Pages 6-13
EE4512 Analog and Digital Communications Chapter 2
• Channel bandwidth,
noise and power are MS Figure 4.2 and Figure 4.3
easier to evaluate
EE4512 Analog and Digital Communications Chapter 2
• A complex signal
consisting of the sum of
three sinusoids is
difficult to discern in the
temporal domain
but easy to identify in the 500, 1500 and
spectral domain 2500 Hz
Butterworth LPF
9 pole, fcutoff = 1 kHz
EX21.mdl
34 dB
• Butterworth Filters
• Example 2.2
10 MHz sinusoid
with additive
white Gaussian
noise (AWGN)
Communications channel
EX22.mdl
EE4512 Analog and Digital Communications Chapter 2
T = 0.01 sec
EX22.mdl
EE4512 Analog and Digital Communications Chapter 2
Chapter 2
Frequency Domain Analysis
• The Fourier Series
• Pages 13-38
EE4512 Analog and Digital Communications Chapter 2
• Fourier Series
X0 = a0 Xn = an2 + bn2
| c n | = Xn / 2 Xn = | 2 c n |
Xo = co
MATLAB and Simulink simulation
can provide the magnitude of
the complex Fourier series
coefficients for any periodic
waveform
EE4512 Analog and Digital Communications Chapter 2
Temporal display
of a complex pulse
as the addition of
two periodic pulses
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
T = 4 sec
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
Simulink discrete
pulse generators
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
First Pulse
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
Second
Pulse
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
Period To = 4 sec
Fundamental frequency
fo= 0.25 Hz
Sample based simulation:
Period = 4096 samples
must be 2N for FFT
Pulse width = 1024
samples
Sample time = 0.978562
msec
4/4096 = 9.78562 x 10-4
EE4512 Analog and Digital Communications Chapter 2
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
Right-Click on
the vertical
axis and use
Axes properties
to change the
amplitude
scaling
EE4512 Analog and Digital Communications Chapter 2
T = 1 sec
T = 4 sec
T = 2 sec
EE4512 Analog and Digital Communications Chapter 2
T = 1 sec T = 4 sec
T = 2 sec
EX23.mdl
EE4512 Analog and Digital Communications Chapter 2
Spectral display
of a complex pulse
as the addition of
two periodic pulses
EE4512 Analog and Digital Communications Chapter 2
fS = 1024 Hz
T = 4 sec = 4096
samples
fS = fsimulation for
conveninence
Input signal is
non-framed based
so buffer input is
required
EE4512 Analog and Digital Communications Chapter 2
fS = 1024 Hz
T = 4 sec = 4096
samples
Amplitude scaling
magnitude-squared
EE4512 Analog and Digital Communications Chapter 2
plottools
EE4512 Analog and Digital Communications Chapter 2
Chapter 2
Frequency Domain Analysis
• Power in the Frequency Domain
• Pages 38-52
EE4512 Analog and Digital Communications Chapter 2
fs / 2 = 512 Hz
500 Hz
• Scaled | FFT |2
x = 0 (f = 0 Hz)
y = 2362 = | FFT(f = 0) |2
EE4512 Analog and Digital Communications Chapter 2
• Example 2.7
Rectangular pulse
train
EE4512 Analog and Digital Communications Chapter 2
• Example 2.7
Amplitude = 3
Period To = 10 msec
Fundamental frequency
fo= 100 Hz
Pulse width = 2 msec
Duty cycle = 2/10 = 0.2
Sample based simulation:
Period = 4096 samples
Pulse width = 819 samples
819/4096 ≈ 0.2
Sample time = 2.441 µsec
10-2/4096 = 2.441 x 10-6
EE4512 Analog and Digital Communications Chapter 2
• Example 2.7
Period To = 10 msec
Since the Spectrum
Scope requires 2N =
4096 samples, the
simulation time =
10 msec divided by
the sample time =
2.441 µsec must be
≥ 4096
10-2/2.441 x 10-6 =
4096.68
EE4512 Analog and Digital Communications Chapter 2
3 Tpulse = 2 msec
DC value = 0.6 To = 10 msec
| FFT (f = 0) |2 = 1447
-40 dB
EE4512 Analog and Digital Communications Chapter 2
cn X0 = a0 Xn = an2 + bn2
Xo = co | c n | = Xn / 2 Xn = | 2 c n |
EE4512 Analog and Digital Communications Chapter 2
• Example 2.8
• Example 2.8
Spectrum Scope has
inherent amplitude and
frequency axes scaling
(but not cursor readout)
EX28.mdl
EE4512 Analog and Digital Communications Chapter 2
S&M p. 36-37
representation to
Parseval’s Theorem
EE4512 Analog and Digital Communications Chapter 2
Parseval’s Theorem
EE4512 Analog and Digital Communications Chapter 2
• Parseval’s Theorem
Normalized power
spectrum of a
rectangular pulse
and a Butterworth
low pass filtered
(LPF) rectangular
pulse
EX29.mdl
EE4512 Analog and Digital Communications Chapter 2
Amplitude = 3
Period To = 10 msec
Fundamental frequency
fo= 100 Hz
Pulse width = 2 msec
Duty cycle = 2/10 = 0.2
Sample based simulation:
Period = 4096 samples EX29.mdl
Pulse width = 819 samples
819/4096 ≈ 0.2
Sample time = 10-2/4096 = 2.441 x 10-6 = 2.441 µsec
Sampling rate = 1/ 2.441 x 10-6 ≈ 409.6 kHz
EE4512 Analog and Digital Communications Chapter 2
EX29.mdl
EE4512 Analog and Digital Communications Chapter 2
fs = 409600
fcuttoff = 300 Hz
EE4512 Analog and Digital Communications Chapter 2
Simulated by | FFT |2 in
MATLAB and Simulink to
obtain cn from which we
can derive Xn
| FFT |2 ≈ PSD
X0 = a0 Xn = an2 + bn2
Xo = co | c n | = Xn / 2 Xn = | 2 c n |
EE4512 Analog and Digital Communications Chapter 2
Linear
Spectral nulls
dB
EE4512 Analog and Digital Communications Chapter 2
Unfiltered
dB
LPF
fcutoff = 300 Hz
dB
EE4512 Analog and Digital Communications Chapter 2
• Bandwidth
Chapter 2
Frequency Domain Analysis
• The Fourier Transform
• Pages 52-69
EE4512 Analog and Digital Communications Chapter 2
• Example 2.12
Spectrum of a
simulated single
pulse from a very
low duty cycle
rectangular pulse
train EX212.mdl
EE4512 Analog and Digital Communications Chapter 2
•| FFT |2
EE4512 Analog and Digital Communications Chapter 2
co = 0.065536
EE4512 Analog and Digital Communications Chapter 2
0.005
•| FFT |2
EE4512 Analog and Digital Communications Chapter 2
0.05
• Properties
of the
Fourier
Transform
EE4512 Analog and Digital Communications Chapter 2
• Properties
of the
Fourier
Transform
Modulation
principle
EE4512 Analog and Digital Communications Chapter 2
Chapter 2
Frequency Domain Analysis
• Normalized Energy Spectral Density
• Pages 60-65
EE4512 Analog and Digital Communications Chapter 2
• Normalized Energy
ψ(f) = | S(f) |2
ψ(f) ≈ | FFT |2
EE4512 Analog and Digital Communications Chapter 2
End of Chapter 2
Frequency Domain Analysis
EE4512 Analog and Digital Communications Chapter 3
Chapter 3
Digital Baseband Modulation
Techniques
EE4512 Analog and Digital Communications Chapter 3
Chapter 3
Digital Baseband Modulation
Techniques
• Goals in Communication System
Design
• Pages 75-76
EE4512 Analog and Digital Communications Chapter 3
Noise
Noise
Noise
Chapter 2
Baseband Modulation and
Demodulation
• Rectangular Pulse Amplitude
Modulation (PAM)
• Pages 18-20
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.1
EE4512 Analog and Digital Communications Chapter 3
Random Integer
Generator from
the Communications
Blockset, Comm
Sources
EE4512 Analog and Digital Communications Chapter 3
Random Integer
Generator block from
the Communications
Blockset, Comm
Sources
binary
random seed
rb = 1 kb/sec
Tb = 1 msec
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.1
MS Figure 2.1
EE4512 Analog and Digital Communications Chapter 3
AWGN Channel
block from the
Communications
Blockset, Channels
EE4512 Analog and Digital Communications Chapter 3
AWGN Channel
block from the
Communications
Blockset,
Channels
random seed
variance σ2
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.1
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.1
Chapter 3
Digital Baseband Modulation
Techniques
• Baseband Modulation Using
Rectangular Pulses and Binary
Pulse Amplitude Modulation
• Pages 76-88
EE4512 Analog and Digital Communications Chapter 3
00
01
Fig35.mdl 11
MS for S&M Figure 3-5
10
EE4512 Analog and Digital Communications Chapter 3
00
01
Time-based
sampling,
sampling rate
fS = 50 kHz,
sampling period 11
TS = 1/ fS = 20 µsec Fig35.mdl
MS for S&M Figure 3-5 10
EE4512 Analog and Digital Communications Chapter 3
τ 2τ τ = 20 msec
τ 2τ τ = 20 msec
EE4512 Analog and Digital Communications Chapter 3
τ 2τ τ = 20 msec
τ 2τ τ = 20 msec
EE4512 Analog and Digital Communications Chapter 3
00
01
ESD ≈ | FFT |2
11
Fig35spectrum.mdl
Fig35spectrum.mdl
Fig35spectrum.mdl
MS for S&M Figure 3-5
EE4512 Analog and Digital Communications Chapter 3
τ = 20 msec
1/2τ 1/τ S&M Figure 3-6a
25 Hz 50 Hz
τ = 20 msec
1/τ S&M Figure 3-6b
50 Hz
τ = 20 msec
1/τ S&M Figure 3-6c
50 Hz
τ = 20 msec
1/2τ 1/τ S&M Figure 3-6d
25 Hz 50 Hz
150 Hz
2/τ
100 Hz
1/τ
50 Hz
EE4512 Analog and Digital Communications Chapter 3
Chapter 2
Baseband Modulation and
Demodulation
• Rectangular PAM
Power Spectral Density
• Pages 20-22
EE4512 Analog and Digital Communications Chapter 3
Pulse train = 0 to 1 V
Pulse period = 1 msec
MSFig21mod.mdl
EE4512 Analog and Digital Communications Chapter 3
MSFig21mod.mdl
EE4512 Analog and Digital Communications Chapter 3
Data
Tb
Duty Cycle
Tb /2
Product
with Gain
EE4512 Analog and Digital Communications Chapter 3
Fig21modspec.mdl
EE4512 Analog and Digital Communications Chapter 3
Chapter 2
Baseband Modulation and
Demodulation
• Performance of Rectangular
PAM in a Simple Receiver in
AWGN
• Pages 66-69
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.7
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.7
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.7
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.9
EE4512 Analog and Digital Communications Chapter 3
Tb + 5V
-5 V
Chapter 3
Digital Baseband Modulation
Techniques
• Pulse Shaping to Improve
Spectral Efficiency: Sinc Pulses
• Pages 89-101
EE4512 Analog and Digital Communications Chapter 3
binary 1 rb = 1 kb/sec
binary 0
2/rb 3/rb
1/rb 4/rb
EE4512 Analog and Digital Communications Chapter 3
+5 V
binary 0
2/rb
0
1/rb 8/rb
3/rb
binary 1
4/rb
–5 V rb = 1 kb/sec
EE4512 Analog and Digital Communications Chapter 3
binary 0
EE4512 Analog and Digital Communications Chapter 3
where 1 / rb = Tb
EE4512 Analog and Digital Communications Chapter 3
Chapter 2
Baseband Modulation and
Demodulation
• Sinc Pulse Amplitude
Modulation
• Pages 27-33
EE4512 Analog and Digital Communications Chapter 3
data source
impulse train
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.20
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.20
EE4512 Analog and Digital Communications Chapter 3
Chapter 3
Digital Baseband Modulation
Techniques
• Pulse Shaping to Improve
Spectral Efficiency: Raised Cosine
Pulses
• Pages 101-111
EE4512 Analog and Digital Communications Chapter 3
+5 V
binary 0
2/rb
0
1/rb 8/rb
3/rb binary 1
4/rb
–5 V rb = 1 kb/sec
EE4512 Analog and Digital Communications Chapter 3
+5 V
binary 0
2/rb
0
1/rb 8/rb
3/rb binary 1
4/rb
–5 V rb = 1 kb/sec
EE4512 Analog and Digital Communications Chapter 3
binary 0
2/rb
0
1/rb 8/rb
3/rb binary 1
4/rb
–5 V rb = 1 kb/sec
EE4512 Analog and Digital Communications Chapter 3
binary 0
EE4512 Analog and Digital Communications Chapter 3
G(f) = A2 / rb | f | ≤ rb / 2 – β
rb / 2 – β ≤ f ≤ rb/2 + β
G(f) = 0 | f | ≤ rb / 2 + β
EE4512 Analog and Digital Communications Chapter 3
Chapter 2
Baseband Modulation and
Demodulation
• Raised Cosine Pulse Amplitude
Modulation
• Pages 81-87
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.22
data source
impulse train
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.28
EE4512 Analog and Digital Communications Chapter 3
MS Figure 2.28
EE4512 Analog and Digital Communications Chapter 3
End of Chapter 3
Digital Baseband Modulation
Techniques
EE4512 Analog and Digital Communications Chapter 4
Chapter 4
Receiver Design
EE4512 Analog and Digital Communications Chapter 4
Chapter 4
Receiver Design
• Probability of Bit Error
• Pages 124-149
EE4512 Analog and Digital Communications Chapter 4
Joint probability
distribution function FX,Y(a, b) = P{ X = a and Y = b }
Joint probability
density function fX,Y(x, y)) = ∂2 FX,Y(x, y) / ∂x ∂y
Chapter 4
Receiver Design
• Examining Thermal Noise
• Pages 132-136
EE4512 Analog and Digital Communications Chapter 4
MS Figure 1.11
EE4512 Analog and Digital Communications Chapter 4
No (single-sided spectrum)
No No
No 11.25 kHz
EE4512 Analog and Digital Communications Chapter 4
uncorrelated
uncorrelated
EE4512 Analog and Digital Communications Chapter 4
uncorrelated
correlated
EE4512 Analog and Digital Communications Chapter 4
NoiseHistogram.mdl
EE4512 Analog and Digital Communications Chapter 4
µ = 10
σ2 = 1 Gaussian pdf
-γA γA
EE4512 Analog and Digital Communications Chapter 4
Chapter 4
Receiver Design
• Gaussian Probability
Density Function, Probability of
Bit Error
• Pages 137-149
EE4512 Analog and Digital Communications Chapter 4
• Gaussian (normal)
probability
density
function (pdf)
EE4512 Analog and Digital Communications Chapter 4
• Gaussian (normal)
probability
distribution
function
EE4512 Analog and Digital Communications Chapter 4
1777-1855
EE4512 Analog and Digital Communications Chapter 4
• Gaussian pdfs
µ = 0, σ = 1
S&M Figure 4-6a
µ = 1.6, σ = 1
S&M Figure 4-6b
EE4512 Analog and Digital Communications Chapter 4
• Gaussian pdfs
µ = 0, σ = 2
S&M Figure 4-6c
µ = 1, σ = 2
S&M Figure 4-6d
EE4512 Analog and Digital Communications Chapter 4
Q-function
Q-function
• The
Q-function
for µ =0
and σ = 1
as a function
of the
threshold a
is listed in
Table 4-1
(S&M
p. 141) and
Appendix B
(MS p. 185-
186)
EE4512 Analog and Digital Communications Chapter 4
• Reading the
Q-function
table
correctly
•What is
Q(1.82)?
• What is
Q(2.63)?
• What is
Q(3.18)?
EE4512 Analog and Digital Communications Chapter 4
• Reading the
Q-function
table
correctly
• Q(1.82) =
0.0344
• Q(2.63) =
0.0043
• Q(3.18) =
0.0007
EE4512 Analog and Digital Communications Chapter 4
• What if µ ≠ 0? It can
be shown that the
Q-function table
remains valid if
the threshold
a
variable in the table
is changed from a
to a – µ. Note that
the areas under the
Gaussian pdfs are the
same.
• What if µ ≠ 0 and
σ ≠ 1? It can also
be shown that the
Q-function table
remains valid if
a
the threshold
variable in the table
is first changed from
a to a – µ and …
Chapter 4
Receiver Design
• Optimal Receiver: The Matched
Filter or Correlation Receiver
• Pages 149-161
EE4512 Analog and Digital Communications Chapter 4
But is this the best that there is? What about sampling an
odd number of times (like 3) during each bit time Tb?
Tb
EE4512 Analog and Digital Communications Chapter 4
Correlation Receiver
EE4512 Analog and Digital Communications Chapter 4
Eb = ∫
(i-1)Tb
γ s(t) γ s(t) dt = γ 2 ∫
(i-1)Tb
s2 (t) dt
EE4512 Analog and Digital Communications Chapter 4
ai (iTb ) = ∫
(i-1)Tb
γ si (t) s1(t) dt S&M Eq. 4.67
EE4512 Analog and Digital Communications Chapter 4
sbi=1(t) = – sbi=0(t)
matched filter or
correlation receiver
MS Figure 2.29
EE4512 Analog and Digital Communications Chapter 3
Chapter 2
Baseband Modulation and
Demodulation
• Optimum Binary Baseband
Receiver: The Correlation
Receiver
• Pages 40-41
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.29
EE4512 Analog and Digital Communications Chapter 4
• The Simulink
Integrate and Dump
block is in the
Comm Filters,
Communications
Blockset
EE4512 Analog and Digital Communications Chapter 4
fsimulation = 50 kHz
Tsimulation = 1/fsimulation =
0.02 msec
Tb = 1 msec
Integration period =
Tb/Tsimulation = 1/ 0.02 =
50 samples
Offset = 0 samples
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.30
Transmitter Receiver
BER
EE4512 Analog and Digital Communications Chapter 4
• The energy per bit Eb = 2.5 × 10-2 V2-sec (S&M Eq. 4.62,
p. 156) for rectangular ± 5 V PAM with the channel
attenuation γ = 1:
iTb iTb
Eb = ∫
(i-1)Tb
γ s(t) γ s(t) dt = γ 2 ∫
(i-1)Tb
s2 (t) dt
2 Eb
Pb = Q
No
EE4512 Analog and Digital Communications Chapter 4
Eb = ∫
(i-1)Tb
γ s(t) γ s(t) dt = γ 2 ∫
(i-1)Tb
s2 (t) dt
S&M Eq. 4.62
2 Eb
Pb = Q S&M Eq. 4.58
No
EE4512 Analog and Digital Communications Chapter 4
Eb / No dB BER Pb
∞ 0 0
10 0 4.05 × 10-6
8 0 2.06 × 10-4
6 2.5 × 10-3 2.43 × 10-3
4 1.35 × 10-2 1.25 × 10-2
2 3.95 × 10-2 3.75 × 10-2
0 8.09 × 10-2 7.93 × 10-2
EE4512 Analog and Digital Communications Chapter 4
Chapter 4
Receiver Design
• Correlation Receiver for Asymmetric
PAM, Optimum Thresholds,
Synchronization
• Pages 162-173
EE4512 Analog and Digital Communications Chapter 4
• Asymmetric PAM
signals do not have
equal means or
expected values of
the output of the
correlation receiver:
| a2(iTb) | ≠ | a1(iTb) |
• If the apriori
probabilities are not
equal then the
optimum threshold
τopt is not equidistant
from the means or
expected value of
output of the
correlation receiver.
An asymmetric binary
PAM signal is shown:
a2(iTb) ≠ a1(iTb)
• The optimum
threshold τopt where
the apriori
probabilities are
(1 – M) and M
(which sums to 1) is:
a2 (iTb ) + a1(iTb )
if M = 0.5 then: τ opt =
2 S&M Eq. 4.71
EE4512 Analog and Digital Communications Chapter 4
a1(iTb ) − a2 (iTb )
Pb = Q
2 σo
a (iT ) − a (iT ) 2
[ 1 b 2 b ] 2No
S&M Eq. 4.78
Pb = Q σ =
4 σ o2 o
2 and Eq. 4.79
Ed iTb
∫ {γ ( s (t) − s (t)) }
2
Pb = Q where Ed = dt
2 N 1 2
o (i-1)Tb
EE4512 Analog and Digital Communications Chapter 4
• If the apriori
probabilities are not
equal then the
optimum threshold
τopt is not equidistant
from the means or
expected value of
output of the
correlation receiver.
An asymmetric binary
PAM signal is shown:
a2(iTb) ≠ a1(iTb)
• The optimum
threshold τopt where
the apriori
probabilities are
(1 – M) and M
(which sums to 1) is:
a2 (iTb ) + a1(iTb )
if M = 0.5 then: τ opt =
2 S&M Eq. 4.71
EE4512 Analog and Digital Communications Chapter 4
• The probability
of bit error Pb then
is:
( a1(iTb ) − τopt ) ( opt 2 b )
2 2
τ − a (iT )
Pb = 0.5 Q + 0.5 Q
2 No 2 No
a2 (iTb ) )
( a1(iTb ) -
2
Ed
Pb = Q = Q S&M p. 168
2 No 2N
o
EE4512 Analog and Digital Communications Chapter 4
Ed / No dB BER Pb
∞ 0 0
12 2.5 × 10-3 2.53 × 10-3
10 1.28 × 10-2 1.25 × 10-2
8 3.59 × 10-2 3.75 × 10-2
6 8.05 × 10-2 7.93 × 10-2
4 1.334 × 10-1 1.318 × 10-1
2 1.856 × 10-1 1.872 × 10-1
0 2.362 × 10-1 2.394 × 10-1
EE4512 Analog and Digital Communications Chapter 4
Eb / No dB BER Pb
Chapter 2
Baseband Modulation and
Demodulation
• The Correlation Receiver for
Baseband Asymmetrical
Signals
• Pages 44-47
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.31
EE4512 Analog and Digital Communications Chapter 4
2 σ o2 ln ( M / (1 − M ) ) + a2 (iTb )2 − a1(iTb )2
τ opt =
2 [a2 (iTb ) − a1(iTb )]
Mean
MS Figure 2.32
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.32
EE4512 Analog and Digital Communications Chapter 4
Reference
Threshold
MS Figure 2.33
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.34
start of Tb?
EE4512 Analog and Digital Communications Chapter 4
Chapter 4
Receiver Design
• Multi-level PAM (M-ary PAM)
• Pages 200-206
EE4512 Analog and Digital Communications Chapter 4
• The three
optimum
thresholds if
the apriori
probabilities
are equally
likely
(Pi = 0.25) S&M Figure 4.49
are: a1(iTS ) + a2 (iTS )
τ opt1 =
2
a2 (iTS ) + a3 (iTS )
τ opt2 = S&M Eq. 4.136
2
a3 (iTS ) + a4 (iTS )
τ opt3 =
2
EE4512 Analog and Digital Communications Chapter 4
• The
probability
of symbol
error Ps,
where M = 2n M=4
is the
number of
levels,
can be 2 (M − 1) Ed,symbol
shown to be: Ps = Q S&M Eq. 4.139
M 2 No
where:
i Ts
• There are
2 (M – 1)
error
regions
due to only M=4
adjacent
regions
being
misinterpreted with M = 2n equally probable symbols. The
probability of occurrence Pj for a misinterpreted symbol is
also equally likely and is:
1
Pj =
2 (M − 1) SVU Eq. 2.41
EE4512 Analog and Digital Communications Chapter 4
01
M=4
00
EE4512 Analog and Digital Communications Chapter 4
3 Ed,symbol
Ps = Q S&M Eq. 4.139b
2 2 No
3 0.4 Eavg,symbol
Ps = Q S&M Eq. 4.142a
2 No
11
S&M Figure 4-50 modified
10
01
M=4
00
EE4512 Analog and Digital Communications Chapter 4
3 0.4 Eavg,symbol
S&M Eq. 4.142a
Ps = Q
2 No
01
M=4
00
EE4512 Analog and Digital Communications Chapter 4
11
S&M Figure 4-50
10
00
01
EE4512 Analog and Digital Communications Chapter 4
Chapter 2
Baseband Modulation and
Demodulation
• Multilevel (M-ary) Pulse
Amplitude Modulation
• Pages 49-55
EE4512 Analog and Digital Communications Chapter 4
BER
• Although Simulink
provides a Bit to
Integer block and
an Integer to Bit
block from the
Utility Blocks,
Communication
Blockset, these
blocks use a vector
of bits rather than
from and to a serial
bitstream.
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.36
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.37
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.40
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.41
EE4512 Analog and Digital Communications Chapter 4
MS Figure 2.36
EE4512 Analog and Digital Communications Chapter 4
01
MSB LSB
1
EE4512 Analog and Digital Communications Chapter 4
• M-ary PAM transmits n bits per symbol (M = 2n) but has the
same rectangular pulse shape as binary PAM. The
normalized power spectral density for M-ary PAM PSDM has
the same sinc shape as that for binary PAM PSDB but uses
the symbol time TS rather than the bit time Tb:
2
PSDM (f) = A avg TS sinc ( π TS f )
PSDB (f) = A 2 Tb sinc ( π Tb f )
EE4512 Analog and Digital Communications Chapter 4
Fig239.mdl
MS Figure 2.39
EE4512 Analog and Digital Communications Chapter 4
BER
EE4512 Analog and Digital Communications Chapter 4
• The rectangular M-ary pulse width is the entire symbol
time TS and is optimum in the bandwidth sense. The
bandwidth is similar to that for binary PAM but with Tb =
TS (cf. S&M Table 3-1 p. 86).
500 Hz
1 kHz
EE4512 Analog and Digital Communications Chapter 4
Chapter 2
Baseband Modulation and
Demodulation
• Performance of M-ary Pulse
Amplitude Modulation
• Gray Encoded Data
• Pages 57-60
EE4512 Analog and Digital Communications Chapter 4
BER
bit to Gray encoded Gray encoded symbol
symbol converter to bit converter
EE4512 Analog and Digital Communications Chapter 4
Gray coding 00 → 00
01 → 01
10 → 11
11 → 10
EE4512 Analog and Digital Communications Chapter 4
Gray coding 00 → 00
01 → 01
10 → 11
11 → 10
EE4512 Analog and Digital Communications Chapter 4
500 Hz
EE4512 Analog and Digital Communications Chapter 4
BER
EE4512 Analog and Digital Communications Chapter 4
End of Chapter 4
Receiver Design
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• Binary Amplitude Shift Keying
• Pages 212-219
EE4512 Analog and Digital Communications Chapter 5
The signal sbaseband(t) can be any two shapes over a bit time
Tb but it is usually a rectangular signal of amplitude 0 for a
binary 0 and amplitude A for binary 1. Then BASK is also
known as on-off keying (OOK). MS Figure 3.5
Tb
0 1 1 0 1
EE4512 Analog and Digital Communications Chapter 5
Multiplier
BASK signal
BASK signal
EE4512 Analog and Digital Communications Chapter 5
DC level 0.5 V
EE4512 Analog and Digital Communications Chapter 5
The analytical signal for the baseband binary PAM signal is:
MS Figure 3.7
EE4512 Analog and Digital Communications Chapter 5
1 kHz rb = 1 kHz
sinc2
EE4512 Analog and Digital Communications Chapter 5
2/Tb 90%
3/Tb 93%
4/Tb 95%
6/Tb 96.5%
8/Tb 97.5%
10/Tb 98%
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• Binary Phase Shift Keying
• Pages 219-225
EE4512 Analog and Digital Communications Chapter 5
0 0 1 1 0
EE4512 Analog and Digital Communications Chapter 5
0 0 1 1 0
EE4512 Analog and Digital Communications Chapter 5
BPSK
signal
Fig312.mdl
fC = 20 kHz
initial phase φo = π
phase deviation kp = π / V
EE4512 Analog and Digital Communications Chapter 5
bi = 0 φ = π + 0(π/V) = π
bi = 1 φ = π + 1(π/V) = 2π = 0
EE4512 Analog and Digital Communications Chapter 5
The analytical signal for the baseband binary PAM signal is:
MS Figure 3.14
EE4512 Analog and Digital Communications Chapter 5
rb = 1 kHz
sinc2
EE4512 Analog and Digital Communications Chapter 5
2/Tb 90%
3/Tb 93%
4/Tb 95%
6/Tb 96.5%
8/Tb 97.5%
10/Tb 98%
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• Binary Frequency Shift Keying
• Pages 219-225
EE4512 Analog and Digital Communications Chapter 5
0 1 1 0 0
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.9
fc – ∆f
fc – ∆f fc + ∆f fc + ∆f Tb fc – ∆f
0 1 1 0 0
EE4512 Analog and Digital Communications Chapter 5
BFSK
signal
FM Modulator
Fig38.mdl
fC = 20 kHz
initial phase = 0
frequency deviation =
2000
EE4512 Analog and Digital Communications Chapter 5
1 0 0 1 1
fc + ∆f fc – ∆f fc – ∆f fc + ∆f fc + ∆f
EE4512 Analog and Digital Communications Chapter 5
GBFSK(f) = (A/2)2 / 2rb sinc2 (π (fC + ∆f) / rb) + A2/8 δ(fC + ∆f)
+ (A/2)2 / 2rb sinc2 (π (fC – ∆f)/ rb) + A2/8 δ(fC – ∆f)
rb = 1 kHz
∆f = 2 kHz
sinc2
EE4512 Analog and Digital Communications Chapter 5
GBFSK(f) = (A/2)2 / 2rb sinc2 (π (fC + ∆f) / rb) + A2/8 δ(fC+ ∆f)
+ (A/2)2 / 2rb sinc2 (π (fC – ∆f)/ rb) + A2/8 δ(fC – ∆f)
∆f = 500 Hz rb = 1 kHz
sinc2
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• Coherent Demodulation of
Bandpass Signals
• Pages 225-236
EE4512 Analog and Digital Communications Chapter 5
Correlation Receiver
EE4512 Analog and Digital Communications Chapter 5
Eb = ∫
(i-1)Tb
γ s(t) γ s(t) dt = γ 2 ∫
(i-1)Tb
s2 (t) dt
2 Eb
Pb = Q
No
EE4512 Analog and Digital Communications Chapter 5
s1(t) = sin(2π fC t + θ)
EE4512 Analog and Digital Communications Chapter 5
∫
(i-1)Tb
cos (4π fC t) dt << Tb insignificant
2 2 2 2 iTb
γ A Tb γ A
Eb, BPSK =
2
−
2 ∫
(i-1)Tb
cos (4π fC t) dt
EE4512 Analog and Digital Communications Chapter 5
ai (iTb ) = ∫
(i-1)Tb
γ si (t) s1(t) dt S&M Eq. 4.67
a2 (iTb ) + a1(iTb )
τ opt = = 0 S&M Eq. 4.71
2
EE4512 Analog and Digital Communications Chapter 5
τ opt = 0
2 (i-1)Tb 0
iT
γ2 A 2 b
− ∫
2 (i-1)Tb
cos (4π (fC − ∆f ) t) dt
iTb 0
− γ2 A 2 ∫
(i-1)Tb
sin (2π (fC + ∆f ) t) sin (2π (fC − ∆f ) t) dt
EE4512 Analog and Digital Communications Chapter 5
2 Eb γ 2 A 2Tb 2 2
Pb, BPSK = Q = Q E γ A Tb
No No b, BPSK = 2
Ed, FSK γ 2 A 2Tb
Pb, BFSK = Q = Q Ed, BFSK = γ 2 A 2Tb
2 No 2 No
Ed, ASK γ 2 A 2Tb γ 2 A 2Tb
Pb, BASK = Q = Q Ed, BASK =
2 No 4 No 2
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Optimum Bandpass Receiver:
The Correlation Receiver
• Pages 81-85
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.1
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.2
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Binary Amplitude Shift Keying
• Pages 86-92
EE4512 Analog and Digital Communications Chapter 5
Threshold
MS Figure 3.4
EE4512 Analog and Digital Communications Chapter 4
Ed / No dB BER Pb
∞ 0 0
12 2.9 × 10-3 2.53 × 10-3
10 1.12 × 10-2 1.25 × 10-2
8 3.46 × 10-2 3.75 × 10-2
6 7.65 × 10-2 7.93 × 10-2
4 1.335 × 10-1 1.318 × 10-1
2 1.863 × 10-1 1.872 × 10-1
0 2.387 × 10-1 2.394 × 10-1
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Binary Phase Shift Keying
• Pages 98-103
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.12
EE4512 Analog and Digital Communications Chapter 4
Eb / No dB BER Pb
∞ 0 0
10 0 4.05 × 10-6
8 1 × 10-4 2.06 × 10-4
6 2.5 × 10-4 2.41 × 10-3
4 1.31 × 10-2 1.25 × 10-2
2 3.35 × 10-2 3.75 × 10-2
0 8.19 × 10-2 7.93 × 10-2
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Binary Frequency Shift Keying
• Pages 92-98
EE4512 Analog and Digital Communications Chapter 5
fC–∆f
fC+∆f
MS Figure 3.9
EE4512 Analog and Digital Communications Chapter 5
Ed/No dB BER Pb
∞ 0 0
12 2.5 × 10-3 2.5 × 10-3
10 1.29 × 10-2 1.25 × 10-2
8 3.50 × 10-2 3.75 × 10-2
6 8.04 × 10-2 7.93 × 10-2
4 1.352 × 10-1 1.314 × 10-1
2 1.833 × 10-1 1.872 × 10-1
0 2.456 × 10-1 2.393 × 10-1
EE4512 Analog and Digital Communications Chapter 5
Ed / No dB BER Pb
10 1.12 × 10-2 1.25 × 10-2 BASK
8 3.46 × 10-2 3.75 × 10-2
Eb / No dB BER Pb
10 0 4.05 × 10-6 BPSK
8 1 × 10-4 2.06 × 10-4
Ed / No dB BER Pb
10 1.29 × 10-2 1.25 × 10-2 BFSK
8 3.50 × 10-2 3.75 × 10-2
EE4512 Analog and Digital Communications Chapter 5
Eb / No dB BER Pb
7 1.12 × 10-2 1.25 × 10-2 BASK
5 3.46 × 10-2 3.75 × 10-2
Eb / No dB BER Pb
10 0 4.05 × 10-6 BPSK
8 1 × 10-4 2.06 × 10-4
Eb / No dB BER Pb
10 1.29 × 10-2 1.25 × 10-2 BFSK
8 3.50 × 10-2 3.75 × 10-2
BASK performs better than BFSK but BPSK is the best.
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• Differential (Noncoherent) Phase
Shift Keying
• Pages 267-271
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Differential Phase Shift Keying
• Pages 130-135
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.33
EE4512 Analog and Digital Communications Chapter 5
XOR
one bit
sample delay MS Figure 3.34
EE4512 Analog and Digital Communications Chapter 5
rad/s
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.12
PSK
EE4512 Analog and Digital Communications Chapter 5
Eb / No dB BER Pb
12 0 6.6 × 10-8 DPSK
10 2 × 10-4 2.3 × 10-5
8 5.1 × 10-3 1.8 × 10-3
Eb / No dB BER Pb
10 0 4.05 × 10-6 BPSK
8 2 × 10-4 2.06 × 10-4
6 2.5 × 10-3 2.41 × 10-3
BPSK performs better than DPSK but requires a coherent
reference signal. DPSK performs nearly as well as BPSK
at high SNR.
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• M-ary Bandpass Techniques:
Quaternary Phase Shift Keying
• Pages 274-286
EE4512 Analog and Digital Communications Chapter 5
cos
Chapter 3
Bandpass Modulation and
Demodulation
• Multilevel (M-ary) Phase Shift
Keying
• Pages 117-123
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.22
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.22
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.22
EE4512 Analog and Digital Communications Chapter 5
Gray coding 00 → 00
01 → 01
10 → 11
11 → 10
EE4512 Analog and Digital Communications Chapter 5
10 11 11 01 01 11 rb = 1 kb/sec
00 00
M=4 3 2 0 2 0 1 1 2
Delay
TS = 2 msec
EE4512 Analog and Digital Communications Chapter 5
TS = 2 msec
EE4512 Analog and Digital Communications Chapter 5
iTS
S&M Eq. 5.109
γA
∫
2
dQ cos (2π fC t) dt
2 (i-1)TS
z1(nTS)
γ A TS
z1(nTS ) = dQ
2 2
EE4512 Analog and Digital Communications Chapter 5
• The probability of bit error Pb and the energy per bit Eb for a
QPSK signal is the same as that as for a BPSK signal but
with a I and Q carrier amplitude of A / √2 .
2 Eb, PSK γ 2 A 2Tb
Pb, BPSK = Q = Q
No No
note TS
2 Eb, QPSK γ 2 A 2TS
Pb, QPSK = Q = Q S&M Eq. 5.117
No 2 No
γ 2 A 2Tb z1(nTS)
Eb, BPSK =
2 note TS
γ 2 A 2TS
Eb, QPSK =
4
EE4512 Analog and Digital Communications Chapter 5
z1(nTS)
EE4512 Analog and Digital Communications Chapter 5
MS Figure 2.43
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.24
correlation receiver
EE4512 Analog and Digital Communications Chapter 5
Ed/No dB BER Pb
∞ 0 0
12 0 ≈10-8
10 0 ≈10-6
8 2 × 10-4 ≈10-4
6 2.3 × 10-3 2.4 × 10-3
4 1.20 × 10-2 1.25 × 10-2
2 3.62 × 10-2 3.75 × 10-2
0 7.65 × 10-2 7.85 × 10-2
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.25
EE4512 Analog and Digital Communications Chapter 5
No carrier rb = 1 kHz
Sinc2
MS Figure 3.14
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• M-ary Bandpass Techniques:
8-Phase Shift Keying
• Pages 286-292
EE4512 Analog and Digital Communications Chapter 5
sref n(t) =
sin (2π fC t +
n 45° + 22.5°)
φ
n = 0, 1, 2, 3
φ = 22.5°, 67.5°,
112.5°, 157.5°
z1(nTS ) = γ A ∫
(i-1)TS
sin (2π fC t + θ) sin (2π fC t + φ)dt
0
iT iT
γA S S
z1(nTS ) = ∫
2 (i-1)TS
cos (θ − φ) dt − ∫ cos (4π fC t + θ + φ) dt
(i-1)TS
γ A TS
z1(nTS ) = cos (θ − φ)
2
S&M Eq. 5.125
z
1
(
n
T
S
)
EE4512 Analog and Digital Communications Chapter 5
C: sref 3(t)
z
1
(
B: sref 2(t) n
T
A: sref 1(t) S
)
EE4512 Analog and Digital Communications Chapter 5
Eb / No dB
EE4512 Analog and Digital Communications Chapter 5
Eb/No dB
EE4512 Analog and Digital Communications Chapter 5
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• M-ary Bandpass Techniques:
Quaternary Frequency Shift Keying
• Pages 292-298
EE4512 Analog and Digital Communications Chapter 5
sref n(t) =
sin (2π (fC + n ∆f) t)
n = ±1, ±3
Eb/NodB
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Multilevel (M-ary) Frequency
Shift Keying
• Pages 110-116
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.18
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.18
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.18
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.20
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.18
EE4512 Analog and Digital Communications Chapter 5
Ed/No dB BER Pb
∞ 0 0
12 0 ≈10-8
10 0 ≈10-6
8 1 × 10-4 ≈10-4
6 5.1 × 10-3 4.8 × 10-3
4 2.26 × 10-2 2.52 × 10-2
2 5.97 × 10-2 7.54 × 10-2
0 1.209 × 10-1 1.586 × 10-1
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.21
EE4512 Analog and Digital Communications Chapter 5
2( M – 1) ∆f + 4/Ts 95%
2 (M – 1) ∆f + 6/Ts 96.5%
2 (M – 1) ∆f + 8/Ts 97.5%
2 (M – 1) ∆f + 10/Ts 98%
Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
• M-ary Bandpass Techniques:
Quadrature Amplitude Modulation
• Pages 298-301
EE4512 Analog and Digital Communications Chapter 5
Q Q
I I
EE4512 Analog and Digital Communications Chapter 5
M=4
EE4512 Analog and Digital Communications Chapter 5
256-ary QAM
16-ary QAM
EE4512 Analog and Digital Communications Chapter 5
Chapter 3
Bandpass Modulation and
Demodulation
• Quadrature Amplitude
Modulation
• Pages 123-130
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.27
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.27
symbol 0 to 15
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.27
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.30
EE4512 Analog and Digital Communications Chapter 5
I Q Output I Q Output
1 1 11 3 1 1
1 2 9 3 2 0
1 3 14 3 3 4
1 4 15 3 4 6
2 1 10 4 1 3
2 2 8 4 2 2
2 3 12 4 3 5
2 4 13 4 4 7
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.31
EE4512 Analog and Digital Communications Chapter 5
MS Figure 3.31
EE4512 Analog and Digital Communications Chapter 5
Sinc2
250 Hz rb = 1 kb/sec M = 4
rS = 250 s/sec
EE4512 Analog and Digital Communications Chapter 5
Figure 3.42
EE4512 Analog and Digital Communications Chapter 5
• The Real-Imaginary to
Complex conversion block
is in the Math Operations,
Simulink Blockset
Figure 3.42
EE4512 Analog and Digital Communications Chapter 5
Figure 3.42
EE4512 Analog and Digital Communications Chapter 5
End of Chapter 5
Digital Bandpass Modulation
and Demodulation
Techniques
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
• Amplitude Modulation
• Pages 306-309
EE4512 Analog and Digital Communications Chapter 6
dB
EE4512 Analog and Digital Communications Chapter 6
Baseband spectrum
EE4512 Analog and Digital Communications Chapter 6
DSB-SC AM No carrier
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
• Coherent Demodulation
of AM Signals
• Pages 309-315
EE4512 Analog and Digital Communications Chapter 6
no(t)
fC = 25 kHz
EE4512 Analog and Digital Communications Chapter 6
no(t) = W(t) cos (2π fCt) + Z(t) sin (2π fCt) S&M Eq. 5.62R
no(t) cos (2π fCt) = W(t) cos2 (2π fCt) + S&M Eq. 6.5
Z(t) cos (2π fCt) sin (2π fCt)
fC = 25 kHz
EE4512 Analog and Digital Communications Chapter 6
fC = 25 kHz
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
• Non-coherent Demodulation
of AM Signals
• Pages 315-326
EE4512 Analog and Digital Communications Chapter 6
c = DC bias
EE4512 Analog and Digital Communications Chapter 5
A C2 c 2
Pcarrier term = S&M Eq. 6.24
2
Since s(t) + c must be >= 0 to avoid distortion in the
DSB-LC AM signal: c ≥ | min [s(t)] | or c2 ≥ s2(t) for all t.
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
• Frequency Modulation and
Phase Modulation
• Pages 334-343
EE4512 Analog and Digital Communications Chapter 6
n
EE4512 Analog and Digital Communications Chapter 6
β
EE4512 Analog and Digital Communications Chapter 6
β
EE4512 Analog and Digital Communications Chapter 6
1886-1940
EE4512 Analog and Digital Communications Chapter 6
Note that J-n(β) = ± Jn(β) so that J-n2(β) = Jn2(β) and for the
normalized power calculation the sign of J(β) is not used.
Spectrum of
single tone FM
modulation
EE4512 Analog and Digital Communications Chapter 6
Voice
PSD
EE4512 Analog and Digital Communications Chapter 6
40
Voice
fC
PSD
Bandwidth
EE4512 Analog and Digital Communications Chapter 6
fC
200 Hz
PSD
EE4512 Analog and Digital Communications Chapter 6
fC
200 Hz
PSD
Bandwidth
EE4512 Analog and Digital Communications Chapter 6
fC
200 Hz
PSD
Bandwidth
EE4512 Analog and Digital Communications Chapter 6
Chapter 6
Analog Modulation
and Demodulation
• Noise in FM and PM Systems
• Pages 347-355
EE4512 Analog and Digital Communications Chapter 6
End of Chapter 6
Analog Modulation
and Demodulation
EE4512 Analog and Digital Communications Chapter 7
Chapter 7
Multiplexing Techniques
EE4512 Analog and Digital Communications Chapter 7
Chapter 7
Multiplexing Techniques
• Time Division Multiplexing
• Pages 364-368
EE4512 Analog and Digital Communications Chapter 7
Time slots
Multiplexer Demultiplexer
EE4512 Analog and Digital Communications Chapter 7
Time slots
Multiplexer Demultiplexer
EE4512 Analog and Digital Communications Chapter 7
• TDM with four equal data rate sources rb = 250 b/sec and a
transmission rate rTDM = 1 kb/sec
0110
EE4512 Analog and Digital Communications Chapter 7
• TDM with unequal data rate sources rb = 250, 250 and 500
b/sec and a transmission rate rTDM = 1 kb/sec
rTDM = 1 kb/sec
Chapter 7
Multiplexing Techniques
• Frequency Division Multiplexing
• Pages 368-370
EE4512 Analog and Digital Communications Chapter 7
WPTS
Pittsburgh
WQAN
Scranton
WXTU
S&M
Figure 7-7a
EE4512 Analog and Digital Communications Chapter 7
BFSK (MFSK)
End of Chapter 7
Multiplexing Techniques
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital to Analog
Conversion
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Sampling and Quantization
• Pages 390-391
EE4512 Analog and Digital Communications Chapter 8
DAC
Analog signal
Uniform
sampling Continuous
rate amplitude
EE4512 Analog and Digital Communications Chapter 8
Uniform Continuous
sampling amplitude
rate
Quantized
Quantized
amplitude
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Sampling Baseband
Analog Signals
• Pages 392-399
EE4512 Analog and Digital Communications Chapter 8
∞
Xs (f) = fS ∑
k = −∞
X(f − k fS )
EE4512 Analog and Digital Communications Chapter 8
∑
∞
δ(t − kTS ) ∑ δ(f − k f
k = −∞
S )
k = −∞
∞
∞
x s (t) = x(t) ∑ δ(t − kTS )
Xs (f) = fS ∑
k = −∞
X(f − k fS )
k = −∞
• 2 V, 20° initial
phase, 500 Hz
sinusoid
sampled at
5 k samples/sec
• Aliased samples
can be
reconstructed
for a 4500 Hz
and a 5500 Hz
sinusoid that
appears to be
a 500 Hz
sinusoid
S&M
Figure 8-4a,c,d
EE4512 Analog and Digital Communications Chapter 8
• The aliasing of
the signal can
be predicted by
the magnitude
spectrum of the
original 500 Hz
sampled signal.
If the 4500 Hz
and 5500 Hz
signals are then
sampled at
S&M Figure 8-4a,b
5 k samples/sec
aliasing at occurs at | 4500 – 5000 | and (5500 – 5000) Hz
EE4512 Analog and Digital Communications Chapter 8
• The sum of
three sinusoids
does not have
any aliased
frequencies
since the
S&M Figure 8-4a,c
sampling
frequency fS
is greater than
twice the
highest
frequency fmax
fS > 2 fmax
S&M Figure 8-5
EE4512 Analog and Digital Communications Chapter 8
• The frequency
2 fmax is called
the Nyquist
frequency.
Harry Nyquist,
who contributed S&M Figure 8-4a
to the understanding of thermal noise
while at Bell Labs, is also remembered
in electrotechnology for his analysis of
sampled data signals.
Harry Nyquist
1889-1976
EE4512 Analog and Digital Communications Chapter 8
• For practical signals fS > 2 fmax using a guard band for LPFs
fS = 2 fmax
guard band
fS > 2 fmax
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Sampling Baseband
Analog Signals
• Pages 149-182
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.1
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.2
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.4
0.125 msec
EE4512 Analog and Digital Communications Chapter 8
• The analog signal x(t) here is sampled and held rather than
impulse sampled:
y s-h (t) = ∑ x(nTS ) h(t − nTS ) h(t) = 1 0 ≤ t ≤ TS
n
No sinc2 term
∞
PSD = fS2 ∑
k = −∞
| X(f − k fS ) | 2 MS Eq. 4.2
EE4512 Analog and Digital Communications Chapter 8
sinc2 term
∞
PSDs-h = fS2 ∑
k = −∞
| X(f − k fS ) | 2 TS2 sinc 2 ( 2π f TS )
∞ MS Eq. 4.4
PSDs-h = ∑
k = −∞
| X(f − k fS ) | 2 sinc 2 ( 2π f TS )
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Sampling Bandpass
Analog Signals
• Pages 399-400
EE4512 Analog and Digital Communications Chapter 8
f1 f2
LPF 10 kHz fS = 20 ksamples/sec
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Sampling Bandpass
Analog Signals
• Pages 180-181
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4-32
MS Figure 4-33
EE4512 Analog and Digital Communications Chapter 8
LSB USB
LSB USB
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Quantizing Process:
Uniform Quantization
• Pages 400-404
EE4512 Analog and Digital Communications Chapter 8
10 mV
MS Figure 4.7
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Quantizing Process:
Nonuniform Quantization
• Pages 400-404
EE4512 Analog and Digital Communications Chapter 6
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Companding
• Pages 157-159
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.13
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.14
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Pulse Code Modulation
• Pages 171-175
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.21
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.22
EE4512 Analog and Digital Communications Chapter 8
3-bit counter
3-bit DAC
MS Figure 4.22
EE4512 Analog and Digital Communications Chapter 8
8-bit DAC
MS Figure 4.24
EE4512 Analog and Digital Communications Chapter 8
8-bit DAC
MS Figure 4.24
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.25
MS Figure 4.21
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.25
MS Figure 4.21
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.25
MS Figure 4.21
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.25
MS Figure 4.21
EE4512 Analog and Digital Communications Chapter 8
startup
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Differential Pulse Code
Modulation
• Pages 407-411
EE4512 Analog and Digital Communications Chapter 6
where S(n)
is the
predicted
value of the
n th sample
and s(n-i) S&M Figure 8-15
is the n-i th
sample.
The error
signal is
s(n) − S(n)
EE4512 Analog and Digital Communications Chapter 6
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Differential Pulse Code
Modulation
• Pages 175-180
EE4512 Analog and Digital Communications Chapter 6
MS Figure 4.26
EE4512 Analog and Digital Communications Chapter 6
input
MS Figure 4.27
ADC conversion command
EE4512 Analog and Digital Communications Chapter 6
MS Figure 4.28
EE4512 Analog and Digital Communications Chapter 6
4-bit shift
register
reconstructed
signal
MS Figure 4.30
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.31
MS Figure 4.31
EE4512 Analog and Digital Communications Chapter 8
MS Figure 4.31
MS Figure 4.31
EE4512 Analog and Digital Communications Chapter 8
startup
EE4512 Analog and Digital Communications Chapter 8
startup
startup
EE4512 Analog and Digital Communications Chapter 8
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Delta Modulation
• Pages 411-415
EE4512 Analog and Digital Communications Chapter 6
DM transmitter
DM receiver
Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion
• Delta Modulation
• Pages 72-75
EE4512 Analog and Digital Communications Chapter 6
f = 2 Hz
A=1V MS Figure 2.61
EE4512 Analog and Digital Communications Chapter 6
± ∆ = ± 20 mV
∆ = 20 mV MS Figure 2.64
TS = 0.5 msec
EE4512 Analog and Digital Communications Chapter 6
End of Chapter 8
Analog-to-Digital and
Digital-to-Analog
Conversion