A wireless reconnection node control method based on dual state machine

Through the wireless reconnection node control method of dual state machines, closed-loop control of instruction transmission and execution results is realized, solving the problems of complex control logic and insufficient real-time performance in the prior art, ensuring the reliability and efficiency of the system, and satisfying the cross-border Status jump requirements.

CN114237963BActive Publication Date: 2024-11-26SCI & TECH RES INST OF DAQIN RAILWAY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111594523.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-11-26
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In the existing wireless reconnection control system, the control logic is complex and difficult to ensure real-time and efficiency, it cannot meet the needs of cross-state jump control, and the lack of closed-loop control, affecting the reliability of the system.

Method used

Using the wireless reconnection node control method of dual state machines, the joint work of the instruction machine and the result machine realizes closed-loop control of instruction transmission and execution results, ensures the feasibility of node jumps, and executes independent of each other in multiple result machines. control logic to quickly locate the cause of failure.

Benefits of technology

It realizes closed-loop control of instruction transmission and execution result judgment, ensures the reliability and efficiency of the system, can quickly locate the cause of failure, and meets the cross-state jump requirements of the wireless reconnection control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114237963B_ABST
    Figure CN114237963B_ABST
Patent Text Reader

Abstract

The present invention discloses a wireless reconnection node control method based on a dual-state machine, belonging to the technical field of wireless reconnection node control; the technical problem to be solved is: to provide an improvement on the wireless reconnection node control method based on a dual-state machine; the technical scheme adopted to solve the above technical problem is: to correspond different states to node number points in a result machine one-to-one according to the execution order, and there are also corresponding states in the result machine corresponding to the states in the instruction machine one-to-one, and the instruction output by the instruction machine through comprehensive judgment and the execution feedback result of the execution component corresponding to the instruction are used as input conditions, and a node jump instruction is output after comprehensive judgment, and the node jump instruction is one of the input conditions of the next state of the instruction machine; the instruction output by a certain instruction machine and the output result of the execution component corresponding to the instruction are used as inputs of multiple result machines, and different control logics are performed in the result machine to realize multiple independent and mutually exclusive processes; the present invention is applied to wireless reconnection nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a wireless reconnection node control method based on a dual-state machine, belonging to the technical field of wireless reconnection node control methods based on a dual-state machine. Background Art

[0002] Wireless reconnection control technology has made an important contribution to the increase in heavy-load transport tonnage. At present, the general strategy of wireless reconnection control logic is that according to the different stages of the master and slave locomotives in the process of formation and operation, the master locomotive performs different actions and sends corresponding instructions to the slave locomotive, receives status feedback and action requests from the slave locomotive, and in this process, the components of the master and slave locomotives execute instructions in strict timing based on absolute system nodes. With the continuous iteration and progress of wireless reconnection technology, in the process of gradual improvement of system functions, the logic modification involves the coordination of actions and timing between the various execution components of a single locomotive, between AB sections, and between the master and slave locomotives, making the coupling and nesting relationship between the control logics of the entire system more and more complicated, making it inconvenient to sort out the relationship between the control logics, and it is difficult to take into account the timing relationship between the execution of each logic between different components.

[0003] The invention patent finite state machine execution system and execution method CN103513971A proposes a state machine mode that is mutually nested and inherits the state machine execution from bottom to top. The N-layer state machine of this method only executes the signals related to it, and the signals that are not related to it will be passed to the upper layer for processing. There is a direct inheritance relationship between the upper and lower state machines. By continuously passing to the upper layer, the signal will eventually be passed to the state machine directly related to it for processing. The state machine of this method is directly inherited, and the signal transmission needs to be returned step by step. This control method is also difficult to ensure the real-time and efficiency of the control system, and cannot meet the needs of cross-state jump control of the wireless reconnection control system.

[0004] A locomotive sequence control method based on a state machine is based on the execution system and execution method of the finite state machine of the invention patent. The locomotive sequence control logic is associated one by one through a special finite state machine, and each associated control logic execution process passes through the state machine. When transitioning from one steady-state node to another steady-state node, it is determined whether there are protection conditions for the relevant control logic in each group. If all the relevant control logics in the group do not have protection conditions, the node is updated and stored, and the new node is used as the permission condition for the next steady-state execution action. The state machine of this method is an open-loop control state machine. The node update and the action execution of the corresponding steady-state node do not form a closed loop, which cannot meet the requirements of absolute node control logic in wireless reconnection control. Summary of the invention

[0005] In order to overcome the deficiencies in the prior art, the present invention aims to solve the technical problem of providing an improved wireless reconnection node control method based on a dual-state machine.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a wireless reconnection node control method based on a dual-state machine, including a command machine and a result machine, each state of the command machine corresponds to each other, and each state is numbered with a value of 1, 2, 3...n in the command machine, and the corresponding result machine is also numbered in the same way, and the two states with the same node number in the command machine and the result machine are called the same-layer state. The wireless reconnection node control method includes the following steps:

[0007] Step 1: When the command machine executes jump mode 1 at a certain node, it receives the signal output of the upper layer result machine and the input of several locomotive data at the same time. When the upper layer result machine outputs the node jump enable signal, the system node number is updated to the node number of the current command machine. Only then does it start to judge the input data of several locomotives. When all the input data meet the jump conditions under the node, the command machine outputs the instruction, which is sent to the corresponding execution component and received by the result machine at the same layer;

[0008] Step 2: The result machine determines the instruction output of the instruction machine at the same level and the execution result feedback of the instruction by the corresponding component under the same level node. When the instruction exists and the corresponding execution component feedbacks the correct execution result, the result machine outputs a node jump enable signal and jumps to the next node to repeat step 1.

[0009] Step 3: When the system's node number reaches the highest node state, the system node will no longer jump upward. At this time, there are several independent and mutually exclusive processes in the wireless reconnection system. Therefore, several result machine states with node state n are created to correspond one-to-one with the above processes. The specific execution process is judged according to the locomotive data input in the command machine; at this time, several independent and mutually exclusive processes simultaneously use the command output of the command machine when the node state is n and the execution result feedback of the execution component with node state n-1 as input conditions for judgment, and deploy the control logic of the corresponding process in the result machine.

[0010] In the step 1, the node when the command machine executes jump mode 1 at a certain node does not include the initial node 1. When the command machine executes the normal execution sequence jump in jump mode 1 at the initial node, the command machine judges a number of locomotive input data at the initial node 1. When all the input data meet the jump conditions at the node, the command machine outputs a command, which is sent to the corresponding execution component and received by the result machine at the same layer;

[0011] The result machine judges the instruction output of the same-layer instruction machine and the execution result feedback of the corresponding component on the instruction at the initial node 1. When the instruction exists and the corresponding execution component feedbacks the correct execution result, the execution machine outputs a node jump enable signal.

[0012] It also includes step 4: when the system is at a certain node, if a protection condition or a serious fault occurs in the system, the system performs a leap jump in accordance with jump mode 2 and jumps to the last stable state that meets the conditions; when the protection condition or serious fault in the system disappears, the system leap jumps in accordance with jump mode 3 in the result machine to the node state before the fault occurs.

[0013] The execution steps of the mutually independent and mutually exclusive processes in step 3 in the dual state machine are:

[0014] When the system node state reaches the highest node state and will not jump to increase, different tests are performed according to specific needs. When the system meets the execution conditions of the first test, the instruction machine issues the first test instruction; after the first test logic in the result machine receives the feedback of the correct execution of the first test instruction and the total test, it starts to execute the first test and outputs the test result;

[0015] When the system meets the execution conditions of the second test, the instruction machine issues a second test instruction; after the second test logic in the result machine receives the second test instruction and the feedback of the correct execution of the total test, it starts to execute the second test and outputs the test result;

[0016] When the system meets the execution conditions of the nth test, the instruction machine issues the nth test instruction; after the nth test logic in the result machine receives the feedback of the nth test instruction and the correct execution of the total test, it starts to execute the nth test and outputs the test results.

[0017] The jump mode 1 indicates that the state machine jumps according to the normal execution order.

[0018] The jump mode 2 indicates that a protection condition or a serious fault has occurred in the system, or a manual unmarshaling operation has been performed, and the system node will perform a leapfrog jump.

[0019] The jump mode 3 means that the protection conditions and serious faults in the system have been released, and the system has completed the information synchronization before the fault, and directly jumps from the current node to the node before the fault occurs.

[0020] The beneficial effects of the present invention compared with the prior art are as follows:

[0021] 1. It realizes the closed-loop control of command transmission and execution result judgment, ensures the feasibility of each node jump of the system, and ensures the reliability of the wireless reconnection logic based on node control;

[0022] 2. By multiplexing the output instructions of the instruction machine and the feedback results of other execution components and flexibly setting the execution logic in the result machine, multiple independent control logics under a certain node state can be executed in multiple result machines;

[0023] 3. By making a comprehensive judgment based on the input and output results of each result machine, the cause of the failure that caused the current system node to jump in mode 2 can be quickly located. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The present invention will be further described below in conjunction with the accompanying drawings:

[0025] Figure 1 It is a flow chart of the dual-state machine node control of the present invention;

[0026] Figure 2 It is a flowchart of the execution of mutually independent processes in a dual-state machine of the present invention. DETAILED DESCRIPTION

[0027] like Figure 1 and Figure 2 As shown, the present invention mainly proposes a wireless reconnection node control method based on a dual-state machine for synchronization between multiple locomotives. The RCU (remote control unit) chassis, as the core device of the wireless reconnection control system, needs to realize the synchronous control function of the IDU (intelligent display unit), BCU (brake control unit), CCU (central control unit), DTE (data transmission equipment) and other devices between the AB sections of the same locomotive, while taking into account the coordinated control between the master locomotive and multiple slave locomotives. Therefore, the overall control logic is very complex and huge. At this time, a control strategy is needed to divide the nodes according to the different states of the locomotive. While ensuring the sequential control and cross-state jump functions, it is also necessary to ensure the absolute correctness of the node state when controlling based on different nodes; at the same time, due to the particularity of wireless reconnection control, it is necessary to realize that multiple independent and mutually exclusive processes share the node output results in a certain state.

[0028] The wireless reconnection node control method based on a dual-state machine in the patent of the present invention is proposed to solve this demand. It is composed of a command machine and a result machine. The various working conditions in the train formation and operation process are divided into different states according to their similarity, and the different states are matched one by one with the node number points in the result machine according to the execution order, thereby simplifying the reconnection control logic and realizing the orderliness of the locomotive control logic. There are also corresponding states in the result machine that correspond to the states in the command machine, and the instructions output by the command machine through comprehensive judgment and the execution feedback results of the execution components corresponding to the instructions are used as input conditions. After comprehensive judgment, the node jump instruction is output, and the node jump instruction is one of the input conditions of the next state of the command machine. In this way, the closed-loop feedback control of the wireless reconnection node jump is realized, ensuring the absolute reliability based on node control. At the same time, multiple independent and mutually exclusive processes can be implemented in multiple result machines. The instructions output by a certain command machine and the output results of the execution components corresponding to the instructions are used as inputs of multiple result machines, and different control logics can be performed in the result machine.

[0029] like Figure 1 As shown in the schematic diagram of the dual-state machine node control strategy, the state machine on the left is the instruction machine, and the state machine on the right is the result machine. There is a one-to-one correspondence between each state of the instruction machine and the result machine. In the instruction machine, each state is numbered with a value of 1, 2, 3...n, and the corresponding result machine is also numbered in the same way, and the two states with the same node number in the instruction machine and the result machine are called the same-layer state.

[0030] The principle of the wireless reconnection node control method based on the dual state machine is as follows:

[0031] 1. The node control method of the present invention includes the following three jump modes:

[0032] 1) Jump mode 1: Figure 1 The black arrow with a medium-thick solid line indicates that the state machine jumps according to the normal execution order at this time;

[0033] 2) Jump mode 2: Figure 1 The dashed arrow in the middle indicates that a protection condition or serious fault has occurred in the system, or the unmarshaling operation has been manually performed, and the system node will perform a leapfrog jump;

[0034] 3) Jump mode 3: Figure 1 As shown in the double-dotted arrow, it means that at this time, the protection conditions and serious faults in the system have been lifted, and the system has completed the information synchronization before the fault, and directly jumps from the current node to the node before the fault occurred.

[0035] 2. Input and output of the command machine:

[0036] 1) Command machine input

[0037] a. Output result of the previous layer result machine

[0038] When the instruction machine is judging and jumping the working condition in a certain state, it first judges the output of the result machine at the previous layer. If the result machine at the previous layer outputs a node jump enable signal, it means that the working condition judgment and jump logic in this state are allowed to be executed under the current system node.

[0039] b. Input data of several locomotives

[0040] When the output node of the upper layer result machine jumps to enable signal, it starts to judge several locomotive input data.

[0041] 2) Command machine output

[0042] When all locomotive input data meet the conditions required for all working conditions in this state, the command machine outputs the corresponding control instructions.

[0043] 3. Input and output of the result machine:

[0044] 1) Input of the result machine

[0045] a. Control instructions output by the same-layer instruction machine;

[0046] b. The instruction machine controls the execution component corresponding to the instruction to provide feedback on the execution result of the instruction.

[0047] 2) Output of the result machine

[0048] a. Node jump enable signal.

[0049] 4. Summarize the control logic of different stages in the wireless reconnection marshaling and operation process into different state node numbers, and correspond them to the state nodes in the instruction machine in sequence. Take the system initial node number as 1 to illustrate the system node jump process:

[0050] 1) When executing the normal execution sequence jump in jump mode 1, the command machine judges several locomotive input data under the initial node 1. When all the input data meet the jump conditions under this node, the command machine outputs a command, which is sent to the corresponding execution component and received by the result machine at the same level;

[0051] 2) The result machine judges the instruction output of the instruction machine at the same level and the execution result feedback of the instruction by the corresponding component at the initial node 1. When the instruction exists and the corresponding execution component feedbacks the correct execution result, the result machine outputs the node jump enable signal;

[0052] 3) In the logic of node 2, the command machine receives the signal output of the upper layer result machine and several locomotive data inputs at the same time. When the upper layer result machine outputs the node jump enable signal, the system node number is updated to 2 (the system node and the node number of the command machine are updated synchronously). Only then does it start to judge the input data of several locomotives. When all the input data meet the jump conditions under the node, the command machine outputs the command, which is sent to the corresponding execution component and received by the result machine at the same layer.

[0053] 4) The result machine executes the same logic as in point 2) in the logic of node 2.

[0054] 5. When the node number of the system reaches a certain value (for example, n), it means that the system has reached the highest node state, and the system node will no longer jump upward. At this time, there are several independent and mutually exclusive processes that can be executed in the wireless reconnection system, so several result machine states with node state n are created to correspond to these one-to-one. The specific execution of which process needs to be judged based on the locomotive data input in the command machine. At this time, these several independent and mutually exclusive processes use the command output of the command machine when the node state is n and the execution result feedback of the execution component with node state n-1 as input conditions for judgment, and deploy the control logic of the corresponding process in the result machine, so as to achieve the purpose of executing different control logics.

[0055] 6. When the system is at a certain node, if a protection condition or a serious fault occurs in the system, the system will make a leap in the manner of Mode 2 and jump to the last stable state that meets the conditions; when the protection condition or serious fault in the system disappears, the system will leap in the result machine in the manner of Mode 3 to the node state before the fault occurs.

[0056] A specific example of the above-mentioned independent processes: In the locomotive reconnection marshaling logic, when the marshaling of the master and slave locomotives is completed, and the train pipe penetration test is completed, the system node state reaches 10 (for example) and will not jump to increase. At this time, the train pipe leakage test or train inspection can be performed according to specific needs. Leakage test and train inspection are two independent processes and cannot be performed at the same time, but both rely on the correct completion of the train pipeline penetration test, and decide which one to execute based on the current train status. When the system meets the execution conditions of the leakage test, the command machine issues a leakage test command; after the leakage test logic of the result machine receives the leakage test command and the feedback of the correct execution of the penetration test, it starts to execute the leakage test and outputs the test results. Similarly, the same is true for train inspections.

[0057] The protection conditions in jump mode 2 and jump mode 3 of the present invention include communication failure, hardware failure, software restart failure, equipment power failure, etc. that may occur during the operation or startup of the vehicle.

[0058] What needs to be explained about the specific structure of the present invention is that the connection relationship between the various component modules adopted in the present invention is definite and feasible. Except for the special instructions in the embodiments, the specific connection relationship can bring about the corresponding technical effects, and solve the technical problems raised by the present invention without relying on the execution of the corresponding software program. Except for the specific instructions, the models and connection methods of the components, modules and specific components appearing in the present invention belong to the existing technologies such as published patents, published journal articles, or common knowledge that can be obtained by technical personnel in this field before the application date, and there is no need to elaborate, so that the technical solution provided in this case is clear, complete and feasible, and the corresponding physical products can be reproduced or obtained according to the technical means.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A wireless reconnection node control method based on a dual-state machine, comprising an instruction machine and a result machine, characterized in that: There is a one-to-one correspondence between each state of the instruction machine and the result machine. In the instruction machine, each state is numbered with a value of 1, 2, 3...n. The corresponding result machine is also numbered in the same way. The two states with the same node number in the instruction machine and the result machine are called the same-layer state. The wireless reconnection node control method includes the following steps: Step 1: When the command machine executes jump mode 1 at a certain node, it receives the signal output of the upper layer result machine and the input of several locomotive data at the same time. When the upper layer result machine outputs the node jump enable signal, the system node number is updated to the node number of the current command machine. Only then does it start to judge the input data of several locomotives. When all the input data meet the jump conditions under the node, the command machine outputs the instruction, which is sent to the corresponding execution component and received by the result machine at the same layer; In the step 1, the node when the command machine executes jump mode 1 at a certain node does not include the initial node 1. When the command machine executes the normal execution sequence jump in jump mode 1 at the initial node, the command machine judges a number of locomotive input data at the initial node 1. When all the input data meet the jump conditions at the node, the command machine outputs a command, which is sent to the corresponding execution component and received by the result machine at the same layer; The result machine judges the instruction output of the same-layer instruction machine and the execution result feedback of the instruction by the corresponding component under the initial node 1. When the instruction exists and the corresponding execution component feedbacks the correct execution result, the execution machine outputs the node jump enable signal; Step 2: The result machine determines the instruction output of the instruction machine at the same level and the execution result feedback of the instruction by the corresponding component under the same level node. When the instruction exists and the corresponding execution component feedbacks the correct execution result, the result machine outputs a node jump enable signal and jumps to the next node to repeat step 1. Step 3: When the node number of the system reaches the highest node state, the system node will no longer jump upward. At this time, there are several independent and mutually exclusive processes in the wireless reconnection system. Therefore, several result machine states with node state n are created to correspond one-to-one with the above processes. The specific execution process is judged according to the locomotive data input in the command machine; at this time, several independent and mutually exclusive processes simultaneously use the command output of the command machine when the node state is n and the execution result feedback of the execution component with node state n-1 as input conditions for judgment, and deploy the control logic of the corresponding process in the result machine; Step 4: When the system is at a certain node, if a protection condition or a serious fault occurs in the system, the system will perform a leapfrog jump in accordance with jump mode 2 and jump to the last stable state that meets the conditions; when the protection condition or serious fault in the system disappears, the system will leapfrog in the result machine in accordance with jump mode 3 to the node state before the fault occurs.

2. According to claim 1, a wireless reconnection node control method based on a dual state machine is characterized in that: The execution steps of the mutually independent and mutually exclusive processes in step 3 in the dual state machine are: When the system node state reaches the highest node state and will not jump to increase, different tests are performed according to specific needs. When the system meets the execution conditions of the first test, the instruction machine issues the first test instruction; after the first test logic in the result machine receives the feedback of the correct execution of the first test instruction and the total test, it starts to execute the first test and outputs the test result; When the system meets the execution conditions of the second test, the instruction machine issues a second test instruction; after the second test logic in the result machine receives the second test instruction and the feedback of the correct execution of the total test, it starts to execute the second test and outputs the test result; When the system meets the execution conditions of the nth test, the instruction machine issues the nth test instruction; after the nth test logic in the result machine receives the feedback of the nth test instruction and the correct execution of the total test, it starts to execute the nth test and outputs the test results.

3. According to claim 1, a wireless reconnection node control method based on a dual state machine is characterized in that: The jump mode 1 indicates that the state machine jumps according to the normal execution order.

4. According to claim 1, a wireless reconnection node control method based on a dual state machine is characterized in that: The jump mode 2 indicates that a protection condition or a serious fault has occurred in the system, or a manual unmarshaling operation has been performed, and the system node will perform a leapfrog jump.

5. The wireless reconnection node control method based on a dual-state machine according to claim 1, characterized in that: The jump mode 3 means that the protection conditions and serious faults in the system have been released, and the system has completed the information synchronization before the fault, and directly jumps from the current node to the node before the fault occurs.