2.2.5 · D2Doping & PN Junctions

Visual walkthrough — Depletion region and space charge

2,457 words11 min readBack to topic

We will lean on three prerequisite ideas as we go: Doping (Donors and Acceptors) (where the fixed ions come from), Poisson's Equation and Gauss's Law (the master tool), and Built-in Potential and Fermi Level Alignment (what sets the voltage). Nothing else is assumed.


Step 1 — Draw the two crystals before they touch

WHAT. We start with two blocks of silicon. The left block is p-type: it was doped with acceptor atoms, so it is full of free holes (draw them as pink circles) and, locked into the lattice, an equal number of negative acceptor ions (we write these ). The right block is n-type: full of free electrons (blue circles) plus positive donor ions .

WHY. Before anything moves, each block is electrically neutral: the free carriers exactly cancel the fixed ions. We must see this starting state clearly, because the whole story is about what happens when the free carriers leave and the fixed ions get uncovered.

PICTURE. In the figure, notice that inside each block the mobile carriers (small filled circles) sit right on top of the fixed ions (small squares) — so every region is neutral. The dashed line in the middle is the metallurgical junction: the plane where p meets n.

Figure — Depletion region and space charge

Step 2 — Let them touch: diffusion carves out the empty zone

WHAT. Now we join the blocks. Right at the junction, blue electrons see empty space to their left (few electrons there) and pink holes see empty space to their right. So they spill across and recombine — an electron meets a hole and both vanish.

WHY. This spilling is diffusion: particles drift from where they are crowded to where they are sparse (see Drift and Diffusion Currents). It is the same reason a drop of ink spreads in water. It happens because of the concentration difference, and it stops nothing on its own — something else will have to.

PICTURE. Look at the middle strip in the figure: the mobile circles are gone, but the fixed squares remain. On the left of the junction we are left with bare negative acceptor ions; on the right, bare positive donor ions. This stripped strip is the depletion region. Outside it, the blocks are still neutral (carriers still cover their ions).

Figure — Depletion region and space charge

Step 3 — Model the charge as two clean boxes (the depletion approximation)

WHAT. Set up a horizontal axis with at the junction. We call the depletion edge on the p-side and on the n-side (both are positive distances, measured outward from the junction). We now claim the charge density — charge per unit volume — looks like two flat rectangles:

Reading the equation left to right: says "on the p-side, every unit of volume holds acceptor ions, each carrying charge — so a negative block." says "on the n-side, donor ions each carrying — a positive block." Outside the carriers still cover the ions, so .

WHY. In reality the carrier count fades out smoothly over a short distance (a Debye length). But smooth curves make the integrals ugly. Chopping them into sharp boxes — fully depleted inside, fully neutral outside — turns the hard integrals into rectangle areas, and it barely changes the answer because the fade is so short. This shortcut is the depletion approximation.

PICTURE. The figure shows as a downward pink rectangle on the left and an upward yellow rectangle on the right. Their heights are and ; their widths are and .

Figure — Depletion region and space charge

Step 4 — Balance the two boxes (charge neutrality)

WHAT. The two rectangles cannot have any shape they like. The total negative charge (area of the left box) must equal the total positive charge (area of the right box):

WHY. Joining the crystals created no new charge — we only rearranged existing charge. So the plus and minus totals must still cancel. This single line has a big consequence: solving for the ratio, which says the depletion region reaches further into the lightly-doped side. Fewer ions per volume there means you must expose a thicker slab to match the same total charge.

PICTURE. The figure re-draws the two boxes with equal shaded areas but different heights and widths — the tall skinny box (heavily doped) and the short wide box (lightly doped). The equal-area shading is the visual meaning of neutrality.

Figure — Depletion region and space charge

Step 5 — Turn charge into field (integrate Poisson once)

WHAT. Now we bring in the master tool. Gauss's law in one dimension says where is the electric field (force per unit charge) and is the permittivity of silicon — a number measuring how much field a given charge produces in this material.

WHY this tool and not another? We have a charge layout and we want the field it creates. The one equation that connects "charge here" to "field's rate of change" is Gauss's law. Reading it: means "how fast the field grows as you step in ." The equation says that growth rate is set by the local charge density. Where there is charge, the field ramps; where , the field is flat.

Doing the integral, p-side first (, and the field is zero at the outer edge because outside is neutral): Term by term: the slope is (negative, so the field grows more negative as increases across the p-box); the factor is zero at , confirming at the edge.

n-side (, field zero at the outer edge ): Here is zero at (edge) and largest at .

Both lines meet at the junction with the most negative value: (the two forms are equal because of Step 4's neutrality, ).

PICTURE. The field is two straight lines forming a triangle: zero at both edges, dipping to a sharp point at the junction. The field points from n toward p (it is negative on our axis), which is exactly the "wind" that pushes carriers back and stops diffusion.

Figure — Depletion region and space charge

Step 6 — Turn field into potential (integrate again)

WHAT. The potential relates to the field by . So the potential drop across the region — the total climb — is the (negative) area swept out by :

Reading it: (the built-in potential) is the area of the field triangle. A triangle's area is ; here the base is the total width and the height is .

WHY. Potential is "how much uphill work per charge." Since tells the slope of that hill at every point, adding up (integrating) the slope over the region gives the total height climbed — and geometrically, adding up a triangular slope profile is just the triangle's area. No calculus mystery: it is a triangle.

PICTURE. The figure stacks two panels: on top the triangular with its area shaded; below, the resulting — a smooth S-curve (parabola-joined-to-parabola) rising by exactly from the p-side up to the n-side. The steepest part of the S sits right at the junction, where is biggest.

Figure — Depletion region and space charge

Step 7 — Solve for the total width

WHAT. We now have two facts about the region:

  1. Neutrality: and (splitting by the doping ratio).
  2. Triangle area: , with .

Substitute into , then into the area, and solve for :

Reading the formula:

  • on top → a bigger barrier needs a wider charge region to build it. grows like .
  • higher doping shrinks : more ions per volume means you expose fewer of them to reach the same total charge. The lighter side dominates the sum (the bigger of the two terms wins).
  • on top → a more permissive material spreads charge over a wider region.

WHY the square root? Because we integrated twice (charge → field → potential), each integration adding one power of distance, so the potential grows like ; inverting that relationship gives .

PICTURE. The figure shows swelling under reverse bias and shrinking under forward bias — a slider from narrow (forward) to wide (reverse). This behaviour is exactly what makes a varactor work.

Figure — Depletion region and space charge

Step 8 — The edge cases (never leave the reader stranded)

WHAT & WHY & PICTURE, one degenerate case at a time:

  • Symmetric junction, . Heights equal → widths equal → the region is a mirror image about the junction. The field triangle is isosceles.
  • One-sided junction, (a diode). Then : almost the entire region lives in the lightly-doped n-side. We approximate — the heavy side contributes a negligible sliver.
  • Forward bias . The applied voltage opposes the built-in barrier: replace . So shrinks, the field weakens, and carriers start crossing — this is the "on" state in the diode I-V curve.
  • Reverse bias . Replace . grows, field strengthens, region empties further.
Figure — Depletion region and space charge

The one-picture summary

Everything on one axis, stacked so each layer causes the next:

  1. — two boxes of fixed ion charge (heights , , equal areas).
  2. — integrate the boxes → a triangle, peaking at the junction.
  3. — integrate the triangle → a smooth S-curve rising by .
  4. — the base of the triangle, set by the boxed formula.
Figure — Depletion region and space charge
Recall Feynman: retell the whole walkthrough in plain words

Two crystals meet. Near the seam, the little movers (electrons and holes) rush across and pair off, disappearing — and each one that leaves uncovers a fixed charged atom stuck in the lattice. So the seam becomes an empty strip with a slab of frozen minus-charge on one side and plus-charge on the other. That charge slab, by the same rule that says "charge bends field lines," makes an electric field that ramps up straight to a peak right at the seam — a triangle. If you now ask "how much uphill voltage is that?", the answer is just the area of the triangle. We already know that voltage from the doping (Fermi levels must line up), so we run the whole thing backwards: known voltage → triangle area → triangle base → the width . Widen the barrier with reverse voltage and the triangle grows; oppose it with forward voltage and the triangle shrinks. And because we integrated twice, the width follows a square-root law — which is the secret behind the voltage-tunable capacitor.

Recall Quick self-test

Why is the field triangular and not flat? ::: The charge lives in a volume ( constant in each box), so Gauss's law makes ramp linearly, peaking at the junction. Which side of the junction is wider, and why? ::: The lightly-doped side. Neutrality forces the region with fewer ions per volume to be thicker to hold equal total charge. Why does scale as ? ::: Two integrations (charge→field→potential) make potential grow like ; inverting gives .