Dual-redundancy CAN bus data receiving and processing method

A technology of CAN bus and processing method, which is applied in the field of data processing, can solve problems such as no effective solution to the technical solutions of two channel processing, and achieve the effect of avoiding software delay and solving processing problems

Active Publication Date: 2014-01-01
BEIJING INST OF SPACE LAUNCH TECH +1
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, in the prior art, there is no simple and effective technical solution for processing when the two channels receive duplicate 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
  • Dual-redundancy CAN bus data receiving and processing method
  • Dual-redundancy CAN bus data receiving and processing method
  • Dual-redundancy CAN bus data receiving and processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0027] Such as Figure 1-2 Shown is a schematic diagram of the structure of the dual-redundant CAN bus network and a schematic diagram of the expansion of the CAN interface.

[0028] In hardware, the dual redundant CAN bus uses two CAN buses, two CAN bus drivers, two CAN bus controllers and one CPU at the same time. CPU controls two CAN controllers simultaneously through different ports and interrupts. In one embodiment, the dual redundant CAN buses BUS A and BUS B require to use the same two sets of CAN devices, so as to realize the physical medium. The CAN device of BUS A includes an independent bus cable, bus driver 1-2 and bus controller 1-1, and the CAN device of BUS B includes an independent bus cable, bus driver 2-2 and bus controller 2-1. CPU1 is realized by FPGA.

[0029] During work, the same group of data can be sent through two buses BUS...

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 provides a dual-redundancy CAN bus data receiving and processing method which aims to solve the problem the existing technique can not simply and effectively solve the problem that two channels receive repeated data. The method comprises the steps of (1) sending data composed of data frames on a first channel and a second channel of a dual-redundancy CAN bus at the same time, (2) receiving the data of the first channel of the dual-redundancy CAN bus and the data of the second channel of the dual-redundancy CAN bus, (3) judging whether repeated data distinguishing needs to be carried out on the data frames of the data received from the two channels, (4) directly using the data with repeated data distinguishing not needed, distinguishing the data frames with repeated data distinguishing needed, using unrepeated data in the data frames treated with distinguishing, and discarding the repeated data. According to the dual-redundancy CAN bus data receiving and processing method, influence of software delay and circuit delay on dual-redundancy CAN bus data receiving is avoided with simple methods.

Description

technical field [0001] The present invention relates to a data processing method, more specifically, to a dual redundant CAN bus data receiving and processing method. Background technique [0002] Using the traditional single CAN bus control network, there will be some failure links, such as main line failure, branch line failure, drive circuit failure and so on. Therefore, in the prior art, in order to improve the stability and security of data transmission, a dual redundant CAN bus network is usually used. [0003] The method for ensuring communication reliability and error control in the prior art, such as a Chinese patent application (application number CN200810106342.6), discloses a communication method for a dual redundant CAN bus communication system, including the following steps: 1) in Start node 1 and node 2 in the network; 2) Establish a communication registration table between node 1 and node 2; 3) When node 1 wants to send a message to node 2, node 1 determines...

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 Applications(China)
IPC IPC(8): H04L12/40
Inventor 李向阳梁财海李荣王小军孙招凤张洪彬
Owner BEIJING INST OF SPACE LAUNCH TECH
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