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?
What is new about this circuit as compared to circuits previously studied?
What theoretical predictions do you have regarding circuit behavior?
What effects do you expect to observe?
Your answers should be specific to the type of circuit you are examining, but do not discuss specific component values.
Equipment: Proto-board, digital oscilloscope, DMM, 1N4001 silicon diode, 10k\(\Omega\) resistor.
Introduction.
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.
Figure14.5.1. Before conducting the experiment, discuss the following topics in your lab notebook:
How does a single diode behave in a circuit?
What should the I-V characteristic look like? Provide a rough sketch.
EXPERIMENT.
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.
Unplug your prototyping board. You will not need to plug it in for this experiment.
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.
Proceed to construct the circuit shown in Figure 14.5.1.
Attach the oscilloscope probes so that CH1 measures \(V_\text{in}\) and CH2 measures \(V_\text{out}\) in Figure 14.5.1.
Q: What will you need to do in Python to extract \(V_D\) from your data?
Q: What will you need to do in Python to extract \(I_D\) from your data?
Connect your waveform generator to your circuit and set it to produce a 60Hz sinusoidal signal that varies between \(\pm 5\)V.
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.
Insert your flash drive into the USB port on the front of the oscilloscope.
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.
SAVE/RECALL \(\rightarrow\) EXTERNAL STORAGE \(\rightarrow\) NEW \(\rightarrow\) NEW FILE \(\rightarrow\) SAVE AS CSV \(\rightarrow\) SAVE.
Turn off your waveform generator and oscilloscope.
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.
P: Include your I-V characteristic in your lab notebook.
Q: Discuss similarities and differences between your measured I-V characteristic and the ‘cartoon’ behavior displayed in Figure 4.2.2.
Q: Discuss similarities and differences between your measured I-V characteristic and the more realistic behavior shown in Figure 4.2.4.
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.
P: Include your plot of input, output, and diode voltage signals in your notebook.
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.
P: Include your plot of \(I_D\) vs \(t\) in your notebook.
Provide a discussion in your lab notebook based on guidelines provided in Chapter 10