Development of Analysis Tools for Certification of Flight Control Laws FA9550-05-1-0266, April 05-November 05 Participants UCB: Weehong Tan, Tim Wheeler,

Slides:



Advertisements
Similar presentations
Nonlinear Systems: an Introduction to Lyapunov Stability Theory A. Pascoal, Jan
Advertisements

Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
ESE601: Hybrid Systems Some tools for verification Spring 2006.
Automatic Control Laboratory, ETH Zürich Automatic dualization Johan Löfberg.
Venkataramanan Balakrishnan Purdue University Applications of Convex Optimization in Systems and Control.
1 Nonlinear Control Design for LDIs via Convex Hull Quadratic Lyapunov Functions Tingshu Hu University of Massachusetts, Lowell.
Graph Laplacian Regularization for Large-Scale Semidefinite Programming Kilian Weinberger et al. NIPS 2006 presented by Aggeliki Tsoli.
Fundamentals of Lyapunov Theory
Study of the periodic time-varying nonlinear iterative learning control ECE 6330: Nonlinear and Adaptive Control FISP Hyo-Sung Ahn Dept of Electrical and.
Claudia Lizet Navarro Hernández PhD Student Supervisor: Professor S.P.Banks April 2004 Monash University Australia April 2004 The University of Sheffield.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Pablo A. Parrilo ETH Zürich SOS Relaxations for System Analysis: Possibilities and Perspectives Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006
1 A Lyapunov Approach to Frequency Analysis Tingshu Hu, Andy Teel UC Santa Barbara Zongli Lin University of Virginia.
1 Absolute Stability with a Generalized Sector Condition Tingshu Hu.
Unconstrained Optimization Problem
Pablo A. Parrilo ETH Zürich Semialgebraic Relaxations and Semidefinite Programs Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
456/556 Introduction to Operations Research Optimization with the Excel 2007 Solver.
Numerical Integration UC Berkeley Fall 2004, E77 Copyright 2005, Andy Packard. This work is licensed under the.
Solving Linear Equations UC Berkeley Fall 2004, E77 Copyright 2005, Andy Packard. This work is licensed under the.
Asymptotic Techniques
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Nonlinear Systems: an Introduction to Lyapunov Stability Theory A. Pascoal, April 2013 (draft under revision)
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
ENCI 303 Lecture PS-19 Optimization 2
Bert Pluymers Johan Suykens, Bart De Moor Department of Electrotechnical Engineering (ESAT) Research Group SCD-SISTA Katholieke Universiteit Leuven, Belgium.
LOGO A Path –Following Method for solving BMI Problems in Control Author: Arash Hassibi Jonathan How Stephen Boyd Presented by: Vu Van PHong American Control.
To clarify the statements, we present the following simple, closed-loop system where x(t) is a tracking error signal, is an unknown nonlinear function,
Emergent complexity Chaos and fractals. Uncertain Dynamical Systems c-plane.
Stability Region Analysis using composite Lyapunov functions and bilinear SOS programming Support from AFOSR FA , April 05-November 06 Authors.
Development of Analysis Tools for Certification of Flight Control Laws FA , April 05-November 07 Participants UCB: Ufuk Topcu, Weehong Tan,
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Chapter 4 Sensitivity Analysis, Duality and Interior Point Methods.
Support Vector Machines. Notation Assume a binary classification problem. –Instances are represented by vector x   n. –Training examples: x = (x 1,
Automated Controller Synthesis in QFT Designs … IIT Bombay P.S.V. Nataraj and Sachin Tharewal 1 An Interval Analysis Algorithm for Automated Controller.
1 Gary J. Balas Aerospace Engineering and Mechanics University of Minnesota Minneapolis, MN Systems Research in the Aerospace Engineering.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Support Vector Machines Reading: Ben-Hur and Weston, “A User’s Guide to Support Vector Machines” (linked from class web page)
(COEN507) LECTURE III SLIDES By M. Abdullahi
Lecture #7 Stability and convergence of ODEs João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems NO CLASSES.
Quantitative Local Analysis of Nonlinear Systems NASA NRA Grant/Cooperative Agreement NNX08AC80A –“Analytical Validation Tools for Safety Critical Systems”
Intro to Simulink Modified by Gary Balas 20 Feb 2011 Copyright , Andy Packard. This work is licensed under.
17 1 Stability Recurrent Networks 17 3 Types of Stability Asymptotically Stable Stable in the Sense of Lyapunov Unstable A ball bearing, with dissipative.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
CSE 330: Numerical Methods. What is true error? True error is the difference between the true value (also called the exact value) and the approximate.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Support Vector Machines (SVMs) Chapter 5 (Duda et al.) CS479/679 Pattern Recognition Dr. George Bebis.
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Computation of the solutions of nonlinear polynomial systems
. Development of Analysis Tools for Certification of
Solver & Optimization Problems
Boyce/DiPrima 9th ed, Ch 9.6: Liapunov’s Second Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
Boundary Element Analysis of Systems Using Interval Methods
Development of Analysis Tools for Certification of Flight Control Laws
§7-4 Lyapunov Direct Method
Georgina Hall Princeton, ORFE Joint work with Amir Ali Ahmadi
Nonnegative polynomials and applications to learning
P.S.V. Nataraj and Sachin Tharewal Systems & Control Engineering,
Linear Programming.
Local Gain Analysis of Nonlinear Systems
Quantitative, Local Analysis for Nonlinear Systems
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
. Development of Analysis Tools for Certification of
. Development of Analysis Tools for Certification of
Stability Analysis of Linear Systems
I.4 Polyhedral Theory.
Simplex method (algebraic interpretation)
Presentation transcript:

Development of Analysis Tools for Certification of Flight Control Laws FA , April 05-November 05 Participants UCB: Weehong Tan, Tim Wheeler, Andy Packard, Ufuk Topcu Honeywell: Pete Seiler UMN: Gary Balas Website Copyright 2005, Packard, Tan, Wheeler, Seiler and Balas. This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Validation/Verification/Certification (VVC) Control Law VVC - Verification: assure that the flight control system fulfills the design requirements. - Validation: assure that the developed flight control system satisfies user needs under defined operating conditions. - Certification: applicant demonstrates compliance of the design to the certifying authority. Current practice: Partially guided by MilSpec –Linearized analyses Closed-loop: Time domain Open-loop: Frequency domain –Numerous nonlinear sims. –Strategies/Process to manage/distill all of this data into a actionable conclusion. “as much a psychological exercise as it is a mathematical analysis”, Anonymous, Pratt-Whitney systems engineer.

Why psychological? VV needs a conclusion about physical system using model-based analysis… leap-of-faith Inadequacy in model –Known unknowns –Unknown unknowns –Gross simplification Inadequacy in analysis to resolve issue –Inability to precisely answer question –Relevance of question to issue at hand Initial Goal: –Make the leap smaller with quantitative nonlinear analysis –Generate suite of examples to build experience Improve these while addressing these

Quantitative Nonlinear Analysis Initial focus –Region of attraction estimation – induced norms for –finite-dimensional nonlinear systems, with polynomial vector fields parameter uncertainty (also polynomial) Main Tools: –Lyapunov/HJI formulation –Sum-of-squares proofs to ensure nonnegativity and set containment –Semidefinite programming (SDP), Bilinear Matrix Inequalities Optimization interface: YALMIP and SOSTOOLS SDP solvers: Sedumi BMIs: using PENBMI (academic license from

Estimating Region of Attraction Dynamics, equilibrium point User-defined function whose sub-level sets are to be in region-of-attraction By choice of positive-definite V, maximize  so that

Sum-of-Squares Sum-of-squares decompositions will be the main tool to decide set containment conditions. A polynomial f, in n real-variables is a sum-of-squares if it can be expressed as a sum-of-squares of other polys, Notation set of all sum-of-square polynomials in n variables set of all polynomials in n variables

Sum-of-Squares as SDP For a polynomial f, in n real-variables, and of degree 2d Each M i is s×s, where Using the Newton polytope method, both s and q can often be reduced, depending on the terms present in f. Semidefinite program: feasibility

Synthesizing Sum-of-Squares as SDP Given: polynomials Decide if an affine combination of them can be made a sum-of-squares. This is also an SDP.

Psatz Given: polynomials Goal: Decide if the set is empty. Φ is empty if and only if such that

Region of Attraction By choice of positive-definite V, maximize  so that Simple Psatz: “ small ” positive definite functions Products of decision variables BMIs

Convexity of Analysis In a global stability analysis, the certifying Lyapunov functions are themselves a convex set. In local analysis, the condition holds on sublevel sets This set of certifying Lyapunov functions is not convex. Example:

Example: Van der Pol: ROA Classical 2-d system Features: –Unstable limit cycle around origin –One equilibrium point: stable, at origin –Here, we use an elliptical shape factor x 1 x 2 ROA for Van der Pol nV = 2,  = 0.59 nV = 4,  = 0.66 nV = 6,  = 0.78

Region of Attraction: pointwise-max If V 1 and V 2 are positive definite, and and Then proves asymptotic stability of on

Region of Attraction with pointwise-max Use Psatz to get a sufficient condition for using V of the form

ROA with Pointwise-Max Lyapunov functions x 1 x 2 ROA for Van der Pol nV = 6,  = x nV = 2,  = x nV = 4,  = x nV = 6,  = 1

Different Shape factor x 1 x 2 ROA for Van der Pol 2

Reachability of with inputs If then Simple Psatz certification

Reachability of with inputs Example: Linearized R 2  Upper Bound

Reachability of with inputs Choose T: Conditions for stationarity adjust scalar so Tierno, et.al, 1996 Note: If f is linear, and p is a p.d. quadratic form, then the iteration is the correct power iteration for the maximum. repeat

Reachability of with inputs Lower bound Lower Bnd Upper Bound Linearized R 2 

Refinement Replace with Then generally, h k <1 will work generally, greater than R 2

Refinement Lower Bnd Upper Bound Linearized R 2  Refined Upper Bound Using worst-case input from linear analysis

gain: Adaptive control example Plant: with unknown (=2) Controller: Properties: Global convergence x 1 to 0, x 2 to θ-dependent equilibrium point, and (in this case) Add input disturbance, compute gain from “ Adaptive nonlinear control without overparametrization, ” Krstic, Kanellakopoulos, Kokotovic, Systems and Control Letters, vol. 19, pp , 1992 C P How does adaptation gain affect this?

gain of If then elementary sufficient condition Iteration (as before) for stationary points, to yield lower bounds

Adaptive Control,  = 1 and  = 4 R L2 to L2 gain Adaptive control Compute/Bound for two values of adaptation gain, Γ=1, 4. C P H ∞ norm of the linearization For small, large adaptation gain gives better worst-case disturbance attenuation. But for large, the situation is reversed… Trend implied by linearized analysis invalid for large inputs Γ=4 Γ=1

Region of Attraction for uncertain system Uncertain Dynamics Apriori constraint on uncertainty Consider an equilibrium point that does not depend on Choose V to maximize  so that:

ROA: Uncertain 2-D Van der Pol x 1 x 2 ROA for Uncertain Van der Pol V(x,  ), nV = 4,  = 0.6 V(x), nV = 4,  = 0.54

ROA: 3 rd order example Example (from Davison, Kurak): Solutions diverge from these initial conditions

SDP Solvers: Issues An “old” robustness analysis problem that is written as an SDP is “Routine” since 1988, although the best SDP solvers today often fail on such problems. Example: –5-state, all scalar signals (taken from 2005 ACC, Hu, et. al.) –Sedumi is unable to find a feasible point –SDPT3 is unable to find a feasible point –LMIlab finds “optimal” (upper/lower bounds on inf) value Other numerical inconsistencies exist as well… Work remains.

Problems, difficulties, risks Dimensionality: –For general problems, it seems unlikely to move beyond cubic vector fields and (pointwise-max) quadratic V. These result in “tolerable” SDPs for state dimension < 15. –Theory may lead to reduced complexity in specific instances of problems (sparsity, Newton polytope reduction, symmetries) Solvers (SDP): numerical accuracy, conditioning Connecting the Lyapunov-type questions to MilSpec-type measures –Decay rates –Damping ratios –Oscillation frequencies BMI nature of local analysis

Other avenues Quantitative analysis around locally unstable equilibrium points (eg., reversed VanderPol) –ROA to a set, but not to a point –Reachability from locally unstable eq. point Appropriate question/analysis when equilibrium point depends on uncertain values –Dependence of eq.point on uncertainty, relation to nominal –ROA to the uncertain eq. point Other induced norms Megretski/Rantzer-like IQC formalism –Known nonlinear system –Unknown which satisfies various IQCs

Iterative Stability Region Estimation Algorithm [Chiang/Thorp, 1989 IEEE TAC] 1.Construct a local Lyapunov function, V 0 (x) and find the largest c such that dV 0 /dt<0 for x in S V0 (c) \ x s 2.Choose  and iteratively update the Lyapunov Function: V k+1 (x) = V k ( x+  f(x) ) Notation Let x s be a stable equilibrium point of dx/dt = f(x). Let S V (c) denote the connected component containing x s of the set {x: V(x)≤c}. Main Result [Chiang/Thorp, 1989 IEEE TAC] For a finite number of iterations, there exists  M such that for 0<  <  M, 1. S Vk (c) is contained in the stability region for each k. 2. S Vk (c)  S Vk+1 (c) Combining the Chiang/Thorp Iteration with SOS Techniques The initial Lyapunov function and stability region estimate (steps 1 and 2 of the algorithm) can be found using SOS techniques. The iteration can then be applied to further improve the stability region estimate.