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

S1 · Lesson 51 · Device simulation lab

Solving Poisson's equation with the carriers, and checking the depletion approximation

Every formula for the pn junction in this course rests on the depletion approximation: carriers vanish abruptly at the edges of the depletion region. Real device simulators (TCAD) make no such assumption. They solve Poisson's equation with the electron and hole densities included, which makes it nonlinear, by Newton's method on a grid. In this lab you'll write a small version of that solver for a junction in equilibrium and under bias, and use it to measure how good the depletion approximation is: close, and off in a predictable way.

Predict

The depletion approximation predicts a junction's peak field. Compared with the exact solution of Poisson's equation with the carriers included, is it high or low?

Name it

The equations

Measure the electrostatic potential φ from the intrinsic level, with the hole quasi-Fermi potential at 0 and the electron one at −Va (lesson 7: both flat across the junction). Then

n=nie(ϕ+Va)/VT,p=nie−ϕ/VT,d2ϕdx2=−qε(p−n+Nd−Na)

The boundaries are neutral contacts: ϕ(0)=−VTln⁡Nani and ϕ(L)=−Va+VTln⁡Ndni.

Newton's method on a grid

On a uniform grid with spacing h, the residual at each interior point is

Fi=ϕi−1−2ϕi+ϕi+1h2+qε(pi−ni+Di)

and its Jacobian is tridiagonal: 1h2 off the diagonal, −2h2−qεVT(pi+ni) on it. Each Newton step solves Jδ=−F (a tridiagonal solver, provided) and updates φ by δ, clipped to ±0.5 V so early steps from a crude guess can't overshoot. Starting from the neutral values on each side, it converges in about ten steps.

Resolution

The grid must resolve the Debye length on both sides, LD=εkT/q2N: 4 nm at 1018 cm⁻³. A junction with a heavily doped side needs a fine grid (or a nonuniform one, as real simulators use) there.

What you'll write

  1. depletion(Na, Nd, Va=0.0): return (Vbi, W, Emax) from the depletion approximation, W in cm, Emax in V/cm.
  2. solve_junction(Na, Nd, Va=0.0, L=4e-4, n=801): return (x, phi), the Newton solution, with the junction at L/2.
  3. junction_cap(Na, Nd, Va): the capacitance per area from the solver, εdEmaxd(−Va) by a central difference with h = 0.05 V, using a domain six depletion widths long (at 5 V reverse) and 1201 points. (Gauss's law: the charge on each side is εEmax.)

Worked example

Why does a better approximation subtract 2kT/q from the junction voltage?

Show the solution
  1. Carrier tails. Each side of the junction has a transition region a few Debye lengths thick where the majority carriers fade out.
  2. Where the voltage goes. Their remaining charge partly offsets the dopants', so a little of the junction voltage is spent pushing back carriers rather than across bare dopants.
  3. How much. Integrating Poisson's equation through those tails shows the lost voltage is kT/q on each side.
  4. An example. For Na=1017, Nd=1016 the plain formula gives 46.6 kV/cm; with 0.774 − 0.052 V it gives 45.1, and the Newton solver gives 45.2.

Answer the majority-carrier tails on each side of the junction use up kT/q each, 2kT/q in all; subtracting it gives 45.1 kV/cm in the example, against the solver's 45.2.

Worked example

How do you get the capacitance from a solver that only gives the potential?

Show the solution
  1. Charge from the field. By Gauss's law, the field at the junction equals the charge on one side divided by ε, so per area Q=εEmax
  2. Difference two solutions. Solving at two nearby biases and differencing gives C=dQdVR=ε2h[Emax(Va−h)−Emax(Va+h)]
  3. Check against ε/W. At 1 V and 3 V reverse the solver lands within 1.5% of ε/W, slightly above it, since the carrier tails make the effective plate spacing a little smaller than W.

Answer take Q=εEmax from Gauss's law at two nearby biases and difference them to get C=dQ/dVR.

Check

Step 1. Write depletion(Na, Nd, Va=0.0) returning (Vbi, W, Emax) in V, cm and V/cm.

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

Check

Step 2. Write solve_junction(Na, Nd, Va=0.0, L=4e-4, n=801) returning (x, phi).

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

Check

Step 3. Write junction_cap(Na, Nd, Va), the capacitance per area from the solver.

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

Check

A device simulator must resolve the Debye length. What is it in silicon doped 1 × 10¹⁷ cm⁻³?

Write units the way you normally would: 1.5 nm, 1500 pm and 0.0015 µm are the same answer.

Check

A junction has Vbi = 0.8 V and 0 V of reverse bias. By what percentage does the 2kT/q correction lower the predicted peak field?

Check

A junction's peak field is 50 kV/cm. How many ionized dopants per cm² sit on each side of it?

Explain why

Why does Newton's method need its updates clipped when it starts from a crude guess, but converge quickly once it's close?

Practice

Keep practicing

6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.