Line Coding
Line Coding
Line Coding
Jugul Kishor
Line Coding
The first approach converts digital data to digital
signal, known as line coding, as shown in Fig. 1.
Fig. a Fig. b
Bit rate versus Baud rate: The bit rate represents the number of bits sent per
second, whereas the baud rate defines the number of signal elements per second
in the signal. Depending on the encoding technique used, baud rate may be more
than or less than the data rate.
Line Coding
DC components: After line coding, the signal may have zero frequency component in the
spectrum of the signal, which is known as the direct-current (DC) component. DC component
in a signal is not desirable because the DC component does not pass through some
components of a communication system such as a transformer. This leads to distortion of the
signal and may create error at the output. The DC component also results in unwanted
energy loss on the line.
Signal Spectrum: Different encoding of data leads to different spectrum of the signal. It is
necessary to use suitable encoding technique to match with the medium so that the signal
suffers minimum attenuation and distortion as it is transmitted through a medium.
Synchronization: To interpret the received signal correctly, the bit interval of the receiver
should be exactly same or within certain limit of that of the transmitter. Any mismatch
between the two may lead wrong interpretation of the received signal. Usually, clock is
generated and synchronized from the received signal with the help of a special hardware
known as Phase Lock Loop (PLL). However, this can be achieved if the received signal is self-
synchronizing having frequent transitions (preferably, a minimum of one transition per bit
interval) in the signal.
Line Coding
Cost of Implementation: It is desirable to keep the encoding technique simple
enough such that it does not incur high cost of implementation To interpret the
received signal correctly, the bit interval of the receiver should be exactly same or
within certain limit of that of the transmitter. Any mismatch between the two may
lead wrong interpretation of the received signal. Usually, clock is generated and
synchronized from the received signal with the help of a special hardware known
as Phase Lock Loop (PLL). However, this can be achieved if the received signal is
self-synchronizing having frequent transitions (preferably, a minimum of one
transition per bit interval) in the signal.
Line Coding Techniques
Line coding techniques can be broadly divided
into three broad categories: Unipolar, Polar
and Bipolar, as shown in Fig. 2.
NRZ L
1 = low level NRZ I
For each 1 in the bit sequence, the signal level is inverted.
0 = high level A transition from one voltage level to the other represents
a 1.