Open In App

Manchester Encoding in Computer Network

Prerequisite – Difference between Unipolar, Polar and Bipolar Line Coding Schemes 

Manchester encoding is a synchronous clock encoding technique used by the physical layer of the Open System Interconnection [OSI] to encode the clock and data of a synchronous bit stream.  The idea of RZ and the idea of-L are combined in manchester



Different encoding techniques are used in data communication to ensure data security and transmission speed. Manchester encoding is an example of digital encoding. Because each data bit length is defined by default, it differs from other digital encoding schemes. The bit state is defined by the direction of the transition. Bit status is represented in various ways by different systems, although most systems use 1 bit for low to high transitions and 0 bit for high to low transitions.

In manchester duration of a bit is divided into two halves. The voltage remains the same at one level during the first half & moves to the other level.The transition at the middle of the bit provides synchronization.Differential Manchester,on the other hand,combines the idea of RZ and NRZ-I. There is always a transition at the middle of the bit, but the bit values are determined at the beginning of the bit. if next bit is zero there is transition if next bit is 1 there is none. 



Note: Manchester encoding’s main advantage is signal synchronization.

 

The binary data to be transmitted over the cable are not sent as NRZ [Non-return-to-zero]. 

Non-return-to-zero [NRZ] – 
NRZ code’s voltage level is constant during a bit interval. When there is a long sequence of 0s and 1s, there is a problem at the receiving end. The problem is that the synchronization is lost due to a lack of transmissions. 
It is of 2 types: 

  1. NRZ-level encoding – 
    The polarity of signals changes when the incoming signal changes from ‘1’ to ‘0’ or from ‘0’ to ‘1’. It considers the first bit of data as polarity change.
  2. NRZ-Inverted/ Differential encoding – 
    In this, the transitions at the beginning of the bit interval are equal to 1 and if there is no transition at the beginning of the bit interval is equal to 0.

Characteristics of Manchester Encoding –

Only drawback is the signal rate.The signal rate is manchester and differential is double that for NRZ. The reason is that there is always one transition at the middle of the bit and maybe one transition at the end of each bit. 

Eg: For 10Mbps LAN the signal spectrum lies between 5 and 20

Advantages of Manchester Encoding:

Self-clocking: Manchester encoding is self-clocking, which means that the receiver can synchronize its clock with the transmitter’s clock. This ensures that the data is transmitted and received at the same rate, and there is no need for a separate clock signal.

Reduced DC component: Manchester encoding eliminates the DC component in the transmitted signal, which reduces the risk of errors due to interference from external sources.

Error detection: Manchester encoding provides a mechanism for detecting errors in the transmitted data. Any change in the voltage level within a time interval indicates a bit error, which can be detected and corrected.

Simplicity: Manchester encoding is a relatively simple encoding scheme that can be implemented using simple digital circuits.

Disadvantages of Manchester Encoding:

Lower data rate: Manchester encoding has a lower data rate than other encoding schemes, such as non-return-to-zero (NRZ) encoding, which means that it takes more time to transmit the same amount of data.

Higher bandwidth requirement: Manchester encoding requires a higher bandwidth than other encoding schemes, as each bit requires two voltage transitions within each time interval.

Clock synchronization: Although Manchester encoding is self-clocking, it still requires the receiver to synchronize its clock with the transmitter’s clock, which can be a challenge in some situations.

Reduced transmission distance: Manchester encoding has a reduced transmission distance compared to other encoding schemes, as the signal loses strength over long distances due to the need for frequent voltage transitions.

  1. GATE-CS-2007 | Question 85
  2. GATE IT 2007 | Question 59
  3. ISRO CS 2007 | Question 22

Reference :
Book – Computer Networks by Tanenbaum

Article Tags :