The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 18th, 2024, 3:37pm
Pages: 1 2 
Send Topic Print
Common Source Amplifier with Current Mirror Load Design using gm/Id method (Read 4003 times)
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Common Source Amplifier with Current Mirror Load Design using gm/Id method
Apr 01st, 2017, 4:08am
 
Hello all,
I have a question on designing using gm/Id. So I've successfully designed a CS Amp with resistive and PMOS active load and now I'm currently trying to design CS Amp with Current Mirror Load in 130nm using gm/Id technique. Shout out to ULPAnalog for introducing me to this technique! Smiley
Although this technique worked perfectly when designing with resistive and pmos load, the gain and output voltage was not as expected when using current mirror load. I suspect it has something to do with the output voltage or the DC operating point.


Here's what I've done:-

1)Characterized NMOS with Vdrain =0.6V, Vsource =0V , Vgate is swept from 0 to 1.2V.
The gm/Id, Id/W and gm/gds is plotted with respect to Vgs.

2)Characterized PMOS with Vdrain = 0.6V, Vsource =1.2V , Vgate is swept from 0 to 1.2V.
The gm/Id, Id/W and gm/gds is plotted with respect to Vgs.

3)Gain equation of this architecture is given by (gm of nmos)/gds,nmos+gds,pmos

4)Chose gm to be 3.14mS, assuming the desired  BW is 100MHz with load capacitance of 5pF. (I didn't simulate with the cap since my focus is the gain rather than BW don't think this matters tho).

4)DEvice dimensions
NMOS = 99um/1.5um  PMOS = 60um/1um Current = 278uA.

5)Calculated gain should be around 277V/V but the simulated gain was around 2V/V.

6)As far as the The DC operating point of the transistors, only the DC current matches the calculation. The gm of devices as well as drain voltages of the device do not match/not as expected.

7)NMOS was biased at 450mV.

9)I have attached the schematic as well as the transistor characterization plots, if it helps.

Questions:-

1)What did I do wrong or what can I change? I can't for the life of me figure it out. I did do a DC analysis using the sizing mentioned above and at the point I biased my NMOS I should have gotten close to 0.6V instead of 0.996V which is causing my PMOS to be in linear instead of saturation region.

2)Is it normal for it to have a large size? What is the typical sizing of an op amp? Does the PMOS or NMOS reach more than 100um in any case? I'm used to designing digital standard cells (which are relatively smaller) and the large size of the op amp transistor is scaring me a bit to the point where I have doubts about my design lol.

3)I suspect there is a tradeoff here between output voltage/swing and gain but I can't quite figure it out. I characterized my transistors such that the output voltage would be half of the Vdd (1.2V) for higher voltage swing. Should I re-characterize my transistors?


Any and all help is greatly appreciated and thanks in advance! Smiley Smiley
Edit: This thing won't let me attach multiple pics, will post the plots later.
Back to top
 

circuit_diagram.PNG
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #1 - Apr 1st, 2017, 8:06am
 
gm/gds for NMOS


gm/Id for NMOS



Id/W for NMOS


gm/gds for PMOS



gm/Id for PMOS


Id/W for PMOS

Back to top
 
 
View Profile   IP Logged
ULPAnalog
Community Member
***
Offline



Posts: 97

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #2 - Apr 1st, 2017, 10:44pm
 
Hi

I believe you are on the right track overall. The problem with active load is that you are now in a situation with two current sources connected to each other and trying to fix the operating point. Even the slightest mismatch between the currents can knock the amplifier out of its nominal operating point. This is the reason why open loop amplifiers are extremely difficult to work with.

As with most such problems, negative feedback comes to rescue. If you can set up DC negative feedback around your amplifier, you shall see it getting biased correctly as you would expect. Just to test it out, you may try adding a resistive feedback between the output of CS stage to its input and see it getting biased correctly at DC.

It's not uncommon to have 100u length transistors. In fact for me they are small!! I work with biosignal amps and flicker noise requirements at such low frequencies, in the absence of chopping forces me to use transistors whose dimensions sometimes exceed 1000u. You could literally see them.

To reiterate, I believe you are in the right track overall and enjoy designing the amps.

Best regards
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #3 - Apr 2nd, 2017, 5:00am
 
Thank you so much ULPAnalog! You are truly a godsent! It worked! I got the DC operating point to be where I wanted it to. I don't really know how DC negative feedback works in principle or mathematically but I guess I'll try to figure that out on my own. I have found some materials on the topic. If you have any materials that you personally have read/used in the past I'd appreciate it if you could point me to that direction.

Also, on a sidenote, if you don't mind me asking, did you learn all this as you go or did they teach this in school? Not that I'm not paying attention in class or anything, it's just that theoretical stuff and hands on are totally different (I'm still a student by the way). I did pick up bits and pieces of information from online pdf lectures like UCLA, Berkeley, Stanford etc. I was kinda hoping the industry would have a 1-2 week tutorial/ hands-on on this kind of stuff which I think would help a lot when students enter the workforce. Anyway, thanks again!! You were a lot of help!  :) Smiley
Back to top
 
 
View Profile   IP Logged
ULPAnalog
Community Member
***
Offline



Posts: 97

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #4 - Apr 2nd, 2017, 12:10pm
 
On the DC negative feedback, I learnt about it during my masters, when I actually came across fully differential amplifiers. Till that point, I never really wondered on how the DC biases are set for a single ended opamp honestly. During my PhD, given that I worked in biosignal readouts, AC coupling and hence DC negative feedback became part and parcel of the instrumentation amplifiers I designed, refining my understanding of the subject. There is still a long way to go though.

Most of the things are self taught. I like to think of analog IC design as an art. Art, in general, one can teach basic principles but one can only gain mastery by practice. To me analog IC design is no different. I never really worked in "real" industry doing IC design. I work out of research labs and here there is certainly no getting started with analog IC design kind of tutorial. There are tutorials and training on how to use tools, for example cadence design suite but not on how to design circuits.

Perhaps someone from industry background can shed some light on how junior engineers are brought up to speed in IC design.

BTW, this particular reply is not design related, so I am not sure if it is appropriate to post it here.
Back to top
 
 
View Profile   IP Logged
DanielLam
Community Member
***
Offline



Posts: 76

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #5 - Apr 2nd, 2017, 11:14pm
 
Hi, I might be able to shed some light on junior IC designers. I have a bs+masters in EE (modeled, designed, laid out, tested a SAR ADC for my thesis). I've been in industry a little under 2 years.

"Also, on a sidenote, if you don't mind me asking, did you learn all this as you go or did they teach this in school?"

Both. But you should learn and try as much as you can in school. The same questions I had in school are the same problems I face in industry. So if you answer a lot of your questions while in school, you will be MUCH MUCH better in industry or anywhere. Also, while in school, you can basically ask the professor as many questions as you want. In industry, you might have to be a little selective in order to not seem like a burden.

"Perhaps someone from industry background can shed some light on how junior engineers are brought up to speed in IC design."

You need to really want to get things to work, and understand why they work, and the limitations. If your fundamentals are solid, you will go very very far. For example, I'm dealing with two-stage opamp gain, speed, noise, swing issues at the moment.

I keep up with papers on IEEE, and I also review class notes from Stanford, TAMU, Berkeley, and wherever I find good notes. The videos on SCSS society are very informative as well. I've read 75% of the Razavi CMOS book, and plan on reading more and re-reading (and doing problems).

"It's not uncommon to have 100u length transistors. In fact for me they are small!!"

All right, this comment made me chuckle. I had to re-read that you said length, and not width. At that point, would you rather try a chopping scheme for flicker? I usually work with <1 um length transistors.

Regards,
Daniel Lam
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #6 - Apr 3rd, 2017, 12:23am
 
Thanks for your insights Daniel! It's always good to have someone from the industry to talk with about these kind of things. I will definitely follow in your foot steps and cover the Behzad Razavi book page by page as well as watch SCSS videos.

Thanks again!  :) Smiley


Back to top
 
 
View Profile   IP Logged
ULPAnalog
Community Member
***
Offline



Posts: 97

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #7 - Apr 3rd, 2017, 12:48am
 
Thanks Daniel for your insights.
Quote:
"It's not uncommon to have 100u length transistors. In fact for me they are small!!"

All right, this comment made me chuckle. I had to re-read that you said length, and not width. At that point, would you rather try a chopping scheme for flicker? I usually work with <1 um length transistors.


Ok, a little bit of correction and clarification. Indeed 100u length devices are not uncommon but the 1000u device I mentioned was actually width (I said dimension, not length per se in my defense, not that it matters anyway).

The problem is that at times we work at nA current levels and to kill (minimize) the noise contribution of the active load, we are forced to bias the active load in strong inversion saturation (also good for current source matching). nA current levels, strong inversion saturation would mean long length devices (yes they exceed 100u) with weird aspect ratios.

Chopping is great, but depending on where we chop we might either have to compromise the CMRR or input impedance and maximum DC handling capabilities. There are many ways to handle those, published by several groups, including ours.
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #8 - Apr 3rd, 2017, 10:16am
 
Hello again!
Just to keep this thread going, I was just wondering if the difficulty in stabilizing the DC operating point also occurs in standard textbook differential amplifier designs with current mirror load and current mirror biasing. I haven't tried this out yet but plan to do so shortly.
You mentioned earlier that because the operating point is being fixed by two current sources, DC operating point stabilization is hard to achieve.
I would imagine this would also occur in the differential amplifier. If so, would connecting a resistor the same way as you suggested in the CS amplifier fix the problem? Or is there a more practical way of doing it that's not mentioned it literature?
Back to top
 
 
View Profile   IP Logged
A Kumar R
Community Member
***
Offline



Posts: 72
India
Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #9 - Apr 3rd, 2017, 11:18pm
 
Bean,

Any high-impedance node would have similar issues. All high-impedance nodes within amps need to be stabilized by some means, ex. neg. feedback.

thanks.
Back to top
 
 
View Profile   IP Logged
ULPAnalog
Community Member
***
Offline



Posts: 97

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #10 - Apr 4th, 2017, 1:15am
 
A classic differential amplifier will have the problem that you encountered in CS amplifier. If you can live with lower gain, you may go for current mirror OTA with no output stage and its gain will be at best 2-5 V/V in practice.

Usually, amps are used in negative feedback systems. Unless the feedback is purely capacitive or an inductor at the input in inverting config, you will have some sort of DC negative feedback. For example as resistive gain amplifier has DC negative feedback.

Bioamps, that are capacitively coupled usually have a extremely large feedback resistance realized through pseudo resistors (very difficult to control and susceptible to PVT. Good for academic publications only). More recently switched capacitor and switched resistor feedback are getting popular for stabilizing DC operating point.

In open loop amplifier applications, the high imepdance nodes are typically charged to appropriate DC levels before the start of amplification phase. Bottom line is, if the amplifier is not properly biased at DC or before it begins to amplify the signal, it does not work as an amplifier with designed spec any more.
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #11 - Apr 4th, 2017, 5:03am
 
AnilReddy,
Thanks for your input! I actually tried using negative feedback on my CS Amplifier and although it stabilized the operating point the gain actually decreases. I already worked out the small-signal analysis and found out the reason why. My only question is there a way to mitigate the drop in gain induced by the negative feedback? Also, without the negative feedback, I get a higher gain but with lower voltage swing. Would I be correct in saying this whole thing has to have a tradeoff between voltage swing and gain?

Thanks!
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #12 - Apr 4th, 2017, 5:14am
 
Thanks for your insights ULPAnalog! Definitely learned a lot here. Especially interested in those bioamps. I will definitely look into switched capacitor, switched resistor feedback circuits and the part about precharging the high impedance nodes. These are some really advanced stuff you mentioned here, it's always good to learn these kinds of things! Thanks again!

Back to top
 
 
View Profile   IP Logged
ocmob
New Member
*
Offline



Posts: 3
Cracow
Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #13 - Apr 5th, 2017, 12:55am
 
Bean as for the feedback questions - you will find your answer in Razavi textbook, there is a whole chapter dedicated to feedback and it is a good idea to read it thoroughly. It is important to have a good understanding of feedback.
Back to top
 
 
View Profile   IP Logged
Bean Nakamura
Junior Member
**
Offline



Posts: 24

Re: Common Source Amplifier with Current Mirror Load Design using gm/Id method
Reply #14 - Apr 5th, 2017, 7:14pm
 
Thanks ocmb! Will get a copy of Behzad Razavi's book right away!

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.