What Is CAN Bus? Network Topology, History and the OSI Layers It Uses

Key takeaways

  • CAN bus links a car’s electronic control units (ECUs), sensors and actuators over one shared line, replacing one-to-one wiring.
  • Bosch introduced CAN in 1986. High-speed CAN reaches 1 Mbps, and low-speed CAN 125 kbps.
  • CAN covers OSI layers 1 and 2, handled by a transceiver and a controller in each ECU.
Light trails from traffic on a highway at night, with the words Intro to CAN Bus
Traffic light trails on a highway at night. Image: Techqio

A 1980 Cadillac from GM linked its engine control module to its fuel data panel with a single copper wire. The wire served only those two devices. CAN bus, the Controller Area Network Bosch introduced for cars in 1986, replaced that kind of one-to-one wiring. Every device connects to one shared line instead.

Why one-to-one wiring ran out of room

Early automotive networks used a mesh topology built from one-to-one links. In a mesh, the nodes are wired to each other like a net. The Cadillac’s link worked the same way, with one copper wire running between two endpoints.

That approach scaled badly. Every added electronic control unit (ECU), sensor and actuator needed its own connections. The wiring harness grew bigger and heavier, which raised both cost and vehicle weight. Each new device also made the network more complex and more prone to errors. The bus topology fixed most of this.

Two diagrams side by side: under One-to-one wiring, six nodes are each wired to every other node in a dense net, and under Bus topology, six nodes attach to one shared line
Six nodes wired one-to-one, left, and on a single shared bus, right. Image: AI-generated with ChatGPT

How Bosch, Mercedes-Benz and Intel built CAN

Engineers at Bosch, the German auto parts supplier, were studying serial bus systems for cars in the early 1980s. Development of the new bus started at Bosch in 1983. Engineers from Mercedes-Benz joined the project later. Intel came on board to build the integrated circuits the new connectivity needed.

In 1986 the result went public under the name “Automotive Serial Controller Area Network.” Intel shipped the first CAN controller chip in 1987. The BMW 8 Series, presented at the Frankfurt Motor Show in 1989, was the first car to launch with a CAN bus system.

CAN moved to version 2.0 in the 1990s, and the ISO 11898 standard followed in November 1993. High-speed CAN carries data at up to 1 Mbps, and low-speed CAN at up to 125 kbps. As CAN matured, the number of electronic parts in a car grew, and so did their variety.

Timeline with three points: 1986 Bosch launches the CAN protocol, 1991 Bosch publishes CAN 2.0, 1993 CAN is standardized as ISO 11898
A timeline with the years 1986, 1991 and 1993. Image: CSS Electronics (YouTube)

The protocol has kept growing, and CAN XL was standardized in ISO 11898-1:2024. Each generation carries more data per frame:

  • Classical CAN: up to 8 bytes
  • CAN FD: up to 64 bytes
  • CAN XL: up to 2,048 bytes, at bit rates of 20 Mbps and higher

How a CAN bus topology works

CAN is a vehicle communication protocol optimized for the bus topology. In a bus topology, every node connects to one shared communication line, called the bus. Adding another electronic device takes little extra wiring, so the harness stays light and network errors are easy to diagnose.

Line drawing of a small truck under the heading What is CAN bus, with five control units attached to one shared line and a callout showing a wheel speed message from one of them
Five control units in a truck attached to one shared bus line. Image: CSS Electronics (YouTube)

Each component connects directly to the cable that carries the CAN network. Some bus-style connectivity standards allow hubs, but CAN has no product that plays the hub role. Unlike I2C or SPI, it also has no masters and slaves among its nodes. The shared cable still needs terminating, which is done with a 120-ohm resistor at each end of the bus.

Buses that run at different speeds have to stay in sync with each other. They connect through a gateway, or through an ECU that doubles as one. In the diagram below, the left bus links the parts that need high-speed data transfer. The right bus serves electronics that get by with a lower data rate.

Diagram of a high-speed CAN bus with engine control, anti-lock brake, transmission and suspension nodes joined by a gateway to a low-speed bus with light, air conditioning, power seat, power window and airbag nodes
Diagram of two CAN buses, nine labeled nodes and a gateway box. Image: Techqio

Where CAN sits in the OSI model

CAN uses only two of the OSI model’s seven layers. The model is a handy reference for describing any communication protocol. CAN occupies layer 1 and layer 2, the two closest to the hardware. Everything above that is left to higher-layer protocols such as J1939 and CANopen, which are built on top of CAN.

The seven OSI layers with the data link and physical layers highlighted and split into CAN sub layers covered by ISO 11898-1 and ISO 11898-2
The OSI stack with the data link and physical layers highlighted. Image: CSS Electronics (YouTube)

Layer 1, the physical layer, covers communication over the physical transmission medium. A CAN network usually runs on two copper wires twisted together. Copper is cheap next to other media, and twisting the pair cuts noise.

Even if automotive Ethernet becomes the backbone of a car’s network, I expect CAN to stay wherever that low cost matters more than bandwidth. Each ECU carries a piece of hardware called a transceiver, which converts the analog signals on the copper wires into digital signals.

Three ECUs wired to two bus lines labeled CAN Low and CAN High. ECU 1 prepares and sends a message, ECU 2 accepts, checks and receives it, and ECU 3 accepts, checks and ignores it
Three ECU boxes below two labeled bus lines. Image: CSS Electronics (YouTube)

Layer 2, the data link layer, deals with the protocol frame, synchronization and data protection. A second piece of hardware, the controller, handles synchronization and data protection. Ethernet divides the work in a similar way, between an Ethernet PHY and a MAC.

Bosch set CAN down as a formal specification in 1991. Reading that document only as far as Part 1, which covers the standard frame, is enough to understand CAN without trouble.

Why is it called a bus?

The word “bus” confuses a lot of people right at the start of learning CAN, so it deserves a short explanation. It is a shortened form of “omnibus,” which English borrowed from the French voiture omnibus, a “carriage for all.” The word did not start out as the name of one kind of public transit. It meant a ride for everyone.

19th-century photograph of a horse-drawn Paris omnibus seen from the side, with Grenelle and Porte St Martin on its destination board
A Paris omnibus on the Grenelle to Porte Saint-Martin line. Photo: Pierre Petit / Wikimedia Commons (CC0)

That picture fits CAN. On a bus network, all the nodes share the same message at almost the same moment. “CAN bus” describes that structure, with a bus that carries each CAN message around to every node. French turns up all over the auto industry, “chassis” included, and tracking these words down one by one is its own quiet fun.

The name is also the quickest way to remember the design. Every node rides the same line and sees the same message. Adding an ECU means one more stop on the bus, where the 1980 Cadillac needed a wire of its own for one pair of devices.

Related reading

Sources

Share this article

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *