A train control function verification method, device, equipment and medium

By establishing a communication interface between the train subsystem simulation system and the main simulation system, remote collaborative simulation testing is achieved, which solves the problem that the train subsystem cannot fully participate in the whole vehicle test, improves test coverage and efficiency, and reduces problems in on-site vehicle debugging.

CN116540567BActive Publication Date: 2026-04-07CRRC QINGDAO SIFANG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-09
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In the existing technology, the design and verification of the control function of the train subsystem cannot be fully integrated into the whole train test, resulting in low test coverage. It is impossible to verify the interface function with the whole vehicle control circuit and control system in advance, which can easily lead to problems during the commissioning of the actual vehicle.

Method used

By setting up a communication interface in the train subsystem simulation system and establishing a communication connection with the main simulation system, remote collaborative simulation testing can be achieved, simulation data can be collected and sent, variable values ​​of the main simulation system can be updated, and remote access of subsystem simulation data to the whole vehicle control function simulation platform can be realized.

Benefits of technology

This improved the testing coverage and efficiency of the train's overall control functions, reduced problems during on-site commissioning, and saved costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116540567B_ABST
    Figure CN116540567B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, equipment, and medium for verifying train control functions, relating to the field of train simulation technology. The subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through this interface. By monitoring control commands from the main simulation system, when a control command indicating the start of simulation is received, subsystem simulation data is collected; a combined data packet containing the subsystem simulation data is generated based on the subsystem's input / output configuration; and the combined data packet is sent to the main simulation system for updating the current values ​​of corresponding variables. This scheme, by setting up a communication interface in the subsystem simulation system, enables remote access of the subsystem simulation system to the main simulation system; based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, realizing remote collaborative simulation testing with the train overall control function simulation platform, thus improving the efficiency of integrated testing and verification of the overall train control function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of train simulation technology, and in particular to a method, device, equipment and medium for verifying train control functions. Background Technology

[0002] With the rapid development of rail transit equipment systems, higher demands have been placed on the research and testing efficiency of vehicle control systems. Currently, testing of vehicle control functions typically involves testing each subsystem / component individually, while testing of the entire vehicle mainly focuses on the interface between the subsystem / component and the vehicle control circuit.

[0003] However, due to the sheer number and variety of subsystems and components involved in a vehicle, building a vehicle-level integrated control function test system using hardware-in-the-loop simulation is virtually impractical. The design and verification of subsystem / component control functions are typically handled independently by the subsystem supplier, who builds the simulation platform. Subsystem simulation platforms often employ hardware-in-the-loop simulation, which cannot realistically and completely simulate the operation of the actual vehicle during testing. This results in low testing efficiency and limited operational coverage. Furthermore, because subsystems are tested in isolation, it's impossible to verify their interface functions with the vehicle's control circuits and control systems in advance, making it impossible to avoid modifications needed during actual vehicle debugging and verification if such issues arise.

[0004] In view of the above problems, how to enable the train subsystems to participate fully in the whole train test in order to improve the test coverage and better realize the verification of the whole train control function is an urgent problem to be solved by the technical personnel in this field. Summary of the Invention

[0005] The purpose of this application is to provide a method, apparatus, equipment, and medium for verifying train control functions, so as to enable the train subsystem to fully participate in the whole train test, improve the test coverage, and better realize the verification of the whole train control functions.

[0006] To address the aforementioned technical problems, this application provides a train control function verification method applied to a subsystem simulation system; the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface; the method includes:

[0007] Monitor the control commands of the main simulation system;

[0008] When the control command indicating the start of simulation is received, the subsystem simulation data is collected;

[0009] Generate a combined data package containing the simulation data of the subsystem based on the subsystem input / output configuration;

[0010] The steps include: sending the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable based on the data in the combined data packet; and returning to the simulation data of the acquisition subsystem.

[0011] Preferably, when the control command representing the start of the simulation is received, the method further includes:

[0012] Receive simulation data sent by the main simulation system;

[0013] The simulation data is parsed based on the input / output configuration of the subsystem.

[0014] Update the corresponding variable values ​​based on the parsed simulation data, and return to the step of receiving the simulation data sent by the main simulation system;

[0015] Wherein, the variable value is the parameter variable value of the subsystem simulation system during the simulation process.

[0016] Preferably, before monitoring the control commands of the main simulation system and after establishing a communication connection with the main simulation system, the method further includes:

[0017] Send the basic data configuration and interactive interface files of the subsystem to the main simulation system.

[0018] Preferably, before monitoring the control commands of the main simulation system, and after sending the subsystem basic data configuration and subsystem interaction interface file to the main simulation system, the method further includes:

[0019] After the user edits the subsystem interface, a new subsystem interface file is generated.

[0020] Send the new subsystem interface file to the main simulation system;

[0021] The subsystem's interactive interface file contains page attributes and control attributes.

[0022] Preferably, it further includes:

[0023] Monitor the user's command to close the simulation;

[0024] When the simulation shutdown command is received, the collection of simulation data for the subsystem is stopped.

[0025] To address the aforementioned technical problems, this application also provides another train control function verification method, applied to a main simulation system; the main simulation system establishes a communication connection with the subsystem simulation system through a communication interface set in the subsystem simulation system; the method includes:

[0026] Send a control command to the subsystem simulation system to initiate the simulation.

[0027] Receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system;

[0028] The combined data packet is parsed according to the subsystem input / output configuration to obtain the data in the combined data packet;

[0029] Update the current value of the corresponding variable according to the data in the combined data packet; return to the step of receiving the combined data packet containing the subsystem simulation data sent by the subsystem simulation system.

[0030] To address the aforementioned technical problems, this application also provides a train control function verification device, applied to a subsystem simulation system; the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface; the device includes:

[0031] The monitoring module is used to monitor the control commands of the main simulation system;

[0032] The acquisition module is used to acquire subsystem simulation data when it receives the control command indicating the start of the simulation;

[0033] The generation module is used to generate a combined data package containing the simulation data of the subsystem based on the subsystem input and output configuration;

[0034] The first sending module is used to send the combined data packet to the main simulation system, so that the main simulation system can update the current value of the corresponding variable according to the data in the combined data packet; and trigger the acquisition module.

[0035] To address the aforementioned technical problems, this application also provides another train control function verification device, applied to a main simulation system; the main simulation system establishes a communication connection with the subsystem simulation system through a communication interface set in the subsystem simulation system; the device includes:

[0036] The second sending module is used to send a control command representing the start of the simulation to the subsystem simulation system;

[0037] The receiving module is used to receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system;

[0038] The parsing module is used to parse the combined data packet according to the subsystem input / output configuration to obtain the data in the combined data packet;

[0039] The update module is used to update the current value of the corresponding variable based on the data in the combined data packet; and to trigger the receiving module.

[0040] To address the aforementioned technical problems, this application also provides a train control function verification device, comprising:

[0041] Memory, used to store computer programs;

[0042] A processor is used to implement the steps of the above-described train control function verification method when executing the computer program.

[0043] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the train control function verification method described above.

[0044] The train control function verification method provided in this application is applied to a subsystem simulation system. The subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through this interface. Specifically, it monitors the control commands of the main simulation system; when a control command indicating the start of simulation is received, it collects subsystem simulation data; it generates a combined data packet containing the subsystem simulation data according to the subsystem input / output configuration; it sends the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable based on the data in the combined data packet; and it returns to the step of collecting subsystem simulation data. Therefore, the above scheme, by setting up a communication interface in the subsystem simulation system, enables remote access of the subsystem simulation system to the main simulation system, which serves as the simulation platform for the train's overall control function. Based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, realizing remote collaborative simulation testing with the train's overall control function simulation platform. This improves the efficiency of integrated testing and verification of the overall vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0045] In addition, this application also provides a train control function verification device, equipment and medium, with the same effect as above. Attached Figure Description

[0046] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 A schematic diagram of a subsystem simulation system integration scheme provided in an embodiment of this application;

[0048] Figure 2 A flowchart of a train control function verification method provided in this application embodiment;

[0049] Figure 3 A flowchart of another train control function verification method provided in the embodiments of this application;

[0050] Figure 4 A schematic diagram of a train control function verification device provided in an embodiment of this application;

[0051] Figure 5 A schematic diagram of another train control function verification device provided in the embodiments of this application;

[0052] Figure 6 This is a schematic diagram of a train control function verification device provided in an embodiment of this application. Detailed Implementation

[0053] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0054] The core of this application is to provide a method, apparatus, equipment, and medium for verifying train control functions, so that the train subsystem can fully participate in the whole train test, improve the test coverage, and better realize the verification of the whole train control functions.

[0055] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0056] With the rapid development of rail transit equipment systems, higher demands are being placed on the efficiency of R&D and testing of vehicle control systems. In traditional hardware-in-the-loop (HIL) simulation testing of subsystems / components, the integration and debugging of subsystems / components from different manufacturers requires significant manpower and resources for equipment transportation, test site setup, and wiring preparation. This is especially true when the subsystem / component to be tested is large, making it difficult to organize and provide suitable testing conditions. Therefore, for testing the overall vehicle control functions, each subsystem / component is typically tested individually, while the overall vehicle testing primarily focuses on the interface testing between the subsystem / component and the vehicle control circuit.

[0057] However, existing vehicle-level hardware-in-the-loop (HIL) simulation testing platforms are impractical due to the sheer number and variety of subsystems and components involved in a complete vehicle. The simulation models or physical prototypes of subsystems / components typically only represent typical systems like traction or braking systems, and can only connect to the controller portion of the subsystem / component. For the peripheral parts of the subsystem / component (excluding the controller), the cost of simulation or physical connection is too high, and it's difficult to cover all subsystems / components of all existing vehicle models. Therefore, on-site testing and verification can only be performed after the entire vehicle is assembled, which puts pressure on the development cycle and cost of new rail transit equipment.

[0058] Furthermore, the design verification of control functions for subsystems / components is typically handled independently by the subsystem supplier, who builds the simulation platform. These subsystem simulation platforms often employ hardware-in-the-loop (HIL) simulation methods and generally include the subsystem controller, peripheral simulation models, and host computer interface software. However, manually setting trigger conditions and managing tests through the host computer interface cannot realistically and completely simulate the operation of the actual vehicle, resulting in low testing efficiency and low operational coverage. Moreover, because the system is tested in isolation, it is impossible to verify the interface functions with the vehicle's control circuits and control systems in advance, making it impossible to avoid modifications needed due to problems arising during the actual vehicle debugging and verification process.

[0059] To address the aforementioned issues, this application provides a method for verifying train control functions, enabling the train subsystem to fully participate in the overall train testing, thereby increasing test coverage and better realizing the verification of overall train control functions.

[0060] Figure 1 This is a schematic diagram of a subsystem simulation system integration scheme provided in an embodiment of this application. Figure 1 As shown, the subsystem simulation system is located at the subsystem supplier's premises and is built by the supplier. Since train subsystems are generally represented by typical systems such as traction or braking systems, the corresponding subsystem simulation system is used to simulate these systems. The main simulation system is located at the train's main manufacturer and is used to simulate the entire vehicle's control circuitry. The main simulation system includes a user interface, control circuit models, and test cases, enabling whole-vehicle-level simulation.

[0061] In this embodiment, the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through this interface. This communication connection allows the main simulation system to remotely control the subsystem simulation system by converting the subsystem's communication protocols and hardware signals into simulation data, enabling remote access and sending interactive interface configuration files for display in the main simulation system. It is understood that multiple subsystem simulation systems can exist, provided by a single subsystem vendor or by multiple subsystem vendors.

[0062] Figure 2 A flowchart illustrating a train control function verification method provided in this application embodiment. The method is applied to a subsystem simulation system; such as... Figure 2 As shown, the method includes:

[0063] S10: Control commands for monitoring the main simulation system.

[0064] In practice, after the subsystem simulation system establishes a communication connection with the main simulation system, it monitors the control commands of the main simulation system. It is understood that the main simulation system's control commands can include commands to start the simulation, commands to end the simulation, and commands to disconnect the communication connection; the subsystem simulation system can respond to all of these commands.

[0065] S11: When a control command to start the simulation is received, the subsystem simulation data is collected.

[0066] When the subsystem simulation system receives a control command indicating that the simulation has started, it begins the simulation and simultaneously collects its own subsystem simulation data. It is understood that the subsystem simulation data includes the configuration parameters and corresponding variable values ​​of each parameter used by the subsystem simulation system during the simulation of the subsystem. This embodiment does not limit the specific content of the subsystem simulation data; it depends on the specific implementation.

[0067] It should be noted that in specific implementations, the acquisition of subsystem simulation data can be done in real time or according to a preset period. This embodiment does not impose any restrictions and depends on the specific implementation situation.

[0068] S12: Generate a combined data package containing subsystem simulation data based on the subsystem input / output configuration.

[0069] Furthermore, the subsystem input / output configuration of the subsystem simulation system is obtained. The subsystem input / output configuration represents the relevant configurations for communication between the subsystem simulation system and the main simulation system, including at least the configuration of the communication protocol and the communication interface. Based on the subsystem input / output configuration, a combined data packet containing the subsystem simulation data is generated, which can be sent from the subsystem simulation system to the main simulation system.

[0070] S13: Send the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable based on the data in the combined data packet; return to step S11.

[0071] Finally, the combined data packet is sent to the main simulation system. It is understood that the combined data packet contains subsystem simulation data from the subsystem simulation system. The main simulation system can update the current values ​​of the corresponding variables in the main simulation system based on the subsystem simulation data, thereby completing the simulation. Then, return to step S11 to collect subsystem simulation data again.

[0072] Furthermore, both the subsystem simulation system and the main simulation system have interactive interfaces. These interfaces display various system configurations and variable values, and allow for editing and modification of these configurations and variable values. Correspondingly, when the main simulation system acquires subsystem simulation data, it can display the data through the interactive interface.

[0073] In this embodiment, the train control function verification method is applied to a subsystem simulation system. The subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface. Specifically, it monitors the control commands of the main simulation system; when a control command indicating the start of simulation is received, it collects subsystem simulation data; it generates a combined data packet containing subsystem simulation data according to the subsystem input / output configuration; it sends the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable according to the data in the combined data packet; and it returns to the step of collecting subsystem simulation data. Therefore, the above scheme, by setting up a communication interface in the subsystem simulation system, realizes remote access of the subsystem simulation system to the main simulation system, which serves as the simulation platform for the train's overall control function. Based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, realizing remote collaborative simulation testing with the train's overall control function simulation platform. This improves the efficiency of the integrated testing and verification of the overall vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0074] In order to receive simulation data from the main simulation system and modify variable values ​​in the subsystem simulation system, based on the above embodiments, as a preferred embodiment, when a control command indicating the start of simulation is received, the following is also included:

[0075] S14: Receive simulation data sent by the main simulation system.

[0076] S15: Analyze simulation data based on the subsystem input / output configuration.

[0077] S16: Update the corresponding variable values ​​based on the parsed simulation data, and return to step S14.

[0078] Among them, the variable values ​​are the parameter variable values ​​of the subsystem simulation system during the simulation process.

[0079] In practice, when the subsystem simulation system receives a control command indicating the start of simulation, the subsystem simulation system initiates its own simulation process, and the main simulation system also initiates its own simulation process. The main simulation system receives a combined data packet containing the subsystem simulation data sent by the subsystem simulation system, and simultaneously sends data to the subsystem simulation system.

[0080] Specifically, the subsystem simulation system receives simulation data sent by the main simulation system. This can be understood as the simulation data sent by the main simulation system representing new variable values ​​generated during the simulation process to update relevant variables in the subsystem simulation system. Upon receiving the simulation data, the subsystem simulation system parses it according to its input / output configuration; it then updates the corresponding variable values ​​based on the parsed simulation data, thus enabling the main simulation system to control the subsystem simulation system. Finally, it returns to the step of receiving simulation data from the main simulation system, thereby continuously updating the variable values ​​of the subsystem simulation system.

[0081] In this embodiment, when a control command representing the start of simulation is received, simulation data sent by the main simulation system is received; the simulation data is parsed according to the subsystem input / output configuration; and the corresponding variable values ​​are updated according to the parsed simulation data, thereby realizing the control and variable update of the subsystem simulation system by the main simulation system.

[0082] To ensure that the main simulation system is aware of the subsystem simulation system's configuration and interface display before starting the simulation, as a preferred embodiment, before monitoring the main simulation system's control commands and after establishing a communication connection with the main simulation system, the following steps are also included:

[0083] S17: Send the subsystem basic data configuration and subsystem interactive interface files to the main simulation system.

[0084] Specifically, after establishing a communication connection with the main simulation system, the subsystem simulation system sends the subsystem basic data configuration and the subsystem interactive interface file to the main simulation system. This allows the main simulation system to obtain the various data configurations of the current subsystem simulation system and display the various data configurations of the subsystem according to the subsystem interactive interface file, thereby realizing full data display of the main simulation system during the vehicle control function test.

[0085] Furthermore, to allow users to edit the interactive interface of the subsystem simulation system, and to ensure that the main simulation system is aware of the edited interactive interface, as a preferred embodiment, before monitoring the control commands of the main simulation system, and after sending the subsystem basic data configuration and the subsystem interactive interface file to the main simulation system, the following steps are also included:

[0086] S18: After the user edits the subsystem interface, a new subsystem interface file is generated;

[0087] S19: Send the new subsystem interactive interface file to the main simulation system;

[0088] The subsystem's interactive interface file contains page properties and control properties.

[0089] In practice, users can edit the interactive interface of the subsystem simulation system at any time. After editing, a new subsystem interactive interface file is generated. If a communication connection has been established with the main simulation system, the new subsystem interactive interface file is sent to the main simulation system; otherwise, it is sent after the communication connection is established. In this embodiment, the format of the subsystem interactive interface file is not limited and depends on the specific implementation. Preferably, Extensible Markup Language (XML) format can be selected.

[0090] It is important to note that the subsystem interface file contains page properties and control properties. Page properties include information on page size and style; display control properties include control position, size, style, type, and bound variables. Control types primarily include control controls, display controls, icon controls, and container controls. Control controls include, but are not limited to, buttons, switches, and circuit breakers, each bound to a single variable; display controls include, but are not limited to, indicator lights, progress bars, dashboards, dials, and images, each bound to a single variable; chart controls include, but are not limited to, line charts, bar charts, pie charts, and list boxes, each potentially bound to multiple variables; container controls include, but are not limited to, label boxes, frames, and groups, with no variables bound to container components. In summary, the page properties and control properties in the subsystem interface file enable the subsystem simulation system and the main simulation system to display various parameter variables of the subsystem simulation system.

[0091] Furthermore, during the vehicle control function test simulation between the subsystem simulation system and the main simulation system, the user can control the entire simulation process. In specific implementation, this also includes:

[0092] S20: Monitors the user's command to close the emulation;

[0093] S21: When a simulation shutdown command is received, stop collecting simulation data from the subsystem.

[0094] In practical implementation, users can control the simulation process at any time while the subsystem simulation system receives and sends simulation data. It's important to note that the simulation process will continue running after startup until a user's command to shut it down is received. Therefore, in practical implementation, the system monitors for user commands to shut down the simulation; upon receiving such a command, it stops collecting subsystem simulation data, thus ending the current simulation process.

[0095] Figure 3 A flowchart illustrating another train control function verification method provided in this application embodiment. The method is applied to the main simulation system; such as... Figure 3 As shown, the method includes:

[0096] S30: Send the control command to the subsystem simulation system to start the simulation.

[0097] S31: Receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system.

[0098] S32: Parse the combined data packet according to the subsystem input / output configuration to obtain the data in the combined data packet.

[0099] S33: Update the current value of the corresponding variable based on the data in the combined data packet; return to step S31.

[0100] In practice, the main simulation system first establishes a communication connection with the subsystem simulation system through a communication interface set on the subsystem simulation system. When the vehicle control function test begins, a control command indicating the start of the simulation is sent to the subsystem simulation system. At this time, the subsystem simulation system will collect subsystem simulation data and further send a combined data packet containing the subsystem simulation data to the main simulation system. The main simulation system receives the combined data packet containing the subsystem simulation data sent by the subsystem simulation system, and further parses the combined data packet according to the subsystem input / output configuration to obtain the data in the combined data packet. Finally, the main simulation system updates the current value of the corresponding variable according to the data in the combined data packet; it then returns to the step of receiving the combined data packet containing the subsystem simulation data sent by the subsystem simulation system to re-receive the subsystem simulation data. In this way, remote collaborative simulation testing of the entire vehicle is realized.

[0101] Since the variable values ​​of the subsystem simulation system need to be modified during the simulation process, the simulation data itself also needs to be sent to the subsystem simulation system during the simulation process.

[0102] S34: Collect simulation data.

[0103] S35: Generate a combined data package containing simulation data based on the subsystem input / output configuration.

[0104] S36: Send the combined data packet to the subsystem simulation system and return to step S34.

[0105] Furthermore, in order to ensure that the main simulation system is aware of the configuration and interface display of the subsystem simulation system before starting the simulation, the following steps are also included after establishing a communication connection with the subsystem simulation system and before sending the control command indicating the start of the simulation to the subsystem simulation system:

[0106] S37: Receive the basic data configuration and interactive interface files of the subsystem sent by the subsystem simulation system.

[0107] Furthermore, during the vehicle control function test simulation between the subsystem simulation system and the main simulation system, the user can control the entire simulation process:

[0108] S38: Monitor the user's command to close the emulation.

[0109] S39: When a simulation shutdown command is received, stop collecting simulation data.

[0110] In addition, to better understand the entire remote collaborative simulation testing process, the main simulation system also includes a simulation variable pool, through which simulation data is synchronized to the processing thread using a subscription / publishing method.

[0111] Specifically, when a user opens the interactive interface of the main simulation system, the interface configuration file of the main simulation system is loaded, interactive controls and the interface are displayed, and all control management variables are subscribed to. When the user clicks a control, the bound variable value is updated according to the internal logic of the control; when the subscribed variable value changes, the corresponding control state is updated. It should be noted that the update of the control state can be set by the user; it can be set to real-time update or to update at preset time intervals, depending on the specific implementation. For example, chart controls can use a periodic query method to update their display.

[0112] In the above embodiments, the train control function verification method has been described in detail. This application also provides embodiments of the train control function verification device.

[0113] Figure 4 This is a schematic diagram of a train control function verification device provided in an embodiment of this application. The device is applied to a subsystem simulation system; the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface; such as Figure 4 As shown, the device includes:

[0114] Monitoring module 10 is used to monitor the control commands of the main simulation system.

[0115] The acquisition module 11 is used to acquire subsystem simulation data when a control command indicating the start of simulation is received.

[0116] The generation module 12 is used to generate a combined data package containing subsystem simulation data based on the subsystem input and output configuration.

[0117] The first sending module 13 is used to send a combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable according to the data in the combined data packet; and trigger the acquisition module.

[0118] In this embodiment, the train control function verification device is applied to the subsystem simulation system, and during operation, it can implement all the steps of the train control function verification method applied to the subsystem simulation system. Specifically, it monitors the control commands of the main simulation system; when a control command indicating the start of simulation is received, it collects subsystem simulation data; it generates a combined data packet containing subsystem simulation data according to the subsystem input / output configuration; it sends the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable according to the data in the combined data packet; and it returns to the step of collecting subsystem simulation data. Therefore, the above scheme, by setting a communication interface in the subsystem simulation system, realizes remote access of the subsystem simulation system to the main simulation system, which serves as the simulation platform for the train's overall control function. Based on this, under the control of the main simulation system, it sends subsystem simulation data to the main simulation system, realizing remote collaborative simulation testing with the train's overall control function simulation platform. This improves the efficiency of the integrated testing and verification of the overall vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0119] Figure 5 This is a schematic diagram of another train control function verification device provided in an embodiment of this application. The device is applied to the main simulation system; the main simulation system establishes a communication connection with the subsystem simulation system through a communication interface set in the subsystem simulation system; such as Figure 5 As shown, the device includes:

[0120] The second sending module 14 is used to send control commands representing the start of the simulation to the subsystem simulation system.

[0121] The receiving module 15 is used to receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system.

[0122] The parsing module 16 is used to parse the combined data packet according to the subsystem input / output configuration in order to obtain the data in the combined data packet.

[0123] Update module 17 is used to update the current value of the corresponding variable based on the data in the combined data packet; trigger the receiving module.

[0124] In this embodiment, the train control function verification device is applied to the main simulation system, and during operation, it can implement all the steps of the train control function verification method applied to the main simulation system. Specifically, it sends a control command representing the start of the simulation to the subsystem simulation system; receives a combined data packet containing subsystem simulation data sent by the subsystem simulation system; parses the combined data packet according to the subsystem input / output configuration to obtain the data in the combined data packet; updates the current value of the corresponding variable according to the data in the combined data packet; and returns to the steps of receiving the combined data packet containing subsystem simulation data sent by the subsystem simulation system. Therefore, the above scheme, by setting a communication interface in the subsystem simulation system, realizes remote access of the subsystem simulation system to the main simulation system, which serves as the simulation platform for the train's overall control function. Based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, realizing remote collaborative simulation testing with the train's overall control function simulation platform. This improves the efficiency of the integrated testing and verification of the overall vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0125] Figure 6 This is a schematic diagram of a train control function verification device provided in an embodiment of this application. Figure 6 As shown, the train control function verification equipment includes:

[0126] Memory 20 is used to store computer programs.

[0127] The processor 21 is configured to execute a computer program to implement the steps of the method for verifying train control functions as described in the above embodiments.

[0128] The train control function verification device provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.

[0129] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.

[0130] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the train control function verification method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the train control function verification method.

[0131] In some embodiments, the train control function verification device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0132] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on the train control function verification equipment and may include more or fewer components than shown.

[0133] In this embodiment, the train control function verification device includes a memory and a processor. The memory stores computer programs. The processor executes the computer programs to implement the steps of the train control function verification method mentioned in the above embodiments. By setting a communication interface in the subsystem simulation system, remote access of the subsystem simulation system to the main simulation system, which serves as the train whole-vehicle control function simulation platform, is realized. Based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, achieving remote collaborative simulation testing with the train whole-vehicle control function simulation platform. This improves the efficiency of the integrated testing and verification of the whole-vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0134] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiments (which may be a method corresponding to the subsystem simulation system side, a method corresponding to the main simulation system side, or a method corresponding to both the subsystem simulation system side and the main simulation system side).

[0135] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0136] In this embodiment, a computer program is stored on a computer-readable storage medium. When the computer program is executed by a processor, it implements the steps described in the above method embodiments (which can be the method corresponding to the subsystem simulation system side, the method corresponding to the main simulation system side, or the method corresponding to both the subsystem simulation system side and the main simulation system side). By setting a communication interface in the subsystem simulation system, remote access of the subsystem simulation system to the main simulation system, which serves as the simulation platform for the train's overall control function, is realized. Based on this, under the control of the main simulation system, the subsystem simulation data is sent to the main simulation system, realizing remote collaborative simulation testing with the train's overall control function simulation platform. This improves the efficiency of the integrated testing and verification of the overall vehicle control function, and enhances the completeness and effectiveness of the test, while also saving costs compared to traditional semi-physical testing.

[0137] The foregoing provides a detailed description of a train control function verification method, apparatus, device, and medium provided in this application. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0138] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for verifying train control functions, characterized in that, The method is applied to a subsystem simulation system; the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface; the method includes: Monitor the control commands of the main simulation system; When the control command indicating the start of simulation is received, the subsystem simulation data is collected; Generate a combined data package containing the simulation data of the subsystem based on the subsystem input / output configuration; The steps include: sending the combined data packet to the main simulation system so that the main simulation system can update the current value of the corresponding variable based on the data in the combined data packet; and returning to the simulation data acquisition subsystem. Before monitoring the control commands of the main simulation system, and after establishing a communication connection with the main simulation system, the process also includes: Send the basic data configuration and interactive interface files of the subsystem to the main simulation system; After the user edits the subsystem interface, a new subsystem interface file is generated. Send the new subsystem interface file to the main simulation system; The subsystem's interactive interface file contains page attributes and control attributes.

2. The train control function verification method according to claim 1, characterized in that, When the control command representing the start of the simulation is received, the following is also included: Receive simulation data sent by the main simulation system; The simulation data is parsed based on the input / output configuration of the subsystem. Update the corresponding variable values ​​based on the parsed simulation data, and return to the step of receiving the simulation data sent by the main simulation system; Wherein, the variable value is the parameter variable value of the subsystem simulation system during the simulation process.

3. The train control function verification method according to claim 1 or 2, characterized in that, Also includes: Monitor the user's command to close the simulation; When the simulation shutdown command is received, the collection of simulation data for the subsystem is stopped.

4. A method for verifying train control functions, characterized in that, Applied to the main simulation system; The main simulation system establishes a communication connection with the subsystem simulation system through a communication interface set in the subsystem simulation system; the method includes: The process involves sending a control command to initiate the simulation to the subsystem simulation system. Before monitoring the control command from the main simulation system and after establishing a communication connection with the main simulation system, the subsystem simulation system further includes: sending basic subsystem data configuration and a subsystem interactive interface file to the main simulation system; generating a new subsystem interactive interface file after the user edits the subsystem interactive interface; and sending the new subsystem interactive interface file to the main simulation system. The subsystem interactive interface file includes page attributes and control attributes. Receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system; The combined data packet is parsed according to the subsystem input / output configuration to obtain the data in the combined data packet; Update the current value of the corresponding variable according to the data in the combined data packet; return to the step of receiving the combined data packet containing the subsystem simulation data sent by the subsystem simulation system.

5. A train control function verification device, characterized in that, The device is applied to a subsystem simulation system; the subsystem simulation system is equipped with a communication interface and establishes a communication connection with the main simulation system through the communication interface; the device includes: The monitoring module is used to monitor the control commands of the main simulation system; The acquisition module is used to acquire subsystem simulation data when it receives the control command indicating the start of the simulation; The generation module is used to generate a combined data package containing the simulation data of the subsystem based on the subsystem input and output configuration; The first sending module is used to send the combined data packet to the main simulation system, so that the main simulation system can update the current value of the corresponding variable according to the data in the combined data packet; and trigger the acquisition module; The process includes, before monitoring the control commands of the main simulation system and after establishing a communication connection with the main simulation system, the following: Send the basic data configuration and interactive interface files of the subsystem to the main simulation system; After the user edits the subsystem interface, a new subsystem interface file is generated. Send the new subsystem interface file to the main simulation system; The subsystem's interactive interface file contains page attributes and control attributes.

6. A train control function verification device, characterized in that, Applied to the main simulation system; The main simulation system establishes a communication connection with the subsystem simulation system through a communication interface located in the subsystem simulation system; the device includes: The second sending module is used to send a control command representing the start of the simulation to the subsystem simulation system; wherein, before monitoring the control command of the main simulation system and after establishing a communication connection with the main simulation system, the subsystem simulation system further includes: sending basic data configuration of the subsystem and a subsystem interactive interface file to the main simulation system; generating a new subsystem interactive interface file after the user edits the subsystem interactive interface; and sending the new subsystem interactive interface file to the main simulation system; wherein, the subsystem interactive interface file contains page attributes and control attributes; The receiving module is used to receive a combined data packet containing subsystem simulation data sent by the subsystem simulation system; The parsing module is used to parse the combined data packet according to the subsystem input / output configuration to obtain the data in the combined data packet; The update module is used to update the current value of the corresponding variable based on the data in the combined data packet; and to trigger the receiving module.

7. A train control function verification device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the train control function verification method as described in any one of claims 1 to 4 when executing the computer program.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the train control function verification method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Rail transit simulation system and method based on distributed architecture

    CN111931284A