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

  • Thread starter Thread starter brainbaby
  • Start date Start date
  • Tags Tags
    Frequency Gain
Click For Summary
The discussion centers on the role of open loop gain versus closed loop gain in amplifier frequency compensation. It emphasizes that altering the open loop gain is crucial to prevent oscillation, as it must drop below unity before the phase shift approaches 180 degrees. Participants clarify that while open loop gain is constant, the focus should be on loop gain, which includes both the amplifier's gain and the feedback path. The conversation highlights the importance of understanding that stability is achieved by ensuring the system's loop gain remains less than one at critical frequencies. Ultimately, effective compensation strategies are necessary to maintain stability in feedback systems.
  • #31
Certainly I got the idea but my results aren't up-to the expected value..

Equilibrium means that the output stops increasing and the output is constant with constant input...ok
@LvW
According to you the equilibrium point is when Vin = 1.21 V but after that you can see in the table that Vout is constantly increasing ...however according to theory it should become constant making the input constant...So where is the equilibrium point ??
@JONY
From the table you can see that as Vin is decreasing.., so after 60 iterations the value of Vin will be very meagre ...but your stable point is at 1.2 V ..i.e at a higher Vin...
So what is this anomaly and where is the stable point??
and one more thing... at Vin=1.2V your Vout is 20V and mine is 12V how exactly??
Screen Shot 2016-02-11 at 4.07.17 pm.png
 
Last edited:
Engineering news on Phys.org
  • #32
Brainbaby - I am afraid, it is not easy to answer.
Let me try: You have startet this "step-by-step" approach in your post#26 - and I was following this approach (this way to explain what happens) in my reply.
However, let me say, that it is somewhat questionable if we are allowed to apply this "circling within a loop" procedure.
I know that there are general analyses for feedback systems which show that such a "deterministic" view is not allowed because - in reality - there is no signal which is circling n-times through such a loop.
Nevertheless, we have startet this (simplified) view - and the only answer I can now give is:
In your table, you have listed some discrete events (voltages) which are assumed to be existent at some discrete times.
But this is not the case.
Instead, we must assume a time-continuous process.
And anywhen during this process of increasing output voltage we arrive at a point, where we have an "equilibrium" (that means: Output voltage=Input voltage x gain).
In my post#27 I have given the corresponding final value: Vout=12V .
When this condition is reached the gain expression is "fulfilled" and there is no reason for a further increase of the output voltage.
That`s all I can say.
Again: It is a simplified view, which cannot explain all the effects to be observed.
But it can, perhaps, give a rough picture what is happening and why.
 
Last edited:
  • Like
Likes brainbaby
  • #33
brainbaby said:
From the table you can see that as Vin is decreasing.., so after 60 iterations the value of Vin will be very meagre ...but your stable point is at 1.2 V ..i.e at a higher Vin...
So what is this anomaly and where is the stable point??
You must have misunderstand my post or my last post was not clear for you. For the circuit with Aol = 10, β = 1/12 and Vin = 0.2V the steady state is reach as show by LvW at Vout = 12V and Vin + Vf = 1.2V (Vin is still equal to 0.2V). So the circuit with Aol*β<1 is stable.
To confirm this we can try different method. Let as apply Vin only for ONE iteration (a brief trigger signal) to see what will happens.
Vin'1 = 0.2V Vout'1 = 2V
Vin'2 = 0.16V Vout'2 = 1.6V
Vin'3 = 0.13V Vout'3 = 1.3V
Vin'4 = 0.11V Vout'4 = 1.1V
Vin'5 = 0.09V Vout'5 = 0.9V
Vin'6 = 0.08V Vout'6 = 0.8V
Vin'7 = 0.067 Vout'7 = 0.67V
Vin'8 = 0.055V Vout'8 = 0.55V
Vin'9 = 0.046V Vout'9 = 0.46V
Vin'10 = 0.038V Vout'10 = 0.38V
As you can see Vout will decay to zero. And this is why the amp is stable if Aol*β<1.

Know let as try the same think for case when Aol*β>1 and the the phase shift is 0°(positive feedback). So know we have Aol = 10, β = 1/9 and again as before let as apply a short trigger pulse to the input (first iteration).
Vin'1 = 0.2V Vout'1 = 2V
Vin'2 = 0.22V Vout'2 = 2.2V
Vin'3 = 0.24V Vout'3 = 2.4V
Vin'4 = 0.27V Vout'4 = 2.7V
Vin'5 = 0.3V Vout'5 = 3V
As you can see even without input signal output voltage keeps rising. And this is why our amp is unstable.

18fig2.gif


brainbaby said:
but after that you can see in the table that Vout is constantly increasing ...however according to theory it should become constant making the input constant
You must have a error in your iteration
 

Attachments

  • Like
Likes brainbaby
  • #34
Yeah exactly this I was expecting...thanks for it!
Yes now I understood the meaning of the word equilibrium which LvW mentioned about..it means that when loop gain<1 stability is said to be achieved because at a certain Vin the result is gain times Vout, which is equal to the closed loop gain which signifies that the maximum amplification that a system can attain when loop gain<1 is equal to the closed loop gain...however when loop gain>1 it means that Vout does not depends on neither A nor β...thats why the relation Acl=A/(1-A*k) doesn't hold true...

However what I am being wondering since the beginning of our discussion was that...as it seems very easy to accept that the product of A and β decides the stability of the system...which is though mathematically correct to infer...but it doesn't provide any intuitive insight to our discussion...like when the open loop gain (A) combines with β=1/12..the system got stabilised and when it combines with β=1/9 the system is unstable...so as we see that the difference between the two beta values is very trivial but it bring such a drastic stability change in the system..so what is this magic...as on superficial terms they look only numbers.
 
  • #35
brainbaby said:
...it means that when loop gain<1 stability is said to be achieved because at a certain Vin the result is gain times Vout,.
I suppose you mean: ...Vout is the result of gain times Vin...

brainbaby said:
...however when loop gain>1 it means that Vout does not depends on neither A nor β...thats why the relation Acl=A/(1-A*k) doesn't hold true...
Not quite right... Vout still depends on A*k>1 - however, Vout is continuously rising (and the slope of this rising is prop. to A*k) until the voltage is clipped due to a finite supply voltage; hence, we cannot speak anymore of "gain" because the amplifier has left its linear region.

brainbaby said:
However what I am being wondering since the beginning of our discussion was that...as it seems very easy to accept that the product of A and β decides the stability of the system...which is though mathematically correct to infer...but it doesn't provide any intuitive insight to our discussion...
Perhaps the following helps:
Keep in mind that we have a so-called "oscillation condition" (given first by H. Barkhausen in the 1930th). This condition is A*k=1, and it constitutes a threshold between the two cases: stable and unstable (A*k<1 stable, A*k>1 unstable).
Another formulation is: A*k<0 neg. feedback; 0<A*k<1 stable pos. feedback; A*k>1 unstable pos. feedback.

brainbaby said:
...so as we see that the difference between the two beta values is very trivial but it bring such a drastic stability change in the system..so what is this magic...as on superficial terms they look only numbers.
Yes - correct. This effect is due to the above mentioned threshold A*k=1.

Visualation: A second-order closed-loop system has a pole pair in the complex s-plane.
* A*k<1: poles are in the left half of the s-plane (real part "sigma" negative) and the oscillation amplitude dies out continuously (system is stable)
* A*k>1: poles are in the right half of the s-plane (real part sigma" positive ) and the oscillation amplitude is rising continuously (system is unstable)

Finally: In the time domain, the real part of the pole ("sigma") appears as exp(sigma*t) which causes rising or falling amplitudes (depending on the sign).
 
Last edited:
  • #36
But this subject is intuitive.
Let us examine this case (points A and B are not connected)
OzA.png

At the beginning we apply input signal (1V) to the input of our inverting amplifier with gain equal to Aol = -29V/V.
The output voltage is of-course equal to Vout = Vin * -Aol = -29V, and we have 180° phase shift between Vin and Vout.

And now, if we add a feedback network which reduces the output signal the the level of the input signal (β = 1/29) and introduces another 180° voltage shift. We will have voltage at point B equal in amplitude and in phase to the input voltage. So now if we disconnect Vin and connect point A with point B we can hope that the circuit will start the oscillations at the frequency where these two conditions (amplitude and phase) are satisfied (Aol*β = 1 at Fo = √6/(2* pi *R*C)).
But if Aol*β < 1 but we meet the phase condition. The circuit will not oscillate because we don't have enough gain in our loop (voltage at point B is smaller than Vin).
And for Aol*β > 1 and phase are identical ( 0° phase shift between Vin and voltage at point B), the circuit will also start the osculation because now we have more gain then we need (Voltage at point B is larger than Vin.). Do you get it ?
 
  • #37
Jony130 said:
And for Aol*β > 1 and phase are identical ( 0° phase shift between Vin and voltage at point B), the circuit will also start the osculation because now we have more gain then we need (Voltage at point B is larger than Vin.). Do you get it ?

Yes - I support this view.
Just a short comment: ...will start the oscillation - however, with continuous rising amplitudes until clipping occurs (hard limiting), unless there is another soft-limiting device within the loop (diodes or amplitude-controlled resistors,...).
 
  • #38
Jony130 said:
we don't have enough gain in our loop (voltage at point B is smaller than Vin).

You have given me a new intuitive insight of the loop gain...I appreciate it...
Loop gain can be thought as Vf/Vin...and that solves all the problem...
So all deal is the loop gain ...if Vin is applied only for one iteration and then the system is realized we found that when loop gain<1 , Vout is attenuated by β and since now Vf is less than Vin, it can be thought of as for the next iteration Vin lowers and hence again this lowered Vin is further attenuated by β network and on and one the cycle perpetuates and the system got stabilised...vice versa when loop gain >1...

Last two questions...

From the beginning you have considered Vin for only one iteration...What would be your explanation when initial Vin is applied for multiple iterations...?
and
This question is somewhat not exactly of scientific temperament...but as we know that multiplication is also a form of addition...i.e its a repetitive addition ...for e.g
4*3=12...
if 4 is added 3 times it leads to 12 ...or if 3 is added 4 times it also leads to 12...
so what difference would if make if loop gain instead of being product of A and B would be the addition of A and B...??
I know it sounds so weird...but its the byproduct of my curiosity...
 
  • #39
brainbaby said:
From the beginning you have considered Vin for only one iteration...What would be your explanation when initial Vin is applied for multiple iterations...?
and
Because this case (only one iteration) is much more easier to understand and to analysis for our brain.
brainbaby said:
so what difference would if make if loop gain instead of being product of A and B would be the addition of A and B
10 * 1/12 = 0.83
10+1/12 = 10.083
 
  • #40
thanks.jpeg
Jony and LvW...
 
  • #41
Once you have got that intuitive 'feel' for it

it lends new meaning to the old adage

closed loop transfer function = G/(1+GH)

even for the simplest closed loop, taking the case of Mother Nature's favorite shape sinewaves
upload_2016-2-14_10-35-1.png


out = in X 1/(1+1)
out/in = 0.5

Now add delay equal to 180 degrees phase shift at some frequency
180 degrees is just reversing the sign of a sinewave
so what was negative feedback became positive, that is GH became -1
so denominator of G/(1+GH) changes from sum to difference
transfer function becoming G/(1-GH)
out = in X 1/(1-1)
out/in = 1/0
AHA we can have output with zero input !

You saw that in grade school when the PA microphone got just the right distance from speaker to make that awful 'whistle'
that's the distance at which speed of sound over distance from speaker to mic gives delay equal to 180 degrees at the whistle frequency . The immediate fix is to turn down volume reducing loop gain GH below 1.
(New DSP PA systems detect oscillation and change their own settings. I looked for Behringer's specsheet but only found sales stuff from 3rd parties)

Any system in nature , including systems made by man, will find that frequency if one exists. It'll try to enter a state of sine wave oscillation but might shake itself apart first..
hope i wasnt overly redundant..
That little thought experiment locked in the concept for me. I need all the memory aids i can get

old jim
 
  • Like
Likes brainbaby
  • #42
jim hardy said:
hope i wasnt overly redundant..
absolutely not Jim...
 
  • #43
LvW said:
Vout still depends on A*k>1 - however, Vout is continuously rising (and the slope of this rising is prop. to A*k) until the voltage is clipped due to a finite supply voltage; hence, we cannot speak anymore of "gain" because the amplifier has left its linear region.
Can you provide me that curve where the slope of rising Vout is prop to loop gain..?? I couldn't google it..
 
  • #44
brainbaby said:
Can you provide me that curve where the slope of rising Vout is prop to loop gain..?? I couldn't google it..
Here you have
11a.PNG
 
  • Like
Likes brainbaby
  • #45
No - I don`t know if such a curve even does exist. However - why not trying by yourself?
Simulate a simple oscillator circuit (example: WIEN type) for different loop gains (1.1, 1.2,...) and observe the slope of the rising oscillation sgnal.

(Jony130 was quicker by some seconds, congratulations).)
 
  • Like
Likes brainbaby
  • #46
LvW said:
(Jony130 was quicker by some seconds, congratulations).)

Jony might be celebrating the victory...:smile:

41839473-drunken-pirate-holding-mug-of-beer.jpg
 
  • #47
brainbaby said:
Can you provide me that curve where the slope of rising Vout is prop to loop gain..?? I couldn't google it..

Hi brainbaby - perhaps the following is interesting for you:
The loop gain is a function in the frequency domain and the slope of the rising oscillation amplitde can be observed in the time domain.
Hence, we need a "connection" of both domains.
This connection does exist in form of the closed-loop poles.
During the starting phase with rising amplitudes the poles of the closed-loop circuit are located in the right half of the s-plane (pos. real part σ).
Because these poles are the solutions of the characteristic equation they also appear as part of the solutions in the time domain.

That means: The oscillation is described by the expression:
Vout(t)=A*exp(s*t)=A*exp(σ+jω)t=A*exp(σt) * exp(jωt)
The first part describes the amplitude (rising for σ>0) and the second part is the sinewave.

As you can see, the pole location (better: The real part of the pole) determines the exponential function which describes the rising amplitudes.
It is the purpose of a nonlinear element in an oscillator to lower the loop gain for large amplitudes and to shift the poles back to the left half of the s-plane (σ<0) withthe consequence of decreasing amplitudes. As a result - the poles will swing between the left and right hallfs of the s-plane - and the amplitude will not be constant but periodically get a bit larger and smaller.
 
  • Like
Likes brainbaby
  • #48
LvW said:
Hi brainbaby - perhaps the following is interesting for you:
The loop gain is a function in the frequency domain and the slope of the rising oscillation amplitde can be observed in the time domain.
Hence, we need a "connection" of both domains...
...This connection does exist in form of the closed-loop poles.
I'll certainly try to digest your text...but anyway for now your input is required in my following thread...

https://www.physicsforums.com/threa...n-dominant-pole-compensation-strategy.857590/

thanks...!
 

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
5K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
26
Views
6K