Experiment No
Experiment No.
.
:
: 1
1
Experiment Name
Experiment Name
::
Experimental Study of PCM and Companded PCMExperimental Study of PCM and Companded PCMClass & Batch
Class & Batch
:
: _________________
_______________________________
________________________
__________
Roll No
Roll No
:
: _______________
____________________________
__________________________
_____________
Date of
Date of Performanc
Performancee
:
: ________________
________________________________
__________________________
__________
Signature
EXPERIMENT NO. 1 EXPERIMENT NO. 1
AIM: a) Experimental Study of
AIM: a) Experimental Study of Pulse Code Modulation & Demodulation
Pulse Code Modulation & Demodulation
b) PCM
b) PCM Companding.
Companding.
APPARATUS:
APPARATUS:
PCM trainer
PCM trainer
kit, patch chords, CRO, CRO probes.kit, patch chords, CRO, CRO probes.THEORY:
THEORY:
a) PCM Modulation & Demodulation:
a) PCM Modulation & Demodulation:
By Nyquist theorem, if signal contains no frequency components for F
By Nyquist theorem, if signal contains no frequency components for Fss >2f >2f mm, it is, it is completely described by instantaneous sample values uniformly spaced in time with period Ts. If a completely described by instantaneous sample values uniformly spaced in time with period Ts. If a signal has been sampled at the Nyquist rate or greater (Fs > 2f
signal has been sampled at the Nyquist rate or greater (Fs > 2f mm) & the sample values are represented as) & the sample values are represented as weighted impu
weighted impulses, the signal can be exactly reconstructed from it’s samples by an ideal LPF oflses, the signal can be exactly reconstructed from it’s samples by an ideal LPF of bandwidth B.W.
bandwidth B.W.
Pulse code Modulation is a digital transmission of samples of analog signal. In PCM Pulse code Modulation is a digital transmission of samples of analog signal. In PCM Generator we have sampler, Analog to digital converter & parallel to serial data converter & serial Generator we have sampler, Analog to digital converter & parallel to serial data converter & serial transmission. In PCM Receiver there is serial reception of data, this serially received data is then transmission. In PCM Receiver there is serial reception of data, this serially received data is then converted to parallel from & then fed to digital to analog converter. The output of DAC is fed to low converted to parallel from & then fed to digital to analog converter. The output of DAC is fed to low pass
pass filter & filter & we we get get transmitted transmitted analog analog signal. signal. PCM PCM performance performance as as an an analog analog communication communication systemsystem depends primarily on the quantization noise
depends primarily on the quantization noise introduced by ADC.introduced by ADC.
In our kit for PCM transmitter we have used ADC0809, Multiplexer IC74151, Latch In our kit for PCM transmitter we have used ADC0809, Multiplexer IC74151, Latch IC74373, Counter IC4040, IC7404, IC7432 & IC7408 for required Logic implementation.
IC74373, Counter IC4040, IC7404, IC7432 & IC7408 for required Logic implementation.
The conversion time of ADC limits maximum sampling rate & therefore Bandwidth of The conversion time of ADC limits maximum sampling rate & therefore Bandwidth of transmitter. All control signals are derived from basic clock. To derive control signals IC7408, 7432, transmitter. All control signals are derived from basic clock. To derive control signals IC7408, 7432, 4017, are used. After analog to digital conversion signals fed to Multiplexer IC. Control for IC 74151 is 4017, are used. After analog to digital conversion signals fed to Multiplexer IC. Control for IC 74151 is
EXPERIMENT NO. 1 EXPERIMENT NO. 1
AIM: a) Experimental Study of
AIM: a) Experimental Study of Pulse Code Modulation & Demodulation
Pulse Code Modulation & Demodulation
b) PCM
b) PCM Companding.
Companding.
APPARATUS:
APPARATUS:
PCM trainer
PCM trainer
kit, patch chords, CRO, CRO probes.kit, patch chords, CRO, CRO probes.THEORY:
THEORY:
a) PCM Modulation & Demodulation:
a) PCM Modulation & Demodulation:
By Nyquist theorem, if signal contains no frequency components for F
By Nyquist theorem, if signal contains no frequency components for Fss >2f >2f mm, it is, it is completely described by instantaneous sample values uniformly spaced in time with period Ts. If a completely described by instantaneous sample values uniformly spaced in time with period Ts. If a signal has been sampled at the Nyquist rate or greater (Fs > 2f
signal has been sampled at the Nyquist rate or greater (Fs > 2f mm) & the sample values are represented as) & the sample values are represented as weighted impu
weighted impulses, the signal can be exactly reconstructed from it’s samples by an ideal LPF oflses, the signal can be exactly reconstructed from it’s samples by an ideal LPF of bandwidth B.W.
bandwidth B.W.
Pulse code Modulation is a digital transmission of samples of analog signal. In PCM Pulse code Modulation is a digital transmission of samples of analog signal. In PCM Generator we have sampler, Analog to digital converter & parallel to serial data converter & serial Generator we have sampler, Analog to digital converter & parallel to serial data converter & serial transmission. In PCM Receiver there is serial reception of data, this serially received data is then transmission. In PCM Receiver there is serial reception of data, this serially received data is then converted to parallel from & then fed to digital to analog converter. The output of DAC is fed to low converted to parallel from & then fed to digital to analog converter. The output of DAC is fed to low pass
pass filter & filter & we we get get transmitted transmitted analog analog signal. signal. PCM PCM performance performance as as an an analog analog communication communication systemsystem depends primarily on the quantization noise
depends primarily on the quantization noise introduced by ADC.introduced by ADC.
In our kit for PCM transmitter we have used ADC0809, Multiplexer IC74151, Latch In our kit for PCM transmitter we have used ADC0809, Multiplexer IC74151, Latch IC74373, Counter IC4040, IC7404, IC7432 & IC7408 for required Logic implementation.
IC74373, Counter IC4040, IC7404, IC7432 & IC7408 for required Logic implementation.
The conversion time of ADC limits maximum sampling rate & therefore Bandwidth of The conversion time of ADC limits maximum sampling rate & therefore Bandwidth of transmitter. All control signals are derived from basic clock. To derive control signals IC7408, 7432, transmitter. All control signals are derived from basic clock. To derive control signals IC7408, 7432, 4017, are used. After analog to digital conversion signals fed to Multiplexer IC. Control for IC 74151 is 4017, are used. After analog to digital conversion signals fed to Multiplexer IC. Control for IC 74151 is from IC4040. Every time IC4040 counter gives 8 combinations & transmits 8 bit data corresponding to from IC4040. Every time IC4040 counter gives 8 combinations & transmits 8 bit data corresponding to every sample.
every sample.
In Receiver section we have used shift register IC 74198 in serial in & parallel out form. In Receiver section we have used shift register IC 74198 in serial in & parallel out form. For synchronization clock at Receiver must be same to clock at transmitter. After serial reception of data For synchronization clock at Receiver must be same to clock at transmitter. After serial reception of data
output of shift register
output of shift register is latched using 74373 & fed to DAC (R-2R Ladder). Output is latched using 74373 & fed to DAC (R-2R Ladder). Output of DAC is fed toof DAC is fed to filter.
filter.
To observe stable waveform on CRO the sampling frequency must be exactly integer To observe stable waveform on CRO the sampling frequency must be exactly integer multiple of signal frequency. In our kit signal frequency is ob
multiple of signal frequency. In our kit signal frequency is ob tain by frequency divider & filter circuit.tain by frequency divider & filter circuit.
BLOCK DIAGRAM OF PULSE CODE MODULATION / DEMODULATION: BLOCK DIAGRAM OF PULSE CODE MODULATION / DEMODULATION: PCM MODULATOR:
PCM MODULATOR:
PCM DEMODULATOR PCM DEMODULATOR
PROCEDURE:
PROCEDURE:
Note:
Note: Pot Pot provided provided at at top top left left side side corner corner is is for for varying varying dc dc bias bias at at theI/p theI/p of of A/D. A/D. We We can can measure measure DCDC bias v
bias voltage at oltage at the the test pt. test pt. 8 8 bit dip bit dip switch is switch is provided for provided for varying bit varying bit resolution resolution of of A/D.A/D. If Sw is ‘ON’If Sw is ‘ON’ that means that bit is going to latch connected after A/D. If it is ‘OFF’ it means gnd is connected to that means that bit is going to latch connected after A/D. If it is ‘OFF’ it means gnd is connected to respective pin of latch. If LSB bit
respective pin of latch. If LSB bit is off (no. 1 of is off (no. 1 of DIP switch) least count of A/D is now DIP switch) least count of A/D is now 38 mv instead of38 mv instead of ‘19mv’ when all bits are connec
‘19mv’ when all bits are connected.ted. 1)
1) Switch on ‘Power on’ switch, red LED should Switch on ‘Power on’ switch, red LED should glow.glow. 2)
2) Observe 1MHz clock O/p signal on panel.Observe 1MHz clock O/p signal on panel. 3)
3) Connect this 1MHz clock to ADC 0809 clock I/p.Connect this 1MHz clock to ADC 0809 clock I/p. 4)
4) Observe point ‘A’ O/p from: 2 Network & connecObserve point ‘A’ O/p from: 2 Network & connec t it to point ‘B’ i.e. I/p to 8 t it to point ‘B’ i.e. I/p to 8 Network .Network . 5)
5) Observe O/p of both: 8 network & Observe O/p of both: 8 network & calculate their frequencies.calculate their frequencies. 6)
6) Connect O/p of 2Connect O/p of 2ndnd: 8 network to start conversion I/p of : 8 network to start conversion I/p of ADC 0809 ADC 0809 i.e. ‘SC’ point on panel.i.e. ‘SC’ point on panel. 7)
7) Observe ‘SC’ point & ‘EOC’ point on panel simultaneously on dual trace oscilloscope & findObserve ‘SC’ point & ‘EOC’ point on panel simultaneously on dual trace oscilloscope & find out conversion period of A/D.
out conversion period of A/D. Conversion period Time between falling edge of ‘SConversion period Time between falling edge of ‘SCC’ & rising’ & rising edge of ‘EOC’.
edge of ‘EOC’. 8)
8) Observe ‘EOC’ point & ‘OE’ point i.e. O/p enable pin of 74373 latch simultaneously on dualObserve ‘EOC’ point & ‘OE’ point i.e. O/p enable pin of 74373 latch simultaneously on dual trace scope. Also observe ‘RST’ point &’Clk’ point of
trace scope. Also observe ‘RST’ point &’Clk’ point of IC 4040 along with ‘OE’.IC 4040 along with ‘OE’. 9)
9) Observe ‘PCM OUTPUT’ point & connect it to I/p to receiver. i e. serial I/p to shift registerObserve ‘PCM OUTPUT’ point & connect it to I/p to receiver. i e. serial I/p to shift register 74198.
74198. 10)
10) Observe ‘CLK’ of 74198 along with ‘Clk’ of 404Observe ‘CLK’ of 74198 along with ‘Clk’ of 404 0 dual trace scope.0 dual trace scope. 11)
11) Observe ‘LE’ i. e. latch enable pin of 74373Observe ‘LE’ i. e. latch enable pin of 74373 latcheslatches next to shift register, with ‘CLK’ of 74198.next to shift register, with ‘CLK’ of 74198. 12)
12) Now you can draw timing diagram of the system. Now you can draw timing diagram of the system. 13)
13) Ensure that Ensure that all 8 all 8 bits are bits are connected to lconnected to latch i. e. atch i. e. that all that all DIP SWs DIP SWs are are to on to on position.position. 14)
14) Adjust biasing dc voltage to 2.5v with the pot.Adjust biasing dc voltage to 2.5v with the pot. 15)
15) By using pot provided above By using pot provided above ‘DAC’ adjust 2.5v at the O/p of DAC‘DAC’ adjust 2.5v at the O/p of DAC.. 16)
16) Now Now vary vary I/p I/p biasing biasing pot pot slightly slightly & & observe observe that that accordingly accordingly DAC DAC voltage voltage varies varies linearly, linearly, onon CRO.
CRO. 17)
17) Now Now keep keep 3 3 LSB LSB bits bits SWs SWs to to ‘Off’ ‘Off’ position position & & vary vary I/p I/p biasing biasing voltage, voltage, you you will will find find DACDAC voltage varies in steps.
19) Now keep DC bias to 2.5v using nearby pot. & all DIP SWs to on position.
20) Two generators are provided on panel rightmost is fixed frequency Sine wave & the other is variable frequency. (Sine, square & triangular wave generator) To vary its frequency pot is provided on panel.
21) First Connect fixed frequency sine wave to I/p of ADC 0809.
22) Observe DAC O/p. Calculate its frequency & peak to peak amplitude. Observe this with I/p fixed frequency sine wave.
23) Connect DAC O/p to I/p of filter & observe O/p of filter.
24) Repeat step 22-23 variable frequency sine, triangular & square wave a I/p to ADC.
25) First keep the frequency of sine wave minimum. Observe the DAC O/p along with I/p sine wave. Now slowly increase the frequency of sine wave to verify Nyquist criteria and to observe
aliasing effect.
OBSERVATION TABLE:
Measurement of Quantization Error:
WAVEFORMS:
Draw the following waveforms: 1. I/p signal
2. Start of Conversion & End of Conversion 3. O/P enable & PCM
4. LE signal
5. DAC O/P signal 6. LPF o/p.
b) PCM Companding
AIM:
To study PCM with Companding (A law and µ law).APPARATUS:
Experiment kit, DSO, DMM, Connecting Wires, Probes.THEORY:
In linear PCM if Bit resolution is 8 Bit then there are 28 = 256 quantization Levels. Also if signal amplitude it capable of swinging through all available quantization region without extending beyond the outermost ranges. (e.g. if ADC 0809 is Used outermost range is OV & 5V & we can apply
maximum signal amplitude 5V p-p ). The O/p signal to quantization noise ratio is 6N dB. When N = 8 i. e. no of Bits. S/N ratio 48 dB.
If the signal is reduced in amplitude so that not all quantization ranges are used than S/Nq ratio is also reduced. That means effective numbers of quantization levels are also reduced. To avoid this problem a process called COMPANDING is used. COMPANDING means compressing of signal at transmitter & expanding of a signal at receiver. To keep S/Nq ratio high we must use a signal which swings through a range which is large in comparison with step size. This requirement is not satisfied when the signal is small. Therefore signal is passed through a compressor. So that at the O/p of compressor at low amplitude slope is large than at large amplitude. Due to this, a small amplitude signal will range thro-ugh more quantization regions than would be the case in the absence of compression. Compression produces signal distortion . To undo the distortion, at the receiver We pass the recovered signal through an expander Network. An expander network has an I/p – O/p characteristic which is the inverse of the characteristic of the Compressor. The inverse distortion of compressor & expander generate a final O/p signal without distortion.
Circuits using OPAMPs. Refer to block diagram for u law compander. Also Precision rectifier is used to get absolute value.
OBSERVATION TABLE: A) For μ law observations:
Sr. No. I/P of Compressor O/P of Compressor Sr. No. I/P of expander O/P of Expander
B] A law compander: Rest of the world uses ‘A’ law Companding. y =+ A [x] For IxI < 1/A
1+ log A
& y= + 1+log a[x] For 1/A < IxI < 1 1 + log A
To observe A & μ law curve directly on CRO, connect sine wave & companded O/P either of A law or μ law to two channels of CRO & press ‘XY’ mode switch you will observe curve on screen related
to that law. You will observe that near zero, slope of curve is very sharp than higher values which is desired. Also for A law we can observe break point near zero value due to two equations.
At PCM receiver DAC gain control pot has to be perfectly adjusted to get proper wave shape after expander block.
b)For A Law Observations:
PROCEDURE:
1) Switch on the power supply.
2) Connect O/p of Function Generator to I/p of μ COM Block. Keep Frequency of Function generator minimum.
3) Vary I/p of μ COM Block from 0 to 1 V peak linearly & take Reading of O/p of μ COM Block. Plot the graph of I/p Vs O/p & verify the u law.
4) Observe that sine wave is companded at the O/p of u COM Block.
5) Connect O/p of u COM Block to I/p of u Exp. Block & observe that Companding undo at the O/p of u Exp. Block.
6) Repeat step to (2) to (5) for A COM & A Exp Block.
7) Now to study advantage of companding for small signals follow the following procedure. A. Connect PCM O/p to I/p of 74198.
B. Adjust DAC O/p to exactly 0 Volts.
C. Connect Sine wave (100 mVp-p) as I/p to ADC 0809 & keep Frequency of function generator to minimum position.
D. Observe DAC O/p
E. Now connect Sine wave (100 mVp- p) to I/p of u COM. Block Connect it’s O/p to I/p of ADC0809. & observe DAC O/P. Observe there are more no of Quantization Levels for small signal.
8) Repeat Step (7) for ‘A’ COM & ‘A’ Exp Block.
WAVEFORMS:
Waveforms to be
observed-1. I/P signal of the compressor 2. O/P signal of the compressor 3. PCM O/P
4. Reconstructed signal at the DAC o/p. 5. O/p signal of the Expander.
6. O/p of LPF.
CONCLUSION:
STUDY QUESTIONS:
1) Calculate sampling frequency of system. 2) What is the bit rate of system?
3) What is the bit resolution of the system?
4) What is quantization noise? Try to find out some practical procedure to find out quantization noise.
5) When fixed frequency sine wave is connected I/p DAC O/p wave form is stable one & you can observe it on CRO, but when variable frequency sine wave is connected DAC O/p is not stable, why?
Experiment No.
: 2
Experiment Name
:
Experimental Study of DM and ADM.Class & Batch
: _________________________________________
Roll No
: _________________________________________
Date of Performance
: __________________________________________
Signature
: __________________________________________
EXPERIMENT NO. 2
AIM: Experimental Study of delta modulation & adaptive delta modulation
APPARATUS:
DM & ADM trainer
kit, patch chords, CRO, CRO probes.a) Delta Modulation and Demodulation:
THEORY:
Sample values of analog waveform derived from physical Process often exhibit predictability in the sense that the average change from Sample to sample is small. Hence you can make a reasonable guess of the next sample value based on previous values. The predicted values has some error off course, but the range of the error should be much, less than the Peak - to peak signal Range Predictive coded modulation scheme exploit this property by transmitting just the prediction errors. An identical prediction circuit at the destination combines the incoming errors with its own predicted values to reconstruct the waveform. Delta modulation employees prediction to simplify hardware in exchange for increased signaling rate compared to Pulse cod e modulation.
At DM transmitter, every sample of message waveform is compared with previous sample. To have previous sample available, dummy receiver is required at transmitter. If sample at any instant is larger in magnitude than previous one, then one is transmitted. If sample at any instant is smaller than previous value ‘O’ is transmitted. Thus DM one bit per sample is transmitted.
In our kit we have provided IC8038 based function generator Sine triangular & Square wave is provided. A fixed sampling (8 KHz) frequency is provided. By varying I/p signal frequency different
sampling rates & its effect on reconstructed message signal can be observed. Also variable step-size is provided. For square wave slope-overload prominently occurs, it can reduce by increasing step-size or
increasing sampling rate.
Before taking new I/p pulse, previous sample value is latched using (IC74373) & transfer to binary adder & subtractor. Subtraction is carried out using binary adder (IC7483) using 2’s complement method. If received signal is ‘One’ then ‘1’ is added to previous value, else it is subtracted from previous value. The result of addition/ subtraction is again latched & transfer to adder/ subtractor. So it
can used as previous sample for next sample. Result is fed to DAC. O/p of DAC is reconstructed message signal.
BLOCK DIAGRAM:
Delta Modulation:
PROCEDURE:
1)
Switch on ‘Power on’ switch. Red led should glow.2)
Two signal generators are provided on panel. One is fixed frequency sine wave & the other is variable frequency square, sine, triangular wave generator. First Connect O/p of fixed frequency generator to non-inverting terminal of comparator.3)
O/p of 4013 i.e. point ‘A’ on panel should be connected to point ‘B’ on panel.4) DAC O/p should be connected to inverting terminal of comparator & to input of LPF. 5) Observe O/p of ‘CLOCK’ Measure its frequency.
6) Observe clock O/p terminal connected to 4013 IC. It is nothing but the sampling frequency. Measure it.
7) Observe DM O/p for given fixed frequency sine wave. Measure frequency of this sine wave. 8) Observe fixed frequency sine wave & DAC O/p i. e. reconstructed signal simultaneously on
CRO & find out DM algorithm.
9) Observe point ‘A’ of 4013 & DAC O/p simultaneously on dual trace CRO.
10) Observe ‘OE’s of 74373’s in subtractor branch i. e. in which 7404 is connected & adder branch simultaneously on dual trace CRO. They are complement to each other.
11) Observe effect of pot on step size. This pot is situated on top of DAC. 12) To find out bit resolution in DM algorithm procedure is as follows a. Keep non-inverting terminal of comparator open.
b. Connect inverting terminal of comparator to ground other & Connections as it is.
c. Observe DAC O/p. stair case waveform is seen on CRO. Measure no. of step in that waveform from this now calculate Bit resolution.
d. For this configuration rising stair case waveform is observed Reason for this is that non-inverting terminal is internally dc biased for 2.5V, & we kept non-inverting terminal grounded. So comparator O/p is permanently high, so increment command to DM receiver, so it goes
size. Now observe sampling clock of IC 4013 with ‘LE’ signal of previous data latch 74373 simultaneously on dual trace. Then observe any ‘OE’ signal with ‘LE’ signal, simultaneously. Now draw timing diagram.
14) Now by connecting variable frequency sine wave & sq. wave to non-inverting terminal observe DAC O/p. also see the effect of step size & sampling frequency when frequency is varied.
15) Low pass filter is provided on panel. By giving variable sine wave to its I/p observe its O/p & from that find out its cut off frequency. Also for fixed frequency sine wave connect DAC O/p to I/p of LPF & observe its O/p.
WAVEFORMS:
Draw following waveforms: 1. Input signal
2. DAC output 3. DM output
4. OE of both the adder and subtractor block. 5. LPF output.
6. Output of DAC for triangular and square inputs for frequenc y of 1KHz.
CONCLUSION:
b) ADAPTIVE DELTA MODULATION & DEMODULATION (ADM)
AIM:To study adaptive delta modulation & demodulationAPPARATUS: Experiment kit, DSO, Connecting Wires, Probes.
THEORY:
In case of Delta modulation we transmit ‘1’ when instantaneous value of message waveform is larger than previous sample & ‘0’ when it is smaller than previous sample. But the step size is fixed. If I/p (i. e. message waveform) is changing rapidly, it is not possible for DM to track the message waveform. For example for square wave I/p, O/p of DM receiver is not square wave. This is called as slope overload. To avoid this problem adaptive delta modulation technique is used. Adaptive delta modulation (ADM) involves additional hardware designed to provide variable step size, thereby reducing overload effects without increasing the granular noise. In DM we observe that slope-overload appears as a sequence of pulses having the same polarity. This sequence information can be utilized to adopt the step size in accordance with the signals characteristics.
If instantaneous value of message waveform is larger than previous sampled then ‘1’ is transmitted and if smaller then ‘0’ is transmitted. But the difference is that if ‘1’ is transmitted two or more times successively then step size is not same. If for first ‘1’ it is 1D for second ‘1’ it 2D, for 3rd 3D and so on. Similarly if ‘0’ is transmitted two or more times then step size is – D for 1st ‘0’, -2D for second zero and so on.
In our ADM kit we have provided sine & square wave as a message waveform. The logic which explained earlier is build using complete hardware. Up-Down counters, Latches, Binary adders, Digital to analog converters, Comparators are used. Complete circuit diagram is as shown in figure. Timing sequence is similar to that of DM kit. Only difference is that one CLK is fed during each sampling to UP or DOWN counter depending on whether ‘1’ is transmitted or ‘0’ is transmitted. Also up counter is reset if ‘0’ is transmit & down counter is reset if ‘1’ is transmit.
BLOCK DIAGRAM:
Adaptive Delta Modulation:
PROCEDURE:
1. Switch on ‘Power on’ switch. Red LED should glow. 2. Observe O/p from clock & measure its frequency.
3. Two signal generators are provided on panel. One is fixed frequency sine wave generator. Observe its O/p on CRO. Measure its frequency & peak to peak amplitude. The other is variable frequency sine & square wave generator. Pot is given to very its frequency. measure i6ts frequency span.
4. Connect non inverting terminal of comparator to fixed sine wave. 5. Connect inverting terminal of comparator to DAC O/p.
6. O/p’s from 4013 IC are shown as point ‘A’ & ‘C’ on panel. They are used for further control. Connect point ‘A’ to point ‘B’ & connect point ’C’ to point ‘D’ on panel.
7. Now observe DAC O/p along with I/p sine wave & by nearing hearby pot see variable step size. Also observe that slope overload is less in ADM.
8. Observe ADM O/p with sine wave & then with digitally reconstructed DAC O/p. what is your conclusion?
9. Also for particular step size if we observe ADM O/p & DAC O/p simultaneously on dual trace CRO then we find 1 sample delay in decision making but if point ‘A’ & DAC O/p is observed simultaneously, no such delay is observed why ?
13. Measure ‘Clock’ frequency given to both 74193 ICs.
14. Observe point ‘A’ & two ‘OE’s on dual trace scop e one by one. What is your conclusion ? 15. Observe ‘LE’ point of previous latch 74373 situated at the bottom. Measure its frequency. 16. To draw timing diagram, keep non inverting terminal of comparator open, then in this case
DC is given due to internal DC biasing. Observe DAC O/p. adjust pot so that only one step hunting is observed. Also see that here if step size is varied hunting is more than in DM. Now when only one step size hunting is there, for every sample we get increment or decrement. Then observe sampling clock & ‘LE’ of latch simultaneously. Then observe ‘RST’ & sampling clock. Observe ‘Clk’ to 74193 & ‘LE’ of previous latch. Observe ‘Clk’ to 74193 & OE’s of two latches i. e. 74373. From these observations draw timing diagram.
17. Now connect non inverting terminal of comparator to variable frequency sine wave & sq. wave. Observe slope overload effect. For low frequency observe hunting.
18. Low pass filter is provided on panel. We have variable frequency signal generator. Measure LPF’s cut-off frequency.
WAVEFORMS:
Draw following waveforms: 1. Input Signal
2. DAC output
3. ADM o/p
4. OE of adder or subtractor section.
5. LE of main latch 74373 along with OE of adder or subtractor.
6. O/P of LPF with respect to input.
7. Observe the effect of variable step size on slope overload error
Experiment No.
: 3
Experiment Name
:
Experimental Study of line codes (NRZ, RZ, POLAR RZ, BIPOLAR (AMI), MANCHESTER) & their spectral anal ysis.Class & Batch
: _________________________________________
Roll No
: _________________________________________
Date of Performance
: __________________________________________
Signature
: __________________________________________
EXPERIMENT NO. 3
AIM: Experimental Study of line codes (NRZ, RZ, POLAR RZ, BIPOLAR (AMI),
MANCHESTER) & their spectral analysis.
APPRATUS:
Data formats trainer kit, patch chords, CRO, CRO probes.THEORY:
The symbols `0’ and `1’ in digital system can be represented in various formats with different levels and waveforms. The selection of particular format for communication depends on the system bandwidth, system’s ability to pass DC level information, error checking facility, ease of clock regeneration & Synchronization at receiver, system complexity and cost etc.
In this kit we have provided two different bit patterns to study different data formats. [RZ, NRZ, Bipolar RZ, Bipolar NRZ & Bi-phase or split phase]
1. RZ: In case of RZ i. e. return to zero for mats, if bit is ‘1’ then logic high level is transmitted for first half bit period & then logic low level is transmitted.
2. NRZ: In case of NRZ i. e. not return to zero, if bit is ‘1’ then logic high level is transmitted for full bit period & if bit is ‘0’ then logic low level is transmitted.
3. BIPOLAR RZ: If bit is ‘1’ then high level is transmitted for first high bit period & then low level for remaining half bit period. If bit is ‘0’ then negative high level is transmitted for first half bit period & then low level for remaining half bit period.
4. BIPOLAR NRZ: If bit is ‘1’ then high level is transmitted for full bit period. If next bit (Not necessary consecutive) is also ‘1’ then negative high level is transmitted i. e. for every ‘1’ sign of high level is altered. If bit is zero then logic low level is transmitted.
5. SPLIT PHASE (MANCHESTER): If bit is ‘1’ , then logic high level is transmitted for first half bit period followed by logic low level for next half bit period. If bit is ‘0’ then logic low level is transmitted for first half bit period followed by logic high level for next half bit period.
Line Coding Waveforms:
PROCEDURE:
1. Switch on the power supply.
2. Connect one of the bit patterns as I/p to data format section.
3. Observe bit pattern together with different data formats on dual scope CRO. 4. Repeat the procedure for other bit patterns.
STUDY QUESTIONS:
1) What is line coding?
2) Draw the various data formats for bit pattern i) 1010010100 ii) 1000010000
Experiment No.
: 4
Experiment Name
:
Experimental Study of Generation of PN Sequence and its spectrum.Class & Batch
: _________________________________________
Roll No
: _________________________________________
Date of Performance
: __________________________________________
Signature
: __________________________________________
EXPERIMENT NO. 4
AIM
: Experimental Study of Generation of PN Sequence and its spectrum.APPRATUS:
PN Sequence trainer kit, patch chords, CRO, CRO probes.THEORY:
PN sequence means Pseudo Random sequence. It is not exactly random but repeats after 2 n – 1 clock cycles. So called as pseudo random. They may connect to D/A converters to produce random noise used to test audio system. To generate PN sequence a clock generator, D flip/flops, ex-or & not gates are used. In our kit we have given 4 bit, 8 bit, 12 bit PN sequence generatex-or. Clock generator is designed using IC555. For D flip/flop IC 74175 (4 D flip/flops) ,ex-or7486, Not 7404 are used. For 4 bit, sequence repeats after 15 clock cycles. For 8 bit sequence repeats after 255 clock cycles & for 12 bit sequence repeats after 4095 clock cycles.
CIRCUIT DIAGRAM:
i.e. Q0 & Q3 are Ex-ORed & given to I/P after inverting. Inverter is because after resetting all O/Ps are zero & to start PN sequence I/P should be one. For 12 bit Q0 & Q11 are Ex-ORed.
Clock Q3 Q2 Q1 Q0 Feedback PN Sequence
0 0 0 0 0 1 0 1 0 0 0 1 0 1 2 0 0 1 0 1 0 3 0 1 0 1 0 1 4 1 0 1 0 0 1 5 0 1 0 0 1 0 6 1 0 0 1 1 0 7 0 0 1 1 0 1 8 0 1 1 0 1 0 9 1 1 0 1 1 0 10 1 0 1 1 1 0 11 0 1 1 1 0 1 12 1 1 1 0 0 1 13 1 1 0 0 0 1 14 1 0 0 0 0 1 15 0 0 0 0 1 0 16 0 0 0 1 0 1PROCEDURE:
For 4 & 8 bit PN sequence Gen. keep toggle S/w in right upper corner to 4-8 Bit position & for 12 bit PN sequence Gen. S/w to 12 Bit position.
1. Switch on the Power Supply.
2. Connect CLK O/p of CLK Generator to CLK I/p of F/F.
3. Now to study 4 bit PN sequence generator connect pt. ‘F’ to pt ‘E’. 4. Press reset S/w on panel.
5. Observe PN sequence O/p on C. R. O. together with clock. It repeats after 15 clock cycles.
6. Now to study 8 Bit PN sequence generator. i) Disconnect pt ‘F’ from pt ‘E’
ii) Connect pt ‘F’ to pt ‘C’ iii) Connect pt ‘D’ to pt ‘E’ iv) Press reset Switch
v) Observe O/p of PN sequence generator. 7. Now to study 12 Bit PN sequence generator. i) Disconnect pt ‘F’ from pt ‘C’
ii) Connect pt ‘F’ to pt ‘A’ iii) Connect pt ‘B’ to pt ‘C’ iv) Connect pt ‘D’ to pt ‘E’
v) Press reset Switch & Observe O/p of PN sequence generator.
Experiment No.
: 5
Experiment Name
:
Experimental Study of Pulse shaping, ISI and eye diagram.Class & Batch
: _________________________________________
Roll No
: _________________________________________
Date of Performance
: __________________________________________
Signature
: __________________________________________
EXPERIMENT NO. 7
TITLE: Write a simulation program to implement PCM system.
AIM: To write a MATLAB program to implement Pulse code Modulation.
APPARATUS REQUIRED:
Sr.No. COMPONENTS SPECIFICATION QTY.
1. COMPUTER - 1
2. MATLAB R2010a - 1
ALGORITHM:
1. Generate a signal 8*sin(x) and plot it.
2. Sample that signal and plot sampled waveform. 3. Quantize the sampled signal and plot it.
4. Encode the quantized signal and display that encoded sequence. 5. Get back the index in decimal form.
6. Get back the quantized levels. 7. Plot demodulated signal.
MATLAB COMMANDS USED:
input( ), subplot( ), quantiz( ), length( ), de2bi( ), stairs( ), reshape( ).
EXPERIMENT NO. 8
TITLE: Write a simulation program implementation of any digital communication system.
AIM: Write a MATLAB code for BPSK generation and detection.
APPARATUS REQUIRED:
Sr.No. COMPONENTS SPECIFICATION QTY.
1. COMPUTER - 1
2. MATLAB R2010a - 1
ALGORITHM:
1. Get the frequency of carrier sine wave from user. 2. Get the frequency of message signal from user.
3. Get the amplitude of carrier and message signal from user. 4. Generate message and carrier signal.
5. Modulate carrier using message signal and plot it. 6. Demodulate modulated signal to recover the message.
MATLAB Commands used:
square ( ), input( ), subplot( ), figure( ), title( ), xlabel( ), ylabel( ),
EXPERIMENT NO. 9
TITLE: Write a simulation program for Constellation diagram of any pass band modulation technique (QPSK).
AIM: Write a MATLAB code for Constellation diagram of any pass band modulation technique (QPSK).
APPARATUS REQUIRED:
Sr.No. COMPONENTS SPECIFICATION QTY.
1. COMPUTER - 1
2. MATLAB R2010a - 1
ALGORITHM:
1 Create random digital message. 2 Modulate it using QPSK technique.
3 Create a scatter plot and show constellation. 4 Transmit signal through an AWGN channel. 5 Create scatter plot from noisy data.
6 Compare these two plots.
MATLAB COMMANDS USED:
randi( ), modem.pskmod(M), commscope.ScatterPlot( ), modulate( ), awgn( ), update( ), demodulate( ).