David Garlan Ivan Ruchkin Carnegie Mellon University Pittsburgh, PA, USA December 2014.

Slides:



Advertisements
Similar presentations
The 20th International Conference on Software Engineering and Knowledge Engineering (SEKE2008) Department of Electrical and Computer Engineering
Advertisements

Seyedehmehrnaz Mireslami, Mohammad Moshirpour, Behrouz H. Far Department of Electrical and Computer Engineering University of Calgary, Canada {smiresla,
Architecture Representation
Electronic Communications of the EASST Volume 21 (2009) Presented By: Ayush Khandelwal
KAIS T The Vision of Autonomic Computing Jeffrey O. Kephart, David M Chess IBM Watson research Center IEEE Computer, Jan 발표자 : 이승학.
Kellan Hilscher. Definition Different perspectives on the components, behavioral specifications, and interactions that make up a software system Importance.
Robotics, Intelligent Sensing and Control Lab (RISC) University of Bridgeport Department of Computer Science and Engineering Robotics, Intelligent Sensing.
Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department of Defense © 1998 by Carnegie Mellon.
Sponsored by the U.S. Department of Defense © 2005 by Carnegie Mellon University 1 Pittsburgh, PA Dennis Smith, David Carney and Ed Morris DEAS.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
Introduction to Cyber Physical Systems Yuping Dong Sep. 21, 2009.
Systems Engineering for Automating V&V of Dependable Systems John S. Baras Institute for Systems Research University of Maryland College Park
Hardware/Software System Design and Validation Dr. Xiaoyu Song Networked Sensors Architecture Platform based on Component-based.
Page 1 Building Reliable Component-based Systems Ivica Crnkovic Chapter 9 Component Composition and Integration.
Automated Analysis and Code Generation for Domain-Specific Models George Edwards Center for Systems and Software Engineering University of Southern California.
Model Checking Publish-Subscribe Software Architectures David Garlan Carnegie Mellon University.
Architecture-driven Modeling and Analysis By David Garlan and Bradley Schmerl Presented by Charita Feldman.
Advances in Effective Languages for Architecture Definition David Garlan Bradley Schmerl ABLE Research Group School.
R R R CSE870: Advanced Software Engineering: Extending and Using UML (Cheng, Sp2003) Supplementary: Using and Extending UML.
1 Software Architecture: a Roadmap David Garlen Roshanak Roshandel Yulong Liu.
21-February-2003cse Architecture © 2003 University of Washington1 Architecture CSE 403, Winter 2003 Software Engineering
Unified Modeling (Part I) Overview of UML & Modeling
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
February 11, 2010 Center for Hybrid and Embedded Software Systems Cyber-Physical Systems (CPS): Orchestrating networked.
Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department of Defense © 1998 by Carnegie Mellon.
The Rare Glitch Project: Verification Tools for Embedded Systems Carnegie Mellon University Pittsburgh, PA Ed Clarke, David Garlan, Bruce Krogh, Reid Simmons,
Strategic Directions in Real- Time & Embedded Systems Aatash Patel 18 th September, 2001.
Code Generation from CHARON Rajeev Alur, Yerang Hur, Franjo Ivancic, Jesung Kim, Insup Lee, and Oleg Sokolsky University of Pennsylvania.
Community Manager A Dynamic Collaboration Solution on Heterogeneous Environment Hyeonsook Kim  2006 CUS. All rights reserved.
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
Presenter : Cheng-Ta Wu Vijay D’silva, S. Ramesh Indian Institute of Technology Bombay Arcot Sowmya University of New South Wales, Sydney.
 A set of objectives or student learning outcomes for a course or a set of courses.  Specifies the set of concepts and skills that the student must.
A Research Agenda for Accelerating Adoption of Emerging Technologies in Complex Edge-to-Enterprise Systems Jay Ramanathan Rajiv Ramnath Co-Directors,
, A Contract-Based Methodology for Aircraft Electric Power System Design IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS,pp ,ISSN ,9.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
1 CS 456 Software Engineering. 2 Contents 3 Chapter 1: Introduction.
Verification of Information Flow Properties in Cyber-Physical Systems Ravi Akella, Bruce McMillin Department of Computer Science Missouri University of.
Assessing the Suitability of UML for Modeling Software Architectures Nenad Medvidovic Computer Science Department University of Southern California Los.
Ævol : A Tool for Planning Architecture Evolution David Garlan & Bradley Schmerl Carnegie Mellon University.
Formalizing the Asynchronous Evolution of Architecture Patterns Workshop on Self-Organizing Software Architectures (SOAR’09) September 14 th 2009 – Cambrige.
Composing Adaptive Software Authors Philip K. McKinley, Seyed Masoud Sadjadi, Eric P. Kasten, Betty H.C. Cheng Presented by Ana Rodriguez June 21, 2006.
High Performance Embedded Computing © 2007 Elsevier Lecture 3: Design Methodologies Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte Based.
Model-Driven Analysis Frameworks for Embedded Systems George Edwards USC Center for Systems and Software Engineering
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
Approaching a Problem Where do we start? How do we proceed?
Class 5 Architecture-Based Self-Healing Systems David Garlan Carnegie Mellon University.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 05. Review Software design methods Design Paradigms Typical Design Trade-offs.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Model Checking and Model-Based Design Bruce H. Krogh Carnegie Mellon University.
Advances in Effective Languages for Architecture Definition David Garlan Bradley Schmerl ABLE Research Group School.
S. Shumilov – Zürich Analytical Visualization Framework - a visual data processing and knowledge discovery system Ivan Denisovich, Serge Shumilov Department.
CBSE'051 Component-Level Dataflow Analysis Atanas (Nasko) Rountev Ohio State University.
MODEL-BASED SOFTWARE ARCHITECTURES.  Models of software are used in an increasing number of projects to handle the complexity of application domains.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Author Software Engineering Institute
Phoenix Convention Center Phoenix, Arizona Transactive Energy in Building Clusters [Innovation][Regional Innovation in Arizona] Teresa Wu Arizona State.
CAS Software Architecture and Reverse Engineering, 2006 EAI Architecture Elements of Style by Magdin Stoica McMaster University March 28, 2006.
Ontology Support for Abstraction Layer Modularization Hyun Cho, Jeff Gray Department of Computer Science University of Alabama
What’s Ahead for Embedded Software? (Wed) Gilsoo Kim
Design-Directed Programming Martin Rinard Daniel Jackson MIT Laboratory for Computer Science.
Managing Verification Activities Using SVM – System Verification Manager Bruce H. Krogh Carnegie Mellon University Funded by the DARPA MoBIES Program:
+ Informatics 122 Software Design II Lecture 13 Emily Navarro Duplication of course material for any commercial purpose without the explicit written permission.
WOSS 04 1 Task-based Self-adaptation David Garlan Bradley Schmerl Joao Sousa Vahe Poladian Carnegie Mellon University WOSS’04.
George Edwards Computer Science Department Center for Systems and Software Engineering University of Southern California
February 14, 2013 Center for Hybrid and Embedded Software Systems Organization Faculty Edward A. Lee, EECS Alberto Sangiovanni-Vincentelli,
1 Visual Computing Institute | Prof. Dr. Torsten W. Kuhlen Virtual Reality & Immersive Visualization Till Petersen-Krauß | GUI Testing | GUI.
Designing Software for Ease of Extension and Contraction
Model-Driven Analysis Frameworks for Embedded Systems
The Vision of Autonomic Computing
Automated Analysis and Code Generation for Domain-Specific Models
Presentation transcript:

David Garlan Ivan Ruchkin Carnegie Mellon University Pittsburgh, PA, USA December 2014

Acknowledgements Joint work with faculty Bruce Krogh (Electrical Engineering) Andre Platzer (Computer Science) Bradley Schmerl (Software Engineering) … and students Ajinkya Bhave (multi-view synthesis) Akshay Rajhans (compositional verification) Ivan Ruchkin (architecture and tools) With funding/support from National Science Foundation Bosch Corporation Toyota Corporation March

Outline Cyber-physical systems Problem: Today software and physical modeling are separate activities with very different analytical models Difficult to make trade-offs and ensure consistency Difficult to integrate the different modeling approaches Approach: Unified representation through extensions of software architecture and using architectural views to support heterogeneous modeling and analysis Example: Quadrotor STARMAC Summary March

Cyber-Physical Systems 4 March 2014

Problems Today’s approaches to designing cyber-physical systems (CPS) Early separation between cyber and physical parts of system design Different formalisms and methods within cyber and physical engineering: physical dynamics control engineering hardware platform software architecture Problem 1: Difficult to make tradeoffs across different engineering dimensions Problem 2: Difficult to determine consistency of different models Problem 3: Difficult to create whole-system analyses March

Example CPS: STARMAC Stanford Testbed for Autonomous Rotorcraft for Multi- Agent Control ( Four rotors, arranged symmetrically on frame March

7 Battery Ultrasonic Ranger High Level Control Processor Low Level Control Processor GPS Electronics Interface Brushless Motors IMU March 2014

Multiple Views 8 Physical View March 2014

Multiple Views 9 Physical View Control View March 2014

Multiple Views 10 Software View Physical View Control View March 2014

Multiple Views 11 Software View Physical View Control View Hardware View March 2014

Do they represent the system? 12March 2014

Are the views consistent? 13 ? March 2014

Is there a unifying representation? 14 ? March 2014

What we would like An approach that unifies both cyber and physical design Allows one to describe the complete system Supports tradeoff analysis But allows a multiplicity of models and analyses Detects inconsistencies and mismatched assumptions Can reason about completeness of design models Supported by tools Allowing automated checking and linkage to legacy analysis tools March

Approach Extend software architecture to support both physical and cyber elements through a CPS architectural style Support heterogeneous models and analyses through views Determine consistency criteria for multiple views Support engineering through extensions to software architecture modeling tools March

Models as Architectural Views Control Model Base CPS Architecture Hardware Model Arch. View X Arch. View Y Control Arch. Hardware Arch. model-to-architectural-view relations architectural -view-to-base-arch. relations March

STARMAC Architectural Views 18 Model Arch. View Base Arch. Hardware (AADL)Software (FSP)Physical (Modelica) March 2014

Simulink Architecture View March

Simulink Model March

What about Consistency? Structural consistency between the base architecture and a view Determines if a view represents a valid abstraction of the base architecture Weak: All elements of a view must be derived (via encapsulation) from the base architecture Special case is communication integrity: Two components in a view cannot interact unless they can also interact in the base architecture Strong: Every component in the base architecture is accounted for in the view (possibly within an encapsulation boundary) March

Graph Analysis for View Consistency generation of component connectivity graph Consistency of views analyzed as graph morphisms 1 1 VFLib Graph Matching Library: March

Structural Inconsistency in STARMAC 23 Weak Inconsistency March 2014

View-Model Consistency What is the architecture implied by a model? Some models do not have explicit architecture E.g., hybrid programs in KeYmaera Variables and transitions, not components and connectors Ensure that a view represents a model Create architectural types for components, timing, composition Generate models from architectural view Support legacy and evolving models through annotations 24March 2014

Exposing Architecture 25 Component: robot Component: obstacle Connector: robot senses obstacle immediately and precisely Robot’s property: control algorithm Obstacle’s property: control algorithm Robot’s property: physics Solution: annotations

Tools: AcmeStudio Extensible framework for architecture design and analysis Adaptation to CPS: support for associations between architectural views augmenting views with semantic attributes and analysis analysis plug-in for system-level verification March

Conclusion CPS Architecture allows unified treatment of cyber and physical aspects of systems design Supports heterogeneous modeling and analysis through architecture views Provides formal criteria for structural and semantic consistency (in-progress) On-going work Model-view consistency: defining and automating view- model relations Tooling: extending modeling tools to support creation and navigation of multiple views March

References A. Rajhans, A. Bhave, I. Ruchkin, B. Krogh, D. Garlan, A. Platzer, B. Schmerl. Supporting Heterogeneity in Cyber-Physical Systems Architectures. In IEEE Transactions on Automatic Control Bhave, A., B.H. Krogh, D. Garlan, and B. Schmerl. View Consistency in Architectures for Cyber-Physical Systems. In 2011 IEEE/ACM International Conference on Cyber-Physical Systems (ICCPS), , Rajhans, Akshay, and Bruce H. Krogh. Heterogeneous Verification of Cyber-physical Systems Using Behavior Relations. In Proceedings of the 15th ACM International Conference on Hybrid Systems: Computation and Control, HSCC’12. New York, NY, USA: ACM, R. Bahety and H. Gill, Cyber-Physical Systems. The Impact of Control Technology, IEEE, March 2014

A. Rajhans, S.-W. Cheng, B. Schmerl, D. Garlan, B. Krogh, C. Agbi and A. Y. Bhave. An Architectural Approach to the Design and Analysis of Cyber-Physical Systems. In Electronic Communications of the EASST, Vol. 21: Multi-Paradigm Modeling, A. Y. Bhave, B. Krogh, D. Garlan and B. Schmerl. Multi-domain Modeling of Cyber-Physical Systems using Architectural Views. In Proceedings of the 1st Analytic Virtual Integration of Cyber-Physical Systems Workshop, Co-located with RTSS A. Rajhans, A. Y. Bhave, S. Loos, B. Krogh, A. Platzer and D. Garlan. Using Parameters in Architectural Views to Support Heterogeneous Design and Verification. In 50th IEEE Conference on Decision and Control (CDC) and European Control Conference (ECC) December A. Y. Bhave, D. Garlan, B. Krogh, A. Rajhans and B. Schmerl. Augmenting Software Architectures with Physical Components. In Proc. of the Embedded Real Time Software and Systems Conference (ERTS^2 2010), May March