1. Engineering Overview & How the Circuit Works
A Photodiode Transimpedance Amplifier (TIA) converts microamp-to-nanoamp optical photocurrent linearly into a clean, low-impedance voltage (V_out = I_ph × R_f). It powers pulse oximeters, optical power meters, flame/smoke sensors, LiDAR receivers, and fiber-optic detectors.
Unlike a simple load resistor, the op-amp virtual ground clamps the photodiode at a constant voltage (0 V in Photovoltaic mode for near-zero dark current, or reverse-biased in Photoconductive mode for high speed) — achieving 5–7 decades of linear dynamic range, provided feedback capacitor Cf is sized properly to stop MHz oscillation!
Photovoltaic vs Photoconductive: At 0 V bias (Photovoltaic), dark leakage current drops to picoamps for precision DC light sensing. Applying −5 V reverse bias (Photoconductive) widens the silicon depletion zone, cutting junction capacitance Cj by 3–5× for fast MHz optical pulses at the cost of nanoamp dark current.
Cf Phase Compensation Rule: Photodiode capacitance Cj + op-amp input capacitance interacting with high-value Rf creates an extra phase-lag pole that makes uncompensated TIAs ring or oscillate! A tiny 2–22 pF C0G capacitor Cf across Rf restores phase margin cleanly and sets bandwidth f_−3dB = 1 / (2π·Rf·Cf).

2. Step-by-step: Designing a stable, ultra-low-noise photodiode TIA
1Pick a FET/CMOS input op-amp with picoamp bias current
Never use bipolar op-amps (like LM358) with >100 kΩ Rf — their nanoamp input bias current creates huge DC offset! Choose OPA380, LMC6482, or LTC6268 (Ib < 1 pA).
2Size Rf = V_out(max) / I_ph(max) with optical headroom
Include worst-case ambient light so V_out stays ≥ 0.2 V below Vcc. On single-supply systems, bias the (+) pin to +0.1 V so dark output stays off the 0 V rail.
3Calculate and solder feedback capacitor Cf right across Rf
Estimate Cf ≥ sqrt(Cin / (2π · Rf · GBW)) using a low-loss C0G/NP0 capacitor directly parallel to Rf, and verify zero ringing on an LED square-wave step.
4Guard the summing node and cut ground plane under pin 2
Keep the trace from photodiode cathode to op-amp (−) ultra-short (<5 mm), remove ground pour underneath to minimize stray capacitance, and surround with a driven guard ring if Rf ≥ 1 MΩ.
3. Field Troubleshooting & Multimeter Diagnostics
| Symptom | Root Cause | Multimeter Check | Corrective Fix |
|---|---|---|---|
| Output oscillates wildly at hundreds of kHz or MHz even in darkness | Missing or too-small Cf compensation capacitor relative to photodiode Cj | Probe output with 10× scope probe (never probe the (−) node directly!) | Increase Cf (e.g. 4.7 pF → 15 pF C0G) or pick a higher-GBW FET op-amp |
| Output stays stuck at +4.9 V under normal room lighting | Ambient daylight/LED lighting drives excess DC photocurrent into large Rf | Cover photodiode completely with black tape and see if Vout drops to ~0 V | Lower Rf, add narrowband optical filter, or add DC ambient-light cancellation loop |
4. Frequently Asked Engineering Questions
Why is a TIA so much more linear than connecting a photodiode to a simple resistor?
Across a plain resistor, rising photocurrent forward-biases the photodiode toward 0.6 V, compressing output logarithmically. A TIA’s virtual ground keeps diode voltage constant at 0 V (or fixed reverse bias), maintaining exact linearity across >6 orders of magnitude.
Why must I NEVER touch an oscilloscope probe to the TIA inverting (−) input?
Even a 10× scope probe adds 10–15 pF of capacitance right onto the sensitive summing node — instantly causing oscillation and completely altering the circuit you are trying to measure! Always probe the op-amp output instead.
Which direction should the photodiode be wired for a positive output on a single-supply TIA?
Connect the photodiode ANODE to GND (or −Vbias) and CATHODE to the op-amp inverting (−) input. Photocurrent then flows out of the (−) node toward GND, forcing the op-amp output to swing POSITIVE (+Iph × Rf).
How do I choose between Photovoltaic and Photoconductive mode?
Use Photovoltaic (0 V) for slow, ultra-sensitive precision measurements (<10 kHz, dark current critical). Use Photoconductive (reverse bias) for fast pulses (>50 kHz, LiDAR, optical encoders) where low junction capacitance matters most.
Why does a 1 MΩ TIA drift in humid environments?
Solder flux residue + humidity creates surface leakage paths across FR4 fiberglass that rival megaohm feedback resistors. Wash boards thoroughly in isopropyl alcohol and route a PCB guard ring driven at the (+) pin potential around the (−) node.
Can I measure nanosecond laser pulses with a 100 kΩ TIA?
No — even 1 pF of stray capacitance across 100 kΩ limits bandwidth to 1.6 MHz (~220 ns rise time). Nanosecond pulses require lower Rf (1–5 kΩ), reverse-biased PIN/APD photodiodes, and GHz-GBW op-amps (e.g. OPA855).
5. Related Calculators, Guides & Other Sensor Circuits
- Anti-aliasing RC filter calculator
- ADC resolution calculator
- Low-Side vs High-Side Current Shunt Amplifier Circuit
- Piezoelectric / IEPE (ICP) Constant-Current Conditioning Circuit
- Comparator with Hysteresis (Schmitt Trigger) Threshold Circuit
- AC Current Transformer (CT) Burden, Mid-Rail Bias & TVS Clamp
- SAR ADC RC Charge-Bucket (Kickback) Filter & Settling Lab
- 3-Electrode Electrochemical Gas Sensor Potentiostat Circuit
- Piezoelectric Charge Amplifier (Cable-Immune Force & Ultrasonic)
- PNP (Sourcing) 3-Wire Sensor Output Circuit
- NPN (Sinking) 3-Wire Sensor Output Circuit
- NAMUR 2-Wire Intrinsic Safety Sensor Circuit
- 2-Wire 4–20 mA Current Loop & Protected Receiver Circuit