Modified Newton Methods Lecture 9 Alessandra Nardi Thanks to Prof. Jacob White, Jaime Peraire, Michal Rewienski, and Karen Veroy.

Slides:



Advertisements
Similar presentations
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Advertisements

Lecture 5 Newton-Raphson Method
Lecture 14: Newton’s method for system of two nonlinear equations Function newton2d01 Set initial (x,y) point, maximum number of iterations, and convergence.
Optimization 吳育德.
Iterative Methods and QR Factorization Lecture 5 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 3 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECE 333 Renewable Energy Systems Lecture 14: Power Flow Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
ECE 552 Numerical Circuit Analysis
CSE 245: Computer Aided Circuit Simulation and Verification Fall 2004, Nov Nonlinear Equation.
Roots of Equations Open Methods (Part 2).
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
1cs542g-term Notes  Extra class this Friday 1-2pm  If you want to receive s about the course (and are auditing) send me .
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
Solutions for Nonlinear Equations
Optimization Methods One-Dimensional Unconstrained Optimization
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
Systems of Non-Linear Equations
Lecture 4 Node/Loop Analysis. Although they are very important concepts, series/parallel equivalents and the current/voltage division principles are not.
ECE 552 Numerical Circuit Analysis Chapter Six NONLINEAR DC ANALYSIS OR: Solution of Nonlinear Algebraic Equations Copyright © I. Hajj 2012 All rights.
Newton's Method for Functions of Several Variables
Optimization Methods One-Dimensional Unconstrained Optimization
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method October 04, 2013 Radu Serban University of Wisconsin-Madison.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
ITERATIVE TECHNIQUES FOR SOLVING NON-LINEAR SYSTEMS (AND LINEAR SYSTEMS)
Taylor Series.
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Newton's Method for Functions of Several Variables Joe Castle & Megan Grywalski.
ECE 546 – Jose Schutt-Aine 1 ECE 546 Lecture -12 MNA and SPICE Spring 2014 Jose E. Schutt-Aine Electrical & Computer Engineering University of Illinois.
Start Presentation October 4, 2012 Solution of Non-linear Equation Systems In this lecture, we shall look at the mixed symbolic and numerical solution.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 31.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
CSE 245: Computer Aided Circuit Simulation and Verification Instructor: Prof. Chung-Kuan Cheng Winter 2003 Lecture 1: Formulation.
1 Optimization Multi-Dimensional Unconstrained Optimization Part II: Gradient Methods.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
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,
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
The Power Flow Problem Scott Norr For EE 4501 April, 2015.
Direct Methods for Sparse Linear Systems Lecture 4 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen.
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Direct Methods for Linear Systems Lecture 3 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Perturbation analysis of TBR model reduction in application to trajectory-piecewise linear algorithm for MEMS structures. Dmitry Vasilyev, Michał Rewieński,
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 12 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
ECE 476 Power System Analysis Lecture 12: Power Flow Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Lecture 6 - Single Variable Problems & Systems of Equations CVEN 302 June 14, 2002.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
MECH593 Introduction to Finite Element Methods
Krylov-Subspace Methods - I Lecture 6 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Exam 1 Oct 3, closed book Place ITE 119, Time:12:30-1:45pm One double-sided cheat sheet (8.5in x 11in) allowed Bring your calculator to the exam Chapters.
Krylov-Subspace Methods - II Lecture 7 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Lecture 11 Alessandra Nardi
Krylov-Subspace Methods - I
CSE 245: Computer Aided Circuit Simulation and Verification
Newton’s Method for Systems of Non Linear Equations
ECE 476 POWER SYSTEM ANALYSIS
Boundary-Value Problems for ODE )בעיות הגבול(
Solving Nonlinear Equation
Non-linear Least-Squares
Computers in Civil Engineering 53:081 Spring 2003
Chapter 10. Numerical Solutions of Nonlinear Systems of Equations
Modern Control Systems (MCS)
~ Least Squares example
Mathematical Solution of Non-linear equations : Newton Raphson method
~ Least Squares example
Some Comments on Root finding
Some iterative methods free from second derivatives for nonlinear equation Muhammad Aslam Noor Dept. of Mathematics, COMSATS Institute of Information Technology,
Pivoting, Perturbation Analysis, Scaling and Equilibration
Presentation transcript:

Modified Newton Methods Lecture 9 Alessandra Nardi Thanks to Prof. Jacob White, Jaime Peraire, Michal Rewienski, and Karen Veroy

Last lecture review Solving nonlinear systems of equations –SPICE DC Analysis Newton’s Method –Derivation of Newton –Quadratic Convergence –Examples –Convergence Testing Multidimensonal Newton Method –Basic Algorithm –Quadratic convergence –Application to circuits

Multidimensional Newton Method Algorithm

If Then Newton’s method converges given a sufficiently close initial guess (and convergence is quadratic) Multidimensional Newton Method Convergence Local Convergence Theorem

Last lecture review Applying NR to the system of equations we find that at iteration k+1: –all the coefficients of KCL, KVL and of BCE of the linear elements remain unchanged with respect to iteration k –Nonlinear elements are represented by a linearization of BCE around iteration k  This system of equations can be interpreted as the STA of a linear circuit (companion network) whose elements are specified by the linearized BCE.

Note: G 0 and I d depend on the iteration count k  G 0 =G 0 (k) and I d =I d (k) Application of NR to Circuit Equations Companion Network – MNA templates

Modeling a MOSFET (MOS Level 1, linear regime) d

Last lecture review Multidimensional Case: each step of iteration implies solving a system of linear equations Linearizing the circuit leads to a matrix whose structure does not change from iteration to iteration: only the values of the companion circuits (the nonlinear elements) are changing.

DC Analysis Flow Diagram For each state variable in the system

Implications Device model equations must be continuous with continuous derivatives (not all models do this - - be sure models are decent - beware of user-supplied models) Watch out for floating nodes (If a node becomes disconnected, then J(x) is singular) Give good initial guess for x (0) Most model computations produce errors in function values and derivatives. Want to have convergence criteria || x (k+1) - x (k) || than model errors.

Improving convergence Improve Models (80% of problems) Improve Algorithms (20% of problems) Focus on new algorithms: Limiting Schemes Continuations Schemes

Outline Limiting Schemes –Direction Corrupting –Non corrupting (Damped Newton) Globally Convergent if Jacobian is Nonsingular Difficulty with Singular Jacobians Continuation Schemes –Source stepping –More General Continuation Scheme –Improving Efficiency Better first guess for each continuation step

Local Minimum Multidimensional Newton Method Convergence Problems – Local Minimum

f(x) X Must Somehow Limit the changes in X Multidimensional Newton Method Convergence Problems – Nearly singular

Multidimensional Newton Method Convergence Problems - Overflow f(x) X Must Somehow Limit the changes in X

Newton Method with Limiting

NonCorrupting Direction Corrupting Heuristics, No Guarantee of Global Convergence Newton Method with Limiting Limiting Methods

General Damping Scheme Key Idea: Line Search Method Performs a one-dimensional search in Newton Direction Newton Method with Limiting Damped Newton Scheme

If Then Every Step reduces F-- Global Convergence! Newton Method with Limiting Damped Newton – Convergence Theorem

Newton Method with Limiting Damped Newton – Nested Iteration

X Damped Newton Methods “push” iterates to local minimums Finds the points where Jacobian is Singular Newton Method with Limiting Damped Newton – Singular Jacobian Problem

 Starts the continuation  Ends the continuation  Hard to insure! Newton with Continuation schemes Basic Concepts - General setting Newton converges given a close initial guess  Idea: Generate a sequence of problems, s.t. a problem is a good initial guess for the following one

Newton with Continuation schemes Basic Concepts – Template Algorithm

Newton with Continuation schemes Basic Concepts – Source Stepping Example

+-+- VsVs R Diode Source Stepping Does Not Alter Jacobian Newton with Continuation schemes Basic Concepts – Source Stepping Example

Observations Problem is easy to solve and Jacobian definitely nonsingular. Back to the original problem and original Jacobian Newton with Continuation schemes Jacobian Altering Scheme

Newton with Continuation schemes Jacobian Altering Scheme – Basic Algorithm

0 Have From last step’s Newton Better Guess for next step’s Newton Newton with Continuation schemes Jacobian Altering Scheme – Update Improvement

Easily Computed If Then Newton with Continuation schemes Jacobian Altering Scheme – Update Improvement

0 1 Graphically Newton with Continuation schemes Jacobian Altering Scheme – Update Improvement

Summary Newton’s Method works fine: –given a close enough initial guess In case Newton does not converge: –Limiting Schemes Direction Corrupting Non corrupting (Damped Newton) –Globally Convergent if Jacobian is Nonsingular –Difficulty with Singular Jacobians –Continuation Schemes Source stepping More General Continuation Scheme Improving Efficiency –Better first guess for each continuation step