Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

SPICE

From Wikipedia, the free encyclopedia
Open source analog electronic circuit simulator
For other uses, seeSpice (disambiguation).
SPICE 1
Original authorLaurence Nagel [de]
Initial release1973; 53 years ago (1973)
Written inFortran
Available inEnglish
TypeElectronic circuit simulation
LicensePublic domain
Websitebwrcs.eecs.berkeley.edu/Classes/IcBook/SPICE/ Edit this on Wikidata
SPICE 2
Initial release1975; 51 years ago (1975)
Final release
2G.6 / 1983; 43 years ago (1983)
Written inFortran
Available inEnglish
TypeElectronic circuit simulation
LicenseBSD 3-clause
Websitebwrcs.eecs.berkeley.edu/Classes/IcBook/SPICE/ Edit this on Wikidata
SPICE 3
Original authorThomas Quarles
Initial release1989; 37 years ago (1989)
Stable release
3f.5 / July 1993; 32 years ago (1993-07)
Written inC
Available inEnglish
TypeElectronic circuit simulation
LicenseBSD 2-clause
WebsiteArchived webpage

SPICE (Simulation Program with Integrated Circuit Emphasis)[1][2] is a general-purpose,open-sourceanalog electronic circuitsimulator.It is a program used inintegrated circuit and board-level design to check the integrity ofcircuit designs and to predictcircuit behavior.

Introduction

[edit]

Unlike board-level designs composed of discrete parts, it is not practical tobreadboard integrated circuits before manufacture. Further, the high costs ofphotolithographic masks and other manufacturing prerequisites make it essential to design the circuit to be as close to perfect as possible before the integrated circuit is first built.

Simulating the circuit with SPICE is the industry-standard way to verify circuit operation at the transistor level before committing to manufacturing an integrated circuit. The SPICE simulators help to predict the behavior of the IC under different operating conditions, such as different voltage and current levels, temperature variations, and noise.[3]

Board-level circuit designs can often be breadboarded for testing. Even with a breadboard, some circuit properties may not be accurate compared to the final printed wiring board, such asparasitic resistances and capacitances, whose effects can often be estimated more accurately using simulation. Also, designers may want more information about the circuit than is available from a single mock-up. For instance, circuit performance is affected by component manufacturing tolerances. In these cases, it is common to use SPICE to performMonte Carlo simulations of the effect of component variations on performance, a task which is impractical using calculations by hand for a circuit of any appreciable complexity.

Circuit simulation programs, of which SPICE and derivatives are the most prominent, take a textnetlist describing the circuit elements (transistors,resistors,capacitors, etc.) and their connections, and translate[4] this description into equations to be solved. The general equations produced arenonlineardifferential algebraic equations, which are solved usingimplicit integration methods,Newton's method andsparse matrix techniques.

Origins

[edit]

SPICE was developed at the Electronics Research Laboratory of theUniversity of California, Berkeley byLaurence Nagel [de] with direction from his research advisor, Prof.Donald Pederson. SPICE1 is largely a derivative of the CANCER program,[5] which Nagel had worked on under Prof.Ronald A. Rohrer. CANCER is an acronym for "Computer Analysis of Nonlinear Circuits, Excluding Radiation".[6] At these times many circuit simulators were developed under contracts with theUnited States Department of Defense that needed the ability to evaluate theradiation hardness of a circuit. When Nagel's original advisor, Prof. Rohrer, left Berkeley, Prof. Pederson became his advisor. Pederson insisted that CANCER, a proprietary program, be rewritten enough that restrictions could be removed and the program could be put in thepublic domain.[7]

SPICE1 was first presented at a conference in 1973.[1] SPICE1 is coded inFORTRAN and to construct the circuit equations usesnodal analysis, which has limitations in representing inductors, floating voltage sources and the various forms of controlled sources.[8] SPICE1 has relatively few circuit elements available and uses a fixed-timesteptransient analysis. The real popularity of SPICE started with SPICE2 in 1975.[2] SPICE2, also coded in FORTRAN, is a much-improved program with more circuit elements, variable timestep transient analysis using either the trapezoidal (second orderAdams-Moulton method) or the Gear integration method (also known asBDF), equation formulation viamodified nodal analysis (avoiding the limitations of nodal analysis),[9] and an innovative FORTRAN-based memory allocation system.[10] Ellis Cohen led development from version 2B to the industry standard SPICE 2G6, the last FORTRAN version, released in 1983.[11][12] SPICE3 was developed by Thomas Quarles (withA. Richard Newton as advisor) in 1989. It is written inC, uses the same netlist syntax, and addsX Window System plotting.[13]

As an earlypublic domain software program withsource code available,[14] SPICE was widely distributed and used. Its ubiquity became such that "to SPICE a circuit" remains synonymous with circuit simulation.[15] SPICE source code was from the beginning distributed by UC Berkeley for a nominal charge (to cover the cost of magnetic tape). The license originally included distribution restrictions for countries not considered friendly to the US, but the source code is currently covered by theBSD license.

The birth of SPICE was named anIEEE Milestone in 2011; the entry mentions that SPICE "evolved to become the worldwide standard integrated circuit simulator".[16] Nagel was awarded the 2019 IEEE Donald O. Pederson Award in Solid-State Circuits for the development of SPICE.[17]

Successors

[edit]

Open-source successors

[edit]

No newer versions of Berkeley SPICE have been released after version 3f5 in 1993.[18] Since then, the open-source or academic continuations of SPICE include:

Not a descendant but compatible:

  • QUCS, which uses an independently-developed Qucsator backend but understands SPICE input. The QUCS-S variant supports using a SPICE-derived backend.[24]
  • Xyce, independent but compatible work from Sandia National Laboratories. Parallel (MPI) C++ for high performance and large netlists.[25]

Commercial versions and spinoffs

[edit]

Berkeley SPICE inspired and served as a basis for many other circuit simulation programs, in academia, in industry, and in commercial products. The first commercial version of SPICE is ISPICE,[26] an interactive version on a timeshare service,National CSS. The most prominent commercial versions of SPICE include HSPICE (originally commercialized byAshawna and Kim Hailey of Meta Software, but now owned bySynopsys) andPSPICE (now owned byCadence Design Systems). The integrated circuit industry adopted SPICE quickly, and until commercial versions became well developed, many IC design houses had proprietary versions of SPICE.[27]

Today a few IC manufacturers, typically the larger companies, have groups continuing to develop SPICE-based circuit simulation programs. Among these are

Both LTspice and TINA-TI come bundled with models from their respective companies.[30][31]

Other companies maintain internal circuit simulators which are not directly based upon SPICE, among them PowerSpice atIBM, TITAN atInfineon Technologies, Lynx atIntel Corporation, and Pstar atNXP Semiconductors also.[32]

Program features and structure

[edit]

SPICE became popular because it contained the analyses and models needed to design integrated circuits of the time, and was robust enough and fast enough to be practical to use.[33] Precursors to SPICE often had a single purpose: The BIAS[34] program, for example, did simulation of bipolar transistor circuit operating points; the SLIC[35] program did only small-signal analyses. SPICE combined operating point solutions, transient analysis, and various small-signal analyses with the circuit elements and device models needed to successfully simulate many circuits.

Analyses

[edit]

SPICE2 includes these analyses:

  • AC analysis (linearsmall-signal frequency domain analysis)
  • DC analysis (nonlinearquiescent point calculation)
  • DC transfer curve analysis (a sequence of nonlinear operating points calculated while sweeping an input voltage or current, or a circuit parameter)
  • Noise analysis (a small signal analysis done using an adjoint matrix technique, which sums uncorrelated noise currents at a chosen output point)
  • Transfer function analysis (a small-signal input/output gain and impedance calculation)
  • Transient analysis (time-domain large-signal solution of nonlinear differential algebraic equations)

Since SPICE is generally used to model circuits withnonlinear elements, the small signal analyses are necessarily preceded by aquiescent point calculation at which the circuit is linearized. SPICE2 also contains code for other small-signal analyses:sensitivity analysis,pole-zero analysis, andsmall-signaldistortion analysis. Analysis at various temperatures is done by automatically updating semiconductor model parameters for temperature, allowing the circuit to be simulated at temperature extremes.

Other circuit simulators have since added many analyses beyond those in SPICE2 to address changing industry requirements. Parametric sweeps were added to analyze circuit performance with changing manufacturing tolerances or operating conditions. Loop gain and stability calculations were added for analog circuits.Harmonic balance or time-domain steady state analyses were added for RF and switched-capacitor circuit design. However, a public-domain circuit simulator containing the modern analyses and features needed to become a successor in popularity to SPICE has not yet emerged.[33]

It is very important to use appropriate analyses with carefully chosen parameters. For example, the application of linear analysis to nonlinear circuits should be justified separately. Also, application of transient analysis with default simulation parameters can lead to qualitatively wrong conclusions on circuit dynamics.[36]

Device models

[edit]

SPICE2 includes many semiconductor devicecompact models: three levels ofMOSFET model, a combinedEbers–Moll andGummel–Poon bipolar model, aJFET model, and a model for ajunction diode. In addition, it had many other elements: resistors, capacitors, inductors (includingcoupling), independentvoltage andcurrent sources, idealtransmission lines, active components and voltage and current controlled sources.

SPICE3 added more sophisticated MOSFET models, which were needed due to advances in semiconductor technology. In particular, theBSIM family of models was added, which was also developed at UC Berkeley.

Commercial and industrial SPICE simulators have added many other device models as technology advanced and earlier models became inadequate. To attempt standardization of these models so that a set of model parameters may be used in different simulators, an industry working group was formed, theCompact Model Council,[37] to choose, maintain and promote the use of standard models. The standard models today includeBSIM3,BSIM4,BSIMSOI,PSP,HICUM, andMEXTRAM.

Spice can use device models from foundryPDKs.

Input and output: Netlists, schematic capture and plotting

[edit]

SPICE2 takes a textnetlist as input and produces line-printer listings as output, which fit with the computing environment in 1975. These listings are either columns of numbers corresponding to calculated outputs (typically voltages or currents), or line-printercharacter "plots". SPICE3 retains the netlist for circuit description, but allows analyses to be controlled from acommand-line interface similar to theC shell. SPICE3 also added basicX plotting, asUNIX and engineeringworkstations became common.

Vendors and various free software projects have addedschematic capturefrontends to SPICE, allowing aschematic diagram of the circuit to be drawn and the netlist to be automatically generated and transferred to various SPICE backends. Also,graphical user interfaces were added for selecting the simulations to be done and manipulating the voltage and current output vectors. In addition, very capable graphing utilities have been added to see waveforms and graphs of parametric dependencies. Several free versions of these extended programs are available.

SPICE usage beyond electronic simulation

[edit]

As SPICE generally solves non-linear differential algebraic equations, it may be applied to simulating beyond the electrical realm.

In the simplest case, SPICE can be used to simulate otherflows. For example,heat flow in systems follows similar behavior to ideal electrical circuit elements: temperature corresponds tovoltage, heat capacity corresponds tocapacitance, (thermal) conductance to (electrical) conductance, and heat flow to current.[38]). SPICE can thus simulate both the electronic behavior of a circuit and its heat dissipation requirements simultaneously.[39] Likewise micro-fluidic circuits have been modelled with SPICE through the hydrodynamic analogy.[40] SPICE has been applied inoperations research to evaluate perturbedsupply chains,[41] and regulatory networks insynthetic biology.[42]

However, transport dynamics are not a requirement for SPICE simulation. In arotating machine, torque corresponds to voltage, angular velocity to current, viscous friction to resistance, and inertia to inductance.[43][44] SPICE has been used to model loudspeakers, earphones, and headphones.[45] Suchelectro-mechanical transducers often have complex input impedances (see, for example,Electrical characteristics of dynamic loudspeakers) that present difficulties to the circuits designed to drive them. Integrated modelling of both components addresses this problem.

Electromagnetic modeling is accessible to a SPICE simulator via thePEEC (partial element equivalent circuit) method.[46] Maxwell's equations have been mapped, RLC, Skin effect, dielectric or magnetic materials and incident or radiated fields have been modelled. However, as of 2019, SPICE cannot simulate arbitraryphotonic dynamics when circuits display strongly quantum effects.[47]

See also

[edit]

References

[edit]
  1. ^abNagel, Laurence W.; Pederson, D. O (April 1973).SPICE (Simulation Program with Integrated Circuit Emphasis) (Technical report). University of California, Berkeley. UCB/ERL M382.
  2. ^abNagel, Laurence W. (May 1975).SPICE2: A Computer Program to Simulate Semiconductor Circuits (Technical report). University of California, Berkeley. UCB/ERL M520.
  3. ^BTVSPICE Simulators.Archived 2023-01-03 at theWayback Machine Retrieved January 2, 2023
  4. ^Warwick, Colin (May 2009)."Everything you always wanted to know about SPICE* (*But were afraid to ask)"(PDF).EMC Journal (82):27–29.Archived(PDF) from the original on 2011-09-17. Retrieved2009-08-04.
  5. ^Nagel, L. W.;Rohrer, R. A. (August 1971). "Computer Analysis of Nonlinear Circuits, Excluding Radiation".IEEE Journal of Solid-State Circuits.6 (4):166–182.Bibcode:1971IJSSC...6..166N.doi:10.1109/JSSC.1971.1050166.
  6. ^Life of SPICEArchived February 4, 2012, at theWayback Machine
  7. ^Perry, T. (June 1998). "Donald O. Pederson".IEEE Spectrum.35:22–27.doi:10.1109/6.681968.S2CID 51633338.
  8. ^Vladimirescu, Andrei (1994).The SPICE Book. New York: John Wiley & Sons, Inc.
  9. ^Ruehli, A.; Brennan, P. (June 1975). "The modified nodal approach to network analysis".IEEE Transactions on Circuits and Systems.22 (6):504–509.Bibcode:1975ITCS...22..504C.doi:10.1109/TCS.1975.1084079.
  10. ^"Recollections of the "The Father of SPICE" Larry Nagel". ltwiki.org. Retrieved2024-02-21.
  11. ^Nagel, Laurence W."The Origins of SPICE". omega-enterprises.net.Archived from the original on 2024-05-09. Retrieved2024-02-21.
  12. ^Pederson, D.O. January 1984. "A Historical Review of Circuit Simulation." IEEE Transactions on Circuits and Systems, vol pp103-111.
  13. ^Quarles, Thomas L.,Analysis of Performance and Convergence Issues for Circuit Simulation, Memorandum No. UCB/ERL M89/42, University of California, Berkeley, April 1989.
  14. ^history-of-spiceArchived October 9, 2016, at theWayback Machine on allaboutcircuits.com. "The origin of SPICE traces back to another circuit simulation program called CANCER. Developed by professor Ronald Rohrer of U.C. Berkeley along with some of his students in the late 1960s, CANCER continued to be improved through the early 1970s. When Rohrer left Berkeley, CANCER was rewritten and renamed to SPICE, released as version 1 to the public domain in May of 1972. Version 2 of SPICE was released in 1975 (version 2g6—the version used in this book—is a minor revision of this 1975 release). Instrumental in the decision to release SPICE as a public-domain computer program was professor Donald Pederson of Berkeley, who believed that all significant technical progress happens when information is freely shared. I for one thank him for his vision."
  15. ^Pescovitz, David (2002-05-01)."1972: The release of SPICE, still the industry standard tool for integrated circuit design".Lab Notes: Research from the Berkeley College of Engineering. Archived fromthe original on 2015-07-09. Retrieved2007-03-10.
  16. ^"List of IEEE Milestones".IEEE Global History Network. IEEE.Archived from the original on 20 April 2009. Retrieved4 August 2011.
  17. ^Donald O. Pederson Solid-State Circuits AwardArchived 2024-07-07 at theWayback Machine,IEEE Solid-State Circuits Society, June 2018
  18. ^"The Spice Page".University of California at Berkeley. Archived fromthe original on December 8, 2023.
  19. ^Cox, F.L.; Kuhn, W.B.; Murray, J.P.; Tynor, S.D. (1992). "Code-level modeling in XSPICE".[Proceedings] 1992 IEEE International Symposium on Circuits and Systems. Vol. 2. pp. 871–874.doi:10.1109/ISCAS.1992.230083.ISBN 0-7803-0593-0.S2CID 195705106.
  20. ^CODECS: A Mixed-Level Circuit and Device Simulator, K. Mayaram, Memorandum No. UCB/ERL M88/71, Berkeley, 1988,http://www.eecs.berkeley.edu/Pubs/TechRpts/1988/ERL-88-71.pdfArchived 2021-01-23 at theWayback Machine
  21. ^"ngspice, current status and future developments", H. Vogt, FOSDEM, Brussels 2019
  22. ^"ngspice - an open source mixed signal circuit simulator". Free Silicon Foundation (F-Si).Archived from the original on 2019-07-08. Retrieved2019-07-08.
  23. ^"WRspice". Whiteley Research. Retrieved2021-05-07.
  24. ^"QUCS-S software".Archived from the original on 2019-05-08. Retrieved2023-01-17.
  25. ^"Xyce software, Sandia National Laboratories".Archived from the original on 2017-09-04. Retrieved2023-01-17.
  26. ^Vladimirescu, A. (1990). "SPICE: The third decade".Proceedings on Bipolar Circuits and Technology Meeting. pp. 96–101.doi:10.1109/BIPOL.1990.171136.S2CID 62622975.
  27. ^K. S. Kundert,The Designer's Guide to SPICE and Spectre, Kluwer. Academic Publishers, Boston, 1995
  28. ^SPICE-Based Analog Simulation Program - TINA-TI - TI Software FolderArchived October 19, 2016, at theWayback Machine
  29. ^"PLECS Spice". Plexim GmbH. Retrieved12 February 2026.
  30. ^Art Kay (2012).Operational Amplifier Noise: Techniques and Tips for Analyzing and Reducing Noise. Elsevier. p. 41.ISBN 978-0-08-094243-8.
  31. ^Ron Mancini (2012).Op Amps for Everyone. Newnes. p. 162.ISBN 978-0-12-394406-1.
  32. ^Iannello, Chris (August 2012).PSPICE Circuit Simulation Overview: Part 1 (Video). Event occurs at 2:39.Archived from the original on 2021-05-24. Retrieved2021-05-24.
  33. ^abNagel, L.,Is it Time for SPICE4?Archived September 26, 2006, at theWayback Machine, 2004 Numerical Aspects of Device and Circuit Modeling Workshop, June 23–25, 2004, Santa Fe, New Mexico. Retrieved on 2007-11-10
  34. ^McCalla and Howard (February 1971). "BIAS-3: A program for nonlinear D.C. analysis of bipolar transistor circuits".IEEE Journal of Solid-State Circuits.6 (1):14–19.Bibcode:1971IJSSC...6...14M.doi:10.1109/JSSC.1971.1050153.
  35. ^Idleman, T.E.; Jenkins, F.S.; McCalla, W.J.; Pederson, D.O. (August 1971). "SLIC: A simulator for linear integrated circuits".IEEE Journal of Solid-State Circuits.6 (4):188–203.Bibcode:1971IJSSC...6..188I.doi:10.1109/JSSC.1971.1050168.
  36. ^Bianchi, Giovanni (2015). "Limitations of PLL simulation: hidden oscillations in SPICE analysis".2015 7th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT). pp. 79–84.arXiv:1506.02484.doi:10.1109/ICUMT.2015.7382409.ISBN 978-1-4673-9283-9.S2CID 7140415.
  37. ^"CMC - Compact Model Council". GEIA. Archived fromthe original on May 11, 2011.
  38. ^"ngspice tutorial on electro-thermal simulation".Archived from the original on 2019-09-21. Retrieved2022-05-06.
  39. ^M. Maerz; Paul Nance."Thermal Modeling of Power-electronic Systems"(PDF). Fraunhofer IISB.Archived(PDF) from the original on 2022-04-20. Retrieved2022-05-06.
  40. ^Takao, H.; Sugiura, M.; Ishida, M.; Terao, K.; Suzuki, T; Shimokawa, F; Oohira, F. (2011). "Micro fluidic circuit design with".2011 IEEE 24th International Conference on Micro Electro Mechanical Systems. IEEE. pp. 1154–1157.doi:10.1109/MEMSYS.2011.5734635.ISBN 978-1-4244-9632-7.S2CID 24263237.
  41. ^Francisco Campuzano-Bolarín e.a. (2021)."Network simulation method for the evaluation of perturbed supply chains on a finite horizon".CEJOR, Cent. Eur. J. Oper. Res.29 (3):823–839.doi:10.1007/s10100-021-00748-3.S2CID 235523347.Archived from the original on 2022-05-06. Retrieved2022-05-06.
  42. ^Morgan Madec e.a. (2017)."Modeling and simulation of biological systems using SPICE language".PLOS ONE.12 (8) e0182385.Bibcode:2017PLoSO..1282385M.doi:10.1371/journal.pone.0182385.PMC 5546598.PMID 28787027.
  43. ^"AB-025: Using SPICE To Model DC Motors". Precision Microdrives. 22 September 2021.Archived from the original on 2022-06-25. Retrieved2022-05-06.
  44. ^Pham and Nathan (1998)."Circuit Modeling and SPICE Simulation of Mixed-Signal Microsystems"(PDF).Sensors and Materials.10 (7):435–460.
  45. ^Kahrs, Mark (2009)."SPICE simulation of headphones and earphones".Audio Engineering Society Convention 127. Audio Engineering Society.
  46. ^Albert E. Ruehli; Giulio Antonini; Lijun Jiang (2017).Circuit Oriented Electromagnetic Modeling Using the PEEC Techniques. Wiley.ISBN 978-1-11-843664-6.
  47. ^Bogaerts, Wim; Chrostowski, Lukas (April 2018)."Silicon Photonics Circuit Design: Methods, Tools and Challenges".Laser & Photonics Reviews.12 (4) 1700237.Bibcode:2018LPRv...1200237B.doi:10.1002/lpor.201700237.hdl:1854/LU-8578535.

External links

[edit]
Wikimedia Commons has media related toSPICE.

Histories, original papers

[edit]
Computer-aided design (CAD) software
Free and
open-source
Mechanical
2D (CADD)
2D/3D (CAx/FEx)
Architectural (AEC)
Electrical
Optical
Garment
Proprietary
Mechanical
Architectural (AEC)
Electrical
Optical
Garment
  • Clo3D
  • Embird
File formats
Modeling
kernels
Historic
Italics= discontinued

Computer-aided industrial designComparisonHistory

Media related toCAD at Wikimedia Commons •iconEngineering portalGlossary of terms
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=SPICE&oldid=1337982781"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp