S124 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S1 · Lesson 24 · Diode lab

Saturation currents, I–V fits, series resistance, C–V profiles and switching, in Python

A diode's datasheet and its physics meet in a handful of measurements: the forward I–V curve gives the saturation current and ideality factor, its bend at high current gives the series resistance, the C–V curve gives the doping profile, and the reverse-recovery transient gives the stored charge. This lab writes the extraction tools and the forward models in Python, and checks each against synthetic data built from known parameters, the way a device-characterization engineer validates their scripts before trusting them on real wafers.

  • The curve is a diode's forward current on a log scale: ideal exponential at low current, bending over at high current where the series resistance takes a growing share of the voltage.
  • Raise the series resistance and the bend moves down to lower currents.
  • Raise the ideality factor and the straight part's slope flattens: recombination in the depletion region (n near 2) dominates at low voltage.

Predict

A diode's n region is thinned from much longer than a hole diffusion length (34 µm) to 2 µm, with an ohmic contact at its end. How does its saturation current change?

Name it

The tools

  • Saturation current: J0=qni2(DnLnNa+DpLpNdcoth⁡WnLp), the coth for a contact at Wn (→ 1 for a long base).
  • I–V fit: at moderate current, ln⁡I=ln⁡I0+V/(nVT) is a straight line: fit it by least squares.
  • Series resistance: at high current, V−nVTln⁡(I/I0)=IRs: a line through the origin.
  • C–V profile: for a one-sided junction, N=2qεA2d(1/C2)/dV at each bias.
  • Reverse recovery: charge control gives a storage time τln⁡(1+IF/IR).

Use VT = 0.02585 V, q = 1.602 × 10⁻¹⁹ C, ε = 1.036 × 10⁻¹² F/cm.

Check

Write j0(Na, Nd, Dn, Ln, Dp, Lp, Wn=None, ni=1e10): the saturation current density (A/cm²) of a junction, with the n side long if Wn is None, or ending at an ohmic contact at Wn otherwise (coth⁡(Wn/Lp) factor on the hole term).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write fit_diode(V, I): fit ln⁡I=ln⁡I0+V/(nVT) by least squares to (V, I) data and return (I0, n).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write series_r(V, I, I0, n): with I0 and n known from the low-current fit, find Rs by least squares through the origin on V−nVTln⁡(I/I0)=IRs, using high-current (V, I) points.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write cv_profile(V, C, A): from capacitances C (F) at reverse biases V (V) of a one-sided junction of area A (cm²), return the doping N=2/(qεA2Δ(1/C2)/ΔV) for each neighboring pair of points.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Write storage_time(IF, IR, tau): the charge-control storage time τln⁡(1+IF/IR), and stored_charge(IF, tau): IFτ.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why is the ideality factor fitted from moderate currents and the series resistance from high currents, rather than both from the whole curve at once?