PadhaikoAll subjects

Past exam question: 2072 Chaitra, Q5

Data Communication · 10 marks

Open in the Padhaiko app

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

Question

Encode the Bit Stream 10110001110 using the following schemes: a) RZ b) NRZ-I c) NRZ-L d) AMI e) Manchester

Solution

Encoding Scheme Rules: Given bit sequence (length ):

Let voltage levels be , , and . Assume starting reference for differential encoding is previous level low ().

  1. RZ (Return-to-Zero, Unipolar/Bipolar): Bit 1 is high () for the first half of the bit period and returns to zero () for the second half. Bit 0 stays at zero () for the entire period.
  2. NRZ-I (Non-Return-to-Zero Inverted): Transition at the beginning of the bit interval indicates bit 1. No transition indicates bit 0.
  3. NRZ-L (Non-Return-to-Zero Level): Standard convention: Bit 0 is represented by positive level (), bit 1 is represented by negative level ().
  4. AMI (Alternate Mark Inversion): Bit 0 is represented by zero voltage (). Bit 1 is represented by alternating positive () and negative () voltage pulses.
  5. Manchester (IEEE 802.3 convention): Bit 0 has a low-to-high transition at mid-interval (). Bit 1 has a high-to-low transition at mid-interval ().

Step-by-Step Level Assignment Table:

Bit IndexBit ValueRZ (1st half, 2nd half)NRZ-I (assume prev )NRZ-L (1=, 0=)AMI (alternating 1s)Manchester (1st half, 2nd half)
11
20
31
41
50
60
70
81
91
101
110

Waveform Timing Diagrams:

Bit:       |  1  |  0  |  1  |  1  |  0  |  0  |  0  |  1  |  1  |  1  |  0  |
---------------------------------------------------------------------------------
RZ:        |+--  |     |+--  |+--  |     |     |     |+--  |+--  |+--  |     |
           |  +--|-----|  +--|  +--|-----|-----|-----|  +--|  +--|  +--|-----|

NRZ-I:     |-----+     |     |-----+-----+-----+     |     |-----+     |     |
           |     +-----+-----+     |     |     +-----+-----+     +-----+-----+

NRZ-L:     |     +-----+     |     +-----+-----+-----+     |     |     +-----+
           +-----+     +-----+-----+                 +-----+-----+-----+     

AMI:       |+----+     |     |+----+     |     |     |     |+----+     |     |
           |     +-----+     |     +-----+-----+-----+     |     |     +-----+
           |           +-----+                       +-----+     +-----+     

Manchester:|+--  |  +--|+--  |+--  |  +--|  +--|  +--|+--  |+--  |+--  |  +--|
           |  +--+--+  |  +--|  +--+--+  +--+  +--+  |  +--|  +--|  +--+--+  |
Answer:

For bit stream 10110001110 (with initial NRZ-I level and IEEE 802.3 Manchester):

All past exam questions for Data Communication