EP0177572A4 - Active leakage resistance control to improve numerical convergence in an electronic circuit simulator which seeks circuit solutions iteratively. - Google Patents
Active leakage resistance control to improve numerical convergence in an electronic circuit simulator which seeks circuit solutions iteratively.Info
- Publication number
- EP0177572A4 EP0177572A4 EP19850901811 EP85901811A EP0177572A4 EP 0177572 A4 EP0177572 A4 EP 0177572A4 EP 19850901811 EP19850901811 EP 19850901811 EP 85901811 A EP85901811 A EP 85901811A EP 0177572 A4 EP0177572 A4 EP 0177572A4
- Authority
- EP
- European Patent Office
- Prior art keywords
- circuit
- leakage resistance
- resistance value
- junction leakage
- solution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/36—Circuit design at the analogue level
- G06F30/367—Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
Definitions
- This invention relates to electronic circuit simulators and particularly to the SPICE electronic circuit simulator used for the simulation of VLSI circuit operational behavior.
- VLSI circuit simulation has become a critical tool in the development of operational VLSI circuits.
- circuit simulation has essentially replaced circuit bread boarding as a tool for determining the operational characteristics of very large scale integrated circuitry consisting of hundreds of thousands of active devices, such as metal oxide semiconductor (MOS) transistors.
- MOS metal oxide semiconductor
- the SPICE electronic circuit simulator originated at the University of California, Berkeley about 1972. It has now been in use in at least.2,000 facilities throughout the United States and the world.
- the SPICE simulator is a public domain simulator typically implemented on a general purpose digital computer, minicomputer or microcomputer having a keyboard terminal input device and display, printer or graphics output devices.
- the public domain SPICE program is documented in a publication entitled "SPICE2: A COMPUTER PROGRAM TO SIMULATE SEMICONDUCTOR CIRCUITS" by Laurence W. Nagel Memorandum No. ERL-M520, 9 May 1975; Electronics Research Laboratory College of Engineering, University of California, Berkeley and available from the ERL Publications Office, 433 Cory Hall, University of California, Berkeley, California 94720 for a nominal handling charge.
- the SPICE simulator is generally available in the industry.
- the published SPICE2 documentation and program listing is incorporated herein by reference and made a part hereof.
- the typical implementation of the SPICE simulator is as a Fortran program comprising about 20,000 lines of coding compiled for operation on an IBM-type 3081 computer to which are coupled display devices, terminals and printers.
- a circuit simulator could be a special purpose hard-wired apparatus, but such an apparatus is generally considered to be so complex and expensive as to be impractical as a useful tool.
- a circuit in a SPICE simulator is defined by a set of equations specifying the operational characteristics of each circuit element and data specifying nodes and branches interconnecting various such circuit devices.
- a key portion of the simulator is the solution of nonlinear differential equations characterizing the circuit elements employing numerical methods in which a solution is computed iteratively from relatively arbitrary initial conditions.
- a general purpose computer programmed with SPICE is treated as a dedicated simulation device having defined features and characteristics.
- a SPICE simulator is well-known to exhibit convergence problems with complex circuits. Specifically, a steady state (D.C.)_solution of a circuit with many active devices is difficult to obtain with the SPICE simulator because of characteristics of the simulator relating to its numerical computation properties.
- the SPICE simulator is not the only circuit simulator known to have convergence problems. Nevertheless, the SPICE simulator, because it is in the public domain and so widely used, is a representative environment addressed by the present invention.
- a method for achieving convergence in the circuit solutions of very large scale circuit designs in a SPICE simulator or the like which models circuits employing elements from which is it difficult to obtain convergence of solutions.
- the technique models real circuits with a smaller junction leakage resistance than is known to exist in the real circuit in order to easily generate circuit solutions to be used as the initial conditions to assist the convergence of the real circuit solution.
- the typical initial condition is zero volt at each circuit node, which is identified to be a major source of nonconvergence.
- the present circuit simulator employs an active internal junction leakage resistance control scheme for each active circuit which can select among two strategies for achieving convergence based on intermediate iterative results.
- the method of the invention is to actively modify the initial junction leakage leakage resistance during computation of a circuit solution to approach the known junction leakage resistance value while maintaining the circuit solution within boundaries calculated to be within conditions for convergence to a stable solution.
- Two different methods are disclosed. One method which alternatively attempts to obtain a solution with known actual junction leakage resistance values and with a fraction of known actual junction leakage resistance value, which fraction is iteratively increased to develop a set of initial conditions for subsequent iterative computation.
- a second method attempts to obtain a solution by employing a circuit model wherein a fraction of the known actual junction leakage resistance is a parameter, and then iteratively increased the fraction until a solution is obtained with the known actual junction leakage resistance parameter.
- active devices with known high internal leakage resistances of are simulated as having an initial leakage resistance of considerably smaller value.
- the method according to the invention has been tested and proven to assist the convergence toward solutions of numerous difficult to converge circuits.
- Figure 1 is a schematic diagram of a circuit model of a diode showing a model for junction leakage resistance value.
- Figure 2 is a flow chart of methods according to the invention.
- Figure 3 is a flow chart for explaining relevant iteration methods of a computer simulation program such as SPICE.
- FIG. 1 With reference to Figure 1 there is shown a schematic diagram of a circuit model of a diode showing a diode symbol having a p-n junction 12 defining a cathode terminal 14 and an anode terminal 16.
- This is a generalized form of a p-n junction model and serves to illustrate models for all other devices, including a variety of transistors, including both junction transistors and field effect transistors.
- V In normal operation, there is a forward biasing voltage V applied between the anode terminal 16 and the cathode terminal 14.
- Figure 1 shows further a diode model 110 having a cathode terminal 114 and an anode terminal 116 and all relevant features of a p-n junction.
- the diode model 110 can be simulated by a bulk resistance R in series with the parallel combination of a junction capacitance C , a current source I_ and a leakage resistance R ⁇ .
- the bulk resistance in a diode is typically in the range of a few ohms or less.
- the leakage resistance in a real circuit is typically in the range of one million megohms ⁇ 1 x 10 12) .
- the diode current corresponding to the diode current source I_ is given by the well-known relationship:
- the solutions of network problems involving such relationships requires the application of iterative numerical techniques which were found to be inadequate to obtain stable solutions consistently.
- the present invention is a technique for achieving convergence of iterative numerical methods to stable circuit solutions with improved consistency.
- the method according to the invention dictates that the junction resistance R_ in all diodes and transistors is preset and then subsequently modified in the process of solution.
- the junction resistance R ⁇ is initially selected to be one megohm, which is on the order of one millionth of the actual leakage resistance in a real circuit.
- a strategy is then applied which progressively modifies the junction resistance R ⁇ -,. to its final normal junction resistance value of one million megohms.
- two different strategies may be employed. More specifically, the two different strategies can be employed together serially in an attempt to achieve convergence with minimal outside intervention.
- Initial values are assigned to an array junction resistance values intermediate of the initial value and the final value for use in the second strategy.
- the array may consist of ten values indexed from one to ten.
- the values stored in this array are the initial conditions to be used for each indexed attempt to achieve a convergent solution during the iterative process.
- the immediately preceding value in the array serves to help develop initial conditions for the next iteration.
- the last members of the array may be equal to one another and equal to the final normal junction resistance for several iterations of the attempted solution in order to allow the circuit solution to converge to the desired final values for all voltages and currents in the circuit. This characteristic will be apparent upon an examination of the flow chart as hereinafter explained.
- RJUP is a multiplication factor for the junction resistance RJ which is used if the initial strategy does not generate a convergent solution during iteration. Its function will be apparent upon reference to the flow chart.
- Step A the index INX is set to one(l) (Step A) and then tested to see if it is greater than the final desired value for the index, which in this case is 10 (Step B) . If not, thereafter the value ICONVG is tested to determine which strategy is to be used (Step C) . If the first strategy is used, a call is immediately made to the subroutine employed to compute the circuit solution under the given circuit conditions. In a specific embodiment of a SPICE circuit simulator, the subroutine is known as ITER8. If ICONVG is equal to one the initial conditions are those set by the assignment statement without reference to the values in the array.
- the current value of the junction resistance RJ is set to the array value of junction resistance corresponding to the current index value (Step D) .
- a call is subsequently made to the solution computation subroutine, such as the subroutine ITER8 (Step E) .
- the ITER8 subroutine performs its computations in a conventional manner, returning a flag indicating whether or not a solution has been achieved which is characterized by convergence.
- the flag used is called IGOOF (Step F) .
- Step G a test is made using the ICONVG test to determine whether the first strategy or second strategy is in use. If the first strategy is in use, the initial value for RJ is updated by decreasing the junction resistance value by a factor according to the value RJUP (Step H) . In this example, the RJUP is equal to 0.2. An initial value of one megohm would therefore be reduced to an initial value of 200 kilohms. The method would then be reinitiated by returning to Step A and incrementing the index INX (Step A) .
- Step F assuming that a convergent solution has been generated using the ITER8 subroutine, a test is made to determine if the current value for junction resistance RJ is equal to the designated final value for junction resistance (Step J) . If the circuit simulator is operating in its conventional mode, the junction resistance RJ will equal the final junction resistance and therefore this exercise was not necessary. However, in accordance with the invention, the initial junction resistance is not equal to the final junction resistance and at least one iteration is required to determine whether the convergent solution has been achieved.
- Step K a test is made to determine whether the first strategy or the second strategy is in use. If the first strategy is in use, then the value for junction resistance RJ is set to the final value RJFNL (Step L) . Thereupon, Step A, Step B, Step C and Step E are performed as before.
- the circuit solution routine returns the value IGOOF indicating whether or not a convergent solution has been found (Step F) . If in this instance, a convergent solution is also found, then the test is performed to determine if the current value junction leakage resistance is equal to the final value junction leakage resistance RJFNL (Step J) .
- Step M an output indication is given in the form of a suitable signal indicating that the solution is convergent.
- the power of the invention lies in its ability to adjust the value of junction leakage resistance during attempts to solve the circuit iteratively. For example, it has already been shown that the initial junction resistance can be downwardly adjusted (Step H) to adjust the circuit conditions toward a point where a convergent solution is more likely to be achieved. This downward adjustment can take place at any time an indication is given that a nonconvergent solution has been obtained.
- the update step can be used to re-adjust downwardly the junction resistance whenever the ITER8 subroutine fails to retain its range of solutions within the conditions defining convergence.
- the first step is to test whether the second strategy has already been used (Step N) . If it has been used, then the consequence is that no convergent solution has been found (Step P) . The computation is then terminated (Step Q) . If on the other hand the second strategy has not yet been used, the convergence index is set to 2 (Step R) and the iteration index INX is reset to zero(0) (Step S) . Control then returns to Step A and the various tests are instituted once again. Step C, for example, tests to determine whether the first strategy or second strategy is to be utilized. If the second strategy is to be utilized, then the junction resistance RJ is updated to correspond to the predetermined value stored in the junction resistance array RJARY(INX) of the corresponding index (Step D) .
- Step E a call is made to the ITER8 routine (Step E) , and a value is returned indicating whether or not convergence has been achieved. If convergence has not been achieved, the process is repeated beginning with Step A through the test of Step F until such time as a convergent solution is found which corresponds to the final value of the junction resistance RJFNL. For any of the strategies employed, the procedure is complete and a good solution is obtained as soon as the convergent criteria have been satisfied with the final junction resistance RJFNL.
- Figure 3 illustrates a typical circuit solution subroutine, such as the ITER8 subroutine employed by the SPICE circuit simulator.
- Step AA initial counters are preset, such as a counter called ITER, to initial values.
- ITER is initially set to zero.
- Step BB the counter ITER is incremented.
- a test is made to determine whether the counter ITER exceeds a maximum preselected iteration, such as a value of 200, which is stored in a register represented by a value ITMAX (Step CC) . If the convergence criteria are not satisfied, the subroutine is terminated and a flag is set indicating that no solution has been obtained.
- the circuit matrix coefficients and source terms for the circuit under consideration are loaded into the designated registers for computation (Step EE) .
- the linearized circuit equations may be solved, as for example by direct matrix inversion (Step FF) .
- Direct matrix inversion solutions have an advantage of exact solutions to a system of linear equations. However, other methods of solving the circuit equations may also be used.
- Step GG convergence tests are applied to the solutions to determine whether the convergence criteria have been satisfied.
- the invention has now been explained with reference to specific embodiments. For example, selected embodiments may be used in the environment of a SPICE circuit simulator. The invention may also be implemented in connection with other circuit simulators which attempt to solve circuit equations which are subject to concerns about convergent solutions. Such circuit simulators are always iterative in nature. Therefore it is not intended that this invention be limited except as indicated the appended claims.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US59776684A | 1984-04-06 | 1984-04-06 | |
US597766 | 1984-04-06 |
Publications (2)
Publication Number | Publication Date |
---|---|
EP0177572A1 EP0177572A1 (en) | 1986-04-16 |
EP0177572A4 true EP0177572A4 (en) | 1986-09-22 |
Family
ID=24392841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP19850901811 Ceased EP0177572A4 (en) | 1984-04-06 | 1985-03-19 | Active leakage resistance control to improve numerical convergence in an electronic circuit simulator which seeks circuit solutions iteratively. |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP0177572A4 (en) |
JP (1) | JPS61501800A (en) |
WO (1) | WO1985004739A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050251376A1 (en) * | 2004-05-10 | 2005-11-10 | Alexander Pekker | Simulating operation of an electronic circuit |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3961250A (en) * | 1974-05-08 | 1976-06-01 | International Business Machines Corporation | Logic network test system with simulator oriented fault test generator |
US4089058A (en) * | 1976-12-06 | 1978-05-09 | Resource Control Corporation | Real time data processing and display system for non-linear transducers |
US4204633A (en) * | 1978-11-20 | 1980-05-27 | International Business Machines Corporation | Logic chip test system with path oriented decision making test pattern generator |
US4466749A (en) * | 1982-04-15 | 1984-08-21 | Ectron Corporation | Microprocessor controlled thermocouple simulator system |
US4502109A (en) * | 1982-09-14 | 1985-02-26 | Vickers, Incorporated | Apparatus for estimating plural system variables based upon a single measured system variable and a mathematical system model |
-
1985
- 1985-03-19 JP JP60501516A patent/JPS61501800A/en active Pending
- 1985-03-19 EP EP19850901811 patent/EP0177572A4/en not_active Ceased
- 1985-03-19 WO PCT/US1985/000486 patent/WO1985004739A1/en not_active Application Discontinuation
Non-Patent Citations (5)
Title |
---|
AUTOMATION AND REMOTE CONTROL, vol. 38, no. 2, February 1977, pages 290-297, V.I. IL'IN et al.: "Analysis of methods of simulation of MOS transistor characteristics for computer-aided design of integrated circuits" * |
ELECTRONIC DESIGN, vol. 33, no. 24, October 1985, pages 96-106, Hasbrouck Heights, New Jersey, US; M. SCHINDLER: "For circuit and timing simulators, greater speed and accuracy meet the challenge of denser chips" * |
IEEE 1982, IECON PROCEEDINGS, 15th-19th November 1982, Palo Alto, CA, pages 39-44, IEEE, New York, US; N.A. LOSIC et al.: "A thyristor model for computer-aided power electronics circuit design" * |
PROCEEDINGS OF THE IEEE, vol. 69, no. 10, October 1981, pages 1264-1280, IEEE, New York, US; G.D. HACHTEL et al.: "A survey of third-generation simulation techniques" * |
See also references of WO8504739A1 * |
Also Published As
Publication number | Publication date |
---|---|
JPS61501800A (en) | 1986-08-21 |
WO1985004739A1 (en) | 1985-10-24 |
EP0177572A1 (en) | 1986-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5999714A (en) | Method for incorporating noise considerations in automatic circuit optimization | |
US6493853B1 (en) | Cell-based noise characterization and evaluation | |
US6278964B1 (en) | Hot carrier effect simulation for integrated circuits | |
Shi et al. | Compact representation and efficient generation of s-expanded symbolic network functions for computer-aided analog circuit design | |
Mayaram et al. | Coupling algorithms for mixed-level circuit and device simulation | |
Tan et al. | Hierarchical symbolic analysis of analog integrated circuits via determinant decision diagrams | |
Borchers | Symbolic behavioral model generation of nonlinear analog circuits | |
US5812431A (en) | Method and apparatus for a simplified system simulation description | |
US5663890A (en) | Method, apparatus and computer program product for determining a frequency domain response of a nonlinear microelectronic circuit | |
Trajkovic et al. | Finding DC operating points of transistor circuits using homotopy methods | |
US7606693B2 (en) | Circuit simulation with decoupled self-heating analysis | |
Tian et al. | Efficient DC fault simulation of nonlinear analog circuits | |
WO1985004739A1 (en) | Active leakage resistance control to improve numerical convergence in an electronic circuit simulator which seeks circuit solutions iteratively | |
US6311146B1 (en) | Circuit simulation with improved circuit partitioning | |
US6047114A (en) | Method of constructing testing procedures for analog circuits by using fault classification tables | |
US5671150A (en) | System and method for modelling integrated circuit bridging faults | |
Yeager et al. | Improvement in norm-reducing Newton methods for circuit simulation | |
Iordache et al. | ACAP-Analog Circuit Analysis Program | |
Wichmann et al. | On the simplification of nonlinear DAE systems in analog circuit design | |
US6944834B2 (en) | Method and apparatus for modeling dynamic systems | |
Breuer et al. | Digital system simulation: Current status and future trends or darwin's theory of simulation | |
JP2884951B2 (en) | Matrix formulation for circuit-division simulation | |
Magnuson | Circuit analysis and simulation programs-an overview | |
Liu et al. | Single sample path-based sensitivity analysis of Markov processes using uniformization | |
Shang | The convergence problem in SPICE |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 19851118 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AT BE CH DE FR GB LI LU NL SE |
|
A4 | Supplementary search report drawn up and despatched |
Effective date: 19860922 |
|
17Q | First examination report despatched |
Effective date: 19870403 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 19880229 |
|
RIN1 | Information on inventor provided before grant (corrected) |
Inventor name: FANG, SHENG Inventor name: WANG, SANG, S. Inventor name: BURKHARDT, ROBERT, JOHN |