Skip to content
Applied Electronics

Op-amp circuits: integrator, instrumentation amplifier, transimpedance, active filters

The integrator with proof and the differentiator, the three-op-amp instrumentation amplifier with gain proof, transimpedance for photodiodes, Sallen-Key filters.

With an op-amp and a few passive components almost every function of analogue electronics can be built. In this lesson we cover the integrator and differentiator, the instrumentation amplifier for sensors, the transimpedance amplifier for photodiodes, and active filters.

The integrator

Replacing the feedback resistor of the inverting amplifier with a capacitor C: the current v_{in}/R reaching the virtual-ground node charges the capacitor, and

    \[ v_{out}(t) = -\frac{1}{RC}\int_0^t v_{in}(\tau)\,d\tau + v_{out}(0) \]

Proof. The capacitor current is C\,dv_C/dt with v_C = 0 - v_{out}; it must equal v_{in}/R: -C\,dv_{out}/dt = v_{in}/R. Integrating gives the formula. ∎

In frequency the gain is -1/(j\omega RC): it falls by 20 dB per decade. The practical problem is that at DC the gain is infinite: even a small offset is integrated until the output saturates. So a large resistor is placed in parallel with the capacitor, limiting the DC gain (lossy integrator), or the capacitor is periodically reset with a switch. Integrators are used in waveform generators, dual-slope analogue-to-digital converters and analogue PI controllers.

The differentiator (capacitor at the input, resistor in feedback), v_{out} = -RC\,dv_{in}/dt, has the opposite flaw: its gain grows with frequency and amplifies noise. It is rarely used, and always with a resistor in series with the capacitor limiting its high-frequency gain.

The instrumentation amplifier

A bridge sensor (strain gauge, load cell, resistance thermometer) produces a few millivolts of difference on top of a common voltage of a few volts. It needs an amplifier with very high input impedance on both inputs, a precise differential gain adjustable with a single resistor, and very high common-mode rejection.

Three-op-amp instrumentation amplifier
The two signals go directly into the non-inverting inputs of the two op-amps on the left, linked by the gain resistor RG and with the resistors R in feedback. Their outputs feed a difference amplifier with four equal resistors R3, which produces the output.

Theorem. The gain of the three-op-amp instrumentation amplifier is

    \[ v_{out} = \left(1 + \frac{2R}{R_G}\right)(v_2 - v_1) \]

Proof. By the virtual short of the input op-amps, the voltage across R_G is exactly v_1 - v_2, so the current i = (v_1 - v_2)/R_G flows in R_G. The same current flows through the two resistors R, since it cannot enter the op-amps. The outputs of the first two op-amps therefore differ by i(R + R_G + R) = (v_1 - v_2)(1 + 2R/R_G). The third op-amp, a unity-gain difference amplifier, brings this difference to the output (with a sign depending on which input is called v_1). The voltage common to both inputs, instead, passes unchanged through the first stage and is removed by the second. ∎

Example. With R = 25 kΩ and R_G = 1 kΩ the gain is 1 + 50 = 51. In integrated form (the INA and AD620 parts of datasheets) the internal resistors are laser-trimmed and common-mode rejection exceeds 100 dB: an input of 1 V common to both wires appears at the output as less than 10 µV equivalent.

The transimpedance amplifier

A photodiode produces a current proportional to the light, of nanoamperes or microamperes. Connecting it to the inverting input of an op-amp with a feedback resistor R_f, the whole current flows in R_f and

    \[ v_{out} = -R_f\,i \]

The photodiode works at zero voltage (virtual ground), which makes it linear and fast. With R_f = 1 MΩ, 1 µA of photocurrent gives 1 V. A small capacitor in parallel with R_f is almost always needed for stability, because the photodiode capacitance at the input tends to make the circuit oscillate. It is the input stage of optical fibre receivers, remote controls, lidars and pulse oximeters.

Active filters

With resistors, capacitors and an op-amp, filters can be built without inductors, which are bulky and expensive at low frequencies. The most used cell is the Sallen-Key: two resistors and two capacitors around an op-amp in non-inverting configuration form a second-order filter (40 dB per decade). With equal resistors R, equal capacitors C and unity gain, the cut-off frequency is f_0 = 1/(2\pi RC) and the quality factor is 0.5; to get the flattest response (Butterworth, Q = 0.707) the capacitor ratio or the stage gain is changed. Cascading several cells gives high-order filters: for example the anti-aliasing filter in front of a converter (Signal Theory lesson on sampling).

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x