CAN was developed in 1985 for in-vehicle networks as a replacement for the increasingly troublesome point-to-point wiring systems that were being used by automotive manufacturers to connect electronic vehicle components. Prior to this time, manufacturers had been incorporating more and more electronics into vehicles, resulting in bulky wire harnesses that proved to be both heavy and expensive. As an in-vehicle network, CAN quickly became a highly advantageous alternative, as it was not only high-integrity but also reduced wiring cost, complexity, and weight. After its adoption by the automotive industry, CAN became the focus of the ISO 11898 international standard in 1993.
CAN is a multi-master peer-to-peer network, in that each node (“assembly, linked to a communication network, capable of communicating across the network according to a communication protocol specification”) in the system is able to temporarily control the action of other nodes. When a CAN node is ready to transmit data, it checks to see if the bus is busy and then simply writes a CAN frame onto the network, giving bus access to the node with the greatest priority.
Other defining properties of CAN are: non-destructive content-based arbitration, all frame transfer is done as broadcast, remote data request, configuration flexibility, network-wide data consistency, error detection and error signaling, automatic retransmission of frames that have lost arbitration, have not been acknowledged, or have been destroyed by errors during transmission, and distinction between temporary errors and permanent failures of nodes and autonomous switching off of defective nodes.
CAN protocol should not be confused with Local Interconnect Network (LIN) protocol, another serial network protocol standard for vehicles. LIN also functions through signal-based communication between nodes, but differs in that it follows a master/slave system, in which the LIN master schedules the transmitted frames and the LIN slave serves the master’s communication requests. In general, LIN protocol is cheaper but less complex than CAN. If you’d like to learn more, please refer to this past post: Local Interconnect Network (LIN)
CAN Protocol Standards
As previously mentioned, CAN is internationally standardized in ISO 11898. Over its lifetime, this standard has seen several revisions, resulting in it being broken up into multiple parts. The current CAN protocol standards include:
ISO 11898-1:2015 - Road vehicles - Controller area network (CAN) - Part 1: Data link layer and physical signalling
- specifies the characteristics of setting up an interchange of digital information between modules implementing the protocol's data link layer.
ISO 11898-2:2016 - Road vehicles - Controller area network (CAN) - Part 2: High-speed medium access unit
- specifies the high-speed physical media attachment (HS-PMA), including HS-PMAs without and with low-power mode capability and those with selective wake-up functionality.
ISO 11898-3:2006 - Road vehicles - Controller area network (CAN) - Part 3: Low-speed, fault-tolerant, medium-dependent interface
- specifies characteristics of setting up an interchange of digital information between electronic control units of road vehicles equipped with CAN.
- provides a replacement for Figure 9 on page 17.
ISO 11898-4:2004 - Road vehicles - Controller area network (CAN) - Part 4: Time-triggered communication
- sets up a time-triggered interchange of digital information between electronic control units (ECU) of road vehicles equipped with CAN.
ISO 11898-5:2007 - Road vehicles - Controller area network (CAN) - Part 5: High-speed medium access unit with low-power mode
- specifies the CAN physical layer for transmission rates up to 1 Mbit/s for use with road vehicles and covers functionality for systems requiring low-power consumption features while there is no active bus communication.
ISO 11898-6:2013 - Road vehicles - Controller area network (CAN) - Part 6: High-speed medium access unit with selective wake-up functionality
- specifies the controller area network (CAN) physical layer for transmission rates up to 1 Mbit/s, describing the medium access unit (MAU) functions as well as a selective wake-up mechanism using configurable CAN frames.
All ISO 11898 series standards for the CAN protocol are available on the ANSI Webstore. In addition, they can all be acquired together as the ISO 11898 - Road Vehicles Controller Area Network (CAN) Package, which is available only on the ANSI Webstore.