What is Manchester Encoding?
Manchester encoding, told as a story about the wire between post offices, where the signal flips in the middle of every bit so the beat travels along with the data.
Between post offices, an envelope's contents travel the wire as high and low signals.The wire signal alone doesn't show how long one bit is.
When the same value repeats, the signal stays flat, so counting bits gets even harder.If the sender's and receiver's clocks drift even a little, the count comes out wrong.
Manchester encoding is a rule that always flips the signal at the middle of every bit.The receiving office corrects its clock to these flips, so no separate wire is needed to carry the beat.
For the same bits, a plain signal has long flat stretches, while Manchester flips in every bit.Even for repeated bits (1,1), Manchester still flips once at each bit's middle.
A flip in every bit means the same bit rate needs signal changes twice as fast as NRZ.So 10 Mb/s Ethernet (10BASE-T) used Manchester, while faster Ethernet uses other encodings.
Manchester encoding = a rule that always flips the wire signal in the middle of every bit, so the receiver can recover the clock from the signal alone.
Manchester encoding is a line-coding scheme, an OSI layer 1 (physical) rule, that forces a signal transition at the midpoint of every bit period. The direction of the transition encodes 0 or 1: IEEE 802.3 treats rising as 1 and falling as 0, and the G.E. Thomas convention is the reverse. The transition lets the receiver recover timing without a separate clock signal (self-clocking), and the DC component doesn't depend on the data. It was used in 10BASE-T Ethernet and similar links, but needs about twice the bandwidth of NRZ for the same bit rate, so 100BASE-TX uses 4B5B with MLT-3, 1000BASE-X uses 8b/10b, and 10GBASE-R uses 64b/66b.
When grown-ups say it
- Manchester Encoding
- A signal rule that flips exactly once at the middle of every bit. A line-coding scheme built for self-clocking.
- Self-Clocking
- Recovering the beat from the signal alone. No separate wire is needed to carry the beat.
- NRZ (Non-Return-to-Zero)
- A simpler scheme where the signal changes only when the value changes. Repeated values make bits hard to count.
- DC Component
- The one-sided lean left when a signal is averaged. In Manchester it doesn't depend on the data, which suits lines that pass through a transformer.
- Line Coding
- The general category of rules turning bits into signal shapes on a wire. A job for OSI layer 1. → the delivery process split into 7 stages
- Bandwidth
- The range of signal-change speeds a line can carry. Manchester needs about twice NRZ's bandwidth for the same bit rate.
- 10BASE-T Ethernet
- A 10 Mb/s Ethernet standard that uses Manchester encoding. When stations share the wire, it follows CSMA/CD. → sharing one lane without colliding
- 8b/10b Encoding
- An encoding that sends every 8 bits as 10. Used by some Gigabit Ethernet; keeps the beat while using less bandwidth than Manchester.