Coordinate conversion method, storage medium and electronic equipment

Through the coordinate conversion method, the three-dimensional coordinates of the train are converted into one-dimensional coordinates, which solves the compatibility problem between the traditional rail transit signal control system and the emerging three-dimensional coordinate sensors, and achieves system compatibility and normal operation.

CN118545123APending Publication Date: 2024-08-27BYD CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310212389.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The one-dimensional electronic map used in traditional rail transit signal control systems is incompatible with emerging three-dimensional coordinate sensors (such as GNSS, IMU, and lidar), resulting in compatibility issues.

Method used

Provide a coordinate conversion method that obtains the target three-dimensional coordinates of the train in a preset three-dimensional coordinate system, determines its corresponding target operating interval, calculates the interval offset according to the interval type, and then converts the three-dimensional coordinates into one-dimensional coordinates. To be compatible with traditional rail transit signal control systems.

Benefits of technology

It achieves the compatibility of converting three-dimensional coordinates into one-dimensional coordinates, solves the compatibility problem between new sensors and traditional systems, and ensures the normal operation of the rail transit signal control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118545123A
    Figure CN118545123A
Patent Text Reader

Abstract

The invention relates to a coordinate conversion method, a storage medium and electronic equipment, and aims to solve the problem of compatibility between a new sensor and a traditional rail transit signal control system. The method comprises the following steps: acquiring a target three-dimensional coordinate of a train position in a preset three-dimensional coordinate system; according to the target three-dimensional coordinate, a target operation interval corresponding to the target three-dimensional coordinate is determined in a preset two-dimensional operation line, a target projection point of the target three-dimensional coordinate projected to the target operation interval is determined, and the preset two-dimensional operation line comprises at least one operation interval; determining an interval offset from the target projection point to an interval starting point of the target operation interval according to the line type of the target operation interval; and determining a target one-dimensional coordinate of the train in a preset one-dimensional coordinate system according to the interval starting point and the interval offset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of rail transit technology, and in particular, to a coordinate conversion method, a storage medium, and an electronic device. Background Art

[0002] In traditional rail transit signal control systems, position calculation and error calibration are generally performed through odometers and beacons, so the electronic maps used are usually one-dimensional, that is, (track number, offset).

[0003] However, with the emergence of new sensing methods and sensors, and their gradual application in the field of rail transit, new coordinate systems have also been introduced. For example, GNSS (Global Navigation Satellite System), IMU (Inertial Measurement Unit), LiDAR, etc. all use three-dimensional coordinates. Therefore, the compatibility of new sensors with traditional rail transit signal control systems needs to be solved urgently. Summary of the invention

[0004] The purpose of the present disclosure is to provide a coordinate conversion method, a storage medium and an electronic device to solve the compatibility problem between a new sensor and a traditional rail transit signal control system.

[0005] In order to achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure provides a coordinate conversion method, the method comprising:

[0006] Obtain the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system;

[0007] According to the target three-dimensional coordinates, determining a target operating interval corresponding to the target three-dimensional coordinates in a preset two-dimensional operating route, and determining a target projection point of the target three-dimensional coordinates projected onto the target operating interval, wherein the preset two-dimensional operating route includes at least one operating interval;

[0008] Determining, according to the line type of the target operating interval, an interval offset from the target projection point to the interval starting point of the target operating interval;

[0009] The target one-dimensional coordinates of the train in a preset one-dimensional coordinate system are determined according to the interval starting point and the interval offset.

[0010] Optionally, determining, according to the target three-dimensional coordinates, a target operating range corresponding to the target three-dimensional coordinates in a preset two-dimensional operating route includes:

[0011] Determine, according to the first axis coordinate of the target three-dimensional coordinate and the first axis coordinate range of each candidate operating interval in the preset two-dimensional operating route, a target candidate operating interval corresponding to the first axis coordinate range to which the first axis coordinate belongs, wherein the candidate operating interval is determined from the at least one operating interval based on a preset rule;

[0012] If the number of the target candidate operating intervals is one, determining the target candidate operating interval as the target operating interval; or,

[0013] If there are multiple target candidate operating intervals, the target candidate operating interval corresponding to the second axis coordinate range to which the second axis coordinate belongs is determined as the target operating interval according to the second axis coordinate of the target three-dimensional coordinate and the second axis coordinate range of each target candidate operating interval.

[0014] Optionally, the candidate operating interval is determined from the at least one operating interval based on the following preset rule:

[0015] If the train has a historical running section, determining an adjacent running section adjacent to the historical running section from the at least one running section, and using the historical running section and the adjacent running section as the candidate running sections; or,

[0016] If the train does not have the historical running section, the at least one running section is used as the candidate running section.

[0017] Optionally, determining the interval offset from the target projection point to the interval starting point of the target operating interval according to the route type of the target operating interval includes:

[0018] If the line type of the target running interval is a straight line type, the distance from the target projection point to the starting point of the interval is used as the interval offset; or,

[0019] If the line type of the target operating interval is a slope straight line type, determining a first distance from the target projection point to the starting point of the interval, and determining the interval offset according to the first distance and the slope value of the target operating interval; or,

[0020] If the line type of the target operating interval is a curve type, the interval offset is determined according to the coordinate position information of the projection point and the curvature value of the target operating interval; or,

[0021] If the line type of the target operating interval is a slope curve type, the interval offset is determined according to the coordinate position information of the projection point, the curvature value and the slope value of the target operating interval.

[0022] Optionally, the one-dimensional line in the preset one-dimensional coordinate system includes a plurality of track sections, and the one-dimensional line has a mapping point corresponding to a section starting point of each of the operating sections, and determining the target one-dimensional coordinates of the train in the preset one-dimensional coordinate system according to the section starting point and the section offset includes:

[0023] Determine the target mapping point corresponding to the starting point of the interval on the one-dimensional line;

[0024] Determine a target orbital interval where the target mapping point is located, and determine an orbital offset from the target mapping point to a starting point of the target orbital interval;

[0025] The interval offset and the orbit offset are added to obtain a target offset, and the target one-dimensional coordinates are determined based on the target orbit interval and the target offset.

[0026] Optionally, the method further comprises:

[0027] Before determining the target running section corresponding to the target three-dimensional coordinates in a preset two-dimensional running route according to the target three-dimensional coordinates, obtaining the running route of the train;

[0028] The running route is divided into intervals according to the route type to obtain at least one running interval, and the route type includes at least one of a straight line type, a curve type, a slope straight line type, and a slope curve type.

[0029] Optionally, the method further comprises:

[0030] After dividing the running route into intervals according to the route type to obtain at least one running interval, determining an interval start point and an interval end point of each running interval;

[0031] For each of the operating intervals, function fitting is performed according to the interval information of the interval start point and the interval end point to obtain a target interval function, wherein the target interval function represents the corresponding relationship between the vertical axis and the horizontal axis of the operating interval in a preset two-dimensional coordinate system;

[0032] The preset two-dimensional operation route is determined according to the target interval function of each operation interval.

[0033] Optionally, for each of the operating intervals, performing function fitting according to the interval information of the interval start point and the interval end point to obtain a target interval function includes:

[0034] For each of the operation intervals, determine the starting point three-dimensional coordinates and the starting point one-dimensional coordinates of the starting point of the interval, the ending point three-dimensional coordinates and the ending point one-dimensional coordinates of the ending point of the interval, and the target line type, straight line parameters, curve parameters, slope value and curvature value of the operation interval;

[0035] Function fitting is performed on the three-dimensional coordinates of the starting point, the one-dimensional coordinates of the starting point, the three-dimensional coordinates of the end point, the one-dimensional coordinates of the end point, the target line type, the straight line parameters, the curve parameters, the slope value and the curvature value to obtain the target interval function.

[0036] A second aspect of an embodiment of the present disclosure further provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect above.

[0037] A third aspect of the embodiments of the present disclosure further provides an electronic device, including:

[0038] a memory having a computer program stored thereon;

[0039] A processor is used to execute the computer program in the memory to implement the steps of any one of the methods described in the first aspect above.

[0040] The fourth aspect of the embodiment of the present disclosure also provides a train, including a positioning system and an on-board controller connected to the positioning system, wherein the on-board controller obtains the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system through the positioning system, and the on-board controller is the electronic device described in the above third aspect.

[0041] Through the above technical solution, at least the following technical effects can be achieved:

[0042] First, the target three-dimensional coordinates of the train position in the preset three-dimensional coordinate system are obtained, and then the target operating interval corresponding to the target three-dimensional coordinates is determined in the preset two-dimensional operating line according to the target three-dimensional coordinates, and the target projection point of the target three-dimensional coordinates projected to the target operating interval is determined, and then according to the line type of the target operating interval, the interval offset from the target projection point to the interval starting point of the target operating interval is determined, and then the target one-dimensional coordinates of the train in the preset one-dimensional coordinate system are determined according to the interval starting point and the interval offset. Using this method, the train position can be converted from three-dimensional coordinates to one-dimensional coordinates for different line types, so as to be compatible with traditional rail transit signal control systems.

[0043] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0045] Figure 1 is a flow chart of a coordinate conversion method shown in an embodiment of the present disclosure;

[0046] Figure 2 is a schematic diagram of a one-dimensional circuit and a two-dimensional circuit shown in an embodiment of the present disclosure;

[0047] Figure 3 is a schematic diagram showing a method of determining a target operating range according to a positioning point according to an embodiment of the present disclosure;

[0048] Figure 4 is a schematic diagram showing a projection of a positioning point onto an operating range in an embodiment of the present disclosure;

[0049] Figure 5 is a flow chart of another coordinate conversion method shown in an embodiment of the present disclosure;

[0050] Figure 6 It is a schematic diagram of an electronic device shown in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0052] It should be understood that the various steps described in the method implementation of the present disclosure may be performed in different orders and / or in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect. The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the description below.

[0053] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0054] At present, the electronic maps of rail transit are all one-dimensional linear coordinate systems, while the new sensors use three-dimensional coordinates, such as GNSS, IMU, lidar, etc. Therefore, the compatibility of new sensors with traditional rail transit signal control systems needs to be solved urgently.

[0055] In view of this, the present disclosure provides a coordinate conversion method, a storage medium and an electronic device to solve the compatibility problem between the new sensor and the traditional rail transit signal control system.

[0056] It should be noted that a coordinate conversion method provided by the present disclosure is applied to a rail transit system. The executor can be a train or an electronic device on a train, such as an on-board controller, or a rail transit system, such as a train dispatching and command system. For example, the three-dimensional coordinates corresponding to the train position are collected through a positioning system or positioning sensor installed on the train, and sent to the train dispatching and command system for conversion into one-dimensional coordinates to be compatible with traditional rail transit signal control systems.

[0057] Reference Figure 1 , the present disclosure provides a coordinate conversion method, the method comprising:

[0058] S101. Obtain the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system.

[0059] For example, the three-dimensional coordinates of the train's position can be obtained by using sensors such as GNSS, IMU, and lidar installed on the train. The preset three-dimensional coordinate system can be a three-dimensional coordinate system such as a geodetic coordinate system, which can be set according to specific needs and is not limited in this disclosure.

[0060] S102, according to the target three-dimensional coordinates, determining a target operating interval corresponding to the target three-dimensional coordinates in a preset two-dimensional operating route, and determining a target projection point where the target three-dimensional coordinates are projected onto the target operating interval.

[0061] Among them, the preset two-dimensional operation route includes at least one operation interval.

[0062] S103. Determine, according to the line type of the target operating interval, an interval offset from the target projection point to the interval starting point of the target operating interval.

[0063] S104. Determine the target one-dimensional coordinates of the train in a preset one-dimensional coordinate system according to the interval starting point and the interval offset.

[0064] Using the above method, first obtain the target three-dimensional coordinates of the train position in the preset three-dimensional coordinate system, then determine the target operating interval corresponding to the target three-dimensional coordinates in the preset two-dimensional operating line based on the target three-dimensional coordinates, and determine the target projection point of the target three-dimensional coordinates projected to the target operating interval, and then determine the interval offset from the target projection point to the interval starting point of the target operating interval based on the line type of the target operating interval, and then determine the target one-dimensional coordinates of the train in the preset one-dimensional coordinate system based on the interval starting point and the interval offset. Using this method, the train position can be converted from three-dimensional coordinates to one-dimensional coordinates for different line types, so as to be compatible with traditional rail transit signal control systems.

[0065] In order to enable those skilled in the art to better understand the coordinate conversion method provided by the present disclosure, the above steps are described in detail with examples below.

[0066] In a possible manner, the method also includes: obtaining the running route of the train before determining the target running interval corresponding to the target three-dimensional coordinates in a preset two-dimensional running route according to the target three-dimensional coordinates; dividing the running route into intervals according to the route type to obtain at least one running interval, and the route type includes at least one of a straight line type, a curve type, a slope straight line type, and a slope curve type.

[0067] For example, the train running route can be determined based on the construction design drawing of rail transit or on-site survey. Figure 2 , according to the line type of the running line, the interval is divided, for example, the position where the line type changes is selected as the positioning point for the interval division. For example, for the running line AC, since the line type changes from a straight line type to a curve type at position B, B is used as a positioning point. By analogy, the running interval AB corresponding to the straight line type, the running interval BD corresponding to the curve type, the running interval I-H0 corresponding to the slope straight line type, and the running interval F-G1 corresponding to the slope curve type are obtained. Among them, due to Figure 2 The operating route shown is a two-dimensional map, so the dotted line indicates the existence of a slope in the operating section.

[0068] Furthermore, the operating interval BD corresponding to the curve type can be divided according to the curvature change point, that is, the operating interval corresponding to the same curve type should have the same curvature. If different curvatures exist in a divided operating interval, a secondary division is performed. For example, in the operating interval BD, the curvature of the curve segment BC is P1, and the curvature of the curve segment CD is P2, then the operating interval BD is divided into operating intervals BC and CD.

[0069] In a possible manner, the method further includes: after dividing the operating route into intervals according to the route type to obtain at least one operating interval, determining the interval start point and the interval end point of each operating interval, and for each operating interval, performing function fitting according to the interval information of the interval start point and the interval end point to obtain a target interval function, the target interval function characterizing the correspondence between the vertical axis and the horizontal axis of the operating interval in a preset two-dimensional coordinate system, and determining a preset two-dimensional operating route according to the target interval function of each operating interval.

[0070] For example, in an actual line, the extension direction of the running line is consistent with the upward direction of the train, so the starting point and the end point of the running section can be determined according to the extension direction of the running line. For example, referring to the extension direction of the running line, A is the starting point of the section and B is the end point of the section. Of course, the starting point and the end point of the running section can also be determined based on the downward direction of the train, and the present disclosure does not limit this.

[0071] For example, after the running line is divided into sections to obtain multiple positioning points, the three-dimensional coordinates and one-dimensional coordinates of each positioning point can be determined according to the construction design drawing or field survey. The three-dimensional coordinates use the same coordinate system as the sensors installed on the train, and the one-dimensional coordinates are expressed as (track section number, offset position value). Figure 2 , Figure 2 The one-dimensional line in is the one-dimensional line of the two-dimensional line ABCDEF in the preset one-dimensional coordinate system. For example, the track interval Q1-Q2 is numbered 1, and the track interval Q2-Q3 is numbered 2. The offset position value represents the track length between the current position and the starting point of the track interval. Figure 2 Taking point B as an example, the three-dimensional coordinates of point B are (46, 25, 3), the mapping point of point B on the one-dimensional line is point B', the track section where point B' is located is numbered 1, and the track length between point B' and the starting point of the track section is 200 meters, then the one-dimensional coordinates of point B' are (1, 200).

[0072] In a possible manner, for each operating interval, a function is fitted according to the interval information of the interval start point and the interval end point, and the target interval function can be obtained by: for each operating interval, determining the starting point three-dimensional coordinates and the starting point one-dimensional coordinates of the interval start point, the ending point three-dimensional coordinates and the ending point one-dimensional coordinates of the interval end point, and the target line type, straight line parameters, curve parameters, slope values ​​and curvature values ​​of the operating interval, and fitting the starting point three-dimensional coordinates, the starting point one-dimensional coordinates, the ending point three-dimensional coordinates, the ending point one-dimensional coordinates, the target line type, straight line parameters, curve parameters, slope values ​​and curvature values ​​to obtain the target interval function.

[0073] For example, a preset two-dimensional running route can be constructed by function fitting, and considering that the elevation error of the sensor is large, the function fitting exists in the form of a two-dimensional coordinate system, and the elevation error caused by this can be compensated later.

[0074] For example, function fitting can be performed as follows:

[0075] MAP=[(Start_x, Start_y, Start_z), (End_x, End_y, End_z), (Start_Track_Id, offset), (End_Track_Id, offset), Track_Type, (A(O D ), B(O E ), C(R), Ramp, Cramp]

[0076] Among them, MAP represents the target interval function, (Start_x, Start_y, Start_z) represents the three-dimensional coordinates of the interval start point, and (End_x, End_y, End_z) represents the three-dimensional coordinates of the interval end point. (Start_Track_Id, offset) represents the track interval number and offset position (i.e., one-dimensional coordinates) of the interval start point, and (End_Track_Id, offset) represents the track interval number and offset position of the interval end point. Track_Type represents the line type of the operating interval, such as straight line type, curve type, slope straight line type, and slope curve type. (A, B, C) represents the straight line parameters, (O D , O E , R) represents the curve parameters, Ramp represents the slope value, and Cramp represents the curvature value.

[0077] Furthermore, the above parameters are input into a function fitting tool for function fitting to obtain a target interval function. For details, reference may be made to related technologies, which will not be described in detail in this disclosure. Figure 3 , the fitting function of the operation interval AB is (ax+by+c=0), where x represents the horizontal axis, y represents the vertical axis, and a, b, and c are fitting parameters. In addition, for operation intervals of different line types, different parameters can be selected for function fitting. For example, for the operation interval of the straight line type, the curve parameters, slope values, and curvature values ​​may not be input, or a preset value, such as 0, may be set for the curve parameters, slope values, and curvature values, etc., which is not limited in the present disclosure. Then, a preset two-dimensional operation route can be formed according to the target interval function of each operation interval.

[0078] Among possible ways, determining a target running interval corresponding to the target three-dimensional coordinate in a preset two-dimensional running route may be as follows: According to the first-axis coordinate of the target three-dimensional coordinate and the first-axis coordinate range of each candidate running interval in the preset two-dimensional running route, determine the target candidate running interval corresponding to the first-axis coordinate range to which the first-axis coordinate belongs. The candidate running interval is determined from at least one running interval based on a preset rule. If the number of target candidate running intervals is one, determine the target candidate running interval as the target running interval. Or, if the number of target candidate running intervals is multiple, according to the second-axis coordinate of the target three-dimensional coordinate and the second-axis coordinate range of each target candidate running interval, determine the target candidate running interval corresponding to the second-axis coordinate range to which the second-axis coordinate belongs as the target running interval.

[0079] Exemplarily, referring to Figure 3 , there is a coordinate range for each running interval in the preset two-dimensional running route. For example, ax + by + c = 0 satisfies (x1 ≤ x < x2, y1 ≤ y < y2), where x represents the horizontal axis and y represents the vertical axis. The x can be taken as the first axis and y as the second axis, or y can be taken as the first axis and z as the second axis. The present disclosure does not limit this. Taking x as the first axis and y as the second axis as an example, if the target three-dimensional coordinate is (x0, y0, z0), first screen whether there is a running interval in the candidate running intervals that satisfies the coordinate range of x0. If there is a unique running interval that meets the condition, determine this interval as the target running interval. If there are multiple running intervals that meet the condition, further screen whether there is a running interval that satisfies the coordinate range of y0, and determine the running interval that meets the condition as the target running interval.

[0080] It should be noted that since each running route has a separate route map, when positioning a train, usually the running route on which the train is running is first determined, and then positioning is performed on this basis. Therefore, there will not be multiple running intervals that simultaneously satisfy x0 and y0 in the same route map. That is to say, even if there are two overlapping running routes in space, since they belong to different route maps, the train will not obtain the routes other than the current running route. Or even if the train obtains the route maps of the overlapping routes, it can also be screened based on the running route on which the train is currently running.

[0081] Among possible ways, the candidate running interval is determined from at least one running interval based on the following preset rule: If the train has a historical running interval, determine adjacent running intervals adjacent to the historical running interval from at least one running interval, and use the historical running interval and the adjacent running intervals as candidate running intervals. Or, if the train does not have a historical running interval, use at least one running interval as the candidate running interval.

[0082] For example, if the train is positioned for the first time, a global search is performed on all the running intervals in the preset two-dimensional running line through the coordinate value of the current positioning point of the train, that is, all the running intervals in the preset two-dimensional running line are used as candidate running intervals. If the train has a valid historical position, the running interval where the historical position is located and the adjacent running interval are used as candidate running intervals, among which the adjacent running interval of the train's travel mode is preferred, such as the target running interval determined by the last train, such as Figure 2 If the operating interval AB in the example is AB, the operating intervals AB, BC and BI can be used as candidate operating intervals. In addition, several adjacent operating intervals can also be used as candidate operating intervals, which is not limited in the present disclosure. If the search for the candidate operating interval determined based on the historical operating interval fails, that is, no operating interval that meets the conditions can be found, a global search is performed to speed up the search, reduce the search time and improve the positioning efficiency.

[0083] In a possible manner, according to the line type of the target operating interval, the interval offset from the target projection point to the interval starting point of the target operating interval can be determined as follows: if the line type of the target operating interval is a straight line type, the distance from the target projection point to the interval starting point is used as the interval offset. Alternatively, if the line type of the target operating interval is a slope straight line type, the first distance from the target projection point to the interval starting point is determined, and the interval offset is determined based on the first distance and the slope value of the target operating interval. Alternatively, if the line type of the target operating interval is a curve type, the interval offset is determined based on the coordinate position information of the projection point and the curvature value of the target operating interval. Alternatively, if the line type of the target operating interval is a slope curve type, the interval offset is determined based on the coordinate position information of the projection point, the curvature value of the target operating interval, and the slope value.

[0084] For example, refer to Figure 4 , taking the case where the running section LM is a straight line type running section, the starting point of the section is L, and the train position corresponds to the positioning point 1 as an example, since the running section LM is a straight line type (no slope) running section, the three-dimensional coordinates (x1, y1, z1) of the positioning point 1 can be simplified to the two-dimensional coordinates (x1, y1), and then the positioning point 1 is projected onto the running section LM to obtain the projection point 1, and then the distance from the projection point 1 to the starting point L of the section is calculated as the section offset. Among them, the method of determining the projection point of the positioning point on the running section LM, and the calculation process of determining the distance from the projection point 1 on the straight line segment to the starting point L of the section can refer to the relevant technology, and the present disclosure will not repeat them here.

[0085] For example, refer to Figure 4, take the operating interval LM as a slope straight line type operating interval, the interval starting point is L, and the train position corresponds to the positioning point 1 as an example, first take the operating interval LM as a straight line type operating interval, the three-dimensional coordinates (x1, y1, z1) of the positioning point 1 can be simplified to the two-dimensional coordinates (x1, y1), and then the positioning point 1 is projected onto the operating interval LM to obtain the projection point 1, and then the first distance from the projection point 1 to the interval starting point L is calculated, and then compensation is performed according to the slope value to obtain the interval offset. Among them, the slope value and the first distance are known. It is equivalent to knowing one side and three angles of a right triangle, and finding the length of the hypotenuse (interval offset). The specific calculation process can refer to the relevant technology, and the present disclosure will not repeat it here.

[0086] For example, refer to Figure 4 , taking the case where the running interval MN is a curve type running interval, the starting point of the interval is M, and the train position corresponds to the positioning point 2, the radius R and the center of the corresponding curvature circle are first determined according to the curvature value of the running interval MN. Since the running interval MN is a curve type running interval (no slope), the three-dimensional coordinates (x2, y2, z2) of the positioning point 2 can be simplified to two-dimensional coordinates (x2, y2), and then the positioning point 2 is projected onto the running interval MN to obtain the projection point 2, and then the length of the curve segment from the projection point 2 to M is determined as the interval offset. The specific calculation process can refer to the process of calculating the arc segment in the relevant technology, and the present disclosure will not repeat it here.

[0087] For example, if the line type of the target operating interval is a slope curve type, the interval offset is determined based on the coordinate position information of the projection point, the curvature value and the slope value of the target operating interval. Specifically, it can be combined with the calculation process of the interval offset of the slope straight line type and the curve type or the calculation process of determining the length of the slope curve in the related technology, for example, first determine the length of the arc segment based on the curvature value, and then compensate according to the slope value, etc. The present disclosure does not limit this.

[0088] It should be noted that before determining the interval offset from the target projection point to the interval starting point of the target operating interval according to the line type of the target operating interval, first determine whether the distance between the current positioning point of the train and the projection point exceeds the distance tolerance range, wherein the distance tolerance range can be set to 0-20cm, which can be set according to needs, and the present disclosure does not limit this. If the distance between the current positioning point and the projection point exceeds the distance tolerance range (greater than or equal to 20cm), it indicates that the error of the train's positioning this time is large, and the positioning point of this positioning can be discarded and re-positioned.

[0089] In a possible manner, a one-dimensional line under a preset one-dimensional coordinate system includes multiple track sections, and there is a mapping point on the one-dimensional line corresponding to the starting point of each operating section. Determining the target one-dimensional coordinates of the train in the preset one-dimensional coordinate system according to the section starting point and the section offset can be: determining the target mapping point corresponding to the section starting point on the one-dimensional line, determining the target track section where the target mapping point is located, and determining the track offset from the target mapping point to the starting point of the section of the target track section, adding the section offset and the track offset to obtain the target offset, and determining the target one-dimensional coordinates based on the target track section and the target offset.

[0090] For example, continue to refer to Figure 2 , there are one-to-one corresponding mapping points in the two-dimensional line ABCDEF and the one-dimensional line, such as A→A', B→B', etc. Taking the target projection point as point Z as an example, the operating interval where point Z is located is AB, and it can be determined that the target mapping point corresponding to the interval starting point A in the one-dimensional line is point A', and then the track number of the target track interval where point A' is located is determined to be 1, and then the track offset between point A' and the interval starting point Q1 of the target track interval is determined. If the interval offset between point Z and the interval starting point A is 60m, and the track offset between point A' and point Q1 is 20m, the interval offset and the track offset are added to obtain the target offset of 80m, and then the one-dimensional coordinates of the current positioning point of the train are determined to be (1, 80).

[0091] It should be noted that if the sum of the interval offset and the orbit offset of a certain positioning point results in a target offset that exceeds the length of the current orbit interval, the orbit interval number of the one-dimensional coordinate of the positioning point will be the orbit interval number of the next orbit interval, and the value of the target offset minus the length of the current orbit interval will be used as the position offset of the one-dimensional coordinate.

[0092] In addition, in other possible implementations, if it is necessary to determine the one-dimensional coordinates of the train relative to the starting point of the running line, the offset from the starting point of the track section to the starting point of the running line can be accumulated based on the one-dimensional coordinates of the above track section to obtain the one-dimensional coordinates of the train relative to the starting point of the running line. Alternatively, the offset of the mapping point relative to the starting point of the running line can be stored, and then the interval offset can be accumulated to obtain the one-dimensional coordinates of the train relative to the starting point of the running line, which is not limited in the present disclosure.

[0093] Based on the same inventive concept, the present disclosure also provides a coordinate conversion method, referring to Figure 5 , the method comprising:

[0094] S501, obtaining three-dimensional coordinate points.

[0095] For example, it can be obtained by sensors installed on the train.

[0096] S502: Determine a target operation range in a preset two-dimensional operation route according to the three-dimensional coordinate point.

[0097] S503: Project the three-dimensional coordinate point to the target operation range to obtain a target projection point.

[0098] S504, calculating the distance from the three-dimensional coordinate point to the target projection point.

[0099] S505: If the distance is less than a preset threshold, calculate a first deviation value from the target projection point to the starting point of the target operating interval.

[0100] For example, the preset threshold is a distance tolerance range. If the distance is greater than the preset threshold, the three-dimensional coordinate point is discarded and no positioning calculation is performed.

[0101] S506: Determine the one-dimensional coordinates corresponding to the target projection point according to the one-dimensional coordinates of the interval starting point and the interval offset.

[0102] By adopting the above method, the mapping correspondence from three-dimensional coordinates to one-dimensional coordinates is realized, so that the train positioned by the new sensor (sensor that uses three-dimensional coordinates for positioning) can convert the train position from three-dimensional coordinates to one-dimensional coordinates for different line types without affecting the current code logic, thereby being compatible with the traditional rail transit signal control system.

[0103] Based on the same inventive concept, an embodiment of the present disclosure also provides a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any one of the above-mentioned coordinate conversion methods are implemented.

[0104] Based on the same inventive concept, the present disclosure also provides an electronic device, including:

[0105] a memory having a computer program stored thereon;

[0106] A processor is used to execute the computer program in the memory to implement the steps of any one of the above-mentioned coordinate conversion methods.

[0107] Based on the same inventive concept, an embodiment of the present disclosure also provides a train, including a positioning system and an on-board controller connected to the positioning system, wherein the on-board controller obtains the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system through the positioning system, and the on-board controller is the above-mentioned electronic device.

[0108] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. Figure 6The electronic device 600 includes a processor 601, which may be one or more, and a memory 602 for storing a computer program executable by the processor 601. The computer program stored in the memory 602 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 601 may be configured to execute the computer program to perform the above-mentioned coordinate conversion method.

[0109] In addition, the electronic device 600 may further include a power supply component 605 and a communication component 603. The power supply component 605 may be configured to perform power management of the electronic device 600, and the communication component 603 may be configured to implement communication of the electronic device 600, for example, wired or wireless communication. In addition, the electronic device 600 may further include an input / output (I / O) interface 604. The electronic device 600 may operate based on an operating system stored in the memory 602, such as Windows Server 2000. TM , Mac OSX TM , Unix TM , Linux TM etc.

[0110] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned coordinate conversion method are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 602 including program instructions, and the above-mentioned program instructions can be executed by the processor 601 of the electronic device 600 to complete the above-mentioned coordinate conversion method.

[0111] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above coordinate conversion method when executed by the programmable device.

[0112] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0113] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0114] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A coordinate conversion method, characterized in that: The method comprises: Obtain the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system; According to the target three-dimensional coordinates, determining a target operating interval corresponding to the target three-dimensional coordinates in a preset two-dimensional operating route, and determining a target projection point of the target three-dimensional coordinates projected onto the target operating interval, wherein the preset two-dimensional operating route includes at least one operating interval; Determining, according to the line type of the target operating interval, an interval offset from the target projection point to the interval starting point of the target operating interval; The target one-dimensional coordinates of the train in a preset one-dimensional coordinate system are determined according to the interval starting point and the interval offset.

2. The method according to claim 1, characterized in that Determining, according to the target three-dimensional coordinates, a target operation interval corresponding to the target three-dimensional coordinates in a preset two-dimensional operation route includes: Determine, according to the first axis coordinate of the target three-dimensional coordinate and the first axis coordinate range of each candidate operating interval in the preset two-dimensional operating route, a target candidate operating interval corresponding to the first axis coordinate range to which the first axis coordinate belongs, wherein the candidate operating interval is determined from the at least one operating interval based on a preset rule; If the number of the target candidate operating intervals is one, determining the target candidate operating interval as the target operating interval; or, If there are multiple target candidate operating intervals, the target candidate operating interval corresponding to the second axis coordinate range to which the second axis coordinate belongs is determined as the target operating interval according to the second axis coordinate of the target three-dimensional coordinate and the second axis coordinate range of each target candidate operating interval.

3. The method according to claim 2, characterized in that The candidate operation interval is determined from the at least one operation interval based on the following preset rule: If the train has a historical running section, determining an adjacent running section adjacent to the historical running section from the at least one running section, and using the historical running section and the adjacent running section as the candidate running sections; or, If the train does not have the historical running section, the at least one running section is used as the candidate running section.

4. The method according to claim 1, characterized in that: The determining, according to the line type of the target operating interval, an interval offset from the target projection point to the interval starting point of the target operating interval includes: If the line type of the target running interval is a straight line type, the distance from the target projection point to the starting point of the interval is used as the interval offset; or, If the line type of the target operating interval is a slope straight line type, determining a first distance from the target projection point to the starting point of the interval, and determining the interval offset according to the first distance and the slope value of the target operating interval; or, If the line type of the target operating interval is a curve type, the interval offset is determined according to the coordinate position information of the projection point and the curvature value of the target operating interval; or, If the line type of the target operating interval is a slope curve type, the interval offset is determined according to the coordinate position information of the projection point, the curvature value and the slope value of the target operating interval.

5. The method according to claim 1, characterized in that The one-dimensional line in the preset one-dimensional coordinate system includes a plurality of track sections, and the one-dimensional line has a mapping point corresponding to a section starting point of each of the operating sections, and determining the target one-dimensional coordinates of the train in the preset one-dimensional coordinate system according to the section starting point and the section offset includes: Determine the target mapping point corresponding to the starting point of the interval on the one-dimensional line; Determine a target orbital interval where the target mapping point is located, and determine an orbital offset from the target mapping point to a starting point of the target orbital interval; The interval offset and the orbit offset are added to obtain a target offset, and the target one-dimensional coordinates are determined based on the target orbit interval and the target offset.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Before determining the target running section corresponding to the target three-dimensional coordinates in a preset two-dimensional running route according to the target three-dimensional coordinates, obtaining the running route of the train; The running route is divided into intervals according to the route type to obtain at least one running interval, and the route type includes at least one of a straight line type, a curve type, a slope straight line type, and a slope curve type.

7. The method according to claim 6, characterized in that The method further comprises: After dividing the running route into intervals according to the route type to obtain at least one running interval, determining an interval start point and an interval end point of each running interval; For each of the operating intervals, function fitting is performed according to the interval information of the interval start point and the interval end point to obtain a target interval function, wherein the target interval function represents the corresponding relationship between the vertical axis and the horizontal axis of the operating interval in a preset two-dimensional coordinate system; The preset two-dimensional operation route is determined according to the target interval function of each operation interval.

8. The method according to claim 7, characterized in that For each of the operation intervals, performing function fitting according to the interval information of the interval start point and the interval end point to obtain a target interval function includes: For each of the operation intervals, determine the starting point three-dimensional coordinates and the starting point one-dimensional coordinates of the starting point of the interval, the ending point three-dimensional coordinates and the ending point one-dimensional coordinates of the ending point of the interval, and the target line type, straight line parameters, curve parameters, slope value and curvature value of the operation interval; Function fitting is performed on the three-dimensional coordinates of the starting point, the one-dimensional coordinates of the starting point, the three-dimensional coordinates of the end point, the one-dimensional coordinates of the end point, the target line type, the straight line parameters, the curve parameters, the slope value and the curvature value to obtain the target interval function.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

10. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 8.

11. A train, characterized in that: It includes a positioning system and a vehicle-mounted controller connected to the positioning system, wherein the vehicle-mounted controller obtains the target three-dimensional coordinates of the train position in a preset three-dimensional coordinate system through the positioning system, and the vehicle-mounted controller is the electronic device described in claim 10.

Citation Information

Patent Citations

  • Method and apparatus for obtaining operation information of train based on GNSS (Global Navigation Satellite System)

    CN109239748A

  • Route point positioning method, device and system based on BIM+GIS

    CN110096564A

  • Method and system for converting satellite three-dimensional coordinates into railway one-dimensional coordinates

    CN110824502A

  • Train operation positioning method and device based on Beidou navigation satellite system

    CN113970769A