C6 · Lesson 24 · Transimpedance amplifiers
Turning a photodiode's current into a voltage without ringing
A photodiode, a current-output sensor or an electrochemical cell produces a current, and the circuit that turns it into a voltage looks trivial: an op amp with a resistor from output to inverting input. Build it with a fast op amp and a big resistor, and it rings or oscillates. The sensor's capacitance at the input, together with the op amp's own roll-off, makes a second-order loop. This lesson shows why, how a fraction of a picofarad across the resistor fixes it, and how to trade bandwidth against noise.
Play
- The curve is the amplifier's gain relative to , in decibels, against frequency: a photodiode of capacitance into an op amp with gain-bandwidth GBW and feedback resistor .
- With no feedback capacitor, a tall peak sits near the top of the band: the loop is barely stable. Add a fraction of a picofarad of and watch the peak flatten.
- Raise : more gain and less noise per volt of output, but the bandwidth shrinks.
Predict
A 1 MΩ transimpedance amplifier uses a 10 MHz op amp and a photodiode with 10 pF of capacitance, and has no feedback capacitor. What does its frequency response look like?
A peak of about 25 times, 28 dB, near 400 kHz. The input capacitance and make the feedback fall with frequency, the op amp's gain falls too, and together they give a second-order loop with Q = 25. A real circuit would ring at every edge or oscillate outright. A feedback capacitor of about half a picofarad tames it.
Name it
The ideal TIA
A current I into the inverting input flows through , so , and the input node sits at virtual ground: the sensor sees almost no voltage across it.
Why it rings
With the input capacitance , the feedback fraction falls above , so the noise gain rises, and it meets the op amp's falling gain at a steep angle. Modeling the op amp as and adding a feedback capacitor ,
a second-order response with and Q set by the term. With = 0, Q is about , large.
Compensation
A standard choice puts the feedback zero at the geometric mean of the corners:
which gives Q close to 1 (about 1 dB of peaking). For a flat, Butterworth response (Q = 0.707) use times that. The bandwidth then sits near , roughly : the geometric mean of the op amp's speed and the input corner.
Noise
adds a current noise of ; the photocurrent itself has shot noise . A larger makes its own noise smaller relative to the signal, which is why sensitive receivers use the largest their bandwidth allows. At high frequency the op amp's voltage noise is multiplied by the noise gain, , so a low input capacitance matters as much as a quiet op amp.
Worked example
For the predict's amplifier ( = 1 MΩ, = 10 pF, GBW = 10 MHz), find and Q with no feedback capacitor.
Show the solution
- Coefficients. With = 0, and = 15.9 ns.
- Natural frequency.
- Q. The peak is Q times the low-frequency gain, 28 dB.
- What didn't matter. The 16 kHz corner of and alone. The op amp's loop extends the bandwidth well past it, at the cost of stability.
Answer = 399 kHz and Q = 25.1, a 28 dB peak.
Worked example
Compensate it. What feedback capacitor does the standard formula give, and what Q and bandwidth result? What capacitor gives Q = 0.707?
Show the solution
- Standard formula.
- What it gives. Q = 0.98 and a −3 dB bandwidth of 493 kHz, with about 1 dB of peaking.
- For a flat response. 0.56 pF gives Q = 0.707 and 388 kHz.
- In practice. Both are smaller than a typical resistor's own parasitic capacitance, so the layout around is part of the design.
Answer the formula gives 0.40 pF (Q = 0.98, 493 kHz), and 0.56 pF gives Q = 0.707 with 388 kHz.
Worked example
A photodiode delivers 1 µA. Compare its shot noise with the thermal current noise of a 1 MΩ and a 10 kΩ feedback resistor at 300 K.
Show the solution
- Shot noise.
- The 1 MΩ resistor. It adds = 0.13 pA/√Hz, a quarter of the signal's own noise: the receiver is limited by the light, the best it can be.
- A 10 kΩ resistor. It would add 1.29 pA/√Hz, more than twice the shot noise, and the output would be 100 times smaller as well.
Answer the shot noise is 0.57 pA/√Hz; a 1 MΩ resistor adds only 0.13 pA/√Hz, while a 10 kΩ one adds 1.29 pA/√Hz.
Check
A TIA has = 1 MΩ, = 3 pF and an op amp with GBW = 100 MHz.
(a)
What feedback capacitor does the standard formula give?
Write units the way you normally would: 1.5 pF and 0.0015 nF are the same answer.
(b)
About what bandwidth does that give, ?
Check
A TIA with = 1 MΩ, = 2 pF and GBW = 50 MHz has no feedback capacitor. About what's its Q?
Check
A photodiode delivers 1 µA into a TIA with = 10 kΩ, at 300 K.
(a)
What's its shot noise?
Write units the way you normally would: 1.5 pA/√Hz and 0.0015 nA/√Hz are the same answer.
(b)
What current noise does add?
Check
A 2 µA photocurrent flows into a TIA with = 10 kΩ. What's the output?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A TIA has = 20 pF and = 0.5 pF. By what factor is the op amp's voltage noise multiplied at high frequency?
Check
A transimpedance amplifier rings badly. Which change helps most?
Check
A TIA with = R, input capacitance c, feedback capacitance f, and an op amp .
Step 1
What's the coefficient a of s in the denominator?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What's the coefficient b of s²?
Step 3
What's Q?
Explain why
Why does a transimpedance amplifier ring when its feedback resistor has no capacitor across it?
The photodiode's capacitance at the inverting input and the feedback resistor form a divider whose feedback fraction falls with frequency, so the amplifier's noise gain rises above the corner they set. The op amp's own gain falls with frequency at the same time. The loop gain is the ratio of the two, so it falls twice as fast, at 40 dB per decade, and its phase approaches 180 degrees where it crosses unity. With almost no phase margin, the closed loop has a high-Q resonance, which shows as a peak in the response and ringing on edges. A small capacitor across the resistor stops the noise gain from rising forever, flattening it before the crossover and restoring the phase margin.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.