1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Computational Modeling for Engineering MECN 6040
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
Computational Methods in Physics PHYS 3437
Ordinary Differential Equations
Lecture 18 - Numerical Differentiation
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 13 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 3 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
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 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 13 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 11 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Numerical Integration CSE245 Lecture Notes. Content Introduction Linear Multistep Formulae Local Error and The Order of Integration Time Domain Solution.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 7 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 6 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Solutions for Nonlinear Equations
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
UCSD CSE245 Notes -- Spring 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes Spring 2006 Prof. Chung-Kuan Cheng.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 4 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 10 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 14 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
CISE301_Topic8L31 SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
Ordinary Differential Equations (ODEs)
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Numerical Solution of Ordinary Differential Equation
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Numerical Solutions to ODEs Nancy Griffeth January 14, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Time integration methods for the Heat Equation Solution u for t= Tobias Köppl TUM.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
ME451 Kinematics and Dynamics of Machine Systems
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Integration of 3-body encounter. Figure taken from
EE616 Dr. Janusz Starzyk Computer Aided Analysis of Electronic Circuits Innovations in numerical techniques had profound import on CAD: –Sparse matrix.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. ~ Ordinary Differential Equations ~ Stiffness and Multistep.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 261 Stiffness.
1 Discretization Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Finite Difference Methods Definitions. Finite Difference Methods Approximate derivatives ** difference between exact derivative and its approximation.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Large Timestep Issues Lecture 12 Alessandra Nardi Thanks to Prof. Sangiovanni, Prof. Newton, Prof. White, Deepak Ramaswamy, Michal Rewienski, and Karen.
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Announcements Read Chapters 11 and 12 (sections 12.1 to 12.3)
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Spring 2010 Prof. Chung-Kuan Cheng.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
AME 513 Principles of Combustion Lecture 5 Chemical kinetics II – Multistep mechanisms.
Solving Ordinary Differential Equations
Lecture 11 Alessandra Nardi
ECE 576 – Power System Dynamics and Stability
CSE245: Computer-Aided Circuit Simulation and Verification
CSE 245: Computer Aided Circuit Simulation and Verification
CSE245: Computer-Aided Circuit Simulation and Verification
Chapter 26.
CSE245: Computer-Aided Circuit Simulation and Verification
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
MATH 175: Numerical Analysis II
Chapter 2 A Survey of Simple Methods and Tools
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH, Note: materials in this lecture are from the notes of EE219A UC-berkeley cad.eecs.berkeley.edu/~nardi/EE219A/contents.html

2 Outline Transient Analysis of dynamical circuits – i.e., circuits containing C and/or L Examples Solution of Ordinary Differential Equations (Initial Value Problems – IVP) – Forward Euler (FE), Backward Euler (BE) and Trapezoidal Rule (TR) – Multistep methods – Convergence Methods for Ordinary Differential Equations By Prof. Alessandra Nardi

3 Ground Plane Signal Wire Logic Gate Logic Gate Metal Wires carry signals from gate to gate. How long is the signal delayed? Wire and ground plane form a capacitor Wire has resistance Application Problems Signal Transmission in an Integrated Circuit

4 capacitor resistor Model wire resistance with resistors. Model wire-plane capacitance with capacitors. Constructing the Model Cut the wire into sections. Application Problems Signal Transmission in an IC – Circuit Model

5 Nodal Equations Yields 2x2 System C1C1 R2R2 R1R1 R3R3 C2C2 Constitutive Equations Conservation Laws Application Problems Signal Transmission in an IC – 2x2 example

6 eigenvectors Eigenvalues and Eigenvectors Eigenvalues Application Problems Signal Transmission in an IC – 2x2 example

Eigen decomposition: An Aside on Eigenanalysis

8 Decoupled Equations! An Aside on Eigenanalysis

9 Notice two time scale behavior v 1 and v 2 come together quickly (fast eigenmode). v 1 and v 2 decay to zero slowly (slow eigenmode). Application Problems Signal Transmission in an IC – 2x2 example

10 Circuit Equation Formulation For dynamical circuits the Sparse Tableau equations can be written compactly: For sake of simplicity, we shall discuss first order ODEs in the form:

11 Ordinary Differential Equations Initial Value Problems (IVP) Typically analytic solutions are not available  solve it numerically

12 Not necessarily a solution exists and is unique for: It turns out that, under rather mild conditions on the continuity and differentiability of F, it can be proven that there exists a unique solution. Also, for sake of simplicity only consider linear case: We shall assume that has a unique solution Ordinary Differential Equations Assumptions and Simplifications

13 First - Discretize Time Second - Represent x(t) using values at t i Approx. sol’n Exact sol’n Third - Approximate using the discrete Finite Difference Methods Basic Concepts

14 Finite Difference Methods Forward Euler Approximation

15 Finite Difference Methods Forward Euler Algorithm

16 Finite Difference Methods Backward Euler Approximation

17 Solve with Gaussian Elimination Finite Difference Methods Backward Euler Algorithm

18 Finite Difference Methods Trapezoidal Rule Approximation

19 Solve with Gaussian Elimination Finite Difference Methods Trapezoidal Rule Algorithm

20 BE FE Trap Finite Difference Methods Numerical Integration View

21 Finite Difference Methods - Sources of Error

22 Trap Rule, Forward-Euler, Backward-Euler Are all one-step methods Forward-Euler is simplest No equation solution explicit method. Box approximation to integral Backward-Euler is more expensive Equation solution each step implicit method Trapezoidal Rule might be more accurate Equation solution each step implicit method Trapezoidal approximation to integral Finite Difference Methods Summary of Basic Concepts

23 Nonlinear Differential Equation: k-Step Multistep Approach: Solution at discrete points Time discretization Multistep coefficients Multistep Methods Basic Equations

24 Multistep Equation: FE Discrete Equation: Forward-Euler Approximation: Multistep Coefficients: BE Discrete Equation: Trap Discrete Equation: Multistep Coefficients: Multistep Methods – Common Algorithms TR, BE, FE are one-step methods

25 Multistep Equation: How does one pick good coefficients? Want the highest accuracy Multistep Methods Definition and Observations

26 Definition: A finite-difference method for solving initial value problems on [0,T] is said to be convergent if given any A and any initial condition Multistep Methods – Convergence Analysis Convergence Definition

27 Definition: A multi-step method for solving initial value problems on [0,T] is said to be order p convergent if given any A and any initial condition Forward- and Backward-Euler are order 1 convergent Trapezoidal Rule is order 2 convergent Multistep Methods – Convergence Analysis Order-p Convergence

28 Multistep Methods – Convergence Analysis Two types of error

29 For convergence we need to look at max error over the whole time interval [0,T] – We look at GTE Not enough to look at LTE, in fact: – As I take smaller and smaller time steps  t, I would like my solution to approach exact solution better and better over the whole time interval, even though I have to add up LTE from more time steps. Multistep Methods – Convergence Analysis Two conditions for Convergence

30 1) Local Condition: One step errors are small (consistency) 2) Global Condition: The single step errors do not grow too quickly (stability) Typically verified using Taylor Series All one-step methods are stable in this sense. Multistep Methods – Convergence Analysis Two conditions for Convergence

31 Definition: A one-step method for solving initial value problems on an interval [0,T] is said to be consistent if for any A and any initial condition One-step Methods – Convergence Analysis Consistency definition

32 Multistep Methods - Local Truncation Error

33 Multistep Methods - Local Truncation Error

34 Local Truncation Error (cont’d)

35 Local Truncation Error (cont’d)

36 Examples

37 Examples

38 Examples (cont’d)

39 Examples (cont’d)

40 Determination of Local Error

41 Determination of Local Error

42 Implicit Methods

43 Implicit Methods

44 Convergence

45 Convergence (cont’d)

46 Convergence (cont’d)

47 Convergence (cont’d)

48 Convergence (cont’d)

49 Other methods

50 Summary