Explanation
Welcome to The Silicon Circuit
Every phone and computer runs on semiconductors. In the Silicon Circuit, you'll see why silicon conducts a little, how adding a pinch of another element makes n-type and p-type, how a diode lets current through one way only, and how logic gates make decisions with zeros and ones.
Band gap
Electrons sit in bands. In a metal, the bands overlap and electrons move freely.
In an insulator, a big gap blocks them. A semiconductor has a small gap, about one electron volt, so heat alone lifts a few electrons across.
Band gap: conductor ≈ 0 (overlap), semiconductor ≈ 1 eV (Si 1.1 eV), insulator > 3 eV
Intrinsic
Pure silicon has equal numbers of free electrons and holes. Add a pentavalent atom and you get extra electrons: n-type.
Add a trivalent atom like boron and you get holes: p-type. Either way the crystal stays electrically neutral.
Intrinsic: n(e) = n(h) · pentavalent → n-type · trivalent → p-type · still neutral
P–n junction
Join p and n. Electrons and holes cross and cancel near the joint, leaving a depletion layer with a small barrier, about 0.
7 volts for silicon. Forward bias pushes the barrier down and current flows.
Reverse bias raises it and almost nothing flows.
p–n junction: depletion layer, barrier ≈ 0.7 V (Si); forward bias narrows it, reverse bias widens it
Rectifiers
Because a diode conducts one way, it turns AC into DC. A half-wave rectifier keeps only one half of each cycle.
A full-wave rectifier uses both halves, so the ripple comes at twice the mains frequency. A capacitor smooths the bumps.
Rectifiers: half-wave (output at f), full-wave (output at 2f); a capacitor smooths it
Zener diode
A Zener diode is built to work in reverse breakdown. There its voltage stays almost fixed whatever the current, so it holds a circuit's voltage steady: a voltage regulator.
Zener diode: heavily doped, used in reverse breakdown as a voltage regulator
Worked example
On 50 Hz mains, a half-wave rectifier gives 50 pulses a second; a full-wave rectifier gives 100, so its ripple frequency is 100 Hz and it is easier to smooth.