Line Coding
Line Coding
FoT
3.2
Line Codes
Objectives:
Line Coding
Introduction:
Binary Data: Pulses
Line Coding: A pair of pulses to represent symbols
and 0
Unipolar Signaling:
On-Off keying ie OOK
Pulse 0: Absence of pulse
Pulse1 : Presence of pulse
Advantages:
Simplicity in implementation
Doesnt require a lot of bandwidth for transmission.
Disadvantages:
Presence of DC level (indicated by spectral line at 0 Hz).
Contains low frequency components. Causes Signal Droop
Does not have any error correction capability.
Does not posses any clocking component for ease of
synchronisation.
Is not Transparent. Long string of zeros causes loss of
synchronisation.
10
11
Advantages:
Simplicity in implementation.
Presence of a spectral line at symbol rate which can be used as
symbol timing clock signal.
Disadvantages:
12
Polar Signalling:
Polar RZ
Polar NRZ
Polar NRZ:
A binary 1 is represented by a pulse g1(t)
A binary 0 by the opposite (or antipodal) pulse g0(t) = -g1(t).
13
Advantages:
Simplicity in implementation.
No DC component.
Disadvantages:
Continuous part is non-zero at 0 Hz. Causes Signal Droop.
Does not have any error correction capability.
Does not posses any clocking component for ease of
synchronisation.
Is not transparent.
14
Polar RZ:
A binary 1: A pulse g1(t)
A binary 0: The opposite (or antipodal) pulse g0(t) = -g1(t).
Fills only the first half of the time slot, returning to zero for the
second half.
15
Advantages:
Simplicity in implementation.
No DC component.
Disadvantages:
Continuous part is non-zero at 0 Hz. Causes Signal Droop.
Does not have any error correction capability.
Occupies twice as much bandwidth as Polar NRZ.
16
Bipolar Signalling:
Alternate mark inversion (AMI)
17
Bipolar NRZ:
Bipolar RZ:
18
Advantages:
No DC component.
Occupies less bandwidth than unipolar and polar NRZ schemes.
Does not suffer from signal droop (suitable for transmission over
AC coupled lines).
Possesses single error detection capability.
Disadvantages:
Does not posses any clocking component for ease of
synchronisation.
Is not Transparent.
19
Manchester Signalling:
The duration of the bit is divided into two halves
A One is +ve in 1st half and -ve in 2nd half.
A Zero is -ve in 1st half and +ve in 2nd half.
20
Advantages:
No DC component.
Does not suffer from signal droop (suitable for transmission over
AC coupled lines).
Easy to synchronise.
Is Transparent.
Disadvantages:
Because of the greater number of transitions it occupies a
significantly large bandwidth.
Does not have error detection capability.
21
Parameters
Polar RZ
Polar NRZ
AMI
Manchester
Transmission of DC
component
YES
YES
NO
NO
Signaling Rate
1/Tb
1/Tb
1/Tb
1/Tb
Noise Immunity
LOW
LOW
HIGH
HIGH
Synchronizing
Capability
Poor
Poor
Very Good
Very Good
Bandwidth Required
1/Tb
1/2Tb
1/2Tb
1/Tb
Crosstalk
HIGH
HIGH
LOW
LOW
22
HDB3
Any run of 4 zeros is replaced by the
special pattern: B00D
D is sent as +/- A, such that successive Ds
have alternating polarity (1st D is arbitrary)
B is sent as 0 or +/- A. Select B such that the
next D violates the AMI alternating polarity
result, ie send B as 0 if D violates the polarity
rule. Otherwise send B=D to force a violation
of the alternating polarity rule
HDB3
Equivalently,
B is sent as 0 if there has been an odd number
of input 1s since the last special sequence
B00D
B is sent as +/- A if there has been an even
number of input 1s since the last special
sequence B00D
HDB3
1
A
0
-A
HDB3
There are never more than 3
consecutive zeros, so plenty of edges
for timing regeneration
The channel is not required to pass dc
The transmit power requirement is a
little greater than AMI (about 10%)