Photocurrent is the flow of electrical charge carriers—electrons and holes—generated when a semiconductor material absorbs light photons. When light strikes the depletion region of a PN junction, it transfers enough energy to knock electrons loose, creating a measurable current that scales linearly with light intensity. This fundamentally changes how you design your circuit: the sensor stops acting like a passive variable resistor and becomes an active, light-dependent current source. Because this current is typically in the microamp or nanoamp range, you cannot simply measure it with a multimeter; you must use a transimpedance amplifier (TIA) to convert that tiny current into a usable voltage without loading down the sensor.
The Mechanics and Math of Photocurrent
To design with photodiodes, you must understand responsivity ($\mathcal{R}$), which is the ratio of generated photocurrent to incident optical power, measured in Amperes per Watt (A/W). Typical silicon PIN photodiodes peak at roughly 0.6 A/W around 900nm, meaning every watt of optical power at that wavelength generates 0.6 amps of current. At visible red wavelengths (650nm), responsivity drops to about 0.4 A/W.
The governing equation is straightforward:
$I_p = \mathcal{R} \times P_{opt}$
Think of photons as rain and the photodiode's active area as a bucket. The photocurrent is the rate of water flowing out a hole in the bottom, strictly proportional to how hard it is raining (optical power), regardless of the water pressure (bias voltage) across the bucket. Applying a reverse bias voltage doesn't create more rain; it simply widens the bucket's depletion region, allowing the water to drain faster (improving response time and bandwidth) without increasing the total volume of water collected.
Worked Numeric Example: Sizing a Transimpedance Amplifier
Let's design a receiver for a 650nm red laser tripwire using a Vishay BPW34 photodiode and a Texas Instruments OPA380 TIA. We need to select the feedback resistor ($R_f$) to map the expected light level to a 5V microcontroller's ADC range.
Design Parameters:
- Optical power hitting the diode ($P_{opt}$): $50 \mu W$
- BPW34 responsivity at 650nm ($\mathcal{R}$): $0.4 \text{ A/W}$
- Target output voltage ($V_{out}$): $2.5\text{V}$ (mid-supply for maximum AC swing)
- Calculate the expected photocurrent ($I_p$):
$I_p = 0.4 \text{ A/W} \times 50 \mu W = 20 \mu A$. - Calculate the required feedback resistor ($R_f$):
Using Ohm's law for the TIA ($V_{out} = I_p \times R_f$), we get $R_f = 2.5\text{V} / 20 \mu A = 125,000 \Omega$. - Select standard components:
Use a standard $120 \text{ k}\Omega$ or $130 \text{ k}\Omega$ 1% metal film resistor. - Stabilize the circuit:
Photodiodes have high junction capacitance (the BPW34 is roughly 72pF at 0V). To prevent the TIA from oscillating at high frequencies, you must add a feedback capacitor ($C_f$) in parallel with $R_f$. For a 120k$\Omega$ resistor and 72pF diode capacitance, a $1.5\text{ pF}$ to $2.2\text{ pF}$ ceramic capacitor is required to maintain phase margin.
Where You Meet This in Practice
You will encounter photocurrent-driven circuits anywhere light must be quantified or used for high-speed signaling:
- Optical Encoders: Industrial motor controllers use slotted optical interrupts (like the Broadcom HEDS series). The photocurrent pulses translate directly into shaft position and RPM.
- Pulse Oximetry: Wearable health monitors (using ICs like the MAX30102) shine red and IR light through tissue. The tiny AC ripple in the resulting photocurrent reveals the user's heart rate and blood oxygen saturation.
- Solar Arrays: The "Short-Circuit Current" ($I_{sc}$) listed on a solar panel's spec sheet is simply the macro-scale photocurrent generated by the panel's silicon cells under standard test conditions (1000 W/m² irradiance).
Real-World Scenario Walkthrough: The 120Hz Ambient Light Trap
Theory is clean; the bench is not. Here is a classic failure mode when dealing with photocurrent in uncontrolled environments.
The Setup: A hobbyist is building an optical tachometer to read a piece of reflective tape on a motor shaft. They use an SFH203 photodiode, reverse-biased at 5V for maximum speed, feeding into an LM358 op-amp configured as a TIA with a $1 \text{ M}\Omega$ feedback resistor. The setup is powered by a 12V bench supply on a workbench lit by overhead commercial LED panels.
The Numbers: The motor spins at 1800 RPM, meaning the reflective tape passes the sensor 30 times a second (30Hz). The expected signal is a clean $100\text{mV}$ pulse train at 30Hz.
The Outcome: When probing the TIA output with an oscilloscope, the 30Hz pulses are completely invisible. Instead, there is a massive $800\text{mV}$ ripple oscillating at exactly 120Hz. The microcontroller's interrupt pin chatters randomly, yielding garbage RPM readings.
What Went Wrong: The overhead LED panels are driven by internal rectifiers that pulse the light output at 120Hz (full-wave rectified 60Hz AC mains). The photodiode dutifully generated a massive AC photocurrent in response to this room lighting. Because the $1 \text{ M}\Omega$ TIA lacked a low-pass filter and the sensor had no optical baffle, the 120Hz ambient photocurrent overwhelmed the tiny 30Hz signal, saturating the LM358's output stage.
The Fix: First, swap the visible light emitter for a 940nm IR LED and place a matching 940nm IR bandpass filter over the photodiode to block ambient room light. Second, add a $10\text{ nF}$ capacitor across the $1 \text{ M}\Omega$ feedback resistor. This creates a low-pass filter with a cutoff frequency of roughly 15Hz, rolling off the 120Hz noise while preserving the 30Hz tachometer signal (though the hobbyist may need to slightly increase the motor speed or adjust the filter to pass 30Hz cleanly).
Clearing the Confusion: Photocurrent vs. Dark Current vs. Photovoltage
When reading optoelectronics datasheets, it is easy to mix up the different current and voltage specifications. Here is how they differ in a real circuit.
| Parameter | What It Is | How It Behaves in Circuit | Typical Value (Silicon PIN) |
|---|---|---|---|
| Photocurrent ($I_p$) | Current generated by incident light. | Linear with light intensity. The desired signal. | $10 \mu A$ to $100 \mu A$ |
| Dark Current ($I_d$) | Leakage current flowing when NO light is present. | Increases with temperature and reverse bias. Creates DC offset and shot noise. | $1 \text{ nA}$ to $5 \text{ nA}$ |
| Photovoltage ($V_{oc}$) | Voltage generated across the diode in photovoltaic (zero-bias) mode. | Logarithmic with light intensity. Used in solar cells, terrible for high-speed data. | $0.3\text{V}$ to $0.6\text{V}$ |
FAQ: Troubleshooting Photodiode Circuits
Q: Does applying a higher reverse bias voltage increase the photocurrent?
A: No. Photocurrent is strictly determined by the number of photons hitting the active area (optical power) and the material's responsivity. Increasing the reverse bias voltage from 5V to 12V will widen the depletion region, which decreases junction capacitance and allows the diode to respond faster to changing light (higher bandwidth), but the steady-state DC photocurrent will remain exactly the same.
Q: Why is my transimpedance amplifier output ringing or oscillating?
A: You are missing a feedback capacitor ($C_f$). A photodiode acts as a large capacitor in parallel with the op-amp's inverting input. This introduces a pole in the feedback loop, destroying phase margin and causing high-frequency oscillation. You must calculate and install a small compensation capacitor (usually between 1pF and 10pF) in parallel with your feedback resistor to stabilize the TIA circuit.
Q: Can I just use a resistor to ground instead of an op-amp TIA?
A: You can, but you shouldn't for precision work. If you place a $100 \text{ k}\Omega$ resistor from the photodiode to ground and measure the voltage across it, the voltage drop across the resistor effectively forward-biases the diode as light levels increase. This ruins the linear relationship between light and current, compressing your dynamic range. A TIA holds the diode at a virtual ground (0V), ensuring perfect linearity.






