Train positioning method and system based on sleeper coding and mileage calculation
By acquiring train speed and cumulative travel distance through a speed measurement module, detecting sleeper code point clouds within the expected identification range, and combining absolute position information to calculate train position, the problem of difficult sleeper code identification at high speeds is solved, achieving accurate and efficient train positioning.
Patent Information
- Application Number
- CN202611444815.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-12-01
AI Technical Summary
In rail transportation, when trains are running at high speeds, it is difficult to accurately identify sleeper codes, resulting in discontinuous positioning results. Existing technologies usually improve point cloud quality by reducing speed or increasing hardware costs, but the effect is limited.
The train speed is obtained by the speed measurement module, the travel distance is accumulated, and the sleeper code point cloud is detected within the expected recognition range. The train position is calculated by combining the absolute position of the sleeper code and the distance measurement information, which reduces the need for decoding the sleeper code and reduces the amount of computation.
Accurately identifying sleeper codes under high-speed conditions improves positioning accuracy, reduces computational load, ensures the continuity and reliability of positioning results, and adapts to different speeds and environments.
Smart Images

Figure CN123190887A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transportation, and in particular to a train positioning method and system based on sleeper coding and mileage calculation. Background Technology
[0002] In the field of rail transportation, real-time continuous train positioning is the foundation of driving safety and operation control. In recent years, an autonomous positioning method has emerged that uses onboard environmental perception sensors to identify trackside structures. One typical approach is to deploy coded targets on the sleepers, and the train collects and analyzes the coded information to find the absolute position of the targets along the entire line, and then calculates the train's own position.
[0003] In the aforementioned scheme, several sets of coded targets are first set on the sleepers along the track according to the coding protocol. Each set of codes consists of multiple adjacent sleepers, and each sleeper in the set represents a different coded bit of that set. Therefore, a set of codes occupies a spatial span of several meters along the track direction. The train uses a point cloud acquisition module to transmit detection signals to detect all targets ahead, obtain the distance information of each target, and convert it into point cloud data. The onboard computer first uses a sleeper extraction algorithm to cluster and segment the coded sleeper targets from the entire point cloud. Then, according to the coding protocol, it decodes the entire set of codes to determine its validity and converts it into the estimated position information of that set of codes along the entire line. Finally, the estimated position information of the train is obtained by subtracting the distance measurement information from the point cloud data from the estimated position information of the sleeper codes.
[0004] In the aforementioned positioning process, obtaining the positioning result depends on the successful decoding of the sleeper code, and the reliability of the decoding is directly related to the geometric fidelity of the acquired point cloud. The point cloud acquisition module needs to complete the acquisition of a frame of point cloud by scanning point by point or line by line. This acquisition process has a non-zero time span. During this period, the train moves continuously along the track, so that the code elements distributed along the track direction in the same set of codes are actually sampled sequentially when the train is in different spatial positions. Points that are originally located on the same plane will have distance differences due to the order of acquisition time, which is called motion distortion. As a result, the relative spacing between the code elements in the reconstructed point cloud is no longer consistent with the true geometric relationship. Furthermore, a set of codes needs to be carried by multiple sleepers and must be completely decoded to be valid. The larger the spatial span it occupies, the greater the difference in the spatial position of the train when the code elements at the beginning and end are sampled, and the more the aforementioned distortion is amplified. Since the reconstruction of encoded content relies on distinguishing the form and arrangement order of each code element, when the change in code element spacing caused by distortion approaches or exceeds the spacing between adjacent code elements, the code element boundaries and arrangement order are difficult to reliably distinguish, resulting in a decrease in code element resolution, which in turn leads to decoding difficulties or even the inability to decode. Furthermore, since the absolute position term of the sleeper code in the train absolute position calculation formula is entirely provided by the decoding result, each positioning output requires a successful and complete decoding. Therefore, as train speed increases and decoding success rate decreases, the number of point cloud frames that can effectively participate in positioning calculations decreases, making it difficult to guarantee continuous output of train positioning results. To address point cloud distortion, engineering approaches typically include reducing train speed to improve point cloud quality or using higher-resolution point cloud acquisition modules with added anti-distortion processing measures. However, the former sacrifices line operating efficiency for positioning reliability, while the latter significantly increases hardware and computing costs. Moreover, the root cause of distortion—the relative displacement between the sensor and the observed object within the acquisition time span—is not eliminated by increasing point cloud resolution. Therefore, how to reduce the impact of geometric distortion caused by the relative displacement between the sensor and the observed object on the encoding and restoration process during point cloud acquisition, so as to continuously and reliably output train positioning results even when the train is running at a high speed, is a technical problem that urgently needs to be solved by those skilled in the art.
[0005] The statements herein provide only background information in relation to this invention and do not necessarily constitute prior art. Summary of the Invention
[0006] The purpose of this invention is to provide a train positioning method and system based on sleeper coding and mileage calculation, which solves the problem of sleeper coding being difficult to identify under high-speed conditions, improves the accuracy of sleeper coding identification, and reduces the computational workload of sleeper coding identification.
[0007] To achieve the above objectives, the present invention provides a train mileage estimation and positioning method based on sleeper coding, comprising the following steps: Obtain the train's running speed output by the speed measurement module, and determine the i-th sleeper code B where the train is currently located. i And from the i-th sleeper code B i Starting from the current location, the cumulative distance traveled by the train is calculated based on the stated operating speed, resulting in the cumulative travel distance OL. i , where i is a positive integer; Retrieve the i-th sleeper code B from the storage module. i With the (i+1)th sleeper code B i+1 The spacing L between i→i+1 The storage module stores the absolute position of all sleeper codes along the track line and the spacing between any two sleeper codes, as well as the sleeper code identification distance RL. When |OL i +RL-L i→i+1 When |≤ΔL, it is determined that the train has entered the (i+1)th sleeper code B. i+1 The expected recognition range, where ΔL is the expected deviation threshold; Within the expected recognition range, it is determined whether a sleeper-coded point cloud appears in the sleeper target point cloud data acquired by the point cloud acquisition module; if it does, the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+1)th sleeper code B. i+1 ; The (i+1)th sleeper code B is obtained from the storage module. i+1 The absolute position X(i+1) of the point cloud acquisition module is obtained, and the code B of the (i+1)th sleeper is obtained. i+1 The distance information x between the absolute positions is used to calculate the estimated position information X_abs of the train. Using the (i+1)th sleeper code B i+1 Update the sleeper code of the current location of the train, and return to perform the above steps.
[0008] Determine the i-th sleeper code B where the train is currently located. i This includes: decoding the sleeper target point cloud data under the condition that the train's operating speed is less than or equal to a speed threshold, sequentially obtaining two sleeper codes adjacent to each other along the track line, determining the train's direction of travel based on the absolute positions of the two sleeper codes along the track line, and using the later sleeper code obtained between the two sleeper codes as the i-th sleeper code B. i .
[0009] From the i-th sleeper code B iStarting from the position of the first sleeper closest to the train in the corresponding sleeper group, the train's travel distance is accumulated according to the operating speed.
[0010] The expected deviation threshold ΔL ranges from 0.5 meters to 5 meters.
[0011] The expected deviation threshold ΔL is in the cumulative driving distance OL i +RL is less than the spacing L i→i+1 The value on one side is the first deviation threshold ΔL1, and the cumulative driving distance OL is... i +RL is greater than the spacing L i→i+1 The value on one side is the second deviation threshold ΔL2, and the first deviation threshold ΔL1 is greater than the second deviation threshold ΔL2; When OL i +RL≥L i→i+1 -ΔL1 and OL i +RL≤L i→i+1 When +ΔL2, it is determined that the train has entered the (i+1)th sleeper code B. i+1 The expected recognition range.
[0012] When OL i >L i→i+1 When +ΔL, determine the (i+1)th sleeper code B. i+1 Missed detection leads to OL i+1 =OL i -L i→i+1 Using the (i+1)th sleeper code B i+1 Update the sleeper code of the train's current location, and use OL. i+1 As the (i+1)th sleeper code B i+1 The accumulated travel distance is calculated, and the process returns to the step of determining the expected identification interval, while incrementing the number of missed sleeper codes by 1.
[0013] When the number of consecutively missed sleeper codes reaches the missed detection threshold N, the train is determined to have lost its location, and the train is slowed down to below the speed threshold. The sleeper code where the train is currently located is then re-determined by decoding.
[0014] The threshold value N for the number of missed detections ranges from 2 to 10.
[0015] When the i-th sleeper is coded B i Subsequently, a turnout is present, and the (i+1)th sleeper code B is set on the reverse approach of the turnout. i+1 The positioning route is equipped with the (i+2)th sleeper code B. i+2 At that time, the accumulated driving distance OL i+RL are respectively associated with the i-th sleeper code B i With the (i+1)th sleeper code B i+1 The spacing L between i→i+1 and the i-th sleeper code B i With the (i+2)th sleeper code B i+2 The spacing L between i→i+2 Compare; When OL i +RL falls within the distance L. i→i+1 When a predetermined expected identification interval is determined, and a sleeper-coded point cloud appears in the sleeper target point cloud data, it is determined that the train is running on a reverse route, and the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+1)th sleeper code B. i+1 ; When OL i +RL falls within the distance L. i→i+2 When a predetermined identification range is determined and a sleeper-coded point cloud appears in the sleeper target point cloud data, it is determined that the train is running on the positioning route, and the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+2)th sleeper code B. i+2 .
[0016] The present invention also provides a train positioning method, comprising the following steps: The point cloud acquisition module collects all point cloud data in front of the train, and the sleeper extraction algorithm is used to extract the sleeper target point cloud data from all the point cloud data. Obtain the train's running speed output by the speed measurement module; The train's operating speed is compared with a speed threshold. When the running speed is less than or equal to the speed threshold, the sleeper target point cloud data is decoded to obtain the decoded position information of the train; When the operating speed is greater than the speed threshold, the estimated position information of the train is obtained by using the train mileage estimation and positioning method based on sleeper coding.
[0017] The method also includes: decoding the sleeper target point cloud data to obtain the decoded position information of the train; comparing the decoded position information with the estimated position information X_abs obtained by the train mileage estimation and positioning method based on sleeper coding; and determining that the decoded position information is incorrect when |decoded position information - X_abs| > 2ΔL, and returning to determine the i-th sleeper code B where the train is currently located. i The steps.
[0018] The speed threshold is less than or equal to 40 kilometers per hour.
[0019] The present invention also provides a train mileage estimation and positioning system based on sleeper coding, including a sleeper coding target, a point cloud acquisition module, a speed measurement module, a storage module and an on-board computer; The sleeper coding target is formed by drawing the sleeper code along the track line on the sleeper; The point cloud acquisition module is installed on the train body and is communicatively connected to the onboard computer. It is used to acquire all point cloud data in front of the train and send it to the onboard computer. The speed measuring module is communicatively connected to the onboard computer and is used to output the train's operating speed; The storage module is communicatively connected to the on-board computer and is used to store the absolute position of each sleeper code along the track line and the spacing between any two sleeper codes. The onboard computer is configured to perform the steps of the train positioning method based on sleeper coding and mileage calculation.
[0020] The present invention also provides a train positioning system, including a sleeper coded target, a point cloud acquisition module, a speed measurement module, a storage module, and an on-board computer; The sleeper coding target is formed by drawing the sleeper code along the track line on the sleeper; The point cloud acquisition module is installed on the train body and is communicatively connected to the onboard computer. It is used to acquire all point cloud data in front of the train and send it to the onboard computer. The speed measuring module is communicatively connected to the onboard computer and is used to output the train's operating speed; The storage module is communicatively connected to the on-board computer and is used to store the absolute position of each sleeper code along the track line and the spacing between any two sleeper codes. The onboard computer is configured to perform the steps of the train positioning method.
[0021] The present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the train positioning method based on sleeper coding and mileage calculation, or implements the steps of the train positioning method.
[0022] The present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the steps of the train positioning method based on sleeper coding and mileage estimation, or implements the steps of the train positioning method.
[0023] The present invention has the following beneficial effects: 1. This invention adds a speed measurement module, which outputs the train's operating speed. The onboard computer accumulates the train's travel distance based on this operating speed. When the difference between the accumulated travel distance and the distance between the i-th sleeper code and the (i+1)-th sleeper code is less than or equal to the expected deviation threshold, it is determined that the train has entered the expected recognition range of the (i+1)-th sleeper code. Within this range, the identity of the sleeper code is inferred based on whether a sleeper code point cloud appears. Therefore, even when the train's operating speed exceeds the speed threshold, or when the point cloud acquired by the point cloud acquisition module undergoes motion distortion, resulting in a decrease in the code element resolution of the sleeper code and causing decoding difficulties or even the inability to decode, the identity determination and position update of the sleeper code can still be completed, solving the problem of sleeper code recognition being difficult at high speeds.
[0024] Since the cumulative travel distance is obtained by accumulating the travel time from the operating speed, and the travel time between two adjacent sleeper codes decreases as the operating speed increases, under the condition that the speed measurement accuracy of the speed measurement module is the same, the higher the operating speed, the shorter the time for distance accumulation, the smaller the cumulative error, and the higher the accuracy of determining the expected identification interval.
[0025] 2. The speed threshold, expected deviation threshold, and missed detection number threshold in this invention can all be selected according to actual needs. Therefore, on trains using different speed measurement methods, the above thresholds can be flexibly adjusted to improve the success rate of detection and comprehensively balance the reliability and usability of the positioning results.
[0026] 3. By setting the rules for sleeper coding, the on-board computer can reliably distinguish whether the train is traveling on the turnout's positioning route or the reverse route based on whether the cumulative travel distance falls into the expected recognition range determined by the distance between the i-th sleeper code and the (i+1)-th sleeper code, or the distance between the i-th sleeper code and the (i+2)-th sleeper code. This solves the positioning problem on the fork road.
[0027] 4. This invention only checks whether a new sleeper-coded point cloud appears within the expected recognition range, without decoding the code content of the point cloud. That is, it replaces the decoding of the sleeper-coded point cloud with a combination logic of cumulative distance estimation and point cloud appearance detection, thus reducing the demand for sleeper code recognition and reducing the computational load of sleeper code recognition.
[0028] 5. At the speed at which decoding is possible, the two positioning output methods can be mutually verified. This invention compares the decoded position information with the estimated position information. When the difference between the two is greater than twice the expected deviation threshold, it is considered that the decoded positioning output is incorrect and the train needs to perform initial positioning again. Attached Figure Description
[0029] Figure 1 This is a flowchart of a train positioning method and a train mileage estimation and positioning method based on sleeper coding provided by the present invention.
[0030] Figure 2 This is a schematic diagram of the expected deviation threshold.
[0031] Figure 3 This is a schematic diagram of determining the sleeper code in a turnout scenario. Detailed Implementation
[0032] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and use non-precise proportions, used only to facilitate and clearly illustrate the embodiments of the present invention. Please refer to the drawings to make the objectives, features, and advantages of the present invention more apparent and understandable. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed in the specification, and are not intended to limit the implementation conditions of the present invention. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to the size, without affecting the effects and objectives achieved by the present invention, should still fall within the scope of the technical content disclosed in the present invention.
[0033] This embodiment provides a train mileage estimation and positioning method based on sleeper coding, executed by the train's onboard computer. When the train speed exceeds a speed threshold or the sleeper coding point cloud exhibits motion distortion and becomes difficult to decode, the point cloud is no longer decoded. Instead, the train's travel distance is accumulated based on the operating speed, and the location of the next sleeper coding is inferred from the accumulated travel distance. The train's position is then determined by combining the absolute position of the sleeper coding with the distance measurement information.
[0034] like Figure 1 As shown, the train mileage estimation and positioning method based on sleeper coding includes the following steps: Step S1: Determine the current sleeper code and start calculating the cumulative travel distance.
[0035] The onboard computer acquires the train's speed output from the speed measurement module and determines the i-th sleeper code B where the train is currently located. i Where i is a positive integer. Determine the code B for the i-th sleeper. i The process is called the initial positioning process: the train needs to identify two sleeper codes in succession to complete the initial positioning; if the train has not completed the initial positioning, the cumulative travel distance cannot be calculated and it must wait for a valid initial positioning.
[0036] Starting from the i-th sleeper code B iStarting from its current location, the onboard computer accumulates the train's travel distance based on its operating speed, obtaining the accumulated travel distance OL. i The cumulative driving distance is the integral of the operating speed over the driving time. This is calculated by the onboard computer reading the operating speed periodically and adding it up periodically, starting at time OL. i =0. The starting time is when the train arrives at the i-th sleeper code B. i At that moment.
[0037] Step S2: Obtain the spacing between adjacent codes.
[0038] The onboard computer retrieves the current sleeper code B using the sleeper coding protocol and data pre-configured on the train. i To the next sleeper code B i+1 Spacing L i→i+1 (These are system data, pre-stored in the storage module). The storage module also stores the sleeper code recognition distance RL. During point cloud acquisition, a certain distance is needed from the sleeper code to see the complete sleeper code point cloud. When the train reaches the next sleeper code (OL)... i =L i→i+1 (The point cloud is no longer visible, so identification cannot be completed.)
[0039] Step S3: Determine the expected recognition interval.
[0040] Onboard computer calculates cumulative driving distance OL i +RL and spacing L i→i+1 The absolute value of the difference, when |OL i +RL-L i→i+1 When |≤ΔL, the train is determined to have entered sleeper code B (i+1). i+1 The expected recognition range is given by , where RL is the sleeper coding recognition distance and ΔL is the expected deviation threshold. The equivalent form of this criterion is L. i→i+1 -ΔL≤OL i +RL≤L i→i+1 +ΔL.
[0041] Step S4: Detect the sleeper coded point cloud within the expected recognition range.
[0042] When the cumulative driving distance is OL i When +RL reaches the vicinity of the next sleeper code, the onboard computer checks whether a new sleeper code point cloud has been received. Here, the onboard computer only determines whether a sleeper code point cloud appears in the sleeper target point cloud data acquired by the point cloud acquisition module; it does not decode the code element content of that point cloud cluster. If a sleeper code point cloud appears, it is considered that the next sleeper code has been detected, and the sleeper code corresponding to the appearing sleeper code point cloud is presumed to be the (i+1)th sleeper code B. i+1 .
[0043] Among them, the sleeper target point cloud data is extracted by the on-board computer from all the point cloud data in front of the train's movement collected by the point cloud acquisition module using the sleeper extraction algorithm.
[0044] Step S5: Calculate the estimated location information.
[0045] The onboard computer searches for the encoding protocol and sleeper encoding data to obtain the (i+1)th sleeper code B. i+1 The absolute position X(i+1) is then combined with the point cloud acquisition module's measurement of the (i+1)th sleeper code B. i+1 The distance information x between the absolute positions is used to obtain the estimated position information X_abs of the train.
[0046] Step S6: Update and loop.
[0047] The onboard computer uses the (i+1)th sleeper code B. i+1 Update the current sleeper code of the train, increment i by 1, clear the accumulated travel distance to zero and start the calculation again, return to steps S1 to S5, and thus recursively advance to the next sleeper code segment by segment during the train operation.
[0048] In order to obtain the starting reference even under high-speed conditions where decoding is impossible, When the train's operating speed is less than or equal to a speed threshold, the onboard computer decodes the sleeper target point cloud data to sequentially obtain the codes of two adjacent sleepers along the track line. The reason for obtaining two adjacent codes sequentially is that a single sleeper code only provides the train's absolute position and not its orientation; only by obtaining two sleeper codes can the location of the next sleeper code on which side of the track mileage it is situated on be determined.
[0049] The onboard computer reads the absolute positions of the two sleeper codes and compares their mileage coordinates along the track to determine the train's direction of travel: if the mileage coordinates of the later-obtained sleeper code are greater than those of the earlier-obtained code, the train is determined to travel in the direction of increasing mileage (upward); otherwise, the train is determined to travel in the direction of decreasing mileage (downward). Subsequently, the onboard computer uses the later-obtained sleeper code as the i-th sleeper code B. i .
[0050] To ensure that the cumulative starting point and the obtained absolute position use the same reference, The onboard computer starts from the i-th sleeper code B iStarting from the position of the first sleeper closest to the train in the corresponding sleeper group, the train's travel distance is accumulated based on the operating speed. Correspondingly, the absolute position X(i) of the code obtained through the sleeper coding protocol and data is the mileage coordinate of the first sleeper's location. Since a group of sleepers corresponding to the same sleeper code are arranged sequentially along the track, using different sleepers within the group as a reference will result in deviations in the starting point. Using the first sleeper closest to the train as the reference ensures consistency between the starting point and the absolute position value.
[0051] In order to make the width of the expected recognition range adaptable to different speed measurement accuracies and coding spacing, The expected deviation threshold ΔL ranges from 0.5 meters to 5 meters. The value of ΔL reflects the train's permissible positioning accuracy requirements and can be set based on the accuracy of the speed measurement module and the maximum spacing of the sleeper codes: for high accuracy and small maximum spacing, ΔL can be set to a smaller value, such as 0.5 meters to 2 meters; for low accuracy and large spacing, ΔL can be set to 2 meters to 5 meters. A smaller ΔL results in a narrower expected recognition range and higher detection confidence, but also increases the accuracy requirements of the speed measurement module. Conversely, a larger ΔL results in a wider expected recognition range, higher detection availability, and lower accuracy requirements. The setting of ΔL is also influenced by factors such as the lidar point cloud detection distance, blind zone distance, and the speed measurement accuracy of the speed measurement module.
[0052] like Figure 2 As shown, the expected deviation threshold is based on the cumulative driving distance OL. i +RL and spacing L i→i+1 The zero point of the difference is set as the baseline. When OL i +RL =L i→i+1 At that time, the train had just reached the (i+1)th sleeper code B. i+1 The location is the zero point. Different tolerances can be set on the negative and positive sides of this zero point; that is, within the deviation OL... i +RL -L i→i+1 The negative side indicates that the train has not yet reached the (i+1)th sleeper code B. i+1 On one side, a negative deviation is set, namely the first deviation threshold ΔL1; at the deviation amount OL i +RL -L i→i+1 The positive side indicates that the train has passed the (i+1)th sleeper code B. i+1 On one side, a positive deviation is set, namely the second deviation threshold ΔL2.
[0053] At this point, it is determined that the train has entered sleeper code B (i+1). i+1 The condition for the expected recognition interval is: OL i +RL≥L i→i+1-ΔL1 and OL i +RL≤L i→i+1 +ΔL2. That is, the expected recognition interval is defined by the zero point L. i→i+1 The interval is defined by the first deviation threshold ΔL1 extending to the side where the train has not yet arrived and the second deviation threshold ΔL2 extending to the side where the train has already passed.
[0054] Since a larger first deviation threshold ΔL1 allows for earlier searching for sleeper codes, and a smaller second deviation threshold ΔL2 allows for earlier detection of missed detections after skipping the next code, the first deviation threshold ΔL1 is greater than the second deviation threshold ΔL2.
[0055] In one specific embodiment, the second deviation threshold ΔL2 is set to 2 meters, and the first deviation threshold ΔL1 is set to 4 meters. That is, when the expected deviation threshold ΔL is 2 meters, the tolerance for the side where the train has not yet arrived is 4 meters, and the tolerance for the side where the train has already passed is 2 meters. The value of RL is set according to the characteristics of the point cloud acquisition module, and is generally a fixed value between 10 and 20 meters.
[0056] In order to continue recursive positioning even when individual sleeper codes are not detected, the present invention also provides an implementation method for handling missed detections.
[0057] When OL i >L i→i+1 When +ΔL, it indicates that the train has passed the (i+1)th sleeper code B. i+1 If no new sleeper code point cloud is received within the expected recognition range, the onboard computer determines that the (i+1)th sleeper code is B. i+1 Missed detection. In embodiments employing a first deviation threshold ΔL1 and a second deviation threshold ΔL2, this criterion is correspondingly expressed as OL. i >L i→i+1 +ΔL2. When determining whether a sleeper code has been missed, there is no need to increase the sleeper code recognition distance RL. This results in a larger cumulative travel distance value, confirming that the next sleeper code has been traveled, making the judgment condition more sufficient.
[0058] After a missed detection occurs, the onboard computer commands the OL (Office Worker) to... i+1 =OL i -L i→i+1 That is, the travel distance already covered belonging to the i-th segment is deducted from the cumulative value, and the remaining amount is used as the starting cumulative value for the next segment; the (i+1)-th sleeper is coded B. i+1 Update the sleeper code of the current train location and use OL. i+1 As the sleeper code B from the (i+1)th time i+1 The initial cumulative travel distance is calculated, and then the distance L between the (i+1)th and (i+2)th codes is found. i+1→i+2Using OL i+1 With this spacing L i+1→i+2 Continue to calculate the position of the next sleeper code, and at the same time, increment the number of sleeper codes that were missed by 1.
[0059] Building upon the aforementioned handling of missed detections, this invention also provides a method for recovering location information after it is lost, in order to restore positioning when the calculated results are unreliable. When the number of consecutively missed sleeper codes reaches a missed detection threshold N, the current positioning information is considered unreliable. The onboard computer determines that the train has lost its positioning, and the train reduces its speed so that the sleeper code decoding positioning method can identify the correct code value and obtain the correct positioning result. Subsequently, the sleeper code where the train is currently located is re-determined using a decoding method, and the calculation process restarts.
[0060] The threshold value N for the number of missed detections ranges from 2 to 10. Its value is related to the speed measurement accuracy of the speed measurement module and the positioning accuracy required by the project: if the speed measurement accuracy is high and the positioning accuracy requirement is high, then N takes a smaller value; if the speed measurement accuracy is low and the positioning accuracy requirement is low, then N takes a larger value.
[0061] In order to enable trains to determine their route in turnout sections, the present invention also provides a positioning implementation method in turnout scenarios.
[0062] like Figure 3 As shown, when the i-th sleeper is coded B i There is a turnout thereafter, and the (i+1)th sleeper is coded B. i+1 Located on the reverse approach of the turnout, and the (i+2)th sleeper is coded B. i+2 When located on the turnout positioning path, the onboard computer simultaneously obtains the i-th sleeper code B through the sleeper coding protocol and data. i With the (i+1)th sleeper code B i+1 The spacing L between i→i+1 and the i-th sleeper code B i With the (i+2)th sleeper code B i+2 The spacing L between i→i+2 And will accumulate driving distance OL i +RL is compared with these two spacings respectively.
[0063] When OL i +RL falls into the space L i→i+1 When a predetermined recognition interval is established and a sleeper-coded point cloud appears in the sleeper target point cloud data, the onboard computer determines that the train is running on the reverse route and presumes the sleeper code corresponding to the appearing sleeper-coded point cloud as the (i+1)th sleeper code B. i+1 When OL i +RL falls into the space L i→i+2When the expected identification range is determined and a sleeper-coded point cloud appears in the sleeper target point cloud data, it is determined that the train is running on the positioning route, and the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed as the (i+2)th sleeper code B. i+2 .
[0064] If L i→i+1 With L i→i+2 If no sleeper code point cloud is received within the two corresponding expected recognition intervals, the search for the next sleeper code can continue according to the sleeper code missed detection, or an abnormal alarm can be output.
[0065] To cover the full speed range from low speed to high speed, the present invention also provides a train positioning method executed by an onboard computer.
[0066] like Figure 1 As shown, the train positioning method includes: installing a point cloud acquisition module on the running train to acquire point cloud data ahead of the train and sending it to an onboard computer; the onboard computer then uses a sleeper extraction algorithm to extract target point cloud data for the sleepers from all the point cloud data. Simultaneously, the current train speed is acquired from a speed measurement module, and it is determined whether the train speed exceeds a preset speed threshold V. th Different sleeper coding and recognition algorithms are selected based on different judgment results.
[0067] When the running speed is less than or equal to the speed threshold V th At this time, the point cloud motion distortion is small and the symbol resolution is sufficient to support decoding. The onboard computer decodes the sleeper target point cloud data to obtain the train's decoded position information. When the running speed is greater than the speed threshold V... th When point cloud motion distortion occurs and decoding success rate decreases, the onboard computer switches to the aforementioned train mileage estimation and positioning method based on sleeper coding to obtain the estimated position information of the train.
[0068] To cross-validate the positioning results obtained from the two positioning methods, this invention also provides a mutual verification implementation method. At a speed where decoding is possible, the two positioning methods can mutually verify each other: the onboard computer decodes the sleeper target point cloud data to obtain the decoded position information of the train; the decoded position information is compared with the estimated position information X_abs obtained using the train mileage estimation positioning method based on sleeper coding; when |decoded position information - X_abs| > 2ΔL, the decoded position information is determined to be incorrect, and the process returns to determine the current position of the train at the i-th sleeper code B. i The step involves the train needing to be repositioned.
[0069] The velocity threshold V th The speed threshold V is typically less than or equal to 40 kilometers per hour. thBased on the success rate of sleeper encoding and decoding recognition: the lower the operating speed, the higher the success rate of sleeper encoding and decoding recognition. Set the speed threshold V... th Setting the speed threshold V to a lower value allows for an earlier switch to the odometry positioning method, but initial positioning still relies on decoding and identification, and the reliability of odometry positioning is lower than that of decoding positioning. th Lower is not necessarily better.
[0070] This embodiment also provides a train mileage estimation and positioning system based on sleeper coding, including a sleeper coding target, a point cloud acquisition module, a speed measurement module, a storage module, and an on-board computer.
[0071] The sleeper coding target is formed by drawing the sleeper code along the track line on the sleeper, and serves as a target for train positioning.
[0072] The point cloud acquisition module is installed on the train's body and communicates with the onboard computer. It is used to acquire all point cloud data ahead of the train and send it to the onboard computer. The point cloud acquisition module can be implemented using a LiDAR or depth camera installed on the running train.
[0073] The speed measurement module communicates with the onboard computer to output the train's operating speed. The speed measurement module can use the train's own built-in speed measurement module.
[0074] The storage module is connected to the onboard computer and is used to store the sleeper coding protocol and data that are configured in advance, including the absolute position information corresponding to the sleeper code and the spacing between two sleeper codes.
[0075] The onboard computer is configured to execute the train mileage estimation and positioning method based on sleeper coding.
[0076] Accordingly, this embodiment also provides a train positioning system, whose components and connections are the same as the train mileage estimation positioning system based on sleeper coding described above. The only difference is that the on-board computer is configured to execute the train positioning method, thereby obtaining the train positioning results by decoding at low speeds and by mileage estimation at high speeds.
[0077] This invention adds a speed measurement module, which outputs the train's operating speed. The onboard computer then accumulates the train's travel distance based on this speed. When the accumulated travel distance reaches OL... i With the i-th sleeper code B i Up to the (i+1)th sleeper code B i+1 Spacing L i→i+1 Satisfying | OL i +RL -L i→i+1 When |≤ΔL, it is determined that the train has entered the (i+1)th sleeper code B. i+1The system can determine the identity of a sleeper code and update its position based on whether a sleeper code point cloud appears within that range. Therefore, even when the train's speed exceeds the speed threshold, or when the point cloud collected by the point cloud acquisition module undergoes motion distortion, resulting in a decrease in the code element resolution of the sleeper code and causing decoding difficulties or even an inability to decode, the system can still complete the identification and position update of the sleeper code, thus solving the problem of sleeper code recognition at high speeds.
[0078] Since the cumulative travel distance is obtained by accumulating the travel time from the operating speed, and the travel time between two adjacent sleeper codes decreases as the operating speed increases, under the condition that the speed measurement accuracy of the speed measurement module is the same, the higher the operating speed, the shorter the time for distance accumulation, the smaller the cumulative error, and the higher the accuracy of determining the expected identification interval.
[0079] Because the velocity threshold V in this invention th The expected deviation threshold ΔL (including the first deviation threshold ΔL1 and the second deviation threshold ΔL2) and the missed detection threshold N can all be selected according to actual needs. Therefore, on trains using different speed measurement methods, relevant parameters can be flexibly adjusted to improve the success rate of detection and comprehensively balance the reliability and usability of the positioning results.
[0080] Because this invention specifies the rules for setting sleeper codes, the onboard computer only determines whether the cumulative travel distance falls into a code starting with L. i→i+1 The determined expected identification range is still based on L. i→i+2 By determining the expected identification range and combining it with the presence or absence of sleeper-coded point clouds, it is possible to reliably distinguish whether a train is traveling on the turnout's positioning route or the reverse route, thus solving the positioning problem on the fork road.
[0081] Because this invention only checks whether a new sleeper-coded point cloud appears within the expected recognition range, without decoding the code content of the point cloud, that is, it replaces the decoding of the sleeper-coded point cloud with a combination of cumulative distance estimation and point cloud appearance detection logic, thus reducing the demand for sleeper code recognition and reducing the computational load of sleeper code recognition.
[0082] Because the two positioning output methods can be mutually verified at the decoding speed, this invention compares the decoded position information with the estimated position information X_abs. When the difference between the two is greater than 2ΔL, the decoded positioning output is considered to be incorrect, and the train needs to re-perform initial positioning (i.e., return to the execution to determine the current position of the train at the i-th sleeper code B). i (Steps).
[0083] In actual tests using this invention, the decoding positioning algorithm successfully outputs positioning information when the train travels from a low speed to 45 km / h. After the speed exceeds 45 km / h, inductive positioning technology can still obtain positioning, but the success rate of decoding positioning gradually decreases. When the speed increases to 80 km / h, only inductive positioning technology can be used. In this embodiment, the speed threshold is set to 40 km / h, which is lower than the 45 km / h at which the decoding positioning success rate began to decrease in the above tests.
[0084] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0085] In the description of this invention, it should be understood that the terms "center," "height," "thickness," "upper," "lower," "vertical," "horizontal," "top," "bottom," "inner," "outer," "axial," "radial," and "circumferential," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0086] In the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0087] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0088] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A train mileage estimation and positioning method based on sleeper coding, characterized in that, Includes the following steps: Obtain the train's running speed output by the speed measurement module, and determine the i-th sleeper code B where the train is currently located. i And from the i-th sleeper code B i Starting from the current location, the cumulative distance traveled by the train is calculated based on the stated operating speed, resulting in the cumulative travel distance OL. i , where i is a positive integer; Retrieve the i-th sleeper code B from the storage module. i With the (i+1)th sleeper code B i+1 The spacing L between i→i+1 The storage module stores the absolute position of all sleeper codes along the track line, the spacing between any two sleeper codes, and the sleeper code identification distance RL. When |OL i +RL- L i→i+1 When |≤ΔL, it is determined that the train has entered the (i+1)th sleeper code B. i+1 The expected recognition range, where RL is the sleeper coding recognition distance and ΔL is the expected deviation threshold; Within the expected recognition range, it is determined whether a sleeper-coded point cloud appears in the sleeper target point cloud data acquired by the point cloud acquisition module; if it does, the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+1)th sleeper code B. i+1 ; The (i+1)th sleeper code B is obtained from the storage module. i+1 The absolute position X(i+1) is determined by the point cloud acquisition module and the (i+1)th sleeper code B. i+1 The distance information x between the absolute positions is used to calculate the estimated position information X_abs of the train. Using the (i+1)th sleeper code B i+1 Update the sleeper code of the current location of the train, and return to perform the above steps.
2. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, Determining the i-th sleeper code Bi currently in which the train is located includes: decoding the sleeper target point cloud data under the condition that the train's running speed is less than or equal to a speed threshold, sequentially obtaining two sleeper codes adjacent to each other along the track line, determining the train's running direction based on the absolute position of the two sleeper codes along the track line, and using the sleeper code obtained later among the two sleeper codes as the i-th sleeper code Bi.
3. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, From the i-th sleeper code B i Starting from the position of the first sleeper closest to the train in the corresponding sleeper group, the train's travel distance is accumulated according to the operating speed.
4. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, The expected deviation threshold ΔL ranges from 0.5 meters to 5 meters.
5. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, The expected deviation threshold ΔL is in the cumulative driving distance OL i +RL is less than the spacing L i→i+1 The value on one side is the first deviation threshold ΔL1, and the cumulative driving distance OL is... i +RL is greater than the spacing L i→i+1 The value on one side is the second deviation threshold ΔL2, and the first deviation threshold ΔL1 is greater than the second deviation threshold ΔL2; When OL i +RL≥L i→i+1 -ΔL1 and OL i +RL≤L i→i+1 When +ΔL2, it is determined that the train has entered the (i+1)th sleeper code B. i+1 The expected recognition range.
6. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, When OL i >L i→i+1 When +ΔL, determine the (i+1)th sleeper code B. i+1 Missed detection leads to OL i+1 =OL i -L i→i+1 Using the (i+1)th sleeper code B i+1 Update the sleeper code of the train's current location, and use OL. i+1 As the (i+1)th sleeper code B i+1 The accumulated travel distance is calculated, and the process returns to the step of determining the expected identification interval, while incrementing the number of missed sleeper codes by 1.
7. The train mileage estimation and positioning method based on sleeper coding as described in claim 6, characterized in that, When the number of consecutively missed sleeper codes reaches the missed detection threshold N, the train is determined to have lost its location, and the train is slowed down to below the speed threshold. The sleeper code where the train is currently located is then re-determined by decoding.
8. The train mileage estimation and positioning method based on sleeper coding as described in claim 7, characterized in that, The threshold value N for the number of missed detections ranges from 2 to 10.
9. The train mileage estimation and positioning method based on sleeper coding as described in claim 1, characterized in that, When the i-th sleeper is coded B i Subsequently, a turnout is present, and the (i+1)th sleeper code B is set on the reverse approach of the turnout. i+1 The positioning route is equipped with the (i+2)th sleeper code B. i+2 At that time, the accumulated driving distance OL i +RL are respectively associated with the i-th sleeper code B i With the (i+1)th sleeper code B i+1 The spacing L between i→i+1 and the i-th sleeper code B i With the (i+2)th sleeper code B i+2 The spacing L between i→i+2 Compare; When OL i +RL falls within the distance L. i→i+1 When a predetermined expected identification interval is determined, and a sleeper-coded point cloud appears in the sleeper target point cloud data, it is determined that the train is running on a reverse route, and the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+1)th sleeper code B. i+1 ; When OL i +RL falls within the distance L. i→i+2 When a predetermined identification range is determined and a sleeper-coded point cloud appears in the sleeper target point cloud data, it is determined that the train is running on the positioning route, and the sleeper code corresponding to the appearing sleeper-coded point cloud is presumed to be the (i+2)th sleeper code B. i+2 .
10. A train positioning method, characterized in that, Includes the following steps: The point cloud acquisition module collects all point cloud data in front of the train, and the sleeper extraction algorithm is used to extract the sleeper target point cloud data from all the point cloud data. Obtain the train's running speed output by the speed measurement module; The train's operating speed is compared with a speed threshold. When the running speed is less than or equal to the speed threshold, the sleeper target point cloud data is decoded to obtain the decoded position information of the train; When the operating speed is greater than the speed threshold, the estimated position information of the train is obtained by using the train mileage estimation and positioning method based on sleeper coding as described in any one of claims 1 to 9.
11. The train positioning method as described in claim 10, characterized in that, Also includes: The sleeper target point cloud data is decoded to obtain the decoded position information of the train; The decoded location information is compared with the estimated location information X_abs obtained using the train mileage estimation and positioning method based on sleeper coding. If |decoded location information - X_abs| > 2ΔL, the decoded location information is determined to be incorrect, and the process returns to determine the i-th sleeper code B where the train is currently located. i The steps.
12. The train positioning method as described in claim 10, characterized in that, The speed threshold is less than or equal to 40 kilometers per hour.
13. A train mileage estimation and positioning system based on sleeper coding, characterized in that, It includes a sleeper coding target, a point cloud acquisition module, a speed measurement module, a storage module, and an onboard computer; The sleeper coding target is formed by drawing the sleeper code along the track line on the sleeper; The point cloud acquisition module is installed on the train body and is communicatively connected to the onboard computer. It is used to acquire all point cloud data in front of the train and send it to the onboard computer. The speed measuring module is communicatively connected to the onboard computer and is used to output the train's operating speed; The storage module is communicatively connected to the on-board computer and is used to store the absolute position of each sleeper code along the track line and the spacing between any two sleeper codes. The onboard computer is configured to perform the steps of the method as described in any one of claims 1 to 9.
14. A train positioning system, characterized in that, It includes a sleeper coding target, a point cloud acquisition module, a speed measurement module, a storage module, and an onboard computer; The sleeper coding target is formed by drawing the sleeper code along the track line on the sleeper; The point cloud acquisition module is installed on the train body and is communicatively connected to the onboard computer. It is used to acquire all point cloud data in front of the train and send it to the onboard computer. The speed measuring module is communicatively connected to the onboard computer and is used to output the train's operating speed; The storage module is communicatively connected to the on-board computer and is used to store the absolute position of each sleeper code along the track line and the spacing between any two sleeper codes. The onboard computer is configured to perform the steps of the method as described in any one of claims 10 to 12.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 9, or implements the steps of the method as described in any one of claims 10 to 12.
16. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 10, or implements the steps of the method as described in any one of claims 10 to 12.
