Lab Manual EC0323 Communication Lab-II Lab
Lab Manual EC0323 Communication Lab-II Lab
Lab Manual EC0323 Communication Lab-II Lab
LABORATORY MANUAL
SEMESTER V
DEAPRTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
SRM UNIVERISTY
(Under SECTION 3 of the UGC Act, 1956)
EC0323
Communication Lab II
Laboratory Manual
Course Team
Mr.K.Kalimuthu
Mrs.P.Malarvezhi
Mrs.G.Kalaimagal
Mr.A.Sriram
Mrs.T.Theresal
Mrs.Sabitha Gaubi
Mrs.BKolangiammal
Mrs.S.Muthukumaran
Mrs.P.Ponammal
June 2014
Revision: 4
S.R.M University
Faculty of Engineering and Technology
Department of Electronics and Communication Engineering
Sub Code : EC0323
Sub Title : Communication lab II
Pre_requisite
Co_requisite
Semester
:V
Course Time : JulDec 2011
: Nil
: EC0307 Digital Communication
Program Outcome
b. Graduate will demonstrate the ability to identify, formulate and solve engineering
problem
Experiment 7: To identify the various encoding schemes for a given data stream
c. Graduate will demonstrate the ability to design and conduct experiments, analyze
and interpret data
Experiment 2 : To analyze a PCM system and interpret
waveforms for a sampling frequency of 4KHz.
Experiment 3 : To analyze a DPCM system and interpret the modulated and demodulated
waveforms for a sampling frequency of 8KHz.
Experiment 4 : To analyze a Delta modulation system and interpret
demodulated waveforms.
f. Graduate will demonstrate the skills to use modern engineering tools, softwares
and equipment to analyze problems
Experiment 8: To simulate Binary Amplitude shift keying technique using MATLAB software
Experiment 9: To simulate Binary Frequency shift keying technique using MATLAB software
Experiment 10: To simulate Binary Phase shift keying technique using MATLAB software
Experiment 11: To simulate Quadrature Phase shift keying technique using MATLAB software
Experiment 11: To simulate Differential Phase shift keying technique using MATLAB software
Semester
:V
Course Time : Jul- Dec 2011
Pre Requisite
Course Requisite : EC0307 Digital Communication
Program Outcome
Experiment Details
Objective
1
MATLAB software.
S.R.M University
Faculty of Engineering and Technology
Department of Electronics and Communication Engineering
Sub Code : EC0323
Sub Title : Communication Lab II
Semester
:V
Course Time : JulDec 2011
Pre Requisite
:
Course Requisite : EC0307 Digital Communication
EXPERIMENTS DETAILS
S.No.
Experiments Detail
Equipments Required
Specifications
VCO: IC XR2206
Comparator:LM565
version7.2
version7.2
10
version7.2
11
version7.2
12
version7.2
students late more than 15 minutes more than once) will receive 10 point
reductions in their grades for each occurrence following the first.
6. Final grade in this course will be based on laboratory assignments. All labs have
an equal weight in the final grade. Grading will be based on pre-lab work,
laboratory reports, post-lab and in-lab performance (i.e., completing lab, answering
laboratory related questions, etc.,).The Staff Incharge will ask pertinent questions
to individual members of a team at random. Labs will be graded as per the
following grading policy:
Pre-Lab Work
10.00%
In-Lab Performance
20.00%
Post Lab Work
10.00%
7. Reports Due Dates: Reports are due one week after completion of the
corresponding lab. A late lab report will have 10% of the points deducted for being
one day late. If a report is 2 days late, a grade of 0 will be assigned.
8. Systems of Tests: Regular laboratory class work over the full semester will
carry a weightage of 75%. The remaining 25% weightage will be given by
conducting an end semester practical examination for every individual student
Register No.
Day / Session
Venue
Title of Experiment
Date of Conduction
Date of Submission
Particulars
Pre-lab
Max.
Marks
10
Lab Performance
20
Post-lab
10
Lab Report
10
Total
50
Marks
Obtained
REPORT VERIFICATION
Date
Staff Name
Signature
CONTENTS
Exp 1: Time division multiplexing
10
1.1 Objective
1.2 Hardware required
1.3 Introduction
1.4 Block diagram
1.5 Pre lab
1.6 Test procedure
1.7 Model graph
1.8 Observation
1.9 Lab result
1.10 Post lab
2.1 Objective
2.2 Hardware required
2.3 Introduction
2.3.1 PCM Modulator
2.3.2. PCM demodulator
2.4 Block diagram
2.5 Pre lab
2.6 Test procedure
2.6.1.PCM operation(DC Input)
2.6.2.PCM operation(AC Input)
2.7 Model graph
2.8 Observation
2.9 Lab result
2.10 Post lab
3.1 Objective
3.2 Hardware required
3.3 Introduction
3.3.1 DPCM Modulator
3.3.2.DPCM demodulator
3.4 Block diagram
3.5 Pre lab
3.6 Test procedure
3.7 Model graph
3.8 Observation
3.9 Lab result
15
19
4.1 Objective
4.2 Hardware required
4.3 Introduction
4.4 Block diagram
4.5 Pre lab
4.6 Test procedure
4.7 Model graph
4.8 Observation
4.9 Lab result
4.10 Post lab
23
6.1 Objective
6.2 Hardware required
6.3 Introduction
6.3.1. PSK Modulator
6.3.2. PSK demodulator
6.4 Circuit diagram
6.5 Pre lab
6.6 Test procedure
6.6.1 Modulation
6.6.2 Demodulation
6.7 Model graph
6.8 observation
6.9 Lab result
6.10 Post lab
29
32
35
12.4 Theory
12.5 Algorithm
12.6 Test Procedure
12.7 Lab result
12.8 Post lab
Appendix
1. TIME-DIVISION MULTIPLEX1NG
1.1.OBJECTIVE
To demonstrate Time Division Multiplexing and demultiplexing process using Pulse
amplitude modulation signals.
1.2. HARDWARE REQUIRED
1. TDM Trainer KitST2102
2. CRO
3. Patch Chords
4. Probes
1.3. INTRODUCTION
An important feature of pulse-amplitude modulation is a conservation of time. That is, for
a given message signal, transmission of the associated PAM wave engages the
communication channel for only a fraction of the sampling interval on a periodic basis.
Hence, some of the time interval between adjacent pulses of the PAM wave is cleared for
use by the other independent message signals on a time-shared basis. By so doing, we
obtain a time-division multiplex system (TDM), which enables the joint utilization of a
common channel by a plurality of independent message signals without mutual
interference.
Each input message signal is first restricted in bandwidth by a low-pass pre-alias filter to
remove the frequencies that are nonessential to an adequate signal representation. The
pre-alias filter outputs are then applied to a commutator, which is usually implemented
using electronic switching circuitry. The function of the commutator is two-fold: (1) to
take a narrow sample of each of the N input messages at a rate fs that is slightly higher
than 2W, where W is the cutoff frequency of the pre-alias filter, and (2) to sequentially
interleave these N samples inside a sampling interval Ts 1/fs. Indeed, this latter function
is the essence of the time-division multiplexing operation. Following the commutation
process, the multiplexed signal is applied to a pulse-amplitude modulator, the purpose of
which is to transform the multiplexed signal into a form suitable for transmission over the
communication channel.
At the receiving end of the system, the received signal is applied to a pulse- amplitude
demodulator, which performs the reverse operation of the pulse amplitude modulator. The
short pulses produced at the pulse demodulator output are distributed to the appropriate
low-pass reconstruction filters by means of a decommutator, which operates in
5. See the output before the filter and after the filter for all the channels connected.
1.7. MODEL GRAPH:
TRANSMITTER SECTION
MODEL GRAPH:
RECEIVER SECTION
Receiver Section
Demultiplexed Signal 1
Amplitude
Time Period
Signal 2
Time Period
Demultiplexed Signal 2
Amplitude
Time Period
Transmitter Output
Amplitude
Time Period
Amplitude
5. Timing circuit
6. Passive low pass filter
7. Audio amplifiers
2.4 BLOCK DIAGRAM
Logic inputs on the LF198 are fully differential with low current, allowing direct
connection to TTL, PMOS, and CMOS. Differential threshold is 1.4V. The LF198 will
operate from +5V to +18V supplies.
8 Bit A/D Converter (AET-68M):
This has been constructed with a popular 8 bit successive approximation A/D
Converter IC ADC0808. The ADC0808, data acquisition component is a monolithic
CMOS device with an 8-bit analog-to-digital converter, 8-channel multiplexer and
microprocessor compatible control logic. The 8-bit A/D converter uses successive
approximation as the conversion technique. The converter features a high impedance
chopper stabilized comparator, a 256R voltage divider with analog switch tree and a
successive approximation register. The 8-channel multiplexer can directly access any of
8-single-ended analog signals. A dedicated 1MHz clock generator is provided in side this
block. For complete specifications and operating conditions please refer the data sheet of
ADC0808.
8 Bit Parallel-Serial Shift register (AET-68M):
A dedicated parallel in serial out shift register integrated circuit is used followed
by a latch The SN74LS166 is an 8-Bit Shift Register. Designed with all inputs buffered,
the drive requirements are lowered to one 74LS standard load. By utilizing input
clamping diodes, switching transients are minimized and system design simplified.
The LS166 is a parallel-in or serial-in, serial-out shift register and has a
complexity of 77 equivalent gates with gated clock inputs and an overriding clear input.
The shift/load input establishes the parallel-in or serial-in mode. When high, this input
enables the serial data input and couples the eight flip-flops for serial shifting with each
clock pulse. Synchronous loading occurs on the next clock pulse when this is low and the
parallel data inputs are enabled. Serial data flow is inhibited during parallel loading.
Clocking is done on the low-to-high level edge of the clock pulse via a two input positive
NOR gate, which permits one input to be used as a clock enable or clock inhibit function.
Clocking is inhibited when either of the clock inputs are held high, holding either input
low enables the other clock input. This will allow the system clock to be free running and
the register stopped on command with the other clock input. A change from low-to-high
on the clock inhibit input should only be done when the clock input is high. A buffered
direct clear input overrides all other inputs, including the clock, and sets all flip-flops to
zero. For complete specifications and operating conditions please refer the data sheet of
SN74LS166.
frequency is 4KHz, so to shift 8 bits from parallel to serial we need 64KHz). This output
(PCM) is transmitted through a co-axial cable which represents a communication channel.
PCM signal from modulator (encoder) is applied to serial to parallel register. This shift
register is also operating at 64KHz clock at which parallel to serial shift register is
operating at PCM modulator (these both the clock signals should be in synchronized with
each other in order to get proper decoded output). So the output of the serial to parallel
register is a 8 bit code. This 8 bit code is applied to 8 bit D/A converter. Output of the
D/A converter will be a staircase signaling between 0 and +5V. This stair case signal is
applied a low pass filter. This low pass will smoothen the staircase signal so that we will
get a recovered AF signal. We can use a voltage amplifier at the output of the low pass
filter to amplify the recovered AF signal to desired voltage level.
2.5 PRE LAB QUESTIONS
1. State sampling theorem.
2. What is aliasing?
3. Give the expression for aliasing error and the bound for aliasing error.
4. What is quantization?
5. What are the various steps involved in A/D conversion.
6. Define step size.
7. What is the importance of regenerative repeater?
8. List out the three basic functions of regenerative repeater.
9. What is companding?
10. Write the mean square quantization error if the step size is S.
11. What is a mid tread quantizer?
12. What is a mid rise quantizer?
2.6 TEST PROCEDURE
1. Connect the modulator trainer to the mains and switch on the power supply.
2. Observe the output of the AF generator using CRO, it should be a sine wave of 200Hz
frequency with 3Vpp amplitude.
3. Verify the output of the DC source with multimeter/scope, output should vary from 0
to +5V.
4. Observe the output of the clock generator using CRO, they should be 64KHz and
4KHz frequency of square wave with 5Vpp amplitude.
5. The clock signals are internally connected the circuit so no external connections are
required.
6. Connect the demodulator trainer to the mains and switch on the power supply.
7. Observe the output of the clock generator using CRO, it should be 64KHz square
wave with 5Vpp amplitude.
2.6.1 PCM Operation (with DC input):
Modulation:
8. Set DC source to some value say 4.4V with the help of multimeter and connect it to
the A/D converter input and observe the output LEDs
9. Note down the digital code i.e. output of the A/D converter and compare with the
theoretical value.
Theoretical value can be obtained by:
A / D Input voltage
= X (10 ) = Y( 2 )
1 LSB Value
Where
1 LSB Value
Vref/2n
Since Vref
5 V and n=8
1 LSB Value
0.01953
4.4 V
225.28(10)1
1110 0001(2)
Example:
A/D Input voltage
12. Connect PCM signal to the demodulators(S-P shift register) from the PCM modulator
(AET-68M) with the help of coaxial cable.
13. Connect clock signal (64KHz) from the transmitter (AET-68M) to the receiver (AET68D) using co axial cable.
14. Connect transmitter clock to the timing circuit.
15. Observe and note down the S-P shift register output data and compare it with
transmitted data(i.e. output A/D converter at transmitter).You will notice that the
output of the S-P shift register is following the A/D converter output in the modulator.
16. Observe D/A converter output (Demodulated output) using multimeter /scope and
compare it with the original signal and you can observe that there is no loss in
information in process of conversion and transmission.
Sample work sheet:
1.
2.
3.
4.
5.
Modulating signal
A/D Output (theoretical)
A/D Output (practical)
S-P Output
D/A Converter output
(Demodulated output)
:
:
:
:
:
4.4 V
1110 0001(2)
1110 0001(2)
1110 0001(2)
4.4 V
17.
18.
19.
20.
Demodulation:
21.
22.
23.
24.
25.
26.
27.
28.
29.
Connect PCM signal to the demodulator input (AET-68D) (S-P shift register)
from the PCM modulator (AET- 68M) with the help of coaxial cable (supplied
with the trainer).
Connect clock signal (64 KHz) from the transmitter (AET-68M) to the receiver
(AET-68D) using coaxial cable.
Connect transmitter clock to the timing circuit.
Keep CRO in dual mode. Connect CH1 input to the sample and hold output
(AET-68M) and CH2 input to the D/A converter output (AET-68D)
Observe and sketch the D/A output.
Connect D/A output to the LPF input.
Observe the output of the LPF/Amplifier and compare it with the original
modulating signal (AET-68M).
From above observation you can verify that there is no loss in information
(modulating signal) in conversion and transmission process.
Disconnect clock from transmitter (AET-68M) and connect to local oscillator (i.e.,
Clock generator output from AET-68D) with remaining setup as it is.
30.
Observe D/A output and compare it with the previous result. This signal is little
bit distorted in shape. This is because lack of synchronization between clock at
transmitter and clock at receiver.
Note: You can take modulating signals from external sources. Maximum amplitude
should not exceed 4V incase of DC and 3 Vpp incase AC (AF) signals.
A
M
P
L
I
T
U
D
E
I
N
V
O
L
T
S
ii)With DC Input
2.8 OBSERVATION
PCM Modulation (With AC input)
Amplitude
AC input
Sample and hold signal
Clock signal(4 KHz)
Clock signal(64 KHz)
PCM Output
PCM Demodulation (with AC input)
Time Period
Amplitude
Time Period
Amplitude
Time Period
DC input
Clock signal(4 KHz)
Clock signal(64 KHz)
PCM Output
PCM Demodulation (With DC input)
Amplitude
Time Period
Thus the Pulse Code modulation and demodulation were performed and graphs were
plotted.
2.10 POST LAB QUESTIONS
6. In digital telephony,
1. ADCL-07 Kit
2. 20MHz Dual Trace Oscilloscope
3. Connecting chords
4. Power supply
NOTE: KEEP THE SWITCH FAULTS IN OFF POSITION
3.3 INTRODUCTION
Pulse Code Modulation (PCM) is different from Amplitude Modulation (AM) and
Frequency Modulation (FM) because, those tow are continuous forms of modulation.
PCM is used to convert analog signals into binary form. In absence of noise and distortion
it is possible to completely recover a continuous analog modulated signals. But in real
time they suffer from transmission distortion and noise to an appreciable extent. In the
PCM systems, groups of pulses or codes are transmitted which represent binary numbers
corresponding to modulating signal voltage levels. Recovery of transmitter information
does not depend on the height, width or energy content of the individual pulses, but only
in their presence or absence. Regeneration of the pulse is easy, resulting in the system
that produces excellent result for long distance communication.
Differential PCM is quite similar to ordinary PCM. Each word in this system
indicates the difference in amplitude, positive or negative, between this sample and the
previous sample. Thus the relative value of each sample is indicated rather than, the
absolute value in normal PCM.
This unique system consists of :
3.3.1. DPCM Modulator
This consists of a bridge rectifier followed by capacitor filters and three terminal
regulators 7805 and 7905 to provide regulated DC voltages of + 5V and +12V @ 300mA.
Each on the on-board circuits. These supplies have been internally connected to the
circuits, so no external connections are required for operation.
Audio Frequency Signal Generator :
A TTL compatible clock signal of 64KHz and 8KHz frequencies are provided onboard to use as a clock to the various circuits in the system. This circuit is Astable
multivibrator using 555 timer followed by a buffer and frequency divider
DC Source :
This block is a combination of buffer, level shifting network and sample & hold
network. Op-amp is connected as buffer followed by non-inverting summer circuit. One
of the inputs of summer is connected a voltage divider network and other being drawn as
input.
component followed by a buffer. LF398 is a monolithic sample and hold circuits, which
utilize BI FET technology to obtain ultra-high dc accuracy with fast acquisition of
signal and low droop rate. Operating as a unity gain follower, dc gain accuracy is 0.002%
typical and acquisition time is as low as 6s to 0.01%. A bipolar input stage is used to
achieve low offset voltage and wide bandwidth. Input offset adjust is accomplished with
a single pin and does not degrade input offset drift. The wide bandwidth allows the
LF398to be included inside the feedback loop of 1MHz op-amps without having stability
problems. Input impedance of 1010 ohm. Allows high source impedances to be used
without degrading accuracy. P-channel junction FETs are combined with bipolar devices
in the output amplifier to give a droop rates as low as
capacitor. The JFETS have much lower noise than MOS devices used in previous design
and do not exhibit high temperature instabilities. The overall design guarantees no feed
through from input to output in the hold mode, even for input signals equal to the supply
voltages.
Logic inputs on the LF198 are fully differential with low input current,
allowing direct connections to TTL, PMOS and CMOS. Differential threshold is 1.4V.
The LF 198 will operate from +5V to +18V supplies.
A/D Converter :
This has been constructed with a popular 8-bit successive approximations A/D
converter IC ADC0808, data acquisition component is a monolithic CMOS device with
an 8-bit A-D Converter, 8 channel multiplexer and microprocessor compatible control
logic. The 8-bit ADC uses successive approximation as the conversion technique. The
converter features a high impedance chopper stabilized comparator., 256R voltage divider
with analog switch tree and a successive approximation register.
multiplexer can directly access any 8-single-ended analog signals.
The 8-channel
A dedicated parallel in serial out shift register integrated circuit is used followed
by a latch. The SN74LS166 is an 8-bit Shift register. Designed with all inputs buffers, the
drive requirements are lowered to one 74LS standard load. By utilizing input clamping
diodes, switching transients are minimized and system design simplified. The LS166 is a
parallel in or serial out shift register, serial-out shift register and has a complexity of 77
equivalent gates with gated clock inputs and an overriding cleat input. The shift / load
input establishes the parallel in or serial-in mode. When high, this input enables the
serial data input and couples the eight flip flops for serial shifting with each clock pulse.
Synchronous loading occurs on the next clock pulse when this is low and the parallel data
inputs are enabled. Serial data flow is inhibited during parallel loading. Clocking is done
on the low-to-high level edge of the clock pulse via a two input positive NOR gate, which
permits one input to be used as a clock enable or clock inhibit funation. Clocking is
inhibited when either of the clock inputs is held high; holding either input low enables the
other clock input. This will allow the system clock to be free running and the register
stopped on command with the other clock input. A Change from low- to high on the
clock inhibit input should only be done when the clock input is high. A buffered direct
clear input overrides all other inputs. Including the clock, and sets all flip-flops to zero.
For complete specifications and operating conditions please refer the data sheet of
SN74LS166
Serial-Parallel Shift Register :
A dedicate serial in parallel out shift register integrated circuit is used followed by
a latch. The SN74LS164 is a high speed 8 Bit Serial-In Parallel-Out Shift Register. Serial
data is entered through a 2-Input AND gate synchronous with the LOW to HIGH
transition of the clock. The device features an asynchronous Master Reset, which clears
the register setting all outputs LOW independent of the clock. It utilizes the Schottky
diode clamped process to achieve high speeds and is fully compatible with all TTL
products. For complete specifications and operating conditions please refer the data sheet
of SN74LS164.
D/A converter :
This has been constructed with a popular 8 bit D/A Converter IC DAC 0808. The
DAC0808 is an 8-bit monolithic digital-to-analog converter (DAC) featuring a full scale
output current settling time of 150 ns while dissipating only 33m W with 5V supplies.
BLOCK DIAGRAM
Reference current (IREF) trimming is required for most applications since the full scale
output current is typically 1 LSB of 255 IREF/ 256. Relative level output current of less
than 4A provides 8-bit zero accuracy for IREF >=2mA. The power supply current of the
DAC0808 is independent of bit codes and exhibits essentially constant device
characteristics over the entire supply voltage range. For complete specifications and
operating conditions please refer the data sheet of DAC0808.
DPCM Operation:
The modulating signal is applied to positive terminal of the summer circuit and
the output pf the prediction filter is connected to negative terminal of the summer circuit.
The output of the summer circuit is connected to the sample & hold circuit. Sample &
hold circuit will sample the input signal during ON period of the clock signal and will
hold the sampled output till next pulse comes. Sampling rate is 8KHz in this system.
So input of the A/D converter is stable voltage of certain level in between 0 and +
280mV. A/D converter will give a predetermined 4-bit code for the sampled input. This
entire conversion process will be made at a fast rate as ADC 0808 is operating at high
frequency clock.
Coded output of the ADC is applied to input of the parallel in serial out register
through a latch (74LS373). This shift register is operating at 64KHZ. This output is
transmitted through a coaxial cable, which represent a communication channel.
DPCM signal from modulator is applied to serial to parallel register. This shift
register is also operating at 64KHz clock to which parallel to serial shift register is
operating at DPCM modulator. So the output of the serial to parallel register is a 4-bit
code.
This 4-bit code is applied to D/A converter. Output of the DAC will be a staircase
signal lying between 0 and +280mV. This stair case signal is applied a low pass filter.
This low pass will smoothen the stair case signal so that we will get a recovered AF
signal.
3.5. PRELAB QUESTIONS:
settings.
2. Connect power supply in proper polarity to the kit ADCL-07 and switch it ON.
3. Keep the clock frequency at 512 KHz by changing the jumper position of JP1
in the clock generator section
4. Keep the amplitude of the onboard sine wave, of frequency 500Hz to 1Vpp DPCM
modulation.
5. Connect the 500Hz sine wave to the lN post of Analog Buffer.
6. Connect OUT post of Analog Buffert o lN post of DPCM modulator section.
7. Observe the sample output at the given test point the input signal is sampled at the
clock frequency of 16KHz.
8. Observe the linear predictor output at the PREDICTED OUT post of the Linear
predictor in the DPCM modulator section.
9. Observe the differential pulse code modulate data( DPCM) at the DPCM OUT post of
the DPCM modulator section.
10. Observe the DPCM data at DPCM OUT post by varying input signal from to 2V.
DPCM demodulation:
1. Connect the DPCM modulated data from the DPCM OUT post of the DPCM
3.8. Observation:
ON KIT ADCL-07
Observe the following waveforms on the oscilloscope and plot on the paper.
1. 500Hz ,lV pp input sine wave.
2. Sampled out at the provided test point SAMPLER OUT
3. Linear predictor out at PREDICTED OUT post.
4. DPCM data at DPCM OUT post
5. Line interface out at the given output test point of line interface block in
DPCM Demodulator
6. Demodulated DPCM data at the output test point of summation block in
DPCM demodulator.
7. Integrated demodulated data at the DEMOD OUT post of the DPCM
demodulator
8. Reconstructed sine wave at the OUT post of the filter
9. Observe the data at different clock rates.
DPCM Operation - with AC input
Modulation
Amplitude
Time Period
AC Input
Prediction Filter Output
Sample and Hold Output
Clock 1 Output
DPCM Output
Demodulation
Amplitude
DPCM Input
D/A Converter Output
LPF Output
Demodulated output
Prediction Filter Output
Time Period
Thus the Differential Pulse code modulation and demodulation were performed.
3.10 POST LAB QUESTIONS:
To analyze a Delta modulation system. and interpret the modulated and demodulated
waveforms
4.2. HARDWARE REQUIRED
1.
2.
3.
Storage Oscilloscope
4.
Digital Multimeter
5.
4.3. INTRODUCTION
6. Audio amplifier
Regulated power supply (73M & 73D):
This consists of a bridge rectifier followed by Capacitor filters and three terminal
regulators 7805 and 7905 to provide regulated DC voltages of +-5V and +12V@ 300mA
each to the on board circuits. These supplies have been internally connected to the
circuits. so no external connections are required for operation.
Audio Frequency (AF) S signal generator (73M):
4.4.BLOCK DIAGRAM
Fig.4.1. DM Modulator
Fig.4.2. DM Demodulator
Voltage comparator (73D):
This circuit is build with IC LM339 The LM339 series consists of four
independent precision voltage comparators with an offset voltage specification as low as
2mV for all four comparators. These were designed specifically to operate from a single
power supply over a wide range of voltages .Operation from split power supplies is also
possible and the low power supply current drain is independent of the magnitude of the
power supply voltage. These comparators also have a unique characteristic in that the
common mode voltage range includes ground, even though operated from a single power
supply voltage. Application areas include limit comparators simple analog to digital
converters: pulse, square and time delay generators. wide range VCO; MOS clock timers;
multivibrators and high voltage digital logic gates .The LM139 series was designed to
directly interface with TTL and CMOS. When operated from both plus and minus power
supplies, they will directly interface with MOS logic where the low power drain of the
LM339 is a distinct advantage over standard comparators .For circuit connections and
other operating conditions.
Low pass filters (73D):
This circuit is made using Synchronous 4-Bit Up/Down Counter with Mode
Control IC 74LS191 .The DM 74LS191 circuit is a synchronous, reversible, counter.
Synchronous operation is provided by having all flip-flops clocked simultaneously. so
that the outputs change simultaneously when so instructed by the steering logic. This
mode of operation eliminates the output counting spikes normally associated with the
asynchronous counters. The outputs of the four master slave flip flops are triggered on a
LOW to HIGH level transition of the clock input. if the enable input is LOW a HIGH at
the enable input inhibits counting .Level changes at either the enable input or the down/up
input should be made only when the clock input is HIGH. The direction of the count is
determined by the level of the down/up input. When LOW the counter counts up and
when HIGH it counts down. The counter is fully programmable that is the outputs may be
preset to either level by placing a LOW on the load input and entering the desired data at
the data inputs. The output will change independent of the level of the clock input. This
feature allows the counters to be used as modulo-N dividers by simply modifying the
count length with the preset inputs. The clock, down/up and load inputs are buffered to
lower the drive requirement which significantly reduces the number of clock drivers
required for parallel words. The ripple clock input produces a low level output pulse
equal in width to the low level portion of the clock input when an overflow or underflow
condition exists. The counters can be easily cascaded by feeding the ripple clock output to
the enable input of the succeeding counter if parallel clocking is used, or to the clock
input if parallel enabling is used. The maximum/minimum count output can be used to
accomplish look-ahead for high speed operation.
4 Bit D/A converter (AET-73M & 73D):
This has been constructed with a popular 8 bit D/A Converter IC DAC 0808.The
DAC0808 is an 8-bit monolithic DAC featuring a full scale output current settling time of
150 Ns while dissipating only 33 maw with +-5V supplies. No reference current (I
REF)
trimming is required for most applications since the full scale output current is typically
+- 1 LSB of 255 I
REF/256
monotonic and linearity while zero level output current of less than 4 A provides 8-bit
zero accuracy for I
REF
Figure 4.1 shows the basic block diagram of the PCM system. The modulating
signal is applied to buffer /signal shaping network. This applied signal will be
superimposed by +1.5V DC so that the negative portion the modulating signal will
clamped to positive ,this process is needed ,because input of the comparator should be
between 0 and +3V.
After level shifting is done the signal will be passed to inverting input of the
comparator. on inverting input of the comparator is connected to output of the 4 Bit D/A
converter. Comparator is operating at +5V single supply .So output of the comparator will
be high (i.e. +vet Vast) when modulating signal is less than the reference signal i.e. D/A
output, otherwise it will be 0V. And this signal is transmitted as DM signal .same signal
is also connected as UP/DOWN control to the UP/DOWN counter (74LS 191).
UP/DOWN counter is programmed for 0000 starting count. So initially output of
the counter is at 0000 and the D/A converter will be at 0V .Comparator compares the
modulating signal is greater than the reference signal. For next clock pulse depending on
the UP/DOWN input counter will count up or down. If the UP/DOWN input is low
(nothing but comparator output).
Counter will make up and output will be 0001. So the D/A converter will convert
this 0001 digital input to equivalent analog signal(i.e. 0.3V 1 LSB Value).Now the
reference signal is 0.3V.If still modulating signal is greater than the D/A output again
comparator output(DM) will be low and UP count will occur. If not DOWN Count will
take place. This process will continue till the reference signal and modulating signal
voltages are equal. So DM signal is a series of 1 and 0.
DM signal is applied to a UP/DOWN input of the UP/DOWN counter at the
receiver. This UP/DOWN counter is programmed for 1001 initial value (i.e. power on
reset) and mode control is activated. So depend on the UP/DOWN input for the next
clock pulse counter will count UP or DOWN. This output is applied to 4 Bit D/A
converter. A logic circuit is added to the counter which keeps the output of the counter in
between 0000 to 1111 always. Output of the D/A converter will be a staircase signal lies
between 0 and +4.7V.This staircase signal is applied a low pass filter .This low pass will
smoothen the staircase signal so that original AF signal will be recovered.
We can use a voltage amplifier at the output of the low pass filter to amplify the
recovered AF signal to desired voltage level.
4.5. PRELAB QUESTIONS
6. Connect DC signal from the DC source to the inverting input of the comparator and
set some voltage says 3V.
7. Observe and plot the signals at D/A converter output (i.e. non-inverting input of the
comparator), DM signal using CRO and compare them with the waveforms given in
figure.
8. Connect DM signal (from 73M) to the DM input of the demodulator.
9. Connect clock (4KHz) from modulator (73M) to the clock input of the demodulator
(73D). Connect clock input of UP/DOWN counter (in 73D) to the clock from
transmitter with the help of springs provided.
10. Observe digital output (LED indication) of the UP/DOWN counter (in 73 D) and
compare it with the output of the UP/DOWN (in 73M) .By this you can notice that the
both the outputs are same.
11. Observe and plot the output of the D/A converter and compare it with the waveforms
given in figure.
12. Measure the demodulated signal (i.e. output of the D/A converter 73D with the help
of multimeter and compare it with the original signal 73 M. From the above
observation you can notice that both the voltages are equal and there is no loss in
process of modulation, transmission and demodulation.
13. Similarly you can verify the DM operation for different values of modulating signal.
DM With AF Voltage as modulating signal:
14. Connect AF signal from the AF source to the inverting input of the comparator and
set ome voltage says 3V.
15. Observe and plot the signals at D/A converter output (i.e. non-inverting input of the
comparator), DM signal using CRO and compare them with the waveforms given in
figure.
16. Connect DM signal (from 73M) to the DM input of the demodulator.
17. Connect clock (4KHz) from modulator (73M) to the clock input of the demodulator
(73D).
18. Connect clock input of UP/DOWN counter (in 73D) to the clock from transmitter
with the help of springs provided.
19. Observe and plot the output of the D/A converter and compare it with the waveforms
given in figure.
4.8.OBSERVATION
DM Modulation (With AC input)
Amplitude
AC input
D/A Converter Output
Clock signal(4 KHz)
DM Output
Time Period
Time Period
DM input
D/A Converter output Signal
Demodulated Output
Clock signal(4 KHz)
Time Period
DC input
D/A Converter Output
Clock signal(4 KHz)
DM Output
DM Demodulation (With DC input)
Amplitude
Time Period
DM input
D/A Converter output Signal
Demodulated Output
Clock signal(4 KHz)
4.9. LAB RESULT
Thus the Delta modulation and demodulation were performed and graphs were
plotted.
4.10. POST LAB QUESTIONS:
To analyze a FSK modulation system. and interpret the modulated and demodulated
waveforms
In Frequency shift keying, the carrier frequency is shifted (i.e. from one frequency to
another) corresponding to the digital modulating signal. If the higher frequency is used to
represent a data 1 & lower frequency a data 0, the resulting FSK waveform appears.
Thus
Data =1 High Frequency
Data =0 Low Frequency
It is also represented as a sum of two ASK signals. The two carriers have different
frequencies & the digital data is inverted. The demodulation of FSK can be carried out by
a PLL. As known, the PLL tries to lock the input frequency. It achieves this by
generating corresponding O/P voltage to be fed to the VCO, if any frequency deviation at
its I/P is encountered. Thus the PLL detector follows the frequency changes and generates
proportional O/P voltage. The O/P voltage from PLL contains the carrier components.
Therefore to remove this, the signal is passed through Low Pass Filter. The resulting
wave is too rounded to be used for digital data processing. Also, the amplitude level may
be very low due to channel attenuation.
5.3.1 FSK Modulator
Figure 5.1 shows the FSK modulator using IC XR 2206. IC XR 2206 is a VCO
based monolithic function generator capable of producing Sine, Square, Triangle signals
with AM and FM facility. In this trainer XR2206 is used generate FSK signal. Mark
(Logic 1) and space (logic 0) frequencies can be independently adjusted by the choice of
timing potentiometers FO & Fl. The output is phase continuous during transitions. The
keying signal i.e. data signal is applied to pin 9.
Figure 5.1
5.3.2 FSK Demodulator:
Figure 5.3
5.5 PRE LAB QUESTIONS
1.
1.
Connect the trainer kit to the mains and switch on the power supply
2.
Check internal RPS voltage (it should be 12V) and logic source voltage for logic one
(it should be 12V)
3.
Observe the data signal using oscilloscope. Note down the value. (Amplitude and
Time Period)
4.
Connect the output of the logic source to data input of the FSK modulator
5.
Set the output frequency of the FSK modulator as 1.2KHz using control F0 (this
represents logic 0). Then set another frequency as 2.4KHz using control F1 (this
represents logic 1) using multimeter.
6.
Connect the data input of the FSK modulator to the output of the data signal
generator. Observe the signal that comes out of FSK modulator and note down the
readings.
7.
Connect the FSK modulator output to the input of the FSK demodulator. Observe the
waveform of FSK demodulator output using CRO and note down the readings.
5.7 OBSERVATION
Signal Type
Data source
Time
Period
Amplitude
F1
F0
Square
wave
Signal
Name
FSK
Signal Name
Modulated Output
Frequency Amplitude
1.2KHz and
2.4KHz
alternately
appearing
Carrier signal
Frequency
Amplitude
2.4KHz
1.2KHz
Demodulated output
Signal Type
Time
Amplitude
Period
Square wave
Figure 5.4
Thus the FSK modulation and demodulation were performed and required graphs
were plotted.
5.10 POST LAB QUESTIONS
1. What is MSK?
2. For the given 8 bit data 10111010 draw the FSK output waveform.
3. Draw the constellation diagram of FSK.
4. What will happen if the same frequency is used for both the carriers?
demodulated waveforms.
6.2 HARDWARE REQUIRED
1.
2.
3.
Digital Multimeter
6.3 INTRODUCTION
6.6.1 Modulation:
6.8 OBSERVATION
PSK (Modulation) -AC signal
Amplitude
Time Period
Amplitude
Time Period
Carrier signal
Data source
For 4KHz
For 2KHz
For 1KHz
Modulated output
For 4KHz
For 2KHz
For 1KHz
Demodulation
Demodulated output
For 4KHz
For 2KHz
For 1KHz
6.9 LAB RESULT
Thus the PSK modulation and demodulation were performed and graphs were
plotted.
6.10 POST LAB QUESTIONS
7. DATA FORMATTING
7.1. OBJECTIVE
1. Coding Kits.
2. CRO
7.3. INTRODUCTION
The NRZ(L) waveform simply goes low for one bit time to represent a data 0
and high to represent data 1.For lengthy data the clock is lost in
asynchronous mode.
The maximum rate at which NRZ can change is half the data clock.[when alternate 0s
and 1s are there.
DC Level:
A length data will have only a dc level as its waveform, a dc voltage cannot be
used in circuits which involve transformers like telephone, AC coupled amplifiers,
capacitors,
filter etc.
Manchester Biphase:
0 is encoded low during first half of bit time & high for other half of bit & vice
versa for 1.There is no synchronization problem in the receiver. It is independent of DC
levels, since there is a transition occurring in each bit. Its max frequency is equal to data
clock rate. There is at least one transition per bit. Since there is midway transition, it
makes clock regeneration difficult so we use special bi phase clock recovery circuit
7.6.TEST PROCEDURE
1. Connect the data generator output to code generator kit. This gives the random binary
sequence o the kit.
2. Connect the clock signal to the trainer kit.
3. Connect the output to the CRO channel along with the clock signal.
4. Observe the waveforms with respect to clock on a dual channel CRO, and compare
with the model graph.
5. Plot the waveforms for different codes.
7.7 LAB RESULT
Thus the different coding techniques were studied and observed for a given binary
data, and their corresponding waveforms plotted.
7.8. POST LAB QUESTIONS
1. Assume a data stream is made of ten 0s. Encode this stream using the following
encoding schemes. How many change can you find for each scheme?
a)NRZ
b)RZ
c)Bi phase
2. If the bit rate of a signal is 1000 bits/seconds, how many bits can be sent in 4
seconds? How many bits in 1/5 seconds? How many in 100 milli seconds?
3. List out the merits & demerits of each data formats .
4. Represent the given data 11010100 in Manchester encoding and NRZ M scheme.
1. Given a bandwidth of 5000 Hz for an ASK signal, what are the baud rate and bit rate?
2. Find the minimum bandwidth for an ASK signal transmitting at 2000bps.
8.4 MATLAB INTRODUCTION
modulation that represents digital data as the presence or absence of a carrier wave. In its
simplest form, the presence of a carrier for a specific duration represents a binary one,
while its absence for the same duration represents a binary zero.
In a ASK system, the pair of signal S1(t) used to represent binary symbols 1 & 0
are defined by
S1 (t) = 2Eb/b Cos 2fct
0
where 0 t< Tb and
Eb = Transmitted signed energy for bit
The carrier frequency fc =n/Tb for some fixed integer n.
Block Diagram of ASK Transmitter
The input binary symbols are represented in polar form with symbols 1 & 0
represented by constant amplitude levels Eb & -Eb. This binary wave is multiplied by a
sinusoidal carrier in a product modulator. The result is a ASK signal.
ASK Receiver
The received ASK signal is applied to a correlator which is also supplied with a
locally generated reference signal 1 (t). The correlated o/p is compared with a threshold
of zero volts. If x1> 0, the receiver decides in favour of symbol 1. If x1< 0, it decides in
favour of symbol 0
8.6 ALGORITHM
ASK Modulation
4. Multiply the received PSK signal with the carrier signal (1 (t) = 2/Tb cos 2fct )
5. Integrate the resultant signal(x1) .
6. If x1 is greater than zero then choose 1 and if it is less than 0 choose 0.
7. Plot the demodulated signal.
8.7 TEST PROCEDURE
In binary FSK system, symbol 1 & 0 are distinguished from each other by
transmitting one of the two sinusoidal waves that differ in frequency by a fixed amount.
Si (t) = 2E/Tb cos 2f1t ;
0
0 t Tb
elsewhere
0 t Tb
elsewhere
Where i = 1, 2.
The two message points ( M =2 ) are defined by signal vectors
S1 = [Eb 0] S2 = [0 Eb]
The i/p binary sequence is represented in its on-off form, with symbol 1
represented by constant amplitude of Eb with & symbol 0 represented by zero
volts. By using inverter in the lower channel, we in effect make sure that when
symbol 1is at the i/p, The two frequency f1& f2 are chosen to be equal integer
multiples of the bit rate 1/Tb
By summing the upper & lower channel outputs, we get BFSK signal.
BFSK Receiver
The receiver consists of two correlators with common inputs which are supplied
with locally generated coherent reference signals 1(t) and 2 (t).
The correlator outputs are then subtracted one from the other, and the resulting
difference L is compared with a threshold of zero volts. If L >0, the receiver decides
in favour of symbol 1 and if L <0, the receiver decides in favour of symbol 0.
9.5 ALGORITHM
BFSK Modulation
1. Generate two carrier signals (1 (t) = 2/Tb cos 21t and 2 (t) = 2/Tb cos22 t)
2. Generate the base band data signal .
3. Convert the base band signal into on-off form.(i.e m(t))
4. Multiply the on-off form data signal m(t) and carrier signal 1 in one channel .
5. Invert the signal m(t) to get m1 (t)
6. Multiply the on-off form data signal m1 (t)and carrier signal 2in another channel
7. Sum the output resultant signals of step 4 and 5.
8. The resultant signal is a FSK signal
9. Plot the carrier, data and FSK signal.
BFSK Demodulation
1. Multiply the received FSK signal with the carrier signal 1 (t) = 2/Tb cos 21t in
one channel and integrate the resultant signal(x1)
2. Multiply the received FSK signal with the carrier signal 2 (t) = 2/Tb cos 2 2t
in
1. Determine the bandwidth and baud for an BFSK signal with mark frequency of 49
KHz, a space frequency of 51 KHz, and a bit rate of 2 Kbps.
2. Write a matlab program for finding the sum of series 1+ 2+ 3 ++N
3. Sketch the FSK waveform for the input a) 1010110 b) 1100101
1) An analog signal carries four bits in each signal element. If 1000 signal elements are
sent per second , find the baud rate and bit rate.
2) What is a correlator?
10.4 MATLAB INTRODUCTION
of the graph in the figure. For further details type help plot or help subplot in the
command prompt and learn the syntax.
10.5 THEORY
Binary Phase Shift Keying
In a coherent binary PSK system, the pair of signal S1(t) and S2 (t) used to represent
binary symbols 1 & 0 are defined by
S1 (t) = 2Eb/b Cos 2fct
S2 (t) =2Eb/Tb (2fct+) = - 2Eb/Tb Cos 2fct
0 t< Tb
S1 (t) = Eb 1 (t)
0 t Tb
S2 (t) = Eb 1 (t)
0 t< Tb
The input binary symbols are represented in polar form with symbols 1 & 0
represented by constant amplitude levels Eb & -Eb. This binary wave is multiplied by a
sinusoidal carrier in a product modulator. The result in a BSPK signal.
Binary Wave
(Polar form)
Product
Product
Modulator
BPSK signal
The received BPSK signal is applied to a correlator which is also supplied with a
locally generated reference signal 1 (t). The correlated o/p is compared with a threshold
of zero volts. If x1> 0, the receiver decides in favour of symbol 1. If x1< 0, it decides in
favour of symbol 0
The received BPSK signal is applied to a correlator which is also supplied with a
locally generated reference signal 1 (t). The correlated o/p is compared with a threshold
of zero volts. If x1> 0, the receiver decides in favour of symbol 1. If x1< 0, it decides in
favour of symbol 0
10.6 ALGORITHM
BPSK Modulation
1. Multiply the received PSK signal with the carrier signal (1 (t) = 2/Tb cos 2fct )
2. Integrate the resultant signal(x1) .
3. If x1 is greater than zero then choose 1 and if it is less than 0 choose 0.
4. Plot the demodulated signal.
10.7 TEST PROCEDURE
Phase of the carrier takes on one of four equally spaced values such as /4, 3/4,
/4,7/4.
Si(t) =
, elsewhere
0 t Tb
0 t Tb
Input debits
Phase of
QPSK signal
10
/4
00
3/4
-E/2
-E/2
01
5/4
-E/2
+E/2
11
7/4
+E/2
+E/2
b1(t)
X
+
DeMux
QPSK signal
X
b2 (t)
The i/p binary sequence b(t) is represented in polar from with symbols 1 & 0
represented as +E/2 and -E/2 .This binary wave is demultiplexed into two
separate binary waves consisting of odd & even numbered I/P bits denoted by b1
(t) & b2 (t)
b1 (t) & b2(t) are used to modulate a pair of quadrature carrier or orthogonal Basis
function 1 (t) & 2 (t).
The result is two PSK waves .These two binary PSK waves are added to produce
the desired QPSK signal .
QPSK Receiver:
QPSK receiver consists of a pair of correlators with common I/P & supplied
with Locally generated Signal 1 (t) & 2 (t).The correlator O/P, x1, & x2 are each
compared with a threshold of zero volts.If x1 > 0, decision is made in favour of
symbol 1 for upper channel and if x1 > 0, decision is made in favour of symbol 0.
Parallely Y x2 >0, decision is made in favour of symbol 1 for lower channel
& if x2 <0, decision is made in favour of symbol 0.
These two channels are combined in a multiplexer to get the original binary
output.
11.5 ALGORITHM
QPSK Modulation
1. Generate two carrier signals (1 (t) = 2/Tb cos 2ct and 2 (t) = 2/Tb cos2ct)
1. Multiply the received QPSK signal with the carrier signal 1 (t) = 2/Tb cos 2ct in
one channel and integrate the resultant signal(x1)
2. Multiply the received QPSK signal with the carrier signal 2 (t) =2/Tb cos 2 ct
in
1. Write a matlab program to sample a message signal m(t) and reconstruct it.
2. Identify the error in the mat lab command Sin 3.
Input binary
DPSK
Sequence {b k }
signal
(2/Tb) cos(2fct)
{d k }
Logic
network
Amplitudelevel shifter
Product
modulator
DPSK wave
Delay }Tb
{d
k-1
The DPSK transmitter consists of a logic network and a one-bit delay element
interconnected so as to convert an input sequence {bk} into a differentially encoded
sequence {dk}. This sequence is amplitude level shifted and then used to modulate a
carrier wave of frequency fc, thereby producing the desired DPSK wave.
Block Diagram of DPSK Receiver:
The received DPSK signal plus noise is passed through a band pass filter centered at the
carrier frequency fc , so as to limit the noise power. The filter output and a delayed
version of it, with the delay equal to the bit duration Tb, are applied to a correlator. The
resulting correlator output is proportional to the cosine of the difference between the
carrier phase angles in the two correlator inputs. The correlator output is finally compared
with a threshold of zero volts, and a decision is thereby made in favor of symbol 1 or
symbol 0. If
waveforms received during the pertinent pair of bit intervals lies inside the range /2 to
/2, and the receiver decides in favor of symbol 1.If , on the other hand, the correlator
output is negative, the phase difference lies outside the range /2 to /2, modulo-2,
and the receiver decides in favor of symbol 0.
12.5 ALGORITHM
DPSK Modulation
DPSK Demodulation
1. Multiply the received DPSK signal with the delayed version of it and integrate the
resultant signal (x).
2. If x is greater than zero then choose 1 and if it is less than 0 choose 0 .
3. Plot the demodulated signal.
12.6 TEST PROCEDURE
1. Write a matlab program for computing linear and circular convolution of two
sequences.
2. Compare DPSK with QPSK modulation scheme.
3. What is differential encoding technique.
Appendix
Data sheet of IC7805