The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 19th, 2024, 8:59am
Pages: 1 2 
Send Topic Print
Stability analysis for multiple feedback loops (Read 3717 times)
bharat
Community Member
***
Offline



Posts: 57

Stability analysis for multiple feedback loops
Oct 14th, 2009, 11:34pm
 
If there are more than one feedback loop in any circuit ( voltage regulator); to check the stability should one break all the loops and check for stability OR the loop having highest loop gain (A*beta)
will have potential stability threat, if the circuit is safe there, other feedback loops may not be as significant.

In other words, having more than feedback loop is bad design, because optimising the circuit for all the three loops (say) to be stable is difficult task.

Regards
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Stability analysis for multiple feedback loops
Reply #1 - Oct 15th, 2009, 1:19am
 
Back to top
 
 
View Profile WWW   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: Stability analysis for multiple feedback loops
Reply #2 - Oct 16th, 2009, 10:29am
 
this one also might be useful http://www.designers-guide.org/Forum/YaBB.pl?num=1198131494

Best
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Stability analysis for multiple feedback loops
Reply #3 - Oct 17th, 2009, 1:52am
 
HdrChopper wrote on Oct 16th, 2009, 10:29am:
this one also might be useful http://www.designers-guide.org/Forum/YaBB.pl?num=1198131494
Best
Tosei


Yes, Tosei. Thanks for pointing the attention of bharat to this rather deep discussion of the subject. I think, if there are no new arguments everything has been said regarding the original question.
Thanks
Lutz
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
bharat
Community Member
***
Offline



Posts: 57

Re: Stability analysis for multiple feedback loops
Reply #4 - Oct 24th, 2009, 7:44am
 
Thanks to Frank, Tosei and Lutz for the pointers and comments.
Looks like much has been discussed on the topic ..

I have gathered that most of the posts were devoted to where to break the loop vs advantages of not breaking the loop. I agree 'stb' analysis is convenient over classical breaking the loop method.
I would have been agreed before seeing the interesting behavior ..
I am working on voltage regulator which has traditional 2 stage op-amp followed by CS PMOS third stage.
I have 3 potential place where I can break the loop. At O/P of 1st stage, at O/P of 2nd stage and I/P of 1st stage diff pair.
Theoretically I should get the same DC loop gain but I am seeing different loop gains. The obvious reason is that DC op points are not same while doing 'stb' analysis.
Frank, will you comment.

Thanks
Back to top
 
 
View Profile   IP Logged
bharat
Community Member
***
Offline



Posts: 57

Re: Stability analysis for multiple feedback loops
Reply #5 - Oct 24th, 2009, 8:44am
 
...contd.

attaching the ckt.
Back to top
 

loop.JPG
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Stability analysis for multiple feedback loops
Reply #6 - Oct 24th, 2009, 9:35am
 
My recommendation is to open the loop at X3 and to place an AC voltage source of 1V BETWEEN both nodes (left and right of the break point).
Thus, the dc loop and, hence, the operating point remains unchainged.
The ac loop gain then is simply the ratio of both node voltages.
This is a modified MIDLLEBROOK method and it works always - as long as there is no severe load change at the point chosen to insert the voltage source.
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
bharat
Community Member
***
Offline



Posts: 57

Re: Stability analysis for multiple feedback loops
Reply #7 - Oct 24th, 2009, 9:51am
 
buddypoor, thanks

what you suggested is always recommended. I did the same and got the PM and GM in the specified limit. To add the surprise while doing the transient analysis of load current at the regulator output, the output started ringing. This behavior was against the PM and GM of AC/STB analysis.
This forced to analyse the circuit further and we found that while breaking the loop at X2, GM was poor and gain plot was corssing the 0dB twice and the loop was unstable.
This analysis matches to my load current transient response.
I am rephrasing my questions again;
1) while breaking the loop (stb analysis) at X1, X2 and X3 the DC loop gain should be same, but I am seeing the difference of 5-7 dB.
This suggests that stb analysis is not perfect and it is hard to mimic the ckt with zero source impedance and infinite load impedance of AC source. (not sure though)
2) If the ckt is stable at X3 doesn't ensure that ckt. would be stable at X2 and X1 too.

Thanks
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: Stability analysis for multiple feedback loops
Reply #8 - Oct 24th, 2009, 10:50am
 
Hi BHARAT,

As far as I can see, you only have one loop and in principle it does not matter at which point (X1, X2 or X3) you are going to measure/simulate the loop gain.
However, when you donīt intent to simulate the load separately which is disconnected by introducing the ac source , you have to select a point where a small output resistance looks into a high resistance - and thatīs X3.
I know, that there will remain a small error (because of non-ideal load conditions), but I think it will be acceptable.
But I must confess that I am not familiar with the STB analysis (I use PSpice and similar packages), but I am sure that the PM and GM at X2 and X3 (if properly determined !!) will be identical to the values at X3.
Because it is the same loop !
Another problem may be: The concept of PM and GM is applicable not to all feedback systems but only to those systems which allow the simplified Nyquist criterion (stable open loop system and no zeros in the RHP and only one loop gain crossing of the 0 dB-line).
Did you check this?
Regards
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Stability analysis for multiple feedback loops
Reply #9 - Oct 26th, 2009, 2:43am
 
There are two possible reasons why the transient behavior does not match the results of the stb analysis:
  • There is more than one loop in the circuit and the stb probe is not part of all of the loops.
  • There is a significant part of the signal that bypasses the loop. See the section about Middlebrook's General Feedback Theorem from my webpage http://sites.google.com/site/frankwiedmann/loopgain.
In case of doubt, always use transient analysis to see the real circuit behavior.
Back to top
 
 
View Profile WWW   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: Stability analysis for multiple feedback loops
Reply #10 - Oct 26th, 2009, 4:56am
 
bharat wrote on Oct 24th, 2009, 9:51am:
1) while breaking the loop (stb analysis) at X1, X2 and X3 the DC loop gain should be same, but I am seeing the difference of 5-7 dB.
This suggests that stb analysis is not perfect and it is hard to mimic the ckt with zero source impedance and infinite load impedance of AC source. (not sure though)
2) If the ckt is stable at X3 doesn't ensure that ckt. would be stable at X2 and X1 too.


Hi Bharat,

Concerning your first question,: the stb is accurate as long as the hypothesis for applying such analysis are fullfilled. -> in order for the stb analysis to be valid your ckt should be able to be analyzed as a single feedback system This is valid only when:
a) all local feedback loops inside the main loop are individually stable
b) all the invovled loops have a common break point

Your circuit has to fulfill at least one of these two requirements in order to be analyzed as a single loop system (and therefore use stb analysis).

This idea goes along with the lines Frank pointed out in 1) in his post.

As for Frank's second bullet, he is referring to a heavy feedforward component which - in usual feedback theory - is not considered. This might affect the overall stability of your system too.

One more comment: it is usually difficult to mimic the ckt behavior with a zero source and infinite load impendace AC source that breaks the loop, since usually stability is set by the voltage and current feedback loop. Usually with your AC voltage source you only analyise the stability of your voltage feedback loop.
As buddypoor pointed out, the approximation is valid only when the loading effects are negligible, but this method is error-prone. so it is always recommended NOT to break the loop, but rather include your probe inside the loop. Actually the stb analysis is supposed to be more accurate since it consider both loops: voltage and current.

Sorry for the long post

Best
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
thetan
New Member
*
Offline



Posts: 4

Re: Stability analysis for multiple feedback loops
Reply #11 - May 5th, 2016, 2:03pm
 
Hello All,

I have been following all the interesting discussions on this forum about multiple loop stability analysis. I am designing a similar LDO as presented in this discussion and I have some doubts about its stability analysis. It would be really great if you folks can help me out.

The block diagram of the designed Reverse nested miller compensation based LDO is shown in the attached figure. I have done the analysis using stb analysis of spectre. I put iprobe first on the red cross, the conventional point of analysis for an LDO. This gives a PM of 90degrees and unity gain frequency of 150KHz. But when I look at the step response shown in figure, the initial response time cannot be directly mapped to this frequency domain analysis. So, I do STB analysis by putting iprobe at the green cross point. This shows UGF of 15MHz and PM of 40degrees which explains the response time.

My question is: We have a rule of thumb of 60degrees PM for CMOS circuits. But how do we define phase and gain margins for multiple loop systems? In the forum discussions on multi-loop analysis, I have seen that everyone talks about stability. But do we have some quantization on the PM and GM numbers for stability of multiple loops? Isn't taking PM= 60degrees rule of thumb for all loops in these kind of systems an over-estimation? If you can suggest some paper/books/reference which discusses this?

Many thanks in advance!

Back to top
 

block_diagram_step_response.png
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Stability analysis for multiple feedback loops
Reply #12 - May 6th, 2016, 8:23am
 
HI-
generally 60-65 is very good number irrespective of number of loops. But you should consider gain margin also other wise there could be small ripple on top of exponential settling. typically 12dB is good gain margin. So I would suggest you to Quote both always. Check fig-35 in the following paper.

http://web.mit.edu/klund/www/papers/ACC04_opcomp.pdf

regarding multi-loops: All the faster loop poles will be non dominate pole for the slow loop, so as long as they are very far from the slow loop UGB system is stable. I didn't under stand http://web.mit.edu/klund/www/papers/ACC04_opcomp.pdf

In generally it's bit hard to find single loop, take miller compensation, through Cgd 2nd stage will have inner loop. take Ahuja compensation, this will have inner loop through current buffer.

Best regards,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
thetan
New Member
*
Offline



Posts: 4

Re: Stability analysis for multiple feedback loops
Reply #13 - May 9th, 2016, 12:49am
 
Hi Raja,

Thanks for your reply. The gain margin when I analyze the slow loop is greater than 12 dB with PM of 90degrees.

Does this mean that the inner loops should also have a PM of 60degrees and GM of 12dB? From the transfer function (TF) derivation, can we not say that analyzing slow loop (red cross point) is a good point for LDO design (as the denominator should not be 0) ? Or are there any conditions under which the inner loops can be simplified to get this TF which are not considered?

Thanks in advance!
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Stability analysis for multiple feedback loops
Reply #14 - May 10th, 2016, 8:42am
 
Dear thetan-

Does this mean that the inner loops should also have a PM of 60degrees and GM of 12dB?
Unfortunately I am not expert in the stability theory, but I have designed several working multi loop feedback systems and general belief is make sure all loops are having stable nature (60deg PM and 12dB GM) and diff bandwidths means at least 4-5X variation among stages (of course it depends on your power and area budget).

From the transfer function (TF) derivation, can we not say that analyzing slow loop (red cross point) is a good point for LDO design (as the denominator should not be 0)
Yes slow loop determines the overall UGB, But to find overall loop stability you need to break all loops at time, hence you need to break only in the green cross. red cross is the rite one.

The above theory works pretty well in the practice, best example is PLL.
Intersting theory: Control system theory says any composite feedback network with unstable inner loops can be compensated with gain (aka Conditionally stable systems). Example: take a system with RHP poles say 1/(s-10) now keep this insde a simple loop with gain >10 say 20. Overall loop transfer function is 20/(s+10), stable. I have never tried in analogue this, would like to know if any one have experience on this. One problem to implement the above theory in circuits is once a system is unstable bias point will disturb and can't use linear theory any more, but not sure.

Hope this helps,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
Pages: 1 2 
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.