Institute for Software Integrated Systems Vanderbilt University Constraint-Based Embedded Program Composition PI: Ted Bapty Sandeep Neema, Andy Gokhale,

Slides:



Advertisements
Similar presentations
Institute for Software Integrated Systems Vanderbilt University Generators for Synthesis of QoS Adaptation in Distributed Real- time Embedded Systems Sandeep.
Advertisements

1 Pattern-Oriented Composition and Synthesis of Middleware Services for NEST DISSECT-ing the Fairing Simulation Akos Ledeczi – Ken Frampton Vanderbilt.
Hydra (A General Framework for Formalizing UML with Formal Languages for Embedded Systems*) *from the Ph.D. thesis of William E. McUmber Software Engineering.
Semantic Translation of Simulink/Stateflow Models to Hybrid Automata using Graph Transformations A. Agarwal, Gy. Simon, G. Karsai ISIS, Vanderbilt University.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
Stuart AllenMark Bickford Robert Constable (PI) Christoph KreitzLori LorigoRobbert Van Renesse Secure software infrastructure Logic Programming Communications.
Automated Analysis and Code Generation for Domain-Specific Models George Edwards Center for Systems and Software Engineering University of Southern California.
1 The Alchemy Project Jay Lepreau Matthew Flatt Eric Eide Alastair Reid John Regehr University of Utah Contract F C-1696 October 26, 2001.
1 12/10/03CCM Workshop QoS Engineering and Qoskets George Heineman Praveen Sharma Joe Loyall Richard Schantz BBN Technologies Distributed Systems Department.
1 Quality Objects: Advanced Middleware for Wide Area Distributed Applications Rick Schantz Quality Objects: Advanced Middleware for Large Scale Wide Area.
Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI NSF Model-Based Design DSML.
1 FM Overview of Adaptation. 2 FM RAPIDware: Component-Based Design of Adaptive and Dependable Middleware Project Investigators: Philip McKinley, Kurt.
Annual SERC Research Review - Student Presentation, October 5-6, Extending Model Based System Engineering to Utilize 3D Virtual Environments Peter.
Spectra Software Defined Radio Products Applying Model Driven Design, Generative Programming, and Agile Software Techniques to the SDR Domain OOPSLA '05.
GReAT: Graph Rewriting And Transformation Presenter: Yuehua Lin 2/17/04, Tuesday Slides help from Aditya Agrawal
1 Legacy System Evolution through Model-Driven Program Transformation Funded by the DARPA Information Exploitation Office (DARPA/IXO), under the Program.
Levels of Independence in Aspect-Oriented Modeling Workshop on Model-driven Approaches to Middleware Applications Development June 17, 2003 Jeff Gray,
An Introduction to Software Architecture
Cluster Reliability Project ISIS Vanderbilt University.
RTAS MDES Workshop May Model-Based Integration of Reusable Component-Based Avionics Systems David Sharp Technical Fellow Phantom Works, Open System.
MILCOM 2001 October page 1 Defense Enabling Using Advanced Middleware: An Example Franklin Webber, Partha Pal, Richard Schantz, Michael Atighetchi,
Co-design Environment for Secure Embedded Systems Matt Eby, Janos L. Mathe, Jan Werner, Gabor Karsai, Sandeep Neema, Janos Sztipanovits, Yuan Xue Institute.
Generating a Generator Jeff Gray University of Alabama at Birmingham Department of Computer and Information Sciences gray (at) cis.uab.edu
Institute for Software Integrated Systems Vanderbilt University Constraint-Based Embedded Program Composition Institute for Software Integrated Systems.
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.
HPEC’02 Workshop September 24-26, 2002, MIT Lincoln Labs Applying Model-Integrated Computing & DRE Middleware to High- Performance Embedded Computing Applications.
Constraint-Based Embedded Program Composition IMPACT Rapid Construction of Efficient Embedded Systems. Multiple System Variants for Little Cost. Rapid,
1 06/ /21/2015 ECOOP 2000 Workshop QoS in DOSJohn Zinky BBN Technologies Quality Objects (QuO) Middleware Framework ECOOP 2000 Workshop QoS in DOS.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
1 LiSyC ENSIETA/DTN 02/04/2008 AADL execution semantics transformation for formal verification Joel Champeau, Thomas Abdoul, Pierre Yves Pillain, Philippe.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
1 Applying Adaptive Middleware, Modeling, and Real-Time CORBA Capabilities to Ensure End-to- End QoS Capabilities of Video Streams BBN Technologies Cambridge,
Dr. Douglas C. Schmidt, Dr. Aniruddha S. Gokhale, Bala Natarajan, Jeff Parsons, Tao Lu, Boris Kolpackov, Krishnakumar Balasubramanian, Arvind Krishna,
Dynamic software reconfiguration using control supervisors Ugo Buy 13 June 2005.
Model-Based Embedded Real- Time Software Development Dionisio de Niz and Raj Rajkumar Real-Time and Multimedia Sys Lab Carnegie Mellon University.
CoSMIC: Tool-suite for Weaving Deployment & Configuration Crosscutting Concerns of CCM-based DRE Systems Dr. Aniruddha Gokhale (PI) Institute for Software.
Model Checking and Model-Based Design Bruce H. Krogh Carnegie Mellon University.
Institute for Software Integrated Systems Vanderbilt University DARPA ASC PI Meeting May 26-28, 1999 Adaptive Model-Integrated Computing Akos Ledeczi.
Grid programming with components: an advanced COMPonent platform for an effective invisible grid © 2006 GridCOMP Grids Programming with components. An.
MILAN: Technical Overview October 2, 2002 Akos Ledeczi MILAN Workshop Institute for Software Integrated.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
1 Component-Based Dynamic QoS Adaptation Praveen Sharma, George Heinman, Joseph Loyall, Prakash Manghwani, Matthew Gillen, Jianming Ye, Krishnakumar Balasubramanian.
Weaving a Debugging Aspect into Domain-Specific Language Grammars SAC ’05 PSC Track Santa Fe, New Mexico USA March 17, 2005 Hui Wu, Jeff Gray, Marjan Mernik,
Aniruddha Gokhale and Jeff Gray Institute for Software Integrated Systems (ISIS) Vanderbilt University Software Composition and Modeling Laboratory University.
MODEL-BASED SYNTHESIS OF GENERATORS FOR EMBEDDED SYSTEMS PI: Gabor Karsai, Co-PI: Akos Ledeczi (615)
MODEL-BASED SOFTWARE ARCHITECTURES.  Models of software are used in an increasing number of projects to handle the complexity of application domains.
OOPSLA Oct Towards a Pattern Language for NEST Middleware Venkita Subramonian & Chris Gill, Washington University, St.Louis David Sharp, The Boeing.
A QoS Policy Modeling Language for Publish/Subscribe Middleware Platforms A QoS Policy Modeling Language for Publish/Subscribe Middleware Platforms Joe.
1 BBN Technologies Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS Craig Rodrigues, Joseph P. Loyall, Richard E. Schantz.
Integrating Security Modeling in Embedded System Design Jan Werner, Matt Eby, Janos Mathe, Gabor Karsai, Yuan Xue, Janos Sztipanovits Institute for Software.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
A Mediated Approach towards Web Service Choreography Michael Stollberg, Dumitru Roman, Juan Miguel Gomez DERI – Digital Enterprise Research Institute
POSAML: A Visual Language for Middleware Provisioning Dimple Kaul, Arundhati Kogekar, Aniruddha Gokhale ISIS, Dept.
Generating Aspect Code from Models OOPSLA 2002 Workshop on Generative Techniques in the Context of the MDA November 5 th, 2002 Seattle, WA This work is.
Institute for Software Integrated Systems Vanderbilt University Constraint-Based Embedded Program Composition PI: Ted Bapty Sandeep Neema, Jeff Gray Institute.
Design-Directed Programming Martin Rinard Daniel Jackson MIT Laboratory for Computer Science.
From Use Cases to Implementation 1. Structural and Behavioral Aspects of Collaborations  Two aspects of Collaborations Structural – specifies the static.
A Vision for Integration of Embedded System Properties Via a Model-Component-Aspect System Architecture Christopher D. Gill Department.
George Edwards Computer Science Department Center for Systems and Software Engineering University of Southern California
From Use Cases to Implementation 1. Mapping Requirements Directly to Design and Code  For many, if not most, of our requirements it is relatively easy.
CoSMIC: An MDA Tool Suite for Distributed Real-time and Embedded Systems Aniruddha Gokhale, Tao Lu, Emre Turkay, Balachandran Natarajan, Jeff Parsons,
CoSMIC: An MDA Tool Suite for Distributed Real-time and Embedded Systems Tao Lu, Aniruddha Gokhale, Emre Turkay, Balachandran Natarajan, Jeff Parsons,
مقدمه اي بر مهندسي نيازمنديها
The Extensible Tool-chain for Evaluation of Architectural Models
Applying Domain-Specific Modeling Languages to Develop DRE Systems
Tools for Composing and Deploying Grid Middleware Web Services
Automatic Derivation, Integration and Verification
An Introduction to Software Architecture
Automated Analysis and Code Generation for Domain-Specific Models
Presentation transcript:

Institute for Software Integrated Systems Vanderbilt University Constraint-Based Embedded Program Composition PI: Ted Bapty Sandeep Neema, Andy Gokhale, Jeff Gray Institute for Software Integrated Systems Vanderbilt University Contract #: F C-1695

Problem Description Composition of Embedded Systems –Close Coupling of Environment, Architecture & Requirements –All Requirements (Functional, Temporal, Interface, Resources) MUST be satisfied. –How do we represent & maintain these requirements? Requirements Map to Constraints on System Implementation –Many Constraints Crosscutting the Design –Complex mapping from high-level requirements to constraints –How do we perform the mapping, distributing requirements? Need for flexibility to rapidly deploy designs to families of applications –How can we use constraints to adapt a core design to specific application instances? –How can we provide better scalability? –OMG MDA

Project Objectives Create domain-specific, graphical languages that capture the functional design of real-time embedded systems –BBN UAV –Boeing Bold Stroke/CCM A weaving process that maps high-level invariant properties and system requirements to design constraints affecting specific model regions, A generation process that: –design space nav. -> customized component composition –generate CDL; simulate/verify effects of contracts

Design-Space Exploration and Pruning Customized Component Composition CDL Gen Contract Simulation Contract Validation Domain-Specific Strategies Specification Aspects Models Constrained Models Strategies (C++) XML Parser Aspect Parser B c d e B c d e strategy ApplyConstraint(constraintName : string, expression : string) { addAtom("OCLConstraint", "Constraint", constraintName).addAttribute("Expression", expression); } strategy RemoveConstraint(constraintName : string) { findAtom(constraintName).removeChild(); } strategy ReplaceConstraint(constraintName : string, expression : string) { RemoveConstraint(constraintName); ApplyConstraint(constraintName, expression); } constraint FOOB2 { // apply a specific constraint to “B2” only in Structural models("ProcessingCompound")-> select(p | p.name() == "B2")->PowerStrategy(1, 100); } constraint FOOBStar { // apply a specific constraint to all nodes beginning with “B” - use wildcard in Structural models("ProcessingCompound")-> select(p | p.name() == "B*")->PowerStrategy(1, 100); } Meta-weaver A B Meta-Model

BBN UAV OEP Adaptive Quality Modeling Environment (AQME) Specification Aspects Matlab Simulink/ Stateflow Simulation SMV/LPE Model Checking BBN QuO CDL

Adaptive Quality Modeling Environment QoS Specification and Adaptation modeling –Hierarchical, parallel, finite state machine representation –States capture system-wide QoS configurations –Transitions represent cause and effect of change in operating conditions –Data/Event variables represent the interface to the operating environment

Adaptive Quality Modeling Environment Software modeling –Hierarchical dataflow representation Compounds, primitives –Parameters for component instrumentation and customization Middleware modeling –Services and system condition objects –Parameters for middleware instrumentation and customization

Simulation of QoS adaptation Matlab® Simulink®/Stateflow® used as the simulation engine Model interpreters generate Matlab M-code to construct Simulink/Stateflow representation User provides a network simulation model, that can simulate various load conditions in the network UAV Model Matlab M-file I Network model Simulation results Adaptation model I  Interpreter

QuO Contract Generation AQME models translated to QuO contracts represented in Contract Definition Language (CDL) Hierarchical concurrent state machine models translated to flat state machine representation Transition guards and actions expressions over data/event variables translated to calls over Middleware (syscond) objects UAV Model I QuO Contract (CDL) BBN QuoGen.CPP.H Target Appl./MW

Verification of QoS adaptation Cornell LPE/SMV planned to be used as the model checking engine AQME models translated to LPE/SMV input specifications Can verify properties like reachability, liveness, fairness, etc. of the QoS adaptation specifications UAV Model I SMV/LPE specification SMV/ LPE CTL specs Valid? Counter example no yes reiterate

Analog Video Receiver Frame Grabber PPM video BBN Distribution Controller CDL Contract AQME MIC Tool “VanderBlimp” Demonstration Scenario Without MIC & CDL Client Putting the ‘air’ in the UAV OSHA Note:We use Helium Control CDL Contract CDL Contract CDL Contract CDL Contract future

Boeing BoldStroke OEP Embedded Systems Modeling Language (ESML) DARPA MoBIES project Specification Weapon Release Sensor LocDisplay Compute Position Processor #1 Eager Lazy Processor #2 Design-Space Exploration and Pruning Customized Components UpdateMap Lazy

Embedded Systems Modeling Language (MoBIES) BoldStroke/CCM Components interaction modeling –Publish-subscribe event communication mechanism –Facets-Receptacles for data-communication Component internal interaction modeling –Event/data dependency within the components internal data variables and methods –Used to synthesize eager vs. lazy computation

A generalized component class ComputePosition { public: void call_back() = 0; int get_data() = 0; … protected: void notify(); void data_retrieve(); void compute_phase1(); void compute_phase2(); … int _data; }

Customization of ComputePosition as a Lazy component class LazyComputePosition : public ComputePosition { public: void call_back() { notify(); } int get_data() { data_retreive(); compute_phase1(); computer_phase2(); return _data; } protected: … };

Customization of ComputePosition as an Eager component class EagerComputePosition : public ComputePosition { public: void call_back() { data_retreive(); compute_phase1(); computer_phase2(); notify(); } int get_data() { return _data; } protected: … };

Contribution To PCES “analysis and transformation tools that achieve and preserve required properties” –The mapping of requirements to constraints will contribute to the achievement of system properties in the implementation. –OBDD-based constraint management “composition techniques that can be used cooperatively to support real-time programming” –Modeling component composition from requirements “programming reusable and portable aspect code” –Reusable libraries of weavers/aspects  composing advice based on system and application requirements to customize product family design “engineering approaches that can greatly reduce effort to program embedded systems” –Strategies for creating contracts & CDL generation

Contribution to Relevant Military Applications BBN UAV –Generation and management of complex behaviors (e.g., contracts) Systems are more adaptive to changing conditions Systems make better use of resources to accomplish mission –Evaluation/simulation of system behavior System behavior known before deployment More reliable systems, less chance of failure in ‘odd’ circumstances Bold Stroke: –Domain-specific application composition Rapid customization of military systems –Tuning implementations to system requirements, constraints Re-use of components  one component fits all via customization (through aspects) Others (original project plan) –Software Radio Single platform design  multiple waveform support Efficient generation of HW/SW –AMCOM Missile ATR Rapid design-space tradeoff for architecture studies, Coupled with SW/HW generation

Project Tasks/Schedule Definition Implementation of Constraint & Strategy Language –Constraint/Strategy LanguageJan 01,Jan 02 (v2) Meta Weaver Framework Aug 01, Apr 02 Design Space Exploration & Synthesis –CDL Generation (rev 1)Oct 01, Apr 02 –OBDD RepresentationApr 02, Aug 02 –Aspect Selection/CustomizationAug 02 Demonstrations –Bold StrokeApr 02, Aug 02 –BBN UAVApr 02 –SWRAug 03

Technical Progress/Accomplishment Definition Implementation of Constraint & Strategy Language –Constraint/Strategy Language (v1) –Models-to-XML Translation –Constraint Weaver Synthesis90% Definition of Domain Modeling Languages –Component Modeling80% –State/Contract (New) 90% Synthesis –CDL90% –QoS adaptation Simulation (New)70% –QoS adaptation Verification (New)10% –Bold Stroke Component Composition 20% Demonstrations –BBN80% –Boeing10%

Next Milestones Complete remaining portion of weaver framework BBN UAV –Complete CDL generator –Complete Contract Simulation –Complete Contract Verification (SMV/LPE) –New strategy polices for state adaptation –Demonstration Boeing Bold Stroke –Complete Bold Stroke Modeling –Adapt Design Space Exploration for Aspect Selection –Generate Bold Stroke Component Composition –Demonstration

Collaborations OEP Interaction: –BBN Contract Modeling and Simulation/CDL Generation UAV Demo –Boeing Bold Stroke Applications Modeling/Implementation Other PCES participants: –UVA/Boeing Modeling Collaboration, Tool Integration (GME/ESML) –Cornell Mapping our AQME models to XML for verification/analysis –GA Tech Collaborating on demo platform (using PPM image transport protocol) –PARC/UBC (planned) Component Behavior Composition Other DARPA projects: MoBIES –Extending Bold Stroke Modeling to support component composition with aspects

Tech Transfer Boeing –Modeling Tools (GME/ESML) –Customized components BBN –Modeling Tools (GME/AQME) –Simulation/CDL AFRL/IFGC (Rome AFB), Wayne Bonser (IFGC), Rodger Dziegel (IFTD) –Tools for Waveform Definition Language-to-Software Radio Implementation USARMY/AMCOM; Richard Sims ( AMSAM-RD-MG-IP) –Missile Embedded Systems, HW/SW Codesign Other ISIS Collaborators: –GM/Saturn, USAF/AEDC, Ford, NASA/MSFC, IBM, DuPont, Sandia, BAE/Sanders, Boeing, USMC, USAF/JSF, JPL, SWRI, Infineon,

Tech Transfer (continued) Workshop organization: –OOPSLA 2002 Workshop on Domain-Specific Visual Languages –AOSD Workshop on “Early Aspects” Publications/Interactions –AOSD Demonstration –Dissertation (Jeff Gray) –GCSE/SAIG 02 (submitted) –OOPSLA 02 (submitted) –HICSS 03 (4 papers submitted) –Real-Time OMG Workshop

Go/No Go Metrics [Bool] – Can we generate ‘real-world’ CDL contracts for xxxx complexity systems [int] – How many states can we design, simulate, analyze, and synthesize vs. hand-designed [float] – Turnaround time for a system behavior update vs. by-hand. [long?] Errors found/eliminated. [long?] Lines of code generated/avoided vs. hand- coded. [?] How high can the blimp fly ;)

Program Issues None