Quantitative Local Analysis of Nonlinear Systems NASA NRA Grant/Cooperative Agreement NNX08AC80A –“Analytical Validation Tools for Safety Critical Systems”

Slides:



Advertisements
Similar presentations
Lect.3 Modeling in The Time Domain Basil Hamed
Advertisements


Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia research supported by National Science.
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
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.
by Rianto Adhy Sasongko Supervisor: Dr.J.C.Allwright
IAAC International Symposium in Systems & Control, 7-8 October 2013, Technion, Haifa, Israel P-O Gutman: Constrained control of uncertain linear time-invariant.
© Goodwin, Graebe, Salgado, Prentice Hall 2000 Chapter7 Synthesis of SISO Controllers.
Longitudinal Experiments Larry V. Hedges Northwestern University Prepared for the IES Summer Research Training Institute July 28, 2010.
A De-coupled Sliding Mode Controller and Observer for Satellite Attitude Control Ronald Fenton.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
A Survey of Some Sliding Mode Control Designs Dennis Driggers EE691 March 16, 2006.
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.
Introduction to Gröbner Bases for Geometric Modeling Geometric & Solid Modeling 1989 Christoph M. Hoffmann.
AAE 666 Final Presentation Spacecraft Attitude Control Justin Smith Chieh-Min Ooi April 30, 2005.
Basic Concepts and Definitions Vector and Function Space. A finite or an infinite dimensional linear vector/function space described with set of non-unique.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
MCE 561 Computational Methods in Solid Mechanics
Pablo A. Parrilo ETH Zürich Semialgebraic Relaxations and Semidefinite Programs Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
How are we computing? Invalidation Certificates Consider invalidating the constraints (prior info, and N dataset units) The invalidation certificate is.
Introduction to estimation theory Seoul Nat’l Univ.
Chapter 8: Problem Solving
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Sistem Kontrol I Kuliah II : Transformasi Laplace Imron Rosyadi, ST 1.
In Engineering --- Designing a Pneumatic Pump Introduction System characterization Model development –Models 1, 2, 3, 4, 5 & 6 Model analysis –Time domain.
Formulation of a complete structural uncertainty model for robust flutter prediction Brian Danowsky Staff Engineer, Research Systems Technology, Inc.,
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Introductory Control Theory CS 659 Kris Hauser.
Optimal Nonlinear Neural Network Controllers for Aircraft Joint University Program Meeting October 10, 2001 Nilesh V. Kulkarni Advisors Prof. Minh Q. Phan.
Bert Pluymers Johan Suykens, Bart De Moor Department of Electrotechnical Engineering (ESAT) Research Group SCD-SISTA Katholieke Universiteit Leuven, Belgium.
Control Theory and Congestion Glenn Vinnicombe and Fernando Paganini Cambridge/Caltech and UCLA IPAM Tutorial – March Outline of second part: 1.Performance.
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.
Model Reference Adaptive Control (MRAC). MRAS The Model-Reference Adaptive system (MRAS) was originally proposed to solve a problem in which the performance.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Reinforcement Learning Control with Robust Stability Chuck Anderson, Matt Kretchmar, Department of Computer Science, Peter Young, Department of Electrical.
Stability Region Analysis using composite Lyapunov functions and bilinear SOS programming Support from AFOSR FA , April 05-November 06 Authors.
Introductory Control Theory. Control Theory The use of feedback to regulate a signal Controller Plant Desired signal x d Signal x Control input u Error.
Development of Analysis Tools for Certification of Flight Control Laws FA , April 05-November 07 Participants UCB: Ufuk Topcu, Weehong Tan,
Lecture #14 Computational methods to construct multiple Lyapunov functions & Applications João P. Hespanha University of California at Santa Barbara Hybrid.
A Non-iterative Hyperbolic, First-order Conservation Law Approach to Divergence-free Solutions to Maxwell’s Equations Richard J. Thompson 1 and Trevor.
1 Gary J. Balas Aerospace Engineering and Mechanics University of Minnesota Minneapolis, MN Systems Research in the Aerospace Engineering.
Large-Scale Matrix Factorization with Missing Data under Additional Constraints Kaushik Mitra University of Maryland, College Park, MD Sameer Sheoreyy.
(COEN507) LECTURE III SLIDES By M. Abdullahi
Tree and Forest Classification and Regression Tree Bagging of trees Boosting trees Random Forest.
Ch 9.6: Liapunov’s Second Method In Section 9.3 we showed how the stability of a critical point of an almost linear system can usually be determined from.
Development of Analysis Tools for Certification of Flight Control Laws FA , April 05-November 05 Participants UCB: Weehong Tan, Tim Wheeler,
OPERATING SYSTEMS CS 3502 Fall 2017
Computation of the solutions of nonlinear polynomial systems
March 9th, 2015 Maxime Lapalme Nazim Ould-Brahim
Multiplicative updates for L1-regularized regression
. Development of Analysis Tools for Certification of
Solver & Optimization Problems
Development of Analysis Tools for Certification of Flight Control Laws
§7-4 Lyapunov Direct Method
Linear Programming.
Autonomous Cyber-Physical Systems: Dynamical Systems
Local Gain Analysis of Nonlinear Systems
Quantitative, Local Analysis for Nonlinear Systems
Chapter 6. Large Scale Optimization
. Development of Analysis Tools for Certification of
. Development of Analysis Tools for Certification of
Stability Analysis of Linear Systems
Chapter 6. Large Scale Optimization
Chapter 7 Inverse Dynamics Control
Presentation transcript:

Quantitative Local Analysis of Nonlinear Systems NASA NRA Grant/Cooperative Agreement NNX08AC80A –“Analytical Validation Tools for Safety Critical Systems” –Dr. Christine Belcastro, Technical Monitor, 01/01/ /31/2010 AFOSR FA –“Analysis tools for Certification of Flight Control Laws” –05/05/ /30/2008 Colleagues Univ of Minnesota: Pete Seiler, Abhijit Chakraborty, Gary Balas UC Berkeley: Ufuk Topcu, Erin Summers, Tim Wheeler, Andy Packard Barron Associates: Alec Bateman

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, Senior systems engineer, large US corporation.

Why psychological? VV needs a conclusion about physical system using model-based analysis… leap-of-faith arises from 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 Goal: –Make the leap smaller with quantitative nonlinear analysis Improve these while addressing these

Role of linearized analysis Linear analysis: provides a quick answer to a related, but different question: Q: How much gain and time-delay variation can be accommodated without undue performance degradation? A: (answers a different question) Here’s a scatter plot of margins at 1000 equilbrium trim conditions throughout envelope Why does linear analysis have impact in nonlinear problems? –Domain-specific expertise exists to interpret linear analysis and assess relevance –Speed, scalable: Fast, defensible answers on high-dimensional systems Extend validity of the linearized analysis Infinitesimal → local (with certified estimates) Address uncertainty Here’s a scatter plot of guaranteed region-of-attraction estimates, in the presence of 40% unmodeled dynamics at plant input, and 3 parametric variations, at 1000 trim conditions throughout the envelope

Overview Numerical tools to quantify/certify dynamic behavior Locally, near equilibrium points Analysis considered Region-of-attraction, input/output gain, reachability, establishing local IQCs Methodology Enforce Lyapunov/Dissipation inequalities locally, on sublevel sets Set containments via S-procedure and SOS constraints Bilinear semidefinite programs “always” feasible Simulation aids nonconvex proof/certificate search Address model uncertainty Parametric Uncertainty –Parameter-independent Lyapunov/Storage Fcn –Branch-&-Bound Dynamic Uncertainty –Local small-gain theorems

Nonlinear Analysis Autonomous dynamics –equilibrium point –uncertain initial condition, –Question: do all solutions converge to Driven dynamics –equilibrium point –uncertain inputs,, –Question: how large can get? Uncertain dynamics –Unknown, constant parameters, –Unmodeled dynamics –Same questions…

Region-of-Attraction and Reachability Dynamics, equilibrium point p: Analyst-defined function whose (well-understood) sub- level sets are to be in region-of- attraction By choice of positive-definite V, maximize  so that: Local DIE: Conditions on Conclusion on ODE Given a differential equation and a positive definite function p, how large can get, knowing

Solution Approach 1.S-procedure to (conservatively) enforce set containments in R n i.Sum-of-squares to (conservatively) enforce nonnegativity of h: R n → R ii.Easy (semidefinite program) to check if a given polynomial is SOS 2.Apply S-procedure/SOS to Analysis set-containment conditions. For (e.g.) reachability, minimize β (R fixed, by choice of s i and V) such that 3.SDP iteration: Initialize V, then a)Optimize objective by changing S-procedure multipliers b)Recenter V c)Iterate on (a) and (b) 4.Initialization of V is important (in a complicated fashion) for the iteration to work –Simulation of system dynamics yields convex constraints which contain all (if any) feasible Lyapunov function candidates

Quantitative improvement on linearized analysis Consider dynamics where matrix A is Hurwitz, and –function f 23 consists of 2 nd and 3 rd degree polynomials, f 23 (0)=0 Consider dynamics where matrix A is Hurwitz, and –f 2, g 2, h 2 quadratic, f 3 cubic –with f 2 (0,0)=f 3 (0)=h 2 (0)=0, and Consider dynamics where matrix A is Hurwitz, and –functions b bilinear, q quadratic These SOS/S-procedure formulations are always feasible using quadratic V A nonempty region-of-attraction is certified For some R>0,

Common features of analysis These analysis all involve search over a nonconvex set of certifying Lyapunov functions, roughly The SOS relaxations are nonconvex as well, e.g., Solution approaches: SOS conditions to verify containments –Parametrize V, parametrize multipliers, solve… Ad-hoc iterative, based on linear SDPs Bilinear SDP solvers Behavior: Initial point can have big effect on end result, e.g., –Unable to reach a feasible point –Convergence to local optimum (or less)

Consider a simpler question. Fix β, is Ad-hoc solution: –run N sims, starting from samples in If any diverge, then “no” If all converge, then maybe “yes”, and perhaps the Lyapunov analysis can prove it In this case, how can we use the simulation data? Necessary condition: If V exists to verify, it must be –≤1 on all trajectories –≥0 on all trajectories –Decreasing on all trajectories –Other constraints???… ROA: Simulations constrain suitable V

Convex Outer bound on certifying Lyapunov functions After simulations –Collection of convergent trajectories starting in –divergent trajectories starting in Linearly parametrize V, namely The necessary conditions on V are convex constraints on V≤1 on convergent trajectories V≥0 on all trajectories V decreasing on convergent trajectories Quad(V) is a Lyapunov function for Linear(f) V≥1 on divergent trajectories If convex constraints yield empty set, then V parametrization cannot certify Sample this set to get candidate V Basis functions, eg., all degree 4 Hermite polynomials Hit&Run (Smith, 1984, Lovasz, 1999, Tempo, Calafiore, Dabbene

Uncertain Systems: Parameter-Independent V Start with affine parameter uncertainty Solve earlier conditions, but enforcing at the vertex values of f. Then is invariant, and in the Robust ROA of. Advantages: a robust ROA, and –V is only a function of x, δ appears only implicitly through the vertices –SOS analysis is only in x variables –Simulations are incorporated as before (vary initial condition and δ) Limitations –Conservative with regard to uncertainty Conclusions apply to time-varying parameters, hence… often conclusions are too weak for time-invariant parameters polytope in R m Subdivide Δ Solve separately Δ1Δ1 Δ2Δ2

Much better: B&B in Uncertainty Space Of course, growth is still exponential in parameters… but –k th local problem uses V k (x) –Solve conservative problem over subdomain –Local problems are decoupled –Trivial parallelization Computation yields a binary tree –decomposes parameter space –certificates at each leaf BTree(k).Analysis Analysis.ParameterDomain Analysis.VertexDynamics Analysis.LyapunovCertificate Analysis.SOSCertificates Analysis.CertifiedVolume BTree(k).Children δ1δ1 δ2δ2 Nonconvex parameter-space, and/or coupled parameters –cover with union of polytopes, and refine…

4-state aircraft example w/uncertainty Aircraft: Short period longitudinal model, pitch axis, with 1-state linear controller Spherical shape factor: 9-processor Branch-&-Bound –Divide worst region into 9, improve polytope cover Treat as 3 parameters −Affine dependence −2-dimensional manifold in R 3 −Cover with polytope in R 3 −Solve…

Unmodeled dynamics: Local small-gain theorem Implies: Starting from x(0)=0, for all Δ causal, globally stable, also satisfies DIE Local, gain constraint (≤1) on This gives: M Δ M

Unmodeled dynamics: Local small-gain theorem Δ causal, globally stable, Local, gain constraint (≤1) on Then: M Δ M Local DIE for L 2 gain

4-state aircraft example w/uncertainty ResultsNominalwith δ M, δ CG Nominal8.6 (15.3)5.1 (7.5) with Δ4.2 (6.7)2.4 (4.1) PδPδ C Δ

Model-reference adaptive systems Example: 2-state P, 2-state ref. model, 3 adaptive parameters –Insert additional disturbance (d) –Bound worst-case effect of external signals (r,d) on tracking error (e) Initial conditions: Reachability analysis certifies that for all (r,d) with then for all t, There are particular r and d satisfying causing e to achieve at some time t. Adaptive System: reachability example analysis plant Reference model Adaptive control e - r E1 E2 Quadratic vector field, marginally stable linearization

F/A-18 Falling Leaf Mode The US Navy has lost many F/A-18 A/B/C/D Hornet aircraft due to an out-of-control flight departure phenomenon described as the “falling leaf” mode Heller, David and Holmberg, “Falling Leaf Motion Suppression in the F/A-18 Hornet with Revised Flight Control Software," AIAA , 42nd AIAA Aerospace Sciences Meeting, Jan 2004, Reno, NV. Can require 15,000-20,000 ft to recover Administrative action by NAVAIR to prevent further losses Revised control law implemented, deployed in 2003/4, F/A-18E/F −uses ailerons to damp sideslip

Baseline/Revised Control Architecture (simplified)

Is revised better? Yes, several years service confirm – but can this be ascertained with a model-based validation? Recall that Baseline underwent “validation”, yet had problems. Linearized Analysis: at equilibrium and several steady turn rates –Classical loop-at-a-time margins –Disk margin analysis (Nichols) –Multivariable input disk-margin –Diagonal input multiplicative uncertainty –“Full”-block input multiplicative uncertainty –Parametric stability margin (μ ) using physically motivated uncertainty in 8 aero coefficients Conclusion: Both designs have excellent (and nearly identical) linearized robustness margins trimmed across envelope… Baseline vs Revised: Analysis Chakraborty, Seiler and Balas, “Applications of Linear and Nonlinear Robustness Analysis Techniques to the F/A-18 Control Laws,” AIAA Guidance, Navigation and Control Conference, Chicago IL, August 2009.

Perform region-of-attraction estimate as described –Unfortunately, closed-loop models too complex (high dynamic order) for direct approach, at this time. Model approximation: –reduced state dimension (domain-specific simplifications) –polynomial approximation of closed-loop dynamic models Baseline vs Revised: Beyond Linearized Analysis

ROA Results Ellipsoidal shape factor, aligned w/ states, appropriated scaled –5 hours for quartic Lyapunov function certificate –100 hours for divergent sims with “small” initial conditions Chakraborty, Seiler and Balas, “Applications of Linear and Nonlinear Robustness Analysis Techniques to the F/A-18 Control Laws,” AIAA Guidance, Navigation and Control Conference, Chicago IL, August 2009.

Tools (Multipoly, SOSOPT, SeDuMi) that handle (cubic, in x, vector field) 15 states, 3 parameters, unmodeled dynamics, analyze with ∂(V)=2 7 states, 3 parameters, unmodeled dynamics, analyze with ∂(V)=4 4 states, 3 parameters, unmodeled dynamics, analyze with ∂(V)=6-8 Certified answers, however, not clear that these are appropriate for design choices Sproc/SOS/DIE more quantitative than linearization –Linearized analysis: quadratic storage functions, infinitesimal sublevel sets –SOS/S-procedure always works Work to scale up to large, complex systems analysis (e.g., adaptive flight controls) where “certificates” are desired. Wrapup/Perspective Proofs of behavior with certificates Extensive simulation and linearized analysis

Interconnection of locally stable systems (w/ Summers) –M is constant matrix –Associated with each N i (offset) Stable, linear G i (weight) Stable, linear, min-phase W i –The system has local L 2 -gain ≤1, certified as presented. For low-order N i, coupled with low-order G and W, this is done with high-degree V –(Linear) robustness analysis on an interconnection involving M, G, and W -1 yields conditions on d, under which gain from d to e is bounded –Hierarchical - easy to include W M, G M, and bound local gain of Decomposition for high-order Heterogeneous Systems Poor-man’s IQC theory for locally-stable interconnections –Combinatorial number of ways to split original system –Infinite choices for G and W –…–… –Elements must be stable, so reject decompositions based on linearization –A possible route to answering some questions on medium-order systems

Uncertain Model Invalidation Analysis Given time-series data for a collection of experiments, with selected features and simple measurement uncertainty descriptions… Task: prove that regardless of the values chosen for the parameters, the model below cannot account for the observed data, where

Generalization of covering manifold Given: –polynomial p(δ) in many real variables, –Domain, typically a polytope Find a polytope that covers the manifold –Tradeoff between number of vertices, and –Excess “volume” in polytope One approach: –Find “tightest” affine upper and lower bounds over H linear function of c 0, c Enforce with S-procedure

Generalization of covering manifold Partition H, repeat For multivariable p, Bound, on H (above and below), each component of p with affine functions, c, d, (e.g, using S-procedure). Then, a covering polytope (Amato, Garofalo, Gliemo) is with 2 m+k easily computed vertices.

Sum-of-Squares Sum-of-squares (SOS) decompositions (Parrilo) –certify nonnegativity, and –(with S-procedure) certify set containment conditions A polynomial f, in n real-variables is SOS if it can be expressed as a sum-of-squares of other polys, SDP decides SOS: For f with degree 2d Each M i is s×s, where

(s,q) dependence on n and 2d 2d n

(s,q) dependence on n and 2d 2d n

Region-of-attraction: 4-state aircraft example Aircraft: Short period longitudinal model, pitch axis, with 1-state linear controller Simple form for shape factor: Different Lyapunov function structures –Quadratic (β cert =8.6) –Fully quartic (quadratic + cubic + quartic) β cert =15.3 Other approaches have deficiencies –Directly use commercial BMI solver (PENBMI) β cert =15.2, but… 6 hours… 4000 simulations3 minutes Form LP/ConvexP0.5 minutes Get a feasable point1 minute Assess answer with V0.5 minutes SDP Iterate from V0.5 min/iteration, 10 iters TOTAL10 minutes discover divergent trajectories proving Divergent initial condition Certified set of convergent initial conditions Disk in 4-d state space, centered at equilibrium point Eliminate parameter uncertainty