The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 28th, 2024, 5:09am
Pages: 1
Send Topic Print
about opamp gain, pls (Read 8445 times)
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

about opamp gain, pls
Dec 09th, 2009, 5:21am
 
i have designed two fully differential opamps using tower 0.18um 1.8v/3.3v technology (two stage, folded cascode + common source, with cascode compensation and continueous common feedback), one has dc gain of 108dB,
and the other has dc gain of 98dB (tt corner, pre-simulation); but after the layout extraction, when running layout post-simulation using calibre, i find that, the first opamp has dc gain of 69dB, and the second has only dc gain of 28dB, why?

in layout design, i have considered the basic layour design rules, such as matching of transistor pairs, wide enough wires for current density, the whole symmetric routing etc. i have tried to optimize my layout, but it only improves a little. i'm really confused.

has anyone ever met this problem before? and can anyone give me some advice or suggestion? what is the possible reason? pls help me.

my LVS is successful and there are no errors, but what is the reason for DC gain decreasing? which factors can cause the decreasing? thanks all.
Back to top
 
 
View Profile   IP Logged
Mayank
Community Fellow
*****
Offline



Posts: 334

Re: about opamp gain, pls
Reply #1 - Dec 9th, 2009, 10:34am
 
Hi,
    PLS usually deviates from schematic simulations a lot....I would suggest you to check your Bias cktry....Pay special attention to WPE/STI effects in Layouting.....Match the sa,sb,sc parameters of mirroring & Matching(like i/p MOS) MOSFETs.....Check whether the Bias current is in accordance to what you designed at schematic level....
   Did you take parasitics into account when designing at schematic level ?  ?  Parasitics can change your frequency response a lot b/w PLS & schematic level simulations.....But a difference in Open Loop Low-Freq. Gain is most probably becuase of Difference in Biasing Point.

  Also Check :--
  1.  are you running both PLS & schematic level simulation at same    
       corner of PVT ??
  2.  Are your supply voltages to the block correct ?

 --
regards,
Mayank.
Back to top
 
 
View Profile   IP Logged
wave
Senior Member
****
Offline



Posts: 117
Silicon Valley
Re: about opamp gain, pls
Reply #2 - Dec 9th, 2009, 2:07pm
 
Blue - sounds like something basic yet severe.
I agree check that you use the exact same PVT and setup.

Mayank - for 0.18um, I don't think STI, WPE are issues until 0.13 and smaller.

If it's truely parasitic related, there is an instability that changes the biasing and gain.  That is a LOT of DC gain which means there is a Hi-Z node that is very sensitive to C.

Smiley
Wave
Back to top
 
 
View Profile   IP Logged
AnalogDE
Senior Member
****
Offline



Posts: 137

Re: about opamp gain, pls
Reply #3 - Dec 9th, 2009, 7:57pm
 
This is DC gain -- so parasitic capacitance doesn't matter.

Your amp is probably not at the same bias point in the post-layout simulation.  check your node voltages and device currents
Back to top
 
 
View Profile   IP Logged
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

Re: about opamp gain, pls
Reply #4 - Dec 10th, 2009, 3:31am
 
first, thanks all for reply. but when i run C+CC simulation, there is no parasitic res, the post-simulation is almost the same as pre-simulation. so, i think it is some parasitic res that causes the issue. however, i tried many ways to improve my layout, it doesn't improve at all. i'm really confused.
so i want to know, how to find which parasitic resistor causes the DC gain decreasing in post-simulation or in layout? are there some methods or ways? it's really very urgent, i really need your help. thanks all for reply. thanks. besides, i use the fully differential opamp for a sc circuit; when presimulation, the whole circuit resolution is 14bit, althrough the dc gain of opamp decreases a lot (from 98dB to 28dB)relative to pre-simulation, the whole circuit resolution for post-simulation can still be 11bit; why? i don't think this is reasonable. 28dB is only 25 times, i don't think the so small dc gain can make the whole circuit reach 11bit resolution in post-simulation. why? can anyone give me some suggestion, pls?
another point, when post-simulation, i find a zero in AC response curve, why? what's the reason? pls help me. thanks all.
Back to top
 
 
View Profile   IP Logged
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

Re: about opamp gain, pls
Reply #5 - Dec 11th, 2009, 6:28am
 
besides, i find some points:
as the figure shows, the left part is the two nmos pairs of first telescopic cascode stage of the opamp, A B are the source end of the nmos tail current pairs, and they all connect to GND, V1 V2 are the output of the first cascode stage, and also the input of the second stage, as the right part shows. in pre-simualtion, when i connect Vin+ to Vcm+1V (AC)and Vin- to Vcm-1V (AC), DC simulation shows that V1=V2, VC=VD; but due to the current in GND line, the two voltage of A B is different (there is a resistor between A and B), VA=0.6mV and VB=0.9mV; because VB is larger than VA, so VD is larger than VC (about 10mV), and V2 is larger than V1 (about 800mV);therefore, the upper PMOS transistor above V2 enters triode region, and DC gain decreases a lot; when i improve the layout, and decrease the voltage difference between VA and VB from 0.3mV to 0.03mV, the DC gain has a increase of 30dB, but still much smaller than expected; however, to make VA exactly equals to VB is very difficult, ok? i don't konw whether i make my ideas clear, but i expect your answers and suggestions. thanks all.
Back to top
 

Two_stage.JPG
View Profile   IP Logged
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

Re: about opamp gain, pls
Reply #6 - Dec 12th, 2009, 6:15am
 
anyone can help me?
Back to top
 
 
View Profile   IP Logged
HdrChopper
Community Fellow
*****
Offline



Posts: 493

Re: about opamp gain, pls
Reply #7 - Dec 12th, 2009, 10:39am
 
Hi,

If by improving layout gnd routing and changing the voltage difference from VA to VB a few hundresds of microvolts you were able to change the loop gain (although way smaller than what you should get) that means something is marginal in your desing. Otherwise your opamp should be able to tolerate such small voltage change over PVT.
Please recheck the sizing of you telescopic load transistors and your cascodes.

Best
Tosei
Back to top
 
 

Keep it simple
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: about opamp gain, pls
Reply #8 - Dec 12th, 2009, 7:49pm
 
Greetings,

1) Before running a parasitic back-annotated simulation, you might
   want to try running just an LPE, layout parameter extracted
   simulation. That is, you extract just the devices and simulate.
   --> This validate the layout is correct. You don't say much about
         the implementation, but it maybe that the folding and merging
         of devices has altered something.

  --> Basically your parasitic back-annotated capacitance simulations
        provide equivalent information so this appears to be done and
        the issue is not in the basic implementation.

2) There are two things(at least Smiley ) to look for in with back with
   back-annotated parasitics:
   a) Are the biases correct?
       If the bias currents are different than the performance will
       be different. An easy test is the power dissipation the both
       pre-layout and post-layout simulation results the same? After
       that check each stage for bias. Then check the common mode
       levels.
   b) If the bias voltages and current are okay and the performance
       is still off, then you need to look for other issues.
       - Can you probe internally and look at the output of the first
         stage? Are the results that same for both pre-layout and
         post-layout
       - Can you look at the gain of the second stage? Is the gain
          correct? You don't specify the implementation in detail,
          however, common-source amplifiers are sensitive to the
          resistance between the source and the power supply since
          this resistance can act like a degeneration resistor.
       - Can you look at the common-mode feedback amplifier?
         If it is not working properly the common-mode level may
         end up outside the optimum operating range?

   ---> You need to localize the issue, if possible. Localizing the issue
          can be difficult because everything is connected Huh

3) Are you using ADE [IC5141/IC61] for your simulation environment?
   ADE has the option to back-annotate selected nets and simulate
   so you may be able to localize the issue?

4) Are you using ADE [IC61], using the Parasitic Aware Design flow,
   you can do sensitivity analysis to identify the relationship between
   specific parasitics and the dc gain.

5) You also mention a zero in the ac response. How is your
   compensation implemented? Is it possible that the zero
   is due to layout parasitic resistance in the routing for the
   comp cap? Or does the extracted capacitor include the
   extracted resistance of the plate? How was the compensation
  capacitor implemented, MOS CAP [MOS transistor]?

                                                                Best Regards,

                                                                  Sheldon
Back to top
 
 
View Profile   IP Logged
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

Re: about opamp gain, pls
Reply #9 - Dec 13th, 2009, 4:37am
 
i want to identify some points:
1, i use IC5141;
2, i use cascode compensation, and the compensation cap is MIM cap;
3, i use tower 0.18um technology;
4, the bias current and bias voltage is basically the same for pre-simulation and post-simulation, but the output of the first stage is different, the output of vin+ side (that is, the negative output of first stage)is almost the same as pre-simulation, but the vin- side (that is, the positive output of first stage) is much larger  than presimulation, and make the above cascode PMOS transistor of vin- side enters triode region, so DC gain decreases a lot.

so, what is the possible reason? thanks.
Back to top
 
 
View Profile   IP Logged
BackerShu
Community Member
***
Offline



Posts: 64

Re: about opamp gain, pls
Reply #10 - Dec 13th, 2009, 6:09am
 
Here are some suggestions.
No matter how perfect the layout is, there is always some mismatch(of course, it's not the same thing with offset voltage) at the input of the opamp. Because of the large open loop gain, the output transistor may turn into saturation and the gain decrease.
You may try to extract the mismatch by connecting the opamp in the unit gain configuration, and substract the mismatch when you do open-loop AC simulation.

Of course you should make sure the mismatch is small enough, and I think it can be considered as  a part of the input offset voltage of the opamp.
Am I right? Any comments would be appreciated.
Back to top
 
 
View Profile WWW   IP Logged
Mayank
Community Fellow
*****
Offline



Posts: 334

Re: about opamp gain, pls
Reply #11 - Dec 13th, 2009, 12:22pm
 
hI BLUE,

Quote:
4, the bias current and bias voltage is basically the same for pre-simulation and post-simulation, but the output of the first stage is different, the output of vin+ side (that is, the negative output of first stage)is almost the same as pre-simulation, but the vin- side (that is, the positive output of first stage) is much larger  than presimulation, and make the above cascode PMOS transistor of vin- side enters triode region, so DC gain decreases a lot.

I think this is most probably because of mismatch between your transistors, that too most probably input transistors. You checked that your bias current in the 1st stage through the tail-current source is the same.

1.    Did you check whether the current in the two branches of the 1st stage are same and = Ibias_stage1 / 2  or not ??

Quote:
Of course you should make sure the mismatch is small enough, and I think it can be considered as  a part of the input offset voltage of the opamp.
Am I right? Any comments would be appreciated.

I guess if this effect is from a permanent mismatch between the transistors, this can be taken as input offset voltage.
Back to top
 
 
View Profile   IP Logged
lhlbluesky_lhl
Senior Member
****
Offline



Posts: 115

Re: about opamp gain, pls
Reply #12 - Dec 14th, 2009, 2:57am
 
the  bias current in the 1st stage through the tail-current source is almost the same, any other reasons?
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: about opamp gain, pls
Reply #13 - Dec 14th, 2009, 8:51am
 
Hi,

  First, wouldn't the systematic offset voltage be seen in both the
pre-layout and post-layout?

  Next a question have you read Hastings book, "The Art of Analog
Design"? Your design seems fairly sensitive to the layout, as you
mention a small change in the layout increased gain 30dB. Is
every piece of interconnect matched? You need to replicate the
pre-layout simulation, that is, match all the interconnect in the
layout [at least the differential routing]. Once that is done then
you can start to go back and identify any additional you uncover.

                                                          Best Regards,

                                                             Sheldon
Back to top
 
 
View Profile   IP Logged
Pages: 1
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.