Professional Documents
Culture Documents
Line Coding
Line Coding
Line Coding
Unipolar
All
Polar
One
Data rate
Rate
Terms
Modulation rate
Rate at which the signal level changes
Measured in baud = signal elements per second
Clocking
Synchronizing transmitter
and receiver
External
clock
Sync mechanism based on signal
BEIT, 4th Semester
to signal encoding
1s and 0s.
Some codes are better than others
higher costs
Line Coding
Absence of voltage for zero, constant positive voltage for one
More often, negative voltage for one value and positive for
the other
NRZ
10
to engineer
Make good use of bandwidth
Cons
dc component
Lack
of synchronization capability
11
RZ Line Codes
Two different voltages for 0 and 1 bits
Transition return to zero voltage within a bit interval
1
0
ON-OFF(RZ)
POLAR (RZ)
BIPOLAR (RZ)
BEIT, 4th Semester
12
13
14
PSD expression
PSD Sx( ) is Fourier transform of Autocorrelation
1
Rx( )
Rx ( )
Rn ( nTb )
Tb
1
S x ( ) ( R0 2 Rn cos( nTb ))
Tb
n 1
| P ( ) |
S y ( ) | P ( ) | S x ( )
( R0 2n 1 Rn cos(nTb ))
Tb
2
15
P( )
sin c(
16
PSD
-2Rb
17
2Rb
4Rb
18
Bipolar Coding
R0 = ltN(1/N) [((N/2)(1)2 + ((N/2)(0)) ]
=
R1 = ltN (1/N) [((N/4) (-1)) + ((3N/4)(0))]
= -1/4
R2 = ltN(1/N) [ (N/8)(1) +(N/8)(-1) + (3N/4)(0)]
=0
Remaining terms are zero. Rn = 0 for n > 1
BEIT, 4th Semester
19
PSD Expression
For half width pulse, PSD of bipolar line coding is,
| P ( ) |2
S y ( )
[ R0 2 Rn cos( nTb )]
Tb
n 1
| P ( ) | 1
[ 2 R1 cos(Tb ) 0 ...]
Tb
2
2
| P ( ) |2
| P ( ) |2 2 Tb
[1 cos Tb ]
sin (
)
2Tb
2Tb
2
Tb
2 Tb
2 Tb
sin c (
) sin (
)
4
4
2
BEIT, 4th Semester
20
Twice as much
power as polar
signal
Not transparent to
long 0s and 1s
PSD
Rb
21
2Rb
Comparative Study
PSD
P()
Bipolar
Split phase
Polar
Rb
= 2/Tb
BEIT, 4th Semester
2Rb
22
Multilevel Binary
Use more than two levels
23
24
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 (zeros
still a problem)
No net dc component
Lower bandwidth
Easy error detection
BEIT, 4th Semester
25
Exercise
Draw Manchester, Differential Manchester
line coding, and High Density Bipolar
Coding.
Calculate PSD for pseudoternary and on-off
signaling
26
27
28
= 1 for t = 0
p(t)
= 0 for t = nTb
BEIT, 4th Semester
29
-Rb
Rb
for t = 0
for t = nTb
1/Rb
2/Rb
P ( )
rect (
)
Rb
2Rb
30
31
Roll-off factor
P()
Tb
Tb /2
b/2
x
b
x
32
cos(Rb t )
p( t ) Rb
sin c(Rb t )
2 2
1 4 Rb t
|P()|
1
P ( ) (1 cos
)rect (
)
2
2 Rb
4Rb
2
cos (
)rect (
)
4 Rb
4Rb
[Ref. B.P.Lathi, Ch. 7]
2Tb
x = 0
x = b/4
x = b/2
p(t)
-Tb 33
Tb
2Tb
Problems
1) A baseband signal of frequency 5kHz.is applied to a
product modulator together with a carrier wave of
1MHz. The modulator output is next applied to a
resonant circuit tuned to 50Hz. Determine the
modulated output signal.
2) For tone modulation with amplitude modulation
index = 1 and 0.5 and baseband signal m(t) =
Bcos( mt) draw the waveforms of amplitude
modulated signals both in time and frequency
domain.
BEIT, 4th Semester
34
35