Bus switch method based on CAN redundance
A bus switching and bus technology, applied in the field of CAN network communication, can solve the problems of reducing bus utilization, missing valid data frames, etc., to achieve the effect of improving bus utilization and ensuring reliability and correctness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Embodiment 1, as figure 1 A dual CAN network is shown, using two sets of buses (i.e., bus A and bus B), and each set of buses includes complete bus cables, bus drivers, and bus controllers.
[0044] In order to realize the bus switching method based on CAN redundancy of the present invention in above-mentioned double CAN network, therefore need to carry out following processing:
[0045] When the sending node sending error count value exceeds a certain threshold, restart the CAN controller to resend. Restarting the CAN controller is mainly to clear some register errors in the controller; Then: if another bus is available, switch the bus and resend; if the other bus is not available, both buses will be disabled, and the node indicator light will be used to prompt the user, waiting for the user to detect the bus path of the node and recover in time.
[0046] When the receiving node receives an error count value exceeding a certain threshold: if another bus is available, ...
Embodiment 2
[0047] Embodiment 2, the bus switching method based on CAN redundancy that is carried out to the dual CAN network described in embodiment 1, two CAN buses are opened simultaneously, but at most only one bus sends data at a time, in order to avoid problems caused by asynchronous Received data error. Use the software buffer as the buffer pool for the user to send data. When the three hardware buffers of the node are free, put the data in the software buffer into the hardware buffer to send the data frame; set the threshold and timeout mechanism It is used to restart the CAN controller or switch the bus when there is a communication failure; use the on and off of the LED lights of each bus node to prompt the user for bus failure and restore the bus in time.
[0048] Specifically, follow the steps below:
[0049] 1), determine whether the node belongs to the sending node or the receiving node, if it belongs to the sending node, enter step 2), if it belongs to the receiving node, ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com