The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 2nd, 2024, 4:52pm
Pages: 1
Send Topic Print
Applying same MC mismatch parameter to all instances of a circuit in a test (Read 1068 times)
SimonC
New Member
*
Offline



Posts: 5

Applying same MC mismatch parameter to all instances of a circuit in a test
Jun 30th, 2015, 6:45pm
 
Hi, I am simulating an opamp. In my test setup, I have 6 instances of the same opamp to validate all the parameter at once. Is there a way to tell a Monte Carlo simulation (Cadence ADEXL) to apply the same mismatch parameter to all instances?

In my case it is important because one of the instance serves to calculate the input offset and that value is used to make sure the open loop AC simulation on another instance stays within the correct output range by cancelling the offset. The problem with the Monte Carlo analysis is that all the open loop measurements are completely wrong because the offset between the two instances are different. I found how to specify which device to include/exclude, but I didn't find a way to tell the simulator that all my OpAmp instances are in fact a single instance.
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: Applying same MC mismatch parameter to all instances of a circuit in a test
Reply #1 - Jul 1st, 2015, 1:30am
 
Simon,

  First to make sure I understand your approach, you are using 6 test
benches to measure six parameters effectively. In one test bench you
measure the offset voltage and pass it to another test bench to cancel
the offset voltage so the output is not saturated when you measure
the open loop gain.

  Some comments,
1. Usually for an op amp one test bench is sufficient. You can measure
   many parameters from a single test bench for an op amp.
2. In general, the method you are using to measure the open loop
   gain is not recommended. There is a good treatment of the topic
   in Ken Kundert's book, "The Designer's Guide to SPICE & Spectre",
   Chapter 3. Technically these really focus on loop gain.
3. The simplest method is to measure the open loop gain in your
   closed loop test bench, vac(out)/(vac(ii_noninverting)-vac(inverting).

                                                                           Sheldon
Back to top
 
 
View Profile   IP Logged
SimonC
New Member
*
Offline



Posts: 5

Re: Applying same MC mismatch parameter to all instances of a circuit in a test
Reply #2 - Jul 1st, 2015, 7:12am
 
Sheldon,
  I am using a single test bench that contains 6 instances of the same DUT. Each instances are arranged slightly differently to measure all the parameter I want for that DUT. The measured offset from one of the instances is passed to the other open loop configuration through a vcvs source to make sure they don't saturate.

I just bought "The Designer's Guide to SPICE & Spectre" as it should be a good book to improve my simulation in general

I don't understand your third point. vac(out)/(vac(ii_noninverting)-vac(inverting)) under feedback will only allow me to find the BW of the amplifier for the feedback gain. But it doesn't allow me to get the DC open loop gain. Can you elaborate on the limitation of that method?
Back to top
 
 
View Profile   IP Logged
SimonC
New Member
*
Offline



Posts: 5

Re: Applying same MC mismatch parameter to all instances of a circuit in a test
Reply #3 - Jul 1st, 2015, 8:14am
 
Sheldon,
   I just found the feedback needed to use your method (3). It is working now.
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: Applying same MC mismatch parameter to all instances of a circuit in a test
Reply #4 - Jul 1st, 2015, 5:00pm
 
Simon,

   For reference.

                Sheldon
Back to top
 

gain.png
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Applying same MC mismatch parameter to all instances of a circuit in a test
Reply #5 - Jul 2nd, 2015, 12:47am
 
For loop gain simulation in Spectre, I would recommend stb analysis. A lot of information on loop gain simulation is available from my webpage https://sites.google.com/site/frankwiedmann/loopgain.
Back to top
 
 
View Profile WWW   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.