20.10.20 Line Coding
20.10.20 Line Coding
20.10.20 Line Coding
Line coding refers to the process of converting digital data into digital signals.
With line coding, we can convert a sequence to bits (or encoding) into a digital signal which
then again converted into bits by the receiver (or can be said as decoded by the receiver).
For all this to happen we need line coding schemes which could also be able to avoid
overlapping and distortion of signals.
Magnetic recording system or system using transformer coupling are less sensitive to low
frequency signal components.
Low frequency component may lost, if the presence of dc or near dc spectral component is
significant in the code itself.
Self synchronization
Any digital communication system requires bit synchronization. Coherent detector requires
carrier synchronization.
Error detection
Some codes such as duo binary provide the means of detecting data error without introducing
additional error detection bits into the data sequence.
Bandwidth compression:
Some codes such as multilevel codes increase the efficiency of the bandwidth utilization by
allowing a reduction in required bandwidth for a given data rate, thus more information
transmitted per unit band width.
Differential encoding
This technique is useful because it allow the polarity of differentially encoded waveform to be
inverted without affecting the data detection.
A code is not transparent if for some sequence of symbol, the clock is lost.
Types of Line Coding
Unipolar Line Coding
In Unipolar we are simply representing a signal
in a graphical form where positive voltage
represents logical or binary 1 and zero voltage
represents logical zero.
Disadvantages
The disadvantages of Unipolar NRZ are
•No error correction done.
•Presence of low frequency components may cause the signal droop.
•No clock is present.
•Loss of synchronization is likely to occur (especially for long strings of 1s and 0s).
Polar Line Coding
As its name suggests polar which means it will have both positive and negative values for
voltages or amplitude, it is quite like NRZ scheme but, here we have NRZ-L (i.e. NRZ-
Level) and NRZ-I (i.e. NRZ Invert).
The Baseline wandering is a problem for both of them, but for NRZ-L it is twice as bad as
compared to NRZ-I, because of the transition at the boundary for NRZ-I.
Similarly, the self-synchronization problem is similar in both for a long sequence of 0’s, but for
a long sequence of 1’s, it is more severe in NRZ-L.
Unipolar Return to Zero (RZ)
In this type of unipolar signaling, a High in data,
though represented by a Mark pulse, its
duration T0 is less than the symbol bit duration.
Advantages Disadvantages
It is simple. •No error correction.
•The spectral line present at the •Occupies twice the bandwidth as unipolar
symbol rate can be used as a clock. NRZ.
•The signal droop is caused at the places
where signal is non-zero at 0 Hz.
Polar Signaling
Polar NRZ
In this type of Polar signaling, a High in data is
represented by a positive pulse, while a Low in
data is represented by a negative pulse.
Advantages
•It is simple.
•No low-frequency components are present.
Disadvantages
•No error correction.
•No clock is present.
•The signal droop is caused at the places where the signal is non-zero at 0 Hz.
Polar RZ
In this type of Polar signaling, a High in data,
though represented by a Mark pulse, its
duration T0 is less than the symbol bit duration.
Disadvantages
•No error correction.
•No clock is present.
•Occupies twice the bandwidth of Polar NRZ.
•The signal droop is caused at places where the
signal is non-zero at 0 Hz.
Bipolar Signaling
This is an encoding technique which has three
voltage levels namely +, - and 0. Such a signal
is called as duo-binary signal.
•Bipolar NRZ
•Bipolar RZ
The pulse duration and symbol bit duration are equal in NRZ type, while the pulse
duration is half of the symbol bit duration in RZ type.
Pesudoternary: this is the opposite of AMI, as we kept logical 0 at 0 volts or neutral
in the above section, here we will be keeping logical 1 as neutral (i.e. at 0 volts) and
we will keep alternating logical zero
Advantages
•It is simple.
•No low-frequency components are present.
•Occupies low bandwidth than unipolar and polar NRZ schemes.
•This technique is suitable for transmission over AC coupled lines, as signal drooping
doesn’t occur here.
•A single error detection capability is present in this.
Disadvantages
•No clock is present.
•Long strings of data causes loss of synchronization.
Manchester & Differential-Manchester
Encoding:
Manchester encoding is a combination of RZ
and NRZ-L.
Here, instead of using three values of voltages
we use only two, here logical 1 is represented in
two halves, the first half consists of a negative
voltage and the second-half is represented as
positive voltage,
Manchester encoding had a huge impact since it was able the solution for several problems
related to NRZ-L
Differential Manchester overcome the problems associated with NRZ-I, since there is no baseline
wandering and no low frequency component or DC component, because every logical bit was
having positive and negative voltage contribution.
The area where Manchester encoding, and Differential Manchester encoding are limited is the
bandwidth. The minimum bandwidth of Manchester encoding, and Differential Manchester
encoding is twice as that of NRZ.
RZ, T/2
4.22
UNIPOLAR RZ
4.26
4.27