Professional Documents
Culture Documents
2010 A. Ganago
Introduction Page 1 of 4
2010 A. Ganago
Introduction Page 2 of 4
Introduction
In this lab, you will work with Multisima powerful and user-friendly software package for circuit simulation and data analysis, which is fully integrated with NI ELVIS II. As soon as you learn new theory, you can: 1. Start using the new concepts to simulate a circuit with Multisim, and compare results of simulations with the results you can obtain with other tools for circuit analysis. 2. Build the same circuit on your NI ELVIS II prototyping board, collect data from your circuit, and compare your real-world data with the results of your simulations. This integrated approach to learning new material helps you to develop intuition along with mastering hands-on skills and problem-solving strategies. Along with deeper understanding of circuit theory, you will practice circuit design and troubleshooting valuable for your future careers. Note that you can simulate your circuit using an ideal component such as ideal diode that behaves exactly as the theoretical model predictsor you can take advantage of the database integrated in Multisim and model your circuit with a real diode whose characteristics are provided by its manufacturer. Comparison between the results of such simulations can provide you with a valuable insight into the accuracy of theoretical model as well as guidance in choosing specific types of components for your particular application. Running several simulations with various types of diodes will probably save you time and money in building better circuits for your projects. In this lab, we will revisit the concept of nonohmic voltage-current dependence in a semiconductor diode and reinforce it with two types of simulationsfor the ideal diode, which is called DIODE_VIRTUAL and one of the real diodes1N914; in your experiments with NI ELVIS II prototyping board you will also build a circuit with 1N914. Secondly, we will explore the Wheatstone bridgea very useful circuit for measurement and control with resistive sensors.
2010 A. Ganago
Introduction Page 3 of 4
Lab 2: Introduction to Multisim As seen from the diagrams, the Wheatstone bridge is simply a pair of voltage dividers, thus its output voltage is easy to calculate:
R4 R 4 R4 1 = VS = VS V1 = VS R1 + R 4 R1 R 4 R1 R +R R +1 4 4 4 R3 R 3 R3 1 = VS = VS V2 = VS R2 + R3 R2 R3 R2 + R R R +1 3 3 3 R 2 R1 R R 3 4 1 1 = VS = V1 V2 = VS R2 R 1 R 2 R1 R + 1 R + 1 + 1 + 1 3 4 R 4 R 3
VOUT
Note that the output voltage is zero, regardless of the source voltage, if the ratios of R R resistances in two voltage dividers equal each other 2 = 1 . This is called a balanced R3 R4 Wheatstone bridge. Suppose that R 1 is variable while other 3 resistors are constant. Then the output voltage is R R R R R R positive if 1 < 2 ; the output is negative if 1 > 2 , and vanishes if 1 = 2 . The R4 R3 R4 R3 R4 R3 Wheatstone bridge whose output signal is nonzero, is called unbalanced.
B B
Note that the output voltage of the Wheatstone bridge circuit is directly proportional to the source voltage. If the source is DC (with voltage independent of time), such as a battery, the output is DC voltage as well. If the source is AC (time-dependent voltage), for example, sinusoidal voltage VS = VS,max sin(2 f t ) with the peak value VS,max , at the frequency f Hz, the bridge output voltage will also be sinusoidal, at the same frequency. It is easier to detect small output signals of an unbalanced bridge using sinusoidal voltages instead of DC, to separate useful signals from noise by filtering, etc.
2010 A. Ganago
Introduction Page 4 of 4
Pre-Lab Work
The assignments you have to bring to the lab are typed in bold font.
In the diode selection window, click on the Diodes_Virtual family, then place a DIODE_VIRTUAL onto your circuit. Select the Diode family and place a 1N914 diode onto your circuit. Click the add I-V Analysis and place the I-V Analyzer tool into the circuit. Do this again to add another I-V Analyzer.
2010 A. Ganago
Pre-Lab Page 1 of 5
Run the simulation by clicking the green triangle button. You should allow it to run for a few seconds in order to get an accurate picture of the IV characteristics. Stop the simulation. Open the Grapher tool to view the simulation results (found in the View menu). You can switch between the two IV graphs by clicking the respective tabs. NOTE: if you make a mistake and have to run the simulation again, you will have more than two tabs. The most resent results will be displayed on the furthest right. You can delete the old simulation results by doing Clear Pages (found in the Edit menu) and then selecting the graphs you no longer want. Export the results of each graph to Excel (found in Tools menu). If the option is grayed out, then click on the graph and try again. #1. Print out the voltage-current plot for DIODE_VIRTUAL. #2. Print out the voltage-current plot for 1N914. #3. Create a plot that shows the power consumption by each of the diode (as function of voltage applied to the diode) to turn in as part of your pre-lab. #4. Write a brief comparison between the results of 2 simulations. Explain which one you consider more realistic and why.
2010 A. Ganago
Pre-Lab Page 2 of 5
The red wire is connected to the VPSs Supply+ terminal, the black wire is connected to the VPSs Ground terminal, the yellow wire is connected to the DMMs V terminal, and the green wire is connected to the DMMs COM terminal. Double click on the VPS and DMM icons to bring up their respective VIs. On the VPS VI, set SUPPLY+ to be 6V and ensure the device is Multisim. On the DMM VI, ensure the device is Multisim and click the green V to set the DMM to DC voltage mode.
2010 A. Ganago
Pre-Lab Page 3 of 5
Lab 2: Introduction to Multisim Run the simulation. #5. Record the value of the output voltage across the balanced bridge measured with the DMM. #6. Change R4 to be 205. Rerun the simulation and record the new value across the bridge. #7. Change R4 to be 210. Rerun the simulation and record the new value across the bridge. #8. Save you circuit. You will need the file for the in-lab, so make sure you bring it with you. #9. Calculate the output voltage values expected for #6 and #7. Briefly discuss the agreement/disagreement between the results of your theoretical calculations and the results of your circuit simulations.
Unclear whether students have to sweep the source voltage (as sample data show) or just use one value (then only a part of sample data is needed). Also, is it correct to assume that answer to #8 is simply the diagram shown on page 3 of this file?
2010 A. Ganago
Pre-Lab Page 4 of 5
The red wire is connected to the FGEN pin and OSCOPE CH0+, the black wire is GROUND and OSCOPE CH0, the yellow wire is OSCOPE CH1+ and the green wire is OSCOPE CH1. #10. Record the value of the output voltage across the balanced bridge measured with the oscilloscope. #11. Change R4 to be 205. Rerun the simulation and record the new value across the bridge. #12. Change R4 to be 210. Rerun the simulation and record the new value across the bridge. #13. Save you circuit. You will need the file for the in-lab, so make sure you bring it with you. #14. Use the results of your calculations in #9 above. Explain whether the output voltages for #6 and #7 should equal those for #11 and #12. Briefly discuss the agreement/disagreement between the results of your theoretical calculations and the results of your AC circuit simulations.
2010 A. Ganago
Pre-Lab Page 5 of 5
In-Lab Work
Part 1: IV Characteristics of a Diode
Section 1.1: Diode Characteristics
Turn on the NI ELVIS II Wire a 1N914 diode to the DMM/Impedance Analyzer (terminal strips 29 and 30). Power on the PB. Open the NI ELVISmx Instrument launcher and run the Two-Wire CurrentVoltage Analyzer Set the settings as follows:
Run the VI. Log the data and create a printout of the plot. Power off the PB.
2010 A. Ganago
In-Lab Page 1 of 6
2010 A. Ganago
In-Lab Page 2 of 6
This will give you 7.5 seconds to record a data point. If you would like longer, then increase the step interval. On the VPS, click the Sweep button to start the VI. Record the DMM voltages in the table on the next page. Repeat the measurements for a 10 unbalance and a balanced bridge. Power off the PB.
2010 A. Ganago
In-Lab Page 3 of 6
V IN (V)
B B
V OUT (mV) 5
B B
V OUT (mV) 10
B B
0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50 4.00 4.50 5.00 5.50 6.00
2010 A. Ganago
In-Lab Page 4 of 6
On the OSCOPE VI, set the device to Multisim. Run the simulation. Adjust the Volts/div and Time/div settings on the OSCOPE VI to view the signals. Once you have the data, stop the simulation. On the FGEN VI, set the device to NI ELVIS II. Run the FGEN VI. On the OSCOPE VI, set the device to NI ELVIS II. Also change the Channel 0 and 1 sources to AI 0 and 1 respectively. Run the OSCOPE VI. Check the Simulated Data and Real Data boxes so that both the simulation and real data are simultaneously displayed on the plot. Log the data and create a printout of the plot. Repeat this section with both the 10 unbalanced and balanced bridge circuits. Make sure you change the resistor values in the simulation as well.
2010 A. Ganago
In-Lab Page 5 of 6
This is the end of the lab. Power off the PB and NI ELVIS II and clean up your workstation.
2010 A. Ganago
In-Lab Page 6 of 6
Post-Lab
1. Compare your In-Lab Part 1 data with your pre-lab results in #1, #2. Briefly discuss the agreement and/or disagreement between both simulations and your real data. 2. Typically, when students do Section 2.2 measurements on the balanced Wheatstone bridge in the lab, they obtain nonzero output voltages. Explain why. 3. Use the actual resistances measured in the lab and calculate the output voltages expected for 6 V DC input in the following circuits: the balanced Wheatstone bridge the bridge with R4 = 205 the bridge with R4 = 210 .
Compare the results of your calculations with your lab data obtained in Section 2.2. Briefly discuss the agreement and/or disagreement between them. 4. When students do experiments in Section 2.3, they usually obtain two pairs (input and output) of traces on each oscilloscope screenshot: one that belongs to pre-lab simulations and the other that shows the lab data. The input measured with the oscilloscope in the lab differs from the expected 6 V p-p set on the function generator because the total resistance of the bridge circuit is small and loads the function generators output. The output is proportional to the input, and it also depends on the actual (not nominal) resistances in the bridge circuit. These two causes of discrepancies between simulation and real data can be taken into account. Redo your pre-lab simulation for the bridge with R4 = 210 making both corrections:
(1) Instead of the 6 V p-p input, use the actual V p-p of the input signal that you measured with oscilloscope in the lab, and (2) Instead of nominal resistances, use the actual ones measured in the lab. Compare the results of new simulation with your lab data and comment on whether the agreement improved. This is the end of required Post-Lab. Optional (extra credit) assignments are on the next page.
2010 A. Ganago
Post-Lab Page 1 of 2
Lab 2: Introduction to Multisim Optional (extra credit) assignments 5. Explain the difference of output voltages expected in the Wheatstone bridge circuits: A. R1 = R2 = 100 , B. R1 = R2 = 100 , R3 = 200 , R3 = 210 , R4 = 210 R4 = 200
Confirm your explanation with analytic calculations and/or Multisim simulations. 6. Compare the result of #5 above with your lab data in Section 3.1. 7. Explain the difference of output voltages expected in the Wheatstone bridge circuits: C. R1 = R2 = 100 , D. R1 = 110 , R3= 200 , R4 = 210 R2 = 100 , R3 = R4 = 200
Confirm your explanation with analytic calculations and/or Multisim simulations. 8. Compare the result of #7 above with your lab data in Section 3.2. 9. When your Wheatstone bridge (which was originally balanced) is unbalanced by adding 10 to resistance R4 = 200 , the output voltage changes from 0 to V4. When your Wheatstone bridge (which was originally balanced) is unbalanced by adding 10 to resistance R1=100 , the output voltage changes from 0 to V1. Why does V1 not equal V4?
2010 A. Ganago
Post-Lab Page 2 of 2