Past exam question: 2071 Chaitra, Q8(b)
Open in the Padhaiko appQuestion
Draw AMI and Manchester encoding for the sequence [0 1 1 0 1 0 0 0 1].
Solution
Line Coding Rules: Given bit sequence of length :
- AMI (Alternate Mark Inversion):
- Bit
0is represented by zero voltage (). - Bit
1alternates between positive voltage () and negative voltage ().
- Bit
- Manchester (IEEE 802.3 Standard):
- Bit
0is represented by a Low-to-High transition at the midpoint of the bit interval (). - Bit
1is represented by a High-to-Low transition at the midpoint of the bit interval ().
- Bit
Step-by-Step Level Assignment Table:
| Index | Bit | AMI Level | Manchester (1st Half, 2nd Half) |
|---|---|---|---|
| 1 | 0 | (Low to High) | |
| 2 | 1 | (High to Low) | |
| 3 | 1 | (High to Low) | |
| 4 | 0 | (Low to High) | |
| 5 | 1 | (High to Low) | |
| 6 | 0 | (Low to High) | |
| 7 | 0 | (Low to High) | |
| 8 | 0 | (Low to High) | |
| 9 | 1 | (High to Low) |
Waveform Timing Diagrams:
Bit: | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
-------------------------------------------------------------------
AMI: | |+----+ | |+----+ | | | |
+-----+ +-----+-----+ +-----+-----+-----+ |
| | | | +-----+
| +-----+ | |
Manchester: | +--|+-- |+-- | +--|+-- | +--| +--| +--|+-- |
+--+ | +--+ +--+--+ | +--+--+ +--+ +--+ | +--|Answer:
For bit sequence 011010001:
- AMI:
0, +V, -V, 0, +V, 0, 0, 0, -V - Manchester (IEEE 802.3):
(-+), (+-), (+-), (-+), (+-), (-+), (-+), (-+), (+-)