Reachability-based Controller Design for Switched Nonlinear Systems EE 291E / ME 290Q Jerry Ding 4/18/2012.

Slides:



Advertisements
Similar presentations
1 of 13 STABILIZING a SWITCHED LINEAR SYSTEM by SAMPLED - DATA QUANTIZED FEEDBACK 50 th CDC-ECC, Orlando, FL, Dec 2011, last talk in the program! Daniel.
Advertisements

1 of 14 LIMITED - INFORMATION CONTROL of SWITCHED and HYBRID SYSTEMS via PROPAGATION of REACHABLE SETS HSCC, Philadelphia, April 2013 Daniel Liberzon Coordinated.
Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.
Timed Automata.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Model Checker In-The-Loop Flavio Lerda, Edmund M. Clarke Computer Science Department Jim Kapinski, Bruce H. Krogh Electrical & Computer Engineering MURI.
Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia research supported by National Science.
Hybrid Terminal Sliding-Mode Observer Design Method for a Permanent-Magnet Synchronous Motor Control System 教授 : 王明賢 學生 : 胡育嘉 IEEE TRANSACTIONS ON INDUSTRIAL.
Robust Hybrid and Embedded Systems Design Jerry Ding, Gabe Hoffmann, Haomiao Huang, Vijay Pradeep, Jonathan Sprinkle, Steven Waslander, Edward Lee, Shankar.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Hybrid Systems Controller Synthesis Examples EE291E Tomlin.
AA278A: Supplement to Lecture Notes 10. Controller Synthesis for Hybrid Systems Claire J. Tomlin Department of Aeronautics and Astronautics Department.
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
ECE 720T5 Fall 2012 Cyber-Physical Systems Rodolfo Pellizzoni.
Aditya Zutshi Sriram Sankaranarayanan Ashish Tiwari TIMED RELATIONAL ABSTRACTIONS FOR SAMPLED DATA CONTROL SYSTEMS.
Guaranteeing Safety in Semi-autonomous Robotic Systems: A Formal Approach through Hybrid Systems with Hidden Modes Domitilla Del Vecchio University of.
Multiple Shooting, CEGAR-based Falsification for Hybrid Systems
1 Formal Models for Stability Analysis : Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying Exam 20 th December.
1 Stability of Hybrid Automata with Average Dwell Time: An Invariant Approach Daniel Liberzon Coordinated Science Laboratory University of Illinois at.
Design of Attitude and Path Tracking Controllers for Quad-Rotor Robots using Reinforcement Learning Sérgio Ronaldo Barros dos Santos Cairo Lúcio Nascimento.
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
Robust Hybrid and Embedded Systems Design Jerry Ding, Jeremy Gillula, Haomiao Huang, Michael Vitus, and Claire Tomlin MURI Review Meeting Frameworks and.
Beyond Human Factors: An Approach to Human/Automation Teams Haomiao Huang Jerry Ding Wei Zhang Claire J. Tomlin Hybrid Systems Lab Action Webs Meeting.
An Introduction to the Soft Walls Project Adam Cataldo Prof. Edward Lee University of Pennsylvania Dec 18, 2003 Philadelphia, PA.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Using Inaccurate Models in Reinforcement Learning Pieter Abbeel, Morgan Quigley and Andrew Y. Ng Stanford University.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
1 AM3 Task 1.4 Stochastic Hybrid Models for Aerial and Ground Vehicles Sam Burden MAST Annual Review University of Pennsylvania March 8-9, 2010.
Automatic Control & Systems Engineering Autonomous Systems Research Mini-UAV for Urban Environments Autonomous Control of Multi-UAV Platforms Future uninhabited.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
1 Compositional Verification of Hybrid Systems Using Simulation Relations Doctorate Defense Goran Frehse Radboud Universiteit, Nijmegen, Oct. 10, 2005.
EECE Hybrid and Embedded Systems: Computation
Explicit Non-linear Optimal Control Law for Continuous Time Systems via Parametric Programming Vassilis Sakizlis, Vivek Dua, Stratos Pistikopoulos Centre.
Chess Review October 4, 2006 Alexandria, VA Edited and presented by Hybrid Systems: Theoretical Contributions Part I Shankar Sastry UC Berkeley.
Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006
Decentralized Optimization, with application to Multiple Aircraft Coordination Decision Making Under Uncertainty MURI Review, July 2002 Gökhan Inalhan,
EE291E - UC BERKELEY EE291E: Hybrid Systems T. John Koo and S. Shankar Sastry Department of EECS University of California at Berkeley Spring 2002
1 Collision Avoidance Systems: Computing Controllers which Prevent Collisions By Adam Cataldo Advisor: Edward Lee Committee: Shankar Sastry, Pravin Varaiya,
STARMAC The Stanford Testbed of Autonomous Rotorcraft for Multi-Agent Control Gabe Hoffmann, Haomiao Huang, Vijay Pradeep, Steven Waslander Aeronautics.
Softwalls: Preventing Aircraft from Entering Unauthorized Airspace Adam Cataldo Prof. Edward Lee Prof. Ian Mitchell, UBC Prof. Shankar Sastry NASA JUP.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,
Soft Walls, Cataldo 1 Restricting the Control of Hijackers: Soft Walls Presented By Adam Cataldo UC Berkeley NASA Ames Research Center 22 November 2002.
Antoine Girard VAL-AMS Project Meeting April 2007 Behavioral Metrics for Simulation-based Circuit Validation.
David Garlan Ivan Ruchkin Carnegie Mellon University Pittsburgh, PA, USA December 2014.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
Feedback Control for Steering Needles Through 3D Deformable Tissue Using Helical Paths Kris Hauser, Ron Alterovitz, Nuttapon Chentanez, Allison Okamura,
Modeling, Simulation, and Control of an Omni-directional Robotic Ground Vehicle Andrew Niedert, Richard Hill, and Nassif Rayess University of Detroit Mercy,
1 S ystems Analysis Laboratory Helsinki University of Technology Kai Virtanen, Tuomas Raivio, and Raimo P. Hämäläinen Systems Analysis Laboratory (SAL)
Sérgio Ronaldo Barros dos Santos (ITA-Brazil) Sidney Nascimento Givigi Júnior (RMC-Canada) Cairo Lúcio Nascimento Júnior (ITA-Brazil) Autonomous Construction.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
A Framework for Distributed Model Predictive Control
TUTORIAL on LOGIC-BASED CONTROL Part I: SWITCHED CONTROL SYSTEMS Daniel Liberzon Coordinated Science Laboratory and Dept. of Electrical & Computer Eng.,
Department of Mechanical Engineering The University of Strathclyde, Glasgow Hybrid Systems: Modelling, Analysis and Control Yan Pang Department of Mechanical.
Complete Pose Determination for Low Altitude Unmanned Aerial Vehicle Using Stereo Vision Luke K. Wang, Shan-Chih Hsieh, Eden C.-W. Hsueh 1 Fei-Bin Hsaio.
1 Deadzone Compensation of an XY –Positioning Table Using Fuzzy Logic Adviser : Ying-Shieh Kung Student : Ping-Hung Huang Jun Oh Jang; Industrial Electronics,
COBXXXX EXPERIMENTAL FRAMEWORK FOR EVALUATION OF GUIDANCE AND CONTROL ALGORITHMS FOR UAVS Sérgio Ronaldo Barros dos Santos,
Computing Reachable Sets via Toolbox of Level Set Methods Michael Vitus Jerry Ding 4/16/2012.
Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.
MURI Telecon, Update 7/26/2012 Summary, Part I:  Completed: proving and validating numerically optimality conditions for Distributed Optimal Control (DOC)
Decision Making Under Uncertainty PI Meeting - June 20, 2001 Distributed Control of Multiple Vehicle Systems Claire Tomlin and Gokhan Inalhan with Inseok.
Hybrid Systems Controller Synthesis Examples EE291E Tomlin/Sastry.
1 S ystems Analysis Laboratory Helsinki University of Technology Manuscript “On the Use of Influence Diagrams in a One-on-One Air Combat Game” in Kai Virtanen’s.
Safe Control Strategies for Hopping Over Uneven Terrain Part I Brian Howley RiSE Group Meeting October 9, 2006.
Simulations of Curve Tracking using Curvature Based Control Laws Graduate Student: Robert Sizemore Undergraduate Students: Marquet Barnes,Trevor Gilmore,
Vision Based Motion Estimation for UAV Landing
Autonomous Cyber-Physical Systems: Dynamical Systems
Networks of Unmanned Underwater Vehicles
Vision based automated steering
Optimal Control and Reachability with Competing Inputs
Discrete Controller Synthesis
Presentation transcript:

Reachability-based Controller Design for Switched Nonlinear Systems EE 291E / ME 290Q Jerry Ding 4/18/2012

Hierarchical Control Designs To manage complexity, design of modern control systems commonly done in hierarchical fashion e.g. aircraft, automobiles, industrial machinery Low level control tend to use continuous abstractions and design methods ODE model Stability, trajectory tracking Linear/Nonlinear control methods High level control tend to use discrete abstractions and design methods Finite state automata, discrete event systems Logic specifications of qualitative behaviors: e.g. LTL Model checking, supervisory control 2

Challenges of Interfacing Layers of Control Problem becomes more difficult at interface: Closed loop behavior results from composition of discrete and continuous designs Discrete behaviors may not be implemented exactly by continuous controllers Continuous designs may be unaware of high level specifications In safety-critical control applications, specifications often involves stringent requirements on closed-loop behavior Current design approaches involve a mixture of heuristics and extensive verification and validation 3

Hybrid Systems Approach Capture closed-loop system behavior through hybrid system abstraction 4

Hybrid Systems Approach Formulate design methods within the framework of hybrid system theory 5 Challenges: Nonlinear dynamics, possibly with disturbances Controlled switching: switching times, switching sequence, switching policy Autonomous switching: discontinuous vector fields, state resets

Reachability-Based Design for Switched Systems Consider subclass of hybrid systems with: Controlled switches, no state resets –Fixed mode sequence –Variable mode sequence Nonlinear continuous dynamics, subject to bounded disturbances Design controllers to satisfy reachability specifications Reach-avoid problem: Given target set R, avoid set A, design a controller to reach R while avoiding A Methods based upon game theoretic framework for general hybrid controller design [Lygeros, et al., Automatica, 1999] [Tomlin, et al., Proceedings of the IEEE, 2000] 6

Outline Switched Systems with Fixed Mode Sequences: Design of Safe Maneuver Sequence for Automated Aerial Refueling (AAR) Switched Systems with Variable Mode Sequences: Sampled-data switched systems Controller synthesis algorithm for reach-avoid problem Application example: STARMAC quadrotor experiments 7

8 Automated Aerial Refueling Procedures

9 Discrete Transitions Detach 1 PrecontactContactPostcontact Detach 2 Rejoin Start End High Level Objective: Visit waypoint sets R i, i = 1,…,6, in sequence

10 Continuous Dynamics Relative States: x1, x2 = planar coordinates of tanker in UAV reference frame x3 = heading of tanker relative to UAV Controlled inputs: u1 = translational speed of UAV u2 = turn rate of UAV Disturbance inputs: d1 = translational speed of Tanker d2 = turn rate of Tanker Low Level Objective: Avoid protected zone A around tanker aircraft

11 Maneuver Sequence Design Problem Given waypoint sets R i, protected zone A, design continuous control laws K i (x) and switching policies F i (x) such that 1) The hybrid state trajectory (q, x) passes through the waypoint sets q i × R i in sequence 2) The hybrid state trajectory (q, x) avoids the protected zones q i × A at all times Design approach: Select switching policy as follows: in maneuver q i, switch to next maneuver if waypoint R i is reached Use reachable sets as design tool for ensuring –safety and target attainability objectives for each maneuver –compatibility conditions for switching between maneuvers

12 Capture sets and Unsafe sets

13 Computation of Reachable Sets Unsafe set computation (Mitchell, et al. 2005): Let be the viscosity solution of Use terminal condition to encode avoid set Then Capture set computation similar Numerical toolbox for MATLAB is available to approximate solution [Ian Mitchell, ]

Maneuver Design Using Reachability Analysis 14 For mode q N 1) Design a control law to drive R N -1 to R N 2) Compute capture set to first time instant  N such that

Maneuver Design Using Reachability Analysis 15 For mode q N 3) Compute unsafe set, and verify safety condition Modify control law design as necessary

Maneuver Design Using Reachability Analysis 16 For modes q k, k < N 3) Iterate procedures 1-3 recursively For q 1, R 0 = X 0, where X 0 is the initial condition set

Properties of Control Law 17 Continuous control laws designed in this manner satisfy a reach-avoid specification for each maneuver: Reach waypoint set R i at some time, while avoiding protected zone A at all times Furthermore, they satisfy a compatibility condition between maneuvers This ensures that whenever a discrete switch take place, the specifications of next maneuver is feasible Execution time of refueling sequence is upper bounded by

18 Specifications for Aerial Refueling Procedure Target Sets of the form Avoid sets of the form Control laws of the form

19 Capture Set and Unsafe Set Computation Result Precontact (Mode q 2 ) Time Horizon

20 Simulation of Refueling Sequence Input bounds Target Set Radius Collision Set Radius Collision Zone Unsafe Set For Detach 1 Target Set Capture Set For Detach 1

Accounting for Disturbances 21 Capture sets and unsafe sets can be modified to account for fluctuations in tanker velocity using disturbance set Collision Zone In UAV Coordinates Unsafe set for contact maneuver without disturbances Unsafe set for contact maneuver with 10% velocity deviation Reachable set slice at relative angle 0 Rescaled coordinates: distance units in tens of meters

Outline Switched Systems with Fixed Mode Sequences: Design of Safe Maneuver Sequence for Automated Aerial Refueling (AAR) Switched Systems with Variable Mode Sequences: Sampled-data switched systems Controller synthesis algorithm for reach-avoid problem Application example: STARMAC quadrotor experiments 22

Switched System Model – Dynamics 23 Continuous Dynamics Continuous State Space Discrete State Space Reset Relations

Switched System Model – Inputs 24 0T2T3T4T5T Piece-wise constant Time- Varying Sampled-data system for practical implementation Quantized input for finite representation of control policy Switching Signal Continuous Input Disturbance

Switched System Model – Control and Disturbance Policies On sampling interval [kT, (k+1)T], define 25 One step control policy One step disturbance strategy kT (k+1)T kT (k+1)T

Outline Switched Systems with Fixed Mode Sequences: Design of Safe Maneuver Sequence for Automated Aerial Refueling (AAR) Switched Systems with Variable Mode Sequences: Sampled-data switched systems Controller synthesis algorithm for reach-avoid problem Application example: STARMAC quadrotor experiments 26

Problem Formulation Given: Switched system dynamics; for simplicity, assume that Target set R Avoid set A 27 Target setAvoid set Mode

Problem Formulation Compute set of states (q, x) that can be controlled to target set while staying away from avoid set over finite horizon Call this reach-avoid set 28 Reach-avoid setTarget setAvoid set Mode

For any (q, x) in the reach-avoid set, automatically synthesize a feedback policy that achieves the specifications Problem Formulation 29 Reach-avoid setTarget setAvoid set Mode

One Step Capture and Unsafe sets 30 For each, compute one step capture and unsafe sets assuming over one sampling interval where is solution ofon One step capture set One step unsafe set

Reach-avoid Set Computation – Step 1 31 For each, compute one step reach-avoid set using set difference Mode For sets represented by level set functions The set differenceis represented by

Reach-avoid Set Computation – Step 2 Compute feasible set for one step reach-avoid problem, by taking union over 32 Mode For sets represented by level set functions The set union is represented by

Reach-avoid Set Computation – Iteration Iterate to compute the reach-avoid set over [0,NT] By induction, can show that Initialization: forto end Return: 33

Reach-avoid control law synthesis 34 At time k < N Step 2: Find minimum time to reach Step 1: Obtain state measurement

Reach-avoid control law synthesis 35 At time k < N Step 3: Find a control input such that Step 4: Apply input and iterate steps 1-3

Explicit Form of Control Laws 36 Explicit control laws given by Number of reachable sets required is given by Length of time horizon Number of discrete modes Number of quantization levels in mode q i where for

Outline Switched Systems with Fixed Mode Sequences: Design of Safe Maneuver Sequence for Automated Aerial Refueling (AAR) Switched Systems with Variable Mode Sequences: Sampled-data switched systems Controller synthesis algorithm for reach-avoid problem Application example: STARMAC quadrotor experiments 37

STARMAC Quadrotor Platform 38 Ultrasonic Ranger Senscomp Mini-AE Ultrasonic Ranger Senscomp Mini-AE Inertial Meas. Unit Microstrain 3DM-GX1 Inertial Meas. Unit Microstrain 3DM-GX1 GPS Novatel Superstar II GPS Novatel Superstar II Low Level Control Atmega128 Low Level Control Atmega128 Carbon Fiber Tubing Fiberglass Honeycomb Sensorless Brushless DC Motors Axi 2208/26 Sensorless Brushless DC Motors Axi 2208/26 Electronic Speed Controllers Castle Creations Phoenix-25 Electronic Speed Controllers Castle Creations Phoenix-25 Battery Lithium Polymer Battery Lithium Polymer High Level Control Gumstix PXA270, or ADL PC104 High Level Control Gumstix PXA270, or ADL PC104

Experiment Setup 39 Objectives: Drive a quadrotor to a neighborhood of 2D location in finite time, while satisfying velocity bounds Disturbances: model uncertainty, actuator noise System model

Reach-avoid Problem Set-Up Target Set: +/- 0.2 m for position, +/- 0.2 m/s for velocity Avoid Set: +/- 1 m/s for velocity Time Step: 0.1 seconds, 25 time steps Pitch and roll commands: Disturbance bounds: 40

Reach-avoid Set - Plots 41

Reach-avoid Set - Plots 42 Reach-avoid at Time Step 1 for All Inputs

Reach-avoid Set - Plots 43

Experimental Results 44

Experimental Results 45

Experimental Results 46 Moving car experiment

References John Lygeros, Claire Tomlin, and S. Shankar Sastry. Controllers for reachability specifications for hybrid systems. Automatica, 35(3):349 – 370, Claire J. Tomlin, John Lygeros, and S. Shankar Sastry. A game theoretic approach to controller design for hybrid systems. Proceedings of the IEEE, 88(7):949–970, July Jerry Ding, Jonathan Sprinkle, S. Shankar Sastry, and Claire J. Tomlin. Reachability calculations for automated aerial refueling. In 47th IEEE Conference on Decision and Control, pages 3706–3712, Dec Jerry Ding, Jonathan Sprinkle, Claire Tomlin, S. Shankar Sastry, and James L. Paunicka. Reachability calculations for vehicle safety during manned/unmanned vehicle interaction. AIAA Journal of Guidance, Control, and Dynamics, 35(1):138–152,

References Jerry Ding and Claire J. Tomlin. Robust reach-avoid controller synthesis for switched nonlinear systems. In 49th IEEE Conference on Decision and Control (CDC), pages 6481–6486, Dec Jerry Ding, Eugene Li, Haomiao Huang, and Claire J. Tomlin. Reachability-based synthesis of feedback policies for motion planning under bounded disturbances. In IEEE International Conference on Robotics and Automation (ICRA), pages 2160 – 2165, May