EE 201C Homework 2 (due Feb 3 ) Wei Wu 2013ee201c@gmail.com.

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

1.2 Row Reduction and Echelon Forms
Linear Equations in Linear Algebra
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng 1.
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.
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.
Lecture 14: Laplace Transform Properties
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,
UCSD CSE245 Notes -- Spring 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes Spring 2006 Prof. Chung-Kuan Cheng.
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
1 Introduction to Model Order Reduction Luca Daniel Massachusetts Institute of Technology
Prof. D. Zhou UT Dallas Analog Circuits Design Automation 1.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng.
1/38 Passive components and circuits - CCP Lecture 5.
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:
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
THE LAPLACE TRANSFORM LEARNING GOALS Definition
State Space Control of a Magnetic Suspension System Margaret Glavin Supervisor: Prof. Gerard Hurley.
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
Pieter Heres, Aday Error control in Krylov subspace methods for Model Order Reduction Pieter Heres June 21, 2005 Eindhoven.
1 1.2 Linear Equations in Linear Algebra Row Reduction and Echelon Forms © 2016 Pearson Education, Ltd.
QD C QD C QD C QD C Chapter 2 Interconnect Analysis Model Order Reduction Prof. Lei He Electrical Engineering Department.
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 2: Closed Form Solutions (Linear System)
ELECTRIC CIRCUITS EIGHTH EDITION
ELECTRIC CIRCUITS EIGHTH EDITION JAMES W. NILSSON & SUSAN A. RIEDEL.
1 Second Order Circuits SEE 1023 Circuit Theory Introduction to Transient Response.
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.
EE611 Deterministic Systems Controllability and Observability of Continuous-time Systems Kevin D. Donohue Electrical and Computer Engineering University.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Solution to Homework 2 Chapter 2
MESB374 System Modeling and Analysis Transfer Function Analysis
Frequency response I As the frequency of the processed signals increases, the effects of parasitic capacitance in (BJT/MOS) transistors start to manifest.
Laplace Transforms Chapter 3 Standard notation in dynamics and control
Transfer Functions Chapter 4
DEPT.:-ELECTRONICS AND COMMUNICATION SUB: - CIRCUIT & NETWORK
An Example of 1D Transform with Two Variables
3.1 Introduction to Determinants
Linear Algebra Lecture 4.
ME375 Handouts - Fall 2002 MESB374 Chapter8 System Modeling and Analysis Time domain Analysis Transfer Function Analysis.
Chapter 2 Interconnect Analysis
Chapter 2 Interconnect Analysis
Chapter 2 Interconnect Analysis Model Order Reduction
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
4th Homework Problem In this homework problem, we wish to exercise the tearing and relaxation methods by means of a slightly larger problem than that presented.
Linear Equations in Linear Algebra
4th Homework Solution In this homework problem, we wish to exercise the tearing and relaxation methods by means of a slightly larger problem than that.
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
Homework 1: Electrical System
EE 201C Homework 2 (due Feb 3 ) Wei Wu
Model Order Reduction Slides adopted from Luca Daniel
Equivalent State Equations
EE 201C Homework 1 Fang Gong
§1—2 State-Variable Description The concept of state
Linear Equations in Linear Algebra
Frequency response I As the frequency of the processed signals increases, the effects of parasitic capacitance in (BJT/MOS) transistors start to manifest.
Fang Gong Homework 3 Fang Gong
Presentation transcript:

EE 201C Homework 2 (due Feb 3 ) Wei Wu 2013ee201c@gmail.com

Homework 2 [due Feb 3 ] [Problem #1] For the same circuit, use DC analysis method in SPICE to get the 0th -3rd moments for C4. R1 C1 s R5 C5 R4 C4 C2 R2 C3 R3 n 1v R1 = 2mΩ R2 = 2mΩ R3 = 3mΩ R4 = 3mΩ R5 = 4mΩ C1 = 2nF C2 = 2nF C3 = 4nF C4 = 4nF C5 = 2nF 2

2. Write the corresponding netlist for SPICE analysis. Steps for Problem 1 1. Follow the DC analysis method to reconstruct the circuit (e.g. replace C with zero current source for 0th moment calculation, etc). 2. Write the corresponding netlist for SPICE analysis. 3. Run DC analysis in SPICE to get the voltage across the capacitance as the moment. 4. use the above moments to approximate the two pole model V4 = k1/(s-p1) + k2 / (s-p2) for voltage at C4 under a unit step input at the root of the tree (hint: compare this with SPICE simulation helps to debug the moments you calculated). 5. The above should be done repeatedly until all the desired moments are acquired. 3

Homework 2 [due Feb 3 ] [Problem #2] 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. 4

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. 6

Frequency and time domain response for single point expansion

Impulse response for single point expansion

Thank You! Due Feb 3. Please pack your homework document, MATLAB code, HSPICE netlist as a *.zip file. For on-campus students, please send it to 2013ee201c@gmail.com. For online master students, file submit the zip file to courseweb.

(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 15

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 16

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 19