Lecture on Stiff Systems (Section 1-6 of Chua and Lin) ECE 546 Jan. 15, 2008.

Slides:



Advertisements
Similar presentations
Boundary Conditions. Objective of Lecture Demonstrate how to determine the boundary conditions on the voltages and currents in a 2 nd order circuit. These.
Advertisements

Numerical Solutions of Differential Equations Euler’s Method.
Series RLC Network An example on how to solve for A 1 and A 2.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Prof. Chung-Kuan Cheng 1.
1cs542g-term Notes  Notes for last part of Oct 11 and all of Oct 12 lecture online now  Another extra class this Friday 1-2pm.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng 1.
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (I) 1 1 Besides the main textbook, also see Ref.: “Applied.
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 5 Numerical Integration Spring 2010 Prof. Chung-Kuan Cheng 1.
ECE 201 Circuit Theory I1 General Solution for Natural and Step Responses of RL and RC Circuits Final Value Initial Value Time Constant Determine the initial.
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:Lec4 02/24/2003. Integration Method Problem formulation.
ECE 201 Circuit Theory I1 Step Response of an RC Circuit + v C (t) - i(t) Close the switch at t = 0 Write KCL at the top node Allow for the possibility.
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 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
CSE245:Lecture12 Advisor: C.K. Cheng Date: 02/13/03.
UCSD CSE245 Notes -- Spring 2006 CSE245: Computer-Aided Circuit Simulation and Verification Lecture Notes Spring 2006 Prof. Chung-Kuan Cheng.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
ECE 201 Circuit Theory I1 Natural Response of an RC Circuit.
Taking a Square Root to Solve an Equation. Solve: In order to solve for x, you have to UNDO the squared first (i.e. square root) What are the number(s)
Ordinary Differential Equations (ODEs)
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.
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
Section 6.1: Euler’s Method. Local Linearity and Differential Equations Slope at (2,0): Tangent line at (2,0): Not a good approximation. Consider smaller.
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
CSE245: Computer-Aided Circuit Simulation and Verification Lecture Note 2: State Equations Prof. Chung-Kuan Cheng.
Lecture 10 - Step Response of Series and Parallel RLC Circuits
Fluid flow analogy. Power and energy in an inductor.
Rational Functions and Their Graphs
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
11/16/ Euler Method Electrical Engineering Majors Authors: Autar Kaw, Charlie Barker
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,
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
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.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Bell Work: Graph on a number line I x I > 0. Answer: All reals.
Section 8 Numerical Analysis CSCI E-24 José Luis Ramírez Herrán October 20, 2015.
Solving Ordinary Differential Equations
INTEGRATOR CLASSIFICATION & CHARACTERISTICS
Lecture 11 Alessandra Nardi
Engineering Problem Solution
Lecture 4: Numerical Stability
Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
An example on how to solve for A1 and A2
ECE 576 – Power System Dynamics and Stability
Chapter 22.
CSE245 Lab 2 R1=1k R2=2k R3=3k C1=100f C2=200f L1=1000n
CSE245: Computer-Aided Circuit Simulation and Verification
Section Euler’s Method
Lecture 13 - Step Response of Series and Parallel RLC Circuits
CSE 245: Computer Aided Circuit Simulation and Verification
ME 123 Computer Applications I Lecture 24: Character Strings 4/18/03
CSE245: Computer-Aided Circuit Simulation and Verification
Finding A Better Final Discretized Equation
Chapter 26.
MATH 175: NUMERICAL ANALYSIS II
CSE245: Computer-Aided Circuit Simulation and Verification
SOLVING MULTI-STEP EQUATIONS
Natural Response of an RC Circuit
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
EE 616 Computer Aided Analysis of Electronic Networks Lecture 12
Presentation transcript:

Lecture on Stiff Systems (Section 1-6 of Chua and Lin) ECE 546 Jan. 15, 2008

The Circuit

The State Equations Definition of Eigenvalues/Eigenvectors Single-Input Single-Output State Model Selecting capacitor voltages as state variables, ICBS

Unit Step Response To solve for c 1 and c 2

Unit Step Response (cont) Using Matlab, “Exact” or analytical solution

Definition of Stiff System System is called stiff if spread of time constants is large For given example

Short-Term Unit Step Response (Fig of Chua and Lin)

Reasonable Time Step/Grid Define reasonable time step/grid to be one in which numerical solution approximates analytical solution (with acceptable accuracy) at grid points, i.e. without requiring an excessive number of grid points

Short-Term Response Trapezoidal algorithm most accurate for predicting short term response with smallest number of grid points Forward Euler least accurate Backward Euler produces well-damped numerical solution that “lags” analytical solution

Long-Term Unit Step Response

Long-Term Response Previous grid is unreasonable –Many more points than needed to predict long- term response Larger time step needed after fast transients subside –Cannot use Forward Euler (unstable)

Long-Term Response (Larger Time Step) Forward Euler unstable

Long-Term Response Trapezoidal algorithm produces artificial oscillations when time step increased Backward Euler appears best suited for predicting long term response if we are restricted to fixed time step Other strategies possible –Use trapezoidal with h = 0.2e-7 and after fast transients subside, switch to Backward Euler with larger time step

Conclusions No single best algorithm for all systems/cases Forward Euler unstable – typically the worst choice If restricted to fixed time step, Backward Euler best (of three considered) for predicting long-term response Many, many, many other algorithms exist – continuing area of research in CS/Math