Table of Contents

lamaPLC Communication: CAN

lamaPLC Communication: CAN A controller area network (CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other. It is a message-based protocol, designed originally for multiplex electrical wiring within automobiles to save on copper, but it can also be used in many other contexts. For each device, the data in a frame is transmitted serially but in such a way that if more than one device transmits at the same time, the highest priority device can continue while the others back off. Frames are received by all devices, including by the transmitting device.

Development of the CAN bus started in 1983 at Robert Bosch GmbH. The protocol was officially released in 1986 at the Society of Automotive Engineers (SAE) conference in Detroit, Michigan. The first CAN controller chips were introduced by Intel in 1987, and shortly thereafter by Philips. Released in 1991, the Mercedes-Benz W140 was the first production vehicle to feature a CAN-based multiplex wiring system.

The CAN bus history in short:

The CAN bus physical layer defines things like cable types, electrical signal levels, node requirements, cable impedance etc. For example, ISO 11898-2 dictates a number of things, including below:

CANopen

CANopen is a higher-layer protocol that is used for embedded control applications. Because it is based on the CAN messaging protocol, DAQ systems and data loggers that can read and record CAN data can also access data from CANopen.

CANopen was invented to provide easy interoperability among devices in motion control systems. Communication among and between devices is implemented at a high level, and device configuration is also supported. It’s heavily used in motion control, robotics, and motor control applications.

CANopen is managed by the international organization CAN in Automation - CiA. Established in Germany in 1992, CiA is a non-profit international users/manufacturers group for CAN. They take pride in being an unbiased platform for the development of the CAN protocol, and for promoting the image of CAN technology.

Low-Speed CAN Bus

The low-speed CAN Bus, a fault-tolerant CAN, supports bit rates between 40 kbit/s and 125 kbit/s. It provides a robust communication system that allows communication to continue even when one of the two wires experiences a fault. The resilience is further enhanced by each CAN node’s dedicated CAN termination, ensuring seamless data transfer.

High-Speed CAN Bus

The high-speed CAN Bus is based on the ISO 11898 standard and is widely used in modern applications. It supports bit rates between 40 kbit/s and 1 Mbit/s and offers simple cabling solutions, making it the most popular choice in the industry today. It is the foundation for various higher-layer protocols such as OBD2, CANopen, and j1939, further solidifying its significance in communication systems.

CAN FD (CAN Flexible Data Rate)

CAN FD, or CAN Flexible Data Rate, is an advanced communication protocol in modern high-performance vehicles. Released in 2012 by Bosch as an extension of the original CAN Bus protocol, CAN FD was developed to satisfy the growing demand for increased data transfer rates in sophisticated automotive systems. The technology has considerably enhanced the efficiency and performance of vehicle communication networks while being an integral part of contemporary automobile design.

CAN Frame

CAN Frame

In addition to CAN and the protocols that run on it described in the previous sections, there are other communication buses that are used for vehicle applications:

Sources

CSS Electronic: https://www.csselectronics.com/pages/can-bus-simple-intro-tutorial
DEWESoft: https://dewesoft.com/blog/what-is-can-bus