Method for automatically allocating address to same node on communication bus
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A technology of the same node and communication bus, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problem that the address on the bus of the node cannot be automatically assigned, so as to improve the automation and intelligence ability and avoid bus data errors , Reduce the effect of manual operation steps
Active Publication Date: 2018-03-23
BEIJING MECHANICAL EQUIP INST
View PDF4 Cites 6 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0009] In view of the above-mentioned analysis, the present invention aims to provide a method for automatically assigning addresses to the same nodes on the communication bus, in order to solve the problem that there are multiple identical device nodes connected to the same CAN bus in the prior art, and this node cannot be automatically assigned on the bus. Many technical issues such as the address on
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment Construction
[0036] Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and are used together with the embodiments of the present invention to explain the principle of the present invention.
[0037] According to a specific embodiment of the present invention, a method for automatically assigning addresses to the same nodes on the communication bus is disclosed, including:
[0038] Step S1, setting the global variable address allocation flag, initializing the address allocation flag as address unallocated, judging whether the address allocation flag of this node is unallocated, if no, go to step S2, if yes, go to step S3;
[0039] Step S2, judging whether the node address conflicts with the stored address, if yes, execute step S3, and if no, execute step S5;
[0040] Step S3, assigning the initial address to this node as the minimum address n...
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
Login to view more
Abstract
The invention relates to a method for automatically allocating an address to the same node on a communication bus. The method includes the following steps: step S1, setting a global variable address allocation tag, initializing the address allocation tag as an address unallocated state, judging whether the address allocation tag of a current node is unallocated, if not, executing the step S2, andif yes, executing the step S3; step S2, judging whether an address of the current node conflicts with a stored address, if yes, executing the step S3, and if not, executing the step S5; step S3, allocating an initial address that is a minimum address number '1' on the bus to the current node; step S4, judging whether the address of the current node conflicts with the stored address, if not, executing the step S5, and if yes, adding 1 to the address of the current node, and re-executing the step S4; and step S5, switching the address allocation tag to an address allocated state and remaining unchanged. According to the method disclosed by the invention, when equipment replaces a CAN bus due to the movement of the node, the reallocation of the address can be avoided, repeated addresses can be automatically rearranged in time, and bus data errors caused by the repeated addresses can be avoided.
Description
technical field [0001] The invention relates to the field of shift control of an automatic gearbox, in particular to a method for automatically assigning addresses to the same nodes on a communication bus. Background technique [0002] Multiple identical devices are connected through the same CAN bus, and send messages at regular intervals. A device connected to the CAN bus is a node on the current bus. The messages sent by this node to the bus are used by other nodes. Each node in the bus should have a unique address. Each node on the bus follows the same communication protocol to stipulate the format, data meaning and sending cycle of each message, and the message format, data meaning and sending cycle sent by each node are the same. The communication protocol stipulates that some data in the message should be the address of the node sending the message, and each message is distinguished from which node it comes from according to the node address, so before using it, it...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.