PadhaikoAll subjects

Past exam question: 2079 Baishakh (Back), Q4(b)

Data Communication · 6 marks

Open in the Padhaiko app

Topic: Digital data, digital signal: RZ, NRZ, AMI, Manchester, differential…

Question

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 :

  1. Unipolar NRZ (Non-Return-to-Zero):
    • Bit 1: for the entire bit duration .
    • Bit 0: for the entire bit duration .
  2. 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 .
  3. 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, bit 1 is High-to-Low and bit 0 is Low-to-High).
  4. Bipolar AMI (Alternate Mark Inversion):
    • Bit 0: for the entire duration .
    • Bit 1: Pulses of alternating polarity ( and ) for each successive 1 bit (assuming the first 1 begins with positive polarity ).

Detailed Interval-by-Interval Signal Level Mapping: The table below specifies the voltage levels across each half-bit period for all 10 bits:

Bit IndexBit ValueUnipolar NRZPolar RZ ( half)Manchester ( half)Bipolar AMI
11
21
30
41
51
61
70
81
91
101

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 :

  1. Unipolar NRZ: for every 1 bit and for every 0 bit (voltage sequence: ).
  2. Polar RZ: Each 1 is for then ; each 0 is for then .
  3. Manchester: Low-to-high mid-bit transition () for 1, and high-to-low () for 0.
  4. Bipolar AMI: 0 remains at ; successive 1s alternate between and (sequence: ).

All past exam questions for Data Communication