The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 21st, 2024, 10:18am
Pages: 1
Send Topic Print
Compensating with Miller Cap - which loop to break (Read 4024 times)
scientificstick
New Member
*
Offline



Posts: 2

Compensating with Miller Cap - which loop to break
Mar 27th, 2014, 5:15am
 
I have a small question.  

Imagine a 2-stage op-amp, with a miller compensation cap between the first and second (output) stage.

Everybody knows how to check the loop gain.  In Cadence, with an stb analysis, you simply add an iprobe (to break the AC loop) and plot the loop-gain and phase margin.  When I see this done in books, typically only the external loop (op-amp output to op-amp input) is broken.  But the miller cap and the second stage makes an internal feedback loop as well.  Why don't we check this?  For example, why not break the loop at the output of the second stage BEFORE the miller capacitor connection?

I tried this, but then I measured much lower phase margins than when I took the conventional approach of only breaking the external loop.  Intuitively, I think this is because the compensation capacitor doesn't see the Miller amplification in my case.  Correct? But how much PM is sufficient for this case?  After all, I understand EVERY loop must be stable, no?

So my question is - why isn't it common to break both loops?  Especially for "indirect compensation", such as described in Baker, where the compensation capacitor goes to the cascode source, the compensation loop could also have more than 1 pole.

Any insight would be useful.  Thanks



Back to top
 
« Last Edit: Mar 27th, 2014, 7:55am by scientificstick »  
View Profile   IP Logged
wave
Senior Member
****
Offline



Posts: 117
Silicon Valley
Re: Compensating with Miller Cap - which loop to break
Reply #1 - Mar 27th, 2014, 2:44pm
 
Yes, every loop must be stable.

Picking the critical loops is not always easy.  I often see people breaking loops that are at a poor place -- such as a TEE or between two intersecting loops.

In 2 stage miller amp, the last stage has loop with the cap - yes.
Are there two stages in THAT loop? (no).   Are you likely to get 180 degrees shift  (think ~ 90 deg per stage) ?  Gain > 1 ?  Likely to meet all Barkhausen criteria?
--- are you simulating an independent loop, or an intersecting one?
 
I've seen some people sim a diode connected current mirror.  A high frequency loop yes -- but they probably have too much time on their hands.  
I'm saying experience people take calculated risks rather than use a blanket approach to everything.

Smiley
Back to top
 
 
View Profile   IP Logged
scientificstick
New Member
*
Offline



Posts: 2

Re: Compensating with Miller Cap - which loop to break
Reply #2 - Mar 28th, 2014, 1:20am
 
Thank you very much for your thoughtful reply.

Yes I agree with what you said.  For a simple miller compensation, there is little chance of instability around the internal loop itself.  After all, it doesn't have enough poles.

My question is - if I break the loop at the output of the second stage (before the miller cap connection), then I am breaking both loops simultaneously.  Perhaps this is what you meant by "intersection".  In the stability analysis I see a drastically reduced phase margin.  How can I interpret the meaning of this?

For example, if I compensate the op-amp like normal (breaking on the external loop), I might design it for a PM of 75 degrees.  But then, if I break it as I suggested above, that same op-amp might show only 25 degrees - which makes me nervous.  How can I explain it.

Thanks again for your reply.
Back to top
 
 
View Profile   IP Logged
Lex
Senior Member
****
Offline



Posts: 201
Eindhoven, Holland
Re: Compensating with Miller Cap - which loop to break
Reply #3 - Mar 28th, 2014, 9:25am
 
The popular 'phase margin' approach only works well if you have some place in the loop that you can safely break. It might happen that your circuit doesn't have such a place.

When this makes you nervous, you should do a (closed loop) transient analysis with a step response and check for ringing/overshoot/etc.
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Compensating with Miller Cap - which loop to break
Reply #4 - Apr 1st, 2014, 12:44pm
 
this has been discussed here many times before, suggest you search the site.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Pages: 1
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.