Docsity

Measurements Using Oscilloscope and Function Generators - Experiment 7 | ECE 103, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE103. Spring 12 Experiment #7 Student name(s):
Lab Section
Page 1 of 14 03/16/12
Experiment #7
Measurements using Oscilloscope and function
Generators
Objective: Learn how to use the Function Generator and how measure AC signals
with the Oscilloscope and Multimeter.
*Equipment list :
1. Wires
2. Oscilloscope
3. Function Generator
4. Oscilloscope probes
5. BNC to banana adapters
Introduction:
The oscilloscope: The oscilloscope (or “scope”) is one of the most common and useful
measuring instruments. It is a device that displays time-dependent electrical signals on a
screen of a cathode ray tube. The operation of the oscilloscope can be thought imagining
a bright spot in a screen, whose position is determined by two voltage signals. Changing
the voltage in the vertical signal moves the spot up and down. Changing the voltage in
the horizontal signal moves the spot from side to side on the screen.
Originally scopes were made from a cathode ray tube (similar to standard TV sets) with
four deflecting plates. The voltage between opposite pairs of plates move the electron
beam (that produces the bright spot in the screen) up and down or sideways. Modern
oscilloscopes mimic this function using computer screens, microprocessors and analog to
digital (A/D) converters instead deflection plates. They also have a number of other
interesting features to simplify or automate their operation
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Measurements Using Oscilloscope and Function Generators - Experiment 7 | ECE 103 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Lab Section

Experiment

Measurements using Oscilloscope and function

Generators

Objective: Learn how to use the Function Generator and how measure AC signals with the Oscilloscope and Multimeter.

*Equipment list :

  1. Wires
  2. Oscilloscope
  3. Function Generator
  4. Oscilloscope probes
  5. BNC to banana adapters

Introduction:

The oscilloscope: The oscilloscope (or “scope”) is one of the most common and useful measuring instruments. It is a device that displays time-dependent electrical signals on a screen of a cathode ray tube. The operation of the oscilloscope can be thought imagining a bright spot in a screen, whose position is determined by two voltage signals. Changing the voltage in the vertical signal moves the spot up and down. Changing the voltage in the horizontal signal moves the spot from side to side on the screen. Originally scopes were made from a cathode ray tube (similar to standard TV sets) with four deflecting plates. The voltage between opposite pairs of plates move the electron beam (that produces the bright spot in the screen) up and down or sideways. Modern oscilloscopes mimic this function using computer screens, microprocessors and analog to digital (A/D) converters instead deflection plates. They also have a number of other interesting features to simplify or automate their operation

Lab Section

Figure 2: Example of the same signal displayed with different trigger levels

There are two basic modes of operation for the oscilloscope: the SWEEP mode and the X-Y mode.

A) SWEEP mode

This is the most common configuration. In this mode the scope displays a voltage signal in the vertical direction versus time on the horizontal axis. To accomplish this, the signal to be observed is connected to one of the vertical inputs (CHANNEL 1 or 2). The oscilloscope internally generates a horizontal signal using its “time base” circuit that is proportional to time. This signal sweeps the spot from left to right at a constant rate determined by the Time/Div setting in the horizontal control. When the displayed spot reaches the right hand side of the screen, the spot is rapidly repositioned to the left side of the screen. The combined effect of vertical and horizontal movement of the spot created in the screen a display of the vertical signals vs time. For example a sinusoidal varying input voltage will trace a sine or cosine in the screen as shown in the picture above. One detail that has to be addressed is when to start the display spot moving from left to right. For example with a sinusoidal input signal, if we start the display just as the input signal goes from negative voltage to zero volts, the displayed signal will show the spot rising above zero so that it appears to be a sine wave. If with the same signal we select to start the display when the signal just reached its maximum value and starts to decline, the display will show a cosine. If we start the display in some other arbitrary point, without regard to the value of the input signal we will trace a different curve every time and the display will appear to be constantly changing. To make sure that always we start the display of the signal at the correct time we rely on the idea of triggering. The trigger will determine in the scope when to start the display of the signal sweeping the spot horizontally. Typically the scope is triggered by comparing the input signal to a fixed reference level, and when the input signal crosses that level, the scope starts the display (horizontal sweep), this tracing out the curve. This comparison with a reference level gives the “trigger level” that can be adjusted. Also necessary is to determine the slope of the signal. For example in a sinusoidal signal, we can set the trigger level when the signal crosses zero, but to uniquely determine the trigger position we have to select the slope (positive if the signal goes from negative values to positive values and negative slope in the signal is decreasing from positive voltage values to negative voltages). Since oscilloscopes usually have more than one channel to display signals, we should indicate which

Lab Section

Lab Section

Proper Oscilloscope Use

(This section contains advanced information that you should skip now and refer back to as the need arises in future AC experiments.)

The digital oscilloscopes in the laboratory have many nice features, but must be properly used in order to insure accurate measurements.

Before making phase shift measurements, you will want to adjust the 0V reference for both channel 1 and 2 to be in the vertical center of the screen. Using the position knob for each channel, make sure the small ground symbols at the right of the screen are both exactly centered. You should also make sure you have the correct probe attenuation selected for each channel. It is a good idea to verify the calibration of each channel and the probe by attaching one probe at a time to the small metal test point on the oscilloscope just below the screen. This should produce a clean square wave of the correct amplitude.

When measuring voltages or times on the oscilloscope, expand the scales so that the measured distance covers at least one division and preferably more. Voltage measurements on the oscilloscope are most accurate if the signals fill at least 50% of the vertical extent of the screen. The voltage and time cursors are quite useful for measuring the difference in two voltages or two times. You select this feature with the CURSOR button. When measuring time differences be sure to be systematic and always keep the same cursor, e.g. t1, on the same signal, e.g. V1. In this way you will be able to determine if the phase difference changes sign.

When working with two oscilloscope probes, or sometimes even one, it is very important to properly ground the probes. The black alligator clip should always be connected to the ground point of your circuit which in turn should be connected to the ground point on the waveform generator. Placing the ground clips for the two oscilloscope channels in different locations on the circuit will short out the circuit between those two points.

Sometimes it is desirable to measure the voltage between two different points in the circuit, neither of which is grounded. Most oscilloscopes allow this by providing traces of the sum or difference between two probe voltages measured on separate channels. Use the +/- key between the two channels followed by the appropriate soft keys to select this feature. An apparent “feature” of the oscilloscopes in C107 is that you must have both channels set to the same voltage scale in order for this feature to work correctly. Otherwise, the sum or difference will be incorrectly determined. You may find it useful to turn off one of the channels when doing sum or difference measurements in order to simplify the display. The sum or difference will still be displayed even though one of the channels used for the calculation is not displayed.

Lab Section

Experiment – Part I Measuring a Signal From the Function Generator using the Oscilloscope: ( points)

1- Connecting a signal from the function generator to the oscilloscope:

a. Select a sinusoidal signal with an amplitude of 5V by pressing the key labeled “Ampl” and turning the dial to 10 Vpp. This means that your waveform is 10 volts from the minimum peak to the maximum peak, and 5 volts from average to peak. Verify that the sinusoid function is selected by pressing the key with the picture of a sine wave. b. Select the frequency of 5000Hz by pressing the key labeled “Freq” and turning the dial to 5000 Hz. c. Connect the signal from the HP 33120A function generator into the oscilloscope by first connecting a gray probe cable to channel #1 on the oscilloscope. Place a BNC to banana plug adapter on the output connector of the function generator. Clip the black alligator clip of the oscilloscope probe cable to the black terminal of the banana plug making sure that there is metal-to-metal contact. If those mischievous upper classmen aren’t playing tricks on you, the black terminal should also be next to the tab labeled “GND”. Now insert a wire into the red banana plug terminal and secure it by tightening the red plastic covered nut with your fingers. The metal portion of the wire should touch the metal portion of the banana plug to insure a good connection. Finally, clip the hooked tip of the oscilloscope probe cable on the wire. d. Press AUTOSCALE on the oscilloscope.

  • Which axis is voltage plotted against?

……………………………….. (1 point)

  • Which axis is time plotted against?

……………………………….. (1 point)

2- Measuring your signal:

There are several ways to measure characteristics of your signal. Under the

measure menu there are three buttons:

  • Voltage
  • Time
  • Cursors

1.) First select the voltage button and you’ll see a menu of soft keys appear at the bottom of the screen. Notice that you can toggle between source 1 and source 2 on the far left of the screen. Your signal is in channel 1, so make sure that source 1 is selected.

Lab Section

Try out the other buttons and record your values for

Vpp = ……………………………….. (1 point)

Vavg =……………………………….. (1 point)

Vrms =……………………………….. (1 point)

2.) Now select the Time button and you’ll see a different menu of soft keys appear at the bottom of the screen.

Try out the other buttons and record your values for

Freq =……………………… Hz (1 point)

Period =……………………… s (1 point)

3.) Now select the Cursors button and you’ll see a different menu of soft

keys appear at the bottom of the screen.

a. There are four cursor choices: V1 and V2 are the voltage cursors, and t1 and t2 are the time cursors. Once you select a cursor, use the knob below the cursors key to move them.

b. Use the cursor V1 to measure the amplitude and the t1 and t2 cursor to measure the period of the signals listed in the table. (Try pressing both t1 and t2 together- what happens? …………………………………………………………………….. (1 point)

c. If you want to erase you cursor readings, select the “clear cursors” soft key on the screen menu.

d. Repeat the Cursors method for a square and triangular signal and record your measurements in the table below. Note: In this case the oscilloscope is triggering in the internal mode.

Type of signal Amplitude (V1) (^) Period (sec) ∆t Frequency (Hz) 1/∆t

Sinusoid

Square

Triangular

(9 points)

Lab Section

9.) Change the trigger source to LINE. What happens to the signal? Describe your observations and compare with the previous case. (5 points)

10.) Select the trigger source EXTERNAL. Split the input signal and connect it to input Z by using another gray probe cable attached to the function generator. Change the triggering level using the knob in the triggering section. What happens to the horizontal position of the display? Why? (5 points)

12.) Without changing the oscilloscope set up, disconnect the probes on the cable going to the Z input on the oscilloscope. Now connect them to the “SYNC” connector on the function generator using another BNC to banana jack adapter. Now what happens to the horizontal position of the display when you vary the triggering level of the oscilloscope? “SYNC” is short for synchronization. What do you think the SYNC signal could be used for? (5 points)

Lab Section

II. Measuring AC Signals : (55 points)

Although oscilloscopes provide detailed pictures of AC signals, we are sometimes interested only in the magnitude of an AC signal. Especially if we already know other properties of the signal such as it’s waveform and frequency. In this case, a multimeter with AC reading capability is useful and typically less expensive than an oscilloscope. One complication is that multimeters usually report the root-mean-square (RMS) value of a signal. You need to understand RMS calculations in order to use multimeters appropriately for AC measurements.

Understanding RMS (Root-Mean-Square) The RMS value of an AC voltage is obtained by first squaring the voltage, then finding the average or mean voltage over one cycle of the original signal, and then taking the square root of the average. The steps form the name of the method – square, mean, root – just in reverse. As an example, let’s find the RMS value of a AC voltage signal described by v = 1V sin(t). Squaring the signal gives,

where a trigonometry identity has been used to express sin^2 (t) in terms of a cosine with twice the frequency. To find the average of v^2 , we note that the average of any sinusoid over a cycle is zero, so the average of v^2 = 1V^2 *(1/2). Finally, we take the square root of this to find the RMS voltage is

1.) For a sinusoid of 10 Vpp, amplitude 5 V, calculate the root mean square value. ( points)

2 2 2 2 v = 1 sin ( ) V t = (1 −cos(2 )) / 2 t V

  1. 707 V 2

1 V V RMS = =

Lab Section

4.) While the RMS calculation by an oscilloscope can usually be trusted, some multimeters assume that the ratio VRMS/Vm is always the same as for measured for sine waves. In this case, VRMS/Vm from the multimeter will be the same for the different waveforms even though it shouldn’t be. Did the ratios for VRMS/Vm from the multimeter change for different waveforms? Did they agree with the oscilloscope? If the multimeter is correctly calculating VRMS for different waveforms, then we say it is measuring true VRMS. (2 points)

5.) Lastly, we want to check if the multimeter correctly measures different frequencies of signals. Measure the frequency response of the multimeter using the following steps: Set the function generator to produce a sinusoidal signal of 1.414V amplitude (VFG,RMS=1VRMS, 2.828V peak-to-peak). Vary the frequency of the input signal and record the reading of the multimeter (VMM,RMS) in the table shown below, then calculate the ratio VMM,RMS/VFG,RMS which is generally expressed in log scale, or in decibels. As you proceed you should also monitor the signal with the oscilloscope to make sure that the function generator output is not changing with frequency. Record the RMS measurements using the oscilloscope in the table under the column VOSC,RMS.

indecibels unitless

V

V

V

V

in

out in

out

20 log 10 ( )

dB

Frequency (kHz) VOSC,RMS VMM,RMS VMM,RMS/VFG,RMS VMM,RMS/VFG,RMS [dB] 10

100

1000

2000

4000

Lab Section

10000

15000

(14 points)

4.) Using MATLAB, plot VMM,RMS/VFG,RMS versus frequency both in linear and in dB scales for the y-axis. Use a log scale for the frequency x-axis. Attach your plots to the report. (10 points) 5.) Comment on the plots including any differences in the two types of plots. (5 points)

6.) Suggest a reason why the ratio VMM,RMS/VFG,RMS would change with frequency. You may find it helpful to refer to the specifications page on the manual for the multimeter. You may also find it interesting to do the same thing for the oscilloscope. (5 points)