Jump to content
Electronics-Lab.com Community

opamp phase compensation


Kevin Weddle

Recommended Posts


Hi Kevin,
What is a phase compensation capacitor at an opamp's inputs?
I have seen a capacitor added between inputs to stop the input transistors from rectifying a strong nearby radio signal.

Most opamps have a built-in phase compensation capacitor.
Because an opamp has a very high open-loop voltage gain of about 200,000 and a lot of transistors, its phase-shift exceeds 180 degrees at very high frequencies that would cause it to oscillate when negative feedback is applied. So the internal phase compensation capacitor is added to reduce the open-loop gain to below 1 at the frequency when the circuit's phase-shift becomes excessive. Then it can't oscillate.

An old 741 opamp has its internal phase compensation capacitor selected to reduce its open-loop gain to 1 at 1MHz. It is just a single RC network (90 degrees max phase shift) so the max gain at 100kHz is 10, the max gain at 1kHz is 1000 and the max gain at 10Hz is 100,000. Negative feedback can be applied with two resistors to make any smaller amount of gain you want, below these frequency/gain limits.

The input resistance of an opamp is very high. So very little current is needed in the negative feedback resistors' voltage divider. The output transistors are complimentary emitter-followers that can drive about 20mA max into a load.

Link to comment
Share on other sites

I have no idea why you would want to short the high frequencies of the input signal to ground with a capacitor. Maybe the pcb is layed out with the input and output side-by-side causing capacitive coupling of high frequencies causing oscillation. Then a capacitor at the input shorts the high frequencies to ground at the input to prevent oscillation.

You forgot to attach the circuit you are talking about. Inverting or non-inverting?
You forgot to tell us which opamp you are using.
You forgot to tell us what frequency is the signal. Old opamps don't work at high frequencies.
You forgot to tell us the amount of closed loop gain you want.
You forgot to tell us what is the max p-p output amplitude required at the high frequency.

Maybe the opamp you selected doesn't have a good enough high frequency response for your high frequency.
Maybe the opamp you selected has a slew rate that is too low for your high frequency and the required output amplitude.

The output of an old 741 opmp can slew to an output of 28Vp-p up to a frequency of only 9kHz. Above 9kHz its max p-p output amplitude is less.
The max frequency that an old 741 opamp can produce with a gain of 1000 is only 1kHz.
The max amount of gain from an old 741 opamp at 1MHz is only 1.

Link to comment
Share on other sites

Maybe I'm off, but I think your saying the cap is there for prevention, should a high frequency occurance trigger an oscillation. Though my book suggests that it's also used to extend the 20db/decade open loop rolloff, which is more stable than the 40db/decade rolloff found as you increase the frequency. The 20db/decade bandwidth is widened by the cap.

Link to comment
Share on other sites

I don't know which circuit and i don't know which opamp you are talking about.
Fully compensated opamps (a few are not fully compensated) are made with built-in frequency compensation that has 20dB/decade rolloff so that their gain is below 1 when their internal phase-shift would cause oscillation when negative feedback is used if the gain was higher.

A fully compensated opamp still has overshoot and ringing on sharp transitions especially if it has a small capacitor load. Is that what you are talking about, having a capacitor added to the input to make it more stable?
A lead compensation capacitor can be added in parallel to the negative feedback resistor to also make an opamp more stable:

post-1706-14279143193352_thumb.png

Link to comment
Share on other sites

... if I'm applying a high frequency that may cause excessive phase shift...


Applying a high frequency signal to an opamp circuit doesn't change the circuits phase shift. Opamp "compensation circuits" change/alter the gain/bandwidth of the circuit and is fixed... the poles and zeros that the compensation circuit introduces don't move around just because you change the frequency of the input signal.

The transfer function of Audioguru's circuit is

post-14697-14279143194391_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...