+ All Categories
Home > Software > Towards a metamodel for the Rubus Component Model

Towards a metamodel for the Rubus Component Model

Date post: 17-Dec-2014
Category:
Upload: alessio-bucaioni
View: 43 times
Download: 0 times
Share this document with a friend
Description:
Presentation of speech at ModComp, MODELS 2014, held in Valencia, Spain. ICONS CREDITS Magnifying Glass by Edward Boatman from The Noun Project Time by Wayne Middleton from The Noun Project Puzzle by Agarunov Oktay-Abraham from The Noun Project Gears by Eugen Belyakoff from The Noun Project
26
Towards a metamodel for the Rubus Component Model Alessio Bucaioni , Antonio Cicchetti and Mikael Sjödin Arcticus Systems
Transcript
Page 1: Towards a metamodel for the Rubus Component Model

Towards a metamodel for the Rubus Component Model Alessio Bucaioni, Antonio Cicchetti and Mikael Sjödin

Arcticus Systems

Page 2: Towards a metamodel for the Rubus Component Model

Motivations (i)

More than: 70 embedded systems 100s ECUs 100 million lines of code

past present

Page 3: Towards a metamodel for the Rubus Component Model

Motivations (i)

Complex = distributed + embedded + real time + safety critical

Page 4: Towards a metamodel for the Rubus Component Model

Motivations (ii)

time-to-market development costs

SEAMLESS SOFTWARE DEVELOPMENT CHAIN

Page 5: Towards a metamodel for the Rubus Component Model

CBSE

Develops the system at higher level of abstraction

Promotes the re-use of components

Annotates components, at design time, with real-time properties and constraints

Enables pre-run-time analysis, e.g., end-to-end response time and delay analysis

Page 6: Towards a metamodel for the Rubus Component Model

EAST-ADL based development approach

Vehicle level

Analysis level

Design level

Standardized the terminology Promoted separation of concerns (top-down) Makes use of CMs at the implementation level AUTOSAR, RCM Implementation level

Page 7: Towards a metamodel for the Rubus Component Model

EAST-ADL

Vehicle level

Analysis level

Design level

Standardized the terminology Promoted separation of concerns (top-down) Makes use of CMs at the implementation level AUTOSAR Implementation level

What about the seamless development chain? (Interoperability, Information management and Traceability)

Page 8: Towards a metamodel for the Rubus Component Model

Intuition (i)

exploit the crossplay of MDE and CBSE for realizing a seamless chain for modeling software for vehicular embedded systems

Page 9: Towards a metamodel for the Rubus Component Model

Intuition (ii)

metamodels definition of all the technologies used along the software development 1

Page 10: Towards a metamodel for the Rubus Component Model

Intuition (ii)

RCM metamodel

metamodels definition of all the technologies used along the software development 1

Page 11: Towards a metamodel for the Rubus Component Model

Intuition (ii)

RCM metamodel

metamodels definition of all the technologies used along the software development 1model transformations among those technologies 2

Page 12: Towards a metamodel for the Rubus Component Model

Intuition (ii)

RCM metamodel

RCM2AUTOSAR transformation

metamodels definition of all the technologies used along the software development 1model transformations among those technologies 2

Page 13: Towards a metamodel for the Rubus Component Model

Background – RUBUS Concept

Based around the RCM and Rubus-ICE Collection of methods, theories and tools for component based development of resource-constrained embedded real-time systems.

Rubus Analysis Framework

Rubus Code Generator and Run-Time System  

Rubus SIMulation Model (RSIM)  

Rubus Execution Platform  

Page 14: Towards a metamodel for the Rubus Component Model

Background – RCM

Fig.1. Single-node real time system

Page 15: Towards a metamodel for the Rubus Component Model

RCM metamodel (i)

68 Eclass(es) 81 Ereference(s) realized in Ecore

Page 16: Towards a metamodel for the Rubus Component Model

RCM metamodel (ii)

Fig.2. Metamodel backbone fragment

Page 17: Towards a metamodel for the Rubus Component Model

RCM metamodel (iii)

Fig.3. Metamodel data elements fragment

Page 18: Towards a metamodel for the Rubus Component Model

RCM metamodel (iv)

Fig.4. Metamodel control elements fragment

Page 19: Towards a metamodel for the Rubus Component Model

RCM2AUTOSAR transformation (i) 1: new VirtualFunctionBus V FB;!2: for each Circuit c in a Target t do!3: ! !switch c:name do!4: ! ! !case (1) //c.name ends in Sensor!5: ! ! ! !new SensorSoftwareComponent sc;!6: ! ! ! !sc:name = c:name;!7: ! ! !case (2) //c.name ends in Actuator!8: ! ! ! !new ActuatorSoftwareComponent sc;!9: ! ! ! !sc:name = c:name;!10: ! !case (default)!11:! ! ! !new SoftwareComponent sc;!12: ! ! !sc:name = c:name;!13: !for each Interface i in c do!14: ! !for each PortDataIn di in i do!15: ! ! !new RequiredPortClientServer rp;!16:! ! ! !rp:name = di:name;!17: ! !end for!18: ! !for each PortDataOut do in i do!19: ! ! !new ProvidedPortClientServer pp;!20: ! ! !pp:name = do:name;!21: ! ! !pp:receiver = do:dataOutToDataIn;!22: ! !end for!23: !end for!24: end for!

Page 20: Towards a metamodel for the Rubus Component Model

RCM2AUTOSAR transformation (ii)

Fig.5. RCM model serialization

Fig.6. AUTOSAR model serialization

Page 21: Towards a metamodel for the Rubus Component Model

Conclusions We proposed the adoption of a methodology exploiting the crossplay of MDE and CBSE and took initial steps towards the realization of the aforesaid chain. We:

motivated the usage of RCM within the vehicular domain formalized a metamodel based on RCM presented the RCM2AUTOSAR model transformation

The metamodel serves as base for embracing the MDE vision, but it also aims in restoring the separation of concerns lost during the evolution of RCM The RCM2AUTOSAR transformation outlines the potential benefits gained in having a proper metamodel for RCM, in terms of automation, interoperability and traceability

Page 22: Towards a metamodel for the Rubus Component Model

Future works

Investigate further metamodel refinements targeting the enhancement of vehicular tool chaining while preserving the current expressive power

Identify additional languages used along the software development with the aim of

formalizing their metamodels and hence enable model transformations for

supporting a more extensive tool chain

Page 23: Towards a metamodel for the Rubus Component Model

Thank you ! …questions?

Page 24: Towards a metamodel for the Rubus Component Model

Background – EAST-ADL

Vehicle level

Analysis level

Design level

Implementation level

What the system is supposed to do. Feature models, requirements.

Formal notations. Behaviors and interfaces.

Software, middleware abstraction and hardware architecture. Software functions to hardware allocation is expressed.

Complete software architecture used for the code synthesis. AUTOSAR, RCM.

Page 25: Towards a metamodel for the Rubus Component Model

Related works - AUTOSAR

Software Components (SWCs) and Virtual Function Bus (VFB) VFB handles the virtual integration and communication hiding details

No

ability to specify and handle detailed timing information at design time distinction between data and control flow distinction between inter and intra node communication

Page 26: Towards a metamodel for the Rubus Component Model

Related works – TIMMO and TIMMO-2-USE

TIMMO tries to provide a timing model to AUTOSAR defines a language, TADL, for expressing timing requirements and constraints. has no concrete industrial implementation

TIMMO-2-USE

follows-up on the TIMMO project redefines TADL

There is no focus in these initiatives on how to extract low level and timing information from the model or perform timing analysis or synthesize the run-time framework


Recommended