Objective: In your lab notebook, write a few sentences stating your objective in conducting this laboratory exrercise. Consider the following questions:
What kind of circuit(s) or components are you exploring?
To date we have used only linear circuit elements in lab: resistors, capacitors, and inductors. In this experiment, we take up the diode, a nonlinear device. Diodes provide signal conditioning, voltage regulation, and the conversion of AC voltages and currents into DC. In this experiment, you will measure a silicon diodeβs βI-V characteristicβ using the circuit pictured in FigureΒ 14.5.1.
In this experiment, you need to collect many data points to construct the I-V characteristic for your diode. You can either do this using a DC supply for your input, collecting point-by-point the diode voltage drop \(V_D\) and associated diode current \(I_D\) as you vary the DC supply. This process is very slow. So, we will instead use a sinusoidal voltage source as \(V_\text{in}\) and collect time traces for \(V_D\) and \(I_D\text{.}\) We will export this data to a computer and then use Python to generate the I-V characteristic.
Obtain a 1N4001 silicon diode and test its function with the multimeter set to its diode-testing mode. In this mode, the DMM checks the effective resistance of a diode by attempting to force a positive current out through its β+β or red lead, through the external diode, and back into its β-β or black lead. When the DMM displays a small result such as 0.5V, one may infer that the red lead is connected to the anode (or p-type semiconductor) and the black lead to the cathode (or n-type semiconductor) of the diode, and that the diode is conducting in its βeasyβ direction. If, instead, a large off-scale indication of β.OLβ is displayed, then the diode is reverse-biased. Note how the diode is marked to indicate which end is the anode.
Save your data to a USB flash drive. The oscilloscope can export data in several formats. For our purposes it is best to save and export the actual digitally sampled data points (as opposed to an image file of the display) so that we can plot, manipulate, and analyze the data using a program like Excel or LoggerPro. This requires that we save the data in channels one and two separately.
Press the RUN/STOP button to capture the data and to make sure that you are saving the data you want.
Press the SAVE/LOAD button and, from the menu options figure out how to save the CH1 and CH2 data (in separate files) to a spreadsheet format file (such as a .csv file). Make note of the filename for each channel. The instructions depend on the oscilloscope type. Try one of the following:
SAVE/RECALL \(\rightarrow\) TYPE (CSV), press βConfirmβ and follow the rest of the menu options to save a new file.
Load your data into a spreadsheet file (which you can upload to your lab notebook as a file; no printout is necessary). Examine how the data is formatted and determine the meaning of each column of data.
Write a program in Python to load your data, extract \(V_D\) and \(I_D\) from the data you collected, and plot your I-V characteristic. Make sure to label your axes and include units.
Add to your Python program above the ability to produce a second plot, this time of \(V_\text{in}\text{,}\)\(V_\text{out}\text{,}\) and \(V_D\) vs \(t\) on the same axes using different colors for each signal. Ensure that your axes are labeled (with units!) and that you include a legend.
Note: This result illustrates the ability of diodes to βrectifyβ oscillating voltages, converting symmetric AC signals into signals that, on average, have a DC component. The present circuit is called a half-wave rectifier. In this case, the diode acts to turn off current flow for one half of each input cycle. In the next experiment, you will construct a full-wave rectifier that effectively outputs the absolute value of the input voltage.
Produce a third plot in Python that shows \(I_D\) vs \(t\text{.}\) Ensure that the time range shown matches the range in the previous voltage vs time plots.