The Wayback Machine - https://web.archive.org/web/20250128172859/https://www.geeksforgeeks.org/difference-between-manchester-and-differential-manchester-encoding/
Open In App

Difference Between Manchester and Differential Manchester Encoding

Last Updated : 05 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Manchester and Differential Manchester encoding are two line coding techniques that are used in digital communication to encode binary data. Both methods employ a technique of converting data to form so that it can detect errors when in transit. Manchester encoding encodes data bits with a transition in the middle of the bit period which restricts the timing reference.

Differential Manchester encoding, however, employs transitions to represent data bits; the absence or presence of a transition at the onset of the bit interval determines the value of the said bit. Familiarity with these encoding techniques is essential when it comes to developing efficient communication systems.

What is Manchester Encoding?

  • In  Manchester encoding, a low-to-high transition represents a 1, and a high-to-low represents a 0.
  • The duration of the bit is divided into two levels.
  • Voltage remains at one level in one half and moves to another level in the second half. 

NOTE :

+ve voltage = 1

-ve voltage = 0

There are two types of conventions in Manchester encoding:

1. Dr. Thomas: In this manchester encoding 0 is represented as low-to-high and 1 is represented as high-to-low.

Dr. Thomas Manchester Encoding

Dr. Thomas Manchester Encoding

2. IEEE802.3: In this manchester encoding, 0 is represented as high-to-low and 1 is represented as low-to-high.

IEEE 802.3 Manchester Encoding

IEEE 802.3 Manchester Encoding

Application of Manchester Encoding

  • It is used for IR protocols, RFID, and NFC system.
  • Manchester Encoding is transparent.
  • There is no signal-dropping issue.

What is Differential Manchester Encoding?

  • It is also known as the Biphase mark code, etc.
  • The presence and absence of the transition indicate the value.
  • In  Differential Manchester Encoding 0 should contain an edge but 1 should not contain any edge it should be continuous.
 Differential Manchester Encoding

 Differential Manchester Encoding

Application on Differential Manchester Encoding

  • For every bit, there is a transition guaranteed
  • Used in 802.5 with Twisted Pair. 

Difference Between Manchester and Differential Manchester Encoding

Manchester Encoding

Differential Manchester Encoding

Manchester encoding s a synchronous clock-encoding technique used by the physical layer to encode the clock and data of a synchronous bit stream.

Differential Manchester encoding is a line code in which data and clock signals are combined to form a single 2-level self-synchronizing data stream

Low to High represents 1 and High to Low represents 0.

No transition at the start of a bit period represents 1 and transition at the start of a bit period represents 0.

It provides better signal synchronization. 

It provides less signal synchronization as compared to manchester encoding.

Signal rate is the drawback of manchester encoding as there is always one transition at the middle of the bit and maybe one transition at the end of each bit. 

It maps at least one transition per bit time and possibly two bits. Its modulation or signal rate is two times that of NRZ. Hence it requires more bandwidth.

Used by IEEE 802.3 specification for Ethernet LAN 

 Used by IEEE 802.5 specification for Token Ring LAN 

Conclusion

In conclusion, both Manchester and Differential Manchester encoding assist in improving the data accuracy and clock recovery in digital communication but not in similar ways. Manchester encoding is much easier to implement because there is a clear shift mid-bit period, however, in terms of bandwidth, this may not be as effective. Although Differential Manchester encoding is more complex, relative transition is used instead of absolute level to fight against polarity reversal making it reliable in some specific applications. It is just a matter of what needs to be met in a certain application – synchronization, the need for error control, and the bandwidth.

Manchester and Differential Manchester Encoding – FAQs

How does each encoding method handle synchronization?

The Manchester and Differential Manchester encoding both offer an inherent clock because of the high switching rates; hence, it can be easier to derive the clock signal from the encoded data.

Which encoding method is more resilient to noise?

Differential Manchester encoding is usually more immune to noise and signal distortion because it uses transitions rather than specific voltage levels to encode data.

How are logical ‘0’ and ‘1’ represented in Manchester encoding?

Manchester encoding uses a high-to-low transition for encoding the ‘0’ bit and low-to-high for the ‘1’ bit at the centre of the bit period.

How are logical ‘0’ and ‘1’ represented in Differential Manchester encoding?

In Differential Manchester encoding, the ‘0’ is represented by a transition at the start of the bit period while the ‘1’ is represented by the lack of a transition at the start of that period but with a transition at the mid of that period.

Which encoding method uses more bandwidth?

Manchester encoding and Differential Manchester encoding are denser than other encodings since they double the number of transitions than Non-Return-to-Zero (NRZ).



Next Article

Similar Reads

three90RightbarBannerImg