Sie sind auf Seite 1von 26

CAN

Controller
Area
Network

Serial bus system

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Industrial requirement on the CAN-bus


Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Reduction in cables
Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Environmental compatibility

Convenience

Efficiency

Driving safety

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Real-time
capable!

Quality
and
reliability
Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Linear bus

Wirtgen Training

Ring bus

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Star bus

Disadvantages of line bus

Advantages of line bus

Reliable plug connections, e.g. low


susceptibility to interference

Wiring less complex, more cost effective

Installation easier, changes can be made


more easily

Additional elements (e.g. control


components) can be integrated

Installation location can be changed without


electrical problems

Cable system becomes diagnosable

Data access possible at any point

Wirtgen Training

More software required


Unwanted interaction effects more probable
Increased risk of immature technology in the
customer's hands

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Nodes n
(max. 30)

Node 1

CAN bus line

Bus level
(V)

recessive

Wirtgen Training

dominant

recessive

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Time

3.75 V

CAN-H
2.5 V

CAN-L
1.25 V

2.5 V

CAN-D
0V

CAN-H CAN-L = CAN differential signal


Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

10

Bus termination
Resistors for avoiding reflections
Terminating resistor at both ends with
120
Depending on the station, this can be
switched on in the software

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

11

CAN bus example

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

12

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

13

Data protocol

Ack Field
Arbitration Field

Data Field

CRC Field

Control Field

End of Frame

Start of Frame

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

14

The Start of Frame


identifies a message and synchronised all stations.

The Arbitration Field


consists of a message identifier (11 bit) and a control bit. While this field is
being transferred, the transmitter checks with each bit whether it is still clear
to send, or if there is another station transmitting with higher priority. The
control bit determines whether the message is a data frame or a remote
frame.

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

The Control Field


contains the code for the number of data bytes in the data field.

The Data Field


transfers important information for the other stations.
The information content is between 0 and 8 bytes
(1 byte = 8 bits), max. 64 bits.

The CRC Field


is used for detecting a disruption in transmission.

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

In the Ack Field


the receivers indicate to the transmitter that they have received the message
correctly.
If an error is detected, they notify the transmitter immediately. Following that,
the transmitter repeats its transmission.

The message ends with the End of Frame.


This is the last possibility for reporting errors in order to prompt a repetition.

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

CAN bus frame measured with Gemac tester

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

18

Resistance measurement

Wirtgen Training

Ohmic measurement of the CAN-H and CAN-L cables

The measuring points must be taken from the


electrical diagram

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

19

Wirtgen Training

If the CAN bus is intact, the resistance between


CAN-H and CAN-L is 60

Parallel connection law of resistors

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

20

Wirtgen Training

If the CAN bus is faulty, the resistance between


CAN-H and CAN-L is 120

Parallel connection law of resistors

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

21

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

22

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

23

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

24

2.2 -2.8 V

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

25

What to do if there is a fault? - Fault analysis


e.g. 40

e.g. 0

Terminating resistance measurement:

e.g. 0.1V

e.g. 280

The measured value is 40 or 30:

Level measurement:

There are one or two terminating resistors too many

The measured value is significantly greater


than 60:

The measured value is significantly less


than 2.2 V:
There is a short circuit or transition resistance to the measured
bus cable and T31

The measured value is less than 60 or


even 0:
There is a short circuit between the bus cables

e.g. 23V

The measured value is significantly greater


than 2.8 V:
There is a short circuit or transition resistance to the measured
bus cable and +24 V.

There is a transition resistance on the bus cable;


Terminating resistors are missing

Wirtgen Training

Wirtgen GmbH Reinhard Wirtgen Str. 2 53578 Windhagen www.wirtgen.de

26

Das könnte Ihnen auch gefallen