System-level co-modeling AADL and Simulink specifications using Polychrony (and Syndex)

Similar documents
Project-Team ESPRESSO

Embedded software design with Polychrony

System-level Co-simulation of Integrated Avionics Using Polychrony

System Synthesis from AADL using Polychrony

Exploring Software Architectures in AADL via Polychrony and SynDEx

AADL Tools & Technology. AADL committee 22 April Pierre Dissaux. Ellidiss. T e c h n o l o g i e s. w w w. e l l i d i s s.

Synchronous Specification

MARTE Based Modeling Tools Usage Scenarios in Avionics Software Development Workflows

SCADE. SCADE Architect System Requirements Analysis EMBEDDED SOFTWARE

UML Profile for MARTE: Time Model and CCSL

Tools for Formally Reasoning about Systems. June Prepared by Lucas Wagner

How to explicitly defines MoCCs within a model

Synthesis of Embedded Software

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

Building Synchronous DataFlow graphs with UML & MARTE/CCSL

AADL committee, Valencia October 2 nd, Pierre Dissaux (Ellidiss) Maxime Perrotin (ESA)

MARTE for time modeling and verification of real-time embedded system

Formal Semantics of Behavior Specifications in the Architecture Analysis and Design Language Standard

INTEGRATING SYSTEM AND SOFTWARE ENGINEERING FOR CERTIFIABLE AVIONICS APPLICATIONS

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

TOPCASED. Toolkit In OPen source for Critical Applications & SystEms Development

UML for RTES: develop a UML-based proposal for modelling and analysing of RTES

Distributed simulation of AADL specifications in a polychronous model of computation

Static Analysis by A. I. of Embedded Critical Software

Towards an Architecture-Centric Approach dedicated to Model-Based Virtual Integration for Embedded Software Systems

Interoperability in Aerospace Public Use Case of CRYSTAL project

Simulink/Stateflow. June 2008

Real Time Systems Compilation with Lopht. Dumitru Potop-Butucaru INRIA Paris/ AOSTE team Jan. 2016

The Future of the Ptolemy Project

Compilation of Heterogeneous Models: Motivations and Challenges 1

Pattern-Based Analysis of an Embedded Real-Time System Architecture

ARINC653 AADL Annex. Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Julien Delange 07/08/2013

Model-Based Engineering for the Development of ARINC653 Architectures

Platform modeling and allocation

Introduction to AADL 1

Synoptic: a DSML for On-Board Real-Time Software Design

Exploring system architectures in AADL via Polychrony and SynDEx

AUTOBEST: A microkernel-based system (not only) for automotive applications. Marc Bommert, Alexander Züpke, Robert Kaiser.

Programming Embedded Systems

An Introduction to Lustre

Modeling and Simulation for Heterogeneous systems

Model-Based Development of Embedded Real-Time Systems

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

Test and Evaluation of Autonomous Systems in a Model Based Engineering Context

Dr. Ing. Cornelia Zahlten. Prof. Dr. Jan Peleska. Concepts and Implementation. Hard Real-Time Test Tools

Model Editing & Processing Tools. AADL Committee, San Diego February 4th, Pierre Dissaux. Ellidiss. Technologies w w w. e l l i d i s s.

In this presentation,...

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

AADS+: AADL Simulation including the Behavioral Annex

A High Integrity Distributed Deterministic Java Environment. WORDS 2002 January 7, San Diego CA

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

Architecture Modeling in embedded systems

Choosing IP-XACT IEEE 1685 standard as a unified description for timing and power performance estimations in virtual platforms platforms

Timed behavioural modelling and affine scheduling of embedded software architectures in the AADL using Polychrony

Towards the integration of Overture and TASTE

Decoupling Among Design Concerns

FORC 3 ES. FMF October 10 th Contributors Forces 3: Pierre-Loïc Garoche, Thomas Loquen, Eric Noulard, Claire Pagetti, Clément Roos, Pierre Roux

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

Do model transformations solve all the problems?

Generating high-integrity systems with AADL and Ocarina. Jérôme Hugues, ISAE/DMIA

Gene-Auto development status and support

A Methodology for Improving Software Design Lifecycle in Embedded Control Systems

Introduction to Dependable Systems: Meta-modeling and modeldriven

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

Semantics-Based Integration of Embedded Systems Models

SCADE System, a comprehensive toolset for smooth transition from Model-Based System Engineering to certified embedded control and display software

AADL : about code generation

Mixed Critical Architecture Requirements (MCAR)

A Multi-Modal Composability Framework for Cyber-Physical Systems

Compositionality in system design: interfaces everywhere! UC Berkeley

RAMSES. Refinement of AADL Models for the Synthesis of Embedded Systems. Etienne Borde

AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel. Alexander Züpke, Marc Bommert, Daniel Lohmann

Update on Behavior Language for Embedded Systems with Software for Proof Based Analysis of Behavior

Impact of Runtime Architectures on Control System Stability

Complexity-Reducing Design Patterns for Cyber-Physical Systems. DARPA META Project. AADL Standards Meeting January 2011 Steven P.

Certification Authorities Software Team (CAST) Position Paper CAST-25

Involved subjects in this presentation Security and safety in real-time embedded systems Architectural description, AADL Partitioned architectures

Synchronous design of avionic applications based on model refinements

Predictable Timing of Cyber-Physical Systems Future Research Challenges

TOPCASED. Current status

Generating Multi-Threaded code from Polychronous Specifications

Distributed IMA with TTEthernet

Applied Formal Methods - From CSP to Executable Hybrid Specifications

Workshop 1: Specification for SystemC-AADL interoperability

Model Verification: Return of experience

Polychronous Design of Embedded Real-Time Applications

Using UML as Front-end for Heterogeneous Software Code Generation Strategies

Applying UML Modeling and MDA to Real-Time Software Development

Synchronous Kahn Networks (ten years later)

Event B Development of a Synchronous AADL Scheduler

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.

The AADL Behavioural annex 1

POK. An ARINC653-compliant operating system released under the BSD licence. Julien Delange, European Space Agency

Specifications Part 1

AADL Requirements Annex Review

An Information Model for High-Integrity Real Time Systems

OMEGA2. Profile & tools for system modelling and verification with UML 2.x & SysML. Iulian OBER, Iulia DRAGOMIR IRIT / University of Toulouse

SAE Architecture Analysis and Design Language. AS-2C AADL Subcommittee Meeting Feb 3-6, 2014 Toulouse, France

Virtual prototyping AADL architectures in a polychronous model of computation

Introducing Simulation and Model Animation in the MDE Topcased 1 Toolkit

Transcription:

System-level co-modeling AADL and Simulink specifications using Polychrony (and Syndex) AADL Standards Meeting June 6., 2011 Jean-Pierre Talpin, INRIA Parts of this presentation are joint work with Paul, Thierry, Loïc, Huafeng, Yue (INRIA Espresso), Julien, Sandeep (VT), Dumitru, Yves, Robert (INRIA Aoste), Marc, Frédéric (N7), Martin, Mamoun (IRIT) and partly funded by the ITEA2 project OPEES, Artemisia project CESAR and the Polycore associate project.

Motivation CATIA Nastran Simulink Scade Rhapsody Heterogeneity of skills, teams, tools, methods CAN Flexray ARINC 653 AADL Profiling Energy

Motivation CATIA Nastran Simulink Scade Rhapsody analyse verify test co-modeling CAN Flexray ARINC 653 AADL Profiling Energy map simulate

Motivation Simulink analyse verify test co-modeling AADL map simulate

Case study of a airplane doors control system Simulink AADL Functional specification Structural specification A suitable GALS model of computation Simulation, verification, performance evaluation, scheduling, distribution ACM SAC 11 Artemisa project CESAR

Asynchrony, synchrony, polychrony A architecture models AADL diagrams (or UML, SysML, MARTE) Kahn process networks, CCS, CSP,

Synchrony Synchronous behavior models Elements of Simulink (or Geneauto, Scade, Ptolemy) Synchronous data-flow, SCCS,

From synchrony to asynchrony Polychrony Signal (or RT-Builder, CCSL, MRICDF) and Syndex (for allocation and real-time scheduling) 1. specification

From synchrony to asynchrony Polychrony Signal (or RT-Builder, CCSL, MRICDF) and Syndex (for allocation and real-time scheduling) 2. analysis 1. specification

From synchrony to asynchrony Polychrony Signal (or RT-Builder, CCSL, MRICDF) and Syndex (for allocation and real-time scheduling) 2. analysis 3. synthesis 1. specification

Methodology A polychronous network Globally a implementation of a composition of s preserving functional correctness

Polychrony T a a b c = a default b T c c T b T c = T a U T b Globally a implementation of a composition of s with multiple clocks preserving functional correctness

Polychrony T a a b c = a default b T c c T b T c = T a U T b Globally a implementation of a dataflow network (merge) of s with multiple clocks preserving functional correctness

Polychrony T a a b c = a when b T c c T b T c = T a Globally a implementation of a dataflow network (sampling) of s with multiple clocks preserving functional correctness U T b

Methodology Timing refinement Communication refinement Globally a implementation of - latency insensitive - scheduling independent s

Methodology Co-modeling Architecture exploration

Case study of the A350 Outline doors management system System-level model of the Doors and Slides Control System (SDSCS) Function Monitor doors status via sensors Control flight lock actuators Manage the residual pressure Inhibit incorrect cabin pressure A safety-critical system High-level modeling Early validation & verification Architecture exploration

SDSCS functional model (Simulink/Geneauto) Simulink Matlab Simulink and Stateflow, a popular high-level modeling language Gene-Auto A safe subset of Simulink/ Stateflow Logical time and synchronized data-flow A transformation tool-chain with Polychrony

SDSCS architecture model (AADL/Osate) AADL An SAE standard for high-level, component-based, architecture modeling : application software, execution platform, composites ARINC-653 An API for avionic software supporting the partitioned IMA approach A transformation tool-chain with Polychrony

SDSCS simulation model Additional models for open system simulation A simple, non-preemptive, static scheduler Time intervals are abstracted Simulation clocks Reference clocks Period clocks (periodic threads) VCD interface - Global simulation clock, interactive and of offline modes

Scheduling and distribution with Syndex Algorithm Architecture Syndex Algorithm, architecture, and adequation Scheduling analysis and heuristic for adequation Automatic code distribution Processor-level scheduling and communication, synchronization, Mapping

Conclusion and perspectives Conclusion System-level co-modeling with AADL and Simulink/Gene-Auto Polychrony as a pivot model-transformation platform Formal polychronous model Automatic model transformations Interoperability between tools Simulation with VCD and profiling/scheduling with Syndex Perspective Scheduler synthesis/decompilation with Syndex or RTOS scheduling Architecture exploration (performance, energy,...) Formal verification, control synthesis, fault modeling and analysis Automatic test case generation

Tools and applications SME, a modeling environment and open-source Eclipse front-end for Polychrony A unified model of computation for architecture exploration of integrated modular avionics Data-flow for computation Mode automata for control Libraries for services Model-checking Controller synthesis An eclipse interactive interface Open import functionalities High-level visual editor Analysis and transformation visualization and traceability Component of the OpenEmbeDD platform and CESAR RTP v1.0

Tools and applications RT-Builder (Geensoft) Real-time, hardware in-the-loop, simulation of electronic equipments

Polychrony toolbox Design Simulink/Gene-Auto Functional model AADL architectural model Fiacre XML model Analysis SME model SME Eclipse Platform Java, Kermeta, ATL Toolbox Signal Library for AADL Scheduling Sigali SIGNAL process SIGNAL Toolbox Compilation Code distribution Syndex C communication library C,C++ GCC Simulation Test cases Binaries VCD files