WO2023124576A1 - Visual modeling method for train operation basic environment, medium, and electronic device - Google Patents

Visual modeling method for train operation basic environment, medium, and electronic device Download PDF

Info

Publication number
WO2023124576A1
WO2023124576A1 PCT/CN2022/131330 CN2022131330W WO2023124576A1 WO 2023124576 A1 WO2023124576 A1 WO 2023124576A1 CN 2022131330 W CN2022131330 W CN 2022131330W WO 2023124576 A1 WO2023124576 A1 WO 2023124576A1
Authority
WO
WIPO (PCT)
Prior art keywords
train
node
information
data
nodes
Prior art date
Application number
PCT/CN2022/131330
Other languages
French (fr)
Chinese (zh)
Inventor
王宇迪
范东明
张兵建
黄蒙涛
王亮
张启万
赵金婵
Original Assignee
卡斯柯信号有限公司
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 卡斯柯信号有限公司 filed Critical 卡斯柯信号有限公司
Publication of WO2023124576A1 publication Critical patent/WO2023124576A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the invention relates to the technical field of train control system testing, in particular to a visual modeling method, medium and electronic equipment of the basic environment of train operation.
  • the train operation control system (referred to as the train control system) is the core technical equipment to ensure the safe, orderly and efficient operation of the railway, and various tests need to be carried out before it is put into practical application.
  • the test methods of the train control system can be divided into field test and laboratory simulation test. On-site testing has disadvantages that cannot be ignored, such as high testing costs, long cycle, and certain risks.
  • simulation technology, theories and methods to the train control system, and carrying out pressure testing, performance testing, and functional testing on it in a laboratory environment can greatly reduce the manpower, material and financial resources of system testing. consume.
  • one of the keys to realize the laboratory simulation test is the modeling and simulation of the basic environment of train operation.
  • the existing train operation simulation environment usually has many deficiencies.
  • the source of the simulation data is inaccurate and the accuracy of the data cannot be guaranteed.
  • the simulation data is usually not directly derived from the train control engineering data, and there is a lack of verification methods for the correctness of the simulation data.
  • the data structure of the train operation simulation environment is unreasonable.
  • the train operation simulation environment directly adopts table structure data, and this data structure splits the correlation between simulation data, which leads to low efficiency of data query, maintenance and management.
  • the simulation data does not include the dynamic data of the equipment, the spatial information of the line and the equipment along the line. Therefore, the 3D visual scene of the train operating environment usually adopts traditional manual modeling.
  • This method needs to establish a 3D model for all objects and arrange them in the 3D scene according to the basic data of the line.
  • the disadvantage is that the development cycle is long and the scene cannot be changed flexibly. Once the simulation test circuit is changed, the entire 3D scene needs to be redeveloped.
  • an object of the present invention is to provide a visual modeling method for the basic environment of train operation, which can ensure the correctness of the data in the topology model of train control data, and can improve the efficiency of data query, maintenance and management, and It can effectively shorten the development cycle of the simulation model and improve the flexibility of scene change.
  • a second object of the present invention is to provide a computer-readable storage medium.
  • the third object of the present invention is to provide an electronic device.
  • a visual modeling method for the basic environment of train operation comprising: obtaining train control engineering data, and extracting simulation data of the basic environment of train operation to be simulated from the train control engineering data; correspondingly converting the simulation data into To construct the nodes of the train control data topology model; determine the connection relationship between the nodes according to the actual track connection relationship of the basic environment of the train operation, and determine the connection relationship between the nodes according to the connection relationship and the affiliation relationship between the nodes to construct the train
  • the directed edge of the control data topology model; the train control data topology model is constructed according to the nodes and the directed edges, and the train operation basic environment is simulated through the train control data topology model.
  • the simulation data includes: signal equipment information along the line and line attribute information; wherein, the signal equipment information along the line includes but not limited to: signal machine information, turnout information, track circuit information and transponder information; the line Attribute information includes but not limited to: line slope information, line disconnection information, line speed limit information, line phase separation area information, and line tunnel information.
  • the signal equipment information along the line is converted into nodes for constructing the train control data topology model, and the line attribute information is associated with track section nodes in the nodes.
  • the data format of the nodes is set, wherein different data formats are set for different nodes.
  • the simulation data is correspondingly converted into nodes for constructing the train control data topology model.
  • the directed edges in the train control data topology model point to the adjacent points in the downlink direction of the nodes.
  • the directed edge is described in the form of a multivariate array
  • the data in the multivariate array includes: the topological number of the first node on the directed edge, the information of the first node, and the A topological number of a second node connected to a node, a topological number of a third node connected to the first node, and a topological number of a fourth node having a subordinate relationship with the first node.
  • simulating the basic train operation environment through the train control data topology model includes: constructing a three-dimensional visualization scene of the basic train operation environment; in the three-dimensional visualization scene, the operation of the train State, pose information, as well as train routing and trackside equipment driving methods for simulation.
  • constructing the three-dimensional visualization scene of the basic environment of the train operation includes: selecting two curve nodes on the current line of the train; obtaining the curvature information, the kilometer mark information and the tangent orientation of the two curve nodes respectively Angle information; determine the spatial position information of all nodes between the two curved nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth information, and generate according to the spatial position information
  • the three-dimensional visualization scene of the basic environment of the train operation includes: selecting two curve nodes on the current line of the train; obtaining the curvature information, the kilometer mark information and the tangent orientation of the two curve nodes respectively Angle information; determine the spatial position information of all nodes between the two curved nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth information, and generate according to the spatial position information
  • the three-dimensional visualization scene of the basic environment of the train operation includes: selecting two curve nodes on the current line of the train; obtaining the
  • simulating the running state of the train includes: establishing an XYZ three-dimensional railway line coordinate system with the starting point of the line kilometer mark as the origin, and establishing xyz train local coordinates with the train mass point as the origin System; six degree of freedom parameters of the train are determined on the XYZ three-dimensional railway line coordinate system and the local coordinate system of the xyz train, and the six degree of freedom parameters are respectively the train in the XYZ three-dimensional railway line
  • the X coordinate value, the Y coordinate value, the Z coordinate value on the coordinate system, and the train roll value, the train pitch value and the train yaw value obtained by the train rotating around each coordinate axis of the xyz train local coordinate system;
  • the above six degrees of freedom parameters determine the running state of the train.
  • simulating the pose information of the train includes: obtaining the line type and line attribute information of the line where the train is currently located from the train control data topology model, wherein , the line type includes but not limited to: straight line, transitional circular curve and circular curve; determine the pose information of the train at each moment according to the line type and the line attribute information.
  • simulating the train routing method includes: when the train arrives at the switch node, obtaining the data format of the switch node from the train control data topology model, and Obtain the state value of the turnout node, the straight adjacent node in the downward direction, and the curved node in the downward direction from the data format; select the straight adjacent node in the downward direction or the downward direction according to the state value of the turnout node
  • the bent strand node is used as the front node of the train to complete the train routing.
  • simulating the drive mode of the trackside equipment includes: when the train arrives at the transponder node, the train sends response driving information to the trackside simulation module;
  • the simulation module receives the response driving information, and obtains the data format of the transponder node from the train control data topology model;
  • the trackside simulation module obtains the transponder from the data format of the transponder node Stored message information, and send the message information to the on-board simulation module to complete the drive simulation of the transponder; Search to obtain a switch node or a non-fork section node, and update the track section information currently occupied by the train according to the search result.
  • the method further includes: performing a correctness check on the train control data topology model.
  • verifying the correctness of the train control data topology model includes: when storing the data of each node, performing a validity check on the data of each node; The topological relationship of the model is compared and verified with the route information table in the train control engineering data.
  • verifying the validity of each node data includes: verifying the value format, value type, value range and value logic of each node data.
  • the second aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the visual modeling of the above-mentioned basic environment for train operation is realized method.
  • the third aspect of the present invention provides an electronic device, including a processor and a memory, and a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned train A visual modeling approach to the operating base environment.
  • the present invention uses the train control engineering data as the direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data, and check the correctness of the train control data topology model to effectively guarantee The correctness of the train control data topology model is ensured;
  • the query of the simulated data is carried out, so that the time complexity of querying the node data in front of the simulated train is O(1), thereby improving the real-time performance of the simulated system, and the present invention
  • the established train control data topology model does not split the correlation between the train control data, and the invention can independently adjust the data of any node without jointly adjusting other nodes, thus meeting the requirement of the simulation system for frequently changing data and improving the maintenance of simulation data and ease of management;
  • the train control data topology model in the present invention includes the dynamic information of the signal equipment, the spatial information of the line and the equipment along the line, so that the model can describe the state of various signal equipment in the simulation environment, and can be directly used as a three-dimensional train operation basic environment Data input for visual simulation, and automatically generate a three-dimensional train running scene, which can effectively shorten the development cycle of the simulation model and improve the flexibility of scene change.
  • FIG. 1 is a flow chart of a visual modeling method for a basic environment of train operation provided by an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of the relationship between the curve element parameters and the line coordinate system provided by an embodiment of the present invention.
  • Fig. 3 is a schematic diagram of an example station provided by an embodiment of the present invention.
  • Fig. 4 is a schematic diagram of constructing a train control data topology model provided by an embodiment of the present invention.
  • Fig. 5 is a schematic diagram of a topological structure diagram of a connection relationship of an example station provided by an embodiment of the present invention.
  • Fig. 6 is a schematic diagram of the topological structure of the ownership relationship of an example station provided by an embodiment of the present invention.
  • Fig. 7 is a schematic diagram of a train control data topology model provided by an embodiment of the present invention.
  • Fig. 8 is a schematic diagram of a node simplified train control data topology model provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a deformed adjacency matrix of a simplified train control data topology model provided by an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of the P7 iterative calculation results provided by an embodiment of the present invention.
  • Fig. 11 is a schematic diagram of a simple path of a train control data topology model provided by an embodiment of the present invention.
  • Fig. 12 is a schematic diagram of verification information of a train control data topology model provided by an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of topological relationship verification information provided by an embodiment of the present invention.
  • FIG. 1 is a flow chart of a visual modeling method for a basic environment of train operation provided by an embodiment of the present invention. As shown in Figure 1, the method includes:
  • Step S1 Obtain the train control engineering data, and extract the simulation data of the basic environment of train operation to be simulated from the train control engineering data.
  • the simulation data includes: signal equipment information along the line and line attribute information; among them, the signal equipment information along the line includes but not limited to: signal machine information, turnout information, track circuit information and transponder information; line attribute information includes but not limited to: line Slope information, line broken link information, line speed limit information, line phase separation area information and line tunnel information.
  • the required train control data that is, the simulation data
  • the simulation data mainly includes signal equipment information such as transponders, track circuits, switches, and signal machines, as well as line slopes, line tunnels, curves, etc. attribute information.
  • signal equipment information such as transponders, track circuits, switches, and signal machines
  • line slopes, line tunnels, curves, etc. attribute information In actual engineering, column control data is stored in tabular form.
  • Table 1 the simulation data of the basic environment of train operation can be correspondingly obtained from the signal data table, transponder position table, route information table and other data tables in the train control engineering data table.
  • the train control engineering data is used as the direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data.
  • Step S2 Correspondingly converting the simulation data into nodes for constructing the train control data topology model.
  • the signal equipment information along the line is converted into nodes for constructing the train control data topology model, and the line attribute information is associated with the track section nodes in the nodes.
  • the train control data topology model established by the converted nodes does not split the correlation between the train control data, thereby facilitating the maintenance and management of the simulation data.
  • the data format of the nodes needs to be set, wherein different data formats are set for different nodes .
  • different nodes describe in different ways, that is, different nodes can set the data format of the node according to the node type.
  • the data format of the node can be set in a multi-element array.
  • the corresponding conversion of simulation data into nodes used to construct the train control data topology model includes, but is not limited to: insulation node nodes, signal machine nodes, turnout nodes, turnout section nodes, non-fork section nodes, and transponders nodes and variable curvature nodes.
  • the variable curvature node can be used to describe the spatial information of the line.
  • CF represents the carrier frequency of the track segment, and takes an enumeration value, such as "1700-2", “2300-1” and so on;
  • Code represents the low frequency code information of the track segment, and takes an enumeration value , "HU", "L”, etc.
  • the above data format is used to describe the nodes, which can facilitate the corresponding acquisition of all data of the nodes when the nodes are obtained in the train control data topology model, and can improve the maintenance and management efficiency of the train control data topology model.
  • the simulation data needs to be correspondingly converted into nodes for constructing the train control data topology model through the data format.
  • Step S3 Determine the connection relationship between nodes according to the actual track connection relationship of the basic environment of train operation, and determine the directed edge used to construct the train control data topology model according to the connection relationship and the affiliation relationship between nodes.
  • the directed edge in the train control data topology model points to the adjacent point in the downlink direction of the node.
  • the directed edge can be described in the form of a multivariate array, and the data in the multivariate array includes: the topological number of the first node on the directed edge, the information of the first node, the topological number of the second node connected to the first node, A topological number of a third node connected to the first node, and a topological number of a fourth node having a subordinate relationship with the first node.
  • the edges between nodes in the train control data topology model (that is, the topological relationship between nodes) can be defined to form a complete column control data topology model.
  • the relationship between nodes can be divided into two types, namely connection relationship and belonging relationship.
  • the corresponding signaling equipment node has a connection relationship in the train control data topology model, and the directed edge points to the adjacent point in the downlink direction defined in the node.
  • the following examples illustrate the basic situation of the connection relationship between the insulating node node and other nodes: (1) J1 and J2 are the insulating nodes at the two ends of the non-fork section W, then there is a connection relationship between J1 and W, and the connection relationship between J2 and W There is also a connection between them; (2) J1, J2, and J3 are the insulation joints of the turnout section containing a single turnout SW, so J1, J2, and J3 are all connected to SW; (3) J1, J2, J3, and J4 are As for the insulating joints of two turnouts SW1 and SW2, SW1 is connected to SW2, two of J1, J2, J3, and J4 are connected to SW1, and the other two are connected to SW2.
  • the turnout is in a certain track section, there is an affiliation relationship between the switch node and the track section node, and the directed edge points to the track section node, and the track section node is the adjacency point in the down direction of the node.
  • a signal is set at the insulating node, there is an affiliation relationship between the signal node and the insulating node, and the directed edge points to the signal node, and the signal node is the adjacent point in the downlink direction of the node.
  • (1 )TopID indicates the topology number of the node, that is, the above-mentioned first node (unique distinction of all equipment nodes); (2) V indicates the information of the signal
  • Step S4 Build a train control data topology model according to the nodes and directed edges, and simulate the basic environment of train operation through the train control data topology model.
  • the train control data topology model is used to simulate the basic environment of train operation, including: constructing a 3D visualization scene of the basic environment of train operation; Simulate by side device driver.
  • constructing the three-dimensional visualization scene of the basic environment of train operation includes: selecting two curve nodes on the current line of the train; obtaining the curvature information, kilometer mark information and tangent azimuth of the two curve nodes respectively Information; determine the spatial position information of all nodes between two curve nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth angle information, and generate a three-dimensional visualization scene of the basic environment of the train operation based on the spatial position information.
  • the railway line can be regarded as composed of several straight lines, transitional circular curves, and circular curves. Therefore, the spatial information of the railway line can be obtained through the line variable curvature node (curve node), and a 3D visualization scene of the basic environment of train operation can be generated accordingly.
  • this embodiment refers to the above-mentioned line segments as "curve elements".
  • curve elements As shown in Figure 2, it is assumed that two curve nodes A and B on the current line of the train are obtained from the train control data topology model, and the device node i between the curve nodes A and B is arbitrarily selected.
  • the curvature of node A is ⁇ A
  • the kilometer is LA
  • the tangent azimuth is ⁇ A
  • the curvature of node B is ⁇ B
  • the kilometer is LB
  • the tangent azimuth is ⁇
  • node i The kilometer of the distance is Li
  • the coordinates and tangent angles of any point on the curve element can be calculated, and then the spatial position information of all nodes between two curve nodes on the line can be determined, so that the spatial information of the railway line can be obtained, and the train can be automatically generated accordingly Run the 3D visualization scene of the basic environment.
  • the running state of the train is simulated, including: establishing an XYZ three-dimensional railway line coordinate system with the starting point of the line kilometer mark as the origin, and establishing an xyz train local area with the train mass point as the origin Coordinate system: determine the six degree of freedom parameters of the train on the XYZ three-dimensional railway line coordinate system and the xyz train local coordinate system, and the six degree of freedom parameters are respectively the X coordinate value and the Y coordinate value of the train on the XYZ three-dimensional railway line coordinate system , Z coordinate value, and the train roll value, train pitch value and train yaw value obtained by rotating the train around each coordinate axis of the xyz train local coordinate system; determine the running state of the train according to the parameters of the six degrees of freedom.
  • the starting point of the line kilometer mark can be used as the origin
  • the initial direction of the starting point can be used as the positive direction of the X-axis
  • the vertical upward direction can be used as the positive direction of the Z-axis to establish an XYZ three-dimensional railway line coordinate system, which can be described by the three coordinate values of X, Y, and Z any point in space. Since the railway line is relatively flat and the slope value is small, the slope factor can be ignored in the three-dimensional modeling, so in this embodiment, the projection of the XOY plane (railway plan) can be used to replace the railway centerline.
  • a single-mass train dynamics model can be used to calculate the relationship between the force on the train and the acceleration.
  • a vehicle local coordinate system can be established, that is, the aforementioned xyz train local coordinate system.
  • the xyz train local coordinate system can be established with the train particle as the origin of the coordinate system, wherein the x-axis points to the front of the car body, the y-axis points to the left side of the car body, and the z-axis points to the vertical top of the car body.
  • the pose information of the train is simulated, including: obtaining the line type and line attribute information of the line where the train is currently located from the train control data topology model, wherein the line type Including but not limited to: straight line, transitional circular curve and circular curve; determine the pose information of the train at each moment according to the line type and line attribute information.
  • the train routing method is simulated, including: when the train arrives at the switch node, the data format of the switch node is obtained from the train control data topology model, and the data format is obtained from the data format Obtain the state value of the turnout node, the straight-stretch adjacent node in the downward direction, and the bent-stretch node in the downward direction; according to the state value of the turnout node, select the straight-stretch adjacent node in the downward direction or the bent-stretch node in the downward direction as the front node of the train to complete the train search. path.
  • the data format of the node can be obtained in the train control data topology model, that is, the node data can be obtained, and the SW.State value can be obtained from the node data, and according to the SW.State value of the node, select SW.XName1 or SW.XName2 is used as the node in front of the train to complete the process of train routing.
  • the simulation data query is performed when the train arrives at the turnout node, so that the time complexity of querying the node data in front of the simulated train is O(1), thereby improving the real-time performance of the simulation system.
  • the driving mode of the trackside equipment is simulated, including: when the train arrives at the transponder node, the train sends the response driving information to the trackside simulation module; the trackside simulation module receives Respond to the driving information, and obtain the data format of the balise node from the train control data topology model; the trackside simulation module obtains the message information stored by the balise from the data format of the balise node, and sends the message information to the on-board simulation module to complete the driving simulation of the transponder; when the train arrives at the insulating node, the train searches for the switch node or the node of the non-fork section from the train control data topology model, and updates the track section currently occupied by the train according to the search result information.
  • the trackside equipment mainly includes transponders, track circuits, switches, and signal machines, wherein the transponders are related to the drive of the track circuits and the trains.
  • the train When the train arrives at the balise node, the train sends response driving information to the trackside simulation module, and the trackside simulation module can obtain the data format of the balise node in the train control data topology model, that is, obtain the balise node data, and obtain The message information stored by the transponder is then sent to the vehicle simulation module.
  • the train When the train arrives at the insulating joint node, the train can search the topological model of the train control data to obtain the switch node or the no-branch section node, then update the track section information currently occupied by the train, and send the simulation information to other units as needed .
  • the method further includes: checking the correctness of the train control data topology model.
  • the correctness verification of the train control data topology model includes: when storing each node data, the legitimacy of each node data is verified; and the topological relationship of the train control data topology model and the column The route information table in the control engineering data is compared and verified.
  • checking the validity of each node data includes: checking the value format, value type, value range and value logic of each node data.
  • the established train control data topology model can be used to provide data input to the train operation simulation environment as described above.
  • relevant personnel manually fill in the above-mentioned signal equipment and line attribute information into the train control data management software according to the signal layout diagram and the train control engineering data sheet.
  • the train control data is complicated and numerous, and errors will inevitably occur in the manual input of a large amount of information, which will cause the correctness of the train control data topology model.
  • the legitimacy can be checked when storing each node data.
  • numerical format all kinds of data have specific formats, such as the format of "KXXX+XXX" for the mileage mark of a node, and the format of "region code-partition number-station number-transponder unit number-inner group" for the transponder number Label” format, etc.
  • value type different attributes should be represented by different data types, and the data types in the train control data topology model mainly include character type, integer type, floating point type, enumeration type, etc. Character type, node number is integer type, slope value is floating point type, etc.; value range: the value range is mainly determined by the data meaning and node definition method. For example, the speed limit value of the line cannot be negative, and the status information of the turnout can only be defined Enumeration value; numerical logic: the logical relationship between values mainly exists in the line attribute, and the numerical logic can be verified according to the line attribute.
  • the topological relationship connection relationship and affiliation relationship between signal equipment nodes in the train control data topology model
  • the topological relationship of the train control data topology model should be consistent with the route information table. Therefore, in this embodiment, the way to check whether the topological relationship is correct is to use the simple path matrix algorithm to find the data that can be covered in the train control data topology model. The long route set of all routes, and then compare the elements in the long route set with the route information table to verify the correctness of the topological relationship.
  • the simulation data required for the simulation of the basic environment of train operation can be obtained from the corresponding tables of the train control engineering data, which are mainly composed of signal equipment and line attribute data.
  • the signal equipment part includes signals, turnouts, track circuits and transponders, and the line properties include line slope, broken chain, speed limit, phase separation area and tunnel.
  • the actual track connection relationship between the nodes is established according to the definition of the connection relationship.
  • the directed edges between the switch node and the track section node, and between the signal node and the insulation node node are established.
  • the directed edges are used to connect various nodes, and finally the topological data model in Figure 4 is formed, that is, the train control data topology model.
  • the correctness check of the attribute value of the train control data topology model has been described in detail in the above embodiments, and the following mainly introduces the implementation manner of the correctness check of the topological relationship.
  • the nodes and directed edges in the train control data topology model that have nothing to do with the route information are simplified: delete the switch section node, delete the signal machine node, delete the insulation node without signal machine node, delete the transponder node, convert the non-fork section node into the weight of the directed edge, and add the weight to the outgoing edge of the turnout node.
  • the number of nodes in the simplified train control data topology model has been simplified from 53 to 17, and the topology number and node name of each node are marked in detail in Figure 8.
  • the corresponding deformed adjacency matrix can be obtained through the simplified topological model of column control data.
  • the adjacency points of any node can be clearly seen, for example, the downlink adjacency point of node 12 is 4, and the downlink adjacency points of node 15 are 16 and 17. Therefore, according to the simple path matrix algorithm, simple paths of all lengths in the column control data topology model can be found through iterative calculations. Wherein, the iteration is terminated at the seventh time, that is, the simple path matrix P8 is an all-zero matrix, and the longest simple path length in the column control data topology model is 7. As shown in Figure 10, the result of iterative calculation is shown by taking P7 as an example.
  • train control data topology model is used to simulate the basic environment of train operation, such as building a 3D visualization scene of the basic environment of train operation, and simulating the train's operating status, pose information, and train routing and trackside equipment drive methods The method has been described in detail above and will not be repeated here.
  • the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned visual modeling method for the basic environment of train operation is realized.
  • the present invention also provides an electronic device, including a processor and a memory, and a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned visual modeling method for the basic environment of train operation is realized .
  • the present invention uses the train control engineering data as a direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data, and the present invention provides a method for performing a real-time analysis on the train control data topology model.
  • the method for correctness checking thereby can effectively guarantee the correctness of train control data topological model;
  • the present invention just carries out the inquiry of simulation data when simulation train arrives key node, makes the time complexity of query simulation train front node data be 0 (1), thereby improving the real-time performance of the simulation system, and the train control data topology model established by the present invention does not split the correlation between the train control data, and the present invention can independently adjust any node data without jointly adjusting other nodes , so as to meet the needs of the simulation system to change data frequently, and improve the convenience of simulation data maintenance and management;
  • the train control data topology model in the present invention includes the dynamic information of the signal equipment, the spatial information of the line and the equipment along the line, The model can describe the status of various signal equipment in the simulation environment, and can be directly used as the data input for the 3D visual simulation of the basic environment of train operation, and automatically generate a 3D train operation scene, thereby effectively shortening the development cycle of the simulation model and improving The flexibility of changing scenes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

Disclosed are a visual modeling method for a train operation basic environment, a medium, and an electronic device. The method comprises: obtaining train control engineering data, and extracting, from the train control engineering data, simulation data of a train operation basic environment to be simulated (S1); correspondingly converting the simulation data into nodes used for constructing a train control data topology model (S2); determining connection relationships between the nodes according to actual track connection relationships of the train operation basic environment, and determining, according to the connection relationships and dependence relationships between the nodes, directed edges used for constructing the train control data topology model (S3); and constructing the train control data topology model according to the nodes and the directed edges, and simulating the train operation basic environment by means of the train control data topology model (S4). According to the present invention, the simulated train operation basic environment can ensure the correctness of topology model data, effectively improve data query, maintenance and management efficiency, effectively shorten the development period of a simulation model, and improve scenario transformation flexibility.

Description

列车运行基础环境的可视化建模方法及介质和电子设备Visual modeling method and media and electronic equipment of basic environment for train operation 技术领域technical field
本发明涉及列控系统测试技术领域,尤其涉及一种列车运行基础环境的可视化建模方法及介质和电子设备。The invention relates to the technical field of train control system testing, in particular to a visual modeling method, medium and electronic equipment of the basic environment of train operation.
背景技术Background technique
列车运行控制系统(简称列控系统)是保障铁路安全、有序和高效运营的核心技术装备,在投入实际应用前需对其开展各项测试工作。列控系统的测试方式可分为现场测试与实验室仿真测试。现场测试具有不可忽略的劣势,即测试费用高、周期长、具有一定危险性等。随着计算机技术的发展,将仿真技术、理论和方法应用于列控系统,在实验室环境下对其进行压力测试、性能测试、功能测试等,可大幅降低系统测试的人力、物力和财力的消耗。其中,实现实验室仿真测试的关键之一是列车运行基础环境的建模与仿真。The train operation control system (referred to as the train control system) is the core technical equipment to ensure the safe, orderly and efficient operation of the railway, and various tests need to be carried out before it is put into practical application. The test methods of the train control system can be divided into field test and laboratory simulation test. On-site testing has disadvantages that cannot be ignored, such as high testing costs, long cycle, and certain risks. With the development of computer technology, applying simulation technology, theories and methods to the train control system, and carrying out pressure testing, performance testing, and functional testing on it in a laboratory environment can greatly reduce the manpower, material and financial resources of system testing. consume. Among them, one of the keys to realize the laboratory simulation test is the modeling and simulation of the basic environment of train operation.
目前,针对列车运行基础环境的建模与仿真,已经建立了列控系统仿真测试平台,但是既有的列车运行仿真环境通常存在诸多不足。第一,仿真数据来源不准确且数据正确性无法保障。仿真数据通常不直接来源于列控工程数据,并且缺乏仿真数据正确性的检验手段。第二,列车运行仿真环境的数据结构不合理。列车运行仿真环境直接采用表格结构数据,而该数据结构割裂了仿真数据之间的关联性,这导致了数据的查询、维护和管理效率低下。第三,仿真数据不包含设备动态数据、线路及沿线设备的空间信息。因此,列车运行环境的三维视景通常采用传统的手工建模,该方式需要为所有对象建立三维模型,并根据线路基础数据在三维场景进行布置,其缺点在于开发周期长且场景无法灵活变换,一旦仿真测试线路发生变更,需要重新开发整个三维视景。At present, for the modeling and simulation of the basic environment of train operation, a train control system simulation test platform has been established, but the existing train operation simulation environment usually has many deficiencies. First, the source of the simulation data is inaccurate and the accuracy of the data cannot be guaranteed. The simulation data is usually not directly derived from the train control engineering data, and there is a lack of verification methods for the correctness of the simulation data. Second, the data structure of the train operation simulation environment is unreasonable. The train operation simulation environment directly adopts table structure data, and this data structure splits the correlation between simulation data, which leads to low efficiency of data query, maintenance and management. Third, the simulation data does not include the dynamic data of the equipment, the spatial information of the line and the equipment along the line. Therefore, the 3D visual scene of the train operating environment usually adopts traditional manual modeling. This method needs to establish a 3D model for all objects and arrange them in the 3D scene according to the basic data of the line. The disadvantage is that the development cycle is long and the scene cannot be changed flexibly. Once the simulation test circuit is changed, the entire 3D scene needs to be redeveloped.
综上所述,建立合适的列车运行基础环境的仿真数据模型,并且可以解决以上三点不足是当下需要解决的技术问题。To sum up, establishing a suitable simulation data model of the basic environment of train operation and solving the above three problems is a technical problem that needs to be solved at present.
发明的公开disclosure of invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本发明的一个目的在于提供一种列车运行基础环境的可视化建模方法,该方法能够保证建立列控数据拓扑模型数据的正确性,并能够提升数据的查询、维护和管理效率,以及能够有效缩短仿真模型的开发周期,提高场景变换的灵活性。The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, an object of the present invention is to provide a visual modeling method for the basic environment of train operation, which can ensure the correctness of the data in the topology model of train control data, and can improve the efficiency of data query, maintenance and management, and It can effectively shorten the development cycle of the simulation model and improve the flexibility of scene change.
本发明的第二个目的在于提供一种计算机可读存储介质。A second object of the present invention is to provide a computer-readable storage medium.
本发明的第三个目的在于提供一种电子设备。The third object of the present invention is to provide an electronic device.
为达到上述目的,本发明通过以下技术方案实现:In order to achieve the above object, the present invention is achieved through the following technical solutions:
一种列车运行基础环境的可视化建模方法,包括:获取列控工程数据,并从所述列控工程数据中提取待仿真的列车运行基础环境的仿真数据;将所述仿真数据对应转换为用以构建列控数据拓扑模型的节点;根据所述列车运行基础环境的实际轨道连接关系确定节点之间的连接关系,并根据所述连接关系和节点之间的从属关系确定用以构建所述列控数据拓扑模型的有向边;根据所述节点和所述有向边构建所述列控数据拓扑模型,并通过所述列控数据拓扑模型对所述列车运行基础环境进行仿真。A visual modeling method for the basic environment of train operation, comprising: obtaining train control engineering data, and extracting simulation data of the basic environment of train operation to be simulated from the train control engineering data; correspondingly converting the simulation data into To construct the nodes of the train control data topology model; determine the connection relationship between the nodes according to the actual track connection relationship of the basic environment of the train operation, and determine the connection relationship between the nodes according to the connection relationship and the affiliation relationship between the nodes to construct the train The directed edge of the control data topology model; the train control data topology model is constructed according to the nodes and the directed edges, and the train operation basic environment is simulated through the train control data topology model.
可选的,所述仿真数据包括:沿线信号设备信息和线路属性信息;其中,所述沿线信号设备信息包括但不限于:信号机信息、道岔信息、轨道电路信息和应答器信息;所述线路属性信息包括但不限于:线路坡度信息、线路断链信息、线路限速信息、线路分相区信息和线路隧道信息。Optionally, the simulation data includes: signal equipment information along the line and line attribute information; wherein, the signal equipment information along the line includes but not limited to: signal machine information, turnout information, track circuit information and transponder information; the line Attribute information includes but not limited to: line slope information, line disconnection information, line speed limit information, line phase separation area information, and line tunnel information.
可选的,将所述沿线信号设备信息转换为构建所述列控数据拓扑模型的节点,并将所述线路属性信息与所述节点中的轨道区段节点进行关联。Optionally, the signal equipment information along the line is converted into nodes for constructing the train control data topology model, and the line attribute information is associated with track section nodes in the nodes.
可选的,在将所述仿真数据对应转换为用以构建列控数据拓扑模型的节点之前,对节点的数据格式进行设定,其中,对于不同的节点设定不同的数据格式。Optionally, before correspondingly converting the simulation data into nodes for constructing the train control data topology model, the data format of the nodes is set, wherein different data formats are set for different nodes.
可选的,通过所述数据格式将所述仿真数据对应转换为用以构建所述列控数据拓扑模型的节点。Optionally, through the data format, the simulation data is correspondingly converted into nodes for constructing the train control data topology model.
可选的,所述列控数据拓扑模型中有向边指向节点中的下行方向邻接点。Optionally, the directed edges in the train control data topology model point to the adjacent points in the downlink direction of the nodes.
可选的,所述有向边通过多元数组的形式进行描述,所述多元数组中的数据包括:所述有向边上第一节点的拓扑编号、所述第一节点信息、与所述 第一节点连接的第二节点的拓扑编号、与所述第一节点连接的第三节点的拓扑编号,以及与所述第一节点具有从属关系的第四节点的拓扑编号。Optionally, the directed edge is described in the form of a multivariate array, and the data in the multivariate array includes: the topological number of the first node on the directed edge, the information of the first node, and the A topological number of a second node connected to a node, a topological number of a third node connected to the first node, and a topological number of a fourth node having a subordinate relationship with the first node.
可选的,通过所述列控数据拓扑模型对所述列车运行基础环境进行仿真,包括:构建所述列车运行基础环境的三维可视化场景;在所述三维可视化场景中,对所述列车的运行状态、位姿信息,以及列车寻径和轨旁设备驱动方式进行仿真。Optionally, simulating the basic train operation environment through the train control data topology model includes: constructing a three-dimensional visualization scene of the basic train operation environment; in the three-dimensional visualization scene, the operation of the train State, pose information, as well as train routing and trackside equipment driving methods for simulation.
可选的,构建所述列车运行基础环境的三维可视化场景,包括:在所述列车当前所在线路上选取两个曲线节点;分别获取两个所述曲线节点的曲率信息、公里标信息和切线方位角信息;根据所述曲率信息、所述公里标信息和所述切线方位角信息确定所述线路上两个所述曲线节点之间所有节点的空间位置信息,并根据所述空间位置信息,生成所述列车运行基础环境的三维可视化场景。Optionally, constructing the three-dimensional visualization scene of the basic environment of the train operation includes: selecting two curve nodes on the current line of the train; obtaining the curvature information, the kilometer mark information and the tangent orientation of the two curve nodes respectively Angle information; determine the spatial position information of all nodes between the two curved nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth information, and generate according to the spatial position information The three-dimensional visualization scene of the basic environment of the train operation.
可选的,在所述三维可视化场景中,对所述列车的运行状态进行仿真,包括:以线路公里标起点为原点建立XYZ三维铁路线路坐标系,并以列车质点为原点建立xyz列车局部坐标系;在所述XYZ三维铁路线路坐标系和所述xyz列车局部坐标系上确定所述列车的六个自由度参数,所述六个自由度参数分别为所述列车在所述XYZ三维铁路线路坐标系上的X坐标值、Y坐标值、Z坐标值,以及所述列车绕所述xyz列车局部坐标系各个坐标轴旋转得到的列车侧倾值、列车俯仰值和列车横摆值;根据所述六个自由度参数确定所述列车的运行状态。Optionally, in the three-dimensional visualization scene, simulating the running state of the train includes: establishing an XYZ three-dimensional railway line coordinate system with the starting point of the line kilometer mark as the origin, and establishing xyz train local coordinates with the train mass point as the origin System; six degree of freedom parameters of the train are determined on the XYZ three-dimensional railway line coordinate system and the local coordinate system of the xyz train, and the six degree of freedom parameters are respectively the train in the XYZ three-dimensional railway line The X coordinate value, the Y coordinate value, the Z coordinate value on the coordinate system, and the train roll value, the train pitch value and the train yaw value obtained by the train rotating around each coordinate axis of the xyz train local coordinate system; The above six degrees of freedom parameters determine the running state of the train.
可选的,在所述三维可视化场景中,对所述列车的位姿信息进行仿真,包括:从所述列控数据拓扑模型中获取所述列车当前所在线路的线路类型和线路属性信息,其中,所述线路类型包括但不限于:直线、缓和圆曲线和圆曲线;根据所述线路类型和所述线路属性信息确定每一时刻所述列车的位姿信息。Optionally, in the three-dimensional visualization scene, simulating the pose information of the train includes: obtaining the line type and line attribute information of the line where the train is currently located from the train control data topology model, wherein , the line type includes but not limited to: straight line, transitional circular curve and circular curve; determine the pose information of the train at each moment according to the line type and the line attribute information.
可选的,在所述三维可视化场景中,对列车寻径方式进行仿真,包括:在所述列车到达道岔节点时,从所述列控数据拓扑模型中获取所述道岔节点的数据格式,并从所述数据格式中获取所述道岔节点的状态值、下行方向直股邻节点和下行方向弯股节点;根据所述道岔节点的状态值选取所述下行方向直股邻节点或者所述下行方向弯股节点作为所述列车的前方节点,以完成 列车寻径。Optionally, in the three-dimensional visualization scene, simulating the train routing method includes: when the train arrives at the switch node, obtaining the data format of the switch node from the train control data topology model, and Obtain the state value of the turnout node, the straight adjacent node in the downward direction, and the curved node in the downward direction from the data format; select the straight adjacent node in the downward direction or the downward direction according to the state value of the turnout node The bent strand node is used as the front node of the train to complete the train routing.
可选的,在所述三维可视化场景中,对轨旁设备驱动方式进行仿真,包括:在所述列车到达应答器节点时,所述列车向轨旁仿真模块发送应答驱动信息;所述轨旁仿真模块接收所述应答驱动信息,并从所述列控数据拓扑模型中获取所述应答器节点的数据格式;所述轨旁仿真模块从所述应答器节点的数据格式中获取所述应答器存储的报文信息,并将所述报文信息发送至车载仿真模块,以完成所述应答器的驱动仿真;在所述列车到达绝缘节节点时,所述列车从所述列控数据拓扑模型中搜索获取道岔节点或无岔区段节点,并根据搜索的结果更新所述列车当前占用的轨道区段信息。Optionally, in the three-dimensional visualization scene, simulating the drive mode of the trackside equipment includes: when the train arrives at the transponder node, the train sends response driving information to the trackside simulation module; The simulation module receives the response driving information, and obtains the data format of the transponder node from the train control data topology model; the trackside simulation module obtains the transponder from the data format of the transponder node Stored message information, and send the message information to the on-board simulation module to complete the drive simulation of the transponder; Search to obtain a switch node or a non-fork section node, and update the track section information currently occupied by the train according to the search result.
可选的,所述方法还包括:对所述列控数据拓扑模型进行正确性校验。Optionally, the method further includes: performing a correctness check on the train control data topology model.
可选的,对所述列控数据拓扑模型进行正确性校验,包括:在对每个节点数据进行存储时,对每个节点数据进行合法性校验;以及,将所述列控数据拓扑模型的拓扑关系与所述列控工程数据中的进路信息表进行比对校验。Optionally, verifying the correctness of the train control data topology model includes: when storing the data of each node, performing a validity check on the data of each node; The topological relationship of the model is compared and verified with the route information table in the train control engineering data.
可选的,对每个节点数据进行合法性校验,包括:对每个节点数据的数值格式、数值类型、数值范围和数值逻辑进行校验。Optionally, verifying the validity of each node data includes: verifying the value format, value type, value range and value logic of each node data.
为达到上述目的,本发明第二方面提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述所述的列车运行基础环境的可视化建模方法。In order to achieve the above object, the second aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the visual modeling of the above-mentioned basic environment for train operation is realized method.
为达到上述目的,本发明第三方面提供了一种电子设备,包括处理器和存储器,所述存储器上存储有计算机程序,所述计算机程序被所述处理器执行时,实现上述所述的列车运行基础环境的可视化建模方法。To achieve the above object, the third aspect of the present invention provides an electronic device, including a processor and a memory, and a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned train A visual modeling approach to the operating base environment.
本发明至少具有以下技术效果:The present invention has at least the following technical effects:
1、本发明以列控工程数据为直接数据来源,建立用于列车运行基础环境仿真的拓扑数据模型,可提高仿真数据的正确性,并且对列控数据拓扑模型进行正确性校验,有效保障了列控数据拓扑模型的正确性;1. The present invention uses the train control engineering data as the direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data, and check the correctness of the train control data topology model to effectively guarantee The correctness of the train control data topology model is ensured;
2、本方法中仿真列车在到达关键节点时,才进行仿真数据的查询,使得查询仿真列车前方节点数据的时间复杂度为O(1),进而提升了仿真系统的实时性,并且本发明所建立的列控数据拓扑模型未割裂列控数据之间的关联性,本发明可独立调整任一节点数据而无需连带调整其它节点,从而满足了仿真系统经常变更数据的需求,提高了仿真数据维护和管理的便利性;2, in the method, when the simulated train arrives at the key node, the query of the simulated data is carried out, so that the time complexity of querying the node data in front of the simulated train is O(1), thereby improving the real-time performance of the simulated system, and the present invention The established train control data topology model does not split the correlation between the train control data, and the invention can independently adjust the data of any node without jointly adjusting other nodes, thus meeting the requirement of the simulation system for frequently changing data and improving the maintenance of simulation data and ease of management;
3、本发明中的列控数据拓扑模型包含了信号设备的动态信息、线路及沿线设备的空间信息,使得该模型能够描述仿真环境中各类信号设备的状态,可以直接作为列车运行基础环境三维视景仿真的数据输入,并自动生成三维的列车运行场景,从而能够有效缩短仿真模型的开发周期,提高场景变换的灵活性。3. The train control data topology model in the present invention includes the dynamic information of the signal equipment, the spatial information of the line and the equipment along the line, so that the model can describe the state of various signal equipment in the simulation environment, and can be directly used as a three-dimensional train operation basic environment Data input for visual simulation, and automatically generate a three-dimensional train running scene, which can effectively shorten the development cycle of the simulation model and improve the flexibility of scene change.
附图的简要说明Brief description of the drawings
图1为本发明一实施例提供的列车运行基础环境的可视化建模方法的流程图。FIG. 1 is a flow chart of a visual modeling method for a basic environment of train operation provided by an embodiment of the present invention.
图2为本发明一实施例提供的曲线元参数与线路坐标系的关系示意图。FIG. 2 is a schematic diagram of the relationship between the curve element parameters and the line coordinate system provided by an embodiment of the present invention.
图3为本发明一实施例提供的示例站场示意图。Fig. 3 is a schematic diagram of an example station provided by an embodiment of the present invention.
图4为本发明一实施例提供的列控数据拓扑模型构建示意图。Fig. 4 is a schematic diagram of constructing a train control data topology model provided by an embodiment of the present invention.
图5为本发明一实施例提供的示例站场的连接关系拓扑结构示意图。Fig. 5 is a schematic diagram of a topological structure diagram of a connection relationship of an example station provided by an embodiment of the present invention.
图6为本发明一实施例提供的示例站场的所属关系拓扑结构示意图。Fig. 6 is a schematic diagram of the topological structure of the ownership relationship of an example station provided by an embodiment of the present invention.
图7为本发明一实施例提供的列控数据拓扑模型示意图。Fig. 7 is a schematic diagram of a train control data topology model provided by an embodiment of the present invention.
图8为本发明一实施例提供的节点简化后的列控数据拓扑模型示意图。Fig. 8 is a schematic diagram of a node simplified train control data topology model provided by an embodiment of the present invention.
图9为本发明一实施例提供的简化后的列控数据拓扑模型的形变邻接矩阵示意图。FIG. 9 is a schematic diagram of a deformed adjacency matrix of a simplified train control data topology model provided by an embodiment of the present invention.
图10为本发明一实施例提供的P7迭代计算结果示意图。FIG. 10 is a schematic diagram of the P7 iterative calculation results provided by an embodiment of the present invention.
图11为本发明一实施例提供的列控数据拓扑模型的简单路径示意图。Fig. 11 is a schematic diagram of a simple path of a train control data topology model provided by an embodiment of the present invention.
图12为本发明一实施例提供的列控数据拓扑模型检验信息示意图。Fig. 12 is a schematic diagram of verification information of a train control data topology model provided by an embodiment of the present invention.
图13为本发明一实施例提供的拓扑关系检验信息示意图。FIG. 13 is a schematic diagram of topological relationship verification information provided by an embodiment of the present invention.
实现本发明的最佳方式BEST MODE FOR CARRYING OUT THE INVENTION
以下结合附图和具体实施例对本发明作进一步详细说明。根据下面说明和权利要求书,本发明的优点和特征将更清楚。需说明的是,附图均采用非常简化的形式且均使用非精准的比率,仅用以方便、明晰地辅助说明本发明实施例的目的。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments. Advantages and features of the present invention will be apparent from the following description and claims. It should be noted that the drawings are all in a very simplified form and use imprecise ratios, which are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.
下面参考附图描述本实施例的列车运行基础环境的可视化建模方法及介质和电子设备。The following describes the visual modeling method, media and electronic equipment of the basic environment of train operation in this embodiment with reference to the accompanying drawings.
图1为本发明一实施例提供的列车运行基础环境的可视化建模方法的流程图。如图1所示,该方法包括:FIG. 1 is a flow chart of a visual modeling method for a basic environment of train operation provided by an embodiment of the present invention. As shown in Figure 1, the method includes:
步骤S1:获取列控工程数据,并从列控工程数据中提取待仿真的列车运行基础环境的仿真数据。Step S1: Obtain the train control engineering data, and extract the simulation data of the basic environment of train operation to be simulated from the train control engineering data.
其中,仿真数据包括:沿线信号设备信息和线路属性信息;其中,沿线信号设备信息包括但不限于:信号机信息、道岔信息、轨道电路信息和应答器信息;线路属性信息包括但不限于:线路坡度信息、线路断链信息、线路限速信息、线路分相区信息和线路隧道信息。Among them, the simulation data includes: signal equipment information along the line and line attribute information; among them, the signal equipment information along the line includes but not limited to: signal machine information, turnout information, track circuit information and transponder information; line attribute information includes but not limited to: line Slope information, line broken link information, line speed limit information, line phase separation area information and line tunnel information.
具体的,由列车运行仿真环境的功能需求可知,其所需的列控数据即仿真数据主要包括了应答器、轨道电路、道岔、信号机等信号设备信息和线路坡度、线路隧道、曲线等线路属性信息。在实际工程中,列控数据以表格形式进行存储。如表1所示,列车运行基础环境的仿真数据可对应地从列控工程数据表中的信号数据表、应答器位置表、进路信息表等数据表中获取。Specifically, it can be seen from the functional requirements of the train operation simulation environment that the required train control data, that is, the simulation data, mainly includes signal equipment information such as transponders, track circuits, switches, and signal machines, as well as line slopes, line tunnels, curves, etc. attribute information. In actual engineering, column control data is stored in tabular form. As shown in Table 1, the simulation data of the basic environment of train operation can be correspondingly obtained from the signal data table, transponder position table, route information table and other data tables in the train control engineering data table.
表1所需列控数据与列控工程数据表的对应关系Table 1 Correspondence between required train control data and train control engineering data sheet
Figure PCTCN2022131330-appb-000001
Figure PCTCN2022131330-appb-000001
本实施例中,以列控工程数据为直接数据来源,建立用于列车运行基础环境仿真的拓扑数据模型,可提高仿真数据的正确性。In this embodiment, the train control engineering data is used as the direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data.
步骤S2:将仿真数据对应转换为用以构建列控数据拓扑模型的节点。Step S2: Correspondingly converting the simulation data into nodes for constructing the train control data topology model.
其中,将沿线信号设备信息转换为构建列控数据拓扑模型的节点,并将线路属性信息与节点中的轨道区段节点进行关联。本实施例中,通过转换后 的节点建立的列控数据拓扑模型未割裂列控数据之间的关联性,从而便于仿真数据的维护和管理。Among them, the signal equipment information along the line is converted into nodes for constructing the train control data topology model, and the line attribute information is associated with the track section nodes in the nodes. In this embodiment, the train control data topology model established by the converted nodes does not split the correlation between the train control data, thereby facilitating the maintenance and management of the simulation data.
在本发明的一个实施例中,在将仿真数据对应转换为用以构建列控数据拓扑模型的节点之前,需对节点的数据格式进行设定,其中,对于不同的节点设定不同的数据格式。In one embodiment of the present invention, before correspondingly converting the simulation data into nodes used to construct the train control data topology model, the data format of the nodes needs to be set, wherein different data formats are set for different nodes .
具体的,不同的节点描述方式不同,即不同的节点可根据节点类型对节点的数据格式进行相应设定。本实施例中,可采用多元数组的方式进行节点的数据格式的设定。Specifically, different nodes describe in different ways, that is, different nodes can set the data format of the node according to the node type. In this embodiment, the data format of the node can be set in a multi-element array.
需要说明的是,将仿真数据对应转换为用以构建列控数据拓扑模型的节点包括但不限于:绝缘节节点、信号机节点、道岔节点、道岔区段节点、无岔区段节点、应答器节点和变曲率节点。其中,变曲率节点可用于描述线路的空间信息。It should be noted that the corresponding conversion of simulation data into nodes used to construct the train control data topology model includes, but is not limited to: insulation node nodes, signal machine nodes, turnout nodes, turnout section nodes, non-fork section nodes, and transponders nodes and variable curvature nodes. Among them, the variable curvature node can be used to describe the spatial information of the line.
本实施例中,一个绝缘节节点的数据格式可设定为一个六元组J=<DevID,Type,Name,Mileage,Signal,XName>,其中:(1)DevID表示该绝缘节节点的设备编号(用于唯一区分同类信号设备节点);(2)Type表示该节点的类型,取“J”;(3)Name表示该绝缘节的名称(绝缘节处设置信号机则取信号机的名称,不设置信号机则自定义唯一的名称);(4)Mileage表示绝缘节的公里标;(5)Signal表示该绝缘节处设置的信号机名称,若不存在则取NULL;(6)XName表示该节点下行方向的邻接节点名称,若不存在则取NULL。In this embodiment, the data format of an isolation node can be set as a six-tuple J=<DevID, Type, Name, Mileage, Signal, XName>, wherein: (1) DevID represents the device number of the isolation node (used to uniquely distinguish the same kind of signal equipment nodes); (2) Type indicates the type of the node, take "J"; (3) Name indicates the name of the insulation node (the signal machine is set at the insulation node, take the name of the signal machine, If you don’t set a signal, you can customize a unique name); (4) Mileage indicates the kilometer mark of the insulation node; (5) Signal indicates the name of the signal set at the insulation node, and if it does not exist, it takes NULL; (6) XName indicates The name of the adjacent node in the downlink direction of this node, or NULL if it does not exist.
一个信号机节点的数据格式可设定为一个六元组S=<DevID,Type,Subtype,Name,ProDir,State>,其中:(1)DevID表示该信号机节点的设备编号;(2)Type表示该节点的类型,取“S”;(3)Subtype表示信号机的类型,取枚举值(例如进站信号机、调车信号机等);(4)Name表示信号机的名称;(5)ProDir表示该信号机的防护方向,取值为0或1,0表示防护下行方向的列车,1表示防护上行方向的列车;(6)State表示信号机的状态信息,取枚举值(例如0、1、2、3等)。The data format of a signaling node can be set as a six-tuple S=<DevID, Type, Subtype, Name, ProDir, State>, wherein: (1) DevID represents the equipment number of the signaling node; (2) Type Indicate the type of the node, take "S"; (3) Subtype indicates the type of signal, take enumeration value (such as station signal, shunting signal, etc.); (4) Name indicates the name of the signal; ( 5) ProDir represents the protection direction of the signal machine, and takes a value of 0 or 1, 0 represents the train in the downstream direction of protection, and 1 represents the train in the upward direction of protection; (6) State represents the state information of the signal machine, and takes the enumerated value ( e.g. 0, 1, 2, 3, etc.).
一个道岔节点的数据格式可设定为一个八元组SW=<DevID,Type,Name,Mileage,TrackName,State,XName1,XName2>,其中:(1)DevID表示该道岔节点的设备编号;(2)Type表示该节点的类型,取“SW”;(3) Name表示该道岔的名称;(4)Mileage表示该道岔的公里值;(5)TrackName表示该道岔所属轨道区段的名称;(6)State表示该道岔的状态,取值0、1或2,其中,0表示道岔在定位,1表示道岔在反位,2表示道岔处于四开状态;(7)XName1表示该节点下行方向直股邻接节点名称;(8)XName2表示该节点下行方向弯股邻接节点名称(当道岔下行方向只有一个邻接点时取NULL)。The data format of a turnout node can be set as an octet SW=<DevID, Type, Name, Mileage, TrackName, State, XName1, XName2>, wherein: (1) DevID represents the device number of the turnout node; (2 )Type indicates the type of the node, take "SW"; (3) Name indicates the name of the switch; (4) Mileage indicates the kilometer value of the switch; (5) TrackName indicates the name of the track section to which the switch belongs; (6 )State indicates the state of the turnout, with a value of 0, 1 or 2, where 0 indicates that the switch is in position, 1 indicates that the switch is in reverse position, and 2 indicates that the switch is in a four-way state; (7) XName1 indicates that the node is in the down direction straight The name of the adjacent node; (8) XName2 indicates the name of the adjacent node of the bent strand in the downward direction of the node (NULL is used when there is only one adjacent node in the downward direction of the switch).
一个道岔区段节点的数据格式可设定为一个六元组G=<DevID,Type,Name,State,CF,Code>,其中:(1)DevID表示该道岔区段节点的设备编号;(2)Type表示该节点的类型,取“G”;(3)Name表示道岔区段的名称;(4)State表示该轨道区段的状态,取0、1、2、3,分别表示空闲、占用、故障占用和分路不良。(5)CF表示该轨道区段的载频,取枚举值,如“1700-2”、“2300-1”等;(6)Code表示该轨道区段的低频码信息,取枚举值,“HU”、“L”等。The data format of a turnout section node can be set as a six-tuple G=<DevID, Type, Name, State, CF, Code>, wherein: (1) DevID represents the equipment number of the turnout section node; (2 )Type indicates the type of the node, take "G"; (3) Name indicates the name of the turnout section; (4) State indicates the state of the track section, taking 0, 1, 2, 3, respectively indicating idle and occupied , Fault occupation and poor shunt. (5) CF represents the carrier frequency of the track segment, and takes an enumeration value, such as "1700-2", "2300-1" and so on; (6) Code represents the low frequency code information of the track segment, and takes an enumeration value , "HU", "L", etc.
一个无岔区段节点的数据格式可设定为一个七元组W=<DevID,Type,Name,State,CF,Code,XName>,其中:(1)DevID表示该无岔区段节点的编号;(2)Type表示该节点的类型,取“W”;(3)Name表示该无岔区段的名称;(4)State表示该无岔区段的状态,取0、1、2、3,分别表示空闲、占用、故障占用和分路不良;(5)CF表示该无岔区段的载频,取枚举值,如“1700-2”、“2300-1”等;(6)Code表示该无岔区段的低频码信息,取枚举值,“HU”、“L”等;(7)XName表示该节点下行方向的邻接节点名称,若不存在则取NULL。The data format of a no-fork section node can be set as a seven-tuple W=<DevID, Type, Name, State, CF, Code, XName>, wherein: (1) DevID represents the number of this no-fork section node ; (2) Type indicates the type of the node, take "W"; (3) Name indicates the name of the fork-free section; (4) State indicates the state of the fork-free section, take 0, 1, 2, 3 , which respectively represent free, occupied, fault occupied and poor branching; (5) CF represents the carrier frequency of the no-fork section, taking enumerated values, such as "1700-2", "2300-1" and so on; (6) Code indicates the low-frequency code information of the non-fork section, and takes enumerated values such as "HU", "L" and so on; (7) XName indicates the name of the adjacent node in the downlink direction of the node, and takes NULL if it does not exist.
一个应答器节点的数据格式可设定为一个八元组B=<DevID,Type,Name,Mileage,Subtype,Number,Message,XName>,其中:(1)DevID表示该应答器节点的设备编号;(2)Type表示该节点的类型,取“B”;(3)Name表示该应答器的名称;(4)Mileage表示该应答器的公里标;(5)Subtype表示该应答器的类型,取值0或1,0表示无源应答器,1表示有源应答器;(6)Number表示该应答器的编号;(7)Message表示该应答器中存储的报文信息(十六进制存储);(8)XName表示该节点下行方向的邻接节点名称,若不存在则取NULL。The data format of a responder node can be set as an octet B=<DevID, Type, Name, Mileage, Subtype, Number, Message, XName>, wherein: (1) DevID represents the device number of the responder node; (2) Type represents the type of the node, take "B"; (3) Name represents the name of the transponder; (4) Mileage represents the mileage mark of the transponder; (5) Subtype represents the type of the transponder, and takes The value is 0 or 1, 0 indicates a passive transponder, 1 indicates an active transponder; (6) Number indicates the number of the transponder; (7) Message indicates the message information stored in the transponder (hexadecimal storage ); (8) XName represents the name of the adjacent node in the downlink direction of the node, and if it does not exist, it takes NULL.
一个变曲率节点(曲线节点)的数据格式可设定为一个十一元组C=<ID, Type,Name,Mileage,Value,Pos,Angle,XCurType,SCurType,XName,SName>,其中:(1)ID表示该曲线节点的属性编号(非拓扑编号);(2)Type表示该节点的类型;(3)Name表示该曲线节点的名称;(4)Mileage表示该曲线节点的公里标;(5)Value表示该曲线节点的曲率值;(6)Pos表示该曲线节点的坐标,由笛卡尔坐标系下的x,y,z坐标值组成;(7)Angle表示该曲线节点的切线方位角(°);(8)XCurType表示下行侧曲线的类型,直线取0,缓和圆曲线取±1,圆曲线取±2;±的取值与轨道的走向有关,其中,左向取负,右向取正;(9)SCurType表示上行侧曲线的类型,取值同XCurType;(10)XName表示该节点下行侧的邻接点名称,不存在时取NULL;(11)SName表示该节点上行侧的邻接点名称,不存在时取NULL。The data format of a variable curvature node (curve node) can be set as an eleven-tuple C=<ID, Type, Name, Mileage, Value, Pos, Angle, XCurType, SCurType, XName, SName>, wherein: (1 ) ID indicates the attribute number (non-topological number) of the curve node; (2) Type indicates the type of the node; (3) Name indicates the name of the curve node; (4) Mileage indicates the mileage mark of the curve node; (5) )Value represents the curvature value of the curve node; (6) Pos represents the coordinates of the curve node, which is composed of x, y, z coordinate values in the Cartesian coordinate system; (7) Angle represents the tangent azimuth of the curve node ( °); (8) XCurType indicates the type of the downward curve, the straight line takes 0, the transitional circular curve takes ±1, and the circular curve takes ±2; Take positive; (9) SCurType indicates the type of the uplink curve, and the value is the same as XCurType; (10) XName indicates the name of the adjacency point on the downlink side of the node, and takes NULL if it does not exist; (11) SName indicates the adjacency on the uplink side of the node Point name, if it does not exist, take NULL.
本实施例中,通过上述数据格式对节点进行描述,可便于在列控数据拓扑模型中获取节点时相应获取该节点的所有数据,并可提高列控数据拓扑模型的维护管理效率。In this embodiment, the above data format is used to describe the nodes, which can facilitate the corresponding acquisition of all data of the nodes when the nodes are obtained in the train control data topology model, and can improve the maintenance and management efficiency of the train control data topology model.
需要说明的是,在设定节点的数据格式之后,需通过数据格式将仿真数据对应转换为用以构建列控数据拓扑模型的节点。It should be noted that after the data format of the nodes is set, the simulation data needs to be correspondingly converted into nodes for constructing the train control data topology model through the data format.
步骤S3:根据列车运行基础环境的实际轨道连接关系确定节点之间的连接关系,并根据连接关系和节点之间的从属关系确定用以构建列控数据拓扑模型的有向边。Step S3: Determine the connection relationship between nodes according to the actual track connection relationship of the basic environment of train operation, and determine the directed edge used to construct the train control data topology model according to the connection relationship and the affiliation relationship between nodes.
其中,列控数据拓扑模型中有向边指向节点中的下行方向邻接点。并且,有向边可通过多元数组的形式进行描述,多元数组中的数据包括:有向边上第一节点的拓扑编号、第一节点信息、与第一节点连接的第二节点的拓扑编号、与第一节点连接的第三节点的拓扑编号,以及与第一节点具有从属关系的第四节点的拓扑编号。Among them, the directed edge in the train control data topology model points to the adjacent point in the downlink direction of the node. Moreover, the directed edge can be described in the form of a multivariate array, and the data in the multivariate array includes: the topological number of the first node on the directed edge, the information of the first node, the topological number of the second node connected to the first node, A topological number of a third node connected to the first node, and a topological number of a fourth node having a subordinate relationship with the first node.
本实施例中,在转换得到用以构建列控数据拓扑模型的节点之后,可定义列控数据拓扑模型中节点之间的边(也即节点之间的拓扑关系),以此形成完整的列控数据拓扑模型。其中,节点之间的关系可分为两类,即连接关系与所属关系。In this embodiment, after the nodes used to construct the train control data topology model are converted, the edges between nodes in the train control data topology model (that is, the topological relationship between nodes) can be defined to form a complete column control data topology model. Among them, the relationship between nodes can be divided into two types, namely connection relationship and belonging relationship.
具体而言,信号设备在铁路线路上有轨道连接,则对应的信号设备节点在列控数据拓扑模型中有连接关系,并且有向边指向节点中定义的下行方向邻接点。以下举例说明绝缘节节点与其他节点之间有连接关系的基本情况: (1)J1、J2为无岔区段W两端的绝缘节,则J1和W之间有连接关系,且J2和W之间也有连接关系;(2)J1、J2、J3为包含单个道岔SW的道岔区段绝缘节,则J1、J2、J3均与SW有连接关系;(3)J1、J2、J3、J4为包含两个道岔SW1、SW2的道岔区段绝缘节,则SW1与SW2有连接关系,J1、J2、J3、J4中有两个与SW1有连接关系,另两个与SW2有连接关系。Specifically, if the signaling equipment has a track connection on the railway line, the corresponding signaling equipment node has a connection relationship in the train control data topology model, and the directed edge points to the adjacent point in the downlink direction defined in the node. The following examples illustrate the basic situation of the connection relationship between the insulating node node and other nodes: (1) J1 and J2 are the insulating nodes at the two ends of the non-fork section W, then there is a connection relationship between J1 and W, and the connection relationship between J2 and W There is also a connection between them; (2) J1, J2, and J3 are the insulation joints of the turnout section containing a single turnout SW, so J1, J2, and J3 are all connected to SW; (3) J1, J2, J3, and J4 are As for the insulating joints of two turnouts SW1 and SW2, SW1 is connected to SW2, two of J1, J2, J3, and J4 are connected to SW1, and the other two are connected to SW2.
若道岔处于某一轨道区段内,则该道岔节点与该轨道区段节点之间有所属关系,并且有向边指向轨道区段节点,轨道区段节点为该节点中的下行方向邻接点。若绝缘节处设置信号机,则该信号机节点与绝缘节点之间有所属关系,并且有向边指向信号机节点,信号机节点为该节点中的下行方向邻接点。If the turnout is in a certain track section, there is an affiliation relationship between the switch node and the track section node, and the directed edge points to the track section node, and the track section node is the adjacency point in the down direction of the node. If a signal is set at the insulating node, there is an affiliation relationship between the signal node and the insulating node, and the directed edge points to the signal node, and the signal node is the adjacent point in the downlink direction of the node.
通过以上对连接关系与所属关系的描述,一节点与其它节点之间的有向边可描述为一个多元数组如五元组E=<TopID,V,ConID1,ConID2,OwnID>,其中:(1)TopID表示该节点即上述第一节点的拓扑编号(所有设备节点唯一区分);(2)V表示信号设备节点信息;(3)ConID1表示具有连接关系的邻接点1即上述第二节点的拓扑编号;(4)ConID2表示具有连接关系的邻接点2即上述第三节点的拓扑编号;(5)OwnID表示具有所属关系的邻接点即上述第四节点的拓扑编号。Through the above description of connection relationship and ownership relationship, the directed edge between a node and other nodes can be described as a multi-element array such as a five-tuple E=<TopID, V, ConID1, ConID2, OwnID>, wherein: (1 )TopID indicates the topology number of the node, that is, the above-mentioned first node (unique distinction of all equipment nodes); (2) V indicates the information of the signal equipment node; (3) ConID1 indicates the topology of the adjacent point 1 that has a connection relationship, that is, the above-mentioned second node number; (4) ConID2 represents the topological number of the adjacent point 2 having a connection relationship, that is, the above-mentioned third node; (5) OwnID represents the topological number of the adjacent point having a belonging relationship, that is, the above-mentioned fourth node.
步骤S4:根据节点和有向边构建列控数据拓扑模型,并通过列控数据拓扑模型对列车运行基础环境进行仿真。Step S4: Build a train control data topology model according to the nodes and directed edges, and simulate the basic environment of train operation through the train control data topology model.
其中,通过列控数据拓扑模型对列车运行基础环境进行仿真,包括:构建列车运行基础环境的三维可视化场景;在三维可视化场景中,对列车的运行状态、位姿信息,以及列车寻径和轨旁设备驱动方式进行仿真。Among them, the train control data topology model is used to simulate the basic environment of train operation, including: constructing a 3D visualization scene of the basic environment of train operation; Simulate by side device driver.
在本发明的一个实施例中,构建列车运行基础环境的三维可视化场景,包括:在列车当前所在线路上选取两个曲线节点;分别获取两个曲线节点的曲率信息、公里标信息和切线方位角信息;根据曲率信息、公里标信息和切线方位角信息确定线路上两个曲线节点之间所有节点的空间位置信息,并根据空间位置信息,生成列车运行基础环境的三维可视化场景。In one embodiment of the present invention, constructing the three-dimensional visualization scene of the basic environment of train operation includes: selecting two curve nodes on the current line of the train; obtaining the curvature information, kilometer mark information and tangent azimuth of the two curve nodes respectively Information; determine the spatial position information of all nodes between two curve nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth angle information, and generate a three-dimensional visualization scene of the basic environment of the train operation based on the spatial position information.
本实施例中,根据铁路平面图的几何特征可知,铁路线路可视为由若干条直线、缓和圆曲线、圆曲线组合而成。由此,可以通过线路变曲率节点(曲线节点)来获取铁路线路的空间信息,并据此生成列车运行基础环境的三维 可视化场景。In this embodiment, according to the geometric features of the railway plan, the railway line can be regarded as composed of several straight lines, transitional circular curves, and circular curves. Therefore, the spatial information of the railway line can be obtained through the line variable curvature node (curve node), and a 3D visualization scene of the basic environment of train operation can be generated accordingly.
对于构建列车运行基础环境的三维可视化场景,为了统一直线、缓和圆曲线、圆曲线上任一点坐标和切线角计算方法,本实施例将上述线段统称为“曲线元”。如图2所示,假设从列控数据拓扑模型中获取列车当前所在线路上的两个曲线节点A、B,并任意选取曲线节点A、B之间的设备节点i。其中,节点A的曲率为ρA,公里标为LA,切线方位角为αA;节点B的曲率为ρB,公里标为LB,切线方位角为α;轨道总长度为LS=LB-LA;节点i的公里为Li,距离曲线节点A的公里值为l=Li-LA。根据上述信息即可计算曲线元上任一点的坐标和切线角,进而可确定线路上两个曲线节点之间所有节点的空间位置信息,由此可获取铁路线路的空间信息,并据此自动生成列车运行基础环境的三维可视化场景。For the three-dimensional visualization scene of constructing the basic environment of train operation, in order to unify the calculation method of the coordinates and tangent angles of any point on the straight line, transitional circular curve, and circular curve, this embodiment refers to the above-mentioned line segments as "curve elements". As shown in Figure 2, it is assumed that two curve nodes A and B on the current line of the train are obtained from the train control data topology model, and the device node i between the curve nodes A and B is arbitrarily selected. Among them, the curvature of node A is ρA, the kilometer is LA, and the tangent azimuth is αA; the curvature of node B is ρB, the kilometer is LB, and the tangent azimuth is α; the total orbital length is LS=LB-LA; node i The kilometer of the distance is Li, and the kilometer value of the distance from the node A of the curve is l=Li-LA. According to the above information, the coordinates and tangent angles of any point on the curve element can be calculated, and then the spatial position information of all nodes between two curve nodes on the line can be determined, so that the spatial information of the railway line can be obtained, and the train can be automatically generated accordingly Run the 3D visualization scene of the basic environment.
在本发明的一个实施例中,在三维可视化场景中,对列车的运行状态进行仿真,包括:以线路公里标起点为原点建立XYZ三维铁路线路坐标系,并以列车质点为原点建立xyz列车局部坐标系;在XYZ三维铁路线路坐标系和xyz列车局部坐标系上确定列车的六个自由度参数,六个自由度参数分别为列车在XYZ三维铁路线路坐标系上的X坐标值、Y坐标值、Z坐标值,以及列车绕xyz列车局部坐标系各个坐标轴旋转得到的列车侧倾值、列车俯仰值和列车横摆值;根据六个自由度参数确定列车的运行状态。In one embodiment of the present invention, in the three-dimensional visualization scene, the running state of the train is simulated, including: establishing an XYZ three-dimensional railway line coordinate system with the starting point of the line kilometer mark as the origin, and establishing an xyz train local area with the train mass point as the origin Coordinate system: determine the six degree of freedom parameters of the train on the XYZ three-dimensional railway line coordinate system and the xyz train local coordinate system, and the six degree of freedom parameters are respectively the X coordinate value and the Y coordinate value of the train on the XYZ three-dimensional railway line coordinate system , Z coordinate value, and the train roll value, train pitch value and train yaw value obtained by rotating the train around each coordinate axis of the xyz train local coordinate system; determine the running state of the train according to the parameters of the six degrees of freedom.
具体的,可以线路公里标起点作为原点,起点初始走向作为X轴正方向、垂直向上为Z轴正方向建立XYZ三维铁路线路坐标系,其中,通过X,Y,Z三个坐标值即可描述空间中的任意一点。由于,铁路线路相对平整且坡度值较小,可在三维建模中忽略坡度因素,故本实施例中,可由XOY面的投影(铁路平面图)来代替铁路中心线。Specifically, the starting point of the line kilometer mark can be used as the origin, the initial direction of the starting point can be used as the positive direction of the X-axis, and the vertical upward direction can be used as the positive direction of the Z-axis to establish an XYZ three-dimensional railway line coordinate system, which can be described by the three coordinate values of X, Y, and Z any point in space. Since the railway line is relatively flat and the slope value is small, the slope factor can be ignored in the three-dimensional modeling, so in this embodiment, the projection of the XOY plane (railway plan) can be used to replace the railway centerline.
进一步的,对列车的运行状态进行仿真,可采用单质点的列车动力学模型,计算列车受力与加速度之间的关系。为了描述列车在空间中的运动特性,可建立车辆局部坐标系即上述的xyz列车局部坐标系。Further, to simulate the running state of the train, a single-mass train dynamics model can be used to calculate the relationship between the force on the train and the acceleration. In order to describe the motion characteristics of the train in space, a vehicle local coordinate system can be established, that is, the aforementioned xyz train local coordinate system.
本实施例中,可以列车质点为坐标系原点建立xyz列车局部坐标系,其中,x轴指向车体正前方,y轴指向车体左侧,z轴指向车体垂直上方。本实施例中,可以此坐标系为基准,通过六个自由度的位姿值P=<X,Y,Z,γ,φ,θ>来描述列车在三维空间中的运行状态。其中,X、Y、Z分别为列车 在全局坐标系即XYZ三维铁路线路坐标系下的坐标值;γ、φ、θ分别是列车绕车辆xyz列车局部坐标系x、y、z轴的旋转值,即列车侧倾值、列车俯仰值和列车横摆值。In this embodiment, the xyz train local coordinate system can be established with the train particle as the origin of the coordinate system, wherein the x-axis points to the front of the car body, the y-axis points to the left side of the car body, and the z-axis points to the vertical top of the car body. In this embodiment, this coordinate system can be used as a reference, and the running state of the train in the three-dimensional space can be described by the pose value P=<X, Y, Z, γ, φ, θ> of six degrees of freedom. Among them, X, Y, and Z are the coordinate values of the train in the global coordinate system, that is, the XYZ three-dimensional railway line coordinate system; γ, φ, and θ are the rotation values of the train around the x, y, and z axes of the vehicle xyz train local coordinate system , that is, the train roll value, train pitch value and train yaw value.
在本发明的一个实施例中,在三维可视化场景中,对列车的位姿信息进行仿真,包括:从列控数据拓扑模型中获取列车当前所在线路的线路类型和线路属性信息,其中,线路类型包括但不限于:直线、缓和圆曲线和圆曲线;根据线路类型和线路属性信息确定每一时刻列车的位姿信息。In one embodiment of the present invention, in the three-dimensional visualization scene, the pose information of the train is simulated, including: obtaining the line type and line attribute information of the line where the train is currently located from the train control data topology model, wherein the line type Including but not limited to: straight line, transitional circular curve and circular curve; determine the pose information of the train at each moment according to the line type and line attribute information.
在本发明的一个实施例中,在三维可视化场景中,对列车寻径方式进行仿真,包括:在列车到达道岔节点时,从列控数据拓扑模型中获取道岔节点的数据格式,并从数据格式中获取道岔节点的状态值、下行方向直股邻节点和下行方向弯股节点;根据道岔节点的状态值选取下行方向直股邻节点或者下行方向弯股节点作为列车的前方节点,以完成列车寻径。In one embodiment of the present invention, in the three-dimensional visualization scene, the train routing method is simulated, including: when the train arrives at the switch node, the data format of the switch node is obtained from the train control data topology model, and the data format is obtained from the data format Obtain the state value of the turnout node, the straight-stretch adjacent node in the downward direction, and the bent-stretch node in the downward direction; according to the state value of the turnout node, select the straight-stretch adjacent node in the downward direction or the bent-stretch node in the downward direction as the front node of the train to complete the train search. path.
具体的,由于列车的行驶路径是由道岔所决定的,故列车寻径仿真的关键在于对道岔的描述和列车遇到道岔时的处理过程。如上述节点的数据格式相关内容所述,可将道岔节点设定为SW=<DevID,Type,Name,Mileage,TrackName,State,XName1,XName2>。所以,当列车到达道岔节点时,可在列控数据拓扑模型中获取该节点的数据格式即获取节点数据,并从该节点数据中获取SW.State值,以及根据该节点的SW.State值选取SW.XName1或者SW.XName2作为列车前方节点,从而完成列车寻径的过程。Specifically, since the travel path of the train is determined by the turnout, the key to the train routing simulation lies in the description of the turnout and the processing process when the train encounters the turnout. As described in the related content of the above node data format, the switch node can be set as SW=<DevID, Type, Name, Mileage, TrackName, State, XName1, XName2>. Therefore, when the train arrives at the turnout node, the data format of the node can be obtained in the train control data topology model, that is, the node data can be obtained, and the SW.State value can be obtained from the node data, and according to the SW.State value of the node, select SW.XName1 or SW.XName2 is used as the node in front of the train to complete the process of train routing.
本实施例中,列车到达道岔节点时才进行仿真数据的查询,从而使得查询仿真列车前方节点数据的时间复杂度为O(1),进而提升了仿真系统的实时性。In this embodiment, the simulation data query is performed when the train arrives at the turnout node, so that the time complexity of querying the node data in front of the simulated train is O(1), thereby improving the real-time performance of the simulation system.
在本发明的一个实施例中,在三维可视化场景中,对轨旁设备驱动方式进行仿真,包括:在列车到达应答器节点时,列车向轨旁仿真模块发送应答驱动信息;轨旁仿真模块接收应答驱动信息,并从列控数据拓扑模型中获取应答器节点的数据格式;轨旁仿真模块从应答器节点的数据格式中获取应答器存储的报文信息,并将报文信息发送至车载仿真模块,以完成应答器的驱动仿真;在列车到达绝缘节节点时,列车从列控数据拓扑模型中搜索获取道岔节点或无岔区段节点,并根据搜索的结果更新列车当前占用的轨道区段信息。In one embodiment of the present invention, in the three-dimensional visualization scene, the driving mode of the trackside equipment is simulated, including: when the train arrives at the transponder node, the train sends the response driving information to the trackside simulation module; the trackside simulation module receives Respond to the driving information, and obtain the data format of the balise node from the train control data topology model; the trackside simulation module obtains the message information stored by the balise from the data format of the balise node, and sends the message information to the on-board simulation module to complete the driving simulation of the transponder; when the train arrives at the insulating node, the train searches for the switch node or the node of the non-fork section from the train control data topology model, and updates the track section currently occupied by the train according to the search result information.
具体的,轨旁设备主要包括应答器、轨道电路、道岔、信号机,其中应答器与轨道电路的驱动与列车有关。如上述节点的数据格式相关内容所述,可将应答器节点设定为B=<DevID,Type,Name,Mileage,Number,Message,XName>,绝缘节节点设定为J=<DevID,Type,Name,Mileage,Signal,XName>。当列车到达应答器节点时,列车向轨旁仿真模块发送应答驱动信息,轨旁仿真模块可在列控数据拓扑模型中获取所述应答器节点的数据格式即获取应答器节点数据,并从中获取所述应答器存储的报文信息,然后向车载仿真模块发送该报文信息。当列车到达绝缘节节点时,列车可从列控数据拓扑模型中搜索以获取道岔节点或无岔区段节点,然后更新列车当前占用的轨道区段信息,并根据需要将仿真信息发送给其他单元。Specifically, the trackside equipment mainly includes transponders, track circuits, switches, and signal machines, wherein the transponders are related to the drive of the track circuits and the trains. As described in the data format related content of the above nodes, the transponder node can be set as B=<DevID, Type, Name, Mileage, Number, Message, XName>, and the insulation node node can be set as J=<DevID, Type, Name, Mileage, Signal, XName>. When the train arrives at the balise node, the train sends response driving information to the trackside simulation module, and the trackside simulation module can obtain the data format of the balise node in the train control data topology model, that is, obtain the balise node data, and obtain The message information stored by the transponder is then sent to the vehicle simulation module. When the train arrives at the insulating joint node, the train can search the topological model of the train control data to obtain the switch node or the no-branch section node, then update the track section information currently occupied by the train, and send the simulation information to other units as needed .
在本发明的一个实施例中,该方法还包括:对列控数据拓扑模型进行正确性校验。In an embodiment of the present invention, the method further includes: checking the correctness of the train control data topology model.
其中,对列控数据拓扑模型进行正确性校验,包括:在对每个节点数据进行存储时,对每个节点数据进行合法性校验;以及,将列控数据拓扑模型的拓扑关系与列控工程数据中的进路信息表进行比对校验。Among them, the correctness verification of the train control data topology model includes: when storing each node data, the legitimacy of each node data is verified; and the topological relationship of the train control data topology model and the column The route information table in the control engineering data is compared and verified.
本实施例中,对每个节点数据进行合法性校验,包括:对每个节点数据的数值格式、数值类型、数值范围和数值逻辑进行校验。In this embodiment, checking the validity of each node data includes: checking the value format, value type, value range and value logic of each node data.
具体的,对于已经建立的列控数据拓扑模型,如上所述可用于向列车运行仿真环境提供数据输入。然而,在实际建模过程中,相关人员根据信号平面布置图和列控工程数据表,人工地将上述信号设备和线路属性信息填写至列控数据管理软件中。对于大型站场线路而言,其列控数据复杂繁多,人工输入大量信息难免发生错误,这将造成列控数据拓扑模型的正确性问题。Specifically, the established train control data topology model can be used to provide data input to the train operation simulation environment as described above. However, in the actual modeling process, relevant personnel manually fill in the above-mentioned signal equipment and line attribute information into the train control data management software according to the signal layout diagram and the train control engineering data sheet. For large-scale station lines, the train control data is complicated and numerous, and errors will inevitably occur in the manual input of a large amount of information, which will cause the correctness of the train control data topology model.
对于属性数值方面的错误,可以在存储每个节点数据时对其合法性进行检验。举例而言,数值格式:各类数据有特定的格式,如节点的公里标采用“KXXX+XXX”的格式,应答器编号采用“大区号-分区号-车站号-应答器单元编号-组内标号”的格式等;数值类型:不同的属性应采用不同的数据类型表示,列控数据拓扑模型中的数据类型主要有字符型、整型、浮点型、枚举型等,如公里标为字符型、节点编号为整型、坡度值为浮点型等;数值范围:数值范围主要由数据含义和节点定义方式确定,如线路的限速值不能为负数,道岔的状态信息只能取定义的枚举值;数值逻辑:数值之间的逻辑关 系主要存在于线路属性中,可根据线路属性对数值逻辑进行校验。For errors in attribute values, the legitimacy can be checked when storing each node data. For example, numerical format: all kinds of data have specific formats, such as the format of "KXXX+XXX" for the mileage mark of a node, and the format of "region code-partition number-station number-transponder unit number-inner group" for the transponder number Label" format, etc.; value type: different attributes should be represented by different data types, and the data types in the train control data topology model mainly include character type, integer type, floating point type, enumeration type, etc. Character type, node number is integer type, slope value is floating point type, etc.; value range: the value range is mainly determined by the data meaning and node definition method. For example, the speed limit value of the line cannot be negative, and the status information of the turnout can only be defined Enumeration value; numerical logic: the logical relationship between values mainly exists in the line attribute, and the numerical logic can be verified according to the line attribute.
对于拓扑关系(列控数据拓扑模型中信号设备节点之间的连接关系和所属关系)方面的错误,需要在整个列控数据拓扑模型输入后才可以进行检验。需要说明的是,列控数据拓扑模型的拓扑关系应与进路信息表一致,故本实施例中,检验拓扑关系是否正确的方式为通过简单路径矩阵算法,找到列控数据拓扑模型中可以覆盖所有进路的长进路集合,然后将长进路集合中的元素与进路信息表进行比对,以对拓扑关系的正确性进行校验。For errors in the topological relationship (connection relationship and affiliation relationship between signal equipment nodes in the train control data topology model), it can be checked only after the entire train control data topology model is input. It should be noted that the topological relationship of the train control data topology model should be consistent with the route information table. Therefore, in this embodiment, the way to check whether the topological relationship is correct is to use the simple path matrix algorithm to find the data that can be covered in the train control data topology model. The long route set of all routes, and then compare the elements in the long route set with the route information table to verify the correctness of the topological relationship.
下面以图3所示的示例站场平面图为例,并结合附图4-13对本发明作进一步详细说明。The present invention will be further described in detail below by taking the example station plan shown in FIG. 3 as an example and in conjunction with the accompanying drawings 4-13.
如图4所示,列车运行基础环境仿真所需的仿真数据均可从列控工程数据相应的表格中获取,其主要由信号设备与线路属性数据构成。信号设备部分包括了信号机、道岔、轨道电路和应答器,线路属性包括了线路坡度、断链、限速、分相区和隧道。然后根据对节点的数据格式的设定方式,将上述仿真环境所需的列控数据抽象转换为对应的节点。As shown in Figure 4, the simulation data required for the simulation of the basic environment of train operation can be obtained from the corresponding tables of the train control engineering data, which are mainly composed of signal equipment and line attribute data. The signal equipment part includes signals, turnouts, track circuits and transponders, and the line properties include line slope, broken chain, speed limit, phase separation area and tunnel. Then, according to the setting method of the data format of the nodes, the train control data required by the above-mentioned simulation environment is abstractly transformed into corresponding nodes.
如图5所示,获得节点之后,根据连接关系的定义建立节点之间实际轨道连接关系。如图6所示,根据所属关系的定义,建立道岔节点与轨道区段节点之间、信号机节点与绝缘节节点之间的有向边。如图7所示,根据上述连接关系和所属关系的定义,采用有向边连接各类节点,最终形成图4中的拓扑数据模型即列控数据拓扑模型。As shown in Figure 5, after the nodes are obtained, the actual track connection relationship between the nodes is established according to the definition of the connection relationship. As shown in Figure 6, according to the definition of the belonging relationship, the directed edges between the switch node and the track section node, and between the signal node and the insulation node node are established. As shown in Figure 7, according to the definition of the above-mentioned connection relationship and ownership relationship, the directed edges are used to connect various nodes, and finally the topological data model in Figure 4 is formed, that is, the train control data topology model.
需要说明的是,列控数据拓扑模型的属性数值方面正确性检查已经在上述实施例中详细描述,下面主要介绍拓扑关系方面正确性检查的实施方式。为了提高进路搜索的效率,故首先对列控数据拓扑模型中与进路信息无关的节点和有向边进行简化:删除道岔区段节点、删除信号机节点、删除不设置信号机的绝缘节节点、删除应答器节点、将无岔区段节点转化为有向边的权值、向道岔节点的出边添加权值。如图8所示,简化后的列控数据拓扑模型中的节点的数量由53个简化到17个,并且图8中详细标注了各个节点的拓扑编号与节点名称。It should be noted that the correctness check of the attribute value of the train control data topology model has been described in detail in the above embodiments, and the following mainly introduces the implementation manner of the correctness check of the topological relationship. In order to improve the efficiency of route search, firstly, the nodes and directed edges in the train control data topology model that have nothing to do with the route information are simplified: delete the switch section node, delete the signal machine node, delete the insulation node without signal machine node, delete the transponder node, convert the non-fork section node into the weight of the directed edge, and add the weight to the outgoing edge of the turnout node. As shown in Figure 8, the number of nodes in the simplified train control data topology model has been simplified from 53 to 17, and the topology number and node name of each node are marked in detail in Figure 8.
如图9所示,通过简化后的列控数据拓扑模型可得到相应的形变邻接矩阵。在形变邻接矩阵中,可以清楚地看到任一节点的邻接点,如节点12的下行邻接点为4,节点15的下行邻接点为16和17。由此,根据简单路径矩阵 算法,通过迭代计算可以查找到列控数据拓扑模型中的所有长度的简单路径。其中,迭代至第7次时终止,也即简单路径矩阵P8为全零矩阵,列控数据拓扑模型中最长的简单路径长度为7。如图10所示,以P7为例展示了迭代计算的结果。As shown in Figure 9, the corresponding deformed adjacency matrix can be obtained through the simplified topological model of column control data. In the deformed adjacency matrix, the adjacency points of any node can be clearly seen, for example, the downlink adjacency point of node 12 is 4, and the downlink adjacency points of node 15 are 16 and 17. Therefore, according to the simple path matrix algorithm, simple paths of all lengths in the column control data topology model can be found through iterative calculations. Wherein, the iteration is terminated at the seventh time, that is, the simple path matrix P8 is an all-zero matrix, and the longest simple path length in the column control data topology model is 7. As shown in Figure 10, the result of iterative calculation is shown by taking P7 as an example.
由于进路的始端与终端均为信号机,故仅保留以绝缘节节点为始终节点的简单路径,其结果如图11所示。对于拓扑关系的检验而言,并不需要整个下行咽喉所有进路信息,因为短进路的拓扑信息包含于长进路中,故仅需能够体现整个咽喉拓扑结构的长进路即可。将进路信息搜索结果简化后,再根据节点的拓扑编号,将其转化为节点的名称信息以及有向边权值信息,可获取列控数据拓扑模型的拓扑关系检验信息,如图12所示。其中1号进路的解析结果,如图13所示。进一步的,将解析后的拓扑关系检验信息与列控工程数据中的进路信息表进行比对,即可保障列控数据拓扑模型中拓扑关系的正确性。Since the start and end of the route are signal machines, only the simple path with the insulating node as the end node is reserved, and the result is shown in Figure 11. For the inspection of the topological relationship, it is not necessary to have all the route information of the entire downlink throat, because the topology information of the short route is included in the long route, so only the long route that can reflect the topology of the entire throat is required. After simplifying the route information search results, according to the topology number of the node, it is converted into the name information of the node and the weight information of the directed edge, and the topological relationship inspection information of the topological model of the train control data can be obtained, as shown in Figure 12 . Among them, the analytical results of route 1 are shown in Figure 13. Further, the correctness of the topological relationship in the train control data topology model can be ensured by comparing the analyzed topological relationship inspection information with the route information table in the train control engineering data.
另外,通过列控数据拓扑模型对列车运行基础环境进行仿真,如构建列车运行基础环境的三维可视化场景,和对列车的运行状态、位姿信息,以及列车寻径和轨旁设备驱动方式进行仿真的方式在上文已经进行详细阐述,此处不再赘述。In addition, the train control data topology model is used to simulate the basic environment of train operation, such as building a 3D visualization scene of the basic environment of train operation, and simulating the train's operating status, pose information, and train routing and trackside equipment drive methods The method has been described in detail above and will not be repeated here.
进一步的,本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述的列车运行基础环境的可视化建模方法。Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned visual modeling method for the basic environment of train operation is realized.
进一步的,本发明还提供了一种电子设备,包括处理器和存储器,所述存储器上存储有计算机程序,所述计算机程序被处理器执行时,实现上述的列车运行基础环境的可视化建模方法。Further, the present invention also provides an electronic device, including a processor and a memory, and a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned visual modeling method for the basic environment of train operation is realized .
综上所述,本发明以列控工程数据为直接数据来源,建立用于列车运行基础环境仿真的拓扑数据模型,可提高仿真数据的正确性,并且本发明提供了对列控数据拓扑模型进行正确性校验的方法,从而可有效保障列控数据拓扑模型的正确性;本发明在仿真列车到达关键节点时,才进行仿真数据的查询,使得查询仿真列车前方节点数据的时间复杂度为O(1),进而提升了仿真系统的实时性,并且本发明所建立的列控数据拓扑模型未割裂列控数据之间的关联性,本发明可独立调整任一节点数据而无需连带调整其它节点,从而 满足了仿真系统经常变更数据的需求,提高了仿真数据维护和管理的便利性;另外,本发明中的列控数据拓扑模型包含了信号设备的动态信息、线路及沿线设备的空间信息,使得该模型能够描述仿真环境中各类信号设备的状态,可以直接作为列车运行基础环境三维视景仿真的数据输入,并自动生成三维的列车运行场景,从而能够有效缩短仿真模型的开发周期,提高场景变换的灵活性。In summary, the present invention uses the train control engineering data as a direct data source to establish a topology data model for the simulation of the basic environment of train operation, which can improve the accuracy of the simulation data, and the present invention provides a method for performing a real-time analysis on the train control data topology model. The method for correctness checking, thereby can effectively guarantee the correctness of train control data topological model; The present invention just carries out the inquiry of simulation data when simulation train arrives key node, makes the time complexity of query simulation train front node data be 0 (1), thereby improving the real-time performance of the simulation system, and the train control data topology model established by the present invention does not split the correlation between the train control data, and the present invention can independently adjust any node data without jointly adjusting other nodes , so as to meet the needs of the simulation system to change data frequently, and improve the convenience of simulation data maintenance and management; in addition, the train control data topology model in the present invention includes the dynamic information of the signal equipment, the spatial information of the line and the equipment along the line, The model can describe the status of various signal equipment in the simulation environment, and can be directly used as the data input for the 3D visual simulation of the basic environment of train operation, and automatically generate a 3D train operation scene, thereby effectively shortening the development cycle of the simulation model and improving The flexibility of changing scenes.
尽管本发明的内容已经通过上述优选实施例作了详细介绍,但应当认识到上述的描述不应被认为是对本发明的限制。在本领域技术人员阅读了上述内容后,对于本发明的多种修改和替代都将是显而易见的。因此,本发明的保护范围应由所附的权利要求来限定。Although the content of the present invention has been described in detail through the above preferred embodiments, it should be understood that the above description should not be considered as limiting the present invention. Various modifications and alterations to the present invention will become apparent to those skilled in the art upon reading the above disclosure. Therefore, the protection scope of the present invention should be defined by the appended claims.

Claims (18)

  1. 一种列车运行基础环境的可视化建模方法,其特征在于,包括:A visual modeling method for the basic environment of train operation, characterized in that it includes:
    获取列控工程数据,并从所述列控工程数据中提取待仿真的列车运行基础环境的仿真数据;Obtain train control engineering data, and extract the simulation data of the basic environment of train operation to be simulated from the train control engineering data;
    将所述仿真数据对应转换为用以构建列控数据拓扑模型的节点;Correspondingly converting the simulation data into nodes for constructing a train control data topology model;
    根据所述列车运行基础环境的实际轨道连接关系确定节点之间的连接关系,并根据所述连接关系和节点之间的从属关系确定用以构建所述列控数据拓扑模型的有向边;determining the connection relationship between nodes according to the actual track connection relationship of the basic train operation environment, and determining the directed edge for constructing the train control data topology model according to the connection relationship and the affiliation relationship between nodes;
    根据所述节点和所述有向边构建所述列控数据拓扑模型,并通过所述列控数据拓扑模型对所述列车运行基础环境进行仿真。The train control data topology model is constructed according to the nodes and the directed edges, and the train operation basic environment is simulated through the train control data topology model.
  2. 如权利要求1所述的列车运行基础环境的可视化建模方法,其特征在于,所述仿真数据包括:沿线信号设备信息和线路属性信息;其中,所述沿线信号设备信息包括但不限于:信号机信息、道岔信息、轨道电路信息和应答器信息;所述线路属性信息包括但不限于:线路坡度信息、线路断链信息、线路限速信息、线路分相区信息和线路隧道信息。The visual modeling method for the basic environment of train operation according to claim 1, wherein the simulation data includes: signal equipment information along the line and line attribute information; wherein, the signal equipment information along the line includes but is not limited to: signal Machine information, turnout information, track circuit information and transponder information; the line attribute information includes but not limited to: line slope information, line broken link information, line speed limit information, line phase separation area information and line tunnel information.
  3. 如权利要求2所述的列车运行基础环境的可视化建模方法,其特征在于,将所述沿线信号设备信息转换为构建所述列控数据拓扑模型的节点,并将所述线路属性信息与所述节点中的轨道区段节点进行关联。The visual modeling method of the basic environment of train operation according to claim 2, wherein the signal equipment information along the line is converted into nodes for constructing the train control data topology model, and the line attribute information is combined with the The track segment nodes in the above nodes are associated.
  4. 如权利要求1所述的列车运行基础环境的可视化建模方法,其特征在于,在将所述仿真数据对应转换为用以构建列控数据拓扑模型的节点之前,对节点的数据格式进行设定,其中,对于不同的节点设定不同的数据格式。The visual modeling method of the basic environment of train operation according to claim 1, wherein the data format of the nodes is set before correspondingly converting the simulation data into nodes for constructing the train control data topology model , where different data formats are set for different nodes.
  5. 如权利要求4所述的列车运行基础环境的可视化建模方法,其特征在于,通过所述数据格式将所述仿真数据对应转换为用以构建所述列控数据拓扑模型的节点。The visual modeling method for the basic environment of train operation according to claim 4, characterized in that the simulation data is correspondingly converted into nodes for constructing the train control data topology model through the data format.
  6. 如权利要求1所述的列车运行基础环境的可视化建模方法,其特征在于,所述列控数据拓扑模型中有向边指向节点中的下行方向邻接点。The visual modeling method for the basic environment of train operation according to claim 1, characterized in that, the directed edges in the train control data topology model point to the adjacent points in the downlink direction of the nodes.
  7. 如权利要求6所述的列车运行基础环境的可视化建模方法,其特征在于,所述有向边通过多元数组的形式进行描述,所述多元数组中的数据包括: 所述有向边上第一节点的拓扑编号、所述第一节点信息、与所述第一节点连接的第二节点的拓扑编号、与所述第一节点连接的第三节点的拓扑编号,以及与所述第一节点具有从属关系的第四节点的拓扑编号。The visual modeling method for the basic environment of train operation according to claim 6, wherein the directed edge is described in the form of a multivariate array, and the data in the multivariate array includes: The topological number of a node, the first node information, the topological number of the second node connected to the first node, the topological number of the third node connected to the first node, and the topological number of the first node The topology number of the fourth node with affiliation.
  8. 如权利要求1所述的列车运行基础环境的可视化建模方法,其特征在于,通过所述列控数据拓扑模型对所述列车运行基础环境进行仿真,包括:The visual modeling method of the basic environment of train operation according to claim 1, characterized in that simulating the basic environment of train operation through the train control data topology model includes:
    构建所述列车运行基础环境的三维可视化场景;Constructing a three-dimensional visualization scene of the basic environment of train operation;
    在所述三维可视化场景中,对所述列车的运行状态、位姿信息,以及列车寻径和轨旁设备驱动方式进行仿真。In the three-dimensional visualization scene, the train running state, pose information, and train routing and trackside equipment driving methods are simulated.
  9. 如权利要求8所述的列车运行基础环境的可视化建模方法,其特征在于,构建所述列车运行基础环境的三维可视化场景,包括:The visual modeling method of the train operation basic environment as claimed in claim 8, characterized in that, constructing the three-dimensional visualization scene of the train operation basic environment comprises:
    在所述列车当前所在线路上选取两个曲线节点;Select two curve nodes on the line where the train is currently located;
    分别获取两个所述曲线节点的曲率信息、公里标信息和切线方位角信息;Obtaining curvature information, kilometer mark information, and tangent azimuth information of the two curve nodes respectively;
    根据所述曲率信息、所述公里标信息和所述切线方位角信息确定所述线路上两个所述曲线节点之间所有节点的空间位置信息,并根据所述空间位置信息,生成所述列车运行基础环境的三维可视化场景。Determine the spatial position information of all nodes between the two curved nodes on the line according to the curvature information, the kilometer mark information and the tangent azimuth angle information, and generate the train according to the spatial position information Run the 3D visualization scene of the basic environment.
  10. 如权利要求8所述的列车运行基础环境的可视化建模方法,其特征在于,在所述三维可视化场景中,对所述列车的运行状态进行仿真,包括:The visual modeling method of the train operation basic environment according to claim 8, wherein, in the three-dimensional visualization scene, simulating the operation state of the train includes:
    以线路公里标起点为原点建立XYZ三维铁路线路坐标系,并以列车质点为原点建立xyz列车局部坐标系;Establish the XYZ three-dimensional railway line coordinate system with the starting point of the line mileage mark as the origin, and establish the xyz train local coordinate system with the train mass point as the origin;
    在所述XYZ三维铁路线路坐标系和所述xyz列车局部坐标系上确定所述列车的六个自由度参数,所述六个自由度参数分别为所述列车在所述XYZ三维铁路线路坐标系上的X坐标值、Y坐标值、Z坐标值,以及所述列车绕所述xyz列车局部坐标系各个坐标轴旋转得到的列车侧倾值、列车俯仰值和列车横摆值;Six degrees of freedom parameters of the train are determined on the XYZ three-dimensional railway line coordinate system and the xyz train local coordinate system, and the six degree of freedom parameters are respectively the train in the XYZ three-dimensional railway line coordinate system X coordinate value, Y coordinate value, Z coordinate value, and the train roll value, train pitch value and train yaw value obtained by rotating the train around each coordinate axis of the xyz train local coordinate system;
    根据所述六个自由度参数确定所述列车的运行状态。The running state of the train is determined according to the parameters of the six degrees of freedom.
  11. 如权利要求8所述的列车运行基础环境的可视化建模方法,其特征在于,在所述三维可视化场景中,对所述列车的位姿信息进行仿真,包括:The visual modeling method of the basic environment of train operation according to claim 8, wherein, in the three-dimensional visualization scene, simulating the pose information of the train includes:
    从所述列控数据拓扑模型中获取所述列车当前所在线路的线路类型和线路属性信息,其中,所述线路类型包括但不限于:直线、缓和圆曲 线和圆曲线;Obtain the line type and line attribute information of the line where the train is currently located from the train control data topology model, wherein the line type includes but not limited to: straight line, transitional circular curve and circular curve;
    根据所述线路类型和所述线路属性信息确定每一时刻所述列车的位姿信息。The pose information of the train at each moment is determined according to the line type and the line attribute information.
  12. 如权利要求8所述的列车运行基础环境的可视化建模方法,其特征在于,在所述三维可视化场景中,对列车寻径方式进行仿真,包括:The visual modeling method of the basic environment of train operation according to claim 8, wherein, in the three-dimensional visualization scene, simulating the train routing method includes:
    在所述列车到达道岔节点时,从所述列控数据拓扑模型中获取所述道岔节点的数据格式,并从所述数据格式中获取所述道岔节点的状态值、下行方向直股邻节点和下行方向弯股节点;When the train arrives at the turnout node, obtain the data format of the turnout node from the train control data topology model, and obtain the state value of the turnout node, the downlink straight-line adjacent node and Bending node in the downward direction;
    根据所述道岔节点的状态值选取所述下行方向直股邻节点或者所述下行方向弯股节点作为所述列车的前方节点,以完成列车寻径。According to the state value of the turnout node, the straight-leg adjacent node in the downward direction or the bent-leg node in the downward direction is selected as the front node of the train, so as to complete the train routing.
  13. 如权利要求8所述的列车运行基础环境的可视化建模方法,其特征在于,在所述三维可视化场景中,对轨旁设备驱动方式进行仿真,包括:The visual modeling method of the basic environment of train operation according to claim 8, wherein, in the three-dimensional visualization scene, simulating the drive mode of the trackside equipment includes:
    在所述列车到达应答器节点时,所述列车向轨旁仿真模块发送应答驱动信息;所述轨旁仿真模块接收所述应答驱动信息,并从所述列控数据拓扑模型中获取所述应答器节点的数据格式;所述轨旁仿真模块从所述应答器节点的数据格式中获取所述应答器存储的报文信息,并将所述报文信息发送至车载仿真模块,以完成所述应答器的驱动仿真;When the train arrives at the responder node, the train sends response driving information to the trackside simulation module; the trackside simulation module receives the response driving information, and obtains the response from the train control data topology model the data format of the transponder node; the trackside simulation module obtains the message information stored by the transponder from the data format of the transponder node, and sends the message information to the on-board simulation module to complete the Transponder driver emulation;
    在所述列车到达绝缘节节点时,所述列车从所述列控数据拓扑模型中搜索获取道岔节点或无岔区段节点,并根据搜索的结果更新所述列车当前占用的轨道区段信息。When the train arrives at the insulating node, the train searches for a switch node or a node without a switch section from the train control data topology model, and updates the track section information currently occupied by the train according to the search result.
  14. 如权利要求1所述的列车运行基础环境的可视化建模方法,其特征在于,还包括:对所述列控数据拓扑模型进行正确性校验。The visual modeling method for the basic environment of train operation according to claim 1, further comprising: performing a correctness check on the train control data topology model.
  15. 如权利要求14所述的列车运行基础环境的可视化建模方法,其特征在于,对所述列控数据拓扑模型进行正确性校验,包括:The visual modeling method of the basic environment of train operation according to claim 14, wherein the correctness verification of the train control data topology model includes:
    在对每个节点数据进行存储时,对每个节点数据进行合法性校验;以及,将所述列控数据拓扑模型的拓扑关系与所述列控工程数据中的进路信息表进行比对校验。When storing each node data, check the validity of each node data; and compare the topology relationship of the train control data topology model with the route information table in the train control engineering data check.
  16. 如权利要求15所述的列车运行基础环境的可视化建模方法,其特征在于,对每个节点数据进行合法性校验,包括:对每个节点数据的数值格式、数值类型、数值范围和数值逻辑进行校验。The visual modeling method of the basic environment of train operation according to claim 15, characterized in that, performing a legality check on each node data includes: numerical format, numerical type, numerical range and numerical value of each node data Logic is checked.
  17. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,实现如权利要求1-16中任一项所述的列车运行基础环境的可视化建模方法。A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the visual construction of the basic environment for train operation as described in any one of claims 1-16 is realized. model method.
  18. 一种电子设备,其特征在于,包括处理器和存储器,所述存储器上存储有计算机程序,所述计算机程序被所述处理器执行时,实现如权利要求1-16中任一项所述的列车运行基础环境的可视化建模方法。An electronic device, characterized in that it includes a processor and a memory, and a computer program is stored on the memory, and when the computer program is executed by the processor, the method described in any one of claims 1-16 is realized. A visual modeling method for the basic environment of train operation.
PCT/CN2022/131330 2021-12-27 2022-11-11 Visual modeling method for train operation basic environment, medium, and electronic device WO2023124576A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111613946.1 2021-12-27
CN202111613946.1A CN114266167A (en) 2021-12-27 2021-12-27 Visual modeling method, medium and electronic device for train operation basic environment

Publications (1)

Publication Number Publication Date
WO2023124576A1 true WO2023124576A1 (en) 2023-07-06

Family

ID=80830541

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/131330 WO2023124576A1 (en) 2021-12-27 2022-11-11 Visual modeling method for train operation basic environment, medium, and electronic device

Country Status (2)

Country Link
CN (1) CN114266167A (en)
WO (1) WO2023124576A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114266167A (en) * 2021-12-27 2022-04-01 卡斯柯信号有限公司 Visual modeling method, medium and electronic device for train operation basic environment
CN114859744B (en) * 2022-05-07 2023-06-06 内蒙古云科数据服务股份有限公司 Intelligent application visual control method and system based on big data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007145156A (en) * 2005-11-28 2007-06-14 Hitachi Ltd Method and device for testing train operation control system
WO2015173903A1 (en) * 2014-05-14 2015-11-19 株式会社 日立製作所 Simulation execution device and simulation execution method
CN107933620A (en) * 2017-11-28 2018-04-20 北京交通大学 Train operation control system Data Modeling Method based on route
CN110765553A (en) * 2019-10-30 2020-02-07 北京交通大学 Airport passenger rapid transit system simulation environment construction method based on virtual reality
CN110765555A (en) * 2019-11-26 2020-02-07 中车工业研究院有限公司 Train operation simulation three-dimensional visual display method and device
CN112590878A (en) * 2020-12-11 2021-04-02 中国铁道科学研究院集团有限公司通信信号研究所 Line topology generation method based on column control engineering data table
CN114266167A (en) * 2021-12-27 2022-04-01 卡斯柯信号有限公司 Visual modeling method, medium and electronic device for train operation basic environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007145156A (en) * 2005-11-28 2007-06-14 Hitachi Ltd Method and device for testing train operation control system
WO2015173903A1 (en) * 2014-05-14 2015-11-19 株式会社 日立製作所 Simulation execution device and simulation execution method
CN107933620A (en) * 2017-11-28 2018-04-20 北京交通大学 Train operation control system Data Modeling Method based on route
CN110765553A (en) * 2019-10-30 2020-02-07 北京交通大学 Airport passenger rapid transit system simulation environment construction method based on virtual reality
CN110765555A (en) * 2019-11-26 2020-02-07 中车工业研究院有限公司 Train operation simulation three-dimensional visual display method and device
CN112590878A (en) * 2020-12-11 2021-04-02 中国铁道科学研究院集团有限公司通信信号研究所 Line topology generation method based on column control engineering data table
CN114266167A (en) * 2021-12-27 2022-04-01 卡斯柯信号有限公司 Visual modeling method, medium and electronic device for train operation basic environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Master's Thesis", 1 June 2020, BEIJING JIAOTONG UNIVERSITY, CN, article WANG, YUDI: "A Hardware-in-loop Simulation Design and Implementation of a Train Control System Verification Platform", pages: 1 - 104, XP009546893, DOI: 10.26944/d.cnki.gbfju.2020.003117 *

Also Published As

Publication number Publication date
CN114266167A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2023124576A1 (en) Visual modeling method for train operation basic environment, medium, and electronic device
CN107273236B (en) Interlocking table data security verification method based on track digital modeling
CN102034004A (en) Meta-model-based modeling method for geographical lines of high-speed railway signal system
CN103870623B (en) Preprocessing simulated analysis template for vehicle model
CN103092755B (en) A kind of automatic generation method of train control system test sequence
Massow et al. Deriving HD maps for highly automated driving from vehicular probe data
CN102750553B (en) Recognizing method of wall plane profile
CN103123704A (en) Logistics distribution method based on rich internet property road network
CN110516354A (en) A kind of method, apparatus automatically generating yards design and computer-readable medium
CN107844635A (en) Realize BIM information and traffic simulation information integrated system and its integrated approach
CN103309988A (en) Method for automatically generating rail traffic line database
CN112765753B (en) Public transport super network construction method
CN110555569B (en) Path restoration method, device, equipment and storage medium
CN109993064B (en) Method for extracting connection path between road network nodes in picture
CN109256028A (en) A method of it is automatically generated for unpiloted high-precision road network
CN103064998A (en) Method for setting up three-dimensional virtual scene of railway engineering project
CN109101743A (en) A kind of construction method of high-precision road net model
CN111862303A (en) BIM technology-based subway station pipeline migration and transformation demonstration method
CN101609563A (en) A kind of construction method of binary tree of 3 D model shape features
CN107215362A (en) Middleware adaptation method for trackside system compatible different vendor onboard system
CN105468809A (en) Subway station wiring system and subway plane design method
CN101667219B (en) Optimization method of printed-circuit board test path
CN100476350C (en) Automatic positioning method for global coordinate system under multiple-association engineering chart environment
CN113282978A (en) Method for generating railway station signal plane layout diagram based on BIM model
CN104217051A (en) Data transmission management method based on three-dimensional spacecraft configuration layout and structure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22913838

Country of ref document: EP

Kind code of ref document: A1