laboratory 5 the diode - syracuse...

12
PHY 351/651 LAB 5 Page 1 PHY351/651 THE DIODE – BASIC PROPERTIES AND CIRCUITS - LAB 5 PHY 351/651 – LABORATORY 5 The Diode – Basic Properties and Circuits Reading Assignment Horowitz, Hill Chap. 1.25 – 1.31 (p35-44) Data sheets 1N4007 & 1N4735A diodes Laboratory Goals In today’s lab activities, you will utilize LabVIEW to explore the basic properties of diodes and to interface with some simple diode-based circuits. As you should have learned from the assigned reading, the diode is an essential component in modern electronics: it is widely used in circuitry for things like signal conditioning, circuit protection and regulation, and signal generation. As well, because the physical properties of diodes are well understood and characterized, they are commonly used as sensitive temperature transducers. (For example, both low temperature labs in the SU Physics department employ silicon diodes for thermometry in cryogenic equipment over a wide temperature range, from ~300 K down to 4 K.) Moreover, from a pedagogical perspective, the diode is very important because it serves as a friendly introduction to the operation of non-Ohmic devices, from which one can then move on to learn about transistors, operational amplifiers, and integrated circuits. The plan for the day is as follows. In the first part of the lab (Activities 1, 2 & 3), you will build two LabVIEW VIs, together which will enable you to measure, store and analyze the IV (current-voltage) characteristics of two common types of diodes: a rectifier diode and a Zener diode. In the second half of the lab (Activities 4 and 5), you will first build a new VI that essentially operates as a two channel digital oscilloscope. Then you will use this VI to observe and characterize the properties of several basic, but important, diode circuits, including the half- wave rectifier and the diode clipper. Today’s learning objectives are as follows: o To gain additional experience in the use of LabVIEW to configure and operate your DAQ for analog input operations. This will include learning how to trigger your AI operation off of an externally applied TTL signal. o To learn how to use LabVIEW to analyze data with a least-squares fitting function. o To become familiar with the properties and operation of two common types of diodes. o To gain additional experience constructing circuits on the 503 proto-typing board. Equipment o PB-503 proto-typing board o BK Precision Function Generator or DG1022 Arbitrary Generator o 1N4007 Silicon Rectifier Diode

Upload: lamtuyen

Post on 06-May-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

PHY351/651LAB5Page1

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

PHY 351/651 – LABORATORY 5

The Diode – Basic Properties and Circuits

Reading Assignment Horowitz, Hill Chap. 1.25 – 1.31 (p35-44) Data sheets 1N4007 & 1N4735A diodes Laboratory Goals In today’s lab activities, you will utilize LabVIEW to explore the basic properties of diodes and to interface with some simple diode-based circuits. As you should have learned from the assigned reading, the diode is an essential component in modern electronics: it is widely used in circuitry for things like signal conditioning, circuit protection and regulation, and signal generation. As well, because the physical properties of diodes are well understood and characterized, they are commonly used as sensitive temperature transducers. (For example, both low temperature labs in the SU Physics department employ silicon diodes for thermometry in cryogenic equipment over a wide temperature range, from ~300 K down to 4 K.) Moreover, from a pedagogical perspective, the diode is very important because it serves as a friendly introduction to the operation of non-Ohmic devices, from which one can then move on to learn about transistors, operational amplifiers, and integrated circuits.

The plan for the day is as follows. In the first part of the lab (Activities 1, 2 & 3), you will build two LabVIEW VIs, together which will enable you to measure, store and analyze the IV (current-voltage) characteristics of two common types of diodes: a rectifier diode and a Zener diode. In the second half of the lab (Activities 4 and 5), you will first build a new VI that essentially operates as a two channel digital oscilloscope. Then you will use this VI to observe and characterize the properties of several basic, but important, diode circuits, including the half-wave rectifier and the diode clipper. Today’s learning objectives are as follows:

o To gain additional experience in the use of LabVIEW to configure and operate your DAQ for analog input operations. This will include learning how to trigger your AI operation off of an externally applied TTL signal.

o To learn how to use LabVIEW to analyze data with a least-squares fitting function.

o To become familiar with the properties and operation of two common types of diodes. o To gain additional experience constructing circuits on the 503 proto-typing board.

Equipment o PB-503 proto-typing board o BK Precision Function Generator or DG1022 Arbitrary Generator

o 1N4007 Silicon Rectifier Diode

PHY351/651LAB5Page2

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

o 1N4735A Silicon Zener Diode o Various resistors and capacitors

o BNC-2120, NI USB-6003 o Hand-held digital multi-meter, banana cables, coaxial cables, and BNC-to-mini-

grabber adapters

Activity 1 – Measuring the Current-Voltage (IV) Characteristics of the 1N4007 Diode As you learned from rout reading assignment, the diode is a non-Ohmic, nonlinear electronic device (Fig. 1). What this means is that the current through a diode and the voltage across a diode are not simply proportional to one another; in fact, the current-voltage (or IV) relationship for a diode is exponential and largely unidirectional (Fig. 1b). Under many circumstances, it can be modeled with the following equation:

𝐼" = 𝐼$ 𝑒&'/)&* − 1 (1)

Equation 1 is known as the Shockley diode equation (named after William Shockley, one of the inventors of the diode). In Eq. 1, 𝐼" is the current through the diode; 𝑉"is the potential difference across the diode (defined, as shown in Fig. 1a, as the potential at the anode side minus the potential at the cathode side); 𝜂 is the emission coefficient, which varies from material to material, and characterizes the nature of the charge transport properties in the diode; 𝑉/ =𝑘1𝑇/𝑒, where 𝑘1 is Boltzmann’s constant, T is the diode temperature, and e is the magnitude of the electron charge; and finally 𝐼$ is known as the reverse saturation current (the magnitude of the current when the diode is reversed biased (i.e. 𝑉" < 0). It is the goal of Activity 1 to verify this relationship for the 1N4007 diode that you have at your station.

PHY351/651LAB5Page3

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

The simplest way to measure the IV characteristics of a diode like the 1N4007 is shown in Fig 2a. Such as circuit would involve using LabVIEW, via GPIB (general purpose interface bus), to both control a variable voltage source to supply 𝑉"and control an ammeter (placed in series with the diode) to measure the current. However, as you know, the computers in this lab are not equipped with a GPIB card, thus we have to use the slightly more complicated (but also more instructional) approach shown in Fig. 2b. To implement the circuit shown in Fig. 2b, you will need to follow these directions:

1. For the tunable voltage source, you have two options: (1) Use the PB-503 positive and negative power supplies; (2) Use LabVIEW analog output functions.

2. Wire up your circuit on the PB-503 breadboard. Be sure to use the resistors that are specified in the circuit diagram; these were chosen specifically to not overload the output of the 503’s power supplies or the USB_6003 (you should look at the specs for these to calculate what the power output is for the configuration in Fig. 2b to convince yourself).

3. Build a LabVIEW program that measures both the voltage across the diode (𝑉") and the voltage across the resistor 𝑅6 (from this, you can calculate 𝐼"); and then plot this data in an xy graph. Note: you may want to incorporate the following features in the LabVIEW program:

• Use a sequence structure to implement first a step that samples the AI channels and saves the data to file; and then a step that retrieves the data from the file and graphs it. Depending on your program, you may also want

Figure1:AdaptedfromDiefenderferFigure5.8.(a)Diodesymbolandlayout;𝑽𝑫 definedfromanodetocathode.(b)TypicaldiodeIVcurves.Noticethedifferenceinscaleforthepositiveandnegativeportionsofthe𝑰𝑫axis.(c)Schematicofthe1N41007silicondiode.Thelocationofthecathodeisindicatedbyanannularband.

PHY351/651LAB5Page4

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

an initial step that fixes the output voltage on one of the AO channels.

• Use a DAQmx read function to take single readings of the two AI channels that you designate for this measurement. Place this in a for loop to make measurements 𝐼" at different diode voltages 𝑉".

• Use the Write to Spreadsheet function to write the data to spreadsheet file. You do not need to follow this advice if you can think of another way to implement the

IV. However, your program must contain the following components:

• A graph of the IV data on the front panel displaying all of the data points that you took in the IV measurement.

• An array indicator on the front panel displaying the same data.

• A control for choosing the name of the file that you save the data to.

• A control for choosing the AI channels for the measurement.

Additional Notes for Activity 1 1. Be sure to measure (and save) the IV curve for both forward and reverse polarity.

2. To identify the terminals of your diode, look for the annular cathode band (Fig. 1c). As the name suggests, this indicates the location of the diode’s cathode.

3. Your resistors are rated for 500 mW, meaning they will start smoking if that limit is exceeded. Thus be sure that each resistor in your circuit dissipates less than 500 mW for each measurement you do (you should calculate this before you start turning the power supply knobs to know what your upper limit is; you should also measure the voltage drop across each resistor for each power supply setting to confirm).

PHY351/651LAB5Page5

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

For Your Lab Report

1. Include an image of the block diagram of your VI. Also include a front panel image for forward bias IV measurements and a front panel image for reverse bias IV measurements.

2. Calculate the maximum power supplied by your source 𝑉: during IV measurements. Also calculate the maximum power dissipated in each of the resistors in the measurement circuit.

3. Comment on whether the knee voltage of the diode in the forward bias measurements is consistent with what you have read for 1N4007 diode.

4. Discuss whether your measurements of the reverse bias diode current are consistent with what you expect for the measurement circuit you are using and typical values for the reverse saturation current 𝐼$ (you will need to look around to find typical values of 𝐼$).

Figure2:CircuitschematicsformeasuringIVcharacteristicsofadiode.(a)Thesimplestway,usingaPCtocontrolaprogrammablepowersupplytooutputthediodevoltage𝑽𝑫;thePCthencontrolsthedigitalammetertoread𝑰𝑫.(b)ThecircuityouwillusetomeasuretheIVcharacteristicsof1N4007.𝑽𝑺 isthehand-tunablePB-503powersupply.𝑹𝟏 = 𝟒𝟕𝟎𝟎𝛀,𝑹𝟐 =𝟒𝟕𝟎𝛀,𝑹𝟑 = 𝟏𝟎𝟎𝛀.

PHY351/651LAB5Page6

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Activity 2 – Fitting Your IV Measurements to the Shockley Diode Equation Using a LabVIEW Least-Squares Fitting Function In Activity 2, you will take the forward biased measurements of the 1N4007 diode that you made (and saved) in Activity 1 and fit them to the Shockley diode equation (Eq. 1). To do this you will take advantage of a built-in LabVIEW least-squares fitting Curve Fitting express VI. If you are not familiar with least-squares fitting techniques, it’s not a problem (I won’t be holding you responsible for understanding the mathematics of it - but if you’re interested please see Essick Chpt. 9). What you should know is that Curve Fitting Express takes a function that you specify (i.e. Eq. 1, 𝐼"(𝑉")), along with your best guess of the unknown parameters of that function (i.e. 𝐼$and𝑎 = 1/𝜂𝑉/here), and then outputs an estimate for the parameters using a least-squares fitting routine.

In order to use Curve Fitting Express you will need to know how to (1) read (import) a spreadsheet file into LabVIEW; (2) Properly index the array that was imported; and (3) convert the indexed data into a format suitable for Curve Fitting VI . I will not give you explicit instructions on how to build this VI, but in the end, your front panel should look something like the front panel VI shown in Figure 3. As you can see, this includes an x-y graph of the data and the fit; there is an array indicator displaying the best fit parameters; and there is a control to choose which spreadsheet file the VI should read the data from. For Your Lab Report

1. Include an image of the front panel and block diagram for your fitting VI.

2. Discuss how your best fit parameters for 𝐼$and1/𝜂𝑉/compare to typical values for the 1N4007 diode (you should find in the literature that 𝜂 ≈ 2 and 𝐼$~1 − 5𝑛𝐴).

Figure3:ImageofthefrontpanelfortheVIusedtofitIVdatafor1N4007toEq.1usingLabVIEW’snonlinearleast-squaresfittingfunction.Note,withtheCurveFittingExpressVI,youarenotabletoinputtheInitialGuessCoefficients–thisVIwasmadewithalower-levelfunction.

PHY351/651LAB5Page7

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Activity 3 – Measuring the Characteristics of the 1N4735A Zener Diode Zener diodes are specially engineered to operate in the avalanche region of operation. Avalanche or reverse breakdown operation occurs when a reverse bias voltage applied to the diode is sufficient to strip bound valence electrons from their host nuclei; the freed electrons are accelerated and collide with other atoms, ejecting more bound electrons, which results in a cascade of current. The characteristic voltage at which this occurs is known as the reverse breakdown voltage. For diodes like the 1N4007, which you just measured, exceeding the reverse breakdown voltage could likely cause damage to the diode. However, Zener diodes are designed specifically to operate in this regime. And, as seen in Figure 4, when the reverse breakdown voltage (also known as the Zener voltage for Zener diodes) is exceeded, the reverse current through the diode is nearly independent of the applied voltage. In this activity, you will use the diode measurement VI from Activity 1 to observe the IV characteristics of the 1N4735A silicon Zener diode. You should perform measurements of both the forward biased mode of operation and the reverse biased mode. You can use the same measurement circuit (Fig. 2b) that you used in Activity 1. However, note that the 1N4735A has a Zener voltage of 𝑉Q = 6.2𝑉. Thus, when measuring the reversed biased mode, in order to observe the avalanche region, you will need to remove the voltage divider in order to supply a largest enough reverse bias.

𝑉"

𝑅 = 100Ω

𝑅( = 10kΩ AI11N4735A

(a)

(b)

Figure4:(a)TakenfromDiefenderfer,Chpt.5,Fig.5.18.AnillustrationoftheavalancheeffectinaZenerdiode.(b)Simplecircuittoillustratevoltageregulationusingazenerdiode.

PHY351/651LAB5Page8

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Finally, to get an idea of the usefulness of Zener diodes, construct the circuit shown in Figure 4b. Use your VI from Activity 1 to measure the voltage across resistor 𝑅T as a function of the voltage 𝑉:. (Be sure to record 𝑉: using one of the AI input channels in your VI.) What you should see as you increase 𝑉:is that above 𝑉:~6𝑉, the voltage across 𝑅T remains constant (Be careful not to increase 𝑉: above 10 V, or you will risk overloading the power supply).

This is a very simple illustration of using a Zener diode as a voltage regulator. While it wouldn’t be practical to use this specific circuit for an application that required tight regulation of a circuit voltage (for instance, the voltage is completely unregulated below 𝑉Q), my research group uses a similar circuit to limit the maximum voltage that can be applied to a very sensitive amplifier in order to protect the amplifier from damage due to voltage spikes.

For Your Lab Report 1. Include an image (or graph) of your data for the forward bias characteristics of the

1N4735A Zener diode. Also include an image (or graph) for the reverse bias characteristics illustrating the avalanche mode of operation.

2. Include an image or graph of your data for the voltage regulation circuit in Figure 4b.

Optional: Activity 4 – Building a Digital Oscilloscope VI with the Capability for Triggering off of an External TTL Signal In Activity 5, you will investigate the operation of several basic diode-based circuits. In order to do this, you will first need to construct a VI that enables you to continuously measure and display time-varying voltages on your analog input channels; essentially you need to construct a digital oscilloscope VI. Just like a physical digital oscilloscope, your virtual digital oscilloscope will need to have the capability to trigger off of an external signal in order to properly align each voltage-versus-time trace from one reading of the buffer to the next. To implement this triggering capability, you will need to use the same DAQmx VIs that you used in Lab 4: Create Virtual Channel, Timing, Read, and Clear. However, unlike Lab 4, you will not create a circular buffer, but instead should place AI Read inside a while loop and program it to acquire a finite number of scans for each iteration of the while loop. In addition, you will need to configure the triggering options for the data acquisition by using the DAQmx Trigger function; set it so that that the DAQ starts acquiring data on either the rising edge or falling edge of a TTL signal that you supply to digital pin PFI0 or PFI1 (see the USB-6003 specs for these pins’ locations). See Essick Chapter 11 for the correct placement of the Trigger VI in your block diagram. Note: You will use the sync output of your function generator to provide the signal to PFI0 when it comes time to test out your oscilloscope.

In the end, your oscilloscope VI should look something like the VI in Fig. 5. In order to carry out Activity 5, it should definitely have the following:

1. Waveform chart or graph that updates continuously and displays two AI channels. 2. Controls to select the triggering channel and to select the trigger edge.

3. Controls for the analog channel scan rate and number of samples. 4. A Boolean control for stopping the acquisition process.

PHY351/651LAB5Page9

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Activity 5 – Building and Characterizing Some Important Diode-Based Circuits

In this activity, you will build and characterize the three circuits shown in Figure 6. These circuits are: the half-wave rectifier (Fig. 6a); the diode clipper (Fig. 6b); and the full-wave rectifier (Fig. 6c). In order to make these measurements, please follow these guidelines:

1. Use your function generator to provide the input signal 𝑣VW to your circuit. As well, use the sync output to provide the trigger signal.

2. Measure 𝑣VWusing one of the AI input channels you have designated in your oscilloscope VI. And measure 𝑣XYZ using the second AI channel.

Figure5: Front panelVI ofavirtualdigital oscilloscope. In thedisplayed state, theVI runscontinuously;itdigitizessignalsontwoanaloginputchannelsatarateof1000Scans/s,storesthesamplesinabuffer,andthenreadsthemallatoncefromthebufferintoLabVIEW.Oncethedataisreadfromthebuffer,theacquisitionstartsalloveragainafterthedigitalI/OchannelPFI0seesarisingedgeofanexternallysuppliedTTLpulse.Thesignalsshowninthewaveformgraphdemonstratetheoperationofafull-waverectifiercircuit(seeFig.6c).Thewhitetraceisthe40HzACsignalinputtotherectifier;theredtraceistherectified(unidirectional)output.NoteinolderversionsofLabVIEWPFI0isdenoted“digitalA”.

PHY351/651LAB5Page10

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

3. For the diode clipper circuit, use the PB-503’s positive and negative power supplies to provide the circuit biases 𝑉T and 𝑉[.

4. When you are ready to build the full-wave rectifier, contact the instructor; he will provide you with the additional diodes that you need to put it together (unfortunately, there may not be enough to go around).

5. ***Important: The capacitors that you will use are electrolytic capacitors. Such capacitors have a polarity (the negative terminal is marked with a minus sign). In order to insure that they do not explode, you must connect them so that the negative terminal is connected to a point in the circuit at lower potential than the point to which the positive terminal is connected. ****

For Your Lab Report

1. Include images of the front panel of your oscilloscope VI for each one of the circuits. In those images, the waveform graph should display both 𝑣VW and 𝑣XYZ. For the case of the half-wave and full-wave rectifiers, please provide an image for when the capacitor C is present and an image for the capacitor is removed. (For example, Figure 5 shows the VI waveform graph for the full-wave rectifier when the capacitor is not present; and Figure 7 shows the waveform graph for the full-wave rectifier when the capacitor is present. You should do something similar.)

2. For the half-wave and full-wave rectifier circuits, measure the ripple and compare to what you estimate given your circuit parameters.

PHY351/651LAB5Page11

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Figure6:DiodecircuitsforActivity5.(a)Half-waverectifier.(b)Diodeclipper.(c)Full-waverectifier.Usethefollowingparameters:𝑹𝑳 = 𝟏 − 𝟏𝟎𝒌𝛀;𝑪 = 𝟏𝟎𝟎 − 𝟐𝟎𝟎𝝁𝑭.For𝑹, 𝒗𝒊𝒏,𝑽𝟏,and𝑽𝟐,youshoulddeterminewhatvaluestousebaseduponwhatyoulearnedinyourreadingassignment.Forthesignalfrequency,trysomethingintherangeof10–100Hz.

PHY351/651LAB5Page12

PHY351/651 THEDIODE–BASICPROPERTIESANDCIRCUITS-LAB5

Figure7:OscilloscopeVIfrontpanelshowingtheresponseofthefull-waverectifierinFig.6cwhena100𝝁𝑭capacitorisshuntingtheoutput.Theredtraceistherectifiedsignal𝒗𝒐𝒖𝒕.Thewhitetraceistheinputsignal𝒗𝒊𝒏.