Chapter 5 - Signal Encoding and Modulation Techniques
Chapter 5 - Signal Encoding and Modulation Techniques
Modulation Techniques
1/45
Encoding and Modulation Techniques
2/45
Digital Signaling Versus Analog Signaling
Digital signaling
Digital or analog data is encoded into a digital signal
Encoding may be chosen to conserve bandwidth or to
minimize error
Analog Signaling
Digital or analog data modulates analog carrier signal
The frequency of the carrier fc is chosen to be compatible
with the transmission medium used
Modulation: the amplitude, frequency or phase of the carrier
signal is varied in accordance with the modulating data signal
by using different carrier frequencies, multiple data signals
(users) can share the same transmission medium
3/45
Digital Signaling
4/45
Analog Signaling
Digital signal
discrete, discontinuous voltage pulses
each pulse is a signal element
binary data encoded into signal elements
6/45
Periodic signals
7/45
Interpreting Signals
Need to know
timing of bits: when they start and end
signal levels: high or low
factors affecting signal interpretation
Data rate: increase data rate increases Bit Error Rate (BER)
Signal to Noise Ratio (SNR): increase SNR decrease BER
Bandwidth: increase bandwidth increase data rate
encoding scheme: mapping from data bits to signal elements
8/45
Comparison of Encoding Schemes
signal spectrum
Lack of high frequencies reduces required bandwidth,
lack of dc component allows ac coupling via transformer,
providing isolation,
should concentrate power in the middle of the bandwidth
Clocking
synchronizing transmitter and receiver with a sync
mechanism based on suitable encoding
error detection
useful if can be built in to signal encoding
signal interference and noise immunity
cost and complexity: increases when increases data rate
9/45
Encoding Schemes
10/45
Encoding Schemes
11/45
NonReturn to Zero-Level (NRZ-L)
12/45
NonReturn to Zero INVERTED (NRZI)
13/45
Advantages and disadvantages of
NRZ-L, NRZI
Advantages
easy to engineer
good use of
bandwidth
Disadvantages
dc component
lack of synchronization
capability
14/45
Multilevel Binary
Bipolar Alternate Mark Inversion (AMI)
Use more than two levels (three levels,
positive, negative and no line signal)
Bipolar-AMI
zero represented by no line signal
one represented by positive or negative pulse
one pulses alternate in polarity
no loss of sync if a long string of ones
long runs of zeros still a problem
no net dc component
lower bandwidth
easy error detection
15/45
Multilevel Binary
Pseudoternary
16/45
Multilevel Binary Issues
Advantages:
No loss of synchronization if a long string of 1’s occurs, each
introduce a transition, and the receiver can resynchronize on
that transition
No net dc component, as the 1 signal alternate in voltage
from negative to positive
Less bandwidth than NRZ
Pulse alternating provides a simple mean for error detection
Disadvantages
receiver distinguishes between three levels: +A, -A, 0
a 3 level system could represent log23 = 1.58 bits
requires approx. 3dB more signal power for same probability
of bit error
17/45
Theoretical Bit Error Rate (BER) For
Various Encoding Schemes
18/45
Manchester Encoding
19/45
Differential Manchester Encoding
20/45
Advantages and disadvantages of
Manchester Encoding
Disadvantages
at least one transition per bit time and possibly two
maximum modulation rate is twice NRZ
R
D
L
D : Modulation rate, [baud ]
R : Data
requires Ratebandwidth
more , [bps]
L : number of bits per signal elements
Advantages
synchronization on mid bit transition (self clocking codes)
has no dc component
has error detection capability (the absence of an expected transition can be
used to detect errors)
21/45
Modulation Rate versus Data Rate
Data rate (expressed in bps)
Data rate or bit rate R=1/Tb=1/1μs=1Mbps
Modulation Rate (expressed in baud) is the rate at which signal
elements are generated
Maximum modulation rate
for Manchester is
D=1/(0.5Tb)=2/1μs=2Mbaud
22/45
Scrambling
23/45
B8ZS and HDB3
24/45
Bipolar with 8-Zero Substitution (B8ZS)
25/45
High Density Bipolar-3 zeros (HDB3)
The scheme replaces strings with 4 zeros by sequences containing one
or two pulses
In each case, the fourth zero is replaced with a code violation (V)
successive violations are of alternate polarity
26/45
Digital Data, Analog Signal
Main use is public telephone system
has freq range of 300Hz to 3400Hz
use modem (modulator-demodulator)
The digital data modulates the amplitude A,
frequency fc , or phase θ of a carrier signal
A cos(2f c t )
Modulation techniques
Amplitude Shift Keying (ASK)
Frequency Shift Keying (FSK)
Phase Shift Keying (PSK)
27/45
Modulation Techniques
28/45
Amplitude Shift Keying (ASK)
In ASK, the two binary values are represented by to
different amplitudes of the carrier frequency
The resulting modulated signal for one bit time is
A cos(2f c t ), binary 1
s (t )
0, binary 0
Susceptible to noise
Inefficient modulation technique
used for
up to 1200bps on voice grade lines
very high speeds over optical fiber
29/45
Binary Frequency Shift Keying (BFSK)
The most common form of FSK is Binary FSK (BFSK)
Two binary values represented by two different frequencies ( f1 and f2 )
0 0 1 1 0 1 0 0 0 1 0
A cos( 2f1t ), binary 1 f2 f2 f1 f1 f2 f1 f2 f2 f2 f1 f2
s (t )
A cos( 2f 2t ), binary 0
less susceptible to noise than ASK
used for
up to 1200bps on voice grade lines
high frequency radio (3 to 30MHz)
even higher frequency on LANs using coaxial cable
30/45
Full-Duplex BFSK Transmission on
a Voice-Grade line
Voice grade lines will pass voice frequencies in the range 300
to 3400Hz
Full duplex means that signals are transmitted in both directions
at the same time
f1 f2 f3 f4
31/45
Multiple FSK (MFSK)
MFSK signal:
si (t ) A cos(2f i t ), 1 i M
where
f i f c (2i 1 M ) f d
M number of different signal elements 2 L
L number of bits per signal element
Period of signal element
Ts LTb , Ts : signal element period Tb : bit period
00 i 1 f1 f c 3 f d
01 i2 f2 fc fd
10 i3 f3 fc f d
11 i4 f4 fc 3 fd
35/45
Phase Shift Keying (PSK)
0 0 1 1 0 1 0 0 0 1 0
π π 0 0 π 0 π π π 0 π
36/45
Differential PSK (DPSK)
In DPSK, the phase shift is with reference to the previous bit transmitted
rather than to some constant reference signal
Binary 0:signal burst with the same phase as the previous one
Binary 1:signal burst of opposite phase to the preceding one
37/45
Four-level PSK: Quadrature PSK (QPSK)
More efficient use of bandwidth if each signal element represents
more than one bit
eg. shifts of /2 (90o)
each signal element represents two bits
split input data stream in two & modulate onto the phase of the carrier
A cos( 2f c t ) 11
4
3
A cos( 2f c t ) 01
4
s (t )
3
A cos( 2f c t ) 00
4
A cos( 2f c t ) 10
4
can use 8 phase angles & more than one amplitude
9600bps modem uses 12 phase angles, four of which have two amplitudes:
this gives a total of 16 different signal elements
38/45
QPSK and Offset QPSK (OQPSK)
Modulators
1 1
QPSK : s (t ) I (t ) cos(2f c t ) Q (t ) sin(2f c t )
2 2
1 1
OQPSK : s (t ) I (t ) cos(2f c t ) Q (t Tb ) sin(2f c t )
2 2
39/45
Example of QPSK and OQPSK Waveforms
for QPSK :
1 11 1
4
3
0 1 1 1
4
3
0 0 1 1
4
1 0 1 1
4
40/45
Performance of ASK, FSK, MFSK, PSK and
MPSK
Bandwidth Efficiency
data rate R 1
ASK/PSK: , 0 r 1
transmission bandwidth BT 1 r
MPSK: R log 2 M
, M : number of different signal elements
BT 1 r
MFSK: R log 2 M
BT (1 r ) M
42/45
Quadrature Amplitude Modulation (QAM)
43/45
QAM modulator
44/45
QAM Variants
45/45