The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Oct 1st, 2024, 3:27pm
Pages: 1 2 
Send Topic Print
Help on opamp design (Read 4884 times)
Vabzter
Junior Member
**
Offline



Posts: 26
Sweden
Help on opamp design
Feb 07th, 2007, 11:16pm
 
Hi all,
        I am new to analog design as was wondering how do experienced analog designers design their circuits. For e.g take a 2 stage opamp...

1. In school they gave us the process parameters(un,cox,vth,..) for .35um process. But if you are designing for 90nm technology how to find these values.One way I know is to put the transistor in triode region and plot Id vs Vgs.I get the slope from that graph and by this eqn  Slope = k * W/L* Vds I can find the value of k. Is this method correct?

2. How to design if one does not know un,Cox values?

3. Is there any generalized method to design a 2 stage opamp?

Thanks
BR
Vabzter
Back to top
 
 
View Profile   IP Logged
Croaker
Senior Member
****
Offline



Posts: 235

Re: Help on opamp design
Reply #1 - Feb 8th, 2007, 5:13am
 
The short answer is that none of the square-law equations work, but you can use them to figure out the basic operating principles.  Small-signal stuff is always true for design, but you need a simulator to get actual values, e.g. ro, gm.

CMOS Analog Design by Allen has a general procedure.  That might be useful, but having a detailed spec is the starting point.
Back to top
 
 
View Profile   IP Logged
topquark
Community Member
***
Offline



Posts: 61
Thames Valley, UK
Re: Help on opamp design
Reply #2 - Feb 8th, 2007, 6:00am
 
Also, take a look at Berkeley's course
http://bwrc.eecs.berkeley.edu/classes/ee140/

You've also got webcast lectures where there's a nice discussion of a real-world project- a 2-stage op amp design.
It goes through all practical stuff including simulator pitfalls, hand calculations and design trade-offs

Good Luck!

Gau
Back to top
 
 
View Profile   IP Logged
Vabzter
Junior Member
**
Offline



Posts: 26
Sweden
Re: Help on opamp design
Reply #3 - Feb 8th, 2007, 7:23am
 
Hi,
     Thanks for the replies..But still I am not sure how to find the values of k(=un*Cox) for a perticular technology as we need these values for doing hand calculations..
BR
Vabzter
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Help on opamp design
Reply #4 - Feb 8th, 2007, 10:29am
 
Vabzter wrote on Feb 8th, 2007, 7:23am:
Hi,
     Thanks for the replies..But still I am not sure how to find the values of k(=un*Cox) for a perticular technology as we need these values for doing hand calculations..
BR
Vabzter



I don't worry about those things...  You can do a lot by simply knowing that gm=2*I/Vod, where Vod=(Vgs-Vt).   You don't need to know what K' or Vt is to tune Vgs-Vt.... if it is too big, make the devices wider or lengths shorter.  You can get Vgs-Vt from the DC operating point information.  Vdsat is close to the same quantity -- it is what I usually look at.  Hand calculations that use more than Gm have limited use in the design process.... everything interesting is determined by parasitics or nonideal effects (plus Vt and K' change depending on operating point, sizes, etc).

Opamp design is pretty simple (ok, that is a gross exageration)....  You give the diff pair high gm, and the load (current mirror) low gm.  If you don't, you get a bad op-amp.  End of story Wink.

For a given current, all you can do is change Vod.  150mV is a reasonable target for Vod for the diff pair.  Lower than that, the diff pair gets into weak inversion and wider widths offer only small improvements (i.e. diminishing returns).  2-400mV is a good target for the mirrors.  Since Vod =~ Vdsat, the upper limit is usually set by the amount of headroom you have.  

From that basic starting point you can play with the sizes to suit your particular situation (keeping current fixed and lengths as small as you can).  If your diff pair is causing frequency response problems you need to make it smaller, which will likely decrease gm (because Vod is increased).  Similarly, making the mirrors smaller (increasing Vod) will increase their frequency response (lower Cgs), but it may make other problems - like headroom or an inability to drive cap loads.  If you cannot fix things by changing Vod, your only other choice is to increase current (or change topologies).  

That said, the first thing I do when I get a new process is to plot the Vt vs. Width for various lengths of devices.  You get the Vt information from the DC operating point (just diode connect the devices and put 1uA thru them and do a parametric anlysis sweeping width and length).  You will find that Vt is a strong function of length and width for smaller geometries.  It is also instructive to plot gm/I vs Vgs-Vt for various sized devices, as well as Vt vs bulk-source voltage.  Armed with a few of these plots you can get most of the information you need.  Note that, in some sense, this is determining K' and other parameters, but since they are functinos of device sizes it put them in a more usable format.

rg
Back to top
 
 
View Profile   IP Logged
mg777
Senior Member
****
Offline



Posts: 131

Re: Help on opamp design
Reply #5 - Feb 9th, 2007, 5:47am
 

RobG, thanks for the succint and illuminating tutorial on op-amp design. In particular I liked the relation between gm and headroom.

I once read an IEEE JSSC (Red Journal) paper that showed how an op-amp's Ad, CMRR, and PSRR are mutually related by trade-offs. Anyone remember this paper, or an equivalent reference?

M.G.Rajan
www.eecalc.com

Back to top
 
 
View Profile   IP Logged
Vabzter
Junior Member
**
Offline



Posts: 26
Sweden
Re: Help on opamp design
Reply #6 - Feb 12th, 2007, 2:23am
 
RobG wrote on Feb 8th, 2007, 10:29am:
Vabzter wrote on Feb 8th, 2007, 7:23am:
Hi,
     Thanks for the replies..But still I am not sure how to find the values of k(=un*Cox) for a perticular technology as we need these values for doing hand calculations..
BR
Vabzter



I don't worry about those things...  You can do a lot by simply knowing that gm=2*I/Vod, where Vod=(Vgs-Vt).   You don't need to know what K' or Vt is to tune Vgs-Vt.... if it is too big, make the devices wider or lengths shorter.  You can get Vgs-Vt from the DC operating point information.  Vdsat is close to the same quantity -- it is what I usually look at.  Hand calculations that use more than Gm have limited use in the design process.... everything interesting is determined by parasitics or nonideal effects (plus Vt and K' change depending on operating point, sizes, etc).

Opamp design is pretty simple (ok, that is a gross exageration)....  You give the diff pair high gm, and the load (current mirror) low gm.  If you don't, you get a bad op-amp.  End of story Wink.

For a given current, all you can do is change Vod.  150mV is a reasonable target for Vod for the diff pair.  Lower than that, the diff pair gets into weak inversion and wider widths offer only small improvements (i.e. diminishing returns).  2-400mV is a good target for the mirrors.  Since Vod =~ Vdsat, the upper limit is usually set by the amount of headroom you have.  

From that basic starting point you can play with the sizes to suit your particular situation (keeping current fixed and lengths as small as you can).  If your diff pair is causing frequency response problems you need to make it smaller, which will likely decrease gm (because Vod is increased).  Similarly, making the mirrors smaller (increasing Vod) will increase their frequency response (lower Cgs), but it may make other problems - like headroom or an inability to drive cap loads.  If you cannot fix things by changing Vod, your only other choice is to increase current (or change topologies).  

That said, the first thing I do when I get a new process is to plot the Vt vs. Width for various lengths of devices.  You get the Vt information from the DC operating point (just diode connect the devices and put 1uA thru them and do a parametric anlysis sweeping width and length).  You will find that Vt is a strong function of length and width for smaller geometries.  It is also instructive to plot gm/I vs Vgs-Vt for various sized devices, as well as Vt vs bulk-source voltage.  Armed with a few of these plots you can get most of the information you need.  Note that, in some sense, this is determining K' and other parameters, but since they are functinos of device sizes it put them in a more usable format.

rg


Hi RobG
             Thanks for the comprehensive guide to design. It certainly cleared most of my doubts. One more question..I want to drive a 35pF load at the output of opamp. The current consumption should be less and in range of 50uA. Which config should I use..will a simple 2 stage amplifier work or should I go for Folded Casode one? The supply is 1.8V.
Thanks a lot for your help
BR
Vabzter
Back to top
 
 
View Profile   IP Logged
panditabupesh
Community Member
***
Offline



Posts: 36
Toronto
Re: Help on opamp design
Reply #7 - Feb 13th, 2007, 8:02am
 
Whether to use a two-stage  or folded-cascode Opamp  depends upon the output swing you want from the Opamp. You can not have rail-to-rail swing from a single-stage Opamp,  also the folded-cascode Opamp will have higher power dissipation.  An  advantage of using folded-cascode would be that it can be compensated by the load capacitor - that makes it easier to behave.

Bupesh
Back to top
 
 
View Profile   IP Logged
Croaker
Senior Member
****
Offline



Posts: 235

Re: Help on opamp design
Reply #8 - Feb 13th, 2007, 9:46am
 
The folded-cascode amplifier is useful for increasing the ICMR.
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Help on opamp design
Reply #9 - Feb 15th, 2007, 1:55pm
 
Quote:
Hi RobG
             Thanks for the comprehensive guide to design. It certainly cleared most of my doubts. One more question..I want to drive a 35pF load at the output of opamp. The current consumption should be less and in range of 50uA. Which config should I use..will a simple 2 stage amplifier work or should I go for Folded Casode one? The supply is 1.8V.
Thanks a lot for your help
BR
Vabzter


sorry for the delay... I've been out of town at ISSCC.... Assuming you are only driving cap loads, tell me the bandwidth you are looking for, and I'll show you how I'd go about solving the problem.  



Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Help on opamp design
Reply #10 - Feb 15th, 2007, 2:01pm
 
mg777 wrote on Feb 9th, 2007, 5:47am:
I once read an IEEE JSSC (Red Journal) paper that showed how an op-amp's Ad, CMRR, and PSRR are mutually related by trade-offs. Anyone remember this paper, or an equivalent reference?


You are probably referring to the tutorial by Grey and Meyer in the Dec. 1982 issue of JSSC.  Every month this article seems to still make the top 100 IEEE most downloaded article list even after 25 years.  It is definately a must read: Click Here for article.

Rog
Back to top
 
« Last Edit: Feb 15th, 2007, 4:30pm by RobG »  
View Profile   IP Logged
Vabzter
Junior Member
**
Offline



Posts: 26
Sweden
Re: Help on opamp design
Reply #11 - Feb 16th, 2007, 6:24am
 
RobG wrote on Feb 15th, 2007, 1:55pm:
Quote:
Hi RobG
             Thanks for the comprehensive guide to design. It certainly cleared most of my doubts. One more question..I want to drive a 35pF load at the output of opamp. The current consumption should be less and in range of 50uA. Which config should I use..will a simple 2 stage amplifier work or should I go for Folded Casode one? The supply is 1.8V.
Thanks a lot for your help
BR
Vabzter


sorry for the delay... I've been out of town at ISSCC.... Assuming you are only driving cap loads, tell me the bandwidth you are looking for, and I'll show you how I'd go about solving the problem.  


Hi RobG,
            The bandwidth should be around 10Mhz. The application is it should drive a 35pF load and output must be 1.75V. It is connected to output of DAC which has output of 1.2V(for full 10bit digital input). So the amplification in closed loop should be around 1.5. I have designed a 2 stage amplifier but getting a open loop gain of 35(very low). So I was thinking which is the configuration to use in case I want to drive a large capacitive load.
Thanks a lot for your help,
BR
Vabzter
Back to top
 
 
View Profile   IP Logged
MTXamp
New Member
*
Offline



Posts: 5
Singapore
Re: Help on opamp design
Reply #12 - Feb 17th, 2007, 8:53pm
 
Hi Vabzter

The simplest and quickest way of obtaining k' is to look at your model files. If you are using spectre, you can locate your model files using the menu in the simulator's window: Setup -> Model files

k' = uCox. "u" is already given in the model file as "u0". Cox can be calculated using:

Cox = (er)(e0)/tox

er = relative permittivity of SiO2 = approx 3.9
e0 = 8.854x10e-12
tox = give in model file as "tox"

An opamp design always starts with the selection of the topology. Everything follows after that. Your specs seems quite tough: 10MHz bandwidth, drives a 35pF load, large output swing but yet the current consumption has to be about 50uA. Is it possible? : ) Seems quite a challenge to me. The book "Design of low voltage, low power operational amplifier cells" by Ron Hogervorst and Johan H Huijsing(Publisher: Kluwer Academic) might be useful for you.

Hope that this is useful for you.

Best regards
Quek
Back to top
 
 
View Profile   IP Logged
robfox68
New Member
*
Offline



Posts: 1

Re: Help on opamp design
Reply #13 - Feb 18th, 2007, 7:12am
 
Do a fundamental calculation before you start. The bandwidth of any amplifier cannot exceed gm/CL. If all of your 50 uA bias current was used in a BJT, the transconductance would be Ic/Vth = 2 mA/V at room temperature. With CL = 35 pF, this gives 60 Mr/s, less than 10 MHz. The transconductance of a FET is always lower than that of a BJT for the same bias current.

Your specifications are not realizable.
Back to top
 
 
View Profile   IP Logged
Vabzter
Junior Member
**
Offline



Posts: 26
Sweden
Re: Help on opamp design
Reply #14 - Feb 19th, 2007, 2:42am
 
MTXamp wrote on Feb 17th, 2007, 8:53pm:
Hi Vabzter

The simplest and quickest way of obtaining k' is to look at your model files. If you are using spectre, you can locate your model files using the menu in the simulator's window: Setup -> Model files

k' = uCox. "u" is already given in the model file as "u0". Cox can be calculated using:

Cox = (er)(e0)/tox

er = relative permittivity of SiO2 = approx 3.9
e0 = 8.854x10e-12
tox = give in model file as "tox"

An opamp design always starts with the selection of the topology. Everything follows after that. Your specs seems quite tough: 10MHz bandwidth, drives a 35pF load, large output swing but yet the current consumption has to be about 50uA. Is it possible? : ) Seems quite a challenge to me. The book "Design of low voltage, low power operational amplifier cells" by Ron Hogervorst and Johan H Huijsing(Publisher: Kluwer Academic) might be useful for you.

Hope that this is useful for you.

Best regards
Quek


Hi Quek,
            Yes I had tried before with the model files but the results were not matching the simulation plots..
For the opamp I guess I have to decrease the bandwidth as I am going to use it to drive a 35pF load. The critical parameter is current consumption..
Thanks a lot for your help,
BR
Vabzter
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.