AnyLearn
All lessons
Sciencebeginner

Semiconductor basics: bands, doping, and the PN junction

What makes silicon work where diamond won't, why doping turns an insulator into a tunable conductor, and how slapping p-type silicon next to n-type creates the depletion region that becomes a diode. The physics every chip is built on.

Not signed in — your progress and quiz score won't be saved.
Lesson progress1 / 8

Bands and band gaps

Materials have two key energy bands for valence electrons: the valence band (where electrons live when bound to atoms) and the conduction band (where they're free to carry current). The gap between them, EgE_g, decides everything.

  • Metals: bands overlap. Electrons are always free. Always conduct.
  • Insulators: gap is huge (~5+ eV for diamond). Nothing crosses. Don't conduct.
  • Semiconductors: gap is narrow (~1.1 eV for silicon, ~0.7 eV for germanium). At room temperature, some electrons get enough thermal energy to jump.

That "some" is what makes the material engineerable. With doping, light, voltage, or temperature you can turn conductivity on, off, or anywhere in between. Insulators are too closed; metals are too open. Silicon is the Goldilocks zone.

Full lesson text

All 8 steps on one page — for reading, reference, and search.

Show

1. Bands and band gaps

Materials have two key energy bands for valence electrons: the valence band (where electrons live when bound to atoms) and the conduction band (where they're free to carry current). The gap between them, EgE_g, decides everything.

  • Metals: bands overlap. Electrons are always free. Always conduct.
  • Insulators: gap is huge (~5+ eV for diamond). Nothing crosses. Don't conduct.
  • Semiconductors: gap is narrow (~1.1 eV for silicon, ~0.7 eV for germanium). At room temperature, some electrons get enough thermal energy to jump.

That "some" is what makes the material engineerable. With doping, light, voltage, or temperature you can turn conductivity on, off, or anywhere in between. Insulators are too closed; metals are too open. Silicon is the Goldilocks zone.

2. Electrons and holes

When an electron jumps from the valence to the conduction band, it leaves an empty spot behind — a hole. Holes act like positive charges: when a nearby valence electron drops into the hole, the hole effectively moves to where the electron came from.

So intrinsic (pure) silicon at room temperature has two carriers:

  • Electrons in the conduction band — negative charge, mobile.
  • Holes in the valence band — positive charge, mobile (in the bookkeeping sense).

The concentration of each is tiny: ni1.5×1010n_i \approx 1.5 \times 10^{10} per cm³ for Si at 300 K. Compare to 1022\sim 10^{22} atoms per cm³ — fewer than one atom in a trillion contributes a carrier. Pure silicon is a lousy conductor. The trick to making it useful is doping.

3. Doping: n-type and p-type

Silicon has four valence electrons; each atom sits in a tetrahedral bond with four neighbors. Replace a tiny fraction of Si atoms with elements that don't fit cleanly:

  • Phosphorus has 5 valence electrons — one left over. That electron drifts to the conduction band; the crystal stays neutral overall but now has a population of free electrons. → n-type.
  • Boron has 3 valence electrons — one short. It pulls one from a neighbor, leaving a hole behind. → p-type.

Typical doping: 1 phosphorus per million silicon atoms multiplies carrier concentration by 10510^5 to 10710^7. A tiny chemical change turns insulating silicon into a controllable conductor. Every modern chip is doped silicon — billions of carefully placed phosphorus and boron atoms patterned at the nanometer scale.

4. A PN junction at the boundary

Where p-type and n-type meet, carriers recombine and leave behind charged dopant ions — the depletion region.

flowchart LR
  A["p-type: boron-doped, holes"] --> B["Depletion region: ionized dopants, no free carriers"]
  B --> C["n-type: phosphorus-doped, electrons"]
  D["Holes diffuse right"] --> B
  E["Electrons diffuse left"] --> B
  B --> F["Built-in voltage opposes further diffusion"]

5. The depletion region

Slap p-type silicon next to n-type. At the boundary, electrons from the n-side diffuse into the p-side; holes from the p-side diffuse into the n-side. Both kinds of carrier hit the other side and recombine — they annihilate.

What's left in a thin region around the boundary: no free carriers, just the fixed ionized dopants (positive phosphorus on the n-side, negative boron on the p-side). This is the depletion region, and it carries a built-in voltage VbiV_{bi} (typically 0.6–0.7 V for silicon) pointing from n to p.

That built-in voltage is the barrier. It exactly opposes further diffusion at equilibrium: as many carriers diffuse across as are pushed back by the field. Net current is zero.

6. Forward bias: the knee

Connect a battery so the p-side is more positive than the n-side. The applied voltage cancels part of the built-in voltage. The depletion region shrinks, the barrier drops, and carriers from each side flood across.

The current grows exponentially with applied voltage:

I=Is(eV/VT1)I = I_s \left(e^{V/V_T} - 1\right)

where VT26V_T \approx 26 mV at room temperature and IsI_s is the saturation current (tiny, in nA to pA). The exponential is why a 100 mV voltage swing changes the current by orders of magnitude. It's also why every diode IV curve looks like a hockey stick around 0.6–0.7 V — the famous "knee voltage" of silicon.

7. Reverse bias: the wall

Flip the battery: p-side negative, n-side positive. The applied voltage adds to the built-in voltage. The depletion region grows, the barrier rises, and almost no current flows — just the saturation current IsI_s leaking through.

The PN junction is now a one-way valve: easy current forward, almost none in reverse. That asymmetry is the diode, the simplest semiconductor device.

The valve isn't perfect:

  • Reverse leakageIsI_s rises with temperature (every 10 °C roughly doubles it).
  • Breakdown — at a high enough reverse voltage, the field strips electrons off atoms and current floods. Avalanche breakdown. Engineered junctions (Zener diodes) use this on purpose; in regular diodes it's a failure mode.

Forward bias is a knee. Reverse bias is a wall — until it cracks.

8. Why every chip starts here

Three takeaways the rest of semiconductor engineering builds on:

  • Band gap decides whether a material can be a switch. Silicon is the historical winner; SiC and GaN are taking specific niches (high voltage, RF).
  • Doping is how you steer carriers. Every transistor, every memory cell, every diode is doping patterned at nanometer scale.
  • Junctions are where the action is. A PN junction by itself is a diode. Two back-to-back junctions are a bipolar transistor. A junction modulated by a gate is a MOSFET. Three back-to-back junctions are a thyristor.

The rest of this cursus walks up that ladder: diode → transistor → CMOS logic → chip → fab → scaling. Every step is a cleverer rearrangement of the same doped silicon.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. Why is silicon a useful semiconductor while diamond is essentially an insulator?
    • Silicon is cheaper to mine.
    • Diamond's band gap (~5.5 eV) is too wide to thermally excite carriers at room temperature, while silicon's (~1.1 eV) is narrow enough.
    • Diamond doesn't exist in crystalline form.
    • Silicon has more valence electrons than diamond.
  2. You replace a small fraction of silicon atoms in a wafer with boron. What is the wafer now?
    • An insulator.
    • A metal.
    • p-type silicon.
    • Intrinsic silicon.
  3. In a PN junction at equilibrium (no applied voltage), why is there no net current even though carriers can diffuse?
    • The depletion region has no free carriers at all.
    • Diffusion is exactly balanced by drift from the built-in voltage.
    • The phosphorus and boron dopants chemically neutralize each other.
    • Silicon's intrinsic carrier concentration is too low for diffusion to occur.
  4. A silicon diode is forward-biased at 0.65 V. Approximately what happens to the current if the bias is raised to 0.71 V?
    • It doubles.
    • It rises by about 10× because the IV curve is exponential with thermal voltage near 26 mV.
    • It rises by roughly 9%.
    • It stays roughly constant.
  5. Why does reverse-biasing a PN junction block current (until breakdown)?
    • The depletion region disappears.
    • The applied voltage adds to the built-in voltage, widening the depletion region and raising the barrier.
    • The dopants migrate to the opposite side under the applied field.
    • Silicon's band gap shrinks under reverse bias.

Related lessons