TI E2E Community
Taming the Oscillating Op Amp
Last week we looked at two very common reasons for oscillations or instability in op amp circuits. The ultimate cause of both was delay or phase shift in the feedback path. Review it here. I confess that I had intended to discuss cures for both circuits this week. But to keep these blogs bite-size, I think it’s best to cover just one this week. (I must control my enthusiasm!)
A simple non-inverting amplifier can be unstable or have excessive overshoot and ringing if the phase shift or delay created by the op amp’s input capacitance (plus some stray capacitance) reacting with the feedback network resistance is too great. You may be able to make some improvement by reducing stray capacitance at this node, minimizing the circuit board trace area of this connection. For a given op amp, input capacitance (differential + common-mode capacitance) is a fixed value—you’re stuck with it. You can, however, reduce the resistances of the feedback network proportionally to keep the gain the same. This moves the pole created by this capacitance to a higher frequency and decreases the delay time constant. Reducing the resistances to 5kΩ and 10kΩ in this example makes a big improvement but still produces approximately 10% overshoot with ringing. It also creates additional load on the op amp, so you can’t take this solution too far. The sum of the two resistors is a load on the op amp and you would not want to be too low.
The better solution is likely to be a capacitor, Cc, connected in parallel with R2 (figure2). When R1∙Cx = R2∙Cc, the voltage divider is compensated and the impedance ratio is constant for all frequencies. There will be no phase shift or delay in the feedback network. :)
You can liken the feedback network to the compensated attenuator in a 10x oscilloscope probe (figure 3). It’s the same concept. A variable capacitor in the probe allows adjustment to make the two time constants equal. Note that the response of this scope probe does not ever appear unstable even when improperly adjusted. Why? Because it is not inside a feedback loop.
Just as one of the capacitors is made adjustable in a scope probe to fine-tune the compensation, you may also need to adjust the value of Cc in figure 2. The capacitance Cx may not be precisely known due to the uncertain effects of stray capacitance. Furthermore, you may want to tune the response of the circuit to meet your requirements with a little bit of overshoot for improved speed and bandwidth.
Last week I cited another common case of instability, an op amp with capacitive load. Again, this situation produces phase shift in the loop (delayed feedback) that is the root of the problem. This one is tricky because open-loop output resistance is internal to the op amp. We can’t connect a compensating capacitor across this resistor. In fact, it’s not really a resistor at all; it’s an equivalent output resistance of the op amp circuitry. So, next week, we’ll look at the capacitive load problem. I’ll also provide a link to a presentation with more detail on handling stability issues, so stay tuned.
Consider your last oscillating op amp. Can the problem be explained with delayed feedback?
Comments welcome and thanks for reading,
"The Signal" is a fantastic blog Bruce and each post a true gem. Keep them coming.
Have you considered publishing your series of posts in PDF format for reference off site?
Thanks, BigDogGuru (I've never addressed anyone that way). I will consider your suggestion. The mechanics would not be difficult as preparation is in MS-Word with the figures dropped it. I would need to go back a capture some minor tweaks. I always seem to find something to change when I see it in the blog format.
Thanks a lot for posting this awesome information. Quick question, can I apply my microphone to Vin with a lowpass filter on the side to the positive input? The reason I'm asking is because I tried applying to my preamp circuit ( I was getting very high oscillation from OPA2134) and now I'm not getting any signal out and I still have the oscillation :(
Ramin-- I see that Collin is assisting you on the forum so I'll let him respond. I think it's best to keep all the advice regarding your circuit in your forum thread. Thanks for reading. Bruce
The most interesting oscillating opamp problem I have had involved a 1GHz+ bandwidth current feedback with limited power supply rejection. Four such amplifiers in series formed a bandpass filter up to 160MHz with 120 times gain into a 50 ohm load. In this case the feedback path was via the power supplies and was cured with heavy filtering of the supplies to each amplifier.
Keep up the good work! PeppyKiwi
Good point. My primary experience is the the <50MHz range but, of course, all op amps need need good bypassing to avoid feedback through the power supplies. The issues are much trickier in your GHz range because good supply bypassing is harder to achieve. Circuit board trace inductance that would be unimportant in the MHz range can create significant impedance at a GHz. And the higher supply currents due to low impedance loads make good layout and bypassing technique crucial. Data sheets for these amplifiers often make recommendations and provide suggested layouts that are helpful.
Thanks for your comments-- Bruce.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.