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 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 lack of transmissions.
It is of 2 types:
- NRZ-level encoding –
The polarity of signals changes when incoming siganl changes from ‘1’ to ‘0’ or from ‘0’ to ‘1’. It considers the first bit data as polarity change.
- NRZ-Inverted/ Differential encoding –
In this, the transitions at the beginning of bit interval is equal to 1 and if there is no transition at the beginning of bit interval is equal to 0.
Characteristics of Manchester Encoding –
- A logic 0 is indicated by a 0 to 1 transition at the centre of the bit and logic 1 by 1 to 0 transition.
- The signal transitions do not always occur at the ‘bit boundary’ but there is always a transition at the centre of each bit.
- The Differential Physical Layer Transmission do not employ an inverting line driver to convert the binary digits into an electrical signal. And therefore the signal on the wire is not opposite the output by encoder.
- The Manchester Encoding is also called Biphase code as each bit is encoded by a positive 90 degrees phase transition or by negative 90 degress phase transiton..
- The Digital Phase Locked Loop (DPLL) extracts the clock signal and deallocates the value and timming of each bit. The transmitted bit stream must contain a high density of bit transitions.
- The Manchester Encoding consumes twice the bandwidth of the original signal.
- The advantages of Manchester code is that the DC component of the signal carries no information. This makes it possible that standards that usually do not carry power can transmit this information.
Eg: For 10Mbps LAN the signal spectrum lies between 5 and 20
Another example to find out the bits by seeing the transitions.
GATE CS Corner Questions –
Practicing the following questions will help you test your knowledge. All questions have been asked in GATE in previous years or in GATE Mock Tests. It is highly recommended that you practice them.