Chapter 7 Principles of Digital Data Transmission
Chapter 7 Principles of Digital Data Transmission
7.1.1 Source
․ Input to a digital system: a sequence of digits.
․ Input = output (a data set).
․ Binary communication, M-ary communication.
1
․ Line code example:
‥ On-off ( RZ ): 1 p t , 0 0 .
immunity ) .
current 1 p t
7.1.3 Multiplexer
․ Increasing capacity of physical channel.
‥ Using digital multiplexer, e.g., TDMA, FDMA, CDMA, to combine several
2
sources. ( time division , frequency division , code division multiple access )
‥ A physical channel is shared by several source messages simultaneously.
‥ Bipolar signal, after rectified (abs), get “on-off “ signal. get clock
frequency.
․ Transparent line code:polar signal . (A line code in which the bit pattern does not
3
affect the accuracy of the timing information is said to be a transparent line code.)
․ Nontransparent line code:on-off and bipolar signal . (affect the timing information,
e.g. , all 0 , all 1 )
7.2 Line Coding
․ Line code should have the properties.
‥ TX BW:small.
1
PSD ( FT of Rg ): S g f FT Rg lim f
2
GT
T T
․ Consider the line code baseband signal with generic pulse p t train:
y t ak p t kTb
y t : PAM signal
4
․ Using convolution , y t is rewritten by p t and line code impulses:
y t p t ak t kTb
x t
S y f FT Ry , Ry : y t autocorrelation
= P f Sx f , S x f FT Rx , Rx : x t autocorrelation
2
P f =FT p t
5
․ In the impulse train case 0 , pulse width , get Rx , S x f , S y f
1
Rx
Tb
R nT , R
n
n b n : ak , ak n autocorrelation
S x f FT of Rx
1
=
Tb
Re
n
n
jn 2 fTb
, R n Rn even function of
1
Tb
R
0
2
n 1
Rn cos n2 fTb
S y f P f Sx f
2
P f
2
Tb n
Rn e jn 2 fTb
P f
2
Tb R0 2
n 1
Rn cos n 2 fTb
* Note:study Rx :
6
ak
hk
7
‥ Get Rxˆ : case
T /2
1
Rxˆ lim xˆ t xˆ t dt
T T
T / 2
1
= lim
T
T k
h 2 k (有效面積)
1
= lim
T
T k
a2k 2
R0
= 1 , , even function
Tb
R 1
0 , 0 , 1
Tb
where
Tb
R0 lim
T T
a
k
2
k (有效面積)
T NTb
1
= lim
N N
a
k
2
k
1
R1 lim
T N
k ak ak 1
R
Rxˆ 1 Tb , 0
Tb
‥ At nTb , get Rn
1
Rn lim
N N
k ak ak n
R
Rxˆ n Tb
Tb
1
All , Rx
Tb
R nT
n
n b
8
7.2.2 Polar Signaling
․ Get the PSD of polar signaling:
P f
2
Sy f R0
Tb
P f
2
=
Tb
Tb fTb
sinc 2
4 2
1 1
R0 lim
N
N k
a 2 k lim N 1
N N
1 1 N N
R1 lim
N
N k
ak ak 1 lim 1 1 0
N N2 2
N N
ak ak 1 =1 , ak ak 1 = -1
2 2
Rn =0 , n 1
t 2t
p t
Tb / 2 Tb
T fTb
P f b sinc
2 2
9
․ Polar signaling properties:
10
7.2.3 Constructing a DC Null in PSD by Pulse Shaping
P f p t e
j 2 ft
dt
P 0 p t dt area of p t
P 0 0 , Null DC
‥ 1 p t , 0 0 , equally probability.
1 N 2 N
1 0
2 1
R0 lim
N N2 2 2
N
‥ For ak ak n 11 , 1 0 , 0 1 , 0 0 , probability
4
1 N
1 0
3N 1
Rn lim n 1
N N4 4 4
11
․ Get S x f and S y f :
1 j 2 fTb
Sx f R0 Rn e
Tb n
n0
1 1 j 2 fTb
=
2Tb 4Tb n
e
n0
1 1
=
4Tb 4Tb
e
n
j 2 fTb
1 n
e j 2 fTb
Tb
f T proof F .S .
b
1 1
n
=
4Tb
1 f T
Tb n b
Tb fTb 1
n
Sy f
16
Sin c 2 1
2 Tb
f T
n b
12
․ On-off signaling properties:
1
on-off PSD = polar PSD
4
on-off Energy 4E , polar Energy 2E ( for same amplitude ( 2 , 0 ) on-off
( 1 , -1 ) polar)
․ Calculate PSD:
‥ Get R0 : ak 2
half ak = 0 , remaining half ak =1 or -1 . ak 2 =1
1 N
1 0
2 N 2 1
R0 lim
N N2 2 2
‥ Get R1 : ak ak 1
ak ak 1 1 , 0 , 0 , 0
1 N
-1 0 -
3N 1
R1 lim
N N4 4 4
13
‥ Get R2 : ak ak 2
all possible combinations of 3 bits:111, 101, 110, 100, 011, 010, 001, 000
111 ak ak 2 =1
101 ak ak 2 =-1
others ak ak 2 =0
N
0 0
1 N 6N
R2 lim 8 1 -1 +
N N 8 8
‥ Get Rn : ak ak n
Rn 0 , n 2
‥ Get PSD:
P f
2
Sy f 1 cos 2 fTb
2Tb
P f
2
1
Essential BW = Rb , polar 2 Rb
Tb
14
․ Advantages of Bipolar Signaling:
(1) PSD with dc null
(2) BW is not excessive
(3) With single-error-detection capability
15
7.3 Pulse Shaping
․ PSD S y f is controlled by line code S x f and pulse shape P f
2
overlapping.
Properly shaped BL signal
IFT
Not TL signal, no ISI at the decision-
making instants ( zero interference to all
other pulse at decision instants ) ( Nyquist
criterion )
1 , t 0
p t 1
0 , t nTb Tb
Rb
16
․ TX Rb bps rate with the theoretical min. BW Rb / 2 Hz. (satisfying Nyquist’s
1 , t 0
p t sinc Rbt
0 , t= nTb
( No ISI )
1 f
P f
Rb Rb
p t p t Tb t t
17
1
FT of p t :(Repeated P f ) Rb
Tb
1
Tb
P f nR 1
n
b
P f nR T
n
b b sum spectrum constant
P f P f Rb Tb , 0 f Rb
‥ Let x f Rb / 2 , get
P x Rb / 2 P x Rb / 2 Tb , x 0.5 Rb
Conjugate symm.
P Rb / 2 x P Rb / 2 x Tb , x 0.5Rb
18
at f Rb / 2 , odd symm.
P 0.5 Rb 0.5 P 0
Rb
․ BW of P f :0.5 Rb + f x , f x :excess BW of BW , r:ratio BW
2
(roll-off factor)
excess bandwidth
r
theoretical minimum bandwidth
fx
=
0.5 Rb
=2 f xTb
0 r 1 f x Rb / 2
․ Total P f BW:
Rb rRb R
BT 1 r b
2 2 2
19
‥ For r = 1 , full-cosine roll-off signal ,
p t IFT P f
cos Rbt
Rb sinc Rbt
1 4 R 2b t 2 raised cosine
T
No ISI at t nTb , No ISI at t nTb b ( r = 1 case )
2
It decays rapidly as 1/ t 3 .
(Insensitive to sampling, jitter variation)
20
* Note:Considering channel effect H c f , TX pulse pi t can be preprocessing:
EX 7.1 :Given BT & r, find pulse TX rate? (satisfying Nyquist‘s first criterion)
2 1
Rb BT decay faster as 3
1 r t
1 R
If r 1 , BT Rb satisfying Nyquist criterion , decary 3 , but BW b
t 2
R
bandwidth. BW b
2
‥ A known and controlled ISI with compensating few interference patterns ( 2
pulse ) “ Correlative or partial-response scheme “ duobinary pulse
1 , n 0,1
p nTb
0 , for all other n
Pulse causes zero ISI with all pulses except the succeeding pulse.
21
both pulses “ + “ sample value = 2 at Tb sample “ + “ , current
1, previous 1.
0, previous 0.
No noise
2
even " 0 "
2
If one sample is detected wrong ,
-2
odd " 0 "
2
2 the rule is violated. Error is detect ed !
odd " 0 "
-2
Rb
‥ Satisfying zero ISI and BW=
2
p t sinc Rb t sinc Rb t Tb
sin Rb t
Rbt 1 Rbt
P f FT of p t Hint:1+e j 2
e j e j e j
2 f f j f / Rb
cos e
Rb b Rb
R
22
Binary data rate = Rb bps
min. BW (theoretical) = Rb / 2 Hz
23
7.3.5 Pulse Relationship between Zero-ISI, Duobinary, and
Modified Duobinary
․ Consider three pulses
Rb
‥ Zero ISI pulse , pa t :satisfying Nyquist 1st rule , BW: ~ Rb , PSD with
2
DC, e.g., raised cosine pulse.
Rb
‥ Duobinary pulse pb t :satisfying Nyquist 2nd rule , BW= , PSD with DC.
2
Rb
‥ Modified Duobinary pulse pc t :satisfying Nyquist 2nd rule , BW= , PSD
2
without DC.
pb t pa t pa t Tb
Pb f Pa f 1 e j 2 fTb
1 , n 1
pc nTb 1 , n = 1
0 , o.w. n
pc t pa t Tb pa t Tb
Pc f FT of pc t
2 j Pa f sin 2 fTb DC null
24
7.3.6 Detection of Duobinary Signaling and Differential Encoding
< Basic Duobinary Signaling TX/RX >
․ For the controlled ISI method of duobinary signaling:TX block
ak 2I k 1
y kTb bk ak ak 1
bk 2 ak 1 , I k 1
bk 2 ak 1 , I k 0
bk 0 ak ak 1 , I k 1 I k 1 ak 2 I k 1
25
‥ Differential encoding generates a new binary sequence
ak 2 pk 1
y kTb bb ak ak 1
2 pk pk 1 2
2 pk 1 I k pk 1 1
2 1 I k , pk 1 1, 1 Ik 1 Ik
2 I k 1 , pk 1 0, 0 Ik Ik
summarize
0 , Ik 1
y kTb
2 , I k 0
2 y kTb
Ik
2
No propagation error
* Note: I k can be M-ary signal , mod-2
changed
mod-M
26
7.3.7 Pulse Generation
․ Using Tapped Delay Line (TDL) filter to generate p t pulse with the sufficiently
27
7.4 Scrambling
․ Scrambler
‥ Make data more random and remove long strings of 1s or 0s.
‥ Helpful in timing extraction due to removing long strings of 0s.
Fig 7.20
(Scrambler O :T )
P
‥ Descrambler has “feedforward shift register“
‥ After scrambler output , get (D:Delay)
S D3T D5T T (Fig. 7.20 (a))
Adding D T D T
3 5
to both sides, get D T D T 0
n n
S T D3T D5T 1 F T , F D3 D5
28
EX 7.2 Data stream 101010100000111 is fed to scrambler, find the scrambler output
(assume initial registers 0)
Sol:○
1 initial T = S
1st feedback D 3
D5 S FS S FS O / P
2nd feedback D 3
D5 D3 D5 S F 2 S S FS F 2 S O / P
․ Output:
T S FS F 2 S F 3 S F 4 S
where
F D 3 D5
F 2 D 3 D 5 D 3 D5 D 6 D10 , D 8
D8 0
F 3 D 6 D10 D3 D 5 D9 D11 D13 D15
F 4 D 9 D11 D13 D15 D 3 D5
12
D14 D14 0 , D16 D16 0 , D18 D18 0 ,
=D 20
D shift all "0" 15 values
․ Get output:
S 101010100000111
D S 000101010100000111
3
D 5 S 00000101010100000111
D 6 S 000000101010100000111
D 9 S 000000000101010100000111
D11S 00000000000101010100000111
D12 S 000000000000101010100000111
D13 S 0000000000000101010100000111
D15 S 000000000000000101010100000111
T 101110001101001
29
7.5 Digital Receivers and Regenerative Repeaters
․ Receiver or regenerative repeater performs three functions:
(1) Reshaping incoming pulse via equalizer.
(2) Extracting the timing information to sample incoming pulses at optimum instants.
(3) Making symbol detection decisions based on the pulse samples.
7.5.1. Equalizers
․ Pulse train is attenuated and distorted by transmission medium.
‥ Attenuation Compensated by preamplifier
‥ Distortion Compensated (inversion) by equalizer, reduce ISI.
channel frequency boosting amplication
attenuated noise
․ For simple modulation, complete equalization is not necessary.
‥ Pulse dispersion can be tolerated.
‥ Pulse is positive or negative. ( > 0 or < 0 )
Simple equalization with reducing noise amplication and reducing ISI.
30
‥ FIR filter design goal:equalize output pulse with zero ISI at sampling instants
Satisfying Nyquist or controlled ISI criterion.
31
N
P0 k C P k n
n N
n r
1, k 0
P0 k 2N 1
0, k 1, 2,..... N
C Pr 1 P0
Ex7.3
For the RX pulse Pr t :
Pr 0 1
Pr 1 0.3 Pr 2 0.1
Pr 1 0.2 Pr 2 0.05
32
P0 Pr
*Note:
․ Zero ISI for k 0, 1,.... N
C Pr P0
33
*Note:
Chap 12 with adaptive equalization and other general equalizers.
34
7.5.2 Timing Extraction
․ RX digital signal needs to be sampled at precise instants.
‥ RX clock needs to synchronize to TX clock (symbol or bit synchronization)
(Delayed by channel response)
․ Three general synchronization method:
‥ 1. Derivation from a primary or a secondary standard
(TX/RX slaved to master timing source)
High cost, large data/high speed communication systems
‥ 2. TX an extra synchronizing signal ( pilot clock )
Occupy the TX resource and use the additional TX power
(available capacity is large in comparison to data rate)
‥ 3. Self-synchronization, timing information is extracted from
the RX signal itself.
A very efficient method of timing extraction or clock recovery.
(derived from RX signal itself)
․ For on-off signal, it contains a discrete clock frequency. When the on-off signal is
applied to “resonant circuit“ tuned to the clock frequency. Output signal is “clock
“ signal.
․ For bipolar signal, it doesn’t contain any clock frequency.
Using “Nonlinear device“ to get timing clock. “simple rectification“ converts a
“bipolar signal“ to an “on-off signal“ , it can be used to extract clock signal.
35
․ Complete timing extractor and time pulse generator for polar signal:
36
Calculate the average number of detection errors, Prob. of detection error.
(or likelihood of detection error)
impulse noise (from switching , transients , strikes) Chap 14, burst error
correcting codes .
37
7.6 Eye Diagrams:An Important Tool
․ Eye diagram can show the effect of noise and channel ISI.
‥ Equalizer design to compensate the ISI channel distortion.
Timing extraction process for signal detection.
․ Eye diagram can examine:
‥ Severity of ISI
‥ Accuracy of timing extraction
‥ Noise immunity
․ Given a BB signal at channel output:
y t ak p t kTb
Fig 7.25
39
․ Practical eye diagram example of polar signal with raised-cosine pulse.
40
7.7 PAM:M-ARY Baseband Signaling for Higher Data Rata
1
‥ 1 bit / Tb M times BW
M
‥ M bits / Tb same as 1 BW
(11 , 01 , 10 , 00)
‥ M-ary PAM
amplitude increased by M , TX power increased by M 2
BW no change 1 / Tb
EX7-4 (Good)
Determine PSD of 4-ary PAM , 1 and 0 same probability .
Sol:○
1 4-ary line code 4 distinct symbols
41
1
○2 Get R0 , Rn , ak : Prob.
4
1
R0 lim ak 2
N N
k
1 N
3 1 1 3 5
2 N 2 N 2 N 2
lim
N N4 4 4 4
Rn : a a
k k n , 3, 1 3, 1 all case , Find average value
1
Rn lim
N N
k ak ak N
1, 3, 9
1 1 1
, , Prob.
8 4 8
1 1
1. 2
16 8
1 N N N N N N
Rn lim 9 9 1 1 3 3 0
N N
8 8 8 8 4 4
1 5
S x f R0
Tb Tb
5
S y f P f Sx f P f
2 2
Tb
1
( original , PSD of binary polar signaling S y f P t
2
,
Tb
( 4-ary PSD is 5 times of binary polar PSD )
Same PSD shape !!
42
< Pulse Shaping and Eye Diagrams in PAM >
․ Use the Nyquist 1st criterion pulse , i.e. , raised cosine pulse ( r = 0.5 ) ,
to generate 4-level PAM .
‥ It can use Nyquist 2nd criterion pulse, i.e. , controlled ISI for M-ary signaling .
(HW)
‥ The eye diagrams show four equally separated signal values without ISI at the
optimum sampling points.
43
7.8 Digital Carrier Systems
․ PAM , polar , …… signals are baseband signals , which use “ low frequencies “ for
wires and coaxial cables modem communication .
․ For radio link or satellites communication, the baseband signals need to be shifted
to “Higher frequencies“, i.e. , modulating a high-frequency sinusoid (carrier) .
․ Modem for two-way ( duplex ) communications:
‥ In TX, Modulator transmits data.
‥ In RX, Demodulator receives data.
․ OOK or ASK:
‥ Carrier modulated signal
ASK t m t cos C t
where
t Tb / 2
m t ak p t kTb , p t
Tb
ak 0,1 on off , m t : on off baseband signal
1 p t cos C t
0 0
44
․ PSK:
where
t Tb / 2
m t ak p t kTb , p t
Tb
ak 1 polar , m t : polar baseband signal
1 p t cos C t
0 p cos C t p cos C t
․ FSK:
․ Carrier modulated signal
ak 0,1 on off
1 p t cos C1t
0 p t cos C 0t
sum of two interleaved ASK signals
with two modulating frequency wc 0 , wc1
45
* Note:(Examples)
ASK used in optical fiber comm. (laser-intensity mod)
PSK used in digital satellite comm.
FSK used in earliest telephone-line modems.
t m t cos C t
․ Find PSD of t :
T f
2
S f lim
T T
where T f FT of T t
‥ T t :( truncated signal )
T T
T t t u t u t
2 2
T T
m t u t u t cos C t
2 2
mT t cos C t
MT f
2
M T f FT of mT t , S M f lim
T T
1
T f M T f fC M T f fC
2
46
․ Get S f :
1 M T f f C M T f fC
2
S f lim
T 4 T
f C BW of M f
zero overlap fC M f
1 M T f fC M T f fC
2 2
= lim
T 4 T T
1 1
S M f fC S M f fC
4 4
47
* Note:(NRZ)
․ FSK with higher BW than ASK and PSK. No discrete component in FSK.
7.8.4 Demodulation
․ ASK Detection
‥ ASK coherent demodulation (synchronous detection, low SNR, superior
performance)
‥ ASK noncoherent ( envelope detection ) ( high SNR , noncoherent
coherent , simply detection )
․ FSK Detection
48
a pair of filters C 0 , C1 , envelope detector, sampled and compared data .
( simple detector )
‥ FSK coherent detection
49
․ Differential PSK ( DPSK ):
‥ DPSK uses “noncoherent“ method to detect data . (No carrier synchronization)
Figure 7.35
A2
RX pulse previous pulse detected bit 0 z
2
A2
RX pulse previous pulse detected bit 1 z
2
50
* Note:
․ PSK uses coherent detection (need synchronization carrier) without self noise,
multiplication interference.
․ PSK has small BW than FSK.
․ Noncoherent detection methods with self noise multiplication interference.
51
7.9 M-ary Digital Carrier Modulation
f M f1 1
f frequency deviation M 1 f
2 2
f , too much BW
Tb Tb
A2
0 A cos 2 f m t A cos 2 f n t dt cos 2 f m f n t cos 2 f m f n t dt
2 0
A2 sin 2 f m f n Tb A2 sin 2 f m f n Tb
Tb Tb
2 2 f m f n Tb 2 2 f m f n Tb
A2 sin 2 f m f n Tb
0
2 2 f m f n
f m f1 m 1 f
sin 2 m n fTb 0 , m n
smallest f , orthogonality
1
f Hz min . spacing , min . shift FSK
2Tb
1 1
(Ex : 1KHz , f min
500 Hz )
Tb 2Tb
․ Minimum shift FSK signals ( orthonormal basis functions ):
2 i 1
i t cos 2 f1 t i 1, 2, ..., M
Tb 2 Tb
Tb
1, mn
where t t dt 0 , m n
0
m n
53
․ M-ary FSK Demodulation:
‥ Band of M coherent or noncoherent detectors of M-ary FSK signal
‥ Making decision based on the strongest detector branch.
‥ For M-ary FSK BW ( Carson’s rule )
1 1 M 3
B , f M 1 f M 1 / 4Tb , BW 2 f B
Tb 2 2Tb
* Note:
M-FSK no power enhancement
M-FSK BW increases linearity with M
Orthogonal M-ary scheme:
2 2
PSK t am cos C t bm sin C t , 0 t Tb
Tb Tb
= am 1 t bm 2 t
2 2
1 t cos C t , 2 t sin C t
Tb Tb
Tb Tb
1 t 2 t dt 0 . t dt 1
i
2
, i 1, 2
0 0
am A cos m , bm A sin m
am 2 bm 2 A2 cons tan t
54
‥ M-ary PSK signaling, all signal points with uniformly equally spaced angle
obtain the best noise immunity.
2
m 0 m 1 , m 1, 2, .....M
M
‥ Two binary PSK signals, one used in-phase carrier of cos C t , other used
‥ TX/RX on same frequency and same channel to double the transmission rate
․ EX QAM modulation ( quadrature amplitude modulation , not constant magnitude,
flexible amplitude )
M-ary QAM signal:
pi t ai p t cos C t bi p t sin C t
=ri p t cos C t i , i 1, 2, ...M
ri ai 2 bi 2 , i tan 1 bi / ai
where 2
p t u t u t Tb
Tb
55
․ QAM modulator and demodulator
m1 t ai p t
two PAM signals having M levels
m2 t bi p t
(16 ai bi , 16 constellations)
56
pi t ai p t cos C t , t 0, Tb
57
RZ eye-diagram
1 NRZ eye-diagram
1
0.5
0.5
0
0
-0.5
-0.5
-1 -1
-30 -20 -10 0 10 20 30 -30 -20 -10 0 10 20 30
Time Time
Raised-cosine eye-diagram
1.5
0.5
Amplitude
-0.5
-1
-1.5
-30 -20 -10 0 10 20 30
Time
RZ eye-diagram
3 NRZ eye-diagram
3
2
2
1
1
0 0
-1 -1
-2 -2
-3 -3
-30 -20 -10 0 10 20 30 -30 -20 -10 0 10 20 30
Time Time
58
Raised-cosine eye-diagram
5
-5
-30 -20 -10 0 10 20 30
Time
59