p-n Junction Formation & Equilibrium Depletion Layer

Explore how joining p-type and n-type semiconductor regions gives rise to majority carrier diffusion, uncompensated space-charge depletion, a built-in electric field ($\mathbf{E}_{\text{built-in}}$), barrier potential ($V_0$), and dynamic equilibrium where diffusion and drift currents balance identically ($I_{\text{net}} \equiv 0$).

Barrier Potential ($V_0$): 0.69 V
Depletion Width ($W$): 0.42 μm
Peak Electric Field ($\mathcal{E}_{\max}$): 3.28 × 10⁴ V/cm
Net Current ($I_{\text{net}}$): 0.00 µA (Balanced)
Carrier Concentration & Current Density Balance Equilibrium Logs: $J_{\text{diff}} + J_{\text{drift}} \equiv 0$
Predict • Observe • Explain

Why does diffusion stop in an isolated p-n junction?

In an open-circuit $p\text{-}n$ junction held in thermal equilibrium at room temperature, why doesn't majority carrier diffusion continue until holes and electrons are uniformly mixed throughout the entire crystal?

Theoretical Principles & Mathematical Formulations

🔄

1. The Dual Competing Transport Mechanisms

When a $p$-type and $n$-type semiconductor form a continuous crystal junction, two opposing currents arise:

  • Diffusion Current ($I_{\text{diff}}$): The vast concentration gradient drives holes from the $p$-region ($p \sim 10^{16}\,\text{cm}^{-3}$) toward the $n$-region ($p \sim 10^4\,\text{cm}^{-3}$), and electrons from the $n$-region toward the $p$-region.
  • Drift Current ($I_{\text{drift}}$): As carriers diffuse across the metallurgical boundary, they leave behind uncompensated ionic cores. This space-charge builds an internal electric field $\mathbf{E}_{\text{built-in}}$ pointing from $n \to p$, which accelerates minority carriers in the opposite direction.
$$J_{\text{diff}} = q D_n \frac{dn}{dx} - q D_p \frac{dp}{dx}, \quad J_{\text{drift}} = q \left(n \mu_n + p \mu_p\right) \mathcal{E}_{\text{built-in}}$$
🛡️

2. The Depletion Region & Space-Charge

The region adjacent to the junction becomes completely depleted of all mobile charge carriers (free electrons and holes):

  • The $p$-side retains locked, negatively charged trivalent acceptor ions ($-N_a$).
  • The $n$-side retains locked, positively charged pentavalent donor ions ($+N_d$).
  • Global electrical neutrality requires the total uncompensated negative charge on the $p$-side to match the positive charge on the $n$-side:
$$q N_a x_p = q N_d x_n \implies \frac{x_p}{x_n} = \frac{N_d}{N_a}$$

Consequently, the depletion layer penetrates deeper into the more lightly doped semiconductor side.

📐

3. Poisson's Equation & Electric Field Distribution

The spatial distribution of the electric field $\mathcal{E}(x)$ is governed by Gauss's law / Poisson's equation:

$$\frac{d\mathcal{E}}{dx} = \frac{\rho(x)}{\varepsilon_s} = \begin{cases} -\frac{q N_a}{\varepsilon_s} & (-x_p \le x < 0) \\ +\frac{q N_d}{\varepsilon_s} & (0 \le x \le x_n) \end{cases}$$

Integrating across the depletion slab yields a triangular electric field peaking at the metallurgical junction ($x = 0$):

$$\mathcal{E}_{\max} = -\frac{q N_a x_p}{\varepsilon_s} = -\frac{q N_d x_n}{\varepsilon_s} \sim 10^4\text{--}10^5\,\text{V/cm}$$
⚡

4. Built-In Barrier Potential ($V_0$)

Integrating the negative electric field yields the electrostatic potential barrier $V(x)$, which prevents further majority diffusion:

$$V_0 = -\int_{-x_p}^{x_n} \mathcal{E}(x)\,dx = \frac{k_B T}{q} \ln\left(\frac{N_a N_d}{n_i^2}\right) = V_T \ln\left(\frac{N_a N_d}{n_i^2}\right)$$
  • At room temperature ($T = 300\,\text{K}$), the thermal voltage $V_T = k_B T / q \approx 25.9\,\text{mV}$.
  • For typical Silicon dopings ($N_a = N_d = 10^{16}\,\text{cm}^{-3}$): $V_0 \approx 0.70\,\text{V}$.
  • For Germanium: $V_0 \approx 0.30\,\text{V}$ (due to higher intrinsic carrier concentration $n_i$).
📏

5. Total Depletion Layer Width ($W$)

Relating the peak electric field to the total potential barrier $V_0 = \frac{1}{2} |\mathcal{E}_{\max}| W$ provides the formula for total depletion thickness:

$$W = x_p + x_n = \sqrt{\frac{2 \varepsilon_s V_0}{q} \left(\frac{1}{N_a} + \frac{1}{N_d}\right)}$$

For standard Silicon doping concentrations ($10^{16}\,\text{cm}^{-3}$), the equilibrium depletion layer thickness is typically between $0.1\,\mu\text{m}$ and $1.0\,\mu\text{m}$ (fractions of a micrometer).

📉

6. Energy Band Bending & Thermodynamic Equilibrium

In thermal equilibrium with zero applied bias, the electrochemical potential (Fermi level $E_F$) must remain strictly horizontal and continuous throughout the device:

  • The conduction band edge $E_c$ and valence band edge $E_v$ bend upwards on the $p$-side by electrostatic energy $q V_0$.
  • This band bending establishes a potential energy hill: majority electrons in the $n$-side must possess thermal kinetic energy $\ge q V_0$ to surmount the barrier.
  • Dynamic equilibrium guarantees that the diffusion current over the barrier exactly equals the drift current swept down the hill:
$$I_{\text{diff}} + I_{\text{drift}} \equiv 0 \implies I_{\text{net}} \equiv 0.00\,\text{A}$$

About this series

Physics is best learned through exploration, experimentation, and visualization.

Developed by Dr. Ajith S Kumar, Department of Physics, D B Pampa College, Parumala, this collection brings Plus Two (Class 11 & 12) physics to life through interactive simulations. Each simulation is carefully designed around the concepts students find most challenging, helping learners develop a deeper understanding rather than simply memorize formulas. Aligned with the Kerala Higher Secondary (SCERT) and NCERT syllabus, it is open to every student, teacher, and physics enthusiast.

This simulation suite covers the complete curriculum, spanning electrostatics, electric currents, magnetism, optics, wave mechanics, modern physics, nuclear transformations, and solid-state semiconductor electronics.