What is the CAN bus communication protocol?

Publisher:京玩儿Latest update time:2023-09-04 Source: elecfansKeywords:CAN Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

CAN bus

CAN is the abbreviation of Controller Area Network
(hereinafter referred to as CAN), which is an ISO internationally standardized serial communication protocol. In the automotive industry, various electronic control systems have been developed to meet the requirements of safety, comfort, convenience, low power consumption, and low cost. Since the data types used for communication between these systems and the requirements for reliability are different, there are many cases where multiple buses are used, and the number of wiring harnesses increases accordingly.

picture

In summary, when a node wants to send data to other nodes, the CPU of the node transmits the data to be sent and its own identifier to the CAN chip of the node and is in the ready state; when it receives the bus assignment, it switches to the message sending state. The CAN chip organizes the data into a certain message format according to the protocol and sends it out. At this time, other nodes on the network are in the receiving state. Each node in the receiving state detects the received message to determine whether these messages are sent to itself to determine whether to receive it.

picture

CAN bus structure diagram CAN bus has many advantages: the communication rate can reach up to 1MB/s (the maximum distance is 40m at this time). The actual number of nodes can reach 110. It adopts a short frame structure, and the number of valid bytes in each frame is 8. Each frame of information has CRC check and other error detection measures, and the data error rate is extremely low. The communication medium can be twisted pair, coaxial cable and optical fiber. Generally, cheap twisted pair can be used without special requirements. In the case of serious errors, the node has the function of automatically shutting down the bus and cutting off its connection with the bus so that other operations on the bus are not affected.


Keywords:CAN Reference address:What is the CAN bus communication protocol?

Previous article:Introduction to the working principle of flexray bus
Next article:Introduction to the working principle of LIN bus

Recommended ReadingLatest update time:2024-11-16 10:36

Simplifying isolated CAN and power interfaces for HEV 48V systems
The need for isolation in 48 V automotive applications continues to grow. This is a compact, efficient, robust, low noise method to isolate 48 V systems via the CAN interface. Designing for today's cars is a balancing act. Between meeting increasingly stringent emissions standards and powering an increasing number o
[Automotive Electronics]
Simplifying isolated CAN and power interfaces for HEV 48V systems
Why are these items in CAN conformance testing so important?
CAN consistency testing aims to reduce the differences between CAN bus nodes and improve the anti-interference ability of the bus, thereby ensuring the stability of the device CAN network system. Therefore, CAN node consistency testing is particularly important. This article will focus on explaining several test item
[Test Measurement]
Why are these items in CAN conformance testing so important?
Technical dry goods: New energy vehicle CAN bus and power analysis synchronous test solution
CAN bus is a very important communication bus in new energy vehicles. Engineers often use CAN bus to read vehicle speed, rotation speed, torque and other signals. But do you know that CAN bus can also be used to read the power signal actually tested by the power analyzer?        For engineers, the future test metho
[Automotive Electronics]
Technical dry goods: New energy vehicle CAN bus and power analysis synchronous test solution
Canalys: Chromebook shipments increased 275% in Q1 2021
On May 5, according to the latest data from Canalys, the entire global PC market (including tablets) achieved strong growth for the fourth consecutive quarter, with shipments reaching 122.1 million units, a year-on-year increase of 53.1%. In 2021, Chromebooks and tablets continued to perform well, increasing by 274.6%
[Mobile phone portable]
Canalys: Chromebook shipments increased 275% in Q1 2021
Design of motion control system based on SJA1000 CAN bus and AT89C51 microcontroller
1 Introduction The motion control system is an electrical transmission control system that takes the motor, the driving device of mechanical motion, as the control object, the controller as the core, power electronics and power conversion devices as the actuators, and is composed under the guidance of automatic contro
[Microcontroller]
Design of motion control system based on SJA1000 CAN bus and AT89C51 microcontroller
[Free trial of Letuo USB oscilloscope] CAN bus protocol analysis
CAN bus interface protocol analysis is performed through OSC482L to analyze the CAN bus interface. The instrument can select multiple measurement methods and can support single-line or dual-line measurement. Single-line test measurement can support three modes: automatic, CAN_H to ground, and CAN_L to ground. The dual
[Test Measurement]
[Free trial of Letuo USB oscilloscope] CAN bus protocol analysis
Introduction to CAN bus bit timing
The CAN controller determines the bus level based on the potential difference between the two lines. The bus level is divided into dominant level and recessive level, and one of the two must be present. The sender sends the message to the receiver by changing the bus level. The dominant level corres
[Embedded]
Introduction to CAN bus bit timing
Baud rate calculation for LPC2XXX series ARM with CAN
        I'm currently learning about the CAN part of ARM, and I found that the baud rate calculation method for CAN is nowhere to be found online, so I'll deduce one myself. Please correct me if there's anything wrong.         When the VPB clock is 4*11059200Hz, the commonly used baud rate and bus timing comparison ta
[Microcontroller]
Baud rate calculation for LPC2XXX series ARM with CAN
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号