Keywords: TIA, trans impedance amplifier, transimpedance amp, photodiode, medical instrumentation, industrial control, piezo-sensor interface, TIA stability, feedback capacitance, phase compensation, bode plot
Related Parts |

APPLICATION NOTE 5129

Abstract: Transimpedance amplifiers (TIAs) are widely used to translate the current output of sensors like photodiode-to-voltage signals, since many circuits and instruments can only accept voltage input. An operational amplifier with a feedback resistor from output to the inverting input is the most straightforward implementation of such a TIA. However, even this simple TIA circuit requires careful trade-offs among noise gain, offset voltage, bandwidth, and stability. Clearly stability in a TIA is essential for good, reliable performance. This application note explains the empirical calculations for assessing stability and then shows how to fine-tune the selection of the feedback phase-compensation capacitor.

A similar version of this article appeared in the October 28, 2011 issue of *Electronic Design* magazine.

Figures 1 to 3 show some basic TIA circuits. **Figure 1** is popularly used in dual-supply systems. **Figure 2** is a minor modification of this circuit for single-supply applications. The resistive-divider formed by R1 and R2 ensures that the output node of the op amp is higher than the Output Voltage Low specification during a no-light condition when only a small dark current flows through the photodiode. By ensuring that the op amp's output stage operates in the linear region, this offset improves both photo-detection in low-light conditions and response speed. However, care must be taken to keep this bias voltage on the IN+ pin small. Otherwise reverse-leakage current in the photodiode can degrade linearity and increase offset drift over temperature. In some applications the circuit in **Figure 3** is used where the photodiode is placed directly across the input terminals of the op amp. This circuit avoids the reverse bias across the photodiode, although it requires a buffered reference. The reference must be fast enough to sink the photodiode current as required by the application. This, in turn, implies that amplifier A1 must be as fast as amplifier A2.

Like any op amp circuit with feedback, each of the above circuits can be separated into an amplifier with open-loop gain, A_{VOL}, and a feedback network comprised of the resistance and the photodiode. **Figure 4** shows the equivalent circuit of the photodiode in Figures 1 to 3.¹ For most photodiodes, R_{SERIES} = 0 and R_{SHUNT} = Infinity is a fair approximation. Consequently, the simplified model reduces to the short-circuit current source in parallel with the junction capacitance. This simplified photodiode model will be used for subsequent stability analysis.

To understand why the circuits in Figures 1 to 3 might oscillate, it is useful to plot the frequency of the open-loop gain and the feedback factor. **Figure 5** plots the open-loop gain response of the op amp. It is constant from DC until the dominant-pole corner frequency; it decreases at 20dB per decade thereafter until it reaches the second-pole corner. Mathematically, the single-pole response can be represented as:

(Eq. 1) |

Where:

A_{VOL} = DC open-loop gain

A_{VOL}(jω) = open-loop gain corresponding to frequency, ω

ω_{PD} = dominant-pole frequency in radians/seconds

A

A

ω

Using the simplified equivalent circuit for the photodiode, the feedback network is simply a one-pole RC filter comprised of the feedback resistance, R_{F}, and the total input capacitance, C_{i} (junction capacitance of the photodiode in parallel with the input capacitance of the op amp). The feedback factor is given as:

(Eq. 2) |

Therefore, the reciprocal of the feedback factor is:

(Eq. 3) |

Figure 5 also plots the response curve for 1/β(jω). At low frequencies the curve remains flat at unity gain, as expected from the unity-gain resistive feedback. It then rises at 20dB/dec starting from the corner frequency, f_{F}.

From the Barkhausen stability criterion, oscillation can result if the closed-loop TIA circuit does not have sufficient phase margin for Aβ ≥ 1. Hence, the intersection of the A_{VOL}(jω) response curve with the 1/β(jω) curve denotes a critical intercept fundamental for stability analysis. The phase margin at this intersection frequency can be determined by observing the rate of closure between the two response curves, A_{VOL}(jω) and 1/β(jω). If the rate of closure of the two response curves is 40dB, as seen in Figure 5, the circuit will be unstable. There is another intuitive way to understand this. At lower frequencies the phase shift in the feedback signal is 180 degrees due to the inverting nature of the negative feedback. As the frequency increases well into the -20dB/dec slope region of A_{VOL}, the dominant pole of the op amp can add up to 90 degrees of phase shift. Similarly, the pole introduced by the feedback network can add another 90 degrees of phase shift, thus producing a phase shift of about 360 degrees at Aβ = 1. If the phase shift is 360 degrees, self-sustaining oscillations will result. If the phase shift is close to 360 degrees, heavy ringing is observed. In either case, some form of phase compensation scheme will be required to stabilize the circuit.

It is common knowledge that adding a bypass capacitor in parallel with the feedback resistance provides the requisite compensation to guarantee sufficient phase margin (**Figure 6**). It is important to calculate the value of the feedback capacitor required to provide optimal compensation. To account for the added phase-compensation capacitor, substitute Z_{F} in Equation 2 with R_{F} || C_{F}. The feedback factor now becomes:

(Eq. 4) |

Comparing Equation 2 and Equation 4 shows that the addition of capacitor C_{F} introduces a zero in the feedback factor, besides modifying its pole. The zero compensates for the phase shift introduced by the feedback network. This can be seen graphically in **Figure 7**. If the phase shift is overcompensated by choosing a large feedback capacitor, then the rate of closure can be reduced to 20dB per decade (90 degrees phase margin). However, overcompensation also reduces the usable bandwidth of the TIA. While a reduced bandwidth may not be an issue with low-frequency photodiode applications, high-frequency or low-duty-cycle pulsed photodiode circuits definitely need to maximize the available bandwidth. For such applications, the goal is to find the minimum value of the feedback compensation capacitor, C_{F}, needed to eliminate oscillation and minimize ringing. However, it is always a good idea to overcompensate the TIA circuit slightly. Overcompensation is recommended to provide sufficient guardband to account for up to ±40% variation in an op amp's bandwidth over process corners and the tolerance of the feedback capacitor.

A good design compromise is to target 45 degrees of phase margin at the intercept of the A_{VOL}(jω) and 1/β(jω) curves. This margin requires the optimum value of C_{F} to be calculated so that the added zero in the feedback factor, β(jω), is located at the frequency corresponding to Aβ = 1, as shown in Figure 7. One equation for the intercept frequency is:

(Eq.5 ) |

Equation 5 has two unknowns, the intercept frequency, f_{i}, and the feedback capacitor, C_{F}. To solve for C_{F}, we need to find another simultaneous equation. One way to obtain the second equation is to equate the A_{VOL}(jω_{i}) and 1/β(jω_{i}) curves. The resulting equation is complicated and does not lend itself to an easy solution. The graphical approach for solving C_{F} is a more convenient alternative.² Observing Figure 7, both curves have a slope of 20dB/dec. Therefore, the approximate triangle formed by both curves with the horizontal axis is isosceles. Hence, the intercept frequency, f_{i}, is the average of the other two vertices. Since the frequency is plotted in the logarithmic scale, we have:

(Eq. 6) |

Here:

(Eq. 7) |

Where f_{GBWP} = unity gain bandwidth of the op amp. To account for the variation in unity-gain bandwidth over process corners, select f_{GBWP} to be 60% of the value specified on the op amp's data sheet.

For decompensated op amps, use f_{GBWP} to equal 60% of the frequency at which the projection of the -20dB A_{VOL}(jω_{i}) slope intersects the 0dB x-axis line.

With some algebraic manipulation, Equation 6 can be rewritten as:

(Eq. 8) |

Equation 8 shows that the intercept frequency, f_{i}, is equal to the geometric mean of the unity-gain bandwidth, f_{GBWP}, and the pole-corner frequency, f_{F}, of β(jω).
Substituting for f_{F} from Equation 7, we get:

(Eq. 9) |

Equating Equations 5 and 9 and squaring, we get:

The above quadratic equation can be easily solved to calculate the following value of C_{F}:

(Eq. 10) |

The calculated value of the feedback capacitor C_{F} is valid for both large-area and small-area photodiodes.

TIAs are used in a variety of applications such as 3D goggles, compact disc players, pulse oximeters, IR remote controls, ambient light sensors, night-vision equipment, and laser range finding.

Consider a rain-sensor application. Rain sensors are presently used in high-end automobiles to automatically adjust the wiper speed depending on the presence and intensity of rain. Usually the optical rain sensors operate on the principle of total internal reflection. The sensor is generally located behind the driver's rear-view mirror. An infrared light laser source beams the light pulses at an angle to the windshield. If the glass is not wet, then most of the light comes back to the photodiode detector. If the glass is wet, then some of the light is refracted and less light is detected by the sensor tuning on the wiper. The wiper speed is set based on how fast the moisture builds up between the sweeps.

Detecting the change in moisture for wiper adjustment while rejecting the low-frequency, ambient-light IR content requires the rain sensor to operate at a pulse frequency over 100Hz. For example, consider the problem of designing a TIA for the rain sensor with the following specifications:

Photodiode IR current pulse peak amplitude = 50nA up to 10µA, depending on reflected light content

ON time duration = 50µs

Duty cycle = 5%

R_{F} = 100kΩ

BPW46 photodiode is used

ON time duration = 50µs

Duty cycle = 5%

R

BPW46 photodiode is used

Table 1. Maxim Op Amps Suitable for Transimpedance Amplifier Circuits | ||||||

Part | Input Bias Current (pA) | Input Voltage Noise (nV/sqrt(Hz)) | Supply Current (µA) | Unity Gain Bandwidth (MHz) | Smallest Package | Features |

MAX9636 | < 0.8 | 38 at 1kHz | 36 | 1.5 | SC70 | Low power, low bias current, high GBW to supply current ratio, low cost |

MAX9620 | < 80 | 42 at 1kHz | 59 | 1.5 | SC70 | Precision, low power, high GBW-to-supply current ratio |

MAX9613 | < 1.55 | 28 at 10kHz | 220 | 2.8 | SC70 | Low bias current at V_{CM} = V_{EE}, V_{OS} self-calibration |

MAX4475 | < 1 | 4.5 at 1kHz | 2200 | 10 | SOT23, TDFN | Ultra-low noise |

MAX4230 | < 1 | 15 at 1kHz | 1100 | 10 | SC70 | High bandwidth, low noise |

MAX9945 | < 0.15 | 16.5 at 1kHz | 400 | 3 | TDFN | High voltage, low power |

MAX4250 | < 1 | 8.9 at 1kHz | 400 | 3 | SOT23 | Low noise and low distortion |

MAX4238 | < 1 | 30 at 1kHz | 600 | 1 | SOT23, TDFN | Precision and low drift |

MAX4400 | < 1 | 36 at 10kHz | 320 | 0.8 | SC70 | Low cost |

The estimated value of feedback capacitance is calculated by substituting the following parameters in Equation 10:

C_{i} |
= junction capacitance of photodiode (70pF) + 2pF input capacitance of the MAX9636 |

= 72pF |

f

Gain bandwidth is not a trimmed parameter and can vary ±40% over process corner for any op amp. Consequently, even though the data sheet specifies the typical unity gain bandwidth to be 1.5MHz, we have considered the unity gain bandwidth to be 60% of this typical value in order to account for process variations.

Here, R_{F} = 100kΩ.Therefore, the calculated value of C_{F} = 15.6pF. The next highest standard value of the capacitor is 18pF.

This article demonstrates the theory and calculations to compensate and stabilize a TIA circuit. A good match was observed between theoretical and lab results.

- Jiang, H., and Yu, P. K. L., "Equivalent Circuit Analysis of Harmonic Distortions in Photodiode," IEEE® Photonics Technology Letters, vol. 10, no. 11, November 1998, pp. 1608–1610.
- Graeme, Jerald, "Photodiode Amplifiers: Op amp Solutions," The McGraw-Hill Companies, Inc., ISBN 0-07-024247-X, pp. 47–50.

Next Steps | ||

EE-Mail | Subscribe to EE-Mail and receive automatic notice of new documents in your areas of interest. | |

Download | Download, PDF Format |

© , Maxim Integrated Products, Inc. |

The content on this webpage is protected by copyright laws of the United States and of foreign countries. For requests to copy this content,
contact us.

APP 5129: APPLICATION NOTE 5129,AN5129, AN 5129, APP5129, Appnote5129, Appnote 5129 |