Part one: Electrons · Day 6 of 60
Semiconductors: silicon, doping and the PN junction
Silicon is a poor conductor until you add a few foreign atoms, and then you can set its behavior almost at will. Today you learn why, how two kinds of doped silicon make a one-way valve for current, and how the same structure becomes an LED or a solar cell.
By the end of today you can
- Explain the band gap and why it separates metals, semiconductors and insulators
- Say what doping does and tell N-type from P-type
- Describe how a PN junction passes current one way, emits light and turns light into current
One atom in a million
Take a crystal of pure silicon and replace one atom in every million with phosphorus. Its resistance falls about two million times.
No ordinary material behaves like this. A trace of impurity in copper makes it slightly worse. In silicon, a trace of the right impurity changes the material into something else, and by choosing the impurity and the amount you can set how it conducts, which kind of charge carries the current, and where. Every chip is a pattern of such choices drawn into one piece of silicon. Today is about how that works.
Why some solids conduct
In a single atom, electrons can only have certain energies. Pack atoms into a crystal and those levels smear out into ranges called bands. Two of them matter.
The lower one, the valence band, holds the electrons that bond each atom to its neighbors. They are stuck in place. The upper one, the conduction band, holds electrons that are free to wander through the crystal. Between them is a range of energies that no electron can have. That forbidden range is the band gap.
Three kinds of solid
The size of the gap is measured in electron-volts. One electron-volt, written eV, is the energy an electron gains by moving through one volt.
A semiconductor is a material with a small band gap. Silicon's is 1.1 eV. At room temperature the jostling of the atoms knocks a few electrons across, but only a few. Pure silicon has about ten billion free electrons in each cubic centimeter. That sounds like a lot until you count the atoms: fifty thousand billion billion. One atom in five trillion has given up an electron. So pure silicon barely conducts.
Holes
When an electron leaves its bond, it leaves a gap behind. An electron from the bond next door can hop into the gap, which moves the gap one place over. Then another hops, and the gap moves again.
The gap behaves like a particle with a positive charge, moving the opposite way to the electrons. It is called a hole. In a semiconductor both carry current: electrons in the conduction band, and holes in the valence band.
Doping
Each silicon atom has four outer electrons and uses all four to bond with four neighbors. Now swap in a few atoms of a different element. This is doping.
Pure silicon and the two kinds of doping
N-type. Phosphorus has five outer electrons. Four go into bonds and the fifth is spare, loose in the crystal. Silicon doped this way has extra negative carriers, which is the N.
P-type. Boron has three. One bond is left an electron short, which is a hole. Silicon doped this way conducts by positive holes, which is the P.
The effect on resistance is enormous, because the dopant atoms supply vastly more carriers than heat does.
| Silicon | Resistivity, ohm-centimeters |
|---|---|
| Pure | 330,000 |
| One phosphorus per 50 million atoms | 4.6 |
| One per 500,000 | 0.09 |
| One per 5,000 | 0.005 |
| Copper, for comparison | 0.0000017 |
This is also why chip silicon must be so pure. If a few parts per billion of the wrong element can change how it conducts, the starting material has to be cleaner than that. Electronic-grade silicon is 99.9999999% pure, nine nines, or better. Day 14 covers how that is done.
The PN junction
The interesting things happen where P-type meets N-type. That boundary is a PN junction.
A PN junction with nothing connected
At the boundary, spare electrons from the N side wander across and fall into holes on the P side. Each side loses carriers near the border. What is left is a thin zone with no free carriers at all, the depletion region.
The atoms in that zone are no longer neutral. The N side has lost electrons and is left positive. The P side has gained them and is left negative. That sets up a voltage across the zone which pushes back against any more crossing. In silicon it settles at about 0.7 volts. The junction has built its own barrier.
Now connect a battery.
Forward bias. Positive to the P side. The battery pushes holes and electrons toward the junction and works against the barrier. Below about 0.6 volts little happens. Above it the barrier is flattened and current pours through.
Reverse bias. Positive to the N side. The battery pulls carriers away from the junction. The depletion region widens, and almost nothing flows.
Current passes one way and not the other. This is a diode.
Current through four diodes as the voltage rises
A diode's first job is turning AC into DC, as in yesterday's rectifier. But the junction has two more tricks.
Light out, light in
The LED. When an electron crosses a forward-biased junction and drops into a hole, it gives up an amount of energy equal to the band gap. In silicon that energy becomes heat. In some other semiconductors it comes out as a particle of light, a photon. That is a light-emitting diode.
The band gap sets the color.
Whether a material gives off light depends on a detail of its bands. Those that do are said to have a direct band gap. Silicon's is indirect, and it is a hopeless light source. So LEDs and lasers are made from compound semiconductors, which combine two or more elements, such as gallium arsenide and gallium nitride.
Red LEDs appeared in the 1960s. Blue took thirty more years, because nobody could grow good crystals of gallium nitride. Three scientists working in Japan solved it around 1990 and won the Nobel Prize in physics in 2014. A white LED bulb is a blue LED with a yellow coating that converts part of the light.
The solar cell. Run the process backward. A photon with more energy than the band gap strikes the silicon and lifts an electron across, leaving a hole. If that happens near a junction, the built-in voltage sweeps the electron one way and the hole the other. Light has become current. A solar cell is a large, flat PN junction, and a camera sensor is millions of small ones, each called a photodiode.
Silicon's gap of 1.1 eV means it absorbs any light with a wavelength shorter than about 1,100 nanometers. That covers all of visible light and some infrared, which is a good match to sunlight. Day 43 builds on this.
The gap decides the job
| Material | Band gap | Junction turns on near | Used for |
|---|---|---|---|
| Germanium | 0.66 eV | 0.3 V | The first transistors, infrared detectors |
| Silicon | 1.12 eV | 0.7 V | Nearly all chips, most solar cells |
| Gallium arsenide | 1.42 eV | 1.1 V | Radio amplifiers in phones, infrared LEDs, lasers |
| Silicon carbide | 3.26 eV | 2.9 V | High-voltage switches in electric cars |
| Gallium nitride | 3.40 eV | 3.1 V | Blue and white LEDs, fast chargers, radar |
The last two are called wide-bandgap semiconductors. A wide gap is harder for heat or a strong electric field to bridge, so these materials stand up to higher voltages and temperatures than silicon. That is why they are taking over power electronics, the subject of day 51.
Playground · 10 minutes
Build a diode
Choose the material, dope the two sides, apply a voltage and watch the junction conduct or block.
Try these
Scenario · 2 decisions
What would you do?
This case is invented. A lighting startup tells you its new LED chip is "more efficient than anything on the market, because it produces blue light from only 1.5 volts."
Quiz · 5 questions
Check what stayed
Bench work · 30 minutes
Take it to the bench
Things to measure, take apart, look up or work out by hand. No equipment is needed unless a prompt says so. Your notes are saved in this browser and collected on the Lab notes page.
Words to keep
- Semiconductor
- A material with a small band gap, whose conduction can be set by doping and controlled by voltage or light.
- Band gap
- The range of energies that electrons in a solid cannot have, between the bound states and the free ones.
- Electron-volt
- The energy an electron gains by moving through one volt, written eV.
- Hole
- A missing electron in a bond, which moves through the crystal like a positive charge.
- Doping
- Adding small amounts of another element to a semiconductor to change how it conducts.
- N-type
- Semiconductor doped to have extra free electrons.
- P-type
- Semiconductor doped to have extra holes.
- PN junction
- The boundary between P-type and N-type material.
- Depletion region
- The thin zone at a junction that has been emptied of free carriers.
- Diode
- A part that passes current in one direction and blocks it in the other.
- Forward bias
- A voltage applied across a junction in the direction that makes it conduct.
- Reverse bias
- A voltage applied in the direction that makes a junction block.
- Light-emitting diode
- A junction that gives off light when it conducts, usually shortened to LED.
- Direct band gap
- A band structure that lets an electron and a hole combine and release light efficiently.
- Compound semiconductor
- A semiconductor made of two or more elements, such as gallium arsenide.
- Wide-bandgap semiconductor
- One with a gap of about 3 eV or more, able to handle high voltages and temperatures.
- Photodiode
- A junction used to turn light into current.
Watch, read and build
- Watch: Ben Eater, "How semiconductors work". Twenty minutes at a whiteboard, from the atom to the diode.
- Read: The Feynman Lectures on Physics, volume III, chapter 14, "Semiconductors". Free to read online, and still the clearest account of holes and junctions.
- Read: The Nobel committee's popular summary of the 2014 physics prize, "Blue LEDs: Filling the world with new light".
- Browse: The Ioffe Institute's online tables of semiconductor properties. Every number in today's lesson, for every common material.