Automotive Ethernet Protocol Validation
Automotive Ethernet Protocol Validation
Supervisor Candidate
Prof. Claudio Ettore Casetti Carlo Cataldo
Internship Tutors
Intecs Solutions
Ing. Stefano Ferrario
Ing. Francesco Teti
The availability of advanced driver assistance systems (ADAS), the pressing de-
mand for connectivity and increasingly complex and content-rich infotainment sys-
tems, have had, as first consequence, a considerable increase in data traffic and
in the demand for solutions capable of ensuring high throughput and low latency.
The intrinsic characteristics of the Ethernet Standard make it the ideal solution to
the problem posed to automotive systems engineers, while, at the same time, citing
advantages such as: reduction of complexity, weight and cost of wiring.
However, if on the one hand Ethernet Standard represents the solution to the prob-
lem of bandwidth availability, on the other it poses another important challenge:
to define validation methodologies and strategies that allow to easily test the in-
tegrability of ECUs interconnected on Ethernet, as well as is currently the case
for ECUs interconnected on CAN. In addition, simulator and test tools are not so
obvious and well defined such as CAN networks.
Since Ethernet for local network cannot be used as it is for automotive purposes,
due to different time requirements and Electromagnetic/Radio-Frequency Interfer-
ences, the objective is to deepen new and reusable standards from Physical Layer
to Application Layer according to OSI model.
Testing methodologies will be also studied, in particular, regarding Conformance
Testing will be referred to Open Alliance test specifications, instead for Perfor-
mance Testing will be resumed RFC2544 and RFC2889 taken from Ethernet for
local networks.
Finally, as a practical example, nodes connected on real-time Automotive Ethernet
will be simulated, comparing the different time requirements, thanks to an open-
source framework, called CoRE4INET, based on INET and OMNeT ++ simulator.
iii
Contents
List of Tables vi
3 Automotive Ethernet 15
3.1 Standard Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 From Standard Ethernet to Automotive Ethernet . . . . . . . . . . 17
3.3 Physical Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.1 100 Mbps and 1000 Mbps networking technologies . . . . . . 19
3.3.2 10 Mbps networking technology . . . . . . . . . . . . . . . . 24
3.4 IEEE Ethernet MAC and VLAN . . . . . . . . . . . . . . . . . . . 26
3.5 Internet Protocol IP . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.6 TCP/UDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.7 Application Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.7.1 SOME/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.7.2 AVB/TSN . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.7.3 TTEthernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.7.4 DoIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
iv
4 ECUs on Automotive Ethernet: testing and validation 50
4.1 Testing and Validation . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.2 Conformance Testing . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.3 Performance Testing . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.3.1 RFC 2544 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.3.2 RFC 2889 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5 Simulations 65
5.1 Simulation environment . . . . . . . . . . . . . . . . . . . . . . . . 65
5.1.1 OMNeT++ . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
5.1.2 INET & CoRE4INET . . . . . . . . . . . . . . . . . . . . . 66
5.2 Automotive Ethernet simulation . . . . . . . . . . . . . . . . . . . . 66
Bibliography 78
v
List of Tables
vi
List of Figures
ix
Chapter 1
This chapter describes the context of network architectures in the automotive field
with its functional domains, the purpose of the thesis and consequently the reasons
for using Automotive Ethernet.
1.1 Context
From the late 1800s until the 1970s the cars were entities purely mechanical or
hydraulic. Since the 1970s, there has been an exponential increment of electronic
parts inside a vehicle. Firstly, the electronic part played a small role, mostly for
battery charging, starter, ignition and illumination. A few years later, the growing
use of reliable and inexpensive electronic components and the widespread use of
software replaced many mechanical parts. In fact, the first electronic control units
(ECUs) were born with the main purpose of assisting the driver to control the
vehicle, thanks to: antilock braking system (ABS), electric power steering (EPS),
electronic stability program (ESP), engine control, lights control, doors control,
windows control and many other functions.
Each new function in a vehicle is implemented with an ECU made of a microcon-
troller, many sensors and actuators. Nowadays the electronic part is dominating on
the mechanical part, more than 70-100 ECUs, as shown in Figure 1.1, are embed-
ded inside a vehicle. All of this to guarantee lower emission, longer range, higher
safety and some comfort functions.[39]
Typically, the ECUs are classified into functional domains due to the different re-
quirements and constraints: [2]
❼ Powertrain: real-time and safety control. The communication is for control-
ling the engine automatic transmission, hybrid control, transmission,
gearbox, . . . ;
❼ Chassis: real-time and safety control. The communication is for controlling
stability and dynamics, such as steering, braking, suspension, . . . ;
1
Introduction and motivations
❼ It can not guarantee a pre-defined latency less than the order of microseconds.
Thanks to a worldwide partnership AUTOSAR (Automotive Open System Archi-
tecture), a non-profit alliance of automotive industry providers OPEN Alliance
(One-pair-Ethernet Alliance) and many other research centers, the Ethernet stan-
dards have been adapted, integrated and modified for the automotive field.
However, Automotive Ethernet needs to be tested in order to avoid late discovery of
problems, so conformance testing, interoperability testing and protocol validation
are needed to validate the network technology.
The testing process has to be reliable and compatible with automotive V-Cycles,
4
Introduction and motivations
Figure 1.4, for all the development phase and for all components.
The goal of this thesis is to analyse and deepen the Ethernet network in automotive
field and define methodologies and strategies to test and develop ECUs intercon-
nected with Automotive Ethernet for all the seven layers of the Open Systems
Interconnection model (OSI model), shown in Figure 1.5. Finally to understand
how Automotive Ethernet stack and the related real-time protocols (i.e. AVB and
TTEthernet) work, a simulation environment and an open-source framework will
be studied.
5
Introduction and motivations
6
Chapter 2
This chapter describes, briefly, the traditional automotive networks, such as: CAN,
LIN, MOST and FlexRay that are important to understand Automotive Ethernet.
2.1 CAN
One of the first network technologies inside a vehicle was the Controller Area Net-
work (CAN) developed by Robert Bosch GmbH in 1980. Today CAN bus is the
most widely used network technology in vehicles.
Usually, on average, data rate of a CAN bus is between 125 Kbit/s and 500 Kbit/s,
it depends how many nodes are connected. It is used, in particular, for powertrain,
chassis and body domain for its robustness and bounded delays.
CAN is implemented as a shared bus with each node (see Figure 2.1), in fact two
or more nodes can not communicate at the same time without a collision. Conse-
quently, to avoid collisions, an arbitrage mechanism, Media Access Control (MAC),
is needed. CAN uses Non-Return-to-Zero (NRZ) bit representation with a 5 bit as
stuffing. [40]
The bus network is modelled like a logic AND with “1” recessive bit and “0” dom-
inant bit. When all nodes, simultaneously, transmit a message with content 1, the
bus will remain at 1. Instead, when one of the nodes transmits 0, the bus will be set
to 0, allowing the node that sent 0 to continue sending the message, interrupting
the transmission of all other nodes.
So the collisions are solved by a priority-based communication where lowest mes-
sage identifier, contained in the header field of the frames, has highest priority.
CAN uses unshielded twisted pair (UTP) of copper wires where one cable is called
CAN High, the other one CAN Low. The signal between two cables has a voltage
of 2.5V; when a 0 dominant bit appears, CAN High voltage increases the nominal
value by 1V, instead CAN Low voltage decreases, the nominal value by 1V; when
a logic 1 it appears both CAN High and CAN Low have 2.5V. [4]
7
Conventional automotive networks
❼ Control: this field contain the Payload length on four bits and more two bits
for the protocol;
❼ Payload: Data;
❼ CRC: used to check the transmission, as explained shortly after;
❼ Ack: acknowledgment for CRC field;
❼ EOF: seven recessive bits to end the frame.
CAN also owns many error detections like:
8
Conventional automotive networks
2.1.1 CAN-FD
Particular attention is needed to CAN-FD, the last version of CAN network, with
Flexible Data Rate. In this case the payload increases from 8 bytes of CAN to 64
bytes. This reduces overload and it increases efficiency.
CAN-FD is used for data rates from 2 to 5 Mbps, that data rate is reached because
arbitration is not useful during some part of a frame. (See Figure 2.3).
Figure 2.3. Arbitration field comparison between CAN and CAN-FD. Source: [66]
This last version shares the same functionalities of classic CAN. Instead, inside a
frame, there is three new control bits: Extended Data Length (EDL), Bit Rate
Switch (BRS), Error State Indicator (ESI). CRC field uses also more check bits to
reduce the risk of undetected errors.
For completeness, there is a most recent CAN version, which is CAN XL with
10Mbps as data rate, but it has not yet been fully developed. [4] [35]
2.2 LIN
For some applications, such as windows, mirrors, seats, air conditioning control and
many others, CAN technology is too expensive and provides too much protection
for these applications that do not require safety and speed. So, in the late 1990s
the LIN Consortium, a set of companies (Volkswagen, BMW, Volvo and Daimler),
developed the Local Interconnect Network (LIN) with a first version released in
November 2002. [40]
LIN was designed with 1-wire unshielded with a data rate limited to 20 Kbit/s, it
9
Conventional automotive networks
operates at nominally 12V with binary symbols: dominant 0 and recessive 1. [4]
It is a simple Master/Slave bus system with two types of ECUs: a single LIN Master
and many LIN Slaves, as shown in Figure 2.4. The Slave ECUs can transmit
only after being queried by the Master ECU with a corresponding header. The
scheduling is pre-defined in the design phase in a schedule table, which contains
the frame list that have to be sent and the scheduled time period, in fact each frame
is transmitted inside a time period, called Frame Slot. [40]
Regarding to LIN frame, shown in Figure 2.5, the following fields are contained:
❼ Break: this field informs all nodes that a message is transmitting. It is always
transmitted by the master, as token;
❼ SYNC: field for synchronization. It is always transmitted by the master, as
token;
❼ ID: message identification. The ID is univocally defined up to 64. It is always
transmitted by the master, as token;
❼ Payload: data field. It can be transmitted by the slave or by the master;
❼ Checksum: 8 bits for error detections. It can be transmitted by the slave or
by the master.
10
Conventional automotive networks
2.3 MOST
Around the 2000s, with the advent of first navigation systems, complex audio sys-
tems, Bluetooth, advanced displays, the data traffic is increased. Companies like
BMW, Harman/Becker and SMSC formed the MOST Cooperation, developing the
Media Oriented Serial Transport (MOST) technology. [67]
MOST has been developed for optimizing the transport of audio-video data because
CAN and LIN networks can not guarantee high bandwidth for that purpose. In
particular MOST150, the last MOST technology, can reach 150 Mb/s, supporting
Ethernet Packet Channel with Internet Protocol (IP) functionalities.
MOST relies on all layers of OSI model. As physical layer, it usually runs on plastic
optical fiber (POF) cable to avoid electromagnetic compatibility problems and to
guarantee electrical isolation. However, MOST150 can support also coaxial cable.
Both physical layers have advantages in terms of bandwidth, but they are too ex-
pensive. In fact, this reason and many other, shown later, led to a rapid decrease
in the use of MOST technology.
Since this technology is synchronous based on Time Division Multiple Access (TDMA),
all nodes have the same clock to avoid collisions.
MOST uses ring topology, as shown in Figure 2.6, with one ECU which works
as timing master, allowing the synchronization, through synchronization messages,
with all the other ECUs. Master ECU starts unidirectional communication with
the next node, the latter will transmit the frame to next node, until it reaches the
recipient. [4]
2.4 FlexRay
In the 2000s a consortium of major companies (BMW, Bosch, Daimler and many
others) developed FlexRay protocol. The goal was to develop a time-triggered
communication standard for safety-critical and time-critical automotive applica-
tions like all X-by-Wire systems (e.g. brake-by-wire, steer-by-wire and so on),
powertrain and chassis controls.
As shown later there are many advantages and disadvantages in FlexRay, but many
companies have stopped or are stopping using it, shifting their focus to Automotive
Ethernet.
The technology is based on cycles, which are a combination of two types of win-
dows: time-triggered (static) and event triggered (dynamic). The first one uses a
Time Domain Multiple Access (TDMA) protocol, where there are many identical
slots divided in time. If a node does not have to transmit, a null frame is sent, so
that something is always received. [35]
The second one uses Flexible Time Division Multiple Access (FTDMA), where time
is divided in sub-slots and each station can initiate communication within its sub-
slot.
Regarding to the topology this network is very flexible, it can be used: linear bus,
active and passive stars and point to point, as shown in Figure 2.8 and Figure 2.9.
Topology can be also redundant using dual channels. [40] [67]
A FlexRay frame format, shown in Figure 2.10, consists in three parts: header,
payload and footer section. In the header part there are:
❼ Status Bit: it represents the start of the frame which can be null frame, sync
frame, startup frame;
12
Conventional automotive networks
2.5 Comparison
A small summary to compare all the network technologies previously analyzed,
with respect to Automotive Ethernet, is shown in Table 2.1.
13
Conventional automotive networks
14
Chapter 3
Automotive Ethernet
This chapter introduces, firstly, Ethernet used in local area networks, then the
relevant subject to this thesis: Automotive Ethernet with the differences and inte-
grations each other. It will be explained the influence of Ethernet in the automotive
field, all the OSI model layers, from physical to application layer, with the main
dedicated Application Protocols.
1
CSMA/CD: protocol that allows to detect any collisions in the network. Carrier sense listens
to the channel before transmitting, if it detects no signals it transmits. Collision detection checks
for collisions during transmission. If a collision is detected the transmission is interrupted and is
delayed after a random time established by a backoff algorithm.
15
Automotive Ethernet
❼ Medium Access Control (MAC): it is responsible for how the nodes access
the network, to control packet losses and how to handle a collision;
❼ Logical Link Control (LLC): it hides the type of MAC protocol used (lower
layer) and works as an interface to the upper layer (network);
According to IEEE 802.3 standard, the Ethernet frame, shown in Figure 3.2, is
composed of the following fields:
Automotive Automotive
Ethernet
Ethernet Ethernet
100Base-TX(IEEE
100Base-T1(IEEE 1000Base-T1(IEEE
802.3)
802.3bw) 802.3bp)
Data Rate 100 Mbps 100 Mbps 1000 Mbps
Signal MLT3 PAM3 at 66.667 Mb/s PAM3 at 750 Mb/s
Modulation 4B/5B 4B/3B, 3B/2T 80B/81B
Length 100m 15m 15m
Depends on the Depends on the
Connector RJ45
manufacturer manufacturer
Two twisted pairs One twisted pair One twisted pair
Cable
single direction bi-directional bi-directional
Table 3.1. Main differences between Ethernet and Automotive Ethernet. [32]
– TCP/UDP;
As said, since 100BASE-T1 uses a single pair cable, hybrid circuit and echo can-
celer, to distinguish between transmitted/received signals are needed, as shown in
Figure 3.9.
The hybrid circuit permits the two-way communication on the same wire pair with
master and slave principle with a handshake process for start-up. This process uses
signals:
❼ SEND Z: transmission of all zeros;
❼ SEND I: transmission of PAM3 (-1V, 0V, 1V) idle signals;
❼ SEND N: transmission of PAM3 data signals or idle signals.
21
Automotive Ethernet
Figure 3.9. Echo cancellation and hybrid block diagram. Source: [49].
Initially, the Master goes from SEND Z to SEND I state, transmitting PAM3 idle
signals, at the same time the Slave remains on SEND N state. Then, the Slave
goes to SEND I state with Master on SEND I. Finally, if Master and Slave validate
the start-up process, both go to SEND N state, however the process restart. An
example of process is shown in Figure 3.10. [60]
A typical 100BASE-T1 implementation is shown in Figure 3.11 where, instead of
transformers (case of 100BASE-TX), two capacitors to reduce the dimensions are
placed.
22
Automotive Ethernet
Figure 3.10. Link startup process: Master (yellow, pink) and Slave (blue, green).
Switch between SEND Z, SEND I, SEND N. Source: [60].
Regarding to the 100BASE-T1 frame, is practically the same as IEEE 802.3 stan-
dard Ethernet, shown in Section 3.1, with Start of Stream Delimiter (SSD) at the
beginning and END of Stream Delimiter (ESD) at the end of frame. [60]
❼ ECUs that require faster communication than CAN-FD, but lower then 100Mbps
of 100BASE-T1 for cost and energy reasons;
25
Automotive Ethernet
PLCA can offer easily and bounded channel-access time by means of a Round-
Robin schedule that it does not allow collisions and permits throughput of about
10Mbps in stress condition. In Figure 3.15 is shown the PLCA mechanism, where
the units transmit their own packets in sequence of the node IDs. The first unit,
head node, that has ID equal to zero, starts every cycle with a signal (Beacon) that
inform all the other nodes to restart timers and counters. For transmitting every
unit uses its Transmit Opportunity (TO), if it does not use it, the unit with the
increasing ID can start when the TO time expires. [35]
10BASE-T1 has not yet been implemented on vehicles, but extensive tests have
been done by Open Alliance members.
To extend the classic addressing Virtual Local Area Network (VLAN) can be used,
especially in automotive applications. VLAN addresses permit to create virtual
networks on top of physical network and to delimit communications, defining do-
mains for different applications and use cases. An ECU can be part of more than
one application domains and VLANs. The Virtual LAN is also a basis for security
reason due to its firewall function, because, for instance, a certain browser applica-
tion cannot access to car internal data, even if the data goes on the same wires.
27
Automotive Ethernet
In Figure 3.17 is shown a VLANs example where, for instance, if diagnostic in-
terfaces are considered, the diagnostic packets receive the diagnostic VLAN tag.
Inside a car, this traffic is recognized as diagnostic traffic and not as car internal
traffic. [35]
It is also important to point out that VLAN permits to have different priorities for
each message routed to the Ethernet switches for better real-time communications.
A transmitted message always contains an origin address and a destination address.
As specified in previous sections, in automotive field, Ethernet frames II, shown in
Figure 3.18, are used. See Section 3.1 for further insights.
In automotive field applications the frame contains also VLAN extension in the
VLAN Tag that contains:
28
Automotive Ethernet
❼ TPID: Tag Protocol identifier, 2 byte that highlights the frame format;
❼ TCI: Tag Control information, 2byte divided into:
– PCP : Priority Code Point, to indicate a priority level of the frame;
– DEI : Drop Eligible Indicator, to have a possibility of ignoring the frame
in case of congestion;
– VEI : VLAN ID, to indicate the VLAN number between 0 and 4096.
Even if the number of active nodes can change, an in-vehicle network is a closed
system because the maximum number of nodes is established a priori. Since a car
have to be restarted many times during a day, there is a time issue which requires a
quick start of all nodes, therefore static IP configurations are recommended. How-
ever, there are also some applications that require dynamic IP.
To assign IP addresses inside a vehicle four methods can be used: [35]
❼ Static: The IP addresses are assigned during the development phase of the
ECU, consequently each ECU with the same function will have the same IP
address regardless of the car on which it is implemented. Obviously, there
must not be two ECUs with the same function and consequently IP;
❼ Dynamic: Required when the vehicle communicates with the outside world,
for instance, for diagnostic tester;
30
Automotive Ethernet
❼ Multiple: A single ECU uses many IP addresses, for instance, for diagnostic
purposes where if the address was single, it had to be changed every time
it was connected with external world. An example is shown in Figure 3.20
where the dynamic IP addresses y and z are assigned only when the External
diagnostic system (tester) is connected with dynamic IP address x.
The switches of OSI layer two, using MAC addresses have lower latency and can only
be implemented on hardware, compared to a more complex, larger and expensive
in software, router of OSI layer three. Consequently, currently dedicated router
chips for the automotive field are not available, contrary to switches. [35]
3.6 TCP/UDP
At transport layer the main protocols used are Transmission Control Protocol
(TCP) and User Datagram Protocol (UDP). The first one is connection-oriented
31
Automotive Ethernet
and the second one is connectionless. Both protocols carry segments, called Trans-
port Protocol Data Units (TPDU). Since the lower IP layer carries units of various
applications, ports, acting as an interface between the applications and the IP layer,
are defined. Port number and IP address make up a socket.
❼ Source port;
❼ Destination port;
❼ Length: in bytes of the entire UDP segment;
❼ Checksum: error detection for the UDP segment.
An example for data transmission between two ECUs, in UDP protocol, is shown
in Figure 3.22 where it is possible to see that acknowledgments are not generated.
❼ Source port;
❼ Destination port;
❼ Sequence number: order number of the first data byte of the segment;
❼ Acknowledgement number: order number of the next byte that the com-
munication expects to receive with the next message;
33
Automotive Ethernet
34
Automotive Ethernet
At the end, the connection is closed, as in figure 3.26, where the ECU A sends
the request with flag FIN, the ECU B acknowledges. Then also ECU B sends the
request with flag FIN and also ECU A acknowledges.
35
Automotive Ethernet
3.7.1 SOME/IP
Scalable service-Oriented MiddlewarE over IP (SOME/IP) was designed by BMW
group in 2011 and it was implemented in series production cars at BMW in 2014.
From version 4.1 of AUTOSAR it has become an integral part of it providing scal-
ability, flexibility and adaptability. However, in addition to AUTOSAR, it shall be
implemented on different operating system like OSEK and even embedded devices
without operating system.
SOME/IP works as middleware, like shown in Figure 3.27, in the sense that makes
the network transparent to the software exchanging data, doing as an intermediary
between different applications. The message communications and function calls
between software are implemented just once to better test the modules.
SOME/IP allows applications to communicate providing service-oriented commu-
nication over a network, in this way the sender sends his message only when at
least one recipient has requested it so that the network does not have to process
useless data. On the contrary, in a signal-oriented transmission the data is sent by
36
Automotive Ethernet
the sender when values are updated regardless of the need of the receiver.
SOME/IP is defined on client-server architecture, there are several communication
methods between client and server: [35][9]
❼ Request and Response: the client sends a request for calling a function;
the server replies with the result of the function;
❼ Fire and Forget: the client sends a request for calling a function, but the
server does not reply;
❼ Event service: the client subscribes for a service, then the service sends pe-
riodically, or when there is a change, information. (Similar to CAN network);
❼ Field service: with getter and setter methods fields can be read or modified.
When a field is changed, a notification is sent.
The four communication methods, which rely on UDP and TCP sockets, are shown
in Figure 3.28. To determine if a service is available or not SOME/IP-SD (Service
37
Automotive Ethernet
3.7.2 AVB/TSN
Ethernet can not be used for real-time communications or for multimedia purposes
because it is not able to guarantee bounded latency, bandwidth allocation, end-
point synchronization. In 2005, IEEE 802.1 created Audio Video Bridging Task
Group (AVB Task Group) with the scope of creating a collection of standards to
meet all these needs. Firstly, the group focused on audio and video communication,
subsequently, in November 2012, changing its name to Time-Sensitive Networking
Task Group (TSN Task Group), they studied protocols for safety critical applica-
tions that require stringent timing requirements in terms of: low latency, synchro-
nization, no noticeable jitter. At the time of writing many TSN sub-standards are
still under development, however the main and most important standards, overview
shown in Figure 3.30, will be covered here.
As in Figure 3.31, it can be possible to have hybrid networks with some AVB
nodes, inside AVB domains, and others not AVB domains, but only AVB-capable
end point and switches can transmit or receive AVB traffic.
The first standard, IEEE 1722-2011 [17], shows how two AVB nodes communicate.
Firstly, AVB packet is composed by the following fields:
❼ Header: type of AV data;
39
Automotive Ethernet
Figure 3.31. Hybrid network with AVB domain and not. Source: [36]
❼ Stream ID: specific data stream derived from MAC address of Talker;
❼ Presentation Time: maximum time when a packet must be received at the
Listener;
❼ Payload Information: format of the payload;
❼ Payload.
A packet, shown in Figure 3.32, lies on the first two layers and not on higher layers
of OSI model to reduce the processing time and consequently latency. The AVB
communication works between talker, source of data, and listener, consumer of data
like shown in 3.33. In IEEE 1722-2016 [19] version more data types are supported.
[35]
Synchronization between talker and listener nodes is described in IEEE 802.1AS-
2011 [18] standard with the generalized Precision Time Protocol (gPTP). A node,
the Grandmaster, provides all other nodes a synchronization clock as common
reference global time with an accuracy of better than 1µs and precision of some
nanoseconds. This node is chosen, dynamically, among those that have the best
clock in the AVB network thanks to the Best Master Clock selection Algorithm
40
Automotive Ethernet
(BMCA) where the clock of each node is cyclically checked with the current grand-
master and eventually replaced with the best one. The algorithm also deals with
the so called Clock Spanning tree, contains all the paths between AVB nodes, so
that the whole network knows the propagation delays (Link Delay) of the different
paths. In Figure 3.34 is shown a gPTP domain with a grandmaster. The Link
Delay is computed:
(T 4 − T 1) − (T 3 − T 2)
2
as shown in Figure 3.35. Then this delay will be used for clock synchronization
between master and slave exchanging Sync and Follow up packets as in Figure
3.36. Typically, the node locations and the link lengths do not change between car
ignitions, so delay values are fixed and saved.[35] Since in 2011 version a change of
Grandmaster takes too time (more than 200ms) by BMCA algorithm, with a new
standard version: IEEE 802.1AS-2020 [23], redundant Grandmasters, redundant
Clock Spanning trees and multiple gPTP are implemented.
To allocate bandwidth for each application, thanks to IEEE 802.1Qat[16] Stream
41
Automotive Ethernet
Reservation Protocol (SRP), the Talker makes itself available to stream data to all
AVB nodes. If a Listener is interested, it communicates it and a reserved stream
is established. Certainly it is necessary to guarantee availability of reserved band-
width, the maximum allowed is 75% for AVB streams (the remaining is used for
Best-Effort traffic). This distributed architecture, where all switches have to check
42
Automotive Ethernet
IEEE 802.1Qav [15] manages the allocation priority of streams. The Forwarding
and Queuing of Time Sensitive Streams (FQTSS) standard takes care of creating
message queues and then forwarding them according to the order of priority, split-
ting between time-critical and non-time-critical traffic, and applying the Credit-
Based Shaper (CBS) to avoid traffic overloads and to not block the bus in presence
of low priority data as shown in Figure 3.37. Since high jitter provides low qual-
ity communication with frame jumps, it is possible to have continuous streams,
more uniform, thanks to CBS. In Figure 3.38 an example of AVB traffic shaping is
shown: when the credit is greater than or equal to zero the AVB-Queue can start
its transmission, in such case the credit will have a negative fixed slope; instead
when a frame is waiting in queue the credit will have a positive fixed slope; in case
of empty queue the credit is equal to zero. [12]
The scheduling of packets transmission between stations and switches is standard-
ized in IEEE 802.1Qbv [21], thanks to Time Aware Shaping (TAS). Since time
43
Automotive Ethernet
division multiple access (TDMA) is implemented if a new frame, too large, arrives
in a time slice, as in Figure 3.39, the transmission can not be stopped. TAS with its
44
Automotive Ethernet
guard bands allows not to start new frames, in addition, with IEEE 802.1Qbu[20],
also preemption is implemented to minimize bandwidth losses due to guard bands
(it can not send anything in the guard time). In this case, as in Figure 3.39, the
interrupted frame is restored later. The minimum fragment size is 64 bytes. [12]
3.7.3 TTEthernet
Time-Triggered Ethernet (TTE or TTEthernet), standardised by the Society of
Automotive Engineers (SAE) AS6802 [11] in 2011, extends, remaining compatible,
the classical IEEE 802.3 Ethernet to meet requirements of fully deterministic com-
munication with guaranteed constant latency, bandwidth, jitter and fault tolerant
45
Automotive Ethernet
❼ The first class, time-triggered (TT ), has the precedence over all other traffic
classes. Packets are sent at scheduled and predefined times. In this case
delays and precisions are certainly guaranteed and predefined. So this class
is suitable for brake-by-wire, steer-by-wire and all other stringent real-time
systems, specifically in chassis and powertrain domain where vehicle stability
and dynamics are crucial from a safety point of view;
❼ In the third one, best-effort (BE ), the packets are sent in best-effort manner
(like in classical Ethernet networks), and therefore there is no guarantee if and
when the messages can be transmitted and with what delays. In this case
packets are transmitted in a FIFO queue on the remaining bandwidth with
lower priority with respect to TT and RC classes. This class is suitable for all
legacy IEEE 802.3 Ethernet traffic without any requirement in terms of time
(QoS).
In the example of Figure 3.40 a dataflow integration between different frames (TT,
RC and BE) is shown. Sender 1 sends TT frames, periodically, with 3ms of period
and BE frames. Sender 2, instead, sends TT frames, periodically, with 2 ms of
period and both BE and RC frames. At the Switch 1 the TT frames are scheduled
with period 6 ms, corresponding to the Least Common Multiple (LCM), instead
RC and BE frames are not subject to a predetermined schedule. [58]
There is one last message type, called Protocol Control Frame (PCF), for establish-
ing and maintaining synchronization. These messages, obviously, have the highest
priority. Clock synchronization is fundamental for TT frames, for this purpose,
sender, switch and receiver always transmit clock synchronization messages in a
hierarchical master-slave architecture in a distributed fault-tolerant way, similar to
IEEE 1588 Precision Time Protocol previously treated.
46
Automotive Ethernet
Figure 3.40. Dataflow integration between TT, RC and BE frames. Source: [58]
– TTE for stringent real-time uses, such as chassis and powertrain applications
like vehicle stability, agility and dynamics.
47
Automotive Ethernet
3.7.4 DoIP
Diagnostics over IP (DoIP), standardized on ISO 13400 [25], has had an important
impact in diagnostic area of Automotive Ethernet enabling communication between
ECUs and an external tester using IP, TCP and UDP protocols, this to identify
and resolve faults, flashing ECUs. AUTOSAR is the software architecture for
implementing the communication between ECUs and the external tester. [30]
Instead of Unified Diagnostic Services (UDS) on CAN, that support max data
rated of 500kbps, DoIP supports data rates up to 100Mbps, so it is suitable for all
applications that require fast data transfer.
DoIP supports on-board and off-board communications. The first one warns the
passengers by activating on-board warning, the second one instead stores the fault
to be retrieved, subsequently, only in a garage by a mechanic.
An example of vehicle network architecture is shown in Figure 3.41, where a DoIP
Gateway is needed to save the effort and cost of integrating DoIP stack in every
ECU separately.
48
Automotive Ethernet
49
Chapter 4
This chapter describes, according to many automotive companies with its white
papers, existing methodologies and strategies for testing and validating intercon-
nected ECUs on Automotive Ethernet.
much taken from standard Ethernet with related testing methodologies. However
there are new protocols and applications which are to be tested. Since the au-
tomotive field, with Automotive Ethernet, has different requirements than local
networks, with standard Ethernet, it is good to start testing the network from ev-
erything that is already well established for the IT industry. [55]
According to many white papers [55][27][70] tests can be divided into three major
types:
– Negative testing: studies the response to the system when there are errors
or unexpected signals;
Figure 4.1. Test process for two ECUs starting from test speci-
fications. Source: [44][31]
Layer 2 For Layer 2 the tests are [42]: VLAN Testing, Address Learning, Filter-
ing of incoming frames, Time synchronization, Quality of Service, Configuration.
In Figure 4.3 is shown an example of Address Learning which check if switch sup-
ports reading the learned Address Resolution Logic (ARL) table1 . In this case, but
also in all other cases of layer 2 tests is used the standard test setup for switching
shown in Figure 4.4.
1
Address Resolution Logic (ARL) table: Internal table to the switch containing the correspon-
dence between MAC addresses and ports of the switch)
52
ECUs on Automotive Ethernet: testing and validation
Figure 4.2. Tests number for each test groups. Source: [65]
Figure 4.4. Layer 2 Standard test setup for switching. Source: [42]
currently, Open Alliance does not provide anything due to the high complexity and
variety of configurations and architectures. Thus there are no general specifications,
but individual test solutions are required. [63]
Figure 4.5. Layers 3-7 test, called: ”IPv4 HEADER 01: Ensure that
the DUT generates an IPv4 Packet with a Total Length greater than
or equal to 20”. Source: [43]
[51] defining, univocally for all vendors, a set of tests to measure the performance
of an Ethernet network. The test setups used for all tests, with separate sender
and receiver or a tester which supports both functions, are shown in Figure 4.7.
All the following tests must be performed using a number of different frame sizes,
i.e. 64, 128, 256, 512, 1024, 1280, 1518.
R0 = CIR + EIR
where CIR stands for Committed Information Rate and means guaranteed mini-
mum bandwidth (represented in green colour), instead EIR stands for Excess In-
formation Rate and means extra bandwidth (represented in yellow colour).
After the sending of all throughput test traffic, with a specific frame size, the re-
ceiver reports:
Latency test Latency tests are executed at the same time and same number of
steps as throughput tests.
58
ECUs on Automotive Ethernet: testing and validation
Latency value is computed as the time at which a specific frame is received minus
the time at which a frame is fully transmitted.
The RFC says that the test must be repeated at least 20 times and an average is
taken into consideration.
The test contains:
– If test is passed or failed (Traffic Loss or not);
– Number of green and yellow frames received;
– For each frame: size, rate, duration;
– Total elapsed time.
In Figure 4.10 is shown an example of latency test results.
Frame Loss test Frame loss test is used to test if the network is capable of carry-
ing traffic at the increasing specified transmission rate, with limited and acceptable
green CIR frame losses and without out of sequence frames.
As for the throughput tests, driver side requests at receiver side MAC learning
frames. Then, the driver informs the receiver that a test is ready and waits for an
acknowledgment.
Also for frame loss test, the transmission rate used, at this moment, is:
R0 = CIR(green) + EIR(yellow)
59
ECUs on Automotive Ethernet: testing and validation
After the sending of all throughput test traffic, with a specific frame size , the
receiver reports:
– If test is passed or failed;
– Number of green and yellow frames received;
– Frame loss ratio;
– Out-of-sequence events;
– For each frame: size, rate, duration;
– Total elapsed time.
The test is passed if Frame Loss Rate (FLR), computed as
F LR = (T xF rames − RxGreenF rames)/T xF rames
is less than a defined Frame Loss Ratio during the first two consecutive test steps
AND Out of Sequence counter is equal to 0.
Also for this test if a step is not passed or if there was an error, the transmission
rate is reduced by RFC2544 RateStep at:
Ri = Ri−1 –R0 ∗ RateStep/100
The process ends when the step rate Ri is greater than 10% of R0 or when two
consecutive steps pass.
In fact, to pass an entire test, for a specific frame size, two consecutive step tests
must have passed; instead to fail an entire test at least one of the two step tests
must have failed. [51][61]
In Figure 4.11 is shown an example of frame loss test results.
60
ECUs on Automotive Ethernet: testing and validation
Back-to-back Frames test This test is used to test if a network supports burst
transmission up to a specified limit, helping to determine the node buffer capacity
at the highest possible speed, measuring the longest burst where there are no lost
packages.
Back-to-back frames is executed after all other tests. As for throughput and frame
loss tests, driver side requests at receiver side MAC learning frames. Then, the
driver informs the receiver that a test is ready and waits for an acknowledgment.
The traffic is tested at CIR rate with, initially,
BurstSize = CommittedBurstSize(CBS) + ExcessBurstSize(EBS)
The driver sends, at defined CBS rate, as many frames as possible of a specified
size, in such a way that leaking buckets become nearly empty. This value is:
(
0.99 ∗ BurstSize
BucketF ill = min
BurstSize − 1.5 ∗ F rameSize
The number of frame required is
N
!
X CIR
F rameSize(i) < BucketF ill ∗ 1 +
i=0 LineRate − CIR
which means a large burst to empty the CBS + EBS leaky bucket.
Current cycle is passed if FLR is less than an acceptable ratio, where
F LR = (T xF rames − RxGreenF rames)/T xF rames
If current cycle is failed a decreased new
BurstSizei = BurstSizei−1 –BurstSize0 ∗ RateStep/100
is used. [61]
The test contains:
61
ECUs on Automotive Ethernet: testing and validation
RFC 2889 is called LAN Switch Benchmarking Methodology and, extending RFC
2544, provides methodologies to benchmark switching devices, congestion control,
latency, forwarding performance, address handling and address filtering.
Using the general test setup described above in RFC 2544, it contains, for dif-
ferent port traffic patterns, traffic loads and frame size, the following test types:
[28][54][26]
❼ Fully meshed throughput, frame loss and forwarding rates: To test if the switch
can handle fully meshed traffic for different traffic loads. Fully meshed means
from all ports to all ports. In fact the test result shows how many frames are
transmitted from all the ports and how many are received on all the ports
with the percentage of lost frames, so forwarding rate and throughput;
❼ Partially meshed one-to-many/many-to-one: Instead of sending traffic from all
ports to all ports, it is sent from one-to-many ports or many-to-one port. In
this way it can be determined the maximum rate of reception and forwarding.
Test result shows forwarding rate for each frame size;
❼ Partially meshed multiple devices: In this test two switches under test are
connected in series to test if they can handle traffic between all ports of multiple
devices. Test result shows throughput and forwarding rate for each frame size;
❼ Partially meshed unidirectional traffic: This test is used to show how the switch
handles unidirectionally the traffic between one half test ports to the other
half. Unidirectionally means that the transmit ports do not receive frames
and the receive ports do not transmit them. Test result shows throughput and
forwarding rate for each frame size;
❼ Congestion control :To test if and how the switch handles congestion control
mechanism, for example if the congested port also affects the non-congested
port. The test provides frame loss percentage and forwarding rate for each
frame size;
❼ Forward pressure and maximum forwarding rate: The tests are divided in two
parts. The first part overloads the switch and measure the forward pressure,
sending traffic at interframe gap (time pause between packets) of 88 bits (IEEE
802.3 standard permits more than 96 bits). If the switch transmits the traffic
at less than 96bits, forward pressure is detected. The second part shows the
maximum forwarding rate as the highest forwarding rate;
❼ Address caching capacity: The test uses binary search with the purpose of
establishing the address table (between MAC address and switch ports) size
of the switch;
❼ Address learning rate: The test provides the address learning rate transmitting
frames with multiple address;
63
ECUs on Automotive Ethernet: testing and validation
❼ Errored frames filtering: Test if the switch filters frames with some errors,
such as CRC, oversize, alignment, undersize, dribble bit and so on;
❼ Broadcast frame forwarding and latency: The test shows the maximum rate
to which broadcast frames are received and forwarded. So throughput and
latency for each frame size and load.
64
Chapter 5
Simulations
This chapter is very useful to understand how the Automotive Ethernet stack and
the related real-time protocols (i.e. AVB and TTEthernet) work through sim-
ulations. All the simulation environment and the related frameworks used are
open-source.
5.1.1 OMNeT++
OMNeT++[45] is a discrete event network simulation framework, used in many
applications, such as: queueing networks, communication networks, multiproces-
sors systems, performance evaluation and so on. Although OMNeT ++ is often
known as a network simulator, in reality, by itself, it is not because it includes
the infrastructure and tools to simulate, but not the components to model, specif-
ically, computer, ECU, queueing networks. For this purpose INET framework and
Core4INET will be used. [46]
A model in OMNeT++ is composed by: simple modules, compound modules, con-
nections and parameters.
In network simulations, simple modules are implemented in C++ and represent
sources and sinks, for example protocol entities, such as TCP, routing tables and so
on. Compound modules, instead, are more simple modules together or, hierarchi-
cally, many other compound modules, such as hosts or routers. Connections link
65
Simulations
input, output and in/out gates to exchange messages. Finally parameters are used
to configure data of the modules.
An OMNeT++ project consist of: its (Domain Specific Language) DSL in a .ned
(Network Topology Description) file containing the architecture of the network,
viewable both textually in the editor and graphically in the IDE; .ini file contain-
ing simulation settings and parameters.
After simulating, results are created in a folder where scalar and vector data can
be extrapolated and then plotted graphically.
– Ethernet AVB (with one class A message and one class B message), usually
used for multimedia, driver assistance systems and all applications which re-
quire latency and jitter in the order of some millisecond;
1
Xtext: open-source framework for developing programming and domain-specific languages.[8]
66
Simulations
Following the simulation workflow, shown in Figure 5.2, file .andl was written:
network s m a l l n e t w o r k {
devices {
node node1 ;
node node2 ;
node node3 ;
switch switch1 ;
}
67
Simulations
Figure 5.2. Simulation workflow from network description (.andl file) to result
analysis (.elog/.sca/.vec files). Source: [6]
connections {
segment d e f a u l t {
node1 <❂❂> { e t h e r n e t L i n k l i n k 1 { bandwidth 100Mb/ s ;
l e n g t h 20m; } } <❂❂> s w i t c h 1 ;
node2 <❂❂> { e t h e r n e t L i n k l i n k 2 { bandwidth 100Mb/ s ;
l e n g t h 10m; } } <❂❂> s w i t c h 1 ;
node3 <❂❂> { e t h e r n e t L i n k l i n k 3 { bandwidth 100Mb/ s ;
l e n g t h 5m; } } <❂❂> s w i t c h 1 ;
}
}
communication {
message stream1 {
s e n d e r node1 ;
r e c e i v e r s node3 ;
payload 350B ;
p e r i o d 125 us ;
mapping {
d e f a u l t : avb { i d 1 ; s r C l a s s A ; } ;
}
}
message stream2 {
s e n d e r node2 ;
r e c e i v e r s node3 ;
payload 350B ;
p e r i o d 250 us ;
mapping {
d e f a u l t : avb { i d 2 ; s r C l a s s B ; } ;
}
}
68
Simulations
message t t t r a f f i c {
s e n d e r node1 ;
r e c e i v e r s node2 , node3 ;
payload 46B ;
p e r i o d 5ms ;
mapping {
d e f a u l t : t t { ctID 1 0 0 ; } ;
}
}
message c r o s s t r a f f i c 1 {
s e n d e r node1 ;
r e c e i v e r s node2 ;
payload 1500B ;
p e r i o d uniform (200 us , 5 0 0 us ) ;
mapping {
d e f a u l t : be ;
}
}
message c r o s s t r a f f i c 2 {
s e n d e r node2 ;
r e c e i v e r s node3 ;
payload 1500B ;
p e r i o d uniform (200 us , 5 0 0 us ) ;
mapping {
d e f a u l t : be ;
}
}
message c r o s s t r a f f i c 3 {
s e n d e r node3 ;
r e c e i v e r s node1 ;
payload 1500B ;
p e r i o d uniform (200 us , 5 0 0 us ) ;
mapping {
d e f a u l t : be ;
}
}
}
}
The network, called ”small network ” is composed by three nodes and one switch,
everything connected with links of 100M b/s as bandwidth (100Base-T1) of differ-
ent lengths (20m, 10m, 5m), as shown in Figure 5.3. A reasonable propagation
delay of maximum 5ns/m of latency is considered.
69
Simulations
Node1 sends to node3 AVB messages of class A (payload 350Byte) every 125µs,
instead node2 sends to node3 AVB messages of Class B (payload 350Byte) every
250µs. Regarding TTE, node1 sends to both node2 and node3 Time-Triggered
messages (payload 46Byte) with 5ms as period, instead node1 sends messages to
node2 in Best-Effort manner with uniform period between 200µs and 500µs. Same
Best-Effort messages are sent from node2 to node3 and from node3 to node1.
By combining AVB and TTEthernet traffic, as in Figure 5.4, obviously, it is ex-
pected that the tt traffic (Time-Triggered) messages have highest priority overall.
Then stream1 (class A AVB) will have higher priority than stream2 (class B AVB).
Finally crosstraffic1,2,3 messages will have lowest priority due to their Best-Effort
mode, suitable for all legacy IEEE 802.3 Ethernet traffic without any requirement
in terms of time (QoS).
Figure 5.4. AVB, TTEthernet and Best-Effort traffic together. Source: [50]
70
Simulations
By generating the network from the .andl file, the .ini and .ned files are created
one for each node and switch and one for the entire network. Inside every .ned file
are imported from libraries (C++) all the pieces to implement the protocols and
the stack, instead inside .ini file are present all configuration parameters such as
the node name, payload, period, MAC, type of message (AVB, TT or BE) and so
on.
As an example file .ned of a node is shown, graphically, in Figure 5.5, instead file
.ned of a switch is shown in Figure 5.6. Regarding file .ini, below, in Figure 5.7, is
shown that of node1 (the others change only in the type of message sent/received
and in the time period).
Inside switch1 [Link], read from [Link], are contained all MAC ad-
dresses, in this case:
C6-92-3E-8F-18-8F node1
5A-0E-48-39-2D-28 node2
BA-51-C1-88-8B-DD node3
The network has been simulated by testing different payloads of the Best-Effort
messages to check cross-traffic. Values used are: 64B, 128B, 256B, 512B, 1024B,
1280B, 1500B.
Figure 5.8 shows the transit of packets starting from 5ms (time at which the first
TTE packet is generated) from one node to another passing through the switch.
In Figure 5.9 is shown the latency for AVB and TTE communications for increasing
71
Simulations
Cross Traffic frame size of Best-Effort messages. From the results it can be seen
that TTE has constant very low latency regardless of the increase in cross-traffic
and remains independent from the other streams respecting its determinism. In-
stead, latency below 2ms, for AVB suitable applications, is equally guaranteed, but
the increase in cross-traffic has a strong impact.
This configuration has a balanced throughput for each node as shown in Figure
5.10 and obviously there is no dropped packet.
Now trying to show the limit of AVB and TTEthernet protocols, some other cross-
traffic message and AVB stream is added to overload the whole network. In this
case 100M bps bandwidth is nearly saturated as shown in Figure 5.11, in fact there
is some AVB packet dropped. Regarding to latency of TTEthernet is still guar-
anteed (41µs, 42µs, 43µs) also in case of an overloaded network, because its fully
deterministic and predictable communication delays and precisions are certainly
guaranteed and predefined. The traffic generated by critical messages will always
take precedence over traffic generated by non-critical messages.
Instead, regarding AVB, latency grows and many messages are dropped when
adding more messages to overload the network.
Summarizing, Table 5.1 shows the results of the simulations mentioned above.
72
Simulations
73
Simulations
74
Simulations
Figure 5.9. Maximum and average end-to-end Latency (AVB and TSN) for
different Cross Traffic frame size.
75
Simulations
76
Chapter 6
77
Bibliography
[14] IEEE 802.3 Ethernet Working Group. 10mb/s single twisted pair ethernet call
for interest. [Link]
2019.
[15] IEEE Working Group. Ieee standard for local and metropolitan area networks
- virtual bridged local area networks amendment 12: Forwarding and queuing
enhancements for time-sensitive streams. IEEE Std 802.1Qav-2009 (Amend-
ment to IEEE Std 802.1Q-2005), pages C1–72, 2010.
[16] IEEE Working Group. Ieee standard for local and metropolitan area networks–
virtual bridged local area networks amendment 14: Stream reservation protocol
(srp). IEEE Std 802.1Qat-2010 (Revision of IEEE Std 802.1Q-2005), pages
1–119, 2010.
[17] IEEE Working Group. Ieee standard for layer 2 transport protocol for time
sensitive applications in a bridged local area network. IEEE Std 1722-2011,
pages 1–65, 2011.
[18] IEEE Working Group. Ieee standard for local and metropolitan area networks
- timing and synchronization for time-sensitive applications in bridged local
area networks. IEEE Std 802.1AS-2011, pages 1–292, 2011.
[19] IEEE Working Group. Ieee standard for a transport protocol for time-sensitive
applications in bridged local area networks. IEEE Std 1722-2016 (Revision of
IEEE Std 1722-2011), pages 1–233, 2016.
[20] IEEE Working Group. Ieee standard for local and metropolitan area networks
– bridges and bridged networks – amendment 26: Frame preemption. IEEE
Std 802.1Qbu-2016 (Amendment to IEEE Std 802.1Q-2014), pages 1–52, 2016.
[21] IEEE Working Group. Ieee standard for local and metropolitan area networks
– bridges and bridged networks - amendment 25: Enhancements for scheduled
traffic. IEEE Std 802.1Qbv-2015 (Amendment to IEEE Std 802.1Q-2014 as
amended by IEEE Std 802.1Qca-2015, IEEE Std 802.1Qcd-2015, and IEEE
Std 802.1Q-2014/Cor 1-2015), pages 1–57, 2016.
[22] IEEE Working Group. Ieee standard for local and metropolitan area networks–
bridges and bridged networks – amendment 31: Stream reservation protocol
(srp) enhancements and performance improvements. IEEE Std 802.1Qcc-2018
(Amendment to IEEE Std 802.1Q-2018 as amended by IEEE Std 802.1Qcp-
2018), pages 1–208, 2018.
[23] IEEE Working Group. Ieee standard for local and metropolitan area networks–
timing and synchronization for time-sensitive applications. IEEE Std 802.1AS-
2020 (Revision of IEEE Std 802.1AS-2011), pages 1–421, 2020.
[24] IEEE802.3 Working Group. 10g+ automotive ethernet electrical phys. https:
//[Link]/3/cfi/0319_1/CFI_01_0319.pdf, March 2019. Call for
Interest Consensus Meeting, Vancouver, BC.
[25] International Organization for Standardization. Road vehicles — Diagnostic
communication over Internet Protocol (DoIP) — Part 2: Transport protocol
79
Bibliography
OA_Automotive_Ethernet_ECU_TestSpecifications_Version_3.[Link].
[43] OPEN ALLIANCE TC8 Members. Open alliance automotive ethernet ecu
test specification layer 3-7. [Link]
OA_Automotive_Ethernet_ECU_TestSpecifications_Version_3.[Link].
[44] OPEN ALLIANCE TC8 Members. [Link]
document/196/9_OA_Automotive_Ethernet_ECU_TestSpecification_v1.
pdf, 2016.
[45] OpenSim Ltd. Omnet++. [Link]
[46] OpenSim Ltd. Omnet++ simulation manual. [Link]
omnetpp/[Link].
[47] OpenSim Ltd. Omnet++ simulation manual. [Link]
[48] Pattavina, Achille. Reti di Telecomunicazioni: Networking e Internet.
McGraw-Hill, 2007.
[49] Porter, Donovan. 100base-t1 ethernet: the evolution of automotive networking.
Texas Instruments, Techn. Ber, 2018.
[50] Soeren Rumpf, Till Steinbach, Franz Korf, and Thomas C Schmidt. Soft-
ware stacks for mixed-critical applications: Consolidating ieee 802.1 avb
and time-triggered ethernet in next-generation automotive electronics. In
2014 IEEE Fourth International Conference on Consumer Electronics Berlin
(ICCE-Berlin), pages 14–18. IEEE, 2014.
[51] S. Bradner and J. McQuaid. Benchmarking Methodology for Network Inter-
connect Devices. RFC 2544, March 1999.
[52] Softing Automotive Electronics GmbH. Diagnostic communication over in-
ternet protocol. [Link]
pdf/de/ae/poster/DoIP_faltblatt_softing.pdf.
[53] Spirent Communications. Automotive ethernet perfor-
mance testing. [Link]
automotive-ethernet-performance-testing.
[54] Spirent Communications. Spirent communications test methodolo-
gies layer 2 testing with rfc 2889. [Link]
UploadFilesForNewegg/itemintelligence/WAGAN/Layer_202_20Testing_
20with_20RFC_2028891445071217740.pdf.
[55] Spirent Developers, Critical New Test Challenges Facing. Testing automotive
ethernet phy. Engineer, 2013.
[56] Till Steinbach, Hermand Dieumo Kenfack, Franz Korf, and Thomas C Schmidt.
An extension of the omnet++ inet framework for simulating real-time ethernet
with high accuracy. In Proceedings of the 4th International ICST Conference
on Simulation Tools and Techniques, pages 375–382, 2011.
[57] Till Steinbach, Hyung-Taek Lim, Franz Korf, Thomas C Schmidt, Daniel
Herrscher, and Adam Wolisz. Beware of the hidden! how cross-traffic af-
fects quality assurances of competing real-time ethernet standards for in-car
communication. In 2015 IEEE 40th Conference on Local Computer Networks
81
Bibliography
82
Acknowledgements
83