19

Click here to load reader

Manchester Encoding

Embed Size (px)

DESCRIPTION

Manchester Encoding

Citation preview

Page 1: Manchester Encoding

Manchester Encoding

Theory and UseBy Professor Tom Mavroidis

January 31,2001

Page 2: Manchester Encoding

What is Manchester Encoding ?

• It is a process by which a Synchronous clock encoding technique is used by the OSI physical Layer to encode the clock and data of a synchronous bit stream.

Page 3: Manchester Encoding

What is the difference?

• In this technique the binary data to be transmitted over the cable are not sent as a sequence of logical 1 & 0’s known as non return to zero (NRZ), instead the bit are translated into a different format that has a number of advantages over using straight binary.

Page 4: Manchester Encoding

Where is it used?

• A popular technique used for encoding data on magnetic disks.

• Also known as phase encoding• Problems include poor bit storage

density

Page 5: Manchester Encoding

Resides in the Physical Layer

• Physical Layer serializes the frame (converts it to a series of bits) and send it across a circuit to the destination.

Page 6: Manchester Encoding

Three types of encoding discussed

• NRZ - Non Return to Zero• RZ - Return to zero• Manchester encoding

Page 7: Manchester Encoding

NRZ , Non Return to Zero transmission

• Each data bit is represented by a level. High = logic 1 low = logic 0

Page 8: Manchester Encoding

Problem with NRZ

• Long runs of consecutive bits with the same value make it impossible to detect bit boundaries by the inability of the receiver to detect the clocking speed.

Page 9: Manchester Encoding

RZ - Return to zero

• Pulses used to represent bits• logic 1 = pulse logic 0 absence of

pulse

Page 10: Manchester Encoding

RZ - Advantages

• Clock signals can be extracted from the logic 1 signals.

• Halves the width of the pulse• Polar RZ sends pulses for both

logic 0 and logic 1• Requires an extra voltage level

Page 11: Manchester Encoding

Manchester Encoding

• Logic 1 is represented by a transition in a particular direction in the center of each bit.

• Opposite direction used to represent logic 0

Page 12: Manchester Encoding

Representation

• Logic 0 1 to 0 (downward transition at bit center)

• Logic 1 0 to 1 (upward transition at bit center)

Page 13: Manchester Encoding

Manchester Encoding

• Was named after its birthplace in Manchester, England

• Bit transitions do not always occur at the ‘bit boundaries.

• There is always a transition at the center of the bit

Page 14: Manchester Encoding

Improved clocking

• Allows the receiver to extract the clock signal

• Correctly decodes the value and timing of each bit

Page 15: Manchester Encoding

Receiver

• Reassembles the series of bits to form a frame and forwards the frame for processing by the link layer

• Frame is then CRC checked and a retransmission is requested if the checksum is invalid.

Page 16: Manchester Encoding

Representation of phase shift

Page 17: Manchester Encoding

Uses

• Manchester encoding is used to :• Transmit data across systems• Store data on magnetic media,

disks etc.• Communicate with Satellites

Page 18: Manchester Encoding

Conclusion

• Based on application different types of encoding can be used

• Manchester encoding exhibits poor bit storage density but improved reliability.

Page 19: Manchester Encoding

Links

• http://www.erg.abdn.ac.uk/users/gorry/course/phy-pages/man.html

• http://home.europa.com/~celiac/manch_enc.html• http://csshaun.cs.ru/ac/za/netnotes/netnotes003.html• http://www.pdp8.net/tu56/tu56.shtml