Shockley diode equation. The Shockley diode equation, or the diode law, named after transistor co-inventor William Shockley of Bell Labs, models the exponential current–voltage (I–V) relationship of semiconductor diodes in moderate constant current forward bias or reverse bias:

 

where
  is the diode current,
  is the reverse-bias saturation current (or scale current),
  is the voltage across the diode,
  is the thermal voltage, and
  is the ideality factor, also known as the quality factor, emission coefficient, or the material constant.

The equation is called the Shockley ideal diode equation when the ideality factor  equals 1, thus  is sometimes omitted. The ideality factor typically varies from 1 to 2 (though can in some cases be higher), depending on the fabrication process and semiconductor material. The ideality factor was added to account for imperfect junctions observed in real transistors, mainly due to carrier recombination as charge carriers cross the depletion region.

The thermal voltage  is defined as:

 

where

  is the Boltzmann constant,
  is the absolute temperature of the p–n junction, and
  is the elementary charge (the magnitude of an electron's charge).
For example, it is approximately 25.852mV at .

The reverse saturation current  is not constant for a given device, but varies with temperature; usually more significantly than , so that  typically decreases as  increases.

Under reverse bias, the diode equation's exponential term is near 0, so the current is near the somewhat constant  reverse current value (roughly a picoampere for silicon diodes or a microampere for germanium diodes, although this is obviously a function of size).

For moderate forward bias voltages the exponential becomes much larger than 1, since the thermal voltage is very small in comparison. The  in the diode equation is then negligible, so the forward diode current will approximate

 

The use of the diode equation in circuit problems is illustrated in the article on diode modeling.

Limitations 
Internal resistance causes "leveling off" of a real diode's I–V curve at high forward bias. The Shockley equation doesn't model this, but adding a resistance in series will.

The reverse breakdown region (particularly of interest for Zener diodes) is not modeled by the Shockley equation.

The Shockley equation doesn't model noise (such as Johnson–Nyquist noise from the internal resistance, or shot noise).

The Shockley equation is a constant current (steady state) relationship, and thus doesn't account for the diode's transient response, which includes the influence of its internal junction and diffusion capacitance and reverse recovery time.

Derivation
Shockley derives an equation for the voltage across a p-n junction in a long article published in 1949. Later he gives a corresponding equation for current as a function of voltage under additional assumptions, which is the equation we call the Shockley ideal diode equation. He calls it "a theoretical rectification formula giving the maximum rectification", with a footnote referencing a paper by Carl Wagner, Physikalische Zeitschrift 32, pp. 641–645 (1931).

To derive his equation for the voltage, Shockley argues that the total voltage drop can be divided into three parts:
 the drop of the quasi-Fermi level of holes from the level of the applied voltage at the p terminal to its value at the point where doping is neutral (which we may call the junction),
 the difference between the quasi-Fermi level of the holes at the junction and that of the electrons at the junction,
 the drop of the quasi-Fermi level of the electrons from the junction to the n terminal.
He shows that the first and the third of these can be expressed as a resistance times the current:  As for the second, the difference between the quasi-Fermi levels at the junction, he says that we can estimate the current flowing through the diode from this difference. He points out that the current at the p terminal is all holes, whereas at the n terminal it is all electrons, and the sum of these two is the constant total current. So the total current is equal to the decrease in hole current from one side of the diode to the other. This decrease is due to an excess of recombination of electron-hole pairs over generation of electron-hole pairs. The rate of recombination is equal to the rate of generation when at equilibrium, that is, when the two quasi-Fermi levels are equal. But when the quasi-Fermi levels are not equal, then the recombination rate is  times the rate of generation. We then assume that most of the excess recombination (or decrease in hole current) takes place in a layer going by one hole diffusion length  into the n material and one electron diffusion length  into the p material, and that the difference between the quasi-Fermi levels is constant in this layer at  Then we find that the total current, or the drop in hole current, is
 

where

and  is the generation rate. We can solve for  in terms of :
 

and the total voltage drop is then
 

When we assume that  is small, we obtain  and the Shockley ideal diode equation.

The small current that flows under high reverse bias is then the result of thermal generation of electron–hole pairs in the layer. The electrons then flow to the n terminal, and the holes to the p terminal. The concentrations of electrons and holes in the layer is so small that recombination there is negligible.

In 1950, Shockley and coworkers published a short article describing a germanium diode that closely followed the ideal equation.

In 1954, Bill Pfann and W. van Roosbroek (who were also of Bell Telephone Laboratories) reported that while Shockley's equation was applicable to certain germanium junctions, for many silicon junctions the current (under appreciable forward bias) was proportional to  with  having a value as high as 2 or 3. This is the ideality factor  above.

Feynman gave a derivation using the Brownian ratchet in The Feynman Lectures on Physics I.46.

Photovoltaic energy conversion 
In 1981, Alexis de Vos and Herman Pauwels showed that a more careful analysis of the quantum mechanics of a junction, under certain assumptions, gives a current versus voltage characteristic of the form
 

in which  is the cross-sectional area of the junction, and  is the number of incoming photons per unit area, per unit time, with energy over the band-gap energy, and  is outgoing photons, given by

 

The factor of 2 multiplying the outgoing flux is needed because photons are emitted from both sides, but the incoming flux is assumed to come from just one side.
Although the analysis was done for photovoltaic cells under illumination, it applies also when the illumination is simply background thermal radiation, provided that a factor of 2 is then used for this incoming flux as well. The analysis gives a more rigorous expression for ideal diodes in general, except that it assumes that the cell is thick enough that it can produce this flux of photons. When the illumination is just background thermal radiation, the characteristic is

 

Note that, in contrast to the Shockley law, the current goes to infinity as the voltage goes to the gap voltage . This of course would require an infinite thickness to provide an infinite amount of recombination.

This equation was recently revised to account for the new temperature scaling in the revised current  using a recent model for 2D materials based Schottky diode.

References

Diodes
Electrical engineering
Eponymous equations of physics