A method for rapid restoration of railway alignment based on parameter analysis and mileage point matching
Through the method based on parameter analysis and mileage point matching, a global custom coordinate system is constructed, the curve intersection coordinates are solved, and combined with the random sampling consistency algorithm, the accurate recovery of the railway line position is achieved, and the problem of missing railway line position parameters is solved. Support data recovery and application efficiency of digital railway construction.
Patent Information
- Application Number
- CN202410525858.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-29
AI Technical Summary
The existing technology is difficult to quickly recover effective line data when railway line parameters are missing, resulting in serious data loss in railway digital construction and affecting the efficiency of applications such as three-dimensional electronic sandboxes and BIM design.
Using a method based on parameter analysis and mileage point matching, by obtaining basic railway line data, a global custom coordinate system is constructed, and the global custom plane coordinates of curve intersections are solved, combined with a random sampling consistency algorithm and a segmented matching strategy. Convert the plane coordinates under the design coordinate system to achieve accurate restoration of the railway line position.
It effectively solves the problem of missing railway line location parameters, supports applications such as railway 3D electronic sandbox and BIM, ensures the geographical information data base for digital railway construction, and improves the accuracy and efficiency of line location data recovery.
Smart Images

Figure CN118114352B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of railway operation management, and in particular to a railway line position rapid recovery method based on parameter analysis and mileage point matching. Background Art
[0002] In recent years, the scale of high-speed railway construction and operation in my country has continued to expand, and the safe operation of railways is an important task in railway operations. Therefore, building an information-based and digital railway with advanced levels has become an important work goal.
[0003] The premise of building a digital railway is to establish a digital archive of the railway, especially a digital archive of the railway line position. The location of any geographical entity requires the help of line position data. The line position service based on the line position data release builds a digital foundation that serves the entire life cycle of the railway. It is widely used in railway three-dimensional electronic sand table, railway BIM design, railway electronic fence, etc., providing intuitive line position mileage information for railway design, and then assisting line construction, operation and maintenance and other related work.
[0004] However, due to the long-term design of some railways, the digital archives of railway lines are seriously missing. Both the design unit and the operation and maintenance unit find it difficult to collect and obtain effective and complete digital archives of railway lines. The existing plane coordinate solution method of railway lines cannot be used when the curve parameters are missing. Manually drawing the existing railway lines on high-resolution images and collecting reference mileage points to restore railway mileage information is a common solution at present, but this solution is very inefficient when manually drawing lines. How to quickly obtain effective railway line data has become an important issue that needs to be solved in the digital construction of railways. Summary of the invention
[0005] In order to solve the problems existing in the prior art, the present invention provides a method for quickly restoring the railway line position based on parameter analysis and mileage point matching, which can accurately restore the railway line position when the railway line position parameters are missing.
[0006] To this end, the present invention adopts the following technical solutions:
[0007] A method for quickly restoring railway alignment based on parameter analysis and mileage point matching comprises the following steps:
[0008] S100, obtain basic railway line data:
[0009] The basic data include the railway line point mileage data, curve parameters, broken link data, remote sensing images and initial reference mileage point data, among which:
[0010] The curve parameters include the starting mileage, end mileage, curve direction, and curve radius corresponding to the curve intersection. , Transition curve length ;
[0011] The chain break data includes the mileage value before the chain break , Mileage value after link break in Number the broken links;
[0012] The initial reference mileage point data includes the mileage value and design coordinates of the initial reference mileage point;
[0013] S200, building a global custom coordinate system, including the following steps:
[0014] S210, determining two initial reference mileage points from the initial reference mileage point data obtained in S100, and the azimuth of the line connecting the two initial reference mileage points The azimuth angle is close to the starting position of the railway line; the azimuth angle is calculated ;
[0015] S220, selecting two adjacent stake points in the same straight railway line at the starting position of the railway line from the stake point mileage data obtained in S100 and ,and Mileage is greater than Mileage; Coordinates It is the average value of the design coordinates of the two initial reference mileage points after rounding off;
[0016] S230, calculation Coordinates :
[0017] ;
[0018] Where: for and distance;
[0019] in accordance with and The coordinates of the global custom coordinate system are established;
[0020] S300, calculating the global custom coordinates of the curve intersection, including the following steps:
[0021] S310, calculating the curve parameters obtained in S100 to obtain a curve mileage data set including all curve intersection mileages and curve main point mileages; in the curve mileage data set, find and The adjacent curve intersection point is taken as the first curve intersection point , Mileage is greater than Mileage; Arrange the data from small to large according to the mileage value of the curve intersection, and record the remaining curve intersections as , ;
[0022] S320, matching the corresponding broken link numbers for the curve intersections, and determining the positive and negative signs of the deflection angles of all the curve intersections:
[0023] if , then the curve intersection The corresponding broken link number is in, The curve intersection points The starting mileage and the ending mileage of the corresponding curve;
[0024] The sign of the deflection angle of all curve intersections is determined according to the direction of the curve: when the curve direction is "left", the deflection angle is negative; otherwise, the deflection angle is positive;
[0025] S330, solve the first curve intersection Global custom plane coordinates:
[0026] ;
[0027] In the formula, yes arrive The azimuth of the connecting line, = ; for JD2 arrive JD3 distance; for Mileage, for Mileage;
[0028] S340, calculate the remaining curve intersection points The global custom plane coordinates of the curve intersection are obtained:
[0029] First curve intersection Based on the global custom plane coordinates, the remaining curve intersection points are calculated in sequence according to the following formula Coordinates :
[0030] ;
[0031] In the formula , for arrive The distance yes arrive The azimuth of the connecting line;
[0032] when and When there is no chain break within the mileage interval, there are:
[0033] ;
[0034] in, for The cutting curve difference, for Mileage, for Mileage;
[0035] S400, mileage point plane coordinate solution in global custom coordinate system:
[0036] The global custom plane coordinate set of the curve intersection obtained by S340 is solved to obtain the global custom coordinate set of all mileage points;
[0037] S500, solve the plane coordinates of the line position in the design coordinate system:
[0038] The global custom coordinate set of the mileage point obtained in S400 is converted into the design coordinate set of the mileage point through a four-parameter conversion model combined with a random sampling consistency algorithm and a segment matching strategy.
[0039] In the above method, step S310 includes the following sub-steps:
[0040] For each curve intersection, the transition curve constant is calculated by the following formula:
[0041] ;
[0042] In the formula, β 0 is the tangent angle of the transition curve; is the total deflection angle of the transition curve; m is the vertical distance of cutting; is the circular curve inward displacement;
[0043] The transition curve element is calculated by the transition curve constant and the following formula;
[0044] ;
[0045] In the formula, T is the tangent length, is the outer distance, q To cut the curve difference, L is the length of the curve, α is the line turning angle;
[0046] Calculate the mileage of each main point of the curve by using the transition curve elements and the following formula;
[0047] ;
[0048] In the formula, is the mileage of the curve intersection, is the corresponding curve starting point mileage in S100, It is a slow dot mileage. It is the mileage of the midpoint of the curve. It is the round-trip mileage. is the corresponding curve end mileage in S100.
[0049] Described in S340 The value of and The sum of the line turning angles.
[0050] Step S400 includes the following steps:
[0051] S410, the proportionality coefficient is calculated by the following formula :
[0052] ,
[0053] In the formula, is the mileage difference between two points on the railway line. D is the distance between two points on the railway line;
[0054] S420, calculate the global custom plane coordinates of the straight-slow point and the slow-straight point of each curve by the following formula: t Global custom plane coordinates of straight-slow points and slow-straight points The coordinate set consists of:
[0055] ,
[0056] In the formula, is the azimuth of the line from the straight line point ZH to the corresponding curve intersection point, It is the azimuth of the line from the straight point HZ to the corresponding curve intersection point;
[0057] S430, solving the plane coordinates of the mileage point p in the local coordinate system to obtain the plane coordinate set of the mileage point p:
[0058] Each of the curves is divided into a first transition curve part, a circular curve part and a second transition curve part; wherein the first transition curve part and the circular curve part use the corresponding transition point (ZH) as the coordinate origin to establish a local coordinate system, and the second transition curve part uses the corresponding transition point (HZ) as the coordinate origin to establish a local coordinate system, and the mileage point p is any point on the curve;
[0059] When the mileage point p is in the first transition curve section, the local coordinates of the mileage point p are As shown below:
[0060] ,
[0061] When the mileage point p is on the circular curve, the local coordinates of the mileage point p are As shown below:
[0062] ,
[0063] When the mileage point p is in the second transition curve section, the local coordinates of the mileage point p are As shown below:
[0064] ;
[0065] S440, convert the local coordinates into coordinates in the global custom coordinate system to obtain the global custom coordinate set of all mileage points:
[0066] When the mileage point p is in the first transition curve and circular curve part, the transformation of the local plane coordinates is as follows:
[0067] ,
[0068] In the formula, when the curve is on the left side of the line, ; When the curve is on the right side of the line, ; is the coordinate of the straight-slow point obtained in S420 in the global custom coordinate system;
[0069] When the mileage point p is in the second transition curve portion, the transformation of the local plane coordinates is as follows:
[0070] ,
[0071] In the formula, when the curve is on the left side of the line, ; When the curve is on the right side of the line, ; is the coordinate of the straightening point obtained in S420 in the global custom coordinate system.
[0072] The proportionality factor k The value of is calculated by the following formula:
[0073] .
[0074] Step S500 includes the following sub-steps:
[0075] S510, obtaining the plane coordinates of the initial reference mileage point in S100 in the global custom coordinate system by linear interpolation method;
[0076] S520, calculating the plane coordinates of the mileage points in the design coordinate system, including the following steps:
[0077] S521, mileage interval division:
[0078] Assume that the number of initial reference mileage points is N, and divide the curve into N+1 mileage intervals; the mileage section from the starting mileage to the first reference point mileage is interval 1, recorded as ;No. j Reference point mileage to j+ The mileage section of a reference point mileage is the interval j +1, recorded as ; The mileage section from the Nth reference point mileage to the terminal mileage is interval N+1, recorded as ,in, j is the number of the initial reference mileage point, ;
[0079] S522, design coordinate solution:
[0080] use , and The global custom coordinates and design coordinates of the corresponding initial reference mileage points are obtained by using a four-parameter transformation model combined with a random sampling consensus algorithm. Four parameters of coordinate transformation of interval;
[0081] After obtaining the four coordinate conversion parameters of each interval, the global custom coordinate set of the mileage point obtained in S400 is converted into the design coordinate set of the mileage point.
[0082] Preferably, the method for rapid railway line position recovery based on parameter analysis and mileage point matching further comprises the following steps:
[0083] S600, railway line position result output and verification:
[0084] Use the GDAL library to output the design coordinates of all mileage points as the initial line position solution result; compare the remote sensing image in S100 with the initial line position solution result; if they are the same, output the design coordinate set of the mileage point; otherwise proceed to the next step;
[0085] S700: Supplement the initial reference mileage point:
[0086] Continue to supplement the initial reference mileage points through the record data provided by the railway bureau, the high-resolution image and the initial line position solution result described in S600 to obtain new initial reference mileage points;
[0087] S800, iterative optimization of plane coordinates of line mileage points:
[0088] S200 to S600 are repeated using the new initial reference mileage point until the comparison of the remote sensing image is satisfied.
[0089] Compared with the prior art, the present invention has the following beneficial effects:
[0090] 1. The present invention solves the problem of difficulty in recovering line data when railway line parameters (mainly curve intersection coordinates) are missing, can obtain effective missing railway line data, support railway three-dimensional electronic sand table, railway BIM and other applications, consolidate the "data base" of digital railway construction geographic information, and effectively support the construction of digital railways.
[0091] 2. The present invention can integrate local, global custom and design coordinate systems, and clarify the global custom coordinate system construction strategy, effectively restore the railway line position when the curve design parameters are missing, introduce a random sampling consistency algorithm, and solve the problem of poor plane coordinate conversion accuracy caused by insufficient plane coordinate accuracy of reference mileage points. Moreover, when the initial reference mileage points are difficult to obtain, it is still possible to obtain line position plane coordinates with higher accuracy.
[0092] 3. The continuous piecewise forward solution based on curve parameter analysis of the present invention can be used for large-scale calculation of curve intersection coordinates, ensuring the continuity and smoothness of the curve and simplifying the solution process. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 It is a flow chart of the railway line position rapid recovery method of the present invention;
[0094] Figure 2 A schematic diagram of the railway line;
[0095] Figure 3 This is a vector representation of the solution result of the present invention. DETAILED DESCRIPTION
[0096] Some of the terms appearing in this invention are explained as follows:
[0097] Initial reference mileage point: a mileage point on the railway with accurate mileage and accurate coordinate data in the design coordinate system;
[0098] Design coordinate system: All railway lines use a common coordinate system to accurately determine the location of a point on the railway;
[0099] Curve intersection point: A point outside a railway line used to determine the curvature and radius of a curve at a corresponding position on the railway;
[0100] Global custom coordinates; a temporary coordinate system constructed to calculate the design coordinates of the intersection of curves;
[0101] Local coordinate system: A coordinate system established with a straight-slow point or a slow-straight point as the origin and used to determine the position of any point on the curve;
[0102] like Figure 2 In the curve shown, the main points of the curve include ZH point (straight slow point), HY point (slow round point), QZ point (midpoint of the curve), YH point (round slow point), HZ point (straight slow point);
[0103] Mileage point: a point on a railway line.
[0104] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0105] like Figure 1 As shown, the railway line position rapid recovery method based on parameter analysis and mileage point matching of the present invention comprises the following steps:
[0106] S100, obtain basic railway line data:
[0107] The basic data mainly includes the railway line point mileage data, curve parameters, broken link data and initial reference mileage points. Among them:
[0108] The data that needs to be collected for curve parameters include the starting mileage, end mileage, curve direction, and curve radius corresponding to the curve intersection. , Transition curve length ;
[0109] The parameters required for the chain break data mainly include the mileage value before the chain break , Mileage value after link break Among them, i is the broken chain number;
[0110] The initial reference mileage point records the mileage value and coordinates (X, Y) of the initial reference mileage point.
[0111] S200, build a global custom coordinate system:
[0112] By constructing a global custom coordinate system, it is possible to solve the plane coordinates of the curve when the existing curve analysis methods (such as the tangent offset method) are missing curve parameters (mainly the coordinates of the curve intersection points). However, the construction method of the global custom coordinate system will seriously affect the solving performance of the existing curve analysis method. Therefore, the present invention proposes a global custom coordinate system construction strategy. The principles followed when the strategy is proposed are mainly composed of two parts:
[0113] (1) The scale of the global custom coordinate system is consistent with the design coordinate system;
[0114] (2) The coordinate axis directions of the global custom coordinate system and the design coordinate system must be close (angle range).
[0115] The specific steps for defining the global coordinate system are as follows:
[0116] S210, searching for two initial reference mileage points in the initial reference mileage point data obtained in S100, and requiring the azimuth of the line connecting the two initial reference mileage points A The azimuth angle is close to the starting position of the railway line; the azimuth angle is calculated .
[0117] S220, selecting two adjacent stake points in the same straight railway line at the starting position of the railway line from the stake point mileage data obtained in S100 and ,and Mileage is greater than Mileage; Coordinates It is the average value of the design coordinates of the two initial reference mileage points after rounding off;
[0118] S230, calculation Coordinates :
[0119] (2-1) ;
[0120] Where: for and distance;
[0121] in accordance with and The coordinates of the global custom coordinate system are established.
[0122] S300, solve the global custom coordinates of the curve intersection:
[0123] The collected curve parameters lack information such as design coordinates, curve intersection broken chain sequence numbers, and intersection deflection angles. Therefore, the existing line plane coordinate solution methods (such as tangent offset method) cannot solve the plane coordinates of any point mileage in the global custom coordinate system. In this case, the missing curve parameters need to be solved first.
[0124] A large-scale continuous forward solution method for curve intersection coordinates based on curve parameter analysis can solve the plane coordinates of the curve intersection in a global custom coordinate system.
[0125] There are three common line types for railway lines: straight line, circular curve, and transition curve. Generally speaking, straight line, first transition curve, circular curve, second transition curve, and straight line are the most basic component units of railway line plane curves. When designing a railway, the length of the first transition curve and the second transition curve are generally set to be the same, which is called a symmetrical transition curve. Among them, the mileage of point ZH is the mileage of the starting point of the intersection, and the mileage of point HZ is the mileage of the end point of the intersection. The solution process is as follows:
[0126] S310, calculating the mileage of the curve intersection points and the mileage of the curve main points:
[0127] For each curve corresponding to the intersection of the curves, when solving the curve corresponding to the intersection of the curves, first calculate the transition curve constant using formula (3-1):
[0128] (3-1)
[0129] In the formula, β 0 is the tangent angle of the transition curve; is the total deflection angle of the transition curve; m is the vertical distance; is the inset of the circular curve; the length of the transition curve , Curve radius R The data collected in S100.
[0130] Then the transition curve elements are calculated by the transition curve constant. The calculation method is shown in formula (3-2):
[0131] (3-2)
[0132] In the formula, T is the tangent length, E 0 is the outer distance, q It's a poor cut. L The curve is long. α It is the turning angle of the line.
[0133] Finally, the mileage of the main points of each curve is calculated through the transition curve elements. The calculation method is as follows:
[0134] (3-3)
[0135] In the formula, is the mileage of the curve intersection, is the corresponding curve starting point mileage in S100, It is a slow dot mileage. It is the mileage of the midpoint of the curve. It is the round-trip mileage. is the corresponding curve end mileage in S100.
[0136] Through the solution, a mileage data set including the intersection mileages of all curve intersections and the mileages of the main points of the corresponding curves can be obtained.
[0137] In the curve mileage dataset, find and The adjacent curve intersection point is taken as the first curve intersection point JD3 , Mileage is greater than Mileage; Arrange the data from small to large according to the mileage value of the curve intersection, and record the remaining curve intersections as , .
[0138] S320, matching the corresponding broken link numbers for the curve intersections, and determining the positive and negative signs of the deflection angles of all the curve intersections:
[0139] if , then the curve intersection The corresponding broken link number is i ,in, LcStart JDw and LcD The curve intersection points The starting mileage and the ending mileage of the corresponding curve;
[0140] The sign of the deflection angle of all curve intersections is determined according to the direction of the curve: when the curve direction is "left", the deflection angle is negative; otherwise, the deflection angle is positive.
[0141] S330, solve the first curve intersection Global custom plane coordinates:
[0142] because and , On a straight line, using S2 we get JD1 and JD2 The coordinates of Global custom plane coordinates :
[0143] (3-4)
[0144] In the formula, yes arrive The azimuth of the connecting line and = , yes arrive The distance for Mileage, for Mileage;
[0145] S340, calculate the remaining curve intersection points The global custom plane coordinates of the curve intersection are obtained:
[0146] Obtained by S330 Continue solving . refer to Figure 2 , here with The solution of the global custom plane coordinates is used as an example to illustrate the solution. The solution of the coordinates of other curve intersections is the same. The specific steps are as follows:
[0147] Calculated by formula (3-5) Coordinates:
[0148] (3-5)
[0149] In the formula, yes arrive The distance yes arrive The azimuth of the line, , yes The turning angle of the line;
[0150] Because here arrive The straight-line distance and arrive The mileage difference is inconsistent, so:
[0151] when and When there is no chain break within the mileage interval, The calculation formula is as follows:
[0152] (3-6)
[0153] yes The cutting difference, for Mileage, for mileage.
[0154] when and When there is a chain break within the mileage interval, the length of the chain break needs to be considered DL , when the broken chain is a long chain DL is a positive value, and the broken chain is a short chain DL is a negative value, D 3_4 The calculation formula is as follows:
[0155] (3-7)
[0156] get Global custom plane coordinates ,pass The global custom plane coordinates of all subsequent curve intersections can be calculated to obtain a global custom plane coordinate set of curve intersections.
[0157] S400, solve the plane coordinates of the mileage points in the global custom coordinate system:
[0158] Calculate the proportional coefficient based on the distance and mileage difference of the points on the railway line k ; Then according to the line position parameters and scale coefficient k The plane coordinates of the straight and slow points and the slow and straight points of each curve are solved by using the value; then the plane coordinates are solved in the local coordinate system; finally, the local coordinates are converted into the coordinates in the line measurement coordinate system. The specific steps are as follows:
[0159] S410, scale factor Value calculation:
[0160] By scaling factor , establish the mileage difference of the curve and distance D The relationship between k The solution formula is shown in formula (4-1):
[0161] (4-1)
[0162] In the formula, the meaning of each variable is consistent with the above description. It is the point where the curve straightens out ( ZH ) point and slow straight point ( HZ ) point, L is the curve length, which can be solved by formula (4-2) to get k value:
[0163] (4-2)
[0164] S420, calculate the global custom plane coordinates of the straight-slow point and the slow-straight point of each curve by the following formula: t Global custom plane coordinates of straight-slow points and slow-straight points The coordinate set consists of:
[0165] ,
[0166] In the formula, is the azimuth of the line from the straight line point ZH to the corresponding curve intersection point, It is the azimuth of the line from the straight point HZ to the corresponding curve intersection point;
[0167] S430, solving the plane coordinates of the mileage point p in the local coordinate system to obtain the plane coordinate set of the mileage point p:
[0168] When solving the plane coordinates, the transition curve is divided into three parts according to the mileage, namely the first transition curve part, the circular curve part and the second transition curve part.
[0169] Among them, the first transition curve part and the circular curve part use the straight transition point (ZH) as the coordinate origin to establish a local coordinate system, and the second transition curve part uses the transition straight point (HZ) as the coordinate origin to establish a local coordinate system.
[0170] The local coordinate solution formula of the tangent offset method is as follows:
[0171] When point p is on the first transition curve, calculate the local coordinates of point p As shown below:
[0172] (4-4)
[0173] When point p is on the circular curve, calculate the local coordinates of point p As shown below:
[0174] (4-5)
[0175] When point p is on the second transition curve, calculate the local coordinates of point p As shown below:
[0176] (4-6)
[0177] S440, convert the local coordinates into coordinates in the global custom coordinate system to obtain the global custom coordinate set of all mileage points:
[0178] By changing the coordinates in the local coordinate system After rotation and translation, the plane coordinates in the global custom coordinate system can be obtained , the solution formula is as follows:
[0179] When the mileage point p is in the first transition curve and circular curve part, the transformation of the local plane coordinates is as follows:
[0180] (4-7)
[0181] In the formula, when the transition curve is on the left side of the line, ; When the transition curve is on the right side of the line, . It is the coordinate of the vertical and slow point in the global custom coordinate system.
[0182] When the mileage point p is in the second transition curve portion, the transformation of the local plane coordinates is as follows:
[0183] (4-8)
[0184] In the formula, when the transition curve is on the left side of the line, ; When the transition curve is on the right side of the line, . It is the coordinate of the straightening point in the line measurement coordinate system.
[0185] Similarly, for the requested point Point and HZ ( ZH ) is consistent with the actual length, so Multiply value.
[0186] S500, solve the plane coordinates of the line position in the design coordinate system:
[0187] The coordinate transformation method based on adaptive segmented mileage matching proposed in the present invention is used to transform the plane coordinates in the global custom coordinate system into the design coordinate system.
[0188] When performing coordinate transformation, this method first solves the plane coordinate transformation parameters of the local mileage interval according to the distribution of reference mileage points, and then uses the local transformation parameters to transform the global custom plane coordinates of the mileage points within the corresponding mileage range of the interval to the design coordinate system. According to the number of reference points N, the curve is divided into N+1 mileage intervals, and the plane coordinates of the mileage points in the design coordinate system are solved in each mileage interval, which specifically includes the following steps:
[0189] S510, solving the plane coordinates of the initial reference mileage point in the global custom coordinate system:
[0190] The mileage of the initial reference mileage point is already known, and the plane coordinates of each mileage point in the global custom coordinate system have been solved in the previous step. The global custom plane coordinates of all initial reference mileage points are obtained by linear interpolation.
[0191] S520, solve the plane coordinates of the mileage points in the design coordinate system:
[0192] According to the number of initial reference mileage points N, the curve is divided into N+1 mileage intervals, and the conversion parameters and mileage point coordinates in the design coordinate system are solved in each mileage interval. When solving the local conversion parameters in each interval, the reference mileage points of this interval and the adjacent intervals are used as control points, and the conversion parameters are calculated using the random sampling consensus algorithm (RANSAC algorithm). RANSAC can be used to process data sets containing outliers and improve the robustness of parameter estimation. The specific steps include:
[0193] S521, mileage interval division:
[0194] Assume that the number of initial reference mileage points is N, and divide the curve into N+1 mileage intervals. The mileage section from the starting mileage to the first reference point mileage is interval 1, recorded as ;No. j Reference point mileage to j+ The mileage section of a reference point mileage is the interval j +1, recorded as ; The mileage section from the Nth reference point mileage to the terminal mileage is interval N+1, recorded as ,in, j Number the reference points .
[0195] S522, design coordinate solution:
[0196] Here The design coordinate solution of the mileage points within the interval is described as an example. The adjacent intervals of the interval include Interval and The interval involves 4 reference mileage points: 1st, 2nd, 3rd, and 4th , , , , the corresponding plane coordinates in the global custom coordinate system are ( )、( )、( )、( ), the corresponding plane coordinates in the design coordinate system are ( )、( )、( )、( ). The four-parameter transformation model can be used to solve the four parameters of coordinate transformation.
[0197] The four coordinate transformation parameters are translation parameters , the coordinate system rotation parameter β and the scale ratio parameter The mathematical model of its conversion is shown in formula (5-1):
[0198] (5-1)
[0199] in,( , )、( , ) are the coordinates before and after the conversion. Here they correspond to the plane coordinates of the four reference mileage points in the global custom coordinate system and the plane coordinates in the design coordinate system.
[0200] Considering that there may be abnormal data in the reference mileage points, the random sampling consensus algorithm (RANSAC algorithm) is used here to calculate the conversion parameters. The RANSAC algorithm can be used to process data sets containing outliers and improve the robustness of parameter estimation.
[0201] For each section divided by S521, the design coordinates of the initial reference mileage points of its two adjacent sections and the global custom plane coordinates are used for solution.
[0202] when j =1 or N-1, and If there are only three initial reference mileage points corresponding to the interval, only these three initial reference mileage points are used to calculate the four parameters. The design coordinates calculation method of the initial reference mileage point in the interval and The consistency within the interval, The design coordinates calculation method of the initial reference mileage point in the interval and Consistency within the range.
[0203] When 2≤ j When ≤N-2, Q j There are 4 initial reference mileage points corresponding to the interval, and these 4 initial reference mileage points are used to calculate the four parameters.
[0204] Finally, after solving the conversion parameters of each interval, the plane coordinates of other mileage points in the design coordinate system within the mileage interval can be calculated using formula (5-1). The design coordinate set of all mileage points is obtained.
[0205] S600, railway line position result output and verification:
[0206] After solving the design coordinates of the mileage points, the results are output. The design coordinates of all mileage points are output as vector data (such as .shp) using the GDAL library. Figure 3 It is a vector display of the solution result. Check the line data according to the remote sensing image. If it is correct, then it ends. If there is a problem, you need to proceed to the next step.
[0207] S700, supplement the initial reference mileage points on the line:
[0208] The initial reference mileage points are acquired by combining the inventory data, high-resolution images and initial line position solution results.
[0209] According to the record data provided by the railway bureau, the mileage of characteristic features such as the starting and ending points of bridges, tunnel entrances and exits, and turnouts can be obtained. Referring to the line positions obtained in the previous steps, the plane design coordinates of these reference mileage points can be found on the high-resolution image map. Finally, the reference mileage points found will be involved in the subsequent solution. Through this operation, more reference mileage points can be obtained, which makes it possible to obtain higher-precision line position plane coordinates even when the initial reference mileage points are difficult to obtain.
[0210] S800, iterative optimization of plane coordinates of line mileage points:
[0211] High-precision plane coordinate solution results can be obtained through iterative optimization of mileage coordinates. Specifically, the mileage point coordinates, broken link data and all reference mileage points are used as inputs, and steps S200 to S600 are repeated until the results meet the requirements. Example
[0212] The data in this embodiment is obtained by selecting points on the map based on text data. The initial reference mileage points here need to be sorted according to the line mileage and the broken links to which they belong. Among them, Table 1 is an example of railway line curve parameters of railway section A; Table 2 is an example of broken link data of railway section A; Table 3 is an example of initial reference mileage points of railway section A.
[0213] Table 1
[0214]
[0215] Table 2
[0216]
[0217] Table 3
[0218]
[0219] Refer to Table 1. The points with the intersection numbers 1 and 2 are located at the beginning of the railway line. They are actually two mileage points on the railway line. The line connecting them and the straight and slow points of the curve corresponding to the intersection 3 is a straight line. Sort the subsequent curve intersections from small to large according to the mileage of the starting point of the intersection.
[0220] Table 4 shows the calculated global custom plane coordinates of the curve intersection point of railway segment A.
[0221] Table 4
[0222]
[0223] Table 5 shows the global custom plane coordinates of some mileage points of railway section A obtained by transforming the local coordinate system.
[0224] Table 5
[0225]
[0226] Table 6 shows the design coordinates of the mileage points on the railway segment A restored by this method.
[0227] Table 6
[0228]
[0229] It can be seen from Table 6 that the maximum error between the design coordinates restored by the method of the present invention and the real coordinates is only about 0.05, and the missing line position restoration effect is excellent.
Claims
1. A method for rapid railway line position recovery based on parameter analysis and mileage point matching, characterized in that: The following steps are involved: S100, obtain basic railway line data: The basic data include the railway line point mileage data, curve parameters, broken link data, remote sensing images and initial reference mileage point data, among which: The curve parameters include the starting mileage, end mileage, curve direction, and curve radius corresponding to the curve intersection. , Transition curve length ; The chain break data includes the mileage value before the chain break , Mileage value after link break in Number the broken links; The initial reference mileage point data includes the mileage value and design coordinates of the initial reference mileage point; S200, building a global custom coordinate system, including the following steps: S210, determining two initial reference mileage points from the initial reference mileage point data obtained in S100, and the azimuth of the line connecting the two initial reference mileage points The azimuth angle is close to the starting position of the railway line; the azimuth angle is calculated ; S220, selecting two adjacent stake points in the same straight railway line at the starting position of the railway line from the stake point mileage data obtained in S100 and ,and Mileage is greater than Mileage; Coordinates It is the average value of the design coordinates of the two initial reference mileage points after rounding off; S230, calculation Coordinates : ; Where: for and distance; in accordance with and The coordinates of the global custom coordinate system are established; S300, calculating the global custom coordinates of the curve intersection, including the following steps: S310, calculating the curve parameters obtained in S100 to obtain a curve mileage data set including all curve intersection mileages and curve main point mileages; in the curve mileage data set, find and The adjacent curve intersection point is taken as the first curve intersection point , Mileage is greater than Mileage; Arrange the data from small to large according to the mileage value of the curve intersection, and record the remaining curve intersections as , ; S320, matching the corresponding broken link numbers for the curve intersections, and determining the positive and negative signs of the deflection angles of all the curve intersections: if , then the curve intersection The corresponding broken link number is in, The curve intersection points The starting mileage and the ending mileage of the corresponding curve; Determine the sign of the deflection angle of all curve intersections according to the direction of the curve: when the curve direction is "left", the deflection angle is negative; otherwise, the deflection angle is positive; S330, solve the first curve intersection Global custom plane coordinates: ; In the formula, yes arrive The azimuth of the connecting line, = ; for JD2 arrive JD3 distance; for Mileage, for Mileage; S340, calculate the remaining curve intersection points The global custom plane coordinates of the curve intersection are obtained: First curve intersection Based on the global custom plane coordinates, the remaining curve intersection points are calculated in sequence according to the following formula Coordinates : ; In the formula , for arrive The distance yes arrive The azimuth of the connecting line; when and When there is no chain break within the mileage interval, there are: ; in, for The cutting curve difference, for Mileage, for Mileage; S400, mileage point plane coordinate solution in global custom coordinate system: The global custom plane coordinate set of the curve intersection obtained by S340 is solved to obtain the global custom coordinate set of all mileage points; S500, solve the plane coordinates of the line position in the design coordinate system: The global custom coordinate set of the mileage point obtained in S400 is converted into the design coordinate set of the mileage point through a four-parameter conversion model combined with a random sampling consistency algorithm and a segment matching strategy.
2. The method for rapid restoration of railway line position based on parameter analysis and mileage point matching according to claim 1 is characterized in that: Step S310 includes the following sub-steps: For each curve intersection, the transition curve constant is calculated by the following formula: ; In the formula, β 0 is the tangent angle of the transition curve; is the total deflection angle of the transition curve; is the vertical distance of cutting; is the circular curve inward displacement; The transition curve element is calculated by the transition curve constant and the following formula; ; In the formula, T is the tangent length, is the outer distance, q To cut the curve difference, L is the length of the curve, α is the line turning angle; Calculate the mileage of each main point of the curve by using the transition curve elements and the following formula; ; In the formula, is the mileage of the curve intersection, is the corresponding curve starting point mileage in S100, It is a slow dot mileage. It is the mileage of the midpoint of the curve. It is the round-trip mileage. is the corresponding curve end mileage in S100.
3. The method for rapid railway line position recovery based on parameter analysis and mileage point matching according to claim 2 is characterized in that: Described in S340 The value of and The sum of the line turning angles.
4. The method for rapid restoration of railway line position based on parameter analysis and mileage point matching according to claim 3 is characterized in that: S400 specifically includes the following steps: S410, the proportionality coefficient is calculated by the following formula : , In the formula, is the mileage difference between two points on the railway line. D is the distance between two points on the railway line; S420, calculate the global custom plane coordinates of the straight-slow point and the slow-straight point of each curve by the following formula: t Global custom plane coordinates of straight-slow points and slow-straight points The coordinate set consists of: , In the formula, is the azimuth of the line from the straight line point ZH to the corresponding curve intersection point, It is the azimuth of the line from the straight point HZ to the corresponding curve intersection point; S430, solving the plane coordinates of the mileage point p in the local coordinate system to obtain the plane coordinate set of the mileage point p: Each of the curves is divided into a first transition curve part, a circular curve part and a second transition curve part; wherein the first transition curve part and the circular curve part use the corresponding transition point (ZH) as the coordinate origin to establish a local coordinate system, and the second transition curve part uses the corresponding transition point (HZ) as the coordinate origin to establish a local coordinate system, and the mileage point p is any point on the curve; When the mileage point p is in the first transition curve section, the local coordinates of the mileage point p are As shown below: , When the mileage point p is on the circular curve, the local coordinates of the mileage point p are As shown below: , When the mileage point p is in the second transition curve section, the local coordinates of the mileage point p are As shown below: ; S440, convert the local coordinates into coordinates in the global custom coordinate system to obtain the global custom coordinate set of all mileage points: When the mileage point p is in the first transition curve and circular curve part, the transformation of the local plane coordinates is as follows: , In the formula, when the curve is on the left side of the line, ; When the curve is on the right side of the line, ; is the coordinate of the straight-slow point obtained in S420 in the global custom coordinate system; When the mileage point p is in the second transition curve portion, the transformation of the local plane coordinates is as follows: , In the formula, when the curve is on the left side of the line, ; When the curve is on the right side of the line, ; is the coordinate of the straightening point obtained in S420 in the global custom coordinate system.
5. The method for rapid restoration of railway line position based on parameter analysis and mileage point matching according to claim 4 is characterized in that: The proportionality factor The value of is calculated by the following formula: 。 6. The method for rapid railway line position recovery based on parameter analysis and mileage point matching according to claim 4 is characterized in that: Step S500 includes the following sub-steps: S510, obtaining the plane coordinates of the initial reference mileage point in S100 in the global custom coordinate system by linear interpolation method; S520, calculating the plane coordinates of the mileage points in the design coordinate system, including the following steps: S521, mileage interval division: Assume that the number of initial reference mileage points is N, and divide the curve into N+1 mileage intervals; the mileage section from the starting mileage to the first reference point mileage is interval 1, recorded as ;No. j Reference point mileage to j+ The mileage section of a reference point mileage is the interval j +1, recorded as ; The mileage section from the Nth reference point mileage to the terminal mileage is interval N+1, recorded as ,in, j is the number of the initial reference mileage point, ; S522, design coordinate solution: use , and The global custom coordinates and design coordinates of the corresponding initial reference mileage points are obtained by using a four-parameter transformation model combined with a random sampling consensus algorithm. Four parameters of coordinate transformation of interval; After obtaining the four coordinate conversion parameters of each interval, the global custom coordinate set of the mileage point obtained in S400 is converted into the design coordinate set of the mileage point.
7. The method for rapid restoration of railway line position based on parameter analysis and mileage point matching according to claim 1 is characterized in that: The following steps are also included: S600, railway line position result output and verification: Use the GDAL library to output the design coordinates of all mileage points as initial line position solution results; compare the remote sensing image in S100 with the initial line position solution results; If they are the same, then the design coordinate set of the mileage point is output; otherwise, proceed to the next step; S700: Supplement the initial reference mileage point: Continue to supplement the initial reference mileage points through the record data provided by the railway bureau, the high-resolution image and the initial line position solution result described in S600 to obtain new initial reference mileage points; S800, iterative optimization of plane coordinates of line mileage points: S200 to S600 are repeated using the new initial reference mileage point until the comparison of the remote sensing image is satisfied.
