Spread Knowledge

CS601 - Data Communication - Lecture Handout 15

User Rating:  / 0

Related Content: CS601 - VU Lectures, Handouts, PPT Slides, Assignments, Quizzes, Papers & Books of Data Communication


Return to Zero (RZ)

  • Any time, data contains long strings of 1’s or 0’s, Rx can loose its timing
  • In unipolar, we have seen a good solution is to send a separate timing signal but this solution is both expensive and full of error
  • A better solution is to somehow include synch in encoded signal somewhat similar to what we did in NRZ-I but it should work for both strings of 0 & 1
  • One solution is RZ encoding which uses 3 values : Positive, Negative and Zero
  • Signal changes not b/w bits but during each bit
  • Like NRZ-L , +ve voltage means 1 and a –ve voltage means 0, but unlike NRZ- L, half way through each bit interval, the signal returns to zero
  • A 1 bit is represented by positive to zero and a 0 is represented by negative to zero transition
  • The only problem with RZ encoding is that it requires two signal changes to encode one bit and therefore occupies more BANDWIDTH
  • But of the 3 alternatives we have discussed, it is most effective value

Return to Zero (RZ)

  • Biphase Encoding
    • Best existing solution to the problem of Synchronization
    • Signal changes at the middle of bit interval but does not stop at zero
    • Instead it continues to the opposite pole

Biphase Encoding

  • Manchester
    • Uses inversion at the middle of each bit interval for both synchronization and bit representation
      • Negative-to-Positive Transition= 1
      • Positive-to-Negative Transition = 0
      • By using a single transition for a dual purpose, Manchester acheives the same level of synchronization as RZ but with only two levels of amplitude


  • Differential Manchester
    • Inversion at the middle of the bit interval is used for Synchronization but presence or absence of an additional transition at the beginning of bit interval is used to identify a bit
    • A transition means binary 0 & no transition means binary 1
    • Requires 2 signal changes to represent binary 0 but only one to represent binary 1


  • Bipolar Encoding
    • Like RZ, it uses three voltage levels:
    • Unlike RZ, zero level is used to represent binary 0
    • Binary 1’s are represented by alternate positive and negative voltages

Types of Bipolar Encoding

Types of Bipolar Encoding

  • Alternate Mark Inversion (AMI)
    • Simplest type of Bipolar Encoding
    • Mark
      • Comes from Telegraphy (1)
    • Alternate Mark Inversion means Alternate ‘1’ Inversion
    • Pseudoternary

Alternate Mark Inversion (AMI)

  • By inverting on each occurrence of 1, AMI accomplishes 2 things:
    • The DC component is zero
    • Long sequence of 1’s stay synchronized
  • No mechanism of ensuring synch is there for long stream of 0’s


  • Two variations are developed to solve the problem of synchronization of sequential 0’s
    • B8ZS
      • used in North America
    • HDB3
      • used in Europe & Japan
  • Both modify original pattern of AMI only on case of long stream of zeroes


Convention adopted in North America to provide synch for long string of zeros
Difference b/w AMI and B8ZS occurs only when 8 or more consecutive zeros are encountered
Forces artificial signal changes called VIOLATIONS
Each time eight 0’s occur , B8ZS introduces changes in pattern based on polarity of previous 1 (the ‘1’ occurring just before zeros)



Alteration of AMI adopted in Europe and Japan
Introduces changes into AMI, every time four consecutive zeros are encountered instead of waiting for eight zeros as in the case of B8ZS


As in B8ZS, the pattern of violations is based on the polarity of the previous 1 bit Unlike B8ZS, HDB3 also looks at the no. of 1’s that have occurred since the last substitution


  • Types of Digital-To-Digital Encoding
  • Polar Encoding
    • Return to Zero (RZ) Encoding
    • Biphase Encoding
  • Bipolar Encoding

Reading Sections

  • Section 5.1, “Data Communications and Networking” 4th Edition by Behrouz A. Forouzan