3 Introduction To Digital Communications - Line Coding, Bandpass Modulation PDF
3 Introduction To Digital Communications - Line Coding, Bandpass Modulation PDF
Line coding
3 4
Unipolar Non-return to zero level (NRZ-L)
Amplitude Amplitude
0 1
Amplitude Amplitude
0 1
Time Time
Time Time
Amplitude Amplitude
0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0
Time
Time
5 6
Time
Time
7 8
Manchester encoding Differential Manchester encoding
Amplitude Amplitude
0 1
Logic 0 - Transition from current state to different state
Logic 1- Continuation of current state i.e. no transition
Time Time
Amplitude
0 1 1 1 0 0 1 0
Amplitude
0 1 1 1 0 0 1 0
Time
Time
9 10
Amplitude
-3
11 12
Multiline transmission, three level (MLT-3) Alternate mark inversion (AMI)
Amplitude
0 1 1 1 0 0 1 1 1 1 0 1 1 0 1
Time
13 14
Bandpass modulation
15
Digital communication system block diagram Forms of bandpass modulation
v(t ) = V sin(2π ⋅ ft + θ )
QAM
17 18
According to Nyquist:
I∝B x t
pulse frequency is two times the bandwidth of the channel (Nyquist bandwidth)
19 20
Hartley’s formulation of the bit rate for the Shannon limit for information capacity
number of distinct messages M that could be
sent
I = B log 2 1 +
S
fb = 2 B log 2 M
N
where:
where:
fb = line or bit rate (bps) I = information capacity (bps)
B = bandwidth (hertz)
B = bandwidth of the channel (Hz) S
= signal-to-noise power ratio (unitless)
N
M = number of distinct messages
21 22
N = log 2 M • In binary systems, baud & bits per second are equal (e.g. FSK & BPSK)
where N = number of necessary bits
M = number of conditions/levels • In higher-level systems, bps > baud (e.g. QPSK & 8-PSK)
23 24
Baud & minimum bandwidth Amplitude-shift keying
A
M = 2N v( ask ) (t ) = [1 + vm (t ) ] cos ωc t
2
where N is the number of bits encoded into each signaling element, &
where:
vask(t) = amplitude-shift keying wave
vm(t) = digital information (modulating) signal voltage
A/2 = unmodulated carrier amplitude (volts)
ωc = analog carrier radian frequency (radians per second
25 26
27 28
Amplitude-shift keying Frequency-shift keying
29 30
v fsk (t ) = Vc cos 2π ( f c + ∆f ) t
• And for vm(t) = -1 V,
v fsk (t ) = Vc cos 2π ( f c − ∆ f ) t
31 32
Frequency-shift keying FSK bit rate & baud
fm − fs
∆f = The time of one bit (tb) is the same as
2 the time the FSK output is a mark or space frequency (ts)
baud = fb
where:
∆f = frequency deviation (hertz)
|fm – fs| = absolute difference between the mark & space frequencies
33 34
• FSK is an exemption to the rule for digital modulation, the minimum bandwidth is
given by
B = ( f s + f b ) − ( f m − fb )
= ( f s − f m ) + 2 fb
B = 2 ( ∆f + fb )
• Bessel function can also be used to determine the approximate bandwidth
35 36
FSK bandwidth FSK modulation index
fb
• The highest modulating frequency of the binary input signal is fa = • Worst-case modulation index (deviation ratio) occurs when both of the following
2 are at their maximum values
– Frequency deviation
– Modulating frequency
• The formula used for modulation index in FM is also valid for FSK
• The deviation in FSK is constant & always at its maximum value
∆f
h=
fa
37 38
• The center frequency is chosen such that it falls halfway between the mark &
space frequencies
• The VCO output deviates back & forth between the mark & space frequencies
∆f = vm (t )kl
where kl = deviation sensitivity (Hz/V)
39 40
FSK demodulator Continuous-phase FSK
41 42
• Has a better bit-error performance than the conventional binary FSK for a given
S/N ratio
• Disadvantages
Mark & space frequencies: separated from the center frequency – Requires synchronization circuits
by an exact odd multiple of one-half bit rate – More expensive to implement
(fm & fs = n[fb/2], n is any odd number) • One-half the bit rate difference between the mark & space frequencies
43 44
Phase shift keying BPSK
• As the input digital signal changes state, the phase of the output carrier shifts
• Another form of angle-modulated constant-amplitude digital modulation between two angles that are 180° out of phase.
45 46
• If the binary input is a logic 1 (positive value), diodes D1 & D2 are forward
biased & on, while diodes D3 & D4 are reverse biased
• The carrier is in phase with the reference oscillator & the binary data
• If the binary input is a logic 0 (negative value), diodes D3 & D4 are forward
biased & on, while diodes D1 & D2 are reverse biased.
• The balanced modulator acts as a phase reversing switch
47 48
BPSK truth table & phasor diagram BPSK constellation diagram
49 50
where:
fa = maximum fundamental frequency of binary input (Hz) The minimum double-sided Nyquist bandwidth is 2fa
fc = reference carrier frequency (Hz) because fa = fb/2 where fb = input bit rate
51 52
Output phase-versus-time relationship for a BPSK demodulator
BPSK modulator
53 54
• Each 2-bit code generates one of the four possible output phases
– 00, 01, 10, 11
• For logic 0 input • For each of 2-bit code clocked into the modulator, a single output change occurs
– Symbol rate (baud) is half the input bit rate
55 56
QPSK modulator QPSK truth table & phasor diagram
57 58
= sin +
= sin + cos
= +
= tan !
59 60
Output phase-versus-time relationship for a QPSK bandwidth
QPSK modulator
Because the input data are divided into 2 channels, the bit rate in either the I or Q
channel is equal to one-half the input data rate (fb/2).
61 62
• The highest fundamental frequency present at the data input to the I & Q
balanced modulator is equal to one-fourth of the data (fb/4)
fN = fb/2
63 64
8-PSK 8-PSK modulator
– With 2 magnitudes & two polarities, four different output conditions are
possible.
65 66
I- & Q-channel 2-to-4-level converters 8-PSK truth table & constellation diagram
67 68
8-PSK phasor diagram Output phase-versus-time relationship for
an 8-PSK modulator
69 70
• Because the data are divided into three channels, the bit rate in the I, Q or C
channel is equal to one-third of the binary input data rate (fb/3).
• There is one change in phase at the output for every three data inputs.
– The baud for 8-PSK equals fb/3, the same as the minimum bandwidth
71 72
16-PSK 16-PSK truth table & constellation diagram
• The minimum bandwidth & baud is equal one-fourth the bit rate (fb/4)
73 74
• Unlike 8-PSK, the output signal from an 8-QAM modulator is not a constant-
amplitude signal
• A form of digital modulation similar to PSK except the digital information is
contained in both of the following of the carrier:
• As with 8-PSK, the incoming data are divided into groups of three bits
– Amplitude
– I, Q, & C bit streams
– Each stream has a bit rate equal to one-third of the incoming data rate
– Phase
– The I & Q bits determine the polarity at the output of the 2-to-4 level
• Amplitude & phase-shift keying are combined
converters
– Positions of the signaling elements on the constellation diagrams are
optimized to achieve the greatest distance between elements
– The C channel determines the magnitude
• Logic 1 = 1.307
– Reducing the likelihood of one element being misinterpreted as another • Logic 0 = 0.541
element
75 76
8-QAM modulator 8-QAM truth table
77 78
79 80
Output phase & amplitude-versus-time 16-QAM
relationship for 8-QAM
• As with 8-QAM, both phase & amplitude of the transmit carrier are varied.
81 82
• I’ & Q’ bits determine the • I & Q bits determine the polarity at the
• The input binary are divided into four channels magnitude output of the 2-to-4 level converters
– I channel – Logic 1 = 0.821 V o Logic 1 = positive
– I’ channel – Logic 0 = 0.22 V o Logic 0 = negative
– Q channel
– Q’ channel
• The bit rate in each channel is equal to one-fourth of the input bit rate (fb/4)
83 84
16-QAM modulator 16-QAM truth table for the I & Q-channel 2-
to-4 level converters
• 2-to-4 level converters generate a 4-level PAM signal
• 2 polarities & 2 magnitudes are possible at the output of each 2-to-4 level
converter
– ±0.22 V
– ±0.821 V
–
85 86
87 88
16-QAM constellation diagram 16-QAM bandwidth
• Because the input data are divided into 4 channels, the bit rate in the I, I’, Q & Q’
channel is equal to 1/4 of the input data rate (fb/4)
• There is one change in the output signal (either its phase, amplitude or both) for
every 4 input data bits
89 90
91 92
Bandwidth efficiency Bandwidth efficiency
93 94
95 96
Solution A comparison of bandpass modulation
schemes
10Mbps 1 bps 1 bit Modulation Encoding Bandwidth(Hz) Baud
BPSK: BW efficiency = = =
10MHz Hz cycle FSK Single Bit fb fb
10Mbps 2 bps 2 bits BPSK Single Bit fb fb
QPSK: BW efficiency = = =
5MHz Hz cycle QPSK Dibit fb / 2 fb / 2
10Mbps 3 bps 3 bits
8-PSK: BW efficiency = = = 8-PSK Tribit fb / 3 fb / 3
3.33MHz Hz cycle
8-QAM Tribit fb / 3 fb / 3
10Mbps 4 bps 4 bits
16-QAM: BW efficiency = = = 16-PSK Quadbit fb / 4 fb / 4
2.5MHz Hz cycle
16-QAM Quadbit fb / 4 fb / 4
97 98
Probability of error & bit error rate (BER) Carrier-to-noise power ratio (CNR)
C C
= (unit less )
• Probability of error (Prob(E)) N KTB
– Theoretical (mathematical) expectation of the bit error rate for a given
system
Ratio of the
average carrier power (combined power of the carrier & its sidebands)
• BER
to the
– An empirical (historical) record of a system’s actual bit error performance
thermal noise power
Example
If a system has a Prob(E) of 10-5, this means that mathematically, you can expect
one bit error in every 100,000 bits transmitted
99 100
Energy per bit Energy Per Bit
Eb = CTb ( J / bit ) C
Eb =
Because Tb = 1/fb
( J / bit )
where : Eb = energy of a single bit (joules per bit) fb
Tb = time of a single bit(seconds)
C = carrier power (watts)
In dBJ
C
In dBJ Eb ( dBJ ) = 10 log
fb
Eb ( dBJ ) = 10 log Eb
= 10 log C − 10log f b
101 102
N
No = (W / Hz ) In dBm
N o = 10 log
N
− 10 log B
B 0.001
Thermal noise power = N ( dBm) − 10 log B
normalized to 1-Hz bandwidth (noise power in a 1-Hz bandwidth)
KTB
where : N o = noise power density (watts per hertz) No can be expressed as
No = = KT (W / Hz )
B
N = thermal noise power (watts)
in dBm,
B = bandwidth (hertz)
K
No = 10 log + 10 log T
0.001
103 104
Energy per bit-to-noise power density ratio Energy per bit-to-noise power density ratio
(Eb/N0)
Eb C / f b CB
• Used to compare 2 or more digital modulation systems that use different: = =
N o N / B Nf b
– Transmission rates (bit rates)
Rearranging,
– Modulation schemes (FSK, PSK & QAM)
Eb C B
= x
– Encoding techniques (M-ary) N o N fb
105 106
Energy per bit-to-noise power density ratio BER performance of FSK modulation
in dB schemes under AWGN
Eb C B
(dB ) = 10 log + 10 log
No N fb
= 10 log Eb − 10 log N o
107 108
BER performance of PSK modulation BER performance of QAM modulation
schemes under AWGN schemes under AWGN
109 110
BER performance of binary modulation BER performance of M-PSK & M-QAM under
schemes under AWGN AWGN
111 112
Drill problem Drill problem
C = 10−12 f b = 60 kbps
N = 1.2 x10−14 W B = 120 kHz
For a QPSK system & the given parameters, determine
1. Carrier power in dBm
2. Noise power in dBm For the following modulation schemes, construct a table showing the number of bits
3. Noise power density in dBm encoded, number of output conditions, minimum bandwidth, & baud for an
4. Energy per bit in dBJ information data rate of 12 kbps: QPSK, 8-PSK, 8-QAM, 16-PSK, & 16-QAM
5. Carrier-to-noise power ratio in dB
6. Eb/No ratio.
113 114