Sub topic 11
LED, photodiode, and solar cell
These three devices are p-n junctions that exchange energy with light. An LED turns electrical energy into light. A photodiode and a solar cell turn light into electrical signals or power. The only difference between them is how the junction is biased and how it is built.
This chapter assumes you know the following:
- How a p-n junction forms a depletion region and a barrier potential.
- What forward and reverse bias do to that region.
- How electron-hole pairs and band gaps work.
The shared idea: photon energy and band gap
Light comes in packets called photons. A photon of frequency ν carries energy E = hν = hc/λ. A convenient form for numerical work is:
λ (nm) = 1240 / E (eV)
Two processes use this energy, and each is the reverse of the other:
- Recombination. An electron in the conduction band falls into a hole in the valence band. It releases roughly the band gap energy E_g, which can leave as a photon.
- Generation. A photon with energy hν ≥ E_g lifts an electron from the valence band to the conduction band. This creates an electron-hole pair.
A photon with hν < E_g cannot create a pair. The material is transparent to it.
Light-emitting diode (LED)
An LED is a heavily doped p-n junction that is forward biased. Forward bias pushes electrons from the n-side and holes from the p-side toward the junction. Near the junction, they recombine. In the right materials, each recombination emits a photon with energy close to E_g.
Working conditions
- The applied voltage must exceed the threshold (knee) voltage. For most LEDs this is about 1.5 V to 3 V, depending on colour.
- A series resistor limits the current. Without one, the current rises steeply and burns out the LED.
- The junction is covered by a transparent dome so the light can escape.
Materials
Visible LEDs need E_g of about 1.8 eV to 3 eV. Silicon (1.1 eV) and germanium (0.67 eV) are unsuitable for two reasons:
- Their gaps are too small, so any light would be infrared.
- Their recombination mostly gives heat rather than photons.
LEDs use compound semiconductors such as GaAs, GaAsP, and GaP. Their colour depends on E_g:
| Material | Typical emission |
|---|---|
| GaAs | Infrared |
| GaAs₁₋ₓPₓ | Red to yellow |
| GaP | Green, red |
Compared with filament bulbs, LEDs have low operating voltage and power, fast on-off response, a long life, and no warm-up time. Their light is nearly monochromatic.
Photodiode
A photodiode is a p-n junction that is reverse biased and exposed to light through a window. Its operation has three steps:
- A photon with hν ≥ E_g strikes the depletion region.
- It creates an electron-hole pair.
- The strong junction field sweeps the electron to the n-side and the hole to the p-side. This adds to the reverse current.
The reverse current grows with the intensity of light. This makes the photodiode a light detector, used in remote controls, optical communication, and light meters.
Why reverse bias?
In the dark, a reverse-biased diode carries only a tiny minority-carrier current, on the order of microamperes. Light generates extra minority carriers, so the fractional change in current is large and easy to measure. Under forward bias, the large majority-carrier current would hide the small light-generated change.
Solar cell
A solar cell is a junction that delivers power, so it needs no external bias. Light creates pairs near the junction. The built-in field separates them: electrons go to the n-side and holes to the p-side. This produces an emf across the two sides, called the photovoltaic effect. When a load is connected, current flows through it.
Construction features
- A thin, lightly doped layer on top lets light reach the junction.
- A large junction area collects more light.
- A metal grid or fingers on the top and a metal plate on the back serve as contacts. The grid leaves gaps so light can enter.
Output
A typical silicon cell gives an open-circuit voltage of about 0.5 V to 0.6 V. Large voltages and currents come from connecting many cells in series and parallel. The I-V curve lies in the fourth quadrant. The cell supplies current while the voltage across it is positive.
Three quantities describe the output:
- Short-circuit current I_sc: the current when the output is shorted.
- Open-circuit voltage V_oc: the voltage when no current is drawn.
- Maximum power Pmax = Vm I_m: the best operating point on the curve.
The fill factor is FF = (Vm Im) / (Voc Isc). It is always less than 1.
Materials with E_g near 1.5 eV suit the solar spectrum well. Common choices are Si (about 1.1 eV), GaAs (1.43 eV), and CdTe (about 1.45 eV). These materials also have a high absorption of light.
Comparison
| Feature | LED | Photodiode | Solar cell |
|---|---|---|---|
| Bias | Forward | Reverse | None |
| Energy conversion | Electrical to light | Light to signal | Light to electrical power |
| Key process | Recombination | Pair generation | Pair generation and separation |
| Condition | Voltage above threshold | hν ≥ E_g | hν ≥ E_g |
| Junction area | Small | Small, window | Large |
| Typical material | GaAs, GaP | Si | Si, GaAs |
Worked calculations in Python
The script below finds the longest wavelength that each material can absorb or emit. It also sizes a series resistor for an LED.
HC_EV_NM = 1240.0 # h*c in eV*nm
def wavelength_nm(energy_ev):
return HC_EV_NM / energy_ev
for name, eg in [("Si", 1.12), ("GaAs", 1.43), ("Red LED", 1.9)]:
print(f"{name}: Eg = {eg} eV -> lambda = {wavelength_nm(eg):.0f} nm")
# Series resistor for an LED
v_supply = 5.0 # volts
v_led = 2.0 # LED forward drop in volts
i_led = 0.010 # desired current in amperes
r = (v_supply - v_led) / i_led
print(f"Series resistor: {r:.0f} ohm")The output shows silicon at about 1107 nm, which is infrared. GaAs gives about 867 nm. The red LED gives about 653 nm, in the red part of the visible range. The resistor comes to 300 Ω.
Common errors
- Using a forward-biased photodiode. The device works as a detector only in reverse bias.
- Reverse-biasing an LED to make it glow. It emits light only in forward bias.
- Forgetting the series resistor. An LED has no built-in current limit.
- Saying a solar cell needs a battery to work. It does not, since light provides the energy.
- Ignoring the threshold condition. If hν < E_g, no pairs form, however intense the light is.
- Mixing up the emission wavelength and the gap. A larger E_g means a shorter wavelength, so blue LEDs need larger gaps than red ones.
Exercise
A semiconductor has a band gap of 2.8 eV. What is the longest wavelength of light that can create electron-hole pairs in it? Will green light of wavelength 500 nm do so?
Show answer
λ = 1240 / 2.8 ≈ 443 nm. Green light at 500 nm has energy 1240 / 500 = 2.48 eV, which is below 2.8 eV. It cannot create pairs.
Exercise
A 9 V supply drives an LED with a forward drop of 2 V at 20 mA. What series resistor is needed?
Show answer
R = (9 − 2) / 0.020 = 350 Ω.
Exercise
State the bias condition for an LED, a photodiode, and a solar cell. Give one reason why the photodiode uses its bias.
Show answer
LED: forward bias. Photodiode: reverse bias. Solar cell: no external bias. The photodiode is reverse biased because light then causes a large fractional change in the small minority-carrier current, which is easy to detect.