Artificial Intelligence & Data Science is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

p-n junction and solar cells

Core physics of p–n junctions, diode I–V, depletion region, and solar cell operation, parameters, and performance.

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

Engineers use p–n junctions to build diodes, LEDs, laser diodes, photodiodes, and solar cells. Understanding the physics lets you predict I–V characteristics, efficiency, and limitations, which is essential for electronics, renewable energy systems, and sensors.

Key ideas

  • n-type: Doping with donors (e.g., P in Si) creates mobile negative charge carriers called electrons (majority carriers), holes become minority carriers.
  • Majority carriers: The more abundant carrier type in a region (holes in p-type, electrons in n-type). SI unit of concentration: m⁻³ (often given in cm⁻³ in textbooks; convert by ×10⁶).
  • Minority carriers: The less abundant carrier type in a region (electrons in p-type, holes in n-type).

Formation of a p–n junction

  • When p-type and n-type regions are joined, electrons diffuse from n to p, and holes from p to n, due to concentration gradients (this is diffusion).
  • Fixed ionized donors (+) remain on the n side and ionized acceptors (−) on the p side, creating a depletion region (space-charge region) depleted of free carriers.
  • The exposed charges set up an internal electric field that drives drift of carriers opposite to diffusion. Equilibrium is reached when drift current cancels diffusion current.
  • The contact potential difference at equilibrium is the built-in potential.

Definition (built-in potential)

  • Built-in potential V_bi: At thermal equilibrium, the electrostatic potential difference across the depletion region given by V_bi = (k·T/q) ln(N_A·N_D / n_i²), where k is Boltzmann constant, T absolute temperature, q elementary charge, N_A acceptor concentration, N_D donor concentration, and n_i intrinsic carrier concentration of the semiconductor. Assumptions: abrupt step junction, non-degenerate doping, complete ionization, uniform doping, T uniform, 1D analysis.

Definition (depletion width)

  • Total depletion width W: The physical width of the space-charge region at equilibrium, W = sqrt( (2·ε_s / q) · ((N_A + N_D)/(N_A·N_D)) · V_bi ), Under applied bias, replace V_bi by V_bi − V_F for forward bias V_F or by V_bi + V_R for reverse bias V_R, with ε_s = ε_r·ε_0 the semiconductor permittivity. The depletion extends distances x_p into p side and x_n into n side: x_p = (N_D/(N_A + N_D))·W, x_n = (N_A/(N_A + N_D))·W. Assumptions: abrupt junction, depletion approximation (free carriers negligible in depletion), 1D.

Diode under bias

  • Forward bias (p side at higher potential): reduces the barrier, increases diffusion of majority carriers, leading to large current.
  • Reverse bias (p side at lower potential): increases the barrier and depletion width, small leakage current until breakdown.
  • Diode equation: The ideal current–voltage relation is I = I_0 [exp(q·V/(n·k·T)) − 1], where I is diode current (positive in forward bias), V is applied p-to-n voltage, I_0 is reverse saturation current, and n is the ideality factor (typically 1–2; n = 1 for diffusion-dominated current). Assumptions: low-level injection, uniform temperature, series/shunt resistances neglected, recombination-generation mechanisms depending on n.

Junction capacitance (if asked)

  • Depletion (junction) capacitance per unit area C_j' at a reverse bias V_R (or at zero bias when V_R = 0): C_j' = ε_s / W = sqrt( (q·ε_s/2) · (N_A·N_D/(N_A + N_D)) · 1/(V_bi + V_R) ). Assumes abrupt junction and depletion approximation.

Solar cell as an illuminated p–n junction

  • A solar cell is a p–n junction under illumination that converts photon energy to electrical energy via the photovoltaic effect.
  • Photons with energy ≥ bandgap create electron–hole pairs. In/near the depletion region, the built-in electric field separates them: electrons are swept to n, holes to p, creating a photocurrent.
  • Equivalent circuit: a current source I_L (light-generated current) in parallel with a diode (I_0, n), often with series resistance R_s and shunt resistance R_sh.
  • Illuminated diode equation: I = I_L − I_0 [exp(q·(V + I·R_s)/(n·k·T)) − 1] − (V + I·R_s)/R_sh (if resistances included; the diode and shunt both see the junction voltage V + I·R_s). For ideal analysis, R_s → 0, R_sh → ∞.

Key output parameters of a solar cell

  • Short-circuit current I_sc: Current at V = 0. For ideal cell, I_sc ≈ I_L.
  • Open-circuit voltage V_oc: Voltage at I = 0. For ideal cell, V_oc = (n·k·T/q) ln(I_L/I_0 + 1).
  • Maximum power point (V_m, I_m): Point on the I–V curve where output power P = V·I is maximum.
  • Fill factor (FF): A measure of squareness of the I–V curve, FF = (V_m·I_m)/(V_oc·I_sc).
  • Efficiency η: Fraction of incident light power converted to electrical power, η = P_max/P_in, with P_max = V_m·I_m, and P_in = G·A (G is irradiance, A is cell area).
  • Temperature effects: Increasing T raises I_0 strongly, so V_oc decreases roughly linearly with T (≈ −2 mV/°C per Si cell under typical conditions), while I_sc increases slightly with T.

What to draw and label (typical exam diagrams)

  • Depletion region sketch: p and n regions, ionized acceptor (−) and donor (+) charges, depletion widths x_p and x_n, electric field direction (from n to p), and built-in potential profile.
  • Energy band diagram (equilibrium): Conduction band E_c, valence band E_v, Fermi level E_F flat across junction, band bending across depletion region, indicate p and n sides and V_bi.
  • Diode I–V curve: Semilog and/or linear plot showing forward exponential rise and small reverse current.
  • Solar cell equivalent circuit: current source I_L in parallel with diode (I_0, n), optional R_s in series and R_sh in parallel. Also show I–V curve under illumination with marked I_sc, V_oc, and (V_m, I_m).

Derivation outlines commonly asked

  1. Derive V_bi: Start from equality of Fermi levels at equilibrium; relate electrochemical potentials to carrier concentrations n = n_i exp((E_F − E_i)/kT), p = n_i exp((E_i − E_F)/kT) on each side; eliminate E_F difference to get V_bi = (kT/q) ln(N_A N_D/n_i²).
  2. Derive W: Use Poisson’s equation d²V/dx² = −ρ/ε_s with ρ = +qN_D in 0 < x < x_n and ρ = −qN_A in −x_p < x < 0; integrate with boundary conditions E = 0 outside depletion; match fields to get charge neutrality N_A x_p = N_D x_n; total potential drop equals V_bi; solve to get W and partitions x_p, x_n.
  3. Diode equation: Solve continuity equations with boundary conditions under applied V reducing barrier by V; minority carrier injection yields I ∝ exp(qV/nkT); include −1 term for reverse bias limit.
  4. V_oc of solar cell: Set I = 0 in illuminated diode equation to obtain V_oc formula.

Formulas

V_bi = (k·T/q) ln(N_A·N_D / n_i²) — Built-in potential; k (J·K⁻¹), T (K), q (C), N_A, N_D (m⁻³), n_i (m⁻³). Abrupt, non-degenerate junction at equilibrium.

W = sqrt( (2·ε_s/q) · ((N_A + N_D)/(N_A·N_D)) · V_bi ) — Total depletion width; ε_s (F·m⁻¹), q (C), dopings (m⁻³), V_bi (V). Abrupt junction, depletion approximation.

x_p = (N_D/(N_A + N_D))·W — Depletion into p side; units of m.

x_n = (N_A/(N_A + N_D))·W — Depletion into n side; units of m.

C_j' = ε_s / W — Junction capacitance per unit area (F·m⁻²); ε_s (F·m⁻¹), W (m). Reverse/zero bias, abrupt junction.

I = I_0 [exp(q·V/(n·k·T)) − 1] — Diode I–V; I (A), I_0 (A), V (V), n (dimensionless), k, T, q. Ideal diode without series/shunt resistances.

I = I_L − I_0 [exp(q·V/(n·k·T)) − 1] — Illuminated diode (ideal solar cell); I_L (A) is light-generated current.

V_oc = (n·k·T/q) ln(I_L/I_0 + 1) — Open-circuit voltage; symbols as above.

I_sc ≈ I_L — Short-circuit current (ideal case) at V = 0.

P = V·I — Instantaneous electrical power (W).

FF = (V_m·I_m)/(V_oc·I_sc) — Fill factor, dimensionless.

η = P_max / (G·A) — Efficiency; P_max (W), G irradiance (W·m⁻²), A area (m²).

V_T = k·T/q — Thermal voltage (V); at 300 K, V_T ≈ 25.85 mV.

Constants (at 300 K unless stated)

  • q = 1.602 × 10⁻¹⁹ C
  • k = 1.381 × 10⁻²³ J·K⁻¹
  • ε₀ = 8.854 × 10⁻¹² F·m⁻¹
  • ε_Si ≈ 11.7·ε₀
  • n_i(Si, 300 K) ≈ 1.0 × 10¹⁰ cm⁻³ (≈ 1.0 × 10¹⁶ m⁻³) [verify exact value used in your syllabus]

Worked examples

Example 1: Built-in potential and depletion width of a Si p–n junction Given: Silicon at T = 300 K; N_A = 1.0 × 10¹⁷ cm⁻³, N_D = 1.0 × 10¹⁶ cm⁻³; n_i = 1.0 × 10¹⁰ cm⁻³; ε_s = 11.7·ε₀.

  1. Convert dopings to SI: N_A = 1.0 × 10²³ m⁻³, N_D = 1.0 × 10²² m⁻³; n_i = 1.0 × 10¹⁶ m⁻³.
  2. Thermal voltage: V_T = kT/q = 0.02585 V.
  3. Built-in potential: Formula: V_bi = V_T ln(N_A N_D / n_i²) Numbers: V_bi = 0.02585 × ln((1.0×10²³ × 1.0×10²²)/(1.0×10¹⁶)²) Inside ln: (1.0×10⁴⁵)/(1.0×10³²) = 1.0×10¹³ → ln = 13 ln10 = 29.934 So V_bi = 0.02585 × 29.934 = 0.773 V.
  4. Depletion width: Formula: W = sqrt( (2 ε_s/q) ((N_A+N_D)/(N_A N_D)) V_bi ) Compute ε_s: ε_s = 11.7 × 8.854×10⁻¹² = 1.035×10⁻¹⁰ F·m⁻¹ Factor A = (2 ε_s/q) = (2 × 1.035×10⁻¹⁰)/(1.602×10⁻¹⁹) = 1.292×10⁹ V⁻¹·m⁻¹ Factor B = (N_A+N_D)/(N_A N_D) = (1.0×10²³ + 1.0×10²²)/(1.0×10⁴⁵) = 1.1×10⁻²² m³ A·B = 1.292×10⁹ × 1.1×10⁻²² = 1.421×10⁻¹³ m²·V⁻¹ Multiply by V_bi: 1.421×10⁻¹³ × 0.773 = 1.099×10⁻¹³ m² W = sqrt(1.099×10⁻¹³) = 3.32×10⁻⁷ m = 0.332 µm.
  5. Partition of depletion: x_p = (N_D/(N_A+N_D)) W = (1.0×10²²/1.1×10²³) × 0.332 µm = 0.0909 × 0.332 = 0.030 µm. x_n = (N_A/(N_A+N_D)) W = 0.909 × 0.332 = 0.302 µm. Final: Built-in potential V_bi = 0.773 V; depletion width W = 0.332 µm (x_p ≈ 0.030 µm, x_n ≈ 0.302 µm).

Example 2: Diode current at forward bias Given: I_0 = 2.0 × 10⁻¹² A, n = 1.5, T = 300 K, applied V = 0.60 V.

  1. Thermal voltage: V_T = 0.02585 V.
  2. Exponent argument: qV/(n kT) = V/(n V_T) = 0.60/(1.5 × 0.02585) = 0.60/0.038775 = 15.47.
  3. Exponential: exp(15.47) = 5.24 × 10⁶ (calculator value).
  4. Diode current: Formula: I = I_0 [exp(qV/(n kT)) − 1] Numbers: I = 2.0×10⁻¹² × (5.24×10⁶ − 1) ≈ 2.0×10⁻¹² × 5.24×10⁶ = 1.05×10⁻⁵ A. Final: Forward current I = 10.5 µA (series/shunt resistances neglected).

Example 3: Solar cell I–V, V_oc, FF, and efficiency Given: Ideal Si solar cell at 300 K; I_0 = 1.0 × 10⁻¹² A; n = 1; light-generated current I_L = 0.20 A; cell area A = 10 cm² = 1.0 × 10⁻³ m²; irradiance G = 1000 W·m⁻².

  1. Short-circuit current: I_sc ≈ I_L = 0.20 A.
  2. Open-circuit voltage: Formula: V_oc = (n kT/q) ln(I_L/I_0 + 1) Numbers: V_oc = 0.02585 × ln(0.20/1×10⁻¹² + 1) = 0.02585 × ln(2.0×10¹¹) ln(2.0×10¹¹) = ln2 + 11 ln10 = 0.693 + 25.329 = 26.022 V_oc = 0.02585 × 26.022 = 0.672 V.
  3. Estimate maximum power point by taking V_m ≈ 0.8 V_oc (typical for a decent FF): V_m ≈ 0.538 V. Current at V_m (ideal illuminated diode): I(V_m) = I_L − I_0 [exp(V_m/V_T) − 1] V_m/V_T = 0.538/0.02585 = 20.81 → exp = 1.12 × 10⁹ I_m ≈ 0.20 − 1.0×10⁻¹² × (1.12×10⁹ − 1) = 0.20 − 1.12×10⁻³ = 0.1989 A. P_max ≈ V_m I_m = 0.538 × 0.1989 = 0.107 W.
  4. Fill factor: FF = P_max/(V_oc I_sc) = 0.107/(0.672 × 0.20) = 0.107/0.1344 = 0.796.
  5. Efficiency: Input optical power: P_in = G·A = 1000 × 1.0×10⁻³ = 1.00 W. η = P_max/P_in = 0.107/1.00 = 0.107 = 10.7%. Final: V_oc = 0.672 V, I_sc = 0.20 A, FF ≈ 0.80, P_max ≈ 0.107 W, η ≈ 10.7%.

Common mistakes

  • Using V_T = 26 mV at any temperature. V_T depends on T; at 300 K it is 25.85 mV.
  • Confusing I_sc with I_0. I_sc is light-generated (≈ I_L); I_0 is a tiny dark saturation current.
  • Computing η without using the actual illuminated area and irradiance (W·m⁻²). Keep track of area.
  • Drawing band diagrams with the Fermi level not flat at equilibrium. Under illumination or bias, use quasi-Fermi levels, but at equilibrium E_F is constant.

For your exam

  • Diagrams: Space-charge distribution and electric field; energy band diagram at equilibrium; equivalent circuit of a solar cell; I–V curves showing I_sc, V_oc, maximum power point.
  • Numericals: Calculate V_bi, W, x_p, x_n for given dopings; compute diode current at a given forward bias; for a solar cell, compute V_oc, FF, η given I_0, I_L, area, and irradiance. Full-marks answers show: correct formulas with assumptions, unit conversions, stepwise calculations with units, neat final answers with significant figures, and properly labeled sketches where asked.

Quick check

  1. What happens to the depletion width when reverse bias increases? Why?
  2. Write the expression for V_oc in an ideal solar cell and state what each symbol means.
  3. A Si solar cell has I_sc = 3.5 A and V_oc = 0.65 V. If FF = 0.80 and area A = 150 cm² under G = 1000 W·m⁻², estimate the efficiency.

Answers: 1) It increases because the applied reverse bias adds to V_bi, widening the space-charge region per W ∝ sqrt(V_bi + V_R). 2) V_oc = (n k T/q) ln(I_L/I_0 + 1): n ideality factor, k Boltzmann constant, T temperature (K), q electron charge, I_L light current, I_0 saturation current. 3) P_max = 0.80 × 3.5 × 0.65 = 1.82 W; P_in = 1000 × 0.015 = 15 W; η ≈ 1.82/15 = 12.1% (≈12%).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?