Supercharge Your Innovation With Domain-Expert AI Agents!

Can bus network control method and can bus network

A CAN bus and network control technology, applied in the CAN bus field, can solve the problems of poor practicability and low CAN bus network processing efficiency, and achieve the effects of avoiding bus arbitration, strong practicability, and improving processing efficiency

Active Publication Date: 2020-11-20
BYD CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a CAN bus network control method and a CAN bus network, which are used to solve the technical problems of low processing efficiency and poor practicability of the CAN bus network in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Can bus network control method and can bus network
  • Can bus network control method and can bus network
  • Can bus network control method and can bus network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Embodiment 1 of the present invention provides a CAN bus network control method. figure 1 It is a schematic flowchart of the CAN bus network control method provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the method in this embodiment may include the following steps:

[0045] Step 101, the master node sends synchronization packets to multiple slave nodes every preset time.

[0046] Step 102, the slave node receives the synchronization packet sent by the master node, and whenever the number of received synchronization packets is equal to the sending value corresponding to the slave node when the number of the received synchronization packets is equal to the sending value corresponding to the slave node, the slave node sends a frame of application report arts.

[0047] Wherein, the X1 is a natural number, and is greater than or equal to the number of slave nodes in the CAN bus network; each slave node corresponds to a different sending valu...

Embodiment 2

[0053] In the prior art, the monitoring method of the CAN bus load rate mainly includes two types, one is to compare the number of data frames actually sent with the maximum number of data frames allowed to be sent within a preset time, thereby judging whether the bus load rate is Abnormal, the other is to obtain the bit time through the peripheral circuit, and then determine the bus load rate according to the ratio of the data transmission time to the total time. But no matter which method, it is impossible to automatically control the load rate of the CAN bus within a reasonable range.

[0054]In order to solve this problem, Embodiment 2 of the present invention provides a CAN bus network control method. The CAN bus network control method is based on the technical solution provided in Embodiment 1, adding calculation and automatic adjustment of the bus load rate .

[0055] Wherein, the calculation of the bus load rate includes: the master node multiplies the preset time by ...

Embodiment 3

[0094] Embodiment 3 of the present invention provides a CAN bus network. The CAN bus network in the present embodiment includes: 1 master node and a plurality of slave nodes;

[0095] The master node is used to: send synchronization packets to multiple slave nodes at preset time intervals;

[0096] The slave node is used to: receive the synchronization packet sent by the master node, and whenever the number of received synchronization packets is equal to the sending value corresponding to the slave node, the slave node sends a frame application message;

[0097] Wherein, the X1 is a natural number, and is greater than or equal to the number of slave nodes in the CAN bus network; each slave node corresponds to a different sending value.

[0098] The CAN bus network in this embodiment can be used to implement the CAN bus network control method described in any of the above embodiments, wherein the working process and principle of each node are similar to those of the foregoing...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CAN bus network control method and a CAN bus network, wherein, the method comprises the following steps: a master node sends synchronous packets to a plurality of slave nodesevery preset time; The slave node receives the synchronization packets sent by the master node, and sends a frame application message whenever the number of received synchronization packets is reduced to the transmission value corresponding to the slave node. Wherein the X is a natural number and is greater than or equal to the number of slave nodes in the CAN bus network, and the transmission value corresponding to each slave node is different. The CAN bus network control method and the CAN bus network disclosed by the invention can realize orderly transmission of messages by all nodes, avoid bus arbitration, and have no delay in sending and receiving application messages by nodes, thereby improving the processing efficiency of the CAN bus network and having strong practicability.

Description

technical field [0001] The invention relates to the field of CAN bus technology, in particular to a CAN bus network control method and a CAN bus network. Background technique [0002] CAN (Controller Area Network, Controller Area Network) is an ISO international standardized serial communication protocol, which has high performance and reliability, and is widely used in automobiles, ships, industrial automation, medical equipment, etc. Its appearance It provides strong technical support for the distributed control system to realize real-time and reliable data communication between nodes. [0003] In the prior art, the CAN bus network often includes multiple nodes, and all nodes send application messages out of order. When there are many nodes on the CAN bus and the load is high, the arbitration on the bus will be more serious, so sending and There will be a delay in receiving application messages, resulting in low processing efficiency and poor practicability of the CAN bus...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/40H04J3/06
CPCH04J3/0638H04L12/40006H04L2012/40215
Inventor 何志波
Owner BYD CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More