Professional Documents
Culture Documents
S0020038320-Octavia Can Databus
S0020038320-Octavia Can Databus
a serial
Area bus system
designed specifically
Network for use in vehicles
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
2
Contents
Introduction 4
CAN databus 5
Data transfer 10
Function 12
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
3
Introduction
A large number of electronic subsystems are It is beneficial to have all the control units
incorporated in a vehicle to satisfy the high make common use of the sensors.
demands in terms of vehicle safety, ride
comfort, emissions performance and fuel Consequently, the transfer of information
consumption. between the control units is of major
significance for the entire vehicle system.
Each electronic system has its own digital This data transfer is constantly growing.
control unit for this purpose, for example for
fuel injection/ignition, for ABS or for gear box A simple solution is required for information
control. transfer, however, to ensure that the electrical/
electronic systems nevertheless remain
Each control unit in turn has its own specific comprehensible and do not take up too much
sensors and actuators. space.
The processes which are controlled by the The CAN databus from Bosch is such a
individual control units have to be matched solution.
and synchronized to each other, for example if
the engine torque has to be reduced during It has been specifically developed for vehicles
gear shifts by altering the ignition timing. The and is being increasingly used at SKODA.
traction control system, which reduces the
input torque at the driving wheels which are
tending to slip, is a further example of this.
3
2
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
1 authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
unless
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
SP24-5
4
CAN databus
In this case the transfer of information This type of data transfer is only a practical
between the individual control units is proposition if dealing with the limited number
conducted over a separate wire for each of items of information which have to be
information. exchanged.
Consequently, each additional item of The diagram shows data transfer based on
information also means an increase in the this principle - each item of information with
number of wires and the number of pins at the its own wire.
control units. A total of five wires are required in this case.
.
Engine speed
Fuel consumption
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
Throttlewith
valve position
respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
SP24-6
Engine control
This type of information transfer makes use of Data transfer using the CAN databus is the
two wires for transmitting all the information. most practical method if it is necessary to
transfer a large flow of information between a
The same data are transmitted over the large number of control units.
two bidirectional wires. This takes place
irrespective of the number of control units The diagram shows the two-wire system - all
and items of information. the information flows over two wires.
Engine speed
Fuel consumption
Throttle valve position
Engine control
Up shifts/down shifts
SP24-7
5
CAN databus
We can imagine data transfer using the CAN One of the users finds this message
databus as a kind of telephone conference interesting and applicable, and uses it.
call. The principle is the same. The other users do not, and remain passive.
One user - control unit 1 - "speaks" its As you see, it is possible for only two or also
message into the network of wires while the more than three users to be linked to the
other users "listen to" this message and "telephone conference call".
analyze it.
Control unit 1
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
SP24-1
Control unit 3 CAN wire with node Control unit 2
Note:
There are also different technical
versions of merging the wires in the
control unit. This is the case, for
example, in the Motronic control unit
of the Audi A8!
6
The CAN databus
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
SP24-8
7
CAN databus
Engine control unit with Automatic gear box control unit with
CAN controller and CAN controller and
CAN transceiver CAN transceiver
SP24-9
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
Databus terminal
with respect to the Databus
correctness ofline Databus terminal
information in this document. Copyright by ŠKODA AUTO A. S.�
8
When using a databus, the receiver is not Note:
defined. The data are transmitted over the If two control units wish to send their
databus and, as a rule, are received and message simultaneously, the one with
analyzed by all the users. the highest priority takes first place.
For example, ABS data have a higher
priority than gear box data.
(See also the section on databus
assignment).
Flow of data transfer
The starting point of a message (data) is The control units verify whether they require
always a control unit. It hands over the data to the data received for their functions, or not.
be transmitted to its CAN controller.
Adopting data
Transmitting data
If the data are important, they are adopted and
The CAN transceiver receives these data from processes, otherwise they are ignored.
the CAN controller, converts them into serial
electrical signals and transmits them.
Receiving data
Databus lines
SSP186/07
9
Data transfer
The CAN databus transfers a data protocol - This data protocol is always structured in
also known as a message - between the accordance with a standard data frame. This
control units in very short time intervals. data frame consists of seven consecutive
fields.
SSP186/08
Transmission direction
10
The seven fields
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
In the ACK field
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
the receiver's signal
with respect to theto the transmitter
correctness that
of information in this document. Copyright by ŠKODA AUTO A. S.�
11
Function
The data protocol consists of several Here is a model example to explain the
consecutive bits. situation.
Each bit can only always have the status "0"
of "1". Switch and lamp
It is possible to use 0 or 1 in the binary The switch can be used to switch a lamp on or
numerical system to represent any desired off. The switch can be regarded as the
number. information transmitter, the lamp as the
information receiver. Consequently, there are
only two logical states:
5V 5V
1" 0"
" "
U = 5 Volt U = 0 Volt
SP24-20 SP24-21
CAN-Transceiver CAN-Transceiver
This basically operates in the same way when Receiver
dealing with the CAN databus .
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
Transmitter
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
The Transmitting Unit of the CAN Transceiver
can likewise generate two different states for
the bit (we once again regard the switch as the
transmitter, and the lamp as the receiver).
SP24-28
5 volts 5 volts
0 volts 0 volts
12
If we have two bits there are four different The table shows how information can be
versions. formed and transmitted with two successive
An information can be assigned to each bits. The example shown in the chart is
version. intended to illustrate the position of the
This is then mandatory for all the control throttle valve. It is also, however, possible to
units. assign logical states of movement, such as
window open, window closed, or window
moving.
13
Function
What is the procedure for assigning? How is the priority of the data protocol
recognized?
Each bit has a state.
It is either logical “0”, A code, consisting of 11 bits, is assigned to a
with priority, data protocol in line with its priority in the
or logical “1”, arbitration field.
no priority.
The table shows the priority of three data
A priority of the data protocol is the result of protocols.
the arrangement of the different bits in the
message.
Databus line
SP24-15
14
All three control units begin at the same time Bit 2 in the arbitration field
with the transmission of their data protocol.
Parallel to this, they compare bit for bit on the – The ABS/EDL control unit transmits a bit
databus line. with priority.
If the control unit recognizes a bit with priority
in the arbitration field compared to its own – The Motronic control unit transmits a bit
without priority, it stops transmitting and without priority and detects a bit with
becomes the receiver. priority on the databus line. It
consequently loses its assignment and
Example: becomes a receiver. Bit 3 is thus no longer
used for the further comparison.
Bit 1 in arbitration field
Bit 3 in the arbitration field
– The automatic gear box control unit
transmits a bit without priority and detects – The ABS/EDL control unit has the highest
on the databus line a bit with priority. It priority and thus acquires the assignment.
consequently loses its assignment and It continues transmitting its data protocol
become a receiver. Bits 2 and 3 are no to the end.
longer used for the remaining comparison.
– After the ABS/EDL control unit has
– The ABS/EDL control unit completed transmission of its data
transmits a bit with priority. protocol, the others once again try to
transmit their protocol.
– The Motronic control unit likewise
transmits a bit with priority.
Start of Frame
Bit 1
Bit 2
Bit 3
Automatic gear
box control unit 0 1 0 0
ABS/EDL control 1
0 0 0 0
unit
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
Motronic control 1
unit 0 0 0
with priority
0 (= dominant)
Databus line 0 0 0 1 0
1 no priority
(= recessive)
Transmission direction
SP24-10
15
Function
SP24-11
The two unscreened databus lines are twisted In the reversed situation, both wires have a
together in order to prevent sources of voltage which is identical, approximately
interference affecting data transmission. average of 2.5 V.
Consequently, the voltage sum is constant at
A differential signal is transmitted along with any time and the electromagnetic field effects
twisted wires, in other words the respective of the two databus lines cancel each other out.
voltages are opposed on the wires.
The databus line is protected in this way
If a voltage of approx. 0 V exists on the one against external interference waves and is
databus wire, the voltage which exists on the practically neutral to the outside.
other wire is approx. 5 V.
ca. 0 Volt
ca. 5 Volt
ca. 2,5 Volt
ca. 0 Volt
SP24-27
16
Drive CAN databus
SP24-3
The control units in the drive databus system A = Motronic control unit J220
B = ABS/EDL control unit J104
C = Automatic gear box control unit J217
The databus links the 3 control units The particular advantage which the CAN
databus offers in the power train sector is its
– for Motronic high transmission rate.
– for ABS/EDL
– for automatic gear box
Note:
At present four data protocols are transmitted When fault finding, first of all use the
between the control unit: current flow diagram to determine
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is whether
not permitted and how many control units
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
two bywiththe Motronic
respect control
to the correctness unit,in this document. Copyright by ŠKODA AUTO
of information communicate
A. S.� with each other through
one by the ABS/EDL control unit, the bus, e.g. the 1.6 ltr 55 kW engine is
one by the automatic gear box control unit. not integrated in the drive CAN bus.
The CAN wires are merged in a star shape in a Then, make the following distinction:
connector. An insulating sheath protects them – two control units communicate
from external damage. over a "two-wire bus system",
– three or more control units
The node of the databus is located outside of communicate over a "two-wire
the control units. bus system".
17
Drive CAN databus
SP24-25
10 ms 10 ms 10 ms
SP24-18
– Priority sequence: 2
1. ABS/EDL control unit ––>
2. Motronic control unit ––> 3
3. Automatic gear box control unit
In the drive sector, it is necessary to transmit This transceiver makes it possible to transfer
the data very rapidly to enable them to be data between two ignitions.
used to the most effective extent. Consequently, the data received can already
This, in turn, necessitates an extremely be used for the next ignition pulse.
powerful transceiver.
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
18 unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
Information in the drive sector
These are items of information which are comfort when it comes to the automatic gear
extremely important for the tasks performed box control unit form the starting point for the
by the individual control units. Safety tasks in information.
the case of the ABS/EDL control unit, control The table below shows part of the data field of
of fuel injection and ignition in the case of the the respective data protocols, by way of
engine control unit as well as the demands of example.
ride
The table below shows the structure of an The momentary position of the throttle valve
individual item of information, taking the is transmitted with 8 bits.
example of the throttle valve opening angle This, in turn, results in 256 different versions
of the composition of the bits.
Only a part of the complete information is It is possible to transmit throttle valve
shown because of the high number of positions ranging 0° up to 102° in spacings of
possible items of information. 0.4.
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability 19
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
Drive CAN databus
120 Ω
CAN L 41 29 CAN H
The control units are interlinked in a star J104 J217
shaped by the twisted CAN bus.
11 3
The star architecture offers the following 120 Ω
advantages compared to other types of 25
10
networking:
J 220
41 29
The databus lines are integrated in the vehicle
wiring harness.
SP24-14
20
Self diagnosis
Drive CAN databus
Address words:
7 8 9
C O Q HELP
V.A.G. 1552
Note:
All the control units which exchange
information with each other, have to
be regarded as a complete system in
terms of self diagnosis and when it
comes to fault finding.
After completing repairs, the fault SP17-29
memories of all the control units
should be read in order to find any
faults which may be stored.
SP24-24
Databus terminal
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.� 21
Convenience electronics CAN databus
D
E
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability SP24-4
A
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
The control units in the convenience electronics A = convenience system central control unit J393
databus system B = passenger-side door control unit J387
C = rear right door control unit J389
D = rear left door control unit J388
E = driver-side door control unit J386
The databus system of the convenience Diagnosis is carried out at the K wire
electronics includes the central control units connection at the central control unit.
and four door control units.
Information regarding functions in the doors
Each door control unit operates functionally (switch signals, closing states) are transmitted
independent (local control). The central along with CAN wires to the other users.
control unit does not have a master function.
Information from the vehicle (e.g. ignition
The control units of the 4 doors and the terminal 15, rear window heater, road speed)
central control unit are interlinked by the two is output by the central control unit as part of
CAN lines (CAN H and CAN L). data transfer.
22
Features of the CAN databus in the
convenience system
SSP186/22
SSP186/24
– The convenience system databus operates
at the rate of 62.5 kbit/s (62,500 bits per
second). It is within the low speed range of
0 - 125 kbit/s. The transmission of the data
protocol takes approximately 1
millisecond.
(In contrast, the drive databus operates at
SSP186/23
500 kbit/s).
20 ms 20 ms 20 ms
– Priority:
1. central control unit SP24-19
2. driver-side door control unit 5
3. passenger-side door control unit
4. rear left door control unit 3
5. rear right door control unit
4
2
1 SP24-17
It is possible to use a transceiver with only a The data can continue to be transmitted.
low performance because the data in the
convenience system can be transmitted at a You can find more detailed information on the
relatively low rate. convenience electronics system of the
OCTAVIA in Self-study Program 17.
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
This offers the advantage ofauthorised
unless being by able
ŠKODA toAUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
switch over to the single-wire mode in the
event of a failure of a databus line.
23
Test your knowledge
?
1. In the OCTAVIA, the CAN databus is presently used in the:
A. drive sector
B. convenience sector
C. information sector Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
with respect to the correctness of information in this document. Copyright by ŠKODA AUTO A. S.�
A. data protocols
B. information
C. bits
24
6. The following communicate in the drive databus:
A. the control units of the convenience electronics with the ABS control unit
B. the gear box control unit and the ABS control unit
C. the control unit for Motronic, for automatic gear box and for ABS/EDL
?
B. twisting the two CAN wires
C. using coaxial cables
8. A bit can either have the logical state 0 or 1. One of these has priority.
10. The node of the drive databus in the SKODA OCTAVIA is located
Protected by copyright. Copying for private or commercial purposes, in part or in whole, is not permitted
unless authorised by ŠKODA AUTO A. S. ŠKODA AUTO A. S. does not guarantee or accept any liability
A. in the Motronic engine control
with respect unit of information in this document. Copyright by ŠKODA AUTO A. S.�
to the correctness
B. in the protective housing for the plug connections of the wiring harness in the
plenum chamber
C. in the K wire of the diagnostic connection
11. In the SKODA OCTAVIA, not all engine versions are linked through the databus to other
control units. In some cases, there are still also individual wires. When carrying out service
work, this is
1. A., B.; 2. A., B., C., D.; 3. C.; 4. A., B., C.; 5. A.; 6. C.; 7. B.; 8. C.; 9. B.; 10. B.; 11. B.
Answer
25
CAN bus dictionary
A number of new technical expressions appear in connection with the CAN bus in the SKODA
OCTAVIA. These are briefly explained below.
26