EE 442 Laboratory Experiment 1 Introduction To The Function Generator and The Oscilloscope
EE 442 Laboratory Experiment 1 Introduction To The Function Generator and The Oscilloscope
EE 442
1
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
I. INTRODUCTION
PRELAB READING:
2
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB QUESTIONS:
EXPERIMENT:
Upon power-up, the default frequency will appear on the display panel as
1.000,000,0 kHz (an 8-digit number.) Press the button under the Ampl
menu and the 100mV pp output voltage value will be displayed on the
panel. Now press the Freq button to return to the frequency display.
To change the frequency, the knob may be used in conjunction with the
arrow buttons. The arrow buttons change the highlighted digit position of
the frequency value. The value of that highlighted digit is controlled by the
knob. The arrow buttons move the blinking digit one space to the right or
left.
EXPERIMENT:
3
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
EXPERIMENT:
The next task to explore is the method of changing the value of the output
voltage. The same knob and buttons are used to set the voltage as were
used to set the frequency. Also, as was true for the frequency case, when
establishing a new voltage value with the direct punch-in method, the last
button to be pressed is one of the unit buttons. When a unit button is
pressed, the generator will output a waveform with the (new) displayed
voltage value.
The voltage units can be changed, without changing the voltage value, by
pressing a number on the keypad, using the arrow button to delete the
number, and then pressing the button under the appropriate unit.
EXPERIMENT:
1. Press the button under the Ampl menu. The voltage amplitude of
the sinusoidal waveform should now be displayed. (The waveform
should still be at its default value of 100 mV pp).
2. Change the voltage of the sinusoidal waveform to 1.234 V pp using
the knob and the arrow buttons.
3. Change the voltage to read an equivalent value in Volts rms.
(Answer = 436.4 mV rms.)
4. Change the voltage in step 3 to 4.364 V pp by pressing the right
arrow button to cause the mV pp to be highlighted. Then rotate the
4
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
knob clockwise. Note the relationship between the units and the
decimal point.
5. Set the voltage to 3.723 V pp by punching-in the value in directly
6. Also remember that to check on the frequency of the voltage being
generated just press the button under Freq. To return to the
voltage mode, press the button under Ampl.
Finally, in order to insure that the same voltage value appears at the
output terminals of the function generator that appears on the display
panel, perform the following sequence:
1. Press the Utility button.
2. Press the button under Output Setup.
3. Press the button under Load. High Z should be highlighted.
4. Press the button under Done.
5
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB READING:
Also inside the CRT are two sets of plates, a horizontal set and a vertical
set. An electric field is created between the horizontal plates and is
proportional to the magnitude and polarity of the input voltage signal.
This electric field causes the electron beam to be deflected proportionally
to the intensity and polarity of the electric field. In this manner the beam
is swept between the top and bottom of the screen. Another electric field
is created between the vertical set of plates which sweeps the beam from
left to right (facing the screen).
6
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
Before the input voltage can be used to deflect the electron beam, it must
be scaled to an appropriate level to create an electric field between the
horizontal plates of sufficient strength to deflect the electron beam a
desired amount. The user can control this scaling with the volts/division
knob. This knob is usually adjusted so that the waveform takes up as
much of the screen as possible without running into another waveform
(multiple trace operation) and without running off the screen.
The voltage signal which creates the electric field that sweeps the signal
from left to right can come from one of two places: internal or external to
the oscilloscope. If the horizontal deflection voltage is derived internally,
it will come from a sweep generator. The sweep generator creates a saw
tooth shaped voltage waveform that draws the trace across the screen. The
rate of the sweep generator is set by the user and is chosen to display the
appropriate amount of the input waveform. This control is the
seconds/division knob on the front panel of the scope. Each cycle of the
sweep generator is initiated by a trigger signal which will be discussed in a
later laboratory experiment. The horizontal deflection voltage can also
come from an external input signal. Basically another set of input voltage
terminals is connected to the horizontal deflection plates. In this manner,
the user can graph a “y” voltage as a function of an “x” voltage rather than
a “y” voltage as a function of time.
EXPERIMENT:
Turn the oscilloscope on and set the above controls to the following
settings (The scope will take a minute or two to boot up).
To change this setting, turn the big knob on the Horizontal section of the
front panel (Figure 4). The sweep rate (s/) is displayed at the bottom right
corner of the screen next to the sampling rate (Sa/s).
7
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
To change the coupling, push the 1 button to bring up the menu for
channel 1 (Figure 5). This menu will allow you to change the coupling.
While in this menu change the probe attenuation factor from 10X to 1X.
This change will make the voltage scales match for the activities we are
going to do later. To change the volts per division setting, rotate the large
knob above the 1 button. The volts per division (V/) setting is displayed in
the lower left hand corner of the scope’s screen.
The sweep rate was set to 500ms/div and there are 10 divisions on the
screen, so it should take about 5 s for the dot to move from the left corner
of the screen to the right corner of the screen. What you are seeing is the
sweep generator voltage being applied to the horizontal deflection plates.
This voltage is a piecewise linear function with respect to time as shown in
the Figure 6.
8
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB READING:
There are a couple of other features present in the saw-tooth wave, shown
in Figure 6, that should be mentioned. That portion of the waveform with
a negative slope defines the retrace period during which the voltage of the
saw-tooth wave returns to zero to prepare for another sweep. The reset
(standby) period (where the sweep is flat-lined) is when the sweep
generator and trigger circuits reset themselves in preparation for the next
sweep cycle. During the retrace and reset period the electron beam is
turned off. A trigger pulse waveform corresponding to the saw-tooth
waveform is also shown in the figure. The relationship between these two
waveforms will be discussed in the triggering section of this experiment.
9
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB QUESTION:
EXPERIMENT:
Change the sweep rate from 500ms/div to 500μs/div. Rotate the knob
one click at a time while noting the change of velocity of the trace on the
screen. Notice that after a few clicks of the knob, the sweep generator is
sweeping so fast that the dot appears to change into a line. The dot is
moving so fast that the phosphorescent coating is still glowing when the
dot returns. This persistence of the phosphorescent coating is what allows
us to see a voltage signal waveform that repeats many tens to millions of
times per second.
PRELAB READING:
To perform this part of the experiment, keep the controls as they were in
the previous procedure, with the CH1 vertical scale factor at 2 V/div and
the sweep rate at 500μs/div. Note that the input coupling was set to the
ground position. The grounded input setting and the CH1 vertical position
control (little knob under the 1 button), provide a means for the user to
establish a zero voltage reference trace location anywhere on the screen.
Convenience and/or practical reasons can suggest the best location. The
internal implementation of the coupling setting can be understood by
referring to Figure 7. With the input coupling set to ground, any signal
voltage connected to the CH1 input terminal would be disconnected (open
circuited) from the oscilloscope. At the same time, zero volts (by a short
circuit to ground) is applied to the input to the vertical
attenuator/amplifier circuits. Note that if a voltage signal were connected
to the CH1 input terminal, it would NOT be short circuited to ground. It is
good experimental practice to always check (and reposition if necessary)
the location (on the screen aka. graticule) of the zero volt trace prior to
making a voltage related measurement. Note that if the coupling feature
were not available, the alternative procedure of establishing a zero volt
trace would be to disconnect the probe from the circuit being measured
and then connect it to a ground terminal (to simulate zero volts). In time
this method could become a very inconvenient process.
PRELAB QUESTION:
10
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
EXPERIMENT:
1. With the CH 1 input coupling still set to ground, position the zero
volt trace at the vertical center of the graticule.
2. Locate the Agilent E3630A DC supply on the lab bench. Make sure
it is turned off. Turn the +6V knob fully counterclockwise (This sets
the output voltage to 0).
4. Set the CH1 coupling selector to DC, turn on the DC supply, and
increase the output voltage until about two major divisions of
vertical displacement are seen.
6. Turn on the digital multimeter located at you lab bench and set it to
read DC volts (It boots up to this function). Connect it in parallel to
both the scope and the DC supply. Compare the reading of the
multimeter to that of the oscilloscope and to that of the indicator
panel on the power supply (Make sure the +6V meter button is
pushed in). If there are any large discrepancies, consult with your
lab instructor. (Hint: to read the scope, count the number of major
divisions and multiply the result by the setting of the V/div knob.)
7. Try reading DC voltages with the scope set at different scale factors.
For example, change to 1 V/div and read the voltage from step 6. Is
the trace almost off the screen? Remember that you’re at liberty to
relocate your zero volt reference if need arises. Make other random
11
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
8. Reduce the DC supply voltage to zero and set the sweep rate to 0.1
s/div. Set the vertical scale to 2 V/div and zero the trace one
division from the bottom of the graticule. Now increase the voltage
output of the DC supply in such a manner that you can control the
vertical displacement of the beam as it moves horizontally across
the screen. Vary this voltage up and down rapidly and slowly, and
note the relationship between voltage, beam (spot) displacement,
and time.
V. AC VOLTAGE MEASUREMENTS
PRELAB READING:
12
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB QUESTION:
EXPERIMENT:
Set the scope to measure a 2 V pp, 1 kHz (2 V/div and 200 µs/div) signal
and set the zero volt reference level. Make sure that the input coupling is
set to DC before you proceed. Connect the scope to the signal generator
with a BNC to BNC cable. Turn the signal generator on and set its output
impedance to HIGH Z. If you connect the scope to the signal generator
using any other method, be sure that you observe polarity vary carefully as
both the scope and the signal generator are earth grounded. A mistake in
polarity will mean a short circuit and probably a blown fuse in the signal
generator.
13
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
cycles on the screen. You may have to “play” with the trigger level knob to
obtain a stable display. Change the amplitude of the output from the
signal generator and note the effects on the scope.
Set the signal generator to output 8 V pp. The waveform on the graticule
of the scope should be just superimposed between the +4 and -4 volt lines.
Change to several different scale factors and make sure the output voltage
is still 8 V pp. You may loose the signal as you change scales, if this
problem occurs you will need to re-adjust the trigger level.
PRELAB READING:
14
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB QUESTION:
EXPERIMENT:
1
We will make use of this expression f = by examining the relationship
T
between the frequency of the signal to be displayed and the sweep rate of
the scope. The signal generator should still be set at 8V pp, 1 kHz. Set the
vertical scale of the scope to 2 V/div and 200 µs/div. Reduce the
frequency and note what happens on the graticule. The waveform begins
to spread out and pretty soon there is only one cycle of the waveform
instead of two. Increase the frequency of the signal generator past 1 kHz
and note how the waveform gets compressed and more cycles of the
sinusoid appear on the screen. From this exercise you should see that the
period of the waveform decreases with increasing frequency.
The next task will be to take a simple frequency measurement with the
scope. Make sure the signal generator is still set on 1 kHz. Re-establish
the zero volt reference on the scope. Once this step is completed, the
15
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
T = _______________________________
T = _______________________________
F = ___________________________
With a 1 kHz signal still displayed on the scope, change the sweep rate and
note the effects of this change. When you increase the sweep rate to 100
µs/div you should see only one period of the waveform. When you
decrease the sweep rate to 500 µs/div you should see about 5 periods of
the waveform displayed on the graticule. Note that for the above sweep
rate changes the frequency of the input signal remained constant. Leave
everything set up as it is for the next part of this experiment.
16
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
PRELAB READING:
A. General Discussion
In general, trigger signals are derived from one of two basic source
locations: external or internal. An external trigger signal comes
from a voltage not being measured by the scope. If this type of
signal is used, it is connected to the external input terminal of the
scope. The trigger source should be set to external and the trigger
signal input coupling should be set to whatever coupling fits the
situation (usually DC).
17
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
EXPERIMENT:
Make the following settings on the scope. Set the trigger level to 0V
(use the double arrow knob in the Triggering section), slope to
positive, trigger mode to auto, sweep rate to 0.2 ms/div (push the
Mode/Coupling button to bring up the appropriate menu) and
the CH1 vertical scale set to 2 V/div. Also set the scope to trigger off
of CH1 (trigger source). Establish a zero volt trace and make sure
the scope is connected to the signal generator. Adjust the signal
generator output waveform to 10 V pp, 1 kHz. The trace should be
starting at 0 V on the left side of the screen and have positive slope
where it starts.
Once the scope and signal generator are set up correctly, rotate the
trigger level control counterclockwise and watch what happens to
the beginning of the trace (at the left side of the screen). The trace
should be starting at a negative value. As the control is rotated
further, the starting value of the trace should become more
negative. If the trigger level is reduced below the negative peak of
the signal, the waveform will become unstable. Rotate the trigger
level control the other way and you will notice that the trace starts
from a positive value. The trace will start from an increasingly
positive value as the trigger level is made more positive. Again, if
you exceed the peak voltage of the waveform the trace will cease to
be stable.
Adjust the trigger level control so the trace is starting at about zero
volts from the left edge of the screen. Watch what happens to the
beginning of the trace when you change the slope from positive to
negative. Wiggle the trigger level control button a little to note the
effects of changing the slope.
D. Trigger Modes
We have been using the automatic triggering mode for the last
experiments. In this mode of operation triggering will always occur
and a trace will always exist even in the absence of a trigger signal.
It is a very convenient feature since it allows a trace to exist even
when zero volts is applied to the input that is being triggered off of.
This condition happens every time you establish your zero reference
trace. The problem with the automatic triggering mode is that it
will not create a stable trace at frequencies less than about 20 Hz.
For these frequencies the normal mode of triggering must be used.
18
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
The voltage signals studied so far in this experiment have been either AC
or DC. Many signals in practical circuits have both an AC component and
a DC (time average value) component. For example, the voltage
v = 4 + 2sin(ωt ) V has a DC component of 4 V and an AC component of
2 sin(ωt ) V. The AC portion has a peak value of 2 V and a frequency of
ω
f = Hz. The next task of this experiment is to connect the function
2π
generator in series with the DC power supply to create the above
expression. Before energizing the DC supply (Agilent E3630A, use the +6
V tap) turn it voltage control all the way down (fully ccw).
Connect the two sources in series and then connect the scope across them
as shown in Figure 10. It is imperative that the DC supply and the
function generator be properly connected together. If, for instance, the
two devices were connected parallel, damage would be done to the signal
generator. Ask your lab instructor to check your wiring before energizing
either source.
19
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
Red/+
DC Power Supply
Black/-
Red/+
Oscilloscope
Black/-
Red/+
Signal Generator
Black/-
Figure 10 Circuit diagram for connecting the power supply and the
signal generator to the oscilloscope
It is time to examine AC coupling of the CH1 input. From Figure 11, note
that when AC coupling is selected, a capacitor is placed in the path
between the input terminal to the amplifier/attenuator circuits of the
scope (the switch will connected to point 2). The purpose of the capacitor
is to block the DC component while allowing the AC component to pass.
In essence, the average value of the waveform will be reduced to zero,
leaving only the time varying portion of the waveform. This capability
allows accurate measurement of the AC component of a signal when it is
dwarfed in magnitude by the DC component.
20
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
Change the input coupling from DC to AC and sketch the new waveform
on the graph paper, use the same coordinates as you used for your last
sketch. Note that the waveform dropped by a level equal to the amount of
the average value of the waveform. The ability to have both AC and DC
coupling allows for an easy method to measure the average of a waveform.
Turn off the function generator and DC supply and remove them from the
circuit.
Thus far in this experiment we have been using the internal sweep system
as our only means of generating a horizontal deflection voltage. To help in
understanding the horizontal deflection system we will now perform an
experiment employing an externally applied horizontal voltage, using the
DC supply. The function generator will still be used to supply the vertical
input voltage.
First, establish the zero volt reference trace at the center of the graticule.
Then connect the function generator with its output set to 4 V pp, 1 kHz.
Set the scope to read this 4 V pp, 1 kHz signal. Once the signal is displayed
on the scope, slow the sweep rate to 100 ms/div. Notice how the display
on the scope changed from a couple of cycles of sinusoid to a bar across
the screen 4 volts high. Reduce the signal generator frequency to 1 Hz. To
maintain a stable waveform, switch the trigger settings from automatic to
normal (see part V for instructions if needed). Adjust the trigger level
until the trace starts at zero volts. You should see a 4 V pp, 1 Hz sine wave
on the screen.
Next, change the scope from Y-T mode to X-Y mode (push the
Main/Delayed button and then push the button next to the Time Base
block). This mode bypasses the internal sweep circuit and connects the
horizontal deflection plates to the CH1 input terminal. With nothing
applied to the CH1 input, the display on the scope should resemble a 4 volt
high vertical line in the center of the screen. Use the horizontal position
control to move this line to the left side of the screen.
21
EE 442 Laboratory Experiment 1
Introduction to the Function Generator and the Oscilloscope
Connect the DC power supply to the CH1 input of the scope. Set the CH1
scale factor to 500 mV/div. Turn the voltage control knob all the way
down and then energize the power supply. Now, slowly increase the DC
voltage on the power supply and watch what happens on the screen of the
scope. Play with this knob, turning it back and forth. With a little
practice, you should be able to generate a decent sine wave.
The X input capability allows the scope to be used as an X-Y plotter. One
example of this mode of operation is the observation of i-v terminal
characteristics of electronic devices. Since the scope is a voltage sensitive
instrument, the current axis values on the i-v plot are obtained by
connecting the scope across a resistor R in series with the device under
test. A 1/R scaling factor is then used to obtain the i axis values. This
example is mentioned only to illustrate a point, and is not a performance
part of this experiment. Turn off the function generator and the DC supply
and disconnect the scope probes. To prepare for the next experiment, set
the sweep rate of the scope to 20 μs/div.
XI. CONCLUSION
Now you should be able to make a variety of AC, DC, and combination of
AC and DC measurements. Save your notes from this section as the
oscilloscope will an invaluable tool in subsequent experiments.
22