A method, device and medium for identifying linked group types based on virtual coding
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2026-08-14
AI Technical Summary
但由于需要增加硬线采集接口,使联挂过程复杂,增加了联挂操作的难度和风险
[0023] (1) Reduced complexity of coupling process and coupler design: Virtual coding is used instead of hard wire identification, so that the coupler of the trailer only needs to ensure whether it is physically connected, which reduces the difficulty of system identification and the complexity of coupling process and coupler design.
Smart Images

Figure CN119117011B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transit technology, and in particular to a method, device and medium for identifying coupled train formation types based on virtual coding. Background Technology
[0002] With the rapid increase in urban population and the tidal characteristics of passenger flow throughout the day, urban rail transit faces enormous challenges. Traditional trains primarily operate in single-unit mode, leading to resource waste during off-peak hours. Therefore, the coupling and decoupling of trains has been proposed, using multiple train sets during peak hours and single sets during off-peak hours. Identifying the coupling type in multi-unit trains is crucial for selecting appropriate control parameters for the onboard controller, and is a key challenge in coupling and decoupling technology. Currently, the traditional approach uses hard-wired code identification at the coupling ends to determine whether both ends of the train are coupled and how many cars are coupled. This method is relatively easy for coupling two cars of the same type, but becomes extremely complex when dealing with couplings of more than two cars. It requires designing complex hard-wired interface circuits for auxiliary judgment and cannot obtain the specific arrangement of cars in a single train set. Furthermore, hard-wired interface coding cannot effectively identify different types of trains.
[0003] Chinese patent CN110936983B discloses an automatic train coupling method for rail transit. It utilizes technologies such as a hard-wired interface for signal and vehicle safety information exchange and fully automatic coupler internal terminals to achieve automatic train coupling and decoupling, enabling train assembly without manual driving. However, the addition of a hard-wired interface complicates the coupling process, increasing the difficulty and risk of the operation. Therefore, how to simply and quickly achieve coupling of various types of trains has become a technical problem that needs to be solved. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the existing technology by providing a method, device and medium for identifying coupling and train formation types based on virtual coding. By using virtual coding instead of hard-wired identification and designing a train formation type negotiation communication protocol, the coupling and uncoupling of trains can be easily and quickly identified as to the coupling type of the current train formation.
[0005] The objective of this invention can be achieved through the following technical solutions:
[0006] According to one aspect of the present invention, a method for identifying linked group types based on virtual coding is provided, the specific steps of which are as follows:
[0007] S1. Determine whether it is necessary to re-identify the grouping type. If so, trigger the grouping type identification process.
[0008] S2. For trains in the formation type identification state, based on the train's coupling end code and coupling status processing formation information, calculate the new complete formation type.
[0009] S3. After a train with only one end coupling identifies the complete formation type, it communicates with all other trains in the formation to confirm whether the calculated new formation type is correct.
[0010] S4. After the train with only one end coupling is successfully verified, the new formation type is confirmed with another train with only one end coupling in the formation, so that both the first and last trains recognize each other's formation type and the formation types judged by the first and last trains are consistent.
[0011] S5. After confirming the formation type, the train performs corresponding response and status update operations according to the coupling status and the type of message received, so as to inform the two-end coupled cars of the confirmed formation type.
[0012] S6. If the virtual coding coupling group type identification method cannot identify it, the group type shall be reconfirmed based on the coupling status of individual cars in the group and the positioning information of some trains.
[0013] Furthermore, in S1, after the train restarts, the status is updated according to the grouping type status recorded on the disk: if confirmed, it is adjusted according to the coupling status; if the train is not coupled, it is set to confirmed; if the train is coupled at one end, it is set to identification; if not confirmed, it is set to unknown. When coupling, if the coupling end code of the single-end coupled car is 0, it is set to identification. When uncoupling, if the non-coupling end code is not 0, it is also set to identification; otherwise, no processing is performed.
[0014] Furthermore, in S2, if the train is in the formation type identification state, the non-coupling end code and the coupling end code of this train are checked.
[0015] When the non-coupling end code is not 0, indicating decoupling is complete, processing is performed according to the coupling status, which includes no coupling, right-side coupling only, and left-side coupling only. When no coupling, it is considered a single car; the coupling code is cleared and the train formation is confirmed. When only one side is coupled, it is considered multiple cars; the non-coupling end code is cleared, and the formation information is calculated and set to pending verification. When the coupling end code is 0, indicating coupling is complete, a query request is sent. Based on the received response information, the train formation information is calculated and set to pending confirmation or pending verification. The response information includes single-car-to-single and single-car-to-multiple-car. If identification times out, the formation information is reset and set to an unknown state. The train can also respond to train type identification and verification messages, reporting its own formation information or status to achieve synchronization and verification of formation information.
[0016] Furthermore, in S3, if the train is in the formation type verification state, it reports the coupling formation information upon receiving the formation identification message; if it receives the single-end verification message, it responds and reports the coupling status and code of both ends of the train; it sends a query request, receives the verification information from the vehicle's response, and verifies the consistency of the index of the coupling status and code reported by the vehicle. If successful, it is set to pending confirmation; if it times out, the information is reset and set to unknown.
[0017] Furthermore, in S4, if the train is in the formation type confirmation state, if it receives an identification message for a coupled car, it responds with formation information; if it receives a verification message for a single-end coupled car, it responds and sets it to verification in progress, then reports the coupling status and code of both ends of the train; if it sends a query request, and receives a pending confirmation message for a car coupled only at one end, it sets it to confirmed if the verification passes, and resets the information and sets it to unknown if the timeout occurs.
[0018] Furthermore, in S5, if the train's formation type is confirmed, the train is processed according to the coupling status, which includes single-end coupling and double-end coupling. In the case of single-end coupling, the train's coupling formation information and status are updated according to whether it is left or right coupling and the received messages, including verification, confirmation, and unknown messages, and a corresponding response is sent. In the case of double-end coupling, the train responds to the received verification, confirmation, or unknown messages from single-end coupled cars and synchronizes or resets the train's formation information as appropriate.
[0019] Furthermore, in S6, if the train is in a state of unknown formation type, the formation type is reconfirmed based on the coupling status of individual cars in the formation and the positioning information of some trains. The coupling code of each train in the formation is reassigned in order from left to right. Except for the non-coupling ends of the first and last trains, the codes of the coupling ends are sequentially increased.
[0020] According to a second aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described thereon.
[0021] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described thereon.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] (1) Reduced complexity of coupling process and coupler design: Virtual coding is used instead of hard wire identification, so that the coupler of the trailer only needs to ensure whether it is physically connected, which reduces the difficulty of system identification and the complexity of coupling process and coupler design.
[0024] (2) Improved the accuracy of train coupling identification: Based on a specific communication protocol, it can obtain detailed parameters of each train and more accurately identify the coupling order and type in the coupling group.
[0025] (3) Wide range of applications: It can support the identification of multiple coupling and grouping types and is applicable to common train coupling situations. Attached Figure Description
[0026] Figure 1 The flowchart shows the overall process for identifying the type of linked marshalling based on virtual coding.
[0027] Figure 2 A schematic diagram illustrating the status of linked group type identification based on virtual coding;
[0028] Figure 3 Trigger the flowchart for the grouping type;
[0029] Figure 4 Flowchart for grouping type identification;
[0030] Figure 5 Flowchart for group type verification;
[0031] Figure 6 Flowchart for grouping type confirmation;
[0032] Figure 7 Flowchart for confirmed grouping types;
[0033] Figure 8 This is a diagram showing the state of train TU1 when it is not coupled.
[0034] Figure 9 This is a diagram showing the connection status between the right side of TU1 and train TU2.
[0035] Figure 10 This is a diagram showing the connection status between the right side of TU2 and train TU3.
[0036] Figure 11 This is a diagram showing the connection status between the right side of TU4 and train TU1.
[0037] Figure 12 This is a diagram showing the state of TU4's right side being separated from train TU1;
[0038] Figure 13 This is a diagram showing the state of TU1's right side being disconnected from train TU2;
[0039] Figure 14 This is a diagram showing the state of TU2's right side being separated from train TU3. Detailed Implementation
[0040] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0041] like Figure 1 The image shows a method for identifying linked group types based on virtual coding. The specific steps are as follows:
[0042] S1. Determine whether it is necessary to re-identify the grouping type. If so, trigger the grouping type identification process.
[0043] S2. For trains in the formation type identification state, based on the train's coupling end code and coupling status processing formation information, calculate the new complete formation type.
[0044] S3. After a train with only one end coupling identifies the complete formation type, it communicates with all other trains in the formation to confirm whether the calculated new formation type is correct.
[0045] S4. After the train with only one end coupling is successfully verified, the new formation type is confirmed with another train with only one end coupling in the formation, so that both the first and last trains recognize each other's formation type and the formation types judged by the first and last trains are consistent.
[0046] S5. After confirming the formation type, the train performs corresponding response and status update operations according to the coupling status and the type of message received, so as to inform the two-end coupled cars of the confirmed formation type.
[0047] S6. If the virtual coding coupling group type identification method cannot identify it, the group type shall be reconfirmed based on the coupling status of individual cars in the group and the positioning information of some trains.
[0048] The following restrictions apply to the encoding values of the chain-linked codes:
[0049] In the uncoupling state, the coupling codes for both the first and last couplings are 0; the coupling codes for the coupling ends of two connected cars are equal; when two single-unit trains are coupled together, the code value for the coupling end is 1; in the single-end coupling state, the coupled end is not 0, and the non-coupling end is 0; in the double-end coupling state, the coupling codes for the first and last couplings differ by 1; the code value of the newly coupled end is 1 greater than the code value of the already coupled end. The coupling group type identification status based on virtual coding is as follows: Figure 2 As shown, the representation of each state in the communication protocol is clearly defined.
[0050] like Figure 3As shown in S1, after the train restarts, the status is updated according to the grouping type status recorded on the disk: if confirmed, it is adjusted according to the coupling status; if the train is not coupled, it is set to confirmed; if the train is coupled at one end, it is set to identification; if not confirmed, it is set to unknown. When coupling, if the coupling end code of the single-end coupled car is 0, it is set to identification. When uncoupling, if the non-coupling end code is not 0, it is also set to identification; otherwise, no processing is performed.
[0051] like Figure 4 As shown in step S2, if the train is in the formation type identification state, it checks the non-coupling end code and the coupling end code of the train. When the non-coupling end code is not 0, indicating that the decoupling is complete, it is processed according to the coupling status, which includes no coupling, coupling only on the right side, and coupling only on the left side. Specifically, when no coupling, it is considered a single car, the coupling code is cleared, and the formation is confirmed; when only one side is coupled, it is considered a multi-car formation, the non-coupling end code is cleared, and the formation information is calculated and set to pending verification. When the coupling end code is 0, indicating that the coupling is complete, a query request is sent. Based on the received response information, the formation information of the train is calculated and set to pending confirmation or pending verification. The response information includes single-car-to-single and single-car-to-multiple-car formations. If the identification times out, the formation information is reset and set to an unknown state. The train can also respond to train type identification and verification messages, reporting its own formation information or status, achieving synchronization and verification of formation information.
[0052] like Figure 5 As shown in S3, if the train is in the formation type verification state, it will report the coupling formation information when it receives the formation identification message; if it receives the single-end verification message, it will respond and report the coupling status and code of both ends of the train; it will send a query request, receive the verification information of the vehicle's response and check the consistency of the index of the coupling status and code reported by the vehicle. If successful, it will be set to pending confirmation; if it times out, the information will be reset and set to unknown.
[0053] like Figure 6 As shown in S4, if the train is in the formation type confirmation state, if it receives the identification message of the coupled car, it responds with formation information; if it receives the verification message of the single-end coupled car, it responds and sets it to verification in progress, and reports the coupling status and code of both ends of the train; if it sends a query request, and receives the pending confirmation message of the single-end coupled car, it sets it to confirmed if the verification passes, and resets the information and sets it to unknown if the timeout occurs.
[0054] like Figure 7 As shown in S5, if the train's formation type is confirmed, it is processed according to the coupling status, which includes single-end coupling and double-end coupling. When single-end coupling occurs, the train's coupling formation information and status are updated based on whether it is left or right coupling and the received messages, including verification, confirmation, and unknown messages, and a corresponding response is sent. When double-end coupling occurs, the train responds to the received verification, confirmation, or unknown messages from single-end coupled cars and synchronizes or resets its own formation information as needed.
[0055] In S6, if the train is in a state of unknown formation type, the formation type is reconfirmed based on the coupling status of individual cars in the formation and the positioning information of some trains. The coupling code of each train in the formation is reassigned in order from left to right. Except for the non-coupling ends of the first and last trains, the codes of the coupling ends are sequentially increased.
[0056] The process of virtual coding changes during flexible grouping is described using the coupling and uncoupling of 4 groups as an example.
[0057] Train coupling supports single-car coupling to single-car coupling and single-car coupling to multi-car trains. The specific steps are as follows:
[0058] like Figure 8 As shown, when train TU1 is not coupled, the virtual codes at both ends are arranged in left-right order as [0,0].
[0059] like Figure 9 As shown, when train TU1 is not coupled, when train TU2 comes to its right to couple with it, since this is the first coupling to its right and the code value is 0, the coupling code for TU1 is [0,1]. Similarly, the coupling code for TU2 is [1,0]. The coupling status of the final train formation is: {[0,1],[1,0]}, and the coupling code is: {[0,1],[1,0]}.
[0060] like Figure 10 As shown, when train TU3 comes to the right of TU2 and couples with it, since the coupling status of TU1 remains unchanged, the coupling code remains the same. The right side of TU2 is coupled, and since the left side was already coupled, to ensure that the code value of the newly coupled single train is always 1 greater than the code value of the already coupled end, the coupling code of TU2 is [1,2]. Since TU2 and TU3 are connected, and the right side of TU3 is not coupled, the coupling code of TU3 is [2,0]. The final coupling status of the trains is: {[0,1],[1,1],[1,0]}, and the coupling code is: {[0,1],[1,2],[2,0]}.
[0061] like Figure 11 As shown, when train TU4 arrives and couples with TU1 from the left, the coupling status of TU2 and TU3 remains unchanged, therefore the coupling codes remain the same. Since TU1 is newly coupled on the left, its right coupling code is 1, so the coupling code after TU1's coupling is [2,1]. Since TU4 is connected to TU1 on the right, its right coupling code is 2, and since its left side is not coupled, its coupling code is [0,2]. The final coupling status of the trains is: {[0,1],[1,1],[1,1],[1,0]}, and the coupling codes are: {[0,2],[2,1],[1,2],[2,0]}.
[0062] Train decoupling supports decoupling multiple train sets into independent single cars, decoupling multiple train sets into single cars and creating new multiple train sets, and decoupling multiple train sets into multiple new multiple train sets. The decoupling of multi-train sets is explained in turn, with each single car as the unit.
[0063] like Figure 12 As shown, TU4 is decoupled from the train. After decoupling, since TU4 is an uncoupled car, its coupling code is [0,0]. After decoupling TU4, the left side of TU1 is not coupled, so the coupling code of TU1 becomes [0,1]. Therefore, the coupling status of the train [TU1,TU2,TU3] is: {[0,1],[1,1],[1,0]}, and the coupling code is {[0,1],[1,2],[2,0]}.
[0064] like Figure 13 As shown, TU1 is decoupled from the train. After decoupling, since TU1 is not coupled, its coupling code is [0,0]. After decoupling, the left side of TU2 is not coupled, so the coupling code of TU2 becomes [0,2]. Therefore, the coupling status of the train [TU2,TU3] is: {[0,1],[1,0]}, and the coupling code is {[0,2],[2,0]}.
[0065] like Figure 14 As shown, TU2 is decoupled from the train. After decoupling, since TU2 is an uncoupled vehicle, its coupling code is [0,0]. After TU2 is decoupled, TU3 also becomes an uncoupled vehicle, so the coupling status of TU3 is {[0,0]}, and the coupling code becomes {[0,0]}.
[0066] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the described module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0067] The electronic device of this invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) or loaded from a storage unit into random access memory (RAM). The RAM may also store various programs and data required for device operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.
[0068] Multiple components in the device are connected to an I / O interface, including: input units such as a keyboard, mouse, etc.; output units such as various types of displays, speakers, etc.; storage units such as disks, optical disks, etc.; and communication units such as network interface cards, modems, wireless transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks. The processing unit performs the various methods and processes described above, such as the method of the present invention. For example, in some embodiments, the method of the present invention may be implemented as a computer software program tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via ROM and / or the communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of the method of the present invention described above may be performed. Alternatively, in other embodiments, the CPU may be configured to execute the method of the present invention by any other suitable means (e.g., by means of firmware).
[0069] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0070] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0071] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0072] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for identifying linked group types based on virtual coding, characterized in that, include: S1. Determine whether it is necessary to re-identify the grouping type. If so, trigger the grouping type identification process. S2. For trains in the formation type identification state, based on the train's coupling end code and coupling status processing formation information, calculate the new complete formation type. S3. After a train with only one end coupling identifies the complete formation type, it communicates with all other trains in the formation to confirm whether the calculated new formation type is correct. S4. After the train with only one end coupling is successfully verified, the new formation type is confirmed with another train with only one end coupling in the formation, so that both the first and last trains recognize each other's formation type and the formation types judged by the first and last trains are consistent. S5. After confirming the formation type, the train performs corresponding response and status update operations according to the coupling status and the type of message received, so as to inform the two-end coupled cars of the confirmed formation type. S6. If the virtual coding coupling group type identification method cannot identify it, the group type shall be reconfirmed based on the coupling status of individual cars in the group and the positioning information of some trains.
2. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In S1, after the train restarts, the status is updated according to the grouping type status recorded on the disk: if it is confirmed, it is adjusted according to the coupling status; if it is not confirmed, it is set to unknown. When coupling, if the coupling end code of a single-end coupled car is 0, it is set to recognition. When uncoupling, if the non-coupling end code is not 0, it is also set to recognition; otherwise, no processing is performed.
3. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In step S2, if the train is in the formation type identification state, check the non-coupling end code and coupling end code of this car. When the non-coupling end code is not 0, indicating decoupling is complete, processing is performed according to the coupling status, which includes no coupling, right-side coupling only, and left-side coupling only. If no coupling, it is considered a single vehicle; the coupling code is cleared and the grouping is confirmed. If only one side is coupled, it is considered multiple vehicles; the non-coupling end code is cleared, and the grouping information is calculated and set to be verified. When the coupling end code is 0, indicating that coupling is complete, a query request is sent. Based on the received response information, the train formation information is calculated and set to pending confirmation or pending verification. The response information includes single train to single train and single train to multiple trains. If the identification timeout occurs, the formation information is reset and set to an unknown state.
4. The method for identifying linked group types based on virtual coding according to claim 3, characterized in that, In S2, the train can also respond to train type identification and verification messages, report its own formation information or status, and realize the synchronization and verification of formation information.
5. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In S3, if the train is in the formation type verification state, it will report the coupling formation information when it receives the formation identification message; if it receives the single-end verification message, it will respond and report the coupling status and code of both ends of the train. Send a query request, receive the vehicle's response verification information and check the consistency of the vehicle's reported coupling status and code index. If successful, set it to pending confirmation; otherwise, reset the information and set it to unknown.
6. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In S4, if the train is in the formation type confirmation state, if it receives the identification message of the coupled car, it responds with formation information; if it receives the verification message of the coupled car at the receiving end, it reports the coupling status and code of both ends of the train. Send a query request. If a pending confirmation message for a vehicle connected to only one end is received, and the verification passes, the message is marked as confirmed. If the message times out, the information is reset and marked as unknown.
7. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In S5, if the train's formation type is confirmed, the train is processed according to the coupling status, which includes single-end coupling and double-end coupling. In the case of single-end coupling, the train's coupling formation information and status are updated according to whether it is left or right coupling and the received messages, including verification, confirmation, and unknown messages, and a corresponding response is sent. In the case of double-end coupling, the train responds to the received verification, confirmation, or unknown messages from single-end coupled cars and synchronizes or resets the train's formation information as appropriate.
8. The method for identifying linked group types based on virtual coding according to claim 1, characterized in that, In step S6, if the train is in a state of unknown formation type, the formation type is reconfirmed based on the coupling status of individual cars in the formation and the positioning information of some trains. The coupling code of each train in the formation is reassigned in order from left to right. Except for the non-coupling ends of the first and last trains, the codes of the coupling ends are sequentially increased.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
An automatic train coupling method for rail transit
CN110936983B
Marshalling train management method, device, equipment and medium
CN114274981A
Method for establishing train virtual marshalling operation mode
CN114604295A