Approaches For In-Vehicle Communication - An Analysis and Outlook
Approaches For In-Vehicle Communication - An Analysis and Outlook
1 Introduction
wiring of sensors, actuators and ECUs, which results in less costs for material
and assembling, less weight and hence less fuel consumption of the vehicle.
There are many and various application functions utilizing the communi-
cation infrastructure of vehicles and new functions are evolving. For example,
driver assistance systems improve towards autonomous driving, with truck pla-
tooning as a use case being deployed soon [2]. These functions impose require-
ments to both in-vehicle and car-to-X communication, where this paper focuses
on in-vehicle networks. The application functions require different characteris-
tics of the communication systems. For example, functions for driver assistance
have a priority on determinism and functional safety, whereas other functional-
ity, such as infotainment, has a priority on data throughput. As a consequence
the communication structure consists of interconnected subsystems of heteroge-
neous technologies, which will be analyzed in this paper and opportunities for
improvements will be discussed.
In other industries Ethernet-based technologies have been introduced success-
fully. For example in the industrial automation domain, Ethernet-based real-time
protocols have been standardized and deployed in applications, where fieldbus
protocols were used before. This development was primarily motivated by better
capabilities for network management, maintainability and communication per-
formance. In IEEE there are currently activities to specify extensions to the lower
layers of the Ethernet protocol which may support its utilization at in-vehicle
networks. The paper also aims to analyze where and under which conditions
Ethernet-based technologies including their currently developed extensions can
support in-vehicle communication and how a migration could be done.
This paper reviews the requirements for communication networks in the do-
mains of passenger cars and of commercial vehicles. It gives an overview of avail-
able technologies and discusses their applicability in commercial vehicles. The
focus of the paper will be on network technologies, which enable a broad range
of vehicular applications while technologies for specialized applications will be
only briefly dealt.
2 In-vehicle networks
Vehicular networks started with the controller area network (CAN, ISO 11989-
2), developed in 1983 and presented in 1987, defining layers 1 and 2 of the
OSI reference model [3]. It basically offers a linear bus topology, which greatly
reduces the wiring efforts in cars. In addition to CAN as a universal solution,
other vehicular communication systems have been developed for more specialized
applications. The local interconnect network (LIN, ISO 17987-1 to -7) focuses
on small networks mainly for discrete I/O signals with low bandwidth require-
ments. LIN implements a master-slave-topology offering a low-cost, single wire
solution compared to CAN-enabled devices. In the other direction, FlexRay was
introduced 2000, offering benefits over CAN in means of bandwidth, real-time
Approaches for in-vehicle communication – an analysis and outlook 3
capability, redundancy and functional safety. The driving aspect was the advent
of X-by-wire technologies, which needed a higher reliability and safety rating.
FlexRay offers a redundant connection between nodes and supports both star
and bus topology. The ability to support time-critical closed loop control appli-
cation in conjunction the resulting higher cost and complexity of the components
has preferred FlexRay’s usage to engine, steering and advanced driver assistance
systems (ADAS). Media Oriented Systems Transport (MOST) was developed
exclusively for telematics and multimedia applications and is utilized only in
the infotainment system. Comprehensive surveys about the outlined network
technologies can be found in the literature [4], [3], [5], [6].
These core standards are still a subject for improvements. For example for
CAN there are SAE J2284/3 (High-Speed CAN for Vehicle Applications at 500
kbit/s) aiming at high transmission rate and higher allowable node count, and
SAE J2411 (Single Wire CAN Network for Vehicle Applications) providing a
simplified variant for low requirements regarding bit rate, bus length and ro-
bustness. As a disadvantage, sometimes compatibility issues arise, such as for
CAN FD (flexible data-rate) [7].
Upon these communication layers, a number of protocols and standards have
been developed for network control and data exchange. For CAN, this includes
general purpose protocols like ISO 11898-4 (TTCAN, Time-Triggered Commu-
nication on CAN), industry-specific protocols like CANopen, SAE J1939 and
ISOBUS [4] [3] and protocols for special purpose vehicles, mainly derived from
CANopen like EnergyBus (pedelecs, E-bikes), CleANopen (municipal vehicles)
and FireCAN (DIN 14700, for external firefighter equipment). LIN does not com-
prise diverse higher layer protocols, but is most often terminated with a gateway
to connect to an overlying CAN network. FlexRay, as a safety-critical subsys-
tem, allows a diagnostic function via gateway, but also includes no diverse higher
layer protocols. An outstanding application layer protocol is On-board Diagnos-
tic (OBD) specifying self-diagnostic and reporting capability to assist the vehicle
owner and repair technician. The development of OBD began in the 1980s driven
by legal requirements for continuous emission surveillance during the entire life-
time of a vehicle. There are several standards for OBD, some of them contain
both protocol and data object definitions. At the beginning ISO 14230 (Road ve-
hicles - Diagnostic communication over K-Line, DoK-Line) gain importance, also
known as KWP2000 and referring to ISO 15031-5 (Road vehicles - Communica-
tion between vehicle and external equipment for emissions-related diagnostics).
Its CAN-based version ISO 15765-3 (Road vehicles - Diagnostic communication
over Controller Area Network, DoCAN) has been widely implemented but never
released by ISO. The most recent standard for OBD is ISO 14229 (Road ve-
hicles - Unified diagnostic services, UDS). It focuses on application data and
services, decoupling them from the lower layers. UDS provides data and services
with the same semantics as the ODB standards based on KWP2000 and extend
them but the representation is not compatible. This collection is not complete,
there are additional standards about OBD, such as definitions by SAE or about
communication to external equipment.
4 Approaches for in-vehicle communication – an analysis and outlook
The different areas of preferred application for each bus system has led to a
heterogeneous network structure, so far with only few needs for interconnection;
each segment is mainly designed to work standalone, exchanging mainly status
information with other networks. Nowadays the bus segments are usually con-
nected by a centralized gateway. A typical network architecture is shown in figure
1, while additional topology examples can be found in [3]. Other approaches fo-
cus on the introduction of backbone networks for different application areas and
different positions in the vehicle as described in [8] and [5].
With more driver assistance, autonomous driving and other integral function-
ality, there are variable applications demanding information exchange between
the ECUs, sensors and actuators. These applications also require diverse qual-
ities of service, mainly determined by the update rate of information. In [9]
update interval requirements at commercial vehicles are given, such as tire pres-
sure: 10 s, battery current: 1 s, cruise control information: 100 ms and electronic
transmission controller information: 10 ms. This fact of variable requirements
in conjunction with the large number of communication nodes and the limited
bus capacities led to a functional separation of bus segments into subsystems.
The most typical subsystems comprise the power train bus (engine and gear
control), the chassis system (e.g. anti-lock brake system) and driver assistance
Approaches for in-vehicle communication – an analysis and outlook 5
(e.g. electronic stability program), the body and comfort electronics (e.g. air
condition), and the infotainment (audio and navigation). The power train bus
needs to be generally accessible for diagnostics including emission monitoring to
fulfill legal regulations, while all other bus system diagnostics is depending on
manufacturer-specific tools.
The requirements imposed by the applications on the communication net-
work comprise determinism, fault tolerance, data throughput and functional
safety. Security requirements have to be managed for components, which grant
access from outside components. This becomes a raising issue since car-to-X
communication and infotainment connectivity pose growing challenges. In [10]
an overview about the subsystems and their priorities of communication require-
ments is given. Table 1 extracted from this source summarizes the assignment
of the different requirements to the subsystems.
Fault
Determinism Bandwidth Flexibility Security
tolerance
Body and
NO SOME SOME YES NO
comfort
Multimedia /
NO SOME YES YES NO
Infotainment
Wireless /
NO SOME SOME YES YES
Telematics
BroadR-
Ethernet Ethernet
Reach
R
CAN 2.0 SAE J1939 100BASE- 1000BASE-
(100BASE-
TX T1
T1)
Possible
bus bus star star star
topologies
Max. transfer
1 Mbit/s 250 kbit/s 100 Mbit/s 100 Mbit/s 1 Gbit/s
speed
Typical CAN applications range from engine control and diagnostics to com-
fort electronics, with different bandwidths being employed. Typically, the range
below 125 kbit/s is regarded as low-speed CAN oder CAN B, and the range
from 125 kbit/s up to 1 Mbit/s is regarded as high-speed CAN, or CAN C.
The CAN A class defines a bandwidth of 10 kbit/s or lower, historically used
for diagnostic purposes. The maximum line length is depending on the chosen
bandwidth. This limitation arises from the propagation time of the signal on the
medium combined with the need for CAN to sample the received data exactly
bit-synchronously. All bus nodes need to see the same bit value at the same
point in time. Fault-tolerance is achieved by the use of differential signaling and
the insertion of stuff-bits after 5 consecutive identical bit values, guaranteeing a
state transition occurrence for synchronization. For commercial vehicle, the Soci-
ety of Automotive Engineers (SAE) defines a communication protocol standard
named J1939. It uses CAN as physical layer and is widely in use. Compared to
CAN 2.0, SAE J1939 sets some limitations for the physical layer. The standard
defines a maximum transfer speed of 250 kbit/s with a maximum cable length
8 Approaches for in-vehicle communication – an analysis and outlook
CAN specifies an asynchronous, event based medium access protocol. The com-
munication is message-oriented, with a given identifier being assigned to a certain
information, but not to a specific device. The number of devices on a bus is the-
oretically not limited, while the number of possible message identifiers depends
on the their length. Two types of identifiers, 11 bit and 29 bit, are available
to choose. CAN follows the Carrier Sense Multiple Access Collision Resolution
(CSMA/CR) scheme, where each network node is allowed to send data when it
detects an idle state at the medium. The messages are prioritized by their iden-
tifier, i.e. in case of conflicts an arbitration occurs and the message coming up
with the higher order identifier being sent successfully. The arbitration reduces
the number of retries and avoids a stop of data transfer due to congestions [3].
Although CSMA/CR represents a non-deterministic method, determinism can
be reached for messages holding the highest priority. To fulfill application re-
quirements on latency of transmission, a serious engineering effort regarding the
assignment of priorities and update intervals of data objects is necessary and
simulation and test of the network configuration is recommended. A detailed
analysis about schedulability in CAN Networks is provided in [19].
The IEEE 802.1 Ethernet standard utilizes Carrier Sense Multiple Access
with Collision Detection (CSMA/CD) for medium access and was originally not
designed to transport any time sensitive traffic and hence does not provide de-
terminism. After introduction of the IEEE 802.1Q, providing the possibility to
assign a defined priority level to a particular message by using the Virtual LAN
(VLAN) field, many proprietary industrial protocols were developed, e.g. Eth-
ernet/IP, PROFINET RT, SERCOS and many other, which were build upon
this feature. Due to limits of the priority based communication, some additional
functionalities to further improve the real-time efficiency were introduced. These
are: TDMA based communication (e.g. PROFINET IRT), polling based com-
munication (Powerlink) or summation frame communication (EtherCAT). All
mentioned approaches, allow to achieve high real-time performance, however it
require modification of the original IEEE Ethernet MAC [20]. Beside this devel-
opment of industrials protocols for Ethernet to transfer sensitive traffic a pool
of establishments from the automotive area, like BMW and Daimler AG, de-
veloped a in-vehicle communication protocol, known as FlexRay, to handle the
requirements like real-time communication.
interest of the industry in this activity, the focus of the group has been broad-
ened by including industrial application requirements [22]. At the same time, the
name of the working group has been changed to more generic Time Sensitive
Networking (TSN). An important aspect for this activity was to offer low costs
devices, which require a minimal configuration effort to achieve plug-and-play
functionality [23]. In case of in-vehicle communication, the plug-and-play func-
tionality is not of major importance. It is due to the fact that in opposite to the
industrial automation, in cars, the installed in-vehicle network infrastructure re-
mains unchanged. More important is the spectrum of traffic classes that can be
supported by the TSN technology. It allows to satisfy demands in terms of high
throughput required by multimedia or infotainment systems, but also provide
high determinism and availability, thus enabling support of control loops and
safety critical functions. Having one system supporting different traffic flows,
would help to significantly reduce the complexity of the current in-car commu-
nication infrastructures, and open the possibility for the future functionalities,
such as highly sophisticated ADAS. The focus of TSN is very broad, therefore
multiple sub-groups has been established to deal with a particular aspect. The
most relevant for in-car communication are listed below:
There are several papers currently available, which try to evaluate some of the
TSN amendments in the in-car communication context. In [24], authors investi-
gated the worst case behavior of three different shapers, namely Burst Limiting
Shaper (BLS), Time Aware Shaper (TAS) and Peristaltic Shaper (PS) using
analytical calculation and simulation. According to the authors in [24], the best
performance in terms of latency and latency jitter had the TAS, however require
a lot of configuration efforts. BLS offers a compromise between performance and
configuration efforts. The PS offers the easiest configuration, however the worst
performance as comparing to other shapers. An additional deep investigation
of the worst case latency provided by BLS in a typical automotive setup was
conducted in [25]. Authors shown that in some cases it is better to use the IEEE
Approaches for in-vehicle communication – an analysis and outlook 11
802.1Q than TSN + BLS. In order to efficiently use BLS some additional fil-
tering functionality is required. The same authors analysed the effect of TSN
with frame preemption (IEEE 802.3br) to worst-case end-to-end latency in [26].
Their experiments in a typical automotive setup show, that latency guarantees
for time-critical traffic can be significantly improved while preemptable traffic
only slightly degrades. In [27], authors investigated bandwidth allocation ra-
tio for the scheduled traffic (IEEE 802.1Qbv), while adjusting the Maximum
Transmit Unit (MTU). They have shown that using two time sensitive flows it
is possible to achieve cycle times of 250µs for the MTU size of 109 bytes. A
survey in [28] provide a broad overview about the Ethernet-based communica-
tion with the focus on IEEE AVB. It discusses especially the scheduled traffic
and presents simulation results, where offset scheduling TAS were combined to
achieve an temporal isolation from other kinds of traffic. The fault-tolerance
aspects of TSN were investigated in [29]. Authors compared two different ap-
proaches aiming to guarantee seamless redundancy. They pointed out that the
current seamless redundancy mechanisms provided by TSN lacks of flexibility
in terms of stream reconfiguration and mechanisms for automatic stream reser-
vation. Despite of all advantages, TSN increases the configuration overhead of
a network. In [30] an ontology-based approach to support automatic network
configuration of TSN is presented. The authors demonstrated the approach by
modeling the TAS and came to the conclusion that the expressiveness of the
ontology has to be further investigated. The several papers demonstrate that
TSN is actually in focus, but it also shows a gap in the field of implementation
to simulate the behavior of TSN. An easily accessible implementation of single
protocols would be a benefit to gain insight of TSN and whose performance.
After all it can be concluded that TSN is a prominent candidate for in-vehicle
communication to handle future requirements. It supports different real-time
classes, offers determinism and high reliability via seamless redundancy.
As a wrap-up of this chapter, table 3 gives a summary about the access
methods of the discussed communication technologies.
Basic access
CSMA/CR CSMA/CD CSMA/CD
protocol
In this chapter, the considerations are mainly driven by the application require-
ment of bandwidth. The state-of the-art technologies are compared regarding
their performance to transfer different qualities of user data. For this communi-
cation layer no emerging technology is discussed, but new mappings with estab-
lished protocols at higher layers open future opportunities.
The standard ISO 11898 for CAN does not specify higher protocol layers of
the OSI reference model. CAN is limited to a maximum data object length of 8
octets and provides message oriented broadcasting without address information
about the sender and receiver. This simplicity enables a small protocol overhead
and allows short transmission times. Consequently, user data rates of approxi-
mately 7,5 KB/s for 1 octet payload and approximately 28 KB/s for 8 octets
payload are possible, supposing a bus workload of 100 %, according to [3] and
[31]. Although this throughput statement is not very impressive, it is sufficient
for many applications regarding the update intervals of the required number of
communication objects. In the domain of commercial vehicles, the widespread
standard SAE J1939 defines transport protocols for segmented transport for both
message-oriented broadcasts and node-oriented unicasts on top of the CAN lay-
ers. The transport protocols define an initial frame to announce the transmission
and the user data length of a data frame is reduced to 7 by taking the first octet
of the CAN payload for protocol information. The protocols shall not strongly
interfere in the plain message exchange, therefore the standard defines a low
CAN priority and a minimum frame gap of 50 ms. All these measures reduce
the user data rate to below 140 bit/s and limit the application range to very low
demanding functions.
While CAN based protocols show constraints which the upper limit of the
payload size, Ethernet based protocols show a lack of efficiency considering the
lower limit of the payload size. The payload size of an Ethernet frame is defined
from 42 to 1500 octets, if the VLAN tag is used. When transferring control
data of sensors and actuators, the user data length often will be between 1 and
4 octets and the remaining payload size needs to be filled by padding octets.
Considering the overall Ethernet protocol overhead and the inter frame gap the
gross ratio of net data becomes 1:84 for a single octet. When using a Ethernet
bit rate of 100 Mbit/s, the net data rate in this worst case is still above 1 Mbit/s,
again supposing a network load of 100 %, which is significantly higher than CAN
communication.
Consequently, the substitution of CAN based protocols by Ethernet based
protocols can overcome bandwidth limitations for in-vehicle communication when
transferring big sized data objects. In [32] an approach is published, where the
SAE J1939 application protocols are mapped on top of a TCP/UDP stack. The
authors claim the applicability for the power train segment in heavy duty vehicle
networks, which still needs further investigation. Nevertheless, this contribution
shows, that a changeover to more powerful network technologies is possible with-
out essential modifications at the application interface.
Approaches for in-vehicle communication – an analysis and outlook 13
from transport protocols and enable domain specific extendibility. For the de-
ployment in in-vehicle networks, OPC UA needs the ability to be implemented
on physical nodes with low resources. For this reason, OPC UA components need
to be scaled down. In order to support this, the OPC UA specifications provide
profiles, for example the OPC UA Nano Embedded device profile. Based on this
profile, it is possible to scale down an OPC UA server to 15 kB RAM and 10 kB
ROM [34], thus allowing implementation at the chip level of a resource limited
device such as a sensor or an actuator.
To provide interoperability beyond this general information model and to ease
the use of OPC UA in several domains, Companion Standards have been devel-
oped. For example, the specifications for building automation (in co-operation
with BACnet), energy systems and management (participating in IEC TC 57
”Power systems”) or railways transportation shows that OPC UA already has
been approached by applications outside the industrial automation. The uti-
lization of the OPC UA Address Space Model as a wrapper of data models
provided by the in-vehicle communication standards could be a step ahead to
the required extendibility of the models. The existing information structures can
be preserved and transformed into an object oriented approach as it is shown in
[35] for building automation. At the same time the co-existence with information
models of upcoming components and functions, which are not covered by the
available standards in the vehicle domain, becomes possible. For example, SAE
J1939 data in parallel to data according to the standard CAN in Automation
DS402 for electric drives could be modeled and transferred on the same network.
7 Conclusion
References
1. N. Navet, Y. Song, F. Simonot-Lion, and C. Wilwert, “Trends in automotive com-
munication systems,” Proceedings of the IEEE, vol. 93, no. 6, pp. 1204–1223, June
2005.
2. R. Bishop, D. Bevly, J. Switkes, and L. Park, “Results of initial test and evaluation
of a driver-assistive truck platooning prototype,” in 2014 IEEE Intelligent Vehicles
Symposium Proceedings, June 2014, pp. 208–213.
3. W. Zimmermann and R. Schmidgall, Bussysteme in der Fahrzeugtechnik - Pro-
tokolle, Standards und Softwarearchitektur, 5th ed. Berlin Heidelberg New York:
Springer-Verlag, 2014.
4. N. Navet and F. Simonot-Lion, Automotive Embedded Systems Handbook,
ser. Industrial Information Technology. CRC Press, 2008. [Online]. Available:
https://books.google.de/books?id=vB700Gb4RtkC
5. W. Zeng, M. Khalid, and S. Chowdhury, “In-vehicle networks outlook: Achieve-
ments and challenges,” IEEE Communications Surveys Tutorials, vol. PP, no. 99,
pp. 1–1, 2016.
6. S. C. Talbot and S. Ren, “Comparision of fieldbus systems can, ttcan, flexray and
lin in passenger vehicles,” in Distributed Computing Systems Workshops, 2009.
ICDCS Workshops ’09. 29th IEEE International Conference on, June 2009, pp.
26–31.
7. G. Cena, I. C. Bertolotti, T. Hu, and A. Valenzano, “Improving compatibility
between can fd and legacy can devices,” in Research and Technologies for Society
and Industry Leveraging a better tomorrow (RTSI), 2015 IEEE 1st International
Forum on, Sept 2015, pp. 419–426.
16 Approaches for in-vehicle communication – an analysis and outlook