School/□ Systems Engineer/Elective · ARCH-410
The PN junction: a one-way door for current
Glue a slab of p-type silicon to n-type silicon and, without any battery, a voltage appears across the joint. Where does it come from, and why does it make current flow only one way?
About 45 min · 4 goals · Checked by automated tests
1.Why should I care?
Every diode, LED, solar cell and transistor contains PN junctions. The MOSFETs in a CMOS gate sit on junctions that must stay reverse biased; an LED is a junction that turns crossing electrons into light; a solar cell runs the same junction backwards. Understanding one junction explains why a silicon diode 'drops about 0.6–0.7 V', why reverse current is tiny, and why chips leak more when they get hot.
- ◇ Explain how diffusion of carriers creates a depletion region and a built-in potential.
- ◇ Calculate the built-in potential with V_bi = V_T·ln(N_A·N_D/n_i²).
- ◇ Describe forward and reverse bias using the barrier (band) picture and the depletion width.
- ◇ Use the Shockley equation I = I_S(e^(V/(n·V_T)) − 1) to find a diode's current or voltage.
2.Predict
A silicon diode carries 1 mA at 0.655 V. Roughly what forward voltage would it need to carry 10 mA?
Guess first. Being wrong here is how the surprise works.
3.Discover
Start at 0 V and read the built-in potential for medium doping. Slide into reverse bias (negative V) and watch the depletion region widen while the current stays at a few femtoamps. Then slide forward past 0.6 V: when does the current become visible on the 20 mA scale?
Loading the interactive…
Can't use the interactive? Read a description instead
The junction explorer shows a p-type block (holes) joined to an n-type block (electrons) with a dashed depletion region between them whose width changes with bias, and an I–V curve below it with a dot at the present bias. A slider sets the bias from −1 V to +0.8 V; buttons choose light, medium or heavy doping. A readout gives the built-in potential (0.655 V, 0.774 V or 0.952 V), the depletion width relative to zero bias, √((V_bi − V)/V_bi), and the current from the Shockley equation with I_S = 10 fA. In reverse bias the region widens and only about −10 fA flows; forward current becomes visible above about 0.6 V and reaches several milliamps by 0.7 V.
4.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
What is left in the depletion region of a PN junction at zero bias?
Practice 2 · a fresh version every time
A silicon PN junction at 300 K has N_A = 2 × 10^18 cm⁻³ on the p side and N_D = 2 × 10^14 cm⁻³ on the n side. Taking V_T = 25.85 mV and n_i = 1.0 × 10^10 cm⁻³, what is the built-in potential V_bi, in volts? (3 decimal places)
5.Watch
→ Watch for why holes and electrons cross the junction at first, and what stops them: the electric field set up by the ions left behind.
Khan Academy on the p–n junction and the depletion region.
10 min 5 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
The video is optional: everything you need is also in the lesson text and the interactive.
6.Understand
Two kinds of doped silicon
Adding a few boron atoms per million makes p-type silicon with mobile holes (N_A acceptors per cm³). Adding phosphorus makes n-type with mobile electrons (N_D donors per cm³). Each piece is electrically neutral on its own: every mobile carrier is balanced by a fixed ion in the crystal.
Diffusion builds a barrier
Put them together and electrons diffuse from the n side into the p side, holes the other way, and they recombine near the joint. That leaves a thin depletion region with no mobile carriers, only fixed ions: positive on the n side, negative on the p side. Those charges create an electric field pointing from n to p that pushes carriers back. Equilibrium arrives when the field's push balances diffusion. The voltage across the region is the built-in potential, V_bi = V_T·ln(N_A·N_D/n_i²), about 0.6–0.9 V for silicon. A voltmeter cannot read it: contact potentials at the metal leads cancel it.
The band picture
Draw electron energy across the junction. On the n side the conduction band (where free electrons live) sits low; on the p side it sits higher by q·V_bi, so the bands bend through the depletion region like a hill. Electrons must climb the hill to cross. Forward bias (p positive) lowers the hill and narrows the region; reverse bias raises it and widens it. In the simple abrupt model the width scales as √(V_bi − V).
The Shockley equation
Lowering the barrier by V lets exponentially more carriers over it: I = I_S(e^(V/(n·V_T)) − 1). I_S is a tiny saturation current (femtoamps for a small silicon diode), V_T = kT/q ≈ 25.85 mV at 300 K, and the ideality factor n is between 1 and 2 for real diodes. In reverse bias the exponential vanishes and I ≈ −I_S. I_S roughly doubles for every 5 to 10 °C, so hot junctions leak much more.
Explain it another way
Think of two crowded rooms joined by a doorway, one full of red balls (holes) and one of blue (electrons). They spill through the doorway and cancel, leaving an empty strip with charged walls that pushes the rest back. Push from one side (forward bias) and the strip shrinks so traffic floods through; push the other way and it widens so almost nothing crosses.
In equilibrium the Fermi level is flat across the junction, so the band offset equals q·V_bi = kT·ln(N_A·N_D/n_i²). Poisson's equation for an abrupt junction gives a triangular field and a depletion width W = √(2ε(V_bi − V)(N_A + N_D)/(q·N_A·N_D)). Under bias, minority-carrier concentrations at the depletion edges are raised by e^(V/V_T) (the law of the junction); diffusion of those minority carriers gives the ideal Shockley current.
N_A = 10¹⁶, N_D = 10¹⁷ cm⁻³, n_i = 10¹⁰: N_A·N_D/n_i² = 10³³/10²⁰ = 10¹³, ln(10¹³) ≈ 29.93, V_bi ≈ 0.02585 × 29.93 ≈ 0.774 V. For I_S = 10 fA, n = 1: V at 1 mA = 0.02585 × ln(10⁻³/10⁻¹⁴) = 0.02585 × 25.33 ≈ 0.655 V. Reverse bias of 5 V widens the depletion region by √((0.774 + 5)/0.774) ≈ 2.73×.
Rectifiers in phone chargers use junctions as one-way valves. The source and drain of every MOSFET are junctions held in reverse bias, so their leakage sets a chip's standby power. Varactor diodes use the bias-dependent depletion width as a tunable capacitor in radios. Solar cells and photodiodes collect carriers generated by light in the depletion region's field.
Derivation: Where V_bi = V_T·ln(N_A·N_D/n_i²) comes from
In equilibrium the electron current is zero: the drift caused by the junction field exactly cancels diffusion down the concentration gradient. The same holds for holes.
Zero net current means electron concentration follows a Boltzmann distribution with electric potential φ: n(x) ∝ e^(φ(x)/V_T), where V_T = kT/q.
So the ratio of electron concentrations on the two sides fixes the potential difference: n_n/n_p = e^(V_bi/V_T), i.e. V_bi = V_T·ln(n_n/n_p).
Far from the junction, the n side has n_n ≈ N_D and the p side has n_p = n_i²/N_A (from the mass-action law n·p = n_i²).
Substitute: V_bi = V_T·ln(N_D·N_A/n_i²). Heavier doping on either side raises V_bi, but only logarithmically.
Worked example 1
Find V_bi for a silicon junction with N_A = 10¹⁵ cm⁻³ and N_D = 10¹⁶ cm⁻³, and again with both sides at 10¹⁸ cm⁻³.
Light: N_A·N_D/n_i² = 10³¹/10²⁰ = 10¹¹, ln ≈ 25.33, V_bi ≈ 0.02585 × 25.33 ≈ 0.655 V. Heavy: 10³⁶/10²⁰ = 10¹⁶, ln ≈ 36.84, V_bi ≈ 0.952 V. A thousandfold more doping on each side added only about 0.3 V.
Worked example 2
A diode has I_S = 10 fA and n = 1. Find the current at 0.65 V and at 0.70 V.
At 0.65 V: V/V_T = 0.65/0.02585 ≈ 25.15, e^25.15 ≈ 8.3 × 10¹⁰, I ≈ 10⁻¹⁴ × 8.3 × 10¹⁰ ≈ 0.83 mA. At 0.70 V: e^(27.08) ≈ 5.8 × 10¹¹, I ≈ 5.8 mA. Fifty extra millivolts gave about seven times more current.
Common mix-ups
- The built-in potential can be measured with a voltmeter across the diode, like a battery.
✓ It is real inside the junction, but the contacts between the metal leads and the silicon add potentials that cancel it, so no current flows and a meter reads 0 V. - A silicon diode has a fixed 0.7 V drop and no current below that.
✓ Current rises exponentially and continuously with voltage. '0.7 V' is just where a small diode's current reaches the milliamp range. - In reverse bias, no current flows at all.
✓ A tiny saturation current (≈ −I_S, plus leakage) flows. It grows quickly with temperature, which is why chips leak more when hot.
7.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 3 · a fresh version every time
A diode has saturation current I_S = 5 fA and ideality factor n = 1.5. Using I = I_S(e^(V/(n·V_T)) − 1) with V_T = 25.85 mV, what current flows at a forward voltage of 0.98 V, in mA?
Practice 4 · a fresh version every time
A diode with I_S = 5 fA and ideality factor n = 2 must carry 10 mA. With V_T = 25.85 mV, what forward voltage does the Shockley equation predict, in volts? (3 decimal places)
Practice 5
What does increasing the reverse bias on a junction do (well below breakdown)?
Practice 6 · a fresh version every time
In a simplified abrupt-junction model the depletion width W is proportional to √(V_bi − V). A junction with V_bi = 0.81 V has W = 0.6 µm at zero bias. What is W at a reverse bias of 14 V (so V = −14 V), in µm?
8.Apply it
An LED indicator needs about 5 mA. Model it as a diode with I_S = 10⁻²⁰ A and n = 2 (a rough red-LED model). Use the Shockley equation to estimate its forward voltage at 5 mA, then size the series resistor from a 5 V supply. Check your answer in the Electronics Studio with a low-voltage LED circuit and explain any difference.
9.Reflect
Concepts: Conductors, insulators and semiconductors · Transistors and CMOS logic