A dynamic synchronous CAN communication device and method

A CAN communication and dynamic technology, applied in the field of CAN communication, can solve problems such as low communication efficiency and poor real-time performance, and achieve the effects of reducing the number of frame collisions, improving real-time performance, and increasing data flow

Inactive Publication Date: 2018-10-02
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to allow each independent CPU to send in a unified order by establishing a quasi-synchronous principle, thereby reducing the possibility of conflicts, avoiding the situation where each CPU sends out of order, avoiding frame collisions, and greatly improving the effectiveness of communication. Real-time performance of data flow and network data, so as to solve the problems of low CAN communication efficiency and poor real-time performance

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
  • A dynamic synchronous CAN communication device and method
  • A dynamic synchronous CAN communication device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments, and the CAN network of tank vehicles will be used as an example for illustration.

[0020] figure 1 The program in the box below is to realize the frame ID working principle of the present invention. figure 2 Describes the methods of adding and deleting frame IDs.

[0021] After the CPU completes the initialization of the system CAN, it uses the query mode or the receiving interrupt mode to enter figure 1 shown in the box software. As long as there is CAN data transmission on the CAN bus, the CPU will receive the frame ID of the frame and store it in an array (this array is called the frame ID queue). The frame queue is sorted according to the data size of the frame ID, the small data is arranged first, and the large data is...

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 relates to a dynamic condition self-synchronizing CAN communication device and method based on frame queues. The system comprises a plurality of CPUs. Each CPU is provided with one or more independent frame IDs, the CAN frames with the small frame IDs have the relatively high priority, and the CAN frames with the large IDs have the relatively low priority. When the CPUs are communicated through a CAN, the CPUs receive data on a CAN bus all the time and establish frame ID queues with the priority from high to low in corresponding memories and queue the respective frame IDs in the queues, after data in front of the local frame ID are received, the local frame ID information is sent immediately, and if sending is not successful, the local frame ID is moved backwards by one interframe gap unit immediately, and sending is started at the next unit time. The information on the CAN bus is constantly monitored, the frame queues are dynamically adjusted, and the sending time position of the local frame data is determined again, and the automatic synchronizing function is achieved.

Description

technical field [0001] The invention relates to a CAN (controller local area network) communication method, in particular to a dynamic synchronous CAN communication device and method, through which a quasi-synchronous communication result can be realized. Background technique [0002] At present, CAN communication is widely used in vehicle electronic control, industrial sites and other occasions. CAN communication solves the problems of multi-master communication handshake and arbitration. [0003] CAN communication is generally widely used in vehicle electronic control. The real-time performance of CAN communication is very important to the safety of vehicles. Adopting this scheme has a good effect on improving the safety of vehicles, so it has a broad application prospect. [0004] When CAN communication transmits a large amount of data and the frequency of communication is high, since the data sent by each CPU is random, some of them are multi-frame bursts, which will ine...

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/40H04L7/00
Inventor 王建群曹宁薛晓卿滕飞
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products