An Extension of the Omnet++ INET Framework for Simulating Real-Time Ethernet with High Accuracy

An Extension of the Omnet++ INET Framework for Simulating Real-Time Ethernet with High Accuracy

An Extension of the OMNeT++ INET Framework for Simulating Real-time Ethernet with High Accuracy Till Steinbach, Hermand Dieumo Kenfack, Franz Korf, Thomas C. Schmidt HAW-Hamburg, Department Informatik Berliner Tor 7, D-20099 Hamburg, Germany {till.steinbach, hermand.dieumo, korf, schmidt}@informatik.haw-hamburg.de ABSTRACT those fields; real-time Ethernet is a promising candidate for Real-time extensions to standard switched Ethernet widen the upcoming tasks. the realm of computer networking into the time-critical do- Ethernet has proven to be a flexible, widely deployed, and main. These technologies have started to establish in pro- highly scalable protocol. Current Ethernet is a technology cess automation, while Ethernet-based communication in- based on switching that also allows to increase the amount of frastructures in vehicles are novel and challenged by particu- traffic simultaneously transferred, by using segregated com- larly hard real-time constraints. Simulation tools are of vital munication in groups. However, due to its randomised me- importance to explore the technical feasibility and facilitate dia access and best effort approach, it does not provide re- the distributed process of vehicle infrastructure design. liable temporal performance bounds. Real-time extensions This paper introduces an extension of the OMNeT++ to Ethernet promise to overcome those obstacles. INET framework for simulating real-time Ethernet with high In process automation, several Ethernet-based products temporal accuracy. Our module implements the TTEther- already provide real-time functionality for tasks with strict net protocol, a real-time extension to standard Ethernet that temporal constraints. The use of real-time Ethernet in an is proposed for standardisation. We present the major im- automotive communication backbone is novel. plementation aspects of the simulation model and apply our To evaluate the feasibility of an Ethernet-based unified tool to an abstract in-vehicle backbone. A careful evalu- communication infrastructure for future in-vehicle applica- ation that compares our results with calculations obtained tions, it is important to identify characteristic and compa- from a mathematical framework, as well as with real-world rable network metrics. A future option of technological and measurements using TTEthernet hardware shows simulation economic success can be only made on the ground of these and reality in good agreement. valid performance estimates. Further, a detailed quantita- tive analysis allows for optimisations, including a critical Categories and Subject Descriptors view on proposed solutions, and can be used to rate im- provements of the components and protocols. Event-based C.2.2 [Computer-Communication Networks]: Network simulation is suitable for these analyses and provides the Protocols|TTEthernet; I.6.3 [Simulation and Model- necessary performance estimates. Since automotive appli- ing]: Applications|In-vehicle network simulation; cations have very strict requirements { usually the temporal I.6.5 [Simulation and Modeling]: Model Development| precision must be within a few microseconds { it is necessary Modeling methodologies to simulate the temporal behaviour with high accuracy. General Terms During the development process of a car, several service Design, Measurement, Verification providers and suppliers are involved. Different components are designed by various partners. The Original Equipment Keywords Manufacturer (OEM) is responsible for the design and con- OMNeT++, Network traffic simulation, In-vehicle network, figuration of the in-vehicle communication infrastructure. Time-triggered, TTEthernet Temporal attributes and information about the load of an in-vehicle backbone are necessary at an early stage of the 1. INTRODUCTION development, when the components are not yet available. Further extensions and build-to-order variants must be re- Various fields of application require communication in garded and result in a large configuration space. Thus, a fixed temporal bounds. Examples are process control or simulation-based evaluation strategy is indispensable for the automotive applications. The increasing demand of band- design of an in-vehicle backbone. It allows the evaluation of width requires new concepts for real-time communication in different configuration parameters before construction and in a more comprehensive manner. Requirements for suppli- Permission to make digital or hard copies of all or part of this work for ers and service providers are assigned based on the simula- personal or classroom use is granted without fee provided that copies are tion results. not made or distributed for profit or commercial advantage and that copies This paper presents a simulation model [4] for TTEther- bear this notice and the full citation on the first page. To copy otherwise, to net [16], a real-time Ethernet extension by TTTech, for ex- republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. perimenting with future in-vehicle communication networks. OMNeT++ 2011 March 21, Barcelona, Spain. TTEthernet is currently proposed for standardisation [13]. Copyright 2011 ACM ...$10.00. It integrates time-triggered and event-triggered traffic on the End System same layer 2 infrastructure. For time-triggered communica- Sync Client tion, a coordinated policy based on time-division-multiple- access (TDMA) is used. This requires a model with local clocks on each device and a distributed clock synchronisa- 2. PCF (new Time) tion protocol to provide a global time. To achieve simula- 1. PCF (time) 2. PCF (new Time) tion results with the necessary precision, it is unavoidable to Switch End System End System Compression model the local clocks and the synchronisation accurately. Sync Master Sync Client Master OMNeT++ and the INET framework have been chosen as 2. PCF (new Time) basis for this development. One major reason for selecting OMNeT++ was given by its object oriented design. Since 1. PCF (time) 2. PCF (new Time) TTEthernet is based on standard Ethernet, many parts in the physical and MAC layer could be inherited or extended End System from the INET model. The presented implementation con- Sync Master sists of the parts TTEthernet host-, switch-, and clock- model. The model of the host contains an implementation Figure 1: TTEthernet two step synchronisation of the TTEthernet-API and allows a direct integration of application code into the simulation. other traffic classes. Rate-constrained traffic is based on the To validate the model and its simulation performance, an AFDX-Protocol [1] and intended for communication with abstract in-vehicle backbone was simulated; the results were less rigid temporal requirements. Best-effort traffic has the contrasted with calculations of a mathematical framework lowest priority and is based on standard Ethernet. TTEther- of time-triggered Ethernet, as well as results obtained from Networks are capable of working with hosts that are unaware real-world measurements of TTEthernet hardware. of the time-triggered protocol and thus remain unsynchro- The remainder of this paper is organised as follows. In nised. Those hosts only communicate by best-effort traffic. section 2, related work and the base techniques that are es- For the simulation of TTEthernet networks, the compo- sential for the TTEthernet protocol are introduced. Section nents of the INET framework must be extended. The coor- 3 explains the concepts behind the TTEthernet OMNeT++ dinated TDMA based access policy requires a scheduler on model and the extensions that were done. Section 4 shows each switch and host, that controls the transmission of real- selected details of the implementation. Simulation results time traffic. To support scheduled transmission, the model and an evaluation of the implementation of the TTEthernet contains a clock for each node. The clocks are synchronised model are discussed in section 5. Finally, section 6 concludes with a fail-safe two step synchronisation protocol. and gives an outlook. 2.2 Synchronisation The TTEthernet synchronisation protocol defines three 2. BACKGROUND & RELATED WORK roles: Synchronisation masters start the synchronisation, compression masters calculate the global time, synchroni- 2.1 Fundamentals sation clients receive the global time. Real-time Ethernet extensions can be classified in three Synchronisation in TTEthernet is based on Ethernet mes- categories: Token-based, bandwidth-limiting, and time-trig- sages called protocol control frames (PCF). Each synchroni- gered systems. Time-triggered systems are common in the sation master sends its PCF at a dedicated time in the cycle. automotive industry and therefore in focus of our work. Be- The compression master collects the PCF of each synchro- sides other protocols, that are mainly deployed in process nisation master and calculates a global time of all messages. automation like PROFINET [12], TTEthernet is a time- Then, the new time is broadcasted in a new PCF to all par- triggered real-time Ethernet extension that satisfies the spe- ticipants. Each node in the network can have one or more cial needs of in-vehicle applications. It allows standard best- roles in the synchronisation. Figure 1 shows an example with effort communication and hard real-time network traffic to two synchronisation masters and two synchronisation clients share the same layer 2 infrastructure. The TTEthernet spec- on end systems and the switch as compression master. ification [16] was developed by TTTech and is currently pro-

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us