Implementation Of Exact Sensitivities In A Circuit Simulator Using Automatic Differentiation

Sensitivities are very important in electronic circuit analysis and design. This paper presents a general circuit simulation programme that calculates analytical sensitivities with respect to any parameter using automatic differentiation. A novel aspect of this implementation is that C++ templates are used along with automatic differentiation libraries to produce (at compilation time) different versions of the model evaluation functions, each optimised for a specific purpose. This results in a good compromise between the time to develop and maintain device models and execution efficiency. Algorithms and software design aspects of the circuit simulator are described. Sensitivities of a bipolar self-biasing current source are used to demonstrate the approach.

[1]  C.E. Christoffersen,et al.  Global coupled EM-electrical-thermal simulation and experimental validation for a spatial power combining MMIC array , 2002, 2002 IEEE MTT-S International Microwave Symposium Digest (Cat. No.02CH37278).

[2]  Carlos Christoffersen,et al.  Object oriented microwave circuit simulation , 2000 .

[3]  Shahriar Moinian,et al.  A C/sup ++/ based environment for analog circuit simulation , 1992, Proceedings 1992 IEEE International Conference on Computer Design: VLSI in Computers & Processors.

[4]  Alessandra Costanzo,et al.  State-of-the-art harmonic-balance simulation of forced nonlinear microwave circuits by the piecewise technique , 1992 .

[5]  T. Gessner,et al.  Parametric model extraction for MEMS based on variational finite element techniques , 2005, The 13th International Conference on Solid-State Sensors, Actuators and Microsystems, 2005. Digest of Technical Papers. TRANSDUCERS '05..

[6]  C. Bendtsen FADBAD, a flexible C++ package for automatic differentiation - using the forward and backward method , 1996 .

[7]  John W. Bandler,et al.  FAST gradient based yield optimization of nonlinear circuits , 1990 .

[8]  John W. Bandler,et al.  Efficient optimization with integrated gradient approximations , 1988 .

[9]  Roger A. Dougal,et al.  Nonlinear power system component modeling using symbolically assisted computations , 2001, 2001 Power Engineering Society Summer Meeting. Conference Proceedings (Cat. No.01CH37262).

[10]  Kishore Singhal,et al.  Computer Methods for Circuit Analysis and Design , 1983 .

[11]  Robert G. Meyer,et al.  Analysis and Design of Analog Integrated Circuits , 1993 .

[12]  Timothy A. Davis,et al.  A column pre-ordering strategy for the unsymmetric-pattern multifrontal method , 2004, TOMS.

[13]  Venkataramana Ajjarapu,et al.  The role of automatic differentiation in power system analysis , 1997 .

[14]  Andreas Griewank,et al.  Algorithm 755: ADOL-C: a package for the automatic differentiation of algorithms written in C/C++ , 1996, TOMS.