p-n junction diode
Structure and operation of the p–n junction diode: formation, depletion region, built-in potential, I–V characteristics, biasing modes, small-signal model, capacitances, breakdown, and standard formulas and examples.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
A p–n junction diode is the simplest semiconductor device and the building block for rectifiers, voltage regulators, switches, LEDs, photodiodes, and many ICs. Understanding its physics and I–V behavior lets you design rectifiers and filters, bias transistors in amplifiers, protect circuits from reverse polarity, and interface sensors.
Key ideas
- Doping: The deliberate addition of impurity atoms to change carrier concentration.
- n-type: Doped with donors (e.g., P in Si) creating extra electrons (majority carriers: electrons; minority: holes).
- p-type: Doped with acceptors (e.g., B in Si) creating holes (majority carriers: holes; minority: electrons).
- p–n junction: The boundary formed when p-type and n-type regions meet in a single crystal.
- Diffusion: Movement of carriers from high to low concentration just after junction formation: electrons diffuse from n to p; holes from p to n.
- Drift: Carrier motion due to an electric field. As carriers diffuse, they leave behind fixed ionized donors/acceptors, creating an internal electric field opposing further diffusion.
- Depletion region (space-charge region): The region around the junction depleted of free carriers, containing fixed charges. It acts as an insulating barrier at equilibrium.
- Built-in potential (junction potential), V_bi: The potential developed across the depletion region at thermal equilibrium that exactly balances diffusion, preventing net current flow without external bias.
- Equilibrium (no external bias): Net current is zero; diffusion current equals drift current. Fermi level is uniform throughout the structure.
- Forward bias: External voltage makes p-side more positive than n-side, reducing the barrier, allowing significant current due to injection of minority carriers across the junction.
- Reverse bias: External voltage makes p-side negative relative to n-side, increasing the barrier and depletion width; only a very small current flows (reverse saturation current) until breakdown.
- Diode I–V characteristic: The relationship between diode current (I_D) and diode voltage (V_D) is exponential in forward bias and nearly flat (small negative current) in reverse bias before breakdown.
- Ideality factor (η or n): A parameter (≈1–2) capturing deviations from the ideal diode due to recombination mechanisms.
- Thermal voltage (V_T): Defined by V_T = kT/q; a scaling voltage that sets the exponential’s slope (≈25.85 mV at 300 K).
- Breakdown: At high reverse voltage, current increases sharply due to either Zener breakdown (tunneling in heavily doped junctions) or avalanche breakdown (impact ionization in lightly doped junctions).
- Small-signal resistance (r_d): The slope resistance around a bias point, important for AC/signal analysis and for op-amp and transistor biasing.
- Junction (depletion) capacitance (C_j): Voltage-dependent capacitance due to the depletion region acting as a parallel-plate capacitor; significant in reverse bias.
- Diffusion capacitance (C_d): Capacitance in forward bias due to charge storage of injected minority carriers.
Exact statements and derivations commonly asked:
Statement — Built-in potential of an abrupt p–n junction: “For an abrupt, uniformly doped p–n junction at thermal equilibrium, the built-in potential is V_bi = (kT/q) ln(N_A N_D / n_i^2), where N_A and N_D are acceptor and donor concentrations, and n_i is the intrinsic carrier concentration.” Assumptions: abrupt junction, uniform doping, low-level injection, non-degenerate semiconductor, thermal equilibrium.
Statement — Depletion width of an abrupt junction: “Under depletion approximation, the total depletion width is W = √[ (2 ε_s/q) × ( (V_bi + V_R) × (1/N_A + 1/N_D) ) ], where ε_s is semiconductor permittivity, q is electron charge, and V_R is applied reverse bias (take V_R = 0 for zero bias). The depletion widths on the n and p sides are x_n = (N_A/(N_A + N_D)) W and x_p = (N_D/(N_A + N_D)) W.” Assumptions: depletion approximation (charge-free quasi-neutral regions), abrupt junction, one-dimensional field.
Statement — Maximum electric field in depletion region: “E_max = q N_D x_n / ε_s = q N_A x_p / ε_s. Under triangular field approximation, V_bi + V_R = (1/2) E_max W, hence E_max = 2 (V_bi + V_R) / W.”
Statement — Ideal diode equation: “The current through a p–n junction diode is I = I_S [exp(V_D/(η V_T)) − 1], where I_S is the reverse saturation current, η the ideality factor (≈1 for diffusion-dominated, ≈2 for recombination-dominated), and V_T = kT/q.” Assumptions: steady state, low-level injection, constant temperature, ohmic contacts, negligible series resistance, uniform doping, 1-D transport.
Statement — Small-signal (dynamic) resistance: “At a forward bias operating point I_D, the incremental resistance is r_d = dV/dI ≈ η V_T / I_D (for I_D ≫ I_S).”
Statement — Junction capacitance of an abrupt junction: “C_j(V) = C_j0 / √(1 + V_R / V_bi), where C_j0 = ε_s A / W_0 is the zero-bias junction capacitance, A is area, W_0 is zero-bias depletion width.” Assumptions: abrupt junction, depletion approximation, reverse bias small-signal.
Statement — Diffusion capacitance: “In forward bias, diffusion capacitance C_d ≈ τ_T (dI_D/dV_D) = τ_T I_D / (η V_T), where τ_T is the effective carrier transit/storage time.” Assumptions: steady-state injection, low-level injection.
Diagrams to draw and label (exam-style):
- p–n junction at equilibrium (band diagram): Draw conduction band (E_C), valence band (E_V), and flat Fermi level (E_F) continuous across the junction after bending; show depletion region with ionized donors (positive) on n-side and ionized acceptors (negative) on p-side; mark V_bi across depletion.
- I–V characteristic: Plot I_D on vertical axis, V_D on horizontal axis; show exponential forward region, near-zero reverse current (−I_S), and sharp increase at breakdown (label V_BR). Indicate typical forward drops: ~0.7 V for Si, ~0.3 V for Ge.
- Depletion-region field/charge: Sketch charge density ρ(x) as +qN_D over x_n and −qN_A over x_p; electric field triangular, peaking at junction; potential parabolic.
- Circuit symbol: Triangle-like? No. For diode, draw anode (p-side) to cathode (n-side) with the bar at cathode; show conventional current arrow from anode to cathode when forward-biased.
Physical intuition (brief): The depletion region and its built-in potential form an energy barrier. Forward bias lowers this barrier, enabling exponential carrier injection; reverse bias raises it, widening depletion and yielding tiny leakage until breakdown.
Formulas
V_T = k·T/q
- Thermal voltage. k: Boltzmann constant (1.380 649×10⁻²³ J/K), T: absolute temperature (K), q: elementary charge (1.602 176 634×10⁻¹⁹ C). Applies at any temperature for semiconductor devices.
V_bi = (k·T/q) · ln(N_A·N_D / n_i²)
- Built-in potential. N_A, N_D: doping concentrations (m⁻³), n_i: intrinsic carrier concentration (m⁻³). Abrupt, uniformly doped junction at equilibrium.
W = √[ (2·ε_s/q) · ( (V_bi + V_R) · (1/N_A + 1/N_D) ) ]
- Total depletion width. ε_s: semiconductor permittivity (F/m), V_R: applied reverse-bias magnitude (V) [take 0 for equilibrium]. Abrupt junction, depletion approximation.
x_n = (N_A/(N_A + N_D))·W, x_p = (N_D/(N_A + N_D))·W
- Depletion widths into n-side and p-side, respectively. Same assumptions as W.
E_max = q·N_D·x_n/ε_s = q·N_A·x_p/ε_s = 2·(V_bi + V_R)/W
- Maximum electric field in depletion. Same symbols and assumptions as above.
I_D = I_S · (e^{V_D/(η·V_T)} − 1)
- Diode I–V equation. I_S: reverse saturation current (A), V_D: diode voltage (V), η: ideality factor (dimensionless). Ideal diode model with series resistance neglected.
r_d ≈ η·V_T / I_D
- Small-signal (dynamic) resistance at forward bias. Valid when I_D ≫ I_S.
C_j(V_R) = C_j0 / √(1 + V_R/V_bi), C_j0 = ε_s·A/W_0
- Junction (depletion) capacitance vs reverse bias. A: junction area (m²), W_0: zero-bias depletion width (m). Abrupt junction.
C_d ≈ τ_T · (dI_D/dV_D) = τ_T·I_D/(η·V_T)
- Diffusion capacitance under forward bias. τ_T: effective carrier transit/storage time (s).
I_S ∝ T³ · e^{−E_g/(k·T)}
- Temperature dependence trend of saturation current. E_g: bandgap energy (J). Order-of-magnitude model.
P_D = V_D·I_D
- Instantaneous power dissipation in the diode (W). Use for thermal checks.
Worked examples
Example 1: Built-in potential and depletion width of an Si p–n junction at 300 K Given: Silicon at 300 K; N_A = 1.0×10¹⁶ cm⁻³, N_D = 1.0×10¹⁵ cm⁻³; intrinsic concentration n_i = 1.0×10¹⁰ cm⁻³; ε_s = 11.7·ε₀; ε₀ = 8.854×10⁻¹² F/m; q = 1.602×10⁻¹⁹ C; k = 1.381×10⁻²³ J/K.
Steps:
- Convert dopings to SI: 1 cm⁻³ = 10⁶ m⁻³.
- N_A = 1.0×10¹⁶ cm⁻³ = 1.0×10²² m⁻³.
- N_D = 1.0×10¹⁵ cm⁻³ = 1.0×10²¹ m⁻³.
- n_i = 1.0×10¹⁰ cm⁻³ = 1.0×10¹⁶ m⁻³.
- Compute thermal voltage at 300 K: V_T = kT/q = (1.381×10⁻²³×300)/(1.602×10⁻¹⁹) ≈ 0.02585 V.
- Built-in potential:
- Ratio: (N_A·N_D)/(n_i²) = (1.0×10²²×1.0×10²¹)/(1.0×10¹⁶)² = 1.0×10¹¹.
- ln(ratio) = ln(10¹¹) = 11·ln 10 ≈ 11×2.3026 = 25.329.
- V_bi = 0.02585×25.329 ≈ 0.655 V.
- Permittivity: ε_s = 11.7×8.854×10⁻¹² = 1.035×10⁻¹⁰ F/m.
- Depletion width at zero bias (V_R = 0):
- Factor: (1/N_A + 1/N_D) = (1/1.0×10²² + 1/1.0×10²¹) = 1.0×10⁻²² + 1.0×10⁻²¹ = 1.1×10⁻²¹ m³.
- Inside sqrt: (2·ε_s/q) · (V_bi) · (1/N_A + 1/N_D) = (2×1.035×10⁻¹⁰ / 1.602×10⁻¹⁹) × 0.655 × 1.1×10⁻²¹ = (2.070×10⁻¹⁰ / 1.602×10⁻¹⁹) × 0.655 × 1.1×10⁻²¹ = (1.292×10⁹) × 0.655 × 1.1×10⁻²¹ = 9.32×10⁻¹³ (approx.).
- W = √(9.32×10⁻¹³) ≈ 9.66×10⁻⁷ m = 0.966 μm.
- Depletion widths on each side:
- x_n = (N_A/(N_A + N_D))·W = (1.0×10²² / 1.1×10²²)×0.966 μm ≈ 0.878 μm.
- x_p = W − x_n ≈ 0.966 − 0.878 = 0.088 μm.
- Maximum electric field:
- E_max = 2 V_bi / W = 2×0.655 / (9.66×10⁻⁷) ≈ 1.36×10⁶ V/m.
Answer: V_bi ≈ 0.655 V; W ≈ 0.966 μm with x_n ≈ 0.878 μm, x_p ≈ 0.088 μm; E_max ≈ 1.36 MV/m.
Example 2: Forward current and dynamic resistance using the diode equation Given: A silicon diode at 300 K with I_S = 1.0×10⁻¹² A, ideality factor η = 2. Find current at V_D = 0.70 V and the small-signal resistance r_d at that point.
Steps:
- Thermal voltage: V_T = 0.02585 V (from Example 1).
- Current using I–V equation:
- Exponent: V_D/(η V_T) = 0.70 / (2×0.02585) = 0.70 / 0.05170 ≈ 13.536.
- exp(13.536) ≈ 7.48×10⁵.
- I_D ≈ I_S [exp(...) − 1] ≈ 1.0×10⁻¹² × 7.48×10⁵ ≈ 7.48×10⁻⁷ A = 0.748 μA. Note: With η = 2, the current is small at 0.70 V because recombination dominates; many practical silicon signal diodes have η ≈ 2 at low currents and transition toward η ≈ 1 at higher currents.
- Dynamic resistance:
- r_d ≈ η V_T / I_D = (2×0.02585) / (7.48×10⁻⁷) ≈ 0.05170 / 7.48×10⁻⁷ ≈ 6.91×10⁴ Ω = 69.1 kΩ.
Answer: I_D ≈ 0.748 μA; r_d ≈ 69.1 kΩ at V_D = 0.70 V with η = 2.
Example 3: Reverse-bias junction capacitance of an abrupt Si diode Given: Zero-bias depletion width W_0 = 1.0 μm; junction area A = 1.0×10⁻⁶ m²; ε_s = 1.035×10⁻¹⁰ F/m; V_bi = 0.70 V; applied reverse bias V_R = 5.0 V.
Steps:
- Zero-bias junction capacitance: C_j0 = ε_s A / W_0 = (1.035×10⁻¹⁰ × 1.0×10⁻⁶) / (1.0×10⁻⁶) = 1.035×10⁻¹⁰ F = 103.5 pF.
- Reverse-bias capacitance: C_j(V_R) = C_j0 / √(1 + V_R/V_bi) = 103.5 pF / √(1 + 5.0/0.70) = 103.5 pF / √(8.1429) ≈ 103.5 pF / 2.854 ≈ 36.3 pF.
Answer: C_j0 ≈ 103.5 pF; C_j(5 V) ≈ 36.3 pF.
Model answer outline (theory): Derive the ideal diode equation
- State assumptions: low-level injection, quasi-neutral regions, negligible series resistance, steady-state, uniform doping, 1-D, ohmic contacts, constant temperature.
- Minority carrier injection under forward bias V_D lowers the barrier by V_D, increasing boundary minority concentrations by exp(V_D/(η V_T)).
- Solve 1-D diffusion equation for minority carriers in each quasi-neutral region with appropriate boundary conditions (excess minority carrier concentration decays exponentially with distance with diffusion length L).
- Obtain diffusion currents at the edges of the depletion region; sum electron and hole components to get total current I = qA( D_p Δp/L_p + D_n Δn/L_n ).
- Using Δp ∝ p_{n0}(e^{V_D/(ηV_T)} − 1), Δn ∝ n_{p0}(e^{V_D/(ηV_T)} − 1), and definitions of I_S, arrive at I = I_S (e^{V_D/(η V_T)} − 1). Conclude with the meanings of I_S and η.
Common mistakes
- Mixing up signs: using negative V_R in the W formula; instead, use V_bi + V_R for reverse bias magnitude and V_bi − V_F for forward bias depletion narrowing (if asked).
- Writing the diode equation without η or using V_T in mV without dividing by 1000, causing exponent mistakes.
- Assuming the forward drop is a fixed 0.7 V for all currents and diodes; in reality it varies with current, temperature, and η.
- Using ε₀ instead of ε_s in depletion width and capacitance formulas.
- Drawing the diode symbol backwards (bar is the cathode) or mislabeling anode/cathode in circuits.
- Confusing Zener and avalanche breakdown conditions and temperature coefficients.
- Ignoring series resistance r_s at high forward currents; the simple exponential no longer holds and I–V flattens.
For your exam
- Short notes: Effects of temperature on I_S and forward drop; comparison of Si vs Ge diodes; Zener vs avalanche breakdown; piecewise-linear diode model; small-signal resistance and its use.
- Derivations: V_bi expression; depletion width W and x_n, x_p; relation between E_max, W, and V_bi; ideal diode equation from minority carrier diffusion; C_j(V_R) for an abrupt junction.
- Numericals: Compute V_bi and W for given dopings; forward current using diode equation; r_d at a given I_D; C_j at a given V_R and area; power dissipation P_D. Show units, write formula first, substitute clearly, box the final answer.
- Diagrams: Energy-band diagram of p–n junction at equilibrium and under forward/reverse bias; I–V characteristics with labeled regions; depletion charge/field sketches; cleanly labeled axes and parameters.
- Tips: State assumptions before derivations; keep constants and units consistent; check exponent magnitudes; in band diagrams show relative band bending and constant E_F at equilibrium.
Quick check
- Write the ideal diode equation and define every symbol.
- For an abrupt Si junction at 300 K with N_A = N_D = 10¹⁶ cm⁻³ and n_i = 10¹⁰ cm⁻³, estimate V_bi.
- State two differences between Zener and avalanche breakdown.
Answers: (1) I = I_S (e^{V_D/(η V_T)} − 1); I, I_S, V_D, η, V_T defined as in notes. (2) V_T ≈ 25.85 mV; ln(N_A N_D / n_i²) = ln(10¹²) = 27.631; V_bi ≈ 0.02585×27.631 ≈ 0.714 V. (3) Zener: heavy doping, lower V_BR, quantum tunneling, negative tempco; Avalanche: lighter doping, higher V_BR, impact ionization, positive tempco (sign can vary near crossover).
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?