The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Oct 28th, 2024, 3:59pm
Pages: 1 2 
Send Topic Print
miller op amp compensation (Read 15063 times)
aaron_do
Senior Fellow
******
Offline



Posts: 1398

miller op amp compensation
Oct 10th, 2008, 1:54am
 
Hi all,


very basic question here. I'm trying to design a miller op-amp, and i'm a bit stuck on the compensation. Question is, if i want to maximize the unity gain BW, am i right in saying i need to push the 1st non-dominant pole out as far as possible? That allows me to push the dominant pole out => wider bandwidth...Anyway in order to do this, I'm thinking I need to maximize the fT of the output buffer transistors. Does that sound right?

Assume i'm driving a resistive load.

thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: miller op amp compensation
Reply #1 - Oct 10th, 2008, 2:37pm
 
Hi Aaron,

The GBW is set by the dominant pole location and obviously by the open loop gain. However the fist non-dominant pole will also set the unity gain frequency (fu), which will only be the same as the GBW if this second pole is at least at 5X higher frequency than the dominant one.
So pushing out the first non-dominant pole helps get the fu closer to the GBW, which has a direct impact on the stability (in this case it improves it).
So the real challenge is to move at higher frequencies the dominant pole with the same open loop gain (so GBW increases) without compromises too much the stability (which will be a function of the location of the second and higher order poles).
As you suggested, to push the dominant pole to higher frequencies it is the ft that you have to maximize (in case your amplifier is a single ended one your frequency limitation might be related to the capacitance of a diode connected MOS when you convert to single-ended).

Regards
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: miller op amp compensation
Reply #2 - Oct 11th, 2008, 10:10pm
 
hi Aaron,
            i have a basic question regarding this miller compensation.
1.dominant pole and open loop gain will set UGB(why 1st non-dominent pole at leat 5x from dominent ).Actually 1st dominet pole will decide phasemargin.correct me if am wrong
2.Does all the above discussion work  for any load or only capacitor load.
3.can u provide any papers regading miller compensation failures(undersome conditions pole splitting wont work )
thank you.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: miller op amp compensation
Reply #3 - Oct 12th, 2008, 9:13am
 
raja.cedt wrote on Oct 11th, 2008, 10:10pm:
1.dominant pole and open loop gain will set UGB(why 1st non-dominent pole at leat 5x from dominent ).Actually 1st dominet pole will decide phasemargin.correct me if am wrong


Hi a 1-pole amplifier has a 90 degree phase margin (phase does not rotate more than 90 degrees).  Adding a second pole (1st non-dominant pole) will set a smaller phase marging. According to the location of this second pole the phase margin will change.

raja.cedt wrote on Oct 11th, 2008, 10:10pm:
2.Does all the above discussion work  for any load or only capacitor load.


Capacitor loads will bring secondary poles down to lower frequencies (compared with the resistive load only case). The discussion is general and regardless of what sets the location of the second pole (either the capacitor load - if exists - or a diode connected mos for example).

Regards
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: miller op amp compensation
Reply #4 - Oct 12th, 2008, 6:47pm
 
Hi tosei,

I'm still a little skeptical.

Quote:
So the real challenge is to move at higher frequencies the dominant pole with the same open loop gain (so GBW increases) without compromises too much the stability


It seems to me that if the non-dominant pole frequency is set, there is no way to increase the GBW of the dominant pole without compromising stability. The total phase shift at the non-dominant pole frequency is -135 degrees. So we must have fu less than the non-dominant pole frequency if we want phase margin > 45 degrees. If fu = non-dominant pole frequency, and we increase the pole frequency of the dominant pole, then the phase shift will exceed -135 degrees at fu.

Miller compensation serves in part to reduce the dominant pole frequency by a large amount. So why would we need to increase the dominant pole frequency only to reduce it with miller compensation?

Seems like the real challenge is to get the non-dominant pole frequency as high as possible. Since with miller compensation, the non-dominant pole frequency = gm/CL, we need to get the best fT for the second stage (Assuming resistive loads and CL is mainly determined by Cgd of the transistors).

Please correct me if i've misunderstood something...


thanks,
Aaron

btw, raja.cedt

i'm not really sure about failure mechanisms...but as for loading, in addition to what tosei said, it seems to me that resistive loading would reduce the GBW of the amplifier if it is a standard miller op-amp. This is because if the non-dominant pole is higher than fu, and a resistive load is added, it will reduce the gain without increasing fu...
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: miller op amp compensation
Reply #5 - Oct 12th, 2008, 11:31pm
 
aaron_do wrote on Oct 10th, 2008, 1:54am:
Hi all,


very basic question here. I'm trying to design a miller op-amp, and i'm a bit stuck on the compensation. Question is, if i want to maximize the unity gain BW, am i right in saying i need to push the 1st non-dominant pole out as far as possible? That allows me to push the dominant pole out => wider bandwidth...Anyway in order to do this, I'm thinking I need to maximize the fT of the output buffer transistors. Does that sound right?

Assume i'm driving a resistive load.

thanks,
Aaron


Hi Aaron,

The issue is slightly complicated. Normally, I too agree with you that one is better off with as few poles as possible for highest possible bandwidth. If you are using Miller compensation, then surely you are creating an additional pole where there was none before at Gm1/Cc, whereas you could have created a pole simply using the load capacitance using a single-stage scheme. I don't think I can answer your question directly, but a few points:

1. If you really must design a Miller compensated opamp in the first place, then Gray & Meyer tells me (4th edition, Chap. 9 on stability, Fig. 9.10) that gain-bandwidth is highest with a phase margin of 60 degrees.

2. Of course, the farther you push out the second pole, the farther you can also push out the first one. What counts is only the ratio of these 2, assuming you do not run into any other higher poles. But pushing the second pole out means burning more power in the second stage. Note that artificially forcing the first pole to be too low is usually not a good idea, since you lose bandwidth. So if you end up with the 2nd pole way out and a phase margin of 80 deg, that means: (a) You have chosen too large a miller cap or too small a Gm1 and could increase the bandwidth a bit (b) You are wasting too much power in the 2nd stage (Note that the 2nd stage typically consumes about 3x-4x power in classical Miller design).

3. I am sure you have accounted for this, but if you are worried about settling response more than steady-state response, then you are better off with as high a phase margin as possible. However, as you are driving resistive loads, this is obviously not the case. And for your case, you are right, you need to increase the bandwidth of your output stage (I would not use the term fT which has other implications as well).

Regards,
Vivek
Back to top
 
 
View Profile   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: miller op amp compensation
Reply #6 - Oct 12th, 2008, 11:55pm
 
Hi Vivek,


thanks. Only problem I have with your points is...

Quote:
1. If you really must design a Miller compensated opamp in the first place, then Gray & Meyer tells me (4th edition, Chap. 9 on stability, Fig. 9.10) that gain-bandwidth is highest with a phase margin of 60 degrees.


I don't have that book, but i'll try and get my hands on it. Anyway I think that you have to add the condition that there is no ringing in the step response. Otherwise i'm sure a phase margin of less than 60 degrees can achieve a higher GBW...

btw you're right, fT is probably the wrong parameter to use. The main point i'm grappling with is am i right to think its better to have low over-drive in stage 1 for high gm/IDS, but higher overdrive in stage 2 for high gm/Cgd.

cheers,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
vivkr
Community Fellow
*****
Offline



Posts: 780

Re: miller op amp compensation
Reply #7 - Oct 13th, 2008, 2:25am
 
Hi Aaron,

You don't need the book by Gray & Meyer. You can check that the GBW is largest (without overshoot) with a phase margin of around 60 deg if you make a simple 2 pole opamp model with ideal elements in Cadence, and vary the second pole while keeping the first one fixed. Or you can analyze it by hand if you wish.

You are right about settling without overshoot in my statement. I consider this kind of settling as good settling because the performance degradation in case of process variations or reduction in time available for settling is more graceful than in the case of ringing.

As for your last point, I would put it a bit differently. Your Miller compensation will be degraded because of the capacitive divider formed by Cc and Cgs2. In other words, the effective Gm2 drops like this. So, you need to optimize the second stage between the 2 extremes of very high gm/Ids at the cost of very large Cgs2, and the other extreme of very small Cgs2 but very high current to achieve required Gm2 for stability. If you write out the simple equations accounting for the poles from stage1 and 2 and the cap divider (assuming the RHP zero is taken care of somehow), I am sure you can find out the optimal setting for gm/Ids so that you achieve stability and GBW at the lowest power.

For the first stage, I would use high gm/Ids, but be careful not to increase your input cap excessively.

Regards,
Vivek
Back to top
 
 
View Profile   IP Logged
Tlaloc
Community Member
***
Offline



Posts: 81
Dallas, TX
Re: miller op amp compensation
Reply #8 - Oct 13th, 2008, 7:45pm
 
Quote:
GBW is largest (without overshoot) with a phase margin of around 60 deg

Quote:
Otherwise i'm sure a phase margin of less than 60 degrees can achieve a higher GBW...

Now, I don't have my texts handy, so forgive me if my numbers are off.  With that caveat, here is what I remember.  

1)  The step response settling time versus phase margin has a minimum at 53.6.  The time increases sharply as phase margin continues to decrease.  That is one of the reasons that people like 60 of phase margin since circuit variations will generally not cause the PM to decrease below 53.6.

2)  A lot of people feel that 45 is sufficient for their designs, but it will have a slower settling due to ringing.  This is more hazy, but I believe that 45 guarantees one (or two?) overshoots and one undershoot.

3)  60 guarantees maximum flatness in the frequency domain, but there most definitely is a mild overshoot in time.

4)  The PM at which there is absolutely no overshoot in time is somewhere in the 70's, 72 or 73, I think.

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



Posts: 678
Munich, Germany
Re: miller op amp compensation
Reply #9 - Oct 14th, 2008, 12:06am
 
The phase margin for no overshoot is 76° (for a loop gain with only one dominant and one non-dominant pole and no zeros), see http://www.rdmiddlebrook.com/D_OA_Rules&Tools/Ch%2010.Basic%20Feedback.pdf, page 95.
Back to top
 
 
View Profile WWW   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: miller op amp compensation
Reply #10 - Oct 14th, 2008, 3:16am
 
Hi,
    thanks  all of you for giving answer.I understood pole splitting like the following
  Miller cap increase the load cap at the output of the 1st stage so that pole frequency decreases, at the same time output resistance  of the 2nd stage will decreases  so that pole frequency increases. Friends please correct me if any thing  wrong.
now the question is  from  the above discussion miller cap may lead to pole splitting(provided 1st stage output pole is dominant),or else poles may come towards each other provided(2nd stage pole is dominant).

And another question is  I saw "pole splitting considered harmful"(http://web.mit.edu/klund/www/papers/).i couldn't understand really in which way it is harmful,only thing it decreases the BW(but we dont have another alternative)
Thanks,

Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: miller op amp compensation
Reply #11 - Oct 14th, 2008, 5:48am
 
Kent Lundberg quotes his paper "Pole splitting considered harmful" in http://web.mit.edu/klund/www/papers/ACC04_opcomp.pdf, saying: "While the above results are correct and useful, they are an impediment to intuition." He also says in this paper: "A pole-splitting approach to the compensation design is harmful to understanding. All of these techniques can be easily understood in a simple classical-control framework."
Back to top
 
 
View Profile WWW   IP Logged
aaron_do
Senior Fellow
******
Offline



Posts: 1398

Re: miller op amp compensation
Reply #12 - Oct 14th, 2008, 5:53am
 
Hey raja.cedt,


one thing about what you said though.

Quote:
at the same time output resistance  of the 2nd stage will decreases  so that pole frequency increases


The way I understand it, output resistance does not reduce although you will see an increase in the output pole frequency. i.e. although for second stage, output pole is approximately gm2/CL, DC gain is still gm2Rout. This is something i'm still a little unsure about so correct me if i'm wrong.

thanks,
Aaron
Back to top
 
 

there is no energy in matter other than that received from the environment - Nikola Tesla
View Profile   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: miller op amp compensation
Reply #13 - Oct 14th, 2008, 11:14am
 
aaron_do wrote on Oct 14th, 2008, 5:53am:
The way I understand it, output resistance does not reduce although you will see an increase in the output pole frequency. i.e. although for second stage, output pole is approximately gm2/CL, DC gain is still gm2Rout. This is something i'm still a little unsure about so correct me if i'm wrong.

thanks,
Aaron


Aaron,

The ouput resistance will not change due to Miller effect, but output impedance will get reduced. Intuitively this can be observed by just considering that at higher frequencies, the miller cap will be a short. Under this condition, the 2nd output impedance will be 1/gm2 with Cin and Cout of this stage as the equivalent node capacitance.

Regards
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: miller op amp compensation
Reply #14 - Oct 14th, 2008, 9:50pm
 
hi,
   in miller compensation output resistance  reduces because there is capacitive  feedback  from out put to input makes output admittance gm*cc/(cc+cL1).where cL! is output resistance of 1st stage.so here r0 won't come into picture.

Moreover its a shunt-shunt feedback so both o/p&i/p impedance will reduce through increase  in cap at input and decreasing resistance at o/p.
 Can any body please send me POLE SPLITTING IS HARMFUL paper.i dont have access to download.
thanks

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.