dc-lec-13 (intro to encoding techniques)

Upload: tabby919

Post on 06-Apr-2018

238 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    1/34

    DATACOMMUNICATION

    Lecture-13

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    2/34

    Recap of Lecture 11 & 12Recap of Lecture 11 & 12

    Signals

    Analog and Digital

    Analog and Digital Data & Signals

    Periodic & Aperiodic Signals

    Sine Waves and its Characteristics

    Control of Signals

    Time and Frequency Domain

    Composite Signals

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    3/34

    Overview of Lecture 13Overview of Lecture 13

    Introduction to the Encoding Techniques

    Digital-To-Digital Encoding

    Types of Digital-To-Digital Encoding

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    4/34

    IntroductionIntroduction

    Information must be transformed intosignals before it can be transferred acrossthe communication media.

    How this information is transformeddepends upon its original format and onthe format of the communication hardware.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    5/34

    Conversion MethodsConversion Methods

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    6/34

    Digital-to-Digital ConversionDigital-to-Digital Conversion

    Digital-to-Digital conversion/encoding is therepresentation of digital information by

    digital signal.

    For Example:When you transmit data from Computer to the

    Printer, both original and transmitted data haveto be digital.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    7/34

    Digital-to-Digital ConversionDigital-to-Digital Conversion

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    8/34

    Types of Digital-to-DigitalTypes of Digital-to-Digital

    EncodingEncoding

    Digital/Digital Encoding

    Uni-polar Polar Bipolar

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    9/34

    Unipolar EncodingUnipolar Encoding

    Simple and Primitive.

    Almost Absolute Today.

    Uses only one polarity level (this polarity isassigned to one of the binary state, usually1, 0 is represented by zero voltage.

    Study provides introduction to concepts and

    problems involved with more complexencoding systems.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    10/34

    Unipolar EncodingUnipolar Encoding

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    11/34

    Pros and Cons of UnipolarPros and Cons of Unipolar

    EncodingEncoding

    PROS

    Straight Forward and SimpleInexpensive to Implement

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    12/34

    Pros and Cons of UnipolarPros and Cons of Unipolar

    EncodingEncoding CONS DC Component(the average amplitude

    of uni-polar encoded signal is non-zero)

    Synchronization(if the data contain longsequence of 0s and 1s, there is nochange in the signal, during thisduration that can alert the receiver topotential synchronization problem)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    13/34

    Polar EncodingPolar Encoding

    Polar encoding uses two voltage levels

    One positive and one negative

    Average voltage level on the line isreduced

    DC Component problem of Unipolarencoding is alleviated

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    14/34

    Types of Polar EncodingTypes of Polar Encoding

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    15/34

    Non Return to Zero (NRZ)Non Return to Zero (NRZ)

    The level of signal is either positive ornegative

    NRZ

    NRZ-L NRZ-I

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    16/34

    Non Return to Zero-Level (NRZ-L)Non Return to Zero-Level (NRZ-L)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    17/34

    Non Return to Zero-LevelNon Return to Zero-Level

    (NRZ-L)(NRZ-L) Positive voltage usually means the bit is

    zero 0.

    Negative voltage usually means the bit isone 1.

    Synchronization problem (in case ofcontinuous 1s or 0s)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    18/34

    Non Return to Zero-Invert (NRZ-I)Non Return to Zero-Invert (NRZ-I)

    Inverse of NRZ-L

    In this the 1 bit is used for transition, notused for voltage representation.

    0 represent no change.

    NRZ-I is superior to NRZ-L due tosynchronization provided by signal change

    each time 1 bit is encountered. The string of 0 can still cause problem,

    but 0 do not occur mostly.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    19/34

    Non Return to Zero-Invert (NRZ-I)Non Return to Zero-Invert (NRZ-I)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    20/34

    Return to Zero (RZ)Return to Zero (RZ)

    Synchronization problem is present inother encoding schemes which wassomewhat eliminated by NRZ-I, but stillthe problem was there with theconsecutive 0s.

    So the solution was provided by RZ aschange on every bit.

    Three values were used i.e. Positive Negative

    Zero.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    21/34

    Return to Zero (RZ)Return to Zero (RZ)

    Signal changes between mid of bit.

    1 is represented by positive-to-zero.

    0 is represented by negative-to-zero.

    Disadvantage is that it requires two signalchanges to encode one bit therefore

    occupies more bandwidth.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    22/34

    Return to Zero (RZ)Return to Zero (RZ)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    23/34

    Biphase EncodingBiphase Encoding

    Best existing solution to the problem ofSynchronization

    Signal changes at the middle of bitinterval but does not stop at zero

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    24/34

    Biphase EncodingBiphase Encoding

    Biphase

    Encoding

    DifferentialManchesterManchester

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    25/34

    ManchesterManchester

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    26/34

    ManchesterManchester

    Uses an inversion at the middle of each bitinterval for both synchronization and bit

    representation. 1 is represented by negative to positive

    transition.

    0 is represented by positive to negativetransition.

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    27/34

    Differential ManchesterDifferential Manchester

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    28/34

    Differential ManchesterDifferential Manchester

    Inversion at the middle of the bit intervalis used for synchronization, but thepresence or absence of an additional

    transition at the beginning of the intervalis used to identify the bit.

    It requires two signal changes to representto binary 0 but only one to represent

    binary 1

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    29/34

    Bipolar EncodingBipolar Encoding

    Like RZ, it uses three voltage levels: Positive

    Negative

    Zero Unlike RZ, zero level is used to represent

    binary 0

    Binary 1s are represented by alternate

    positive and negative voltages

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    30/34

    Bipolar EncodingBipolar Encoding

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    31/34

    Alternate Mark Inversion (AMI)Alternate Mark Inversion (AMI)

    Simplest type of Bipolar Encoding

    Mark Comes from Telegraphy (1)

    Alternate Mark Inversion means Alternate1 Inversion

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    32/34

    Alternate Mark Inversion (AMI)Alternate Mark Inversion (AMI)

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    33/34

  • 8/3/2019 DC-Lec-13 (Intro to Encoding Techniques)

    34/34