CN112464351A - Track line processing method, device, processing equipment and medium - Google Patents

Track line processing method, device, processing equipment and medium Download PDF

Info

Publication number
CN112464351A
CN112464351A CN202011469951.5A CN202011469951A CN112464351A CN 112464351 A CN112464351 A CN 112464351A CN 202011469951 A CN202011469951 A CN 202011469951A CN 112464351 A CN112464351 A CN 112464351A
Authority
CN
China
Prior art keywords
line
curve
data
starting point
track
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011469951.5A
Other languages
Chinese (zh)
Inventor
张二阳
冯领田
侯晓龙
郑旭
敖亚磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou J&T Hi Tech Co Ltd
Original Assignee
Zhengzhou J&T Hi Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou J&T Hi Tech Co Ltd filed Critical Zhengzhou J&T Hi Tech Co Ltd
Priority to CN202011469951.5A priority Critical patent/CN112464351A/en
Publication of CN112464351A publication Critical patent/CN112464351A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Abstract

The invention provides a track line processing method, a track line processing device and a track line processing medium, and relates to the technical field of data processing. The track line processing method may include: obtaining kilometer post line data; processing the kilometer post line data to obtain a line data table; traversing the element data of the plurality of line segments according to the preset line direction and the starting point position of the preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction; and generating a main route of the preset track route according to the traversed target element data. The target element data are obtained based on the element data of the line segments, and then the main line is generated according to the target element data, so that the automatic generation of the main line is realized, the efficiency of generating the main line of the track line is improved, and the waste of human resources is reduced.

Description

Track line processing method, device, processing equipment and medium
Technical Field
The invention relates to the technical field of data processing, in particular to a track line processing method, a track line processing device, track line processing equipment and a medium.
Background
With the development of scientific technology, various track lines are increasing, such as train track lines and high-speed rail track lines. The simulated track circuit can facilitate the simulation of the operation of the vehicle to obtain the operation parameters during the operation of the vehicle, and therefore, the simulation of the track circuit becomes more and more important.
In the related art, a drawing operation is manually input, and the terminal may generate the track line in response to the input drawing operation.
However, in the related art, the drawing operation needs to be manually input to generate the track line, which wastes unnecessary human resources and reduces the efficiency of generating the track line.
Disclosure of Invention
The present invention aims to provide a method, an apparatus, a processing device and a medium for processing a track circuit, so as to solve the problems in the related art that a drawing operation needs to be manually input to generate a track circuit, unnecessary human resources are wasted, and the efficiency of generating the track circuit is reduced.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a track line processing method, including:
obtaining kilometer post line data;
processing the kilometer post line data to obtain a line data table, wherein the line data table comprises: element data of a plurality of line segments;
traversing the element data of the plurality of line segments according to a preset line direction and the starting point position of a preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction;
and generating a main route of the preset track route according to the traversed target element data.
Optionally, traversing the element data of the plurality of line segments according to a preset route direction and a starting point position of a preset track route in the preset route direction to obtain target element data associated with the starting point position and the preset route direction, where the target element data includes:
traversing the element data of the plurality of line segments according to an uplink direction and a first starting point position in the uplink direction to obtain first target element data associated with the first starting point position and the uplink direction;
traversing second target element data associated with a second starting point position and a downlink direction from the element data of the plurality of line segments according to the downlink direction and the second starting point position in the downlink direction;
generating a main route of the preset track route according to the traversed target element data, wherein the main route comprises:
and generating an uplink main line and a downlink main line of the preset track line according to the first target element data and the second target element data respectively.
Optionally, the method further includes:
according to a first ray of each station center position on the first main line in a preset horizontal direction, obtaining a second ray of the station center position on the second main line in the preset horizontal direction;
generating a curve of the central position of the station according to the curve element data of the second main line and the second ray;
performing line lofting on the curve where the central position of the station is located to obtain vertex data of a plurality of line segments where the central position of the station is located;
and correcting the second main line according to the vertex data.
Optionally, the generating a curve of the station center position according to the curve element data of the second main line and the second ray includes:
judging whether the element data of each line segment in the curve element data of the second main line is straight line element data or curve element data;
if the element data of the first line segment is straight line element data, updating the starting point and the starting point direction of the first line segment according to the second ray and the preset offset of the first line segment to obtain a target curve of the first line segment;
if the element data of the second line segment is the curve element number, calculating the starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment, and generating a target curve of the second line segment according to the starting point of the second line segment and the target starting point direction;
the curve of the central position of the station comprises: at least one target curve of the first line segment and at least one target curve of the second line segment.
Optionally, the calculating a starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment includes:
obtaining world coordinates of each point on the second line segment according to the preset offset of the second line segment;
calculating the direction of each point on the second line segment according to the world coordinate of the starting point in each point on the second line segment and the direction of the starting point of the second line segment; and the direction of the starting point in each point on the second line segment is the direction of the target starting point.
Optionally, the modifying the second main line according to the vertex data includes:
respectively acquiring a plurality of vertexes of the second main line, a previous main line of the second main line and a next main line of the second main line;
determining included angle information formed by a first direction vector and a second direction vector, wherein the first direction vector is a vector determined based on the vertex of the second main line and the vertex of the previous main line, and the second direction vector is a vector determined based on the vertex of the second main line and the vertex of the next main line;
and correcting the second main line according to the included angle information.
Optionally, the method further includes:
acquiring platform data, station track data and turnout data of a station center on the preset track line;
and generating a side line of the main line according to the platform data, the station track data and the turnout data.
Optionally, the generating a side line of the main line according to the platform data, the station data, and the switch data includes:
obtaining a reference base line of each station track according to the station data;
obtaining the kilometer post position of the station center according to the station data of the preset track line;
generating curves of the plurality of stations on the reference baseline according to the kilometer post positions;
according to the reference base line, obtaining the lateral deviation of each track relative to the reference base line;
generating curves of the various tracks according to the curves of the station centers and the lateral deviation;
cutting the curves of all the tracks according to the preset station center front length, station center rear length and station center to obtain the cut curves of all the tracks, wherein the cut curves of all the tracks are side lines of the main line;
and generating a turnout line connected to the main line according to the turnout data and the curves of the cut tracks.
Optionally, the method further includes:
acquiring crossover data and turnout data on the preset track line;
judging whether the station track in each station on the preset track line is a crossline track or not according to the crossline data;
if the crossline station track is the crossline station track, acquiring a turnout terminal position and a turnout direction from the turnout data;
and generating a crossover of the station track according to the turnout terminal position and the turnout direction.
Optionally, the generating a crossroad of the station according to the switch end position and the switch direction includes:
generating interpolation points between each track and the turnout terminal position;
and generating the crossover line according to the turnout terminal position, the interpolation point and the turnout direction.
Optionally, the method further includes:
acquiring the variable offset displacement of the vehicle in the process of vehicle operation on the preset track line;
and determining the variable offset displacement of the vehicle, wherein the variable offset displacement corresponds to a starting point in a target line segment in the preset track line.
Determining the direction of the starting point according to the direction vector of the starting point and the position vector of the starting point under the world coordinate;
and calculating the position information of the starting point according to the length from one point in the target line segment to the starting point, the angle information of the direction vector of the starting point under the world coordinate, the angle information of the starting point under the world coordinate, the position vector and the offset of any point in the target line segment under the world coordinate system.
Optionally, the target line segment is a curve, and the method further includes:
determining the radius of the curve according to the arc length in the curve and the length from any point in the curve to the starting point of the curve;
calculating a deflection angle at the offset according to the arc length in the curve, the length from any point in the curve to the starting point of the curve, the radius of a circular curve in the curve, the length of the curve and the direction vector of the angle of any point on the curve under a world coordinate system;
calculating an ultrahigh value according to the radius of the curve and the length of the curve;
and calculating a roll angle according to the ultrahigh value.
In a second aspect, an embodiment of the present invention further provides a track line processing apparatus, including:
the acquisition module is used for acquiring kilometer post line data; processing the kilometer post line data to obtain a line data table, wherein the line data table comprises: element data of a plurality of line segments; traversing the element data of the plurality of line segments according to a preset line direction and the starting point position of a preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction;
and the generating module is used for generating a main route of the preset track route according to the traversed target element data.
Optionally, the obtaining module is configured to traverse the element data of the plurality of line segments according to an uplink direction and a first starting point position in the uplink direction, so as to obtain first target element data associated with the first starting point position and the uplink direction; traversing second target element data associated with a second starting point position and a downlink direction from the element data of the plurality of line segments according to the downlink direction and the second starting point position in the downlink direction;
and the generating module is configured to generate an uplink main line and a downlink main line of the preset track line according to the first target element data and the second target element data, respectively.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring a second ray of the station center position on the second main line in the preset horizontal direction according to the first ray of the station center position on the first main line in the preset horizontal direction;
the first generation module is used for generating a curve of the central position of the station according to the curve element data of the second main line and the second ray;
the second obtaining module is used for performing line lofting on the curve where the central position of the station is located to obtain vertex data of a plurality of line segments where the central position of the station is located;
and the correction module is used for correcting the second main line according to the vertex data.
Optionally, the first generating module is configured to determine whether, in the curve element data of the second main line, element data of each line segment is straight line element data or curve element data; if the element data of the first line segment is straight line element data, updating the starting point and the starting point direction of the first line segment according to the second ray and the preset offset of the first line segment to obtain a target curve of the first line segment; if the element data of the second line segment is the curve element number, calculating the starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment, and generating a target curve of the second line segment according to the starting point of the second line segment and the target starting point direction; the curve of the central position of the station comprises: at least one target curve of the first line segment and at least one target curve of the second line segment.
Optionally, the first generating module is configured to obtain world coordinates of each point on the second line segment according to a preset offset of the second line segment; calculating the direction of each point on the second line segment according to the world coordinate of the starting point in each point on the second line segment and the direction of the starting point of the second line segment; and the direction of the starting point in each point on the second line segment is the direction of the target starting point.
Optionally, the correction module is further configured to obtain a plurality of vertices of the second main line, a previous main line of the second main line, and a next main line of the second main line, respectively; determining included angle information formed by a first direction vector and a second direction vector, wherein the first direction vector is a vector determined based on the vertex of the second main line and the vertex of the previous main line, and the second direction vector is a vector determined based on the vertex of the second main line and the vertex of the next main line; and correcting the second main line according to the included angle information.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring platform data, track data and turnout data of a station center on the preset track line;
and the second generation module is used for generating a side line of the main line according to the platform data, the station track data and the turnout data.
Optionally, the second generating module is further configured to obtain a reference baseline of each track according to the platform data; obtaining the kilometer post position of the station center according to the station data of the preset track line; generating curves of the plurality of stations on the reference baseline according to the kilometer post positions; according to the reference base line, obtaining the lateral deviation of each track relative to the reference base line; generating curves of the various tracks according to the curves of the station centers and the lateral deviation; cutting the curves of all the tracks according to the preset station center front length, station center rear length and station center to obtain the cut curves of all the tracks, wherein the cut curves of all the tracks are side lines of the main line; and generating a turnout line connected to the main line according to the turnout data and the curves of the cut tracks.
Optionally, the apparatus further comprises:
the fourth acquisition module is used for acquiring crossover data and turnout data on the preset track line;
the judging module is used for judging whether the station tracks in all stations on the preset track line are crossover station tracks or not according to the crossover line data;
the fifth acquisition module is used for acquiring a turnout terminal position and a turnout direction from the turnout data if the turnout is the crossover track;
and the third generation module is used for generating the crossover of the station track in each station according to the turnout terminal position and the turnout direction.
Optionally, the third generating module is further configured to generate interpolation points between each track and the switch end point position; and generating the crossover line according to the turnout terminal position, the interpolation point and the turnout direction.
Optionally, the apparatus further comprises:
the sixth acquisition module is used for acquiring the variable offset displacement of the vehicle in the vehicle running process of the preset track line;
the first determining module is used for determining the variable offset displacement of the vehicle, and the variable offset displacement corresponds to a starting point in a target line segment in the preset track line; determining the direction of the starting point according to the direction vector of the starting point and the position vector of the starting point under the world coordinate;
and the first calculation module is used for calculating the position information of the starting point according to the length from one point in the target line segment to the starting point, the angle information of the direction vector of the starting point under the world coordinate, the angle information of the starting point under the world coordinate, the position vector and the offset of any point in the target line segment under the world coordinate system.
Optionally, the target line segment is a curve, and the apparatus further includes:
the second determining module is used for determining the radius of the curve according to the arc length in the curve and the length from any point in the curve to the starting point of the curve;
the second calculation module is used for calculating the deflection angle at the offset according to the arc length in the curve, the length from any point in the curve to the starting point of the curve, the radius of a circular curve in the curve, the length of the curve and the direction vector of the angle of any point on the curve under a world coordinate system; calculating an ultrahigh value according to the radius of the curve and the length of the curve; and calculating a roll angle according to the ultrahigh value.
In a third aspect, an embodiment of the present invention further provides a processing device, including: a memory storing a computer program executable by the processor, and a processor implementing the method of any of the first aspects when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is read and executed, the method of any one of the above first aspects is implemented.
The invention has the beneficial effects that: the embodiment of the invention provides a track line processing method, which comprises the following steps: obtaining kilometer post line data; processing the kilometer post line data to obtain a line data table; traversing the element data of the plurality of line segments according to the preset line direction and the starting point position of the preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction; and generating a main route of the preset track route according to the traversed target element data. The target element data are obtained based on the element data of the line segments, and then the main line is generated according to the target element data, so that the automatic generation of the main line is realized, the efficiency of generating the main line of the track line is improved, and the waste of human resources is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a graph illustrating an exemplary embodiment of the present disclosure;
FIG. 2 is a graph illustrating an exemplary embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a track line processing method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of a track line processing method according to an embodiment of the present invention;
fig. 10 is a schematic flow chart of a track line processing method according to an embodiment of the present invention;
fig. 11 is a schematic flowchart of a track line processing method according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a track line processing device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
The following explains terms, parameter calculations, and line analysis diagrams involved in the track route processing method according to the embodiment of the present application.
Line: the straight line, the curve, the straight line and the curve appear alternately, and the front and the back are communicated end to form a line.
The curve: the curve is composed of a relaxation curve, an arc line and a relaxation curve, and the front relaxation curve and the back relaxation curve of the curve are different for an asymmetric relaxation curve.
Track line: including an ascending line and a descending line.
The relaxation curve has a cubic parabola, a convolution and the like, and the convolution is adopted for simulation in the track line simulation. The convolution curvature k varies linearly with the arc length l, dk is the derivative of k, and dl is the derivative of l. The sign is determined by the direction of deflection, and the convolution can be expressed as:
Figure BDA0002826450470000091
wherein R is the radius of the circular curve, the unit of which is m (meters), which is a known parameter; ls is the total length of the relaxation curve, the unit is m, and is a known parameter; k is the curvature; l is the arc length; dk is the derivative of curvature; dl is the derivative of the arc length.
In order to calculate the data and the shape which reflect the real line more accurately, an asymmetric easing curve is adopted for calculation, and the asymmetric easing curve means that easing curves inserted into two ends of a circular curve are not equal.
Fig. 1 is a graph illustrating a curve analysis provided in an embodiment of the present application, and as shown in fig. 1, curve elements of a relaxation curve are defined as follows:
r is radius of the circular curve, unit: and m is known data.
l1,l2The length of the relaxation curve is known data, and the length of the relaxation curve is two for the asymmetric relaxation curve, and the unit m is known data.
L is the total length of the curve in m, which is known data.
li is the length from any point i on the relaxation curve to the starting point of the relaxation curve, and the input parameter is a known parameter.
a, the line deflection angle is equal to the unit of the included angle of two straight lines intersected with the curve: radians, known data, are unknown to generate a line from the parameters.
β1,β2Maximum deflection angle of the relaxation curve, also called maximum tangent angle, for an asymmetric relaxation curve, the deflection angle is two, in units: and (4) radian.
βiThe deflection angle of any point i on the gentle curve, also called tangent angle, unit: and (4) radian.
p1,p2Inner shift distance, for asymmetric relaxation curve, the inner shift distance has two units: and m is selected.
q1,q2The tangent is lengthened, and for an asymmetric relaxation curve, the tangent is lengthened by two units: and m is selected.
Τ1,Τ2Tangent length, for asymmetric relaxation curve, tangent length has two, unit: and m is selected.
E, external distance, unit: and m is selected.
D, the difference of tangent curvature, namely the tangent length minus the curve length, unit: and m is selected.
Ri is the curve radius of any point i on the easement curve, also called turning radius, in m.
Wherein the maximum deflection angle beta of the relaxation curve1,β2Angle of deflection of any point betaiThe calculation can be obtained by using formula 2 and formula 3:
Figure BDA0002826450470000101
Figure BDA0002826450470000102
tangent extension q1,q2The calculation can be obtained by adopting formula 4:
Figure BDA0002826450470000103
inner displacement p1,p2The calculation can be obtained by adopting formula 5:
Figure BDA0002826450470000104
tangent length t1,Τ2The calculation can be obtained by adopting formula 3:
Figure BDA0002826450470000105
the total length L of the curve can be calculated using equation 7:
Figure BDA0002826450470000106
the outer distance E can be calculated by equation 8:
Figure BDA0002826450470000107
the curve radius Ri of any point i on the relaxation curve can be calculated by using formula 9:
Figure BDA0002826450470000111
after the front and rear relaxation curves are removed, the angle a corresponding to the arc can be obtained according to the line deflection angle a by the formula 10r
ar=a-β12(formula 10)
And (3) solving a curve included angle a according to the full length L and the radius R of the curve by adopting a formula 11:
Figure BDA0002826450470000112
in the embodiment of the application, when the solution is performed in real time, the spatial position, the angle, the direction and the like of any point on the mitigation curve can be solved.
And (3) a relaxation curve rectangular coordinate system, namely taking the starting point of the relaxation curve as the original point, taking the direction of the starting point of the relaxation curve as the x axis, taking the z axis upwards, and determining the y axis by using a right-hand coordinate system.
And in the world coordinate system, the starting point of the whole line is taken as the origin, the starting direction of the first line is taken as the x axis, the z axis is upward, and the y axis is determined by the right-hand coordinate system.
xi,yiThe coordinate value of the gentle curve on the horizontal plane. h isiThe superelevation of any point i of the relaxation curve. Beta is aiThe deflection angle of any point i on the gentle curve, also called tangent angle, unit: radian, solved in equation 3. Ri is the curve radius of any point i on the easement curve, also called the turn radius, in m, and is solved in equation 9.
FIG. 2 is a graph of a curve resolution provided by an embodiment of the present application, as shown in FIG. 2, solving for xi,yi: in a straight lineAnd establishing a rectangular coordinate system by the origin of the initial point ZH.
Equation 12 is a calculation equation for the rectangular coordinates of an arbitrary point i on the relaxation curve:
Figure BDA0002826450470000113
lithe length from one point on the relaxation curve to the starting point of the relaxation curve is expressed in m, and known data is expressed.
After any point position on the easement curve is calculated, according to the coordinate offset and the angle of the starting point, the coordinates are rotated by rotating four elements, and then the offset of the starting point is added to obtain the position of any point, wherein the algorithm is as follows:
qr is a rotation four-element formed by a course angle of a direction vector of a starting point of the easement curve under a world coordinate system.
A0, the heading angle of the starting point of the easement curve in the world coordinate system, and the included angle of the direction vector of the starting point of the easement curve relative to the x axis on the horizontal plane.
Figure BDA0002826450470000121
Representing four elements generated with roll angle 0 radians, pitch angle 0 radians, heading angle a 0.
Figure BDA0002826450470000122
The vector formed by the x and y positions of any point of the relaxation curve in the world coordinate system does not contain the height h.
Figure BDA0002826450470000123
The vector formed by the x and y positions of any point i of the relaxation curve in the rectangular coordinate system of the relaxation curve does not contain the height h.
Figure BDA0002826450470000124
X, y position of starting point of easement curve in world coordinate systemThe composed vector, does not contain height h.
Figure BDA0002826450470000125
The way to solve for aw or the direction vector Vi is as follows:
a0: easing the angle under the world coordinate system at the starting point of the curve; aw: the angle of any point i on the easement curve in the world coordinate system; and Vi: the direction vector of the world coordinate system at any point on the easement curve; qi: rotating four elements of any point i on the relaxation curve; v0: and the starting point on the relaxation curve is a direction vector under the world coordinate system.
aw=a0i,Vi=V0·Qi(formula 14)
Solving for hiSuperelevation h of any point i of the gentle curveiThe formula is as follows:
Figure BDA0002826450470000126
wherein l is the length of the easement curve, unit m, and known parameters; h is the ultrahigh value at the circular curve, unit m, known parameters; liI is the length from any point i to the starting point on the relaxation curve.
The formula for solving the vertex Vv is as follows:
Vv=T·Vd+V0(formula 16)
Vd is a direction vector of a starting point in a world coordinate system; v0: and the position vector of the starting point on the relaxation curve under the world coordinate system.
Coordinate system and noun interpretation in the process of line lofting:
and in the kilometer scale coordinate system Ckm, all given data are kilometer scale data, and the mileage in the data represents a value in the kilometer scale coordinate system and a linear coordinate system.
Offset coordinate system Coffset, the offset of the starting point is 0, and all the real lengths of the curves form the offset coordinate system.
The long and short links are the places where the kilometer posts jump in the line, the places where the kilometer posts repeat are long chains and are represented by positive values, and the places where the kilometer posts are discontinuous are short chains and are represented by negative values.
And the station center coordinate system is a one-dimensional coordinate system taking the station center as an origin, the direction of the kilometer post increasing is positive, and the direction of the kilometer post decreasing is negative.
The conversion formula between the kilometer post coordinate system and the offset coordinate system is as follows:
Coffset=Ckm+ Link (formula 17)
In the track route processing method provided in the embodiment of the present application, the execution main body may be a processing device, and the processing device may be a server, a terminal, or another device having a processing function, which is not specifically limited in the embodiment of the present application.
Fig. 3 is a schematic flowchart of a track line processing method according to an embodiment of the present invention, and as shown in fig. 3, the method may include:
s101, obtaining kilometer post line data.
The kilometer post line data is used for representing starting point mileage and terminal end point mileage of each line in a plurality of lines.
It should be noted that the processing device may respond to an input operation of a user to obtain the kilometer sign line data, may also obtain the kilometer sign line data sent by other devices, and may also obtain the kilometer sign line data in other manners, which is not specifically limited in this embodiment of the present application.
And S102, processing the kilometer post line data to obtain a line data table.
Wherein, the line data table may include: element data of a plurality of line segments. The process of this treatment may be referred to as a process of pretreatment.
In some embodiments, the processing device may calculate the true length of each line according to the kilometer sign data and the long and short chain data; setting the cropping end length of each line as the real length of the current line, and generating line end point offset data, wherein the line end point offset data may be side line end point offset data. When the line is a curve, a plurality of curve elements can be calculated to generate a curve data table; when the line is a straight line, the linear device can be converted into a point device, and the point device is placed into the point device table data after being sorted. For example, the linear device may be a semaphore.
It should be noted that the line data table includes: line end point shift data, curve data table, point device table data. And acquiring the modified long and short chain data based on the accumulated offset of each long and short chain data and the maximum and minimum kilometer post data of the line.
S103, traversing the element data of the line segments according to the preset line direction and the starting position of the preset track line in the preset line direction to obtain target element data associated with the starting position and the preset line direction.
The element data of the plurality of line segments may be a curve data table.
In one possible embodiment, the current point and the current direction are set as the starting point position and the direction in the preset route direction, the curve data table is traversed, and the target element data associated with the starting point position and the preset route direction is acquired from the curve data table.
And S104, generating a main route of the preset track route according to the traversed target element data.
In this embodiment, the processing device may determine parameter information of the main route according to the target element data, and generate the main route of the preset track route based on the parameter information of the main route. For example, the parameter information of the main line may include: direction information, start point information, end point information, etc.
In summary, an embodiment of the present invention provides a track line processing method, where the track line processing method includes: obtaining kilometer post line data; processing the kilometer post line data to obtain a line data table; traversing the element data of the plurality of line segments according to the preset line direction and the starting point position of the preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction; and generating a main route of the preset track route according to the traversed target element data. The target element data are obtained based on the element data of the line segments, and then the main line is generated according to the target element data, so that the automatic generation of the main line is realized, the efficiency of generating the main line of the track line is improved, and the waste of human resources is reduced.
In the embodiment of the present application, the curve elements may include: the maximum deflection angle, the tangent lengthening, the internal shift distance, the tangent length, the external distance, the line deflection angle, the arc corresponding angle and the arc corresponding length. The two maximum deflection angles can be calculated by adopting a formula 2, the tangent lengthening can be calculated according to a formula 4, the inward shift distance can be calculated according to a formula 5, the two tangent lengths can be calculated according to a formula 6, the outer distance can be calculated according to a formula 8, the line deflection angle can be calculated according to a formula 11, and the corresponding angle of the arc can be calculated according to a formula 10.
Optionally, fig. 4 is a flowchart of a track route processing method according to an embodiment of the present invention, as shown in fig. 4, a process of traversing element data of a plurality of line segments according to a preset route direction and a preset starting position of a track route in the preset route direction in S103 to obtain target element data associated with the starting position and the preset route direction may include:
s201, traversing the element data of the plurality of line segments according to the uplink direction and the first starting point position in the uplink direction to obtain first target element data associated with the first starting point position and the uplink direction.
And S202, traversing second target element data related to the second starting point position and the downlink direction in the element data of the line segments according to the downlink direction and the second starting point position in the downlink direction.
The step of generating a main route of the preset track route according to the traversed target element data in S104 may include:
and S203, generating an uplink main line and a downlink main line of the preset track line according to the first target element data and the second target element data respectively.
Wherein the uplink direction and the downlink direction are opposite. Further, an upstream main line may be generated from the first target element data, and a downstream main line may be generated from the second target element data.
In a possible implementation manner, when the line is a straight line, a straight line starting point, a straight line terminal and a straight line direction under world coordinates can be calculated according to the current position direction; when the line is a curve, a starting point and a direction of a front relaxation curve of the curve may be set, an end point of the front relaxation curve may be calculated according to equations 12 and 13, coordinates x and y of a center point of the arc may be calculated, coordinates x and y of a vertex may be calculated according to equation 16, coordinates x and y of the vertex may be calculated according to equations 6, 11, and start point information, an end point and an end direction of the entire curve may be calculated by shifting to calculate the end point and the end direction of the entire curve, the end point and the end direction of the entire curve may be set as a starting point and a starting direction of a back relaxation curve, and an. The profile data may include: based on the coordinates x and y of the center point of the circular arc, the coordinates x and y of the vertex, the terminal point of the post-relaxation curve, the starting point and the terminal point of the straight line and the direction.
Optionally, fig. 5 is a schematic flow chart of a track line processing method provided in an embodiment of the present invention, and as shown in fig. 5, the method may further include:
s301, according to the first ray of the center position of each station on the first main line in the preset horizontal direction, obtaining a second ray of the center position of the station on the second main line in the preset horizontal direction.
Wherein the second ray may be referred to as a station-centric ray.
In one possible implementation, the processing device may record all the curve lengths before correction, and obtain the correspondence between the station center baseline and the current line; when the station center data exist, calculating station center offset data according to a formula 17, and calculating the index position of a station center curve; acquiring the offset of the station center of the correction line relative to the starting point of the correction line; calculating a ray of the center position of the baseline station on the horizontal plane of the world coordinate system by adopting a formula 12 and a formula 13, namely a first ray; moving the ray along the normal on the horizontal plane by the distance between the two lines to generate a ray of the station center of the correction line, namely a second ray;
and S302, generating a curve of the central position of the station according to the curve element data of the second main line and the second ray.
Wherein the curve element data of the second main line is curve data of a modified line; the curve at the center of the station may be referred to as the curve at the point at the center of the station.
And S303, performing line lofting on the curve where the center position of the station is located to obtain vertex data of a plurality of line segments where the center position of the station is located.
Wherein, the website includes: a first station, an intermediate station and a terminal station.
In one possible implementation mode, the processing device can perform lofting forward for the first station in the process of performing line lofting on the curve where the central position of the station is located; for the intermediate station, lofting can be performed on the line segment between the previous station and the current station; lofting may be performed backwards for the terminal.
It should be noted that, when lofting is performed forward from the initial station, the starting point and the starting direction of the next curve are obtained, and the starting point and the starting direction of the next line are used as the end point and the end point direction of the current line to obtain the updated curve information.
In addition, when the terminal station performs lofting backwards, the starting point and the starting direction of the previous curve are obtained, and the starting point and the starting direction of the previous curve are used as the terminal point and the terminal point direction of the current line to obtain the updated curve information.
Optionally, when the intermediate station lofts a line segment between the previous station and the current station, based on the end point and the end point direction of the central curve of the previous station and the start point direction of the central curve of the next station, a line is simultaneously corrected upward and downward from the centers of the previous station and the next station, and when a line remains, a ray is generated according to the end point and the end point direction of the previous line; generating rays according to the starting point and the starting point direction of the next line, and solving the intersection point of the two rays; calculating the vertex of the current curve according to formula 16; judging whether the space error between the vertex and the intersection point is larger than a preset threshold value or not; if so, acquiring an included angle between the two rays, setting a line deflection angle of the curve, and updating curve data according to the intersection point of the two lines and the end point direction of the front line; if not, the end point and the end point direction of the upper line are used as the starting point and the direction of the current line, and the three-dimensional coordinates of the current curve are corrected.
In some embodiments, when there are more lines left, the curve is updated according to the direction of the last line's end and end point as the current curve's start point and start point, and the curve is updated with the direction of the next line's start point and start point as the current line's end point and end point, with the indices of both the last line and the next line being stepped forward.
In addition, when two lines are left, one line is a curve, and two ends of the curve are respectively taken as straight lines, so that the middle is changed into three lines again.
S304, correcting the second main line according to the vertex data.
The modification of the second main line may be modified line data, and the second main line may be a curve.
In the embodiment of the application, according to the revised length and the original length of the second main line, the long and short chain data are updated to ensure that the kilometer table data and the offset data are correctly calculated, the accumulated offset of each long and short chain data is updated, the total length of the line is updated according to the long and short chains, the offset data of the end point of each curve is updated, the starting point and the starting direction of the current line are obtained, and the position and the direction of the starting point are obtained.
It should be noted that, based on the curve data and the long and short chain data, the offset data of the station center is calculated by using formula 17; based on the line end point offset data and the station center offset data, an index position of the station center curve may be calculated. The shift of the station center of the correction line with respect to the starting point of the line can be determined based on the index position of the station center curve and the temporary data of the correspondence between the station center base line and the current line.
Optionally, fig. 6 is a schematic flow chart of a track route processing method according to an embodiment of the present invention, and as shown in fig. 6, a process of generating a curve where the center position of the station is located according to curve element data of the second main route and the second ray in S302 may include:
s401, it is determined whether the element data of each line segment in the curve element data of the second main line is straight line element data or curve element data.
Wherein, processing obtains input parameters, and the input parameters include: ray, offset, curve element data.
S402, if the element data of the first line segment is straight line element data, updating the starting point and the starting point direction of the first line segment according to the second ray and the preset offset of the first line segment to obtain a target curve of the first line segment.
In some embodiments, if the element data of the first line segment is straight line element data, determining a starting point of the straight line, i.e., a starting point and a starting point direction of the first line segment, according to the preset offset of the second ray and the first line segment, and updating three-dimensional world coordinates of the straight line at the starting point and the starting direction.
And S403, if the element data of the second line segment is the curve element number, calculating the starting point target direction of the second line segment according to the preset offset and the starting point direction of the second line segment, and generating the target curve of the second line segment according to the starting point and the target starting point direction of the second line segment.
Wherein, the curve that the station central point position is located includes: a target curve of at least one first line segment and a target curve of at least one second line segment.
Optionally, the step of calculating the starting point and target direction of the second line segment may include:
obtaining world coordinates of each point on the second line segment according to the preset offset of the second line segment; calculating the direction of each point on the second line segment according to the world coordinate of the starting point in each point on the second line segment and the direction of the starting point of the second line segment; the direction of the starting point in each point on the second line segment is the target starting point direction.
The preset offset of the second line segment and the starting point direction of the second line segment may be: the three-dimensional world coordinate of the position corresponding to the preset offset of the second line segment and the three-dimensional world coordinate of the starting point can be calculated by adopting a formula 14 to obtain the starting point target direction of the second line segment, namely the direction vector of the offset, then the starting point target direction is obtained, and the target curve of the second line segment is generated based on the starting point of the second line segment and the target starting point direction.
In one possible implementation, when the offset is less than or equal to 0, the starting point of the curve may be taken as the three-dimensional world coordinate where the offset corresponds to. When the offset is on the curve, for the front relaxation curve, the three-dimensional world coordinates corresponding to the offset can be solved by using formula 12 and formula 13; for the arc line, the tangent lengthening can be calculated by adopting a formula 6, the three-dimensional coordinate of the endpoint of the tangent lengthening is obtained, the three-dimensional coordinate of the arc center point is obtained, the included angle of the offset on the arc line is calculated, and the offset three-dimensional world coordinate is solved according to the circle center, the arc included angle and the radius; for the back easement curve, the end point of the whole curve can be calculated by using formula 6, formula 11, and the information of the starting point and the steering, the offset on the back easement curve is solved, the direction vector of the starting point on the back easement curve is solved, and the three-dimensional world coordinate corresponding to the offset is solved according to formula 12 and formula 13.
And when the offset is greater than or equal to the curve length, calculating the end point of the whole curve according to the formula 6, the formula 11, the starting point information and the steering, and taking the end point of the curve as the three-dimensional world coordinate at the offset.
In this embodiment of the present application, the process of obtaining the three-dimensional coordinates of the arc center point may include: receiving input parameters, the input parameters may include: radius, easement curve length, starting point, starting direction. The inner shift distance can be calculated by adopting a formula 5, the sum of the inner shift distance and the arc radius is used as the offset radius, the direction is rotated by 90 degrees to obtain a direction vector pointing to the circle center, the tangent lengthening is obtained according to a formula 4, the tangent lengthening is moved in the initial direction of the initial point, and then the offset radius is moved by the direction vector pointing to the circle center to obtain the circle center.
Optionally, the step of correcting the second main line according to the vertex data in S304 may include: respectively acquiring a second main line, a plurality of vertexes of a previous main line of the second main line and a next main line of the second main line; determining included angle information formed by the first direction vector and the second direction vector; and correcting the second main line according to the included angle information.
The first direction vector is a vector determined based on a vertex of the second main line and a vertex of the previous main line, and the second direction vector is a vector determined based on a vertex of the second main line and a vertex of the next main line.
In a possible implementation, whether a second line in front of a next main line exists is judged, namely whether a previous line exists is judged; if the first main line exists, determining a second main line, a previous main line and a next main line, and acquiring vertexes corresponding to the second main line, the previous main line and the next main line to obtain three vertexes; and if the vertex does not exist, taking the starting point of the first line as the vertex of the previous line, and acquiring the vertices of the second main line and the next main line to obtain three vertices.
In some embodiments, a first direction vector is determined according to a vertex of a second main line and a vertex of a previous main line, a second direction vector is determined according to the vertex of the second main line and a vertex of a next main line, included angle information between the first direction vector and the second direction vector is calculated, the included angle information is used as a line deflection angle of the second main line, curve data of the second main line is updated, the second main line is updated based on the updated curve data, vertex and direction of the second main line, and the total length of the second main line is recalculated. And updating curve data and the full length of the next line according to the end point of the second main line and the vertex of the next line.
Optionally, fig. 7 is a schematic flow chart of a track line processing method provided in an embodiment of the present invention, and as shown in fig. 7, the method may further include:
s501, platform data, track data and turnout data of a station center on a preset track line are obtained.
The station data may include: track length and track number. The track data may include a starting track start point, a track end point.
And S502, generating a side line of the main line according to the platform data, the station track data and the turnout data.
It should be noted that the side track is connected to the switch, and the switch is connected to the main track.
Optionally, fig. 8 is a schematic flow chart of a track route processing method according to an embodiment of the present invention, as shown in fig. 8, the process of generating a side route of a main route according to the platform data, the track data, and the switch data in S502 may include:
s601, obtaining a reference base line of each station track according to the platform data.
Wherein, when unprocessed tracks still exist in the platform data, a reference baseline of the tracks is obtained; when there is no unprocessed track in the platform data and there is switch data, the process of S607 may be executed.
And S602, obtaining the kilometer post position of the station center according to the station data of the preset track line.
And S603, generating curves of a plurality of stations on the reference base line according to the kilometer post positions.
And S604, obtaining the lateral deviation of each track relative to the reference base line according to the reference base line.
And S605, generating curves of all tracks according to the curves of the station center and the lateral deviation.
Wherein the processing device may eliminate a transition curve in the curve of the track.
S606, cutting curves of all tracks according to the preset station center front length, station center rear length and station center to obtain the cut curves of all tracks.
And the cut curves of all the tracks are side lines of the main line.
In one possible embodiment, the cutting operation of the preset station center front length is performed from the station center forward, and the cutting operation of the preset station center rear length is performed from the station center backward, so that curves of the cut tracks are obtained.
And S607, generating a turnout line connected to the main line according to the turnout data in the curve of each cut station.
It should be noted that the switch data may include: switch kilometer posts, base points, shapes, types, and the like.
Optionally, fig. 9 is a schematic flow chart of a track line processing method provided in an embodiment of the present invention, and as shown in fig. 9, the method may further include:
s701, acquiring crossover data and turnout data on a preset track line.
S702, judging whether the track in each station on the preset track line is a crossover track according to the crossover data.
And S703, if the turnout is a cross line station track, acquiring the turnout terminal position and the turnout direction from the turnout data.
And S704, generating a crossover of the station track according to the turnout terminal position and the turnout direction.
Optionally, the step S704 may further include: generating interpolation points between each track and the turnout terminal position; and generating a crossover line according to the turnout terminal position, the interpolation point and the turnout direction.
The turnout end point position can be the end point of a turnout sideline.
In some embodiments, if the transition line is a crossover line, acquiring turnout data before and after the crossover line, acquiring turnout end point positions and turnout directions based on the turnout data, generating a preset number of interpolation points at the end points of two turnout sidelines, and generating the crossover line based on the acquisition of the preset number of interpolation points and the end points of the two turnout sidelines. The preset number may be 2, may also be 3, and may also be other numbers, which are not specifically limited in the embodiment of the present application.
In addition, the index value of the track can be updated to obtain the crossover of the next track.
Optionally, fig. 10 is a schematic flow chart of a track line processing method according to an embodiment of the present invention, and as shown in fig. 10, the method may further include:
s801, acquiring variable offset displacement of the vehicle in the vehicle running process of the preset track line.
Wherein the vehicle may be a simulator.
S802, determining the variable offset displacement of the vehicle, wherein the variable offset displacement corresponds to a starting point in a target line segment in a preset track line.
And S803, determining the direction of the starting point according to the direction vector of the starting point and the position vector of the starting point under the world coordinate.
S804, calculating the position information of the starting point according to the length from one point in the target line segment to the starting point, the angle information of the direction vector of the starting point under the world coordinate, the angle information of the starting point under the world coordinate, the position vector and the offset of any point in the target line segment under the world coordinate system.
In one possible implementation, the starting point in the target line segment may be calculated using equation 16, and the position information of the starting point may be calculated using equations 12 and 13 and the offset amount.
Optionally, fig. 11 is a schematic flow chart of a track line processing method provided in an embodiment of the present invention, and as shown in fig. 11, the method may further include:
s901, determining the radius of the curve according to the arc length in the curve and the length from any point in the curve to the starting point of the curve.
S902, calculating a deflection angle at the offset according to the arc length in the curve, the length from any point in the curve to the starting point of the curve, the radius of the circle curve in the curve, the length of the curve and the direction vector of the angle of any point on the curve in the world coordinate system.
And S903, calculating the ultrahigh value according to the radius of the curve and the length of the curve.
And S904, calculating the roll angle according to the ultrahigh value.
In one possible embodiment, the radius of the curve at the offset can be calculated using equation 9; calculating the deflection angle at the offset using equations 3 and 14; the roll angle can be calculated from the superelevation value calculated at the relaxation curve using equation 5.
Fig. 12 is a schematic structural diagram of a track line processing apparatus according to an embodiment of the present invention, as shown in fig. 12, the apparatus includes:
an obtaining module 1001, configured to obtain kilometer sign line data; processing the kilometer post line data to obtain a line data table, wherein the line data table comprises: element data of a plurality of line segments; traversing the element data of the plurality of line segments according to the preset line direction and the starting point position of the preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction;
the generating module 1002 is configured to generate a main route of the preset track route according to the traversed target element data.
Optionally, the obtaining module 1001 is configured to traverse the element data of the multiple line segments according to the uplink direction and a first starting point position in the uplink direction, and obtain first target element data associated with the first starting point position and the uplink direction; traversing second target element data associated with the second starting point position and the downlink direction in the element data of the plurality of line segments according to the downlink direction and the second starting point position in the downlink direction;
a generating module 1002, configured to generate an uplink main line and a downlink main line of a preset track line according to the first target element data and the second target element data, respectively.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring a second ray of the station center position on the second main line in the preset horizontal direction according to the first ray of the station center position on the first main line in the preset horizontal direction;
the first generation module is used for generating a curve of the central position of the station according to the curve element data of the second main line and the second ray;
the second acquisition module is used for performing line lofting on the curve where the central position of the station is located to obtain vertex data of a plurality of line segments where the central position of the station is located;
and the correction module is used for correcting the second main line according to the vertex data.
Optionally, the first generating module is configured to determine whether, in the curve element data of the second main line, the element data of each line segment is straight line element data or curve element data; if the element data of the first line segment is straight line element data, updating the starting point and the starting point direction of the first line segment according to the second ray and the preset offset of the first line segment to obtain a target curve of the first line segment; if the element data of the second line segment is the curve element number, calculating the starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment, and generating a target curve of the second line segment according to the starting point and the target starting point direction of the second line segment; the curve of the central position of the station comprises: a target curve of at least one first line segment and a target curve of at least one second line segment.
Optionally, the first generating module is configured to obtain a world coordinate of each point on the second line segment according to a preset offset of the second line segment; calculating the direction of each point on the second line segment according to the world coordinate of the starting point in each point on the second line segment and the direction of the starting point of the second line segment; the direction of the starting point in each point on the second line segment is the target starting point direction.
Optionally, the correction module is further configured to obtain a second main line, a previous main line of the second main line, and a plurality of vertices of a next main line of the second main line, respectively; determining included angle information formed by a first direction vector and a second direction vector, wherein the first direction vector is a vector determined based on the vertex of the second main line and the vertex of the previous main line, and the second direction vector is a vector determined based on the vertex of the second main line and the vertex of the next main line; and correcting the second main line according to the included angle information.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring platform data, station track data and turnout data of a station center on a preset track line;
and the second generation module is used for generating a side line of the main line according to the platform data, the station track data and the turnout data.
Optionally, the second generating module is further configured to obtain a reference baseline of each track according to the platform data; obtaining a kilometer post position of a station center according to station data of a preset track line; generating curves of a plurality of stations on a reference base line according to the kilometer post positions; according to the reference base line, obtaining the lateral deviation of each track relative to the reference base line; generating curves of all the tracks according to the curves of the station center and the lateral deviation; cutting curves of all tracks according to the preset station center front length, the station center rear length and the station center to obtain the cut curves of all tracks, wherein the cut curves of all tracks are side lines of the main line; based on the switch data, the curves of the respective tracks after clipping generate switch lines connected to the main line.
Optionally, the apparatus further comprises:
the fourth acquisition module is used for acquiring crossover data and turnout data on a preset track line;
the judging module is used for judging whether the station tracks in all stations on the preset track line are crossover station tracks or not according to the crossover data;
the fifth acquisition module is used for acquiring the turnout terminal position and the turnout direction from the turnout data if the turnout is a crossline track;
and the third generation module is used for generating the crossover of the station track in each station according to the turnout terminal position and the turnout direction.
Optionally, the third generating module is further configured to generate interpolation points between each track and the end point position of the turnout; and generating a crossover line according to the turnout terminal position, the interpolation point and the turnout direction.
Optionally, the apparatus further comprises:
the sixth acquisition module is used for acquiring the variable offset displacement of the vehicle in the vehicle running process of the preset track line;
the first determining module is used for determining the variable offset displacement of the vehicle, and the variable offset displacement corresponds to a starting point in a target line segment in a preset track line; determining the direction of the starting point according to the direction vector of the starting point and the position vector of the starting point under the world coordinate;
the first calculation module is used for calculating the position information of the starting point according to the length from one point in the target line segment to the starting point, the angle information of the direction vector of the starting point under the world coordinate, the angle information of the starting point under the world coordinate, the position vector and the offset of any point in the target line segment under the world coordinate system.
Optionally, the target line segment is a curve, and the apparatus further includes:
the second determining module is used for determining the radius of the curve according to the arc length in the curve and the length from any point in the curve to the starting point of the curve;
the second calculation module is used for calculating a deflection angle at the offset according to the arc length in the curve, the length from any point in the curve to the starting point of the curve, the radius of the circular curve in the curve, the length of the curve and the direction vector of the angle of any point on the curve under the world coordinate system; calculating an ultrahigh value according to the radius of the curve and the length of the curve; and calculating the roll angle according to the superelevation value.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 13 is a schematic structural diagram of a processing apparatus according to an embodiment of the present invention, and as shown in fig. 13, the processing apparatus may include: a processor 801 and a memory 802.
The memory 802 is used for storing programs, and the processor 801 calls the programs stored in the memory 802 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A method of track line processing, comprising:
obtaining kilometer post line data;
processing the kilometer post line data to obtain a line data table, wherein the line data table comprises: element data of a plurality of line segments;
traversing the element data of the plurality of line segments according to a preset line direction and the starting point position of a preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction;
and generating a main route of the preset track route according to the traversed target element data.
2. The method according to claim 1, wherein traversing the element data of the plurality of line segments according to a preset route direction and a starting point position of a preset track route in the preset route direction to obtain target element data associated with the starting point position and the preset route direction comprises:
traversing the element data of the plurality of line segments according to an uplink direction and a first starting point position in the uplink direction to obtain first target element data associated with the first starting point position and the uplink direction;
traversing second target element data associated with a second starting point position and a downlink direction from the element data of the plurality of line segments according to the downlink direction and the second starting point position in the downlink direction;
generating a main route of the preset track route according to the traversed target element data, wherein the main route comprises:
and generating an uplink main line and a downlink main line of the preset track line according to the first target element data and the second target element data respectively.
3. The method of claim 2, wherein the method further comprises:
according to a first ray of each station center position on the first main line in a preset horizontal direction, obtaining a second ray of the station center position on the second main line in the preset horizontal direction;
generating a curve of the central position of the station according to the curve element data of the second main line and the second ray;
performing line lofting on the curve where the central position of the station is located to obtain vertex data of a plurality of line segments where the central position of the station is located;
and correcting the second main line according to the vertex data.
4. The method of claim 3, wherein generating the curve at the site center location based on the curve element data for the second main line and the second ray comprises:
judging whether the element data of each line segment in the curve element data of the second main line is straight line element data or curve element data;
if the element data of the first line segment is straight line element data, updating the starting point and the starting point direction of the first line segment according to the second ray and the preset offset of the first line segment to obtain a target curve of the first line segment;
if the element data of the second line segment is the curve element number, calculating the starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment, and generating a target curve of the second line segment according to the starting point and the target starting point direction of the second line segment;
the curve of the central position of the station comprises: at least one target curve of the first line segment and at least one target curve of the second line segment.
5. The method of claim 4, wherein calculating the starting point target direction of the second line segment according to the preset offset of the second line segment and the starting point direction of the second line segment comprises:
obtaining world coordinates of each point on the second line segment according to the preset offset of the second line segment;
calculating the direction of each point on the second line segment according to the world coordinate of the starting point in each point on the second line segment and the direction of the starting point of the second line segment; and the direction of the starting point in each point on the second line segment is the direction of the target starting point.
6. The method of claim 3, wherein said modifying said second main line based on said vertex data comprises:
respectively acquiring a plurality of vertexes of the second main line, a previous main line of the second main line and a next main line of the second main line;
determining included angle information formed by a first direction vector and a second direction vector, wherein the first direction vector is a vector determined based on the vertex of the second main line and the vertex of the previous main line, and the second direction vector is a vector determined based on the vertex of the second main line and the vertex of the next main line;
and correcting the second main line according to the included angle information.
7. The method of claim 1, wherein the method further comprises:
acquiring platform data, station track data and turnout data of a station center on the preset track line;
and generating a side line of the main line according to the platform data, the station track data and the turnout data.
8. The method of claim 7, wherein generating a side route for the main route based on the platform data, the track data, and the switch data comprises:
obtaining a reference base line of each station track according to the station data;
obtaining the kilometer post position of the station center according to the station data of the preset track line;
generating curves of a plurality of stations on the reference base line according to the kilometer post positions;
according to the reference base line, obtaining the lateral deviation of each track relative to the reference base line;
generating curves of the various tracks according to the curves of the station centers and the lateral deviation;
cutting the curves of all the tracks according to the preset station center front length, station center rear length and station center to obtain the cut curves of all the tracks, wherein the cut curves of all the tracks are side lines of the main line;
and generating a turnout line connected to the main line according to the turnout data and the curves of the cut tracks.
9. The method of claim 1, wherein the method further comprises:
acquiring crossover data and turnout data on the preset track line;
judging whether the station track in each station on the preset track line is a crossline track or not according to the crossline data;
if the crossline station track is the crossline station track, acquiring a turnout terminal position and a turnout direction from the turnout data;
and generating a crossover of the station track according to the turnout terminal position and the turnout direction.
10. The method of claim 9, wherein said generating a crossovers for a track in each of said stations based on said switch end position and said switch direction comprises:
generating interpolation points between each track and the turnout terminal position;
and generating the crossover line according to the turnout terminal position, the interpolation point and the turnout direction.
11. The method of claim 1, wherein the method further comprises:
acquiring the variable offset displacement of the vehicle in the process of vehicle operation on the preset track line;
determining the variable offset displacement of the vehicle, wherein the variable offset displacement corresponds to a starting point in a target line segment in the preset track line;
determining the direction of the starting point according to the direction vector of the starting point and the position vector of the starting point under the world coordinate;
and calculating the position information of the starting point according to the length from one point in the target line segment to the starting point, the angle information of the direction vector of the starting point under the world coordinate, the angle information of the starting point under the world coordinate, the position vector and the offset of any point in the target line segment under the world coordinate system.
12. The method of claim 11, wherein the target line segment is a curve, the method further comprising:
determining the radius of the curve according to the arc length in the curve and the length from any point in the curve to the starting point of the curve;
calculating a deflection angle at the offset according to the arc length in the curve, the length from any point in the curve to the starting point of the curve, the radius of a circular curve in the curve, the length of the curve and the direction vector of the angle of any point on the curve under a world coordinate system;
calculating an ultrahigh value according to the radius of the curve and the length of the curve;
and calculating a roll angle according to the ultrahigh value.
13. A track line processing apparatus, comprising:
the acquisition module is used for acquiring kilometer post line data; processing the kilometer post line data to obtain a line data table, wherein the line data table comprises: element data of a plurality of line segments; traversing the element data of the plurality of line segments according to a preset line direction and the starting point position of a preset track line in the preset line direction to obtain target element data associated with the starting point position and the preset line direction;
and the generating module is used for generating a main route of the preset track route according to the traversed target element data.
14. A processing device, comprising: a memory storing a computer program executable by the processor, and a processor implementing the method of any of the preceding claims 1-12 when executing the computer program.
15. A storage medium having stored thereon a computer program which, when read and executed, implements the method of any of claims 1-12.
CN202011469951.5A 2020-12-09 2020-12-09 Track line processing method, device, processing equipment and medium Pending CN112464351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011469951.5A CN112464351A (en) 2020-12-09 2020-12-09 Track line processing method, device, processing equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011469951.5A CN112464351A (en) 2020-12-09 2020-12-09 Track line processing method, device, processing equipment and medium

Publications (1)

Publication Number Publication Date
CN112464351A true CN112464351A (en) 2021-03-09

Family

ID=74803459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011469951.5A Pending CN112464351A (en) 2020-12-09 2020-12-09 Track line processing method, device, processing equipment and medium

Country Status (1)

Country Link
CN (1) CN112464351A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113525458A (en) * 2021-09-03 2021-10-22 北京交大思诺科技股份有限公司 LKJ basic data organization and application method
CN113643407A (en) * 2021-08-18 2021-11-12 北京赛目科技有限公司 Method and device for determining road curve between two points, electronic equipment and storage medium
CN113672690A (en) * 2021-08-24 2021-11-19 卡斯柯信号有限公司 Traversal method of track section

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182384A (en) * 1993-12-22 1995-07-21 Central Japan Railway Co Railway track sketch map drawing device
JPH07334550A (en) * 1994-06-14 1995-12-22 Nec Corp Device for generating line equipment drawing
JP2004295601A (en) * 2003-03-27 2004-10-21 Nagoya Doro Engineer Kk Automatic retouching system for road drawing
US20100289802A1 (en) * 2009-05-15 2010-11-18 Stmicroelectronics S.R.L. System and method for adaptive tessellation of a curve
CN105539521A (en) * 2015-12-16 2016-05-04 北京交控科技股份有限公司 Automatic basic data generating method and system of CBTC (Communication Based Train Control) system circuit
CN106156387A (en) * 2015-04-14 2016-11-23 上海申通地铁集团有限公司 Rail line drawing data be derived automatically from method
CN108520120A (en) * 2018-03-19 2018-09-11 大连理工大学 A kind of " 2 points " method of road route horizontal alignment design
CN110348170A (en) * 2019-07-29 2019-10-18 中铁四局集团第一工程有限公司 A kind of high speed circuit Mike Connell curve matching calculation method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182384A (en) * 1993-12-22 1995-07-21 Central Japan Railway Co Railway track sketch map drawing device
JPH07334550A (en) * 1994-06-14 1995-12-22 Nec Corp Device for generating line equipment drawing
JP2004295601A (en) * 2003-03-27 2004-10-21 Nagoya Doro Engineer Kk Automatic retouching system for road drawing
US20100289802A1 (en) * 2009-05-15 2010-11-18 Stmicroelectronics S.R.L. System and method for adaptive tessellation of a curve
CN106156387A (en) * 2015-04-14 2016-11-23 上海申通地铁集团有限公司 Rail line drawing data be derived automatically from method
CN105539521A (en) * 2015-12-16 2016-05-04 北京交控科技股份有限公司 Automatic basic data generating method and system of CBTC (Communication Based Train Control) system circuit
CN108520120A (en) * 2018-03-19 2018-09-11 大连理工大学 A kind of " 2 points " method of road route horizontal alignment design
CN110348170A (en) * 2019-07-29 2019-10-18 中铁四局集团第一工程有限公司 A kind of high speed circuit Mike Connell curve matching calculation method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘小龙;程耀东;: "基于Object ARX的铁路纵断面自动出图系统的研究", 铁路计算机应用, no. 01, 24 January 2009 (2009-01-24) *
曾晓红;: "CAD在既有铁路复测中的应用――自动绘制线路平、纵断面缩图", 铁道勘察, no. 02, 2 July 1990 (1990-07-02) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113643407A (en) * 2021-08-18 2021-11-12 北京赛目科技有限公司 Method and device for determining road curve between two points, electronic equipment and storage medium
CN113672690A (en) * 2021-08-24 2021-11-19 卡斯柯信号有限公司 Traversal method of track section
CN113672690B (en) * 2021-08-24 2024-04-26 卡斯柯信号有限公司 Traversing method of track section
CN113525458A (en) * 2021-09-03 2021-10-22 北京交大思诺科技股份有限公司 LKJ basic data organization and application method

Similar Documents

Publication Publication Date Title
CN112464351A (en) Track line processing method, device, processing equipment and medium
KR102293479B1 (en) An intersection drawing method, an apparatus, a server and a storage medium
CN110427360A (en) Processing method, processing unit, processing system and the computer program product of track data
CN112084289B (en) Track fusion method and device
CN111310278A (en) Ship automatic modeling method based on simulation
CN113155139A (en) Vehicle track deviation rectifying method and device and electronic equipment
CN107609300A (en) A kind of existing railway planar line position integrative reconstruction design method
CN115077544A (en) Train path planning method and device, electronic equipment and storage medium
CN105224748A (en) A kind of section preprocess method of non-uniform beam finite element model
CN111260135A (en) Method and system for solving cutting path of closed printing
CN113645280B (en) Vehicle position data uploading method and device, electronic equipment and storage medium
CN109035424B (en) Three-dimensional design platform equipment breaking method
CN112686904A (en) Lane division method, lane division device, electronic equipment and storage medium
CN112158195A (en) Parking path planning method, system, vehicle and storage medium
CN103559266A (en) Multi-mode matching method and device
CN104809459A (en) Symbol array structure light codeword correcting method
CN104484565B (en) Specific pair relationhip model building method and line distance computation parameter query method between railway line
CN111652957B (en) Linear engineering design drawing generation method
CN104713564B (en) High-precision map background transitions maintain method to the shape of low precision map background
CN115828398B (en) Broken line data processing method, device, equipment and storage medium
CN116630436B (en) Camera external parameter correction method, camera external parameter correction device, electronic equipment and computer readable medium
Liu et al. Line simplification algorithm implementation and error analysis
CN103440434A (en) Method and system for calculating contour line of large-scale hybrid grid
CN116452245B (en) Logistics station site selection method, device, equipment and storage medium
CN114048613A (en) Method for generating underground water falling funnel simulation effect by means of SuperMap technology

Legal Events

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