ExtendingOMNeT++TowardsaPlatform … · Extending OMNeT++ Towards a Platform for the Design of...
Transcript of ExtendingOMNeT++TowardsaPlatform … · Extending OMNeT++ Towards a Platform for the Design of...
Extending OMNeT++ Towards a Platformfor the Design of Future
In-Vehicle Network Architectures
Till Steinbach Philipp Meyer Stefan Buschmann Franz Korf
Hamburg University of Applied [email protected]
OMNeT++ Community Summit15. September 2016 , Brno University of Technology, Czech Republic
RE NET
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REAgenda
1 Introduction
2 Simulation Models
3 Toolchain
4 Workflow
5 Conclusion & Outlook
2 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REIntroduction
In-vehicle networks face a paradigm changeCommunication architectures today:
CANFlexRayLINMOST
Switched real-time Ethernet is promising candidatefor future communication architectures1
Stepwise transition from heterogeneous busarchitecture towards a single flat Ethernet topology
1Kirsten Matheus and Thomas Königseder:Automotive Ethernet. Jan. 2015.
3 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REIntroduction
Current tools focus on bit-correct fieldbus simulationNew tools are required for design and evaluationThese environments have to support analysis ofcongestion and jitterThe OMNeT++ platform provides a perfect baseWe want to provide an easy to use environmentIn this work we contribute:
Simulation modelsTools to designTools to evaluateA uniform workflow
4 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REAgenda
1 Introduction
2 Simulation Models
3 Toolchain
4 Workflow
5 Conclusion & Outlook
5 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
RESimulation ModelsOverview
SignalsAndGateways
Signal sources, Gateways
CoRE4INET
Real-time Ethernet FiCo4OMNeT
Fieldbusses (CAN, FlexRay)INET Framework
Internet Technologies / Protocols
provided contributed
Vehicle network model
OMNeT++
IDE and Simulation kernel
CoRE4INET(Communication over Real-time Ethernet for INET)FiCo4OMNeT(Fieldbus Communication for OMNeT++)SignalsAndGateways
6 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
RESimulation ModelsCoRE4INET
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 classesIncoming traffic selection and constraint checksModels for oscillators, timers and schedulersApplication models for traffic patternsFlexible combining of media access strategies
Checked against analytical models and empiricaltests
7 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
RESimulation ModelsFiCo4OMNeT
Currently supported standards:CANFlexRay
Currently supported features:Models for oscillators and timersApplication models for traffic patterns
Checked against results of CANoe simulationenvironment
8 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
RESimulation ModelsSignalsAndGateways
Fills the gap betweenCoRE4INET and FiCo4OMNeTGateway translate between(real-time) Ethernet and fieldbussesFor flexibility it contains three submodules:
RoutingBufferingTransformation
Gateway can host applications
9 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REAgenda
1 Introduction
2 Simulation Models
3 Toolchain
4 Workflow
5 Conclusion & Outlook
10 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REToolchainOverview
OMNeT++
IDE and Simulation kernel
SignalsAndGateways
Signal sources, Gateways
CoRE4INET
Real-time Ethernet FiCo4OMNeT
Fieldbusses (CAN, FlexRay)INET Framework
Internet Technologies / Protocols
Abstract Network Description Language (ANDL)
Vehicle network model
oppResultManagers
Recording of results, Constraint checks
provided contributed optional
Gantt
Chart
Timing
Analyzer
(GCTA)
Eclipse Updatesite (https://sim.core-rg.de/updates)-> get pluginsCoRE model installer (OMNeT++ plugin)-> get simulation models
11 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REToolchainAbstract Network Description Language
Configuring large heterogeneous networks is complexand lengthyDomain Specific Language (DSL) reduces effortEclipse plugin using Xtext technologySupported features:
Syntax highlightingCode completionScheduling algorithms (for TDMA technologies2)Simple inheritanceInline ini configuration
2Jan Kamieth et al.:“Design of TDMA-based In-Car Networks: Applying Multiprocessor
Scheduling Strategies on Time-triggered Switched Ethernet Communication”. 2014.
12 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REToolchainGantt Chart Timing Analyzer
Specialized analysis tool as OMNeT++ pluginTraces jitter and delay in cyclic communicationUses a timing log (.tlog) file written duringsimulationGCTA compresses all occurrences of a cyclicmessage into one single chart
13 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REToolchainGantt Chart Timing Analyzer
14 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REToolchainoppResultManagers
Set of modules for OMNeT++ simulations:called ResultManagersOMNeT++ vector and scalar recording are build-ininstances of ResultManagersContributed in oppResultManagers:
PCAPngSQLite & postgreSQLConstraint ChecksMultiple
Functionality is not restriced to our simulationmodels
15 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REAgenda
1 Introduction
2 Simulation Models
3 Toolchain
4 Workflow
5 Conclusion & Outlook
16 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowOverview
simulation
generation
ANDL
Network
Description
INI
NED
XML
Simulation
Configuration
INET
CoRE4INET
FiCo4OMNeT
SignalsAndGateways
Simulation
Model
ELOG / SCA / VEC
CSV
GCTA
SQLite/postgreSQL
PCAPng
Simulation
Results
configuration
17 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowNetwork Description
Abstract Network Description Language File:
Continued on next slide...
18 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowNetwork Description
19 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowSimulation Configuration / Model
20 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowSimulation Configuration / Model
Uses all three simulation models and INETGenerated config (.ini/.ned/.xml) > 250 linesResulting network:
Additonal configuration of ResultManagers in ini file:
postgreSQL:
PCAPng:
21 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REWorkflowSimulation Results
OMNeT++ (scalar, vector and eventlog)WireShark (PCAPng)GCTA (timinglog)Database (mySQL, postgreSQL)
Use-case postgreSQL database:
Client
Workstation
Database
Server
Simulation
Cluster
Simulation
Worker
Simulation
Worker
Simulation
Worker
Client
Workstation
Client
Workstation
op
tio
nal
Start simulation
Access results
(query)Results
22 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REAgenda
1 Introduction
2 Simulation Models
3 Toolchain
4 Workflow
5 Conclusion & Outlook
23 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REConclusion
In-car communication technologies are changingSimulation on system-level supports the processWe contribute a simulation environment with:
Simulation modelsDevelopment toolsAnalysis tools
Specialized tools can support the workflowOMNeT++ is a solid foundation for thedevelopment of such plugin tools
24 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REOutlook
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
25 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REQuestions
Thank you for your attention!
Website of CoRE research group:https://core-rg.de/Website of simulation models:https://sim.core-rg.de/
26 / 26
Hochschule für Angewandte Wissenschaften Hamburg Hamburg University of Applied Sciences
Extending OMNeT++Towards a Platform forthe Design of FutureIn-Vehicle Network
Architectures
Philipp Meyer
Introduction
Simulation Models
Toolchain
Workflow
Conclusion & Outlook
REReferences I
[1] Kirsten Matheus and Thomas Königseder.Automotive Ethernet. Cambridge, United Kingdom:Cambridge University Press, Jan. 2015.
[2] Jan Kamieth et al. “Design of TDMA-based In-Car Networks:Applying Multiprocessor Scheduling Strate-gies on Time-triggered Switched Ethernet Communication”. In:19th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA 2014).Barcelona: IEEE Press, 2014, pp. 1–9. DOI:10.1109/ETFA.2014.7005119. ieeexplore: 7005119.
26 / 26