Professional Documents
Culture Documents
Improved CAN
Authors
Dr. Marc Schreiner
Dr. Helmut Leier
D aimler Trucks
among the very first
adopters of the CAN net-
was creased to 667 kbit/s. The
Figure 1 shows that also in
the time between steps in
erties of classic CAN with
CAN FD and Flexray dedi-
cated for trucks (for passen-
Daimler Research & working technology. In the architecture there is an in- ger cars it may differ). Since
Development beginning of the 1990s CAN crease of data transmission the automotive version of
Wilhelm-Runge-Str. 11 was introduced into the SK due to features that have Ethernet is a switched net-
DE-89081 Ulm (schwere klasse: heavy to be added to an existing working technology that
class) truck. In the first ap- architecture. does not support shared
Matthias Zerzawy plication (Euro 2 engines) media, it is not included into
Tobias Dunke there were only two CAN Networks for future this comparison. The over-
Jürgen Dorner ECUs (electronic control truck architectures view distinguishes between
Daimler Trucks units) running at 125 kbit/s CAN with ≤500 kbit/s (the
Mercedesstr. 123 with a special truck low- For the next step in truck ar- past at Daimler Trucks) and
DE-70327 Stuttgart speed physical layer (ISO chitectures, networks run- CAN with ≥500 kbit/s (the
11992). Since then, with ev- ning only with classic CAN present situation at Daimler
Link ery step in the evolution of will not be able to keep up Trucks).
www.daimler.com the electronic architecture with the growing demand The main aspects are:
the number of CAN net- for the bandwidth. More ◆◆ Bandwidth: Classic CAN
works, CAN ECUs and the powerful networking tech- will not provide enough
Abstract total amount of transmitted nologies that could be used bandwidth in future.
This article gives an overview data increased as shown in in future truck architectures CAN FD will increase
about safe-guarding CAN Figure 1. In the current ar- are CAN FD (a further de- the available bandwidth.
FD for applications in trucks. chitecture (“New Actros”), velopment of the CAN pro- Flexray would have the
The present situation of CAN which was introduced in tocol), Flexray (already suc- most potential with re-
networks in Daimler trucks 2011, there might be up to cessfully introduced into spect to bandwidth.
is described. Furthermore 12 CAN networks in one ve- passenger cars), and Ether- ◆◆ Cost: It can be expect-
capabilities and implications hicle (depending on the ve- net (Broadcom automotive ed, that CAN FD will cost
for the future usage of hicle configuration ordered), 100-Mbit/s Ethernet that is approximately as much
CAN FD in truck architectures the bit-rate is at least 500 just about to have its debut as classic CAN. Flexray
are shown from the physical kbit/s and on some dedi- in passenger cars). Figure 2 would be more cost in-
layer point of view. cated CAN networks it is in- gives a comparison of prop- tensive due to additional
10 Mbit /s
average amount of data
on all CAN buses
1 Mbit /s
500 kbit /s
100 kbit /s
year
1990 2000 2010 2020
epec 5050 control unit epec 3606 control unit epec 3724 control unit
based on 32 bit processor based on 16/32 bit processor based on 16/32 bit processor
memory: memory: memory:
• flash 8 mbyte • flash 1,6 mbyte • flash 1,6 mbyte
• ram 4 mbyte /8 mbyte • ram 1 mbyte • ram 1 mbyte
• non volatile: 512 kbyte • plcopen application max size • non volatile: 8 kbyte
• plcopen application max size • 768 kbyte • plcopen application max size
• 1 mbyte / 3 mbyte • temperature range up to +85°c • 768 kbyte
• temperature range -40°c ... +70°c • temperature range up to +85°c
epec oy |
past present future future of truck and bus architec-
Improved CAN
topology dozens of sig- red area comprises all an- more complex structure of (grey bars) and the CC de-
nals have to be checked alog bus waveforms that the topology. lay (dark blue bar) has to
and, if done manually, the can be found in the net- be added. Oscillator toler-
worst-case signal might be work; overshoots, ringing or Round trip delay ances in the ECUs have a
missed. Therefore Daim- the shape of the transitions similar effect that can be
ler R&D developed the sig- from dominant to reces- A relevant value for the expressed as an addition-
nal integrity graph (Figure sive can be examined. The CAN protocol controller is al delay; the respective val-
4 right side). One topology blue-shaded area includes the maximum round trip ues are added as grey bars
is described in one graph all Rx signal slopes rela- delay in the network be- at the sample point posi-
that shows all relevant to- tive to the Tx slope. Thus, tween the ECUs, which can tions. In the example (Fig-
pology characteristics in- the position and extent of be extracted directly from ure 5) a direct clocking of
cluding the worst-cases. In the blue-shaded area di- the signal integrity graph. the controller by a crys-
order to get the signal integ- rectly corresponds to the The maximum round trip tal is assumed. In case a
rity graph all physical signal minimum and maximum values of both example to- PLL (phase-locked looped)
relationships between all propagation delay between pologies are plotted in a clock is used, the clock tol-
nodes in the network have the nodes. The truck topol- bar graph shown in Figure erance might be larger. The
to be measured or simulat- ogy shows comparatively 5. They represent the typ- maximum bit-rate in the
ed. All analog bus and digi- clean bus signals, ringing ical case (light blue bar). network is limited by the
tal Rx (receive) signals are decays quickly and there is For worst-case estima- maximum round trip delay.
synchronized on the falling only a little delay. However tions, the temperature-de- It has to be smaller than the
edge of the Tx (transmit) the articulated bus topology pendent tolerances of the time position of the sample
signal and plotted in an in- shows more ringing, reflec- transceiver and EMI (elec- point within one bit-time. If
tersected manner. The re- tions and it has consider- tromagnetic interference) the round trip delay is too
large, the arbitration and
acknowledge mechanism
truck topology example 3 6 does not work anymore re-
5 sulting in error frames on
the network. These limits
diff. bus voltage (V)
2 uBus 4
RxD
TxD/RxD (V)
TxD
3 are shown in Figure 4 for
1 BUSon-RxD 2 different bit-rates and sam-
1m 1m BUSoff-RxD
1 ple points.
m m 0 0 The resulting safety
T 10m 2m 6m 2m 2m T 500 kbit/s
-1
margins in Figure 5 show,
-1 -2
that the truck topology
t (s) 0,0 1,0 2,0 3,0
would work with 800 kbit/s,
articulated bus topology example 3 6 though only with a small
5
safety margin. The articu-
diff. bus voltage (V)
uBus
8m 3m
2
RxD
4
lated bus topology will only
TxD/RxD (V)
1m TxD 3
work safely with 500 kbit/s.
1m 24m 1m 1 BUSon-RxD 2
This calculation shows that
1
1m 1m BUSoff-RxD in trucks and omnibuses
4m 0 0
the maximum acceptable
1m passive star 3m T -1
T 500 kbit/s bit-rate (500 kbit/s and 667
-1 -2
t (s) 0,0 1,0 2,0 3,0 kbit/s) is already reached.
Further increase with the
classic CAN network will
Figure 4: Truck and omnibus topology with signal integrity graph
transceiver 375 ns
CC
correction 744 ns
EM C
transceiver
CC
TxD/RxD (V)
diff. bus voltage (V) 2 RxD 4 2 RxD 4 2 RxD 4
TxD TxD TxD
3 3 3
BUSonRxD BUSonRxD BUSonRxD
1 2 1 2 1 2
BUSonRxD
1 BUSonRxD
1 BUSonRxD
1
0 0 0 0 0 0
-1 -1 -1
500 kbit/s 1 Mbit/s 2 Mbit/s
-1 -2 -1 -2 -1 -2
t (s) 0,0 1,0 2,0 3,0 t (s) 0,0 1,0 2,0 3,0 t (s) 0,0 1,0 2,0 3,0
d) example:
example:2Mbit/s
2Mbit/stransmission onon
transmission truck
busexample topology
and stub structure
3 6
diff. bus voltage (V)
TxD/RxD (V)
T xD
2 RxD 4
1 uBus 2
0 0
1 2 3 4 5 6 t (s) 7 8 9 10 11
29 bit ID 29 bit ID
payload length payload length
2,5 2,5
8 byte 8 byte
2,0 12 byte 2,0
12 byte
1,5 16 byte 1,5 16 byte
32 byte
32 byte
1,0 64 byte 1,0 64 byte
0,5 0,5
0,5 1 2 3 4 0,5 1 2 3 4
bit rate data phase (Mbit/s) bit rate data phase (Mbit/s)
not be possible. The limit- tleneck of classic CAN en- does not change and the The first simulation
ing factor is the round trip abling more data throughput relative delay time stays the results show, that even in
propagation delay between without changing topologies same. Only the steady state truck and omnibus topolo-
the nodes. and physical layer hard- part of the bit is contracted. gies approximately up to 2
ware. Figure 6 shows what The lower graph in Figure 6d Mbit/s for the data phase of
Improved CAN
happens to the CAN signals shows a detail of a CAN bit the CAN FD protocol would
The potential when the bit-rate is accel- stream with 2 Mbit/s in the be possible using the cur-
of the CAN FD erated, e.g. in the fast data example topology. It can be rent transceivers and cur-
physical layer phase of a CAN FD frame. seen that the analog wave- rent topology structures.
However, today’s CAN The calculation uses the forms as well as the digital For the arbitration phase
physical layer (high-speed) truck example topology (Fig- Rx signals are well transmit- today’s common bit-rates
has the potential for higher ure 3 and Figure 4). The sig- ted over the physical layer. of 500 kbit/s to 667 kbit/s
speeds. The bit-rate is only nal integrity graphs show an At approximately 2 Mbit/s, have to be maintained to
limited by the arbitration increase of the bit-rate from the extent of the bit in rela- ensure correct arbitra-
and acknowledge mecha- 500 kbit/s to 1 Mbit/s and fi- tion to the extent of the sig- tion and acknowledge. Of
nism, not by signal integrity nally to 2 Mbit/s (Figure 6a nal slopes shows, that a fur- course, these theoretically
on the network. CAN FD can to Figure 6c). It can be seen ther increase would not be calculated results still have
overcome the bit-timing bot- that the shape of the slopes reasonable. to be confirmed by mea-
10-ms messages CAN (29-bit CAN FD std. CAN FD extd. CAN FD extd.
ware. CAN-ID) arb. 667 kbit/s arb. 667 kbit/s arb. 667 kbit/s
◆◆
settings
Interoperability of differ-
powerful + safe
ent controllers redundant 32 bit CPU and FPU
◆◆ Software tests
◆◆ Gateway strategies
flexible + safe
A final validation of the safe I/O extensions
CAN FD technology and its
possibilities will be made
when it has passed these
adaptable + safe
tests. safe and standard program
w/o feedback
Conclusion
CAN FD is a promising
bus technology that allows
designing cost-optimized
and flexible architectures
for trucks and omnibuses in
the future. First estimations
show that in typical truck
and omnibus networks bit-
rates in the data field of ap-
proximately 2 Mbit/s would
be possible without chang-
ing the physical layer and
the network topology. In
combination with the ex-
tended payload the aver- 3
age data throughput could ,booth 32
Register now hall A4
be increased by a factor of
three depending on the ap- for the premiere at:
plication. The main advan-
tage of CAN FD for trucks
www.intercontrol.de/en/bauma
is the increase of average info@intercontrol.de
data throughput for the ap- Tel. +49 911 9522-851
plications, which will main-
tain flexibility for future ex-
tensions and diversity of