32-33-com205-206

Embed Size (px)

Citation preview

  • 8/3/2019 32-33-com205-206

    1/49

    www.sigmatrainers.com

    DATA CONDITIONING & CARRIER

    MODULATION TRANSMITTER

    &

    DATA RECONDITIONING & CARRIER

    DEMODULATION RECEIVER

    MODEL-COM205-COM206

    Since

    23

    Years

    TRAINERS

  • 8/3/2019 32-33-com205-206

    2/49

    CHAPTERS

    1. To study theory of Carrier modulation & demodulation techniques

    2. To study theory of line coding and decoding techniques

    3. To study complete circuit

    EXPERIMENTS

    1. To generate ASK (Amplitude Shift Keying) signal and demodulate it by Diode detector

    2. To generate FSK (Frequency Shift Keying) signal and demodulate it by PLL detector

    3. To generate PSK (Phase Shift Keying) signal and demodulate it by product detector

    4. To generate QPSK (Quadrature phase Shift Keying) signal and demodulate it.

    5. To generate different line coding (formatting) signals and decode (reformat) them.

  • 8/3/2019 32-33-com205-206

    3/49

    FEATURES AND SPECIFICATIONS

    This trainer has been designed with a view to provide practical/experimental knowledge of different types of

    Carrier modulation & demodulation techniques and line coding - decoding as practically implemented in DigitalCommunication systems on a two SINGLE P.C.B. of siz e 15 x 12.

    1. Power supply requirement : 230V AC, 50 Hz.

    2. Built in IC based power supply.

    3. On Board Modulating Digital Data signal generator to generate any binary input word with Bit clock &

    Word clock.Word Length : 8 Bits.

    Word Clock Frequency :10 KHz.Data Format : NRZ

    4. On Board synchronized RF carrier signal generators.

    Frequencies : 320 KHz, 640KHz, 1.2 MHz

    5. Modulator Type : ASK, FSK, PSK, QPSK.

    6. Demodulator Type : ASK, FSK, PSK, QPSK

    7. Standard Accessories : 1. A Training Manual.2. Connecting Patch cords.

  • 8/3/2019 32-33-com205-206

    4/49

    CHAPTER-1

    CIRCIUT DETAILS OF TRANSMITTER SECTION

    (1) Modulating NRZ data Signal Generator section:-

    This section generates this digital data signal. It consists of many digital ICs. The carrier clock of 1.28 MHz is

    generated by IC 74HC04. The 1K pot is used to vary the carrier clock (Ck) frequency. This Ck frequency isdivided by 16 to produce bit clock (Bk) of 80 KHz. This Bit clock frequency is divided by 8 to generate Word

    clock (Wk) of 10 KHz. Then a word of 8 bit data is generated using D-FFs and eight data generating push

    switches. By pushing different push switches different data word can be generated. This data word is called as NRZ data. This NRZ data is inverted to produce inverted NRZ signal. It is also splitted in to odd and even data

    bit stream, which are known as In-phase (I) and 90 out of phase (Q) data by IC 4013, 4027 and 4052. Each push

    switch controls one bit from LSB to MSB viz. D1 to D8.

    (2) RF Carrier Generators: -

    The function of this section is to generate phase synchronized carrier signal with respect to modulating digital

    NRZ input. It converts 1.28 MHz TTL clock signal Ck into 1.28 MHz sinewave carrier signal using pie filter

    made of 100uH coil and two 100 pf capacitor.

    It converts 640KHz TTL clock signal Ck into 640KHz sinewave carrier signal using pie filter made of 100uH

    coil and two 100pf capacitor.

    It converts 320KHz TTL clock signal Ck into 320KHz sinewave carrier signal using pie filter made of 100uH

    coil and two 100pf capacitor.

    (3) Carrier Generator Splitter: -

    (a) Generator at switch position QPSKFor the switch position at QPSK, this section generates two 90out of phase sine wave signal referred as 1

    (0) and 2 (90). These 1 (0) and 2 (90) signals are generated from data carrier signal for synchronization.

    The carrier signal (1.28 MHz) is applied at the input of this section from data generator section. Its phase is

    shifted by phase splitter coil. The phase control pot controls the degree of phase shift of from carrier phase. The

    gain control controls the amplitudes of 1 and 2 signals.

    (b) Generator at switch position PSK

    For the switch position at PSK, this generates 180 out of phase sine wave signal referred as 1 is

    generated by transformer circuit. This signal is given as carrier signal to balanced modulator as one input. The phase control preset pot controls the degree of phase shift of this signal from carrier phase. The gain control

    controls the amplitudes of carrier signal 1.

    (4) Balanced Modulator sections: -

    There are two balanced modulators used in transmitter side while two balanced modulators are used at

  • 8/3/2019 32-33-com205-206

    5/49

    (5) Variable Bias generating section: -This section provides +5 to 5V Dc voltage which given as bias to 2 nd input of balanced modulator to insert or

    remove carrier in output. There two separate bias supplies which vary from +5 to 5V Dc voltage

    (6) Adder section:-

    This section adds two input signals with unity gain. This is used to add to ASK signals to converts into FSK

    signal.

    (7) Line Coding section :-

    The function of this section is to produce different types of formatted signals form NRZ data.

    (8) Power supply section:-

    The regulated power supply is used for different supply voltages.

    Following output D.C. Voltages are required to operate the trainer system.+15V, 250mA,

    -15V, 250mA,+ 5V, 250mA

    + 5V, 250mA

    Three terminal regulators are used for different output voltages i.e. IC 7805 for + 5V, IC 7815 for +15V, IC

    7915 for 15V, 7905 for 5V

    These ICs are supplied different dc input voltages by two Bridge rectifiers consisting of D1-D4 and D5-D8 &two 1000/25 EC and 1000/10 EC. The capacitors at each input & each output are for filtering purpose.

    ******************

  • 8/3/2019 32-33-com205-206

    6/49

    CHAPTER-2

    CIRCIUT DETAILS OF RECEIVER SECTION

    (1) Balanced Modulator sections: -

    There are two balanced modulators are used in receiver side. The function and circuit is same for allbalanced modulators as explained in transmitter section.

    (2). Carrier Clock Recovery section: -

    (a) PSK: -

    The carrier clock signal is required for PSK demodulation. This carrier clock signal R1 must be same ascarrier signal 1. Here a balanced modulator is used as squarer. The PSK modulated signal from modulator

    section is applied at both input of the balanced modulator. The output is square of input PSK signal, which has

    carrier clock frequency multiplied by 2 of original carrier signal. Then this signal is given to PLL circuit for

    phase and frequency locking. The recovered signal is frequency divided by 2 to generate original carrier signal.

    The recovered carrier signal is given to phase splitter section to generate Carrier clock signals R1.

    (b) QPSK

    The carrier clock signals are required for QPSK demodulation. These carrier clock signals R1 (0) and R2(90) must be same as carrier signals 1 (0) and 2 (90). Here two balanced modulators are used as squarer.

    The QPSK modulated signal from modulator section is applied at both input of First balanced modulator. The

    output is square of input signal. Then the output signal is applied at both input of second balanced modulator.

    The output of second modulator is quadruple of QPSK signal, which has carrier clock frequency multiplied by 4of original carrier signal. Then this signal is given to PLL circuit for phase and frequency locking. The recovered

    signal is frequency divided by 4 to generate original carrier signal. The recovered carrier signal is given to phase

    splitter section to generate Carrier clock signals R1 (0) and R2 (90).

    (3) ASK Demodulator:-This circuit consists of Diode OA79 and Capacitors C1, C2 and Load resistor R. It works as an envelope

    detector circuit. R & the capacitor C forms a low pass filter meant to reduce the carrier frequency ripple in the

    output. The values of R & C are chosen so as to remove even the modulating signal frequency components. Themagnitude of this dc voltage should vary as the carrier amplitude in the input signal and should be independent

    of the depth of modulation and the modulating signal frequency. C1, C2 can be selected through switch.

    (4) FSK Demodulator:-

    This circuit is based on PLL made of IC 4046. The free running frequency of PLL is set at 320KHz value.Hence when FSK signal having two frequency 320KHz and 640Khz is given to it input, it produced demodulated

    signal locked to 320Khz. Hence output is raw data signal. This signal is then given to squarer circuit.

    (5) Data Squarer circuit:-

    The two data squarer circuits are provided. The circuit of each squarer consists of Comparator. The Raw datasignal available from detector is applied positive terminal of comparator while a variable bias voltage -5 to + 5 V

  • 8/3/2019 32-33-com205-206

    7/49

    (8). Data summer (QPSK MUX) section: -

    This section adds two I and Q decoded outputs and generates NRZ data.

    (9) Power supply section:-

    The regulated power supply is used for different supply voltages.

    Following output D.C. Voltages are required to operate the trainer system.

    +15V, 250mA,

    -15V, 250mA,+ 5V, 250mA

    + 5V, 250mA

    Three terminal regulators are used for different output voltages i.e. IC 7805 for + 5V, IC 7815 for +15V, IC7915 for 15V, 7905 for 5V

    These ICs are supplied different dc input voltages by two Bridge rectifiers consisting of D1-D4 and D5-D8 &two 1000/25 EC and 1000/10 EC. The capacitors at each input & each output are for filtering purpose.

    `

  • 8/3/2019 32-33-com205-206

    8/49

    EXPERIMENT 1

    AMPLITUDE SHIFT KEYING MODULATION/ DEMODULATION

    (A) BLOCK DIAGRAM OF ASK MODULATION/DEMODULATION

    Balanced

    modulator(with Bias) Raw

    ASK Signal Data

    NRZ Variable Recovered

    Digital Data R-C Constant DataGenerator

    RF Carrier

    Generator

    Modulator Demodulator

    (B) Experiment Procedure:-

    (See connection diagram CN1)

    1. Connect circuit as per connection diagram using connectors.

    2. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator (T1).

    Apply any digital word by pushing push switches in data generator section. e.g. 11110000.

    ______ Waveform (T1)

    3. Connect CRO channel-2 at 320 KHz RF carrier and observe RF carrier..

    _____Waveform (T2)

    4. Now Connect CRO Channel 2 at O/P terminal of balanced modulator.Trigger CRO by channel-1. The ASK Modulated wave will be observed. ______Waveform (T3)

    Vary bias pot to set zero level in ASK waveform.

    Diode

    DetectorDGData

    Squarer

    RF

  • 8/3/2019 32-33-com205-206

    9/49

    TEST POINT WAVEFORMS

    T1. NRZ Data at NRZ Terminal of Digital data generator:-

    +5 V

    T2. RF Carrier signal at RF Carrier terminal of RF Oscillator: -

    +5 V

    -5V

    T3. ASK Modulated signal at ASK O/P Terminal of Balance Modulator: -

    T4. RAW ASK DATA signal at output of Diode detector

  • 8/3/2019 32-33-com205-206

    10/49

    EXPERIMENT 2

    FREQUENCY SHIFT KEYING MODULATION/ DEMODULATION

    (A) BLOCK DIAGRAM OF FSK MODULATION/DEMODULATION

    ModulatorBalanced

    Digital Data modulator

    Generator (with Bias)ASK Signal

    NRZ

    FSK Output

    RF Carrier Generator - 320KHZ

    Balanced

    modulator(with Bias)

    ____

    NRZ

    RF Carrier Generator 640KHz

    DG

    RF

    RF

    ADDER

  • 8/3/2019 32-33-com205-206

    11/49

    (B) Experiment Procedure:-

    (See connection diagram CN2)

    1. Connect circuit as per connection diagram using connectors.

    2. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator.

    First apply any digital word by pushing push switches in data generator section. e.g. 11110000.

    ______ Waveform (T1)

    3. Connect CRO channel-2 at 320 KHz RF carrier and observe RF carrier-1

    4. Now Connect CRO Channel 2 at O/P terminal of balanced modulator-1.

    Trigger CRO by channel-1. The ASK Modulated wave -1 will be observed.Vary bias pot to set zero level in ASK waveform.

    ____

    5. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator.

    6. Connect CRO channel-2 at 640 KHz RF carrier and observe RF carrier-2.

    7. Now Connect CRO Channel 2 at O/P terminal of balanced modulator-2.

    Trigger CRO by channel-1. The ASK Modulated wave-2 will be observed.Vary bias pot to set zero level in ASK waveform.

    8. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator.Now Connect CRO Channel 2 at O/P of Adder. Two ASK waveforms will be added and FSK output will be

    observed. ______ Waveform (T2)

    9. Observe the Demodulated Raw NRZ data wave at the FSK demodulator output ._____Waveform (T3)

    7. Vary zero bias pot in squarer section and observe pure NRZ data at the output of Data squarer.

    _______Waveform (T4)

    8. Apply different digital word by pusing push switches in data generator and observe recovered signal.

  • 8/3/2019 32-33-com205-206

    12/49

    TEST POINT WAVEFORMS

    T1. NRZ Signal at NRZ terminal of Digital data generator:-

    4v TTL

    -10V

    10us

    T2. FSK modulated output signal at FSK O/P: -

    +10V

    -10V

    T3 FSK demodulated Raw Data at o/p of Resonant phase shift detector:-

  • 8/3/2019 32-33-com205-206

    13/49

    EXPERIMENT 3

    PHASE SHIFT KEYING MODULATION/ DEMODULATION

    (A) BLOCK DIAGRAM OF PSK MODULATION / DEMODULATION

    (A) PSK MODULATOR

    NRZ

    Balanced Modulator

    Bipolar NRZ PSK Signal

    Digital Data

    Generator

    18 0 Out of PhaseCarrier

    Carrier clock

    RF Carrier

    (B) PSK DEMODULATOR

    PSK Squarer RecoveredSignal RF carrier

    Clock Recovery

    RFCarrier

    PS K

    DG

    RF

    Carrier

    Generator

    PL L F / 2TTL to

    SineConverter

  • 8/3/2019 32-33-com205-206

    14/49

    (B) Experiment Procedure:-

    (See connection diagram CN3)

    1. Connect circuit as per connection diagram using connectors.

    2. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator.

    First apply any digital word by pushing push switches in data generator section. e.g. 11110000.

    ______Waveform (T1)

    3. Connect CRO Channel-2 at RF Carrier socket (in Carrier generator section)

    and observe it. _______Waveform (T2)

    4. Connect CRO Channel 1 at RF Carrier and CRO Channel 2 at 1 signal and

    Observe their 180 out of phase relationship. _______Waveform (T3)

    5. Connect CRO Channel-1 at Bipolar NRZ socket and observe it. _______Waveform (T4)

    6. Now Connect CRO Channel 2 at the PSK output of PSK modulator.

    Connect CRO channel 1 at Bipolar NRZ terminal. Observe PSK output. _______Waveform (T5)

    7. Observe recovered raw data signal at output of PSK demodulator. ______Waveform (T6)

    8. Observe received pure NRZ data at the output data squarer. ______Waveform (T7)

    9. Apply different digital word by pusing push switches in data generator and observe recovered signal.

  • 8/3/2019 32-33-com205-206

    15/49

    TEST POINT WAVEFORMS

    T1. NRZ Signal at NRZ terminal of Digital data generator:-

    4v TTL

    T2. R.F. Carrier signal at RF carrier terminal :-

    +0.6V

    -6V

    T3. 180 out of phase signal 1 in RF carrier generator :-

    +0.6V

    -6V

    T4. Bipolar NRZ data: -

  • 8/3/2019 32-33-com205-206

    16/49

    T5. PSK modulated signal with reference to Bipolar NRZ data: -

    4v TTL

    T6. Raw data recovered signal at o/p of PSK demodulator: -

    T7. Recovered NRZ data RCD at o/p of Squarer Circuit: -

    4v TTL

  • 8/3/2019 32-33-com205-206

    17/49

    EXPERIMENT 4

    (A) BLOCK DIAGRAM OF QPSK MODULATION / DEMODULATION

    (A) QPSK MODULATOR

    NRZ In phase

    Carrier 1

    Sin (wot)Even Bit

    Data I I

    QPSK Signal

    Odd BitCarrier Data Q

    Clock Q

    Quadrature

    0 Carrier Carrier 2

    Cos (wot)

    90 Carrier

    DigitalData

    Generator

    Phase

    Shifter

    Adder

  • 8/3/2019 32-33-com205-206

    18/49

    (B) QPSK DEMODULATOR

    QPSK Squarer-1 Squarer-2

    Signal RecoveredCarrier Quadrature

    CarrierCarrier Recovery In phase

    Carrier

    Sin (wot)

    Received

    QPSK Raw Data-1 Data RCD1

    Bit Sampling

    Clock

    Received

    Data

    ReceivedQPSK Raw Data-2 Data RCD2

    Cos (wot)

    PLL F / 4Phase

    Shift

    Bit Clock

    Recover

    Sampling

    DataSquarer

    Data

    Squarer

  • 8/3/2019 32-33-com205-206

    19/49

    (B) Experiment Procedure:-

    (See connection diagram CN4)

    1. Connect circuit as per connection diagram using connectors.

    2. Connect CRO channel-1 at NRZ DATA terminal of Digital Data generator.

    First apply any digital word by pushing push switches in data generator section. e.g. 11110000.

    ______Waveform (T1)

    3. Connect CRO Channel-1 at I signal and CRO Channel-2 at Q signal and observe thererelationship. Prove that these are even and odd bit data by applying different data by

    push switches. _______Waveform (T2)

    _______Waveform (T3)

    4. Connect CRO Channel-1 at RF Carrier socket (in Carrier generator section)

    and observe it. _______Waveform (T4)

    5. Connect CRO Channel 1 and 2 at 1 and 2 signal respectively (in carrier generator

    section) and Observe their 90 out of phase relationship. _______Waveform (T5)_______Waveform (T6)

    6. Now Connect CRO Channel 2 at the QPSK output of QPSK modulator.

    Connect CRO channel 1 and RF carrier. Observe the relationship of QPSK signal

    with RF carrier signal . _______Waveform (T7a)

    7. Observe QPSK output of respect to In phase (I) signal by triggering channel 1 by I signal.

    _______Waveform (T7b)

    8. Observe recovered raw data RI and RQ at the output of balanced demodulators ___ Waveform (T8a)

    ______ Waveform (T8b)

    9. Observe received pure digital I and Q data at the output of data squarer. ______ Waveform (T9a)

    ______ Waveform (T9b)

    10. Observe recovered bit clock. ______ Waveform (T10)

    11. Finally observe recovered NRZ data at NRZ O/P of data combiner section. _______Waveform (T11)

    12. Apply different digital word by pusing push switches in data generator and observe recovered signal.

  • 8/3/2019 32-33-com205-206

    20/49

    TEST POINT WAVEFORMS

    T1. NRZ Signal at NRZ terminal of Digital data generator:-

    4v TTL

    T2. I Signal of Digital data generator: -

    4v TTL

    T3. Q Signal of Digital data generator: -

    4v TTL

    T4. R.F. Carrier signal at RF carrier terminal: -

    +0.6V

  • 8/3/2019 32-33-com205-206

    21/49

    T5 and T6. 0 In phase signal - 1 and 90 out of phase signal 2 in RF carrier generator :-

    T7a. QPSK modulated signal with reference to Input Digital data :-

    T7b. PSK modulated signal with reference to I signal:-

    1

    2

    I

  • 8/3/2019 32-33-com205-206

    22/49

    T8a and T8b. Raw data recovered signal RI and RQ at o/p of PSK demodulator: -

    T9a and T9b. Received I and Q signals (RCD-I and RCD-Q) at o/p of Squarer Circuit: -

    4v TTL

    4v TTL

    T10. Recovered Bit Clock: -

    12.5us

    I

    Q

  • 8/3/2019 32-33-com205-206

    23/49

    EXPERIMENT 5

    STUDY OF THEORY OF DATA FORMATTING

    The symbols `0 and `1 in digital system can be represented in various formats with different levels andwaveforms. The selection of particular format for communication depends on the system bandwidth, systemss

    ability to pass DC level information, error checking facility, ease of clock regeneration & Synchronization at

    receiver, system complexity and cost etc.

    The most widely used formats of data representation are given below. They are also available on ST2106trainer. Every data format has specific advantages and disadvantages associated with them. We will study one by

    one. See Fig. 1.

    (1) NON RETURN TO ZERO (LEVEL) NRZ (L) :-

    It is the simplest form of data representation. The NRZ (L) waveform simply goes low for one bit time to

    represent a data `0 and high for one bit time to represent a data `1; Thus the signal alternates only when there is

    a data change. See Figure 2.

  • 8/3/2019 32-33-com205-206

    24/49

    CLOCK REGENERATION: -

    Since the level transition takes place at a predetermined moment (e.g. at Rising/Falling edge of the data

    clock), it is possible to extract clock information at the receiver. However the synchronization & clock

    information is sparse & sometimes even lost when a long stream of zero or ones are encountered. The clock

    regeneration is very difficult in such cases. This make the clock regeneration design more complex.

    BANDWIDTH :-

    The maximum rate at which the NRZ (L) waveform can change is half the data clock. This happens when

    the data stream consists of an alternate 0s and 1s. As it is known, it is the maximum signal frequency whichdetermines the bandwidth occur-pied by the NRZ (L) code. As you will study other data formats you will

    appreciate that the NRZ (L) waveform requires comparatively narrow bandwidth.

    DC LEVELS :-

    Another problem with NRZ (L) code is that it contains DC Level & hence cannot be used for

    communication systems which cannot pass DC, e.g. transmission paths involving transformers AC Coupledamplifiers or series capacitors filters etc. This happens particularly in Telephone.

    (2) NON RETURN TO ZERO (MARK) NRZ (M) :-

    The NRZ (M) code is very much similar to the NRZ (L) code. Here if logic 1 is to be transmitted. The new

    level is inverse of the previous level i.e. change in level occurs. If a data `0 is to be transmitted the level

    remains unchanged. Thus in th e case of NRZ (M) waveform the present level is relate d to the previous levels. SeeFig. 3.

    Thus, no longer the absol3ute value of signal is necessary instead it is the change in the level for which welook now.

    Remember, ---------- A change mean a logic `1

    ----------- No change mean a logic `0

  • 8/3/2019 32-33-com205-206

    25/49

    CLOCK RECOVERY: -

    The receiver can extract the timing information from the NRZ (M) waveform unless there are long periods

    of no level changes corresponding to long streams of 0s. Here long stream of 1s are not a problem as in NRZ

    (L) because now it causes a level change continuously and the receiver can easily extract the clock information.

    This is a slight improvement over NRZ (L) waveform.

    BAND WIDTH & DC LEVEL :-

    The NRZ (M) is similar to NRZ (L) waveform in respect of the bandwidth utilized and the passing of DCLevels. A considerable advantage of NRZ (M) is that it is independent of the absolute level of the incoming data.

    The receiver simply has to know the level changes. This is an advantage in phase shift keying as will be

    3discussed later on, where the receiver looks for a change in phase of the incoming signal.

    DECODING :-

    The NRZ (M) can be converted to NRZ (L) code by a Bit Decoder. The bit decoder samples the incomingdata bit, holds it for a moment, takes a new sample and compare the two to see whether the changes has occurred.

    If it has occurred gives it output a logic `1 and if not it gives output a logic `0 This is the required NRZ (L)code.

    (3) RETURN TO ZERO (RZ) FORMAT:

    The RZ code provides a partial solution to overcome the receiver clock regeneration problem with NRZ (L)

    code. It is similar to NRZ (L) code, except that the information is contained in the first half of the bit interval

    while the level during the second half of each period is always 0 volts. The comparision of the two waveformsfor a given data is shown in Fig. 4.

    The change may not be seen much, but it has two main effects as will be discussed in following paragraphs.

  • 8/3/2019 32-33-com205-206

    26/49

    RECEIVER CLOCK: -

    One advantage of RZ signal is that now it has rising and falling transitions for every data `1 sent. This

    leads to a greater no of transitions. These extra transitions tend to make the receiver clock generation circuit

    more simpler than in case of NRZ (L) code. Even if we utilize only the rising edge, RZ will produce two rising

    transitions for two consecutive 1s instead of one as in case of NRZ (L) code.

    BANDWIDTH :-

    The maximum signal frequency of RZ signal occurs when a string of a data `1 is transmitted. It isequivalent to sending two logic levels in each clock period i.e. in most case, the maximum signal frequency is

    same as the data clock rate. This is twice as many changes per second as for the NRZ (L) code. There fore the

    bandwidth required is twice as that required for the NRZ waveforms.

    DC LEVEL :-

    Another problem with RZ is that like NRZ (L) it has DC Component and hence it can not be utilized forsystems / Links. Which cannot pass DC In NRZ (L) decoding the level is read by the receiver halfway through

    each bit interval to let the data settle down after transitions. Otherwise the level may be wrongly read.

    In RZ code, to catch the mid-point of the data the receiver must be clocked at quarter way through the bit

    inter-val. The data is read on the rising edge of the regenerated clock in the receiver.

    In spite of its deficiencies RZ is often used because it is simple to generate and yet produces more

    transitions than NRZ, there by making the receiver clock regeneration some what easier.

  • 8/3/2019 32-33-com205-206

    27/49

    INTRODUCTION TO BIPHASE CODES

    The main disadvantage with all the previous formats has been their inability to provide reliable clock

    synchronization information to the receiver clock. Biphase codes overcome this problem by providing the

    transition in both 0s and ones.

    The two most common biphase codes in practice are Biphase (Manchester) & Biphase (Mark) codes. Also

    these codes are independent of the DC Levels i.e. they have zero d.c. component.

    (5) BIPHASE (MANCHESTER) CODING: -

    The encoding rules for Biphase (Manchester) code are as follows A data `0 is encoded as a low level

    during first half of the bit time and a high level during the second half.

    A data `1 is encoded as a high level during first half of the bit time and a low level during the second

    half.

    Thus string of 1s or 0s as well as any mixture of them will not pass any synchronization problem at

    receiver.

    Fig 6 shows the Biphase (Manchester) waveform for a given data stream.

  • 8/3/2019 32-33-com205-206

    28/49

    DC LEVEL :-

    Since the Biphase (Manchester) code has a high level for half of each data bit time and low level forsecond half irrespective of the data, the effective d.c. level of the Biphase coded waveform is zero. This allows it

    to be used in a.c. coupled communication systems.

    PROBLEM IN DECODING: -

    This form of coding certainly provides plenty of rising edges for clock synchronization but they do not all

    occur at same time e.g. we have a rising transition at the start of code for data `1 where as for data `0 we have

    it at the midway of the data bit time. This causes confusion in the clock regeneration circuit.

    To overcome this, we employ a special Biphase Clock Recovery Circuit which can be synchronized by the

    rising edge occurring at either time.

    Rest of the decoding is same as for the Rz code. Since the valid data is carried for in first half of eachclock period, we ensure that the regenerated receiver clocks rising edge occurs at this time.

    (6) BIPHASE (MARK)

    The Biphase (Mark) is yet another form of Biphase formats. In this coding also, the data is coded as two

    levels in each bit time. Here, the sequence of transmitted levels (low succeeded by high) or (high succeeded by

    low) depends on the order of sequence in previous bit time and the present data. The encoding laws followed by

    this format are

    (A) If a data `0 is to be transmitted, the sequence of the transmitted levels will remain same as for the

    previous bit interval.

    (B) If a data `1 is to be transmitted, the sequence of the transmitted levels will reverse i.e. phasereversal will occur.

    Thus, LOGIC `0 BIT PATTERN STAYS THE SAME

    LOGIC `1 PHASE REVERSAL

    The Fig 7 would make it very clear.

  • 8/3/2019 32-33-com205-206

    29/49

    BIPHASE (MARK) FORMATFigure 7

    BANDWIDTH :-

    The Biphase (Mark) code being very similar to the Biphase (Manchester) coding requires same amount ofbandwidth i.e. double as that of the NRZ (L) Code.

    This is the required bandwidth in worst case when a series of consecutive `1s occur.

    DC LEVEL :-

    Similar, to the Biphase (Manchester) code, this code too is independent of the DC Level. This is so

    because for every bit time the level is high for a half period and low for other half. This feature makes it usefulin applications & systems supporting only the A.C. Coupling.

    RECEIVER CLOCK REGENERATION :-

    This coding provides plenty of rising edges for clock synchronization. But as with Biphase (Manchester)

    these do not all occur at the same time e.g. in one the rising edge may occur at the start of the bit interval whereas it may occur mid way between the bit interval in other.

    Again to over come this problem Biphase Clock Recovery Circuit is used which can be synchronized by

    i i d i i h i h di d li

  • 8/3/2019 32-33-com205-206

    30/49

    INTRODUCTION TO THREE LEVEL CODES

    The three level codes, as the name suggest have three levels. Generally, they are two bipolar voltage & a0 volt. The two important codes in this category are Return to Bias (RB) and alternate Mark Inversion (A M

    I). The Return to Bias coding method provides easy clock synchronization and the Alternate Mark Inversion

    coding is particularly suitable for the AC Coupled communication systems.

    (7) RETURN TO BIAS (R B) :-

    R. B. Code is a three level code. The levels used are a positive voltage level, a negative voltage level andan intermediate (or bias) level (Usually 0 volts). There is no restriction on the value of bias level. It can be

    above or below the logic 0 and 1 voltages, or it can be between them.

    During the first half period of each clock bit, a positive level is transmitted for data `1 and a negative

    level for a data `0. During the second half, the waveform just returns to the bias level.

    Fig 8 shows the coded waveform for the given data.

  • 8/3/2019 32-33-com205-206

    31/49

    DC LEVEL: -

    As it can be seen from the above Figure the waveform at the output is not balanced with respect to the

    means level. The DC Level of the waveform depends on the strings of 1s and 0s. Thus, We cannot use it in an

    a.c. coupled communication link.

    CLOCK RECOVERY :-

    The Most significant advantage of RB coding is that the timing information is very easily obtained. The

    magnitude of the transmitted waveform itself is the original data clock signal. The system is even referred to as`Self Clocking system. The other disadvantage of RB signal is that since the transmitter must generate three

    levels, a more complex transmitter is required.

    DECODING: -

    A simple comparator decodes the RB signal into RZ waveform. The comparator for outputs a logic 1

    (+5V) if the signal is greater than the bias voltage (threshold voltage) applied to the other input and a logic 0(0.V) output if the input voltage is less. The rest of decoding is same as that for the RZ. Code. See Fig. 9.

    The clock can be simply extracted by a circuit that gives a positive output when RB signal is not at 0

    volts (polarity doesnt matter) and provides a zero voltage whenever the RB waveform is at Bias level.

  • 8/3/2019 32-33-com205-206

    32/49

    (8) ALTERNATE MARK INVERSION (AMI) :-

    AMI being a three level code uses three levels namely, a positive voltage level, a negative voltage level

    and a bias level of 0 volts.

    Like RB waveform, the AMI always returns to the bias level during second half of the bit time intervalduring the first half the transmitted level can be a positive level a negative level or a bias level, according to

    following coding rules.

    (A) A data `0 is always represented by the bias level.(B) A data `1 may be represented by either a positive level or negative level, the level being chose

    opposite to what it was used to represent the previous data `1.

    Thus we have alternating positive level and negative level.

    This justifies its name alternate Mark Inversion Mark is a telegraphers word for logic `1.

    The fig 18 shows the AMI waveform for the given data.

    The AMI waveform can be thought of as a gradual development from NRZ (L) to RZ and then finally to

    AMI.

    In NRZ (L) Code the pulse s imply goes to the required level for one bit clo ck. In Rz, the pulse goes to the

    required level for first half and then returns to zero during the second half. In AMI, first logic `1 go to a

    positive voltage level and then the second 1 goes a negative level alternating and so on.

    The development can be seen from the Fig. 10.

  • 8/3/2019 32-33-com205-206

    33/49

    BANDWIDTH REQUIREMENT: -

    Since the maximum transition rate for AMI can only occur during a stream of all `1s, we have maximum

    number of two transitions per data bit time. thus the bandwidth required is twice that required for the NRZ codes

    and equal to the other codes mentioned earlier.

    DC LEVEL :-

    The main advantage of AMI code is that it is independent of DC level. This happens because the `1s are

    represented by alternating positive levels and negative levels with 0 volts for data `0. Thus the average DC

    Level is always zero volts for any combination of `1s & `0s.

    This renders it very useful in a.c. coupled communication systems/link e.g. in telephony PCM This makes

    it very popular for use in PCM telephone systems.

    CLOCK REGENERATION :-

    The disadvantage of AMI is that there are no transitions if a long string of 0s is transmitted. Thus thereceiver may slip out of synchronization in such cases. Since AMI is a three-bit code, the transmitter is more

    complex.

    An advantage associated with AMI is that if due to noise the voltage level of `1s is reduced/enhanced so

    much that it acquires the polarity of the previous bit, the receiver will take it as a violation of coding rule andmay ask the transmitter to send the string again. Thus the transmission reliability can be increased.

  • 8/3/2019 32-33-com205-206

    34/49

    TEST POINT WAVEFORMS

    1. Carrier Clock Signal CK (1.28 MHz): -

    4V TTL

    0.78 us

    2. Bit Clock Signal BK (80 KHz): -

    4V TTL

    12.5us

    3. Word clock WK (10KHz): -

    4V TTL

    100 us

    H = 20 us

    V = 2 V

    Trig = CRO-1

    H = 0.2 usV = 2 V

    Trig = CRO-1

    H = 5 us

    V = 2 V

    Trig = CRO-1

  • 8/3/2019 32-33-com205-206

    35/49

    1

    EXP-1 ASK MODULATION/DEMODULATION

  • 8/3/2019 32-33-com205-206

    36/49

    2

    EXP-2FSK MODULATION/DEMODULATION

  • 8/3/2019 32-33-com205-206

    37/49

    3

    EXP-3 PSK MODULATION/DEMODULATION

  • 8/3/2019 32-33-com205-206

    38/49

    4

    EXP-4 QPSK MODULATION/DEMODULATION

  • 8/3/2019 32-33-com205-206

    39/49

    5

    EXP-5 (a) LINE CODING/DECODING (NRZ-L)

  • 8/3/2019 32-33-com205-206

    40/49

    6

    EXP-5 (b) R-Z CODING/DECODING

  • 8/3/2019 32-33-com205-206

    41/49

    7

    EXP-5 (c) Bipolar R-Z CODING/DECODING

    (i) Bipolar RZ to RZ (ii) RZ to NRZ

  • 8/3/2019 32-33-com205-206

    42/49

    8

    EXP-5 (d) Bipolar NRZ

  • 8/3/2019 32-33-com205-206

    43/49

    9

    EXP-5 (e) RB CODING/DECODING

    (i) RB to RZ (ii) RZ to NRZ

  • 8/3/2019 32-33-com205-206

    44/49

    10

    EXP-5 (f) AMI CODING/DECODING

    (i) AMI to RZ (ii) RZ to NRZ

  • 8/3/2019 32-33-com205-206

    45/49

    11

    EXP-5 (g) TERNARY CODING/DECODING

    (i) Ternary to RZ (ii) RZ to Ternary

  • 8/3/2019 32-33-com205-206

    46/49

    12

    EXP-5 (h) NRZ (M) CODING/DECODING

  • 8/3/2019 32-33-com205-206

    47/49

    13

    EXP-5 (i) BIPHASE MARK CODING/DECODING

  • 8/3/2019 32-33-com205-206

    48/49

    14

    EXP-5 (j) BIPHASE SPACE RECOVERY

  • 8/3/2019 32-33-com205-206

    49/49

    15

    EXP-5 (k) NRZ (S)