Fang Gong gongfang@ucla.edu Homework 3 Fang Gong gongfang@ucla.edu.

Slides:



Advertisements
Similar presentations
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 4 Model Order Reduction (2) Spring 2010 Prof. Chung-Kuan Cheng 1.
Advertisements

1cs542g-term High Dimensional Data  So far we’ve considered scalar data values f i (or interpolated/approximated each component of vector values.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng 1.
Symmetric Matrices and Quadratic Forms
Chapter 5 Orthogonality
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 3 Model Order Reduction (1) Spring 2008 Prof. Chung-Kuan Cheng.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes 3 Model Order Reduction (1) Spring 2008 Prof. Chung-Kuan Cheng.
Ch 7.9: Nonhomogeneous Linear Systems
Chapter 7 Reading on Moment Calculation. Time Moments of Impulse Response h(t) Definition of moments i-th moment Note that m 1 = Elmore delay when h(t)
Chapter 3 Determinants and Matrices
UCSD CSE 245 Notes – SPRING 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes 3 Model Order Reduction (1) Spring 2006 Prof.
UCSD CSE 245 Notes – SPRING 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes 4 Model Order Reduction (2) Spring 2006 Prof.
SAMSON: A Generalized Second-order Arnoldi Method for Reducing Multiple Source Linear Network with Susceptance Yiyu Shi, Hao Yu and Lei He EE Department,
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2014 Professor Brandon A. Jones Lecture 7: Linearization and the State.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
1 Introduction to Model Order Reduction Luca Daniel Massachusetts Institute of Technology
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng.
A matrix equation has the same solution set as the vector equation which has the same solution set as the linear system whose augmented matrix is Therefore:
1 Ch. 4 Linear Models & Matrix Algebra Matrix algebra can be used: a. To express the system of equations in a compact manner. b. To find out whether solution.
1 In this lecture we will compare two linearizing controller for a single-link robot: Linearization via Taylor Series Expansion Feedback Linearization.
Model Order Reduction Luca Daniel University of California, Berkeley Massachusetts Institute of Technology with contributions from: Joel Phillips, Cadence.
Decentralized Model Order Reduction of Linear Networks with Massive Ports Boyuan Yan, Lingfei Zhou, Sheldon X.-D. Tan, Jie Chen University of California,
Introduction to Model Order Reduction II.2 The Projection Framework Methods Luca Daniel Massachusetts Institute of Technology with contributions from:
5.5 Row Space, Column Space, and Nullspace
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Spring 2010 Prof. Chung-Kuan Cheng.
Chapter 2 Interconnect Analysis Prof. Lei He Electrical Engineering Department University of California, Los Angeles URL: eda.ee.ucla.edu
1.7 Linear Independence. in R n is said to be linearly independent if has only the trivial solution. in R n is said to be linearly dependent if there.
Section 1.7 Linear Independence and Nonsingular Matrices
University of Colorado Boulder ASEN 5070: Statistical Orbit Determination I Fall 2015 Professor Brandon A. Jones Lecture 8: State Transition Matrix, Part.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
Pieter Heres, Aday Error control in Krylov subspace methods for Model Order Reduction Pieter Heres June 21, 2005 Eindhoven.
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
QD C QD C QD C QD C Chapter 2 Interconnect Analysis Model Order Reduction Prof. Lei He Electrical Engineering Department.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 2: Closed Form Solutions (Linear System)
DAC, July 2006 Model Order Reduction of Linear Networks with Massive Ports via Frequency-Dependent Port Packing Peng Li and Weiping Shi Department of ECE.
REVIEW Linear Combinations Given vectors and given scalars
1.4 The Matrix Equation Ax = b
Analogue and digital techniques in closed loop regulation applications
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
MATRICES.
Transfer Functions Chapter 4
An Example of 1D Transform with Two Variables
Row Space, Column Space, and Nullspace
Chapter 15 Introduction to the Laplace Transform
Chapter 2 Interconnect Analysis
Chapter 2 Interconnect Analysis
Chapter 2 Interconnect Analysis Model Order Reduction
EE 201C Homework 2 (due Feb 3 ) Wei Wu
Wei Yao Homework 3 Wei Yao
CSE245: Computer-Aided Circuit Simulation and Verification
CSE245: Computer-Aided Circuit Simulation and Verification
Chapter 2 Interconnect Analysis Delay Modeling
4.6: Rank.
Fang Gong Homework 3 Solution Fang Gong
Homework 2 [due Jan. 31] [1] Given the circuit as shown below and a unit step voltage source at the input node s, use SPICE to simulate the circuit and.
EE 201C Homework 2 Fang Gong
State Space Method.
Homework 1: Electrical System
EE 201C Homework 2 (due Feb 3 ) Wei Wu
Model Order Reduction Slides adopted from Luca Daniel
Equivalent State Equations
Symmetric Matrices and Quadratic Forms
§1—2 State-Variable Description The concept of state
Chapter 2. Mathematical Foundation
SYSTEM OF DIFFERENTIAL EQUATIONS
Symmetric Matrices and Quadratic Forms
Presentation transcript:

Fang Gong gongfang@ucla.edu Homework 3 Fang Gong gongfang@ucla.edu

(G+ sC)x(s) = Bu(s) (Laplace(s) domain) PRIMA review Any RLC circuit can be represented by a first order differential equation G x(t) + C = B u(t) (G+ sC)x(s) = Bu(s) (Laplace(s) domain) Can we reduce the equation size? Reduce the number of variables (column # of G and C) Reduce the number of equations (row # of G and C) dx(t) dt

Projection Framework qxn G qxq nxn nxq

Intuitive view of Krylov subspace choice for Uq Taylor series expansion: A=-G-1C, R=G-1B change base and use only the first few vectors of the Taylor series expansion: equivalent to match first derivatives around expansion point

Orthonormalization of Uq:The Arnoldi Algorithm For i = 1 to q-1 Generates k+1 vectors! Orthogonalize new vector: Remove the projection on other normalized vectors For j = 1 to i end Normalize new vector end 5

Combine point and moment matching: multipoint moment matching Multiple expansion points give larger band Moment (derivates) matching gives more accurate behavior in between expansion points 6

We know how to select Uq now… but how about Vq?

PRIMA (for preserving passivity) (Odabasioglu, Celik, Pileggi TCAD98) Select Vq=Uq with Arnoldi Krylov Projection Framework: Use Arnoldi: Numerically very stable

Moment Matching Theorem PRIMA preserves the moments of the transfer function up to the q-th order, i.e., Original System Reduced System 9

Homework 3 [due Feb 6 ] [3] Modify the PRIMA code with single frequency expansion to multiple points expansion. You should use a vector fspan to pass the frequency expansion points. Compare the waveforms of the reduced model between the following two cases: 1. Single point expansion at s=1e4. 2. Four-point expansion at s=1e3, 1e5, 1e7, 1e9. 10

Matlab Files We provide two matlab files: prima.m PRIMA on single point expansion demo2_11.m perform single-point MOR, calculate and compare corresponding time and frequency domain response between original matrix and MATLAB reduced matrix. prima function is called.

Format of the input matrices for test 1 3 -0.000542882 0.0 1 4 0.000152585 -7.5288e-15 1 5 0.000464074 -2.9702e-15 1 6 -0.000542801 0.0 1 68 -19.4595 0.0 2 1 0.0 -2.9702e-15 2 2 3.66672 2.44291e-13 2 3 0.0 -2.3594e-13 2 4 0.0 -5.3806e-15 2 72 -1.425 0.0 2 329 -2.06075 0.0 2 341 -0.091255 0.0 2 343 -0.0897199 0.0 3 1 -2.44188e-06 0.0 3 2 -0.000464141 -2.3594e-13 3 3 40.8898 2.42089e-13 ….. The input files GC8 and GC9 each has 4 columns. They are: row number m, column number n, (m,n) entry in G matrix - G(m,n), (m,n) entry in C matrix - C(m,n) . If both G(m,n) and C(m,n) are zero, that entry is omitted in input file. 12

Frequency and time domain response for single point expansion

Impulse response for single point expansion