Audi A4, S4

since 2000 release

Repair and operation of the car



Audi A4, S4
+ Introduction
+ Governing bodies and methods of safe operation
+ Current leaving and service
+ Engine
+ Cooling systems, heating and air conditioner
+ Power supply systems, release and decrease in toxicity of the fulfilled gases
+ Systems of electric equipment of the engine
+ Manual box of gear shifting
+ Automatic transmission
+ Coupling, power shafts and differential
+ Brake system
+ Suspension bracket and steering
+ Body
- Onboard electric equipment
   Specifications
   Diagnostics of malfunctions of onboard electric equipment - the general information
   Rassoyedineniye of sockets
   Check of the electric motor of a screen wiper
   Check of the warmed back glass
   Check of stoplights
   Removal and installation of a sound signal
   Removal and installation of sensors of a parking
   Replacement of the battery of a remote control of the ignition key
   Relay and safety locks
   Replacement of glow lamps of devices of external lighting
   Removal and installation of headlights
   Removal and installation of the lateral repeater of turns
   Removal and installation of an additional stoplight
   Removal and installation of a back lamp
   Removal and installation of a lamp of illumination of registration plate
   Removal and installation of plafonds of internal lighting
   Removal and installation of a control panel
   Removal and installation of the understeering switch
   Removal and installation of switches of a forward door
   Removal and installation of the switch of light
   Removal and installation of the switch of a window regulator in a back door
   Removal and installation of the switch of a trunk lid
   Removal and installation of the switch of the parking brake
   Removal and installation of the switch of illumination of a ware box
   Removal and installation of switches of the central console
   Removal and installation of the radio receiver / navigation device / CD changer
   Removal and installation of loudspeakers
   Removal and installation of antennas
   Removal and installation of the tank of liquid of the windscreen washer/electric motor of the pump
   Removal and installation of the electric motor of screenwash
   Removal and installation of the electric motor on back glass (Station wagon)
   The uniform lock - the general information
   Removal and installation of a locking element of a cover of a fuel tank
   Digital tire of data of CAN
   + Schematic diagrams of electric equipment






Digital tire of data of CAN

Main data

On the car some network tires of data exchange of CAN (Controller Area Network) between blocks (modules) of management of various systems and controlers of actuation mechanisms of the car are used.

Separate control units are united with each other in the general network and can exchange data.

The tire is bidirectional, i.e. any device connected to it can accept and transfer messages.

The signal from a sensitive element (sensor) comes to the next control unit which processes it and transfers to the tire of data of CAN.

Any control unit connected to the tire of data of CAN can read out this signal, calculate value of the managing director of influence on its basis and operate an executive servomechanism.


Data exchange on the tire CAN

B — the Sensor 1
CAN — the Tire of data

M — the Executive I-III elements (servomechanisms)
N — Control units (controlers) of the I-V

Advantages

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:

  • Reduction of quantity of cables. Wires from sensors reach only for the next control unit which will transform the measured values to a package of data and transfers him to the tire CAN.
  • Any control unit which on the tire CAN receives the corresponding package of data can operate the executive mechanism, and on its basis counts value of the operating impact on a servomechanism.
  • Improvement of electromagnetic compatibility.
  • Reduction of number of shtekerny connections and reduction of quantity of contact conclusions on control units.
  • Weight reduction.
  • Reduction of number of sensors since signals of one sensor (for example, from the sensor of temperature of cooling liquid) can be used by various systems.
  • Improvement of opportunities of diagnosing. Since signals of one sensor (for example, a speed signal) are used by various systems in case the message on malfunction all give out the systems using this signal, the sensor or the control unit processing its signals is faulty, as a rule. If the message on malfunction arrives only from one system though this signal is used also by other systems, the cause of defect, most often, is concluded in the processing control unit or a servomechanism.
  • High speed of data transmission – is possible to 1mbit/with with the maximum length of the line of 40 m. Now on and/m the speed of data transmission makes from 83 Kbps to 500 Kbps.
  • Some messages can serially be transferred on the same line.

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 is transferred, on other wire the level of logical unit, and vice versa is transferred).

The two-wire scheme of transfer is used for two reasons: for identification of mistakes and as reliability basis.

If the peak of tension arises only on one wire (for example, owing to problems about EMS (electromagnetic compatibility)), blocks receivers can identify it as a mistake and to ignore this peak of tension.

If there is a short circuit or break of one of two wires of the tire of data of CAN, thanks to the integrated hardware-software system of reliability there will be a switching in an operating mode according to the single-wire scheme. The damaged transferring line will not 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.

It means that on the tire of data of CAN its permanent address (identifier) marking contents of this message (for example is appropriated to each message: temperature of cooling liquid). The protocol of the tire of data of CAN allows transfer to 2048 various messages, and addresses with 3 on 2048 are constantly fixed.

The volume of data in one message on the tire of data of CAN makes 8 bytes.

The block receiver processes only those messages (packages of data) which are kept in its list of the given CAN of messages (control of the acceptability) accepted on the tire.

Packages of data can be transferred only if the tire of data of CAN is free (i.e. if after the last package of data the interval of 3 bits and any of control units followed does not start transferring the message).

Thus the logical level of the tire of data has to be recessive (logical "1").

If some control units at the same time start transferring messages, the principle of priority according to which the message on the tire of data of CAN with 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 of CAN again is released.

Except packages of data there is also a package of request of a certain message on the tire of data of CAN.

In this case the control unit which can provide a required package of data, reacts to this inquiry.

Format of a package of data


In the usual mode of transfer packages of data have the following configurations of blocks (frames):

• Data Frame (a message frame) for transmission of messages on the tire of data of CAN (for example: temperature of cooling liquid).

• Remote Frame (an inquiry frame) for request of messages on the tire of data of CAN from other control unit.

• Error Frame (a mistake frame) all connected control units are notified that there was a mistake and the last message on the tire of data of CAN is invalid.

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:

  • standard format;
  • expanded format.

Now the standard format is used.

The package of data for transmission of messages on the tire of data of CAN consists of seven consecutive fields:

• Start of Frame (starting bit): Marks the beginning of the message and synchronizes all modules.

• Arbitration Field (identifier and inquiry): This field consists of the identifier (address) in 11 bits and 1 control bit (Remote Transmission Request-Bit). This control bit marks a package as Data Frame (a message frame) or as Remote Frame (an inquiry frame) without bytes of data.

• Control Field (the operating bits): The field of management (6 bits) contains IDE bats (Identifier Extension Bit) for recognition of a standard and expanded format, reserve bit for the subsequent expansions and - in the last 4 bits - number of bytes of the data put in Data Field (data field).

• Data Field (this): The data field may contain from 0 to 8 bytes of data. The message on the tire of data of CAN 0 bytes long is used for synchronization of the distributed processes.

• CRC Field (control field): The field CRC (Cyclic-Redundancy-Check Field) contains 16 bits and serves for control recognition of mistakes by transfer.

• ACK Field (reception confirmation): The field ACK (Acknowledgement Field) contains a signal of confirmation of reception of all blocks receivers which received the message on the tire CAN without mistakes.

• End of Frame (end of a frame): Marks the end of a package of data.

• Intermission (interval): Interval between two packages of data. The interval has to make not less than 3 bits. After that any control unit can transfer the following package of data.

• IDLE (rest mode): If any control unit does not transfer messages, the tire CAN remains in the rest mode before transfer of the following package of data.

Priorities

For data processing possibility of their fast 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 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 -