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,
1cs542g-term Notes  Extra class this Friday 1-2pm  Assignment 2 is out  Error in last lecture: quasi-Newton methods based on the secant condition:
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 12 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
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,
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.
1 Chapter 6 Numerical Methods for Ordinary Differential Equations.
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.
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
Finite Difference Methods Definitions. Finite Difference Methods Approximate derivatives ** difference between exact derivative and its approximation.
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.
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.
Ordinary Differential Equations
Solving Ordinary Differential Equations
Lecture 11 Alessandra Nardi
ECE 576 – Power System Dynamics and Stability
CSE245: Computer-Aided Circuit Simulation and Verification
Class Notes 18: Numerical Methods (1/2)
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 One-step Methods – Convergence Analysis Consistency for Forward Euler

33 One-step Methods – Convergence Analysis Convergence Analysis for Forward Euler Forward-Euler definition Expanding in t about yields where is the "one-step" error bounded by

34 One-step Methods – Convergence Analysis Convergence Analysis for Forward Euler

35 One-step Methods – Convergence Analysis A helpful bound on difference equations

36 One-step Methods – Convergence Analysis A helpful bound on difference equations

37 One-step Methods – Convergence Analysis Back to Convergence Analysis for Forward Euler

38 Forward-Euler is order 1 convergent The bound grows exponentially with time interval C is related to the solution second derivative The bound grows exponentially fast with norm A. One-step Methods – Convergence Analysis Observations about Convergence Analysis for FE

39 Summary 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

40 Multistep Methods - Local Truncation Error

41 Local Truncation Error (cont’d)

42 Examples

43 Examples (cont’d)

44 Determination of Local Error

45 Implicit Methods

46 Convergence

47 Convergence (cont’d)

48 Convergence (cont’d)

49 Other methods

50 Summary