Docsity

ECE 210: Circuit Analysis Experiment 1 - Function Generator & Oscilloscope, Lab Reports of Electrical Circuit Analysis

Toggle sidebar
bg1
University of Illinois at Chicago
Department of Electrical and Computer Engineering
ECE 210 – Circuit Analysis
Experiment #1
INTRODUCTION TO THE FUNCTION GENERATOR
AND THE OSCILLOSCOPE
Circle Lab Day: M Tu W Th F
Circle Lab Time: 8am 11am 2pm
Name:
UIN:
Signature:
By signing, I (we) attest that the document submitted is my (our) own original work.
Name:
UIN:
Signature:
By signing, I (we) attest that the document submitted is my (our) own original work.
Name:
UIN:
Signature:
By signing, I (we) attest that the document submitted is my (our) own original work.
Circle Lecture
Session:
2pm 4pm
Circle Lecture
Session:
2pm 4pm
Circle Lecture
Session:
2pm 4pm
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download ECE 210: Circuit Analysis Experiment 1 - Function Generator & Oscilloscope and more Lab Reports Electrical Circuit Analysis in PDF only on Docsity!

University of Illinois at Chicago

Department of Electrical and Computer Engineering

ECE 210 – Circuit Analysis

Experiment

INTRODUCTION TO THE FUNCTION GENERATOR

AND THE OSCILLOSCOPE

Circle Lab Day: M Tu W Th F

Circle Lab Time: 8am 11am 2pm

Name:

UIN:

Signature:

By signing, I (we) attest that the document submitted is my (our) own original work.

Name:

UIN:

Signature:

By signing, I (we) attest that the document submitted is my (our) own original work.

Name:

UIN:

Signature:

By signing, I (we) attest that the document submitted is my (our) own original work.

Circle Lecture

Session:

2pm 4pm

Circle Lecture

Session:

2pm 4pm

Circle Lecture

Session:

2pm 4pm

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

Purpose

To familiarize yourself with the function generator and the oscilloscope.

Equipment

  • RIGOL DS2302A Oscilloscope
  • RIGOL DG831 35MHz Function/Arbitrary Waveform Generator

1 General Introduction

In this section, we introduce some fundamental characteristics and functionality of the function generator and the oscilloscope.

1.1 Function Generator

The function generator is essentially a fancy voltage source. It is most generally set so that the voltage at the its output terminal is given by v(t) = B + A sin( ω t) volts

where we denote the following definitions:

  • B is the dc component of v(t) called the dc offset or simply the offset
  • A sin( ω t) is the ac component of v(t)

Note that the ac component is a periodic function of time. There are other periodic waveform shapes available from the function generator such as the square and the triangle waveforms. The ac component has three parameters:

  • waveform shape (for the waveform above this is a sinusoidal shape)
  • amplitude (A is the zero-to-peak amplitude)
  • frequency ( ω is the frequency for the waveform)

In this example the frequency ω is referred to as the angular frequency measured in radians/second (rad/s). Note that the function generator frequency must be set in cyclical frequency measured in cycles/second or simply Hertz (Hz). Here are some useful terms when referring to sinusoidal waveforms:

period (T) – time to complete one cycle measured in seconds (s)

cyclical frequency ( f ) – the number of cycles per second measured in Hertz (Hz) where f = 1/T.

angular frequency ( ω ) – frequency measured in radians/second (rad/s) where ω = 2 π f = 2 π /T

zero-to-peak amplitude – For a sinusoidal function, this is simply A

peak-to-peak amplitude – For a sinusoidal function, this is simply 2A

rms amplitude – For a sinusoidal function, this is simply A/

2 ≈ 0.707A

There are controls on the function generator that allow you to set each parameter of v(t) (A, B, waveform shape, frequency f ) very accurately.

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

What is the value of frequency now?

The frequency can be changed by entering a new value with the touchscreen keypad. Note that the unit (kHz, Mhz, etc.) can be changed as well. Press OK to save the desired frequency. Use the number panel located to the left of the dial knob. Set the frequency to 50.049 kHz using the number panel. Next, try to set the frequency to 50 MHz.

Set the frequency to 2.701MHz. Now set the following frequencies:

  • 27.3 kHz
  • 351 Hz
  • 11.77 MHz
  • 73.26 kHz

What happens when you try to set the frequency to 200MHz?

Set the frequency back to 1 kHz and go on to the next section.

2.3 Setting the ac magnitude

Press the Ampl button (Ampilitude) on the display and record the HighL and LowL values.

What is the value of amplitude now?

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

The amplitude can be changed similar to the frequency. For example, to set the amplitude to 2 volts peak- to-peak

(a) Press the value after the Ampl button

(b) Then change the value to 2

(c) Press Vpp (Vpp means peak-to-peak voltage) in the upper right of the display

(d) Press OK

You have now created the pure sinusoidal voltage given by

v(t) = 1 sin( 2 π ∗ ( 1000 )t) volts

This waveform has an rms value of 1/

2 ≈ 0.707 V. We can set the rms value of the waveform directly by the following procedure by pressing the value to the right of the Ampl button:

(a) Enter 0.

(b) Press Vrms located in the upper right

(c) Press OK

Record exactly what appears in the display.

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

before setting the offset. The peak-to-peak voltage of the sine wave is 2A, where A is the amplitude. Using the techniques of the previous section, set the output voltage v(t) to the following waveforms:

(a) 1 + 2 sin( 2000 π t) volts

(b) −0.5 + 0.7 sin( 500 π t) volts

(c) 2 + 0.5 sin( 7000 π t) volts

3 Learning to use the oscilloscope

3.1 The oscilloscope controls

Take a look at the RIGOL DS2302A 300MHz Oscilloscope. Turn ON the scope using the power button lo- cated under the screen on the left-hand side. Locate the two input BNC terminals labeled CH1 and CH (channels). Just above these two terminals are the ”vertical” presentation controls for each channel. The small dial knobs with the up-down arrows along side them are the vertical position controls which allow you to move the image on the display up and down. The buttons labeled CH1 and CH2 allow you to access display menus for each channel. The larger dial knobs under the CH1 and CH2 buttons are the vertical scale controls. The button labeled MATH is used to perform math operations between the channels. Press it once and there will be a menu on the very right of the screen, soft buttons in a vertical array allows you to choose different math operations. The small key labeled MENU above control the menu to open or close. Use the dial next to the MENU button to scroll up and down the menu.

The horizontal control panel is located just above the front vertical control panel. The horizontal and position control knobs are on either side of another MENU button located between them. The small dial knob with the left-right arrows below it on the right is the horizontal position control which allow you to move the image on the display left and right. And the larger dial knob on the left is a horizontal scale control which allows you to change the time scale of the waveform horizontally. The key in middle labeled MENU allows you turn on or off the delayed sweep function and change time base.

The MENU control panel is located above the horizontal control panel. It contains various function keys: Measure, Acquire, Storage, Curser, Display and Utility. Locate the controls labeled Measure in the function keys menu and the Auto key on the top of the right area scale. These are the buttons you will use most often when measuring voltages with the scope. Locate the Run/Stop and Single control buttons located at the top right of the scope. They are used to control the digital ”sampling” of the voltages being measured. They will help you to get a stable image on the display. Whenever the image that appears on the display is unstable, just press Run/Stop to stabilize the image.

3.2 Measuring Voltages with the Oscilloscope

Connect the red and black terminals of the function generator Ch1 terminal to red and black terminals of the channel 1 input terminal of the scope. Now press the power button (at the lower left corner of the display) to turn on the scope and wait for the system to boot. Set the function generator to the following voltage, being sure to set the ac part first:

1 + 2 sin( 2000 π t) volts

Press the Output1 button on the function generator so that it is illuminated. When it is green, Ch1 signal is output.

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

Press Auto Scale on the oscilloscope. There should be a sinusoidal image in the center of the display.

Take a look along the edges of the display. The position of horizontal axis or the x-axis is indicated by a small yellow arrow marked with a 1. This is the reference line. The vertical scale is displayed in the lower- left corner of the screen. It should be reading 1.00V/. This means that one big division in the y-axis or the vertical axis is 1V.

Use the vertical scale to determine the peak-to-peak voltage of the sine wave that appears in the display.

Does the value of the peak-to-peak voltage match with your expectation?

Use the vertical position knob for CH1 to move the image of the waveform up and down on the display. This knob is the smaller of the knobs located above the CH1 terminal (highlighted in yellow). Push/press the vertical position knob and record your observation. What happens?

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

In this setting only the ac component of the signal is displayed. The dc offset has been removed.

Change the coupling back to dc.

(d) Select the soft button Invert on the screen. This changes the sign (polarity) of the signal.

What happened to the image on the display?

(e) Turn the vertical scale dial knob which is just below the Ch1 button. Note that the scale value is changes as you turn the dial and is displayed in the lower left corner edge of the display. Set the scale to 2V/.

How does the image in the display change?

Now set the scale to 5.0V/ and then to 200mV/. Note how the image changes as the scale changes. The best scale is the scale that makes the image as large as possible but no part of the image goes beyond the top and bottom of the display. Find the best scale for the image.

What is the scale setting for the ”best” image?

(f) Press the Measure button located near the top of the MENU panel and toggle ”Display All to ON. The scope will now perform all of your measurements for you!

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

Record the following and compare with theoretical counterparts.

Frequency:

Pk-Pk:

DC RMS – Cyc:

AC RMS – Cyc:

Maximum:

Minimum:

Average (dc value of signal):

Please note : The scope will always give the correct measurement. When in doubt, use the scope measurement and not the function generator display to determine the actual voltage at the output of the function generator.

Turn OFF the Measurement display by toggling “Display All” to OFF

3.4 Measuring Two Signals on the Oscilloscope

We will now measure and display two signals simultaneously. Here we will be displaying two very differ- ent signals: a sine wave from the output of the function generator and the SYNC signal, which is a pulse waveform from the SYNC output of the function generator (located on the back panel).

First Set the function generator to: 0 + 2 sin( 4000 π t)

With the Output1/Ch1 of the function generator still connected to the Ch1 input of the scope, connect the SYNC output terminal to the Ch2 input of the scope. Now press Auto Scale. There should now be two waveforms displayed on the scope: a sinusoid in yellow Ch1 and a square wave in blue Ch.

You can turn OFF either channel of the oscilloscope by pressing the Ch1/Ch2 button two times. Turn off Ch1 now. Use the Ch2 vertical position control knob to adjust the position of the Ch2 horizontal axis (remember the yellow arrow mark labeled with ’1’ for Ch1 ?, for Ch2 it’s a blue arrow mark labeled with ’2’.) so that it is at the center of the display. Turn on Ch1 and turn off Ch2. Move the Ch1 axis to the center of the display. Turn Ch2 back on. The two images should now overlap overlap.

3.4.1 Stabilizing the Waveform on the Oscilloscope

To stabilize the image press the Run/Stop button. In normal mode of operation the button will glow green indicating that the scope is running and continuously recording the waveforms. Press that button once. You will see that the color of the button changes to red indicating that the scope has stopped recording and the image on the screen is the snapshot of the waveforms right at the instant you pressed Stop. It is sometimes convenient to sketch the waveforms on the screen while the scope is in this snapshot mode. Once finished, press the Run/Stop button.

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

For the Math mode A-B, sketch what you see on the oscilloscope on the following graph. Be sure to include the vertical volts per division and the horizontal time scale on your graph

Repeat the procedure in Sections 3.4.1 – 3.4.3 using the triangle waveform from the function generator instead of the sine waveform 0 + 2 sin( 4000 π t) that was chosen at the beginning of Section 3.4.

For the Math mode A-B, sketch what you see on the oscilloscope on the following graph. Be sure to include the vertical volts per division and the horizontal time scale on your graph

Experiment #1 – INTRODUCTION TO THE FUNCTION GENERATOR AND THE OSCILLOSCOPE

4 Conclusion

You should now be familiar with the operation of the function generator and the oscilloscope.

Bring this experiment with you each time you come to the lab. It will be a useful reference for future experiments.