Module 7: Solid state physics and electronics · Lesson 7.4 · about 50 min
p-n junctions, diodes and Zener diodes
How a p-n junction forms its depletion layer and built-in potential, why it conducts one way, the diode equation, load lines and dynamic resistance, junction capacitance, Zener and avalanche breakdown, Zener regulators, rectifiers and filters, and LEDs, photodiodes and solar cells.
Module 7 · about 50 minutes. By the end you will be able to explain how a p-n junction works from the carriers up, compute its built-in potential, depletion width and capacitance, use the diode equation and load lines, design a Zener regulator and analyse rectifiers with filters, and say how LEDs, photodiodes and solar cells use the same junction. You need electrons, holes and the Fermi level from lesson 7.3.
1. Making the junction
Picture n-type silicon (many electrons) touching p-type silicon (many holes). Electrons diffuse into the p side and holes into the n side, where each recombines. They leave behind the ions they came from: positive donor ions on the n side, negative acceptor ions on the p side. This layer, emptied of free carriers, is the depletion region. Its ions make an electric field pointing from n to p, which pushes carriers back. Equilibrium comes when this drift exactly balances the diffusion, for electrons and holes separately, and the Fermi level is flat across the whole device.
The field corresponds to a potential step, the built-in potential:
- V0
- the potential step across the junction at zero bias (about 0.6 to 0.9 V for silicon); it cannot be measured with a voltmeter, because contact potentials at the metal leads cancel it
- Na, Nd
- doping on the p and n sides: heavier doping, larger V0
- ni
- intrinsic density: a wider gap means smaller ni and larger V0
- Physical meaning
- An electron on the n side would have to climb eV0 to reach the p side. Only the few with that much thermal energy diffuse across, exactly as many as the field sweeps back.
Worked example. , cm⁻³, cm⁻³ at 300 K: V.
2. The depletion region
Treat the depletion region as uniformly charged slabs (the abrupt approximation). Charge balance fixes the shares, and Gauss’s law (lesson 4.1) gives a field rising linearly to a peak at the junction:
where is the applied forward voltage (negative for reverse bias). The region lies mostly on the lightly doped side. Width and field grow as the square root of the total potential across the junction.
Worked example. For the junction above (), at zero bias, working in SI units ( m⁻³):
- .
- Times m³: m², so μm, almost all on the n side.
The depletion region is also a capacitor: two layers of opposite charge a distance apart, for an abrupt junction under reverse bias . Varactor diodes use this voltage-controlled capacitance to tune radio circuits. A plot of against is a straight line that meets the axis at .
3. Bias and the diode equation
Forward bias (p side positive) lowers the barrier to . The number of carriers able to climb it grows as , so the diffusion current grows exponentially while the small drift current stays put. Reverse bias raises the barrier: diffusion stops and only the tiny drift of minority carriers remains, the reverse saturation current . Together they give the Shockley equation:
with ideality factor between 1 (ideal diffusion) and 2 (recombination in the depletion region). Useful consequences:
- 60 mV per decade. Ten times the current needs only mV more. That is why a silicon diode “sits at about 0.7 V” over a wide range of currents.
- Dynamic resistance : 25.85 Ω at 1 mA. It is the resistance a small ac signal sees.
- Temperature. roughly doubles every 10 K in silicon, so at fixed current the forward voltage falls by about 2 mV/K. Germanium, with its smaller gap, has a far larger and a cut-in of about 0.3 V.
4. Load lines: finding the operating point
A diode in series with a resistor on a supply must satisfy two equations at once: the diode curve and Kirchhoff’s law . The second is a straight line, the load line, from to . The operating point is where they cross.
Worked example. V, kΩ, silicon diode. Constant-drop model: mA. With the exponential equation ( A) iterate , : starting from V it settles in two steps at V, mA. The simple model is excellent here.
5. Breakdown and the Zener regulator
Raise the reverse voltage far enough and the current suddenly shoots up: breakdown. Two mechanisms do it:
| Zener breakdown | Avalanche breakdown | |
|---|---|---|
| Doping | heavy on both sides | lighter |
| Depletion layer | very thin | wider |
| Mechanism | electrons tunnel straight through the thin barrier | carriers gain enough energy to knock out new pairs, which multiply |
| Breakdown voltage | below about 5 V | above about 6 V |
| Temperature coefficient | negative | positive |
Near 5 to 6 V the two coefficients cancel, which makes such diodes good voltage references. (Most “Zener diodes” above 6 V actually work by avalanche.)
In breakdown the voltage hardly changes over a wide current range, which is what a Zener regulator uses: a series resistor from the supply, the Zener across the load.
The Zener fixes the output. As long as it stays in breakdown, the load sees VZ.
Series current. IS = (Vin − VZ)/R, whatever the load does.
Load current. IL = VZ/RL.
The Zener takes the rest. IZ = IS − IL. It must stay above its minimum (to stay in breakdown) and below its maximum (P = VZIZ within rating).
Check both extremes. Lowest supply with the heaviest load sets the largest allowed R; highest supply with no load sets the smallest.
Worked example. 15 V supply, 9 V Zener, Ω, load 1 kΩ: mA, mA, mA. Remove the load and the Zener must take all 30 mA.
“A diode drops 0.7 V, so it behaves like a 0.7 V battery whatever happens.” The 0.7 V figure is a shortcut for milliamp currents in silicon. The real rule is exponential: at microamps the drop is much less, at large currents more, and it falls 2 mV for every degree of warming. Two back-to-back diodes with 5 V across them pass only the tiny reverse current , and the forward one then drops just a few tens of millivolts, not 0.7 V. Use the shortcut where it applies; use when the question gives .
6. Rectifiers and filters
Diodes turn ac into dc. For a sine input of peak and ideal diodes:
| Half wave | Centre-tap full wave | Bridge full wave | |
|---|---|---|---|
| Diodes | 1 | 2 | 4 |
| Ripple factor | 1.21 | 0.48 | 0.48 |
| Maximum efficiency | 40.6% | 81.2% | 81.2% |
| Peak inverse voltage per diode | |||
| Ripple frequency |
The ripple factor is ; for half wave . A bridge with real silicon diodes loses two drops (1.4 V), because two diodes conduct in series.
A capacitor across the load smooths the output. The capacitor charges to the peak, then supplies the load until the next peak, losing
Worked example. Full wave, V, 1 kΩ load (20 mA), 1000 μF, 50 Hz: V. The diodes now conduct only in short bursts near each peak, so their peak current is much larger than the load current.
Diodes also shape signals: a clipper cuts off part of a waveform (a diode and a reference voltage in shunt), and a clamper (series capacitor, shunt diode) shifts the whole waveform up or down without changing its shape, for example turning into a wave from 0 to 10 V.
7. Diodes and light
The same junction talks to light in three ways:
- LED (forward bias). Injected electrons and holes recombine in the junction and emit photons of energy near : . Efficient LEDs need direct-gap materials (GaAs, GaN, InGaN).
- Photodiode (reverse bias). A photon makes a pair in or near the depletion region; the field sweeps it out as a current proportional to the light intensity (third quadrant of the I-V graph).
- Solar cell (no external bias). The same photocurrent flows through a load. The cell works in the fourth quadrant, delivering power, with open-circuit voltage , which grows only logarithmically with light.
Worked example. mA, A: V.
To experiment, the PN junction tool shows the depletion layer change with bias, I-V characteristics lets you record a diode’s curve point by point, the Rectifier lab animates which diodes conduct in each half cycle, the Circuit simulator solves your own diode circuits, and the Solar cell IV tool extracts , fill factor and efficiency from a measured curve.
- Equilibrium junction: diffusion balanced by drift, flat Fermi level, .
- Depletion width , mostly on the lightly doped side (); .
- ; 60η mV per decade; ; about −2 mV/K at fixed current.
- Operating point: where the load line meets the diode curve.
- Zener (tunnelling, heavy doping, below ~5 V, negative coefficient) vs avalanche (above ~6 V, positive). Regulator: .
- Rectifiers: or ; ripple factors 1.21 and 0.48; PIV , (centre tap), (bridge). Filter ripple or .
- LED forward, photodiode reverse, solar cell fourth quadrant with .
Practise: exam questions on this lesson
They start easy and climb to top-rank level. Check each answer, then read the full solution. There are more on the diodes practice page.
Next: add a third layer and a junction becomes a transistor, the amplifier and switch of all electronics. The GATE Physics course treats diodes, BJTs, FETs and MOSFETs together.
Check yourself
Sources
- B. G. Streetman and S. K. Banerjee, Solid State Electronic Devices, 7th ed. (2015), chapter 5
- S. M. Sze and K. K. Ng, Physics of Semiconductor Devices, 3rd ed. (2007), chapter 2
- A. S. Sedra and K. C. Smith, Microelectronic Circuits, 7th ed. (2014), chapter 4
- IIT JAM Physics syllabus (Solid State Physics, Devices and Electronics section), published by the organising IIT each year
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.