LIN (Local Interconnect Network) is a low-cost serial communication network used to achieve distributed electronic system control in automobiles. The goal of LIN is to provide auxiliary functions for existing automobile networks (such as CAN bus). Therefore, LIN bus is an auxiliary bus network. In situations where the bandwidth and multi-function of CAN bus are not required, such as communication between smart sensors and brake devices, the use of LIN bus can greatly save costs. In addition to defining the basic protocol and physical layer, the LIN technical specification also defines development tools and application software interfaces. LIN communication is based on the SCI (UART) data format, adopts a single master controller/multiple slave device mode, uses only a 12V signal bus, and a node synchronization clock line without a fixed time base. This low-cost serial communication mode and the corresponding development environment have been standardized by the LIN Association. The standardization of LIN will reduce the cost of research and development, application, and operating system for automobile manufacturers and suppliers.
The main features of LIN
are low cost and based on the universal UART interface. Almost all microcontrollers have the necessary hardware for LIN. Very few signal lines are required to implement the international standard ISO9141. The transmission rate can reach up to 20Kbit/s. Single master/multiple slave device mode, no arbitration mechanism is required. The slave node can achieve self-synchronization without a crystal or ceramic oscillator, saving the hardware cost of the slave device. The delay time of signal transmission is guaranteed. Nodes can be added to the network without changing the hardware and software of the LIN slave node. Usually the number of nodes on a LIN network is less than 12, with a total of 64 identifiers.
Although LIN was originally designed for automotive electronic control systems, it also has a wide range of applications in industrial automation sensor buses and mass consumer electronics.