
An op amp's input capacitance can often be the bugaboo that prevents the frequency stability of a circuit. The reason is that input capacitance along with the resistive feedback network creates a pole in an inverting amplifier that introduces phase lag in the open-loop response. In noninverting op amps, the input capacitance can produce a zero in the closed-loop response, which causes high-frequency peaking, which can degrade common-mode rejection. Knowledge about phase-compensation techniques can help you counteract these deleterious effects of an op amp's input capacitance.
Fig 1 illustrates an inverting amplifier with some typical values for the input capacitance. Cidrepresents the differential capacitance between the amplifier's two inputs. The two Cicm components represent the common-mode input capacitance for each op-amp input to ground. In the inverting configuration, two of the three input capacitances shunt the feedback network. A capacitor in the feedback path Cf compensates for the effects of the input capacitance. To examine the effects
of the input capacitance when Cf is 0, consider the uncompensated feedback voltage divider:
where [smlbeta]0=R1/(R1+R2) and Ci=Cid+Cicm. The op-amp input capacitance introduces a feedback pole at f=1/2[pi](R1|| R2)Ci.
The significance of the feedback pole produced by Ci on frequency stability depends on the values of the feedback resistors. Large resistor values and op amps with wide open-loop bandwidths cause stability concerns. The addition of Cf in the feedback path introduces a zero to compensate for the feedback pole. Fig 2 is a bode diagram
that demonstrates the stabilizing effect of Cf. The interception of the op amp's open-loop gain curve and the 1/[smlbeta] response determine the circuit's frequency stability. The 1/[smlbeta] response is:
where [smlbeta]0=R1/(R1+R2).
The bode diagram shows a rise in the frequency response of 1/[smlbeta] due to the zero at fz=1/2[pi](R1||R2)(Ci+Cf). Without the pole in the 1/[smlbeta] response at fp=1/2[pi]R2Cf, the open-loop gain AOL and the 1/[smlbeta] curve would intersect with a 40-dB/decade slope difference, which would produce 180° phase shift at the intercept point and loop oscillations. Placing fp at the intercept point introduces 45° of phase correction and extends the closed-loop bandwidth to fi. The phase shift at the intercept point reduces from 180 to 135&3176;, producing a 45° phase margin. Placing the fp closer to the fz would further increase the phase margin. However, because Cf shunts the feedback resistor, the Cf increase required for this phase margin would restrict the inverting circuit's bandwidth.
To quantify fi and Cf using geometric analysis, note the triangle in the bode diagram formed by the rise in the 1/[smlbeta] response, the fall in the AOL response, and the projected dash extension of the 1/[smlbeta]0 curve. The intercept point, fi, lies midway between the fz and B0fc endpoints of the base of the triangle. The logarithm of the midpoint is given as Log fi=(Log fz+Log b0fc)/2. Solving for fi yields:
Setting fp=fi=1/2pR2Cf yields the value of the compensation capacitor, Cf. Another convenient way to determine Cf is to assume a fictitious capacitor that creates the amplifier crossover frequency, fc. The fictitious capacitor is given by Cc=1/2pR2fc. Solving for the compensation capacitor in terms of the fictitious capacitor yields:
where
For a crossover frequency of fc=16 MHz and a total in- put capacitance of Ci=14 pF, the compensation capacitor is Cf=3 pF.
The test to determine whether Cf for the noninverting amplifier is needed comprises the following steps. First, compute fz=1/2[pi]R1||R2Ci, where Ci=Cid+Cicm. Compare the result with [smlbeta]0fc, where [smlbeta]0=/R1+R2 and fc is the crossover frequency of the op amp. If fz is greater than [smlbeta]0fc, then no compensation is required and there is no peaking in the closed-loop response. When fz is less than [smlbeta]0fc, however, you calculate the compensation capacitor by:
where
For the component values shown in Fig 1, Ci=15 pF and R1||R2=10 k[smlomega], which makes fz=1.06 MHz. Also [smlbeta]0=0.5 and fc=16 MHz, so the calculated value for [smlbeta]0fc=8 MHz. Because fz<[smlbeta]0fc, the circuit requires phase compensation. In this case, the wide bandwidth of the OPA627 op amp and the large value of 20 k[smlomega] for feedback resistors contribute to the need for compensation. The closed-loop bandwidth for the circuit is BW=1.4fi. For the values shown, fi=2.7 MHz, so the BW=3.8 MHz.
In the noninverting op-amp configuration (Fig 3), one of the input capacitors (Cicm) shunts the feedback resistor (R1). Although the feedback factor [smlbeta] is the same as the inverting amplifier, at high frequencies Cicm and R1 introduce a zero in the closed-loop response, which causes peaking. This effect does not occur in the inverting configuration because the inverting input is at a virtual ground. The phase-compensation capacitor Cf can also compensate for the peaking in the noninverting configuration. An appropriate choice of Cf creates a pole that cancels the zero produced by Cicm. Cancellation occurs when CfŚR2=CicmŚR1. Solving for Cf:
To compensate for peaking in the closed-loop response, use:
Because the calculated capacitance for peaking compensation is a larger value than the calculated phase-compensation capacitor, you can use the larger value to extend the closed-loop bandwidth.
How well the pole cancels the zero depends on the variation in the input capacitance due to production variances and voltage sensitivity. Cicm is dependent on voltage; therefore, the signal level at e1 can introduce high-frequency distortion, which affects the frequency compensation. However, the input-capacitance variation is generally small, so high-frequency distortion is generally slight whether or not you employ a compensation capacitor.
Fig 4 is a bode diagram for a compensated noninverting amplifier. The figure shows the op amp's open- (AOL) and closed-loop (ACL) responses, along with the 1/[smlbeta] response curve. The dashed curve superimposes the 1/[smlbeta] response for the previously considered inverting amplifier. Using a larger compensation capacitor Cf than the noninverting case eliminates any overshoot in the closed-loop response.
The interception of the 1/[smlbeta] curve and the AOL curves determines the closed-loop bandwidth BHfc. The closed-loop bandwidth fi* for the noninverting amplifier is wider than the inverting amplifier fi. Also note that the noninverting compensation capacitor levels off the 1/[smlbeta] curve at a lower frequency than the intercept point with the AOL curve. The noninverting closed-loop bandwidth is given as:
where
For the values shown in the figures, the bandwidth for the noninverting amplifier is 13 MHz vs 3.8 MHz for the inverting amplifier.
A differential op-amp configuration poses conflicting phase-compensation demands because of the combined effect of the noninverting and inverting configurations. Fortunately, a judicious choice of circuit resistance can compensate for the conflict. Fig 5 depicts a difference amplifier with the op amp's input capacitances brought out for circuit analysis. At first glance, it appears that the value of the feedback compensation capacitor Cf conflicts with frequency stability and gain-peaking compensation. In addition, the value of Cicm in parallel with R4 provides an extra pole to the e2 path that doesn't occur in the e1 path.
Analysis of the circuit's closed-loop response, however, shows that the compensation for gain peaking resolves the phase-compensation difference for both paths to the op amp. With no feedback compensation capacitor (Cf=0), the closed-loop response is given by:
To balance the dc gain for each input path, set the circuit resistor ratios so that R4/R3=R2/R1. Maintaining these resistor ratios reduces the closed-loop gain to:
When s=0, the dc gain for both input paths are the same. However, the ac closed-loop response for the e2 path has a pole at fp2=1/2[pi](R3||R4)Cicm and a zero at fz2=1/2pR1||R2Cicm. Although both singularities depend on Cicm, the capacitances are at the opposite op-amp inputs. Because the capacitors are closely matched, you can make the pole and zero cancel by allowing R3=R1 and R4=R2. Under these conditions, the closed-loop gain is:
The previous closed-loop analysis of the difference amplifier ignores the effect of the op amp's open-loop response (AOL), which must be phase-compensated. To phase-compensate the difference amplifier, you must bypass R2 with Cf as described for the inverting and noninverting amplifiers. Although both the e1 and e2 gain paths experience the same pole at 1/2[pi]R2Cfs, the feedback capacitor alters the fz2 zero for the e2 path without equivalently affecting a zero in the e1 path. The uncompensated fz2 zero is caused by the resistive feedback network of R1||R2 reacting with Cicm capacitor at the negative op-amp input. By bypassing R2 with a compensation capacitor Cf, you modify the fz2 zero to
be 1/2[pi](R1||R2)(Cicm+Cf).
The modified fz no longer cancels the pole at fp2=1/2[pi] (R1||R2)Cicm. To realign the pole and zero cancellation, you must bypass R4 with an equivalent compensation capacitor equal in value to Cf. The second compensation capacitor generates a pole at fp2=1/2[pi](R1||R2)(Cicm+Cf), which effectively cancels the zero at fz2. The resulting closed-loop gain is given as:
The pole-zero cancellation described for the difference amplifier suggests an alternative compensation method for the noninverting case. Grounding the e1 input for the difference amplifiers converts the circuit into a noninverting configuration. However, the input impedance is R3+R4, which is not as large as the input impedance for the connection shown in Fig 3. However, because there is only gain to the e2 path in the noninverting amplifier, you need only the resistance ratio R3||R4=R1||R2 to maintain the pole and zero cancellation. To accommodate large source impedances (Rs), make R4=[infinity] and R3=R1||R2-Rs to achieve a large input impedance.
The previous analysis of the noninverting amplifier in Fig 3 ignored the effect of the source impedance's reacting with
the Cicm capacitance, causing an uncompensated pole in the closed-loop response. The addition of R3 and the addition of Cf from the op-amp noninverting input to ground provides compensation for this pole, as described in the difference amplifier configuration. The pole-zero matching also removes a potential distortion effect. The voltage levels at the op-amp inputs cause Cicm to vary slightly; however, the matching of the pole and zero causes the distortion products to cancel.
Equal signal voltages on the two Cicm capacitors maintain the pole-zero cancellation, which removes any high-frequency distortion to which the circuit in Fig 3 is susceptible. In addition, by making the impedances for the dc currents for each op-amp input the same, you minimize the effect of input offset currents on the amplifier's overall output offset voltage.
1. Graeme, J, "Circuit Options Boost Photodiode Bandwidth," EDN, May 21, 1992, pg 155.
2. Graeme, J, "Feedback Plots Offer Insight into Operational Amplifiers," EDN, January 19, 1989, pg 131.
3. Graeme, J, "Bode Plots Enhance Feedback Analysis of Operational Amplifiers," EDN, February 2, 1989, pg 163.
4. Graeme, J, "Feedback Models Reduce Op-Amp Circuits to Voltage Dividers," EDN, June 20, 1991, pg 139.