Communication method capable of self-adaptively switching between two speeds of CAN (Controller Area Network) bus
A CAN bus, adaptive switching technology, applied in the bus network, data exchange network, data exchange through path configuration, etc., can solve problems such as difficulty in adapting to changes in communication rates
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0030] Embodiment 1: a communication method for adaptively switching between two CAN bus rates, comprising the following steps:
[0031] a. Assume that there is an intelligent instrument numbered 0 and other M intelligent instruments numbered 1 to M in the system using the CAN bus; the intelligent instrument numbered 0 sets the communication speed of the CAN bus to A or B;
[0032] b. Perform the following steps after the smart instrument with the number 0 is powered on:
[0033] b1. let i=1;
[0034] b2. According to the communication rate of the CAN bus is set to A or B, let the variable bLastSpeed representing the last successful communication rate between the intelligent instrument and the system be 0 or 1;
[0035] b3. Set the current communication rate of the CAN bus to A;
[0036] b4. Communicate with the intelligent instrument numbered i, and assign bLastSpeed to the intelligent instrument numbered i;
[0037] b5. Wait for nTime;
[0038] b6. If the returned d...
Embodiment 2
[0054] Embodiment 2: as described in embodiment 1, the communication method of self-adaptive switching between CAN bus two kinds of rates is characterized in that: the variable bLastSpeed of described expression intelligent instrument and system last successful communication rate is stored in each intelligent instrument in the power-off storage unit.
Embodiment 3
[0055] Embodiment 3: as described in embodiment 1, the communication method of self-adaptive switching between CAN bus two kinds of speeds, it is characterized in that: the variable bLastSpeed of described smart instrument and system successful communication rate last time is powered on the smart instrument is a random variable.
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