Photodiodes
A photodiode is a semiconductor device designed to detect light and convert optical energy into an electrical signal. Photodiodes are used in light sensors, remote controls, optical communication, measurement equipment, smoke detectors, encoders, automatic lighting systems, and many other electronic applications.
What Is a Photodiode?
A photodiode is a semiconductor diode whose electrical behavior changes when light reaches its active semiconductor region.
When photons enter the semiconductor, they can generate charge carriers. This produces a photocurrent that can be measured or used by an electronic circuit.
The amount of photocurrent generally depends on factors such as:
- Light intensity
- Wavelength
- Photodiode construction
- Bias voltage
- Temperature
- Load or amplifier circuit
Photodiode Symbol
↘ ↘
\ \
\ \
Anode | | Cathode
A | | K
│ │ │ │
───|<|──────────────────────
The photodiode symbol resembles a conventional diode symbol with arrows pointing toward the diode to indicate incoming light.
This differs from the LED symbol, where the arrows point outward to represent emitted light.
How a Photodiode Works
When light strikes the semiconductor junction, photons with sufficient energy can create electron-hole pairs.
The electric field within the device separates these charge carriers, producing a photocurrent.
Light
↓ ↓ ↓ ↓
┌─────────────┐
│ Photodiode │
│ │
│ Semiconductor
└──────┬──────┘
│
▼
Photocurrent
│
▼
Signal Circuit
The resulting electrical current can then be amplified, measured, converted into a voltage, or processed by a microcontroller or other electronic circuit.
Photodiode Polarity
A conventional photodiode has an anode and cathode like other diodes.
The polarity and pin configuration depend on the physical package. Therefore, the manufacturer's datasheet should be consulted when identifying the terminals.
Some photodiodes may be designed to operate primarily under reverse bias, while others can be used in zero-bias photovoltaic operation.
Photodiode Operating Modes
Photodiodes are commonly operated in two basic modes:
- Photovoltaic mode
- Photoconductive mode
The appropriate mode depends on the required sensitivity, speed, noise, linearity, and circuit design.
Photovoltaic Mode
In photovoltaic mode, the photodiode operates with little or no external reverse-bias voltage.
Incident light produces a photocurrent and a measurable voltage can develop across the device or connected load.
Light
↓
┌────────────┐
│ Photodiode │
└─────┬──────┘
│
Load
│
GND
This mode can provide low noise, although response speed and capacitance considerations depend on the particular photodiode and circuit.
Photoconductive Mode
In photoconductive mode, the photodiode is normally reverse biased.
Reverse Bias
│
R
│
├──── Output
│
Photodiode
│
GND
Reverse bias can reduce the effective junction capacitance and improve response speed, making this mode particularly useful for high-speed optical detection.
The trade-off is that reverse bias can increase dark current and associated noise.
Photocurrent
The current generated by incident light is called photocurrent.
For many photodiodes, photocurrent is approximately proportional to optical power over a specified operating range.
More light
↓
More photons
↓
More charge carriers
↓
Higher photocurrent
The exact relationship depends on wavelength, device characteristics, bias, and operating conditions.
Dark Current
A photodiode can produce a small current even when no light is present. This is called dark current.
Dark current is influenced by factors including:
- Temperature
- Reverse-bias voltage
- Device construction
- Semiconductor material
Low dark current is desirable in many low-light and precision measurement applications.
Responsivity
Photodiode responsivity describes how much electrical current is generated for a given amount of incident optical power.
It is commonly expressed in amperes per watt:
Responsivity = Photocurrent / Optical Power
Responsivity varies with wavelength and is normally specified by the manufacturer.
A photodiode can therefore be highly sensitive to some wavelengths while being much less sensitive to others.
Spectral Response
The spectral response describes how sensitive a photodiode is to different wavelengths of light.
Responsivity
│
│ /\
│ / \
│ / \
│____/ \____
│
└──────────────────── Wavelength
Different semiconductor materials provide different spectral-response ranges.
When selecting a photodiode, its spectral response should match the wavelength of the light source being detected.
Photodiode Types
PN Photodiodes
Basic photodiodes based on a conventional semiconductor junction.
PIN Photodiodes
PIN photodiodes contain an intrinsic region between the p-type and n-type regions. They are widely used for fast optical detection.
Avalanche Photodiodes
Avalanche photodiodes operate with internal avalanche multiplication and can provide higher sensitivity than conventional photodiodes, but they require more specialized biasing and control.
Infrared Photodiodes
Designed to detect infrared wavelengths and commonly used in remote controls, sensors, and optical communication systems.
PIN Photodiodes
PIN photodiodes are widely used where fast response and good sensitivity are required.
The intrinsic region increases the effective depletion region and can provide useful electrical characteristics for high-speed optical detection.
Applications include:
- Fiber-optic communication
- Optical sensors
- Encoders
- Barcode readers
- Measurement equipment
Avalanche Photodiodes
An avalanche photodiode, or APD, operates at a sufficiently high reverse bias to produce internal avalanche multiplication.
This internal gain can increase the electrical response to weak optical signals.
APDs require more careful bias and temperature control than ordinary photodiodes.
They are used in specialized optical communication and measurement applications.
Photodiodes for Infrared Detection
Infrared photodiodes are designed to respond strongly to infrared wavelengths.
Common applications include:
- Remote-control receivers
- Object detection
- Proximity sensing
- Optical interrupters
- Encoders
- Optical communication
The wavelength of the infrared source should be matched with the photodiode's spectral-response range.
Photodiodes in Remote Controls
Infrared remote-control systems use optical signals to transmit commands.
The transmitter normally uses an infrared LED, while the receiver uses an optical sensor designed to detect the modulated infrared signal.
Remote Control
│
▼
IR LED
│
Light
│
▼
Photodetector
│
▼
Signal Processing
│
▼
Control Circuit
Practical remote-control receivers often use an integrated infrared receiver module rather than a bare photodiode because the module can include amplification, filtering, and demodulation.
Photodiodes in Optical Communication
Photodiodes are important receivers in optical communication systems.
An optical transmitter sends modulated light through an optical path. The photodiode converts the incoming optical signal into an electrical current.
Optical Transmitter
│
▼
Light
│
▼
Optical Fiber
│
▼
Photodiode
│
▼
Amplifier
│
▼
Data Processing
High-speed optical systems often use PIN or avalanche photodiodes selected for the required wavelength and bandwidth.
Photodiodes in Light Sensors
A photodiode can be used to measure changes in light intensity.
Applications include:
- Automatic brightness control
- Light meters
- Industrial sensors
- Object detection
- Position sensing
- Safety systems
The photocurrent can be converted into a voltage using a resistor or, more commonly in precision applications, a transimpedance amplifier.
Photodiode with a Resistor
A simple photodiode circuit can convert photocurrent into a voltage using a resistor.
VCC
│
R
│
├──── VOUT
│
Photodiode
│
GND
As the light level changes, the photodiode current changes, causing a corresponding change in the voltage across the resistor.
This is simple but may provide less linearity and bandwidth than a dedicated amplifier circuit.
Transimpedance Amplifier
A transimpedance amplifier, commonly called a TIA, converts the small photocurrent from a photodiode into a voltage.
Photodiode
│
▼
┌──────────┐
│ Op-Amp │──── VOUT
└──────────┘
│
Rf
│
└──── feedback
The feedback resistor largely determines the current-to-voltage conversion gain.
VOUT ≈ IPH × RF
The actual circuit design must also account for photodiode capacitance, amplifier characteristics, feedback capacitance, bandwidth, stability, and noise.
Photodiode Speed
Photodiode response speed depends on several factors:
- Junction capacitance
- Reverse-bias voltage
- Carrier transit time
- Load resistance
- Amplifier bandwidth
- Device construction
PIN photodiodes are commonly selected for high-speed applications because their structure can provide suitable response characteristics.
Photodiode Capacitance
Photodiode junction capacitance can affect the bandwidth of the detection circuit.
Higher capacitance can interact with the amplifier and circuit resistance, reducing response speed.
This becomes particularly important in high-speed optical communication and measurement systems.
Photodiode Noise
Photodiode circuits can contain several sources of noise.
Examples include:
- Shot noise
- Dark-current noise
- Amplifier noise
- Resistor thermal noise
- Ambient optical interference
Low-noise circuit design becomes especially important when detecting very weak optical signals.
Ambient Light Rejection
A photodiode can respond to unwanted ambient light in addition to the intended optical signal.
Systems can reduce this interference using:
- Optical filters
- Mechanical shielding
- Modulated light sources
- Electrical filtering
- Synchronous detection
Modulating the desired light source allows the receiver to distinguish the signal from relatively constant ambient illumination.
Photodiode vs LDR
| Characteristic | Photodiode | LDR |
|---|---|---|
| Operating principle | Photogenerated current | Light-dependent resistance |
| Response speed | Generally fast | Generally slower |
| Output | Photocurrent | Resistance change |
| High-speed detection | Suitable | Generally unsuitable |
| Common applications | Communication, sensing, measurement | Simple light sensing |
Photodiode vs LED
| Characteristic | Photodiode | LED |
|---|---|---|
| Primary function | Detect light | Emit light |
| Optical conversion | Light → electrical signal | Electrical energy → light |
| Typical use | Sensor / receiver | Indicator / transmitter |
| Typical bias | Often reverse biased | Forward biased |
Testing a Photodiode
A multimeter can perform a basic test, but photodiodes can behave differently depending on whether they are tested under illumination and what operating mode is used.
Basic Diode Test
With the device disconnected from the circuit:
- Set the meter to diode-test mode.
- Identify the anode and cathode.
- Measure the forward direction.
- Reverse the probes.
- Compare the readings.
The exact readings depend on the photodiode construction and the meter's test voltage and current.
Testing Light Response
A simple way to determine whether a photodiode responds to light is to connect it to a suitable measurement circuit and expose it to changing light levels.
For example, the photocurrent can be converted to voltage using a resistor and monitored with a multimeter or oscilloscope.
The output should change when the amount of incident light changes.
Testing an Infrared Photodiode
Infrared photodiodes may not produce visible light when operating because they are detectors rather than emitters.
A useful test is to expose the device to a known infrared source and observe the electrical response.
A camera or suitable infrared-sensitive instrument can sometimes help verify that an infrared LED source is operating, but the photodiode itself should ultimately be tested electrically.
Common Photodiode Faults
| Fault | Possible Symptoms |
|---|---|
| Open circuit | No photocurrent or signal |
| Short circuit | Incorrect bias and abnormal output |
| Excessive dark current | High output even without intended illumination |
| Reduced sensitivity | Weak output for a known light level |
| Physical damage | Intermittent or incorrect optical response |
Photodiode Selection
Selecting a photodiode requires matching the device to the optical and electrical requirements of the application.
Important specifications include:
- Wavelength range
- Peak sensitivity wavelength
- Responsivity
- Dark current
- Junction capacitance
- Response time
- Active area
- Maximum reverse voltage
- Operating temperature
- Package
Choosing the Wavelength
The photodiode must be sensitive to the wavelength of the light source.
For example, an infrared optical system should use a detector whose spectral response includes the wavelength produced by its infrared transmitter.
Using a photodiode with poor spectral sensitivity at the intended wavelength can result in a weak signal even if the device is electrically functional.
Choosing the Active Area
The active area is the part of the photodiode that receives light and contributes to detection.
A larger active area can make optical alignment easier and can capture more light, but it may also have greater junction capacitance.
For high-speed systems, a smaller and faster detector may therefore be preferred.
Choosing Photodiode Response Speed
If the optical signal changes rapidly, the photodiode must have sufficient bandwidth.
For slow light-level measurements, response speed may be relatively unimportant.
For high-speed communication, pulse detection, or encoders, response time can be a critical specification.
Photodiode Replacement
When replacing a photodiode, do not select a replacement solely by physical appearance.
Compare:
- Wavelength response
- Responsivity
- Dark current
- Junction capacitance
- Response time
- Active area
- Reverse-voltage rating
- Package
- Pin configuration
A replacement with a different spectral response or significantly different capacitance can cause an otherwise functional circuit to perform poorly.
Photodiodes in Optical Encoders
Photodiodes can be used in optical encoders to detect interrupted or reflected light.
A rotating disk or moving object can modulate the light reaching the detector.
Light Source
│
▼
Object
│
▼
Photodiode
│
▼
Signal Processing
│
▼
Position / Speed
This principle is used for position, speed, and rotational measurement.
Photodiodes in Smoke Detectors
Some smoke detectors use optical sensing in which light from an LED is scattered by smoke particles toward a photodetector.
The detector senses the resulting change in received light and the electronics determine whether the change is consistent with a smoke condition.
Photodiodes in Automatic Lighting
Photodiodes can detect ambient light levels and provide a signal to electronic control circuits.
Applications include:
- Automatic display brightness
- Outdoor lighting controls
- Camera exposure systems
- Industrial lighting control
Photodiodes and Microcontrollers
A photodiode can be connected to a microcontroller system through a suitable analog front-end.
A simple sensor may use a resistor to produce a voltage that can be measured by an ADC.
For greater sensitivity and control, an op-amp transimpedance amplifier can be placed between the photodiode and the ADC.
Light │ ▼ Photodiode │ ▼ Transimpedance Amplifier │ ▼ ADC │ ▼ Microcontroller
Common Selection Mistakes
- Choosing a photodiode without checking wavelength response
- Ignoring dark current
- Ignoring junction capacitance
- Ignoring response speed
- Using the wrong pin configuration
- Ignoring active-area requirements
- Expecting a photodiode to produce a large voltage directly
- Using an unsuitable amplifier circuit
- Ignoring ambient-light interference
Quick Selection Checklist
- ✔ Determine the wavelength to be detected
- ✔ Check spectral response
- ✔ Check responsivity
- ✔ Determine required sensitivity
- ✔ Check dark current
- ✔ Check junction capacitance
- ✔ Check response speed
- ✔ Check active area
- ✔ Check reverse-voltage rating
- ✔ Check package and pin configuration
- ✔ Confirm the manufacturer's datasheet
Important Safety Notes
- High-intensity optical sources can damage eyes.
- Never look directly into high-power lasers or intense optical sources.
- UV sources can be hazardous to eyes and skin.
- Disconnect electrical power before modifying sensor circuits.
Key Points
- Photodiodes convert incident light into an electrical signal.
- They can operate in photovoltaic or photoconductive mode.
- Reverse bias is commonly used when high speed is required.
- Responsivity describes the electrical response to optical power.
- Dark current is present even when the intended light is absent.
- PIN photodiodes are widely used for fast optical detection.
- Photodiode selection must consider wavelength, sensitivity, speed, capacitance, and dark current.
- A transimpedance amplifier is commonly used to convert photocurrent into a useful voltage.