15979_Digital Transmission and Line Coding Techs

Embed Size (px)

Citation preview

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    1/32

    DigitalTransmission

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    2/32

    Line Coding

    Line Coding Schemes

    Some Other Schemes

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    3/32

    Line coding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    4/32

    Signal level versus data level

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    5/32

    DC component

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    6/32

    Example 1

    A signal has two data levels with a pulse duration of 1

    ms. We calculate the pulse rate and bit rate as follows:

    Pulse Rate = 1/ 10-3= 1000 pulses/s

    Bit Rate = Pulse Rate x log2 L = 1000 x log2 2 = 1000 bps

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    7/32

    Example 2

    A signal has four data levels with a pulse duration of 1

    ms. We calculate the pulse rate and bit rate as follows:

    Pulse Rate = = 1000 pulses/s

    Bit Rate = PulseRate x log2 L = 1000 x log2 4 = 2000 bps

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    8/32

    Lack of synchronization

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    9/32

    Example 3

    In a digital transmission, the receiver clock is 0.1 percent

    faster than the sender clock. How many extra bits per

    second does the receiver receive if the data rate is 1

    Kbps? How many if the data rate is 1 Mbps?

    Solution

    At 1 Kbps:

    1000 bits sent1001 bits received1 extra bps

    At 1 Mbps:

    1,000,000 bits sent1,001,000 bits received1000 extra bps

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    10/32

    Line coding schemes

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    11/32

    Unipolar encoding uses only one

    voltage level.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    12/32

    Unipolar encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    13/32

    Polar encoding uses two voltage levels

    (positive and negative).

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    14/32

    Types of polar encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    15/32

    In NRZ-L the level of the signal is

    dependent upon the state of the bit.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    16/32

    In NRZ-I the signal is inverted if a 1 is

    encountered.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    17/32

    NRZ-L and NRZ-I encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    18/32

    RZ encoding

    ZERO is ONE is

    Reference level

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    19/32

    A good encoded digital signal must

    contain a provision forsynchronization.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    20/32

    Manchester encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    21/32

    In Manchester encoding, the

    transition at the middle of the bit isused for both synchronization and bit

    representation.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    22/32

    Differential Manchester encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    23/32

    In differential Manchester encoding,

    the transition at the middle of the bit isused only for synchronization.

    The bit representation is defined by the

    inversion or noninversion at thebeginning of the bit.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    24/32

    In bipolar encoding, we use three

    levels: positive, zero,and negative.

    Note:

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    25/32

    Bipolar AMI encoding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    26/32

    Block Coding

    Steps in Transformation

    Some Common Block Codes

    Bl k di

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    27/32

    Block coding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    28/32

    S b tit ti i bl k di

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    29/32

    Substitution in block coding

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    30/32

    Table : 4B/5B encoding

    Data Code Data Code

    0000 11110 1000 10010

    0001 01001 1001 10011

    0010 10100 1010 10110

    0011 10101 1011 10111

    0100 01010 1100 11010

    0101 01011 1101 11011

    0110 01110 1110 11100

    0111 01111 1111 11101

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    31/32

    Table : 4B/5B encoding (Continued)

    Data Code

    Q (Quiet) 00000

    I (Idle) 11111

    H (Halt)00100

    J (start delimiter) 11000

    K (start delimiter) 10001

    T (end delimiter) 01101

    S (Set) 11001

    R (Reset) 00111

    Data t a i i

  • 7/31/2019 15979_Digital Transmission and Line Coding Techs.

    32/32

    Data transmission