Bernhard Klaassen GMD SET Institute D St. Augustin, Germany

Similar documents
Switched Capacitor Circuits I. Prof. Paul Hasler Georgia Institute of Technology

Series & Parallel Resistors 3/17/2015 1

Response of Second-Order Systems

D is the voltage difference = (V + - V - ).

(310) N E W S L E T T E R. Copyright intusoft, April1988

Electric Circuits II Sinusoidal Steady State Analysis. Dr. Firas Obeidat

Generation of Four Phase Oscillators Using Op Amps or Current Conveyors

Preamble. Circuit Analysis II. Mesh Analysis. When circuits get really complex methods learned so far will still work,

Synergetic Synthesis Of Dc-Dc Boost Converter Controllers: Theory And Experimental Analysis

Advanced Computational Methods for VLSI Systems. Lecture 4 RF Circuit Simulation Methods. Zhuo Feng

E40M. Op Amps. M. Horowitz, J. Plummer, R. Howe 1

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Lecture 5: Using electronics to make measurements

Kirchhoff's Laws and Circuit Analysis (EC 2)

Approximation Approach for Timing Jitter Characterization in Circuit Simulators

In this lecture, we will consider how to analyse an electrical circuit by applying KVL and KCL. As a result, we can predict the voltages and currents

Experimental verification of the Chua s circuit designed with UGCs

Synchronization of Two Chaotic Duffing type Electrical Oscillators

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

4/27 Friday. I have all the old homework if you need to collect them.

Notes for course EE1.1 Circuit Analysis TOPIC 10 2-PORT CIRCUITS

/$ IEEE

The Study of a Digital Equivalent Capacitor Circuit

Chaos in Modified CFOA-Based Inductorless Sinusoidal Oscillators Using a Diode

ECE2262 Electric Circuits

FRACTIONAL ORDER FILTER BASED ON FRACTIONAL CAPACITORS AND FRACTIONAL INDUCTOR

ES250: Electrical Science. HW1: Electric Circuit Variables, Elements and Kirchhoff s Laws

ENGR 2405 Class No Electric Circuits I

Behavioral Modeling for Analog System-Level Simulation by Wavelet Collocation Method

OPERATIONAL AMPLIFIER APPLICATIONS

Model-Order Reduction of High-Speed Interconnects: Challenges and Opportunities

Chapter 3. Steady-State Equivalent Circuit Modeling, Losses, and Efficiency

Automatic Formulation of Circuit Equations

ECE2262 Electric Circuits. Chapter 5: Circuit Theorems

Physics 405/505 Digital Electronics Techniques. University of Arizona Spring 2006 Prof. Erich W. Varnes

Chapter 10 Sinusoidal Steady State Analysis Chapter Objectives:

Berkeley. Matching Networks. Prof. Ali M. Niknejad. U.C. Berkeley Copyright c 2016 by Ali M. Niknejad

(3), where V is the peak value of the tank voltage in the LC circuit. 2 The inductor energy is: E.l= LI 2

Analysis of methods for speech signals quantization

Introducing Chaotic Circuits in Analog Systems Course

AN-1301 APPLICATION NOTE

Physics 212 Spring 2009 Exam 2 Version C (832725)

EE5900 Spring Lecture 5 IC interconnect model order reduction Zhuo Feng

Analog Circuits and Systems

Scattering Parameters

Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

A two-port network is an electrical network with two separate ports

Transformation Techniques for Real Time High Speed Implementation of Nonlinear Algorithms

analyse and design a range of sine-wave oscillators understand the design of multivibrators.

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Resonant Matching Networks

Reactive Power Solutions

Lecture 5: Using electronics to make measurements

A broad band detector of Gravitational Waves: The dual torus

A MULTIFUNCTION ANALOG NON LINEAR FILTER.

Light, Electricity and Liquids. By Vitaliy Zamsha and Vladimir Shevtsov

Surface Acoustic Wave Linear Motor

SINUSOIDAL STEADY STATE CIRCUIT ANALYSIS

Physical Modeling and Simulation Rev. 2

Handout 11: AC circuit. AC generator

Fault Tolerant Computing CS 530 Fault Modeling. Yashwant K. Malaiya Colorado State University

An Introduction to Insulation Resistance Testing

Chapter 3: Capacitors, Inductors, and Complex Impedance

E40M Review - Part 1

Appendix A Installing QUCS

Sinusoidal Response of RLC Circuits

Parallel-Distributed Time-Domain Circuit Simulation of Power Distribution Networks with Frequency-Dependent Parameters

48520 Electronics & Circuits: Web Tutor

CHAPTER 5 ANALYSIS OF EXTRAPOLATION VOLTAGES

LOW & HIGH RESISTANCE MEASUREMENTS and A.C. BRIDGES

E08 Gyroscope Drive Design

A Method of Resolution Improvement by the Measurement of Cell Membrane Capacitance

RECURSIVE CONVOLUTION ALGORITHMS FOR TIME-DOMAIN SIMULATION OF ELECTRONIC CIRCUITS

Mutual Inductance. The field lines flow from a + charge to a - change

Section 4. Nonlinear Circuits

Capacitors. Chapter How capacitors work Inside a capacitor

Sinusoidal Steady State Analysis (AC Analysis) Part II

Effective ramping algorithm and restart algorithm in the SPICE3 implementation for DPTA method

Unit 3 Transducers. Lecture_3.1 Introduction to Transducers

Test Pattern Generator for Built-in Self-Test using Spectral Methods

Lecture 9 Time Domain vs. Frequency Domain

Electronics II. Final Examination

EE 435. Lecture 2: Basic Op Amp Design. - Single Stage Low Gain Op Amps

An example of answers for the final report of Electronics"

Experiment FT1: Measurement of Dielectric Constant

Chapter 10 AC Analysis Using Phasors

Modal Analysis: What it is and is not Gerrit Visser

CMPEN 411 VLSI Digital Circuits Spring 2012

Lecture 7: Transistors and Amplifiers

EE 508 Lecture 24. Sensitivity Functions - Predistortion and Calibration

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2

Combinational Logic Design

Design of Narrow Band Filters Part 2

CIRCUITS AND ELECTRONICS. Dependent Sources and Amplifiers

Pseudo-dynamic tests in centrifugal field for structure-foundation-soil systems

The colpitts oscillator family

Operational Amplifiers

Active elastomer components based on dielectric elastomers

Hybrid Time-Frequency Domain Adaptive Filtering Algorithm for control of the vibration control systems

CHARACTERISATION OF VIBRATORY, PULSATION AND NOISE SOURCES

Transcription:

N IMPROVED RELXTION PPROCH FOR MIXED SYSTEM NLYSIS WITH SEVERL SIMULTION TOOLS Vladimir. Dmitriev-Zdorov Taganrog Radioengineering University, Taganrog, 347919 Russia e-mail: dmi@rlda.rostov-na-donu.su ernhard Klaassen GMD SET Institute D-53754 St. ugustin, Germany e-mail: Klaassen@gmd.de bstract: This paper introduces a modified relaxation approach that allows to improve the convergence of iterations while analyzing mixed systems with different simulators. The method reduces the local feedbacks in the decomposed system by the use of rough models of parts in the neighboring parts of the system. This improvement is very important for mixed systems where optimal partitioning methods are not possible and the choice of the suitable types of coupling is also restricted. I. Introduction Relaxation techniques are known to be successfully used for the electrical analysis of some types of circuits, mostly digital, and they were implemented in several programs as MOTIS [1], SPLICE [2], RELX [3], etc. The main reasons that compel to choose relaxation iterations are: 1) Very high circuit size and complexity. In this case direct solution of the circuit equations, when all parts of the system are solved simultaneously, requires excessive CPU time and memory consumptions. On the contrary, relaxation techniques treat different parts of the circuit independently and they provide almost linear dependence of consumptions on the number of circuit equations. 2) ecause of the multirate behavior of the circuit variables it is preferable to choose independent timesteps in different parts of the system. This can be realized easily when waveform relaxation method is used to simulate the dynamic circuit. 3) Relaxation algorithms easily allow parallel or consequent implementation on multiprocessor systems. However, there are situations in which one must perform the relaxation iterations alike, whether the above reasons exist or not. This is the case in mixed system simulation where several parts of the system may exhibit different physical effects: electrical, thermal, structural, coupled-field, etc. To describe these effects we need various mathematical methods (ODE, partial derivative equations, finite elements etc.) and to simulate them we use some specially elaborated program tools. Other examples are the simulation of the "uniform-type" system when the numerical model for some part is not known but replaced with a call to a "real" device [4], and the mixed-level system simulation, for instance, circuit and device-level simulation [5]. s a result, under some circumstances, the simultaneous solution of the total system of equations becomes impossible. In the following we'll use the term "mixed system" to denote such type of a system to be simulated. Thus, the mixed system analysis requires the use of different program tools in one cycle of simulation. If the processes in the given system are mostly unidirectional, this particularity doesn't invoke any extra problems. It's enough to simulate each part of such a system only once. In general, however, the different parts of the system might be "tightly coupled" and the global feedbacks in the system can also exist, so one has to repeat the simulation many times, i.e. perform iterations. Naturally, these iterations must converge to a desired solution and should do this as fast as possible. Unfortunately, the diversity of the models in the different parts of the system compels crucial limitations for the use of optimal partitioning algorithms, overlapping of subcircuits and other methods implemented in most relaxation-based

electrical simulators. Thus, alternative ways are needed to improve the convergence of relaxation iterations. In this paper we consider a new approach to accelerate the convergence of iterations that suppresses the local feedbacks in the decomposed circuit. The proposed method is based on rough (approximate) models of several parts being inserted into some neihboring parts of the mixed system. The accuracy of these models doesn't affect the final results of simulation but substantially improves the convergence properties. The paper is organized as follows. In section II we consider the basic types of coupling that can be used in the decomposed mixed system. In section III we propose more general coupling schemes and investigate their features. Further we apply the modified type of coupling to a mixed system analysis and discuss the experimental results. II. asic local coupling in mixed systems Since manifold forms and methods may be used to describe the parts in mixed systems, for the sake of convenience we shall suppose that the different parts of the system can also be represented by means of equivalent electrical circuits. In fact, we need the circuit description only for the inputs and outputs of these parts and for couplings between them. Let us consider the main possible ways of couplings with strong local feedback between the parts of the system. For simplicity, suppose that the system has only two parts, and. V a Z V b V Fig.1 (a) Two parts connected by an element Z. (b) Two parts connected direcly a) b) In the first case the parts are connected by the resistive-type elements, as shown in Fig.1a. To I perform the iterations, we can use the equivalent iterative circuit as in Fig.2a. This type of coupling is widely used in relaxation-based circuit simulators [6]. The equivalent circuit contains only voltage-controlled voltage sources (VCVS) and the resistive element Z is included into both parts of this circuit. The last peculiarity may produce implementation problems if the model of Z is rather compound (dynamic, nonlinear, distributed etc.) and implies a special form of mathematical description, inconsistent with the different program tools. a Z Z V b i I i V i a) b) c) Fig.2 asic types of coupling in the decomposed circuit The second type of coupling (see Fig.1b) doesn't invoke any connecting elements between parts. The iterations can be organized in two ways as shown in Figs.2b, 2c. They both use different types of controlled sources: VCCS and CCVS. If the mixed system contains many parts:,... and couplings between them, the different types of equivalent circuits like that shown in Figs.2a-c can be used together in one iteration process. In any case we can't be sure that the considered iterations converge and/or the convergence is fast enough. Probably, among the reasons for slow or nonconvergence there are: a) the equivalent iteration circuit badly reflects the "global" or informative feedbacks existing in the original system; b) the V a V b

presence of strong local feedbacks produced by the controlled sources in the equivalent circuit itself. In the next section we'll show how to remove or reduce this second reason of non-convergence. III. Modified local coupling Note, that the local feedbacks can be reduced by changing the equivalent circuit in a way to suppress the alternating components of the controlled sources at the subcircuit or. Now, we ll consider some modified iteration circuits that can provide this possibility. a Z+Z b Z Z a V i + b -Z b I i _ Z b a + E _ a J + E _ b J a) b) V b Z a I i -J i Z Z b b + E _ a + E _ b Z a E a U Z b V i -U i c) Fig.3 Modified types of coupling in the decomposed circuit To explain the principle of the method in the easiest form we start with a linearized system that doesn t restrict the applicability of our approach to nonlinear system. Let, the linearized input characteristics of, be described by the input resistances Z a, Z b. In this case we can represent the original model (Fig.1a) by the equation: (Z a + Z + Z b ) I = E a - E b, (1a) Z b E b where E a, E b, decsribe some internal energy sources in,. Similarly, the equation (Z a + Z b ) I = E a - E b (1b) describes the original model of second type (Fig.1b). Let also Z b be some additional resistance which we'll use below. In these denotions for each considered case we can construct the modified iterative circuits that have some new features. Thus, the iteration circuit in Fig.3a generalizes the case of Fig.2a and transforms to it when Z b = 0. To prove the consistency of this approach we must show that if iterations converge then the modified circuit produces the result, satisfying (1a). If V b = V i b = V b, = I i = I, a = V a, then from Fig.3a we have: (Z a + Z + Z b ) J = E a - V b + Z b I (2) (Z + Z b ) I = V a - E b (3) V a = E a - Z a J (4) V b = E b + Z b I. (5) Substracting (3) from (2) and then substituting (4), (5), we get J = I. Further, the addition of (2) and (3) yields (1a). The convergence of the considered iterations in the i form V a = W V a + k (where W is an iteration or companion operator and k is independent of V i a, V a ) is characterized by the expression: W = [(Z a + Z + Z b ) (Z + Z b )] -1 Z a (Z b - Z b ). (6) Note, that if Z b = 0 then (6) coincides with the known estimation for the iterations from Fig.2a. Further, the norm of W substantially decreases and the convergence of modified iterations accelerates when Z b Z b. In this case the controlled source parameter V i b - Z b I i i V b - Z b I i = E b produces almost no local feedback during the iterations. The modified iterations for the case of Fig.2b are shown in Fig.3b and they turn to the first when Z b.if the convergence is reached then KCL and KVL equations have the form: Z -1 a (V - E a ) + I = 0 (7) Z b I = V - E b (8) The excluding of V from (7), (8) yields (1b) which

proves the consistency of the modified iterations. For this case the companion operator W may be expressed as: W = - [Z b ( Z b + Z a )] -1 Z a (Z b - Z b ). (9) If Z b then (9) simplified to W = - Z -1 b Z a that is the companion operator for the basic iterations shown in Fig.2b. For Z b Z b we have W 0 and the value of the controlled current source turns to I i -J i Z -1 b (V i - E b ) - Z -1 b V i -Z -1 b E b. t last, the equivalent circuit shown in Fig.3c generalizes the iteration circuit from Fig.2c. They both coincide when Z b = 0. fter the iterations have been finished, the modified circuit is described by the equations: ( Z a + Z b ) I = E a - V + U (10) U = Z b I (11) V = E b + Z b I (12) Substituting (11) and (12) into (10), we come to (1b) which proves the consistency of the modified circuit. The companion operator in this case has the form: W = - ( Z a + Z b ) -1 ( Z b - Z b ). (13) If Z b = 0 then (13) coincides with the estimation of W for the case of Fig.2c; the condition Z b Z b makes W 0 and turns the parameter of controlled voltage source to V i - U i = Z b I i +E b -Z b I i E b. Summarizing, we can say that all the considered modified iteration circuits from Figs.3a-c are generalizations of the conventional cases shown at Figs.2a-c and they all transform to the latters under some values of Z b. Furthermore, the choice Z b Z b considerably improves the convergence of the modified iterations. It also makes the local feedback "unidirectional" since the parameters of the controlled sources in the left part of circuit become almost constant. lthough the simplest case of linearized iterations was considered here, this approach can also be used to analyze nonlinear dynamic systems. In this case the values I, V, U, E a, E b etc. must be treated as time functions. Since this method deals with local feedbacks, it can also easily be generalized for more complex systems with N>2 parts involved in the iteration process, and many couplings may exist between every two parts of this system. To implement these modified iterations in mixed system simulation one must use the "rough" input model of while analyzing the part, if in each iteration is analyzed after. More general, if during analyzing of part X i, 1<i<N, one takes the results from X 1...X i-1 found on the current iteration and the results from X...X N that found at the previous one, then the convergence can be improved by the use of the rough input models of X...X N while simulating X i, as shown in Figs.3a-c. Naturally, we must be able to describe these rough models in terms appropriate for the X i analyzer. IV. n example of mixed system simulation To illustrate the above approach consider the analysis of a mixed system "electrical circuit - piezoelement" (Fig.4). For the electrical part we used Eldo v.4.3.1 analyzer (nacad) and NSYS 5.0 program (Swanson n.sys.) was used for the piezoelement simulation. _ + sin 5 V K(V2) Fig.4 The example of a mixed system _ + The considered automatic gain-controlling system contains the piezoelement U1 that receives the acoustic vibrations coming from the transmitting element U2 through a stiff media. The received 2 1 3 U1 U2

oscillations are then transformed into an electrical signal that is amplified and detected. The output of the detector after additional amplification and filtering controls the amplifier with the gain factor K(V2) = K0/(1+300V2). The resulting sine voltage of the frequency 100kHz is then applied to the transmitting piezoelement U2. The input voltage is firstly applied to the top and bottom surfaces of U2, that produces the deformations creating the flat acoustic wave in the neighbourhood of U1. The acoustic pressure together with the voltage across U1 provoke the change of its charge. In its turn, the resulting current influences the voltage of node 1. The controlling system tries to maintain the constant magnitude of oscillations in node 1. Hence it follows that: 1). The simulation of the given system totally in one program, either in Eldo or in NSYS is impossible due to both the inconsistency of the input language and the incompatibility of the mathematical models of the parts. Furthermore, we don t dispose of the piezoelement macromodel that could be used in circuit simulators. 2). The considered system is tightly coupled and it has both global and local feedbacks. The global gain controlling loop runs through all the elements of the system. The local coupling between the K(V2) amplifier and U2 is "almost" unidirectional since the charge movement in U2 doesn t affect the output voltage of the amplifier. However, this is not the case for node 1 where the voltage substantially depends on the charge variability in U1, and this charge in its turn strongly depends on the applied voltage. 3). The suitable type of coupling in the decomposed circuit is that shown in Fig.2b. The first type (Fig.2a) cannot be realized since the original circuit (Fig.4) corresponds to the case of Fig.1b and we can t include the models of the electrical circuit components into nsys. The third type of coupling (Fig.2c) is not possible here because we can t apply the current correctly distributed between different finite elements of U1 and U2 models. s it was anticipated, the iterations realized according to Fig.2b, diverge very quickly. E. g. the forth iteration of V(2) yields values of about 1.0E8 V. This inconvergence results from the fact that the input electrical impedance of U1 is of capacitance type while the output of electrical part from this point is almost resistive, so the multiple differentiation of the initial error is occurred during iterating. 3.52nF Z b 9KOhm 28.5mH 90pF Fig.5 The rough circuit model of piezoelement To provide the convergence we must realize the modified iteration scheme shown in Fig.3b. The simple C-RLC linear circuit (Fig.5) is used as a rough model of piezoelement U1. Fig.6 illustrates the V V(1)_1:1 V(CHEQ)_1:2 1.84e-08 s 1.83e-8 1.82 1.81 1.80 1.79 1.78 1.77 1.76 1.75 0.0 0.5 1.0 1.5 2.0 2.5e-05 s 0 0.5 1.0 1.5 2.0 2.5e-5s Fig.6 Charge responses of the NSYS model ( ) and the rough circuit model ( ) of piezoelement U1 responses (charge vs. time) on the 5V step function for both U1 finite element NSYS model and the rough model shown above. Further, fig.7 shows the results of

the first 6 modified iterations. Though the rough circuit NCD V V(U7)_1:1 V(U7)_1:2 V(U7)_1:3 V(U7)_1:4 V(U7)_1:5 V(U7)_1:6 1.6e-03 1.6e-3 V 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.0-0.2 0-0.4 ο v(2)@1-6 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0e-04 s 0 0.4 0.8 1.2 1.6 2e-4 s Fig.7 Results of first 6 iterations for modified type of coupling (convergence) model is very inaccurate, the iterations converge fast enough and the results of 5-th and 6-th iterations almost coincide that can be considered as an exact solution. It is important that we can t use the rough U1 model directly in the circuit simulator instead of the finiteelement NSYS model since it doesn t provide the 8e-4 V V V(U7)_1:1 V(U7)_1:2 8e-04 6 4 2 0-2 6 4 2 0-2 o sufficient accuracy. Figs.8 shows the result obtained in this way and the "exact" solution for node 2. Thus, for the given example the modified iteration approach has no alternatives. V. Conclusion In this paper we introduced a new approach that allows to improve the convergence of iterations while analyzing mixed systems with different simulators. The useful effect results from the reduction of the local feedbacks in the decomposed system. This is very important for mixed systems where optimal partitioning methods are not possible and the choice of the suitable types of coupling is also restricted. To reduce the problems of global feedback we can use any other methods like time windowing, timestep refinement, multilevel iteration etc. that can be combined easily with the proposed approach. References 1..R.Chawla, H.K.Gummel, P.Kozah. "MOTIS - an MOS timing simulator", - IEEE Trans. on Circ. and Syst., vol.cs-22, pp.901-909, No.12, 1975. 2..R.Newton. "Techniques for the simulation of large-scale integrated circuits", - IEEE Trans. on Circ. and Syst., vol.cs-26, pp.741-749, No.9, 1979. 3. J.White,.Sangiovanni-Vincentelli. "Relax 2.1 - waveform relaxation based circuit simulation program", - Proc. Int. Custom Integrated Circuits Conference, Rochester, New York, June 1984. 4. V.Denisenko. "MOS VLSI circuit simulation by hardware accelerator using semi-natural models", - Proc. EURODC-94, Grenoble, France, September 1994. 5. N.I.Philatov, D.G.Yakovlev,.O.Nakropin. " system of mixed device-circuit modeling for personal computers", - Solid State Electronics, vol.36, pp.463-473, No.3, 1993. 6..E.Ruehli (Edt.) "Circuit analysis, simulation and design", Part II, Chapter 7 and 8, North Holland, 1987. -4 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0e-04 s 0 0.4 0.8 1.2 1.6 2e-4 s Fig.8 The result of Eldo simulation with "rough" U1 model ( ) and the solution from coupled simulation ( )