Data Encoding 1
Data Encoding 1
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
o Digital transmission system sends the voltage pulses over the medium link
such as wire or cable.
Unipolar encoding has two problems that make this scheme less desirable:
o DC Component
o Synchronization
Polar
o Polar encoding is an encoding scheme that uses two voltage levels: one is
positive, and another is negative.
o By using two voltage levels, an average voltage level is reduced, and the DC
component problem of unipolar encoding scheme is alleviated.
NRZ
o In NRZ encoding, the level of the signal can be represented either positive or
negative.
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.
NRZ-I: NRZ-I is an inversion of the voltage level that represents 1 bit. In the NRZ-I
encoding scheme, a transition occurs between the positive and negative voltage that
represents 1 bit. In this scheme, 0 bit represents no change and 1 bit represents a
change in voltage level.
RZ
o In the RZ scheme, halfway through each interval, the signal returns to zero.
It performs two signal changes to encode one bit that acquires more bandwidth.
Biphase
Manchester
o It changes the signal at the middle of the bit interval but does not return to
zero for synchronization.
Differential Manchester
o It changes the signal at the middle of the bit interval for synchronization, but
the presence or absence of the transition at the beginning of the interval
determines the bit. A transition means binary 0 and no transition means
binary 1.
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.
Disadvantage:
o This encoding scheme does not ensure the synchronization of a long string of
0s bits.
B8ZS
o If the polarity of the previous 1 bit is positive, the eight 0s will be encoded as
zero, zero, zero, positive, negative, zero, negative, positive.
o If the polarity of previous 1 bit is negative, then the eight 0s will be encoded
as zero, zero, zero, negative, positive, zero, positive, negative.
HDB3
o In the HDB3 technique, the pattern of violation is based on the polarity of the
previous bit.
o When four 0s occur, HDB3 looks at the number of 1s bits occurred since the
last substitution.
o If the number of 1s bits is odd, then the violation is made on the fourth
consecutive of 0. If the polarity of the previous bit is positive, then the
violation is positive. If the polarity of the previous bit is negative, then the
violation is negative.
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.
ANALOG-TO-DIGITAL CONVERSION
o When an analog signal is digitalized, this is called an analog-to-digital
conversion.
o Suppose human sends a voice in the form of an analog signal, we need to
digitalize the analog signal which is less prone to noise. It requires a
reduction in the number of values in an analog message so that they can be
represented in the digital stream.
o PAM technique takes an analog signal, samples it, and generates a series of
digital pulses based on the result of sampling where sampling means
measuring the amplitude of a signal at equal intervals.
o PCM technique is used to modify the pulses created by PAM to form a digital
signal. To achieve this, PCM quantizes PAM pulses. Quantization is a process
of assigning integral values in a specific range to sampled instances.
Next Topic