# Analog Devices Wiki

This version (23 Aug 2019 12:13) was approved by amiclaus.The Previously approved version (12 Jul 2019 12:58) is available. # Activity: The voltage dependent capacitance of the PN junction

## Objective:

The objective of this lab activity is to measure the voltage dependent capacitance of a reverse biased PN junction.

## Background:

PN junction capacitance

Increasing the reverse bias voltage, VJ, across a PN junction leads to the redistribution of charge away from the interface leaving a depleted region or layer, W in figure 1. This depleted layer acts like the insulator between the two conducting plates of a capacitor. The thickness, W, of this layer is a function of the applied electric field and the doping concentration. The PN junction capacitance is divided into two components, the barrier capacitance and the diffusion capacitance. Under the conditions of reverse bias free carrier injection does not occur therefore, the diffusion capacitance is equal to zero. The barrier capacitance is the dominant source of capacitance for reverse and small positive bias voltages less than the diode turn on voltage (0.6V for Si). In practice, the barrier capacitance can be as small as a fraction of a picofarad to hundreds of picofarads depending on the area of the junction and the doping concentration. The dependence of the junction capacitance to the applied bias voltage called the capacitance-voltage (CV) characteristic of the junction. In this lab you will measure and plot this characteristic for various PN junctions (diodes).

Figure 1 PN junction depletion region

For further reading on PN junction depletion region:

## Materials:

ADALM2000 Active Learning Module
Solder-less Breadboard
1 - 10 KΩ resistor
1 - 39 pF capacitor
1 - 1N4001 diode
1 - 1N3064 diode
1 - 1N914 diode
Red, yellow and green LEDs
1 - 2N3904 NPN transistor
1 - 2N3906 PNP transistor

## Directions Step 1:

Build the test setup as shown in figures 2 and 3 on your solder-less bread board. The first step is to measure the unknown capacitance Cm with the known C1, we connected between the AWG output and Scope input. The two scope minus inputs 1- and 2- are both grounded. The Scope channel 1+ input is tied to the AWG 1 output, W1, using one row on breadboard. Scope channel 2+ is inserted into a bread board row 8 to 10 rows away from the row that the AWG output is inserted in. The row adjacent to scope channel 2+ and towards the AWG1 row is grounded. This is to minimize any unwanted stray coupling between AWG1 and Scope channel 2. Because the Fly-Wires are not shielded, try to keep the W1 and 1+ wires as far away from the 2+ wire as possible.

Figure 2 Step 1 setup to measure Cm

## Hardware Setup:

Using the Network Analyzer instrument in the Scopy software obtain a gain (attenuation) vs. frequency plot from 5 kHz to 10 MHz. Scope channel 1 is the “filter” input and scope channel 2 is the “filter” output. Set AWG offset to 1V and the Amplitude to 200mV peak-to-peak . The offset value is not important at this point when measuring a simple real capacitor but will be used as the reverse bias voltage when we measure diodes in later steps. Set the vertical scale to start at 1dB to -50 dB range. Run a single sweep and export the data to a .csv file. You should notice a high pass characteristic that has a high attenuation at very low frequencies where the impedance of the capacitor is large compared to R1. At the very high end of the frequency sweep there should be a relatively flat region where the impedance of the C1, Cmcapacitive voltage divider is much lower than R1.

Figure 3 Step 1 setup to measure Cm

## Procedure Step 1:

Figure 4 Scopy shot

We chose C1 to be sufficiently larger than Cstray such that we can ignore Cstray in our calculations but still have a similar value to our unknown Cm.

Open the saved data file in a spreadsheet program (Excel) and scroll to near the end of the data at high frequencies (>1MHz) where the attenuation level is essentially flat. Write down the channel 2 amplitude, this is GHF1(in dB). Since we now know GHF1 and C1 we can use the following equation to calculate Cm. Write down your Cmvalue which we will need when we move to the next step and measure the capacitance of various diode PN junctions. Be sure to include your calculations and the value for Cm in your lab report.

## Directions Step 2:

Now we will measure the capacitance of the various diodes from the ADALP2000 Analog Parts Kit under a range of reverse bias conditions. Build the test setup as shown in figures 4 and 5 on your solder-less bread board. Simply replace C1 with D1, a 1N4001. Be sure to insert the diode with the correct polarity such that a positive offset in AWG1 will reverse bias the diode.

Figure 5 Step 2 setup to measure diode capacitance

## Hardware Setup:

Figure 6 Step 2 setup to measure diode capacitance

Using the Network Analyzer instrument in the Scopy software obtain a gain (attenuation) vs. frequency plot from 5 kHz to 10 MHz for each AWG 1 DC offset value in table 1. Export the data for each sweep to a different .csv file.

## Procedure:

Fill in the rest of Table 1 with the GHF value for each offset voltage value and using the value for Cm and the equation from step 1, calculate the value for Cdiode.

Offset VoltageGHFCdiode
0V
1V
2V
3V
4V

Table 1 Capacitance vs. voltage data Figure 7 Scopy shot with offset at 0V

Replace the 1N4001 diode with the 1N3064 diode from the Kit and repeat the same set of sweeps you just did for the first diode. Fill out another table with your measured data and calculated Cdiode values. How do the 1N3064 values compare to those for the 1N4001 diode? You should include a plot of the diode capacitance vs. reverse bias voltage for each diode you measure in your lab report.

Next replace the 1N3064 diode with one of the 1N914 diodes from the kit. Again repeat the same set of sweeps you just did for the other diodes. Fill out another table with your measured data and calculated Cdiode values. How do the 1N914 values compare to those for the 1N4001 and 1N3064 diodes?

The capacitance you measure for the 1N914 diode should be much smaller than the other two diodes. It might be small enough to be comparable in size to Cstray. If you haven't already gone through the lab on measuring the parasitic capacitance of solder-less breadboards you might want to go back and do that at this point to confirm the value of Cstray in the setup..

## Extra Credit measurements:

Light emitting diodes or LEDs are also PN junctions. They are fabricated from materials other than Silicon so their turn on voltage is much different from normal diodes. However, they still have a depletion layer and capacitance. As extra credit measure the red, yellow and green LEDs supplied in the ADALP2000 Analog Parts Kits as you did the normal diodes. Be sure to insert the LEDs into the test setup with the proper polarity for reverse bias. If you did it wrong you will probably see the LED light up at some point. Include your calculations, a table and plot of your measured capacitance vs. voltage for each LED in your lab report.

## Advanced Credit measurements:

Bipolar transistors (NPN, PNP) also contain PN junctions. The Base - Collector junction is reversed biased under most conditions of operation, This Base - Collector junction capacitance appears from input to output in the common emitter amplifier configuration and can be the ultimate limiting factor in the high frequency bandwidth of such an amplifier. You can measure this capacitance vs. the amount of reverse bias by connecting the base and collector leads of the 2N3904 (NPN) and 2N3906 (PNP) transistors to your test setup. Remember to connect the transistor with the correct polarity such that the C-B is reversed biased.

Include your calculations, a table and plot of your measured capacitance vs. voltage for each transistor in your lab report. Compare your measured C-B capacitance to the manufacturer's data sheet for these transistors. Note, data sheets don't often list the C-B capacitance directly. It is often included as part of the output capacitance or something similar.

Lab Resources

### For Further Reading:

Return to the Lab Activity Table of Contents

university/courses/electronics/electronics-lab-pn-junction-cap.txt · Last modified: 23 Aug 2019 11:46 by andreeapop

### Page Tools

﻿ 