Concept Presentation. MAENAD Analysis Workbench

Similar documents
Tooling with EAST-ADL : Overview Q3 Tooling with EAST-ADL

MAENAD Analysis Workbench

EATOP: An EAST-ADL Tool Platform for Eclipse

Report name Case study analysis and safety assessment

Deliverable D5.1.1 MAENAD Modeling Workbench

MAENAD Modeling Workbench

MAEANAD Modeling Workbench

Model-based Analysis & Engineering of Novel Architectures for Dependable Electric Vehicles

SystemWeaver for EAST-ADL. Concept Presentation 2013

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

ATESST2 D4.2.1 Grant Agreement

Eclipse Automotive Working Group

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

Architecture Modeling in embedded systems

EAXML Demonstration Platform on Artop/Sphinx.

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Dominique Blouin Etienne Borde

AUTOSAR Software Design with PREEvision

AUTOSAR Method. Webinar

Model-based Analysis & Engineering of Novel Architectures for Dependable Electric Vehicles

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

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

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Platform modeling and allocation

Semantics-Based Integration of Embedded Systems Models

SIMPLIFYING COMPLEX EMBEDDED DEVELOPMENT PROCESSES WITH MBEDDR

Lightweight introduction of EAST-ADL2 in an automotive software product line

Investigating Model Transformation Technology For Architecture Description Languages

MDD with OMG Standards MOF, OCL, QVT & Graph Transformations

CISC836: Models in Software Development: Methods, Techniques and Tools

ASAM-MCD-2 NET (FIBEX)

TIMMO WP2 TADL Timing Augmented Description Language Open Workshop Hans Blom Volvo Technology Corporation

Model driven Engineering & Model driven Architecture

CHESS Toolset User Guide

USING PAPYRUS IN A DESIGN SPACE EXPLORATION TOOLCHAIN CURRENT DEVELOPMENTS AT FLANDERS MAKE

Institut für Informatik

A MDD Methodology for Specification of Embedded Systems and Automatic Generation of Fast Configurable and Executable Performance Models

Using AADL in Model Driven Development. Katholieke Universiteit Leuven Belgium

Introduction to Dependable Systems: Meta-modeling and modeldriven

An Approach for Execution of MARTE-based Application Models

From MDD back to basic: Building DRE systems

Dominique Blouin Etienne Borde

Determination of Real-Time Network Configuration for Self-Adaptive Automotive Systems

The AUTOSAR Timing Model --- Status and Challenges. Dr. Kai Richter Symtavision GmbH, Germany

SW-C Description. AUTOSAR SW-C n SW-C 3. Virtual Functional Bus. Deployment tools ECU2 AUTOSAR SW-C 3 AUTOSAR SW-C 2 AUTOSAR SW-C 1 RTE

PAPYRUS TOOL SUPPORT FOR FMI

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

Comparing graphical DSL editors

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Eclipse-based Embedded Engineering Environments Inspired by AUTOSAR

A Model-based approach for the synthesis of software to firmware adapters for use with autogenerated components.

Generating Industry Standards Production C Code Using Embedded Coder

Applying Model Intelligence Frameworks for Deployment Problem in Real-Time and Embedded Systems

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

Simulink for AUTOSAR: Best Practices

PROYECTO FIN DE GRADO

UML 2.0 State Machines

An MDE-based approach for reconfigurable DRE systems

RTA-BSW v3.0.0 RTA-BSW Getting Started Guide Status: Release

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

TERRA support for architecture modeling. K.J. (Karim) Kok. MSc Report. C e Dr.ir. J.F. Broenink Z. Lu, MSc Prof.dr.ir. A. Rensink.

Applying Model Driven Technologies in the Creation. of Domain Specific Modeling Languages

UML, SysML and MARTE in Use, a High Level Methodology for Real-time and Embedded Systems

Component Design. Systems Engineering BSc Course. Budapest University of Technology and Economics Department of Measurement and Information Systems

Transformation of the system sequence diagram to an interface navigation diagram

Grant Agreement Model-based Analysis & Engineering of Novel Architectures for Dependable Electric Vehicles

An Eclipse-based Environment for Programming and Using Service-Oriented Grid

Whole Platform Foundation. The Long Way Toward Language Oriented Programming

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

Enabling Model-Based Development of Distributed Embedded Systems on Open Source and Free Tools

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

PREEvision Technical Article

Modeling and Assessment of Safety Critical Systems

Developing Dependable Automotive Embedded Systems using the EAST-ADL

D2.3 Analysis and back-propagation of properties for multicore systems - Initial Version

Orccad, a Model Driven Architecture and Environment for Real-Time Control. Soraya Arias Florine Boudin Roger Pissard-Gibollet Daniel Simon

SystemDesk - EB tresos Studio - TargetLink Workflow Descriptions

Introduction to MDE and Model Transformation

10 th AUTOSAR Open Conference

(Meta)Models between MetaEdit+

Getting Started with Papyrus for RealTime v0.9

COMPLEX EMBEDDED SYSTEMS

AUTOMATIC FUNCTIONALITY ASSIGNMENT TO AUTOSAR MULTICORE DISTRIBUTED ARCHITECTURES

Toolchain for Network Synthesis. Alex Malfatti, Davide Quaglia

Introduction To Model-to-Model Transformation

The PISA Project A Model Driven Development case study

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

10 th AUTOSAR Open Conference

Christian Doppler Laboratory

Design of embedded mixed-criticality CONTRol systems under consideration of EXtra-functional properties

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

MODELLING COMPOSITIONS OF MODULAR EMBEDDED SOFTWARE PRODUCT LINES

A specification proposed by JASPAR has been adopted for AUTOSAR.

Workpackage 15: DBE Business Modeling Language. Deliverable D15.5: BML Editor Final Release

Handling Variability

RT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering

1 Overview. 1 Overview. Contents. 1.1 Table of Contents Table of Contents

GMF Tooling 3.0 Vision, Architecture, Roadmap

with openarchitectureware

Transcription:

Concept Presentation MAENAD Analysis Workbench

Outline, tooling with EAST-ADL MAENAD Modeling Workbench EAST-ADL profile, implemented in Eclipse/Papyrus UML MAENAD Analysis Workbench Eclipse plugins for use with MAENAD Modeling workbench Other EAST-ADL implementations System Weaver MetaEdit + ARTOP 2011 Q3 MAENAD Analysis Workbench 2

MAENAD Analysis Workbench (MAW) Primarily targeted at MAENAD Modeling Workbench Using the EAXML exchange tool, other tools could be used as well Consist of: Features and Variability in CVM (developed by TU-Berlin) Simulink gateway (KTH) Safety analysis with HiP-HOPS (KTH, University of Hull) AUTOSAR gateway (CEA/Edona) Functional Mock-up Unit (FMU) import (VTEC) Timing Analysis with MAST (CEA/Edona) 2011 Q3 MAENAD Analysis Workbench 3

Feature/Variability plugin Provide support for the management of featureoriented modelling at vehicle level and vehicle configuration support on to the artefact level Tool is twofold: Compositional Variability Management, CVM feature modelling editor Bridge with EAST-ADL Papyrus 2011 Q3 MAENAD Analysis Workbench 4

Two Levels of Variability Variability on the vehicle level: Very abstract; no design/implementation details. Distinction of customer vs. technical perspective. Modeling means: only Feature Modeling. Vehicle Level Variability on the artifact level : Variability of the actual requirements, design, etc. Only technical perspective. Modeling means: Feature Modeling + Variation Points inside FAA/FDA FDA FAA HDA 2011 Q3 MAENAD Analysis Workbench 5

Feature Models Feature Model Cardinality-based feature models (cf. Czarnecki et al.) with some modifications (e.g. 1+ root features per model) Configuration (of a Feature Model) parameterized features (a.k.a. feature attributes) instances for cloned features (subtrees of instances can be configured separately) 2011 Q3 MAENAD Analysis Workbench 6

2011 Q3 MAENAD Analysis Workbench 7

Functional Mock-up Unit import l The Modelisar project has defined Function Mockup Units to exchange and integrate simulation blocks from different modeling tools. l Modelisar supports Vehicle Functional Mock-up, a next generation of methods, standards and tools to support collaborative design, simulation and test of systems and embedded software. 2011 Q3 MAENAD Analysis Workbench 8

Functional Mock-up Unit import There is an Eclipse plugin that imports the Function Mockup Unit specification, called Function Mockup Interface (FMI). The Function Mockup Interface defines the input and output variables of each unit and also the data types of these variables. Based on this information, an AnalysisFunctionType with the corresponding interface is defined in EAXML. 2011 Q3 MAENAD Analysis Workbench 9

Simulink gateway EAST-ADL Profile + UML Metamodel conforms to Simulink Ecore Metamodel conforms to l Goal: enable import/ export from Simulink models l Enable import/ export from Simulink models EAST- ADL Model M2M Trafo Simulink Ecore Model Simulink API Simulink File Step 1: Model to Model Transformation Using ATL Step 2: Using MATLAB/ Simulink API and JAVA to access Simulink models 2011 Q3 MAENAD Analysis Workbench 10

Content of Plant modelling l Example case study: ABS modelled in Simulink 2011 Q3 MAENAD Analysis Workbench 11

A Simulink model, structured using subsystems 2011 Q3 MAENAD Analysis Workbench 12

Basic mapping EAST-ADL AnalysisFunctionType AnalysisFunctionPrototype Port Connector Simulink Library block Reference block Port Line 2011 Q3 MAENAD Analysis Workbench 13

AUTOSAR gateway Vehicle level Analysis level Design level EAST-ADL Vehicle feature model Analysis architecture model Design architecture model Functional design architecture Middleware architecture Hardware design architecture l Updated from ATESS2 and EDONA (French System@tic cluster) results The refinement activity between EAST- ADL and AUTOSAR is: l Tedious and Repetitive l Error prone l Time consuming AUTOSAR Implem. level Oper. level Implementation model Operational model EAST-ADL to AUTOSAR Gateway l Uneasy as it is necessary to manage AUTOSAR consistency and to make mapping (function / software) choice at the same time l Automated mapping taking into account allocation constraints and hardware architecture. 2011 Q3 MAENAD Analysis Workbench 14

Transformation: overview Design Design architecture model Level Functional design architecture Middleware architecture Hardware design architecture EAST-ADL to AUTOSAR Gateway SW-Component AUTOSAR Interface Design architecture model Application layer SW-Component 1 AUTOSAR SW-Component 2 AUTOSAR... SW-Component n AUTOSAR Interface Interface Interface l Current state of the component: Covers the functional design architecture (FDA) to initiate the AUTOSAR software architecture (SWC in particular) Mapping choices follow allocation scheme defined in the model Runtime environment (RTE) Basic software (BSW) Microcontroller abstraction ECU-Hardware 2011 Q3 MAENAD Analysis Workbench 15

Transformation: Mapping strategies Function SW-C : Controller SW-C : Controller SW-C : Controller Runnable : Controller Runnable : Controller Runnable : Controller M1 mapping strategy Each elementary function in the EAST-ADL model in transformed distinct AUTOSAR software component with a single runnable. Non-elementary functions are converted into AUTOSAR composition. Elementary function SW-C : ABS Runnable : SpdCalc Runnable : Controller Runnable : Hold M2 mapping strategy Non-elementary functions are converted into AUTOSAR software component and the contained elementary functions are mapped to runnables. l Various transformation strategies can be used to transform the functional architecture into software component architecture l These mapping strategies have been evaluated, yet to allow the best flexibility, the transformation was adapted to follow the allocation scheme modeled (ie. Using allocation constraint) 2011 Q3 MAENAD Analysis Workbench 16

Safety analysis plugin EAST-ADL Profile + UML Metamodel HiPHOPS Ecore Metamodel aligned HiPHOPS EBNF conforms to conforms to conforms to EAST-ADL Model M2M Trafo HiPHOPS Ecore Model M2M Trafo HiPHOPS Input File l Enable safety analysis with HipHOPS engine 2011 Q3 MAENAD Analysis Workbench 17

Optimization in HiP-HOPS Papyrus Model, Variants Failure data HiP-HOPS parser analysis Genetic Algorithm Designer provides a system design in EAST-ADL, elements (functions/components) of which can be implemented by variants Error models and costs of these variants are given. Set of Models representing optimal tradeoffs pareto front Objectives of the optimization and constraints are defined HiP-HOPS performs automatic optimisation via selection and application of variants in the architecture and returns a set of Pareto Optimal Designs 2011 Q3 MAENAD Analysis Workbench 18

Design solutions returned by HiP-HOPS Constraint: Reliability > X Designer selects trade-off that best meets criteria Constraint: Cost < Y Cost 2011 Q3 MAENAD Analysis Workbench 19

Timing analysis l Perform timing analysis at Design level based on timing assumptions captured through MARTE timing constructs annotations OS abstraction (tasks, channels for communication) End-to-end flows l Currently being adapted for MAENAD from previous project results. ptimum 2011 Q3 20 20

Summary of our Design Principles l Using Component Models for modeling automotive applications MARTE (EAST-ADL) Component Models MARTE (EAST-ADL) Internal Behavior Models l Using Workload Behaviors of MARTE to capture the behavior of that part of the system we need to analyze under possibly different workloads l Using the Allocation model of MARTE to bind PMI elements on Platform elements. Many alternatives are possible and worth to be explored l Selecting a small set of MARTE elements to feed existing scheduling (& simulation) analysis tools 2011 Q3 MAENAD Analysis Workbench 21

Design Flow for Model Evaluation c1 c2 Components View event event r1 r2 r1 End-to-end Flows Scheduling Analysis r1 r2 r3 c1 c1 c2 Performance Analysis Component Internal Behaviour PIM Os t1 Os t2 p1 p2 bus p1 p2 bus Allocation Evaluation 2011 Q3 Platform Model 22

UML+MARTE end-to-end flows e1 r1 End-to-end Flow e2 r1 r2 r1 r3 UML Package Marte stereotype GaWorkloadBehavior UML Activity Diagram Marte stereotype saendtoendflow UML CallOperationAction Marte stereotype SaStep exectime host (scheduler) deadline Marte stereotype Allocated allocatedto e3 r1 r1 UML accepteventaction Marte stereotype GaWorkLoadEvent pattern End-to-end flows 2011 Q3 23

UML+MARTE Allocation c1 c2 UML Composite Marte stereotype saanalysiscontext workload platform UML Abstraction Link Marte stereotype allocate Os t1 p1 Os t2 UML Property Marte stereotype schedulableresource priority host Marte stereotype allocated allocatedto UML Property Marte stereotype saexechost schedpolicy speedfactor Marte stereotype allocated allocatedfrom 2011 Q3 24

Tool Modules Before converting it verifies that the MARTE model is well formed The return of results in the original model is not yet implemented 2011 Q3 MAENAD Analysis Workbench 25

Tool Technology Infrastructure Papyrus MARTE Modeling Support ptimum UML MARTE (profile + EAST-ADL (profile) + palette) MARTE ATL Transformations Output Files SymTA RT MAST - Druid /S NFPs Edition (VSL Parser ) Modelling rules Rules ( Constraints ) Constraints, Cheet Sheets XMI Analysis Kernel Core Sched. Analysis plugin RT SymTA Plugin - Druid /S MAST Plugin RT-Druid SymTA/S SAM To MAST SymTA RT - Druid /S Plugin SymTA MAST /S XML Analysis Results GUI Input Manager Output Manager Papyrus UML Annotated XMI 2011 Q3 MAENAD Analysis Workbench 26

Conclusion on Timing analysis l The chosen design method and tool is generic. Various entry languages could be used (here EAST-ADL, but others could also be used). l The end-to-end flow modeling rests upon MARTE constructs. Identifying a clear mapping and possible lacks between MARTE/ EAST-ADL has been undertaken. End goal is to have a MARTEbased implementation of EAST-ADL 2011 Q3 MAENAD Analysis Workbench 27

Summary MAENAD Analysis Workbench consists of: Features and Variability in CVM (developed by TU-Berlin) Simulink gateway (KTH) Safety analysis with HiP-HOPS (KTH, University of Hull) AUTOSAR gateway (CEA/Edona) Functional Mock-up Unit (FMU) import (VTEC) Timing Analysis with MAST (CEA/Edona) More to be developed during the MAENAD project Modelica/ModelicaML exchange Architecture optimization and configuration EAXML exchange 2011 Q3 MAENAD Analysis Workbench 28