lec6_datatransmission

Upload: ajay-das

Post on 03-Jun-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Lec6_DataTransmission

    1/34

    BEIT, 5th Semester 1/20

    Data Transmission andLine Coding

    Ms. Tuhina SamantaLecturer

    Dept of I.T.

  • 8/12/2019 Lec6_DataTransmission

    2/34

    2/32BEIT, 5th Semester

    Digital Data, Digital Signal

    Digital signal

    Discrete, discontinuous voltage pulses

    Each pulse is a signal elementBinary data encoded into signal elements

  • 8/12/2019 Lec6_DataTransmission

    3/34

    BEIT, 5th Semester 3/20

    Line Coding

  • 8/12/2019 Lec6_DataTransmission

    4/34

    4/32BEIT, 5th Semester

    Line Coding

    UnipolarAll signal elements have same sign

    Polar

    One logic state represented by positive voltagethe other by negative voltage

    Data rate

    Rate of data transmission in bits per second Duration or length of a bit

    Time taken for transmitter to emit the bit

  • 8/12/2019 Lec6_DataTransmission

    5/34

    5/32BEIT, 5th Semester

    Terms

    Modulation rate

    Rate at which the signal level changes

    Measured in baud = signal elements per second

    Mark and Space

    Binary 1 and Binary 0 respectively

  • 8/12/2019 Lec6_DataTransmission

    6/34

    6/32BEIT, 5th Semester

    Requirements of Encoding Schemes

    Signal Spectrum

    Lack of high frequencies reduces required bandwidth

    Lack of dc component allows ac coupling viatransformer, providing isolation

    Concentrate power in the middle of the bandwidth

    Clocking Synchronizing transmitter and receiver

    External clock

    Sync mechanism based on signal

  • 8/12/2019 Lec6_DataTransmission

    7/34

    7/32BEIT, 5th Semester

    Requirements of Encoding Schemes

    Error detectionCan be built in to signal encoding

    Signal interference and noise immunity

    Transparency to 1s and 0s.

    Some codes are better than others

    Cost and complexity

    Higher signal rate (& thus data rate) lead tohigher costs

  • 8/12/2019 Lec6_DataTransmission

    8/34

    8/32BEIT, 5th Semester

    Encoding Schemes (Line Coding)

    Nonreturn to Zero-Level (NRZ-L)

    Nonreturn to Zero Inverted (NRZI)

    Bipolar -AMI

    Pseudoternary

    Manchester

    Differential Manchester B8ZS

    HDB3

  • 8/12/2019 Lec6_DataTransmission

    9/34

    9/32BEIT, 5th Semester

    Nonreturn to Zero-Level (NRZ-L)

    Two different voltages for 0 and 1 bits

    Voltage constant during bit interval

    no transition i.e. no return to zero voltage

    e.g. Absence of voltage for zero, constant

    positive voltage for one

    More often, negative voltage for one value andpositive for the other

    This is NRZ-L

  • 8/12/2019 Lec6_DataTransmission

    10/34

    10/32BEIT, 5th Semester

    NRZ

  • 8/12/2019 Lec6_DataTransmission

    11/34

    11/32BEIT, 5th Semester

    NRZ pros and cons

    Pros

    Easy to engineer

    Make good use of bandwidth Cons

    dc component

    Lack of synchronization capability

    Used for magnetic recording

    Not often used for signal transmission

  • 8/12/2019 Lec6_DataTransmission

    12/34

    12/32BEIT, 5th Semester

    Some Line Codes

    1 1 0 0 1 0

    ON-OFF(RZ)

    POLAR (RZ)

    BIPOLAR (RZ)

  • 8/12/2019 Lec6_DataTransmission

    13/34

    13/32BEIT, 5th Semester

    Power Spectral Density (Polar-RZ)

    Let R()time correlation function of pulse

    train.

    akbe pulse amplitude. R0time average of square of the pulse

    amplitude, (correlation of akwith ak)

    ltN(1/N)kak2 =ltN(N)/(N) = 1

  • 8/12/2019 Lec6_DataTransmission

    14/34

  • 8/12/2019 Lec6_DataTransmission

    15/34

    15/32BEIT, 5th Semester

    PSD expression

    PSD Sx() is Four ier transform of AutocorrelationRx()

    assuming R() is even function of .

    PSD of the resulting line code is,

    ))cos(2(1)(1

    0

    n

    bn

    b

    x TnRR

    TS

    ))cos(2(|)(|

    )(|)(|)(10

    22

    n bn

    b

    xy TnRRT

    PSPS

    n

    bn

    b

    x nTR

    TR )(

    1)(

  • 8/12/2019 Lec6_DataTransmission

    16/34

    16/32BEIT, 5th Semester

    PSD of Polar Signaling

    For polar coding let p(t) be a rectangular pulse

    of width Tb/2.

    Then,

    Therefore,

    PSD of polar signaling is,

    )2

    ()

    2/

    ()(

    bb T

    trect

    T

    trecttp

    )4

    (sin2

    )( bb Tc

    TP

    )4

    (sin4

    |)(||)(|)( 2

    2

    0

    2bb

    bb

    y

    Tc

    T

    T

    PR

    T

    PS

    Tb

    Tb/2.p(t)

  • 8/12/2019 Lec6_DataTransmission

    17/34

    17/32BEIT, 5th Semester

    Properties of Polar (RZ) Coding If Tbis pulse duration with pulse

    width Tb/2 then bandwidth is 2Rb. With pulse width Tbbandwidth is

    Rb. Power Efficient.

    Clock extraction is easier.

    Essential bandwidth requirement2Rbnot bandwidth efficient

    No error detection-correctioncapabilities

    At = 0, PSD is present, i.e. nod.c. null

    -4Rb -2Rb 0 2Rb 4Rb

    PSD

  • 8/12/2019 Lec6_DataTransmission

    18/34

    18/32BEIT, 5th Semester

    BIPOLAR (RZ)

    1 1 0 0 1 0

  • 8/12/2019 Lec6_DataTransmission

    19/34

    19/32BEIT, 5th Semester

    Bipolar Coding

    R0= ltN(1/N) [((N/2)(1)2+ ((N/2)(0)) ]

    =

    R1= ltN(1/N) [((N/4) (-1)) + ((3N/4)(0))]= -1/4

    R2 = ltN(1/N) [ (N/8)(1) +(N/8)(-1) + (3N/4)(0)]

    = 0 Remaining terms are zero. Rn= 0 for n > 1

  • 8/12/2019 Lec6_DataTransmission

    20/34

    20/32BEIT, 5th Semester

    PSD Expression

    For half width pulse, PSD of bipolar line coding is,

    )2

    (sin)4

    (sin4

    )2

    (sin2

    |)(|]cos1[

    2

    |)(|

    ...]0)cos(22

    1[

    |)(|

    )]cos(2[|)(|

    )(

    22

    222

    1

    2

    1

    0

    2

    bbb

    b

    bb

    b

    b

    b

    b

    n

    n

    b

    y

    TTc

    T

    T

    T

    PT

    T

    P

    TRT

    P

    TnRRT

    PS

  • 8/12/2019 Lec6_DataTransmission

    21/34

    21/32BEIT, 5th Semester

    Properties of Bipolar (RZ) Coding

    D.C. null exists

    Lesser bandwidth

    Single error

    detection possible

    Twice as much

    power as polarsignal

    Not transparent tolong 0s and 1s

    0 Rb 2Rb

    PSD

  • 8/12/2019 Lec6_DataTransmission

    22/34

  • 8/12/2019 Lec6_DataTransmission

    23/34

    23/32BEIT, 5th Semester

    High Density Bipolar Coding

    HDBN coding with N = 1,2,3...Popular choice of N is 3; 000V B00V;

    B=1 confirms bipolar rule; V=1 violates bipolar rule

  • 8/12/2019 Lec6_DataTransmission

    24/34

    24/32BEIT, 5th Semester

    Multilevel Binary

    Use more than two levels

  • 8/12/2019 Lec6_DataTransmission

    25/34

    25/32BEIT, 5th Semester

    Bipolar-AMI and Pseudoternary

  • 8/12/2019 Lec6_DataTransmission

    26/34

  • 8/12/2019 Lec6_DataTransmission

    27/34

    27/32BEIT, 5th Semester

    Exercise

    Draw Manchester and Differential Manchester

    line coding

    Calculate PSD for pseudoternary and on-offsignaling

  • 8/12/2019 Lec6_DataTransmission

    28/34

  • 8/12/2019 Lec6_DataTransmission

    29/34

    29/32BEIT, 5th Semester

    Rb-Rb

    P()

    -3/Rb -2/Rb -1/Rb 0 1/Rb 2/Rb

    1

    p(t)

    1 for t = 0

    p(t) = sinc(Rbt) =0 for t = nTb

    Pulse satisfying Nyquist Criterion

    tf

    )2

    (1

    )(bb R

    rectR

    P

  • 8/12/2019 Lec6_DataTransmission

    30/34

    30/32BEIT, 5th Semester

    Pulse satisfying Nyquist Criterion

    Sincpulse decays too slowly (as 1/t)

    Pulse satisfying Nyquist criteria should

    decay faster than 1/t Such pulse requires bandwidth kRb/2, with

    1k 2

  • 8/12/2019 Lec6_DataTransmission

    31/34

    31/32BEIT, 5th Semester

    Roll-off factor

    The b.w. of the spectrumshown aside is b/2 + x

    Roll-off factor (r) = excessbandwidth/theoretical

    minimum bandwidth= 2x/b

    0r1

    Let theoretical minimumb.w. Rb/2 Hz

    Then, BT= (Rb/2) + (rRb/2)

    Tb

    Tb /2

    b/2x

    P()

    xb

  • 8/12/2019 Lec6_DataTransmission

    32/34

    32/32BEIT, 5th Semester

    Raised Cosine function:

    The characteristic is also

    called full-cosine-rolloffcharacteristic.

    Decays as 1/t3

    The time domain representation

    is (taking inverse Fourier Transform),

    )(sin41

    )cos()(

    22 tRc

    tR

    tRRtp b

    b

    b

    b

    0

    1

    |P()|

    x= 0

    x= b/2

    t

    Tb

    2Tb-T

    b

    -

    2Tb

    p(t)

    [Ref. B.P.Lathi, Ch. 7]

    )4

    ()4

    (cos

    )4()2cos1(2

    1)(

    2

    bb

    bb

    Rrect

    R

    RrectRP

    x= b/4

  • 8/12/2019 Lec6_DataTransmission

    33/34

    BEIT, 5th Semester

    Problems

    1) A baseband signal of frequency 5kHz.is applied to aproduct modulator together with a carrier wave of1MHz. The modulator output is next applied to aresonant circuit tuned to 50Hz. Determine the

    modulated output signal.

    2) For tone modulation with amplitude modulationindex = 1 and 0.5 and baseband signal m(t) =

    Bcos(mt) draw the waveforms of amplitudemodulated signals both in time and frequencydomain.

  • 8/12/2019 Lec6_DataTransmission

    34/34

    BEIT 5th Semester