Lecture 3: Diffusion, Intro to PN Junction

Electronics I · · semiconductors, diffusion, pn junction

Contents

This typeset version was assembled by AI from my handwritten notes. The handwritten PDF is the original source. Video: Razavi Electronics 1, Lec 3.

Today’s lecture

  • Current transport by diffusion
  • PN junction
    • Applications
    • Basic structure
    • Behavior in equilibrium
Jdrift=(μnn+μpp)Eq,np=ni2J_\mathrm{drift} = (\mu_\mathrm{n} n + \mu_\mathrm{p} p)Eq, \qquad np = n_\mathrm{i}^2

Review of second lecture

Doping.

Phosphorus in the Si lattice gives an extra electron (n-type); boron leaves a hole (p-type)

Source: review.tex

Carrier transport.

Drift:v=μE  ⇒  ∣I∣=v⋅W⋅h⋅n⋅q\boxed{\text{Drift}}:\quad v = \mu E \;\Rightarrow\; |I| = v\cdot W\cdot h\cdot n\cdot q⇒  J=(μnn+μpp)Eq[A/cm2]\Rightarrow\; J = (\mu_\mathrm{n} n + \mu_\mathrm{p} p)Eq \quad [\mathrm{A/cm^2}]

Diffusion

(Current without voltage! It is possible!)

Definition: movement of charge carriers (anything really) from a region of high concentration to a region of low concentration.

Electrons injected into the end of an n-type bar; their concentration decays with distance from high to low

Source: diffusion.tex

Current definition.

Electrons moving right give conventional current to the left; holes moving right give conventional current to the right

Source: curdir.tex

Quantify this current.

J∝dndx\boxed{J \propto \frac{dn}{dx}}J=Dndndx q[A/cm2],Dn≠DpJ = D_\mathrm{n} \frac{dn}{dx}\, q \quad [\mathrm{A/cm^2}], \qquad D_\mathrm{n} \ne D_\mathrm{p}

where DnD_\mathrm{n} is the diffusivity of electrons.

Dn=34 cm2/secDp=12 cm2/sec\boxed{\begin{aligned} D_\mathrm{n} &= 34\ \mathrm{cm^2/sec} \\ D_\mathrm{p} &= 12\ \mathrm{cm^2/sec} \end{aligned}}

In general:

Jtot=(Dndndx−Dpdpdx)qJ_\mathrm{tot} = \left(D_\mathrm{n}\frac{dn}{dx} - D_\mathrm{p}\frac{dp}{dx}\right) q

Example:

Electrons injected into an n-type bar: n(x) decays exponentially when they recombine and falls linearly without recombination; the current density J(x) is constant without recombination and decays toward zero with it

Source: example.tex

The electrons recombine with holes in the semiconductor. What happens if the n-type is heavily doped? So, we have very few holes… This happens: no recombination.

Drift & diffusion

Jdrift=(μnn+μpp)Eq[A/cm2]J_\mathrm{drift} = (\mu_\mathrm{n} n + \mu_\mathrm{p} p)Eq \quad [\mathrm{A/cm^2}]Jdiff=(Dndndx−Dpdpdx)q[A/cm2]J_\mathrm{diff} = \left(D_\mathrm{n}\frac{dn}{dx} - D_\mathrm{p}\frac{dp}{dx}\right) q \quad [\mathrm{A/cm^2}]μn,p  ⟷relationship  Dn,p\mu_\mathrm{n,p} \;\overset{\text{relationship}}{\longleftrightarrow}\; D_\mathrm{n,p}

Einstein’s relation

Dμ=kTq  →  26 mV at T=300 K=25∘C\frac{D}{\mu} = \frac{kT}{q} \;\to\; 26\ \mathrm{mV} \text{ at } T = 300\ \mathrm{K} = 25^\circ\mathrm{C}

kT/qkT/q is the thermal voltage.

The pn junction

A diode: p-type and n-type regions side by side with a terminal on each

Source: pnblock.tex

Applications:

  • chargers & adapters
  • voltage multipliers

Quick experiment:

A voltage source across an n-type bar gives a straight-line I–V of slope 1/R; across a pn junction the current grows exponentially for positive voltage

An n-type bar is a resistor, Ix=Vx/RI_x = V_x/R; compare with the pn junction. Source: experiment.tex

Two questions:

  1. How do the charge carriers redistribute themselves after the pn junction is formed?
  2. How does the pn junction behave under 3 conditions?
    1. Equilibrium
    2. Reverse bias
    3. Forward bias

Some observations

1)

Carrier concentrations along an n-type bar (n_n about N_D, p_n about n_i^2/N_D) and a p-type bar (p_p about N_A, n_p about n_i^2/N_A)

Clarifying notations with subscripts. Source: obs1.tex

2)

A neutral n-type bar, and the same bar with a positive ion left after an electron is taken out

Source: obs2.tex

What is the net charge in this device? Answer: 0, every electron has its own proton in the corresponding atom’s nucleus ⇒\Rightarrow charge neutrality.

If an electron is taken out of the device, a positive ion is formed.

pn junction in equilibrium

pn junction: positive ions on the n side and negative ions on the p side form the depletion region; the field E points from n to p and the diffusion current flows from p to n

Source: equil.tex

The depletion region has no charge carriers. The electric field E⃗\vec E which is formed starts to oppose diffusion currents!

When E⃗\vec E is strong enough to stop all diffusion currents, we call this state →\rightarrow equilibrium\boxed{\text{equilibrium}}.

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/razavi-electronics-1/lec03-diffusion-intro-to-pn-junction/