Operation CHARM: Car repair manuals for everyone.

CAN Data Bus Specification




CAN Data Bus Specification

In order to be able to process data in real time, it must be possible to transfer data quickly.
This presupposes not only a quick physical data path but also demands a quick CAN data bus division when multiple control units simultaneously want to transfer.
To distinguish between the importance of different CAN messages that are being sent over the CAN data bus there exists priorities for the individual messages.
The ignition angle, for example is assigned high priority, the slip value medium priority and the outside temperature has a lower priority.
The priority by which the CAN message is established is through the identifier of the (address) particular CAN message
An identifier which corresponds to a low binary number has a high priority and vice versa.
The CAN log is based on two logical states: The bits are either "recessive state" (logical 1) or "dominant state" (logical 0). If a dominant bit is sent by at least one station, recessive bits sent by other stations are overwritten.





Example
If several control units transmit a message at the same time, the conflict of bus access is solved by means of bus arbitration using the appropriate identifiers.
The transmitter checks every bit when the arbitration field is sent whether it is able to be sent or whether another control unit is sending a CAN transmission of higher priority.
If a recessive bit transferred by the first sending unit is overwritten by a dominant bit from another sending unit, the first sending unit looses its right to transmit (arbitration) and it becomes a receiver.
The first control unit (N I) looses arbitration with bit 3.
The third control unit (N III) looses arbitration with bit 7.
The second control unit (N II) retains bus access and can send its CAN message.

The other control units then try to send their CAN messages when the CAN data bus is free. The send authorization is then allocated again in accordance with the priority of the CAN message.