Model order reduction of electrical circuits with nonlinear elements

Similar documents
Model reduction of nonlinear circuit equations

Model Order Reduction of Electrical Circuits with Nonlinear Elements

Passive Interconnect Macromodeling Via Balanced Truncation of Linear Systems in Descriptor Form

Model reduction of coupled systems

The Kalman-Yakubovich-Popov Lemma for Differential-Algebraic Equations with Applications

Identification of Electrical Circuits for Realization of Sparsity Preserving Reduced Order Models

Second-Order Balanced Truncation for Passive Order Reduction of RLCK Circuits

Structure-Preserving Model Order Reduction of RCL Circuit Equations

EE5900 Spring Lecture 5 IC interconnect model order reduction Zhuo Feng

Towards parametric model order reduction for nonlinear PDE systems in networks

Comparison of Model Reduction Methods with Applications to Circuit Simulation

BALANCING-RELATED MODEL REDUCTION FOR DATA-SPARSE SYSTEMS

Passivity Preserving Model Reduction for Large-Scale Systems. Peter Benner.

Model reduction for linear systems by balancing

Parallel Model Reduction of Large Linear Descriptor Systems via Balanced Truncation

Factorization of Indefinite Systems Associated with RLC Circuits. Patricio Rosen Wil Schilders, Joost Rommes

MODEL REDUCTION BY A CROSS-GRAMIAN APPROACH FOR DATA-SPARSE SYSTEMS

Practical Considerations For Passive Reduction of RLC Circuits

3 Gramians and Balanced Realizations

Structured eigenvalue/eigenvector backward errors of matrix pencils arising in optimal control

Model Order Reduction using SPICE Simulation Traces. Technical Report

Structure preserving Krylov-subspace methods for Lyapunov equations

Stability and Inertia Theorems for Generalized Lyapunov Equations

LINEAR ALGEBRA QUESTION BANK

ADI-preconditioned FGMRES for solving large generalized Lyapunov equations - A case study

Design of State Observer for a Class of Non linear Singular Systems Described by Takagi-Sugeno Model

May 9, 2014 MATH 408 MIDTERM EXAM OUTLINE. Sample Questions

Passive reduced-order modeling via Krylov-subspace methods

Model reduction of interconnected systems

On Linear-Quadratic Control Theory of Implicit Difference Equations

Variational Integrators for Electrical Circuits

An Efficient Graph Sparsification Approach to Scalable Harmonic Balance (HB) Analysis of Strongly Nonlinear RF Circuits

Structure preserving model reduction of network systems

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

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

Krylov Subspace Methods for Nonlinear Model Reduction

Robust Multivariable Control

Transient Sensitivity Analysis CASA Day 13th Nov 2007 Zoran Ilievski. Zoran Ilievski Transient Sensitivity Analysis

APPLICATION TO TRANSIENT ANALYSIS OF ELECTRICAL CIRCUITS

Model Reduction for Unstable Systems

Model Reduction for Linear Dynamical Systems

Gramians based model reduction for hybrid switched systems

Port-Hamiltonian Realizations of Linear Time Invariant Systems

Recycling Krylov Subspaces for Solving Linear Systems with Successively Changing Right-Hand Sides Arising in Model Reduction

Numerical Treatment of Unstructured. Differential-Algebraic Equations. with Arbitrary Index

Towards One-Step Multirate Methods in Chip Design

Solving projected generalized Lyapunov equations using SLICOT

Peter C. Müller. Introduction. - and the x 2 - subsystems are called the slow and the fast subsystem, correspondingly, cf. (Dai, 1989).

Lecture notes: Applied linear algebra Part 1. Version 2

Optimal control of nonstructured nonlinear descriptor systems

SyreNe System Reduction for Nanoscale IC Design

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

Model reduction of large-scale dynamical systems

Iterative Rational Krylov Algorithm for Unstable Dynamical Systems and Generalized Coprime Factorizations

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

LINEAR-QUADRATIC OPTIMAL CONTROL OF DIFFERENTIAL-ALGEBRAIC SYSTEMS: THE INFINITE TIME HORIZON PROBLEM WITH ZERO TERMINAL STATE

Krylov-Subspace Based Model Reduction of Nonlinear Circuit Models Using Bilinear and Quadratic-Linear Approximations

WHILE designing VLSI chips, engineers need to take

Electrical Circuits I

Balancing of Lossless and Passive Systems

Definite versus Indefinite Linear Algebra. Christian Mehl Institut für Mathematik TU Berlin Germany. 10th SIAM Conference on Applied Linear Algebra

A geometric Birkhoffian formalism for nonlinear RLC networks

Variational Methods for Solving Warped Multirate PDAEs

Zeros and zero dynamics

STA141C: Big Data & High Performance Statistical Computing

18.06 Professor Johnson Quiz 1 October 3, 2007

An Optimum Fitting Algorithm for Generation of Reduced-Order Models

Krylov Techniques for Model Reduction of Second-Order Systems

Perturbation theory for eigenvalues of Hermitian pencils. Christian Mehl Institut für Mathematik TU Berlin, Germany. 9th Elgersburg Workshop

Sparse Implicit Projection (SIP) for Reduction of General Many-Terminal Networks

Krylov subspace methods for projected Lyapunov equations

Approximation of the Linearized Boussinesq Equations

Decomposition of Linear Port-Hamiltonian Systems

Lecture: Quadratic optimization

Optimal Sensor and Actuator Location for Descriptor Systems using Generalized Gramians and Balanced Realizations

IBIS Modeling Using Latency Insertion Method (LIM)

Institut für Mathematik

Automatic Generation of Geometrically Parameterized Reduced Order Models for Integrated Spiral RF-Inductors

Automatic Generation of Geometrically Parameterized Reduced Order Models for Integrated Spiral RF-Inductors

CME 345: MODEL REDUCTION

Weighted balanced realization and model reduction for nonlinear systems

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

ISOLATED SEMIDEFINITE SOLUTIONS OF THE CONTINUOUS-TIME ALGEBRAIC RICCATI EQUATION

Poor Man s TBR: A Simple Model Reduction Scheme

Passivity Preserving Model Reduction and Selection of Spectral Zeros M A R Y A M S A A D V A N D I

Synopsis of Numerical Linear Algebra

Model Order Reduction for Systems with Non-Rational Transfer Function Arising in Computational Electromagnetics

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

ECE 275A Homework #3 Solutions

Balanced Truncation 1

MATH 5640: Functions of Diagonalizable Matrices

THE EVER-INCREASING integration density of modern

Model Order Reduction of Fully Parameterized Systems by Recursive Least Square Optimization

Krylov-subspace methods for reduced-order modeling in circuit simulation

A comparison of model reduction techniques from structural dynamics, numerical mathematics and systems and control

arxiv:math/ v1 [math.ds] 5 Sep 2006

Model reduction via tangential interpolation

Wideband Modeling of RF/Analog Circuits via Hierarchical Multi-Point Model Order Reduction

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. Index Characterization of Differential-Algebraic Equations in Hybrid Analysis for Circuit Simulation

Institut für Mathematik

Transcription:

Model order reduction of electrical circuits with nonlinear elements Andreas Steinbrecher and Tatjana Stykel 1 Introduction The efficient and robust numerical simulation of electrical circuits plays a major role in computer aided design of electronic devices. While the structural size of such devices is decreasing, the complexity of the electrical circuits is increasing. This usually leads to a system of model equations in form of differential-algebraic equations (DAE) with a huge number of unknowns. Simulation of such models is unacceptably time and storage consuming. Model order reduction presents a way out of this dilemma. A general idea of model reduction is to replace a large-scale system by a much smaller model which approximates the input-output relation of the original system within a required accuracy. While a large variety of model reduction techniques exists for linear networks, e.g., [1, 3, 4, model reduction of nonlinear circuits is only in its infancy. In [2, model reduction of nonlinear circuit with only nonlinear resistors was considered. In this paper, we extend these results to more general circuits that may contain other nonlinear elements like nonlinear capacitors or inductors. 2 Circuit Equations A commonly used tool for modeling electrical circuits is the Modified Nodal Analysis (MNA). An electrical circuit can be modeled as a directed graph whose nodes correspond to the nodes of the circuit and whose branches correspond to the circuit elements. Using Kirchhoff s laws as well as the branch constitutive relations, the dynamics of an electrical circuit can be described by a DAE system of the form E (x) d dt x = A x+ f(x)+b u, y = BT x, (1a) Andreas Steinbrecher and Tatjana Stykel, Institut für Mathematik, TU Berlin, Straße des 17. Juni 136, 1623 Berlin, Germany, e-mail: anst@math.tu-berlin.de, stykel@math.tu-berlin.de 1

2 Andreas Steinbrecher and Tatjana Stykel with A C C (A T C η)at C A L A V η E (x)= L (ι L ), A = A T L, x= ι L, (1b) A T V ι V A R g(a T R η) A I f(x)=, B= ιi ui, u=[, y= [. (1c) u I V ι V Here, x, u and y are state, input and output, respectively, η is the vector of node potentials, ι L, ι V and ι I are the vectors of currents through inductors, voltage sources and current sources, respectively, u V and u I are the vectors of voltages of voltage sources and current sources, respectively. We will distinguish between linear circuit elements (denoted by a bar) that are characterized by linear current-voltage relations and nonlinear circuit components (denoted by a tilde) that are characterized by nonlinear current-voltage relations. Without loss of generality, we assume that the circuit elements are ordered such that the incidence matrices describing the circuit topology have the form A C = [A C A C R n η,n C +n C, A L = [A L A L R n η,n L +n L, A R = [A R A R R n η,n R +n R, AV R n η,n V and A I R n η,n I, where the incidence matrices A C, A L and A R correspond to the linear circuit components, and A C, A L and A R correspond to the nonlinear circuit components. Furthermore, the conductance matrix-valued functionc : R n C R n C,n C, the inductance matrix-valued function L : R n L R n L,n L and the resistor relation g : R n R R n R given by [ C C (A T C η) = C (AT C η),l (ι L ) = [ L L (ι L ) [Ḡ A T R, g(a T R η) = η g(a T R η) characterize the physical properties of the capacitors, inductors and resistors, respectively. Here ι L R n L is the vector of currents through the nonlinear inductors. We will assume that the matrices A V and [A C A L A R A V have full rank, the matricesc (A T C η) andl(ι L ) are symmetric, positive definite and the function g(at R η) is monotonically increasing for all admissible η and ι L. This assumptions imply that the circuit elements do not generate energy, i.e., the circuit is passive. (1d) 3 Model Reduction for Nonlinear Circuits In this section, we present a model reduction technique for nonlinear circuits with a small number of nonlinear elements. This technique is based on decoupling of the linear and nonlinear subcircuits in a suitable way, reduction of the linear part using the PABTEC method [4 followed by an adequate recoupling of the unchanged nonlinear part and the reduced linear part to obtain a nonlinear reduced-order model.

Model order reduction of electrical circuits with nonlinear elements 3 3.1 Decoupling of Linear and Nonlinear Subcircuits Consider the circuit equations (1). Let A R = A1 R + A2 R be decomposed such that A 1 R {,1}n η,n R and A 2 R { 1,} n η,n R and let G 1,G 2 R n R,n R be given such that G 1 and G 1 are both symmetric, positive definite and G 2 is positive semidefinite. Assume that u C R n C and ι z R n R satisfy the relations u C = A T C η and ι z = (G 1 )G 1 1 g(at R η) G 2AT R η. (2) Then system (1) together with the relations η z = (G 1 ) 1 ((G 1 (A 1 R )T G 2 (A 2 R )T )η ι z ), ι C = C (u C ) d dt u C (3a) (3b) for the additional unknowns η z R n R and ι C R n C, is equivalent to the system L (ι L ) d dt ι L = AT L η, (4) coupled with the linear system E d dt x l = Ax l + Bu l, y l = BT x l. (5a) Here, the system matrices are in the MNA form A C CAC T A R GA T R A L A V E = L, A= A T L AV T, B= A I (5b) I with incidence and element matrices A C =[ A C, A R =[ A R A1 R A2 R, A I I L =[ A L AV, A V =[ A C, (5c) AI Ḡ A A I =[ 2 R A L, C = C, L = L, G = G I 1, (5d) G 2 and x T l =[ η T ηz T ι T L ιv T ιt C, u T l = [ ιi T ιt z ι T L u T V ut C, y T l = [ y T 1 yt 2 yt 3 yt 4 yt 5. With (2), equivalency here means that [x T ηz T ι T C T solves (1) and (3) if and only if [x T l ιt L T solves (5) and (4). More details and the proof can be found in [5. 3.2 Model-Order Reduction of the Linear Subsystem We now apply the PABTEC method [4 to the linear system (5) with a transfer function G(s) = B T (se A) 1 B. The assumptions above on the nonlinear system (1) guarantee that the following projected Lur e equations E X(A BB T ) T +(A BB T )XE T + 2P l BB T P T l = 2K c K T c, EXB P l BM T = K cj T c, J c J T c = I M M T, X = P rxp T r (6)

4 Andreas Steinbrecher and Tatjana Stykel and E T Y(A BB T )+(A BB T ) T YE + 2Pr T BB T P r = 2Ko T K o, E T YB+Pr T BM = Ko T J o, Jo T J o = I M T M, Y = (7) PT l YP l are solvable for X, K c, J c and Y, K o, J o, respectively, Here P r and P l are the spectral projectors onto the right and left deflating subspaces of λe (A BB T ) corresponding to the finite eigenvalues and M = I 2lim s B T (se A+BB T ) 1 B. The minimal solutions X min and Y min of (6) and (7) that satisfy X min X and Y min Y for all symmetric solutions X and Y of (6) and (7), are called the controllability and observability Gramians of system (5). Using the block structure of the system matrices (5b), we can show that P l = S int P r S int and Y min = S int X min S int with S int = diag(i, I, I). Model reduction consists in approximating the large-scale DAE system (5) of order n l = n η + n R + n L + n V + n C by a reduced-order model Ê d dt ˆx l = Â ˆx l + ˆBu l, ŷ = Ĉ ˆx l, (8) where ˆx l R r and r n l. It is required that the approximate system (8) captures the input-output behavior of (5) to a required accuracy and preserves passivity. The PABTEC model reduction method is based on transforming system (5) into a balanced form whose controllability and observability Gramians are equal and diagonal. Then a reduced-order model is computed by truncation the states corresponding to the small diagonal elements of the balanced Gramians. We summarize the PABTEC method in Algorithm 1. Algorithm 1. Passivity-preserving balanced truncation for electrical circuits (PABTEC). 1. Compute the Cholesky factor R of the minimal solution X min = RR T of (6). 2. Compute the eigenvalue decompositions R T S int ER = [U 1 U 2 diag(λ 1,Λ 2 )[V 1 V 2 T and (I M )S ext = U Λ U T, where [U 1 U 2, [V 1 V 2 and U are orthogonal, Λ 1 = diag(λ 1,...,λ r f ), Λ 2 = diag(λ rf +1,...,λ q) and Λ = diag(ˆλ 1,..., ˆλ m ). 3. Compute the reduced-order system (8) with [ I Ê =, Â= 1 [ 2W T AT 2W T [ BC 2 W 2 B B T, ˆB= T [ B T 2I B C B /, Ĉ T T T B = 2 C / T, 2 where B = S Λ 1/2 U T S ext, C = U Λ 1/2, S ext = diag(i, I), W = S int RU 1 Λ 1 1/2, S = diag(sign(ˆλ 1 ),...,sign(ˆλ m )), Λ = diag( ˆλ 1,..., ˆλ m ), T = RU 1 S 1 Λ 1 1/2, S 1 = diag(sign(λ 1 ),...,sign(λ rf )), Λ 1 = diag( λ 1,..., λ rf ). One can show that the reduced model computed by the PABTEC method preserves passivity and we have the error bound G G H 2 I + G 2 H (λ rf +1 +...+λ q), provided 2 I + G H (λ rf +1 +...+λ q) < 1, see [4 for details. If D c = I M M T is nonsingular, then D o = I M T M is also nonsingular and the projected Lur e equation (6) is equivalent to the projected Riccati equation P l HP T l + FXF T + EXE T + EXQXE T =, X = P r XP T r (9) with F = A BB T 2P l BD 1 o M T BT P r, H = 2BD 1 o B T and Q = 2BD 1 c B T. Such an equation can be solved via Newton s method [4. Note that the matrix M and the

Model order reduction of electrical circuits with nonlinear elements 5 projectors P l and P r required in (9) can be constructed in explicit form exploiting the topological structure of the circuit equations (5), see [4. For large-scale problems, the numerical solution of projected Lur e equations is currently under investigation. 3.3 Recoupling of the Reduced Linear Subsystem and the Nonlinear Subsystem Let ˆB = [ ˆB 1 ˆB 2 ˆB 3 ˆB 4 ˆB 5 and Ĉ T = [ Ĉ1 T Ĉ2 T Ĉ3 T Ĉ4 T Ĉ5 T in (8) be partitioned in blocks according to u l and y l, respectively. Since the vector ŷ l = Ĉ ˆx l is an approximation to the output vector y l of system (5), we have (A 2 R )T η η z Ĉ 2 ˆx l, A T L η Ĉ 3 ˆx l, ι C Ĉ 5 ˆx l. (1) Then equations (4) and (3b) are approximated by L (ˆι L ) d dt ˆι L = Ĉ 3 ˆx l, C (û C ) d dt û C = Ĉ 5 ˆx l, (11) respectively, where ˆι L and û C are approximations to ι L and u C, respectively. Furthermore, for ι z defined in (2), η z defined in (3a) and u R = A T R η Rn R, we have ι z = (G 1 )G 1 1 g(u R ) G 2 u R, (A 2 R )T η η z = AT R η + G 1 g(at R η) = u R + G 1 1 g(u R ). (12) Then the first equation in (1) together with (12) imply the relation 1 = G 1 Ĉ 2 ˆx l G 1 û R + g(û R ), (13) where û R approximates u R. Combining (8), (11) and (13) and adding to ˆx l also the approximations ˆι L, û C, and û R as state variables, we get the reduced-order nonlinear DAE system with Ê E ˆ( ˆx) = L (ˆι L ) C (û C ), ˆf(ˆx)=, B= ˆ g(û R ) E ˆ( ˆx) dt d ˆx = Aˆ ˆx+ ˆf(ˆx)+ Bu, ˆ ˆB 1 ˆB 4 A ˆ=, CT r = ŷ = ˆ C ˆx Â+ ˆB 2 (G 1 )Ĉ 2 ˆB 3 ˆB 5 ˆB 2 G 1 Ĉ 3 Ĉ 5 G 1 Ĉ 2 G 1 Ĉ T 1 Ĉ T 4, ˆx l ˆx= ˆι Ḽ u C, û R, ŷ= [ ŷ1 ŷ4 that approximates the original nonlinear system (1). This reduced model can now be used instead of (1) in the analysis of the dynamical behavior of the circuit.

6 Andreas Steinbrecher and Tatjana Stykel 4 Numerical Experiments Consider an electrical circuit constructed by 1 repetitions of subcircuits containing one inductor, two capacitors, and two resistors, as shown in the figure on the right. In the 1st, 11st, u V g( ) L ( ) u V (t) = sin 1 (1πt) 21st, etc., subcircuits, a linear resistor is replaced by a diode. Furthermore, in the 1th, 2th, 3th, etc., subcircuits, the linear inductor is replaced by a nonlinear inductor. For more details, we refer to [5. original system: 1 voltage source, 199 linear resistors, 1 diodes, 991 linear inductors, 1 nonlinear inductors, 2 linear capacitors dimension of the original system 43 simulation time for the original 4557s system (t o ) tolerance for model reduction 1e-5 time for model reduction 822s dimension of the reduced system 23 simulation time for the reduced 67s system (t r ) absolute error in the output 4.4e-6 speedup (t o /t r ) 68.5 i V i V 15 1 5 x 1 3 Output: negative current through voltage source orig. system red. system.1.2.3.4.5 t x 1 5 4 2 Error in the output.1.2.3.4.5 t Fig. 1 (Left) numerical results; (right) simulation results for the original and the reduced systems. The numerical simulation is done for t [,.5 seconds using the BDF method of order 2 with fixed stepsize of length 5 1 5. The numerical results for the prescribed tolerance is given in Figures 1. In the upper plot, the output y(t) = ι V (t) of the original system and the output ŷ(t) = ˆι V (t) of the reduced system are presented. In the lower plot, the error ι V (t) = ŷ(t) y(t) is shown. References 1. Freund, R.: SPRIM: structure-preserving reduced-order interconnect macromodeling. In: Technical Digest of the 24 IEEE/ACM International Conference on Computer-Aided Design, pp. 8 87. Los Alamos, CA (24) 2. Heinkenschloss, M., Reis, T.: Model order reduction for a class of nonlinear electrical circuits. In: Proc. of the 48th IEEE Conf. on Decision and Control, pp. 5376 5383. IEEE (29) 3. Odabasioglu, A., Celik, M., Pileggi, L.: PRIMA: Passive reduced-order interconnect macromodeling algorithm. IEEE Trans. Circuits Syst. 17(8), 645 654 (1998) 4. Reis, T., Stykel, T.: PABTEC: Passivity-preserving balanced truncation for electrical circuits. IEEE Trans. Computer-Aided Design Integr. Circuits Syst. 29(9), 1354 1367 (21) 5. Steinbrecher, A., Stykel, T.: Model order reduction of nonlinear circuits with a small number of nonliniear elements. Technical Report, TU Berlin, Berlin, Germany. In preparation