Train idling slip simulation data generation method and device and storage medium
By setting the true value function and slip rate of the train deceleration process, the segmented simulation speed function is generated, which solves the problem of difficulty in generating extreme situation simulation data in the existing technology, and realizes flexible simulation testing and research on idle and slip of trains. .
Patent Information
- Application Number
- CN202411042869.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art is difficult to generate simulation data of various extreme situations for testing and research of train idle and slip models, making it difficult to verify the processing effect of ATP software on extreme scenarios.
By setting the true value function of the train deceleration process, setting the slip rate change point and slip rate, calculating the simulation speed, generating the segmented simulation speed function, generating the speed value of each moment in chronological order, forming simulation data for on-board programs use.
It realizes simulation data generation for many extreme cases, provides convenient testing and research conditions, simplifies simulation testing of slippage and idleness, avoids hardware and environmental limitations, and improves testing flexibility and scalability.
Smart Images

Figure CN119066840A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a train signal control system, and in particular to a method, a device and a storage medium for generating train idling slip simulation data. Background Art
[0002] Speed measurement and positioning are the core functions of the automatic train protection system (ATP) and the basis of safety protection. Speed sensors or accelerometers are usually used to measure the displacement of the train to obtain the train position information. However, when the train slips or idles due to the reduction of the adhesion coefficient of the track contact surface, the pulse information obtained by the speed sensor can no longer truly reflect the train speed, so other speed measurement information such as accelerometers are needed to supplement the train displacement information. On-site testing can only simulate general and limited scenarios, while the extreme and diverse idling and slipping scenarios that may actually occur are difficult to simulate. In this case, it is difficult to test and verify how well the ATP software handles idling and slipping. Simulation testing is a simple and fast way to verify the effects of slipping and idling.
[0003] After searching, Chinese patent publication number CN118226087A discloses a speed transmission simulation speed measurement system, which specifically discloses S1 setting test parameters: in the user interface, the simulation device is set for the four speed sensors to be tested at the same time; S2 preparing test samples: installing the four speed sensors to be tested on the sensor test bench respectively, and connecting the sensor signal interface with the speed input end of the vehicle system; S3 starting the test bench: turning on the power switch of the railway speed sensor simulation test platform to start the movement of the simulation device. The advantage is that the test bench of the present invention can test four speed sensors at the same time, test the two speed sensors at the main shaft and spare shaft ends of the train respectively, and can measure the sensors of the main shaft and spare shaft at the other control end of the train. The test bench simulates the slipping process and uses the sensor simulator to simulate the output speed signal change of the speed sensor when the actual train slips, so as to reflect the slipping situation. However, the existing patent does not involve the generation of slipping simulation data, so how to generate multiple extreme situation simulation data for use in slipping and idling models becomes a technical problem that needs to be solved. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a method, device and storage medium for generating train idling and slipping simulation data, which can generate a variety of extreme situation simulation data for use in slipping and idling models, and provide great convenience for slipping and idling testing and research.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] According to a first aspect of the present invention, a method for generating train idling slip simulation data is provided, the method comprising the following steps:
[0007] Step S1, setting the truth function of the train deceleration process;
[0008] Step S2, setting the slip rate change points t1 to t2 from the beginning of the slip to the end of the slip n ;
[0009] Step S3, setting t1~t n The slip rate of each point between λx, where 1 <x<n;
[0010] Step S4, calculate t1~t according to slip rate λx and v(t) n The simulation speed v of each point x (t);
[0011] Step S5, calculate t1~t n Each simulation speed function v w (t);
[0012] Step S6, before t1 and t n Then use the v(t) formula to calculate the time from t1 to t n Use piecewise function v between w (t) Generate the velocity value v at each moment in time sequence t .
[0013] As a preferred technical solution, the truth function of the train deceleration process in step S1 is specifically:
[0014] v(t)=ab·t, where v(t) represents the actual speed of the train at time t, a represents the starting speed of the train, and b represents the deceleration of the train.
[0015] As a preferred technical solution, in step S2, n>=3.
[0016] As a preferred technical solution, the slip rate in step S3 is calculated as follows:
[0017] v(t) is the actual speed of the train at time t, v s (t) represents the speed measured by the train sensor at time t.
[0018] As a preferred technical solution, the simulation speed v in step S4 x (t) is calculated as follows:
[0019] v x (t) = v (t) * (1-λx) = (ab·t) * (1-λx), forming the coordinate (tx ,v x (t)), t1, t n Substituting into v(t) we get (t1,ab·t1), (t n ,ab·t n );
[0020] Where v(t) is the actual speed of the train at time t, a represents the starting speed of the train, and b represents the deceleration of the train.
[0021] As a preferred technical solution, each simulation speed function v in step S5 w (t) is calculated as follows:
[0022] According to the coordinates (t x ,v x (t)) and (t1,ab·t1), (t n ,ab·t n ) Calculate t1~t n Each simulation speed function v w (t) = v y +k y ·(tt y ), y∈[1,n-1];
[0023] where v y Indicates the starting speed of the segment, t y Indicates the start time of this segment, k y Indicates the slope of this segment.
[0024] As a preferred technical solution, the k y The specific calculation is (v y+1 -v y ) / (t y+1 -t y );.
[0025] As a preferred technical solution, the method will v t Convert to the input format of the vehicle program for use by the vehicle program.
[0026] 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.
[0027] 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 above when executed by a processor.
[0028] Compared with the prior art, the present invention has the following advantages:
[0029] 1) The present invention can simulate extreme scenarios that are impossible or difficult to test on-site according to different input parameters;
[0030] 2) The present invention only involves software processing, without being restricted by hardware, site, environment, etc., and can simply and quickly view the simulation effect;
[0031] 3) The solution of the present invention is flexible in processing, can be modified according to needs, and is convenient for expansion and maintenance. Description of the Drawings
[0032] Figure 1 is the time-speed relationship diagram of the present invention;
[0033] Figure 2 is the specific flowchart of the method of the present invention. Detailed Embodiment
[0034] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0035] As Figure 2 shown, the main process method of the present invention is introduced, including the following steps:
[0036] Step S1: Set the true value function of the train deceleration process v(t) = a - b·t, where v(t) represents the true speed of the train at time t, a represents the starting speed of the train, and b represents the deceleration of the train. It is the blue straight line part in Figure 1 ;
[0037] Step S2: Set the slip rate change points t1 to t n , n >= 3. As Figure 1 shown, t1 to t5 in
[0038] Step S3: Set the slip rate λx at each specific point between t1 and t n , 1 < x < n. The slip rate formula is v(t) is the true speed of the train at time t, and v s (t) represents the measured speed value of the train sensor at time t. As Figure 1 shown, λ2 can be set to 0.1, λ3 to 0.15, and λ4 to 0.11 in
[0039] Step S4: Calculate the simulation speed v n at each point between t1 and t x(t) = v (t) * (1-λx) = (ab·t) * (1-λx), forming the coordinate (t x ,v x (t)), t1, t n Substituting into v(t) we can get (t1,ab·t1), (t n ,ab·t n );
[0040] Step S5: According to the coordinates (t x ,v x (t)) and (t1,ab·t1), (t n ,ab·t n ) Calculate t1~t n Each simulation speed function v w (t) = v y +k y ·(tt y ), t∈[1,n-1]. y Indicates the starting speed of this segment. y Indicates the start time of this segment. y Represents the slope of this section, which is calculated as (v y91 -v y ) / (t y+1 -t y );
[0041] Step S6: before t1 and t n Then use the v(t) formula to calculate the time from t1 to t n Use piecewise function v between w (t) Generate the velocity value v at each moment in time sequence t . Usually generated according to the vehicle program processing cycle, for example, when t = 0, v(t) = a. When t = 0.1, v(t) = ab·0.1, and the corresponding speed v is calculated in 0.1s steps, which can be used as the number of pulses per cycle of the vehicle program;
[0042] Step S7: v t Convert it into the input format of the vehicle program for use by the vehicle program, and then check the slip and idling processing effects.
[0043] The above is an introduction to the method embodiment. The following is a further explanation of the scheme of the present invention through electronic equipment and storage medium embodiments.
[0044] The 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 the operation of the device 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.
[0045] 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.
[0046] 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 can 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 can be loaded and / or installed on the device via a ROM and / or a 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 can be performed. Alternatively, in other embodiments, the CPU can be configured to perform the method of the present invention by any other appropriate means (e.g., by means of firmware).
[0047] 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0048] 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.
[0049] 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.
[0050] 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 method for generating train idling slip simulation data, characterized in that: The method comprises the following steps: Step S1, setting the truth function of the train deceleration process; Step S2, setting the slip rate change points t1 to t2 from the beginning of the slip to the end of the slip n ; Step S3, setting t1~t n The slip rate λ of each specific point between x , where 1 <x<n; Step S4, according to the slip rate λ x and v(t) to calculate t1~t n The simulation speed v of each point x (t); Step S5, calculate t1~t n Each simulation speed function v w (t); Step S6, before t1 and t n Then use the v(t) formula to calculate the time from t1 to t n Use piecewise function v between w (t) Generate the velocity value v at each moment in time sequence t .
2. The method for generating train idling slip simulation data according to claim 1, characterized in that: The truth function of the train deceleration process in step S1 is specifically: v(t)=ab·t, where v(t) represents the actual speed of the train at time t, a represents the starting speed of the train, and b represents the deceleration of the train.
3. The method for generating train idling slip simulation data according to claim 1, characterized in that: In the step S2, n>=3.
4. The method for generating train idling slip simulation data according to claim 1, characterized in that: The slip ratio in step S3 is calculated as follows: v(t) is the actual speed of the train at time t, v s (t) represents the speed measured by the train sensor at time t.
5. The method for generating train idling slip simulation data according to claim 1, characterized in that: In step S4, the simulation speed v x (t) is calculated as follows: v x (t)=v(t)*(1-λx)=(ab·t)*(1-λ x ), forming the coordinate (t x , v x (t)), t1, t n Substituting into v(t) we get (t1, ab·t1), (t n , ab·t n ); Where v(t) is the actual speed of the train at time t, a represents the starting speed of the train, and b represents the deceleration of the train.
6. The method for generating train idling slip simulation data according to claim 5, characterized in that: In step S5, each simulation speed function v w (t) is calculated as follows: According to the coordinates (t x , v x (t)) and (t1, ab·t1), (t n , ab·t n ) Calculate t1~t n Each simulation speed function v w (t) = v y +k y ·(tt y ), y∈[1,n-1]; where v y Indicates the starting speed of the segment, t y Indicates the start time of this segment, k y Indicates the slope of this segment.
7. The method for generating train idling slip simulation data according to claim 6, characterized in that: The k y The specific calculation is (v y+1 -v y ) / (t y+1 -t y ).
8. The method for generating train idling slip simulation data according to claim 1, characterized in that: This method will v t Convert to the input format of the vehicle program for use by the vehicle program.
9. 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 8 is implemented.
10. 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 8 is implemented.
Citation Information
Patent Citations
Speed transmission simulation speed measurement system
CN118226087A
Cited By
Method for generating train idling and slipping simulation data, device, and storage medium
WO2026025718A1
