Digital Communication
Digital Communication
Dr. A. Ananth
IEC 222 Digital
Communication [3-0-3-4]
Course Objectives:
• Understand the mathematical representation of signal, symbol, and noise
• Associate and apply the concepts of Bandpass sampling to well specified signals and
channels
• Analyze and compute performance parameters and transfer rates for low pass and
bandpass symbol under ideal and corrupted non band limited channels
• Test and validate symbol processing and performance parameters at the receiver under
ideal and corrupted band-limited channels
Unipolar, Polar, Bipolar (AMI) and Manchester code and their power spectral densities. Overview of
HDB3, B3ZS, B6ZS.
Digital Modulation Techniques: Phase shift Keying techniques using coherent detection: generation,
4
detection and error probabilities of BPSK and QPSK, M–ary PSK, M–ary QAM.
Topics to be Covered
Frequency shift keying techniques using Coherent detection: BFSK generation, detection and error
probability. Non coherent orthogonal modulation techniques: BFSK, DPSK Symbol representation, Block
diagrams treatment of Transmitter and Receiver, Probability of error.
Communication through Band Limited Channels: Digital Transmission through Band limited channels:
Digital PAM Transmission through Band limited Channels, Signal design for Band limited Channels:
Design of band limited signals for zero ISI–The Nyquist Criterion, Design of band limited signals with
controlled ISI-Partial Response signals, Probability of error for detection of Digital PAM: Probability of
error for detection of Digital PAM with Zero ISI, Symbol–by– Symbol detection of data with controlled
ISI.
Principles of Spread Spectrum: Spread Spectrum Communication Systems: Model of a Spread Spectrum
Digital Communication System, Direct Sequence Spread Spectrum Systems, Effect of Despreading on a
narrowband Interference, Probability of error (statement only), Some applications of DS Spread Spectrum
Signals, Generation of PN Sequences, Frequency Hopped Spread Spectrum, CDMA based on IS-95.5
IEC 222 Digital
Communication [3-0-3-4]
Text Books/ References:
1. Simon Haykin, “Digital Communication Systems”, John Wiley & sons, First
Edition, 2014, ISBN 978-0-471-64735-5.
2. John G Proakis and MasoudSalehi, “Fundamentals of Communication
Systems”, 2014 Edition, Pearson Education, ISBN 978-8- 131-70573-5.
3. B. P. Lathi and Zhi Ding, “Modern Digital and Analog communication Systems”,
Oxford University Press, 4th Edition, 2010, ISBN: 978- 0-198-07380-2.
4. Ian A Glover and Peter M Grant, “Digital Communications”, Pearson Education,
Third Edition, 2010,ISBN 978-0-273-71830-7.
5. Bernard Sklar and Ray, "Digital Communications - Fundamentals and
Applications", Pearson Education, Third Edition, 2014, ISBN: 978-81-317-2092-
6
9.
Today’s Topic of Discussion
Communication Systems
Analog Communication
Digital Communication
Source Coding
Line Coding
• Wireless Communication
• Internet
8
Block Diagram of Digital Communication
9
Line Coding
• Unipolar Non return to zero (NRZ)
• Polar NRZ
• Bipolar RZ
10
Amplitude Shift Keying
• Definition
• Signal Representation
• Constellation Diagram
• Coherent Receiver
11
Phase Shift Keying
• Definition
• Signal Representation
• Constellation Diagram
• Coherent Receiver
12
Phase Shift Keying
Generation of BPSK Signals
Signal Representation
13
Phase Shift Keying
Coherent Detection of BPSK Signals
14
Phase Shift Keying
Signal Space/ Constellation Diagram
15
Frequency Shift Keying
• Definition
• Signal Representation
• Constellation Diagram
• Coherent Receiver
16
Phase Shift Keying
Generation of BFSK Signals
Signal Representation
17
Phase Shift Keying
Coherent Detection of BFSK Signals
18
Phase Shift Keying
Signal Space/ Constellation Diagram
19
BASK, BFSK, BPSK Waveforms
20
Differential Phase Shift Keying
DPSK Transmitter
21
Differential Phase Shift Keying
DPSK Transmitter
DPSK Receiver
22
Quadrature Phase Shift Keying
(QPSK)
QPSK Transmitter
23
Quadrature Phase Shift Keying
(QPSK)
QPSK Receiver
24
Quadrature Phase Shift Keying
(QPSK)
QPSK Signal Representation
26
Quadrature Phase Shift Keying
(QPSK)
QPSK Signal Space Diagram
27
Quadrature Phase Shift Keying
(QPSK)
QPSK Waveform
28
Quadrature Phase Shift Keying
(QPSK)
Offset QPSK
• Possible phase switching in QPSK 180o two bits are changes (00 11, 01
10)
29
Quadrature Phase Shift Keying
(QPSK)
Offset QPSK
• 180o and 90o phase shift are a big concern while filtering at the receiver
• They result in change in the amplitude of the carrier signal while signal
transmission
30
Quadrature Phase Shift Keying
(QPSK)
Offset QPSK
• The bit stream sent to the quadrature component is delayed by half of the
symbol interval
31
Quadrature Phase Shift Keying
(QPSK)
Offset QPSK
https://www.everythingrf.com/community/what-is-oqpsk-modulation
32
M- ary Phase Shift Keying
(MPSK)
• Generic form of PSK M-ary PSK
• Modulated signal
34
Quadrature Phase Shift Keying
(QPSK)
M-ary PSK
35
Quadrature Amplitude
Modulation (QAM)
M-ary QAM
• M-ary PSK, amplitude is constant
36
Quadrature Amplitude
Modulation (QAM)
M-ary QAM
• Transmitted signal
38
Quadrature Amplitude
Modulation (QAM)
Construction of 16 - QAM Constellation from PAM
• Construct two 4 – ary PAM vertically (2) and horizontally (1) which are
orthogonal to each other
39
Quadrature Amplitude
Modulation (QAM)
Construction of 16 - QAM Constellation from PAM
• First quadrant constellation positive part of 1 & 2
40
Quadrature Amplitude
Modulation (QAM)
Construction of 16 - QAM Constellation from PAM
• Third quadrant constellation negative part of 2 & positive part of 1
41
Quadrature Amplitude
Modulation (QAM)
Construction of 16 - QAM Constellation from PAM
• Gray encoding principle
42
Power Spectral Density of Line
Codes
• PSD of Line codes
Unipolar NRZ Line Code Polar NRZ Line Code
43
Power Spectral Density of Line
Codes
• PSD of Line codes
Bipolar RZ Line Code Unipolar RZ Line Code
44
Signalling over AWGN Channels
AWGN Channel Model
• Output from a computer 0s and 1s for every Tb seconds
• Signals s1(t) and s2(t) are real valued energy signals, send through analog
channel
• Receiver should observe the signal over Tb interval and estimate the
transmitted signal si(t), i = 1, 2
• Conditional probabilities
47
Signalling over AWGN Channels
AWGN Channel Model
• How to optimize the design of receiver to minimize the probability of error
• How to set the signals s1(t), s2(t), …, sM(t) to represent the symbols m1, m2, …,
mM
49
Geometric Representation of
Signals
• The real valued basis functions 1(t), 2(t), …, N(t) form a orthonormal set
Analyzer
Synthesizer
51
Geometric Representation of
Signals
• Geometric representation of a signal with N = 2 and M = 3
52
Geometric Representation of
Signals
• Signal can be determined by the signal vector
53
•
Geometric Representation of
Signals
• How to define the length of a vector and angle between vectors?
• The squared length of any signal vector si inner product or dot product of si
with itself
• The squared length of any signal vector si inner product or dot product of si
with itself
55
Geometric Representation of
Signals
• Relation between energy of a signal and length of signal vector
• Energy
56
Geometric Representation of
Signals
• Relation between energy of a signal and length of signal vector
57
Geometric Representation of
Signals
• Relation between energy of a signal and length of signal vector
58
Geometric Representation of
Signals
• How to define the length of a vector and angle between vectors?
• Cosine of the angle ik is inner product of these two vectors divided by the
product of the individual norms
• When two vectors are perpendicular or orthogonal, their inner product is zero
and ik = 90o
59
Gram – Schmidt
Orthogonalization Procedure
• Given the M energy signals s1(t), s2(t), …, sM(t), how to calculate the
orthogonal basis function 1(t), 2(t), …, N(t) ?
• Step 1: Find the first orthogonal basis function 1(t) from s1(t) as
61
Gram – Schmidt
Orthogonalization Procedure
• Step 2: Using s2(t), 1(t) can be obtained as
• orthogonal basis function 2(t) is
62
Gram – Schmidt
Orthogonalization Procedure
• Generalized procedure
• Usually N M
• The signals s1(t), s2(t), …, sM(t), are not linearly independent set N < M,
63
the
Gram – Schmidt
Orthogonalization Procedure
• Determine the orthogonal basis function for the signals given below.
64
Conversion of Continuous AWGN Channel into
Vector Channel
• The input to the bank of correlators is x(t) (modulated signal plus noise) not
si(t) (Modulated signal)
• w(t) sample of white Gaussian noise process W(t) with mean zero and
variance/ PSD No/2
65
Conversion of Continuous AWGN Channel into
Vector Channel
• sij deterministic component due to si(t)
• New stochastic process X’(t) with a sample function x’(t) related with x(t) as
66
Conversion of Continuous AWGN Channel into
Vector Channel
• Sample function x’(t) depends on channel noise term w(t)
67
Conversion of Continuous AWGN Channel into
Vector Channel
Statistical Characterization of Correlator Outputs
• Let the received signal x(t) is a sample function of a random process X(t)
• Mean of Xj
• Variance of Xj
69
Conversion of Continuous AWGN Channel into
Vector Channel
Statistical Characterization of Correlator Outputs
• Variance of Xj
70
Conversion of Continuous AWGN Channel into
Vector Channel
Statistical Characterization of Correlator Outputs
• Variance of Xj
71
Conversion of Continuous AWGN Channel into
Vector Channel
Statistical Characterization of Correlator Outputs
• Covariance of Xj Xk
72
Conversion of Continuous AWGN Channel into
Vector Channel
Statistical Characterization of Correlator Outputs
73
Principles of Spread Spectrum
Signals
• The bandwidth of spread spectrum signals is greater than the information
rate R in bits per sec
• Hide the signal by using low power for signal transmission listener will
identify as a noise
• Knowing the pseudorandom pattern the intended receiver can retrieve the
information avoid interference
76
Principles of Spread Spectrum
Signals
Uses of Spread spectrum signals
78
Principles of Spread Spectrum
Signals
Model of Spread Spectrum Communication Systems
81
PN Sequence Generation
Generation of PN Sequence
• Feedback shift register shift register made of m flipflops and logic circuit
• For every clock signal the state of flipflop is changed by the previous flipflop,
logic circuit computes Boolean function
• The output of logic circuit is fed as input to the first flipflop prevents shift
register getting emptied
• sj(k) state of the jth shift register after kth clock pulse
84
PN Sequence Generation
Generation of PN Sequence
• The Boolean function of the logic network determines the states of the shift
register
85
PN Sequence Generation
Generation of PN Sequence
• Period of pn sequence created by feedback shift register with m FFs will not
exceed 2m-1
86
PN Sequence Generation
Generation of PN Sequence
• The PN sequence generator with 3 flipflops, initial state of the shift register
is 100 and feedback logic with modulo-2 adder
87
PN Sequence Generation
Properties of m-sequence
• Balance property: Number of ones is always one more than the number of
zeros
• Run property: 1 half the runs of length one, quarter of the runs of length
two, one eight of the runs of length three.
90
PN Sequence Generation
Properties of m-sequence
• Correlation property: The power spectral density of c(t) is
91
PN Sequence Generation
Properties of m-sequence
• Correlation property: The autocorrelation of m-sequence looks like a
autocorrelation of random binary wave
92
PN Sequence Generation
Properties of m-sequence
Auto Correlation and Cross Correlation of PN Sequence
93
PN Sequence Generation
94
Spread Spectrum
• Protection against jamming signal
95
Spread Spectrum
• Method of widening the bandwidth of the signal modulation
• Multiplying b(t) and c(t) using product modulator (spreading) gives m(t)
96
Spread Spectrum
• b(t) narrow band signal
97
Spread Spectrum
• The received signal r(t)
• Signal reception
98
Spread Spectrum
• The multiplier output signal z(t)
100
DSSS with BPSK
DS/BPSK Transmitter
101
DSSS with BPSK
DS/BPSK Receiver
102
DSSS with BPSK
DS/BPSK Receiver
103
DSSS with BPSK
DS/BPSK Receiver
• Synchronization of the PN sequences used at the transmitter and receiver is
required
104
• Tracking phase locked techniques
Signal Space Dimensionality and Processing Gain
• The set of orthogonal basis functions
105
Signal Space Dimensionality and Processing Gain
• The transmitted signal
106
• Transmitted signal represented as N orthogonal function
Signal Space Dimensionality and Processing Gain
• The jammer signal
• Jammer tries to occupy only the transmitted signal bandwidth but does not
know the phase
107
Signal Space Dimensionality and Processing Gain
• The average power of the jammer signal
• Jammer will apply equal power on sine and cosine term of the signal
108
Signal Space Dimensionality and Processing Gain
• The output of coherent detector
109
Signal Space Dimensionality and Processing Gain
• The first component vs
110
Signal Space Dimensionality and Processing Gain
• Approximating PN sequence as independent and identical binary sequence,
the second term
• Vcj and Ck are random variables with sample values vcj and ck
111
Signal Space Dimensionality and Processing Gain
• The variance of Vcj for a given pseudo sequence
112
Signal Space Dimensionality and Processing Gain
• The output signal to noise ratio is
113
Signal Space Dimensionality and Processing Gain
• The SNR in terms of decibel
• The processing gain and spread factor are equal spread spectrum
115
Probability of Error
• The probability of error depends on the RV Vcj
• Vcj is the sum of N identically distributed RV, by central limit theorem, for
large N, Vcj follows Gaussian distribution
116
Anti-jam Characteristics
• The average probability of error in coherent BPSK is
• In DS/BPSK, the interference can be treated as wide band noise with PSD
N0/2
• Eb is the energy per bit = P Tb, P is the average signal power, Tb is the bit
duration
117
Anti-jam Characteristics
• Using the relation of processing gain PG = Tb/ Tc
• Large PG means small chip duration, more chips per bit and wide BW
• Practical physical devices have some limits on the processing gain (i.e PG
may not be too large)
• Common modulation format for FHSS is M-ary frequency shift keying (MFSK)
• FHSS does not spread across the spectrum instantaneously but sequentially
• Rate at which frequency hop occurs fast frequency hopping SS and slow
frequency hopping SS
120
Frequency-Hop Spread Spectrum
• Carrier frequency hops several times during the transmission of one symbol
121
Slow Frequency-Hop Spread Spectrum
• Slow frequency hopping SS symbol rate Rs of the MFSK signal is smaller
than the hop rate Rh
• Carrier frequency hops several times during the transmission of one symbol
122
Slow Frequency-Hop Spread Spectrum
123
Slow FHSS
124
Fast FHSS
125
Band Pass to Equivalent Low Pass
• Low pass signal low frequency signal/ baseband signal
• Easier to work/ handle with low frequency equivalent signal instead of high
frequency signal
• Operating/ working with low frequency signal is easy due to low sampling
rates
• S(f) ≈ 0, | f | > W
• S (f) > 0 for some f
127
Band Pass to Equivalent Low Pass
• A signal s(t) is real valued s(t) = s*(t) only if it satisfies the following condition
128
Band Pass to Equivalent Low Pass
• Spectrum of real valued passband signal
• Complex envelope can be represented in discrete time with small sampling rate
than the passband signal
131
Time Domain Representation of Passband Signal
132
Complex Envelope
133
Digital Communication through Bandlimited Channels
• Channel can be modelled as linear filter with low pass frequency response
C(f) 0, f < W, C(f) = 0, f > W
134
Digital Communication through Bandlimited Channels
• The signal pulse should be designed such that the symbol rates should be
confined within the channel bandwidth
• How to design a receiver that can mitigate the effect of ISI and AWGN?
• Receiver should compensate/ reduce the effect of ISI in the received signal
136
Digital Communication through Bandlimited Channels
• Modern telephone channel uses TDM for multiplexing and PCM for sampling
and encoding analog signal
• If C(f) is bandlimited, C(f) = 0 |f| > W, the frequency components of V(f) > W
will not be transmitted
139
Digital Communication through Bandlimited Channels
140
Digital Communication through Bandlimited Channels
• The channel is ideal or non-distorting when |C(f)| is constant for all | f | < W
and ϴ(f) is linear function of frequency, τ(f) is constant for all | f | < W
• If |C(f)| is not constant for all | f | < W, channel distorts the amplitude of the
transmitted signal
• If τ(f) is not constant for all | f | < W, channel introduces signal delay
• After passing through channel with amplitude and delay distortion zero
crossings are not equally spaced
• Successive pulses will spread with other and peak of the pulses are not
distinguishable ISI
• To study the channel and its ability to provide ISI frequency response
characteristics of the channel is studied
143
Digital Communication through Bandlimited Channels
• The duration is 10 ms
• Phase jitter low frequency modulation with power line signal (50 – 60 Hz)
• Serious one and can be compensated to an extent
146
Digital Communication through Bandlimited Channels
• For 1800 bps (R/W < 1), FSK can be used and insensitive to all channel
impairments
• For 1800 – 2400 bps (R/W ≈ 1), bandwidth efficient QPSK can be used,
equalizer, carrier recovery are used 147
Digital Communication through Bandlimited Channels
• Channel linear filter with amplitude and delay distortion with AWGN 148
Digital Communication through Bandlimited Channels
• Short wave ionospheric, tropospheric scatter, mobile radio channels time dispersive
channels
• Radio channel number of path, Relative time delay of the paths vary with time time
variant radio channel
149
• Telephone channels Time invariant channel
Digital Communication through Bandlimited Channels
Signal Design for Bandlimited Channels
• Low pass transmitted signal after modulation
• Received signal is
150
Digital Communication through Bandlimited Channels
Signal Design for Bandlimited Channels
• h(t) convolution of the pulse with channel
• z(t) AWGN
• Received signal passed through a filter and sampled at 1/T samples/sec gives
152
Digital Communication through Bandlimited Channels
Signal Design for Bandlimited Channels
• If xo is a arbitrary scaling factor set to one
155
Digital Communication through Bandlimited Channels
Signal Design for Bandlimited Channels
• 2D scatter diagram for ISI signals (eye pattern) of PSK and QAM
158
Design of Bandlimited Signals for No-ISI
159
Design of Bandlimited Signals for No-ISI
160
Design of Bandlimited Signals for No-ISI
• Raised cosine pulse
161
Design of Bandlimited Signals for No-ISI
• Raised cosine pulse
162
Design of Bandlimited Signals for No-ISI
• Raised cosine pulse
163
Maximum Likelihood Receiver
• Information bits / message mi are mapped to the signal parameters like
amplitude, phase, frequency of the carrier signal modulation
• The signal si(t) are obtained through N orthogonal basis function j(t), j = 1, 2,
…, N
• At the receiver, the signal received is passed through bank of N correlators with
164
N orthonormal basis function
Maximum Likelihood Receiver
Correlation receiver
• Outcome of the bank of correlators for the signal si(t) without noise
si = [si1, si2, …, siN]
• The vector si corresponding to the signal si(t) mapped in the Euclidean space
of dimension N M transmitted signal point
• Mapping x vector in the Euclidean space differs the signal point si 166
Maximum Likelihood Receiver
Correlation receiver
167
Maximum Likelihood Receiver
• Scatterplot of a transmitted & received signal vector in the presence of noise
168
Maximum Likelihood Receiver
• Observation vector is different from transmitted signal vector due to the
presence of noise
• From observation vector x, the signal x(t) can be mapped to a point in the
Euclidean space
• Received signal point will be anywhere around the transmitted signal point
due to noise
• Given the received signal vector x how to find the estimate of the transmitted
symbol m̂ i so that the probability of error is minimized
• Probability of error is
170
Maximum Likelihood Receiver
• Using Bayes rule
• Maximum likelihood rule system that uses the above logic for detection
maximum likelihood decoder
• N = 2, M = 4
174
Maximum Likelihood Receiver
• In the presence of AWGN, The conditional PDF fx(x|mk) is
175
Maximum Likelihood Receiver
176
Maximum Likelihood Receiver
• On avoiding the variance which is constant in the second term can be
expressed as
• The first term is independent of the transmitted signal vector sk and avoided
• The third term is the inner product of observation vector x and transmitted
signal vector sk
178
Maximum Likelihood Receiver
• Energy of the transmitted signal is
179
Receiver
Detector
180
Receiver
Decoder
• Operates on observation vector x and estimates m̂ of the transmitted symbol
mi, i = 1, 2, …, M
182
Matched Filter
• Alternate method of optimum receivers with linear time invariant filter with
impulse response hj(t) matched filter
• If
184
Matched Filter
• Sampling the filtered signal at T gives
185
Matched Filter
• The output of the correlator is equivalent to the matched filter by passing the
received signal through the bank of filters and sampled at time T
• Matched filter Filter with an impulse response which is time reversed and
delayed by T version of the signal j(t)
186
Matched Filter
187
Vector Receiver
• The output of the correlator is equivalent to the matched filter by passing the
signal through the filter and sampled at time T
188
Duobinary Signaling
• Correlative – level coding correlation between successive symbols are
brought
189
References
• https://www.everythingrf.com/community/what-is-oqpsk-modulation
• Simon Haykin, “Digital Communication Systems”, John Wiley & sons, First
Edition, 2014, ISBN 978-0-471-64735-5.
• Simon Haykin, “Communication Systems”, John Wiley & sons, Fourth Edition.