safe architecture for robust distributed application integration … · 2020. 1. 27. · ta-2 &...

25
CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 SAFE architecture for Robust distributed Application Integration in roLling Stock 2 © CONNECTA-2 & Safe4RAIL-2 The projects CONNECTA-2 and Safe4RAIL-2 have received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 826098 (CONNECTA-2) and No. 826073 (Safe4RAIL-2) respectively. The information and views set out in this document are those of the author(s) and do not necessarily reflect the official opinion of Shift2Rail Joint Undertaking. The JU does not guarantee the accuracy of the data included in this article. Neither the JU nor any person acting on the JU’s behalf may be held responsible for the use which may be made of the information contained therein. Christoph Müller, [email protected] 21/01/2020

Upload: others

Post on 21-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

CONtributing to Shift2Rail’s

NExt generation of high

Capable and safe TCMS.

Phase 2

SAFE architecture for

Robust distributed

Application Integration

in roLling Stock 2

© CONNECTA-2 & Safe4RAIL-2

The projects CONNECTA-2 and Safe4RAIL-2 have

received funding from the European Union’s Horizon

2020 research and innovation programme under grant

agreement No. 826098 (CONNECTA-2) and No.

826073 (Safe4RAIL-2) respectively. The information

and views set out in this document are those of the

author(s) and do not necessarily reflect the official

opinion of Shift2Rail Joint Undertaking. The JU does

not guarantee the accuracy of the data included in this

article. Neither the JU nor any person acting on the

JU’s behalf may be held responsible for the use which

may be made of the information contained therein.

Christoph Müller, [email protected] 21/01/2020

Page 2: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 2

Page 3: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 3

Page 4: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Schematics for Demonstrator General Goals for Demonstrator

• Compatibility between consist of different manufacturer

• TSN Network1 for Realtime

• One Development for Application Software

• Support of TRDP2 and OPC UA3

27/01/2020 4

1 Time Sensitive Network2 Train Realtime Data Protocol3 Open Platform Communication/ Unified Architecture

Page 5: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Main Topics

• TSN Network

• Application Profiles

• Integration Platform, Environment, Development Tools

• TRDP and OPC UA

27/01/2020 5

Page 6: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 6

Page 7: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Contents

Overview Description

• Sync over Ethernet as Basis

• PTP according to IEEE 1588/802.1AS_rev

• At least one Time Master

• TSN capable Hardware

27/01/2020 7

Schematics Demonstrator

Page 8: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Part I: Time Synchronization

• Unsychronized Time Slave

• Detecting foreign Time Master

• Unsychronized

• Initialization

• Synchronized (Time changed)

27/01/2020 8

Page 9: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Part II: Time in App

• SOME/IP1 communication

• Service Provider sending Data

• Subsriber receiving Data

• Both are synchronized

• Time information can be used

27/01/2020 9

1 Scalable Service-Oriented Middleware over IP

Page 10: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 10

Page 11: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Overview Application Profile

• Application Profile for HVAC1

• SysML2 Model for TCMS3 and HVAC

(in general)

• Interface Block Overview

27/01/2020 11

1 Heating, Ventilation, Air-conditioning Control2 System Modelling Language3 Train Control and Monitoring System

Page 12: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 12

Page 13: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

From SysML model to Interface Implementation

27/01/2020 13

Application Profile for HVAC

Data Structures for

Application Profile DataTypes

Implementations for

AUTOSAR based FDF - APIs:

Skeletons & Proxies

Implementation of

data structures required by

Integrity based FDF

CAF Proprietary

Tool based on

Integrity

AUTOSAR Adaptive

Platform-based

DataTypes Generator

Page 14: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Overview Modeling AR Adaptive Applications

• AUTOSAR Adaptive IDE

(RTA-VRTE by ETAS)

• AUTOSAR Adaptive Apps

HVAC

TCMS

• Service Oriented Communication

27/01/2020 14

Page 15: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Overview Deployment in Machines

• HVAC deployed to run on an

AUTOSAR Adaptive Machine

• TCMS deployed to run on an

AUTOSAR Adaptive Machine

• TCMS offers service

IConsistHvacLoadManagement

and HVAC subscribes to service

27/01/2020 15

Page 16: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Application Profile, TCMS-HVAC

3. Modeling and Implementation

4. Demonstrator: Time Synchronization

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 16

Page 17: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Contents

Overview Description

• TCMS Application

• HVAC Application

• Service Publisher & Subscriber

• Communication via TRDP

27/01/2020 17

Schematics Demonstrator

Page 18: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

AUTOSAR Adaptive & TRDP

• Starting of Machines

• Deployment of Applications

• Searching & Binding of Services

• Communication via TRDP

• Trace

27/01/2020 18

Page 19: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Demonstrator: Time Synchronization

3. Application Profile, TCMS-HVAC

4. Modeling and Implementation

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 19

Page 20: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Development in OPC UA

• OPC UA Modeling Editor

• AUTOSAR Adaptive & OPC UA

• Service Oriented Communication

27/01/2020 20

Page 21: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

AUTOSAR Adaptive & OPC UA

• Publish Response

• Publish Request

• Communication via OPC UA

• Trace

27/01/2020 21

Page 22: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

1. Introduction demonstrator

2. Application Profile, TCMS-HVAC

3. Modeling and Implementation

4. Demonstrator: Time Synchronization

5. Demonstrator: AUTOSAR Adaptive App via TRDP

6. Demonstrator: AUTOSAR Adaptive App via OPC UA

7. Conclusion & Next Steps

27/01/2020 22

Page 23: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Implemented

• Hardware Setup defined and Base Functionality working

• Definition of Operating System, Adaptions and first Tests

• Integration of TRDP and OPC UA into AUTOSAR Adaptive

• TCMS and HVAC Demo Application is running

27/01/2020 23

Page 24: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

©C

ON

NE

CT

A-2

&S

afe

4R

AIL

-2

CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS. Phase 2 | SAFE architecture for Robust distributed Application Integration in roLling stock 2

Next Steps

• Combine TRDP and OPC UA Communication

• Add and use further TSN features

• Common Service Registry, if needed

• Put together all Parts of the Demonstrator for the Innotrans

• …

27/01/2020 24

Page 25: SAFE architecture for Robust distributed Application Integration … · 2020. 1. 27. · TA-2 & e 4 L-2 CONtributing to Shift2Rail’s NExt generation of high Capable and safe TCMS

Coordinator:

IKERLAN, Aitor Arriola

[email protected]

+34 943 712 400

© CONNECTA-2 & Safe4RAIL-2

The projects CONNECTA-2 and Safe4RAIL-2 have

received funding from the European Union’s Horizon

2020 research and innovation programme under grant

agreement No. 826098 (CONNECTA-2) and No.

826073 (Safe4RAIL-2) respectively. The information

and views set out in this document are those of the

author(s) and do not necessarily reflect the official

opinion of Shift2Rail Joint Undertaking. The JU does

not guarantee the accuracy of the data included in this

article. Neither the JU nor any person acting on the

JU’s behalf may be held responsible for the use which

may be made of the information contained therein.

Coordinator:

CAF, Igor López

[email protected]

+34 943 189 241