In the third lab students will become familiar with some AC circuit components and equipment and use them to experimentally test and confirm the validity of concepts learned in the lectures. The main objectives for this lab are as follows:
Learn how to operate the 3 main control sections of a typical oscilloscope using it’s probe compensation as an input.
Learn the various controls on a typical function generator by connecting it to the oscilloscope and viewing the resulting output waveforms.
Use the function generator to apply an AC voltage at various frequencies to a resistor, 2 capacitors and a inductor and use an oscilloscope and a multimeter to make measurements to determine the impedance of the components.
Again use the function generator to apply an AC voltage at various frequencies to both a resistor-capacitor series circuit and a resistor inductor series circuit and use an oscilloscope and a multimeter to make measurements to determine the impedance of the components.
These objectives should be kept in mind as the students work through the lab procedure.
Before attending the lab, please complete the following:
Note:
Labs are typically completed in groups of two, so please try to pair up before coming to the lab. Each student needs to complete the pre-lab and hand it in at the start of their scheduled lab session. Only one lab report is required to be handed-in per group which is due one week after the schedule lab session. If you can’t find a partner we will either pair you up in the lab or you may also be permitted to work by yourself if there is an available station.
Completely read through the information discussed in the Background section below and please skim through this lab manual to become familiar with what will be required of you during the lab.
Familiarize yourself with the Equipment used in the first lab by going though the pages for each piece of equipment in the Equipment List.
Make sure you have either an electronic device with you where you can access this lab manual or print out the Lab 3 - Manual before coming to your lab section.
Make sure you print out a Lab 3 - Results Sheet to record all of your results. You only require one printout per group.
Complete these Pre-lab Questions on a seperate piece of paper to hand in at the beginning of your lab session. Make sure to include an appropriate title, your first and last name, CCID, student ID and your lab section at the top of the page. Everything in light green on the results sheet is what you should have filled in as well for your prelab.
Describe in your own words what a Function Generator is.
Describe in your own words what an Oscilloscope is.
What are the 3 main control sections of an oscilloscope. Explain in your own words what each of these sections controls.
Explain how a non-ideal inductor is characterized. What is the main factor contributing to this non-idealness.
For the following components used in this lab calculate the reactances for the 2.5mH inductor and the 68nF and 1uF capacitors for the frequencies applied in the lab: 100Hz, 1kHZ and 10kHz. Only show your work for the 100Hz case. Record your results in the appropriate place in the result sheet.
For both the series RC circuit and the series RL circuit used in the lab calculate the frequency at which the voltage across the resistor is equal to the voltage across the capacitor/inductor. Show your work for both cases. Record your results in the appropriate place in the result sheet.
For both the series RC circuit and the series RL circuit used in the lab calculate the total impedance of both components in series for the frequencies applied in the lab: 100Hz, 1kHz, 10kHz and the frequency calculated in the previous question. Only show your work for the 100Hz case. Record your results in the appropriate place in the result sheet.
The oscilloscope or “scope” is one of the most versatile and heavily used electronic measuring instruments in science, engineering, and industry. The oscilloscope earns its status as an important instrument because it neatly graphs how voltage varies as a function of time. Time varying voltage signals are not only important in electronic devices but also useful in measuring all kinds of other types of signals that are converted into an electrical signal by a transducer. A transducer is a device that converts one type of energy to another.
figure 1. Tektronix TDS 1002 Oscilloscope
Getting started with the oscilloscope.
Turn the oscilloscope on by pressing the main power switch on the top of the device.
The oscilloscope probe is used to connect voltage signal sources to the oscilloscope. These probes have a selector switch on them to adjust their attenuation factor (x1/x10). On the side of the probe select the x10 option.
figure 2. Typical oscilloscope voltage probe
figure 3. Oscilloscope probe comp setup
figure 4. Oscilloscope probe comp test waveform
The vertical section controls the y-axis of the displayed incoming voltage signal. There is one set of controls for every input channel. In our case since this is a 2-channel oscilloscope there are 2 sets of controls. The vertical controls are ‘POSITION’, ‘VOLTS/DIV’ and ‘CH 1/2 MENU’ which all contribute to how the incoming waveform is displayed on the vertical/y-axis.
figure 5. Vertical section controls
The key points about the vertical/y-axis are:
Each input channel has a ‘ground’ (0 Volt level) indicator on the left edge of the screen. Below is an image showing the vertical position of channel 1 which should now be in the vertical center of the display.
figure 6. Vertical position indicator
The ‘POSITION’ control will move this position indicator up and down on the display which in turn will also move the incoming voltage waveform up and down on the display.
A typical oscilloscope will have 8 vertical divisions on the display. You can change the graph’s y-axis scale (expressed in volts per division or VOLTS/DIV) using the VOLTS/DIV knob to control how the incoming voltage waveform is scaled when it is displayed on the graph. It doesn’t change the value of the input voltage. In the bottom left hand corner you can see what the current setting for the volts per division, as shown in the image below.
figure 7. Voltage per division indicator
The displayed waveform should currently span approximately 2.5 vertical divisions of the oscillscope’s screen and the volts per division is currently set for 2.00V. When you multiply those 2 numbers together you get 5V. Which is the approximate value of the ‘PROBE COMP’ signal.
The horizontal section controls the x-axis, which is generally used as the time-axis. There is only one common set of controls for all of the input channel. The horizontal controls are ‘POSITION’, ‘SEC/DIV’ and ‘HORIZ MENU’ which all contribute to how the incoming waveform is displayed on the horizontal/x-axis.
figure 8. Horizontal section controls
A trace is created when a point on the scope plots a large set of points by ‘sweeping’ across the x-axis of the display at a constant speed. For a slow sweep, the length of time plotted out on the x-axis will be longer than for a fast sweep, which will capture a shorter interval of time. A triggering (initiating) signal causes the plotting to begin. When the sweep gets to the right side of the display screen, it jumps back to the start, and begins the next sweep across the screen. If the signal is unchanging, each successive graph lands right on top of the previous sweep, and you see it as a static graph. If the input data is changing, then you will see the graph change with each successive sweep since this repeated cycling continuously refreshes the display. Both the method of initiating the sweep (triggering), and the rate of the sweep are adjustable with controls on the front panel of the scope.
The key points about the x-axis are:
The current horizontal position is indicated on the top edge of the graph, typically in the center of the display which represents 0 seconds. This mark indicates where the current captured waveform was triggered. Below is an image showing the horizontal position of the display.
figure 9. Horizontal position indicator
The ‘POSITION’ control will move this position indicator left and right on the display which in turn will also move the incoming voltage waveform left and right on the display.
At the top of the screen there is also an indicator ‘M POS:’ that tells you the current position of the horizonal section in seconds. Again with the center of the display representing 0 seconds. Below is an image showing the ‘M POS:’ readout.
figure 10. Horizontal position indicator in time
A typical oscilloscope will have 10 horizontal divisions on the display. You can change the graph’s x-axis scale (expressed in seconds per division or SEC/DIV) using the SEC/DIV knob to control how the time-base of the incoming voltage waveform is scaled when it is displayed on the graph. In the bottom middle of the display you can see the current setting for the second per division as indicated after the ‘M’. Below is an image showing the ‘M’ readout.
figure 11. Seconds per division indicator
figure 12. Trigger section controls
An oscilloscope’s trigger function synchronizes the horizontal sweep at the correct point of the signal, essential for clear signal characterization. Trigger controls allow you to stabilize repetitive waveforms and capture single-shot waveforms. The trigger makes repetitive waveforms appear static on the oscilloscope display by repeatedly displaying the same portion of the input signal. Imagine the jumble on the screen that would result if each sweep started at a different place on the signal, as illustrated the figure below.
figure 13. Example of an un-triggered waveworm
The most basic and most common type of triggering is edge triggering. With edge triggering there are 2 main controls; the trigger ‘LEVEL’ knob and the trigger ‘Slope’ located in the ‘TRIG MENU’. The trigger circuit acts as a comparator. You select the slope and voltage level on one input of the comparator. When the trigger signal on the other comparator input matches your settings, the oscilloscope generates a trigger which initiates the sweep/capture of the waveform. The slope control determines whether the trigger point is on the rising or the falling edge of a signal. A rising edge is a positive slope and a falling edge is a negative slope. The level control determines where on the edge the trigger point occurs.
The trigger level is the voltage that the input waveform must pass through to initiate a waveform capture. The trigger level is indicated in 2 different spots shown below. The first is located in the bottom right section of the display, it actually currently indicates 3 thing: The trigger input source ‘CH1’, the trigger edge ‘rising slope’ and the trigger voltage level ‘? V’.
figure 14. Trigger source, edge and voltage indicator
The second trigger level indicator is an arrow located on the right side of the display as shown below.
figure 15. Trigger position indicator
A function generator is a piece of electronic test equipment used to generate different types of repetitive voltage waveforms over a wide range of frequencies. Some of the most common waveforms produced by the function generator are the sine wave , square wave and triangular wave. Common function generators have controls to control the frequency, amplitude, DC offset, duty cycle and the waveform type. Below is an image of the function generators available in the laboratory.
figure 16. BK Precision 4011A Function Generator
Frequency - There are 3 separate controls for the frequency. You first need to select the approprite ‘Range’ as required using the range buttons. Then rotate the ‘Course’ knob until you get near the desired frequency and then use the ‘Fine’ control knob to zero-in on the desired frequency as close as possible.
Waveform Type - Simply select the desired waveform type by pushing the appropriate button: Sine, Square or Triangular.
Amplitude - Typically there is 2 Ranges for the amplitude. The normal range that goes up to approximately 10V and the -20dB range which is used when small voltages are required.
Duty Cycle - Controls the duty cycle of the output waveform. There is usually a ‘calibrated’ position or button to allow for an exact 50% duty cycle.
DC Offset - Allows you to add a DC offset to the output waveform. There is usually a ‘calibrated’ position or button to allow for an 0V DC offset.
Connect a BNC-to-banana plug lead to the function generator ‘OUTPUT’ and after removing the oscilloscope probe we have been using connect another BNC-to-banana plug lead to channel 1 of the oscilloscope. Connect the function generator output to channel 1 of the oscilloscope by connecting the 2 reds of the BNC-to-banana leads together, also connect the 2 blacks together. You need to change the Probe setting for Channel 1 on the oscillscope to 1X as that is what the BNC-to-banana plug leads are. Take some time to experiment with both the function generator and the oscilloscope so you become familiar with the controls. Try the different function generator button’s listed below and see if you can keep the waveform displayed properly on the screen without using ‘AUTOSET’. Displayed properly means at least 1 cycle up to about 10, The waveform should at least 3 division tall and not clipped off the screen as well as triggered properly.
Try the different waveforms: Sine, Square and Triangular.
Try to adjust the frequency using the different ranges and the course and fine knobs.
Try to adjust the amplitude of the waveform. Note there is 2 different ranges.
Try and add a DC offset to the waveforms. Note the ‘calibrated’ position.
Try and adjust the duty cycle of the waveforms. Note the ‘calibrated’ position.
Use the Multimeter to make the following measurements on some of the components on the Student Circuit Board.
Measure the resistance of the 100Ω resistor, The 68nF and 1µF capacitors, and the 2.5mH inductor. Record these results in the appropriate place on the results sheet.
Measure the capacitance of the 2 capacitors (68nf and 1µF). To use the multimeter to measure capacitance, first set it up as an ohmmeter and then press the yellow button. Record these results in the appropriate place on the results sheet.
Use the circuit below to demonstrate how a 100Ω resistor behaves while ac voltages of various frequencies are applied to it.
figure 18. AC resistor test circuit
Use a BNC-to-banana cable to connect the function generator as a variable frequency sinusoidal AC supply to the 100Ω resistor that is available on the student PCB, while also using a banana cable to also connect the digital multimeter as an AC milliammeter to measure the RMS current going through the resistor.
Use another BNC-to-banana cable to connect channel 1 of the oscilloscope to measure the voltage across the resistor, make sure that the oscilloscope is set to use a 1X probe.
While using the oscilloscope to view the voltage across the resistor adjust the function generator to output a 100Hz sinewave with no DC offset at maximum output voltage.
Making Measurements on a Oscilloscope
- Method 1 - Counting Divisions
Count the number of divisions a quantity spans across the screen of the oscilloscope and multiply it by the current value per division.- Method 2 - Using Cursors
Measure the change in quantity between the 2 cursors which need to be manually adjusted in either a horizontal (ie. time) direction or in a vertical (voltage) direction.- Method 3 - Automatic Measurements
The oscilloscope has the ability to make some measurements automatically by applying algorithms to the recorded waveforms. Caution is to be used while doing this as the oscilloscope can give you wrong values if it is not setup properly for that measurement type. Some of the time the oscilloscope will let you know if it isn’t confident in it’s value by having a question mark next to it’s quantity.
Method 1 - Counting Divisions
Follow these steps to measure the period and peak-to-peak magnitude of the sinewave using Method 1:
Adjust the vertical ‘POSITION’ so the channel 1 ground indicator (the arrow on the far left side of the screen with the 1 next to it) is in the center of the screen.
Adjust the horizontal ‘SEC/DIV’ so at least a complete single cycle of the sinewave is viewed on the screen and triggered properly.
Adjust the ‘VOLTS/DIV’ so that the magnitude of sinewave is as large as possible without going off the screen.
To measure the period of the sinewave, count the number of divisions on the screen of the oscilloscope that a single cycle of the sinewave spans and record that and the current seconds per division setting in the appropriate place on the results sheet. To obtain the period you simply need to multiply the number of divisions by the seconds per division, also record this in the appropriate place on the results sheet.
To measure the peak-to-peak voltage of the sinewave, count the number of division on the screen that the magnitude of the sinewave spans (ie. from minimum to maximum) and multiply that by the current volts per division. Record all 3 of these values in the appropriate place on the results sheet.
Method 2 - Using Cursors
Follow these steps to measure the period and peak-to-peak magnitude of the sinewave using Method 2:
Use the steps i-iii in Method 1 so your waveform is displayed properly.
To use the cursors first push the ‘CURSOR’ button on the oscilloscope and then selecting ‘Type = Time’ and ‘Source = CH1’ by using the 5 buttons next to the CURSOR menu displayed on the screen. Notice that the 2 lights came on just below the vertical ‘POSITION’ knobs indicating to use those knobs to control the 2 cursors.
To use the cursors to measure both the period and frequency of the sinewave use the now ‘CURSOR 1’ knob amd adjust it so it intersects the sinewave where the sinewave crosses through zero and then use the ‘CURSOR 2’ knob so that it intersects the sinewave also at the point where it crosses through zero but by 1 complete cycle (360°) away. Under the CURSOR menu on the display it shows ‘Delta’ which is the difference in time between the 2 cursors which is the period. It also shows 1/delta which in this case happens to be the frequency of the waveform. Record these values in the appropriate place on the results sheet.
To use the cursors to measure the peak-to-peak amplitude of the sinewave change the ‘Type = Voltage’ and adjust ‘CURSOR 1’ so that it just touches the bottom of the sinewave. Adjust ‘CURSOR 2’ so that it just touches the top of the sinewave. The ‘Delta’ under CURSOR menu will now display the difference in voltage between the 2 cursors which is now the peak-to-peak amplitude. Record this value in the appropriate place on the results sheet.
Method 3 - Automatic Measurements
Follow these steps to measure the period, peak-to-peak and rms magnitude of the sinewave using Method 3:
Use the steps i-iii in Method 1 so your waveform is displayed properly.
You can also get the oscilloscope to make this measurement automatically by pushing the ‘MEASURE’ button and using the 5 buttons next to the screen to select one of the 5 measurements slots. For each slot you have the ability to make a different type of measurement for either channel. Using the appropriate button next to the display select: ‘Source = CH1’ and ‘type = Freq’ and the measured ‘Value’ should be shown underneath. Hit the ‘Back’ button to select another measurement if need be.
On separate measurement slots select to measure ‘Freq’, ‘Period’, ‘Pk-Pk’ and ‘Cyc RMS’ for ‘CH1’ so the oscilloscope displays them all at the same time. Record these values in the appropriate place on the results sheet.
Measure the rms current going through the resistor using the multimeter as an milliammeter and record this measurement in the appropriate place in the results sheet.
Repeat the same measurements outlined in steps d-g with the function generator set to 1kHz and then again at 10kHz recording all results in the appropriate places on the results sheet.
Use the circuit below to demonstrate how a 68nF capacitor behaves while ac voltages of various frequencies are applied to it.
figure 19. AC capacitor test circuit (68nF)
Use a BNC-to-banana cable to connect the function generator as a variable frequency sinusoidal AC supply to the 68nF capacitor that is available on the student PCB, while also using a banana cable to also connect the digital multimeter as an AC milliammeter to measure the RMS current going through the resistor.
Use another BNC-to-banana cable to connect channel 1 of the oscilloscope to measure the voltage across the capacitor.
While using the oscilloscope to view the voltage across the capacitor adjust the function generator to output a 100Hz sinewave with no DC offset at maximum output voltage.
Make sure the voltage sinewave waveform across the capacitor is displayed appropriately on the screen of the oscillscope and use the automatic measurements to measure both the frequency and RMS voltage applied to the capacitor. Record these results in the appropriate place in the results sheet.
Measure the rms current going through the capacitor using the multimeter as an milliammeter and record this measurement in the appropriate place in the results sheet.
Repeat the same measurements outlined in steps d-e with the function generator set to 1kHz and then again at 10kHz recording all results in the appropriate places on the results sheet.
Replace the 68nF capacitor with 1µF capacitor as shown in the circuit below.
figure 20. AC capacitor test circuit (1µF)
Use the circuit below to demonstrate how a 2.5mH inductor behaves while ac voltages of various frequencies are applied to it.
figure 21. AC inductor test circuit (2.5mH)
Note:
The non-ideal resistance of this inductor is fairly high relative to it’s impedance at low frequencies and we will need to take this in to account while doing the calculations.
Use the circuit below to demonstrate how the impedance of the series resistor-capacitor changes while ac voltages of various frequencies are applied to it.
figure 22. Series RC Circuit (Setup 1)
Use a BNC-to-banana cable to connect the function generator as a variable frequency sinusoidal AC supply to the 100Ω resistor in series with the 1uf capacitor, while also using a banana cable to also connect the digital multimeter as an AC milliammeter to measure the RMS current coming from the function generator.
Use another BNC-to-banana cable to connect channel 1 of the oscilloscope across the output of the function generator and milliammeter so the voltage across the combined impedance of the resistor and capacitor can be measured.
Note:
Channel 1 and Channel 2 both have a common ground. This means that you must connect the black lead of both channels to the same node of the circuit otherwise you will be creating a short circuit through the oscilloscope.
Use yet another BNC-to-banana cable to connect channel 2 of the oscilloscope across the capacitor while making sure that both of the black leads coming from channel 1 and 2 of the oscilloscope are connected together. Turn on channel 2 of the oscilloscope by pushing the ‘CH 2 MENU’ button, you should notice a new arrow with a 2 beside it on the left side of the screen indicating the channel 2 ground (zero volt level). Make sure that you also configure the ‘Probe = 1X’ in the CH2 menu as that is what the BNC-to-banana plugs are.
While using channel 1 of the oscilloscope to view the voltage output of the function generator adjust the function generators output to a 100Hz sinewave with no DC offset at maximum output voltage.
Use the oscilloscope to measure and record the following in the appropriate place in the results sheet:
fS: The frequency of the source voltage.
tS: The period of the source voltage.
VSRMS: The rms voltage of the source.
VCRMS: The rms voltage across the capacitor.
tC-S: The phase difference in time between the capacitor voltage and the source voltage.
VC (Leads/Lags) VS: Does the capacitor voltage lead or lag the source voltage.
Measure the rms source current supplied to the circuit using the multimeter as an milliammeter and record this measurement in the appropriate place in the results sheet.
Disconnect both oscilloscope probes from the circuit and reconnect them as shown below so we can now measure the voltage across the resistor and also have the source voltage as a reference for phase. In this case channel 1 is now measuring the source voltage but inverted from before. Channel 2 is now measuring the voltage across resistor but also inverted with respect to how we measured the capacitor. If you would like you can use the oscilloscope to invert both channels by going into the ‘CH 1 MENU’ and ‘CH 2 MENU’. You will notice that you end up with the same result either way. You need to do it this way because the 2 channels have a common ground.
figure 23. Series RC Circuit (Setup 2)
Use the oscilloscope to measure and record the following in the appropriate place in the results sheet:
VRRMS: The rms voltage across the resistor.
tR-S: The phase difference in time between the resistor voltage and the source voltage.
VR (Leads/Lags) VS: Does the resistor voltage lead or lag the source voltage.
Repeat the same measurements outlined in steps e-h with the function generator set to 1kHz and then again at 10kHz recording all results in the appropriate places on the results sheet.
For the last column on the results sheet you need adjust the frequency of function generator until the peak-to-peak voltage across the capacitor and resistor are the same. To do this you can use the ‘MATH MENU’ to display a 3rd waveform on the oscilloscope. As you are currently measuring the source voltage on channel 1 and the voltage across the resistor on channel 2 if you use the function ‘CH1-CH2’ that will show the voltage across the capacitor on the ‘MATH’ channel due to Kirchoffs Voltage Law. Using this ‘MATH’ feature adjust the oscilloscope settings and the function generator so the resistor and capacitor voltage have the same magnitude visually on the screen. Repeat the measurements again outlined in e-h with with these new settings and record your results in the appropriate place on the results sheet.
Re-use the previous circuit replacing the 1µF capacitor with the 2.5mH inductor as shown below to demonstrate how the impedance of a series resistor-inductor changes while ac voltages of various frequencies are applied to it.
figure 24. Series RL Circuit (Setup 1)
The following is what you are expected to hand-in one week (by 4:00pm) after completion of the lab. You only have to hand-in one copy per group. There is an assignment box in the D-ICE pedway located just before the elevators marked ECE209 Lab. Please staple everything together in the following order:
Use the first page of your Result Sheet as your cover page. Make sure your names, student IDs, CCID’s and lab section are clearly writen in the table at the top of the page. Your results sheet should be signed twice by the laboratory instuctor or teaching assistant, once at the beginning of the lab to show that you have completed your prelab and once when you have completed the lab and finished cleaning up.
The remaining completed Results Sheets in order with all calculations, results and graphs as required.
The completed Post-lab Questions below on a separate piece of paper.
Complete the tables on your Results sheet by completing the following calculations:
For the AC Resistors section calculate the waveform period and the peak-to-peak voltage from your counting divisions measurements. Also calculate the resistance of the resistor by using your measured RMS voltage and RMS current.
For both AC Capacitors sections calculate both the reactance of the capacitor and the capacitance of the capacitor using your measured values.
For the AC Inductor section first calulate the inductors impedance using your measured values. Then, using the measured value of the non-ideal inductors resistance calculate the inductors reactance. Use this reactance to calculate the inductance of the inductor.
For the Series RC Circuit section calculate the following:
For the Series RL Circuit section calculate all of the same things as the previous section with the following modifications.
Using the provided graphs in your results sheet make the following plots:
Answer the following questions on a separate piece of paper to hand in with your Results Sheet. Make sure to include an appropriate title, your first and last name, CCID, student ID and your lab section at the top of the page.
Explain how connecting the ground connections of each channel of an oscilloscope to different nodes in a test circuit can cause issues with your circuit. What are the potential dangers in doing this? Draw an example circuit to assist in your explanation.
Make some general observations and conclusions about how each of the different components on the plot Impedance-Frequency of R, L and C behave.
Looking at your results, does the inductor behave more like an ideal component at 100Hz or at 10kHz? Use what you know about a non-ideal inductor and your measurements as an example to explain your answer.
In your results for the Series RC circuit is the phase between the capacitor voltage and the resistor voltage approximately 90° as expected at all frequencies? Explain in your own words why this is expected?