Summary: The current-voltage sweep is one of the fundamental experiments used to characterize the behavior of a diode. The Diode IV Sweep lab is designed as a laboratory or at-home experiment. Low cost National Instruments Data Acquisition products are used to excite and acquire data from the Diode-Resistor network.
The diode is a basic circuit element that possesses nonlinear IV characteristics. In contrast to a simple resistor, doubling diode current does not necessarily double the voltage across the diode. In order to visualize this nonlinear relationship, it is common to plot diode current vs. voltage on a 2D graph. This graph can also be used at a later point to perform “load line” calculations on circuits with diodes.
In this exercise, the experimenter will construct a simple circuit to measure the IV characteristic of a diode. The Low Cost USB DAQ will be used as a programmable voltage source as well as an analog measurement device. The experimental data collected can be compared to expected theoretical data to draw conclusions regarding measurement noise, model shortcomings, and data acquisition.
One commonly used method of modeling a diode is the “ideal diode model”. Using this model, diode voltage and current are related according to the following formula:
![]() |
Since Is is typically very small (1E-12), this equation is commonly simplified to:
![]() |
Note that in the formula, Is stands for the saturation current which is around 1E-12 A, and Vt is a temperature dependent constant equal to 0.0259 V at 300 degrees K. Id and Vd represent diode current and voltage respectively.
Therefore, a theoretical diode IV curve can be plotted using LabVIEW:
![]() |
1) Construct the following circuit and connect to the USB 6008/6009. By outputting a certain voltage at AO 0 and measuring the voltage at AI 3+, the experimenter can obtain a data point containing diode voltage and current. The diode voltage is simply the voltage at node AI 3+, and the diode current is identical to the resistor current (Ohm’s Law).
![]() |
2) Use a DMM to measure the actual resistance used for R1 in the circuit above (take R1 out of the circuit for measurement). This will help to obtain a more accurate current reading.
3) Using the DAQ Assistant Express VI, construct the following LabVIEW block diagram. Note that the user will be able to select the number of IV data points to collect, as well as the ending sweep voltage for AO 0. Select this voltage low enough to ensure that resistor R1 does not exceed its power specification.
![]() |
4) Run the VI several times using different values for the number of data points and sweep ending voltage. Record your observations and print out three diode IV curves with different numbers of data points.
"This set of six student labs are designed to allow anyone to recreate simple experiments at home to explore electronics and electrical engineering concepts. The software and hardware utilized is […]"