A CAN bus data transmission method

A data transmission method and CAN bus technology, applied in the field of CAN field bus data transmission, can solve the problems of unfavorable on-board measurement and control data reliable transmission, large data blocks occupying bus bandwidth and communication time, etc., so as to improve robustness and save bus bandwidth. , the effect of improving transmission efficiency

Active Publication Date: 2011-12-21
AEROSPACE DONGFANGHONG SATELLITE
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, resending all large data blocks requires bus bandwidth and communication time, which is not conducive to the reliable transmission of on-board measurement and control data.

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 CAN bus data transmission method
  • A CAN bus data transmission method
  • A CAN bus data transmission method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention as figure 1 As shown, it is realized through the following steps and described in conjunction with specific examples.

[0036] 1. Formulate the data frame format

[0037] The data sender divides the large data block to be transmitted into a multi-frame form of several data frames according to a specific frame format. The frame format is shown in Table 1. In the given multi-frame data format, ID10~ID9 is the basis for judging the priority of this frame. According to the arbitration mechanism stipulated in the CAN bus protocol standard, when data preemption occurs on the bus, "0 " has a higher priority than "1", so the first and last frames have higher priority than the second and third frames.

[0038]Each frame of data includes an arbitration field, a control field and an effective data field. Among them, the ID10 and ID9 bits of the arbitration field are the frame priority, and the ID8~ID3 bits are the frame sequence control fields, which are us...

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

A CAN bus data transmission method adopts methods such as dynamically changing frame priority, frame sequence control, multi-frame response mechanism, and multi-frame selection strategy to improve the reliability of CAN bus large data block transmission. The present invention adopts the strategy of dynamically changing frame priority, the priority of the first frame and the last frame of multi-frame data is higher than that of ordinary data, so these two frames will not be affected by ordinary multi-frame data, ensuring frame identification, The normal reception of important control information such as frame length and frame check code; the multi-frame response mechanism of the present invention adds a head frame response and a tail frame response, which ensures the effective reception of the head frame and prevents the error of the head frame from continuing In the case of sending data, the bus bandwidth is effectively saved, and the transmission efficiency is improved; the error frame sequence number contained in the tail frame response of the present invention also makes the data sending end know the specific frame number of the error as soon as possible, thereby only resending the wrong frame number, It is not necessary to resend all of them, which wastes the bandwidth of the bus; the invention greatly improves the reliability of sending and receiving large data blocks of the CAN bus, and has a certain error correction and detection function, expands the application level of the CAN bus, and improves the robustness of the network system.

Description

technical field [0001] The invention relates to a CAN field bus data transmission method, in particular to a method for improving the reliability of CAN bus multi-frame data transmission by adopting multiple technologies such as dynamically changing priority, frame sequence control, and multi-frame response mechanism, and belongs to the technical field of data transmission. Background technique [0002] Because the CAN bus standard only stipulates the physical layer and the data link layer, the application layer part needs to be developed by itself. At present, the common practice of small satellites is to divide large blocks of data into smaller data blocks, and send small blocks of data separately, and the receiving end will receive all the data and splicing them into original data in sequence. This processing method is simple and practical, and is suitable for situations where the amount of data is small and the communication occasion is stable and reliable. Bit errors m...

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/40H04L1/00H04L29/08
Inventor 李国军谢松霍德聪
Owner AEROSPACE DONGFANGHONG SATELLITE
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