hyper A Useful Toolbox for Hybrid Systems

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

P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia research supported by National Science.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
Semantic Translation of Simulink/Stateflow Models to Hybrid Automata using Graph Transformations A. Agarwal, Gy. Simon, G. Karsai ISIS, Vanderbilt University.
Multiple Shooting, CEGAR-based Falsification for Hybrid Systems
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
Overview This project applies the tagged-signal model to explain the semantics of piecewise continuous signals. Then it illustrates an operational way.
Systems Engineering for Automating V&V of Dependable Systems John S. Baras Institute for Systems Research University of Maryland College Park
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Integrated Design and Analysis Tools for Software-Based Control Systems Shankar Sastry (PI) Tom Henzinger Edward Lee University of California, Berkeley.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
February 21, 2008 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, UC Berkeley.
MA5233: Computational Mathematics
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Leveraging Synchronous Language Principles for Hybrid System Models Haiyang Zheng and.
EECE Hybrid and Embedded Systems: Computation T. John Koo Institute for Software Integrated Systems Department of Electrical Engineering and Computer.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by A New Course in Hybrid and Embedded Systems Claire J. Tomlin UC Berkeley.
1 University of Pennsylvania Demonstrations Alur, Kumar, Lee, Pappas Rafael Fierro Yerang Hur Franjo Ivancic PK Mishra.
February 23, 2012 Center for Hybrid and Embedded Software Systems Organization Board of Directors Edward A. Lee, EECS Thomas.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions.
Chess Review May 11, 2005 Berkeley, CA Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions from the Ptolemy group.
1 Compositional Verification of Hybrid Systems Using Simulation Relations Doctorate Defense Goran Frehse Radboud Universiteit, Nijmegen, Oct. 10, 2005.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
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
1 Collision Avoidance Systems: Computing Controllers which Prevent Collisions By Adam Cataldo Advisor: Edward Lee Committee: Shankar Sastry, Pravin Varaiya,
Center for Hybrid and Embedded Software Systems Jonathan Sprinkle Executive Director, CHESS Center for Hybrid and Embedded Software Systems UC Berkeley.
Tool Integration of Ptolemy II EE290N Class Project Haiyang Zheng May
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,
Code Generation from CHARON Rajeev Alur, Yerang Hur, Franjo Ivancic, Jesung Kim, Insup Lee, and Oleg Sokolsky University of Pennsylvania.
Chapter 12: Simulation and Modeling Invitation to Computer Science, Java Version, Third Edition.
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
Chapter 12: Simulation and Modeling
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
CompuCell Software Current capabilities and Research Plan Rajiv Chaturvedi Jesús A. Izaguirre With Patrick M. Virtue.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Computational Methods for Design Lecture 4 – Introduction to Sensitivities John A. Burns C enter for O ptimal D esign A nd C ontrol I nterdisciplinary.
Framework for the Development and Testing of Dependable and Safety-Critical Systems IKTA 065/ Supported by the Information and Communication.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.
CC Kick-Off Meeting Grenoble 24-25/1/2002. CC: Partners VERIMAG (Oded Maler) ETH Zurich (Manfred Morari) Lund (Anders Rantzer) PARADES (Alberto SV) CWI.
I ndustrial Cy ber- Ph ysical Systems October 16, 2015 CyPhySim CyPhySim is an open-source simulator for cyber-physical systems. The.
Computational Tools for Population Biology Tanya Berger-Wolf, Computer Science, UIC; Daniel Rubenstein, Ecology and Evolutionary Biology, Princeton; Jared.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
February 14, 2013 Center for Hybrid and Embedded Software Systems Organization Faculty Edward A. Lee, EECS Alberto Sangiovanni-Vincentelli,
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Sub-fields of computer science. Sub-fields of computer science.
Chapter 12: Simulation and Modeling
Ptolemy II - Heterogeneous Concurrent Modeling and Design in Java
An overview of the CHESS Center
Complexity Time: 2 Hours.
Recursive Identification of Switched ARX Hybrid Models: Exponential Convergence and Persistence of Excitation René Vidal National ICT Australia Brian D.O.Anderson.
FTCS Explicit Finite Difference Method for Evaluating European Options
Invitation to Computer Science 5th Edition
Model-Driven Analysis Frameworks for Embedded Systems
Clearing the Jungle of Stochastic Optimization
Software testing strategies 2
Autonomous Cyber-Physical Systems: Dynamical Systems
Model Checking for an Executable Subset of UML
An overview of the CHESS Center
Hybrid Control Synthesis Real-Time Control Problems for UAV
Coordinate Transformation in 3D Final Project Presentation
An overview of the CHESS Center
EECE Hybrid and Embedded Systems: Computation
Presentation transcript:

hyper A Useful Toolbox for Hybrid Systems Shankar Sastry, Jonathan Sprinkle, Mike Eklund, Ian Mitchell UC Berkeley November 2004 Shankar Sastry, UC Berkeley

What Are Hybrid Systems? Dynamical systems with interacting continuous and discrete dynamics November 2004 Shankar Sastry, UC Berkeley

Why are Hybrid Systems Hard? All implicit error in continuous analysis, coupled with switching criteria, leads to possible catastrophic error X1 Numerical Solution Real Solution t = t* X2 November 2004 Shankar Sastry, UC Berkeley Slide by Rafael Garcia

Why are Hybrid Systems Hard? Zeno behavior Event transitions happen so rapidly that the simulator grinds to a halt A Toolbox should detect this November 2004 Shankar Sastry, UC Berkeley Slide by Edward Lee

Shankar Sastry, UC Berkeley What are the pieces? Modeling & Simulation Control: classify discrete phenomena, existence and uniqueness of execution, Zeno [Branicky, Brockett, van der Schaft, Astrom] Computer Science: composition and abstraction operations [Alur-Henzinger, Lynch, Sifakis, Sztipanovits,Varaiya] Analysis & Verification Control: stability, Lyapunov techniques [Antsaklis, Branicky, Michel], LMI techniques [Johansson-Rantzer], optimal control [Branicky, Sussmann, Caines] Computer Science: Algorithmic [Alur-Henzinger, Sifakis, Pappas-Lafferrier-Sastry] or deductive methods [Lynch, Manna, Pnuelli] Controller Synthesis Control: optimal control [Branicky-Mitter, Bensoussan-Menaldi], hierarchical control [Caines, Pappas-Sastry], supervisory control [Lemmon-Antsaklis], model predictive techniques [Morari Bemporad], safety specifications [Lygeros-Tomlin-Sastry] Computer Science: algorithmic synthesis [Maler, Pnueli, Asarin, Wong-Toi] Observability and Diagnosability Control: observers[Bemporad, Koutsoukos, Vidal] Computer Science[ Biswas, Karsai, Zhao] November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Tool Integration No one tool exists for all of these Several academic toolmakers created HSIF Hybrid Systems Interchange Format Failed to mature for a few reasons Tool-specific, and Tool-driven, not capability driven Not enough programming power behind it No thought to coverage of “corner cases” (Lee, Zheng) November 2004 Shankar Sastry, UC Berkeley

Tool Integration Example correct output: What is needed is a framework that utilizes interchange format Must support what we know about hybrid systems semantics, encourage tools integration Implicit tool semantics makes fully meaningful translation impossible, or impractical The proper specification of the semantics of an interchange format would ease this difficulty Leverage HSIF as a learning tool for the semantic specification of the hyper core RK 2 - 3 variable - step solver and breakpoint solver determine sample times: Note two values at Note two values at the same time: the same time: Incorrect output: November 2004 Shankar Sastry, UC Berkeley Slide by Edward Lee

Shankar Sastry, UC Berkeley Tool Integration What about industry-standard tools? Many big industries are bound to Matlab, but clamoring for verification/synthesis capabilities Suggests a real need for getting this interchange piece right and showing examples for how to do the interchange with existing tools or toolboxes November 2004 Shankar Sastry, UC Berkeley

Example Integration: HyVisual Ptolemy II’s HyVisual http://ptolemy.eecs.berkeley.edu/hyvisual/ November 2004 Shankar Sastry, UC Berkeley Slide by Edward Lee

Shankar Sastry, UC Berkeley HyVisual Clear contribution well-defined simulation and semantic behavior Assets Platform-independent model editing Visualization tools Reasoned meaning of hierarchical containment Well-formulated for the business of numerical solutions and execution of complex, nonlinear, deterministic hybrid systems November 2004 Shankar Sastry, UC Berkeley

HyVisual: Integration Benefits Contains a rich set of examples of hybrid systems Useful for other tool integrations Platform independent, open source Lacks synthesis/runtime tools, so could then integrate with other tools with these capabilities November 2004 Shankar Sastry, UC Berkeley

Example Integration: A Toolbox of LSM Ian Mitchell’s Toolbox of Level Set Methods http://www.cs.ubc.ca/~mitchell/ToolboxLS/ Numerical algorithms for dynamic implicit surfaces and Hamilton-Jacobi partial differential equations November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Level Set Methods Clear contribution Leverage level sets to perform reachability calculations for hybrid systems Assets Computationally sound for low dimensions Works in Matlab (no toolboxes required) November 2004 Shankar Sastry, UC Berkeley

Reachable sets: how they are calculated Time dependent H-J equation: First order hyperbolic PDE Solution can form kinks (discontinuous derivatives) For the backwards reachable set, find the “viscosity” solution [Crandall, Evans, Lions, …] Level set methods Convergent numerical algorithms to compute the viscosity solution [Osher, Sethian, …] Non-oscillatory, high accuracy spatial derivative approximation Stable, consistent numerical Hamiltonian Variation diminishing, high order, explicit time integration November 2004 Shankar Sastry, UC Berkeley

Level Set Methods: Integration Benefits Give additional capability to tools such as HyVisual Add a hybrid systems (rather than numerical) front-end to the LSM Toolbox Provide controller synthesis capability, as well as safety calculations November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Hyper Framework A new toolbox/toolsuite with the following characteristics High performance simulation High robustness factor High level modeling (with refinement) High number of interacting tools Provide a formal interchange between tools Low-level fundamental model specifications (a “core”) Requires a set of “implementable” functions to call Add a base package with interfaces for interoperability, and a lightweight editor Include industrial-strength solvers through transformations - Should be highly robust, with respect to many different KINDS of systems (hybrid, discrete, stochastically driven, etc.) - November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Hyper Framework Interoperability Interfaces November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Hyper Framework Extensible to other tools Existing examples for integration through HyVisual/T-LSM A more focused, useful, core interchange format When integrated, allows persistence of legacy models in industry (Matlab/Simulink), now with advantage(s) of synthesis/verification Newer/faster tools can be tested against “known true” Check for same behavior Can be used for regression testing November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley Conclusions Not trying to build Rome in 1 day Focused application to certain capabilities at first Concentration on not solving all the world’s problems at once Restricting initial release to useful and mature tools Immediately providing two diverse toolbox integrations as examples to others November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley November 2004 Shankar Sastry, UC Berkeley

Shankar Sastry, UC Berkeley BASE Package Simulators Matlab, HyVisual Simulators Matlab, HyVisual Simulators Matlab, HyVisual CORE Extraction model database Verification Engine HyTech, LSM, CheckMate Verification Engine HyTech, LSM, CheckMate Verification Engine HyTech, LSM, CheckMate Manipulation Visualization Editor Transformations XSL, GReAT Transformations XSL, GReAT Transformations XSL, GReAT November 2004 Shankar Sastry, UC Berkeley