Railway freight station line reconstruction method and system, storage medium and electronic equipment

By using the slope first-order differential method grouping and reconstruction method in the line reconstruction of railway freight stations, the problem of relying on a large number of manual operations in the prior art is solved, and efficient and accurate automated line reconstruction is achieved.

CN119693493AActive Publication Date: 2025-03-25CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510191768.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-03-25
Estimated Expiration
2045-02-21

AI Technical Summary

Technical Problem

The prior art relies on a large number of manual operations during the line reconstruction process of railway freight stations, which are low in efficiency and high accuracy requirements, making it difficult to meet the needs of high-precision engineering design and management.

Method used

The actual measurement points are grouped by the first-order slope difference method, divided into straight line segments, circular curve segments and half-track offset segments, and line position reconstruction is carried out in the order of priority of straight line segments and delayed circular curve segments to realize the automatic reconstruction of strands and switches.

Benefits of technology

It effectively reduces the workload of manual operation, improves the efficiency and accuracy of plane line reconstruction of railway freight stations, and meets the high-precision needs of engineering applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119693493A_ABST
    Figure CN119693493A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of railway engineering measurement, and provides a railway freight station line reconstruction method and system, a storage medium and electronic equipment, and the method comprises the steps: processing actual measurement points in a to-be-reconstructed line range of a station, and obtaining data needed by line reconstruction; the method comprises the following steps: on the basis of data required by line reconstruction, grouping actual measuring points by utilizing a slope first-order difference method, and dividing the actual measuring points into a straight line section, a circular curve section and a half-gauge offset section; line position reconstruction is sequentially carried out on each station track according to the sequence that the straight line segments are preferential and the circular curve segments are delayed, and the geometric line position of each station track is obtained; and based on the data required for line reconstruction and the geometric line position of the station track, line position reconstruction is carried out on the turnout according to the station track increasing direction, the geometric line position of the turnout is obtained, connection between the turnout and the station track is achieved, and therefore the line position reconstruction result of the to-be-reconstructed line of the whole station is obtained. According to the method, the workload of manual operation is reduced, the reconstruction efficiency and the reconstruction precision are improved, the measuring point deviation is reduced, and the requirements of engineering application are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of railway engineering measurement, and in particular relates to a railway freight station line reconstruction method, system, storage medium and electronic equipment. Background Art

[0002] The operation, maintenance, reconstruction and expansion of railway freight stations require accurate grasp of the collective line position of the lines in the station. During the long-term production and operation and load-bearing process of railway freight stations, the track line position will change to a certain extent, resulting in a certain deviation between the actual line position and the designed line position. It is necessary to conduct on-site measurements of the freight stations to obtain accurate line positions. The measurement results are generally a large number of discrete measuring points, and are affected by measurement accuracy, line usage, etc. The measurement results are difficult to directly generate line positions. It is necessary to reconstruct the line position of the freight station based on multiple factors such as measurement results and station layout.

[0003] The existing freight station line reconstruction process is mainly completed manually, connecting the discrete measurement points of each track into a smoothly connected line shape containing straight lines and circular curves. This process has high requirements on the accuracy of the measurement points. Generally, the distance between the measurement point and the reconstructed line position cannot exceed 5 cm. Therefore, a lot of debugging is required in this process to achieve the distance constraint of most measurement points (also known as measurement point coverage constraint). In addition, the measurement point data in this process may be measured at the center of the line and on one side of the track, and the measurement point position needs to be manually judged and adjusted. In summary, the precise reconstruction of railway freight stations requires a lot of labor costs and low efficiency, and it is urgent to use computer technology for automated design.

[0004] The existing railway freight station plane line automatic reconstruction technology can generate approximate line shapes based on the measured point data through mathematical statistics methods, but it still requires manual pre-processing of the measured point data, including the elimination of measurement error values, the definition of the measured point line shape attributes, etc. The reconstruction result based on the theoretical shortest distance does not take into account the fitting accuracy requirements of the measured points, and the use of image translation method to connect the circular curve and the straight line will increase the reconstruction error of the circular curve measuring point, which is far from meeting the needs of on-site engineering applications. Summary of the invention

[0005] In view of the above problems, the present invention proposes a railway freight station line reconstruction method, system, storage medium and electronic device.

[0006] A railway freight station line reconstruction method of the present invention comprises: Process the actual measurement points within the scope of the line to be reconstructed at the station to obtain the data required for line reconstruction; Based on the data required for the line reconstruction, the actual measuring points are grouped into straight line segments, circular curve segments and half-gauge offset segments using a slope first-order difference method; Reconstruct the position of each track in the order of giving priority to the straight line segment and postponing the circular curve segment to obtain the geometric position of each track; Based on the data required for line reconstruction and the geometric position of the track, the position of the turnout is reconstructed in the direction of increasing tracks to obtain the geometric position of the turnout, and the connection between the turnout and the track is achieved, thereby obtaining the position reconstruction result of the entire station line to be reconstructed.

[0007] Further, The actual measurement points within the scope of the line to be reconstructed at the processing station are processed to obtain data required for line reconstruction, including: Read the basic scene settings of the station and clarify the scope of the line to be reconstructed; According to the basic scene settings, the following processing is performed: Acquire a track set, a turnout set, and basic information of the turnouts in the turnout set; Establishing a connection relationship between the turnout and the track; Generate a basic longitudinal distribution direction of the station, obtain an azimuth, read the actual measurement point and the initial coordinates of the actual measurement point, perform coordinate transformation on the initial coordinates of the actual measurement point according to the azimuth, and obtain transformed coordinates of the actual measurement point; Read the actual measurement points of the turnout, the actual measurement points of the track and the actual measurement point pre-labels, and update the actual measurement points of the turnout and the actual measurement points of the track based on the actual measurement point pre-labels to obtain a set of actual measurement points of the turnout, a set of actual measurement points of the track and a sequence of actual measurement points of the track, wherein the actual measurement points of the turnout include the actual measurement points of the center of the track, the actual measurement points of the left track and the actual measurement points of the right track; Read the track gauge.

[0008] Further, The method of grouping actual measuring points based on the data required for line reconstruction by using the first-order difference method of slope is divided into straight line segments, circular curve segments and half-gauge offset segments, including: Calculate the slope of the actual measuring point and the first-order difference value of the slope of the actual measuring point; Traversing the actual measurement point sequence of the track in order, initially marking the actual measurement points based on the first-order difference value of the slope of the actual measurement points, and obtaining one or more straight line point groups and a number of actual measurement points marked as provisional points; Calculating the length of each straight line point group to obtain one or more straight line point group pairs to be determined, and performing half-track gauge offset determination on the straight line point groups in each of the straight line point group pairs to be determined to obtain one or more half-track gauge offset point groups; In each of the half-track gauge offset point groups, a first virtual measuring point or a second virtual measuring point is respectively set, and the first virtual measuring point or the second virtual measuring point is classified into the straight line point group; The plurality of actual measurement points marked as provisional points are divided into one or more circular curve point groups, and for actual measurement points marked as provisional points that cannot be divided into the circular curve point groups, attributes are redefined and they are additionally marked as doubtful points.

[0009] Further, The step of calculating the length of each straight line point group to obtain one or more straight line point group pairs to be determined, and performing half-track gauge offset determination on the straight line point groups in each straight line point group pair to be determined to obtain one or more half-track gauge offset point groups includes: The actual measured points in each of the straight line point groups are sorted according to the connection relationship of the actual measured points, and the longest distance between the actual measured points in each of the straight line point groups is calculated according to the first actual measured point and the last actual measured point in each of the straight line point groups to obtain the length of each straight line point group; Traversing the lengths of all the straight line point groups, calculating the difference between the lengths of two adjacent straight line point groups in turn to obtain a first difference, comparing the first difference with a straight line point group length comparison threshold, obtaining the two adjacent straight line point groups whose first difference exceeds the straight line point group length comparison threshold, recording them as a straight line point group pair to be determined, and performing half-track gauge offset determination on the straight line point group pair to be determined; Acquire the straight line point group with a longer length from the straight line point group pairs to be determined, obtain the longer straight line point group and the actual measurement point set of the longer straight line point group, and generate a fitting straight line by using the least square method based on the longer straight line point group and the actual measurement point set of the longer straight line point group; The shorter straight line point group is obtained from the straight line point group pairs to be judged, and the shorter straight line point group and the actual measurement point set of the shorter straight line point group are obtained; the average distance between all measurement points in the actual measurement point set of the shorter straight line point group and the fitted straight line is calculated to obtain a first average distance; the difference between the first average distance and 1 / 2 of the track gauge is calculated to obtain a second difference; the second difference is compared with a track gauge offset comparison threshold; if the second difference is less than the track gauge offset comparison threshold, the shorter straight line point group is a half-track gauge offset of the longer straight line point group, and the shorter straight line point group is marked as a half-track gauge offset point group.

[0010] Further, The method of setting a first virtual measuring point or a second virtual measuring point in each half-track gauge offset point group and classifying the first virtual measuring point or the second virtual measuring point into a straight line point group includes: Acquire the straight line point group adjacent to one side of the half-track gauge offset point group, set a first predetermined distance, take each actual measuring point in the half-track gauge offset point group as a reference, draw a perpendicular line with a length of the first predetermined distance to the fitting straight line to obtain a first perpendicular line, acquire an intersection point of the first perpendicular line and the fitting straight line, record the intersection point of the first perpendicular line and the fitting straight line as a first virtual measuring point, and classify the first virtual measuring point into the straight line point group adjacent to one side of the half-track gauge offset point group; The straight line point groups adjacent to the half-track gauge offset point group on both sides are obtained, the bisector of the fitted straight line of the straight line point groups adjacent to the two sides is taken as a new fitted straight line, a second predetermined distance is set, and each actual measuring point in the half-track gauge offset point group is taken as a reference, a perpendicular line with a length of the second predetermined distance is drawn to the new fitted straight line to obtain a second perpendicular line, and an intersection point of the second perpendicular line and the new fitted straight line is obtained, and the intersection point of the second perpendicular line and the new fitted straight line is recorded as a second virtual measuring point, and the straight line point groups adjacent to the half-track gauge offset point group on both sides and the second virtual measuring point are classified into one straight line point group, and the half-track gauge offset point group is the half-track gauge offset point group of the straight line point groups adjacent to the two sides thereof.

[0011] Further, The method of dividing a number of actual measurement points marked as provisional points into one or more circular curve point groups, and redefining the attributes of actual measurement points marked as provisional points that cannot be divided into circular curve point groups and additionally marking them as doubtful points, includes: The plurality of actual measurement points marked as provisional points are sorted according to the connection relationship of the actual measurement points, and the continuous actual measurement points whose first-order difference values ​​of the slopes of the actual measurement points are all greater than 0 or all less than 0 are divided into a circular curve point group.

[0012] Further, The position of each track is reconstructed in the order of firstly giving priority to the straight line segments and later postponing the circular curve segments to obtain the geometric position of each track, including: Reconstruct the line position of the straight line point group to obtain the geometric line position of the straight line point group, specifically: first step: Get the line point group and the set of measuring points of the line point group , traverse the set of measurement points Get the measurement points in and without measuring points The set of measuring points of the straight line point group , further traverse the set of measurement points Get the measurement points in , pass through the measuring point The two straight lines, the measuring points The vertical distance from each of the two straight lines is the third predetermined distance, and the slopes of the two straight lines are calculated respectively to obtain the slope range Finally, multiple slope ranges are obtained, and the number of slope ranges is equal to the number of measurement point sets. The number of measuring points in the slope range is recorded as ; Step 2: Get all the slope ranges mentioned The intersection of ,by The slope is generated through the measuring point The effective straight line is calculated as follows: The sum of the vertical distances between each measuring point and the effective straight line is obtained to obtain the sum of the vertical distances; Establish the measurement point set The measuring points in , the corresponding relationship between the effective straight line and the sum of the vertical distances; Step 3: Traverse the set of measurement points After measuring all the measuring points in the above method, the sum of multiple vertical distances is obtained, the sum of each vertical distance is compared, the minimum vertical distance sum is obtained, and the effective straight line corresponding to the minimum vertical distance sum is selected as the straight line point group. The geometric line position.

[0013] Further, The method of sequentially reconstructing the position of each track in the order of prioritizing the straight line segments and postponing the circular curve segments to obtain the geometric position of each track also includes: Based on the geometric line position of the straight line point group, the line position of the circular curve point group is reconstructed to obtain the geometric line position of the circular curve point group, which is specifically: first step: Get the circular curve point group , the actual measurement point set of the circular curve point group , the actual measured points in the actual measured point set of the circular curve point group , get the circle curve point group The adjacent straight line point group The geometric line position, the straight line point group The third virtual measuring point is generated on the geometric line position. Specifically, when the circular curve point group With a said straight line point group When the circle point group is adjacent, a third virtual measuring point is generated. The point group with two straight lines When they are adjacent, a pair of third virtual measuring points is generated; When generating the third virtual measuring point, along the straight line point group The geometric line position is traversed with a fixed step size until the circular curve point group is traversed The distance between the straight line points The nearest actual measurement point In the straight line point group The projection point on the straight line point group The outermost point The projection point is the third virtual measuring point. Add the third virtual measuring point to the actual measuring point set , obtain the measuring point set of the circular curve point group added to the third virtual measuring point ; Step 2: Determine the set of measuring points If the number of the third virtual measuring points in the above-mentioned embodiment includes two third virtual measuring points, the two third virtual measuring points are recorded as and If a third virtual measuring point is included, the third virtual measuring point and the actual measuring point farthest from the third virtual measuring point are recorded as and If the third virtual measuring point is not included, the actual measuring point set The two actual measurement points farthest apart in and ; Based on the predetermined starting radius and the predetermined maximum radius, the steps are calculated and generated in the predetermined radius step order. and For each of the circular curves, calculate the set of measuring points Medium and The distances from the remaining measuring points to the circular curve are calculated to obtain multiple shortest distances, and the size of each of the shortest distances and the fourth predetermined distance is determined respectively. If each of the shortest distances is smaller than the fourth predetermined distance, the average of the multiple shortest distances is calculated to obtain a second average distance, and finally the second average distance corresponding to each of the circular curves is obtained, and the corresponding relationship among the second average distance, the radius and the third virtual measuring point is recorded in the circular curve dimension; Step 3: Compare the sizes of the second average distances corresponding to each of the circular curves, and select the smallest second average distance therefrom; Step 4: A circular curve is generated based on the third virtual measuring point corresponding to the smallest second average distance and the radius.

[0014] Further, Based on the data required for line reconstruction and the geometric position of the track, the line position of the turnout is reconstructed in the direction of increasing track, the geometric line position of the turnout is obtained, and the connection between the turnout and the track is achieved, thereby obtaining the line position reconstruction result of the entire station to be reconstructed, including: Acquire the connection relationship between the turnout and the track, traverse the turnout set, and acquire basic information of the turnout, the turnout measuring point, and the geometric position of the track connected to the turnout; Connect the turnout with the track, specifically: The track excluding the actual measurement point is obtained, and a line connecting the actual measurement point of the track center at one end of the turnout and the actual measurement point of the track center at the opposite end of the turnout adjacent to the turnout is used as the latest geometric line position of the track; The track whose geometric line position is a circular curve is obtained, and the remaining tracks connected by the turnout are used as a reference. The geometric line positions of the remaining tracks connected by the turnout are straight lines. The angle of the turnout extension line is calculated according to the standard size corresponding to the turnout model. The turnout extension line is generated according to the angle of the turnout extension line. If the turnout extension line intersects with the circular curve, all intersection points of the turnout extension line and the circular curve are obtained, and the turnout extension line is intercepted by using the intersection point that is farther from the turnout among all the intersection points of the turnout extension line and the circular curve. The turnout extension line and the circular curve are obtained, and the intercepted turnout extension line and the intercepted circular curve are the latest geometric line position of the track; if the turnout extension line does not intersect with the circular curve, a tangent is made to the circular curve from the central measuring point of one end of the turnout connecting the circular curve as the starting point to obtain the tangent point, and the tangent and the circular curve are intercepted by using the tangent point to obtain the intercepted tangent and the intercepted circular curve, and the intercepted tangent and the intercepted circular curve are the latest geometric line position of the track; Determine the geometric position of the turnout, specifically: Calculate the included angle of the three tracks connected to the turnout, respectively calculate the deviation between the included angle of the three tracks connected to the turnout and the turnout frog angle, and judge whether the deviation meets the turnout frog angle judgment threshold; if so, extend the track connected to the turnout in the reverse direction, take the intersection of the three tracks as the turnout center point, and generate the turnout outer end connection point according to the standard size corresponding to the turnout model; if not, take the decreasing direction of the track as the reference direction, generate the turnout connection direction angle according to the reference direction, update the end point position of the turnout, update the actual measurement point of the track center at the end point, and re-update the geometric line position of the track connected to the turnout.

[0015] A railway freight station line reconstruction system of the present invention is used to implement the above-mentioned railway freight station line reconstruction method, and the system includes: A processing module is used to process actual measurement points within the scope of the line to be reconstructed at the station to obtain data required for line reconstruction; A grouping module, used for grouping the actual measuring points into straight line segments, circular curve segments and half-gauge offset segments by using a slope first-order difference method based on the data required for the line reconstruction; A track position reconstruction module is used to reconstruct the position of each track in the order of giving priority to the straight line segments and postponing the circular curve segments, so as to obtain the geometric position of each track; The switch line position reconstruction module is used to reconstruct the line position of the switch in the direction of increasing tracks based on the data required for line reconstruction and the geometric line position of the track, obtain the geometric line position of the switch, and achieve the connection between the switch and the track, thereby obtaining the line position reconstruction result of the entire station line to be reconstructed.

[0016] A computer-readable storage medium of the present invention stores a program or instruction, and when the program or instruction is executed on a computer, the computer executes the aforementioned railway freight station line reconstruction method.

[0017] An electronic device of the present invention includes a processor, which is coupled to a memory; the processor is used to read and execute a computer program stored in the memory to implement the above-mentioned railway freight station line reconstruction method.

[0018] Compared with the prior art, the present invention has the following beneficial effects: Based on the actual measuring point data of railway freight stations, except for the basic layout data of the station which needs manual processing, the automatic reconstruction of tracks and switches in the station can be realized, avoiding the manual marking of the measuring point linear type and the fitting of the line geometry, which can effectively reduce the workload of manual work and significantly improve the efficiency of plane line reconstruction of railway freight stations.

[0019] High-precision engineering design and management requirements are taken into consideration in the reconstruction of the plane lines of railway freight stations. That is, during the reconstruction process, the measuring points are covered with high-precision by the reconstructed lines, which effectively improves the accuracy of line reconstruction.

[0020] The fitting optimization method for connecting railway circular curves and straight lines proposed in the present invention effectively reduces the measurement point deviation caused by only using straight lines to make circular curves to achieve tangent connection, and the obtained reconstruction results can meet the needs of engineering applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 It is a flow chart of the railway freight station line reconstruction method of the present invention; Figure 2 This is a schematic diagram of the actual measurement point processing results of the present invention; Figure 3 This is a schematic diagram of the measurement point grouping results of the present invention; Figure 4 Generating a schematic diagram for the third virtual measuring point of the present invention; Figure 5 It is a schematic diagram of the calculation sequence of the turnout connecting the track according to the present invention; Figure 6 It is a structural schematic diagram of the railway freight station line reconstruction system of the present invention; Figure 7 It is a schematic diagram of the structure of the electronic device of the present invention.

[0023] Description of reference numerals: 201 - processing module, 202 - grouping module, 203 - track line position reconstruction module, 204 - switch line position reconstruction module, 301 - processor, 302 - memory. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] In addition, in order to have a deeper understanding of the present invention, some of the terms are explained as follows: Figure 1 1 is a flow chart of a railway freight station line reconstruction method provided by an embodiment of the present invention. In one embodiment, the method specifically includes the following steps: S101: Processing actual measurement points within the scope of the line to be reconstructed at the station to obtain data required for line reconstruction.

[0026] Figure 2 This is a schematic diagram of the actual measurement point processing results. The specific processing process is as follows: S101-1: Read the basic scene settings of the station and clarify the scope of the line to be reconstructed.

[0027] Generally speaking, the basic scene settings of railway freight stations (hereinafter referred to as "stations") include the main line (i.e. the entry and exit lines), the throat area (including switches) and the track (i.e. the station line). If there is a hump, the side with the hump is the train arrival side, and the other side is the train departure side; if there is no hump, both sides can be the train arrival side and departure side.

[0028] The scope to be reconstructed depends on the engineering design requirements. There are three common scopes to be reconstructed: the entire station including two throat areas, the partial station including one throat area and part of the track, and the partial station including part of the throat area and part of the track. Each type of scope to be reconstructed includes turnouts (part of or the entire throat area) and tracks (part of or the entire track). When there are complex scenarios such as multiple stations, they can be divided according to a single station, and the line reconstruction can be performed independently and sequentially. Without loss of generality, the scope of the line to be reconstructed covered by the present invention includes at least two parts: turnouts and tracks, and can be directly expanded and applied to the entire station according to the proposed technical solution.

[0029] S101-2: According to the basic scenario setting, obtain the track set, the turnout set and the basic information of the turnouts in the turnout set.

[0030] Get stock channel collection , stock channel collection It includes: the tracks between all the turnouts within the scope of the line to be reconstructed and the tracks between the turnouts and the boundary of the scope of the line to be reconstructed.

[0031] Get turnout collection , turnout set Including turnout , , turnout The basic information includes: turnout model , turnout front length (i.e. a value) , turnout rear length (i.e. b value) , Turnout direction and frog angle . According to the turnout model , turnout It is divided into ordinary single-opening turnouts, single-type symmetrical turnouts, three-opening turnouts, crossovers and crossing turnouts. In the station, the most common are ordinary single-opening turnouts and single-type symmetrical turnouts, followed by three-opening turnouts and crossovers, and crossing turnouts are less common.

[0032] S101-3: According to the basic scenario settings, establish the connection relationship between the turnout and the track.

[0033] Facing the direction of track reduction, turn the turnout The set of backward connected tracks is defined as 、Turnout The set of forward connected tracks (from left to right) is defined as .

[0034] S101-4: According to the basic scene settings, generate the basic longitudinal distribution direction of the station, obtain the azimuth, read the actual measurement point and the initial coordinates of the actual measurement point, transform the initial coordinates of the actual measurement point according to the azimuth, and obtain the transformed coordinates of the actual measurement point.

[0035] According to the basic scenario settings, the basic longitudinal distribution direction of the station is generated, and the azimuth angle is obtained, which is recorded as Δ.

[0036] Read all the actual plane measurement points of the station (hereinafter referred to as "actual plane measurement points") and record the actual measurement point set as , , each actual measuring point Each corresponds to an initial coordinate .

[0037] The initial coordinates According to the azimuth and its coordinate system to transform the coordinates to the azimuth The direction is the horizontal axis direction after the initial coordinate transformation, with the azimuth angle The direction of is the longitudinal direction after the initial coordinate transformation. After the coordinate transformation, the transformed coordinates are obtained. The coordinate transformation formula is shown in formula (1). (1), In the formula, is the horizontal coordinate of the actual measured point after transformation; is the ordinate of the actual measured point after transformation; is the initial horizontal coordinate of the actual measuring point; is the initial ordinate of the actual measuring point; is the azimuth.

[0038] S101-5: According to the basic scenario setting, the actual measurement points of the turnout, the actual measurement points of the track and the pre-labels of the actual measurement points are read, and the actual measurement points of the turnout and the actual measurement points of the track are updated based on the pre-labels of the actual measurement points to obtain the actual measurement point set of the turnout, the actual measurement point set of the track and the actual measurement point sequence of the track.

[0039] According to the basic scene settings, read the actual measurement points of the turnout, the actual measurement points of the track, and the actual measurement point pre-labels. The actual measurement points of the turnout include the actual measurement points of the track center, the actual measurement points of the track left track, and the actual measurement points of the track right track. The actual measurement point pre-labels define the relationship between the actual measurement points and the turnout, and the actual measurement points and the track, which is generally completed by the surveyor.

[0040] From the turnout collection The actual measurement points of the turnout are selected from the set, and the actual measurement points of the turnout are recorded as Except for the actual measurement points of the turnout, the other actual measurement points belong to the actual measurement points of the track. The set of actual measurement points of the track is recorded as The actual measurement points of turnouts and actual measurement points of tracks are collectively referred to as actual measurement points.

[0041] One side of the track is connected to one end of the turnout, and the other side of the track is connected to one end of another turnout, the boundary of the line to be reconstructed, or the end stop. Generate a track virtual measurement point based on the coordinates of the actual measurement point of the track center after transformation, and include the track virtual measurement point in the track actual measurement point set In the Arrange them in sequence according to the connection order to generate the actual measurement point sequence of the track .

[0042] S101-6: Read the track gauge according to the basic scene settings. The default track gauge is 1435mm.

[0043] S102: Based on the data required for line reconstruction, the actual measurement points are grouped using the slope first-order difference method into straight line segments, circular curve segments and half-gauge offset segments.

[0044] Figure 3 The following is a schematic diagram of the measurement point grouping results. The measurement point grouping process is as follows: S102-1: Calculate the slope of the actual measuring point and the first-order difference value of the slope of the actual measuring point.

[0045] 1. The slope of the actual measuring point.

[0046] Traverse the stock channel collection , for stocks , read the actual measurement point set of the track and the actual measurement point sequence of the track , according to the actual measurement point sequence of the track Determine the actual measurement point set of the track Actual measuring points The next actual measurement point is recorded as .

[0047] For stocks The actual measurement point other than the last one in , calculate the actual measurement point other than the last one The next actual measurement point Slope of connected line segments , the calculation formula is shown in formula (2), (2), In the formula, Refers to the slope of the actual measuring point; is the horizontal coordinate of the actual measured point after transformation; is the ordinate of the actual measured point after transformation; Refers to the horizontal coordinate of the actual measured point after transformation, which is not the last actual measured point; Refers to the vertical coordinate of the actual measured point after transformation, which is not the last actual measured point.

[0048] For stocks The last actual measurement point on , the slope of the actual measuring point is calculated in two cases: Case 1: The last actual measurement point There are more than two actual measurement points. The calculation formula is shown in formula (3): (3), In the formula, Refers to the slope of the actual measuring point; Refers to the slope of the actual measuring point before the last actual measuring point; Refers to the slope of the two actual measuring points before the last actual measuring point.

[0049] Case 2: The last actual measurement point Previously, there was only one actual measurement point, and the calculation formula was shown in formula (4): (4), In the formula, Refers to the slope of the actual measuring point; Refers to the slope of the actual measured point before the last actual measured point.

[0050] 2. The first-order difference value of the slope of the actual measuring point.

[0051] Traverse the stock channel collection , for stocks , calculate the stock channel The first-order difference value of the slope of each actual measuring point in .

[0052] For stocks The actual measurement point other than the last one , the calculation formula is shown in formula (5), (5), In the formula, Refers to the first-order difference value of the slope of the actual measuring point; Refers to the slope of the next actual measuring point other than the last actual measuring point; Refers to the slope of the measuring point.

[0053] For stocks The last actual measurement point on , the calculation formula is shown in formula (6), (6), In the formula, Refers to the first-order difference value of the slope of the actual measuring point; Refers to the first-order difference value of the slope of the actual measured point before the last actual measured point.

[0054] S102-2: Traverse the actual measurement point sequence of the track in order, initially mark the actual measurement points based on the first-order difference value of the slope of the actual measurement points, and obtain one or more straight line point groups and a number of actual measurement points marked as temporary points.

[0055] Traverse the actual measurement point sequence of the track in order , for the actual measuring point Perform initial marking and analyze the following three situations: Case 1: If the actual measurement point The first difference of the slope The absolute value of is less than or equal to the straight line segment judgment threshold , then the actual measuring point The following two actual measured points are marked as straight line points. is the actual measurement point sequence of the track The first actual measurement point or actual measurement point is a temporary point, then the actual measured point and the next two actual measured points form a new straight line point group. Otherwise, the actual measured point The following two actual measurement points are classified as actual measurement points The line point group to which it belongs.

[0056] Case 2: If the actual measurement point The first difference of the slope The absolute value of the line segment is greater than the straight line segment judgment threshold , and the actual measuring point And the next actual measurement point has been marked as a straight line point, then the next actual measured point No more repeated inclusion of actual measurement points The line point group to which it belongs.

[0057] Case 3: If the actual measurement point The first difference of the slope The absolute value of the line segment is greater than the straight line segment judgment threshold , and the actual measuring point If it is not marked as a straight line point, the actual measured point Mark as a tentative point.

[0058] Preferably, the straight line segment judgment threshold The value is 0.1.

[0059] According to the above method, we can finally get one or more straight line point groups and several actual measurement points marked as tentative points. The set of straight line point groups is recorded as , the straight line point group is recorded as , the actual measurement point set of the straight line point group is recorded as , the actual measured points in the actual measured point set of the straight line point group are recorded as .

[0060] S102-3: Calculate the length of each straight line point group to obtain one or more straight line point group pairs to be determined, perform half-track gauge offset determination on the straight line point groups in each straight line point group pair to be determined, and obtain one or more half-track gauge offset point groups.

[0061] The half-gauge offset point group means that the actual measurement points it contains are measured on the rails on one side of the track rather than in the center of the track.

[0062] For each line point group The actual measurement points in the are sorted according to the connection relationship of the actual measurement points, and the actual measurement points in the are sorted according to the connection relationship of the actual measurement points. The first actual measured point and the last actual measured point in the calculation of each straight line point group The longest distance between the actual measured points in the equation is used to obtain the length of each straight line point group, which is recorded as the length.

[0063] Traverse all line point groups The length of two adjacent straight line point groups is calculated in sequence The difference in length between two adjacent straight line point groups The difference in length is recorded as the first difference, and the first difference is compared with the straight line point group length comparison threshold. If the first difference exceeds the straight line point group length comparison threshold, , then the two adjacent straight line point groups Recorded as the line point pair to be determined, one or more line point pairs to be determined can be obtained in the end. Subsequently, the line point groups in the line point pair to be determined are determined for half-track gauge offset.

[0064] Preferably, the straight line point group length comparison threshold The value is 60%.

[0065] The process of determining half-track gauge offset is as follows: Get the longer straight line point group from the straight line point group to be judged, and get the longer straight line point group And the actual measurement point set of the longer straight line point group , based on a longer straight line point group and the actual measurement point set of the longer straight line point group , the least square method is used to generate the fitting straight line. The calculation formulas are shown in equations (7) and (8). (7), (8), In the formula, Refers to the constant term of the fitted straight line; Refers to the first-order term of the fitted straight line; Refers to the actual measurement point set of a longer straight line point group; Refers to the horizontal coordinate of the actual measured point after transformation; Refers to the ordinate of the actual measured point after transformation; Refers to the number of measurement points in the actual measurement point set of the longer straight line point group; Refers to the fitted straight line.

[0066] Get the shorter straight line point group from the pair of straight line point groups to be judged, and get the shorter straight line point group and the actual measurement point set of the shorter straight line point group , calculate the actual measurement point set The vertical distance between each actual measured point and the fitted straight line in is based on the actual measured point set The vertical distance between each actual measurement point and the fitting line is calculated to obtain the actual measurement point set The average distance between all actual measurement points and the fitting straight line in the actual measurement point set The average distance between all actual measurement points and the fitted straight line is recorded as the first average distance. The difference between the first average distance and 1 / 2 track gauge is calculated, and the difference between the first average distance and 1 / 2 track gauge is recorded as the second difference. The second difference is compared with the track gauge offset comparison threshold. If the second difference is less than the track gauge offset comparison threshold , the shorter straight line point group is considered to be a half-track gauge offset of the longer straight line point group, and the shorter straight line point group is marked as a half-track gauge offset point group.

[0067] Finally, one or more half-track gauge offset point groups can be obtained.

[0068] Preferably, the track gauge deviation comparison threshold The value is 3%.

[0069] S102-4: setting a first virtual measuring point or a second virtual measuring point in each half-track gauge offset point group, and classifying the first virtual measuring point or the second virtual measuring point into a straight line point group.

[0070] A straight line point group adjacent to the half-track gauge offset point group is obtained. If one side of the half-track gauge offset point group is adjacent to the straight line point group, a first predetermined distance is set. Taking each actual measuring point in the half-track gauge offset point group as a reference, a perpendicular line with a length of the first predetermined distance is drawn to the fitting straight line to obtain a first perpendicular line. The intersection point of the first perpendicular line and the fitting straight line is obtained. The intersection point of the first perpendicular line and the fitting straight line is recorded as a first virtual measuring point. The first virtual measuring point is included in the straight line point group adjacent to one side of the half-track gauge offset point group. If both sides of the half-track gauge offset point group are adjacent to the straight line point group, and the half-track gauge offset point group is adjacent to the straight line point group, If the track gauge offset point group is a half-track gauge offset point group of the adjacent straight line point groups on both sides, the bisector of the fitted straight line of the straight line point groups on both sides is taken as the new fitted straight line, a second predetermined distance is set, and each actual measuring point in the half-track gauge offset point group is taken as a reference, a perpendicular line with a length of the second predetermined distance is drawn to the new fitted straight line to obtain a second perpendicular line, and the intersection point of the second perpendicular line and the new fitted straight line is obtained, and the intersection point of the second perpendicular line and the new fitted straight line is recorded as a second virtual measuring point, and the second virtual measuring point and the straight line point groups on both sides adjacent to the half-track gauge offset point group are classified as one straight line point group.

[0071] Preferably, the first predetermined distance and the second predetermined distance are both 717.5 cm.

[0072] The measuring point set of the straight line point group containing the first virtual measuring point or the second virtual measuring point is recorded as , the measuring points in the measuring point set of the straight line point group containing the first virtual measuring point or the second virtual measuring point are recorded as .

[0073] S102-5: Divide a number of actual measurement points marked as provisional points into one or more circular curve point groups, and for actual measurement points marked as provisional points that cannot be divided into circular curve point groups, redefine attributes and additionally mark them as questionable points.

[0074] Several actual measurement points marked as provisional points are sorted according to the connection relationship of the actual measurement points, and the continuous actual measurement points whose first-order difference values ​​of the slopes of the actual measurement points are all greater than 0 or all less than 0 are divided into a circular curve point group. According to the above method, one or more circular curve point groups can be finally obtained. The set of circular curve point groups is recorded as , the circular curve point group is recorded as ( ), the actual measurement point set of the circular curve point group is recorded as The actual measured points in the actual measured point set of the circular curve point group are recorded as .

[0075] Due to measurement errors or continuous reverse circular curves, there may be a part of the actual measured points marked as provisional points that cannot be divided into circular curve point groups. For these actual measured points marked as provisional points that cannot be divided into circular curve point groups, with manual intervention, the following processing is performed according to actual needs: define attributes, modify or remove; without manual intervention, the system automatically performs the following processing: additionally mark them as questionable points; automatically classify them into the point group closest to them (this point group does not contain the actual measured points marked as provisional points) and mark their attributes as the attributes of the point group closest to them.

[0076] The properties include: straight line measuring point, circular curve measuring point and half-track gauge offset measuring point.

[0077] Through the above method, the actual measured points are divided into straight line point groups (also called "straight line segments"), circular curve point groups (also called "circular curve segments") and half-gauge offset point groups (also called "half-gauge offset segments"). A track can contain multiple segments of the same type, for example, a track contains two straight line segments, one circular curve segment and one half-gauge offset segment.

[0078] S103: Reconstruct the position of each track in sequence according to the order of giving priority to the straight line segments and postponing the circular curve segments, so as to obtain the geometric position of each track.

[0079] Traverse the stock channel collection , for stocks Perform geometric line position calculation for each track The reconstruction is performed in the order of straight line segments first and circular curve segments later, that is, first reconstruct the set of straight line point groups The included line point group Perform line position reconstruction, and then the set of circular curve point groups The included circular curve point group Perform line position reconstruction.

[0080] The specific steps are as follows: S103-1: Reconstruct the line position of the straight line point group to obtain the geometric line position of the straight line point group.

[0081] The stock track The set of straight line points in the middle is denoted as , from the set of straight line points Select the straight line point group in turn Perform line position reconstruction. The specific reconstruction process is as follows: first step: Traverse the measurement point set of the straight line point group containing the first virtual measurement point or the second virtual measurement point Get the measurement points in and without measuring points The set of measuring points of the straight line point group .

[0082] Further traverse the measurement point set Get the measurement points in . Make a passing point Two straight lines, measuring points The vertical distance from each of the two straight lines is the third predetermined distance, and the slopes of the two straight lines are calculated respectively to obtain the slope range. Finally, multiple slope ranges are obtained, and the number of slope ranges is equal to the number of measurement point sets. The number of measuring points in the slope range is recorded as .

[0083] Preferably, the third predetermined distance is 5 cm.

[0084] Step 2: Get all slope ranges The intersection of ,by Generate Pass-Through Points for Slope The effective straight line of the calculation point set The vertical distance between each measuring point and the effective straight line, and the measuring point set The vertical distance between each measuring point and the effective straight line is added to calculate the measuring point set The sum of the vertical distances between each measuring point and the effective straight line is obtained. .

[0085] Establish a set of measuring points for a straight line point group The measuring points in , the correspondence between the effective straight line and the sum of vertical distances.

[0086] Step 3: Traverse the measurement point set of the line point group After measuring all the points in the grid, the sum of multiple vertical distances is obtained, and the sum of each vertical distance is compared to obtain the minimum vertical distance sum. The effective straight line corresponding to the minimum vertical distance sum is selected as the straight line point group. The geometric line position.

[0087] If the straight line point group cannot be obtained through the above three steps The geometric line position of the straight line point group is taken as the measuring point set The measurement points that do not exceed the first predetermined proportion of the total number of measurement points are used as the measurement point subset of the line point group. The measurement points marked as doubtful points are preferentially selected to form the measurement point subset of the line point group. The measurement point subset of the line point group is recorded as . From the set of measured points of the line point group Exclude a subset of points from After that, calculate the geometric position of the straight line point group according to the methods in the first two steps.

[0088] Preferably, the first predetermined ratio is 5%.

[0089] If you exclude the measurement point subset After the above three steps, the straight line point group cannot be obtained. If the geometric line position is not set, manual intervention can be used to adjust the measuring point or set the line position. In the absence of manual intervention, the least squares method is used to fit the straight line as the geometric line position.

[0090] S103-2: Based on the geometric line positions of the straight line point group, reconstruct the line positions of the circular curve point group to obtain the geometric line positions of the circular curve point group.

[0091] The stock track The set of points of the circle curve is recorded as , from the set of circular curve points Select the circular curve point group in turn Perform line position reconstruction. The specific reconstruction process is as follows: first step: Get the point group associated with the circle Adjacent straight line point groups The geometric line position of the straight line point group The third virtual measuring point is generated on the geometric line position. Specifically, when the circular curve point group With a straight line point group When the circular curve point group is adjacent, a third virtual measuring point is generated. With two straight line points When they are adjacent, a pair of third virtual measuring points is generated.

[0092] When generating the third virtual measuring point, the point group along the straight line The geometric line position is traversed with a fixed step size until the circular curve point group is traversed Middle distance straight line point group The nearest actual measurement point In the straight line point group The projection point on the straight line point group The outermost point The projection point is the third virtual measuring point. Figure 4 The third virtual measuring point generation schematic diagram is shown as follows: Figure 4 The virtual connection point in is the third virtual measuring point.

[0093] Preferably, the fixed step size is 1 cm.

[0094] Add the third virtual measuring point to the actual measuring point set of the circular curve point group , get the measuring point set of the circular curve point group containing the third virtual measuring point .

[0095] Step 2: Determine the measuring point set of the circular curve point group containing the third virtual measuring point The number of third virtual measuring points in the , if it contains two third virtual measuring points, then the two third virtual measuring points are recorded as and If a third virtual measuring point is included, the third virtual measuring point and the actual measuring point farthest from the third virtual measuring point are recorded as and ; If the third virtual measuring point is not included, the actual measuring point set of the circular curve point group The two actual measurement points farthest apart in and .

[0096] Based on the predetermined starting radius and the predetermined maximum radius, the steps are calculated and generated in the predetermined radius step order. and Multiple circular curves.

[0097] Preferably, the predetermined starting radius is 200 m, the predetermined radius step is 10 m, and the predetermined maximum radius is 2000 m.

[0098] For a single circular curve, calculate the measurement point set of the circular curve point group containing the third virtual measurement point Medium and The shortest distances from the remaining measuring points to the circular curve are obtained to obtain multiple shortest distances, and the size of each shortest distance and the fourth predetermined distance is determined respectively. If each shortest distance is less than the fourth predetermined distance, the average value of the multiple shortest distances is calculated to obtain a second average distance. For each circular curve, the second average distance is calculated according to the above method, and finally a plurality of second average distances are obtained.

[0099] Preferably, the fourth predetermined distance is 5 cm.

[0100] For each circular curve, the corresponding relationship among the second average distance, the radius and the third virtual measuring point is recorded in the circular curve dimension.

[0101] Step 3: After the first two steps of calculation are completed based on the third virtual measuring points of all the circular curve point groups, the second average distances corresponding to each circular curve are compared, and the smallest second average distance is selected.

[0102] Step 4: A circular curve is generated based on the third virtual measuring point and radius corresponding to the smallest second average distance as the geometric line position of the circular curve point group.

[0103] If the geometric position of the circular curve point group cannot be obtained after the above four steps, then traverse the actual measurement point set of the circular curve point group The actual measured points that do not exceed the second predetermined proportion of the total number of actual measured points are used as the actual measured point subset of the circular curve point group, and the actual measured points marked as doubtful points are preferentially selected to form the actual measured point subset. , the actual measured point subset of the circular curve point group is recorded as . From the actual measurement point set of the circular curve point group Exclude the actual measurement point subset set After that, calculate the geometric line position of the circular curve point group according to the methods of the first four steps.

[0104] Preferably, the second predetermined ratio is 5%.

[0105] If the actual measurement point subset is excluded If the geometrical position of the circular curve point group cannot be obtained after the above four steps, manual intervention can be used to adjust the geometrical position of the circular curve point group. Without manual intervention, the radius is traversed based on the farthest actual measured point of the circular curve, and the average distance from the remaining actual measured points to the circular curve is calculated. A circular curve is generated with the radius corresponding to the smallest average distance among the average distances from the remaining actual measured points to the circular curve, and the circular curve is used as the geometrical position of the circular curve point group.

[0106] The geometric line positions of the straight line point group obtained by step S103-1 and the geometric line positions of the circular curve point group obtained by step S103-2 are collectively referred to as the geometric line positions of the track.

[0107] S104: Based on the data required for line reconstruction and the geometric position of the track, the position of the turnout is reconstructed in the direction of increasing tracks to obtain the geometric position of the turnout, and the connection between the turnout and the track is achieved, thereby obtaining the position reconstruction result of the line to be reconstructed in the entire station.

[0108] When reconstructing the geometric position of the turnout, the calculation is performed in the direction of increasing track numbers. Figure 5 This is a schematic diagram of the calculation sequence of the turnout connecting the track. Figure 5 It can be seen that the calculation order is in the direction of increasing tracks (i.e. from left to right).

[0109] It should be noted that if there are two throat areas in the range of the line to be reconstructed, the two throat areas execute this step independently.

[0110] According to the connection relationship between the turnout and the track, that is, the set of tracks connected to the turnout And the track collection connected forward by the turnout , traverse the turnout set, obtain the basic information of the turnout, the turnout measuring points and the geometric line position of the track connected to the turnout. The track connected to the turnout refers to the track whose geometric line position is reconstructed in step S103.

[0111] The specific process of connecting the turnout with the track is as follows: According to the design specifications, there is at least a 4.5m straight line between turnouts, and the actual measurement point spacing is generally 5m. Therefore, under normal circumstances, the actual measurement points are not measured only when the track between turnouts is short. At this time, the geometric position of the track between turnouts is considered to be a straight line. Based on this experience, it is concluded that if there is no actual measurement point on a track, the geometric position of the track is a straight line, and the line connecting the actual measurement point at the center of the track at one end of the turnout and the actual measurement point at the center of the track at the opposite end of the adjacent turnout is taken as the latest geometric position of the track; if the geometric position of a track is a circular curve, the remaining tracks connected by the turnout are used as the reference, and the geometric position of the remaining tracks connected by the turnout is a straight line, and the turnout extension line is calculated according to the standard size corresponding to the turnout model. Angle, generate the turnout extension line according to the angle of the turnout extension line, if the turnout extension line intersects the circular curve, then obtain all the intersection points of the turnout extension line and the circular curve, use the intersection points of all the intersection points of the turnout extension line and the circular curve that are farther away from the turnout to intercept the turnout extension line and the circular curve, and obtain the intercepted turnout extension line and the circular curve, which are the latest geometric line positions of the track; if the turnout extension line does not intersect the circular curve, use the central measuring point of one end of the turnout connected to the circular curve as the starting point to make a tangent to the circular curve, obtain the tangent point, use the tangent point to intercept the tangent and the circular curve, obtain the intercepted tangent and the intercepted circular curve, and the intercepted tangent and the circular curve are the latest geometric line positions of the track.

[0112] Determine the geometric position of the turnout. The specific process is as follows: Calculate the angle between the three tracks connected to the turnout, such as Figure 5 As shown, each turnout is connected to three tracks. The deviation between the angle between the three tracks connected to the turnout and the turnout frog angle is calculated to determine whether the deviation meets the turnout frog angle judgment threshold. If it is satisfied, the track connected by the turnout is extended in the reverse direction, the intersection of the three tracks is taken as the turnout center point, and the turnout outer end connection point is generated according to the standard size corresponding to the turnout model; if it is not satisfied, the track reduction direction is taken as the reference direction, the turnout connection direction angle is generated according to the reference direction, the end position of the turnout is updated, and the actual measurement point of the track center at the end position of the turnout is updated, and the geometric line position of the track connected by the turnout is updated again through step S103.

[0113] The end position of the turnout is regarded as the starting position of the turnout connecting the track.

[0114] Preferably, the turnout frog angle judgment threshold The value is 1%.

[0115] The embodiment of the present invention also provides a railway freight station line reconstruction system, such as Figure 6 As shown, including: The processing module 201 is used to process actual measurement points within the scope of the line to be reconstructed at the station to obtain data required for line reconstruction.

[0116] The grouping module 202 is used to group the actual measurement points into straight line segments, circular curve segments and half-gauge offset segments based on the data required for line reconstruction using the slope first-order difference method.

[0117] The track position reconstruction module 203 is used to reconstruct the position of each track in the order of prioritizing straight line segments and postponing circular curve segments to obtain the geometric position of each track.

[0118] The switch line position reconstruction module 204 is used to reconstruct the line position of the switch in the direction of increasing tracks based on the data required for line reconstruction and the geometric line position of the track, obtain the geometric line position of the switch, realize the connection between the switch and the track, and thus obtain the line position reconstruction result of the entire station line to be reconstructed.

[0119] It should be noted here that the above-mentioned main processing module 201, grouping module 202, track line position reconstruction module 203 and switch line position reconstruction module 204 correspond to steps S101 to S104 in the embodiment of the railway freight station line reconstruction method, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0120] An embodiment of the present invention further provides a computer-readable storage medium storing a program or instruction. When the program or instruction is executed on a computer, the computer executes the railway freight station line reconstruction method as described in the above method embodiment.

[0121] like Figure 7 As shown, an embodiment of the present invention further provides an electronic device, including: a processor 301, the processor 301 is coupled to a memory 302, and the processor 301 is used to read and execute a computer program stored in the memory 302 to implement the railway freight station line reconstruction method as described in the above method embodiment.

[0122] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A railway freight station line reconstruction method, characterized in that: include: Process the actual measurement points within the scope of the line to be reconstructed at the station to obtain the data required for line reconstruction; Based on the data required for the line reconstruction, the actual measuring points are grouped into straight line segments, circular curve segments and half-gauge offset segments using a slope first-order difference method; The position of each track is reconstructed in the order of straight line segments first and circular curve segments later, and the geometric position of each track is obtained; Based on the data required for line reconstruction and the geometric position of the track, the position of the turnout is reconstructed in the direction of increasing tracks to obtain the geometric position of the turnout, and the connection between the turnout and the track is achieved, thereby obtaining the position reconstruction result of the entire station line to be reconstructed.

2. The method according to claim 1, characterized in that Process the actual measurement points within the scope of the line to be reconstructed at the station to obtain the data required for line reconstruction, including: Read the basic scene settings of the station and clarify the scope of the line to be reconstructed; According to the basic scene settings, the following processing is performed: Acquire a track set, a turnout set, and basic information of the turnouts in the turnout set; Establish the connection between turnout and track; Generate a basic longitudinal distribution direction of the station, obtain an azimuth, read the actual measurement point and the initial coordinates of the actual measurement point, perform coordinate transformation on the initial coordinates of the actual measurement point according to the azimuth, and obtain the transformed coordinates of the actual measurement point; Read the actual measurement points of the turnout, the actual measurement points of the track and the actual measurement point pre-labels, and update the actual measurement points of the turnout and the actual measurement points of the track based on the actual measurement point pre-labels to obtain a set of actual measurement points of the turnout, a set of actual measurement points of the track and a sequence of actual measurement points of the track, wherein the actual measurement points of the turnout include the actual measurement points of the center of the track, the actual measurement points of the left track and the actual measurement points of the right track; Read the track gauge.

3. The method according to claim 2, characterized in that Based on the data required for the line reconstruction, the actual measurement points are grouped using the slope first-order difference method into straight line segments, circular curve segments and half-gauge offset segments, including: Calculate the slope of the actual measuring point and the first-order difference value of the slope of the actual measuring point; Traversing the actual measurement point sequence of the track in order, initially marking the actual measurement points based on the first-order difference value of the slope of the actual measurement points, and obtaining one or more straight line point groups and a number of actual measurement points marked as provisional points; Calculate the length of each straight line point group to obtain one or more straight line point group pairs to be determined, perform half-track gauge offset determination on the straight line point groups in each straight line point group pair to be determined, and obtain one or more half-track gauge offset point groups; In each of the half-track gauge offset point groups, a first virtual measuring point or a second virtual measuring point is respectively set, and the first virtual measuring point or the second virtual measuring point is classified into the straight line point group; The plurality of actual measurement points marked as provisional points are divided into one or more circular curve point groups. For the actual measurement points marked as provisional points that cannot be divided into the circular curve point groups, the attributes are redefined and they are additionally marked as doubtful points.

4. The method according to claim 3, characterized in that Calculating the length of each straight line point group to obtain one or more straight line point group pairs to be determined, performing half-track gauge offset determination on the straight line point groups in each of the straight line point group pairs to be determined, and obtaining one or more half-track gauge offset point groups, including: The actual measured points in each straight line point group are sorted according to the connection relationship of the actual measured points, and the longest distance between the actual measured points in each straight line point group is calculated according to the first actual measured point and the last actual measured point in each straight line point group to obtain the length of each straight line point group; Traversing the lengths of all the straight line point groups, calculating the difference between the lengths of two adjacent straight line point groups in turn to obtain a first difference, comparing the first difference with a straight line point group length comparison threshold, obtaining two adjacent straight line point groups whose first difference exceeds the straight line point group length comparison threshold, recording them as a straight line point group pair to be determined, and performing a half-track gauge offset determination on the straight line point group pair to be determined; Obtaining a straight line point group with a longer length from the straight line point group pairs to be determined, obtaining a longer straight line point group and an actual measurement point set of the longer straight line point group, and generating a fitting straight line by using a least square method based on the longer straight line point group and the actual measurement point set of the longer straight line point group; A shorter straight line point group is obtained from the straight line point group pairs to be judged to obtain a shorter straight line point group and an actual measurement point set of the shorter straight line point group, an average distance between all actual measurement points in the actual measurement point set of the shorter straight line point group and the fitted straight line is calculated to obtain a first average distance, a difference between the first average distance and 1 / 2 of the track gauge is calculated to obtain a second difference, and the second difference is compared with a track gauge offset comparison threshold; if the second difference is less than the track gauge offset comparison threshold, the shorter straight line point group is a half-track gauge offset of the longer straight line point group, and the shorter straight line point group is marked as a half-track gauge offset point group.

5. The method according to claim 4, characterized in that In each half-track gauge offset point group, a first virtual measuring point or a second virtual measuring point is respectively set, and the first virtual measuring point or the second virtual measuring point is classified into a straight line point group, including: Acquire a straight line point group adjacent to one side of the half-track gauge offset point group, set a first predetermined distance, take each actual measuring point in the half-track gauge offset point group as a reference, draw a perpendicular line with a length of the first predetermined distance to the fitting straight line, obtain a first perpendicular line, obtain an intersection point of the first perpendicular line and the fitting straight line, record the intersection point of the first perpendicular line and the fitting straight line as a first virtual measuring point, and classify the first virtual measuring point into the straight line point group adjacent to one side of the half-track gauge offset point group; Obtain a straight line point group adjacent to both sides of the half-track gauge offset point group, take the bisector of the fitted straight line of the adjacent straight line point groups on both sides as a new fitted straight line, set a second predetermined distance, take each actual measuring point in the half-track gauge offset point group as a reference, draw a perpendicular line with a length of the second predetermined distance to the new fitted straight line to obtain a second perpendicular line, obtain an intersection point of the second perpendicular line and the new fitted straight line, record the intersection point of the second perpendicular line and the new fitted straight line as a second virtual measuring point, classify the straight line point group adjacent to both sides of the half-track gauge offset point group and the second virtual measuring point into one straight line point group, and the half-track gauge offset point group is the half-track gauge offset point group of the straight line point groups adjacent to the half-track gauge offset point group.

6. The method according to claim 3, characterized in that A number of actual measurement points marked as provisional points are divided into one or more circular curve point groups. For actual measurement points marked as provisional points that cannot be divided into the circular curve point groups, their attributes are redefined and they are additionally marked as doubtful points, including: The plurality of actual measurement points marked as provisional points are sorted according to the connection relationship of the actual measurement points, and the continuous actual measurement points whose first-order difference values ​​of the slopes of the actual measurement points are all greater than 0 or all less than 0 are divided into a circular curve point group.

7. The method according to claim 1, characterized in that The position of each track is reconstructed in the order of firstly giving priority to the straight line segments and later postponing the circular curve segments, and the geometric position of each track is obtained, including: Reconstruct the line position of the straight line point group to obtain the geometric line position of the straight line point group, specifically: first step: Get the line point group and the set of measuring points of the line point group , traverse the set of measurement points Get the measurement points in and without measuring points The set of measuring points of the straight line point group , further traverse the set of measurement points Get the measurement points in , pass through the measuring point The two straight lines, the measuring points The vertical distance from each of the two straight lines is the third predetermined distance, and the slopes of the two straight lines are calculated respectively to obtain the slope range Finally, multiple slope ranges are obtained, and the number of slope ranges is equal to the number of measurement point sets. The number of measuring points in the slope range is recorded as ; Step 2: Get all the slope ranges mentioned The intersection of ,by The slope is generated through the measuring point The effective straight line is calculated as follows: The sum of the vertical distances between each measuring point and the effective straight line is obtained to obtain the sum of the vertical distances; Establish the measurement point set The measuring points in , the corresponding relationship between the effective straight line and the sum of the vertical distances; Step 3: Traverse the set of measurement points After measuring all the measuring points in the above method, the sum of multiple vertical distances is obtained, the sum of each vertical distance is compared, the minimum vertical distance sum is obtained, and the effective straight line corresponding to the minimum vertical distance sum is selected as the straight line point group. The geometric line position.

8. The method according to claim 7, characterized in that The position of each track is reconstructed in the order of firstly giving priority to the straight line segments and later postponing the circular curve segments to obtain the geometric position of each track, and further includes: Based on the geometric line position of the straight line point group, the line position of the circular curve point group is reconstructed to obtain the geometric line position of the circular curve point group, which is specifically: first step: Get the circular curve point group , the actual measurement point set of the circular curve point group , the actual measured points in the actual measured point set of the circular curve point group , get the circle curve point group The adjacent straight line point group The geometric line position, the straight line point group The third virtual measuring point is generated on the geometric line position. Specifically, when the circular curve point group With a said straight line point group When the circle point group is adjacent, a third virtual measuring point is generated. The point group with two straight lines When they are adjacent, a pair of third virtual measuring points is generated; When generating the third virtual measuring point, along the straight line point group The geometric line position is traversed with a fixed step size until the circular curve point group is traversed The distance between the straight line points The nearest actual measurement point In the straight line point group The projection point on the straight line point group The outermost point The projection point is the third virtual measuring point. Add the third virtual measuring point to the actual measuring point set , obtain the measuring point set of the circular curve point group added to the third virtual measuring point ; Step 2: Determine the set of measuring points If the number of the third virtual measuring points in the above-mentioned embodiment includes two third virtual measuring points, the two third virtual measuring points are recorded as and If a third virtual measuring point is included, the third virtual measuring point and the actual measuring point farthest from the third virtual measuring point are recorded as and If the third virtual measuring point is not included, the actual measuring point set The two actual measurement points farthest apart in and ; Based on the predetermined starting radius and the predetermined maximum radius, the steps are calculated and generated in the predetermined radius step order. and For each of the circular curves, calculate the set of measuring points and The distances from the remaining measuring points to the circular curve are calculated to obtain multiple shortest distances, and the size of each of the shortest distances and the fourth predetermined distance is determined respectively. If each of the shortest distances is smaller than the fourth predetermined distance, the average of the multiple shortest distances is calculated to obtain a second average distance, and finally the second average distance corresponding to each of the circular curves is obtained, and the corresponding relationship among the second average distance, the radius and the third virtual measuring point is recorded in the circular curve dimension; Step 3: Compare the sizes of the second average distances corresponding to each of the circular curves, and select the smallest second average distance therefrom; Step 4: A circular curve is generated based on the third virtual measuring point corresponding to the smallest second average distance and the radius.

9. The method according to claim 2, characterized in that: Based on the data required for line reconstruction and the geometric position of the track, the position of the turnout is reconstructed in the direction of increasing track, the geometric position of the turnout is obtained, and the connection between the turnout and the track is achieved, thereby obtaining the position reconstruction result of the entire station line to be reconstructed, including: Acquire the connection relationship between the turnout and the track, traverse the turnout set, and acquire the basic information of the turnout, the turnout measuring point, and the geometric position of the track connected to the turnout; The turnout is connected with the track, specifically: Get the track that does not contain the actual measurement point, and take the line connecting the actual measurement point of the track center at one end of the turnout and the actual measurement point of the track center at the opposite end of the adjacent turnout as the latest geometric line position of the track; A track whose geometric line position is a circular curve is obtained, and the remaining tracks connected by the turnout are used as a reference. The geometric line positions of the remaining tracks connected by the turnout are straight lines. The angle of the turnout extension line is calculated according to the standard size corresponding to the turnout model. The turnout extension line is generated according to the angle of the turnout extension line. If the turnout extension line intersects with the circular curve, all intersection points of the turnout extension line and the circular curve are obtained. Among all the intersection points of the turnout extension line and the circular curve, the intersection point that is farther from the turnout is used to intercept the turnout extension line and the circular curve. The circular curve is obtained, and the intercepted turnout extension line and the intercepted circular curve are obtained, and the intercepted turnout extension line and the intercepted circular curve are the latest geometric line position of the track; if the turnout extension line does not intersect with the circular curve, a tangent line is made to the circular curve from the central measuring point of one end of the turnout connecting the circular curve as the starting point, and a tangent point is obtained, and the tangent line and the circular curve are intercepted by using the tangent point to obtain the intercepted tangent line and the intercepted circular curve, and the intercepted tangent line and the intercepted circular curve are the latest geometric line position of the track; Determine the geometric position of the turnout, specifically: Calculate the included angle of three tracks connected to the turnout, respectively calculate the deviation between the included angle of the three tracks connected to the turnout and the turnout frog angle, and judge whether the deviation meets the turnout frog angle judgment threshold. If so, extend the track connected to the turnout in the opposite direction, take the intersection of the three tracks as the turnout center point, and generate the turnout outer end connection point according to the standard size corresponding to the turnout model. If not, take the decreasing direction of the track as the reference direction, generate the turnout connection direction angle according to the reference direction, update the end point position of the turnout, update the actual measurement point of the track center at the end point position, and re-update the geometric line position of the track connected to the turnout.

10. A railway freight station line reconstruction system, characterized in that: include: A processing module is used to process actual measurement points within the scope of the line to be reconstructed at the station to obtain data required for line reconstruction; A grouping module, used for grouping the actual measuring points into straight line segments, circular curve segments and half-gauge offset segments by using a slope first-order difference method based on the data required for the line reconstruction; A track position reconstruction module is used to reconstruct the position of each track in the order of giving priority to the straight line segments and postponing the circular curve segments, so as to obtain the geometric position of each track; The switch line position reconstruction module is used to reconstruct the line position of the switch in the direction of increasing tracks based on the data required for line reconstruction and the geometric line position of the track, obtain the geometric line position of the switch, and achieve the connection between the switch and the track, thereby obtaining the line position reconstruction result of the entire station line to be reconstructed.

11. A computer-readable storage medium, characterized in that: A program or instruction is stored, and when the program or instruction is executed on a computer, the computer is caused to execute the railway freight station line reconstruction method as described in any one of claims 1-9.

12. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is used to read and execute the computer program stored in the memory to implement the railway freight station line reconstruction method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Existing railway station track line position reconstruction method and system

    CN113919021A

  • Horizontal and longitudinal co-processing method for reconstruction of existing single-line railway

    CN116150853A

  • Existing railway vertical section line shape reconstruction method, computer storage medium and equipment

    CN118094889A

  • Turnout three-dimensional visualization method, device, equipment and medium

    CN119152134A

  • System and method for railyard planning

    US20070005200A1