Escolar Documentos
Profissional Documentos
Cultura Documentos
Overview
As part of the National Instruments Introduction to NI ELVIS II, NI Multisim, and NI LabVIEW courseware, the labs introduces students to the capabilities of the NI ELVIS II educational design and
prototyping platform. Students can explore how NI ELVIS II allows for an easy transition from design, simulation to prototype as it interfaces with both NI Multisim and LabVIEW software.
The courseware includes 11 lab experiments starting with the an introduction to the NI ELVIS environment and steps you through AC circuits to communications. The labs are designed as a starting
point for your own curriculum design, demonstrations in the classroom, and method to inspire students to be imaginative and creative in their design projects.
View all of the labs for the Introduction to NI ELVIS II, NI Multisim and NI LabVIEW courseware.
Table of Contents
Goal
Many electronic circuits contain alternating current (AC). Designing good circuits requires tools to measure components, impedance values, and tools to display circuit properties. With good AC tools
and minimal circuit knowledge, you can modify any circuit to achieve optimal response.
This lab introduces the NI ELVIS II tools for AC circuits: a digital multimeter, function generator, oscilloscope, impedance analyzer, and Bode analyzer.
Table of Contents
1. Required Components
2. Exercise 3.1: Measurement of the Circuit Component Values
3. Exercise 3.2: Measurement of Component and Circuit Impedance Z
4. Exercise 3.3: Testing an RC Circuit with the Function Generator and Oscilloscope
5. Exercise 3.4 : The Gain Phase Bode Plot of the RC Circuit
6. Multisim Challenge: Determine the Bode Plot of an RC circuit
7. Related Links
Required Components
Filenames:
lab3_ms11.zip
lab3_ac_tools_jas_edition.pdf
Download the files above to access the courseware pertaining to this lesson that illustrate how the NI ELVIS II can be used with NI Multisim and NI LabVIEW covering a range of tools from
introductory level exercises to design challenges.
Required Components
1 kW resistor R (brown, black, red)
1 mF capacitor C
1/7
www.ni.com
_________________ kW (1 kW nominal)
Capacitor
_________________ mF (1 mF nominal)
XC = 1/jwC
where w is the angular frequency (measured in radians/sec) and j is a symbol used to represent an imaginary number. The impedance of an RC circuit in series is the sum of these two components
where R is the resistive (real) component and XC is the reactive (imaginary) component.
Z = R + XC = R + 1/jwC W
A resistor has a phasor along the real ( x) axis. A capacitor has a phasor along the negative imaginary ( y) axis. Recall from complex algebra that
1/j = -j.
1. Select Impedance Analyzer (Imped) from the NI ELVIS II Instrument Launcher strip.
7. The default measurement frequency is 1000 Hz. Adjust the frequency value and observe that the reactance (length of the phasor) gets smaller when you increase the frequency and larger when
2/7
www.ni.com
7. The default measurement frequency is 1000 Hz. Adjust the frequency value and observe that the reactance (length of the phasor) gets smaller when you increase the frequency and larger when
you decrease the frequency. Recall |Xc| = 1/wC.
8. Connect the Impedance jumpers across the capacitor and resistor in series. The phasor has now both a real and imaginary component.
9. Change the measurement frequency from 100, to 500, to 1000, to 1500 Hz and watch the phasor move.
10. Adjust the frequency until the magnitude of the reactance | Xc| equals the magnitude of the resistor, R. At this special frequency, the phasor phase reads 315 or -45 degrees.
11. What is the magnitude of the phasor ____________?
Exercise 3.3: Testing an RC Circuit with the Function Generator and Oscilloscope
Complete the following steps to build and test the RC circuit.
1. On the workstation protoboard, build a voltage divider circuit, using a 1 mF capacitor and a 1.0 kW resistor.
2. Connect the RC circuit inputs to function generator [FGEN] and [Ground] pin sockets on the protoboard. It is important that the function generator is connected to the capacitor and the resistor is
connected to the ground, and not the other way around. This will be explained later.
The power supply for an AC circuit is often a function generator. Use it to test your RC circuit.
3/7
www.ni.com
Function Generator real controls (Frequency) and (Amplitude) are also available on the right side of the NI ELVIS II workstation. As with the variable power supply, you can enable manual control by
clicking on the Manual Mode box [ ]. A green LED on the right side of the workstation comes on to indicate manual control. The Frequency and Amplitude knobs are now active and the virtual
controls are grayed out on the NI-ELVISmx Function Generator window.
Note: The Function Generator also provides some special operations such as signal modulation (AM or FM) or frequency sweeping.
1. Set the Function Generator to Sine wave, 2000 Hz, 2 V pk-pk. Click on Run.
You can use the Scope SFP to visualize and analyze the voltage signals of the RC circuit.
1. From the NI ELVIS II Instrument Launcher strip, select the Scope icon.
4/7
www.ni.com
Note: If the order of the capacitor and resistor is switched, then the circuit will be a low pass filter. This is why it was important to connect the function generator to the capacitor and not the resistor. .
1. Observe how the filtered signal CH 0 changes with respect to the SYNC CH 1 signal in both amplitude and phase as the frequency is swept.
At low frequencies, the signal CH 0 is smaller in amplitude and not in phase with the SYNC signal. At higher frequencies, the amplitude is close to the function generator amplitude and the two
signals are in phase.
1. Close the Function Generator and Oscilloscope windows.
Complete the following steps to build an RC circuit and measure the gain and phase Bode plots of the circuit. Be sure to connect the function generator to the capacitor and not the resistor as this
will change the functionality of the circuit.
With the Bode Analyzer, you can scan over a range of frequencies from a start frequency to a stop frequency in steps of Df. You can also set the amplitude of the test sine wave. The Bode
Analyzer uses the function generator SFP to generate the test waveform. You must connect FGEN output sockets to your test circuit and to AI 1+ and Ground AI 1-. The output of the circuit under
test goes to AI 0+ and Ground. You can find more information by clicking the HELP button on the lower right corner of the Bode Analyzer window.
1. Rebuild the RC circuit on the NI ELVIS protoboard, similar to the following circuit and make the connections as described above.
1. Verify that your circuit is connected as above. Turn on the protoboard power and click on the [Run] button.
5/7
www.ni.com
6/7
www.ni.com
1. On completion, click on the [Save] button. This saves the Multisim Bode plot data as an Excel file.
2. Overlay, in Excel, your data set from Multisim with the data set taken in Exercise 3.4 for the real circuit on NI ELVIS II.
This exercise demonstrates how you can compare a circuit designed with Multisim with the real circuit built on NI ELVIS II.
Related Links
1. Go on to Lesson 4: Op Amp Filters part of the Introduction to NI ELVIS II, NI Multisim and NI LabVIEW Courseware
2. Back to the Introduction to NI ELVIS II, NI Multisim, and NI LabVIEW courseware
3. Watch this introductory NI ELVIS II video to learn more about the education design and prototyping platform
4. Find more courseware on NI ELVIS II, NI LabVIEW, and NI Multisim
7/7
www.ni.com