PCC CS602
PCC CS602
(Affiliated To MAKAUT)
Detailed Report on
Data Encoding Types for Line Encoding
Submitted as CA2 in
Computer Networks
(PCCCS602)
for
B. Tech in
Submitted by:
Eshika Giri
(34230822009)
2. Introduction
NRZ (Non-Return-to-Zero)
NRZ-L (Non-Return-to-Zero-Level)
NRZ-I (Non-Return-to-Zero-Inverted)
Return-to-Zero (RZ)
Manchester Encoding
4. Conclusion
5. References
Abstract
Line encoding is a technique in computer networks used to convert digital data into a format
suitable for transmission. This report focuses on two primary types: Unipolar and Polar
encoding. Unipolar encoding represents binary data using a single voltage level, leading to
high DC components and synchronization issues. In contrast, Polar encoding utilizes both
positive and negative voltage levels, offering better synchronization and reduced DC bias.
Various polar encoding schemes such as NRZ-L, NRZ-I, RZ, Manchester, and Differential
Manchester encoding are discussed, highlighting their advantages and disadvantages.
Introduction
In computer networks, line encoding is an essential technique for converting digital data into
a form suitable for transmission over a communication medium. It determines how binary
bits (0s and 1s) are represented as electrical signals, impacting factors like signal
synchronization, bandwidth efficiency, and error detection. Different encoding methods offer
varying levels of efficiency, power consumption, and resistance to noise.
Line encoding can be broadly classified into two major categories: Unipolar and Polar
Encoding.
1. Unipolar Encoding
Unipolar encoding is the simplest form of line encoding, where one voltage level represents
binary '1' and another represents binary '0'.
Non-Return-to-Zero (NRZ):
o Binary '1' is represented by a
positive voltage, and binary '0' is
represented by zero voltage.
o The signal does not return to zero
between bits, making it simple but
inefficient.
o For example: Data =10110.
Advantages:
o Simple implementation
o Requires minimal bandwidth
Disadvantages:
o High DC component, making it difficult to transmit over long distances
o Lack of synchronization due to long sequences of identical bits
o No inherent error detection
2. Polar Encoding
Polar encoding uses both positive and negative voltage levels to represent binary data,
reducing the DC component compared to unipolar encoding. It provides better
synchronization and improved noise immunity.
Advantages:
Simple implementation
Requires less bandwidth compared to RZ encoding
Disadvantages:
Advantages:
Reduces long sequences of identical bits, improving
synchronization
More reliable for data transmission compared to NRZ-L
Disadvantages:
Still susceptible to baseline wander (DC component
accumulation)
Difficult to decode without additional clocking mechanisms
Polar RZ (Return-to-Zero):
o Uses three voltage levels: positive for '1', negative for '0', and zero as a neutral
state between bits.
o Advantages:
Provides synchronization
Lower DC component compared to NRZ
o Disadvantages:
Requires more bandwidth
Less power efficient
Manchester Encoding:
o A transition occurs in the middle of each bit; binary '1' has a high-to-low
transition, and binary '0' has a low-to-high transition.
o Example: 010011
o Advantages:
Self-clocking (no need for an additional clock signal)
Better synchronization
Improved error detection
o Disadvantages:
Requires higher bandwidth
Differential Manchester Encoding:
o A transition at the start of each bit ensures clock synchronization.
o The encoding is based on transitions rather than absolute voltage levels,
making it more noise-resistant.
o Example: 010011
o Advantages:
Self-synchronizing
References