A photodiode is a semiconductor device that converts absorbed light into an electrical current by generating electron-hole pairs inside a p-n or p-i-n junction. In semiconductors and computer hardware, photodiodes form the light-sensing element of optical receivers in fiber links, ambient light sensors in displays and laptops, optical mice, encoders and every pixel of a CMOS image sensor.
Unlike a transistor, which switches or amplifies an existing current, a photodiode produces a signal from photons. Its performance is described by a small set of parameters, chiefly responsivity, dark current, capacitance and bandwidth, which together decide whether a given device suits a slow light meter or a 100 Gbit/s data link.
How a photodiode converts light into current
A photodiode works through the internal photoelectric effect. When a photon with energy greater than the band gap of the semiconductor enters the depletion region, it lifts an electron from the valence band to the conduction band and leaves a hole behind. The built-in electric field of the junction sweeps the electron toward the n side and the hole toward the p side, and this separated charge appears in the external circuit as photocurrent.
Carriers generated outside the depletion region must first diffuse into it, which is slow and partly lost to recombination. Designers therefore widen the field region. The p-i-n structure inserts a lightly doped intrinsic layer between p and n, so most photons are absorbed where the field is strong. Applying a reverse bias voltage widens the depletion region further, lowers junction capacitance and speeds up the response.
The ratio of collected carriers to incident photons is the quantum efficiency, typically 60 to 90 percent for a well-matched material and wavelength. The resulting responsivity, measured in amperes per watt, rises with wavelength until the photon energy approaches the band gap, after which it falls sharply because the material becomes transparent.
Photodiode materials and spectral ranges
The choice of semiconductor material sets the wavelength range a photodiode can detect, because only photons above the band gap are absorbed. The table below lists the common materials and where each is used.
| Material | Typical spectral range | Typical application |
|---|---|---|
| Silicon (Si) | About 190 to 1100 nm | Image sensors, ambient light sensors, visible optics |
| Germanium (Ge) | About 800 to 1800 nm | Legacy infrared detection, power meters |
| Indium gallium arsenide (InGaAs) | About 900 to 1700 nm | Fiber optic receivers at 1310 and 1550 nm |
| Silicon carbide (SiC) | About 200 to 400 nm | Ultraviolet flame and UV index sensing |
| Mercury cadmium telluride (HgCdTe) | Mid and long infrared | Thermal imaging, usually cooled |
Silicon dominates consumer hardware because it is cheap and integrates directly with CMOS logic on the same die. For telecom wavelengths, silicon is transparent, so InGaAs photodiodes or germanium grown on silicon in silicon photonics are required.
Key photodiode parameters
Datasheets characterize a photodiode with a handful of figures that trade against one another, and active area is the most frequent lever: a larger area collects more light but adds capacitance and dark current.
| Parameter | Typical range | What it affects |
|---|---|---|
| Responsivity | 0.4 to 1.0 A/W at peak | Signal per watt of light |
| Dark current | Picoamperes to nanoamperes | Noise floor and low-light detection |
| Junction capacitance | Below 1 pF to several nF | Speed and amplifier stability |
| Rise time or bandwidth | Microseconds to tens of GHz | Maximum signal frequency or data rate |
| Noise equivalent power | Femtowatts to picowatts per root hertz | Weakest detectable optical signal |
| Active area | Micrometers to centimeters across | Light collection versus speed |
Dark current is the leakage that flows with no light at all. It roughly doubles for every 8 to 10 degrees Celsius of temperature rise in silicon and grows with reverse bias, which is why precision instruments often run photodiodes with zero bias or under cooling.
Photovoltaic and photoconductive operating modes
A photodiode can be operated in two basic circuit modes, and the choice determines whether low noise or high speed takes priority. In both cases the current is usually converted to a voltage by a transimpedance amplifier.
| Mode | Bias | Strength | Weakness |
|---|---|---|---|
| Photovoltaic mode | Zero bias | Lowest dark current and noise, good linearity | Higher capacitance, slower response |
| Photoconductive mode | Reverse bias | Low capacitance, fast response | Higher dark current and shot noise |
| Avalanche mode | High reverse bias near breakdown | Internal gain of 10 to several hundred | Excess noise, temperature-sensitive bias |
Photovoltaic operation suits light meters, colorimeters and medical oximeters, where signals change slowly. Photoconductive operation is standard in optical communication receivers and laser rangefinders, where nanosecond or picosecond response matters more than the last picoampere of leakage.
How a photodiode compares with related light detectors
The photodiode is the simplest and most linear solid-state light detector, and related devices add gain or integration at some cost. The comparison helps when selecting a detector for a hardware design.
| Detector | Internal gain | Speed | Typical use |
|---|---|---|---|
| PIN photodiode | None | Very fast | Fiber receivers, sensors |
| Avalanche photodiode (APD) | Moderate | Fast | Long-reach links, lidar |
| Single-photon avalanche diode (SPAD) | Very high, digital pulses | Fast timing, dead time after each count | Time-of-flight, proximity sensing |
| Phototransistor | High | Slow | Optocouplers, simple switches |
| Photoresistor | Material dependent | Very slow | Low-cost light switches |
In a CMOS image sensor, each pixel contains a pinned photodiode that integrates charge during the exposure, after which on-pixel transistors transfer and read it. The pinned design suppresses surface dark current and enables correlated double sampling, which is a major reason modern camera sensors achieve low noise.
Design pitfalls and limitations
Most photodiode problems in practice come from the surrounding circuit rather than the diode itself. Common issues include the following:
- Amplifier oscillation caused by high junction capacitance at the input of a transimpedance amplifier without proper feedback compensation.
- Saturation when strong light drives the photocurrent beyond the linear range of the amplifier or the diode.
- Stray light and electrical pickup, which add offsets that resemble dark current.
- Temperature drift in dark current and responsivity, which corrupts precision measurements unless compensated.
A photodiode also has no intrinsic color discrimination: it reports total absorbed power weighted by its spectral response. Color sensing requires optical filters, which is why image sensors place a color filter array above the pixels.
A plain-language summary
A photodiode is a tiny electronic part that turns light into electricity. When light hits it, it lets a small current flow, and the brighter the light, the larger the current. Electronics then measure that current to know how much light arrived.
It works a bit like a rain gauge for light. Each drop of light knocks loose a little electric charge, and the device collects it. Phones use photodiodes to dim the screen in a dark room, cameras use millions of them to capture a picture, and internet cables use them to read flashes of laser light that carry data.
An example from practice
A network engineer installs a 10 Gbit/s optical transceiver in a data center switch to connect two server rows about 300 meters apart. Inside the receiving module, an InGaAs PIN photodiode sits behind a small lens and detects laser pulses at 1310 nm. It runs under a few volts of reverse bias so that its capacitance stays well below one picofarad.
The photodiode delivers a photocurrent of tens of microamperes, which a transimpedance amplifier converts to a voltage for the clock and data recovery circuit. The module reports received optical power through its diagnostics interface, and the engineer confirms a level of about minus 5 dBm, comfortably above the receiver sensitivity. The result is an error-free link with margin for connector aging.