25
www.into-cps.au.dk INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems Alessandra Bagnato SOFTEAM R&D

INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems - paris open source summit 2015- alessandra bagnato

Embed Size (px)

Citation preview

Page 1: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

www.into-cps.au.dk

INTO-CPS: An integrated “tool chain” for comprehensive Model-Based

Design of Cyber-Physical Systems

Alessandra BagnatoSOFTEAM R&D

Page 2: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• SOFTEAM (ST), a growing company– 25+ Years experience– 840 experts – Regular growth

2

SOFTEAM

• Specialist in OO technologies, new architectures, methodologies

21,5 ME

2007

20 ME17,5 ME

23 ME

200820062005

...

2015

80 ME

Paris

Rennes

Nantes

Aix

Sophia

Toulouse

Page 3: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• UML editor with 20 years’ history– SysML, MARTE,

BPMN– Code generation– Documentation– Available under

open source at Modelio.org

3

Modelio for System Engineering

www.modelio.org

Modelio 3

Page 4: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• Modelling with UML, SysML and BPMN

• Requirements Modeling

• Tabular editors

• Import/export MS Excel & Word

• Embedded Systems modelling via MARTE

• Traceability Editor

• Impact Analysis

• Document Generation

• Support for Collaborative activities (Constellation,

SVN)

• Automatic diagrams creation

• Customisable, interfaces to external tools

4

Modelio System Architect Solution Dedicated to System architects modelling with SysML, UML or BPMN and

carrying out Requirements based analysis

TraceabilityEditor

DedicatedSysML editor

Page 5: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 5

Cyber-Physical Challenges

Agricultural Logistics

Smarter Building Design

• Models of large-scale, open, diverse data integration

• … coupled with models of physics• Need to model learning behaviour • Possible integration of models of

human behaviour

• Need to model control and planning/re-planning

• Models of locality and mobility• Real-time behaviour modelling• Domain-specific reference models

Page 6: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

www.into-cps.org

INTO-CPS: A new 8 M€ H2020 Project

6

Page 7: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

1. Build an open, well-founded tool chain for multidisciplinary model-based design of CPS that covers the full development life cycle of CPS

2. Provide a sound semantic basis for the tool chain

3. Provide practical methods in the form of guidelines and patterns that support the tool chain

4. Demonstrate in an industrial setting the effectiveness of the methods and tools in a variety of application domains.

5. Form an INTO-CPS Association to ensure that project results extend beyond the life of the project

7

INTO CPS Objectives

Page 8: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 8

INTO-CPS

Page 9: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 9

CPS co-modelling

shared network

shared computing

co-simulation (MiL)environment

model

models of cyber elements models of physical elements

real code real plant

code generation realisation

laboratory testing

SiL HiL

co-m

od

el

architecture models

stub model generation

requirements

test automation

automated co-model analysisdesign space exploration

model checking

analysis p

lug-in

s

[email protected]

Page 10: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 10

Tools

Page 11: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 11

Agriculture

Automotive

Railways

Building Automation

Conventional Inter-crop

cropcleaned soil

Page 12: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• Modern systems are complex

• To cope with this, we can build models beforehand– To perform analysis (e.g. static analysis, proof, model

checking, simulation)– Clarify our assumptions– Evaluate potential designs– Avoid expensive prototypes

• Different modelling paradigms for different aspects

12

Model-driven Design

Page 13: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 13

The Initial INTO-CPS Vision

Page 14: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• SysML– Use Case diagrams– Requirements diagrams

• Informal (link and traceable)• Formal (LTL, Test automation)

14

Requirements Modelling

uc Line following robot

Line following Robot

Controller

Line

Motors

Sensors

Read optical

sensor values

Adjust motor

control signals

Measure optical

reflection

«include»

Encoders Wheels

Read encoder

ticks

Measure

encoder ticks

«include»

req FaultModelling

Model faulty behaviour

in the sensors

Id=s1

«requirement»

faultyBehaviour

Model ambient light

as noise in the optical

sensors

Id=s1.1

«requirement»

ambientLight

Model AD conversion

erros in the LSB’s of the

optical sensor readings

Id=s1.2

«requirement»

conversionError

Model malfunctioning

sensors that continuously

reads the same value

Id=s1.3

«requirement»

sensorMalfunction

Model ambient light

as noise in the optical

sensors

Id=s1.1

«requirement»

ambientLight

«block»

SensorRight«satisfy»

Page 15: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 15

The Initial INTO-CPS Vision

Page 16: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• Block Definition Diagram (top level)

16

System Decomposition

bdd Line following robot

«block»

Robot

«block»

Controller

«block»

SensorLeft

«block»

SensorRight

«block»

WheelLeft

«block»

WheelRight

«block»

LineFollowingRobot

«block»

Environment

«block»

Line

«block»

Body

«block»

EncoderLeft

«block»

EncoderRight

«block»

MotorLeft

«block»

MotorRight

Page 17: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 17

System Interface Modelling• Internal Block Diagram

– Divide into CT/DE constituent models/systems/components– Define interfaces between different components

ibd Robot

«block»

Controller

«block»

MotorLeft

«block»

WheelLeft

«block»

EncoderLeft

«block»

SensorLeft

«block»

MotorRight

«block»

WheelRight

«block»

EncoderRight

«block»

SensorRight

«block»

Body

motorSignalL:real

encoderSignalL:real encoderSignalR:real

motorSignalR:real

rotationL:rad/s rotationR:rad/s

toWhellRtoWheelL toBodyRtoBodyL

sensorSignalR:realsensorSignalL:real

ibd Environment

«block»

Line

robotPosition:real[2,1] opticalReflectionR:realopticalReflectionL:real

Page 18: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• Parametric Diagram– Define continuous behaviour of CT components

• State Machines (DE models generated for tests)– Define discrete behaviour of DE components

18

System Behaviour

par Robot

totalForce:N

forceL

forceR

forceR:N

forceR

forceL:N

forceL

genForceLrxForceL

rxForceRgenForceR

rxForceL:N

rxForceL

forceR

rxForceR:N

rxForceR

forceL

genForceL

genForceR

bdd Constraints

«block»

Robot

parameters

totalForce:N

forceL:N

forceR:N

constraints

{totalForce=forceL+forceR}

«constraint»

TotalForce

parameters

forceL:N

genForceL:N

rxForceL:N

constraints

{forceL=genForceL+rxForceL}

«constraint»

ForceLeft

parameters

forceR:N

genForceR:N

rxForceR:N

constraints

{forceR=genForceR+rxForceR}

«constraint»

ForceRight

parameters

rxForceL:N

forceR:N

constraints

{rxForceL=forceR}

«constraint»

RxForceLeft

parameters

rxForceR:N

forceL:N

constraints

{rxForceR=forceL}

«constraint»

RxForceRight

Page 19: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 19

INTO-CPS Diagrams and INTO-CPS Blocks

Page 20: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected] 20

Modelio for INTO-CPS (1/3)

ArchitectureDiagram

Page 21: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

21

Modelio for INTO-CPS (2/3)

ConnectionDiagram

Page 22: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

22

Modelio for INTO-CPS (3/3)

ModelioINTO-CPSmodule

Page 23: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

[email protected]

• AGCO, Denmark

• Alcatel-Lucent, Ireland

• Almende, Netherlands

• Altran, UK

• Bachmann electronic, Netherlands

• Bakker Sliedrecht Electro Industrie, Netherlands

• Carrier, France

• CeTIM, Netherlands

• Chemring TS, UK

• Conpleks Innovation, Denmark

• Dredging International, Belgium

• DSTL, UK

• Goodrich, UK

• Grundfos, Denmark

23

Initial Industrial Follower Group

• GN Resound, Denmark

• HMF, Denmark

• Huisman Equipment, Netherlands

• Irmato Industrial Solutions, Netherlands

• Jaguar Land Rover, UK

• National Institute of Informatics, Japan

• ONERA, France

• Rockwell-Collins, France

• Rolls-Royce, UK

• Seluxit, Denmark

• Siemens, Sweden

• Terma, Denmark:

• Thales, France

• UTC Aerospace Systems, UK

• West Consulting, Netherlands

Page 24: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

Contacts

Alessandra Bagnato, SOFTEAM

[email protected]

Modelio Web Site :

http://www.modelio.org

http://forge.modelio.org/projects/intocps

INTO-CPS Web Site http://into-cps.au.dk/

@https://twitter.com/IntoCps

https://github.com/into-cps

24

IT Services / UML Tools

Research

Management

Standardization

MONDO Project, a scalable modeling and model management on the Cloud

Page 25: INTO-CPS: An integrated “tool chain” for comprehensive Model-Based Design of Cyber-Physical Systems  - paris open source summit 2015- alessandra bagnato

www.into-cps.au.dk

Thanks!

25