Integrated Design and Analysis Tools for Software Based Control Systems

Size: px
Start display at page:

Download "Integrated Design and Analysis Tools for Software Based Control Systems"

Transcription

1 Integrated Design and Analysis Tools for Software Based Control Systems Principal Investigator: Tom Henzinger Co-Principal Investigator: Edward A. Lee Co-Principal Investigator: Shankar Sastry Program Manager: John Bay Organization: University of California at Berkeley Contract Number: F C-3614 Boeing subcontract (OCP): Principal Investigator: Edward A. Lee Co-Principal Investigator: Tom Henzinger Presenters: Edward A. Lee Jie Liu John Koo UC Berkeley SEC PI Meeting San Antonio, Nov. 13-5, 2001 Subcontractors and Collaborators Boeing OCP Georgia Tech blending controllers OGI & Yale embedded virtual machine Northrop Grumman multimodal control Vanderbilt/Xerox fault detection/isolation, metamodeling Stanford and SRI modal control systems - softwalls Berkeley SEC Project, San Antonio, 2

2 Problem Description and Program Objective This project concerns the design of multi-agent multi-modal control systems, their distributed real-time software implementation, and their formal analysis. As a common foundation we build on the use of heterogeneous hybrid modeling techniques. Berkeley SEC Project, San Antonio, 3 Technical Approach Summary Models of computation real-time heterogeneous Applying theory of component-based design Interface theories (with Mobies) System-level types (with Mobies) Theory of frameworks Hybrid systems theory multi-vehicle architecture integration multi-model control derivation and analysis Software laboratory: Ptolemy II Hardware laboratory: Helicopter UAVs Berkeley SEC Project, San Antonio, 4

3 Fault Detection, Isolation, Recovery Approach: Generalized reflection Demonstration: Cooperative multi-agent control One component carries a model of another component that reflects its dynamic behavior Reflection is a type theoretic notion of components that make available at run time models of themselves. Classically, these models represent only static type information. Our variant represents dynamics. Berkeley SEC Project, San Antonio, 5 Blending Controllers (Collaboration with Georgia Tech) Blending controller architecture enables disciplined transitions between control laws Berkeley SEC Project, San Antonio, 6

4 Embedded Virtual Machine (Collaboration with OGI and Yale) The embedded machine or E machine is a virtual, real-time scheduling machine The E machine has: ports, drivers, tasks, and triggers 3 key instructions + arbitrary control flow instructions The E machine provides a platform for generating distributed, real-time scheduling code Berkeley SEC Project, San Antonio, 7 The Embedded Machine: Three Instructions 20ms Triggering: Tick b: enable(g,b) Scheduled Execution: t Synchronous Execution: d schedule(t) call(d) Berkeley SEC Project, San Antonio, 8

5 Portability, Mobility, Real-Time Portability: no specific hardware mapping, no specific scheduling scheme Mobility: dynamic upload/linking of E code; binary application code strictly separated Real-Time: hard real-time performance Berkeley SEC Project, San Antonio, 9 Boeing Subcontract: Open Control Platform - OCP We are contributing to the future evolution of the OCP by helping to define and refine its semantics, using these semantics in hardware-in-the-loop simulation, and determining how the semantic model interoperates with others, such as FSM (for mode changes) and Giotto (for hard-real-time systems). Specific tasks include: Ptolemy II domains that explore OCP semantics. Component interfaces for real-time quality of service. Concurrency management. Solving the precise mode change problem. Interoperation of heterogeneous semantic models. Berkeley SEC Project, San Antonio, 10

6 Jie Liu Precise Mode Change Problem thread or process thread or process thread or process How do you get the processes to a quiescent state to take a mode change? Berkeley SEC Project, San Antonio, 11 TM: Timed Multitasking A Model of Computation for Real Time Previously reported versions were called RTOS (real-time operating system) HPM (hierarchical preemptive multitasking) Model of computation with Concurrency Dynamic priorities Improved determinacy (vs. prioritized threads) Simple real-time interface properties Precise mode changes Possibilities for admission control, anytime algorithms Implementable on the OCP Distributed Real-time CORBA, using event channel Berkeley SEC Project, San Antonio, 12

7 Precise Reaction A precise reaction is a finite piece of computation that depends solely on its trigger. responsible trigger trigger computation quiescent state finish Berkeley SEC Project, San Antonio, 13 Responsible Frameworks A responsible framework requests that all its components be precisely reactive and triggers these components only with responsible triggers. Deadlocks can be monitored by examining triggering rules. A model always settles in quiescent states. Solves priority inversion problems in priority-based models. Berkeley SEC Project, San Antonio, 14

8 Compositional Precise Reaction Can we treat a composition of components as an atomic component? Yes, if the framework is responsible. Berkeley SEC Project, San Antonio, 15 Precise Mode Change Solution Will the process be in a quiescent state when we do a mode change? Yes, if the framework is responsible. Berkeley SEC Project, San Antonio, 16

9 Benefits Composable semantics arbitrarily deep hierarchies heterogeneous hierarchies controller plant Precise mode switching nest FSMs with anything else task1 task2 actuator sensor dynamics Real-time scheduling make RT scheduling policies independent of functionality TTA TTA Hierarchical, heterogeneous, system-level model Berkeley SEC Project, San Antonio, 17 Examples of Responsible Frameworks Dataflow with firing Firing rules are responsible trigger conditions. Atomic firings are precise reactions. Timed Multitasking Tasks are either nonpreemptable or arbitrarily preemptable. Event-based firing rules are responsible triggers. Split-phase execution and over-run handling to guarantee timing properties. Giotto Time are responsible triggers. Well-defined communication guarantees precise reaction. Tasks are arbitrarily preemptable. Berkeley SEC Project, San Antonio, 18

10 Giotto Periodic Hard-Real-Time Tasks with Precise Mode Changes Lower frequency task: Higher frequency Task t t t+5ms t+5ms t+10ms t+10ms Giotto compiler targets the E Machine Ptolemy II Giotto domain code generator planned Berkeley SEC Project, San Antonio, 19 Helicopter Testbeds Giotto controller for Zurich helicopter written Giotto controller for Berkeley helicopter in progress Berkeley SEC Project, San Antonio, 20

11 High Confidence Control Design for UAVs John Koo Hybrid Control Design for Multi-Vehicle Multi-Modal Systems Multi-modal controller for single vehicle Coordination of multiple vehicles High-Confidence Hybrid Control FDIR capabilities for single (envelope protection, sensor/actuator failures) and multiple vehicles (collision avoidance and conflict resolution) Hierarchical System Design Based on parallel and serial compositions of models of computation Enabling multiple vehicle corporative control Implementation on OCP Berkeley SEC Project, San Antonio, 21 Technical Approach Hybrid Control design will be based on a nonlinear helicopter model and nonlinear controllers. Available for simulation in Ptolemy II and Simulink Hardware-In-the-Loop (HIL) simulation for architecture evaluation is currently under construction. System consists of an embedded controller and an emulator for emulating sensor/dynamics/actuator. Verified/Validated embedded controller will be used for controlling a R-Max helicopter. Visualization SW GUI Dynamics sensor actuator SECONDARY NOVATELGPS RT-2 NAV COMP ROUTER Digital Compass Win98 FreeBSD PC104 K6-400 BATT MediaGX233BOEING BATT DQI-NP NAV COMP DC/DC Converter QNX (for DQI-NP;24V) Lucent PC104 K6-400 Ethernet WaveLAN Hub Berkeley SEC Project, San Antonio, 22

12 Hierarchical Control of Multi-Modal Systems Given a continuous control system, a collection of control modes are designed u q 1 q 2 q 3 x xç = f(x ) + g(x )u For cont rol m od e q i; o=p : y i = h i(x ) q i i=p : u = k i(x;r i) y i! r i b y d esign A ssu m e t h a t r i 2 R i x (t 0) 2 S i( r i) ò x ( t ) 2 X i; t õ t 0 Problem Statement of Mode Switching Does there exist a finite sequence of control modes for satisfying a set of given reachability specifications? Specification q S r S! q F r F Synthesis q S If it does exist, can the switching conditions be determined? When/ Where? Guard/Reset Synthesis What Trajectory? Performance Criteria Berkeley SEC Project, San Antonio, 23 % q i! q j & qf r S r i r j r F X i Mode Switching Algorithm for Multi-Modal Control Computation Offline: Synthesis of control mode graph Reachability and Intersection Online: Synthesis of control switching sequence Reachability on Graph q 33 3 q 33 3 Mode q1 q 32 2 q 12 1 q 12 2 q 42 2 q 23 2 q 23 3 q 24 2 q 22 2 q 22 2 q 43 3 q 32 3 q 24 4 q 34 4 q 34 3 Mode q3 q 43 4 q 42 4 abstraction refinement Mode q2 q 44 4 q 44 4 Mode q4 T. J. Koo, G. J. Pappas, and S. Sastry, Mode Switching Synthesis for Reachability Specifications, Hybrid Systems: Computation and Control, Lecture Notes in Computer Science, Springer, Berkeley SEC Project, San Antonio, 24

13 Hierarchical Component-Based Design Hierarchical nesting of compositions of discrete and continuous components At each level of the hierarchy, a Model of Computation (MoC) governs the behaviors and interactions of components e i s j PS FSM î i z Realization in Ptolemy II DE FSM (û i; r i) f(q j ;y j )g q 1 q 2 q 3 DE FSM u x xç = f (x ) + g(x )u CT ODEs Berkeley SEC Project, San Antonio, 25 Implementing a Design in Embedded Software Question: How to guarantee safety of the embedded system? Event-triggered Embedded Software Software Time-triggered Software Operating System Board Support Packages Computing Platform Our Solution: at the level closest to the environment under control, the embedded software needs to be time-triggered for guaranteed safety; at higher levels, an asynchronous hybrid controller design is required. Embedded Hardware Environment Berkeley SEC Project, San Antonio, 26

14 Ongoing Work Hardware-In-the-Loop (HIL) simulation for architecture evaluation is currently under construction. System consists of an embedded controller and an emulator for sensor/dynamics/actuator. Dynamics Visualization sensor actuator SW GUI NOVATELGPS RT-2 SECONDARY NAV COMP Digital Compass Win98 ROUTER PC104 FreeBSD K6-400 MediaGX233 BATT BOEING BATT DQI-NP NAV COMP DC/DC Converter QNX (for DQI-NP;24V) PC104 Lucent K6-400 Ethernet WaveLAN Hub Verified/Validated embedded controller will control an R-Max helicopter. Berkeley SEC Project, San Antonio, 27 Candidate Real-life Applications (with Northrop-Grumman) Vector off approach trajectory waveoff trajectory To holding pattern waveoff trajectory Wingman Lead Wingman Lead Berkeley SEC Project, San Antonio, 28

15 Project Tasks/Schedule/Status Demos done Multi-modal helicopter control model (hybrid system) Fault detection/isolation based on generalized reflection Blending controller (with Georgia Tech) Publish & subscribe using Jini and JavaSpaces Giotto helicopter control for Zurich helicopter Precise mode changes using TM domain Multi-modal distributed control (with Lego robots) Fundamental contributions Framework theory responsible frameworks precise reactions/mode changes managing heterogeneity models of computation Timed multitasking model of computation Giotto time-triggered model of computation Multimodal control framework Controller synthesis for safety properties Berkeley SEC Project, San Antonio, 29 Next Milestones Future milestones Giotto helicopter control for Berkeley helicopters Hardware-in-the-loop simulation CORBA/OCP event channel interface to the TM domain OCP E Machine realization E Machine realizations running hard-real-time code FDIR in hybrid controllers for single/ multiple vehicles Multi-vehicle formation flight Anticipated fundamental contributions Just watch! Berkeley SEC Project, San Antonio, 30

16 Technology Transition/Transfer Classic tech transfer strategy: Copyright Retain intellectual property & leverage the profit motive Radical tech transfer strategy: Copyleft Distribute freely & impose your ideology on others Berkeley tech transfer strategy: Copycenter Take it to the copy center & copy as much as you like. Success of this model: Many companies have brought Berkeley research results into the marketplace. Berkeley SEC Project, San Antonio, 31 Technology Transition/Transfer Near-Term Plans E Machine pilot implementations will show how to Isolate designers from RTOS platforms Get a coherent semantics in the run-time environment Giotto model of computation will show how to Build hard-real-time, periodic, multimodal models Specify real-time requirement (vs. infer real-time behavior) TM model of computation will show how to Build priority-driven multitasking with precise mode changes Ptolemy II version 2.0 release will show how to Get precise mode changes in a real-time multitasking context Realize multi-modal multi-agent hybrid systems Realize blending controllers Helicopter control models will show how to Hierarchically build autonomous multi-vehicle control systems with hybrid control methods. Work with Northrop-Grumman to transfer methods. Berkeley SEC Project, San Antonio, 32

17 Program Issues Employing SEC Technology Homeland defense softwalls carry on-board 3-D database with no-fly-zones enforce in the on-board avionics, based on localization non-networked, non-hackable hybrid, modal controller in embedded software Berkeley SEC Project, San Antonio, 33

Component-Based Design of Embedded Control Systems

Component-Based Design of Embedded Control Systems Component-Based Design of Embedded Control Systems Edward A. Lee & Jie Liu UC Berkeley with thanks to the entire Berkeley and Boeing SEC teams SEC PI Meeting Annapolis, May 8-9, 2001 Precise Mode Change

More information

Component-Based Design of Embedded Control Systems

Component-Based Design of Embedded Control Systems Component-Based Design of Embedded Control Systems Luca Dealfaro Chamberlain Fong Tom Henzinger Christopher Hylands John Koo Edward A. Lee Jie Liu Xiaojun Liu Steve Neuendorffer Sonia Sachs Shankar Sastry

More information

Hybrid System Modeling: Operational Semantics Issues

Hybrid System Modeling: Operational Semantics Issues Hybrid System Modeling: Operational Semantics Issues Edward A. Lee Professor UC Berkeley OMG Technical Meeting Feb. 4, 2004 Anaheim, CA, USA Special thanks to Jie Liu, Xiaojun Liu, Steve Neuendorffer,

More information

Embedded Software from Concurrent Component Models

Embedded Software from Concurrent Component Models Embedded Software from Concurrent Component Models Edward A. Lee UC Berkeley with Shuvra Bhattacharyya, Johan Eker, Christopher Hylands, Jie Liu, Xiaojun Liu, Steve Neuendorffer, Jeff Tsay, and Yuhong

More information

Modal Models in Ptolemy

Modal Models in Ptolemy Modal Models in Ptolemy Edward A. Lee Stavros Tripakis UC Berkeley Workshop on Equation-Based Object-Oriented Modeling Languages and Tools 3rd International Workshop on Equation-Based Object-Oriented Modeling

More information

Process-Based Software Components. Subcontractors and Collaborators

Process-Based Software Components. Subcontractors and Collaborators Process-Based Software Components Mobies Phase 1, UC Berkeley Edward A. Lee and Tom Henzinger (with contributions from Steve Neuendorffer, Christopher Hylands, Jie Liu, Xiaojun Liu, and Haiyang Zheng)

More information

DESIGN AND SIMULATION OF HETEROGENEOUS CONTROL SYSTEMS USING PTOLEMY II

DESIGN AND SIMULATION OF HETEROGENEOUS CONTROL SYSTEMS USING PTOLEMY II DESIGN AND SIMULATION OF HETEROGENEOUS CONTROL SYSTEMS USING PTOLEMY II Johan Eker, Chamberlain Fong, Jörn W. Janneck, Jie Liu Department of Electrical Engineering and Computer Sciences University of California

More information

Concurrent Component Patterns, Models of Computation, and Types

Concurrent Component Patterns, Models of Computation, and Types Concurrent Component Patterns, Models of Computation, and Types Edward A. Lee Yuhong Xiong Department of Electrical Engineering and Computer Sciences University of California at Berkeley Presented at Fourth

More information

Advanced Tool Architectures. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Tool Projects. Chess Review May 10, 2004 Berkeley, CA

Advanced Tool Architectures. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Tool Projects. Chess Review May 10, 2004 Berkeley, CA Advanced Tool Architectures Edited and Presented by Edward A. Lee, Co-PI UC Berkeley Chess Review May 10, 2004 Berkeley, CA Tool Projects Concurrent model-based design Giotto (Henzinger) E machine & S

More information

The Ptolemy II Framework for Visual Languages

The Ptolemy II Framework for Visual Languages The Ptolemy II Framework for Visual Languages Xiaojun Liu Yuhong Xiong Edward A. Lee Department of Electrical Engineering and Computer Sciences University of California at Berkeley Ptolemy II - Heterogeneous

More information

Ptolemy II The automotive challenge problems version 4.1

Ptolemy II The automotive challenge problems version 4.1 Ptolemy II The automotive challenge problems version 4.1 Johan Eker Edward Lee with thanks to Jie Liu, Paul Griffiths, and Steve Neuendorffer MoBIES Working group meeting, 27-28 September 2001, Dearborn

More information

The Future of the Ptolemy Project

The Future of the Ptolemy Project The Future of the Ptolemy Project Edward A. Lee UC Berkeley With thanks to the entire Ptolemy Team. Ptolemy Miniconference Berkeley, CA, March 22-23, 2001 The Problem Composition Decomposition Corba? TAO?

More information

Future Directions. Edward A. Lee. Berkeley, CA May 12, A New Computational Platform: Ubiquitous Networked Embedded Systems. actuate.

Future Directions. Edward A. Lee. Berkeley, CA May 12, A New Computational Platform: Ubiquitous Networked Embedded Systems. actuate. Future Directions Edward A. Lee 6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 A New Computational Platform: Ubiquitous Networked Embedded Systems sense actuate control Ptolemy II support

More information

Simulation of LET Models in Simulink and Ptolemy

Simulation of LET Models in Simulink and Ptolemy Simulation of LET Models in Simulink and Ptolemy P. Derler, A. Naderlinger, W. Pree, S. Resmerita, J. Templ Monterey Workshop 2008, Budapest, Sept. 24-26, 2008 C. Doppler Laboratory Embedded Software Systems

More information

Giotto Domain. 5.1 Introduction. 5.2 Using Giotto. Edward Lee Christoph Kirsch

Giotto Domain. 5.1 Introduction. 5.2 Using Giotto. Edward Lee Christoph Kirsch Chapter 5 from: C. Brooks, E. A. Lee, X. Liu, S. Neuendorffer, Y. Zhao, H. Zheng "Heterogeneous Concurrent Modeling and Design in Java (Volume 3: Ptolemy II Domains)," Technical Memorandum UCB/ERL M04/17,

More information

Platform Based Design of Unmanned Aerial Vehicles

Platform Based Design of Unmanned Aerial Vehicles Platform Based Design of Unmanned Aerial Vehicles EE249 Class Project, Fall 2001 By Judy Liebman and Cedric Ma Abstract This project combines design philosophies from three different areas: embedded systems

More information

Embedded Real-Time Systems

Embedded Real-Time Systems Embedded Real-Time Systems Reinhard von Hanxleden Christian-Albrechts-Universität zu Kiel Based on slides kindly provided by Edward A. Lee & Sanjit Seshia, UC Berkeley, All rights reserved Lecture 2: Model-Based

More information

UC Berkeley Mobies Technology Project

UC Berkeley Mobies Technology Project UC Berkeley Mobies Technology Project Process-Based Software Components for Networked Embedded Systems PI: Edward Lee CoPI: Tom Henzinger Heterogeneous Modeling Discrete-Event RAM mp I/O DSP DXL ASIC Hydraulic

More information

The Embedded Machine

The Embedded Machine The Embedded Machine Predictable, Portable Real-Time Code PLDI 2002 Thomas A. Henzinger, Christoph M. Kirsch UC Berkeley www.eecs.berkeley.edu/~cm It s Tricky Mars, July 4, 1997 Lost contact due to embedded

More information

Process-Based Software Components Final Mobies Presentation

Process-Based Software Components Final Mobies Presentation Process-Based Software Components Final Mobies Presentation Edward A. Lee Professor UC Berkeley PI Meeting, Savannah, GA January 21-23, 2004 PI: Edward A. Lee, 510-642-0455, eal@eecs.berkeley.edu Co-PI:

More information

Embedded Software Engineering

Embedded Software Engineering Embedded Software Engineering 3 Unit Course, Spring 2002 EECS Department, UC Berkeley Christoph Kirsch www.eecs.berkeley.edu/~fresco/giotto/course-2002 It s significant $4 billion development effort >

More information

Actor-Oriented Design: Concurrent Models as Programs

Actor-Oriented Design: Concurrent Models as Programs Actor-Oriented Design: Concurrent Models as Programs Edward A. Lee Professor, UC Berkeley Director, Center for Hybrid and Embedded Software Systems (CHESS) Parc Forum Palo Alto, CA May 13, 2004 Abstract

More information

Building Unreliable Systems out of Reliable Components: The Real Time Story

Building Unreliable Systems out of Reliable Components: The Real Time Story Building Unreliable Systems out of Reliable Components: The Real Time Story Edward A. Lee Professor, Chair of EE, and Associate Chair of EECS CHESS: Center for Hybrid and Embedded Software Systems UC Berkeley

More information

Timing Definition Language (TDL) Concepts, Code Generation and Tools

Timing Definition Language (TDL) Concepts, Code Generation and Tools Timing Definition Language (TDL) Concepts, Code Generation and Tools Wolfgang Pree Embedded Software & Systems Research Center Department of Computer Sciences Univ. Salzburg Overview Motivation Timing

More information

Interface Automata and Actif Actors

Interface Automata and Actif Actors Interface Automata and Actif Actors H. John Reekie Dept. of Electrical Engineering and Computer Science University of California at Berkeley johnr@eecs.berkeley.edu Abstract This technical note uses the

More information

System-Level Design Languages: Orthogonalizing the Issues

System-Level Design Languages: Orthogonalizing the Issues System-Level Design Languages: Orthogonalizing the Issues The GSRC Semantics Project Tom Henzinger Luciano Lavagno Edward Lee Alberto Sangiovanni-Vincentelli Kees Vissers Edward A. Lee UC Berkeley What

More information

Programming Languages for Real-Time Systems. LS 12, TU Dortmund

Programming Languages for Real-Time Systems. LS 12, TU Dortmund Programming Languages for Real-Time Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 20 June 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 41 References Slides are based on Prof. Wang Yi, Prof.

More information

Hierarchical FSMs with Multiple CMs

Hierarchical FSMs with Multiple CMs Hierarchical FSMs with Multiple CMs Manaloor Govindarajan Balasubramanian Manikantan Bharathwaj Muthuswamy (aka Bharath) Reference: Hierarchical FSMs with Multiple Concurrency Models. Alain Girault, Bilung

More information

!"#$"%"& When can a UAV get smart with its operator, and say 'NO!'? Jerry Ding**, Jonathan Sprinkle*, Claire J. Tomlin**, S.

!#$%& When can a UAV get smart with its operator, and say 'NO!'? Jerry Ding**, Jonathan Sprinkle*, Claire J. Tomlin**, S. Arizona s First University. When can a UAV get smart with its operator, and say 'NO!'? Jerry Ding**, Jonathan Sprinkle*, Claire J. Tomlin**, S. Shankar Sastry**!"#$"%"&!"#"$"%"&"'"("$")"*""+",""-"."/"$","+"'"#"$".!"#"$"%"&"'"("$")"*""+",""-"."/"$","+"'"#"$".

More information

Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems

Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems Insup Lee 1, Oleg Sokolsky 1, Anna Philippou 2 1 RTG (Real-Time Systems Group) Department of

More information

A Graduate Embedded System Education Program

A Graduate Embedded System Education Program A Graduate Embedded System Education Program Alberto Sangiovanni-Vincentelli Department of EECS, University of California at Berkeley EE249:Fall03 The Killer Applications for the Future? 2 Energy Conservation

More information

Course Development. Recall the Goal. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Chess Review November 18, 2004 Berkeley, CA

Course Development. Recall the Goal. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Chess Review November 18, 2004 Berkeley, CA Course Development Edited and Presented by Edward A. Lee, Co-PI UC Berkeley Chess Review November 18, 2004 Berkeley, CA Recall the Goal To create a integrated computational systems theory and systems design

More information

Composition of State Machines

Composition of State Machines Chapter 5 Composition of State Machines Hongwei Zhang http://www.cs.wayne.edu/~hzhang/ Ack.: this lecture is prepared in part based on slides of Lee, Sangiovanni-Vincentelli, Seshia. Outline Concurrent

More information

The Gigascale Silicon Research Center

The Gigascale Silicon Research Center The Gigascale Silicon Research Center The GSRC Semantics Project Tom Henzinger Luciano Lavagno Edward Lee Alberto Sangiovanni-Vincentelli Kees Vissers Edward A. Lee UC Berkeley What is GSRC? The MARCO/DARPA

More information

Foundations of Hybrid and Embedded Software Systems. Experimental Research

Foundations of Hybrid and Embedded Software Systems. Experimental Research Experimental Test Beds for Embedded & Hybrid Systems Gautam Biswas and Ken Frampton Vanderbilt University/ISIS UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Foundations of Hybrid

More information

Codesign Framework. Parts of this lecture are borrowed from lectures of Johan Lilius of TUCS and ASV/LL of UC Berkeley available in their web.

Codesign Framework. Parts of this lecture are borrowed from lectures of Johan Lilius of TUCS and ASV/LL of UC Berkeley available in their web. Codesign Framework Parts of this lecture are borrowed from lectures of Johan Lilius of TUCS and ASV/LL of UC Berkeley available in their web. Embedded Processor Types General Purpose Expensive, requires

More information

ANSI C CODE SYNTHESIS FOR MLDESIGNER FINITE STATE MACHINES

ANSI C CODE SYNTHESIS FOR MLDESIGNER FINITE STATE MACHINES 49. Internationales Wissenschaftliches Kolloquium Technische Universität Ilmenau 27.-30. September 2004 Holger Rath / Horst Salzwedel ANSI C CODE SYNTHESIS FOR MLDESIGNER FINITE STATE MACHINES Abstract

More information

Concurrent Models of Computation

Concurrent Models of Computation Concurrent Models of Computation Edward A. Lee Robert S. Pepper Distinguished Professor, UC Berkeley EECS 219D Concurrent Models of Computation Fall 2011 Copyright 2009-2011, Edward A. Lee, All rights

More information

Review Sources of Architecture. Why Domain-Specific?

Review Sources of Architecture. Why Domain-Specific? Domain-Specific Software Architectures (DSSA) 1 Review Sources of Architecture Main sources of architecture black magic architectural visions intuition theft method Routine design vs. innovative design

More information

Concurrent Models of Computation for Embedded Software

Concurrent Models of Computation for Embedded Software Concurrent Models of Computation for Embedded Software Edward A. Lee Professor, UC Berkeley EECS 219D Concurrent Models of Computation Fall 2011 Copyright 2009-2011, Edward A. Lee, All rights reserved

More information

LabVIEW Based Embedded Design [First Report]

LabVIEW Based Embedded Design [First Report] LabVIEW Based Embedded Design [First Report] Sadia Malik Ram Rajagopal Department of Electrical and Computer Engineering University of Texas at Austin Austin, TX 78712 malik@ece.utexas.edu ram.rajagopal@ni.com

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Introduction to Embedded Systems Sanjit A. Seshia UC Berkeley EECS 149/249A Fall 2015 2008-2015: E. A. Lee, A. L. Sangiovanni-Vincentelli, S. A. Seshia. All rights reserved. Chapter 3: Discrete Dynamics,

More information

Model-based Analysis of Event-driven Distributed Real-time Embedded Systems

Model-based Analysis of Event-driven Distributed Real-time Embedded Systems Model-based Analysis of Event-driven Distributed Real-time Embedded Systems Gabor Madl Committee Chancellor s Professor Nikil Dutt (Chair) Professor Tony Givargis Professor Ian Harris University of California,

More information

Giotto. Thomas A. Henzinger, Benjamin Horowitz, Christoph Kirsch. UC Berkeley

Giotto.   Thomas A. Henzinger, Benjamin Horowitz, Christoph Kirsch. UC Berkeley Giotto Thomas A. Henzinger, Benjamin Horowitz, Christoph Kirsch UC Berkeley www.eecs.berkeley.edu/~fresco/giotto Control Software Development Mathematical Model Platform Constraints e.g. Matlab/Simulink

More information

A Multi-Modal Composability Framework for Cyber-Physical Systems

A Multi-Modal Composability Framework for Cyber-Physical Systems S5 Symposium June 12, 2012 A Multi-Modal Composability Framework for Cyber-Physical Systems Linh Thi Xuan Phan Insup Lee PRECISE Center University of Pennsylvania Avionics, Automotive Medical Devices Cyber-physical

More information

HW/SW Design Space Exploration on the Production Cell Setup

HW/SW Design Space Exploration on the Production Cell Setup HW/SW Design Space Exploration on the Production Cell Setup Communicating Process Architectures 2009, Formal Methods Week Eindhoven University of Technology, The Netherlands, 04-11-2009 Marcel A. Groothuis,

More information

By: Chaitanya Settaluri Devendra Kalia

By: Chaitanya Settaluri Devendra Kalia By: Chaitanya Settaluri Devendra Kalia What is an embedded system? An embedded system Uses a controller to perform some function Is not perceived as a computer Software is used for features and flexibility

More information

Petri Nets ~------~ R-ES-O---N-A-N-C-E-I--se-p-te-m--be-r Applications.

Petri Nets ~------~ R-ES-O---N-A-N-C-E-I--se-p-te-m--be-r Applications. Petri Nets 2. Applications Y Narahari Y Narahari is currently an Associate Professor of Computer Science and Automation at the Indian Institute of Science, Bangalore. His research interests are broadly

More information

Executing SyncCharts with Ptolemy

Executing SyncCharts with Ptolemy Executing SyncCharts with Christian Motika Real-Time Systems and Embedded Systems Group Department of Computer Science Christian-Albrechts-Universität zu Kiel, Germany KIEL ER SYNCHRON Workshop 2010 Frejús,

More information

CS4514 Real-Time Systems and Modeling

CS4514 Real-Time Systems and Modeling CS4514 Real-Time Systems and Modeling Fall 2015 José M. Garrido Department of Computer Science College of Computing and Software Engineering Kennesaw State University Real-Time Systems RTS are computer

More information

Outline. SLD challenges Platform Based Design (PBD) Leveraging state of the art CAD Metropolis. Case study: Wireless Sensor Network

Outline. SLD challenges Platform Based Design (PBD) Leveraging state of the art CAD Metropolis. Case study: Wireless Sensor Network By Alberto Puggelli Outline SLD challenges Platform Based Design (PBD) Case study: Wireless Sensor Network Leveraging state of the art CAD Metropolis Case study: JPEG Encoder SLD Challenge Establish a

More information

Platform-Based Embedded Software Design for Multi-Vehicle Multi-Modal Systems

Platform-Based Embedded Software Design for Multi-Vehicle Multi-Modal Systems Platform-Based Embedded Software Design for Multi-Vehicle Multi-Modal Systems T. John Koo, Judith Liebman, Cedric Ma, Benjamin Horowitz, Alberto Sangiovanni-Vincentelli, Shankar Sastry Department of Electrical

More information

Classes and Inheritance in Actor- Oriented Models

Classes and Inheritance in Actor- Oriented Models Classes and Inheritance in Actor- Oriented Models Stephen Neuendorffer Edward Lee UC Berkeley Chess Review May 8, 2003 Berkeley, CA Introduction Component-based design Object-oriented components Actor-oriented

More information

Synchronous Statecharts. Christian Motika

Synchronous Statecharts. Christian Motika Execution (KlePto) Esterel to transformation (KIES) Synchronous Statecharts for executing Esterel with Ptolemy Christian Motika Real-Time Systems and Embedded Systems Group Department of Computer Science

More information

Real-time C Code Generation in Ptolemy II for the Giotto Model of Computation

Real-time C Code Generation in Ptolemy II for the Giotto Model of Computation Real-time C Code Generation in Ptolemy II for the Giotto Model of Computation Shanna-Shaye Forbes Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No.

More information

A PRIMITIVE EXECUTION MODEL FOR HETEROGENEOUS MODELING

A PRIMITIVE EXECUTION MODEL FOR HETEROGENEOUS MODELING A PRIMITIVE EXECUTION MODEL FOR HETEROGENEOUS MODELING Frédéric Boulanger Supélec Département Informatique, 3 rue Joliot-Curie, 91192 Gif-sur-Yvette cedex, France Email: Frederic.Boulanger@supelec.fr Guy

More information

Specifications and Modeling

Specifications and Modeling 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 2009/10/20 Graphics: Alexandra Nolte, Gesine Marwedel, 2003 Structure of this course 2: Specification Design repository Design Application

More information

Introduction to Electronic Design Automation. Model of Computation. Model of Computation. Model of Computation

Introduction to Electronic Design Automation. Model of Computation. Model of Computation. Model of Computation Introduction to Electronic Design Automation Model of Computation Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Spring 03 Model of Computation In system design,

More information

Alberto Sangiovanni-Vincentelli, Shankar Sastry. University of California at Berkeley. Berkeley, CA 94720

Alberto Sangiovanni-Vincentelli, Shankar Sastry. University of California at Berkeley. Berkeley, CA 94720 A Formal Approach to Reactive System Design: Unmanned Aerial Vehicle Flight Management System Design Example T. John Koo, Bruno Sinopoli Alberto Sangiovanni-Vincentelli, Shankar Sastry Robotics and Intelligent

More information

Simulation of AADL models with software-in-the-loop execution

Simulation of AADL models with software-in-the-loop execution Simulation of AADL models with software-in-the-loop execution Denis Buzdalov Institute for System Programming of Russian Academy of Sciences Moscow, Russia buzdalov@ispras.ru ABSTRACT In this paper we

More information

Real-Time CORBA Experiences in an Avionics Domain

Real-Time CORBA Experiences in an Avionics Domain Real-Time CORBA Experiences in an Avionics Domain Jeanna Gossett, David Corman and David Sharp The Boeing Company OMG Real-Time Embedded and Distributed Object Computing Workshop June 7, 2001 Bold Stroke

More information

Introducing Embedded Systems: A Cyber- Physical Systems Approach

Introducing Embedded Systems: A Cyber- Physical Systems Approach Introducing Embedded Systems: A Cyber- Physical Systems Approach Edward A. Lee Robert S. Pepper Distinguished Professor UC Berkeley CPS PI Meeting Education Keynote With special thanks to my collaborators:

More information

Fault Detection of Reachability Testing with Game Theoretic Approach

Fault Detection of Reachability Testing with Game Theoretic Approach Fault Detection of Reachability Testing with Game Theoretic Approach S. Preetha Dr.M. Punithavalli Research Scholar, Karpagam University, Coimbatore. Director, Sri Ramakrishna Engineering College, Coimbatore.

More information

Specifications and Modeling

Specifications and Modeling 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 Springer, 2010 2012 年 10 月 17 日 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Hypothetical design

More information

Vehicle Flight Management System Design Example

Vehicle Flight Management System Design Example WM1-1 2:OO Proceedings of the 1999 IEEE International Symposium on Computer Aided Control System Design Kohala Coast-Island of Hawai i, Hawai i, USA August 22-27, 1999 A Formal Approach to Reactive System

More information

EE382N.23: Embedded System Design and Modeling

EE382N.23: Embedded System Design and Modeling EE382N.23: Embedded System Design and Modeling Lecture 3 Language Semantics Andreas Gerstlauer Electrical and Computer Engineering University of Texas at Austin gerstl@ece.utexas.edu Lecture 3: Outline

More information

Portable Real-Time Code from PTIDES Models

Portable Real-Time Code from PTIDES Models Portable Real-Time Code from PTIDES Models Patricia Derler, John Eidson, Edward A. Lee, Slobodan Matic, Christos Stergiou, Michael Zimmer UC Berkeley Invited Talk Workshop on Time Analysis and Model-Based

More information

Embedded Tutorial CPS Foundations

Embedded Tutorial CPS Foundations Embedded Tutorial CPS Foundations Edward A. Lee Robert S. Pepper Distinguished Professor UC Berkeley Special Session: Cyber-Physical Systems Demystified Design Automation Conference (DAC 2010) Annaheim,

More information

fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik /11/15

fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik /11/15 12 Specifications Peter Marwedel TU Dortmund, Informatik 12 2008/11/15 Graphics: Alexandra Nolte, Gesine Marwedel, 2003 Structure of this course Application Knowledge 3: Embedded System HW 2: Specifications

More information

EECE Hybrid and Embedded Systems: Computation

EECE Hybrid and Embedded Systems: Computation EECE 396-1 Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and Computer Science Vanderbilt University 300 Featheringill

More information

The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing. R. Paul, W. T. Tsai, Jay Bayne

The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing. R. Paul, W. T. Tsai, Jay Bayne The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing R. Paul, W. T. Tsai, Jay Bayne 1 Table of Content Introduction Service-Oriented Computing Acceptance of SOA within DOD Policy-based

More information

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions) By the end of this course, students should CIS 1.5 Course Objectives a. Understand the concept of a program (i.e., a computer following a series of instructions) b. Understand the concept of a variable

More information

Model-Integrated Computing for Composition of Complex QoS Applications

Model-Integrated Computing for Composition of Complex QoS Applications Institute for Software Integrated Systems Vanderbilt University Model-Integrated Computing for Composition of Complex QoS Applications Sandeep Neema, Ted Bapty, Jeff Gray, Aniruddha Gokhale Institute for

More information

Concurrent Models of Computation

Concurrent Models of Computation Chapter 5 Concurrent Models of Computation Contents 5.1 Structure of Models....................... 117 5.2 Synchronous-Reactive Models................. 118 Sidebar: Actor Networks as a System of Equations.......

More information

The Ptolemy Project. Modeling and Design of Reactive Systems. Presenter: Praveen Murthy, PhD Postdoc and Presenter

The Ptolemy Project. Modeling and Design of Reactive Systems. Presenter: Praveen Murthy, PhD Postdoc and Presenter The Ptolemy Project Modeling and Design of Reactive Systems Presenter: Praveen Murthy, PhD Postdoc and Presenter Edward A. Lee Professor and PI UC Berkeley Dept. of EECS Copyright 1997, The Regents of

More information

A Model-Driven Approach to Embedded Control System Implementation

A Model-Driven Approach to Embedded Control System Implementation A Model-Driven Approach to Embedded Control System Implementation Jan F. Broenink, Marcel A. Groothuis, Peter M. Visser, Bojan Orlic Control Engineering, CTIT, Faculty EE-M-CS,, Enschede, Netherlands e-mail:

More information

PTIDES: A Discrete-Event-Based Programming Model for Distributed Embedded Systems

PTIDES: A Discrete-Event-Based Programming Model for Distributed Embedded Systems PTIDES: A Discrete-Event-Based Programming Model for Distributed Embedded Systems John C. Eidson Edward A. Lee Slobodan Matic Sanjit A. Seshia Jia Zou UC Berkeley Tutorial on Modeling and Analyzing Real-Time

More information

Automated Software Synthesis for Complex Robotic Systems

Automated Software Synthesis for Complex Robotic Systems Automated Software Synthesis for Complex Robotic Systems Indranil Saha Department of Computer Science and Engineering Indian Institute of Technology Kanpur Indranil Saha Automated Software Synthesis for

More information

Middleware for Embedded Adaptive Dependability (MEAD)

Middleware for Embedded Adaptive Dependability (MEAD) Middleware for Embedded Adaptive Dependability (MEAD) Real-Time Fault-Tolerant Middleware Support Priya Narasimhan Assistant Professor of ECE and CS Carnegie Mellon University Pittsburgh, PA 15213-3890

More information

Synthesis of Distributed Real- Time Embedded Software

Synthesis of Distributed Real- Time Embedded Software Synthesis of Distributed Real- Time Embedded Software Edward A. Lee Robert S. Pepper Distinguished Professor UC Berkeley Keynote talk Electronic System Level Synthesis Conference June 5-6, 2011 San Diego,

More information

Embedded Systems. Stammvorlesung 9 CP. Lectures: Tuesdays, 16:15-18:00 Thursdays, 10:15-12:00 BF - ES - 2 -

Embedded Systems. Stammvorlesung 9 CP. Lectures: Tuesdays, 16:15-18:00 Thursdays, 10:15-12:00 BF - ES - 2 - Embedded Systems Embedded Systems Ruzica Piskac (ruzica.piskac@yale.edu) Leander Tentrup (tentrup@cs.uni-saarland.de) Michael Gerke (gerke@cs.uni-saarland.de) Felix Klein (klein@cs.uni-saarland.de) Stammvorlesung

More information

Model-Based Development of Embedded Real-Time Systems

Model-Based Development of Embedded Real-Time Systems Model-Based Development of Embedded Real-Time Systems Raj Rajkumar with Dionisio de Niz Real-Time and Multimedia Systems Laboratory Carnegie Mellon University raj@ece.cmu.edu http://www.ece.cmu.edu/~raj

More information

Graphical System Design. David Fuller LabVIEW R&D Section Manager

Graphical System Design. David Fuller LabVIEW R&D Section Manager Graphical System Design David Fuller LabVIEW R&D Section Manager Agenda Visions Demo Order & time National Instruments Confidential 2 Virtual Instrumentation National Instruments Confidential 3 Virtual

More information

Predictable Timing of Cyber-Physical Systems Future Research Challenges

Predictable Timing of Cyber-Physical Systems Future Research Challenges Predictable Timing of Cyber- Systems Future Research Challenges DREAMS Seminar, EECS, UC Berkeley January 17, 2012 David Broman EECS Department UC Berkeley, USA Department of Computer and Information Science

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Introduction to Embedded Systems Edward A. Lee & Sanjit Seshia UC Berkeley EECS 124 Spring 2008 Copyright 2008, Edward A. Lee & Sanjit Seshia, All rights reserved Lecture 17: Concurrency 2: Threads Definition

More information

An Overview of the Ptolemy Project. Organizational

An Overview of the Ptolemy Project. Organizational An Overview of the Ptolemy Project Edward A. Lee Professor and Principal Investigator UC Berkeley Dept. of EECS Copyright 1997, The Regents of the University of California All rights reserved. Organizational

More information

Tsmart-BIPEX: An Integrated Graphical Design Toolkit for Software Systems

Tsmart-BIPEX: An Integrated Graphical Design Toolkit for Software Systems Tsmart-BIPEX: An Integrated Graphical Design Toolkit for Software Systems Huafeng Zhang 1, Yu Jiang 1, Han Liu 1, Ming Gu 1, and Jiaguang Sun 1 School of Software, Tsinghua University, China Abstract.

More information

Hardware-Software Codesign. 6. System Simulation

Hardware-Software Codesign. 6. System Simulation Hardware-Software Codesign 6. System Simulation Lothar Thiele 6-1 System Design specification system simulation (this lecture) (worst-case) perf. analysis (lectures 10-11) system synthesis estimation SW-compilation

More information

Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models

Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models Peter Feiler Software Engineering Institute phf@sei.cmu.edu 412-268-7790 2004 by Carnegie Mellon University

More information

Temporal Semantics in Concurrent and Distributed Software

Temporal Semantics in Concurrent and Distributed Software Temporal Semantics in Concurrent and Distributed Software Edward A. Lee Robert S. Pepper Distinguished Professor UC Berkeley Workshop on Strategic Directions in Software at Scale (S@S) Berkeley, CA, August

More information

MoCC - Models of Computation and Communication SystemC as an Heterogeneous System Specification Language

MoCC - Models of Computation and Communication SystemC as an Heterogeneous System Specification Language SystemC as an Heterogeneous System Specification Language Eugenio Villar Fernando Herrera University of Cantabria Challenges Massive concurrency Complexity PCB MPSoC with NoC Nanoelectronics Challenges

More information

C Code Generation from the Giotto Model of Computation to the PRET Architecture

C Code Generation from the Giotto Model of Computation to the PRET Architecture C Code Generation from the Giotto Model of Computation to the PRET Architecture Shanna-Shaye Forbes Ben Lickly Man-Kit Leung Electrical Engineering and Computer Sciences University of California at Berkeley

More information

The Embedded Machine: Predictable, Portable Real-Time Code

The Embedded Machine: Predictable, Portable Real-Time Code The Embedded Machine: Predictable, Portable Real-Time Code Thomas A. Henzinger EECS, University of California, Berkeley tah@eecs.berkeley.edu Christoph M. Kirsch EECS, University of California, Berkeley

More information

Distributed Consensus in Multivehicle Cooperative Control: Theory and Applications

Distributed Consensus in Multivehicle Cooperative Control: Theory and Applications Distributed Consensus in Multivehicle Cooperative Control: Theory and Applications Wei Ren and Randal W. Beard Springer ISBN: 978-1-84800-014-8 Tutorial Slides Prepared by Wei Ren Department of Electrical

More information

Design Specification of Cyber-Physical Systems: Towards a Domain-Specific Modeling Language based on Simulink, Eclipse Modeling Framework, and Giotto

Design Specification of Cyber-Physical Systems: Towards a Domain-Specific Modeling Language based on Simulink, Eclipse Modeling Framework, and Giotto Design Specification of Cyber-Physical Systems: Towards a Domain-Specific Modeling Language based on Simulink, Eclipse Modeling Framework, and Giotto Muhammad Umer Tariq, Jacques Florence, and Marilyn

More information

2. Introduction to Software for Embedded Systems

2. Introduction to Software for Embedded Systems 2. Introduction to Software for Embedded Systems Lothar Thiele ETH Zurich, Switzerland 2-1 Contents of Lectures (Lothar Thiele) 1. Introduction to Embedded System Design 2. Software for Embedded Systems

More information

Data-Centric Architecture for Space Systems

Data-Centric Architecture for Space Systems Data-Centric Architecture for Space Systems 3 rd Annual Workshop on Flight Software, Nov 5, 2009 The Real-Time Middleware Experts Rajive Joshi, Ph.D. Real-Time Innovations Our goals are the same but not

More information

Model-Based Design in the Ptolemy Project

Model-Based Design in the Ptolemy Project Model-Based Design in the Ptolemy Project A Chess Project Center for Hybrid and Embedded Software Systems Edward A. Lee UC Berkeley Presented at Boeing, Seattle July 31, 2003 Chess Board of Directors Tom

More information

Foundation of Contract for Things

Foundation of Contract for Things Foundation of Contract for Things C.Sofronis, O.Ferrante, A.Ferrari, L.Mangeruca ALES S.r.l. Rome The Internet of System Engineering INCOSE-IL Seminar, Herzliya, Israel 15 September, 2011 Software Platform

More information

Decoupling Among Design Concerns

Decoupling Among Design Concerns Decoupling Among Design Concerns Nicholas Kottenstette, Xenofon Koutsoukos, Janos Sztipanovits ISIS, Vanderbilt University Third International Workshop on Foundations and Applications of Component-based

More information