Background
The protocol for the Local Interconnect Network (LIN) is based on the Volcano-Lite technology developed by the Volvo spin-out company Volcano Communications Technology (VCT). Since other car corporations also were interested in a more cost effective alternative to CAN, the LIN syndicate was created. In the middle of 1999 the first LIN protocol (1.0) was released by this syndicate. The protocol was updated twice in 2000. In November 2002 LIN 1.3 was released with changes mainly made in the physical layer. The latest version LIN 2.0 was released in 2003. With LIN 2.0 came some major changes and also some new features like diagnostics. The changes were mainly aimed at simplifying use of off-the-shelves slave nodes.
Areas of use
The LIN protocol is a compliment to the CAN and the SAE J1850 protocols for applications that are not time critical or does not need extreme fault tolerance, since LIN is not quite as reliable as CAN. The aim of LIN is to be easy to use and a more cost effective alternative to CAN. Examples of areas where LIN is and can be used in a car: window lift, mirrors, wiper and rain sensors.
Quick facts
LIN is an all-embracing concept according to the OSI-model, where the physical-, data link- , network- and application layers are covered by the specification.
- The LIN physical layer is based on ISO 9141 (the K-line).
- Master/slave organization
- Single wire plus ground
- Time triggered scheduling
- 1-20 kbit/s
- Dominant/recessive bits
- Serial, byte oriented communication
- Max 40 m wire length
- Standard defined by the LIN organization: http://www.lin-subbus.org
Physical properties
The LIN-bus transceiver is a modified version of the transceiver used by the ISO 9141 standard. The bus is bidirectional and connected to the node transceiver, and also via a termination resistor and a diode to Vbat of the node (Figure 1).

Figure 1: Description of a transceiver. (from the LIN 2.0 spec)
On the bus a logical low level (0) is dominant and a logical high level (1) is recessive.
Voltage supply (Vsup) for an ECU should be between 7 V and 18 V. The limits for how the level of the bus is interpreted are shown in figure 2.

Figure 2: Determination of the logical level on the bus.
Data transmission
The LIN network is described by a LDF (LIN Description File) which contains information about frames and signals. This file is used for creation of software in both master and slave.
The master node controls and make sure that the data frames are sent with the right interval and periodicity and that every frame gets enough time space on the bus. This scheduling is based on a LCF (LIN Configuration File) which is downloaded to the master node software.
All data is sent in a frame which contains a header, a response and some response space so the slave will have time to answer. Every frame is sent in a frame slot determined by the LCF.
Messages are created when the master node sends a frame containing a header. The slave node(s) then fills the frame with data depending on the header sent from the master.

Figure 3: Example of LIN frame.
There are three different ways of transmitting frames on the bus: unconditional, event triggered, and sporadic frames.