Role of gain in amplifier's frequency compensation....

  • Thread starter Thread starter brainbaby
  • Start date Start date
  • Tags Tags
    Frequency Gain
Click For Summary
SUMMARY

The discussion centers on the role of open loop gain in amplifier frequency compensation, specifically addressing the misconception that closed loop gain should be altered instead. Participants clarify that while open loop gain is a constant value, it is crucial to ensure that the loop gain, which includes feedback, falls below unity before the phase shift approaches 180 degrees to prevent oscillation. The conversation emphasizes the importance of understanding loop gain as the product of amplifier gain and feedback gain, rather than solely focusing on open loop gain.

PREREQUISITES
  • Understanding of operational amplifier (op-amp) principles
  • Familiarity with feedback systems and their effects on stability
  • Knowledge of frequency compensation techniques
  • Basic grasp of phase shift and its impact on oscillation
NEXT STEPS
  • Study the Barkhausen Criterion for oscillation in feedback systems
  • Learn about dominant pole compensation methods in op-amps
  • Explore the concept of loop gain and its calculation in feedback circuits
  • Review TI's application notes on frequency compensation for operational amplifiers
USEFUL FOR

Electronics engineers, circuit designers, and students studying control systems or operational amplifier applications will benefit from this discussion, particularly those focused on amplifier stability and compensation techniques.

brainbaby
Messages
232
Reaction score
5
Hey guys please help me on this...

The text says that we have to alter the open loop gain in order to compensate an amplifier. The open loop gain should be reduced below unity before sufficient phase shift develop to cause oscillation in the amplifier at higher frequencies..

My question is why they tell to alter the open loop gain...rather it should be closed loop gain..because
i) Open loop gain(gain of op-amp without feedback) is constant..can’t be change.

ii) Though parasitic capacitance and inductance may be present in the internal circuitry of op-amp (which causes frequency dependent phase shift)….but they are also present outside as well like a capacitive load and RC filter(delay) formed by feedback resistance and input capacitance.

So we should alter the closed loop gain...shouldn't we?
 
Engineering news on Phys.org
The open loop gain is > 1 and the phase shift including the feedback is enough to cause feedback. No matter what amplitude losses are in the external feedback loop, it will then oscillate.

from https://en.wikipedia.org/wiki/Frequency_compensation:

A more precise statement of this is the following: An operational amplifier will oscillate at the frequency at which its open loop gain equals its closed loop gain if, at that frequency,

  1. The open loop gain of the amplifier is ≥ 1 and
  2. The difference between the phase of the open loop signal and phase response of the network creating the closed loop output = −180°. Mathematically,
ΦOL – ΦCLnet = −180°
 
  • Like
Likes   Reactions: brainbaby
meBigGuy said:
The open loop gain is > 1 and the phase shift including the feedback is enough to cause feedback.
meBigGuy said:
A more precise statement of this is the following: An operational amplifier will oscillate at the frequency at which its open loop gain equals its closed loop gain if, at that frequency,
So according to your explanation its more reasonable and correct to say that "it should be closed loop gain which is to be reduced lower than unity not the open loop gain"...because open loop gain is a constant value during the time of manufacture of op-amp and this value is very high...so in order to balance that value, negative feedback is applied...
and oscillation happens when that negative feedback changes to a positive feedback...so compensation is applied in the presence of a feedback...in other words preventing feedback to change from negative to positive.
 
brainbaby said:
The text says that we have to alter the open loop gain in order to compensate an amplifier. The open loop gain should be reduced below unity before sufficient phase shift develop to cause oscillation in the amplifier at higher frequencies..

You can quibble about these words. Changing the compensation is technically altering the open loop gain.
 
  • Like
Likes   Reactions: brainbaby
  1. See https://en.wikipedia.org/wiki/Frequency_compensation
  2. The purpose of compensation is to ensure that the open loop gain drops below unity before the phase shift gets too close to 180°

F3x600.jpg
 
  • Like
Likes   Reactions: brainbaby
Svein said:
  1. The purpose of compensation is to ensure that the open loop gain drops below unity before the phase shift gets too close to 180°

In the picture you are talking about dominant pole compensation method...I'll come to it later on but first I need to understand this...
Technically keeping my query simple ...I meant to say that why they tell to roll off the open loop gain…rather than it should be closed loop gain because oscillation develops when negative feedback is turning to positive at higher frequencies.. so feedback anyhow is necessary to cause oscillation..and when we talk about feedback we mean about close loop gain…then from where open loop gains comes into picture…??
 
http://www.ti.com/lit/ml/sloa077/sloa077.pdf

BTW, You are correct, that we need to talk loop gain, not open loop gain. I kept trying to convince myself that somehow it was about open loop gain, but obviously it isn't.
 
Last edited by a moderator:
  • Like
Likes   Reactions: brainbaby
meBigGuy said:
http://www.ti.com/lit/ml/sloa077/sloa077.pdf

BTW, You are correct, that we need to talk loop gain, not open loop gain. I kept trying to convince myself that somehow it was about open loop gain, but obviously it isn't.
Exactly bro...
 
Last edited by a moderator:
It is our goal to ensure stability of the closed-loop circuit for all feedback factors.
The most critical feedback factor is k=1 for a closed-loop gain of Acl=1 (0dB)
In principle, there are two basic methods to ensure stability:
(1) internal or (2) external frequency compensation.

Some opamps are available which are NOT internally compensated.
These units must be (a) externally compensated or (b) they are used for higher gain applications only (small feedback factor) where the phase shift does not touch the range of critical values.

However, most opamp units are internally compensated.
They have an open-loop response with a dominating low-frequency pole so that the gain function Aol=f(jw) approaches a first-order response within the active gain range (slope of -20dB/dec up to Aol=0dB).
In this case, the phase shift of the loop gain - caused by the open-loop response (assuming resistive feedback) - will not come too close to the critical value of -180deg.

Example: If the second pole of Aol is directly on the frequency axis (at Aol=0dB) the loop gain phase shift for 100% feedback (closed-loop gain Acl=1) will be approximately assume -(90+45)=-135 deg. Thus, we have a phase margin of PM=45deg.

Remark:
Aol:gain of the opamp with open loop (no feedback);
Loop gain: Gain of the complete loop (including feedback path) if it is assumed to be open.
 
  • Like
Likes   Reactions: brainbaby
  • #10
I guess I've been pretty sloppy in my thinking/definitions. When one says "open loop gain" one thinks of the amplifier's open loop gain, separate from the feedback path. But, that is not correct. You need to think of the SYSTEM's open loop gain, which is referred to as the loop gain.

You need to think differently about where the open loop gain is measured. If you break the loop at the end of the feedback network (where you would connect back to the input), that is the point where the SYSTEM gain must be less than 1 at 360 degrees. As LvW said, the loop gain is the amplifier gain times the feedback path gain. It is not the closed loop gain we are concerned with, but rather the SYSTEM open loop gain (called loop gain) including the amplifier and the feedback path.

I expect if you go back to the textbook you will see either that they are talking about a unity gain closed loop system, or they are measuring loop gain as amplifier gain times feedback gain.
 
  • Like
Likes   Reactions: brainbaby
  • #11
meBigGuy said:
It is not the closed loop gain we are concerned with, but rather the SYSTEM open loop gain (called loop gain) including the amplifier and the feedback path.
.

Yes - and in this context we remember the "Barkhausen Criterion" for oscillation (instability):
When a circuit with feedback oscillates the loop gain is LG(jw)=1 (0dB).
 
  • Like
Likes   Reactions: brainbaby
  • #12
meBigGuy said:
I expect if you go back to the textbook you will see either that they are talking about a unity gain closed loop system, or they are measuring loop gain as amplifier gain times feedback gain.
The text further says that ….
“The way to prevent oscillation is to ensure that the loop gain( open loop gain minus the feedback factor) falls below unity before phase shift reaches 180 degrees...”
Feedback factor..??
It is the feedback network gain...
What I think...
Open loop gain is the "uncontrolled gain" without feedback
and feedback gain is the "attenuation" that is provided to the open loop gain...ok
so if we take difference of these two we are left with a controlled gain i.e gain of the amplifier after feedback is applied...which is the loop gain.
Is this controlled gain is the SYSTEM gain which you are talking about...??
 
Last edited:
  • #13
LvW said:
Loop gain: Gain of the complete loop (including feedback path) if it is assumed to be open.

You seems to confuse me...
I agree to half of your statement i.e Loop gain is the gain of the complete loop (including feedback path)...
but why you have assumed it to be open...?
If we disconnect something that means that it has been eliminated from the system, similarly if we assume feedback path to be open then it means that the feedback network don't have any effect on the system.
 
  • #14
brainbaby said:
You seems to confuse me...
I agree to half of your statement i.e Loop gain is the gain of the complete loop (including feedback path)...
but why you have assumed it to be open...?
If we disconnect something that means that it has been eliminated from the system, similarly if we assume feedback path to be open then it means that the feedback network don't have any effect on the system.
There is always capacitive feedback due to package capacitance, wiring capacitance etc. These are in effect even if you do not have any deliberate feedback.
 
  • Like
Likes   Reactions: brainbaby
  • #15
There is no absolute need for the feedback path to be open other than it make measurement possible. It is the same gain (amplifier X feedback) whether the path is open or closed. If you look at the TI link I posted earlier, in figure 5.7 they show how the feedback loop is broken to calculate the loop gain.
http://www.ti.com/lit/ml/sloa077/sloa077.pdf
 
Last edited by a moderator:
  • #16
meBigGuy said:
There is no absolute need for the feedback path to be open other than it make measurement possible. It is the same gain (amplifier X feedback) whether the path is open or closed. If you look at the TI link I posted earlier, in figure 5.7 they show how the feedback loop is broken to calculate the loop gain.
http://www.ti.com/lit/ml/sloa077/sloa077.pdf
what do you say about post 12...
Am I going the right way...
 
Last edited by a moderator:
  • #17
Not quite going the right way. Try reading the TI note. The gain equations are shown in the beginning.

Fig 5-4 shows the amplfier gain (A) and the feedback gain (B). The closed loop gain is A/(1+AB) (equation 5-5) which reduces to 1/B when AB >> 1 (for example, an opamp has very large gain A midband). A*B is the loop gain.

Try to apply your concept to a feedback gain of 1 which yields a unity gain amplifier in an opamp circuit.

In a feedback controlled opamp circuit the overall closed loop gain is totally controlled by the feedback gain (1/B), independent of the opamp component's gain (A). That's why we use feedback, to make the overall system gain independent of the opamp internal gain. (independent of compensation issues)
 
  • Like
Likes   Reactions: brainbaby
  • #18
brainbaby said:
You seems to confuse me...
I agree to half of your statement i.e Loop gain is the gain of the complete loop (including feedback path)...
but why you have assumed it to be open...?
If we disconnect something that means that it has been eliminated from the system, similarly if we assume feedback path to be open then it means that the feedback network don't have any effect on the system.

You are asking why we open the loop?
Simple answer: For injecting a test signal in order to be able to calculate, measure or simulate the loop gain.
For defining a gain I need an input and an output. Hence, the loop must be opened.
This is the classical procedure described in many articles because the opening can cause some problems:
We must ensure that
* the loading at the opening remains about the same , and
* the DC operating point is restored.
For this opening of the loop different procedures are described (the most universal was invented by Middlebrook).
If needed, I can give you several references.
 
Last edited:
  • #19
meBigGuy said:
Not quite going the right way.
It seems that we are getting little deviated from the topic...
The main source of my query was two conflicting definition of compensation written in the textbook..please refer the attachment...
First definition.
"The compensation of the amplifier is the tailoring of the open loop gain....."
Second definition.
“The way to prevent this (oscillation) is to ensure that the loop gain( open loop gain minus the feedback factor) falls below unity before phase shift reaches 180 degrees"

How come at the same time compensation is about open as well as closed loop gain..??
This is the source of my confusion...
 

Attachments

  • Screen Shot 2016-02-04 at 6.02.44 pm.png
    Screen Shot 2016-02-04 at 6.02.44 pm.png
    72.7 KB · Views: 588
Last edited:
  • #20
brainbaby said:
It seems that we are getting little deviated from the topic...
The main source of my query was two conflicting definition of compensation written in the textbook..please refer the attachment...
First definition.
"The compensation of the amplifier is the tailoring of the open loop gain....."
Second definition.
“The way to prevent this (oscillation) is to ensure that the loop gain( open loop gain minus the feedback factor) falls below unity before phase shift reaches 180 degrees"
How come at the same time compensation is about open as well as closed loop gain..??
This is the source of my confusion...
* At first, what is the meaning of your last sentence (..."closed loop gain"...) ?
I cannot find any mentioning of the "closed loop gain" in both definitions.
* Secondly, who told you that the loop gain would be "open loop gain minus the feedback factor" ?
The loop gain L(s) is nothing else than the product "open-loop gain x feedback factor ß": (L(s)=Aol(s)*ß)
* Therefore, both "definitions" are telling you the same: Tailoring the open-loop gain Aol(s) will at the same time tailor the loop gain L(s).

EDIT: Only now I have seen the enclosure (excerpt from a book).
There is a typing error.
As I wrote, the loop gain is L(s)=Aol(s)*ß=Aol/(1/ß) >> in dB: Aol(s)db-(1/ß)db.
Therefore (in words): The loop gain L(s) is "open-loop gain (in dB) minus inverse feedback factor (in dB)".
I think, this can clarify your confusion.
 
Last edited:
  • #22
Jony130 said:
Try carefully read and analyze this
http://www.allaboutcircuits.com/technical-articles/negative-feedback-part-4-introduction-to-stability/
After many days of research on the topic I found that I was confusing my self with loop gain and closed loop gain..."so it was the loop gain which should be take into consideration"...
Thanks guys especially Jony130 for a very useful article (above) which you have provided me...But there is some text in the article to which I partially agree... The text is as follows:-
"If is less than unity, the signals will be gradually attenuated into insignificance despite the fact that they are reinforcing each other at the input"

If the open loop gain (A) depends upon the difference of the signal at the input, loop gain depends upon A since loop gain = , thus its clear that loop gain also depends upon the difference of the signal at the input..so how can we say that signals will be attenuated despite they reinforce each other at input..??
 
  • #23
In case the loop gain is already less than unity at the critical frequency (where the additional phase shift reaches a value of -180deg) the closed-loop will be stable.
That means: The input signal and the feedback signal "reinforce" each other - however, this reinforcement is not strong enough to cause self-excitement (oscillation).
Remember the closed-loop gain Acl=A/(1+Aβ) >>>> for 180deg phase shift: Acl=A/(1-||)
If Aβ=1 we have self-excitement (denominator approaches zero). Hence, the loop gain Aβ must be less than unity.

 
Last edited:
  • Like
Likes   Reactions: brainbaby
  • #24
LvW said:
this reinforcement is not strong enough to cause self-excitement (oscillation).
what do you mean by that the reinforcement is not strong...do you mean that the difference at the input is decreasing with every cycle...or something like that...

but reinforcement itself means that the input difference is becoming larger...so weak reinforcement is not making sense to me right now...
 
  • #25
brainbaby said:
what do you mean by that the reinforcement is not strong...do you mean that the difference at the input is decreasing with every cycle...or something like that...
but reinforcement itself means that the input difference is becoming larger...so weak reinforcement is not making sense to me right now...

When we speak about stabiliy it is the LOOP GAIN which matters only. That is the total gain around the loop.
Let`s assume we have a gain block with A=10 and a feedback network with an attenuation (feedback factor) of k=1/12.
In this case, no self-excitement is possible because there is no amplification factor larger than unity within the loop (loop gain=10/12<1).
However, for k=1/9 we have a loop gain of 10/9>1 which means: Any increase of the amplifiers output voltage will be attenuated on his way back to the input only by a factor of 1/9 and the amplified again by a gain factor of 10. Therefore, the output signal grows larger and larger (self-excitement).
In contrary, for k=1/12 the gain of 10 cannot compensdate the loss in the feeedback path and, therefore, the signal cannot further rise. In contrary - it will die out.
I hope, I was able to express myself clear enough.

Comment: As far as the term "weak reinforcement" is concerned the meaning is as follows:
Slight positive feedback (in the above example: k=1/12) will increase the total gain to a larger value (example: Acl=10/(1-10/12)=60), but the circuit will remain stable.
 
Last edited:
  • Like
Likes   Reactions: brainbaby
  • #26
LvW said:
I hope, I was able to express myself clear enough.

Your last answer was quite impressive...hence I tried to illustrate it numerically...
My inference from my calculation..

For both cases when loop gain>1 and loop gain<1...Vout seems to be increasing...
In case first->
Vout raises from 2V to 4.2 V and in second case..
Vout raises from 2V to 3.6 V...hence in both the cases Vout is increasing that is against your inference which is for loop gain>1, Vout increases and for loop gain<1, Vout should decrease...

So please tell now where I am wrong...!
Screen Shot 2016-02-10 at 6.22.41 pm.png
 
  • #27
I only will comment case 2 (because the same method can be applied for case 1):
You have calculated the "first round trip" of the signals. As you can see, the output signal has increased from 2V to 3.6V.
This can be continued to further trips.
Finally you will arrive at a stable point, where no further increase will take place because we have an equilibrium between input and output.
This equilibrium is reached for:
Vin=0.2V
Vout=12V
Vfeedback=12/12=1v
V(amplifier,in)=0.2+1=1.2V
Vout=1.2*10=12V.
Result: 12/0.2=60
(the closed-loop gain is Acl=60 > A=10).

Formula: Acl=A/(1-A*k)=10/(1-0.8333)=60
 
  • Like
Likes   Reactions: brainbaby
  • #28
LvW said:
I only will comment case 2 (because the same method can be applied for case 1):
But same thing would happen to case 1 also ..but at a more faster rate...so what difference would it make..??
 
  • #29
brainbaby said:
But same thing would happen to case 1 also ..but at a more faster rate...so what difference would it make..??
Yes - at a faster rate, but you will not find such an equilibrium as in case 2 (input after addition x gain=output).
Try it.
 
  • Like
Likes   Reactions: brainbaby
  • #30
To see how signal decrease for Aβ < 1 apply a input signal only for one loop "revolution".
For example for Case 2 we have:
We have Vin = 0.2 and Vf = 0.16. But now Vin = 0 so we have Vf = 0 + 0.16 = 0.16 and Vf'1 = 0.13-->Vf'2--->0.11-->Vf'3-->0.09 and so on.
Because now you need more than 60 iterations to get to the stable point at Vin =1.2 and Vout = 20.
And for Case 1 the stable point do not exist.
http://wps.prenhall.com/chet_paynter_introduct_6/0,5779,426330-,00.html
 
  • Like
Likes   Reactions: brainbaby

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
2K
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 34 ·
2
Replies
34
Views
6K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
26
Views
7K