Contents Section: Control Modules - Design and Function (Xc) - 1 of 2 All sections

LIN message Volvo XC70 I рестайлинг

LIN message

Complete message

Scheme 1393

Scheme 1393: LIN message

A = Frame

B = Header

C = Message

A message on LIN is called a frame and consist of the following parts

  1. Synchronization interrupt. Used to wake slave nodes that are in sleep mode.
  2. Synchronization field. The synchronization field helps slave nodes to synchronize with their master node's clock frequency, in order for messages sent to be received correctly.
  3. Identification field. Contains information about the contents of the message. All nodes can read and respond to a message, yet only one node has the right to send a response to the message. Which node has the right to answer the message (send response data) is evident from the identifier.
  4. Data information. The data sent can be two to eight bytes long. The data information is sent with the least significant bit first.
  5. Checksum. The checksum is a way for slave notes to check whether the received message has been transferred correctly, or if any disturbance can have occurred during the transmission which has corrupted the data. If an error has occurred in a message during transmission from the master node to the slave node, i. e. the checksum calculated by the slave node does not correspond, the slave node will erase the message and await the next message sent from the master node.

The slave nodes do not send an acknowledgment to a message that has been received correctly. The master node re-reads the message sent out on the LIN bus and compares the re-read message with the message that was sent.

If the sent and detected messages are the same, the master mode presupposes that the message has been received correctly by the slave nodes.

Example from an oscilloscope

Scheme 1394

Scheme 1394

If you have access to an oscilloscope and measure on the LIN bus, a start-up procedure with subsequent communication can appear as illustrated in the figure above.

The lower curve is a magnified section of the upper curve.

In the upper curve you first see the LIN bus in sleep mode with the subsequent message. This is followed by several messages.

The numbers in the different fields correspond to the parts of the message described in the list above.

In the figure you can see, among others, that the sleep voltage on the LIN bus is approximately 13 V and that the voltage drops to approximately 1 V during communication.

Note. The figure above is only one example of how messages on the LIN network can appear.

Increasing demands on functionality have made the electrical system in vehicles increasingly complex. By using a network with serial communications between the different control modules several functions can be controlled and monitored using fewer cables.

Example of networks using serial communications are CAN and LIN.

LIN is an acronym for L ocal I nterconnect N etwork and has been jointly developed as a common standard by a number of different automotive manufacturers.

The concept involves the exchange of information, via serial communications with a single wire, between control modules where the same performance as provided by a CAN network is not needed.

LIN is usually used as a communications line between control modules on the CAN network and minor nodes, such as regulators and advanced sensors.

The number of control modules that communicate via LIN is dependent on the vehicle model and the level of equipment.

The difference between CAN and LIN is that the CAN network is routed throughout the entire vehicle. Whereas LIN is usually used in smaller separate networks where the transfer speed and performance is not so highly prioritized. See the wiring diagram for the vehicle model in question for topographical differences between LIN and CAN.