Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How do I extract fitting parameters using SPICE?

Status
Not open for further replies.

ANALA

Member level 1
Joined
Aug 7, 2017
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
264
Given a leakage power equation
P=a0 + (a1+a2)*vth^2
where a0,a1,a2 are the fitting parameters and vth is the threshold voltage. How do I extract these values through SPICE?
 

Standard SPICE has no parameter fitting functions, it's provided with special editions, e.g. PSpice A/D has PSpice Optimizer tool.

The given equation seems erroneous as a2 is redundant.
 

Some SPICEs have optimization utilities (SpiceOPUS, for one)
but any SPICE can be used "in the feedback position" to get
at a set of fitting params less intelligently (that is, using some
of your own). Nested .modif loops, and pick the best fit by
eye, like. This may take more than one pass to "find the range"
but it's doable.

You might attack it in layers, like getting the Vth ought to be
either a "pick off from model files" or a simple fit to the simple
transistor measurement testbench for VT.

But of course you want to fit against the proper equation, the
independent variable seems to be missing entirely? Or is vth
supposed to be the independent variable, the form perhaps
=(a0+a1*vth+a2*vth^2) - normal power series? But that
would seem to be leaving a lot of leakage influences off the
table... or, you choose this formula to represent only one
specific PVTXYZ condition and embed all of that to the
coefficients.
 

Some SPICEs have optimization utilities (SpiceOPUS, for one)
but any SPICE can be used "in the feedback position" to get
at a set of fitting params less intelligently (that is, using some
of your own). Nested .modif loops, and pick the best fit by
eye, like. This may take more than one pass to "find the range"
but it's doable.

You might attack it in layers, like getting the Vth ought to be
either a "pick off from model files" or a simple fit to the simple
transistor measurement testbench for VT.

But of course you want to fit against the proper equation, the
independent variable seems to be missing entirely? Or is vth
supposed to be the independent variable, the form perhaps
=(a0+a1*vth+a2*vth^2) - normal power series? But that
would seem to be leaving a lot of leakage influences off the
table... or, you choose this formula to represent only one
specific PVTXYZ condition and embed all of that to the
coefficients.

Yes vth is the independent parameter...I have come across that we can plot graph (extract values using SPICE) and then use curve fitting tool in matlab...any idea about this ?
Note: this is not the exact equation..quoted it as a small example
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top