Extending OMNeT++ Towards a Platform for the Design of Future In ...

1 downloads 0 Views 2MB Size Report
Sep 15, 2016 - In-Vehicle Network ... Kirsten Matheus and Thomas Königseder:Automotive Ethernet. Jan. ... The OMNeT++ platform provides a perfect base.
Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Till Steinbach

Philipp Meyer

Stefan Buschmann

Franz Korf

Hamburg University of Applied Sciences [email protected]

OMNeT++ Community Summit 15. September 2016 , Brno University of Technology, Czech Republic

RE

NET

RE

Agenda

1 Introduction

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

2 Simulation Models

Introduction Simulation Models Toolchain

3 Toolchain

Workflow Conclusion & Outlook

4 Workflow 5 Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

2 / 26

RE

Introduction

In-vehicle networks face a paradigm change Communication architectures today: CAN FlexRay LIN MOST

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow

Switched real-time Ethernet is promising candidate for future communication architectures1

Conclusion & Outlook

Stepwise transition from heterogeneous bus architecture towards a single flat Ethernet topology 1

Kirsten Matheus and Thomas Königseder:Automotive Ethernet.

Jan. 2015.

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

3 / 26

Introduction

Current tools focus on bit-correct fieldbus simulation New tools are required for design and evaluation

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

These environments have to support analysis of congestion and jitter

Introduction

The OMNeT++ platform provides a perfect base

Toolchain

We want to provide an easy to use environment In this work we contribute:

Simulation Models

Workflow Conclusion & Outlook

Simulation models Tools to design Tools to evaluate A uniform workflow

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

4 / 26

RE

Agenda

1 Introduction

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

2 Simulation Models

Introduction Simulation Models Toolchain

3 Toolchain

Workflow Conclusion & Outlook

4 Workflow 5 Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

5 / 26

RE

Simulation Models Overview

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Vehicle network model SignalsAndGateways Signal sources, Gateways CoRE4INET Real-time Ethernet INET Framework Internet Technologies / Protocols

Philipp Meyer

FiCo4OMNeT Fieldbusses (CAN, FlexRay)

Introduction Simulation Models

OMNeT++ IDE and Simulation kernel provided

Toolchain Workflow

contributed

Conclusion & Outlook

CoRE4INET (Communication over Real-time Ethernet for INET) FiCo4OMNeT (Fieldbus Communication for OMNeT++) SignalsAndGateways Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

6 / 26

Simulation Models CoRE4INET

Currently supported standards: TTEthernet protocol suite (AS6802) AVB traffic shapers (IEEE 802.1Qav) Ethernet with priorities (IEEE 802.1Q)

Currently supported features: Models to map IP traffic to real-time traffic classes Incoming traffic selection and constraint checks Models for oscillators, timers and schedulers Application models for traffic patterns Flexible combining of media access strategies

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Checked against analytical models and empirical tests

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

7 / 26

Simulation Models FiCo4OMNeT

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Currently supported standards: CAN FlexRay

Currently supported features: Models for oscillators and timers Application models for traffic patterns

Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Checked against results of CANoe simulation environment

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

8 / 26

Simulation Models SignalsAndGateways

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Fills the gap between CoRE4INET and FiCo4OMNeT Gateway translate between (real-time) Ethernet and fieldbusses For flexibility it contains three submodules: Routing Buffering Transformation

Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Gateway can host applications

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

9 / 26

RE

Agenda

1 Introduction

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

2 Simulation Models

Introduction Simulation Models Toolchain

3 Toolchain

Workflow Conclusion & Outlook

4 Workflow 5 Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

10 / 26

RE

Toolchain Overview Vehicle network model

Abstract Network Description Language (ANDL) SignalsAndGateways Signal sources, Gateways CoRE4INET Real-time Ethernet INET Framework Internet Technologies / Protocols

FiCo4OMNeT Fieldbusses (CAN, FlexRay)

Gantt Chart Timing Analyzer (GCTA)

Philipp Meyer Introduction Simulation Models

oppResultManagers Recording of results, Constraint checks

Toolchain

OMNeT++ IDE and Simulation kernel provided

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Workflow contributed

optional

Conclusion & Outlook

Eclipse Updatesite (https://sim.core-rg.de/updates) -> get plugins CoRE model installer (OMNeT++ plugin) -> get simulation models Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

11 / 26

RE

Toolchain Abstract Network Description Language

Configuring large heterogeneous networks is complex and lengthy Domain Specific Language (DSL) reduces effort Eclipse plugin using Xtext technology Supported features:

Philipp Meyer Introduction Simulation Models Toolchain

Syntax highlighting Code completion Scheduling algorithms (for TDMA technologies2 ) Simple inheritance Inline ini configuration 2

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Workflow Conclusion & Outlook

Jan Kamieth et al.:“Design of TDMA-based In-Car Networks: Applying Multiprocessor

Scheduling Strategies on Time-triggered Switched Ethernet Communication”.

2014.

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

12 / 26

Toolchain Gantt Chart Timing Analyzer

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

Specialized analysis tool as OMNeT++ plugin Traces jitter and delay in cyclic communication Uses a timing log (.tlog) file written during simulation GCTA compresses all occurrences of a cyclic message into one single chart

Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

13 / 26

Toolchain Gantt Chart Timing Analyzer

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

14 / 26

Toolchain oppResultManagers

Set of modules for OMNeT++ simulations: called ResultManagers OMNeT++ vector and scalar recording are build-in instances of ResultManagers Contributed in oppResultManagers: PCAPng SQLite & postgreSQL Constraint Checks Multiple

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Functionality is not restriced to our simulation models

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

15 / 26

RE

Agenda

1 Introduction

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

2 Simulation Models

Introduction Simulation Models Toolchain

3 Toolchain

Workflow Conclusion & Outlook

4 Workflow 5 Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

16 / 26

RE

Workflow Overview

Network Description

generation

ANDL

Simulation Configuration INI NED XML

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain

configuration

Workflow Conclusion & Outlook

Simulation Model

simulation

INET CoRE4INET FiCo4OMNeT SignalsAndGateways

Simulation Results ELOG / SCA / VEC CSV GCTA SQLite/postgreSQL PCAPng

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

17 / 26

Workflow Network Description

Abstract Network Description Language File:

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Continued on next slide... Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

18 / 26

Workflow Network Description

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

19 / 26

Workflow Simulation Configuration / Model

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

20 / 26

Workflow Simulation Configuration / Model

Uses all three simulation models and INET Generated config (.ini/.ned/.xml) > 250 lines Resulting network:

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow

Additonal configuration of ResultManagers in ini file:

Conclusion & Outlook

postgreSQL:

PCAPng: Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

21 / 26

RE

Workflow Simulation Results

OMNeT++ (scalar, vector and eventlog)

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

WireShark (PCAPng) GCTA (timinglog)

Philipp Meyer

Database (mySQL, postgreSQL) Introduction

Use-case postgreSQL database:

Simulation Models Toolchain

optional

Client Workstation

Client Workstation

Simulation Cluster Simulation Worker

Start simulation

Access results (query)

Database Server

Client Workstation

Results

Workflow Conclusion & Outlook

Simulation Worker

Simulation Worker

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

22 / 26

RE

Agenda

1 Introduction

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

2 Simulation Models

Introduction Simulation Models Toolchain

3 Toolchain

Workflow Conclusion & Outlook

4 Workflow 5 Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

23 / 26

Conclusion

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

In-car communication technologies are changing Simulation on system-level supports the process We contribute a simulation environment with: Simulation models Development tools Analysis tools

Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Specialized tools can support the workflow OMNeT++ is a solid foundation for the development of such plugin tools

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

24 / 26

RE

Outlook

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer

Adding new technologies to our simulation suite: Ethernet with frame preemption (discussed in IEEE 802.1Qbu) CAN with flexible data rate (CAN FD)

Refinement of result analysis tools

Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

25 / 26

RE

Questions Thank you for your attention!

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures Philipp Meyer Introduction Simulation Models Toolchain Workflow Conclusion & Outlook

Website of CoRE research group: https://core-rg.de/ Website of simulation models: https://sim.core-rg.de/ Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

26 / 26

References I

RE Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

[1]

[2]

Kirsten Matheus and Thomas Königseder. Automotive Ethernet. Cambridge, United Kingdom: Cambridge University Press, Jan. 2015.

Philipp Meyer Introduction Simulation Models

Toolchain Jan Kamieth et al. “Design of TDMA-based In-Car Networks: Applying Multiprocessor Scheduling StrateWorkflow gies on Time-triggered Switched Ethernet Communication”. In: Conclusion & Outlook 19th IEEE International Conference on Emerging Technologies and Factory Automati Barcelona: IEEE Press, 2014, pp. 1–9. DOI: 10.1109/ETFA.2014.7005119. ieeexplore: 7005119.

Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences

26 / 26

Suggest Documents