A Toolbox of Hamilton-Jacobi Solvers for Analysis of Nondeterministic Continuous and Hybrid Systems

Similar documents
Fast sweeping methods and applications to traveltime tomography

A second-order fast marching eikonal solver a

High-Order Central WENO Schemes for 1D Hamilton-Jacobi Equations

Path Planning with Fast Marching Methods

Fast-marching eikonal solver in the tetragonal coordinates

Numerical Methods for Optimal Control Problems. Part II: Local Single-Pass Methods for Stationary HJ Equations

Fast-marching eikonal solver in the tetragonal coordinates

Some results on optimal estimation and control for lossy NCS. Luca Schenato

SUPPLEMENTARY INFORMATION

INFLUENCE OF VORTEX STRUCTURES ON PRESSURE AND ULTRASOUND IN VORTEX FLOW-METERS

Applications of Monte Carlo Methods in Charged Particles Optics

As the Planimeter s Wheel Turns

This study provides models for various components of study: (1) mobile robots with on-board sensors (2) communication, (3) the S-Net (includes computa

Module 1 : Numerical Methods for PDEs : Course Introduction, Lecture 1

Routing in Massively Dense Static Sensor Networks

INTRODUCTION TO KALMAN FILTERS

Real-time Adaptive Robot Motion Planning in Unknown and Unpredictable Environments

Improved Directional Perturbation Algorithm for Collaborative Beamforming

Topic 7f Time Domain FDM

Estimating the Transmission Probability in Wireless Networks with Configuration Models

Application of Harmonic Balance Method for Non-linear Gust Responses

Closing the loop around Sensor Networks

Robot Task-Level Programming Language and Simulation

Seismology and Seismic Imaging

Monoconical RF Antenna

Decentralized Cognitive MAC for Opportunistic Spectrum Access in Ad-Hoc Networks: A POMDP Framework

Randomized Motion Planning for Groups of Nonholonomic Robots

EE 410/510: Electromechanical Systems Chapter 5

Simple Path Planning Algorithm for Two-Wheeled Differentially Driven (2WDD) Soccer Robots

, SIAM GS 13 Conference, Padova, Italy

Decision Science Letters

Whole geometry Finite-Difference modeling of the violin

LEIBNIZ INDIFFERENCE CURVES AND THE MARGINAL RATE OF SUBSTITUTION

NASA Fundamental Aeronautics Program Jay Dryer Director, Fundamental Aeronautics Program Aeronautics Research Mission Directorate

MATH Review Exam II 03/06/11

5.1 State-Space Search Problems

Antennas and Propagation. Chapter 6b: Path Models Rayleigh, Rician Fading, MIMO

Practice problems from old exams for math 233

NUMBERS & OPERATIONS. 1. Understand numbers, ways of representing numbers, relationships among numbers and number systems.

THE EIKONAL EQUATION: NUMERICAL EFFICIENCY VS. ALGORITHMIC COMPLEXITY ON QUADRILATERAL GRIDS. 1. Introduction. The Eikonal equation, defined by (1)

Towards a Unified View of Localization in Wireless Sensor Networks

Exam 1 Study Guide. Math 223 Section 12 Fall Student s Name

Assignment 3: Particle System and Cloth Simulation

Slinky vs. guitar. W.E. Bailey, APAM/MSE EN1102

Quasi-static Contact Mechanics Problem

Moving Obstacle Avoidance for Mobile Robot Moving on Designated Path

Masters of Engineering in Electrical Engineering Course Syllabi ( ) City University of New York--College of Staten Island

Propagation of pressure waves in the vicinity of a rigid inclusion submerged in a channel bounded by an elastic half-space

A Reconfigurable Guidance System

Problem of the Month What s Your Angle?

Resource Management in QoS-Aware Wireless Cellular Networks

Mobile Robots (Wheeled) (Take class notes)

TRACK-FOLLOWING CONTROLLER FOR HARD DISK DRIVE ACTUATOR USING QUANTITATIVE FEEDBACK THEORY

Designing Better Industrial Robots with Adams Multibody Simulation Software

10703 Deep Reinforcement Learning and Control

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

Artificial Neural Network based Mobile Robot Navigation

Lecture 4 : Monday April 6th

Motion Graphs Teacher s Guide

Autonomous Underwater Vehicle Navigation.

Dynamic Programming. Objective

Phasor. Phasor Diagram of a Sinusoidal Waveform

Bayesian Estimation of Tumours in Breasts Using Microwave Imaging

Elevation Matrices of Surfaces

THIN-WALLED HOLLOW BOLTS

Dynamics of Mobile Toroidal Transformer Cores

Preliminary Design of the n2edm Coil System

Characteristics of Routes in a Road Traffic Assignment

Dynamic Programming. Objective

A Simplified Extension of X-parameters to Describe Memory Effects for Wideband Modulated Signals

On Kalman Filtering. The 1960s: A Decade to Remember

ADAPTIVE channel equalization without a training

Copyrighted Material. Copyrighted Material. Copyrighted. Copyrighted. Material

Bias Correction in Localization Problem. Yiming (Alex) Ji Research School of Information Sciences and Engineering The Australian National University

MECHANICAL ENGINEERING DEGREE PLAN

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Page 1 of 52 Youtube.com/c/StayLearningNewdelhi

Particle Simulation of Radio Frequency Waves in Fusion Plasmas

Definitions and claims functions of several variables

Adaptive Wireless. Communications. gl CAMBRIDGE UNIVERSITY PRESS. MIMO Channels and Networks SIDDHARTAN GOVJNDASAMY DANIEL W.

Monopile as Part of Aeroelastic Wind Turbine Simulation Code

Application Research on BP Neural Network PID Control of the Belt Conveyor

Traveling Waves. Why is there reflection? The one-dimensional (1D) case. A traveling wave is the propagation of motion (disturbance) in a medium.

On the GNSS integer ambiguity success rate

An Improved Analytical Model for Efficiency Estimation in Design Optimization Studies of a Refrigerator Compressor

AGS Math Algebra 2 Correlated to Kentucky Academic Expectations for Mathematics Grades 6 High School

Improvement of Robot Path Planning Using Particle. Swarm Optimization in Dynamic Environments. with Mobile Obstacles and Target

Automatic Domain Decomposition for a Black-Box PDE Solver

Communications II. Professor Kin K. Leung EEE Departments Imperial College London

A Local Ordered Upwind Method for Hamilton-Jacobi and Isaacs Equations

State Estimation of a Target Measurements using Kalman Filter in a Missile Homing Loop

Antennas and Propagation. Chapter 5c: Array Signal Processing and Parametric Estimation Techniques

Enhancing the low frequency vibration reduction performance of plates with embedded Acoustic Black Holes

Big Ideas Math: A Common Core Curriculum Geometry 2015 Correlated to Common Core State Standards for High School Geometry

JUNE 2014 Solved Question Paper

Contents lecture 9. Automatic Control III. Lecture 9 Optimal control

Review Sheet for Math 230, Midterm exam 2. Fall 2006

Development of power transformer design and simulation methodology integrated in a software platform

Engineering Graphics UNIVERSITY OF TEXAS RIO GRANDE VALLEY JAZMIN LEY HISTORY OF ENGINEERING GRAPHICS GEOMETRIC CONSTRUCTION & SOLID MODELING

Application of Soft Computing Techniques in Water Resources Engineering

Transcription:

A Toolbox of Hamilton-Jacobi Solvers for Analysis of Nondeterministic Continuous and Hybrid Systems Ian Mitchell Department of Computer Science University of British Columbia Jeremy Templeton Department of Mechanical Engineering Stanford University research supported by the Natural Science and Engineering Research Council of Canada

Nondeterministic, Nonlinear Systems Systems with unknown parameters p(t) Bounded value inputs p(t) P Controls: double integrator time to reach Disturbances: robust reach sets Stochastic perturbations p(t) ~ P Continuous state Brownian motion: double integrator with stochastic viscosity Discrete state Poisson processes: stochastic hybrid system model of TCP communication protocol 9 March 2005 Ian Mitchell, University of British Columbia 2

Hamilton-Jacobi Equations Time-dependent partial differential equation (PDE) In general, classical solution will not exist Viscosity solution ϕ will be continuous but not differentiable For example, classical Hamilton-Jacobi-Bellman Finite horizon optimal cost leads to terminal value PDE 9 March 2005 Ian Mitchell, University of British Columbia 3

The Toolbox of Level Set Methods A collection of Matlab routines to approximate the viscosity solution of time-dependent HJ PDEs Fixed Cartesian grids Arbitrary dimension (computational resource limited) Vectorized code achieves reasonable speed Direct access to Matlab debugging and visualization Source code is provided for all toolbox routines Underlying algorithms Solve various forms of Hamilton-Jacobi PDE First and second spatial derivatives First temporal derivatives High order accurate approximation schemes Explicit temporal integration 9 March 2005 Ian Mitchell, University of British Columbia 4

Level Set Methods Numerical algorithms for dynamic implicit surfaces and Hamilton-Jacobi partial differential equations Applications in Graphics, Computational Geometry and Mesh Generation Financial Mathematics and Stochastic Differential Equations Fluid and Combustion Simulation Image Processing and Computer Vision Robotics, Control and Dynamic Programming Verification and Reachable Sets 9 March 2005 Ian Mitchell, University of British Columbia 5

Why Use It? Does not escape Bellman s curse of dimensionality Dimensions 1 3 interactively, 3 5 slow but feasible Pedagogical tool Experiment with optimal control and differential game problems that have no analytic solution Access to Matlab s visualization & debugging Source code for all routines and examples Reasonable speed with vectorized code Validation of faster but more specialized algorithms Reduced order TCP model assumed form of high order moments of the distribution Study low dimensional systems Mobile robots in 2 3 spatial dimensions Free (google toolbox level set methods ) 9 March 2005 Ian Mitchell, University of British Columbia 6

Using the Toolbox Similar to Matlab s ODE integrators More parameters to specify Formulation and scaling must be considered Many examples are available PDE forms applicable to systems analysis 9 March 2005 Ian Mitchell, University of British Columbia 7

Example: Optimal Cost to Go Specifically, study the classical double integrator Bring point-like dynamic vehicle to a halt at the origin in minimum time, subject to acceleration bound b 1 Leads to stationary (time-independent) HJ PDE velocity = x 2 position = x 1 9 March 2005 Ian Mitchell, University of British Columbia 8

Stationary Hamilton-Jacobi 9 March 2005 Ian Mitchell, University of British Columbia 9

Transformation to Time-Dependent HJ 9 March 2005 Ian Mitchell, University of British Columbia 10

Double Integrator Time to Reach Contours of minimum time to reach ϑ(x) Target Radius 0 Target Radius 0.2 9 March 2005 Ian Mitchell, University of British Columbia 11

Implemented in the Toolbox Part of the standard toolbox distribution (version 1.1 beta) Examples/TimeToReach/doubleIntegratorTTR PDE terms utilized 9 March 2005 Ian Mitchell, University of British Columbia 12

Example: Stochastic Continuous System Underlying double integrator model Stochastically varying wind friction (viscosity) Minimize continuous terminal cost g(x) at fixed finite time horizon velocity = x 2 position = x 1 9 March 2005 Ian Mitchell, University of British Columbia 13

Stochastic Differential Game 9 March 2005 Ian Mitchell, University of British Columbia 14

Stochastic Double Integrator Results stochastic deterministic 9 March 2005 Ian Mitchell, University of British Columbia 15

Implemented in the Toolbox Separate code release on toolbox website PublicationCode/HSCC2005/SDE/viscousIntegrator PDE terms utilized 9 March 2005 Ian Mitchell, University of British Columbia 16

Transmission Control Protocol (TCP) Handles reliable end-to-end delivery of packets over Internet Window size w controls transmission rate Permitted number of transmitted but unacknowledged packets When transmitting a file, connection is in one of two states: Slow Start (SS): window size grows exponentially Congestion Avoidance (CA): window size grows linearly When a packet is dropped: Switch to CA and cut window size in half window size OFF CA SS 246 kb 3.5 kb 9 March 2005 Ian Mitchell, University of British Columbia 17

Example: Stochastic Hybrid System Window size is continuous variable, evolves deterministically Discrete transitions Start of transfer, packet drop, end of transfer Occur at instantaneous rate λ, cause window size reset φ Separate SS and CA i i modes and transitions for each file size k i [Hespanha, HSCC 2004] 9 March 2005 Ian Mitchell, University of British Columbia 18

Stochastic Hybrid System 9 March 2005 Ian Mitchell, University of British Columbia 19

Steady State Measures of Rate Seek measures of rate = (window size / round trip time) For example, to find average rate over a set of modes Q m, solve PDE backwards in time to steady state with terminal conditions Mean Rate, All Modes Mean Rate, Small Files Only 9 March 2005 Ian Mitchell, University of British Columbia 20

Measures of Rate Results Compare measures of rate for various drop probabilities Results match well with reduced order model Validates assumption regarding high order distribution moments [Hespanha, HSCC 2004] & [Hespanha, sub. Int. J. Hybrid Systems] Rate Mean Rate Standard Deviation 9 March 2005 Ian Mitchell, University of British Columbia 21

Implemented in the Toolbox Separate code release on toolbox website PublicationCode/HSCC2005/CommunicationTCP/kolmogorovTCP PDE terms utilized 9 March 2005 Ian Mitchell, University of British Columbia 22

Example: Continuous Reachable Sets Nonlinear dynamics with adversarial inputs 9 March 2005 Ian Mitchell, University of British Columbia 23

A Different Continuous Reachable Set Acoustic capture [Cardaliaguet, Quincampoix & Saint-Pierre, Ann. Int. Soc. Dynamic Games 1999] Variation on homicidal chauffeur, where evader must reduce speed when near pursuer 9 March 2005 Ian Mitchell, University of British Columbia 24

Example: Hybrid System Reachable Sets Mixture of continuous and discrete dynamics straight1 switch condition: discrete control input initiating maneuver arc1 switch condition: t = π straight2 q 1 state reset: Rotate x clockwise 90 q 2 state reset: Rotate x clockwise 90 q 3 set of states leading to collision whether maneuver is initiated or not 9 March 2005 Ian Mitchell, University of British Columbia 25

Implemented in the Toolbox Part of the standard toolbox distribution (version 1.0) Examples/Reachability/ PDE terms utilized 9 March 2005 Ian Mitchell, University of British Columbia 26

Toolbox additions Future Work Implicit temporal integrators Fast stationary Hamilton-Jacobi solvers Particle level set methods Adaptive grids More application examples Hybrid system reachable sets Image processing Financial instrument pricing Wish List Full nondeterministic hybrid system theory Toolbox front end for specifying hybrid system verification problems requires (nondeterministic) hybrid system specification language 9 March 2005 Ian Mitchell, University of British Columbia 27

A Toolbox of Hamilton-Jacobi Solvers for Analysis of Nondeterministic Continuous and Hybrid Systems For more information contact Ian Mitchell Department of Computer Science The University of British Columbia mitchell@cs.ubc.ca http://www.cs.ubc.ca/~mitchell

9 March 2005 Ian Mitchell, University of British Columbia 29

Truth in Advertising Comparison to analytic solution not very good But difficult to compare quantitatively to other algorithms compare approx (solid) to analytic (dashed) average error for various schemes vs grid size (green line) 9 March 2005 Ian Mitchell, University of British Columbia 30

Additional Slides? HSCC 04 air3d example with weird control policy Future work 9 March 2005 Ian Mitchell, University of British Columbia 31

Implicit Surface Functions Surface S(t) and/or set G(t) are defined implicitly by an isosurface of a scalar function φ(x,t), with several benefits State space dimension does not matter conceptually Surfaces automatically merge and/or separate Geometric quantities are easy to calculate 9 March 2005 Ian Mitchell, University of British Columbia 32

Constructive Solid Geometry Simple geometric shapes have simple algebraic implicit surface functions Circles, spheres, cylinders, hyperplanes, rectangles Simple set operations correspond to simple mathematical operations on implicit surface functions Intersection, union, complement, set difference 9 March 2005 Ian Mitchell, University of British Columbia 33

High Order Accuracy Temporally: explicit, Total Variation Diminishing Runge-Kutta integrators of order one to three Spatially: (Weighted) Essentially Non-Oscillatory upwind finite difference schemes of order one to five Example: approximate derivative of function with kinks maximum error average error 9 March 2005 Ian Mitchell, University of British Columbia 34

The Toolbox is not a Tutorial Users will need to reference the literature Two textbooks are available Osher & Fedkiw (2002) Sethian (1999) 9 March 2005 Ian Mitchell, University of British Columbia 35

Why Use It? Dynamic implicit surfaces and Hamilton-Jacobi equations have many practical applications The toolbox provides an environment for exploring and experimenting with level set methods Fourteen examples Approximations of most common types of motion High order accuracy Arbitrary dimension Reasonable speed with vectorized code Direct access to Matlab debugging and visualization Source code for all toolbox routines The toolbox is free http://www.cs.ubc.ca/~mitchell/toolboxls 9 March 2005 Ian Mitchell, University of British Columbia 36

PDE terms Under development More general Dirichlet and Neumann boundary conditions Fast signed distance function construction Other methods Implicit temporal integrators Static Hamilton-Jacobi Vector level set methods Particle level set methods More application examples Hybrid system reachable sets Image processing 9 March 2005 Ian Mitchell, University of British Columbia 37