Special purpose diodes

Every LED indicator, every TV remote's invisible beam, every rooftop solar panel hides the same object underneath: a p-n junction. What changes is the bias applied and the way the junction is built — and that alone turns an ordinary diode into a light source, a light sensor, or a light-powered battery. The LED is forward biased and emits a photon when an electron and hole recombine. The photodiode is reverse biased and turns incoming light into a measurable current. The solar cell needs no external bias at all — it generates its own voltage from light. This article stays exactly where the ISC syllabus wants it: qualitative device behaviour, one governing relation (E=hν=hc/λE = h\nu = hc/\lambda) linking photon energy to the semiconductor's band gap, and the everyday roles these three "special purpose diodes" play in electronics.

The core insight

Three p-n junctions, three bias conditions, three jobs: the LED (forward bias) turns current into light, the photodiode (reverse bias) turns light into current, and the solar cell (no bias) turns light directly into electrical power, all governed by the same photon-energy relation E=hν=hc/λE = h\nu = hc/\lambda tied to the material's band gap EgE_g.

The core idea

A family, not a single device. LED, photodiode and solar cell are all p-n junctions. Nothing about their basic construction is exotic — what distinguishes them is (a) how the junction is biased, and (b) whether the device is meant to be looked at (emitting light), looked into (absorbing light as a signal), or exposed to sunlight (absorbing light as power).

LED — forward bias, current in, light out. The junction is made from a compound semiconductor such as gallium arsenide (GaAs) or gallium arsenide phosphide (GaAsP), chosen so the energy gap EgE_g matches a visible-range photon. Under forward bias, electrons are injected from the n-side and holes from the p-side; they recombine inside and near the depletion region. In these direct-gap materials, recombination releases its energy mainly as a photon rather than as heat — unlike ordinary silicon, where recombination is largely non-radiative (heat only, no useful light). The photon energy is set by the gap:

E≈Eg=hν=hcλE \approx E_g = h\nu = \frac{hc}{\lambda}

where: EE is the photon energy, EgE_g the semiconductor's band gap, hh Planck's constant, ν\nu the photon frequency, cc the speed of light, and λ\lambda the emitted wavelength. A larger EgE_g pushes the emitted photon toward blue (higher energy, shorter λ\lambda); a smaller EgE_g pushes it toward red. This single relation is why different LED materials give different showroom colours, and it is the only quantitative tool this topic asks you to use.

Photodiode — reverse bias, light in, current out. Here the junction sits behind a transparent window and is deliberately reverse biased. In the dark, reverse bias allows only a minuscule reverse saturation current from thermally generated minority carriers. When light with photon energy hν>Egh\nu > E_g strikes the junction, it creates extra electron-hole pairs right where the field is strongest; that field sweeps them across immediately, adding to the reverse current. Because each absorbed photon contributes at most one electron-hole pair, the resulting current tracks the rate of photon arrival, i.e. light intensity, almost independent of how large the reverse voltage is (once it is large enough to sweep carriers out efficiently). This makes the photodiode a fast, linear light sensor.

Solar cell — no external bias, light in, power out. Structurally similar to a photodiode but built with a large-area, unencapsulated junction so as much light as possible reaches it. With no battery connected, incident photons (hν>Egh\nu > E_g) generate electron-hole pairs near the junction, and the junction's own built-in field — the same field that exists at any unbiased p-n junction — separates them before they can recombine: electrons drift to the n-side, holes to the p-side. This charge separation creates a potential difference across the terminals; connect an external circuit and current flows, driven entirely by light. Solar panels are simply many such cells wired in series and parallel to raise the usable voltage and current.

Figure
Three p-n junction diagrams showing an LED under forward bias emitting a photon, a photodiode under reverse bias absorbing a photon to give reverse current, and an unbiased solar cell absorbing a photon to generate its own voltage
LED, photodiode, solar cell — same junction, different bias LED — forward bias p n battery drives current p to n photon out Photodiode — reverse bias p n battery reverse biased; light creates I photon in Solar cell — no bias p n light alone drives current — its own EMF photon in
Derivation APhoton energy from a semiconductor's band gap

The goal is to show, using nothing beyond E=hνE = h\nu and c=νλc = \nu\lambda, how a single material property — the band gap EgE_g — fixes the wavelength of light an LED emits (or the longest wavelength a photodiode/solar cell of that material can usefully absorb), so that a given EgE_g in electron-volts can be converted directly into a wavelength in nanometres and checked against the visible spectrum.

Step 1. Start from the photon energy relation E=hνE = h\nu, and recall that frequency and wavelength are linked by c=νλc = \nu\lambda, so ν=c/λ\nu = c/\lambda. Substituting gives E=hc/λE = hc/\lambda.

Step 2. In an LED, the released energy per recombination event is approximately the band gap itself, E≈EgE \approx E_g, since electrons drop from just above the gap to just below it. Setting E=EgE = E_g in the Step 1 relation gives Eg=hc/λE_g = hc/\lambda.

Step 3. Solve for λ\lambda: λ=hc/Eg\lambda = hc/E_g. Because EgE_g is usually quoted in electron-volts, convert it to joules first using 1 eV=1.6×10−19 J1\ \text{eV} = 1.6\times10^{-19}\ \text{J} before dividing hchc by it — mixing units here is the single most common arithmetic slip in this topic.

Step 4. Interpret the result. A larger EgE_g (in the denominator) gives a smaller λ\lambda — a bluer photon; a smaller EgE_g gives a larger λ\lambda — a redder photon. The same relation, run in reverse, tells a photodiode or solar cell designer the minimum photon energy (hν>Egh\nu > E_g) needed for a photon to be absorbed and generate a carrier pair — which is why each material has a characteristic wavelength range over which it responds.

Worked example

Question: An LED is fabricated from a semiconductor with band gap Eg=1.9 eVE_g = 1.9\ \text{eV}. Find the wavelength of light it emits, and check which part of the visible spectrum it lies in. Then, for a second material with a smaller gap Eg=1.5 eVE_g = 1.5\ \text{eV}, find its emitted wavelength and compare. (Use h=6.63×10−34 J ⋅ sh = 6.63\times10^{-34}\ \text{J}\,\cdot\,\text{s}, c=3×108 m/sc = 3\times10^8\ \text{m/s}, 1 eV=1.6×10−19 J1\ \text{eV} = 1.6\times10^{-19}\ \text{J}.)

Step 1. Convert the first band gap to joules: Eg=1.9×1.6×10−19=3.04×10−19 JE_g = 1.9 \times 1.6\times10^{-19} = 3.04\times10^{-19}\ \text{J}.

Step 2. Apply λ=hc/Eg\lambda = hc/E_g: λ=(6.63×10−34)(3×108)3.04×10−19≈6.54×10−7 m=654 nm\lambda = \dfrac{(6.63\times10^{-34})(3\times10^8)}{3.04\times10^{-19}} \approx 6.54\times10^{-7}\ \text{m} = 654\ \text{nm}. This falls in the red band of the visible spectrum (roughly 620620–750 nm750\ \text{nm}).

Step 3. Repeat for the smaller gap: Eg=1.5×1.6×10−19=2.40×10−19 JE_g = 1.5 \times 1.6\times10^{-19} = 2.40\times10^{-19}\ \text{J}, so λ=(6.63×10−34)(3×108)2.40×10−19≈8.29×10−7 m=829 nm\lambda = \dfrac{(6.63\times10^{-34})(3\times10^8)}{2.40\times10^{-19}} \approx 8.29\times10^{-7}\ \text{m} = 829\ \text{nm}.

Step 4. Compare and conclude. The 829 nm829\ \text{nm} result lies just beyond the red end of the visible range, in the near-infrared — this material would make an infrared LED (used in remote controls), not a visible one. The 1.9 eV1.9\ \text{eV} device emits red light at about 654 nm654\ \text{nm}; the 1.5 eV1.5\ \text{eV} device emits invisible infrared light at about 829 nm829\ \text{nm} — confirming that a smaller band gap always shifts emission toward longer, redder (or infrared) wavelengths.

Competitive stretch

A photodiode with the 1.5 eV1.5\ \text{eV}-gap material above is reverse biased through a 5 kΩ5\ \text{k}\Omega load on a 9 V9\ \text{V} supply. In darkness the current is negligible; under illumination it becomes 40 μA40\ \mu\text{A}. The voltage drop across the load is V=IR=(40×10−6)(5×103)=0.2 VV = IR = (40\times10^{-6})(5\times10^3) = 0.2\ \text{V}, essentially unchanged whether the reverse supply is 6 V6\ \text{V} or 9 V9\ \text{V}, because the field is already strong enough to sweep out all photogenerated carriers — the current is set by light intensity, not by bias voltage.

Common traps

  • Mixing up the bias: LED is forward biased, photodiode is reverse biased, solar cell needs no external bias — it makes its own EMF.
  • Calling a photodiode a power source. It is not: it needs a battery and only modulates a small reverse current with light. Only the solar cell generates net electrical power from light.
  • Forgetting the eV-to-joule conversion when using λ=hc/Eg\lambda = hc/E_g — this single missed factor of 1.6×10−191.6\times10^{-19} throws the wavelength off by eighteen orders of magnitude.
  • Assuming any LED material can be forced to emit any colour by changing the current or voltage — emitted wavelength is fixed by EgE_g, a property of the material, not of the operating point.

Ask the tutor: Want to work through how solar cell efficiency depends on choosing the right band gap, or try a few more LED wavelength-to-colour problems?

Why does a photodiode need a battery if a solar cell does not?

A solar cell already has a built-in electric field at its unbiased junction, strong enough by itself to separate light-generated electron-hole pairs and push them around an external circuit — that is exactly what makes it a power source. A photodiode is used differently: it is reverse biased on purpose so that its tiny dark current, and the extra current light adds to it, can be read as a clean, fast, nearly linear signal. The external battery is not there to supply power; it is there to keep the depletion field strong and consistent so the device behaves as a reliable light sensor rather than a variable-output generator.

Can a silicon LED emit visible light like GaAs or GaAsP ones do?

Not efficiently. Silicon is an indirect-gap semiconductor, meaning that when an electron and hole recombine, momentum as well as energy has to be conserved, and satisfying both usually needs an extra lattice vibration (a phonon), which makes photon emission a rare, weak side effect. Recombination in silicon overwhelmingly releases its energy as heat instead. Materials like gallium arsenide and gallium arsenide phosphide are chosen for LEDs specifically because they are direct-gap semiconductors, where recombination can release essentially all its energy as a photon efficiently.

Does a photodiode work with any colour of light, as long as it is bright enough?

No — brightness is not the only requirement. Each photon must individually carry energy at least equal to the band gap, hν≥Egh\nu \geq E_g, or it cannot create an electron-hole pair no matter how many such photons arrive per second. A very bright beam of light whose photon energy falls below EgE_g produces essentially no extra current, while even a dim beam with hνh\nu comfortably above EgE_g will generate a measurable, intensity-proportional current. Frequency sets whether the device responds at all; intensity then sets how strongly it responds.

Before this

Where this leads