To link to this article:

Similar documents
University, Tempe, Arizona, USA b Department of Mathematics and Statistics, University of New. Mexico, Albuquerque, New Mexico, USA

Gilles Bourgeois a, Richard A. Cunjak a, Daniel Caissie a & Nassir El-Jabi b a Science Brunch, Department of Fisheries and Oceans, Box

CCSM: Cross correlogram spectral matching F. Van Der Meer & W. Bakker Published online: 25 Nov 2010.

Guangzhou, P.R. China

Dissipation Function in Hyperbolic Thermoelasticity

OF SCIENCE AND TECHNOLOGY, TAEJON, KOREA

Open problems. Christian Berg a a Department of Mathematical Sciences, University of. Copenhagen, Copenhagen, Denmark Published online: 07 Nov 2014.

Testing Goodness-of-Fit for Exponential Distribution Based on Cumulative Residual Entropy

Online publication date: 30 March 2011

Use and Abuse of Regression

Precise Large Deviations for Sums of Negatively Dependent Random Variables with Common Long-Tailed Distributions

Erciyes University, Kayseri, Turkey

Ankara, Turkey Published online: 20 Sep 2013.

Full terms and conditions of use:

The Homogeneous Markov System (HMS) as an Elastic Medium. The Three-Dimensional Case

Full terms and conditions of use:

The Fourier transform of the unit step function B. L. Burrows a ; D. J. Colwell a a

FB 4, University of Osnabrück, Osnabrück

Version of record first published: 01 Sep 2006.

Online publication date: 01 March 2010 PLEASE SCROLL DOWN FOR ARTICLE

Published online: 05 Oct 2006.

Park, Pennsylvania, USA. Full terms and conditions of use:

Communications in Algebra Publication details, including instructions for authors and subscription information:

The American Statistician Publication details, including instructions for authors and subscription information:

Discussion on Change-Points: From Sequential Detection to Biology and Back by David Siegmund

Acyclic, Cyclic and Polycyclic P n

Diatom Research Publication details, including instructions for authors and subscription information:

Characterizations of Student's t-distribution via regressions of order statistics George P. Yanev a ; M. Ahsanullah b a

George L. Fischer a, Thomas R. Moore b c & Robert W. Boyd b a Department of Physics and The Institute of Optics,

PLEASE SCROLL DOWN FOR ARTICLE

Online publication date: 22 March 2010

G. S. Denisov a, G. V. Gusakova b & A. L. Smolyansky b a Institute of Physics, Leningrad State University, Leningrad, B-

University of Thessaloniki, Thessaloniki, Greece

Nacional de La Pampa, Santa Rosa, La Pampa, Argentina b Instituto de Matemática Aplicada San Luis, Consejo Nacional de Investigaciones Científicas

MSE Performance and Minimax Regret Significance Points for a HPT Estimator when each Individual Regression Coefficient is Estimated

Geometrical optics and blackbody radiation Pablo BenÍTez ab ; Roland Winston a ;Juan C. Miñano b a

Tore Henriksen a & Geir Ulfstein b a Faculty of Law, University of Tromsø, Tromsø, Norway. Available online: 18 Feb 2011

University, Wuhan, China c College of Physical Science and Technology, Central China Normal. University, Wuhan, China Published online: 25 Apr 2014.

Derivation of SPDEs for Correlated Random Walk Transport Models in One and Two Dimensions

Global Existence of Large BV Solutions in a Model of Granular Flow

To cite this article: Edward E. Roskam & Jules Ellis (1992) Reaction to Other Commentaries, Multivariate Behavioral Research, 27:2,

PLEASE SCROLL DOWN FOR ARTICLE

E2.2 Analogue Electronics

Piecewise Nonlinear Approach to the Implementation of Nonlinear Current Transfer Functions

PLEASE SCROLL DOWN FOR ARTICLE. Full terms and conditions of use:

Sports Technology Publication details, including instructions for authors and subscription information:

Dresden, Dresden, Germany Published online: 09 Jan 2009.

PLEASE SCROLL DOWN FOR ARTICLE

Tong University, Shanghai , China Published online: 27 May 2014.

CGDg% C,g% C GS=- AaQG

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

Lecture 15: MOS Transistor models: Body effects, SPICE models. Context. In the last lecture, we discussed the modes of operation of a MOS FET:

PLEASE SCROLL DOWN FOR ARTICLE

EE 230 Lecture 33. Nonlinear Circuits and Nonlinear Devices. Diode BJT MOSFET

Quan Wang a, Yuanxin Xi a, Zhiliang Wan a, Yanqing Lu a, Yongyuan Zhu a, Yanfeng Chen a & Naiben Ming a a National Laboratory of Solid State

PLEASE SCROLL DOWN FOR ARTICLE. Full terms and conditions of use:

Robert W. Brodersen EECS140 Analog Circuit Design

Published online: 17 May 2012.

35-959, Rzeszów, Poland b Institute of Computer Science, Jagiellonian University,

Avenue G. Pompidou, BP 56, La Valette du Var cédex, 83162, France

A note on adaptation in garch models Gloria González-Rivera a a

Melbourne, Victoria, 3010, Australia. To link to this article:

A Simple Approximate Procedure for Constructing Binomial and Poisson Tolerance Intervals

Chapter 4 Field-Effect Transistors

Chapter 13 Small-Signal Modeling and Linear Amplification

Homework Assignment 09

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

A Strongly Convergent Method for Nonsmooth Convex Minimization in Hilbert Spaces

Digital Integrated Circuits

Lecture 4: CMOS Transistor Theory

An Equivalent Circuit Formulation of the Power Flow Problem with Current and Voltage State Variables

E8-262: Basics of Circuit Simulation/SPICE. Lecture: 4+5

Projective spaces in flag varieties

PLEASE SCROLL DOWN FOR ARTICLE

2SJ332(L), 2SJ332(S)

P. C. Wason a & P. N. Johnson-Laird a a Psycholinguistics Research Unit and Department of

Analysis of Leakage Current Mechanisms in BiFeO 3. Thin Films P. Pipinys a ; A. Rimeika a ; V. Lapeika a a

PLEASE SCROLL DOWN FOR ARTICLE

PLEASE SCROLL DOWN FOR ARTICLE

Communications in Algebra Publication details, including instructions for authors and subscription information:

EE105 - Fall 2005 Microelectronic Devices and Circuits

Xiaojun Yang a a Department of Geography, Florida State University, Tallahassee, FL32306, USA Available online: 22 Feb 2007

ECE 342 Electronic Circuits. 3. MOS Transistors

Accurate Estimating Simultaneous Switching Noises by Using Application Specific Device Modeling

Figure 1: MOSFET symbols.

Raman Research Institute, Bangalore, India

Transistor-Level Static Timing Analysis by Piecewise Quadratic Waveform Matching

Electronic Devices and Circuits Lecture 15 - Digital Circuits: Inverter Basics - Outline Announcements. = total current; I D

Geometric View of Measurement Errors

Astrophysical Observatory, Smithsonian Institution, PLEASE SCROLL DOWN FOR ARTICLE

2SJ182(L), 2SJ182(S)

An Autonomous Nonvolatile Memory Latch

At point G V = = = = = = RB B B. IN RB f

Device Models (PN Diode, MOSFET )

Lecture 12 CMOS Delay & Transient Response

DESIGN MICROELECTRONICS ELCT 703 (W17) LECTURE 3: OP-AMP CMOS CIRCUIT. Dr. Eman Azab Assistant Professor Office: C

SYMBOLIC ANALYSIS OF POWER/GROUND NETWORKS. focused on nding transfer function solutions for general

Digital Electronics Part II - Circuits

András István Fazekas a b & Éva V. Nagy c a Hungarian Power Companies Ltd., Budapest, Hungary. Available online: 29 Jun 2011

Transcription:

This article was downloaded by: [Bilkent University] On: 26 February 2013, At: 06:03 Publisher: Taylor & Francis Informa Ltd Registered in England and Wales Registered Number: 1072954 Registered office: Mortimer House, 37-41 Mortimer Street, London W1T 3JH, UK International Journal of Electronics Publication details, including instructions for authors and subscription information: http://www.tandfonline.com/loi/tetn20 Application of asymptotic waveform evaluation for time-domain analysis of nonlinear circuits SATILMIS TOPCU & ABDULLAH ATALAR and MEHMET A. TAN Version of record first published: 10 Nov 2010. To cite this article: SATILMIS TOPCU & ABDULLAH ATALAR and MEHMET A. TAN (1997): Application of asymptotic waveform evaluation for time-domain analysis of nonlinear circuits, International Journal of Electronics, 83:3, 351-361 To link to this article: http://dx.doi.org/10.1080/002072197135436 PLEASE SCROLL DOWN FOR ARTICLE Full terms and conditions of use: http://www.tandfonline.com/page/ terms-and-conditions This article may be used for research, teaching, and private study purposes. Any substantial or systematic reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any form to anyone is expressly forbidden. The publisher does not give any warranty express or implied or make any representation that the contents will be complete or accurate or up to date. The accuracy of any instructions, formulae, and drug doses should be independently verified with primary sources. The publisher shall not be liable for any loss, actions, claims, proceedings, demand, or

costs or damages whatsoever or howsoever caused arising directly or indirectly in connection with or arising out of the use of this material.

INT. J. ELECTRONICS, 1997, VOL. 83, NO. 3, 351± 361 Application of asymptotic waveform evaluation for time-domain analysis of nonlinear circuits SATILMIŞ TOPCË U², ABDULLAH ATALAR MEHMET A. TAN and 1. Introduction A method is described to exploit asymptotic waveform evaluation (AWE) in the time-domain analysis of nonlinear circuits by using SPICE models for nonlinear devices such as diodes, transistors, etc. Although AWE has been used for linearized circuits only, the aim is to enhance the accuracy of the simulation while preserving the computational e ciency obtained with AWE and to eliminate the piecewiselinear modelling problem. Practical examples are given to illustrate signi cant improvements in accuracy. For circuits containing weakly nonlinear devices, it is demonstrated that this method is typically at least one order of magnitude faster than SPICE. Asymptotic waveform evaluation (AWE) (Pillage 1990) is a recent technique which is e ective in the time-domain analysis of linear(ized) circuits (Huang 1990). It accurately produces a reduced-order model of the time-domain response of a linear circuit in terms of few dominant complex poles and residues. After it being developed by Pillage (1990), AWE has been applied to many CAD problems. A survey of all these studies and the evolution of AWE is presented by Raghavan (1993). AWE is typically two or three orders of magnitude faster than traditional simulators in analysing large circuits. However, it can handle only linear(ized) circuits, whereas the time domain analysis problem is generally nonlinear due to the presence of nonlinear devices such as diodes and transistors in VLSI circuits. Previous attempts to apply AWE to the transient analysis of nonlinear circuits (Dikmen 1991, Kao 1992) solved this problem by using piecewise-linear (PWL) models for nonlinear elements. Although there exist programs that provide PWL models for given analytical expressions, it is di cult to nd a good PWL model that ts well to the actual i± v characteristics of a nonlinear device. The problem is that if the PWL model consists of a few segments, this reduces the accuracy level of the simulation results; but if the PWL model is formed with too many segments, this time the user su ers from very long simulation times. The method presented in this paper uses SPICE models for nonlinear elements in the circuit. Hence, there is no modelling problem and we can obtain very accurate results which can be useful, for instance, in evaluating the critical path in a given circuit. In addition to this, we can adjust the Received 22 November 1996; accepted 13 January 1997. ² Department of Electrical and Electronic Engineering, Eastern Mediterranean University, GazimagÆusa, via Mersin 10, Turkey. Fax: + 90 392 3669240; e-mail: topcu@eenet.ee.emu. edu.tr. Electrical and Electronics Engineering Department, Bilkent University, 06533 Bilkent, Ankara, Turkey. 0020± 7217/97 $12.00 Ñ 1997 Taylor & Francis Ltd.

352 S. TopcË u et al. accuracy level by varying some parameters. If the required level of accuracy is increased, more simulation time is needed, as expected. We describe the method and explain the extraction of linear equivalents of nonlinear elements using SPICE models in 2. In 3 some examples are provided to illustrate the e ciency and accuracy of our method compared with the SPICE performance. Finally, our concluding remarks are given in 4. 2. The method Our method is a new approach using the AWE technique to nd the time-domain response of nonlinear circuits containing diodes, transistors, etc. With the given SPICE models, our method can extract a linear equivalent for each nonlinear element about its bias point. For each nonlinear element, it can also calculate the error caused by the linear equivalent while the operating point moves to any arbitrary direction. We have an easily calculated error criterion used for this purpose. When the error of any nonlinear device exceeds a user-speci ed threshold at any time, the new linear equivalents are produced for all nonlinear elements about their present operating points. The steps of our method, for which a owchart is given in Fig. 1, can be outlined as follows. (a) Find the DC operating point of the circuit by using the Newton± Raphson iteration (Vlach 1983). This step is the rst nonlinear DC analysis which gives the initial conditions. (b) Obtain linearized equivalents for all nonlinear elements in the circuit. For a diode, this step is simply replacing the diode by a Norton equivalent which represents the tangent approximation to its i± v curve about the presumed operating point. (c) Perform an AWE to nd the time-domain behaviour of energy storage elements in the circuit. (d) Increment the time by the internal time step: t k+ 1 = t k + D t k. If the end time of the simulation is reached, then stop. Otherwise, continue with the next step. (e) Solve the linear circuit equations to nd the branch currents and branch voltages of nonlinear elements. Compute the error due to linear equivalents of individual nonlinear elements. If at least one of them has an error greater than a user-speci ed threshold value, then go to the step (b). Otherwise, go to step (d). 2.1. L inearization of an MOS transistor In general, a nonlinear circuit may contain various types of transistors. Without loss of generality, we can concentrate on the MOS transistors. For simplicity, we have used the Level 1 MOSFET model of the SPICE (HSPICE 1992) which represents the basic device characteristics, including the body e ect and the channel length modulation (Divekar 1988). The DC drain-to-source current i ds in the Level 1 MOS model is determined as follows. Cuto region: v gs v t i ds = 0 (1)

Application of asymptotic waveform evaluation 353 Figure 1. Flowchart for the nonlinear transient analysis. Linear region: 0 < v ds < v gs - v t i ds = b (1 + L AMBDA Saturation region: 0 < v gs - v t v ds v ds ) v gs - v t - v ds ( 2 ) v ds (2) i ds = b 2 (1 + LAMBDA v ds)(v gs - v t ) 2 (3) where ( b = KP W ) (4) L

î Ï 354 S. TopcË u et al. The threshold voltage is calculated as follows: v t = ïì ïí V TO + GAMMA( PHI ê ê ê ê ê ê ê ê ê ê ê+ ê ê ê ê êvê ê sb ê ê ê Ï - êphi ê ê ê ê ê ê ê êê Ï ), if v sb 0 ( V TO + GAMMA 0. 5 v ) sb, êphi ê ê ê ê ê ê ê êê if v sb < 0 where LAMBDA, KP, V TO, GAMMA and PHI are the SPICE MOS model parameters (HSPICE 1992). The parameters W and L represent the width and length of an MOS transistor, respectively. The linear DC equivalent circuit of an n-type MOSFET is given in Fig. 2. As may be seen, the transistor is modelled by a voltage controlled current source shunted by a conductance and a constant current source. In this linearized model, the drain-tosource current is calculated as follows: I ds = g m v gs + g d v ds + I 0 (6) where g m = (i ds ) (v gs ) g d = (i ds ) (v ds ) (5) (7) (8) I 0 = i ds - g m v gs - g d v ds (9) The partial derivatives g m and g d are called the transconductance and conductance, respectively, and they are calculated in each operating region of the transistor as follows. Cuto region: Linear region: g m = g d = 0 (10) g m = b (1 + L AMBDA v ds )v ds (11) g d = b (v gs - v t - v ds + 2 LAMBDA v ds (v gs - v t - 0. 75v ds )) (12) Figure 2. The linear DC equivalent circuit of an n-type MOSFET used in transient analysis.

Application of asymptotic waveform evaluation 355 Saturation region: g m = b (1 + LAMBDA v ds )(v gs - v t ) (13) g d = b 2 L AMBDA(v gs - v t ) 2 (14) 2.2. Deciding to renew the linear equivalents of nonlinear elements As seen in Fig. 1, after incrementing the time we must decide about whether the linear equivalents of nonlinear elements will be renewed or not. This decision is made by nding the di erence between the actual i± v characteristics of the device and the operating point calculated by using the linear equivalent. If this di erence is greater than a user-de ned threshold value, than the new linear equivalents are created for all nonlinear elements. For an MOS transistor, the di erence mentioned above is equal to d i = i ds - I ds (15) where i ds and I ds are the drain-to-source current values calculated from the SPICE Level 1 MOS model and the linear equivalent, respectively, using the branch voltages v gs and v ds. Calculation of the di erence in the case of a diode is shown in Fig. 3. As seen in Fig. 3, the diode has been linearized about v d = v 0 and it is replaced by the Norton equivalent which consists of a current source of value I 0 shunted by a conductance G 0. In this case, when the diode branch voltage v d becomes equal to v 1, the di erence between the linear segment and the nonlinear i± v characteristics is d i = i d - I d. If the value of d i is greater than a user-speci ed error tolerance limit, than a new linearization must be made for the diode at v d = v 1. Note that, to nd the error caused by the linear equivalents, we use the di erence between current values Figure 3. Calculation of the error resulting from a diode equivalent circuit.

356 S. TopcË u et al. instead of voltage values. Calculation of the di erence in current values requires less computation than the calculation of the di erence in voltage values, especially for three-terminal elements such as MOS transistors, because we concentrate on the voltage-controlled devices without loss of generality. 3. Results To illustrate the accuracy performance of our method, we have chosen some example circuits. The rst example is an opamp circuit with unity gain feedback, shown in Fig. 4. The schematic of the opamp (Gray 1983) is given in Fig. 5. The capacitors from each node to ground are not shown in Fig. 5, for clarity. We have used a pulse of small amplitude for the input voltage. We have simulated this example circuit by using our method, HSPICE (HSPICE 1992) and SPICE3 (Quarles 1989) with di erent error thresholds. First of all, a reference result that is assumed to be very accurate is obtained by means of HSPICE using very tight error tolerance parameters and a very small internal time step. Then we have assumed this result to be the exact response of the circuit and all other simulation outputs are compared with this result to estimate their accuracy. The error in a simulation output is calculated by nding the average of absolute di erences with respect to the exact response at every timepoints where the output waveforms are printed. That is average absolute difference = 1 N å N k= 1 v exact (t k ) - v c (t k ) (16) where v exact (t) and v c (t) are the exact and calculated responses of the circuit, respectively. For all simulations, N is chosen as 1000. The accuracy versus number of timepoints for our method, HSPICE and SPICE3 is plotted in Fig. 6 for the opamp circuit. Here, the horizontal axis denotes the number of timepoints that a simulator needs to take to preserve the corresponding accuracy. At each timepoint HSPICE or SPICE3 performs a Newton± Raphson iteration whereas our method performs, in addition to Newton± Raphson, an AWE which costs one LU-decomposition and a few forward-backward substitutions (FBSs). This means that, for a single timepoint, our method spends approximately twice as many CPU seconds than HSPICE or SPICE3. It is assumed that one FBS takes negligible CPU time compared to the time taken by one LU-decomposition for large circuits. Figure 4. Opamp circuit with unity gain feedback.

Application of asymptotic waveform evaluation 357 Figure 5. Schematic of the operational ampli er at transistor level. Figure 6. Accuracy comparison between our method and SPICE for the opamp circuit. It is observed from Fig. 6 that HSPICE and SPICE3 have the same accuracy versus speed graphs because both of them are using a trapezoidal integration algorithm in the transient analysis. It is seen that our method can produce transient responses which are accurate up to nine signi cant digits and it requires approximately 20 1 of the number of timepoints needed by HSPICE to provide the same

358 S. TopcË u et al. Figure 7. RC tree driven by a CMOS inverter and the input voltage function.

Application of asymptotic waveform evaluation 359 accuracy. If the user agrees to obtain less accurate results, such as having an error about 10-4, this ratio becomes 30 1. Then our method becomes approximately 15 times faster than HSPICE or SPICE3. Our second example, given in Fig. 7, is a small RC tree driven by a CMOS inverter. This circuit is chosen as an example to explore the e ect of inserting nonlinear elements into a linear circuit for which AWE provides very accurate results e ciently. Again, by using HSPICE we have obtained a reference result which is assumed to be extremely close to the exact result. Then we have simulated the example circuit using our method and HSPICE by changing the error tolerance parameters. These simulation results are compared with the reference result to estimate their accuracy levels. We have plotted the graph in Fig. 8 which shows the accuracy versus number of timepoints required by each simulator. It is observed from Fig. 8 that if the desired accuracy is low, our method is several times faster than HSPICE. However, when the accuracy is increased, both simulators need approximately the same number of timepoints. In the third example, shown in Fig. 9, we have inserted additional MOS transistors into the second example to increase the number of nonlinear elements in the circuit. In a similar way to the previous example, we have obtained the graph of accuracy versus number of timepoints required by our simulator and HSPICE. The resultant graph is shown in Fig. 10. It can be observed from Fig. 8 and Fig. 10 that increasing the number of nonlinear elements inserted into a linear circuit causes a degradation in the speed performance of our method. Because the overall nonlinearity of the circuit is increased by additional MOS transistors, we need to renew the linear equivalents for the nonlinear elements more frequently as time goes on. Figure 8. Accuracy versus speed graphs for our simulator and HSPICE in the second example.

360 S. TopcË u et al. Figure 9. Two CMOS inverters driven by the same inverter. Figure 10. Accuracy versus speed graphs for our simulator and HSPICE in the third example.

Application of asymptotic waveform evaluation 361 4. Conclusions A new method is proposed to apply the AWE technique to the time-domain analysis of nonlinear circuits. The existing approaches which addressed this problem have utilized the PWL modelling for nonlinear elements. However, those methods have two major drawbacks: Finding good PWL models for nonlinear elements is a di cult problem; and PWL approximation results in low accuracy in time-domain responses. Our method overcomes these disadvantages by using the SPICE models for nonlinear elements. In our method, by means of error tolerance parameters the accuracy level of the simulation can be adjusted by the user. The software implementation of the method is very easy. We have presented some examples to show the e ciency and the accuracy performance of the method and to compare them with those of SPICE. The method is capable of providing an accuracy of 10-9 which cannot be obtained by the PWL modelling approach. It is observed from the examples that our method is of advantage in situations when weak nonlinear circuits are studied. However, just for those cases, PWL AWE is also possible but our method is considerably superior to PWL AWE in terms of accuracy. As the nonlinearity of a circuit is increased by inserting additional nonlinear elements, the e ciency of the method begins to decrease. That is, it will work for mild nonlinearities where the accuracy of SPICE is dictated by local truncation error of trapezoidal integration algorithm. Unfortunately, we can say that for large circuits with many nonlinear elements it may take more CPU time than taken by HSPICE to preserve the same accuracy level. ACKNOWLEDGMENT HSPICE is a trademark of Meta-Software Inc. References Dikmen, C.T., 1991, Piecewise linear asymptotic waveform evaluation for transient simulation of electronic circuits. Proceedings of the IEEE International Symposium on Circuits and Systems, pp. 854± 857. Div ek ar, D. A., 1988, FET Modeling for Circuit Simulation (Boston, Massachusetts, U.S.A.: Kluwer Academic). Gr ay, P. R., 1983, Analysis and Design of Analog Integrated Circuits (Wiley). HSPICE User s Manual, 1992 (Campbell, U.S.A.: Meta-Software Inc.). Huang, X., 1990, AWEsim: a program for the e cient analysis of linear(ized) circuits. IEEE International Conference on Computer-aided Design, Technical Digest, pp. 534± 537. Kao, R., 1992, Piecewise linear models for switch-level simulation. Technical Report # CSL- TR-92-532, Stanford University, Stanford, California, U.S.A. Pillage, L.T., 1990, Asymptotic waveform evaluation for timing analysis. IEEE Transactions on Computer-aided Design, 9, 352± 366. Quarles,T. L., 1989, Spice3 version 3c1 User s Guide. Memorandum No. UCB/ERL M89/46, University of California, Berkeley, California, U.S.A. Raghavan, V., 1993, AWE-Inspired. Proceedings of the IEEE Custom Integrated Circuits Conference, pp. 18.1.1± 18.1.8. Vlach, J., 1983, Computer Methods for Circuit Analysis and Design (New York: U.S.A.: Van Nostrand Reinhold).