The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 2nd, 2024, 11:18am
Pages: 1 2 3 
Send Topic Print
uncompensated opamp - frequency of oscillation (Read 20539 times)
Praveen K
Junior Member
**
Offline



Posts: 25
Bangalore
uncompensated opamp - frequency of oscillation
Sep 23rd, 2011, 3:37am
 
Hi guys,

What would be the frequency and amplitude of oscillation of an uncompensated opamp?

I've attached a zip file with three waveforms. it is the simulation result of an uncompensated two stage opamp (PMOS input pair) in unity negative feedback configuration. I've shown the frequency response of STB analysis, transient response with VIN_P pulled slowly to 2V and then a fast jump to 3V and back. Third waveform is the zoomed version of the transient to show the frequency of oscillation.

As you can see the oscillation is at 153MHz with amplitude of 805mV. From frequency response, the frequency at which phase margin becomes zero is around 130Mhz,

1. so why is the oscillation is at 153Mhz instead of 130Mhz?

2. which factor decides the amplitude of oscillations?

Thanks to all the guys who post on this forum, i've learnt a lot from their posts.
especially the posts from VIVKR, raja.cedt, loose-electron, RobG where very informative and helpfull. Thank you guys  :)

Praveen  

Back to top
 
View Profile praveenjthomas   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: uncompensated opamp - frequency of oscillation
Reply #1 - Sep 23rd, 2011, 4:24am
 
Hi Praveen,
For oscillation you need gain of 1; if you have gain > 1 (as you do at zero phase-margin frequency for uncompensated opamp), the signal amplitude will increase until large-signal behaviour of the opamp limits (gain and thus) amplitude.
In this mode, your opamp is non-linear, so you need more parameters than the small-signal frequency response to describe it.

B O E
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: uncompensated opamp - frequency of oscillation
Reply #2 - Sep 23rd, 2011, 6:08am
 
hello pravin,
Always try to post figs rather than giving some zip files, people may not have time to open.

Coming to your opamp, it has 5 deg PM so it will give damped oscilations and frequency of the opamp keep on changing because of damping. Aproximatly  you can say frequency of oscilations is wn*sqrt(1-g^2) where g is damping factor. By the way have you verified how frequency is varing with time, i guess it will.

Idealy oscilations occur only at the frequency where gain=1 and Phase=180, but here it is not happening, eventually some non-linerities makes your gain lower or some thing, finally it will get a point where it can oscilate.

Please refere pg 491 in razaavi to get more info.

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



Posts: 615

Re: uncompensated opamp - frequency of oscillation
Reply #3 - Sep 23rd, 2011, 7:29am
 
Hi,
Just to clarify, in my post I meant large-signal gain of 1 (see Razaavi as raja.cedt suggested).

@Raj: good points, although it is -5° PM, so I would expect not damping but increasing amplitude.
Also note that this is a higher-order system with zero(s), so the PM stability criterion needs to be taken with a pinch of salt.

B O E
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: uncompensated opamp - frequency of oscillation
Reply #4 - Sep 23rd, 2011, 8:42am
 
hello boe,
yes you are correct. It is very difficult to estimate every thing through bode because phase is no monotonic.

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



Posts: 112
Hampshire
Re: uncompensated opamp - frequency of oscillation
Reply #5 - Sep 23rd, 2011, 8:47am
 
Here are my thoughts ...
a) Transient and AC simulations are different in real life ... Your transient sims is the large signal behaviour (certainly ~0.8V swings classify as large signal), while AC sims are purely small signal and indicative of the performance.
b) If you re-simulate your AC sims across the different DC operating points (i.e. where you see the transient oscillation), I think you will find that the osc freq is different (but close to 153MHz).
c) Another point to note is how you are breaking your AC loop. If not done correctly, the effects of loading may be ignored. My simulator implements Middlebrook's method.
d) Oscillation is bad in op-amps ... any hint of a possibility of oscillation has to be dealt with ... especially if you have differential outputs ... that common mode oscillation catches out even the most experienced designer.

let us know what you think and what you find ...
Back to top
 
 
View Profile   IP Logged
Praveen K
Junior Member
**
Offline



Posts: 25
Bangalore
Re: uncompensated opamp - frequency of oscillation
Reply #6 - Sep 23rd, 2011, 11:31am
 
@BOE : you are right to note that at ~153Mhz the phase margin has already crossed 0deg and it has a margin of -5deg, why do you say that since its is -5deg, its amplitude should be increasing, could you please give me a reference for this reasoning?
If things are not deducible from PM plot, then nyquist plot is only other one, but how do i find my oscillating freq. from it? all i know is that it goes in circles around that (-1,0)  :)

@raja.cedt : there was no provision for me to attach more than one file in a single post, that's why i had no choice but zip it.
how do i find this natural freq. Wn of this system?
I checked the transient (conservative) simulation, the freq doesn't change much it hovers around that 153MHz through out, in fact the amplitude is also the same through out. thanks for you reference at razavi, i'm reading it.

@harpoon: b) you are right, the osc freq hovers around 153Mhz
c) my loop break point is correct and i'm doing an STB analysis which actually does middlebrook's, so loading issues on both side taken care off.

As you all pointed out its a large signal behaviour, can i reason like this, when the sudden jump happens at VIN_P, the VIN_N tries to catch up but over shoots, once overshot little bit, that is amplified by the gain and the reponse comes after the delay of the first stage, then the second stage amplifies and the reponse comes after the delay of the second stage, by this time it has overshot in the other direction Cheesy
so can i say the amplitude will depend on the delay in the two stages and its gain?

thank you Boe, Raja and harpoon for your precious time in replying,
thanks,
Praveen
Back to top
 
 
View Profile praveenjthomas   IP Logged
harpoon
Senior Member
****
Offline



Posts: 112
Hampshire
Re: uncompensated opamp - frequency of oscillation
Reply #7 - Sep 23rd, 2011, 1:46pm
 
Hi praveen, i am confused by your reply ...

does your ac sims at various dc operating points indicate that the osc frequency is at 153 MHz?

Another sim you can run is an AC in the middle of a transient to confirm that it does oscillate at 153mhz.
Back to top
 
 
View Profile   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: uncompensated opamp - frequency of oscillation
Reply #8 - Sep 24th, 2011, 1:34am
 
@BOE : you are right to note that at ~153Mhz the phase margin has already crossed 0deg and it has a margin of -5deg, why do you say that since its is -5deg, its amplitude should be increasing, could you please give me a reference for this reasoning?
If things are not deducible from PM plot, then nyquist plot is only other one, but how do i find my oscillating freq. from it? all i know is that it goes in circles around that (-1,0)  :)


When the PM is negative, the closed-loop pole is in the RHP of the s-plane. This has two effects:
* the factor "sigma" is positive leading to a rising sinusoidal signal ,
* the frequency of this signal is NOT identical to the frequency that can be observed for the case PM=0 (loop gain= 0 dB).
Back to top
 
 

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



Posts: 529
Bremen, Germany
Re: uncompensated opamp - frequency of oscillation
Reply #9 - Sep 24th, 2011, 7:40am
 
Question Praveen: so can i say the amplitude will depend on the delay in the two stages and its gain?


The delay around the loop is idebtical to a (frequency dependent) phase shift. Thus, the whole oscillation condition (i.e. frequency and amplitude characteristics) depend on this delay.
remark: In control systems very often there are (unwanted) delays that are called "dead time" - and they considerably can reduce the phase margin.
Back to top
 
 

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



Posts: 25
Bangalore
Re: uncompensated opamp - frequency of oscillation
Reply #10 - Sep 26th, 2011, 12:03am
 
@buddypoor: Thanks for your explanation, i understand the idea of increasing exponential in time when in negative phase margin.

@Harpoon: simulating the system at different DC points changes the gain a little bit, the oscillation freq. remains the same around 153Mhz.

@raja.cedt: why should the oscillations change with time? why should the oscillations be damped?

after some middling around with the output pole and the output stage, my conclusions are these,

1. The oscillation frequency: is around the freq where PM goes to 0 (and gain > 1dB) ( brokewson's criteria)  

2. The amplitude of oscillation: ideally speaking it the supply limits, as its a growing exponential. But it depends on our output stage current capability, in the simulation shown in my first post, the output stage is just current source with common source stage (class A type), which obviously has very less current capability to pull the output to supply rails in that oscillating frequency, so the oscillations appeared damped but it is not. So if i had a class AB with high current output, then output amplitude is just the supply rails. The oscillations are never damped!!!

thanks,
Praveen
Back to top
 
 
View Profile praveenjthomas   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: uncompensated opamp - frequency of oscillation
Reply #11 - Sep 26th, 2011, 1:17am
 
Hi Praveen,

I am quite familiar with oscillation criteria but i never have heard about brokewson's criteria
Please, could you give me some information about that?
Thanks.
Back to top
 
 

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



Posts: 25
Bangalore
Re: uncompensated opamp - frequency of oscillation
Reply #12 - Sep 26th, 2011, 2:15am
 
hi buddypoor,


sorry about the spelling, its 'Barkhausen criteria' . you can google it.

typo in my reply---- it should be gain>1 not 1dB.

regards,
praveen
Back to top
 
 
View Profile praveenjthomas   IP Logged
buddypoor
Community Fellow
*****
Offline



Posts: 529
Bremen, Germany
Re: uncompensated opamp - frequency of oscillation
Reply #13 - Sep 26th, 2011, 3:45am
 
ok, no problem. Such things happen from time to time.
But be aware that the Barkhausen criterion is only a necessary one - it is not sufficient to guarantee oscillations. For my opinion and knowledge, a sufficient oscillation criterion is still missing. But I am working on it.
Back to top
 
 

LvW (buddypoor: In memory of the great late Buddy Rich)
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: uncompensated opamp - frequency of oscillation
Reply #14 - Sep 26th, 2011, 4:08am
 
hello buddypoor,
What i feel is if any system has clossed loop gain>1 and phase is 0, then it start blowing up and if there any non-linerity eventually it will make your gain =1 and this what i feel is criterion for oscilations. Please corect me if am wrong.

i didn't understand your post regaring some thing missing in Barkhausen criterion. Could you please explain  this.

Thnaks,
Raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
Pages: 1 2 3 
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.