![]() |
VOOZH | about |
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.
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:
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
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.
Advantages of Polar NRZ
This provides synchronization as whenever a 1 bit is encountered, the signal changes.
Problems in Return to Zero
This occupies more bandwidth as it requires two signal changes to encode one bit.
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.
| Line Encoding Technique | Description | Advantages | Disadvantages |
| Unipolar | Uses only one level of voltage for bit 0 and bit 1 | Easy to implement | DC component problem, synchronization issue |
| Polar NRZ | Uses two levels of voltage for bit 0 and bit 1, no transition for idle line | Provides synchronization, DC component issue minimized | May encounter problem with long sequences of 0's or 1's |
| RZ | Uses three levels of voltage for bit 0, bit 1 and idle line, signal enters resting state during second half of bit | Provides synchronization | Occupies more bandwidth |
| Manchester | Uses transition from positive to negative and negative to positive to represent bit 0 and bit 1 respectively, bit period represented by two equal intervals | Provides synchronization, self-clocking | Occupies more bandwidth |
| Differential Manchester | Uses transition at the middle of the bit interval to represent bit 0, no transition for bit 1, bit period represented by two equal intervals | Provides synchronization, self-clocking | More complex encoding and decoding process |
| Bipolar | Uses three levels of voltage for bit 0, bit 1 and idle line, alternative 1's to prevent DC component | Provides synchronization, no DC component | More complex encoding and decoding process |