The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design >> Analog Design >> Bode Diagram of Conditionally Stable System
https://designers-guide.org/forum/YaBB.pl?num=1190272820

Message started by pancho_hideboo on Sep 20th, 2007, 12:20am

Title: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Sep 20th, 2007, 12:20am

Hi.

See attached figures. These are Bode Diagram and Nyquist Diagram of conditionally stable system.

In Bode  Diagram, Phase Margin at gain crossing point(green point) is positive.
So as far as seeing phase margin, this system is stable.
On the other hand, phase is across -180deg at red, yellow and blue points.
Although gain is smaller than 0dB at blue point, but  gain is larger than 0dB between red and yellow points.
I understand this system is stable at blue point.
But why is this system stable between  red and yellow point ?

While in Nyquist Diagram, locus doesn't enclose a point of -1+j0, so we could conclude this system is stable.
Also a root locus shows this system is stable.

In general the system which gain is larger than 0dB at phase crossing point(-180deg) could be unstable.

How should I interpret this bode diagram ?  :-/


Title: Re: Bode Diagram of Conditionally Stable System
Post by sheldon on Sep 21st, 2007, 6:44am

Pancho,

  It has been a while but I think that the actual condition for stability is something
like a slope of 20dB/dec at unity gain. If the phase crosses through -180 degrees
at gains higher than 1, the system can't oscillate. In addition, I think that is also
a requirement that the slope requirement also applies at each multiple of -180
degrees of phase shift. Let me dig around and see if I can find a good reference.

                                                                         Best Regards,

                                                                            Sheldon

Title: Re: Bode Diagram of Conditionally Stable System
Post by monte78 on Sep 24th, 2007, 7:35am

Hi,

I think you can take a look to this discussion:

http://www.designers-guide.org/Forum/YaBB.pl?num=1182388268

Nyquist criteria is the correct way to determine if the system is stable.

Best Regards,

Monte


pancho_hideboo wrote on Sep 20th, 2007, 12:20am:
Hi.

See attached figures. These are Bode Diagram and Nyquist Diagram of conditionally stable system.

In Bode  Diagram, Phase Margin at gain crossing point(green point) is positive.
So as far as seeing phase margin, this system is stable.
On the other hand, phase is across -180deg at red, yellow and blue points.
Although gain is smaller than 0dB at blue point, but  gain is larger than 0dB between red and yellow points.
I understand this system is stable at blue point.
But why is this system stable between  red and yellow point ?

While in Nyquist Diagram, locus doesn't enclose a point of -1+j0, so we could conclude this system is stable.
Also a root locus shows this system is stable.

In general the system which gain is larger than 0dB at phase crossing point(-180deg) could be unstable.

How should I interpret this bode diagram ?  :-/


Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Sep 24th, 2007, 8:42am

Hi, Monte.

Thanks for append.

But my question is not resolved.

Conditionally stable system(also called as Nyquist stable sytem) is stable as far as system is not nonlinear.
This can be also showed by root locus method.
But a positive feedback is formed at red and yellow points with larger than 0dB gain.
Why is a system stable ?

Title: Re: Bode Diagram of Conditionally Stable System
Post by tosei on Oct 3rd, 2007, 2:12pm

Hi,

Bode stability criterion cannot be applied in two particular cases (the hypotheses for stating such criteria are violated in cases 1 and 2):

1) If the open loop gain is unstable: that means it has at least one right-hand plane pole
2) If the open loop frequency response has more than one critical frequency, where the critical frequency is the one at which the phase is -180 degrees.

Both must be analyzed by means of the Nyquist criteria, as it was suggested before

The case you are showing corresponds to #2 where Bode stability criterion cannot be applied.

Regards
tosei

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Oct 5th, 2007, 7:19am

Hi, tosei.

Result of nyquist criteria is no more than result which shows a system is conditionally stable.

My question is why a system can be stable even though a positive feedback is formed at red and yellow points with larger than 0dB gain.

I would like to get some clear reason or explanation why a system can be stable.

Title: Re: Bode Diagram of Conditionally Stable System
Post by aaron_do on Apr 29th, 2009, 8:30am

Hi pancho_hideboo,


did you ever figure out the answer to this question? I happened across this post and it peaked my curiosity. The furthest I can get is that the closed-loop response has no right-hand-plane poles, but I realize that this is not really the kind of intuitive answer that you are looking for. I would really like to know the answer too.


thanks,
Aaron


Title: Re: Bode Diagram of Conditionally Stable System
Post by wave on Apr 29th, 2009, 7:24pm

Let me ask questions to approach the answer.

Is that "gain" your:
  open loop gain
  'loop gain', or
  closed loop gain ?

---What is your feedback factor?    (see Return Ratio discussions)
If FBF takes you to the phase inflection you are definitely in trouble.

If it is a unity gain config, you may be OK.
Interesting to ponder.   :-?

Title: Re: Bode Diagram of Conditionally Stable System
Post by aaron_do on Apr 29th, 2009, 7:44pm

Its not my diagram, but that should be the loop gain, so feedback factor is already taken into account. The system is stable, the question is simply, "why is it stable if the overall feedback is positive and the gain is more than unity at certain frequencies?"...


Aaron

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Apr 29th, 2009, 8:25pm


wave wrote on Apr 29th, 2009, 7:24pm:
Is that "gain" your:
  open loop gain
  'loop gain', or
  closed loop gain ?
Of course, This is Open Loop Gain.


wave wrote on Apr 29th, 2009, 7:24pm:
If FBF takes you to the phase inflection you are definitely in trouble.
I can't understand what you mean.

This Bode Diagaram and Nyquist Diagram are very typical example of conditionally stable system which we often see in common control therory text book.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Apr 30th, 2009, 6:49am


aaron_do wrote on Apr 29th, 2009, 8:30am:
Hi pancho_hideboo, did you ever figure out the answer to this question?
I still don't have any explanation which I can be enough satisfied with. :-/

However the following is a little related to this conditionally stable system.
http://www.designers-guide.org/Forum/YaBB.pl?num=1234428781/7#7

Title: Re: Bode Diagram of Conditionally Stable System
Post by wave on Apr 30th, 2009, 4:01pm


pancho_hideboo wrote on Sep 20th, 2007, 12:20am:
Hi.

But why is this system stable between  red and yellow point ?

How should I interpret this bode diagram ?  :-/


Pancho - for your specific Q, the operating point are the conditions of In-stability.  Depending on your gain configuration (FeedBack Factor), will determine where you are operating.  G-BW is constant, but you have to pick which gain to avoid that BW region.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on Apr 30th, 2009, 7:20pm


wave wrote on Apr 30th, 2009, 4:01pm:
Pancho - for your specific Q, the operating point are the conditions of In-stability.
This sytem is stable. And we can't define Q.


wave wrote on Apr 30th, 2009, 4:01pm:
Depending on your gain configuration (FeedBack Factor), will determine where you are operating.
G-BW is constant, but you have to pick which gain to avoid that BW region.
???
FeedBack Factor is 1.
Do you understand a concept of "conditionally stable system" ?

Title: Re: Bode Diagram of Conditionally Stable System
Post by ndnger on May 9th, 2009, 10:18pm

here's my thought,

If you have an input signal at the red dot frequency, it will get amplified and then add to the input after going through the loop. In an ideal system, this will cause the input and output to rise indefinitely. However, in a real system, the system will enter its non-linear region where the gain at the red dot frequency will start to decrease to the point where it becomes zero (i.e., it latches). If you exclude latching up from being unstable then the system is stable but latch-able!

I'm not an expert in control theory so I'd really like if someone can simulate this kind of system in cadence or matlab and see what actually happens.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on May 9th, 2009, 11:10pm


ndnger wrote on May 9th, 2009, 10:18pm:
If you have an input signal at the red dot frequency, it will get amplified and then add to the input after going through the loop.
In an ideal system, this will cause the input and output to rise indefinitely.
Not correct.
From nyquist criteria, there is no pole in RHP(Right Half Plane) for closed loop transfer function.

Title: Re: Bode Diagram of Conditionally Stable System
Post by ndnger on May 10th, 2009, 1:04am

I agree, my logic is flawed. I guess because that kind of treatment gives correct result for some cases only but is not fundamentally valid for all cases.

But what is fundamentally true is that the closed loop response is given by A/(1+A*beta). At the red dot frequency A is given by -k where k is positive and mod(k) >> 1. Hence the output becomes -k/(1-k) times Vin(s), for beta = 1. Since k is positive and k>1, both num and denom. of this expression are negative, hence Vo(s) = positive qty times Vin (s). Also mod(-k/(1-k)) > 1, since mod(1-k) < mod(k). Hence the error term which is input to the amplifier is a negative qty given by 1/(1-k) times Vin(s). All these quantities, i.e., input, error term, and output are bounded and the system has well defined, stable ouputs at this frequency and hence it wouldn't oscillate or latch.

Coming back to your question, of why does positive feedback not result in oscillation. So, at this particular frequency, error term becomes negative which going through the amplifier and the negation stays negative because of overall positive f/b. However input is positive and so it wouldn't add to the i/p, rather subtracts and since output is larger in magnitude, the error term stays negative.

Here's a simple example case: Suppose amp gain = -10 at the red dot frequency. Then Vo = -10/(1-10) = 10/9 of Vin.

Verr = Vin - Vo = Vin - (10/9)Vin = (-1/9)Vin, which after going through the amp becomes (10/9)Vin as above.

This analysis is general and will always be correct. Nyquist criteria is a shortcut for stability analysis and when the open loop transfer fn is not readily available.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on May 10th, 2009, 2:07am


ndnger wrote on May 10th, 2009, 1:04am:
But what is fundamentally true is that the closed loop response is given by A/(1+A*beta).
At the red dot frequency A is given by -k where k is positive and mod(k) >> 1.
Hence the output becomes -k/(1-k) times Vin(s), for beta = 1.
Since k is positive and k>1, both num and denom of this expression are negative, hence Vo(s) = positive qty times Vin (s).
Also mod(-k/(1-k)) > 1, since mod(1-k) < mod(k).
Correct.

However what do you mean by "mod()" ?
modulo or mode ?


ndnger wrote on May 10th, 2009, 1:04am:
Hence the error term which is input to the amplifier is a negative qty given by 1/(1-k) times Vin(s).
All these quantities, i.e., input, error term, and output are bounded
and the system has well defined, stable ouputs at this frequency and hence it wouldn't oscillate or latch.
Coming back to your question, of why does positive feedback not result in oscillation.
Your argument assume nonlinear effect.

I don't argue nonlinear effect.
http://www.designers-guide.org/Forum/YaBB.pl?num=1234428781/7#7

My question is why the conditionally stable system does not create poles in RHP(Right Half Plane) regardless of positive feedback.
Here I argue completely linear system.


ndnger wrote on May 10th, 2009, 1:04am:
So, at this particular frequency, error term becomes negative which going through the amplifier
and the negation stays negative because of overall positive f/b.
However input is positive and so it wouldn't add to the i/p, rather subtracts
and since output is larger in magnitude, the error term stays negative
.

Here's a simple example case: Suppose amp gain = -10 at the red dot frequency.
Then Vo = -10/(1-10) = 10/9 of Vin.
Verr = Vin - Vo = Vin - (10/9)Vin = (-1/9)Vin, which after going through the amp becomes (10/9)Vin as above.

This analysis is general and will always be correct.
What on earth is correct ?


ndnger wrote on May 10th, 2009, 1:04am:
Nyquist criteria is a shortcut for stability analysis and when the open loop transfer fn is not readily available.
My example of nyquist diagram is for open loop transfer function.

Your story is completely contradictory to Nyquist Criteria.

If your story is correct, even a simple system which is judged as unstable by Nyquist Criteria will be stable.
http://www.engin.umich.edu/group/ctm/freq/nyq.html

In my example which is a very typical example for conditional stable system, if yellow point moves on Real-Axis inside magenda unit circle or blue point moves on Real-Axis outside magenda unit circle in Nyquist Diagram, system will be unstable, although red point remains in same point.
http://www.designers-guide.org/Forum/YaBB.pl?num=1190272820/0#0

Here some poles in RHP(Right Half Plane) will be created by this yellow point or blue point movement.


ndnger wrote on May 9th, 2009, 10:18pm:
I'm not an expert in control theory
so I'd really like if someone can simulate this kind of system in cadence or matlab and see what actually happens.
What tool of Cadence do you mean ?
I don't think there are some tools suitable for this topic in Cadence. There is only common Spice which Cadence call as Spectre.

I have "Control System Toolbox" of MATLAB.
I can easily plot "Bode Diagram", "Nyquist Diagram", "Root Locus" and "Pole-Zero Plot".
Other than these classical method, we can use modern control theory such as State Space Formulation to judge stability.
Any judgememt for my system results in stable.

Title: Re: Bode Diagram of Conditionally Stable System
Post by ndnger on May 10th, 2009, 11:37pm

mod is "the absolute value function". Sorry about he confusion. I haven't assumed any non-linearity in the system. I used the statement that "All these quantities, i.e., input, error term, and output are bounded" to convey that the transfer function and all the node voltages are not unbounded at this frequency. I have used boundedness as the condition for stability. It doesn't mean that the system is nonlinear.  However, I must say that I haven't said anything about the step response of the system, which will be determined by the poles of the closed loop transfer function.

I haven't used Nyquist criteria to prove stability and as you've stated that any analysis technique gives that the system is stable. So my result is not contradicting any of these other analysis methods.

Also the michigan website link says that open loop transfer function becomes confusing when the open loop transfer function has poles on the jw axis. But your open loop system doesn't have any pole on the jw axis, so bode plot (and A/(1+A)) can be used to make judgements on stability.

Now my question to you is why should the red dot frequency create a RHP pole. In other words, why should this loop have RHP, given that the loop gain has 360 deg phase shift, but remember we are looking at the input to output transfer function, ie, A/(1+A)?

BTW, I was referring to spectre, when I said cadence.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on May 11th, 2009, 1:02am


ndnger wrote on May 10th, 2009, 11:37pm:
I haven't used Nyquist criteria to prove stability and as you've stated that any analysis technique gives that the system is stable.
So my result is not contradicting any of these other analysis methods.
No. Your story is contradicting.

Again, if your story is correct, even a simple system which is judged as unstable by Nyquist Criteria will be stable.


ndnger wrote on May 10th, 2009, 11:37pm:
Now my question to you is why should the red dot frequency create a RHP pole.
In other words, why should this loop have RHP, given that the loop gain has 360 deg phase shift,
Again see Nyquist Diagram of http://www.designers-guide.org/Forum/YaBB.pl?num=1190272820/0#0

In this situation, there is no pole for A/(1+A) in RHP.

However if yellow point moves on Real-Axis inside magenta unit circle or blue point moves on Real-Axis outside magenta unit circle in Nyquist Diagram, system will be unstable,
although red point remains in same point.
Here some poles for A/(1+A) in RHP will be created by this yellow point or blue point movement.


ndnger wrote on May 10th, 2009, 11:37pm:
but remember we are looking at the input to output transfer function, ie, A/(1+A)?
This is your basic misunderstanding point about stability for system.

In studying stability of system, an important factor which we have to focus on is
"Characteristics Polynomial" not "Input to Output Transfer Function".
http://en.wikipedia.org/wiki/Nyquist_stability_criterion

And you have to learn "Internal Stability" which is more extended issue about Stability, here we can't argue it's stability by "Input to Output Transfer Function".
State Space Formulation is required
http://www.designers-guide.org/Forum/YaBB.pl?num=1241534678/4#4

But your misunderstanding is not related to this "Internal Stability".
Your misunderstanding is more basic.


ndnger wrote on May 10th, 2009, 11:37pm:
Also the michigan website link says that open loop transfer function becomes confusing when the open loop transfer function has poles on the jw axis.
But your open loop system doesn't have any pole on the jw axis,
so bode plot (and A/(1+A)) can be used to make judgements on stability.
I can't understand what you want to claim.

If open loop function is completely lossless, Nyquist Diagram is never closed in finite region of complex plane.
Maybe the michigan website explains this issue in Nyquist Diagram using MATLAB, although this is not problem at all.

I just wanted to show very simple Nyquist Diagram for unstable system which has only one crossing point in negative Real-Axis
to show "If your story is correct, even a simple system which is judged as unstable by Nyquist Criteria will be stable".

Maybe the michigan website is not good example for this purpose.
And this michigan website doesn't argue "Conditionally Stable System" at all.

The followings are more proper as example.
See page.11 of http://www-control.eng.cam.ac.uk/gv/p6/Handout6.pdf
See page.3 of http://www.staff.ncl.ac.uk/j.w.finch/CS_notes_2.pdf


ndnger wrote on May 10th, 2009, 11:37pm:
BTW, I was referring to spectre, when I said cadence.
It is no more than common "SPICE" although Cadence call it as "Spectre".

If I have to choose one from many SPICE type simulators, I use HSPICE which is Golden Standard Simulator.
http://www.designers-guide.org/Forum/YaBB.pl?num=1238150066/5#5

Title: Re: Bode Diagram of Conditionally Stable System
Post by ndnger on May 11th, 2009, 1:58am

If the yellow point is on the magenta unit circle, then A = -1 and the output will be unbounded.

But if the yellow point moves inside the magenta unit circle, and the input is a single tone then the output will also be a single tone based on my earlier analysis. This is what I predict. Can you provide an alternate analysis to prove this wrong? Consider only ideal linear systems.

The step response which is given by the location of poles and zeros will  however be exponentially increasing because of the creation of RHP and I concur with you on this.

Title: Re: Bode Diagram of Conditionally Stable System
Post by pancho_hideboo on May 11th, 2009, 2:14am

Back to very beginning of this topic,
do you understand "Conditionally Stable System" which is sometimes called as "Nyquist Stable System" ?


ndnger wrote on May 11th, 2009, 1:58am:
If the yellow point is on the magenta unit circle, then A = -1 and the output will be unbounded.
I didn't argue singular point at all.


ndnger wrote on May 10th, 2009, 1:04am:
This analysis is general and will always be correct.

ndnger wrote on May 11th, 2009, 1:58am:
But if the yellow point moves inside the magenta unit circle,
and the input is a single tone then the output will also be a single tone based on my earlier analysis.
This is what I predict.
I can't understand what you want to claim.

What on earth is your analysis useful for ?

In this case, system is unstable, here some poles for A/(1+A) exist in RHP.
This means existence of unstable natural(or eigen) modes in system.

Again, in studying stability of system, an important factor which we have to focus on is
"Characteristics Polynomial" not "Input to Output Transfer Function".

Title: Re: Bode Diagram of Conditionally Stable System
Post by vivkr on May 14th, 2009, 3:17am

Hi pancho,

It is unclear to me what you really want to know by making this post. You seem to already know all the answers which you mention in the very first post.

As you point out yourself, this is a conditionally stable system. Looking at gain/phase margin in this case is not very useful. And you seem to be making incorrect deductions based on the Barkhausen criterion.

If the gain is > 1 at the point where the phase is -180 deg, this does not automatically imply instability. Instability (and oscillation) is guaranteed if the gain is exactly equal to 1 when the phase is -180 degrees, but you cannot stretch this to the case where the gain is >1.

That is the very reason to use the Nyquist test for conditionally stable systems, because the conventional way of looking the the gain and phase plots is confusing and misleading.

Best regards,

Vivek

Title: Re: Bode Diagram of Conditionally Stable System
Post by zychang on Mar 8th, 2012, 10:36am

Hi guys,

Just came across this post when I needed it. Great.
It seems to me that everyone has agreed that the system shown on the very first post is stable, i.e. no oscillation by itself.

But what about ringing? One nice thing about Phase Margin (180-phase@UGBW) in a two-pole system is that, it gives indication of overshoot ratio (%) for a step response. Can we apply the same relationship here?

Thanks,
Michael

Title: Re: Bode Diagram of Conditionally Stable System
Post by Frank Wiedmann on Mar 8th, 2012, 2:08pm


zychang wrote on Mar 8th, 2012, 10:36am:
But what about ringing? One nice thing about Phase Margin (180-phase@UGBW) in a two-pole system is that, it gives indication of overshoot ratio (%) for a step response. Can we apply the same relationship here?

No (see for example http://www.designers-guide.org/Forum/YaBB.pl?num=1182388268/15#15). And be sure to consider http://www.designers-guide.org/Forum/YaBB.pl?num=1182388268/5#5.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.