Line Coding
Line Coding
1
Objectives:
•Need of Line Coding
•Introduction of Line Coding
•Properties of Line Coding
•Types of Line Coding
•Advantages and Disadvantages
•Power Spectral Density
• PSD of Line Coding
•Comparison of Line Coding
2
Need Of Line Coding:
•Various Techniques
Line Coding
4
Introduction:
•Binary Data: Pulses
5
Properties of Line Coding:
•Transmission Bandwidth: as small as possible
7
Unipolar Signaling:
8
Unipolar Non-Return to Zero (NRZ):
9
Advantages:
•Simplicity in implementation
• Doesn’t 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
Unipolar Return to Zero (RZ):
•MARK pulse (Ƭ ) is less than the duration (To) of the symbol slot.
•Fills only the first half of the time slot, returning to zero for the
second half.
11
Advantages:
•Simplicity in implementation.
•Presence of a spectral line at symbol rate which can be used as
symbol timing clock signal.
Disadvantages:
•Presence of DC level (indicated by spectral line at 0 Hz).
•Continuous part is non-zero at 0 Hz. Causes “Signal Droop”.
•Does not have any error correction capability.
•Occupies twice as much bandwidth as Unipolar NRZ.
•Is not Transparent
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:
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
Power Spectral Density:
•The function which gives distribution of power of a signal at
various frequencies in frequency domain.
22
PSD Derivation:
• We now need to derive the time autocorrelation of a power
signal x(t)
_--
23
•Since the pulse filter has the spectrum of , we have
• Now, we can use this to find the PSD of various line codes.
24
PSD of Polar Signalling:
• In polar signalling,
Binary “1” is transmitted by a pulse f(t)
Binary “0” is transmitted by a pulse –f(t)
• In this case, is equally likely to be 1 or -1 and is always 1.
25
PSD of Bipolar Signalling:
•To calculate the PSD, we have
•On the average, half of the are 0, and the remaining half are
either 1 or -1, with . Therefore,
26
•To compute R1, we consider the pulse strength product .
-Four possible equally likely sequences of two bits:11,10,01,00.
-Since bit 0 encoded by no pulse , the product for
the last three of these sequences. This means that, on the average,
3N/4 combinations have and only N/4 combinations have
non zero . Because of the bipolar rule, the bit sequence 11
can only be encoded by two consecutive pulse of opposite
polarities. This means the product for the N/4
combinations.
27
PSD of Lines Codes:
28
Comparison of Line Codes:
Sr. Parameters Polar RZ Polar NRZ AMI Manchester
No.
29
Thank You
30