Multi-speed simulation operation control method for rail transit signal system
By adjusting the system call execution cycle interval, multi-speed simulation operation control is realized, and the operation start time is allowed to be set manually, which solves the problems of low efficiency and limited flexibility of the simulation training system in the existing technology, and improves the rail transit signal system. Efficiency and flexibility in simulation training.
Patent Information
- Application Number
- CN202111157292.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2041-09-30
AI Technical Summary
The existing rail transit signal system simulation training system does not have the functions of multi-speed simulation operation and specifying the starting time of the system operation, resulting in inefficient and limited flexibility in simulation training.
By adjusting the system call execution cycle interval, multi-speed simulation operation control is achieved, and the system operation start time is allowed to be manually set, ensuring the flexibility and efficiency of the simulation training system.
It improves the efficiency and flexibility of rail transit signaling system simulation training, can quickly complete simulation running tasks, and meets the simulation needs of different scenarios.
Smart Images

Figure CN113806962B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a rail transit signal system, and in particular to a multi-speed simulation operation control method for a rail transit signal system. Background Art
[0002] Signal system simulation training is a very important task for rail transit operation managers and system design and development personnel.
[0003] There are five main business application scenarios for simulation training: (1) After completing the development of new functional requirements, design and development personnel use the simulation training system to test and verify the results. (2) Operation management personnel use the simulation training system to conduct on-the-job training for new dispatching employees. (3) Operation management personnel use the simulation training system to conduct qualification assessment for on-the-job dispatching personnel. (4) Operation management personnel use the simulation training system to review real scenarios in on-site operations, thereby conducting problem analysis and discussion on the reviewed scenarios, or dispatching personnel conduct operational handling drills on the reviewed scenarios. (5) Operation management personnel pre-verify and evaluate the system upgrade plan in the simulation training system, and consider on-site upgrades after the verification and evaluation pass.
[0004] When using simulation training systems, operations managers and system design and development personnel often encounter the following two serious problems:
[0005] (1) The simulation training system does not have the capability of multi-speed simulation operation. For example, due to changes in transportation demand, the operation management personnel adjusted and modified the train operation plan. Before the plan is officially put into use, the feasibility of the new plan needs to be verified. In an environment where the simulation training system does not have the capability of multi-speed simulation operation, the verification needs to wait for the entire time range of the new plan to be completed before the operation effect can be obtained, which is extremely time-consuming and inefficient.
[0006] (2) The simulation training system does not have the function of specifying the system operation start time. For example, when the operation management personnel need to repeatedly perform operation drills or discuss and analyze a special scenario at a specific time, since the simulation training system does not have the function of specifying the operation time, the operation management personnel need to wait until the specific time to simulate the special scenario, which seriously limits its use.
[0007] On the basis of the existing rail transit signal system simulation training system, how to realize multi-speed simulation operation control and specify the start time of the simulation training system operation to make the simulation training system more efficient, flexible and versatile is a technical problem that needs to be solved urgently in the current rail transit signal system simulation training. Summary of the invention
[0008] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a multi-speed simulation operation control method for a rail transit signal system with high execution efficiency and flexibility.
[0009] The purpose of the present invention can be achieved by the following technical solutions:
[0010] According to a first aspect of the present invention, a multi-speed simulation operation control method for a rail transit signal system is provided, the method comprising the following steps:
[0011] Step 1: The system is initialized and the system start time is set, and then step 2 is executed;
[0012] Step 2: The system determines whether the conditions for continuing execution are met. If so, step 3 is executed; if the system no longer meets the conditions for continuing execution, the system exits and the process ends;
[0013] Step 3: Get the simulation speed requirement. The system defaults to single-speed normal mode. During the initial system startup and system operation, you can manually set the speed to change. Then proceed to step 4.
[0014] Step 4: According to the simulation speed requirement, on the basis of the normal system operation cycle interval, adjust the system real-time call execution cycle interval to match the external input speed requirement, and then execute step 5;
[0015] Step 5: Based on the relative elapsed time of the system operation, determine whether it is necessary to call and execute the next cycle. If it is necessary to enter the next cycle, execute step 6; otherwise, execute step 10;
[0016] Step 6: The system calls the ATP / ATO module to perform on-board logic processing, and then executes step 7;
[0017] Step 7: The system calls the CI module to perform interlocking logic processing, and then executes step 8;
[0018] Step 8: The system calls the ATS module to perform ATS logic processing, and then executes step 9;
[0019] Step 9: The system independently manages the internal clock according to the number of running cycles. Based on the system running start time, the sum of the time consumed by each running cycle since the system was started is accumulated to obtain the current internal clock time value of the system, and the time is synchronized to each module of the system in real time, and then returns to step 2;
[0020] Step 10: The system performs human-computer interaction response processing and then returns to step 2.
[0021] As a preferred technical solution, the initialization in step 1 includes loading simulation environment data, setting various types of equipment and the initial state of the train. The system operation start time uses the operating system time by default, and allows manual setting of the start time according to the needs of special simulation scenario tasks.
[0022] As a preferred technical solution, the operating speed setting range in step 3 is an integer between 1 and 20.
[0023] As a preferred technical solution, the relationship among the system real-time call execution cycle interval, the system normal operation cycle interval, and the simulation speed in step 4 is shown in the following formula:
[0024]
[0025] Where: t cycle_period is the system real-time call execution cycle interval, t SIMU_CYCLE_STEP is the normal operation cycle interval of the system, v simu_speed The system simulation runs at multiple times the speed.
[0026] As a preferred technical solution, the on-board logic processing in step 6 specifically includes mobile authorization calculation, signal state variable processing, train operation and positioning, and processing of the ATP / ATO module and CI module interface, and the ATP / ATO module and ATS module interface.
[0027] As a preferred technical solution, the interlocking logic processing in step 7 specifically includes realizing the calculation and processing of the signal device status, and processing the interface between the CI module and the ATP / ATO module, and the interface between the CI module and the ATS module.
[0028] As a preferred technical solution, the ATS logic processing in step 8 specifically includes realizing signal station and train operation status display processing, operation plan creation, train scheduling and adjustment, automatic route handling, and processing the interface between the ATS module and the ATP / ATO module, and the interface between the ATS module and the CI module.
[0029] As a preferred technical solution, the system internal clock time calculation formula in step 9 is specifically:
[0030] t system_time =t simu_start_time +n simu_loop ×t SIMU_CYCLE_STEP
[0031] Where: t system_time is the system internal clock time value, t simu_start_time is the start time of the system operation, n simu_loop is the number of cycles the system has run since startup.SIMU_CYCLE_STEP It is the normal operation cycle interval of the system.
[0032] According to a second aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the method described above is implemented when the processor executes the program.
[0033] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements the method described when executed by a processor.
[0034] Compared with the prior art, the present invention has the following advantages:
[0035] 1. The present invention proposes and designs for the first time a method for realizing multi-speed simulation operation control by adjusting the execution cycle time of a system call, thereby overcoming the defect of the prior art that only single-speed simulation operation can be performed.
[0036] 2. The multi-speed simulation operation control method designed by the present invention can quickly complete the simulation operation task of the rail transit signal system, greatly improving the operation efficiency.
[0037] 3. The multi-speed simulation operation control method designed by the present invention enables the signal simulation system to independently manage the internal clock according to the number of operation cycles, and can set the operation start time value of the signal simulation system as needed to complete the simulation task of a specific scenario. The operation of the signal simulation system is no longer subject to the time limit of the operating system, thereby enhancing the flexibility of system use. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a specific flow chart of the method of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0040] like Figure 1 As shown, a multi-speed simulation operation control method for a rail transit signal system comprises the following steps:
[0041] Step 1: The system performs operation initialization, which mainly includes loading simulation environment data, setting various equipment and initial status of trains, etc. For example, loading basic data and parameters of specific lines, setting initial status of equipment such as tracks, switches, and signals, setting initial status of train positions, train numbers, working conditions, driving modes, etc.; at the same time, the system operation start time is set. In the absence of manual intervention, the current operating system time is obtained by default as the system operation start time. Manual setting of the start time is allowed according to the needs of special simulation scenario tasks. For example, if you need to simulate the morning rush hour, you can manually set the system operation start time to 8:00 in the morning. The system loads line data, sets equipment status, and deploys the corresponding number of trains according to the operation plan at 8:00, and then executes step 2.
[0042] Step 2: The system determines whether the conditions for continuing execution are met, and determines whether the conditions for continuing execution are met by judging the value of the variable SHUT_DOWN. When the system logic detects an abnormality or when a person actively exits the system, SHUT_DOWN will be assigned a corresponding value. If the conditions for continuing execution are met, step 3 will be executed; if the system no longer meets the conditions for continuing execution, such as: manually clicking the exit button and assigning a value of 1 to the variable SHUT_DOWN, the system will exit and the process ends.
[0043] Step 3: Get the simulation speed requirement. Without manual intervention, the system defaults to single-speed normal mode, and the simulation speed is equal to 1. During the initial system startup and system operation, manual setting of the running speed is supported. For example, if the user expects to speed up the simulation operation, the simulation multiple is set to 2, and then execute step 4.
[0044] Step 4: According to the simulation speed requirements, on the basis of the system normal operation cycle interval, adjust the system real-time call execution cycle interval (the relationship between the system real-time call execution cycle interval, the system normal operation cycle interval, and the simulation speed is shown in the following formula) to match the external input speed requirements, and then execute step 5.
[0045] The relationship between the system real-time call execution cycle interval, the system normal operation cycle interval, and the simulation speed is shown in the following formula:
[0046]
[0047] Where: t cycle_period is the system real-time call execution cycle interval, t SIMU_CYCLE_STEP is the normal operation cycle interval of the system (a fixed value), v simu_speed The system simulation speed is v. The system defaults to single-speed normal mode. simu_speed=1, supports manual setting of changing the running speed during the initial system startup and system operation.
[0048] Assume that the system operates normally and the cycle interval is t SIMU_CYCLE_STEP is 100, the simulation runs at multiple v simu_speed If it is 2, the system calls the execution cycle interval in real time System real-time call execution cycle interval time t cycle_period Shorten to the normal system operation cycle interval time t SIMU_CYCLE_STEP 1 / 2 of the original, achieving accelerated operation.
[0049] Step 5: Based on the relative elapsed time of the system operation, compare the relative elapsed time with the system real-time call execution cycle interval t cycle_period Compare and determine whether the next cycle call execution is needed. If the "relative elapsed time" ≥ t cycle_period , it is necessary to enter the next cycle operation, then execute step 6; otherwise, execute step 10.
[0050] Step 6: The system calls the ATP / ATO module to perform on-board logic processing, including mobile authorization calculation, signal state variable processing, train operation and positioning, and processing of the ATP / ATO module and CI module interface, and the ATS module interface, etc., and then executes step 7.
[0051] Step 7: The system calls the CI module to execute interlocking logic processing, which mainly realizes the calculation and processing of the signal equipment status, and processes the interface between the CI module and the ATP / ATO module, and the ATS module, and then executes step 8.
[0052] Step 8: The system calls the ATS module to perform ATS logic processing, which mainly realizes the display processing of signal station and train operation status, operation plan creation, train scheduling and adjustment, automatic route processing, etc., as well as processing the interface between the ATS module and the ATP / ATO module, and the CI module, and then executes step 9.
[0053] Step 9: The system independently manages the internal clock according to the number of running cycles. Based on the system operation start time, the sum of the time consumed by each running cycle since the system was started is accumulated (the system internal clock time calculation formula is as follows), and the current internal time value of the system is obtained. The time is synchronized to each module of the system in real time; then execute step 2.
[0054] The system internal clock time calculation formula is as follows:
[0055] t system_time =t simu_start_time +n simu_loop ×t SIMU_CYCLE_STEP
[0056] Where: t system_time is the system internal clock time value; t simu_start_time The start time of the system operation. The default is the operating system time when the system is started. The start time can be manually set according to the needs of special simulation scenario tasks. simu_loop The number of cycles that the system has run since it was started. When the system is started, n is initialized. simu_loop is 0, and then the system runs one cycle, n simu_loop Add 1; t SIMU_CYCLE_STEP It is the normal operation cycle interval of the system (fixed value).
[0057] Step 10: The system executes human-computer interaction response processing, which mainly includes manually setting simulation speed, manual control commands of signal equipment and trains, manual creation and editing and adjustment of operation plans, etc., and then executes step 2.
[0058] The electronic device of the present invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0059] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, 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 cards, modems, wireless communication 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 telecommunication networks.
[0060] The processing unit performs the various methods and processes described above, such as steps 1 to 10 of the method of the present invention. For example, in some embodiments, steps 1 to 10 of the method of the present invention may be implemented as a computer software program, which is 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 a ROM and / or a communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more of steps 1 to 10 of the method of the present invention described above may be executed. Alternatively, in other embodiments, the CPU may be configured to execute steps 1 to 10 of the method of the present invention by any other appropriate means (e.g., by means of firmware).
[0061] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip systems (SOCs), complex programmable logic devices (CPLDs), and the like.
[0062] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0063] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0064] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A multi-speed simulation operation control method for a rail transit signal system, characterized in that: The method comprises the following steps: Step 1: The system is initialized and the system start time is set, and then step 2 is executed; Step 2: The system determines whether the conditions for continuing execution are met. If so, step 3 is executed; if the system no longer meets the conditions for continuing execution, the system exits and the process ends; Step 3: Get the simulation speed requirement. The system defaults to single-speed normal mode. During the initial system startup and system operation, you can manually set the speed to change. Then proceed to step 4. Step 4: According to the simulation speed requirement, on the basis of the normal system operation cycle interval, adjust the system real-time call execution cycle interval to match the external input speed requirement, and then execute step 5; Step 5: Based on the relative elapsed time of the system operation, determine whether it is necessary to call and execute the next cycle. If it is necessary to enter the next cycle, execute step 6; otherwise, execute step 10; Step 6: The system calls the ATP / ATO module to perform on-board logic processing, and then executes step 7; Step 7: The system calls the CI module to perform interlocking logic processing, and then executes step 8; Step 8: The system calls the ATS module to perform ATS logic processing, and then executes step 9; Step 9: The system independently manages the internal clock according to the number of running cycles. Based on the system running start time, the sum of the time consumed by each running cycle since the system was started is accumulated to obtain the current internal clock time value of the system, and the time is synchronized to each module of the system in real time, and then returns to step 2; Step 10: The system performs human-computer interaction response processing and then returns to step 2; The relationship among the system real-time call execution cycle interval, the system normal operation cycle interval, and the simulation speed in step 4 is shown in the following formula: Where: t cycle_period is the system real-time call execution cycle interval, t SIMU_CYCLE_STEP is the normal operation cycle interval of the system, v simu_speed The system simulation runs at multiple times the speed.
2. A multi-speed simulation operation control method for a rail transit signal system according to claim 1, characterized in that: The initialization in step 1 includes loading simulation environment data, setting various types of equipment and the initial state of the train. The system operation start time uses the operating system time by default, and allows manual setting of the start time according to the needs of special simulation scenario tasks.
3. The multi-speed simulation operation control method for a rail transit signal system according to claim 1, characterized in that: The operating speed setting range in step 3 is an integer between 1 and 20.
4. The multi-speed simulation operation control method for a rail transit signal system according to claim 1, characterized in that: The system internal clock time calculation formula in step 9 is specifically: t system_time =t simu_start_time +n simu_loop ×t SIMU_CYCLE_STEP Where: t system_time is the system internal clock time value, t simu_start_time is the start time of the system operation, n simu_loop is the number of cycles the system has run since startup. SIMU_CYCLE_STEP It is the normal operation cycle interval of the system.
5. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Simulation control method and device based on Simulink
CN108287482A