Skip to content

2. Semiconductor basics

Lecture 2 lays the ground for every device in the course. It starts with the material, silicon, and explains with a band picture why pure silicon barely conducts. Then come the two properties that make a semiconductor useful: its conductivity rises steeply with temperature, and a tiny amount of doping changes it by orders of magnitude. The Fermi level ties these together: one number that tells you how many electrons and holes there are. The lecture ends by making a pn junction, the first real device, and explaining why it lets current through in only one direction.

After this chapter you can:

  1. describe silicon’s crystal, its atom density and the centimetre-based units of device physics;
  2. explain how bands and the band gap form as atoms come together, and why silicon at T=0T = 0 is an insulator;
  3. state the two properties that make a semiconductor, and calculate electron and hole concentrations in intrinsic and doped silicon with np=ni2np = n_i^2;
  4. use the Fermi–Dirac function and n=nie(EF−Ei)/kTn = n_i e^{(E_F - E_i)/kT} to find the Fermi level from the doping, and the reverse;
  5. outline how a pn junction is made: oxidation, lithography, etching, implantation, annealing and contacts;
  6. explain in words and band diagrams why a pn junction forms a depletion region and a barrier, and why it conducts in forward bias but only leaks in reverse.

Boxes and equations marked board were written in the lecture. Parts marked added are explanations or examples this guide adds.

Before you start

You need a few ideas from Chapter 0. Each is restated here so you don’t have to flip back.

  • Energy and voltage. An electron volt (eV) is the energy an electron gains across one volt. Energies in this chapter are in eV; dividing by qq turns them into volts with the same number.
  • Logarithms. If y=exy = e^{x} then x=ln⁡yx = \ln y. Each factor of 10 is ln⁡10=2.303\ln 10 = 2.303, so at room temperature kTln⁡10≈60 meVkT\ln 10 \approx 60\,\mathrm{meV}: 60 meV per decade.
  • Band diagrams. Energy is up, position is across. An electron is lower in energy at a higher potential, so bands bend opposite to the potential.
  • Constants in cm units: kT=26 meVkT = 26\,\mathrm{meV} (and kT/q=26 mVkT/q = 26\,\mathrm{mV}) at 300 K, ni=1010 cm−3n_i = 10^{10}\,\mathrm{cm^{-3}}, Eg=1.1 eVE_g = 1.1\,\mathrm{eV} for silicon.

Notation. nn and pp are the electron and hole concentrations, in cm−3\mathrm{cm^{-3}}. NDN_D and NAN_A are the donor and acceptor concentrations. ECE_C and EVE_V are the conduction- and valence-band edges, EiE_i the intrinsic Fermi level and EFE_F the Fermi level. As on the board, the chapter writes the thermal energy kTkT in the exponents; the worked examples use kT=0.02585 eVkT = 0.02585\,\mathrm{eV}.

1. Silicon, the material

The idea. Silicon is a single element from group IV. Every atom bonds to four neighbours, and there are about 102210^{22} atoms in each cubic centimetre.

Lightboard: Silicon (elemental semiconductor), Group IV, 12-inch (300-mm) and 200-mm wafers, 0.13 µm, 400-mm; 3s² 3p², 4 valence electrons; diamond lattice, 10²² cm⁻³; tetrahedral bonding sketch, CH₄; the m of mks circled with an arrow to cm; at the right, the first atomic levels 3s and 3p with 4N electrons.
Lecture02 @ 05:44Silicon: group IV, wafers, the diamond lattice, about 10²² atoms per cm³, and 'mks → cm'.
  • An elemental semiconductor (0:48). Silicon sits in group IV of the periodic table. A compound semiconductor such as gallium arsenide needs two elements; silicon needs only one.
  • Boules and wafers (1:07). Silicon is grown as a single crystal, a long cylinder called a boule, and sliced into wafers. Today’s wafers are 300 mm (12 inches) across; the older size is 200 mm (8 inches). The change happened at about the 0.13 µm technology node: at 0.13 µm you find both, and every node after it is 300 mm. A move to 400 mm has been discussed, with some tooling built, but it has not reached major production (1:33).
  • The diamond lattice (2:16). Each silicon atom bonds to four others in a tetrahedral arrangement, the same shape as the bonds of methane, CH₄. A whole crystal built this way is the diamond lattice; carbon in the same structure is diamond. The crystal holds about 102210^{22} atoms per cm³ (2:55). (The precise value is 5×1022 cm−35\times10^{22}\,\mathrm{cm^{-3}} added; the lecture’s round 102210^{22} is used below.)
  • Four valence electrons (4:17). The outer shell is 3s2 3p23s^2\,3p^2: two electrons in the 3s orbital and two in the 3p orbitals. The lecturer first says 3p63p^6, corrects himself, and the board shows the 6 overwritten with a 2.

The units of device physics

The lecture’s units are MKS, except that the metre is replaced by the centimetre (3:23). It isn’t CGS: charge is still in coulombs, voltage in volts. Concentrations are per cm³, fields in V/cm, capacitances per area in F/cm². The lecturer calls this a legacy of Shockley, kept in the United States; in Europe you will see straight MKS, with concentrations per m³.

Worked example. added Convert a doping of 1016 cm−310^{16}\,\mathrm{cm^{-3}} to m−3\mathrm{m^{-3}}.

  1. One metre is 100 cm, so one cubic metre is 1003=106100^3 = 10^6 cubic centimetres.
  2. A cubic metre therefore holds 10610^6 times as many atoms: 1016×106=1022 m−310^{16}\times10^6 = 10^{22}\,\mathrm{m^{-3}}.
Check yourself How many valence electrons does a silicon atom have, and why does the number matter for doping?

Four (3s23p23s^2 3p^2), because silicon is in group IV. Replacing a silicon atom by a group V atom adds a fifth electron; a group III atom brings one too few. Section 4 builds doping on exactly this count.

2. From atomic levels to bands

The idea. Bring many silicon atoms together and their sharp atomic energy levels spread into two bands of allowed energies, separated by a band gap with no states at all.

Lightboard, right half: 'Band structure', tight binding; atomic 3s and 3p levels with spin-up/down pairs at the right; as the atoms are brought together (arrow to the left, 'lattice constant') the levels split into a conduction band (4N states) and a valence band (4N states) separated by the band gap E_g; 4N electrons, N = number of atoms. Left half: metal, semiconductor, insulators; kT = 26 meV at 300 K; 1.1 eV; 10¹⁰ cm⁻³; n = p = n_i (intrinsic carrier concentration); T = 0; conductivity of a semiconductor is exponentially dependent on T, ∝ e^(−E_g/2kT); conductivity can be modulated with impurities ⇒ dopants.
Lecture02 @ 15:10The band structure (right), and the two properties that make a semiconductor (left).

The lecture builds the bands with the tight-binding picture (7:06): start from isolated atoms and imagine pushing them together.

Bands from atomic levels (board, 4:59–9:55)

  1. Isolated atoms. Each silicon atom has a 3s level and a 3p level. Its four valence electrons fill the 3s level (two, spin up and down) and two of the six 3p places. With NN atoms there are 4N4N electrons.
  2. Count the places. Each atom offers 2 places in 3s and 6 in 3p, so NN atoms offer 2N+6N=8N2N + 6N = 8N places (9:26). When the atoms are far apart, all NN copies of a level sit at the same energy: the level is hugely degenerate (about 102210^{22} copies per cm³).
  3. Bring the atoms together. The orbitals of neighbouring atoms start to overlap and interact. The degeneracy is lifted: each level spreads into a range of closely spaced energies (8:05).
  4. At the real spacing, the lattice constant of silicon, the levels have regrouped into two bands (8:43): a lower valence band and an upper conduction band.
  5. Share out the places. The 8N8N states split evenly: 4N4N in the valence band and 4N4N in the conduction band (9:26).
  6. The gap. Between the top of the valence band and the bottom of the conduction band is an energy range with no states at all, the band gap board: Eg=1.1 eVE_g = 1.1\,\mathrm{eV} in silicon (9:16).

What happens at absolute zero (9:55). There are 4N4N electrons and exactly 4N4N valence-band states. At T=0T = 0 every valence state is filled and every conduction state is empty. An electron can only move if it has an empty state to move into, and there is none nearby. So at T=0T = 0 silicon has no free carriers: it is a perfect insulator (10:31).

Common mistakes.

  • Treating the band gap as a physical gap in the crystal. It is a range of energies with no allowed states, not a region of space.
  • Thinking a full band conducts because it has many electrons. A completely full band carries no current: no electron has an empty state to move into.
Check yourself Silicon has 4N valence electrons and 8N states. Why is it an insulator at T = 0 rather than a conductor?

Because the 8N8N states split into two bands of 4N4N, and the 4N4N electrons exactly fill the lower one. A full band has no empty states, and the empty band sits 1.1 eV1.1\,\mathrm{eV} higher, across the gap. With nothing to move into, no electron can respond to a field.

3. What makes a semiconductor, part 1: temperature

The idea. Heat lifts a few electrons across the gap. Each one leaves a hole behind, and both can carry current, so conductivity rises exponentially with temperature.

A semiconductor sits between metals, which conduct a lot, and insulators, which don’t conduct at all (10:50). But “somewhere in between” is too simple a definition. The lecture names two characteristics, and the first is this (11:28):

Why. At any temperature above zero, there is a chance that an electron in the valence band is excited into the conduction band (12:08). That creates an electron–hole pair (12:48):

  • the electron is now in the nearly empty conduction band, with plenty of empty states to move into;
  • the empty state it left in the valence band is a hole (h+h^+). Like a bubble in a liquid, the hole moves too, and it behaves as a positive charge.

Both are free carriers. The higher the temperature, the more pairs are generated, and the conductivity grows exponentially.

Intrinsic silicon (13:21). In perfectly pure silicon every electron excited into the conduction band leaves exactly one hole. So

n=p=ni,n = p = n_i ,

where nin_i is the intrinsic carrier concentration, 1010 cm−310^{10}\,\mathrm{cm^{-3}} at room temperature board (14:03).

Where the ½ in the exponent comes from. added The lecture writes Eg/2kTE_g/2kT but doesn’t stop on the 2. Section 6 supplies the reason: in intrinsic silicon the Fermi level sits in the middle of the gap, so the conduction band is only Eg/2E_g/2 above it, and the chance of finding an electron there falls as e−(Eg/2)/kTe^{-(E_g/2)/kT}.

Worked example. added By what factor does e−Eg/2kTe^{-E_g/2kT} grow when silicon warms from 300 K to 310 K? Use k=8.617×10−5 eV/Kk = 8.617\times10^{-5}\,\mathrm{eV/K}.

  1. The ratio of the two factors is e−Eg/2kT2/e−Eg/2kT1=exp⁡ ⁣[Eg2k(1T1−1T2)]e^{-E_g/2kT_2}/e^{-E_g/2kT_1} = \exp\!\left[\dfrac{E_g}{2k}\left(\dfrac{1}{T_1} - \dfrac{1}{T_2}\right)\right].
  2. Eg2k=1.12×8.617×10−5=6383 K\dfrac{E_g}{2k} = \dfrac{1.1}{2\times8.617\times10^{-5}} = 6383\,\mathrm{K}.
  3. 1300−1310=1.075×10−4 K−1\dfrac{1}{300} - \dfrac{1}{310} = 1.075\times10^{-4}\,\mathrm{K^{-1}}.
  4. The exponent is 6383×1.075×10−4=0.6866383\times1.075\times10^{-4} = 0.686, and e0.686=1.99e^{0.686} = 1.99.
  5. A 10 K rise roughly doubles the intrinsic carrier population. That is what “exponentially dependent on temperature” means in practice.

Common mistakes.

  • Mixing up kTkT and kT/qkT/q. kT=26 meVkT = 26\,\mathrm{meV} is an energy; kT/q=26 mVkT/q = 26\,\mathrm{mV} is a voltage. They have the same number.
  • Reading ni=1010n_i = 10^{10} as a constant. It is the room-temperature value; it rises steeply with temperature.
Check yourself In intrinsic silicon, why must n equal p exactly?

Every carrier comes from one thermal event that lifts one electron out of the valence band. Each event makes one conduction electron and one hole, so the two counts are always equal.

4. What makes a semiconductor, part 2: doping

The idea. Replace one silicon atom in ten million by phosphorus and the electron concentration jumps from 101010^{10} to 1015 cm−310^{15}\,\mathrm{cm^{-3}}. A tiny amount of the right impurity changes the conductivity by orders of magnitude.

The lecturer calls this “the more important second characteristic” and “by far the most interesting” (14:18): the conductivity can be modulated, by many orders of magnitude, with a very small number of impurities. The impurities are called dopants, and they must be special ones.

Lightboard, right half: columns III (B), IV (Si), V (As, P); B gives N_A, p-type, p = N_A, p: n_i ⇒ N_A, n = n_i²/N_A; As, P are donors, N_D, n-type semiconductor, 10¹⁵ (lightly doped) to 10¹⁸ (heavily doped), up to 10¹⁹ cm⁻³; n = N_D (circled), p = n_i²/N_D (circled), n = n_i = 10¹⁰ → N_D; pn = n_i².
Lecture02 @ 23:46Doping: boron gives acceptors (p-type), arsenic and phosphorus give donors (n-type); np = ni² holds throughout.

Donors: n-type silicon

Look at the columns either side of silicon in the periodic table (16:20). Arsenic and phosphorus are in group V. Put one in place of a silicon atom and that site has five valence electrons instead of four. The extra electron goes straight into the conduction band and conducts (16:54). These dopants are donors, with concentration NDN_D. Each donor adds one electron, so

n=ND.n = N_D .

How much doping? (17:39) A typical range is 1015 cm−310^{15}\,\mathrm{cm^{-3}} (lightly doped) to 1018 cm−310^{18}\,\mathrm{cm^{-3}} (heavily doped), and in some cases up to about 101910^{19} board.

Why so few dopants matter so much (18:02–19:33)

  1. Silicon has about 102210^{22} atoms per cm³.
  2. Heavy doping, 1018 cm−310^{18}\,\mathrm{cm^{-3}}, replaces 1018/1022=10^{18}/10^{22} = one atom in 10410^4. Even the heaviest doping is a small impurity.
  3. Light doping, 1015 cm−310^{15}\,\mathrm{cm^{-3}}, replaces one atom in 10710^{7}.
  4. Yet it raises the electron concentration from ni=1010n_i = 10^{10} to 1015 cm−310^{15}\,\mathrm{cm^{-3}}: five orders of magnitude more electrons, and so far more conductive.

Acceptors: p-type silicon

Boron is in group III (19:33). In place of silicon it brings one valence electron too few. It accepts an electron from the valence band, which creates a hole. These dopants are acceptors, with concentration NAN_A, and everything works the same way with holes:

p=NA.p = N_A .

The mass-action law

In thermal equilibrium the product of the electron and hole concentrations is fixed (20:53):

So raising one carrier concentration by doping lowers the other (21:20). In n-type material, n=NDn = N_D and the holes drop to

p=ni2ND.p = \frac{n_i^2}{N_D} .

In p-type material, p=NAp = N_A and n=ni2/NAn = n_i^2/N_A board.

Majority and minority carriers (22:31). In n-type silicon electrons vastly outnumber holes: electrons are the majority carriers, holes the minority carriers. In p-type silicon the roles swap.

Worked example. The lecture’s own (21:53): ND=1015 cm−3N_D = 10^{15}\,\mathrm{cm^{-3}}.

  1. Majority carriers: n=ND=1015 cm−3n = N_D = 10^{15}\,\mathrm{cm^{-3}}.
  2. Minority carriers: p=ni2/ND=1020/1015=105 cm−3p = n_i^2/N_D = 10^{20}/10^{15} = 10^5\,\mathrm{cm^{-3}}.
  3. Check: np=1015×105=1020=ni2np = 10^{15}\times10^{5} = 10^{20} = n_i^2. ✓
  4. Electrons outnumber holes by 1015/105=101010^{15}/10^{5} = 10^{10}: ten orders of magnitude. The lecture says “five orders of magnitude more electrons than holes” here (22:08), a slip; five orders is how far nn rose from ni=1010n_i = 10^{10}, and pp fell by the same five orders.

Worked example. added A p-type body with NA=1017 cm−3N_A = 10^{17}\,\mathrm{cm^{-3}}, the doping Chapter 3 uses for the MOS capacitor.

  1. Majority carriers: p=NA=1017 cm−3p = N_A = 10^{17}\,\mathrm{cm^{-3}}.
  2. Minority carriers: n=ni2/NA=1020/1017=103 cm−3n = n_i^2/N_A = 10^{20}/10^{17} = 10^{3}\,\mathrm{cm^{-3}}.
  3. About one thousand electrons per cm³, against 101710^{17} holes.

Common mistakes.

  • Forgetting the minority carriers fall. Doping doesn’t just add majority carriers; through np=ni2np = n_i^2 it suppresses the other type.
  • Using n=NDn = N_D when NDN_D is not much larger than nin_i. The simple rule needs ND≫niN_D \gg n_i; near nin_i the thermal pairs count too.
  • Reading the carrier ratio as an exact conductivity ratio. added Conductivity also depends on how easily the carriers move, their mobility, which Chapter 4 introduces.
Check yourself NA = 1016 cm−3. What are the majority and minority carrier concentrations?

Holes are the majority: p=NA=1016 cm−3p = N_A = 10^{16}\,\mathrm{cm^{-3}}. Electrons are the minority: n=ni2/NA=1020/1016=104 cm−3n = n_i^2/N_A = 10^{20}/10^{16} = 10^4\,\mathrm{cm^{-3}}.

5. The band diagram

The idea. Throw away the details of the band structure and keep only its two edges, ECE_C and EVE_V, drawn against position in the device.

The tight-binding picture of Section 2 plots energy against atomic spacing. For devices the lecture abstracts it (25:04):

  • keep only the band edges: ECE_C, the bottom of the conduction band, and EVE_V, the top of the valence band;
  • plot them against position xx through the device.

For a uniform piece of semiconductor nothing changes with position, so the bands are flat (25:16). Electrons live just above ECE_C, holes just below EVE_V. Later, bands that are not flat will mean an electric field (Section 9).

6. The Fermi–Dirac function

The idea. One smooth step function gives the probability that a state at energy EE holds an electron. Temperature sets how smooth the step is; doping sets where it sits.

Lightboard: a flat band diagram with E_C, E_i (dashed) and E_V against x, electrons e⁻ above and holes h⁺ below; the Fermi–Dirac distribution f(E) drawn sideways with energy upward and f from 0 to 1, a sharp step and smoother curves, ½ marked at E_F; f(E) = 1/(1 + e^((E − E_F)/kT)), E_F labelled 'Fermi energy'; a sketch of the conduction band, E_C, the gap E_g, E_V and the valence band.
Lecture02 @ 30:27The Fermi–Dirac function, drawn sideways against energy so it lines up with the band diagram.

Electrons are fermions: no two can occupy the same state. In thermal equilibrium they fill the available states according to the Fermi–Dirac distribution function (26:38), a sigmoid:

Reading the function (27:40–28:36)

  1. At T=0T = 0 it is a sharp step: f=1f = 1 for every state below EFE_F (all full) and f=0f = 0 for every state above it (all empty).
  2. At E=EFE = E_F the exponent is zero, so f=11+e0=11+1=12f = \dfrac{1}{1 + e^{0}} = \dfrac{1}{1+1} = \dfrac12. At any temperature, a state at the Fermi level is half likely to be full.
  3. As the temperature rises the step smooths out over a range of a few kTkT on each side of EFE_F. Its midpoint stays at 12\tfrac12.

The board draws f(E)f(E) sideways, with energy upward and ff running from 0 to 1, so that it lines up with the band diagram beside it.

The tails make the carriers (29:18). Put EFE_F in the middle of the gap and warm the crystal:

  • just below EVE_V, the curve dips slightly below 1. A state there has a small chance of being empty: that’s a hole;
  • just above ECE_C, the curve rises slightly above 0. A state there has a small chance of being full: that’s an electron.

With EFE_F at mid-gap the two tails are symmetric, so there are as many electrons as holes: n=p=nin = p = n_i (29:44). Raise the temperature and both tails grow: nin_i goes up (30:03).

What doping does (30:03). Doping doesn’t change the shape of f(E)f(E); only the temperature does that. It shifts the Fermi level:

  • n-type: donors push EFE_F up toward ECE_C. The upper tail grows (many more electrons) and the lower one shrinks (far fewer holes) (30:35);
  • p-type: acceptors pull EFE_F down toward EVE_V: more holes, fewer electrons (31:04).

Worked example. added How sharp is the step? Evaluate ff at 3kT3kT above and below EFE_F.

  1. At E=EF+3kTE = E_F + 3kT: f=11+e3=121.09=0.047f = \dfrac{1}{1 + e^{3}} = \dfrac{1}{21.09} = 0.047.
  2. At E=EF−3kTE = E_F - 3kT: f=11+e−3=0.953f = \dfrac{1}{1 + e^{-3}} = 0.953.
  3. Within ±3kT\pm3kT, about ±78 meV\pm78\,\mathrm{meV} at room temperature, the occupancy goes from 95% to 5%. The whole window is about 156 meV wide; the 1.1 eV band gap is seven times wider.

Worked example. added How big is the tail at the conduction-band edge in intrinsic silicon at 300 K?

  1. With EFE_F at mid-gap, EC−EF=Eg/2=0.55 eVE_C - E_F = E_g/2 = 0.55\,\mathrm{eV}.
  2. In units of kTkT: 0.55/0.02585=21.30.55/0.02585 = 21.3.
  3. f(EC)=11+e21.3≈e−21.3=5.8×10−10f(E_C) = \dfrac{1}{1 + e^{21.3}} \approx e^{-21.3} = 5.8\times10^{-10}. The 1 in the denominator no longer matters.
  4. This is e−Eg/2kTe^{-E_g/2kT}, the factor on the board in Section 3. The tail is far too small to see on a plot, yet it is what makes ni=1010 cm−3n_i = 10^{10}\,\mathrm{cm^{-3}}.
Check yourself Where must EF sit for f(EC) to equal one half?

At ECE_C itself, since f(EF)=12f(E_F) = \tfrac12 always. The Fermi level would then be at the band edge, which is the heavily (degenerately) doped case Section 7 excludes.

7. Carrier concentrations from the Fermi level

The idea. As long as EFE_F stays well inside the gap, the carrier concentrations are simple exponentials of how far EFE_F is from mid-gap. Turn them around and the doping tells you where EFE_F is.

The Boltzmann approximation (31:32). If the Fermi level stays sufficiently far from both band edges, the material is not degenerately doped. Then only the tails of f(E)f(E) matter: in the conduction band e(E−EF)/kT≫1e^{(E-E_F)/kT} \gg 1, the 1 in the denominator can be dropped, and f(E)≈e−(E−EF)/kTf(E) \approx e^{-(E-E_F)/kT}. This is Maxwell–Boltzmann statistics. The lecturer gives the result without deriving it (31:57):

Where is EiE_i? (32:33) Almost exactly in the middle of the gap. Not quite, because electrons and holes have different effective masses, but the mid-gap picture is good enough for this course.

Three checks on the formulas (33:00–33:49)

  1. n-type: if EF>EiE_F > E_i, the exponent in nn is positive, so n>nin > n_i, as expected.
  2. Intrinsic: if EF=EiE_F = E_i, both exponentials are e0=1e^0 = 1, so n=p=nin = p = n_i.
  3. Mass action: multiply them. np=ni2 e(EF−Ei)/kT e(Ei−EF)/kT=ni2 e0=ni2np = n_i^2\, e^{(E_F - E_i)/kT}\, e^{(E_i - E_F)/kT} = n_i^2\, e^{0} = n_i^2.
Lightboard: band diagram with E_C, E_F dashed above E_i by kT ln(N_D/n_i), E_V; Fermi–Dirac curves; boxed n = n_i e^((E_F − E_i)/kT), p = n_i e^((E_i − E_F)/kT), np = n_i²; at the right: n-type ⇒ N_D; n = N_D; p = n_i²/N_D; N_D = n_i e^((E_F − E_i)/kT); ln(N_D/n_i) = (E_F − E_i)/kT; E_F − E_i = kT ln(N_D/n_i); E_F = E_i + kT ln(N_D/n_i).
Lecture02 @ 36:35The carrier formulas (centre) and the Fermi level of n-type silicon (right). The band sketch at the left marks EF above Ei by kT ln(ND/ni).

Finding the Fermi level from the doping

Fermi level of n-type silicon (board, 34:18–35:29)

  1. n-type with donor concentration NDN_D: n=NDn = N_D and p=ni2/NDp = n_i^2/N_D.
  2. Put n=NDn = N_D into the electron formula: ND=ni e(EF−Ei)/kTN_D = n_i\, e^{(E_F - E_i)/kT}.
  3. Divide by nin_i and take the natural log: ln⁡NDni=EF−EikT\ln\dfrac{N_D}{n_i} = \dfrac{E_F - E_i}{kT}.
  4. Multiply by kTkT: EF−Ei=kTln⁡NDniE_F - E_i = kT\ln\dfrac{N_D}{n_i}.
  5. So EF=Ei+kTln⁡NDniE_F = E_i + kT\ln\dfrac{N_D}{n_i}: the Fermi level sits above mid-gap by kTln⁡(ND/ni)kT\ln(N_D/n_i).

The lecture leaves p-type as “a similar argument” (35:42). added Start from the hole formula with p=NAp = N_A: NA=nie(Ei−EF)/kTN_A = n_i e^{(E_i - E_F)/kT}, so Ei−EF=kTln⁡(NA/ni)E_i - E_F = kT\ln(N_A/n_i). The Fermi level sits below mid-gap by the same kind of amount. Chapter 3 calls this spacing, written as a voltage, ϕF\phi_F.

Worked example. added ND=1015 cm−3N_D = 10^{15}\,\mathrm{cm^{-3}}.

  1. ND/ni=1015/1010=105N_D/n_i = 10^{15}/10^{10} = 10^5, five decades.
  2. ln⁡(105)=5×2.303=11.51\ln(10^5) = 5\times2.303 = 11.51.
  3. EF−Ei=0.02585×11.51=0.298 eVE_F - E_i = 0.02585\times11.51 = 0.298\,\mathrm{eV}.
  4. Rule of thumb: 5 decades × 59.5 meV = 0.298 eV. The Fermi level is 0.30 eV above mid-gap, still 0.55−0.30=0.25 eV0.55 - 0.30 = 0.25\,\mathrm{eV} below ECE_C.

Worked example. added NA=1017 cm−3N_A = 10^{17}\,\mathrm{cm^{-3}}: Ei−EF=0.02585ln⁡(107)=0.02585×16.12=0.417 eVE_i - E_F = 0.02585\ln(10^7) = 0.02585\times16.12 = 0.417\,\mathrm{eV}. This is the ϕF=0.417 V\phi_F = 0.417\,\mathrm{V} of Chapter 3’s threshold example.

Explore the Fermi level below. Slide the doping from p-type through intrinsic to n-type, and change the temperature.

n-type: 10¹⁵ donors/cm³
300 K
kT
25.9 meV
ni
1.00×10¹⁰ cm⁻³
n (electrons)
1.00×10¹⁵ cm⁻³
p (holes)
1.00×10⁵ cm⁻³
np / ni2
1.000
EF − Ei
+0.298 eV
kT ln(ND/ni)
0.298 eV
f(EC) / 1 − f(EV)
5.8×10⁻⁵ / 5.8×10⁻¹⁵
Band diagram, energy vs position-0.50.00.5E − Ei (eV)ECEVEiEFn = 1.0×10¹⁵p = 1.0×10⁵Occupancy f(E), drawn sideways00.51-0.50.00.5f(E)½ at EFECEV

Band diagram: EC and EV solid, Ei dashed at mid-gap, EF red. Occupancy: f(E) at temperature T (red) and the T = 0 step (dotted). The tails inside the bands are real but far too small to see on this scale; the readout gives their size. Here ni(T) follows only the lecture's e−Eg/2kT scaling (pinned to 10¹⁰ cm⁻³ at 300 K), and all dopants are taken as ionized.

What to notice.

  • Each step of 10× in doping moves EFE_F by the same amount, about 60 meV at 300 K, and multiplies the majority carriers by 10 while dividing the minority carriers by 10. The product np/ni2np/n_i^2 always reads 1.
  • The shape of f(E)f(E) changes only with temperature. Doping slides the whole curve up or down without changing it.
  • At ND=1015N_D = 10^{15}, f(EC)f(E_C) is 10510^5 times its intrinsic value, almost exactly the factor ND/niN_D/n_i by which nn grew. The tail is the carrier population.
  • Near 101810^{18}–1019 cm−310^{19}\,\mathrm{cm^{-3}}, EFE_F comes within a few kTkT of a band edge and the widget warns that the doping is nearly degenerate. That is the limit the lecture sets at 31:32.
  • Warm lightly doped silicon (say 101410^{14} at 500 K): nin_i climbs toward the doping, nn is no longer equal to NDN_D, and EFE_F falls back toward EiE_i. The material is turning intrinsic. The widget’s ni(T)n_i(T) uses only the lecture’s e−Eg/2kTe^{-E_g/2kT} factor; a fuller model adds a slower T3/2T^{3/2} factor and a band gap that shrinks with temperature, so real silicon turns intrinsic somewhat sooner.

Common mistakes.

  • Flipping a sign. Check with np=ni2np = n_i^2: the two exponents must be opposite. Electrons go with EF−EiE_F - E_i, holes with Ei−EFE_i - E_F.
  • Measuring from the band edge. These formulas measure EFE_F from EiE_i, not from ECE_C or EVE_V, and use nin_i as the prefactor.
  • Using them for very heavy doping. Once EFE_F is within a few kTkT of a band edge, the Boltzmann approximation fails.
Check yourself ND = 1018 cm−3. Where is EF, and is the Boltzmann approximation still safe?

EF−Ei=0.02585ln⁡(108)=0.476 eVE_F - E_i = 0.02585\ln(10^8) = 0.476\,\mathrm{eV}, so EC−EF=0.55−0.476=0.074 eVE_C - E_F = 0.55 - 0.476 = 0.074\,\mathrm{eV}, only about 2.9 kT2.9\,kT. That is at the edge of the approximation; this is why the lecture calls 101810^{18} heavily doped and the widget flags it.

Check yourself Doping rises from 1015 to 1017 cm−3 (n-type). How far does EF move, and what happens to p?

Two decades, so EFE_F rises by kTln⁡100=0.119 eVkT\ln 100 = 0.119\,\mathrm{eV}, about 120 meV. p=ni2/NDp = n_i^2/N_D falls 100-fold, from 10510^5 to 103 cm−310^3\,\mathrm{cm^{-3}}.

8. Making a pn junction

The idea. Mask a window in an oxide on n-type silicon, implant boron through it, anneal, and contact both regions. Where the p region meets the n wafer is a pn junction.

Why the pn junction (36:10). It is the most basic semiconductor device structure, and it behaves as a diode, with rectifying current–voltage characteristics (37:52). In a MOS transistor the junctions aren’t what makes the device work, but they bring parasitic capacitances that circuits must account for (36:36). In bipolar transistors (BJTs) they are central.

Lightboard: 'pn junction (diode)'; a cross-section of an n-type Si wafer with a patterned oxide, a p-type implanted region with dots for dopants and a p⁺ contact region, a second opening with an n⁺ region; 'ion implanter', 'activates dopants'; 'photolithography', 'layout' circled; 'Ohmic contacts: Al, W, TiN'; current–voltage axes with a steep straight line through the origin, 'contact resistance', and a diode-like curve.
Lecture02 @ 47:05Making a pn junction: oxide window, boron implant and anneal, p⁺ and n⁺ contact regions, and ohmic contacts.

The lecture sketches the process “in very crude terms” (38:00); taped Lecture 9 returns to fabrication. Follow the steps on an n-type wafer (39:08):

A pn junction, step by step (38:30–47:10)

  1. Oxidize (38:42). Put the wafer in a furnace with oxygen or water. A layer of silicon dioxide, SiO₂ (glass), grows on the surface.
  2. Coat with photoresist (39:46). Spin a light-sensitive photoresist over the wafer.
  3. Expose (39:46). A stepper or mask aligner projects the image on a mask onto the resist with ultraviolet light. Depending on whether the resist is positive or negative, the exposed parts become easier or harder to remove.
  4. Develop (40:17). A chemical developer removes the resist over the chosen region, opening a window. This pattern transfer from mask to resist is photolithography. Layout, which you will do in this course, is designing the shapes on these masks (40:56).
  5. Etch the oxide (41:33). Dip the wafer in hydrofluoric acid (HF). HF etches glass but not silicon, so it opens the window through the oxide.
  6. Strip the resist (41:48) in acetone or another solvent. Now the wafer carries a patterned oxide.
  7. Implant (42:18). An ion implanter ionizes boron and accelerates it to kiloelectron-volt energies, blasting the ions into the silicon through the window. The oxide blocks them elsewhere. The dose (how many ions) sets how much boron goes in; the energy sets how deep it goes (43:12).
  8. Anneal (43:27). The implant knocks silicon atoms out of place. Heating the wafer repairs the damage and activates the dopants: the boron atoms take lattice sites, accept electrons and release holes (43:55). The implanted region is now p-type inside the n-type wafer.
  9. Contact regions (44:34). A second window over the substrate (which the lecturer admits he should have opened in step 4) and two more implants make a heavily doped p⁺ region at the surface of the p region and a small n⁺ region in the n wafer. The plus means heavily doped.
  10. Metal (45:11). Metal on each contact region connects the device to the outside.

Ohmic contacts

Why the p+p^+ and n+n^+ regions? To make good ohmic contacts (45:00). An ohmic contact between metal and silicon has a current–voltage curve that is a straight line through the origin, as steep as possible: a small contact resistance (45:55).

The alternative is a metal–semiconductor contact whose I–V curve looks like a diode’s. That is a Schottky barrier diode (46:28); sometimes it is wanted as a diode, but not here. Two things make the contact ohmic (46:37):

  1. heavy doping of the silicon under the metal (the p+p^+ and n+n^+ regions);
  2. a careful choice of metal, with an appropriate anneal. For silicon the lecture lists aluminium, tungsten and titanium nitride board. (It calls them all refractory metals. Strictly, tungsten is a refractory metal and TiN a refractory compound, but aluminium, which melts at 660 °C, is not added.)

Now the current between the two contacts is set by the pn junction between the p region and the n wafer, plus a little access resistance (47:10). The rest of the lecture draws a line through that junction and studies it in one dimension (47:45).

Check yourself In the implant step, what do the dose and the energy each control?

The dose (the number of ions per area) controls how much dopant goes in; the energy controls how deep the ions go. After the anneal activates them, the dose and depth together set the doping profile.

Check yourself Why are the regions under the metal contacts doped p⁺ and n⁺?

Heavy doping under the metal makes the contact ohmic: a straight, steep I–V line with low resistance, instead of a rectifying Schottky barrier.

9. The pn junction in equilibrium

The idea. When p and n silicon meet, carriers diffuse across, leave behind fixed ion charge, and build a field that stops further diffusion. The Fermi level becomes flat and the bands bend.

Lightboard: 'pn junction (diode)'; a p region and an n region with a depletion region (space-charge region) between, 'devoid of carriers', ⊕ ions on the n side, N_A⁻ and N_D⁺; separate band diagrams for p (E_F low) and n (E_F high); the joined band diagram with flat E_F, band bending, and the barrier qV_bi; at the top right, the diode symbol with + on p, and the I–V curve: exponential e^(qV_A/kT) for forward bias, small leakage current for reverse bias.
Lecture02 @ 60:56The equilibrium junction (left and centre), its band bending and barrier qVbi (right), and the diode's I–V curve (top right).

The simple picture (48:58). Put p-type material directly against n-type material. The plane where the doping changes from p to n is the metallurgical junction (49:13).

How the junction reaches equilibrium (49:13–55:19)

  1. Before contact. Draw each side’s band diagram separately. The p side’s Fermi level is low in the gap; the n side’s is high (49:45).
  2. Equilibrium needs one Fermi level. In thermal equilibrium the Fermi level must be the same everywhere; different Fermi levels would mean the system isn’t in equilibrium (49:57).
  3. Diffusion. The p side is full of holes and the n side has almost none, so holes make “a beeline” for the n side. Electrons likewise rush to the p side (50:34). There they recombine with the majority carriers.
  4. A depletion region opens (50:40). Near the junction the mobile carriers are gone: the region is depleted of mobile carriers.
  5. Fixed charge is left behind (51:46). Each donor that lost its electron is a positive ion (ND+N_D^+); each acceptor that gained one is a negative ion (NA−N_A^-). The n side of the region is positive, the p side negative. Because it holds net charge, it is also called the space-charge region.
  6. A field appears (52:50). The space charge creates an electric field that pushes back against the diffusion. When the two balance, the net current is zero and the junction is in equilibrium (53:19).
  7. The bands bend (53:53). With one flat EFE_F, the bands on the two sides must shift relative to each other. ECE_C, EiE_i and EVE_V all bend through the space-charge region: band bending. Outside it the bands are flat.

Bent bands mean a field (54:53). Wherever the bands are not flat, there is an electric field; where they are flat, there isn’t. So the field lives only in the depletion region, together with the charge.

The barrier (55:38). The band bending is an energy barrier inside the diode. Its height is qVbiqV_{bi}, where VbiV_{bi} is the built-in voltage board. The barrier holds back the diffusion; that’s why no net current flows in equilibrium.

The electrostatics of the junction, the shapes of the charge, field and potential, and the formulas for VbiV_{bi} and the depletion width are the subject of Lecture 3: see Chapter 3.

Common mistakes.

  • Confusing the metallurgical junction with a metal contact. added The metallurgical junction is where the doping changes type; it has nothing to do with metal.
  • Thinking the built-in voltage could drive a current, like a battery. added It is an equilibrium barrier: the field it represents exactly balances diffusion, so no current flows, and connecting a wire across the diode gives nothing.
  • Expecting the depletion region to be neutral. It is the one place with net charge; the neutral regions are outside it.
Check yourself Which side of the depletion region is positively charged, and why?

The n side. Its donors have given up their electrons, which diffused away, leaving fixed positive donor ions (ND+N_D^+). The p side holds negative acceptor ions (NA−N_A^-).

10. Forward and reverse bias: why it’s a diode

The idea. A voltage that lowers the barrier lets carriers flood over it, and the current rises exponentially. A voltage that raises the barrier stops them, leaving only a tiny leakage.

Forward bias (56:31). Make the p side positive relative to the n side by an applied voltage VAV_A. The junction leaves equilibrium, so a single EFE_F no longer applies (56:31), but the key effect is simple: the barrier drops by qVAqV_A.

  • Electrons from the n side now cross to the p side, where they are minority carriers, and holes cross from p to n. This is minority-carrier injection (57:05), and it is a large current.
  • The carriers have Maxwell–Boltzmann statistics, so the number with enough energy to clear the barrier grows exponentially as the barrier falls (57:45):

A rule worth remembering (57:45): whenever a current–voltage characteristic has the form eqV/kTe^{qV/kT}, carriers are crossing a barrier. This exponential is fundamental to most semiconductor devices; it comes back as the MOSFET’s subthreshold current (58:12, Chapter 4).

Reverse bias (58:42). Make the p side negative relative to the n side. The barrier rises, and very little current flows (59:04). What remains is leakage current: “a current that ideally you would like to be zero but isn’t” (59:23). In typical MOS structures, junction leakage is in the femtoamps (10−15 A10^{-15}\,\mathrm{A}). Some current still flows, for example from electron–hole pairs generated thermally in the depletion region (59:51).

That asymmetry, large exponential current one way and almost none the other, is what makes the pn junction a diode.

The full diode law. added The Fall 2026 class wrote the ideal-diode equation I=IS(eqVA/kT−1)I = I_S\left(e^{qV_A/kT} - 1\right). For forward bias of more than about 0.1 V0.1\,\mathrm{V} the −1-1 is negligible, which gives the board’s eqVA/kTe^{qV_A/kT}. In reverse bias the exponential vanishes and I→−ISI \to -I_S, a small leakage.

Worked example. added How much more current flows for each extra 0.1 V of forward bias, and how much bias raises the current a millionfold?

  1. A factor of 10 in current needs qVA/kT=ln⁡10qV_A/kT = \ln 10, so VA=(kT/q)ln⁡10=0.02585×2.303=59.5 mVV_A = (kT/q)\ln10 = 0.02585\times2.303 = 59.5\,\mathrm{mV}: about 60 mV per decade of current.
  2. An extra 0.1 V multiplies the current by e0.1/0.02585=e3.87=47.9e^{0.1/0.02585} = e^{3.87} = 47.9.
  3. A factor of 10610^6 is six decades: 6×59.5=357 mV6\times59.5 = 357\,\mathrm{mV}.

Common mistakes.

  • Getting the polarity backwards. Forward bias puts the p side positive; the diode symbol’s arrow points from p to n, the direction of forward current.
  • Expecting the reverse current to be exactly zero. It is tiny (leakage), not zero.
Check yourself A diode carries 1 µA at some forward bias. Roughly what current flows at 120 mV more forward bias?

120 mV is about two decades at 60 mV per decade, so roughly 100×100\times: about 100 µA. (Exactly, e0.12/0.02585=104e^{0.12/0.02585} = 104.)

Formulas to remember

FormulaMeaning
Eg=1.1 eVE_g = 1.1\,\mathrm{eV}, kT=26 meVkT = 26\,\mathrm{meV} at 300 K, ni=1010 cm−3n_i = 10^{10}\,\mathrm{cm^{-3}}silicon at room temperature
σ∝e−Eg/2kT\sigma \propto e^{-E_g/2kT}intrinsic conductivity rises exponentially with TT
n=p=nin = p = n_iintrinsic silicon
np=ni2np = n_i^2mass-action law, in equilibrium, doped or not
n=NDn = N_D, p=ni2/NDp = n_i^2/N_Dn-type: electrons majority, holes minority
p=NAp = N_A, n=ni2/NAn = n_i^2/N_Ap-type: holes majority, electrons minority
f(E)=11+e(E−EF)/kTf(E) = \dfrac{1}{1 + e^{(E - E_F)/kT}}, f(EF)=12f(E_F) = \tfrac12Fermi–Dirac occupancy
n=nie(EF−Ei)/kTn = n_i e^{(E_F - E_i)/kT}, p=nie(Ei−EF)/kTp = n_i e^{(E_i - E_F)/kT}carriers from EFE_F (not degenerate)
EF−Ei=kTln⁡(ND/ni)E_F - E_i = kT\ln(N_D/n_i), Ei−EF=kTln⁡(NA/ni)E_i - E_F = kT\ln(N_A/n_i)Fermi level from doping; 60 meV per decade
I∝eqVA/kTI \propto e^{qV_A/kT}forward diode current; 60 mV per decade; eqV/kTe^{qV/kT} means a barrier

The lecture’s boards