The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 15th, 2024, 4:43am
Pages: 1
Send Topic Print
Miller Compensation and Low Impedance Nodes (Read 9063 times)
SoliS
Junior Member
**
Offline



Posts: 14

Miller Compensation and Low Impedance Nodes
Jan 31st, 2012, 2:47pm
 
I am using the feed-forward zero technique for op amp compensation, very similar to that used in Johns & Martin Ch. 5.
(resistor in series with a cap around the output gain stage)

However, assume that there is a LOW impedance node driving the output gain stage (such as a source follower). This is the situation I am in now; I am using a SF to level-shift the output of the diff amp and then drive the second gain stage.

I noticed the compensation does not work if connected to the gate of the output stage (also the source of the SF). Someone told me it is because the node is low impedance. When I connect the compensation network to the gate of the SF device, everything works great again.

Could somebody explain why a low impedance node affects the compensation network this way?
Back to top
 
 
View Profile   IP Logged
PW
New Member
*
Offline



Posts: 3

Re: Miller Compensation and Low Impedance Nodes
Reply #1 - Jan 31st, 2012, 11:41pm
 
Hi,
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Miller Compensation and Low Impedance Nodes
Reply #2 - Feb 1st, 2012, 8:56am
 
hello,
the concept of creating zero by feed forward technique is rely on how much extra gm you have in the parallel path and how much cap you are driving. So i am not seeing any node impedance dependency. Any how why don't you explain with simple fig.

Thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
SoliS
Junior Member
**
Offline



Posts: 14

Re: Miller Compensation and Low Impedance Nodes
Reply #3 - Feb 1st, 2012, 10:37am
 
Okay, here is a schematic. This is a UNITY GAIN configuration; Rfb is only there to compensate for the base current of the OTA (has a bipolar input stage).

This image has the compensation network connected to node A, and not node B. The compensation does not work at all when connected to node B (looks very close to uncompensated response).

I am testing stability with STB analysis in cadence; the probe is placed between Rfb and the + input.

MN1 acts as a source follower (level shifter), MN2 is the output gain stage (approximate gain of 30), MP1 is active load. I forgot the body connection on MN3 in this figure; it goes to ground. The OTA is a folded cascode type, PNP input stage.


Basically, someone explained to me that when connected to the low impedance node (B), the capacitor only makes a pole at very high frequencies. This sort of makes sense since the pole location depends on R*C, if R is small, then pole is high frequency. What I don't understand is how the equivalent R seen by the capacitor is low; I thought it was the high output Ro of the 3rd gain stage and active load that provided the high R - which is the same regardless of where the other end of the FB network is connected. Obviously something is wrong with my understanding. Also the explanation given to me could be wrong as well.
Back to top
 

Untitled_005.png
View Profile   IP Logged
SoliS
Junior Member
**
Offline



Posts: 14

Re: Miller Compensation and Low Impedance Nodes
Reply #4 - Feb 1st, 2012, 2:26pm
 
I have a theory about this but really have no idea if its even on the right track:

Connecting to Node B basically means that the only compensating capacitance for the Folded Cascode OTA is the parasitic gate cap of MN1; so the output stage may be compensated perfectly but the OTA is still unstable, which causes the whole loop to go unstable.

If that's true, then it means getting optimal compensation for this sucker isn't going to be as easy as looking up the formula for lead compensation resistance of the typical 2 stage opamp (Rc = 1/1.2gm), and it wont follow the formulas for folded cascode amps either.
Back to top
 
 
View Profile   IP Logged
Vladislav D
Community Member
***
Offline



Posts: 76
The Netherlands
Re: Miller Compensation and Low Impedance Nodes
Reply #5 - Feb 2nd, 2012, 1:47am
 
For simplicity suppose the follower does not alter the frequency response. Look at the  transfer function (feedback path) from the output to the node B through the cap, connected between them.  It is (1/gm)/ (1/gm+Cf). So, if gm is high,  this cap does not change the transfer function.  
The statement that this is due to low output impedance of the follower is absolutely correct.
Back to top
 
 
View Profile   IP Logged
Vladislav D
Community Member
***
Offline



Posts: 76
The Netherlands
Re: Miller Compensation and Low Impedance Nodes
Reply #6 - Feb 2nd, 2012, 2:57am
 
Another way of looking at the problem. For an opamp without a follower, there are  2 poles gm1/Ca and gm2/Cload. By placing Cc across the output stage, Ca=Cc and so, the pole is shifted to low frequency, improving frequency response.  If you have a follower with a capacitor across the output stage, Ca keeps the same value, since output of the gm stage does not "see" the Cc capacitor
Back to top
 
 
View Profile   IP Logged
SoliS
Junior Member
**
Offline



Posts: 14

Re: Miller Compensation and Low Impedance Nodes
Reply #7 - Feb 2nd, 2012, 7:10am
 
Vladislav D wrote on Feb 2nd, 2012, 2:57am:
Another way of looking at the problem. For an opamp without a follower, there are  2 poles gm1/Ca and gm2/Cload. By placing Cc across the output stage, Ca=Cc and so, the pole is shifted to low frequency, improving frequency response.  If you have a follower with a capacitor across the output stage, Ca keeps the same value, since output of the gm stage does not "see" the Cc capacitor


Thanks for your replies everyone, I suppose I should clarify that the two options are to connect the compensation network are:

(1) between Node A and Output node
(2) between Node B and Output node

from your post it looks like you may have been referring to the compensation network connected between A and B, which I am not doing. I also do not understand how you derived that the Feedback transfer function was (1/gm) / (1/gm + Cf). What is Cf (C feedback?), which transistor is this "gm" referring to, and how does the equivalent impedance of some node affect gm?
Back to top
 
 
View Profile   IP Logged
Vladislav D
Community Member
***
Offline



Posts: 76
The Netherlands
Re: Miller Compensation and Low Impedance Nodes
Reply #8 - Feb 2nd, 2012, 12:37pm
 
SoliS wrote on Feb 2nd, 2012, 7:10am:
I also do not understand how you derived that the Feedback transfer function was (1/gm) / (1/gm + Cf). What is Cf (C feedback?), which transistor is this "gm" referring to, and how does the equivalent impedance of some node affect gm?

Yep, instead of Cf, of course should be 1/sCf
gm is a transconductance of the source follower. Cf is a compensation capacitor I derive this transfer function by putting a voltage source at the output and see what voltage I get at node 'B'.
I don't connect Cc between the nodes A and B. I am just saying that placing Cc between output and 'B' will not work. Ideally, you would like zero output impedance of the follower. Now, imagine that you have it. In this case, how does the Cc affects voltage at the gate of MN2? The answer is it does not. So, there is no feedback and so, there is no pole splitting.
Back to top
 
 
View Profile   IP Logged
SoliS
Junior Member
**
Offline



Posts: 14

Re: Miller Compensation and Low Impedance Nodes
Reply #9 - Feb 2nd, 2012, 12:47pm
 
Vladislav D wrote on Feb 2nd, 2012, 12:37pm:
Yep, instead of Cf, of course should be 1/sCf
gm is a transconductance of the source follower. Cf is a compensation capacitor I derive this transfer function by putting a voltage source at the output and see what voltage I get at node 'B'.


Ahh, that makes perfect sense. I do know that the equivalent resistance looking into the source of an active device is 1/gm (neglecting body effect). This is very helpful. So the voltage at node B will be dependent on the feedback transfer function and also on the equivalent small-signal resistance to ground at Node B, which is 1/gm, or "low."

Putting the test source at the output node makes all of this make sense. Of course in my case it will not be 1/sCf but rather Rc + 1/sCf. Should still work out similarly as just about everything at that node is strongly affected by the low impedance.

I finally got my hands on a copy of the Razavi book and chapter 10 talks about compensating a telescopic cascode OTA cascaded with a common source second gain stage, like I have here. It's very helpful so far; Simulations show that my level shifter has no real effect on the frequency response except for some weird poles and zeros that are 3 decades higher than the unity gain freq, so Razavi's analysis seems to hold true for my circuit as well. (though I am not driving a load capacitance, only a moderate resistance, so that saves me the trouble of one additional pole.
Back to top
 
 
View Profile   IP Logged
Xiaolang
New Member
*
Offline



Posts: 1

Re: Miller Compensation and Low Impedance Nodes
Reply #10 - Feb 24th, 2012, 5:35pm
 
this is easy to understand.
there are three poles in the circuit (assuming OTA is one-pole system), Pa, Pb and Pout.

if connect Cc at the SF output and the opamp output, this will move Pb to zero, and push Pout far away, then Pa now is dominant, your circuit stability is determined by the position of Pb and Pout after compensation; might be still unstable.

if use the one you modified, the dominant pole is Pa, even closer to zero, the Pb is very far away, safely say, we can ignore it; Pout is pushed away to high freq, so the system is more stable.
Back to top
 
 
View Profile   IP Logged
sushanth
New Member
*
Offline



Posts: 3
Los Angeles
Re: Miller Compensation and Low Impedance Nodes
Reply #11 - Mar 6th, 2012, 4:24am
 
Hi Vladislav D,
  But why do you say connecting Cc between 'B' and ouput will not help in moving the pole? Due to the gain offered by the output stage, still there will be pole splitting. And actually it is better, since the feedback signal will not affect the gate of MN2, which means we eliminate the zero which will occur if gate of MN2 is not low impedance.
Back to top
 
 
View Profile   IP Logged
Vladislav D
Community Member
***
Offline



Posts: 76
The Netherlands
Re: Miller Compensation and Low Impedance Nodes
Reply #12 - Mar 6th, 2012, 7:21am
 
sushanth wrote on Mar 6th, 2012, 4:24am:
Hi Vladislav D,
  But why do you say connecting Cc between 'B' and ouput will not help in moving the pole? Due to the gain offered by the output stage, still there will be pole splitting. And actually it is better, since the feedback signal will not affect the gate of MN2, which means we eliminate the zero which will occur if gate of MN2 is not low impedance.
 

Hi,
First of all, the zero u r talking about appears due to feedforward path, and one of the way to eliminate it is to put a buffer in the feedback path. This is a bit different from what is shown in the schematic.

Normally, during the compensation, the second pole goes to the higher frequency since output impedance of the second stage decreases due to feedback, formed by Cc. However, in this circuit. impedance at point B is equal to 0 and so, there is no feedback
Back to top
 
 
View Profile   IP Logged
sushanth
New Member
*
Offline



Posts: 3
Los Angeles
Re: Miller Compensation and Low Impedance Nodes
Reply #13 - Mar 6th, 2012, 9:24pm
 
Hi,

At node B the impedance is low @ lower frequency but @ higher frequency it sees the o/p impedance of the OTA. So, still the feedbcak due to Cc will have its effect.
Back to top
 
 
View Profile   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.