A positioning method, device, equipment and storage medium
By acquiring and transforming the initial information of the vehicle in the geographical coordinate system, using the angle and distance measured by the total station, the positioning of unreachable and obstructing points is achieved, and the positioning of the inertial navigation device in such scenarios is solved. Difficult problem.
Patent Information
- Application Number
- CN202410654741.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-24
AI Technical Summary
The inertial navigation device cannot accurately locate certain surveying and mapping points when the vehicle cannot reach and the vehicle is not visible to the point to be measured.
By obtaining the initial geographical coordinates and angle information of the vehicle in the geographical coordinate system, using the vehicle-mounted total station and the vehicle-mounted total station to measure the angle and distance, perform coordinate system transformation, calculate the geographical coordinates of the points to be measured, and achieve the goal of the measurement. Positioning of unreachable surveying and mapping points.
When the vehicle cannot reach and is not visible from the point to be measured, the point to be measured can be accurately positioned, solving the problem of difficulty in positioning the inertial navigation device in such scenarios.
Smart Images

Figure CN118443029B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning and measurement technology, and in particular to a positioning method, device, equipment and storage medium. Background Art
[0002] Inertial navigation is a navigation technology that uses inertial sensors to determine the position, direction, and speed of a target. This technology does not rely on external reference objects, but instead infers the position and direction of the target by measuring the acceleration and angle of the target.
[0003] Usually, the inertial navigation device is installed on a surveying vehicle, and the surveying personnel drive the vehicle to the surveying point to determine the positioning information of the surveying point through the inertial navigation device.
[0004] However, for some surveying points that cannot be reached by driving a vehicle, it will be impossible to locate this type of surveying point. Summary of the invention
[0005] The present application provides a positioning method, device, equipment and storage medium, which can accurately locate surveying points that cannot be reached by surveying vehicles.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a positioning method, comprising:
[0008] A first angle, a second angle, a third angle, a fourth angle and a first geographic coordinate of the vehicle in a geographic coordinate system are obtained, wherein the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is the angle between the connecting direction of the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, and the second angle is the angle between the second aerial position and the third aerial position The third angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the y-axis of the vehicle coordinate system. The fourth angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system. The positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle. The positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground. The first angle, the second angle, the third angle and the fourth angle are all acute angles.
[0009] Determine a first aerial vehicle body coordinate of the first aerial position in a vehicle body coordinate system, wherein the first ground vehicle body coordinate of the first ground position is the origin of the vehicle body coordinate system;
[0010] Determine a first vehicle body vector in the vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate; transform the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship; determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate;
[0011] Determine a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, the first distance between the second aerial position and the first aerial position, and the first angle; determine a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle body coordinate;
[0012] According to the coordinate system transformation relationship, transform the second vehicle body vector into a second geographic vector;
[0013] Determine, based on the second geographic vector and the second geographic coordinates, a third geographic coordinate of the second aerial position in the geographic coordinate system;
[0014] determining a third aerial vehicle body coordinate of the third aerial position in the vehicle body coordinate system according to the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle; determining a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate;
[0015] transforming the third vehicle body vector into a third geographic vector according to the coordinate system transformation relationship;
[0016] Determine fourth geographic coordinates of the third aerial position in the geographic coordinate system based on the third geographic vector and the third geographic coordinates.
[0017] In some possible implementations, the coordinate system transformation relationship is determined by:
[0018] Get the heading angle, pitch angle and roll angle output by the inertial navigation device;
[0019] Determine a first rotation matrix according to the heading angle, determine a second rotation matrix according to the pitch angle, and determine a third rotation matrix according to the roll angle;
[0020] A coordinate system transformation relationship is determined according to the first rotation matrix, the second rotation matrix and the third rotation matrix.
[0021] In some possible implementations, determining a first rotation matrix according to the heading angle includes:
[0022]
[0023] in, is the first rotation matrix, is the heading angle;
[0024] The step of determining a second rotation matrix according to the pitch angle comprises:
[0025]
[0026] in, is the second rotation matrix, is the pitch angle;
[0027] The step of determining a third rotation matrix according to the roll angle comprises:
[0028]
[0029] in, is the third rotation matrix, is the rolling angle.
[0030] In some possible implementations, determining a coordinate system transformation relationship according to the first rotation matrix, the second rotation matrix, and the third rotation matrix includes:
[0031]
[0032] in, is the transformed geographic vector in the geographic coordinate system, is the body vector before transformation in the body coordinate system, is the first rotation matrix, is the second rotation matrix, is the third rotation matrix.
[0033] In some possible implementations, the method further includes:
[0034] Acquire a fourth geographic vector in the geographic coordinate system, where the starting point of the fourth geographic vector is the fourth geographic coordinate, and the end point of the fourth geographic vector is the fifth geographic coordinate;
[0035] Determining the fifth geographic coordinates according to the fourth geographic vector and the fourth geographic coordinates;
[0036] Acquire a fifth geographic vector in the geographic coordinate system, where the starting point of the fifth geographic vector is the fifth geographic coordinate, and the end point of the fifth geographic vector is the sixth geographic coordinate;
[0037] Determining the sixth geographic coordinate according to the fifth geographic vector and the sixth geographic coordinate;
[0038] Calculating a distance difference between the sixth geographic coordinate and the second geographic coordinate;
[0039] A verification result of the fourth geographic coordinate is determined according to the distance difference.
[0040] In some possible implementations, determining a verification result of the fourth geographic coordinate according to the distance difference includes:
[0041] If the distance difference is greater than the difference threshold, determining that the inspection result of the fourth geographic coordinate is unqualified;
[0042] If the distance difference is less than or equal to the difference threshold, it is determined that the verification result of the fourth geographic coordinate is qualified.
[0043] In some possible implementations, the first angle, the second angle, the third angle, the fourth angle, the first distance, and the second distance are measured by a vehicle-mounted total station and an off-vehicle total station.
[0044] In a second aspect, the present application provides a positioning device, comprising:
[0045] an acquisition module, for acquiring a first angle, a second angle, a third angle, a fourth angle, and a first geographic coordinate of a vehicle in a geographic coordinate system, wherein the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is the angle between the direction of a line connecting the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, the second angle is the angle between the second aerial position and the third aerial position The first angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, the third angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system, the fourth angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system, the positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle, the positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground, and the first angle, the second angle, the third angle and the fourth angle are all acute angles;
[0046] a determination module, configured to determine a first aerial vehicle body coordinate of the first aerial position in a vehicle body coordinate system, wherein the first ground vehicle body coordinate of the first ground position is the origin of the vehicle body coordinate system; and determine a first vehicle body vector in the vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate;
[0047] A transformation module, used for transforming the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship;
[0048] The determination module is further used to determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate; determine a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, a first distance between the second aerial position and the first aerial position, and the first angle; determine a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle coordinate;
[0049] The transformation module is further used to transform the second vehicle body vector into a second geographic vector according to the coordinate system transformation relationship;
[0050] The determination module is further used to determine the third geographic coordinates of the second aerial position in the geographic coordinate system according to the second geographic vector and the second geographic coordinates; and determine the third aerial vehicle coordinates of the third aerial position in the vehicle coordinate system according to the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle;
[0051] The transformation module is further used to determine a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate; and transform the third vehicle body vector into a third geographic vector according to the coordinate system transformation relationship;
[0052] The determination module is further used to determine the fourth geographic coordinates of the third aerial position in the geographic coordinate system according to the third geographic vector and the third geographic coordinates.
[0053] In a third aspect, the present application provides a computing device, including a memory and a processor;
[0054] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as described in any one of the first aspects.
[0055] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the first aspects.
[0056] It can be seen from the above technical solution that the present application has at least the following beneficial effects:
[0057] The present application provides a positioning method, the method comprising acquiring a first angle, a second angle, a third angle, a fourth angle and a first geographic coordinate of a vehicle in a geographic coordinate system, the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is the angle between the direction of a line connecting the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, the second angle is the angle between the direction of a line connecting the second aerial position and the third aerial position and the positive direction of the x-axis of the vehicle coordinate system, and the third The angle is the angle between the connecting direction of the first aerial position and the second aerial position and the positive direction of the y-axis of the vehicle coordinate system, the fourth angle is the angle between the connecting direction of the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system, the positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle, the positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground, the first angle, the second angle, the third angle and the fourth angle are all acute angles; determine the first aerial vehicle coordinate of the first aerial position in the vehicle coordinate system, the first ground vehicle coordinate of the first ground position is the origin of the vehicle coordinate system; according to the first aerial vehicle coordinate and the first ground vehicle body coordinates, determine a first vehicle body vector in the vehicle body coordinate system; transform the first vehicle body vector into a first geographic vector according to the coordinate system transformation relationship; determine the second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinates; determine the second aerial vehicle body coordinates of the second aerial position in the vehicle body coordinate system according to the third angle, the first distance between the second aerial position and the first aerial position, and the first angle; determine the second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle coordinates and the first aerial vehicle coordinates; transform the second vehicle body vector into a second geographic vector; determining the third geographic coordinates of the second aerial position in the geographic coordinate system based on the second geographic vector and the second geographic coordinates; determining the third aerial vehicle body coordinates of the third aerial position in the vehicle body coordinate system based on the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle; determining the third vehicle body vector in the vehicle body coordinate system based on the third aerial vehicle coordinates and the second aerial vehicle coordinates; transforming the third vehicle body vector into a third geographic vector based on the coordinate system transformation relationship; determining the fourth geographic coordinates of the third aerial position in the geographic coordinate system based on the third geographic vector and the third geographic coordinates.
[0058] In this method, when the vehicle cannot reach the point to be measured and there is no line of sight between the vehicle and the point to be measured, the transfer point can be found, and the position of the transfer point is first located based on the position of the vehicle, and then the position of the point to be measured is located based on the position of the transfer point, thereby achieving the positioning of the above-mentioned point to be measured.
[0059] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0061] Figure 2 A flowchart of a positioning method provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of a coordinate system conversion provided in an embodiment of the present application;
[0063] Figure 4 A schematic diagram of a coordinate verification method provided in an embodiment of the present application;
[0064] Figure 5 A schematic diagram of a positioning device provided in an embodiment of the present application;
[0065] Figure 6 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The terms "first", "second", "third", etc. in the specification of this application and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.
[0067] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0068] like Figure 1 As shown, this figure is a schematic diagram of an application scenario provided by an embodiment of the present application. Point O1 is a location that the surveying and mapping vehicle can drive to, and points A and B are locations that the surveying and mapping vehicle cannot drive to, wherein point B is a point to be measured, there is an obstacle (such as a ridge) between point B and point O1, point O1 and point A can see through, and point A and point B can see through.
[0069] Since the surveying vehicle cannot reach point B and there is an obstacle between point O1 and point B, the coordinates of point B cannot be directly measured by the surveying vehicle, that is, point B cannot be located.
[0070] In view of this, the embodiment of the present application provides a positioning method, in which the surveying vehicle is first driven to point O1, that is, point O1 can be positioned, and then a vehicle-mounted total station (point O2 position) is set up at point O1, and the distance from point O2 to point O1 is the height of the vehicle-mounted total station from the ground. The staff can set up an under-vehicle total station (point O3 position) at point A, and the distance from point O3 to point A is the height of the under-vehicle total station from the ground. The coordinates of point O3 in the geographic coordinate system are calculated through the data provided by the vehicle-mounted total station and the under-vehicle total station and the data provided by the inertial navigation device of the surveying vehicle, that is, point O3 is positioned. Since point O3 and point B can have line of sight, a similar method is adopted to deduce the coordinates of point B from point O3, thereby realizing the positioning of point B.
[0071] In order to make the technical solution of the present application clearer and easier to understand, the positioning method provided in the embodiment of the present application is introduced below in conjunction with the accompanying drawings.
[0072] like Figure 2 As shown, the figure is a flow chart of a positioning method provided in an embodiment of the present application, the method comprising:
[0073] S201. Obtain a first angle, a second angle, a third angle, a fourth angle, and a first geographic coordinate of the vehicle in a geographic coordinate system.
[0074] For ease of understanding, the following Figure 1For introduction, the vehicle is located at a first ground position O1, the on-board total station is located at a first aerial position O2, the projection point of the first aerial position O2 on the ground is the first ground position O1, the total station under the vehicle is located at a second aerial position O3, the projection point of the second aerial position O3 on the ground is the second ground position A, the second aerial position O3 and the first aerial position O2 can see through, that is, the total station set up at the second ground position A can observe the first aerial position O2.
[0075] The first angle (angle a2 in the figure) refers to the angle between the line connecting the first aerial position O2 and the second aerial position O3 and the positive direction of the x-axis of the vehicle coordinate system. Figure 1 The three-dimensional coordinate system with O1 as the origin shown in the figure is the vehicle coordinate system, and the first ground position O1 is the origin of the vehicle coordinate system. The second angle (angle a5 minus angle a1 in the figure) is the angle between the direction of the line connecting the second aerial position O3 and the third aerial position B and the positive direction of the x-axis of the vehicle coordinate system, where the third aerial position B is the position of the point to be measured. The third angle (angle θ1 in the figure) is the angle between the direction of the line connecting the first aerial position O2 and the second aerial position O3 and the positive direction of the y-axis of the vehicle coordinate system. The fourth angle (angle θ1 in the figure) is the angle between the direction of the line connecting the second aerial position O3 and the third aerial position B and the positive direction of the y-axis of the vehicle coordinate system. The positive direction of the x-axis of the vehicle coordinate system is the front of the vehicle, and the positive direction of the y-axis of the vehicle coordinate system is the sky direction perpendicular to the ground. The first angle, the second angle, the third angle and the fourth angle are all acute angles.
[0076] The geographic coordinate system is different from the vehicle body coordinate system. The vehicle body coordinate system can be generated based on the position of the surveying vehicle. The three dimensions of the geographic coordinate system are longitude, latitude and altitude. In some embodiments, the first geographic coordinate of the vehicle in the geographic coordinate system can be determined by an inertial navigation device deployed on the surveying vehicle.
[0077] The first angle, the second angle, the third angle and the fourth angle can be determined in a variety of ways, for example, by using a vehicle-mounted total station and an under-vehicle total station together to measure the four angles, or by other ways to measure the four angles. This application does not specifically limit the way and process of determining the four angles.
[0078] S202: Determine a first aerial vehicle body coordinate of the first aerial position in the vehicle body coordinate system.
[0079] As in the above embodiment, the first ground position O1 is the origin of the vehicle coordinate system, and the first ground vehicle coordinate of the first ground position is the origin coordinate of the vehicle coordinate system.
[0080] Since the projection point of the first aerial position O2 on the ground is the first ground position O1, it can be determined that the x-axis and z-axis coordinates of the first aerial position O2 are 0, and the distance between the first aerial position O2 and the first ground position O1 is the length of the line segment O1O2, that is, the y-axis coordinate of the second aerial position O2 is O1O2. Therefore, the first aerial vehicle body coordinate can be determined to be (0, 0, O1O2).
[0081] S203. Determine a first vehicle body vector in a vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate, transform the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship, and determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate.
[0082] After determining the first aerial vehicle body coordinate and the first ground vehicle body coordinate, the first vehicle body vector with the first ground position O1 and the first aerial position O2 as endpoints can be determined. The first vehicle body vector is a vector in the vehicle body coordinate system. Therefore, based on the coordinate system transformation relationship, the first vehicle body vector can be transformed into a first geographic vector. Since the first geographic coordinates of the first ground position O1 in the geographic coordinate system are known, the second geographic coordinates of the first aerial position O2 in the geographic coordinate system can be obtained based on the first geographic coordinates and the above-mentioned first geographic vector.
[0083] The coordinate transformation relationship between the vehicle coordinate system and the geographic coordinate system is introduced below.
[0084] like Figure 3 As shown, this figure is a schematic diagram of a coordinate system transformation provided in an embodiment of the present application. Figure 3 In the figure, xd-yd-zd is the geographic coordinate system (North-East coordinate system), and xc-yc-zc is the vehicle coordinate system. The coordinate system can be converted by three rotation operations.
[0085] For example, the inertial navigation device deployed on the surveying vehicle can output the heading angle, pitch angle and roll angle of the vehicle, and then determine the first rotation matrix according to the heading angle, determine the second rotation matrix according to the pitch angle, and determine the third rotation matrix according to the roll angle.
[0086] During the rotation process, you can first rotate the heading angle around the yd axis , and then rotate the pitch angle around the z1 axis , and then rotate the roll angle around the x2 axis , where the position of the z1 axis is the position of the zd axis after one rotation, the position of the x2 axis is the position of the x1 axis after one rotation, the position of the x1 axis is the position of the xd axis after one rotation, the y1 axis is the position of the y axis after the first rotation, y2 is the position of the y axis after the second rotation, yc is the position of the y axis after the third rotation, and the heading of the inertial navigation device is the heading relative to the geographic coordinate system, and counterclockwise is positive.
[0087] In some examples, the first rotation matrix is determined according to the heading angle as follows:
[0088]
[0089] in, is the first rotation matrix, is the heading angle.
[0090] The method for determining the second rotation matrix according to the pitch angle is as follows:
[0091]
[0092] in, is the second rotation matrix, is the pitch angle.
[0093] The method of determining the third rotation matrix according to the roll angle is as follows:
[0094]
[0095] in, is the third rotation matrix, is the rolling angle.
[0096] After obtaining the sum of the first rotation matrix, the second rotation matrix and the third rotation matrix, the coordinate system transformation relationship can be determined based on the first rotation matrix, the second rotation matrix and the third rotation matrix. In some embodiments, the coordinate system transformation relationship can be included in the following formula:
[0097]
[0098] in, is the transformed geographic vector in the geographic coordinate system, is the body vector before transformation in the body coordinate system, is the first rotation matrix, is the second rotation matrix, is the third rotation matrix.
[0099] After determining the coordinate system transformation relationship from the vehicle body coordinate system to the geographic coordinate system, coordinate transformation can be performed based on the coordinate system transformation relationship.
[0100] S204, determining a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, the first distance between the second aerial position and the first aerial position, and the first angle, and determining a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle body coordinate.
[0101] In this embodiment, the y-axis coordinate of the second aerial position O3 can be determined based on the third angle and the first distance between the second aerial position O3 and the first aerial position O2 (ρ1 in the figure), and the x-axis coordinate and z-axis coordinate of the second aerial position O3 can be determined based on the first angle and the first distance between the second aerial position O3 and the first aerial position O2, thereby obtaining the second aerial vehicle body coordinates of the second aerial position O3 in the vehicle body coordinate system. Since the first aerial vehicle body coordinates of the first aerial position O2 have been calculated previously, the second vehicle body vector with the first aerial position O2 and the second aerial position O3 as endpoints in the vehicle coordinate system can be determined.
[0102] S205. According to the coordinate system transformation relationship, transform the second vehicle body vector into a second geographic vector.
[0103] After obtaining the second vehicle body vector, the second vehicle body vector can also be transformed into a second geographic vector based on the coordinate system transformation relationship. The transformation process can refer to the above formula and will not be repeated here.
[0104] S206. Determine the third geographic coordinates of the second aerial position in the geographic coordinate system according to the second geographic vector and the second geographic coordinates.
[0105] After obtaining the second geographic vector, the coordinates of the other endpoint of the second geographic vector, ie, the third geographic coordinates of the second aerial position in the geographic coordinate system, can be determined based on the second geographic vector and the second geographic coordinates of one endpoint of the second geographic vector.
[0106] S207, determining a third aerial vehicle body coordinate of the third aerial position in the vehicle body coordinate system according to the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle; determining a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate.
[0107] In this embodiment, the y-axis coordinate of the third aerial position B can be determined based on the fourth angle and the second distance between the third aerial position B and the second aerial position O3 (ρ2 in the figure), and the x-axis coordinate and z-axis coordinate of the third aerial position B can be determined based on the second angle and the second distance between the third aerial position B and the second aerial position O3, thereby obtaining the third aerial vehicle body coordinates of the third aerial position B in the vehicle coordinate system. Since the second aerial vehicle body coordinates of the second aerial position O3 have been calculated previously, the third vehicle body vector with the second aerial position O3 and the third aerial position B as endpoints in the vehicle coordinate system can be determined.
[0108] S208. According to the coordinate system transformation relationship, transform the third vehicle body vector into a third geographic vector.
[0109] After the third vehicle body vector is obtained, the third vehicle body vector can also be transformed into a third geographic vector based on the coordinate system transformation relationship. The transformation process can refer to the above formula and will not be repeated here.
[0110] S209: Determine fourth geographic coordinates of the third aerial position in the geographic coordinate system according to the third geographic vector and the third geographic coordinates.
[0111] After obtaining the third geographic vector, the coordinates of the other endpoint of the third geographic vector, that is, the fourth geographic coordinates of the third aerial position in the geographic coordinate system, can be determined based on the third geographic vector and the third geographic coordinates of one endpoint of the third geographic vector. After obtaining the fourth geographic coordinates, the position of the point to be measured can be achieved.
[0112] In some embodiments, after obtaining the coordinates of the point to be measured in the geographic coordinate system, the fourth geographic coordinates of the point to be measured may also be verified.
[0113] like Figure 4 As shown in FIG. 1 , this figure is a schematic diagram of a coordinate verification method provided in an embodiment of the present application. Figure 1 On the basis of , an additional check point C1 is added. A total station under the vehicle can be set up at the check point C1. The position of the total station under the vehicle is recorded as C2, and the projection point of point C2 on the ground is C1.
[0114] In some embodiments, the coordinates of point C2 in the vehicle body coordinate system can be determined in a similar manner, and then the vector C2B in the vehicle body coordinate system can be obtained, and then the fourth geographic vector in the geographic coordinate system can be obtained through coordinate system transformation, the starting point of the fourth geographic vector is the fourth geographic coordinate, the end point of the fourth geographic vector is the fifth geographic coordinate, and the fifth geographic coordinate is the coordinate of point C2 in the geographic coordinate system. Then, the fifth geographic coordinate is determined based on the fourth geographic vector and the fourth geographic coordinate.
[0115] Similarly, obtain the fifth geographic vector in the geographic coordinate system, the starting point of the fifth geographic vector is the fifth geographic coordinate, and the end point of the fifth geographic vector is the sixth geographic coordinate. Determine the sixth geographic coordinate based on the fifth geographic vector and the sixth geographic coordinate; calculate the coordinates of the second aerial position in the geographic coordinate system using the sixth geographic coordinate, and then calculate the distance difference between the sixth geographic coordinate and the second geographic coordinate; determine the verification result of the fourth geographic coordinate based on the distance difference.
[0116] Exemplarily, if the distance difference is greater than the difference threshold, the verification result of the fourth geographic coordinate is determined to be unqualified; if the distance difference is less than or equal to the difference threshold, the verification result of the fourth geographic coordinate is determined to be qualified, thereby realizing the verification of the positioning result.
[0117] It should be noted that the embodiments of the present application only take a single calculation as an example to introduce the inspection process and the positioning process. In other embodiments, multiple positioning processes can be performed to determine the final positioning result, or multiple inspection processes can be performed to determine the final inspection result.
[0118] Combination of the above Figures 1 to 4 The positioning method provided in the embodiment of the present application is introduced in detail. The following will introduce the device and equipment provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0119] like Figure 5 As shown, this figure is a schematic diagram of a positioning device provided in an embodiment of the present application, and the device includes:
[0120] The acquisition module 501 is used to acquire a first angle, a second angle, a third angle, a fourth angle, and a first geographic coordinate of the vehicle in a geographic coordinate system, wherein the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, and the second angle is the angle between the second aerial position and the third The third angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the y-axis of the vehicle coordinate system. The fourth angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system. The positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle, and the positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground. The first angle, the second angle, the third angle and the fourth angle are all acute angles.
[0121] The determination module 502 is used to determine a first aerial vehicle body coordinate of the first aerial position in a vehicle body coordinate system, wherein the first ground vehicle body coordinate of the first ground position is the origin of the vehicle body coordinate system; and determine a first vehicle body vector in the vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate;
[0122] A transformation module 503, configured to transform the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship;
[0123] The determination module 502 is further configured to determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate; determine a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, a first distance between the second aerial position and the first aerial position, and the first angle; and determine a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle coordinate;
[0124] The transformation module 503 is further used to transform the second vehicle body vector into a second geographic vector according to the coordinate system transformation relationship;
[0125] The determination module 502 is further configured to determine a third geographic coordinate of the second aerial position in the geographic coordinate system according to the second geographic vector and the second geographic coordinate; and determine a third aerial vehicle coordinate of the third aerial position in the vehicle coordinate system according to a fourth angle, a second distance between the third aerial position and the second aerial position, and the second angle;
[0126] The transformation module 503 is further used to determine a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate; and transform the third vehicle body vector into a third geographic vector according to the coordinate system transformation relationship;
[0127] The determination module 502 is further configured to determine fourth geographic coordinates of the third aerial position in the geographic coordinate system according to the third geographic vector and the third geographic coordinates.
[0128] Optionally, the transformation module 503 is also used to obtain the heading angle, pitch angle and roll angle output by the inertial navigation device; determine a first rotation matrix based on the heading angle, determine a second rotation matrix based on the pitch angle, and determine a third rotation matrix based on the roll angle; determine the coordinate system transformation relationship based on the first rotation matrix, the second rotation matrix and the third rotation matrix.
[0129] Optionally, the transformation module 503 is used to determine the first rotation matrix by the following formula:
[0130]
[0131] in, is the first rotation matrix, is the heading angle;
[0132] The second rotation matrix is determined by the following formula:
[0133]
[0134] in, is the second rotation matrix, is the pitch angle;
[0135] The third rotation matrix is determined by the following formula:
[0136]
[0137] in, is the third rotation matrix, is the rolling angle.
[0138] Optionally, the transformation module 503 is used to determine the coordinate system change relationship by the following formula:
[0139]
[0140] in, is the transformed geographic vector in the geographic coordinate system, is the body vector before transformation in the body coordinate system, is the first rotation matrix, is the second rotation matrix, is the third rotation matrix.
[0141] Optionally, the device also includes a verification module, which is used to obtain a fourth geographic vector in the geographic coordinate system, where the starting point of the fourth geographic vector is the fourth geographic coordinate, and the end point of the fourth geographic vector is the fifth geographic coordinate; determine the fifth geographic coordinate based on the fourth geographic vector and the fourth geographic coordinate; obtain a fifth geographic vector in the geographic coordinate system, where the starting point of the fifth geographic vector is the fifth geographic coordinate, and the end point of the fifth geographic vector is the sixth geographic coordinate; determine the sixth geographic coordinate based on the fifth geographic vector and the sixth geographic coordinate; calculate the distance difference between the sixth geographic coordinate and the second geographic coordinate; and determine the verification result of the fourth geographic coordinate based on the distance difference.
[0142] Optionally, the inspection module is specifically used to determine that the inspection result of the fourth geographic coordinate is unqualified if the distance difference is greater than the difference threshold; if the distance difference is less than or equal to the difference threshold, determine that the inspection result of the fourth geographic coordinate is qualified.
[0143] Optionally, the first angle, the second angle, the third angle, the fourth angle, the first distance and the second distance are measured by a vehicle-mounted total station and an under-vehicle total station.
[0144] The positioning device according to the embodiment of the present application may correspond to executing the method described in the embodiment of the present application, and the above-mentioned other operations and / or functions of each module / unit of the positioning device are respectively to realize Figure 2 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.
[0145] The present application also provides a computing device. The computing device is specifically used to implement the following Figure 5 Functionality of the positioning device in the illustrated embodiment.
[0146] like Figure 6 As shown, this figure is a schematic diagram of a computing device provided in an embodiment of the present application, such as Figure 6 As shown, the computing device 600 includes a bus 601, a processor 602, a communication interface 603, and a memory 604. The processor 602, the memory 604, and the communication interface 603 communicate with each other via the bus 601.
[0147] The bus 601 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0148] The processor 602 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0149] The communication interface 603 is used for communicating with the outside.
[0150] The memory 604 may include a volatile memory, such as a random access memory (RAM). The memory 604 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0151] The memory 604 stores executable codes, and the processor 602 executes the executable codes to perform the aforementioned positioning method.
[0152] Specifically, in implementing Figure 5 In the case of the embodiment shown, and Figure 5 When each module or unit of the positioning device described in the embodiment is implemented by software, the execution Figure 5 The software or program code required for the functions of each module / unit in the system may be partially or completely stored in the memory 604. The processor 602 executes the program code corresponding to each unit stored in the memory 604 to perform the aforementioned positioning method.
[0153] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned positioning method.
[0154] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.
[0155] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0156] When the computer program product is executed by a computer, the computer executes any of the aforementioned positioning methods. The computer program product may be a software installation package, and when any of the aforementioned positioning methods is needed, the computer program product may be downloaded and executed on a computer.
[0157] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0158] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A positioning method, characterized in that: The method comprises: Obtain a first angle, a second angle, a third angle, a fourth angle, and a first geographic coordinate of the vehicle in a geographic coordinate system, wherein the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the x-axis of the vehicle coordinate system, and the second angle is the angle between the direction of the line connecting the second aerial position and the third aerial position The first angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the y-axis of the vehicle coordinate system, the third angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system, the positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle, the positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground, and the first angle, the second angle, the third angle and the fourth angle are all acute angles; Determine a first aerial vehicle body coordinate of the first aerial position in a vehicle body coordinate system, wherein the first ground vehicle body coordinate of the first ground position is the origin of the vehicle body coordinate system; Determine a first vehicle body vector in the vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate; transform the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship; determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate; Determine a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, the first distance between the second aerial position and the first aerial position, and the first angle; determine a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle body coordinate; According to the coordinate system transformation relationship, transform the second vehicle body vector into a second geographic vector; Determine, based on the second geographic vector and the second geographic coordinates, a third geographic coordinate of the second aerial position in the geographic coordinate system; determining a third aerial vehicle body coordinate of the third aerial position in the vehicle body coordinate system according to the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle; determining a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate; transforming the third vehicle body vector into a third geographic vector according to the coordinate system transformation relationship; Determine fourth geographic coordinates of the third aerial position in the geographic coordinate system based on the third geographic vector and the third geographic coordinates.
2. The method according to claim 1, characterized in that The coordinate system transformation relationship is determined by the following method: Get the heading angle, pitch angle and roll angle output by the inertial navigation device; Determine a first rotation matrix according to the heading angle, determine a second rotation matrix according to the pitch angle, and determine a third rotation matrix according to the roll angle; A coordinate system transformation relationship is determined according to the first rotation matrix, the second rotation matrix and the third rotation matrix.
3. The method according to claim 2, characterized in that The step of determining a first rotation matrix according to the heading angle comprises: in, is the first rotation matrix, is the heading angle; The step of determining a second rotation matrix according to the pitch angle comprises: in, is the second rotation matrix, is the pitch angle; The step of determining a third rotation matrix according to the roll angle comprises: in, is the third rotation matrix, is the rolling angle.
4. The method according to claim 3, characterized in that The determining of the coordinate system transformation relationship according to the first rotation matrix, the second rotation matrix and the third rotation matrix includes: in, is the transformed geographic vector in the geographic coordinate system, is the body vector before transformation in the body coordinate system, is the first rotation matrix, is the second rotation matrix, is the third rotation matrix.
5. The method according to claim 1, characterized in that The method further comprises: Acquire a fourth geographic vector in the geographic coordinate system, where the starting point of the fourth geographic vector is the fourth geographic coordinate, and the end point of the fourth geographic vector is the fifth geographic coordinate; Determining the fifth geographic coordinates according to the fourth geographic vector and the fourth geographic coordinates; Acquire a fifth geographic vector in the geographic coordinate system, where the starting point of the fifth geographic vector is the fifth geographic coordinate, and the end point of the fifth geographic vector is the sixth geographic coordinate; Determining the sixth geographic coordinate according to the fifth geographic vector and the sixth geographic coordinate; Calculating a distance difference between the sixth geographic coordinate and the second geographic coordinate; A verification result of the fourth geographic coordinate is determined according to the distance difference.
6. The method according to claim 5, characterized in that Determining the verification result of the fourth geographic coordinate according to the distance difference includes: If the distance difference is greater than the difference threshold, determining that the inspection result of the fourth geographic coordinate is unqualified; If the distance difference is less than or equal to the difference threshold, it is determined that the verification result of the fourth geographic coordinate is qualified.
7. The method according to claim 1, characterized in that The first angle, the second angle, the third angle, the fourth angle, the first distance and the second distance are measured by a vehicle-mounted total station and an under-vehicle total station.
8. A positioning device, characterized in that: include: an acquisition module, for acquiring a first angle, a second angle, a third angle, a fourth angle, and a first geographic coordinate of a vehicle in a geographic coordinate system, wherein the vehicle is located at a first ground position, the vehicle-mounted total station is located at a first aerial position, the projection point of the first aerial position on the ground is the first ground position, the vehicle-mounted total station is located at a second aerial position, the first aerial position and the third aerial position are not in line of sight, the first angle is an angle between a line direction between the first aerial position and the second aerial position and a positive direction of an x-axis of a vehicle coordinate system, and the second angle is an angle between the second aerial position and the third aerial position The first angle is the angle between the direction of the line connecting the first aerial position and the second aerial position and the positive direction of the y-axis of the vehicle coordinate system; the third angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system; the fourth angle is the angle between the direction of the line connecting the second aerial position and the third aerial position and the positive direction of the y-axis of the vehicle coordinate system; the positive direction of the x-axis of the vehicle coordinate system is the front direction of the vehicle; the positive direction of the y-axis of the vehicle coordinate system is the direction of the sky perpendicular to the ground; the first angle, the second angle, the third angle and the fourth angle are all acute angles; a determination module, configured to determine a first aerial vehicle body coordinate of the first aerial position in a vehicle body coordinate system, wherein the first ground vehicle body coordinate of the first ground position is the origin of the vehicle body coordinate system; and determine a first vehicle body vector in the vehicle body coordinate system according to the first aerial vehicle body coordinate and the first ground vehicle body coordinate; A transformation module, used for transforming the first vehicle body vector into a first geographic vector according to a coordinate system transformation relationship; The determination module is further used to determine a second geographic coordinate of the first aerial position in the geographic coordinate system according to the first geographic vector and the first geographic coordinate; determine a second aerial vehicle body coordinate of the second aerial position in the vehicle body coordinate system according to the third angle, a first distance between the second aerial position and the first aerial position, and the first angle; determine a second vehicle body vector in the vehicle body coordinate system according to the second aerial vehicle body coordinate and the first aerial vehicle coordinate; The transformation module is further used to transform the second vehicle body vector into a second geographic vector according to the coordinate system transformation relationship; The determination module is further used to determine the third geographic coordinates of the second aerial position in the geographic coordinate system according to the second geographic vector and the second geographic coordinates; and determine the third aerial vehicle coordinates of the third aerial position in the vehicle coordinate system according to the fourth angle, the second distance between the third aerial position and the second aerial position, and the second angle; The transformation module is further used to determine a third vehicle body vector in the vehicle body coordinate system according to the third aerial vehicle body coordinate and the second aerial vehicle body coordinate; and transform the third vehicle body vector into a third geographic vector according to the coordinate system transformation relationship; The determination module is further used to determine the fourth geographic coordinates of the third aerial position in the geographic coordinate system according to the third geographic vector and the third geographic coordinates.
9. A computing device, characterized in that including memory and processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Positioning method and device based on sensor
CN104122570A
Positioning method and positioning system
CN112040446A
Power transmission tower pile foundation design point location positioning device and method
CN116202500A
Vehicle-mounted autonomous positioning and orienting method
CN116659493A
Method for correcting error from coordinates of total station to coordinates of vehicle body
CN116659555A
