Digital To Digital Conversion in Computer Network
Digital To Digital Conversion in Computer Network
Computer Network
In this article we will be discussing about digital-to-digital
transmission in computer network i.e., how a digital data or
information is converted into digital signal. The digital-to-digital
encoding can be done by a technique called line coding.
Line Coding
The process of converting the digital data into digital
signal is called as line coding which helps the receiver to
get the original bits. The data that is in the form of text,
numbers, audio, or video is represented internally as series of 1s
and 0s. Line coding therefore transforms a set of bits into a digital
signal. The sender side encrypts digital data into digital signals,
while the receiving side decodes the digital signal to regenerate
the digital data. The primary goal of utilizing line coding is to
prevent the overlapping of pulses and distortions. The digital
signal is discreet in nature. Example is sending data from
computer to printer.
There are basically three different types of line coding technique:
Unipolar
Polar
Bipolar
Unipolar
In Unipolar encoding, only one polarity is used i.e., bit 1 is used
to represent positive voltage and bit 0 is used to
represent zero voltage or idle line. It is also known as
Unipolar-Non-return-to-zero. Signaling of this kind is also referred
to as on-off signaling.
Problem in Unipolar
DC Component: When we find out the average
amplitude of a unipolar signal, then the value would
always be non-zero because of which it creates DC
component. And the signal having DC component is not
able to travel through the medium which cannot handle
DC component.
Synchronization: When a signal is constant, the
receiver cannot distinguish between the start and finish of
each bit. For that the receiver has to rely on a timer to
track the starting of each bit.
Unipolar encoding
Polar
The polar encoding is of four types. In polar encoding two levels of
voltage amplitude is used. The DC component issue of unipolar
encoding is minimized, and the average voltage level on the line
is decreased.
Polar Non-Return to Zero (Polar NRZ): In polar
encoding, positive voltage is represented by bit 1
and negative voltage is represented by bit 0. Here
two levels of voltage are used to represent binary values.
If the line is idle, then there is no transition. With each
inversion, the receiver is able to synchronize the timer’s
start to the transmission’s real arrival. Again, Polar Non-
Return to Zero (Polar NRZ) has two types: NRZ-L and NRZ-
I.
Bipolar Encoding
In Bipolar encoding, three types of different voltage level is used
that is positive, negative and zero. The zero level is used to
represent binary 0, positive and negative voltage represents
alternatives 1’s to prevent DC component. Alternate Mark
Inversion (AMI) and Pseudoternary are the types of bipolar
encoding.
Bipolar Encoding
Line
Encoding Description Advantages Disadvantages
Technique
DC component
Uses only one level of
problem,
Unipolar voltage for bit 0 and bit Easy to implement
synchronization
1
issue
Digital Transmission
Data can be represented either in analog or digital form. The computers
used the digital form to store the information. Therefore, the data needs
to be converted in digital form so that it can be used by a computer.
DIGITAL-TO-DIGITAL CONVERSION
Digital-to-digital encoding is the representation of digital information by a
digital signal. When binary 1s and 0s generated by the computer are
translated into a sequence of voltage pulses that can be propagated over
a wire, this process is known as digital-to-digital encoding.
o Unipolar Encoding
o Polar Encoding
o Bipolar Encoding
Unipolar
Unipolar encoding has two problems that make this scheme less
desirable:
o DC Component
o Synchronization
Polar
NRZ
NRZ-L: In NRZ-L encoding, the level of the signal depends on the type of
the bit that it represents. If a bit is 0 or 1, then their voltages will be
positive and negative respectively. Therefore, we can say that the level of
the signal is dependent on the state of the bit.
RZ
Disadvantage of RZ:
It performs two signal changes to encode one bit that acquires more
bandwidth.
Biphase
ADVERTISEMENT
Manchester
o It changes the signal at the middle of the bit interval but does not
return to zero for synchronization.
o In Manchester encoding, a negative-to-positive transition represents
binary 1, and positive-to-negative transition represents 0.
o Manchester has the same level of synchronization as RZ scheme
except that it has two levels of amplitude.
Differential Manchester
Bipolar
AMI
o AMI stands for alternate mark inversion where mark work comes
from telegraphy which means 1. So, it can be redefined
as alternate 1 inversion.
o In Bipolar AMI encoding scheme, 0 bit is represented by zero level
and 1 bit is represented by alternating positive and negative
voltages.
Advantage:
o DC component is zero.
o Sequence of 1s bits are synchronized.
Disadvantage:
B8ZS
HDB3
If the number of 1s bits is even, then the violation is made on the place of
the first and fourth consecutive 0s. If the polarity of the previous bit is
positive, then violations are negative, and if the polarity of the previous
bit is negative, then violations are positive.