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.
| Field | Length | Purpose |
|---|---|---|
| Break | At least 13 bit times dominant | Marks the start of a new frame |
| Sync | 1 byte, value 0x55 | Lets responders adjust their bit timing |
| Protected identifier | 1 byte: 6-bit ID plus 2 parity bits | Names the message and its publisher |
| Data | 2, 4 or 8 bytes | Carries signal values |
| Checksum | 1 byte | Detects transmission errors |
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.
| Parameter | Typical value | What it affects |
|---|---|---|
| Bit rate | 1 to 20 kbit/s, commonly 19.2 kbit/s | Update rate of signals |
| Nodes per network | Up to 16 including commander | Size of each sub-network |
| Bus length | Up to about 40 m | Wiring layout in the vehicle |
| Supply voltage | Nominal 12 V vehicle system | Transceiver design |
| Identifiers | 64, of which 60 for signals | Number of distinct messages |
| Clock tolerance | Responders within about 14 percent | Use of low-cost oscillators |
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.
| Network | Typical bit rate | Wiring | Typical use |
|---|---|---|---|
| LIN | Up to 20 kbit/s | Single wire | Switches, motors, simple sensors |
| CAN | Up to 1 Mbit/s | Twisted pair | Powertrain and body control |
| CAN FD | Up to about 5 Mbit/s data phase | Twisted pair | Higher-volume control data |
| FlexRay | Up to 10 Mbit/s | Twisted pair, dual channel | Time-critical chassis systems |
| Automotive Ethernet | 100 Mbit/s to multi-gigabit | Single twisted pair | Cameras, backbone, infotainment |
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.
| Function | Recommended network | Reason |
|---|---|---|
| Seat and mirror motors | LIN | Low data rate, cost-sensitive |
| Coolant valves and pumps | LIN | Simple setpoints and status |
| Charge port lock and flap | LIN | Local actuator near the controller |
| Battery management data | CAN or CAN FD | Higher rate, safety relevance |
| Steering and braking | CAN FD, FlexRay or Ethernet | Safety-critical timing and redundancy |
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.