Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A bus error recovery processing method

A recovery processing, bus error technology, applied in the field of CAN bus, can solve problems such as abnormal work

Active Publication Date: 2012-02-01
HUAWEI TEHCHNOLOGIES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that after the existing nodes enter the "bus off state", there is no corresponding effective operation for processing, causing the CAN controller to monitor the level on the bus all the time, and only 11 consecutive hidden It enters the normal state (active error state) after the character is set, causing the node in the bus-off state to wait for the satisfaction of the monitoring condition, and cannot work normally

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 bus error recovery processing method
  • A bus error recovery processing method
  • A bus error recovery processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following are specific embodiments of the present invention and in conjunction with the accompanying drawings, the technical solutions of the present invention are further described, but the present invention is not limited to these embodiments.

[0019] The node in this bus error recovery processing method is connected on the CAN bus, comprises CAN controller and master controller (MCU), CAN controller and master controller (MCU) have error detection module and error handling mechanism module respectively, error The detection module can perform error detection on the CAN bus and the node itself. The CAN controller MCP2510 has two error counters: Receive Error Counter (REC) and Transmit Error Counter (TEC). And the main controller (MCU) can read the value of these two counters, these two counters carry on the counting up and down according to the CAN bus specification. In this bus error recovery processing method, each node can be in the three states of "active err...

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 bus error recovery processing method, which belongs to the technical field of CAN bus. It solves the problem that it is difficult for the existing bus nodes to return to the normal working state when an error occurs and enters the bus off state. In this bus error recovery processing method, the node detects an error and enters the operation of error recovery processing after it enters the "bus off state" and includes the following steps: The error count control node is in the corresponding state; b. The main controller control node is disconnected from the CAN bus; c. Keep the disconnection time T0, and enter step d after the timing T0 is full; d. The main controller controls the CAN controller to restart ; e. The CAN controller monitors the level signal on the CAN bus. The bus error recovery processing method has the advantage of timely checking the errors detected on the nodes.

Description

technical field [0001] The invention belongs to the technical field of CAN bus, and relates to a bus error recovery processing method. Background technique [0002] The CAN protocol provides a complete error detection and error status mechanism, which can detect CRC errors, confirmation errors, format errors, bit errors and bit stuffing errors, etc. When a node detects a bus error, it will send an error frame to the All other nodes report. The sending of error messages will be aborted and resent as soon as possible. And according to the count value (Tx, Rx) of the internal error counter, each CAN node can be set to three working modes: active error state, passive error state and bus off state. [0003] When the sending error or receiving error count is less than 128, the node is in the "active error state"; when an error occurs or the receiving error count is greater than 128, the node is in the "passive error state"; and when the error count is greater than 256, the node ...

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/40H04L12/26
Inventor 李书福杨健赵福全朱祝阳蔡伟杰李亚南熊想涛王建磊郑士岑丁武俊陈文强由毅
Owner HUAWEI TEHCHNOLOGIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products