The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 16th, 2024, 5:40am
Pages: 1 2 
Send Topic Print
negative feedback becomes positive feedback? (Read 1325 times)
sapphire
Community Member
***
Offline



Posts: 37

negative feedback becomes positive feedback?
Jan 04th, 2011, 1:57pm
 
Hi,

I am simulating the AC response of a unity-gain feedback amplifier using Spectre stb analysis. It works fine for most corners. But for some corners such as slow-fast(t=-40,125; vdda=2.05), the loop phase suddenly change to 0 degree at DC (it's supposed to be 180 degree). That means positive feedback! It's so werid. Is it a problem of spectre or a problem of the circuit? The simulation includes post-layout extraction.

Thanks
Sapphire
Back to top
 
 
View Profile   IP Logged
rfidea
Senior Member
****
Offline



Posts: 159
Europe
Re: negative feedback becomes positive feedback?
Reply #1 - Jan 4th, 2011, 11:01pm
 
Hi Sappire!

How does the phase curve looks like when the frequency increases from 0Hz. Does it increase up to +90deg, flats out and then falls of again towards 0deg and beyond that? In such case your circuit is stable, if the phase margin at the real 0dB crossing is sufficiant.

It is hard to have an explaination of the behavoural without looking at the circuit.
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 677
Munich, Germany
Re: negative feedback becomes positive feedback?
Reply #2 - Jan 5th, 2011, 7:27am
 
This behavior usually is due to some asymmetry in a differential circuit. In your case, this asymmetry probably comes from the post-layout extraction. I have also seen this behavior during mismatch Monte Carlo analysis.

The attached pdf file shows a simple circuit that duplicates this behavior. It models an amplifier with some coupling from the output to the positive input. Depending on the amount of coupling, you get either 180 degrees or 0 degrees at low frequencies.

Like ssahl already mentioned, this behavior usually does not indicate a stability problem. To convince yourself (or others), you can use the Nyquist stability criterion (see http://www.designers-guide.org/Forum/YaBB.pl?num=1244840188 and http://www.designers-guide.org/Forum/YaBB.pl?num=1217822985).

In my example circuit, the strange behavior is due to the fact that there is a second loop in the circuit that does not include the stb probe Vprobe. If I redraw the circuit so that Vprobe is part of both loops (see the second circuit in the attached pdf file), the strange behavior disappears.
Back to top
 
View Profile WWW   IP Logged
sapphire
Community Member
***
Offline



Posts: 37

Re: negative feedback becomes positive feedback?
Reply #3 - Jan 5th, 2011, 12:55pm
 
Hi Frank,

Your plots look exactly the same as mine. Do you know why asymmetry in layout would causes this strange behavior? Is it a bug in spectre stb analysis?

Thanks,
Sapphire
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 677
Munich, Germany
Re: negative feedback becomes positive feedback?
Reply #4 - Jan 5th, 2011, 3:25pm
 
No, it's not a bug in stb analysis. It's an artifact due to the fact that there are other loops in the circuit that do not include the stb probe. If you take my example circuits and do a detailed analysis with Spectre (or on paper), you will see how this can happen. Please see http://www.designers-guide.org/Forum/YaBB.pl?num=1201763532 for the limitations of stb analysis with respect to multiple loops.

Here's how you can analyze my example circuit: Because the impedance looking forward from Vprobe (into the controlling pin of Gota) is infinite, the loop gain is equal to the voltage loop gain in this case. The voltage loop gain is the ratio V(outp)/V(inn) when Vprobe is the only active independent source in the circuit. So, you can set Vin to 0V and Vprobe (DC and AC amplitudes) to 1V and do dc and ac analyses. If you annotate the DC node voltages to the circuit, you will quickly see why you get different positive and negative values for the DC loop gain when you vary the gain of the controlled source Ep.
Back to top
 
« Last Edit: Jan 6th, 2011, 2:55am by Frank Wiedmann »  
View Profile WWW   IP Logged
Milind
New Member
*
Offline



Posts: 7

Re: negative feedback becomes positive feedback?
Reply #5 - Mar 11th, 2013, 1:11pm
 
Frank Wiedmann wrote on Jan 5th, 2011, 7:27am:
....To convince yourself (or others), you can use the Nyquist stability criterion (see http://www.designers-guide.org/Forum/YaBB.pl?num=1244840188 and http://www.designers-guide.org/Forum/YaBB.pl?num=1217822985).



Hi Frank,
     I saw your post and example and found it very informative. Thanks. I don't understand though is why would the nyquist plot give any different result? Do you mean generate the loopgain data from something other than stb analysis? Or use the same stb analysis data to generate the nyquist plot?

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



Posts: 677
Munich, Germany
Re: negative feedback becomes positive feedback?
Reply #6 - Mar 11th, 2013, 2:05pm
 
If you do Nyquist plots of the loop gain data shown (which were generated by stb analysis), they will all indicate that the circuit is stable.
Back to top
 
 
View Profile WWW   IP Logged
Milind
New Member
*
Offline



Posts: 7

Re: negative feedback becomes positive feedback?
Reply #7 - Mar 11th, 2013, 5:15pm
 
Here are the plots I got. I plotted the loop gain in the real vs Imag plot and in 1 graph the real part is positive and in the other it is negative. If drawn for negative frequencies 1 of them will go around -1. What am I doing wrong?

Thanks.
Back to top
 

Gain1p01m.PNG
View Profile   IP Logged
Milind
New Member
*
Offline



Posts: 7

Re: negative feedback becomes positive feedback?
Reply #8 - Mar 11th, 2013, 5:15pm
 
This is the second graph
Back to top
 

Gainp9m.PNG
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 677
Munich, Germany
Re: negative feedback becomes positive feedback?
Reply #9 - Mar 12th, 2013, 1:36am
 
Please note the following two points:

The loop gain as calculated by the stb analysis uses a slightly unusual sign convention (see http://www.designers-guide.org/Forum/YaBB.pl?num=1124688329). So, you either need to turn the Nyquist plot by 180 degrees or look at the encirclements of +1.

The Nyquist Stability Criterion looks at clockwise encirclements of the critical point (see http://en.wikipedia.org/wiki/Nyquist_stability_criterion).
Back to top
 
 
View Profile WWW   IP Logged
Milind
New Member
*
Offline



Posts: 7

Re: negative feedback becomes positive feedback?
Reply #10 - Mar 14th, 2013, 11:00am
 
Hi Frank,
      Thank you for the links and the information. I better understand this now. After looking into this now I have another question, The nyquist plot with the gain of 1.01m encircles the +1 point in the anticlockwise direction, this says that the loop gain has a Right half plane Pole but from the derivation of the loop gain expression:

-Vo/Vi = RGm/[(1+GRGm)+sRC]

it is clear that there is no RHP pole.  So that means the creation of the RHP Pole is an artifact of applying the stb analysis in a multiple loop system without breaking all the loops. Is my interpretation correct?

Thanks,
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: negative feedback becomes positive feedback?
Reply #11 - Mar 14th, 2013, 1:38pm
 
hello milind,

1. Nyquist criterion says closed loop RHP-open loop RHP=clockwise encirclement, So if you know about open loop RHP, number of encirclement's then you could comment on stability. But here you don't know about your open loop then you can't determine stability.

2. You have ignored few parasitic's like cgd which creates RHP zero and many like this.  What is your circuits.


Thanks,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: negative feedback becomes positive feedback?
Reply #12 - Mar 14th, 2013, 1:38pm
 
hello milind,

1. Nyquist criterion says closed loop[b] RHP-open loop RHP=clockwise encirclement[/b], So if you know about open loop RHP, number of encirclement's then you could comment on stability. But here you don't know about your open loop then you can't determine stability.

2. You have ignored few parasitic's like cgd which creates RHP zero and many like this.  What is your circuits.


Thanks,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: negative feedback becomes positive feedback?
Reply #13 - Mar 14th, 2013, 1:39pm
 
hello milind,

1. Nyquist criterion says closed loop RHP-open loop RHP=clockwise encirclement, So if you know about open loop RHP, number of encirclement's then you could comment on stability. But here you don't know about your open loop then you can't determine stability.

2. You have ignored few parasitic's like cgd which creates RHP zero and many like this.  What is your circuits.


Thanks,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
Milind
New Member
*
Offline



Posts: 7

Re: negative feedback becomes positive feedback?
Reply #14 - Mar 14th, 2013, 4:15pm
 
raja.cedt wrote on Mar 14th, 2013, 1:39pm:
hello milind,

1. Nyquist criterion says closed loop RHP-open loop RHP=clockwise encirclement, So if you know about open loop RHP, number of encirclement's then you could comment on stability. But here you don't know about your open loop then you can't determine stability.

2. You have ignored few parasitic's like cgd which creates RHP zero and many like this.  What is your circuits.


Thanks,
Raj.


Hi Raj,
        I am just analyzing and simulating the circuit given by Frank in the earlier post. That does not have any parasitics it is a simple single pole circuit. I derived its loop gain based on the stb setup shown in the pdf which produces the problem of 0 phase at DC.
  Since my nyquist plot is encircling +1 which is equivalent to encircling -1 if I correct for the sign by stb analysis, that means an anticlockwise encirclement of the -1 point which in turn means my contour in the s plane contains a pole. Since my contour encircles the Right Half s-Plane that leads me to conclude that I have a pole in the right half plane.

Milind
Back to top
 
 
View Profile   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.