The PN Junction: Depletion, Bias and Capacitance
Every diode, every bipolar transistor and the body of every MOSFET contains a PN junction: p-type and n-type silicon in one crystal. It conducts in one direction and blocks in the other, its capacitance changes with the reverse voltage (a radio tunes with that), and above some reverse voltage it suddenly breaks down (a Zener regulator relies on that). This lesson explains those behaviours with a few formulas, so the diode models of the next lessons stop being magic.
The junction in equilibrium
Put p-type silicon (holes, fixed negative acceptor ions) against n-type silicon (electrons, fixed positive donor ions). Near the boundary the electrons diffuse into the p side and the holes into the n side, where they recombine. What remains on each side is a thin layer of uncovered fixed ions: negative on the p side, positive on the n side. This depletion region has almost no free carriers, and its charge creates an electric field pointing from n to p that pushes carriers back. Equilibrium is reached when the field's drift exactly cancels the diffusion. The potential step across the region is the built-in potential
typically to in silicon. You cannot measure with a voltmeter: contact potentials at the metal leads cancel it exactly, so an unconnected diode reads .
Bias: forward and reverse
Reverse bias (positive voltage on the n side) adds to the built-in step, widens the depletion region and strengthens the barrier. Only the minority carriers that wander into the field are swept across, a tiny saturation current (picoamperes to nanoamperes in small silicon diodes, proportional to and therefore strongly temperature dependent).
Forward bias (positive on the p side) lowers the barrier by . The number of majority carriers able to cross grows like , because their energies follow the Boltzmann distribution. They arrive as minority carriers on the other side and diffuse away while recombining. The result is the ideal diode equation (Diode Models):
with an ideality factor between 1 and 2. Each (for ) multiplies the current by ten.
Depletion width and junction capacitance
For an abrupt junction the depletion width grows with the square root of the total barrier voltage:
where for silicon, is the junction area and is the applied voltage (negative in reverse). The uncovered charge on each side changes with , so the junction acts like a voltage-dependent capacitor. SPICE writes it as
with for an abrupt junction, about for a graded one, and near . A varactor diode is a junction optimised for this effect and used to tune oscillators and filters with a DC voltage.
In forward bias a second, larger charge appears: the minority carriers stored outside the depletion region. Its diffusion capacitance grows in proportion to the current ( is the transit time, SPICE's Tt). Stored charge is why a silicon diode takes tens of nanoseconds to stop conducting when it is suddenly reversed, the reverse-recovery time, and why Schottky diodes, which store almost none, are faster (Zener and Schottky Diodes).
Breakdown
At a large enough reverse voltage the current rises abruptly. Two mechanisms:
- Zener (tunnelling) breakdown in heavily doped junctions with very thin depletion regions: the field (about ) pulls electrons straight through the gap. Below about ; its breakdown voltage falls as temperature rises.
- Avalanche breakdown in lighter doped junctions: carriers accelerated by the field knock out new electron-hole pairs, which do the same. Above about ; its voltage rises with temperature.
Near to both mechanisms share the work and the temperature coefficients nearly cancel, which is why and "Zener" diodes have the smallest temperature coefficients (within about in Vishay's BZX55 data at , against to at and up to at ; the exact crossover shifts with the test current). Breakdown is not destructive by itself; overheating is.
Worked example
Given: an abrupt silicon junction with , , area , , .
Find: , and and at and at .
Solve:
Check: lies almost entirely on the lightly doped n side (the depletion charge must balance, so the side with fewer dopants depletes further). Quadrupling the barrier voltage roughly halves , as the square root predicts. A few picofarads is typical of a small-signal diode.
In Python
import numpy as np
q, VT, EPS = 1.602e-19, 0.02585, 11.7 * 8.854e-14 # C, V, F/cm (silicon)
NI, NA, ND = 1.0e10, 1e17, 1e16 # cm^-3
A = 1e-4 # cm^2 (100 um x 100 um)
vbi = VT * np.log(NA * ND / NI**2)
print(f"built-in potential: {vbi:.3f} V")
print(" V (V) W (um) Cj (pF)")
for v in [0.5, 0.0, -1.0, -5.0, -10.0]:
w = np.sqrt(2 * EPS * (vbi - v) / q * (1 / NA + 1 / ND)) # cm
cj = EPS * A / w # F
print(f"{v:6.1f} {w*1e4:8.3f} {cj*1e12:8.2f}")built-in potential: 0.774 V
V (V) W (um) Cj (pF)
0.5 0.197 5.25
0.0 0.332 3.12
-1.0 0.502 2.06
-5.0 0.906 1.14
-10.0 1.238 0.84
The row is only indicative: under forward bias the diffusion capacitance soon dominates.
Cross-check with SPICE: a diode's capacitance
The course's small-signal diode model DSIG has Cjo=4p M=0.4 (and the default Vj=1). The deck reverse-biases it with a DC source, adds a AC test signal at , and turns the reactive current into a capacitance, :
cat > cj.cir <<'EOF'
* reverse-biased diode: measure its capacitance with a 1 MHz AC test signal
.model DSIG D(Is=2.52n N=1.752 Rs=0.568 Cjo=4p M=0.4 Tt=20n BV=100 IBV=0.1u)
V1 k 0 DC 0 AC 1
D1 0 k DSIG
.control
foreach vr 0 1 5 10
alter V1 dc = $vr
ac lin 1 1meg 1meg
let c = imag(-i(V1)) / (2 * pi * 1e6)
echo "VR = $vr V: C = amp;c"
end
.endc
.end
EOF
ngspice -b cj.cir 2>&1 | grep '^VR'VR = 0 V: C = 4.00111E-12
VR = 1 V: C = 3.03143E-12
VR = 5 V: C = 1.95344E-12
VR = 10 V: C = 1.53286E-12
The values match : , and . The extra at is the tiny diffusion capacitance at zero current.
Interactive: a voltage-tuned resonator
A varactor in a parallel LC tank sets the resonant frequency . The lab is linear, so it cannot hold a diode: here the junction is replaced by a plain capacitor , and you play the role of the bias voltage by moving its slider over the range the SPICE table found ( to ). With , () gives and () gives .
At the default the output peaks near at , where the tank's impedance is highest. Lower and the peak moves up in frequency.
Guided lab: measure a junction's capacitance
Hand calculation. For a small-signal diode with , expect at and at reverse.
Simulation. The SPICE table and the tank lab above.
What you would measure. A few picofarads is too small for most multimeters, and so is a breadboard's own stray capacitance (a few pF), so use a larger varactor (a BB-series tuning diode, tens of pF) or a power rectifier's junction. Reverse-bias it from a current-limited bench supply through a resistor, couple it with into an LC tank with a inductor driven by a function generator through , and find the resonant peak on a scope as you change the supply from to . Expect the frequency to rise smoothly, roughly as ; scope-probe capacitance (about with a 10x probe) adds to , so subtract it or measure through a small coupling capacitor.
Hazards and safe setup. Up to DC from a current-limited supply; set the limit to . Observe the diode's polarity: forward-biasing it from the supply with only is harmless but gives no tuning.
Pitfalls
- Expecting to measure . It is internal; contact potentials cancel it.
- Treating as constant. It changes by a factor of 2 to 3 over the reverse-voltage range, which distorts large signals in RF and sample-and-hold circuits.
- Confusing breakdown with failure. Breakdown is reversible; the device fails only if overheats it.
Practice
- A junction has at , , . Find at .
- Why does a Zener's breakdown voltage fall as it warms, while a one rises?
- Why does the depletion region extend mostly into the lightly doped side?
Answer
- .
- The part breaks down by tunnelling, which gets easier as the band gap shrinks with temperature; the part breaks down by avalanche, which gets harder because carriers lose more energy to lattice vibrations between collisions.
- The uncovered charge must be equal on both sides, ; fewer dopants per unit volume need a wider layer.
Test yourself
Reverse bias makes the depletion region…
- narrower, with more capacitance
- wider, with less capacitance
- disappear
- unchanged
For , and at 300 K, is about…
Which capacitance dominates a forward-biased silicon diode carrying a few milliamperes?
- junction (depletion) capacitance
- diffusion capacitance from stored minority carriers
- lead inductance
- none
Diodes with the lowest breakdown-voltage temperature coefficient break down at about…
- about to