A diode has two terminals: the anode (P-side) and the cathode (N-side). Conventional forward current flows from anode to cathode — the direction the schematic triangle points.
One-way valve: forward current flows anode → cathode. Reverse is blocked.
Physical structure
A diode is a single PN junction in a package. The depletion region between the P and N sides creates the built-in barrier; everything else follows from how that barrier responds to bias.
Figure 2. PN diode cross-section. Holes (open) on the P-side, electrons (filled) on the N-side, depletion region in the middle.
Three diode models
Real diodes obey the Shockley equation, but circuit analysis usually reaches for a simpler model first. Pick the coarsest one that still answers the question.
1. Ideal model
Forward-biased = perfect short. Reverse-biased = perfect open. No threshold, no resistance.
VD=0,ID≥0(ON)orID=0,VD≤0(OFF)
Figure 3. Ideal model: vertical line at VD=0 forward, flat at ID=0 reverse.
2. Piecewise-linear (constant-drop) model
Adds a fixed turn-on voltage VF (≈ 0.7 V silicon, ≈ 0.3 V germanium, ≈ 1.8 V red LED). Below the knee, no current; above it, a small forward resistance ron.
ID={0(VD−VF)/ronVD<VFVD≥VF
Figure 4. Piecewise-linear: zero current until VF, then linear conduction with slope 1/ron.
3. Shockley (exponential) model
The full diode equation, accurate from cutoff into moderate forward conduction:
ID=IS(eVD/(nVT)−1)
where:
IS — saturation current (≈ 1 pA for small-signal silicon).
n — ideality factor, 1.0 ideal, up to 2.0 for real junctions.
VT=kT/q — thermal voltage ≈ 25.85 mV at 300 K.
Figure 5. Shockley: exponential rise once VD exceeds a few VT. Reverse current saturates at −IS.
Shockley for analogue analysis. Piecewise for hand calculations. Ideal for digital and switching logic.
Reverse breakdown
Beyond a critical reverse voltage VBR (Zener for thin junctions, avalanche for thick ones), reverse current spikes. Zener diodes exploit this for voltage references; ordinary rectifiers must stay below their VBR rating.
Application: half-wave rectifier
One diode in series with a resistive load passes the positive half of an AC input and blocks the negative half — the simplest AC-to-pulsating-DC converter.
Figure 6. Half-wave rectifier circuit. The diode passes current only on positive half-cycles, so Vout across RL is non-negative.Figure 7. Half-wave rectifier waveforms: input AC (top), output across the load (bottom). Negative half-cycles are clipped.
Smoothing capacitor (filter)
A capacitor in parallel with the load charges to Vp on each peak, then discharges through RL until the next one. Pulsating DC becomes a near-flat level with a sawtooth ripple.
Figure 8. Half-wave with smoothing cap. Ripple period equals the input period T=1/f.
Peak-to-peak ripple voltage (linear-discharge approximation):
Vr(pp)≈fRLCVp
Average and RMS — half-wave
Vavg=πVp,Vrms=2Vp
Application: full-wave rectifier — bridge
Four diodes in a bridge route both half-cycles to the load with the same polarity. The cap refills twice per input cycle, so ripple frequency is 2f and ripple amplitude halves.
Figure 9. Bridge rectifier with smoothing cap. On the positive half-cycle D1 and D2 conduct; on the negative half D3 and D4 take over.Figure 10. Bridge output — full-wave rectified (faint) and smoothed (solid). Ripple at 2f, half the amplitude of half-wave for the same RL⋅C.
Two diodes are always in the conduction path, so the load loses 2VF (≈ 1.4 V for silicon) compared to the input peak.
A transformer with a center-tapped secondary plus two diodes also gives full-wave rectification. Each diode conducts on alternate half-cycles, using one half of the winding at a time.
Figure 11. Center-tapped transformer + 2 diodes — full-wave with one VF drop instead of two, but the secondary winding must be twice as long for the same Vp.
Bridge: 4 diodes, 2VF drop, simple transformer. Center-tapped: 2 diodes, 1VF drop, but needs a 2× secondary. Both give the same Vavg=2Vp/π and ripple at 2f.