Physics Tutor
Language: English

Semiconductors, Diodes and LEDs

Why silicon is neither a metal nor an insulator: the band gap , doping and the p–n junction behind diodes, solar cells, transistors and LEDs, whose colour follows .

A red LED chip: as the voltage rises, electrons and holes flow to the p–n junction, recombine and send out photons whose energy is close to the band gap.
A red LED chip: as the voltage rises, electrons and holes flow to the p–n junction, recombine and send out photons whose energy is close to the band gap.

Before this topic: Atomic Models: the Bohr Atom, DC Circuits and Ohm's Law

Beginner

Key ideas

  • Conductors such as copper let charge flow, insulators such as glass do not; semiconductors such as silicon sit in between.
  • A hole is a gap where an electron is missing; as neighbours jump into it, the gap moves like a positive charge.
  • Doping adds a pinch of another element: n-type material gets spare electrons, p-type material gets holes.
  • A p–n junction is a one-way valve for current (a diode): it conducts only when the battery faces the right way.
  • In an LED each electron that drops into a hole gives out a flash of light; the material, not the battery, sets the colour.

A copper wire carries charge easily because some of its electrons belong to no particular atom: it is a conductor. In glass every electron stays with its atom: an insulator. Silicon, the material of computer chips, sits in between: a semiconductor.

Step 1. In pure silicon almost every electron is held in a bond between neighbouring atoms. A little heat or light shakes a few loose, and each leaves a gap called a hole. When a neighbour jumps into the gap, the gap moves the other way, so a hole travels like a positive charge.

Step 2. Engineers mix in a pinch of another element; this is called doping. One kind of impurity brings spare electrons (n-type, n for negative); another kind leaves holes (p-type, p for positive).

Step 3. Put the two types side by side and you have a p–n junction. In the animation the blue dots on the left are spare electrons and the rings on the right are holes. A thin empty layer between them acts like a wall. While the voltage is low, nothing crosses; at about 2 volts both kinds of charge stream towards the middle.

Step 4. An electron that drops into a hole loses energy, and that energy leaves as a tiny flash of light, just as an atom gives out a photon when one of its electrons falls to a lower level. This is a light-emitting diode (LED). The size of the drop, and so the colour, is set by the material.

Check yourself: connect the battery the wrong way round. Does the LED light up? No: the wall gets thicker and almost no current flows. A junction is a one-way valve for current, called a diode. Shine light on it instead and it drives a current: a solar cell.

Intermediate

Key ideas

  • The conduction band lies a gap above the filled valence band (Si: ; GaAs: ).
  • Doping: phosphorus donates electrons (n-type), boron creates holes (p-type); the crystal stays neutral.
  • The depletion layer forms a barrier: forward bias (p to +) lowers it and current flows; reverse bias raises it.
  • Recombination emits a photon with , so ().
  • LED current rises very steeply with voltage, so an LED always needs a series resistor.

Bands, gaps and holes

A copper wire carries an electric current easily and glass hardly at all, while silicon, the material of computer chips, sits in between. An electron bound to a single atom can have only certain energies. In a crystal every atomic level spreads into a band of closely spaced levels. The bonding electrons fill the valence band; above it lies the conduction band, where electrons move freely, and between the two the band gap , energies that no electron in a perfect crystal can have.

A full band carries no current, since each electron moving one way is matched by one moving the other way. A metal conducts because its highest occupied band is only partly filled. An insulator has a full valence band and a wide gap, 5.5 eV in diamond; a semiconductor has a narrow one: 1.12 eV in silicon, 1.42 eV in gallium arsenide (GaAs), 1.9 eV in the red LED of the animation.

At room temperature the thermal energy lifts only about electrons per cubic centimetre across the gap of silicon, out of atoms. Each leaves an empty place in a bond, a hole; a neighbouring electron slips into it and the hole moves the other way, like a positive charge . The number of pairs doubles about every 10 K, so a pure semiconductor conducts better when hot, unlike a metal.

Doping: n-type and p-type

Doping controls the carriers. Phosphorus has five outer electrons, one more than the four bonds of silicon need; the spare one, held by only 0.045 eV, is freed by thermal motion at once. Phosphorus is a donor and makes n-type silicon, with electrons as majority carriers. Boron, with three, takes an electron from a neighbouring bond and leaves a hole: p-type silicon.

One phosphorus atom per five million silicon atoms gives free electrons per cubic centimetre, a million times the pure value. The holes become rarer, because so many electrons fill them, and the product of the two densities stays fixed:

Here is the density in pure silicon, so the holes drop to : they are the minority carriers.

The p–n junction and its band diagram

Join n-type and p-type regions in one crystal. Electrons diffuse into the p side and holes into the n side, where they recombine, leaving near the boundary only fixed ions: positive donors on the n side, negative acceptors on the p side. This depletion layer, a fraction of a micrometre thick, has no free carriers, and the field of its ions pushes carriers back until diffusion stops at a built-in voltage : about 0.7 V in silicon, 1.8 V in the animation's LED.

The band diagram in the animation draws this as a step, with electron energy upward: the upper line is the conduction band edge, the lower one the valence band edge, 1.9 eV apart (gold arrow). Both edges are higher on the p side, so an electron (blue dot) from the n side must climb the step, while a hole (ring), which floats up like a bubble, would have to sink down it. Unbiased, the step is 1.8 eV high and almost nothing crosses.

Bias, current and light

Forward bias (p side to +) works against the built-in voltage: the step shrinks, the depletion layer narrows and the current grows exponentially. Reverse bias raises the step, and only a tiny saturation current leaks through. The junction is a diode, a one-way valve. Four formulas do most of the work:

A conduction electron that falls into a hole drops by about and emits one photon; since , dividing by the gap in electronvolts gives the wavelength in nanometres. In the diode equation the thermal voltage is 25.9 mV at 300 K, and the ideality factor lies between 1 and 2: each extra (60 mV for , 120 mV for ) multiplies the current by ten.

Worked example: the LED in the animation

The chip in the animation has . Each photon carries about that energy, , and its wavelength is

which the animation rounds to 650 nm: red light.

As the supply voltage rises, the readout stays below half a milliampere up to about 1.5 V, while the caption says the barrier is still high; it passes 1 mA at about 1.56 V and reaches 20 mA at 2.0 V. Half a volt multiplies the current more than fiftyfold. Meanwhile the band step shrinks from 1.8 eV to about 0.1 eV (the chip's resistance takes the other 0.3 V), the depletion layer narrows to a quarter of its width, and the and arrows show carriers streaming in from both sides.

Each crossing electron gives at most one photon, so the current counts the photons: at 20 mA, per second, carrying at most of light from of electrical power. Whatever does not escape as light warms the chip.

Worked example: a resistor for a blue LED

A blue LED has a wider gap, (), so it needs about 3.0 V rather than 2 V to carry 20 mA. You have a 5.0 V USB supply. A series resistor carries the same current and takes the rest of the voltage:

It dissipates , and the LED .

Without it, the LED's own curve, far too steep, would set the current: in the animation half a volt changes the current fiftyfold, so 5 V across a bare LED would destroy it. With the resistor, an LED whose forward voltage is 3.1 V instead of 3.0 V still gets : the resistor, not the LED, fixes the current.

Common mistakes

Where you meet it

LED lamps, screens and traffic lights use the light of this lesson. A solar cell is the same junction doing the opposite job: light creates electron–hole pairs, and the field of the depletion layer drives them apart as a current, as in camera sensors and fibre-optic receivers. Transistors, built from junctions or a field-controlled channel, switch and amplify the signals in every chip. Compare Photoelectric Effect and Atomic Models: the Bohr Atom for the photon side, and DC Circuits and Ohm's Law for the circuit side.

Advanced

Key ideas

  • Hopping between atoms makes a band ; near its edge electrons and holes move like free particles with an effective mass.
  • Pair creation balances annihilation : , so doping raises one density and lowers the other.
  • Bias tips the balance of two flows: ; the uphill flow grows exponentially, the downhill flow stays fixed.
  • The current grows tenfold per ; since , the knee sits just below .
  • Light needs a direct gap (GaAs, InGaN), not Si; run backwards, the junction is a solar cell.

Bands from hopping between atoms

Everything a semiconductor does comes from one fact: its electrons are not tied to single atoms. To see how that produces bands of allowed energies separated by a gap, follow one electron in the simplest crystal there is, a straight chain of identical atoms.

Figure 1
Figure 1. A chain of atoms apart with hopping energy (top) spreads the atomic level into the band , of width . The green parabolas match the band's curvature at its bottom (mass ) and at its top ().
Legend
Spacing of the atoms in the chain.
Hopping energy: the coupling between two neighbouring atoms.
Energy of one wave state of the chain.
Wave number of that state: its amplitude on the atom at is proportional to .
Energy level of an isolated atom; the band is centred on it.
Width of the band, from at to at the edge.
Edge of the range of needed: a beyond it puts the same amplitudes on the atoms as one inside.
Effective mass at the bottom of the band, set by the curvature of the green parabola there; at the top the curvature is reversed, giving .

The top of Figure 1 shows the chain. The atoms are a distance apart, so atom number sits at . On its own, each atom would hold the electron at the energy . Because the atoms are close, the electron can also hop to either neighbour; the curved double arrow marks this, and the hopping energy measures how strongly two neighbouring atoms are coupled.

Since the electron can always leak to a neighbour, a state with the electron sitting on one atom cannot keep a fixed energy. A state of definite energy must give the electron an amplitude on every atom. Its Schrödinger equation says: the energy times the amplitude on atom equals times that amplitude, minus times the amplitudes on the two neighbours,

Every atom has the same surroundings, so try a wave, , with wave number . The two neighbours then carry and . The common factor cancels from both sides, and since , what is left is

This is the curve in the lower part of Figure 1: the energy of each wave against its wave number . Only from to is needed. Adding to multiplies the amplitude on atom by , so it gives back the same wave. At every atom has the same amplitude, and the energy is lowest, : the bottom of the band. At the sign of the amplitude flips from one atom to the next, and the energy is highest, . The single atomic level , the dashed line halfway up, has spread into a band of width , the bracket on the right.

Each atomic level spreads into its own band in this way, and between two bands lie energies that no wave in the chain can have: a band gap. In a semiconductor at absolute zero the electrons exactly fill one band, the valence band, and leave the next one, the conduction band, empty. The distance from the top of the valence band to the bottom of the conduction band is the gap , 1.12 eV in silicon.

Near the bottom of a band only small matter, and there . Putting this into the band gives

Apart from the constant, this has the form of the kinetic energy of a free particle, , where is the reduced Planck constant. So an electron near the bottom of the band moves through the crystal like a free particle, but with an effective mass

The stronger the hopping, the lighter the electron. A coupling of 1 eV between atoms 0.3 nm apart gives , where is the mass of a free electron; measured values run from (electrons in GaAs) to about . In Figure 1 the green parabola at the bottom, labelled , is this approximation. It hugs the band near and parts from it farther out, where the cosine flattens.

At the top of the band the cosine curves the other way. The second green parabola, labelled , fits the band there: an electron near the top has a negative effective mass, so a force accelerates it backwards. Now take a band that is full except for one electron missing near its top. A full band carries no current, because every electron moving one way is matched by one moving the other way. The band with a gap in it therefore behaves like the missing electron with both its charge and its mass reversed: charge instead of , mass instead of . This missing electron is a hole.

The hole is a genuine quasiparticle, a particle-like excitation of the crystal: the Hall voltage of p-type material has the sign expected for positive carriers. Lifting an electron from the top of the valence band to the bottom of the conduction band makes one free electron and one hole, so is the least energy that creates an electron–hole pair.

Counting carriers: the law of mass action

A pure semiconductor at room temperature has few free carriers, all made by thermal vibrations. Adding impurities, called doping, changes their numbers by many orders of magnitude. One simple rule links the densities of electrons and holes in every case, and the rest of the lesson relies on it.

Write for the number of conduction electrons per unit volume and for the number of holes. Pairs are created when a thermal vibration lifts an electron across the gap. That costs the energy , so the rate of creation is proportional to the Boltzmann factor , with the Boltzmann constant and the absolute temperature; at 300 K, . Pairs disappear when an electron meets a hole and falls into it, which is called recombination. The rate of meetings is proportional to , since doubling either density doubles the number of meetings. In equilibrium creation and recombination balance, so the product depends only on the gap and the temperature:

Here , the intrinsic density, is the value of both and in a pure crystal, where every electron in the conduction band has left a hole behind it. Since , its square root is

where a slower factor is left out. Doping does not change this argument. A donor atom, such as phosphorus in silicon, gives an electron to the conduction band; an acceptor, such as boron, takes one from the valence band and leaves a hole. Neither alters how fast pairs are created across the gap, nor the chance that a given electron meets a given hole, so still holds.

For silicon at 300 K, . Add donors at a density , a million times . Nearly every donor gives up its electron, so , and the law of mass action fixes the holes at . Doping raises one density and lowers the other: in this n-type silicon the electrons are the majority carriers and the holes the minority carriers.

The exponent makes very sensitive. Warming silicon from 300 K to 310 K doubles it. A wider gap makes it far smaller: for the 1.9 eV gap of the animation's LED the exponent grows by , so is multiplied by about , down to a few thousand carriers per cubic centimetre.

The p–n junction: built-in voltage and depletion layer

A p–n junction is one crystal doped n-type on one side and p-type on the other. Diodes, LEDs, solar cells and transistors are all built from such junctions. When the two sides meet, electrons diffuse from the n side into the p side, where they are rare, and holes diffuse the other way. Each carrier that crosses and recombines leaves behind a fixed ion whose charge is no longer cancelled: a positive donor on the n side, a negative acceptor on the p side. The charge of these ions sets up a field that pushes the carriers back, and diffusion stops when the field balances it. The strip around the junction that has lost its free carriers is the depletion layer.

Figure 2
Figure 2. A symmetric junction, n side left and p side right. The fixed ions of the depletion layer, width , give the charge density and so the triangular field ; the shaded area under is the drop of the potential .
Legend
Position across the junction, from the n side to the p side.
Width of the depletion layer.
Charge density of the fixed ions: positive donors on the n half of the layer, negative acceptors on the p half.
Charge density of the ionised donors: times their number density .
Size of the charge density of the ionised acceptors: times their number density , equal to here.
Electric field, pointing from the n side to the p side.
Peak of the field, at the junction.
Electric potential along the junction.
Built-in voltage: the drop of across the layer, equal to the shaded area under .
The n-type region: free electrons, with positive donor ions.
The p-type region: holes, with negative acceptor ions.

Figure 2 follows the junction along the position , from the n side on the left to the p side on the right, in three graphs that share the same . The depletion layer, of width , lies between the dashed lines.

The top graph is the charge density : two blocks. The n half of the layer holds the donor ions, of charge density , where is the number of donors per unit volume. The p half holds the acceptor ions, of charge density . Here the doping is the same on both sides, , as in the silicon example below, so the two halves are equal, each wide. Outside the layer the free carriers cancel the ions, and .

The middle graph is the field . Gauss's law in one dimension, with the permittivity of the crystal, says that the slope of the field is the charge density divided by . A constant therefore gives a straight line. is zero outside the layer, rises steadily across the positive half, peaks at at the junction and falls back to zero across the negative half. The result is a triangle, and the field points from n to p all the way across, as it must to push electrons back to the n side and holes back to the p side.

The bottom graph is the potential . The potential is minus the integral of the field, , so is flat wherever and falls across the layer by the area under the field triangle, . That area is shaded in the middle graph, and the drop it produces is bracketed at the right of the bottom graph: it is the built-in voltage .

The size of follows from equilibrium. To reach the p side, an electron on the n side must climb a potential-energy step . In equilibrium the electrons obey the Boltzmann factor across that step, so their density on the p side equals their density on the n side times . On the n side the density is ; on the p side, by the law of mass action, it is . Setting and taking logarithms,

For silicon with and , this is . Since carries the factor , equals minus a term that shrinks only slowly as the doping rises, so the step approaches but cannot much exceed it. The heavily doped LED of the animation comes close, with against .

The width of the layer follows from the same three graphs. With equal doping on both sides, each half has width . Across that distance the field rises with slope , so its peak is . The voltage across the layer is the area of the triangle:

At zero bias this voltage is . A forward bias , which makes the p side more positive, opposes the built-in field and leaves across the layer; a reverse bias is a negative . The voltage across the layer is proportional to , so

For the silicon junction above, with , the layer is wide at zero bias, and the peak field is near . A reverse bias of 5 V widens it to . In the animation the forward bias lowers the barrier from 1.8 eV to 0.1 eV, so the layer shrinks to of its width.

A junction with a built-in voltage looks like a battery, yet a wire joining its two ends carries no current. The wire makes two new contacts, metal to n and metal to p, each with its own potential step, and at a single temperature the steps around the loop add up to zero. If they did not, the loop would turn heat from surroundings at one temperature into work for ever, which the second law of thermodynamics forbids. Like a ratchet and pawl in a gas at one temperature, a junction cannot rectify its own thermal noise. Heat one contact and the balance breaks: that is the thermoelectric effect used in a thermocouple.

Rectification: two streams out of balance

A diode passes current easily in one direction and hardly at all in the other. To see why, follow the holes that cross the junction in each direction; the electrons behave in the same way and add to the same current.

Figure 3
Figure 3. Potential energy of a hole (rings) across the junction. Top: at the stream of holes climbing the step equals the stream sliding down it, . Bottom: a forward bias lowers the step and multiplies only the climbing stream. Not to scale.
Legend
Potential energy of a hole at each position across the junction.
The n side, where holes are rare (minority carriers).
The p side, where holes are plentiful (majority carriers).
Forward bias: the applied voltage, positive on the p side.
Height of the step for holes at zero bias: times the built-in voltage.
How far the forward bias raises the level of the p side.
Height of the step under forward bias.
Saturation current: the stream of minority holes sliding down the step; at zero bias the climbing stream equals it.
The climbing stream under forward bias: times larger than .

Figure 3 draws the potential energy of a hole at each point across the junction, n side on the left and p side on the right; the rings are holes. The field of the depletion layer pushes holes towards the p side, so a hole has more potential energy on the n side: higher by when no voltage is applied (top panel). A hole going from p to n must climb this step; one going from n to p slides down it.

Two streams of holes therefore cross the junction. The first climbs. Holes are plentiful on the p side, where they are the majority carriers, but only the few with thermal energy above the step get over it. The second slides down. Holes are rare on the n side, where they are minority carriers made thermally, but any that wander into the layer are swept down the step by its field. This downhill stream depends only on how many minority holes reach the layer, not on how high the step is; it is the saturation current . At there is no net current, so the climbing stream must equal it, and the top panel shows one arrow labelled each way.

In the bottom panel a forward bias raises the p side by ; the dashed line beneath it marks its old level. The step falls to , and the layer narrows to match. The number of holes energetic enough to climb grows by the Boltzmann factor , so the climbing stream becomes , while the downhill stream is still . The figure draws the larger stream as three arrows instead of one; the true factor is vastly larger, about at 0.7 V in silicon, which is why the figure is not to scale.

In symbols, the climbing stream is proportional to , where is the density of holes on the p side. A forward bias multiplies it by , while the downhill stream keeps its value . The net hole current is the difference, . The electrons give two streams of the same form, so the total current obeys the diode equation of William Shockley:

Here the ideality factor is , for this picture in which carriers diffuse across the layer and recombine beyond it. A reverse bias, , raises the step instead: the exponential dies away and , only the small downhill stream. That is rectification. A forward bias of a few tenths of a volt multiplies the current many times over, while a reverse bias of any size, up to breakdown, lets through only .

When most carriers instead recombine inside the depletion layer, the current grows more slowly. Inside the layer , and recombination is fastest where the two densities are equal, both about . The current then grows only as , which means , the value used in the animation. For the animation's LED, is about .

The gap, more than anything else, sets the voltage at which a diode turns on. For diffusion , and for recombination . Either way, once the current is well above ,

with a prefactor that changes only slowly with doping and temperature. The current is set by how far lies below , so the gap, far more than the doping, decides where a diode turns on.

Reading the live current–voltage curve

The expert layer of the animation plots the LED's current against the supply voltage as the voltage rises. The results above explain the shape of that curve, and its numbers are a good check of them.

Write at 300 K. With , . The current grows tenfold each time the exponent grows by , that is, every . So the curve hugs the axis up to about 1.5 V (0.37 mA), bends sharply between 1.6 and 1.8 V, and reaches 20 mA at 2.0 V. The dashed gold line marks .

Why does the junction work about 0.2 V below ? For this LED . A current of 20 mA lies decades below , so by the formula above the junction voltage sits below , at 1.70 V. A silicon diode, with , has about eight decades above its working current, so its knee falls near 0.6–0.7 V, about half a volt under its 1.12 V gap.

The supply must also push the current through the chip's series resistance of 15 Ω. At 20 mA that takes , the rest of the 2.0 V. This resistance shapes the top of the curve. The junction's own dynamic resistance, , is only about at 20 mA, much less than 15 Ω, so the curve straightens into a line of slope about . On the band diagram the barrier label follows , which falls from 1.8 eV to 0.10 eV as the voltage rises.

Worked problem: the LED as a solar cell

Run the junction backwards: instead of putting a current in to get light out, shine light in and take power out. The same equations then describe a solar cell, and the animation's LED shows how much power one junction can deliver and why its voltage stays below .

Figure 4
Figure 4. The animation's junction in light: the dark curve (dashed) moves down by the photocurrent to give , which is zero at . The largest rectangle under the axis with a corner on the curve has area . Drawn from the animation's model.
Legend
Voltage across the junction, positive in the forward direction.
Current through the lit junction, .
Current of the junction in the dark: the diode equation.
Photocurrent: the current the light drives backwards through the junction, which shifts the curve down.
Open-circuit voltage: where the lit curve crosses .
Voltage at the maximum-power point, the corner of the largest rectangle.
Current delivered at the maximum-power point; the lit curve is at there.
Greatest power the cell delivers: the area of the shaded rectangle.
The band gap divided by : the voltage that approaches but stays below.

Figure 4 plots the current through the junction against the voltage across it, both positive in the forward direction. The dashed curve is the junction in the dark, given by the diode equation, with its knee just below , the dashed vertical line.

Now light falls on the junction and creates electron–hole pairs at a rate equivalent to , that is, pairs per second. The field of the depletion layer sweeps each pair apart, the electron to the n side and the hole to the p side. That is a current through the junction in the reverse direction, and its size does not depend on . The lit curve is therefore the dark curve moved down by , as the arrow labelled shows.

The lit curve cuts the axis at and the axis at the open-circuit voltage . Between these two points is positive and negative: the current leaves by the positive terminal, as from a battery, so the junction delivers power. At any point of that stretch the power is the area of the rectangle between the axes and the point on the curve. The shaded rectangle, with its corner at and , is the largest, and its area is .

In equations, the lit current is

With the terminals shorted, and : the whole photocurrent flows round the wire, backwards through the diode. With the terminals open, , so the diode current must equal , which gives

This is exactly the junction voltage at 20 mA in the animation, because in both cases the diode current is 20 mA.

The power delivered is , where is the dark current at the voltage . It is zero at both ends of the stretch and largest in between, where : the corner of the largest rectangle in Figure 4. Solving numerically gives and , so . The fill factor compares this rectangle with the box of area around the curve: .

Each pair absorbed at least 1.9 eV but delivers only 1.52 eV: the voltage stays below by the same logarithm that put the knee below it. With the 15 Ω series resistance included, the best output falls to about 24 mW. Real solar cells use gaps near 1.1–1.4 eV, a compromise: a smaller gap absorbs more of sunlight, a larger one delivers more energy per electron.

Limits of validity

The diode equation assumes low injection: far fewer injected carriers than majority ones. So the junction voltage must stay well below ; the animation's 1.70 V against 1.8 V is at the edge, where the series resistance already dominates. It assumes Boltzmann statistics, which fail above roughly of doping in silicon. It treats the densities as smooth averages, yet a region 10 nm across doped at holds a single dopant atom on average.

In reverse, holds only up to breakdown. In heavily doped junctions the barrier is so thin that electrons tunnel through it at a few volts (Zener breakdown); in lightly doped ones, carriers accelerated by the field knock out new pairs in an avalanche at tens or hundreds of volts.

Light emission has its own limit. In silicon the bottom of the conduction band and the top of the valence band lie at different crystal momenta , which differ by about : some 1700 times the momentum of a 1.12 eV photon. The photon cannot carry the difference, so each recombination must also create or absorb a phonon, a quantum of lattice vibration. That takes up to milliseconds, other processes win, and the energy ends as heat. In direct-gap materials, such as GaAs, AlGaInP for red and InGaN for blue, both band edges lie at the same , and electrons and holes recombine by emitting light within nanoseconds.

Where this leads

Two junctions back to back, n–p–n, make a bipolar transistor: a small current into the thin middle layer controls a much larger one through it. In a field-effect transistor a gate voltage opens or closes a conducting channel instead. With light in and power out, a junction is the solar cell of the worked problem; with mirrors and strong injection, stimulated emission turns it into a laser. Zener and tunnel diodes rely on tunnelling through a thin depletion layer, the subject of Schrödinger's Equation and Tunnelling, and the bands come from electron waves interfering on a lattice, as in Wave–Particle Duality. The Boltzmann factors are those of Kinetic Theory of Gases, and the junction that drives no current is The Second Law of Thermodynamics and Entropy at work.

Key formulas

Photon energy from recombination

When a conduction electron falls into a hole, the pair disappears and its energy leaves as a single photon. Electrons and holes gather within about of their band edges, so the photon energy is close to the gap. It is the rule for an atom emitting light as an electron falls between two levels, with the two bands in place of the levels.

Symbols
Planck constant,
frequency of the emitted photon
band gap ()

When it holds: Holds for band-to-band recombination in a direct-gap material. In an indirect-gap material such as silicon a lattice vibration shares the energy and momentum, and most recombination gives heat instead of light; light from impurity levels has less energy than the gap.

Example: The LED of the animation: , so .

Wavelength from the band gap

Light of frequency has wavelength , so gives . Because , dividing 1240 by the gap in electronvolts gives the wavelength in nanometres. The wider the gap, the shorter the wavelength: infrared, red, green, then blue.

Symbols
vacuum wavelength of the emitted light (in nm with the 1240 form)
Planck constant
speed of light,
band gap (in eV with the 1240 form)

When it holds: Same conditions as . The real emission line is some 20 nm wide, because the carriers are spread over about above the band edges.

Example: : , red; GaAs, 1.42 eV: about 873 nm, infrared.

Law of mass action for electrons and holes

Pairs are created thermally at a rate proportional to and destroyed when electrons meet holes, at a rate proportional to . Equal rates in equilibrium make a constant of the material at a given temperature, whatever the doping. In a pure crystal , so carries half the exponent.

Symbols
density of conduction electrons
density of holes
intrinsic density, that of the pure crystal
band gap
Boltzmann constant,
absolute temperature

When it holds: Thermal equilibrium (no bias, no light) and doping below about in silicon. Under forward bias or light exceeds (under reverse bias it falls below), and that excess is what drives a diode or a solar cell. The full also carries a slower factor .

Example: Silicon at 300 K with donors per cubic centimetre: .

Diode equation

Two flows of carriers cross the junction: majority carriers climbing the barrier, a flow proportional to , and minority carriers swept down it by the field, a flow independent of . The current is their difference, and the two cancel at . Forward bias () makes the current grow exponentially; reverse bias leaves only the leak .

Symbols
current through the diode, positive from p to n
saturation current
elementary charge,
voltage across the junction, positive for forward bias
ideality factor, between 1 and 2
Boltzmann constant
absolute temperature

When it holds: Low injection (junction voltage well below ) and reverse voltages below breakdown. At high current the drop across the chip's series resistance must be added: 0.30 V at 20 mA across 15 Ω in the animation.

Example: The LED of the animation: and ; at across the junction, .

Thermal voltage

The voltage through which a charge must move to gain the typical thermal energy . It is the natural voltage scale of every junction: the diode current changes by a factor of for each of bias. It grows in proportion to the absolute temperature.

Symbols
thermal voltage
Boltzmann constant
absolute temperature
elementary charge

When it holds: The definition holds at any temperature; the value 25.9 mV is for 300 K (25.7 mV at 25 °C).

Example: ; with the diode of the animation has .

Voltage step for a given current ratio

Far above the in the diode equation can be dropped, so the current is a pure exponential of the voltage. Dividing two currents cancels , and the logarithm gives the voltage difference. Every factor of ten in current costs the same , which is why the curve looks like a sharp knee on a linear scale.

Symbols
increase of the junction voltage
ideality factor
thermal voltage
final current
initial current

When it holds: Both currents well above the saturation current, small enough for the drop across the series resistance to be negligible, and at the same temperature.

Example: In the LED of the animation (), going from 2 mA to 20 mA raises the junction voltage by .

Width of the depletion layer

The depletion layer holds fixed ions of uniform density. By Gauss's law the field inside grows linearly with depth and the potential quadratically, so the voltage across the layer grows as . Forward bias () leaves less voltage across the layer and narrows it; reverse bias () widens it.

Symbols
thickness of the depletion layer
built-in voltage
applied voltage across the junction, positive for forward bias

When it holds: An abrupt junction with uniform doping on each side (a gradual one gives a cube root instead), with below .

Example: Silicon with dopants per cubic centimetre on both sides: 0.43 µm at zero bias, at 5 V reverse.

Series resistor for an LED

The resistor and the LED carry the same current and share the supply voltage. The LED takes roughly its forward voltage at its working current, so the resistor takes the rest, and Ohm's law gives its value. Because the current through a resistor varies only linearly with its voltage, it holds the current steady where the LED's steep curve could not.

Symbols
resistance in series with the LED
supply voltage
forward voltage of the LED at the chosen current
chosen current

When it holds: The supply must be comfortably above : if the two are close, a small change of (with temperature, or from one LED to the next) changes the current a lot. The resistor must also handle the power .

Example: Blue LED, , 20 mA from 5.0 V: .

Glossary

Semiconductor
A solid whose band gap is small enough, a few electronvolts at most, for heat or light to lift some electrons across it. Its conductivity lies between that of metals and insulators, and doping, light and temperature change it enormously.
Valence and conduction bands
The valence band holds the bonding electrons and is full in a pure crystal at low temperature; the conduction band above it is almost empty, and electrons in it move freely. A completely full band carries no current, so conduction needs electrons in the upper band or holes in the lower one.
Hole
An empty state in an almost full valence band. Neighbouring electrons move into it, so the hole moves like a particle with charge and a positive mass; it is a missing electron, not a missing atom.
Effective mass
The mass with which an electron or hole near a band edge responds to forces, as if it were free: . It depends on how easily electrons hop between atoms, from about for electrons in GaAs to about .
Doping
Adding a tiny, controlled amount of impurity, often one atom per million or fewer. Donors such as phosphorus give free electrons (n-type material), acceptors such as boron give holes (p-type); the crystal stays neutral, because each free carrier is balanced by a fixed ion.
Majority and minority carriers
In doped material, the carriers supplied by the dopant are the majority and the other kind the minority, with . Silicon with donors per cubic centimetre has electrons but only holes per cubic centimetre.
p–n junction
The boundary between p-type and n-type regions of one crystal. It conducts easily in one direction and hardly at all in the other, so it is a diode; lit instead of driven, it is a solar cell or photodiode.
Depletion layer
The thin region at a junction emptied of free carriers, where only the fixed donor and acceptor ions remain. Their charge creates the electric field and the built-in voltage; the layer narrows under forward bias and widens under reverse bias.
Forward and reverse bias
Forward bias connects the p side to the + terminal and lowers the barrier, so the current grows exponentially with the voltage. Reverse bias raises the barrier, and only the tiny saturation current flows until breakdown.
Recombination
A conduction electron falling into a hole, which destroys the pair. The energy, about , leaves as a photon in an LED, or as lattice vibrations (heat) in silicon and at defects.
Light-emitting diode (LED)
A p–n junction in a direct-gap material, driven in forward bias so that electrons and holes recombine in it and emit light of wavelength . The material sets the colour; the current sets the brightness. It is driven through a series resistor , in ohms, where is the supply voltage and the LED's forward voltage at the working current .
Direct and indirect band gap
In a direct gap (GaAs, InGaN) the two band edges lie at the same crystal momentum, so an electron can drop by emitting a photon alone. In an indirect gap (silicon) a lattice vibration must also take part, so light emission is very weak.
Quantities
Band gapThe energy from the top of the valence band to the bottom of the conduction band, usually quoted in electronvolts (): 1.12 eV for silicon, 1.9 eV for the LED of the animation.
Wavelength of the emitted lightSet by the gap, , and usually quoted in nanometres: 653 nm (red) for 1.9 eV, 460 nm (blue) for 2.7 eV. Here is the Planck constant, the speed of light and the photon frequency in hertz.
Electron densityThe number of conduction electrons per unit volume. Semiconductor densities are usually quoted per cubic centimetre: .
Hole densityThe number of holes per unit volume; in n-type material it is pushed down to .
Intrinsic carrier densityThe electron and hole density of the pure crystal, about in silicon at 300 K. It rises steeply with temperature and falls steeply as the gap widens.
Saturation currentThe reverse current that a diode cannot block, carried by minority carriers swept across the junction; it also sets the scale of the forward current. About for the LED of the animation. The diode current (in amperes, positive from p to n) at junction voltage (in volts, positive for forward bias) is . Far above , raising by takes the current from to , with .
Ideality factor1 when carriers cross the junction by diffusion, close to 2 when they recombine inside the depletion layer; the current grows tenfold for every .
Thermal voltage, with the Boltzmann constant, the absolute temperature in kelvin and the elementary charge: the voltage that gives a charge the typical thermal energy , 25.9 mV at 300 K.
Built-in voltageThe potential step across an unbiased junction: about 0.7 V in silicon, 1.8 V in the LED of the animation. A voltmeter cannot measure it, because its own contacts add steps that cancel it.
Depletion widthThe thickness of the depletion layer, typically 0.1–1 µm; it varies as , narrowing under forward bias.

Quiz

  1. Beginner What is a “hole” in a semiconductor?

    1. A gap in the crystal where a whole atom is missing
    2. A proton that has broken free from its atom
    3. A place where an electron is missing, which moves like a positive charge
    4. A part of the chip where current can never flow
    Show answer

    Answer: C. A place where an electron is missing, which moves like a positive charge

    When an electron leaves a bond, a neighbouring electron can jump into the empty place, so the empty place moves. It lacks one electron's negative charge, so it behaves like a positive charge.

  2. Beginner A battery is connected to an LED the wrong way round. What happens?

    1. Almost no current flows and the LED stays dark
    2. The LED lights up with a different colour
    3. The LED lights up just as before
    4. The LED glows at half its usual brightness
    Show answer

    Answer: A. Almost no current flows and the LED stays dark

    An LED is a diode: its p–n junction lets current through in one direction only. Reversed, the barrier at the junction gets higher, almost no current flows and there is no light.

  3. Beginner What mainly decides the colour of the light from an LED?

    1. How much current flows through it
    2. The colour of its plastic cap
    3. How long it has been switched on
    4. The semiconductor it is made from
    Show answer

    Answer: D. The semiconductor it is made from

    Each electron that drops into a hole gives up an energy set by the material (its band gap), and that energy fixes the colour. More current gives more light of the same colour; a tinted cap only filters it.

  4. Intermediate An LED is made from a semiconductor with a band gap of 2.3 eV. Roughly what wavelength does it emit? (h·c ≈ 1240 eV·nm)

    1. ≈ 650 nm (red)
    2. ≈ 540 nm (green)
    3. ≈ 2850 nm (infrared)
    4. ≈ 430 nm (violet)
    Show answer

    Answer: B. ≈ 540 nm (green)

    λ = h·c / E_g ≈ 1240 eV·nm ÷ 2.3 eV ≈ 540 nm, green light. Multiplying instead of dividing gives the 2850 nm distractor.

  5. Intermediate Is a piece of n-type silicon negatively charged?

    1. Yes, because it contains extra electrons
    2. Yes, but only while a current flows
    3. No: each spare electron is balanced by a fixed positive donor ion
    4. No: the spare electrons leave the crystal straight away
    Show answer

    Answer: C. No: each spare electron is balanced by a fixed positive donor ion

    Each phosphorus atom is neutral when it enters the crystal. Its fifth electron becomes free and the atom stays behind as a fixed positive ion, so the material as a whole remains neutral.

  6. Intermediate Why does the resistance of a pure (undoped) semiconductor fall when it is heated, while that of a metal rises?

    1. Heat lifts more electrons across the band gap, creating more electron–hole pairs
    2. The atoms vibrate less, so the electrons collide less often
    3. Heating drives the impurities out of the crystal
    4. The band gap gets much wider, so the electrons move faster
    Show answer

    Answer: A. Heat lifts more electrons across the band gap, creating more electron–hole pairs

    The number of free carriers grows rapidly with temperature because more electrons get enough thermal energy to cross the gap. This outweighs the extra collisions, which dominate in metals. (The gap actually narrows slightly on heating.)

  7. Advanced A silicon diode (ideality factor η = 1) at 300 K carries 1 mA. Roughly how much must the forward voltage increase for it to carry 10 mA?

    1. About 0.6 V
    2. About 26 mV
    3. About 0.9 V
    4. About 60 mV
    Show answer

    Answer: D. About 60 mV

    Well above I_s, I ∝ exp(e·V / η·k_B·T), so a tenfold increase needs ΔV = η·V_T·ln 10 ≈ 25.9 mV × 2.30 ≈ 60 mV. 26 mV is V_T itself, and 0.6 V is a typical total forward voltage, not the change.

  8. Advanced Silicon is the most common solar-cell material, yet it makes very poor LEDs. Why?

    1. Its band gap is too small for it to emit any photon
    2. Its band gap is indirect, so recombination also needs a phonon and mostly produces heat
    3. Silicon cannot be doped p-type
    4. Its electrons and holes never meet at a junction
    Show answer

    Answer: B. Its band gap is indirect, so recombination also needs a phonon and mostly produces heat

    In silicon the lowest conduction-band states and the highest valence-band states have different crystal momenta. A photon carries almost no momentum, so radiative recombination also needs a phonon and is very slow; non-radiative processes win. LEDs use direct-gap compounds such as GaAs, AlGaInP or InGaN.