CN116125833A - Real-time simulation method and system for train test bed - Google Patents

Real-time simulation method and system for train test bed Download PDF

Info

Publication number
CN116125833A
CN116125833A CN202310424457.4A CN202310424457A CN116125833A CN 116125833 A CN116125833 A CN 116125833A CN 202310424457 A CN202310424457 A CN 202310424457A CN 116125833 A CN116125833 A CN 116125833A
Authority
CN
China
Prior art keywords
simulation
train
client
time
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310424457.4A
Other languages
Chinese (zh)
Inventor
杨建平
余鹏
吴吉恒
谢磊
刘文军
肖八励
罗逸韬
陈波
钟星宇
陈太
林小杰
刘灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meishan CRRC Brake Science and Technology Co Ltd
Original Assignee
Meishan CRRC Brake Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meishan CRRC Brake Science and Technology Co Ltd filed Critical Meishan CRRC Brake Science and Technology Co Ltd
Priority to CN202310424457.4A priority Critical patent/CN116125833A/en
Publication of CN116125833A publication Critical patent/CN116125833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

The embodiment of the invention provides a real-time simulation method and a train simulation system for a train test bed, and relates to the technical field of train simulation. The method is applied to a train simulation system, the train simulation system comprises a client, a simulation end and a data acquisition system, the client is respectively in communication connection with the simulation end and the data acquisition system, and the method comprises the following steps: the client sends a communication connection request to the simulation end; the simulation end sends a confirmation instruction to the client after receiving the communication connection request, takes the moment of sending the confirmation instruction as the initial moment and sends the initial moment to the client so as to keep the time of the client consistent with the time of the simulation end.

Description

Real-time simulation method and system for train test bed
Technical Field
The invention relates to the technical field of train simulation, in particular to a real-time simulation method and a train simulation system for a train test bed.
Background
In the existing process of acquiring and transmitting the data of the train test bed of the real object end, the data of the train test bed is generally acquired through the client end and transmitted to the simulation end, but the simulation result obtained by the simulation calculation of the simulation end is possibly not matched with the real object end due to inconsistent time between the client end and the simulation end.
Disclosure of Invention
The invention aims at providing a real-time simulation method for a train test bed, which can better ensure the time consistency between a client and a simulation end.
The invention further provides a train simulation system which can better ensure that the time of the client is consistent with that of the simulation end.
Embodiments of the invention may be implemented as follows:
the embodiment of the invention provides a real-time simulation method of a train test bed, which is applied to a train simulation system, wherein the train simulation system comprises a client, a simulation end and a data acquisition system, the client is respectively in communication connection with the simulation end and the data acquisition system, and the method comprises the following steps:
the client sends a communication connection request to the simulation end;
the simulation end sends a confirmation instruction to the client after receiving the communication connection request, takes the moment of sending the confirmation instruction as an initial moment and sends the initial moment to the client so as to enable the time of the client to be consistent with the time of the simulation end.
Optionally, the format of the initial time is%10.3f.
Optionally, data transmission is performed between the client and the emulation terminal through a transmission protocol of TCP/IP.
Optionally, after the step that the simulation end sends a confirmation instruction to the client end after receiving the communication connection request, takes the time of sending the confirmation instruction as an initial time and sends the initial time to the client end so that the time of the client end is consistent with the time of the simulation end, the method further includes:
the client receives the train grouping information sent by the data acquisition system and sends the train grouping information to the simulation end;
and the simulation end receives the train grouping information and then sends confirmation information to the client.
Optionally, after the step of sending the confirmation information to the client after the receiving the train consist information, the method further includes:
the client receives the test bed data sent by the data acquisition system and sends the test bed data to the simulation end in real time;
and the simulation end receives the test bed data in real time and performs simulation calculation.
Optionally, after the step of sending the confirmation information to the client after the receiving the train consist information, the method further includes:
and the client receives the test bed data sent by the data acquisition system and stores and backs up the test bed data.
Optionally, the test stand data includes acquisition time data, brake cylinder pressure data, train pipe data and auxiliary reservoir data.
Optionally, the acquisition time data is matched with an acquisition frequency of the data acquisition system.
The embodiment of the invention also provides a train simulation system, which comprises a processor and a memory, wherein the memory stores a computer program, and the real-time simulation method of the train test bed is realized when the processor executes the computer program.
Optionally, the train simulation system includes a train test bed, and the data acquisition system is connected between the train test bed and the client and is used for transmitting test bed data on the train test bed to the client.
The train test bed real-time simulation method and the train simulation system provided by the embodiment of the invention have the beneficial effects that: before the test bed data is sent to the simulation end through the client, a communication connection request is sent to the simulation end through the client, the simulation end returns a confirmation instruction to the client after receiving the communication connection request, the moment of sending the confirmation instruction is taken as the initial moment and the initial moment is sent to the client, and at the moment, the time of the client is kept consistent with the time of the simulation end so as to ensure that the simulation result of the simulation end is matched with the real object end.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a train simulation system in an embodiment of the present application;
FIG. 2 is a flowchart of steps S100-S400 of a real-time simulation method for a train test bed in an embodiment of the present application;
FIG. 3 is a flowchart of sub-steps S410-S420 of the real-time simulation method of the train test bed in the embodiment of the present application;
fig. 4 is a flowchart of substep S430 of the real-time simulation method for the train test bench in the embodiment of the present application.
Icon: 100-simulation end; 200-client; 300-a data acquisition system; 400-train test bed.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should be noted that, if the terms "upper", "lower", "inner", "outer", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, it is merely for convenience of describing the present invention and simplifying the description, and it is not indicated or implied that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus it should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
The inventor of the application finds that the simulation result obtained by the simulation calculation of the simulation end is possibly not matched with the train test bed of the real end due to the inconsistent time between the client and the simulation end. The embodiment provides a real-time simulation method and a train simulation system for a train test bed, which are at least used for solving the technical problem.
Referring to fig. 1, the train simulation system provided in this embodiment includes a client 200, a simulation end 100 and a data acquisition system 300, where the client 200 is respectively connected with the simulation end 100 and the data acquisition system 300 in a communication manner; the train simulation system further comprises a train test bed 400, wherein the train test bed 400 is a physical end, and the data acquisition system 300 is in communication connection between the physical end and the client 200 and is used for transmitting test bed data of the physical end to the client 200.
It should be noted that, the client 200 is a data acquisition computer, the simulation end 100 is a data receiving computer, and the simulation end 100 is provided with simulation software; the data acquisition system 300 is a hardware system including an industrial personal computer, an acquisition module and a sensor, and is used for acquiring test bed data of a physical terminal and transmitting the test bed data to the client 200.
After the locomotive operation platform sends a corresponding braking instruction to the train test platform 400, the data acquisition system 300 dynamically acquires test platform data in the whole braking process of the physical end, the test platform data are transmitted to the simulation end 100 through the Ethernet while being tidied and stored by the client 200, the client 200 and the simulation end 100 transmit data through a transmission protocol of TCP/IP, and finally the simulation end 100 stores the data and transmits the data to simulation software for use and calculation.
The train simulation system provided by the embodiment further comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the real-time simulation method of the train test bed is realized.
Referring to fig. 2 to fig. 4, the real-time simulation method for a train test stand provided in this embodiment is applied to the train simulation system described above, and includes:
in step S100, the client 200 sends a communication connection request to the emulation terminal 100.
It should be noted that, before the client 200 transmits the test stand data to the simulation end 100, the client 200 sends a communication connection request to the simulation end 100.
In step S200, the simulation end 100 sends a confirmation instruction to the client end 200 after receiving the communication connection request, and takes the time of sending the confirmation instruction as the initial time and sends the initial time to the client end 200, so that the time of the client end 200 is consistent with the time of the simulation end 100.
It should be noted that, after receiving the communication connection request, the simulation end 100 returns a confirmation instruction to the client 200, and uses the time of sending the confirmation instruction as an initial time and sends the initial time to the client 200, where the client 200 and the simulation end 100 set the initial time as an initial time of data acquisition, so that the time of the client 200 is consistent with the time of the simulation end 100, and in the process that the subsequent client 200 transmits test bed data to the simulation end 100, it can be ensured that the simulation result of the simulation end 100 matches with the real object end.
Optionally, the format of the initial time is%10.3f. For example, the initial time is set to 0.000. Meanwhile, in order to ensure the convenience and reliability of instruction identification, the instruction is defined as a fixed-length character '1'.
After step S200, further comprising:
in step S300, the client 200 receives the train consist information sent by the data acquisition system 300, and sends the train consist information to the simulation end 100.
The train consist information is the numbers of the locomotive and the plurality of brake cylinders on the train test stand 400, that is, the positions including the number of the locomotive and the brake cylinders.
Optionally, the train test bed 400 includes 4 locomotives and 432 vehicle brake cylinders, and according to the situation of the marshalling when simulating the running of the domestic real train, the train test bed 400 can flexibly customize the number and the position of the locomotives and the number and the position of the vehicles, and connect the locomotives and the vehicles to construct the marshalling the same as the real train.
Each brake cylinder of the train test bed 400 is provided with a sensor of the data acquisition system 300, after the data acquisition system 300 acquires the pressure of the brake cylinder, the pressure is transmitted to the simulation end 100 through the client 200 in real time according to the defined data transmission format protocol specification, and the fact that the physical end is identical to the simulation end 100 in marshalling is ensured, and the data of the brake cylinders of the vehicle corresponds to each other one by one.
After the time of the client 200 is consistent with the time of the simulation end 100, the client 200 starts to receive the train consist information transmitted by the data acquisition system 300 and transmits the train consist information to the simulation end 100, so that the train consist of the simulation end 100 is consistent with the train consist of the real end.
Step S400, the simulation end 100 receives the train consist information and then sends the confirmation information to the client 200.
It should be noted that, after receiving the train consist information, the simulation end 100 sends acknowledgement information to the client 200, which indicates that the simulation end 100 successfully receives the train consist information.
After step S400, the method further includes:
in the substep S410, the client 200 receives the test stand data sent by the data acquisition system 300, and sends the test stand data to the simulation end 100 in real time.
The test bed data comprise acquisition time data, first car brake cylinder data, second car brake cylinder data … … nth car brake cylinder data, first car train pipe data, first car auxiliary reservoir data, tail car train pipe data, tail car auxiliary reservoir data and the like. Wherein n is the total number of vehicles, the locomotive number is not contained, the acquisition time data is accurate to millisecond, the format of the acquisition time data is%10.3f, the brake cylinder data is the brake cylinder pressure data, and the format of the brake cylinder data is%6.2f.
It should be noted that the acquisition time data matches the acquisition frequency of the data acquisition system 300. For example, if the acquisition frequency of the data acquisition system 300 is 50Hz, the data acquisition system 300 acquires the test bed data every 0.02 s; if the acquisition frequency of the data acquisition system 300 is 1000Hz, the data acquisition system 300 acquires the test bed data every 0.001 s. It is understood that the acquisition frequency of the data acquisition system 300 may depend on the actual conditions.
For example, the acquisition frequency of the data acquisition system 300 is 1000Hz, and the single test bench data is as follows: 0.001 x 0.75 x … x 338.15 x 115.98 x 485.24 x 351.01 x 287.92 x 210.17 x 537.58 x 493.70 x 447.96 x, data formats are data separated by symbols and end with symbols.
And step S420, the simulation end 100 receives the test bed data in real time and performs simulation calculation.
It should be noted that, the simulation end 100 receives the test stand data in real time, and the first vehicle brake cylinder data, the second vehicle brake cylinder data … … nth vehicle brake cylinder data may be directly used for simulation calculation, where the first vehicle train pipe data, the first vehicle auxiliary reservoir data, the tail vehicle train pipe data and the tail vehicle auxiliary reservoir data are used for correcting the brake cylinder data.
After step S400, the method further includes:
in the substep S430, the client 200 receives the test bed data sent by the data acquisition system 300, and stores and backs up the test bed data.
In this step, after receiving the test bed data sent by the data acquisition system 300, the client 200 performs storage backup on the test bed data, and this step is performed in synchronization with the substep S410.
In summary, the embodiment of the invention provides a real-time simulation method and a train simulation system for a train test bed, before data of the test bed is sent to a simulation end 100 through a client 200, a communication connection request is sent to the simulation end 100 through the client 200, the simulation end 100 returns a confirmation instruction to the client 200 after receiving the communication connection request, and takes the time of sending the confirmation instruction as an initial time and sends the initial time to the client 200, at this time, the time of the client 200 is kept consistent with the time of the simulation end 100, so as to ensure that the simulation result of the simulation end 100 is matched with a real object end.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The real-time simulation method for the train test bed is characterized by being applied to a train simulation system, wherein the train simulation system comprises a client, a simulation end and a data acquisition system, the client is respectively in communication connection with the simulation end and the data acquisition system, and the method comprises the following steps:
the client sends a communication connection request to the simulation end;
the simulation end sends a confirmation instruction to the client after receiving the communication connection request, takes the moment of sending the confirmation instruction as an initial moment and sends the initial moment to the client so as to enable the time of the client to be consistent with the time of the simulation end.
2. The real-time simulation method of a train test bed according to claim 1, wherein the format of the initial time is%10.3f.
3. The real-time simulation method of the train test bed according to claim 1, wherein data transmission is performed between the client and the simulation end through a transmission protocol of TCP/IP.
4. The train test stand real-time simulation method according to claim 1, wherein after the step of the simulation end transmitting a confirmation instruction to the client end after receiving the communication connection request, and transmitting the initial time to the client end with the time of transmitting the confirmation instruction as the initial time so that the time of the client end is consistent with the time of the simulation end, further comprising:
the client receives the train grouping information sent by the data acquisition system and sends the train grouping information to the simulation end;
and the simulation end receives the train grouping information and then sends confirmation information to the client.
5. The method for real-time simulation of a train test stand according to claim 4, further comprising, after the step of receiving the train consist information at the simulation end and transmitting a confirmation message to the client, the step of:
the client receives the test bed data sent by the data acquisition system and sends the test bed data to the simulation end in real time;
and the simulation end receives the test bed data in real time and performs simulation calculation.
6. The method of real-time simulation of a train test stand according to claim 4, further comprising, after the step of transmitting a confirmation message to the client after the simulation end receives the train consist information:
and the client receives the test bed data sent by the data acquisition system and stores and backs up the test bed data.
7. The real-time simulation method of a train test stand according to claim 5 or 6, wherein the test stand data includes acquisition time data, brake cylinder pressure data, train pipe data and auxiliary reservoir data.
8. The method of real-time simulation of a train test bed according to claim 7, wherein the acquisition time data matches an acquisition frequency of the data acquisition system.
9. A train simulation system comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor implements the train test bench real-time simulation method according to any of claims 1-8 when executing the computer program.
10. The train simulation system of claim 9 wherein the train simulation system includes a train test bed, the data acquisition system being connected between the train test bed and the client for transmitting test bed data on the train test bed to the client.
CN202310424457.4A 2023-04-20 2023-04-20 Real-time simulation method and system for train test bed Pending CN116125833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310424457.4A CN116125833A (en) 2023-04-20 2023-04-20 Real-time simulation method and system for train test bed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310424457.4A CN116125833A (en) 2023-04-20 2023-04-20 Real-time simulation method and system for train test bed

Publications (1)

Publication Number Publication Date
CN116125833A true CN116125833A (en) 2023-05-16

Family

ID=86312210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310424457.4A Pending CN116125833A (en) 2023-04-20 2023-04-20 Real-time simulation method and system for train test bed

Country Status (1)

Country Link
CN (1) CN116125833A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339229A (en) * 2023-05-25 2023-06-27 眉山中车制动科技股份有限公司 Test bed locomotive brake control system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107065837A (en) * 2017-05-31 2017-08-18 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system and method for testing
CN112684715A (en) * 2019-10-18 2021-04-20 中车株洲电力机车研究所有限公司 Full-automatic operation semi-physical simulation test system for subway
CN112949080A (en) * 2021-03-22 2021-06-11 中铁信(北京)网络技术研究院有限公司 Urban rail transit station simulation system and method based on dynamic driving
CN113110104A (en) * 2021-04-25 2021-07-13 同济大学 Intelligent cascade test system for braking of single marshalling train
CN215931296U (en) * 2021-09-17 2022-03-01 眉山中车制动科技股份有限公司 Railway train semi-physical simulation test bed
CN114443219A (en) * 2021-12-30 2022-05-06 上海科梁信息科技股份有限公司 Real-time simulation method, real-time simulation system and readable storage medium
CN114818230A (en) * 2021-01-18 2022-07-29 北京图森智途科技有限公司 Simulation test method, device and system
CN115743254A (en) * 2022-11-18 2023-03-07 上海电气自动化设计研究所有限公司 Tramcar intersection priority overall process simulation test method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107065837A (en) * 2017-05-31 2017-08-18 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system and method for testing
CN112684715A (en) * 2019-10-18 2021-04-20 中车株洲电力机车研究所有限公司 Full-automatic operation semi-physical simulation test system for subway
CN114818230A (en) * 2021-01-18 2022-07-29 北京图森智途科技有限公司 Simulation test method, device and system
CN112949080A (en) * 2021-03-22 2021-06-11 中铁信(北京)网络技术研究院有限公司 Urban rail transit station simulation system and method based on dynamic driving
CN113110104A (en) * 2021-04-25 2021-07-13 同济大学 Intelligent cascade test system for braking of single marshalling train
CN215931296U (en) * 2021-09-17 2022-03-01 眉山中车制动科技股份有限公司 Railway train semi-physical simulation test bed
CN114443219A (en) * 2021-12-30 2022-05-06 上海科梁信息科技股份有限公司 Real-time simulation method, real-time simulation system and readable storage medium
CN115743254A (en) * 2022-11-18 2023-03-07 上海电气自动化设计研究所有限公司 Tramcar intersection priority overall process simulation test method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339229A (en) * 2023-05-25 2023-06-27 眉山中车制动科技股份有限公司 Test bed locomotive brake control system and method
CN116339229B (en) * 2023-05-25 2023-08-15 眉山中车制动科技股份有限公司 Test bed locomotive brake control system and method

Similar Documents

Publication Publication Date Title
CN105025058B (en) Vehicle remote diagnosis method, remote vehicle monitoring method and car-mounted terminal
CN116125833A (en) Real-time simulation method and system for train test bed
US8897952B1 (en) Vehicle diagnostic communications system and application
US6360145B1 (en) Vehicle platform-portable controller
WO2018196655A1 (en) Public network communication method for on-board electronic processing unit system
CN109873733B (en) Automobile bus communication method and system, remote terminal and automobile diagnosis equipment
CN113885472B (en) High-speed railway train control vehicle-mounted equipment simulation test universal platform
JP7124303B2 (en) Vehicle-mounted relay device, information processing device, relay device, information processing method, program, information processing system, and vehicle
EP3806400A1 (en) Remote diagnosis method and system for vehicles
WO2022095628A1 (en) Vehicle data transmission method, apparatus and system, and device and storage medium
CN109963749B (en) Central data archiving in an onboard network
CN113872840A (en) CAN data acquisition and transmission method, device and vehicle-mounted terminal
CN113505056A (en) Vehicle diagnosis method, system, device and storage medium
CN109213742A (en) Log collection method and device
US20210237757A1 (en) Information processing device, information processing method, and storage medium storing information processing program
CN113572817B (en) Vehicle-mounted interface platform system and communication system under cloud platform
CN201562167U (en) Vehicle failure diagnosis data collection device
CN110955536A (en) Communication system for connecting ROS
Jiansen et al. The application of SAE j1939 protocol in automobile smart and integrated control system
CN114584590B (en) Data transmission method, system, device and storage medium
JP2809325B2 (en) Multiple computer system and its monitoring operation method
CN117193267A (en) Data acquisition and monitoring system and management method thereof
CN113341938B (en) Automobile controller testing system and control method thereof
CN117289676A (en) UDS diagnosis method and device of redundant control system
CN116337491B (en) Train test bed data acquisition system and data acquisition method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination