Sampling and Reconstruction Trainer ST2101: An ISO 9001: 2000 Company
Sampling and Reconstruction Trainer ST2101: An ISO 9001: 2000 Company
Sampling and Reconstruction Trainer ST2101: An ISO 9001: 2000 Company
Reconstruction Trainer
ST2101
Operating Manual
Ver 1.1
Table of Contents
1. Features 4
2. Technical Specifications 5
3. Theory 6
4. Pulse Amplitude Modulation 7
5. Nyquist Criterion 10
6. Effect of Duty Cycle on Information Recovery 11
7. Effect of Sampling and Sample / Hold Outputs 12
8. Important Parameters of Sampling and Hold Circuit 14
9. Low Pass Filters 17
Experiment 1 26
i) Study of Signal Sampling and Reconstruction Techniques
ii) Study of Nyquist Criteria and Aliasing
Experiment 2 29
i) Study of the effect of Sample /Hold Circuitry on Reconstructed
Waveform
ii) Effect of Sampling Pulse Duty Cycle on the Reconstructed
Waveform in Sample and Sample Hold Output
Experiment 3 32
i) Comparison of Frequency Response of 2nd order and 4th order
ii) Butterworth Low Pass Filter
10. Warranty 34
11. List of Accessories 34
Features
RoHS Compliance
d.
trictive use of Hazardous substances (Pb, Cd, Cr, Hg, Br compounds) in electric and electronic equipments.
d “Environment Friendly”.
use lead free solder wire and use the soldering irons upto (25 W) that reach a temperature of 450°C at the tip as the melting temperature of the unleaded s
Technical Specifications
Theory
The aim of any communication system is to transmit information from one location to
another. In case of voice communication, this information will be speech.
The signal which contains the information to be transmitted is known as information
signal and in the case of voice communication this will be a continuously changing
signal containing speech information. The aim is to reproduce this information signal
as accurately as possible, at the distant, receiving end of the communication system.
In the exercises to follow, you will simulate audio signal by a 1 KHz test signal
provided On-board. The repetitive, non-changing (in amplitude, frequency or phase),
waveform does not contain information, but that does not mean we cannot use it.
Provided the frequency of the test-signal lies within the frequency range which an
information signal will occupy, a test signal of this type can be extremely helpful in
system analysis and testing.
The voice signals are limited to the range 300 Hz to 3.4 KHz, a 1 KHz frequency fits
conveniently in this range and can be used to demonstrate and test many techniques
used in communications.
Theory of Sampling :
In analog communication systems like AM, FM, the instantaneous value of the
information signal is used to hang certain parameter of the carrier signal.
Pulse modulation systems differ from these systems in a way that they transmit a
limited number. of discrete states of a signal at a predetermined time; sampling can be
defined as measuring the value of an information signal at predetermined time
intervals. The rate at which the signal is sampled is known as the sampling rate or
sampling frequency. It is the major parameter which decides the quality of the
reproduced signal. If the signal is sampled quite frequently (whose limit is specified
by Nyquist Criterion), then it can be reproduced exactly at the receiver with no
distortion.
Sampled Output
Figure 2
PAM is an analog system because the amplitude of pulse can vary infinitely i.e.the
levels is not discrete.
An information signal sent through an ideal switch which is operated by a control
signal, isolated from the information signal, produces a PAM signal. When the switch
is open, the voltage is zero; when switch is closed the output voltage is equal to the
instantaneous signal voltage. The sample width depends upon how long a switch
remains closed.
Figure 3
As it can be seen from above figure 3 the multiplier output has some value as m (t)
when the pulse occurs, otherwise it is zero. Rectangular waveforms can represented as
summation of Sine/Cosine waveforms of fundamental frequency plus infinite number
of harmonics.
Since PAM is amplitude modulation of pulse, we expect the sidebands to be formed
around fundamental frequency and each harmonics.
If the sampling frequency is Fs, the frequency spectrum of the PAM signal is as
shown below figure 4.
Nyquist Criterion
As shown-in the figure 5 the lowest sampling frequency that can be used without the
sidebands overlapping is twice the highest frequency component present in the
information signal. If we reduce this sampling frequency even further, the sidebands
and the information signal will overlap and we cannot recover the information signal
simply by low pass filtering. This phenomenon is known as fold-over distortion or
aliasing.
Figure 5
Nyquist Criterion (Sampling Theorem)
The Nyquist criterion states that a continuous signal band limited to F m Hz can be
completely represented by and reconstructed from the samples taken at a rate greater
than or equal to 2Fm samples/second.
This minimum sampling frequency is called as Nyquist Rate i.e. for faithful
reproduction of information signal fs > 2 fm.
If the pulse width of the carrier pulse train used in natural sampling is made very short
compared to the pulse period, the natural PAM is referred to as instantaneous PAM
As it has been discussed, shorter pulse is desirous for allowing many signals to be
included in TDM format but the pulse can be highly corrupted by noise due to lesser
signal power.
One way to maintain reasonable pulse energy is to hold the sample value until the
next sample is taken. This technique is formed as sample-and-hold techniques. The
sample-and-hold waveform looks as shown in figure 6.
1. Aperture time :
The aperture time is defined as the delay time between the beginnings of the hold
command to the time the capacitor voltage ceases to follow the information signal.
Hence the hold value is different from the true sample value. The aperture time cannot
be reduce to zero because on application of finite time taken by a switch to closet
open on application of the hold signal. Therefore a small value of aperture time is
sought after.
Figure 8
2. Acquisition Time :
In sample mode, it takes finite time for the capacitor to charge to the information
signal value depending on the RC time constant. This is called as the acquisition time.
The acquisition time is dependent on the current flowing from the input buffer
through switch and hence on RC time constant. The maximum acquisition time occurs
when the capacitor voltage has to change by the full amplitude of the information
signal.
3. Drop Rate :
As it has been discussed earlier, the presence of leakage current through capacitor
dielectric to +ve input of succeeding buffer causes charge loss of capacitor. Hence the
voltage level at the output falls with time. This rate of change of voltage with respect
to time dv/dt is known as droop rate. Over value of droop rate is desirable as the
circuit should be able to maintain the sample at a relatively constant level until the
next sample.
4. Feed Through :
At high frequencies, the stray capacitance within the switch causes some of the input
signal to appear at the output during the hold state (switch open). The fraction of input
signal appearing at the output of sample and hold circuit is called feed through.
The sample and hold feature provides both problem and benefit will be seen
afterwards.
Aliasing :
If the signal is sampled at a rate lower than stated by Nyquist criterion, then there is
an overlap between the information signal and the sidebands of the harmonics. Thus
the higher and the lower frequency components get mixed and cause unwanted signals
to appear at the demodulator output. This phenomenon is turned as aliasing or fold
over distortion. The various reasons for aiasing and its prevention are as described.
1. Aliasing due to Under-Sampling :
If the signal is sampled at rate lower than 2F m then it causes aliasing. Let us assume a
sinusoidal waveform of frequency F IN which is being sampled at rate F s < 2Fm. In the
figure 9 dots represents the sample points.
Figure 10 (a)
The ratio of VOUT: VIN is known as Transfer function for the circuit. For RC low pass
filter, the transfer function can be derived by using potential divider resistance.
So, V OUT 1
=
VIN 1+2R2C2
1 V OUT1
If = ------ then --------- = ----- = 0.707 = -3db
RC V IN 2
This is the half-power point of the filter i.e. at frequency = RC, the output power
decreases to half of the input power. This is also known as the cut-off frequency (Fc).
The filter not only causes amplitude change but a change in phase is also experienced.
A typical response of a low pass filter is as shown below:
Figure 15
1
Fc =
2RC
The amplitude and phase response of second order butter worth low pass filter with
respect to frequency is as shown in figure 16.
Frequency (Normalized)
Amplitude Vs Frequency & Phase Vs Frequency
Response of Second Order Butterworth Low Pass Filter
Figure 16
For this circuit, the voltage gain has been set equal to 1.586.
The filter design should be done critically so that any unwanted frequency component
existing close to the desired frequency component attenuate sufficiently to save the
output from getting corrupted.
Though increasing order filter is desirable, there is a price that we have to pay for
steeper fall-off.
1. Additional circuitry increases complexity and cost
2. Increase in order increases phase lag, though it is not so critical in audio circuits.
Summary of PAM System :
Although PAM System, provides an useful technique of sampling and multiplexing in
time domain, its use is a communication system in practice is fairly limited. This is
due to the fact that PAM like AM & FM is an analog communication system which is
fairly sensitive to noise and distortion and in turn it does bit differing in significant
improvement over analog methods in terms of power conversion or bandwidth
occupancy etc. PAM System offers the following advantages:
1. It is used as a first stage of a digital communication system where the sampled
values are converted into more useful binary (I&O) modulation systems.
2. Allows time division multiplexing (TDM) of several information signals.
Testing Instruments needed for Experiments
Experiment 1
Objective :
1. Study of signal sampling and reconstruction techniques
2. Study of Nyquist criteria and aliasing.
Procedure :
1. Connect the mains plug into the mains board. Keep the power switch in ‘Off’
position.
2. Ensure that the 'External/Internal' Sampling Selector switch is in 'Internal'
position.
3. Put the Duty Cycle Selector Switch in position 5.
4. Link 1 KHz Sine wave output to Analog Input.
5. Turn ‘On’ the trainer
6. After turning ‘On’ the trainer selects 32 KHz sampling rate by default.
7. Display 1 KHz sine wave (TP12) and Sample Output (TP37) on an oscilloscope.
The display shows 1KHz. Sine wave being sampled at 32 KHz, so there are 32
samples for every cycle of the sine wave. (figure 19)
8. Link the Sample output to Fourth Order low pass Filter display Sample Output
(TP37) and the output of filter (TP46) on the oscilloscope. The display shows
the reconstructed original 1 KHz sine wave. (figure 20)
9. By successive presses of Frequency Selector switch, change the sampling
frequency to 2KHz, 4KHz, 8KHz, 16KHz and back to 32KHz (Sampling
frequency is 1/10th of the frequency indicated by the illuminated LED). Observe
how SAMPLE output changes in each cases and how the lower sampling
frequencies introduce distortion into the filter output waveform. This is due to
the fact that the filter does not attenuate the unwanted next frequency
component significantly. Use of higher order filter would improve the output
waveform.
10. So far, we have used sampling frequencies greater than twice the maximum
input frequency. To study Nyquist criteria, set sampling rate of 8KHz, 50% duty
cycle.
11. Remove the link from 1 KHz sine wave output to the Signal Input.
12. Obtain a 2V peak, 2KHz Sine wave from 600 ohms output of the function
generator to Signal Input. Observe the waveform at Signal Input and fourth
order low pass filter output (TP46). Observe the two are similar but the second
logging in phase. This is as expected from filters phase/ frequency response.
13. Decrease the sampling rate to 32 KHz and then to 2KHz. Observe the distorted
waveform at filter's output (TP46). This is due to the fact that we under-sampled
the input waveform overlooking the Nyquist criteria and thus the output was
distorted even though the signal lie below the cut-off frequency of the filter.
This also describes the phenomenon of Aliasing.
Figure 19
Figure 20
Experiment 2
Objective :
1. Study of the effect of Sample /Hold circuitry on reconstructed waveform
2. Effect of sampling pulse duty cycle on the reconstructed waveform in
sample and sample hold output
Procedure :
1. Follow step 1 to 5 as in Experiment 1.
2. Turning 'On' the trainer, selects 32 KHz sampling rate by default. Observe the
Sample output (TP37) and the Fourth Order low pass filter’s output (TP46).
3. Vary the position of Duty Cycle Selector switch from 0% to 90% (position 0 to
9), Observing how the Sample Output changes and how the amplitude of filter's
output changes. This amplitude increase; in early as the duty cycle is increased
from 10% to 90%.
4. Disconnect the Sample Output from filter input. Link Sample & Hold output to
Fourth Order low pass Filter's Input. Set the Duty Cycle Selector switch to
position '5' (50%). (figure 21)
5. Observe the waveform at Sample & Hold output (TP39) on oscilloscope. Vary
the sampling frequency to illustrate how each sample is held at the sample/hold
output. Also observe the filter output at TP46. (figure 22)
6. Vary the sampling pulse duty cycle from 0% to 90% and note that in contrast to
step 3, the filter's output amplitude is now independent of the sampling duty
cycle and is equal to the amplitude of the original signal input. This is an
important result - with Sample and Hold Output, the proportion of sampling
time to holding time has no effect on reconstructed waveform provided that
Nyquist criteria has been followed. In practical digital communication, this
result is very useful as the use of narrow pulses let many channels to be
multiplexed with maximum amplitude of reconstructed signal if sample/hold
feature is utilized in communication system.
Figure 21
Figure 22
Experiment 3
Objective :
1. Comparison of frequency response of 2nd order and 4th order.
2. Butterworth low pass filter.
Procedure :
1. Follow step 1 to 5 as in Experiment 1.
2. Link 1 KHz Sine wave output to Signal Input. Add a link from SAMPLE output
to input of the Second Order Low Pass Filter and to the input of Fourth Order
Low Pass Filter. Observe the outputs of two filters (TP42 and 46 respectively)
on the oscilloscope. Vary the sampling frequency with duty cycle set at 50%.
Compare the output of filter in each case. Note, that the output of fourth order
filter always exhibits less distortion than second order filter. This is because
fourth order filter has a sharper roll-off and thus rejects (attenuates) more
unwanted frequency components caused by sampling. (figure 23).
3. Also compare the phase lag between input and output for each filter.
4. Repeat the above procedure with sample and hold circuitry. Does the output
exhibits less distortion as compared to output in case of sample circuitry?
5. Disconnect all the links.
6. Using a function generator of 600 ohms impedance applies sine wave of 2V
peak at 100Hz output to Second Order Filter Input. Note the peak output value
(at TP42) and the phase difference between input and output. Vary the
frequency at steps of 200Hz /500Hz to 35 KHz. sketch the amplitude/frequency
and phase/frequency response of the second order filter. What is the cut-off
gradient of the filter/decade? What is the phase lag at filter's cut-off frequency?
7. Repeat the above steps with fourth order filter, which one of the two filter's cut-
off has more gradient? What is the phase lag input and output?
Figure 23
Warranty
1. We guarantee the product against all manufacturing defects for 24 months from
the date of sale by us or through our dealers. Consumables like dry cell etc. are
not covered under warranty.
2. The guarantee will become void, if
a) The product is not operated as per the instruction given in the operating
manual.
b) The agreed payment terms and other conditions of sale are not followed.
c) The customer resells the instrument to another party.
d) Any attempt is made to service and modify the instrument.
3. The non-working of the product is to be communicated to us immediately giving
full details of the complaints and defects noticed specifically mentioning the
type, serial number of the product and date of purchase etc.
4. The repair work will be carried out, provided the product is dispatched securely
packed and insured. The transportation charges shall be borne by the customer.
List of Accessories