CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng 1.

Slides:



Advertisements
Similar presentations
Lect.3 Modeling in The Time Domain Basil Hamed
Advertisements

CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
Lecture 161 EEE 302 Electrical Networks II Dr. Keith E. Holbert Summer 2001.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
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)
Lect13EEE 2021 Laplace Transform Solutions of Transient Circuits Dr. Holbert March 5, 2008.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
CSE245: Computer-Aided Circuit Simulation and Verification Spring 2006 Chung-Kuan Cheng.
ECE53A RLC Circuits W. Ku 11/29/2007
UCSD CSE245 Notes -- Spring 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes Spring 2006 Prof. Chung-Kuan Cheng.
ECE53A Introduction to Analog and Digital Circuits Lecture Notes Second-Order Analog Circuit and System.
6. Circuit Analysis by Laplace
Numerical Solution of Ordinary Differential Equation
Parallel RLC Network. Objective of Lecture Derive the equations that relate the voltages across a resistor, an inductor, and a capacitor in parallel as:
A sinusoidal current source (independent or dependent) produces a current That varies sinusoidally with time.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng.
ECE 2300 Circuit Analysis Dr. Dave Shattuck Associate Professor, ECE Dept. Lecture Set #12 Natural Response W326-D3.
APPLICATION OF THE LAPLACE TRANSFORM
Series RLC Network. Objective of Lecture Derive the equations that relate the voltages across a resistor, an inductor, and a capacitor in series as: the.
Sistem Kontrol I Kuliah II : Transformasi Laplace Imron Rosyadi, ST 1.
AC STEADY-STATE ANALYSIS SINUSOIDAL AND COMPLEX FORCING FUNCTIONS Behavior of circuits with sinusoidal independent sources and modeling of sinusoids in.
ECE 2300 Circuit Analysis Dr. Dave Shattuck Associate Professor, ECE Dept. Lecture Set #13 Step Response W326-D3.
METHODS OF CIRCUIT ANALYSIS
EE484: Mathematical Circuit Theory + Analysis Node and Mesh Equations By: Jason Cho
The V  I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitudeAnd.
Loop and cut set Analysis
Network Graphs and Tellegen’s Theorem The concepts of a graph Cut sets and Kirchhoff’s current laws Loops and Kirchhoff’s voltage laws Tellegen’s Theorem.
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 1: Formulation.
Chapter 19 DC Circuits. Objective of the Lecture Explain Kirchhoff’s Current and Voltage Laws. Demonstrate how these laws can be used to find currents.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture 1: Introduction and Formulation Spring 2008 Chung-Kuan Cheng.
CIRCUIT ANALYSIS USING LAPLACE TRANSFORM
Phasors A phasor is a complex number that represents the magnitude and phase of a sinusoid:
General Methods of Network Analysis Node Analysis Mesh Analysis Loop Analysis Cutset Analysis State variable Analysis Non linear and time varying network.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture 1: Introduction and Formulation Spring 2010 Chung-Kuan Cheng.
Net work analysis Dr. Sumrit Hungsasutra Text : Basic Circuit Theory, Charles A. Desoer & Kuh, McGrawHill.
Network topology, cut-set and loop equation
Determine the mathematical models that capture the behavior of an electrical system 1.Elements making up an electrical system 2.First-principles modeling.
CHAPTER I APPLICATION OF CIRCUIT LAWS. 2 Introduction Generally, we require 3 steps to analyze AC Circuit Transform the circuit to the phasor / frequency.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EKT101 Electric Circuit Theory Chapter 5 First-Order and Second Circuits.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Spring 2010 Prof. Chung-Kuan Cheng.
ECE Networks & Systems Jose E. Schutt-Aine
Chapter 5 First-Order and Second Circuits 1. First-Order and Second Circuits Chapter 5 5.1Natural response of RL and RC Circuit 5.2Force response of RL.
A sinusoidal current source (independent or dependent) produces a current That varies sinusoidally with time.
Lecture - 7 First order circuits. Outline First order circuits. The Natural Response of an RL Circuit. The Natural Response of an RC Circuit. The Step.
Lecture -5 Topic :- Step Response in RL and RC Circuits Reference : Chapter 7, Electric circuits, Nilsson and Riedel, 2010, 9 th Edition, Prentice Hall.
הטכניון - מ.ט.ל. הפקולטה להנדסת חשמל - אביב תשס"ה
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 2: Closed Form Solutions (Linear System)
1 College of Communication Engineering Undergraduate Course: Signals and Linear Systems Lecturer: Kunbao CAI.
KITRC CIRCUIT & NETWORKS MADE BY AGNA PATEL:
LAPLACE TRANSFORM AS AN USEFUL TOOL IN TRANSIENT STATE ANALYSIS
DEPT.:-ELECTRONICS AND COMMUNICATION SUB: - CIRCUIT & NETWORK
CHAPTER 2: DC Circuit Analysis and AC Circuit Analysis
5. Modeling of Electrical Systems
ME375 Handouts - Spring 2002ME375-Fall 2002
CSE 245: Computer Aided Circuit Simulation and Verification
Chapter 2 Interconnect Analysis
Chapter 2 Interconnect Analysis
CSE245: Computer-Aided Circuit Simulation and Verification
CSE245: Computer-Aided Circuit Simulation and Verification
ELL100: INTRODUCTION TO ELECTRICAL ENG.
2. 2 The V-I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitude.
Chapter 2 Systems Defined by Differential or Difference Equations
CSE245: Computer-Aided Circuit Simulation and Verification
Lecture 06 - Node Voltage Analysis
UNIT-1 Introduction to Electrical Circuits
Apply KCL to the top node ,we have We normalize the highest derivative by dividing by C , we get Since the highest derivative in the equation is.
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
Presentation transcript:

CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng 1

State Equations 1.Motivation 2.Formulation 3.Analytical Solution 4.Frequency Domain Analysis 5.Concept of Moments 2

Motivation Why –Whole Circuit Analysis –Interconnect Dominance Wires smaller  R increase Separation smaller  C increase What –Power Net, Clock, Interconnect Coupling, Parallel Processing Where –Matrix Solvers, Integration For Dynamic System –RLC Reduction, Transmission Lines, S Parameters –Whole Chip Analysis –Thermal, Mechanical, Biological Analysis 3

Formulation Nodal Analysis Link Analysis Modified Nodal Analysis Regularization 4

Formulation General Equation (a.k.a. state equations) Equation Formulation: n-1 tree trunks and m-n+1 links, n: #nodes, m: #edges. –Conservation Laws KCL (Kirchhoff’s Current Law: n-1 cuts on tree trunk) –n-1 equations, n is number of nodes in the circuit KVL (Kirchhoff’s Voltage Law: m-n+1 loops on the links) –m-(n-1) equations, –Branch Constitutive Equations m equations 5

Formulation State Equations (Modified Nodal Analysis): Desired variables (branch elements) 1.Capacitors: voltage variables 2.Inductors: current variables 3.Current/voltage controlled sources: control current/voltage 4.Controlled sources: currents of controlled voltage sources, and voltages of controlled current sources Freedom of the choices (topology) 1.Tree trunks: voltage variables 2.Links: current variables 6

Conservation Laws KCL: Cut is related to each trunk and links KVL: Loop is related to each link and the trunks n-1 independent cutsets m-(n-1) independent loops 7

Nodal Analysis 8

Link Analysis Variables: link currents Equations: KVL of loops formed by each link and tree trunks. Example: Provide an example of the formula Remark: The system matrix is symmetric and positive definite. 9

Formulation - Cutset and Loop Analysis find a cutset for each trunk –write a KCL for each cutset find a loop for each link –write a KVL for each loop Select tree trunks and links cutset matrix loop matrix 10

Formulation - Cutset and Loop Analysis Or we can re-write the equations as: In general, the cutset and loop matrices can be written as 11 More examples to demonstrate E, -E T relation

Formulation – State Equations From the cutset and loop matrices, we have In general, one should –Select capacitive branches as tree trunks no capacitive loops for each node, there is at least one capacitor (every node actually should have a shunt capacitor) –Select inductive branches as tree links no inductive cutsets Combine above two equations, we have the state equation 12

Formulation – An Example State Equation Output Equation (suppose v 3 is desired output) 13

Branch Constitutive Laws Each branch has a circuit element –Resistor –Capacitor Forward Euler (FE) Approximation Backward Euler (BE) Approximation Trapezoidal (TR) Approximation –Inductor Similar approximation (FE, BE or TR) can be used for inductor. v=R(i)i i=dq/dt=C(v)dv/dt 14

Branch Constitutive Laws Inductors v=L(i)di/dt Mutual inductance V 12 =M 12,34 di 34 /dt 15

Responses in Time Domain State Equation The solution to the above differential equation is the time domain response Where 16

Exponential of a Matrix Properties of e A k! can be approximated by Stirling Approximation That is, higher order terms of e A will approach 0 because k! is much larger than A k for large k’s. Calculation of e A is hard if A is large 17

Responses in Frequency Domain: Laplace Transform Definition: Simple Transform Pairs Laplace Transform Property - Derivatives 18

Responses in Frequency Domain Time Domain State Equation Laplace Transform to Frequency Domain Re-write the first equation Solve for X, we have the frequency domain solution 19

Serial Expansion of Matrix Inversion For the case s  0, assuming initial condition x 0 =0, we can express the state response function as For the case s   assuming initial condition x 0 =0, we can express the state response function as 20

Concept of Moments The moments are the coefficients of the Taylor’s expansion about s=0, or Maclaurin Expansion Recall the definition of Laplace Transform Re-Write as Moments 21

Concept of Moments Re-write Maclaurin Expansion of the state response function Moments are 22

Moments Calculation: An Example 23

Moments Calculation: An Example For the state response function, we have A voltage or current can be approximated by 24

Moments Calculation: An Example (Cont’d) (1) Set V s (0) =1 (suppose voltage source is an impulse function) (2) Short all inductors, open all capacitors, derive V c (0), I L (0) (3) Use V c (i), I L (i) as sources, i.e. I c (i+1) =CV c (i) and V L (i+1) =LI L (i), derive V c (i+1), I L (i+1) (4) i++, repeat (3) 25

Moments Calculation: An Example (Cont’d) (1) Set V s (0) =1 (suppose voltage source is an impulse function) (2) Short all inductors, open all capacitors, derive V c (0), I L (0) (3) Use V c (i), I L (i) as sources, i.e. I c (i+1) =CV c (i) and V L (i+1) =LI L (i), derive V c (i+1), I L (i+1) (4) i++, repeat (3) Use an example to illustrate the Elmore delay model 26

Serial Expansion of Matrix Inversion For the case s  0, assuming initial condition x 0 =0, we can express the state response function as 27 Exercise: Show that x=-A -1 Bu-A -1 CA -1 Bdu/dt-(A -1 C) 2 A -1 Bd 2 u /dt 2 -… is a solution of the ODE problem, Cdx/dt=Ax+Bu. Assumption: A -1 exists D k u/dt k shrinks to 0 as k increases