A simulation wayside system, device and medium suitable for train on-board testing

By providing a simulated trackside system that supports multiple data format conversions and automated testing, the system solves the automation challenges of onboard testing systems, improves testing efficiency and quality, and enables lightweight data editing and display, making it suitable for train onboard testing.

CN119987230BActive Publication Date: 2025-10-17CASCO SIGNAL LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411983304.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-10-17
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

Existing vehicle-mounted testing systems cannot achieve automated testing, and manual testing is time-consuming and difficult to cover various routes and driving scenarios, making it difficult to improve testing efficiency and quality.

Method used

A simulated trackside system is provided, which supports two formats: the current route data and the trajectory route data. The data format conversion is achieved through a trackside data conversion module. Combined with a trackside data editing module and a train operation display module, it supports manual and automatic testing. Automated testing is achieved by using a communication module with a vehicle simulator.

Benefits of technology

It improves the efficiency and quality of on-board product testing, is compatible with automatic and manual testing, provides lightweight simulation trackside software, simplifies the data editing interface, and enhances the convenience and accuracy of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987230B_ABST
    Figure CN119987230B_ABST
Patent Text Reader

Abstract

The application relates to a simulation trackside system, equipment and medium suitable for train on-board testing, wherein the system comprises a trackside data conversion module, a trackside data editing module, a train operation display module, a vehicle simulator communication module and an AT communication module; the trackside data conversion module supports two formats of route data, i.e. the route data and the track route data, and supports conversion of the route data into the track route data; the trackside data editing module is used for editing the track route data; the train operation display module is used for train operation display under the two route data forms respectively; the vehicle simulator communication module is used for bidirectional communication between the simulation trackside system and the vehicle simulator; and the AT communication module provides two automatic test interfaces, i.e. automatic replacement of the route data file and automatic setting of the current section low-frequency carrier frequency, to realize automatic testing. Compared with the prior art, the application has the advantages of light weight, automatic conversion of the data file and the like.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a train operation control system, in particular to a simulation trackside system, equipment and medium suitable for train on-board test. BACKGROUND

[0002] As a key component of the CTCS system, the on-board equipment undertakes important functions such as receiving ground information, processing train operation instructions, and implementing train overspeed protection. Therefore, the on-board product needs to be fully tested before being put into use. However, on-board testing needs to cover various lines and various train operation scenarios, so there are many test cases to be executed. If manual testing is used, it will take a lot of time, so automatic testing is needed to improve test efficiency and test quality. Therefore, a simulation trackside system is needed to support both manual testing and automatic testing. In the process of manual testing, the tester can intuitively see the display of the route on the simulation trackside and observe the speed and position of the train on the simulation trackside. Automatic testing only needs a lightweight simulation trackside, without complex intuitive line display and train speed and position, but needs a track route data scene script corresponding to each test case.

[0003] CN113917850A discloses a software-based trackside simulation system, which includes a signal system interface module, a trackside device code bit module, a scene injection module, and a trackside device logic operation module. The signal system interface module is a software interface between the trackside simulation system and the signal system, used for communication between the two. The trackside device logic operation module is used to implement the action logic of the trackside simulation system. The scene injection module is used to simulate the set scene, including the injection of various fault scenes and the jump of the trackside device collected code bit state. The trackside device code bit module is used to collect the simulation outdoor code bit and can respond to the operation result of the trackside device logic operation module or the operation command of the scene injection module, set the specified trackside collected code bit to the corresponding state, and send it to the signal system through the signal system interface module. However, this system uses a command-collection matching relationship to realize trackside simulation, which needs to be done manually and cannot realize automatic testing. SUMMARY

[0004] The present application aims to overcome the defects of the prior art and provides a simulation trackside system, equipment and medium suitable for train on-board test, which supports two data formats of route data file and track route data file, and supports converting the route data file into the track route data file, and is compatible with manual testing and automatic testing, which can improve the test efficiency and test quality of on-board product testing.

[0005] The object of the present application can be achieved by the following technical solutions:

[0006] According to a first aspect of the present application, a simulation trackside system suitable for train on-board test is provided, comprising: a trackside data conversion module, a trackside data editing module, a train operation display module, a vehicle simulator communication module, and an AT communication module, wherein the trackside data conversion module supports both route data in the form of in-place route data and track route data, and converts the in-place route data into track route data, the trackside data editing module is used for editing the track route data, the train operation display module is used for displaying train operation in the two forms of route data respectively, the vehicle simulator communication module is used for bidirectional communication between the simulation trackside system and the vehicle simulator, and the AT communication module provides two automatic test interfaces of automatic replacement of route data files and automatic setting of current section low frequency carrier frequency to realize automatic test.

[0007] As a preferred technical solution, the in-place route data describes the length or position of all signal devices of stations and sections on a line, including track sections, signals, switch positioning and reversing, and previous and subsequent stations, balise messages and positions, and the track route data only retains data required by the train on-board through the line, including displacement corresponding carrier frequency, low frequency and balise messages.

[0008] As a preferred technical solution, the method for converting the in-place route data into track route data is to arrange node data of stations, tracks, signals, switches, and station connection relationships in the in-place route data file to form TCR and BTM nodes of the track route data file, so as to realize conversion from the in-place route data file to the track route data file.

[0009] As a preferred technical solution, the conversion of the in-place route data into track route data comprises the following steps:

[0010] Obtaining the direction, starting station and section of train operation, and setting switch positions;

[0011] Finding all track sections required by train operation and storing them into a route list, wherein the track sections include non-switch sections and switch sections;

[0012] Finding balises of all stations in the in-place route data file, and finding whether the track section corresponding to the balise in the route list is in the train operation path according to the associated track attribute value of the balise node, and if so, inserting the balise into the route list;

[0013] Forming track route data file: calculating displacement of track and turnout, forming TCR node of new xml file, which contains displacement and carrier frequency low frequency; calculating displacement of balise, analyzing clear text message, forming BTM node of new xml file, which includes displacement and balise message data.

[0014] As a preferred technical scheme, the step of searching all track sections required by train operation specifically comprises the following steps:

[0015] Searching track according to signal equipment index, station number and train operation direction, wherein the signal equipment index is a unique identifier of all tracks, signals, turnouts and station connection relationships under a station;

[0016] Judging whether the next track is found, if yes, continuing to search, if no, searching signal according to signal equipment index, station number and train operation direction;

[0017] Judging whether the next signal is found, if yes, continuing to search, if no, searching turnout according to signal equipment index, station number and train operation direction;

[0018] Judging whether the next turnout is found, if yes, continuing to search, if no, searching station connection relationship according to signal equipment index, station number and train operation direction;

[0019] Judging whether the next station connection relationship is found, if yes, continuing to search, if no, ending.

[0020] As a preferred technical scheme, the step of searching track according to signal equipment index, station number and train operation direction specifically comprises the following steps:

[0021] Searching track according to signal equipment index and station number;

[0022] Judging whether the track is found,

[0023] if yes, judging direction and returning corresponding signal equipment index, and continuing to search track according to returned signal equipment index and station number, wherein if it is forward direction, the next signal equipment index is returned, if it is reverse direction, the previous signal equipment index is returned;

[0024] otherwise, searching signal according to signal equipment index and station number.

[0025] As a preferred technical scheme, the step of searching signal according to signal equipment index, station number and train operation direction specifically comprises the following steps:

[0026] Searching signal according to signal equipment index and station number;

[0027] Judging whether the signal is found,

[0028] If yes, the direction is determined and the corresponding signal device index is returned, and the track is searched according to the returned signal device index and the station number, wherein if the direction is forward, the next signal device index is returned, and if the direction is reverse, the previous signal device index is returned;

[0029] Otherwise, the turnout is searched according to the signal device index and the station number.

[0030] As a preferred technical solution, the searching of the turnout according to the signal device index, the station number and the train running direction specifically comprises:

[0031] The turnout is searched according to the signal device index and the station number;

[0032] It is determined whether the turnout is found,

[0033] If yes, the fixed-reverse position is determined and the corresponding signal device index is returned, and the track is searched according to the returned signal device index and the station number, wherein if the fixed-reverse position is fixed, the direction is determined, if the direction is forward, the next signal device index is returned, if the direction is reverse, the previous signal device index is returned, if the fixed-reverse position is reverse, it is determined whether the priority index is consistent with the previous signal device index, if yes, the signal device index corresponding to the reverse attribute is returned, otherwise, the next signal device index is returned;

[0034] Otherwise, the station connection relationship is searched according to the signal device index and the station number.

[0035] As a preferred technical solution, the searching of the station connection relationship according to the signal device index, the station number and the train running direction specifically comprises:

[0036] The next signal device index in the station connection relationship is searched according to the signal device index, the associated station number, the adjacent signal device name;

[0037] It is determined whether the corresponding signal device is found,

[0038] If yes, the direction is determined, if the direction is forward, the next signal device index is returned, if the direction is reverse, the previous signal device index is returned, and the station connection relationship is searched according to the returned signal device index;

[0039] Otherwise, the searching is ended.

[0040] As a preferred technical solution, the forming of the track route data file specifically comprises the following steps:

[0041] It is determined whether all signal devices have completed the route data conversion, if yes, the track route data file is generated, otherwise, the device type of the next signal device is determined,

[0042] If the device type is a track, the direction is determined and an xml node of the track corresponding trajectory route data file is generated, wherein if the direction is forward, the displacement is calculated according to the forward length attribute of the track device, and if the direction is reverse, the displacement is calculated according to the reverse length attribute of the track device;

[0043] If the device type is a turnout, the direction is determined and a TCR node is generated, and further, the fixed or reverse position is determined, wherein if the direction is forward and the position is fixed, the displacement is calculated according to the fixed forward length of the turnout device, if the direction is forward and the position is reverse, the displacement is calculated according to the reverse forward length of the turnout device, if the direction is reverse and the position is fixed, the displacement is calculated according to the fixed reverse length of the turnout device, and if the direction is reverse and the position is reverse, the displacement is calculated according to the reverse reverse length of the turnout device;

[0044] If the device type is a balise, the displacement of the balise is calculated according to the direction, the verification direction of the balise message, the reverse offset, the forward offset and the length of the track where the balise is located, and the plaintext message is parsed to generate a BTM node.

[0045] As a preferred technical solution, the train operation display module executes the following steps:

[0046] When the simulation trackside adopts the route data format, a complete station yard diagram and an interval diagram are displayed, and a train icon is displayed on the corresponding section to indicate the train position;

[0047] When the simulation trackside adopts the trajectory route data format, the train operation state is displayed in the form of a table, and the first column of the table indicates the train displacement, and when the train runs to a certain position, the signal device in front of the position is highlighted in the corresponding row in the table.

[0048] As a preferred technical solution, the vehicle simulator communication module is used for the simulation trackside to communicate with the vehicle simulator of the head of the simulated vehicle and the vehicle simulator of the tail of the simulated vehicle at the same time, and specifically executes the following steps:

[0049] The carrier frequency, low frequency information, balise message, message receipt and turnaround message receipt are sent to the vehicle simulator, and the add car message, delete car message, train state information and turnaround information are received from the vehicle simulator,

[0050] Before the turnaround, the simulation trackside loads the trajectory route data file before the turnaround, and determines the head and the tail, wherein the head is the one that receives the add car message;

[0051] The simulation trackside receives the turnaround information from the vehicle simulator;

[0052] The simulation trackside switches the data file to the trajectory route data file, and displays in the train operation display module;

[0053] The simulation trackside receives the train state information sent by the vehicle simulator of the train head, and finds the carrier frequency, low frequency and balise message according to the corresponding information in the track route data according to the train state information, and sends the carrier frequency, low frequency and balise message to the vehicle simulator of the train head and the train tail.

[0054] When the train is turned back, the simulation trackside receives the turn-back message reply sent by the vehicle simulator, and automatically replaces the track route data file after the train is turned back, taking the position of the vehicle simulator sending the turn-back message reply as the train head.

[0055] According to a second aspect of the present application, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to realize the method.

[0056] According to a third aspect of the present application, a computer readable storage medium is provided, which stores a computer program, and the program is executed by a processor to realize the method.

[0057] Compared with the prior art, the present application has the following beneficial effects:

[0058] (1) The present application supports two trackside data description methods, and can realize the conversion between the two kinds of data.

[0059] (2) The present application is a lightweight simulation trackside software based on xml file, which has a simple and easy-to-use balise message editing interface, a track circuit carrier frequency and low frequency editing interface, and an editing interface for the displacement offset of the balise and track circuit relative to the vehicle-mounted mobile displacement.

[0060] (3) The present application is compatible with automatic testing and manual testing, and can improve the testing efficiency. DETAILED DESCRIPTION

[0061] Figure 1 The figure is a schematic diagram of the simulation trackside system of the present application;

[0062] Figure 2 The figure is a data conversion interface diagram of the simulation trackside system of the present application;

[0063] Figure 3 The figure is a track route data editing interface diagram of the simulation trackside system of the present application;

[0064] Figure 4 The figure is a whole flowchart of converting the route data into track route data;

[0065] Figure 5 The figure is a whole flowchart of device searching in the conversion process;

[0066] Figure 6 The figure is a track searching flowchart;

[0067] Figure 7 Flowchart for finding signal machine;

[0068] Figure 8 Flowchart for finding turnout equipment;

[0069] Figure 9 Flowchart for finding station connection relationship;

[0070] Figure 10 Flowchart for generating track route data file;

[0071] Figure 11 Application environment schematic diagram of the simulation trackside system of the present application;

[0072] Figure 12 Flowchart for automatic turnaround in the simulation trackside. DETAILED DESCRIPTION

[0073] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present application.

[0074] Unless otherwise defined, technical terms or scientific terms used in the present application should be understood as the common meanings thereof to those skilled in the art to which the present application pertains. The terms “a”, “an”, “one”, “this” and like terms used in the present application do not represent quantity limitation, but can represent singular or plural. The terms “include”, “contain”, “have” and any variations thereof used in the present application are intended to cover non-exclusive inclusion; for example, a process, method, system, product or device containing a series of steps or modules (units) is not limited to the listed steps or units, but can further include steps or units not listed or can further include other steps or units inherent to the process, method, product or device. The terms “connect”, “connected”, “couple” and like terms used in the present application are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The term “multiple” in the present application refers to two or more. The term “and / or” describes the association relationship of associated objects, which means that there can be three relationships, for example, “A and / or B” can mean that A exists alone, A and B exist together, and B exists alone. The character “ / ” generally means that the associated objects before and after are in an “or” relationship. The terms “first”, “second”, “third” and the like in the present application are only to distinguish similar objects, and do not represent a specific order of the objects.

[0075] The embodiment provides a simulation trackside system suitable for train on-board test, as shown in the accompanying drawings, comprising a trackside data conversion module, a trackside data editing module, a train operation display module, a vehicle simulator communication module and an AT communication module. Figure 1

[0076] (1) Trackside data conversion module

[0077] The trackside data conversion module supports two formats of route data, i.e. the route data and the track route data, and supports conversion of the route data into the track route data, and the conversion interface is as shown in the accompanying drawings. Figure 2

[0078] The route data describes the length or position of all signal devices of stations and sections of a line, including track sections, signal machines, switch positioning and reversing, and previous and subsequent stations, balise messages and positions. The data format has the advantage that, in combination with the svg format station yard diagram, the user can intuitively see the train position during the test, especially during manual test. An example of the route data is as follows.

[0079]

[0080]

[0081]

[0082] Limited by the length, the above is only an example, and the actual data has multiple Station, Track, Switch, Signal, Balise and Stlink.

[0083] The track route data only retains the data required by the on-board train to pass through the line, including the displacement corresponding carrier frequency, low frequency and balise message. An example of part of the track route data file content is as follows.

[0084]

[0085]

[0086]

[0087]

[0088]

[0089] ​​The method for converting the location route data into the track route data is: arranging the node data of stations, tracks, signal machines, turnouts, and station connection relationship in the location route data file to form TCR and BTM nodes of the track route data file, and realizing the conversion from the location route data file to the track route data file.

[0090] Specifically, as shown in Figure 4 the method comprises the following steps:

[0091] Step 1: obtaining the direction, starting station and section of train operation, and setting the position of the turnout;

[0092] Step 2: finding all track sections that need to be passed through by the train operation and storing them into a route list, wherein the track sections include non-turnout sections and turnout sections;

[0093] Step 3: finding all transponders of stations in the location route data file, and finding whether the track section corresponding to the transponder in the route list is in the train operation path according to the associated track attribute value of the transponder node, and if yes, inserting the transponder into the route list;

[0094] Step 4: forming the track route data file: calculating the displacement of the track and the turnout, forming the TCR node of the new xml file, which contains the displacement and the carrier frequency low frequency; calculating the displacement of the transponder, analyzing the plaintext message, and forming the BTM node of the new xml file, which includes the displacement and the transponder message data.

[0095] Specifically, as shown in Figure 5 the step of finding all track sections that need to be passed through by the train operation comprises the following steps:

[0096] Step 21: finding the track according to the signal device index, the station number and the train operation direction, wherein the signal device index is the unique identifier of all tracks, signal machines, turnouts and station connection relationship under a station;

[0097] Step 22: judging whether the next track is found, if yes, continuing to find, and if not, finding the signal machine according to the signal device index, the station number and the train operation direction;

[0098] Step 23: judging whether the next signal machine is found, if yes, continuing to find, and if not, finding the turnout according to the signal device index, the station number and the train operation direction;

[0099] Step 24: judging whether the next turnout is found, if yes, continuing to find, and if not, finding the station connection relationship according to the signal device index, the station number and the train operation direction;

[0100] Step 25: judging whether the next station connection relationship is found, if yes, continue to search, if no, end.

[0101] As shown in the formula (1), the track is searched according to the signal equipment index, the station number and the train running direction, and the searching process is as follows: Figure 6

[0102] The track is searched according to the signal equipment index and the station number.

[0103] Judging whether the track is found,

[0104] If yes, judging the direction and returning the corresponding signal equipment index, continuing to search the track according to the returned signal equipment index and the station number, wherein if the direction is forward, the next signal equipment index is returned, and if the direction is reverse, the previous signal equipment index is returned.

[0105] Otherwise, the signal is searched according to the signal equipment index and the station number.

[0106] As shown in the formula (2), the signal is searched according to the signal equipment index, the station number and the train running direction, and the searching process is as follows: Figure 7

[0107] The signal is searched according to the signal equipment index and the station number.

[0108] Judging whether the signal is found,

[0109] If yes, judging the direction and returning the corresponding signal equipment index, continuing to search the track according to the returned signal equipment index and the station number, wherein if the direction is forward, the next signal equipment index is returned, and if the direction is reverse, the previous signal equipment index is returned.

[0110] Otherwise, the turnout is searched according to the signal equipment index and the station number.

[0111] As shown in the formula (3), the turnout is searched according to the signal equipment index, the station number and the train running direction, and the searching process is as follows: Figure 8

[0112] The turnout is searched according to the signal equipment index and the station number.

[0113] Judging whether the turnout is found,

[0114] If yes, judging the direction and returning the corresponding signal equipment index, continuing to search the track according to the returned signal equipment index and the station number, wherein if the direction is forward, the next signal equipment index is returned, and if the direction is reverse, the previous signal equipment index is returned. ​​​

[0115] Otherwise, find the station connection relationship according to the signal device index and the station number.

[0116] As shown in Figure 9 , finding the station connection relationship according to the signal device index, the station number and the train running direction is specifically:

[0117] According to the signal device index, the associated station number, the adjacent signal device name, find the next signal device index in the station connection relationship;

[0118] Determine whether the corresponding signal device is found,

[0119] If yes, determine the direction, if forward, return the next signal device index, if reverse, return the previous signal device index, continue to find the station connection relationship according to the returned signal device index;

[0120] Otherwise, end the search.

[0121] As shown in 10, forming the track route data file specifically includes the following steps:

[0122] Determine whether all signal devices have completed the route data conversion, if yes, generate the track route data file, otherwise, determine the device type of the next signal device,

[0123] If the device type is track, determine the direction and generate the xml node of the track route data file corresponding to the track, wherein if forward, calculate the displacement according to the forward length attribute of the track device, if reverse, calculate the displacement according to the backward length attribute of the track device;

[0124] If the device type is turnout, determine the direction and generate the TCR node, and further determine the positive and negative positions, if forward and positive, calculate the displacement according to the positive forward length of the turnout device, if forward and negative, calculate the displacement according to the negative forward length of the turnout device, if reverse and positive, calculate the displacement according to the positive backward length of the turnout device, if reverse and negative, calculate the displacement according to the negative backward length of the turnout device;

[0125] If the device type is balise, calculate the balise displacement according to the direction, the verification direction of the balise message, the reverse offset, the forward offset and the length of the track where the balise is located, and parse the plaintext message to generate the BTM node.

[0126] (2) Trackside data editing module

[0127] The trackside data editing module is used to edit the track route data. As shown in Figure 3As shown, the conversion of the track route data file can be edited at the interface, which simplifies the editing of the track route data file compared with the text editor. In addition, the module also provides functions such as "synchronous modification of E5 / C1 package", "synchronous change of subsequent tcr\btm position" and the like.

[0128] (3) Train operation display module

[0129] The train operation display module is used for train operation display under two kinds of route data forms respectively.

[0130] When the simulation trackside adopts the route data format, the complete station yard diagram and the section diagram are displayed, and the train icon is displayed on the corresponding section to indicate the train position;

[0131] When the simulation trackside adopts the track route data format, as shown in the left side of Figure 3 the table form is used to display the train operation state, and the first column of the table indicates the train displacement, when the train runs to a certain position, the signal device in front of the position is highlighted in the corresponding position of the table.

[0132] (4) Communication module with vehicle simulator

[0133] Figure 11 The application environment diagram of the simulation trackside system of the present application, wherein the communication module with the vehicle simulator is used for communication between the simulation trackside and the vehicle simulator, and includes the following functions:

[0134] 1. The simulation trackside sends the following data messages to the vehicle simulator:

[0135] TrackCodeInfo: carrier frequency, low frequency information, etc.

[0136] BaliseInfo: balise message;

[0137] FeedbackInfo: message receipt;

[0138] TrainChangeCabAckInfo: turn-back message receipt.

[0139] 2. The vehicle simulator sends the following data messages to the simulation trackside:

[0140] AddTrainInfo: add train message;

[0141] DeleteTrainInfo: delete train message;

[0142] TrainStatusInfo: train status information;

[0143] TrainChangeCabInfo: Turnback information.

[0144] 3. Support double-end function

[0145] The vehicle simulator communication module supports communication with the vehicle simulator simulating the front of the vehicle and the vehicle simulator simulating the rear of the vehicle at the same time.

[0146] As shown in Figure 12 , the automatic turnback includes the following steps:

[0147] Before the turnback, the simulated trackside loads the track route data file before the turnback, such as TSlinedata.xml, and judges the front and the rear, wherein the vehicle simulator receiving the add train message AddTrainInfo is the front.

[0148] The simulated trackside receives the turnback information TrainChangeCabInfo from the vehicle simulator.

[0149] The simulated trackside switches the data file to the track route data file and displays it in the train operation display module.

[0150] After receiving the train status information TrainStatusInfo sent by the vehicle simulator of the front, the simulated trackside finds the carrier frequency, the low frequency, and the transponder message TrackCodeInfo according to the corresponding information in the track route data, and sends them to the vehicle simulator of the front and the rear.

[0151] During the turnback, the simulated trackside receives the turnback message TrainChangeCabInfo reply sent by the vehicle simulator, and takes the position of the vehicle simulator sending the turnback message reply as the front, automatically changes the track route data file after the turnback (TSlinedata_for_change_cab.xml file), and displays the information in the file in the interface.

[0152] During the turnback, if the low frequency code needs to be modified, such as changing from HU code to U, it can be directly modified in the right interface shown in Figure 3 . It can also be set through the automatic test interface set_current_code(carrier_frequence,low_frequence) developed by the simulated trackside.

[0153] In a preferred embodiment, the implementation of the double-end and automatic turnback functions is as follows:

[0154] S1: Load TSlinedata.xml when simulating trackside start, at this time, send all balise messages to the vehicle simulator, or send the balise messages corresponding to the displacement to the train according to the TrainStatusInfo message package.

[0155] S2: When the simulation trackside receives the AddTrainInfo message from the vehicle simulator, the simulation trackside judges that the communication link is the head, and judges that the other IP in the configuration file corresponds to the communication link of the tail. The vehicle simulator sends the TrainStatusInfo message package to the simulation trackside during operation, and the simulation trackside sends the re-evaluation and low-frequency, balise message information corresponding to the displacement of the TrainStatusInfo message package to the vehicle simulator according to the displacement of the TrainStatusInfo message package.

[0156] Support adding a train at any position of the simulation trackside. When using track route data, the AddTrainInfo message sent by the vehicle simulator to the simulation trackside contains a displacement offset field. When the simulation trackside receives the message, it stores the displacement offset. When the TrainStatusInfo message package is received later, the displacement offset is added to the displacement in the TrainStatusInfo to reply to the carrier frequency, low frequency, and balise message, thereby realizing the effect of running after adding a train at any position.

[0157] S3: The vehicle simulator stops and stabilizes after stopping, and the simulation trackside receives the TrainChangeCabInfo information from the vehicle simulator.

[0158] S4: When the simulation trackside receives the TrainChangeCabInfo information from one of the links of the vehicle simulator, the simulation trackside judges that the communication link is the head, and judges that the other IP in the configuration file corresponds to the communication link of the tail. The simulation trackside automatically changes to TSlinedata_for_change_cab.xml, and the interface displays the information in the file (at this time, send all balise messages to the vehicle simulator, or send the balise messages corresponding to the displacement to the train according to the displacement).

[0159] S5: The simulation trackside receives the TrainStatusInfo information from the vehicle simulator.

[0160] S6: The simulation trackside replies to the vehicle simulator according to the configuration in TSlinedata_for_change_cab.xml, and finds the carrier frequency, low frequency (such as HU code), balise message, etc. corresponding to the information in TSlinedata_for_change_cab.xml.

[0161] S7: The simulation trackside receives a set_current_code message from the automatic test platform, for example, set_current_code message carries the frequency 1700-1 and the low frequency U code.

[0162] S8: The simulation trackside receives a TrainStatusInfo message from the vehicle simulator.

[0163] S9: The simulation trackside sends the frequency 1700-1 and the low frequency U code to the vehicle simulator.

[0164] S10: During the process of simulating running, the simulation trackside sends the frequency and the low frequency corresponding to the displacement in the TrainStatusInfo message to the vehicle simulator.

[0165] (5) AT communication module

[0166] The AT communication module provides two automatic test interfaces of automatically replacing the line data file and automatically setting the current section low frequency and carrier frequency to realize automatic test.

[0167] The simulation trackside provides the following two automatic test interfaces for automatic test:

[0168] 1. Supporting automatic replacement of line data file

[0169] 2. Supporting automatic setting of current section low frequency and carrier frequency

[0170] The electronic device includes a central processing unit (CPU) that 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, the ROM, and the RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0171] A plurality of components in the device are connected to the I / O interface, including: an input unit such as a keyboard, a mouse, etc.; an output unit such as various types of displays, a loudspeaker, etc.; a storage unit such as a magnetic disk, an optical disk, etc.; and a communication unit such as a network card, a modem, a wireless communication transceiver, etc. The communication unit allows the device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0172] The processing units perform the various methods and processes described above, such as the steps performed by the various modules in the simulated wayside system. For example, in some embodiments, the steps performed by the various modules in the simulated wayside system can be implemented as a computer software program tangibly embodied in a machine readable medium, such as a memory unit. In some embodiments, portions or all of the computer program can be loaded and / or installed onto the device via the ROM and / or the communication unit. When the computer program is loaded onto the RAM and executed by the CPU, one or more steps performed by the various modules in the simulated wayside system described above can be performed. Alternatively, in other embodiments, the CPU can be configured, by way of firmware or software, to perform the steps performed by the various modules in the simulated wayside system.

[0173] The functionality described above in this document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0174] Program code for carrying out methods of the present application can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces a means for implementing the functions / acts specified in the flowcharts and / or block diagrams. The program code can be retrieved from a machine-readable medium or device, a storage medium, a memory medium, a tangible medium, or a non-transitory medium. The program code can be executed by a machine, such as a computer, which can be hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. A machine-readable medium or device can be any medium or device that can tangibly contain or store program code for execution by the machine to produce a machine implemented process. The machine readable medium can be a storage medium or a memory medium.

[0175] In the context of the present application, a machine-readable medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a searchable database, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0176] The above merely illustrates the specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any skilled person in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements shall be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A simulated trackside system suitable for on-board testing of trains, characterized in that: include: A trackside data conversion module, a trackside data editing module, a train operation display module, a module for communicating with a vehicle simulator, and a module for communicating with an AT system. The trackside data conversion module is compatible with and supports route data in two formats, namely, the route data and the track route data, and supports converting the route data into the track route data. The trackside data editing module is used to edit the track route data. The train operation display module is used to display the train operation in the two route data formats respectively. The module for communicating with a vehicle simulator is used for two-way communication between the simulated trackside system and the vehicle simulator. The AT communication module provides two automated test interfaces, namely, automatic replacement of route data files and automatic setting of the low-frequency carrier frequency of the current section, to realize automated testing. The route data describes the length or position of all signal equipment in the stations and sections passed by the line, including track sections, signal machines, switch positioning and reversal, as well as the preceding and following stations, transponder messages and positions. The track route data only retains the data required for the vehicle to pass through the line, including the carrier frequency, low frequency and transponder messages corresponding to the displacement; The method for converting the current route data into the trajectory route data is as follows: arranging the node data of the station, track, signal, switch, and station connection relationship in the current route data file to form the TCR and BTM nodes of the trajectory route data file, thereby realizing the conversion from the current route data file to the trajectory route data file; The converting of the route data into the trajectory route data comprises the following steps: Obtain the train's direction of travel, starting station and section, and set the switch position; Find all track sections that the train needs to pass through and store them in a route list, where the track sections include non-switch sections and switch sections; Find the balises of all stations in the route data file, and check in the route list whether the track section corresponding to the balise is in the train path according to the track attribute value associated with the balise node. If so, insert the balise into the route list; Form a track route data file: calculate the displacement of the track and switch, and form a new XML file TCR node, which contains the displacement and carrier low frequency; calculate the displacement of the transponder, parse the plaintext message, and form a new XML file BTM node, which includes the displacement and transponder message data.

2. A simulated trackside system suitable for train onboard testing according to claim 1, characterized in that: The method of searching for all track sections that a train needs to pass through specifically includes the following steps: Search for tracks based on the signal equipment index, station number, and train direction. The signal equipment index is a unique identifier for all tracks, signals, switches, and station connections under a station. Determine whether the next track is found. If so, continue searching. If not, search for the signal according to the signal equipment index, station number, and train direction. Determine whether the next signal is found. If so, continue searching. If not, find the turnout based on the signal device index, station number, and train direction. Determine whether the next turnout is found. If so, continue searching. If not, find the station connection relationship based on the signal equipment index, station number and train direction. Determine whether the next station connection relationship is found. If so, continue searching. If not, end.

3. A simulated trackside system suitable for train onboard testing according to claim 2, characterized in that: The specific steps of searching for tracks based on signal equipment index, station number and train running direction are as follows: Find tracks by signal equipment index and station number; Determine whether the track is found. If so, determine the direction and return the corresponding signal device index. Continue searching for tracks based on the returned signal device index and station number. If it is forward, return the next signal device index; if it is reverse, return the previous signal device index. Otherwise, look up the signal based on the signal device index and station number.

4. A simulated trackside system suitable for train onboard testing according to claim 2, characterized in that: The specific steps of searching for a signal according to the signal equipment index, station number and train running direction are as follows: Find a signal by signal equipment index and station number; Determine whether the signal is found. If so, determine the direction and return the corresponding signal device index. Continue searching for tracks based on the returned signal device index and station number. If it is forward, return the next signal device index; if it is reverse, return the previous signal device index. Otherwise, find the turnout based on the signal device index and station number.

5. The simulated trackside system suitable for train onboard testing according to claim 2, characterized in that: The specific steps of searching for a turnout according to the signal equipment index, station number and train running direction are as follows: Find turnouts based on signal equipment index and station number; Determine whether the switch is found. If so, determine the reverse position and return the corresponding signal device index. Continue to search for tracks based on the returned signal device index and station number. If it is positioning, determine the direction. If it is forward, return the next signal device index. If it is reverse, return the previous signal device index. If it is reverse, determine whether the priority index is consistent with the previous signal device index. If so, return the signal device index corresponding to the reverse position attribute. Otherwise, return the next device signal index. Otherwise, the station connection relationship is searched based on the signal equipment index and station number.

6. The simulated trackside system suitable for train onboard testing according to claim 2, characterized in that: The specific method of searching for station connection relationships based on signal equipment index, station number and train running direction is as follows: According to the signal device index, the associated station number, and the adjacent signal device name, the next signal device index in the station connection relationship is found; Determine whether the corresponding signal device is found, If yes, determine the direction. If it is forward, return the next signal device index. If it is reverse, return the previous signal device index and continue to search for station connection relationship based on the returned signal device index. Otherwise, end the search.

7. The simulated trackside system suitable for train onboard testing according to claim 1, characterized in that: The forming of the trajectory route data file specifically includes the following steps: Determine whether all signal devices have completed route data conversion. If so, generate a trajectory route data file. Otherwise, determine the device type of the next signal device. If the device type is track, determine the direction and generate the XML node of the track route data file corresponding to the track. If it is forward, calculate the displacement according to the forward length attribute of the track device; if it is reverse, calculate the displacement according to the backward length attribute of the track device; If the device type is a turnout, determine the direction and generate a TCR node, and further determine the reverse position. If it is forward and in positioning, calculate the displacement based on the forward length of the turnout device in the positioning direction. If it is forward and in reverse, calculate the displacement based on the forward length of the turnout device in the reverse position. If it is reverse and in positioning, calculate the displacement based on the backward length of the turnout device in the positioning direction. If it is reverse and in reverse, calculate the displacement based on the backward length of the turnout device in the reverse position. If the device type is a transponder, the transponder displacement is calculated based on the direction, verification direction of the transponder message, reverse offset, forward offset, and length of the track, and the plaintext message is parsed to generate a BTM node.

8. The simulated trackside system suitable for train onboard testing according to claim 1, characterized in that: The train operation display module performs the following steps: When the simulated trackside adopts the route data format, the complete station map and section map are displayed, and the train icon is displayed in the corresponding section to indicate the train position; When the track route data format is used for the simulation trackside, the train operation status is displayed in the form of a table. The first column of the table represents the train displacement. When the train runs to a certain position, the row corresponding to the position of the signal equipment in front of the position in the table is highlighted.

9. The simulated trackside system suitable for train onboard testing according to claim 1, characterized in that: The vehicle simulator communication module is used to communicate with the vehicle simulator at the front and rear of the simulated vehicle at the same time on the simulated trackside, specifically performing the following steps: Send carrier frequency, low frequency information, transponder message, message receipt, return message receipt to the vehicle simulator, receive vehicle addition message, vehicle deletion message, train status information and return information from the vehicle simulator, Before turning back, the simulation trackside loads the trajectory route data file before turning back and determines the front and rear of the train. The train that receives the car-adding message is the front train. The simulation trackside receives the turnaround information from the vehicle simulator; The simulated trackside switching data file is a track route data file and is displayed in the train operation display module; After receiving the train status information sent by the vehicle simulator at the front of the train, the simulation trackside searches for the carrier frequency, low frequency, and transponder message according to the corresponding information of the train status information in the track route data, and sends it to the vehicle simulators at the front and rear of the train; When turning back, the simulation trackside receives the return message receipt sent by the vehicle simulator, and takes the position of the vehicle simulator that sends the return message receipt as the head of the vehicle, and automatically replaces the trajectory route data file after the turnaround.

10. 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 system according to any one of claims 1 to 9 is implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the system according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Trackside simulation system realized based on software

    CN113917850A

  • Trackside simulation method and system

    CN103745630A

  • General simulation method and system for rail transit signal system

    CN103926843A