LIN bus

Also known as: LIN · Local Interconnect Network

On this page 7

LIN bus, short for Local Interconnect Network, is a low-cost, single-wire serial communication bus that connects simple sensors and actuators, such as window motors, mirror adjusters and seat switches, to a controlling electronic control unit at speeds of up to 20 kbit/s. In vehicle software and electrical architecture, LIN serves as the inexpensive sub-network beneath the CAN bus, carrying non-critical body and comfort functions where the cost of a full CAN node is not justified.

LIN was created in the late 1990s by a consortium of European carmakers and semiconductor suppliers and is now standardized as ISO 17987, with a related North American profile in SAE J2602. Electric vehicles use it extensively, from climate flaps and charge port actuators to ambient lighting and battery coolant valves.

How LIN bus communication works

LIN uses a commander-responder principle, historically called master and slave, in which one commander node controls all timing and up to 15 responder nodes answer when addressed. Responders never transmit on their own initiative, which makes bus access fully deterministic and removes the need for arbitration.

Every exchange starts with a header sent by the commander, consisting of a break field, a sync byte of 0x55 that lets responders calibrate their clocks, and a protected identifier. The node assigned to that identifier then sends the response, made of 2, 4 or 8 data bytes and a checksum. The table below describes the parts of a LIN frame.

FieldLengthPurpose
BreakAt least 13 bit times dominantMarks the start of a new frame
Sync1 byte, value 0x55Lets responders adjust their bit timing
Protected identifier1 byte: 6-bit ID plus 2 parity bitsNames the message and its publisher
Data2, 4 or 8 bytesCarries signal values
Checksum1 byteDetects transmission errors
Structure of a LIN frame

The commander follows a schedule table defined at design time, which fixes the order and timing of every frame. Because responders synchronize on the sync byte, they can run on inexpensive RC oscillators instead of quartz crystals, one of the main reasons LIN nodes are so cheap.

Key parameters of the LIN specification

The LIN physical layer is based on the K-line of ISO 9141 and uses a single signal wire referenced to the vehicle ground and supplied from the 12 V battery level. Its electrical design favors robustness and low cost over speed.

ParameterTypical valueWhat it affects
Bit rate1 to 20 kbit/s, commonly 19.2 kbit/sUpdate rate of signals
Nodes per networkUp to 16 including commanderSize of each sub-network
Bus lengthUp to about 40 mWiring layout in the vehicle
Supply voltageNominal 12 V vehicle systemTransceiver design
Identifiers64, of which 60 for signalsNumber of distinct messages
Clock toleranceResponders within about 14 percentUse of low-cost oscillators
Typical LIN bus parameters

Identifiers 60 and 61 are reserved for diagnostic frames, which allow a tester or gateway to read faults and reprogram responders. The specification also defines classic and enhanced checksums; the enhanced variant, introduced with LIN 2.0, includes the identifier in the calculation and is used for most signal frames today.

LIN compared with other in-vehicle networks

LIN sits at the bottom of the in-vehicle network hierarchy, below CAN bus, FlexRay and Automotive Ethernet. Each network trades cost against bandwidth, determinism and fault tolerance, and modern vehicles combine several of them through gateways.

NetworkTypical bit rateWiringTypical use
LINUp to 20 kbit/sSingle wireSwitches, motors, simple sensors
CANUp to 1 Mbit/sTwisted pairPowertrain and body control
CAN FDUp to about 5 Mbit/s data phaseTwisted pairHigher-volume control data
FlexRayUp to 10 Mbit/sTwisted pair, dual channelTime-critical chassis systems
Automotive Ethernet100 Mbit/s to multi-gigabitSingle twisted pairCameras, backbone, infotainment
LIN and other automotive networks

In a zonal architecture, a zone controller often acts as the LIN commander for nearby actuators and forwards their data over Ethernet or CAN to central computers. This keeps short, cheap LIN wiring at the edge of the vehicle while high-bandwidth traffic stays on the backbone.

Designing and configuring a LIN network

A LIN network is specified in a LIN description file (LDF), which lists every node, signal, frame and schedule table. Each responder can be described by a node capability file (NCF), so suppliers and vehicle makers share a common, tool-readable definition.

Engineers choose LIN when a function is slow, local and non-safety-critical. The decision table below shows typical choices for an electric vehicle.

FunctionRecommended networkReason
Seat and mirror motorsLINLow data rate, cost-sensitive
Coolant valves and pumpsLINSimple setpoints and status
Charge port lock and flapLINLocal actuator near the controller
Battery management dataCAN or CAN FDHigher rate, safety relevance
Steering and brakingCAN FD, FlexRay or EthernetSafety-critical timing and redundancy
Choosing LIN or another network in an electric vehicle

In AUTOSAR-based vehicle software, the LIN interface and LIN state manager modules handle schedule switching, sleep and wake-up. Responders can enter a low-power sleep mode and be woken by a dominant pulse on the bus, which matters in electric vehicles that keep some systems alive while parked.

Limitations and common mistakes

LIN is deliberately simple, and its limits follow from that design. Low bandwidth and single-commander dependence mean it is unsuitable for functions where a failure of one controller must not silence an entire sub-network.

  • No built-in security: LIN frames carry no authentication, so attackers with physical access can inject messages; UN R155 risk assessments must account for this.
  • Single point of failure: if the commander fails, all responders lose communication.
  • Limited error handling: the protocol detects errors but does not retransmit automatically.
  • Schedule overload: adding too many frames to one schedule slows updates for every node.
  • Wrong checksum type: mixing classic and enhanced checksums is a frequent cause of integration faults.

Despite these limits, LIN remains widely used in new vehicle platforms, because no other protocol connects a simple actuator as cheaply. Some designs now replace parts of it with CAN XL or 10BASE-T1S Ethernet, but that transition is gradual.

A plain-language summary

A modern car contains dozens of small electric parts, such as window motors, mirror adjusters and air vent flaps. They all need simple instructions like move up, stop or open halfway. LIN bus is a cheap, single wire that carries these short messages from a small computer to the parts it controls.

Imagine a teacher calling on students one by one. Nobody speaks unless the teacher asks, so there is never confusion. LIN works the same way: one controller asks, and each part answers in turn. It is slow compared with other car networks, but it is plenty fast for a seat motor, and it saves money and copper.

An example from practice

An engineering team designing the thermal system of a compact electric SUV must control six coolant valves, two electric pumps and a grille shutter placed around the front of the car. Running a CAN connection to each part would add transceivers and wiring cost to every unit.

Instead, the team connects all nine actuators to one LIN network at 19.2 kbit/s, with the thermal management controller acting as commander. A schedule table polls each valve position every 50 ms, which is far faster than coolant temperatures change. The controller then passes summary data to the vehicle network over CAN FD. The result is lower wiring weight and cost, and diagnostic frames let service technicians read actuator faults through the standard OBD-II port.