Mercedes M-Class W163
since 1997 release
Repair and operation of the car
+ Mercedes-Benz cars of a class M (W163)
+ Governing bodies and methods of safe operation
+ Current leaving and service
+ Cooling systems, heating and air conditioner
+ A power supply system and production of the fulfilled gases
+ Systems of electric equipment of the engine
+ Manual box of gear shifting
+ Automatic transmission
+ Transmission line
+ Brake and auxiliary systems
+ Suspension bracket and steering
- Onboard electric equipment
General information and precautionary measures
Search of causes of failures of electric equipment
Safety locks - the general information
Chain breakers - the general information
The relay - the general information and check of serviceability of functioning
Digital tire of data of CAN
+ Assembly blocks, elements of control systems
+ Dashboard, switches, traveling computer
+ Driving electric motors
+ Alarm and lighting fixtures, sensors of a rain and temperature of external air
+ Systems of additional safety (SRS)
+ Audio system
+ Schemes of electric connections
договор образец подряда
Digital tire of data of CAN
On modern cars several network tires of data exchange of CAN (Controller Area Network) between modules/control units of various systems and controllers of actuation mechanisms of the car are used.
Data exchange on CAN tire
The tire is full-duplex (or just duplex), i.e. any device connected to it can accept and transfer messages at the same time.
The signal from a sensitive element of corresponding information (sensor) comes to the next control unit which processes it and transfers to CAN data exchange tire.
Any control unit connected to the tire of data of CAN can read out this signal, calculate parameters of the managing director of influence on its basis and operate an executive servomechanism.
At usual cable connection of electric and electronic devices direct connection of each control unit with all sensors and executive elements from which it receives results of measurements or which operates is carried out.
Complication of a control system leads to the excessive length or large number of cable lines.
In comparison with standard cable distributing the tire of data provides:
The tire of data of CAN consists of the strong wire executed in the form of twisted couple. All devices (control units of devices) are connected to this line.
Data transmission is carried out with duplication on both wires, and logical levels of the tire of data have mirror display (that is if on one wire the level of logical zero (0) is transferred, then on other wire - the level of logical unit (1) and vice versa).
The two-wire scheme of transfer is used for two reasons: for control of mistakes and as reliability basis.
If the peak of tension arises only on one wire, - for example, owing to the problems connected with electromagnetic compatibility (EMS) - that blocks receivers can identify it as a mistake and to ignore this peak.
In case of short circuit or break of one of two wires of the tire of CAN, thanks to the integrated hardware-software system of reliability switching in an operating mode according to the single-wire scheme is carried out. The damaged transferring line ceases to be used.
The order and format of the messages transferred and accepted by users (subscribers) is defined in the protocol of data exchange.
Essential distinctive sign of the tire of data of CAN in comparison with other tire systems which are based on the principle of subscriber addressing is the addressing correlated to the message.
Told means that its permanent address (identifier) marking contents of this message is appropriated to each message transferred on the tire (for example: temperature of cooling liquid). The protocol of the tire of data of CAN allows transfer to 2048 various messages, and addresses from 2033 to 2048 are constantly fixed.
The volume of data in one message on the tire of CAN makes 8 bytes.
The block receiver processes only those messages which are kept in its own identification list (control of the acceptability).
Packages of data can be transferred only if the tire of exchange of CAN is free (i.e. if after transfer of the last package the interval of 3 bits followed, and any of control units does not begin to transfer the next message). At the same time the logical level of the tire of data has to be recessive (logical "1").
If several control units at the same time begin to transfer messages, then the principle of priority according to which the message possessing the top priority will be transferred to the first without loss of time or bits (arbitration of inquiries of access to the general tire of data) comes into force.
Each control unit losing the right of arbitration automatically switches to reception and repeats attempt to send the message as soon as the tire of data is released again.
Except packages of data also packages of request of a certain message on the tire of data of CAN are used, - that control unit which can provide required information reacts to similar inquiry.
Data transmission format
In the usual mode of transfer packages of the following configurations are used:
The protocol of the tire of data of CAN supports two various formats of frames of the message on the tire of data of CAN which differ only on identifier length:
Now in systems of data exchange of control systems of cars of the Daimler Chrysler company only the standard format is used.
Each shot of CAN of messages transferred on the tire consists of seven consecutive fields:
For data processing the possibility of their bystry transfer has to be in real time provided.
It assumes not only existence of the line with a high physical speed of data transmission, but also demands also expeditious providing access to the general tire of CAN if several control units need to transfer messages at the same time.
For the purpose of differentiation of the data of CAN of messages on urgency degree transferred on the tire, for separate messages various priorities are provided.
The ignition advancing corner, for example, has the highest priority, values of pro-slipping - average, and temperature of external air - the lowest priority.
The priority with which the message is transferred on CAN tire, is defined by the identifier (address) of the corresponding message.
The identifier corresponding to smaller binary number has higher priority and vice versa.
The protocol of the tire of data of CAN is based on two logical states: Bits are or "recessive" (logical "1"), or "prepotent" (logical "0"). If the prepotent bit is transferred by at least one module, then the recessive bits transferred by other modules are rewritten.
If several control units at the same time begin data transmission, then the conflict of access to the general tire of data is resolved by means of "bit-by-bit arbitration of inquiries of the general resource" by means of the corresponding identifiers.
By transfer of the field of the identifier the block transmitter after each bit checks whether he has still rights of transfer, or already other control unit transfers on the tire the message with higher priority.
If the recessive bit transferred by the first block transmitter is rewritten by prepotent bit of other block transmitter, then the first block transmitter loses the right of transfer (arbitration) and becomes the block receiver.
Example of the organization of arbitration
Other control units will try to transfer the messages on the tire of data of CAN only after it again is released. At the same time the right of transfer will be granted according to priority of the message on the tire of data of CAN again.
Recognition of mistakes
Hindrances can lead to mistakes in data transmission. Such, arising by transfer, mistakes should be distinguished and eliminated. The protocol of the tire of data of CAN distinguishes two levels of recognition of mistakes:
Mechanisms at the level of Data Frame
On the basis of CAN of the message transferred on the tire of data the block transmitter counts control bits which are transferred together with a package of data in the field of "CRC Field" (checksums). The block receiver anew calculates these control bits on the basis of CAN of the message accepted on the tire of data and compares them to the control bits received together with this message.
This mechanism checks structure of the transferred block (shot), that is bit fields with the set fixed format and shot length are rechecked.
The mistakes distinguished by the Frame Check function are marked as format errors.
Mechanisms at the level of bits
Each module by transfer of the message traces the logical level of the tire of data of CAN and defines at the same time distinctions between the transferred and accepted bit. Thanks to it reliable recognition of the global and arising in the block transmitter local mistakes on bits is provided.
In each shot of data between the field "Start of Frame" and the end of the field "CRC Field" there have to be no more than 5 following one after another of bits with identical polarity.
After each sequence from 5 identical bits the block transmitter adds to a stream of bits one bit with opposite polarity.
Blocks receivers delete these bits after reception of the message on the tire of data of CAN.
Elimination of mistakes
If any module of the tire of data of CAN distinguishes a mistake, then it interrupts the current process of data transmission, sending the error message. The error message consists of 6 prepotent bits.
Thanks to the error message all CAN control units connected to the tire of data are notified on the arisen local mistake and, respectively, ignore the message transferred before.
After a short pause all control units will be able to transfer messages on the tire of data of CAN again, and the first will send the message with the top priority again.
The control unit, whose message on the tire of data of CAN were caused by emergence of a mistake, also begins repeated transfer of the message (Automatic Repeat Request function).
Types of tires of CAN
Various tires of CAN are used to the different fields of management. They differ from each other in data transmission speed.
Transfer speed on the tire of data of CAN of the "engine and running gear" area (CAN-C) makes 125 Kbps, and the tire of data of CAN "Salon" owing to the smaller number of especially urgent messages is calculated on data transmission speed only of 83 Kbps.
Data exchange between two tire systems is carried out through so-called "gateway locks", i.e. the control units connected to both tires of data.
The fiber-optical tire of D2B (Digital Daten-Bus) of data is used to the Audio/communication/navigation area. The bigger volume of information, than the tire with a copper cable can significantly transfer a fiber-optical cable.
CAN C - the tire "Engine and Running Gear"
The so-called coordinating resistor of the tire of data with resistance of 120 Ohms connected between both wires of the tire of data is installed in the terminal control unit from each party.
The tire of data of CAN of a motive compartment is activated only at the included ignition.
More than 7 control units can be connected to the tire CAN-C.
CAN-B - the tire "Salon"
Some control units connected to the tire of data of CAN salon are activated irrespective of inclusion of ignition (for example: system of the uniform lock).
Therefore the tire of data of CAN salon has to be in the mode of functional readiness even at the switched-off ignition, it means that the possibility of transfer of packages of data has to be provided even at the switched-off ignition.
For the purpose of the greatest possible decrease in the consumed rest current, the tire of data of CAN, in the absence of necessary to data transmission, passes into the mode of passive expectation, and is activated again only at the following address to her.
If any control unit (for example, the module of management of the uniform lock) transfers in the mode of passive expectation of the tire of data of CAN salon on it the message, then it is accepted by only the main system module (the electronic lock of ignition, EZS/EIS). The EZS module keeps this message in memory and sends a signal of activation (Wake-up) to all control units connected to the tire CAN-B.
At activation, EZS checks presence of all users of the tire of data of CAN then transfers the message kept before in memory.
More than 20 control units can be connected to the tire CAN-B.