TactivergeLite

Lite / Engineering Complex Systems / Week 23

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 · Full interactive version

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.

Predict

A silicon diode carries 1 mA at 0.655 V. Roughly what forward voltage would it need to carry 10 mA?

  1. 6.55 V (ten times the voltage)
  2. About 0.71 V (only about 60 mV more)
  3. 1.31 V (twice the voltage)
  4. It cannot carry more than 1 mA
Guess first, then reveal

About 0.71 V. The current grows exponentially with voltage: at room temperature each extra V_T·ln 10 ≈ 59.5 mV (for an ideal diode) multiplies it by 10. That is why a diode's voltage stays nearly constant over a wide range of currents.

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?

What the interactive shows (text version)

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.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: 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.

“The PN junction | Semiconductors | Class 12 | Physics | Khan Academy” by Khan Academy India - English (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

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

Intuitive

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.

Technical

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.

Mathematical

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×.

Applied

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
  1. 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.

  2. Zero net current means electron concentration follows a Boltzmann distribution with electric potential φ: n(x) ∝ e^(φ(x)/V_T), where V_T = kT/q.

  3. 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).

  4. 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²).

  5. 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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. What is left in the depletion region of a PN junction at zero bias?

V

mA

V

Practice 5. What does increasing the reverse bias on a junction do (well below breakdown)?

µm

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.

Reflect

The same PN junction appears in a rectifier, an LED, a solar cell and under every MOSFET. Which property of the junction does each one rely on?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Fatigue: failure by a million small pushes