Documente Academic
Documente Profesional
Documente Cultură
System design
point of view
CAN FD provides bit-rates higher than 1 Mbit/s and payloads larger than
8 byte. Nevertheless, it is a proven technology: robust and reliable. With
these characteristics CAN FD meets the requirements of carmakers.
Authors
Dr.-Ing. Marc Schreiner
Daimler AG – Research and
B ecause vehicle network-
ing is not an infrastruc-
ture that is directly percep-
capacity without large chang-
es in the existing sys-
tems like brake systems or
does not include stuff bits.
The upper graphs in Figure
5 are plotted for arbitration
Development tible by the customer, it is a engine controllers. speeds between 500 kbit/s
Wilhelm-Runge-Straße 11 balancing act between eco- The next evolutional and 800 kbit/s. The x-axis
DE-89081 Ulm nomical pressure and tech- step, automotive Ethernet, represents the bit-rate in
nical innovation that requires will have an impact on CAN. the fast data phase of a
Haytham Elwy Mahmoud the adequate use of specific On the one hand there will CAN FD frame, while on the
Martin Huber technologies. Along the lines be a need for more band- y-axis the resulting average
Daimler AG – Research and of “as few as possible, as width in architectures like bit-rate is plotted, assum-
Development much as necessary” Figure Figure 4. Such an architec- ing that only 8 byte payload
Bela-Barenyi-Str. 1 2 shows a simplified sche- ture and especially Ethernet frames are used. Figure 5a
DE-71063 Sindelfingen matic of the E/E-architec- itself requires sub-networks shows that the average bit-
ture of the current S-Class with payloads of more than rate could be nearly dou-
Serhan Koç (launched in 2013) and Fig- 8 byte. bled by an arbitration speed
Dr.-Ing. Jan Waldmann ure 3 the current Actros truck of 500 kbit/s and 2 Mbit/s for
Daimler AG – Truck Development (launched in 2011). CAN FD physical the data phase using only
Mercedesstr. 123 Both architectures fol- layer 8-byte data frames and 29-
DE-70372 Stuttgart low the idea of grouping bit IDs. There is more gain
communicating systems of The average bit-rate de- in average bandwidth using
Tel.: +49-711-170 the same domain in their pends on payload length only 11-bit IDs.
Fax: +49-711-1722244 own network systems to re- and identifier length (11- The lower graphs
dialog@daimler.com duce overall busload. Es- bit or 29-bit). The correla- in Figure 5 show the ef-
pecially in truck systems tions are given in Figure fect of the extended pay-
Link a large amount of inter- 5, where the average bit- load length, assuming that
domain communication re- rate can directly be com- all transmitted frames make
www.daimler.com quirement (e.g. brake and pared with today’s CAN bit- complete use of the re-
powertrain system) remains, rates, e.g. 500 kbit/s. Please spective payload. It is evi-
which cannot be satisfied by note that this estimation dent that the gain in average
introducing just another CAN
network system. On the oth-
Keynote speech of Dr. Schreiner at er hand the introduction of
the 14th iCC on Youtube non-CAN communication
would require a big change
References of today’s software and com-
[1] CAN with Flexible Data-Rate - munication implemented
Florian Hartwich, CAN in within truck systems. The
Automation, iCC 2012 introduction of CAN FD [1]
[2] Safeguarding CAN FD for appli- for these busload-critical
cations in trucks - M. Schreiner, H. CAN-networks seems to Figure 1: Evolution of in-vehicle networking: different
Leier, M. Zerzawy, T. Dunke and J. be a perfect solution to evolutional steps in terms of in-vehicle networks from its
Dorner, CAN Newsletter March 2013 achieve higher network early days to the present using the example of the E-Class.
IXXAT
CM CANopen
Communication module for connecting CAN-based
Figure 3: Current truck architecture
field devices with the SIMATIC® S7-1200 world
With CM CANopen HMS offers under the brand IXXAT a module for the
Figure 4: Future passenger car architecture easy integration of CANopen and CAN-based I/O modules, drives or
sensors into SIMATIC S7-1200 controllers as well as in PROFIBUS and
bit-rate is maximized when data-rate as shown in Fig- PROFINET networks.
frames with long payloads ure 5d. This means an in-
are used: e.g. in a network crease of approximately
with an arbitration speed of 50 % in an average data-
500 kbit/s and a speed of rate. Also available: 1 SI CANopen
2 Mbit/s in the data phase CANopen module with CAN 2.0A support for
using 8 bytes payload would Designing CAN FD SIMATIC ET200S decentralized peripheral systems
give just a little less than a networks
1 Mbit/s average bit-rate. SIMATIC, STEP 7, TIA Portal and images of the S7-1200 and ET200S are intellectual property of
Siemens AG Germany and copyright protected.
However using only 64 byte The most important key pa-
of payload yields a little more rameter for evaluating CAN
than 1,5 Mbit/s average networks is the propaga- HMS Industrial Networks GmbH
Emmy-Noether-Str. 17 · 76131 Karlsruhe
+49 721 989777-000 · info@hms-networks.de
www.anybus.com · www.ixxat.com · www.netbiter.com
System design
Figure 5: CAN FD average bit rate depending on data phase speed and ID length
tion delay in the network. erances, EMC or tempera- will cause communication er- for other ECU software so-
This value is limited by the ture influences. rors due to erroneous sam- lutions. All Daimler vehicles
CAN protocol mechanisms In the phase of acce- pling of the bits. The total (trucks, buses or passenger
and the respective bit time lerated data transmission of asymmetry is a combination cars) make use of several
settings. In simple terms all a CAN FD frame, the delay of the intrinsic asymme- network systems that are in-
nodes within a network need values are not relevant as all try of the transceivers and terconnected via gateways.
to receive the response of other nodes are already syn- the specific characteristics Thus not only the commu-
all other nodes to their own chronized and just listen to of the topology. Up to now nication within one net-
signal within a bit time. If the the transmitted data. How- there is no official tolerance work but also the routing be-
delay is too long, CAN-ar- ever other key parameters range of the intrinsic asym- tween several CAN networks
bitration and acknowledge can be identified for CAN FD metry of the transceivers (which might be CAN FD and
mechanisms fail and as a frames that have not been themselves. Just like sym- CAN ) or between other net-
consequence the communi- considered for CAN even metric delay values in CAN works systems like Ethernet
cation in the CAN-network though the effects are pres- implementations there has or Flexray has to be consid-
breaks down completely. ent in CAN -networks as well. to be an adequately defined ered for the introduction of
To make sure that this does Most important is the asym- safety margin for the asym- CAN FD.
not happen under any cir- metric delay of the received metric delay to account for
cumstance, all communica- signals in the network that tolerances, EMC or temper- Scenario 1
tion relationships in a net- becomes relevant especial- ature influences.
work between all nodes are ly for higher bit-rates. This The first scenario considers
assessed, e.g. by means effect is due to the fact that Integrating CAN FD an increased communica-
of measurement or physi- the rising and the falling into E/E architecture tion speed, while maintain-
cal layer network simulation. edges of a dominant signal ing an 8-byte payload per
The maximum delay time in have different physical pre- Especially passenger cars frame. This scenario, called
the network (TX to RX) is ex- conditions, i.e. the reces- use the Autosar (automo- CAN FD 8 (payload re-
tracted and the signal integ- sive to dominant edge is tive open system architec- mains limited to 8-byte), will
rity of the network is checked driven actively whereas the ture) software stack in their be introduced for the Auto-
as well in order to make sure dominant to recessive edge ECU software. Autosar fol- sar release 4.1.1. Figures
that the predicted values are is just released. In the end, lows the principle: cooper- 8, 10 and 14 show the Au-
stable. If there is ringing in depending on the trans- ate on standards, compete tosar software stack. Blue
the network that could fur- ceiver, used dominant or re- on implementation. In the shaded boxes indicate that
ther enlarge the delay time, cessive bits shrink or grow. following, three introduc- the respective component
the predicted delay values The exact value may even tion scenarios for CAN FD has to be adopted. In Sce-
have to be adopted. Fig- be dependent on the previ- into ECU software are dis- nario 1 only the communi-
ure 6 shows how the evalu- ously transmitted signals. cussed. In addition, the im- cation speed is increased,
ation can be done by means Figure 7 gives an example of pact on the ECU software is all other communication
of a signal integrity chart. Of bit asymmetry measured in a explained exemplarily for the software mechanisms are
course, there will always be real network. Autosar software stack used maintained. As shown in
an adequately defined safe- Depending on the bit in passenger cars in which Figure 8 the only soft-
ty margin to account for tol- time settings, bit asymmetry the principle is also valid ware component that is af-
The VN8900 network interface can be used in multiple application areas like
system simulations or bypassing applications with Simulink, remaining bus
le
icab
simulations, gateway implementations and test executions (MiniHIL).
es t appl on-
b C
nit: Noe
More information: www.vector.com/vn8900
Base U nsive CA r huge
912 o
VN8 exte ions
with simulat
NEW stands B
st ATL A ents
at te ions, M nvironm
rat te
f igu tor y tes
r a
labo
VN8900
Modular FlexRay/caN/LIN/J1708/K-Line Network Interface with up to 8 channels
What is VN8900 technical Data
www.vector.com/contact
V1.2 2014-01
including three PDUs with- is combined from multiple
out new information. Like CAN frames depending on
Scenario 2 this solution the PDU arrangement and
would make ineffective the router scheme (PDU
use of CAN FD possibili- routing or signal routing).
ties. Therefore, as a sec- But another aspect
ond step, a so-called PDU- rises up as for the case of
Header (similar to what is Figure 12: Routing scenario with CAN FD 64 DLC > 8 or multiple PDUs
currently specified in Eth- on CAN FD: the timing of the
ernet) could be introduced, arriving CAN frames needs
see Figure 13. to be considered. Multiple
The introduction of approaches may be used
this PDU header allows a varying in routing latency for
dynamic mapping of PDUs the different PDUs. Depen-
onto CAN FD frames. In this ding on the specific appli-
case only those PDUs are cation of the routed signals,
transmitted in a CAN FD the appropriate routing tim-
frame whose contents have ing scheme has to be se-
actually changed. There is lected (e.g. starting routing
no redundant transmission process at first incoming
of unchanged PDUs. The Figure 13: PDU header concept CAN frame, starting after
PDUs that are contained arrival of last incoming CAN
in a current CAN FD frame frames). In every case, buf-
can be identified clearly by fer memory for single sig-
means of the PDU head- nals or complete PDUs has
er. Furthermore the length to be provided within the
of the CAN FD frame can router.
be adapted dynamically
depending on the current
communication needs. This
method allows using the
possibilities of the CAN FD
technology in a quite effec-
tive manner, even though
some bandwidth gets lost
for the additional PDU
headers. Secondly, it fits
into the grown structures of Figure 14: Software stack changes using CAN FD 64 and
the ECU software structure. PDU routing Routing of CAN-frames between networks
Figure 14 again highlights containing CAN FD and classic CAN using the PDU
the software components header concept is shown in Figure 15.
that have to be adopted.
It has to be mentioned
that the PDU header con-
cept also implies the loss of
bandwidth due to the PDU
headers in the CAN-mes-
sage’s payload. E.g. if five
8-byte PDUs are transmit- Figure 15: Routing scenario with CAN FD 64 and PDU
ted in an 64-byte CAN FD header concept
frame, 60 bytes of the frame
are really used and anoth- Figure 15 shows the table for the selection of the
er 20 bytes get lost for the routing of a CAN FD frame destination network (e.g.
PDU headers resulting in an with a DLC > 8 from a CAN-ID1 should be rout-
effective usage of 62,5 % CAN FD network towards ed to CAN network No. 1,
System design