Past exam question: 2079 Baishakh (Back), Q4(b)
Open in the Padhaiko appQuestion
Given the binary data sequence represent it in unipolar NRZ, polar RZ, Manchester and AMI waveform.
Solution
Encoding Rules for the Target Line Coding Schemes: For the 10-bit sequence over bit duration :
- Unipolar NRZ (Non-Return-to-Zero):
- Bit
1: for the entire bit duration . - Bit
0: for the entire bit duration .
- Bit
- Polar RZ (Return-to-Zero):
- Bit
1: for the first half interval , returns to for the second half . - Bit
0: for the first half interval , returns to for the second half .
- Bit
- Manchester Encoding (IEEE 802.3 standard):
- Bit
1: Low-to-High transition at mid-bit: during , during . - Bit
0: High-to-Low transition at mid-bit: during , during . (Note: Under the alternative G.E. Thomas convention, bit1is High-to-Low and bit0is Low-to-High).
- Bit
- Bipolar AMI (Alternate Mark Inversion):
- Bit
0: for the entire duration . - Bit
1: Pulses of alternating polarity ( and ) for each successive1bit (assuming the first1begins with positive polarity ).
- Bit
Detailed Interval-by-Interval Signal Level Mapping: The table below specifies the voltage levels across each half-bit period for all 10 bits:
| Bit Index | Bit Value | Unipolar NRZ | Polar RZ ( half) | Manchester ( half) | Bipolar AMI |
|---|---|---|---|---|---|
| 1 | 1 | ||||
| 2 | 1 | ||||
| 3 | 0 | ||||
| 4 | 1 | ||||
| 5 | 1 | ||||
| 6 | 1 | ||||
| 7 | 0 | ||||
| 8 | 1 | ||||
| 9 | 1 | ||||
| 10 | 1 |
Waveform Timing Representation:
Bit Stream: | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Unipolar NRZ:
+V +-----+-----+ +-----+-----+-----+ +-----+-----+-----+
0 | | +-----+ | | +-----+ | | |
---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Polar RZ:
+V +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
0 | +---+ +---+---+ | +---+ +---+ +---+---+ | +---+ +---+ +---+
-V +---+ +---+
---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Manchester:
+V +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
0 ----+ +---+ +-+ +-----+ +---+ +---+ +-+ +-----+ +---+ +---+ +
-V +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Bipolar AMI:
+V +-----+ +-----+ +-----+ +-----+
0 | | +-----+ | | +-----+ | |
-V +-----+ +-----+ +-----+ +-----+
---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+Answer:
For the data sequence :
- Unipolar NRZ: for every
1bit and for every0bit (voltage sequence: ). - Polar RZ: Each
1is for then ; each0is for then . - Manchester: Low-to-high mid-bit transition () for
1, and high-to-low () for0. - Bipolar AMI:
0remains at ; successive1s alternate between and (sequence: ).