electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

About a Two-stage op amp


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout -> About a Two-stage op amp
Author Message
8k-rom



Joined: 13 May 2006
Posts: 24


Post14 Dec 2006 5:35   

how to simulate open loop gain


In order to simulate AC response of a two stage op amp,I designed a two stage op amp according to Allen book CMOS Analog Circuit Design fig6.3-3....

But,while .op analyse with Hspice,I found the voltage between drain and source of M7 is so small....

Actually,I designed it according to Allen book's example 6.3-1 ,and simulated with TSMC.35 tec....

who can help me??

Thanks in advance!



Sorry, but you need login in to view this attachment

Back to top
jonashat



Joined: 07 Sep 2005
Posts: 75
Helped: 5


Post14 Dec 2006 6:10   

About a Two-stage op amp


Are you sure about the biasing? How is the first stage doing?

You might have a systematic offset?

One quick check, short the output to the negative terminal and the positive terminal to whatever common mode you expect to see at the output, then run .op again.
Back to top
Google
AdSense
Google Adsense




Post14 Dec 2006 6:10   

Ads




Back to top
8k-rom



Joined: 13 May 2006
Posts: 24


Post14 Dec 2006 6:54   

About a Two-stage op amp


Thanks ,jonashat...
Actually last time I havd shorten the output to negtive terminal,and found that all mos transistor are in saturation region. Foremore,if I connect the output and negtive teminal with a large resistance,for example,20MEGOHM,and all mos transistor are also in saturation.

Of course,I give the positive teminal a bias about 1.8v....But I think all transistor should in saturation
region without the feedback resistance or short wire.

Is that right?
Back to top
jonashat



Joined: 07 Sep 2005
Posts: 75
Helped: 5


Post14 Dec 2006 7:47   

About a Two-stage op amp


That sounds right..
I think that leaves us with the systematic offset issue.

You need to resize your transistors to satisfy the following:

W4/(0.5 * W5) = W6/W7

And in your case, you're way off this relation

You said that you have followed P. Allen's book, I don't remember if he actually talked about systematic offset, but regardless this relation should be satisfied.
Back to top
8k-rom



Joined: 13 May 2006
Posts: 24


Post14 Dec 2006 8:49   

Re: About a Two-stage op amp


jonashat wrote:
That sounds right..
I think that leaves us with the systematic offset issue.

You need to resize your transistors to satisfy the following:

W4/(0.5 * W5) = W6/W7

And in your case, you're way off this relation

You said that you have followed P. Allen's book, I don't remember if he actually talked about systematic offset, but regardless this relation should be satisfied.


Thanks,jonashat...
Someone told me to reduce the ratio of (W/L)7,so I adjusted the over-voltage of M3,4 form 0.4v to 0.25V...Then resized most of the transistors . Now ,the circuit work well while .op analyse.....

After receiving you reply,I found the new design satisfy the relation of your reply...I have never seen this equation before.Where does it come from?

Another problem is how to simulate open-loop gain with Hspice??
According to Allen book,I connected a large resistance between out and in-,and a large capacitance from in- to gnd....But the curve is not good at all.
And I set as follow:

**************
xop1 vdd gnd in- in+ out twostage_ac

Vin1 in+ gnd dc 1.8 ac 1
R out in- 20gohm
C in- gnd 0.01

.ac dec 10 1 10meg
.print ac vdb(out) vp(out)
.probe
.end
*******************

Is there anything wrong?

Added after 8 minutes:

Of course,if I modify the stop Fre. from 10meg to 2k...
then I can get a curve,and it looks good...

But I think it is not the answer....

What about you opinion??



Sorry, but you need login in to view this attachment

Back to top
jonashat



Joined: 07 Sep 2005
Posts: 75
Helped: 5


Post14 Dec 2006 9:16   

Re: About a Two-stage op amp


8k-rom wrote:
After receiving you reply,I found the new design satisfy the relation of your reply...I have never seen this equation before.Where does it come from?


I think you can find in some analog design books like Grey and Meyer or Johns and Martin. Just look for systematic offset and you should get a very similar equation. It basically tells you that since M5 and M7 are scaling the currents with a certain ration and since M4 and M6 have the same Vgs, then M4 and M6 should be sized to maintain the same current density.

8k-rom wrote:

Another problem is how to simulate open-loop gain with Hspice??
According to Allen book,I connected a large resistance between out and in-,and a large capacitance from in- to gnd....But the curve is not good at all.
And I set as follow:

**************
xop1 vdd gnd in- in+ out twostage_ac

Vin1 in+ gnd dc 1.8 ac 1
R out in- 20gohm
C in- gnd 0.01

.ac dec 10 1 10meg
.print ac vdb(out) vp(out)
.probe
.end
*******************

Is there anything wrong?

Added after 8 minutes:

Of course,if I modify the stop Fre. from 10meg to 2k...
then I can get a curve,and it looks good...

But I think it is not the answer....

What about you opinion??


1. Scale the x-axis in a logarithmic scale, so that everyone can see it clearly.
2. Simulate till gain is 0dB. (I want to see the unity gain frequency)
3. What is the gm of the input diff pair and what's the load cap that you're driving?
Back to top
8k-rom



Joined: 13 May 2006
Posts: 24


Post14 Dec 2006 11:54   

Re: About a Two-stage op amp


Quote:


1. Scale the x-axis in a logarithmic scale, so that everyone can see it clearly.
2. Simulate till gain is 0dB. (I want to see the unity gain frequency)
3. What is the gm of the input diff pair and what's the load cap that you're driving?


Actually,I don't know how to set the x-axis in log scale previously....

Maybe I have got the answer....Because I have not set the X-axis,the curve looks
not good at all....

Thanks!!

The figure in this attachment looks nice now.



Sorry, but you need login in to view this attachment

Back to top
magicdog



Joined: 01 Mar 2006
Posts: 4


Post20 Dec 2006 7:16   

About a Two-stage op amp


putting ur mouse right click x-axis u can choose logarithmic scale
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout -> About a Two-stage op amp
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Two Stage Op Amp Compensation (5)
Design of two stage Op-amp (2)
Stability on design two stage op-amp (3)
request, any materials in two stage op amp (2)
CMFB in two stage differential CMOS amp. (4)
how to place nulling resistor in two-stage op amp? (13)
Wired Behaviour of Current Mirror in two stage OP-AMP (1)
Query of inut offset voltage of two stage op-amp (3)
two stage op-amp - nmos or pmos input question (1)
Two Stage Op Amp Design - request for resources (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS