Optimisation of Analog Circuits with Spice 3f4
نویسندگان
چکیده
In the paper four approaches of upgrading analog circuits analysis tools (SPICE was used) with optimisation loops are compared. In the first approach the optimisation algorithm is coded in Mathematica, which calls SPICE for every circuit analysis. In the second approach the algorithm is coded in Nutmeg. (Nutmeg is an interpreter designed as a user interface for SPICE, but it has all properties of a programming language.) In the third approach the algorithm is again coded in Nutmeg, but all computation (for example computation of the cost function) is performed by extern programs. And finally in the fourth approach the optimisation algorithm is coded in C. We compared computation times of all different approaches with a constrained direct optimisation method on a simple circuit. It turned out that the approach through Mathematica is elegant, but hopelessly slow. Both approaches through Nutmeg are compact, but unfortunately Nutmeg yields numerous bugs. The best results were obtained with C programs.
منابع مشابه
Optimisation Methods in SPICE, a Comparison
The field of optimisation is still not appropriately covered in modern computer programs for circuit analysis as SPICE. It was originally developed at the University of California at Berkeley. The last official release of SPICE 3f4 was published in 1992. It has numerous bugs, mainly memory leaks. In order to implement optimisation methods most bugs were tracked down and fixed. Several well-know...
متن کاملImproved Genetic Algorithm in SPICE OPUS for Model Parameter Extraction
SPICE is a widely used tool for simulation of analog circuits. Accurate models of devices are crucial for obtaining realistic results from the simulation. Although SPICE provides circuit designers with built-in models for most widely used devices many devices still must be modelled with subcircuit models in order to achieve sufficient accuracy. The hardest part of creating a SPICE model for a p...
متن کاملSPICE for Windows 95/98/NT
The analogue circuit simulator SPICE was originally developed at the University of California at Berkeley. It was has been constantly upgraded and maintained at Berkeley from 1972 to 1992, when the last official release 3f4 was published. The UNIX based source code is still available as freeware at ftp://ic.berkeley.edu/pub/Spice3/. Although the research at Berkeley has stopped, many commercial...
متن کاملModel Parameter Identification with SPICE OPUS: a Comparison of Direct Search and Elitistic Genetic Algorithm
SPICE is a widely used tool for simulation of analog circuits. Accurate models of devices are crucial for obtaining realistic results from the simulation. Many devices must still be modelled with subcircuit models in order to achieve sufficient accuracy. Parameter values for subcircuit elements are determined by optimisation. Use of SPICE OPUS optimisation capabilities for model parameter ident...
متن کاملNew optimising feature in SPICE
The field of optimisation is still not appropriately covered in modern computer programs for circuit analysis as SPICE, which was originally developed at the University of California at Berkeley. The last official release of SPICE was published in 1992 and includes interactive interpreter language called Nutmeg, which is at first glance very convenient for coding optimisation loops. But it turn...
متن کامل