A downhole positioning method, device, electronic equipment and storage medium

Acquiring three-dimensional point cloud data and constructing local maps through lidar, and judging the fitness score of point cloud matching in real time, it solves the problem of positioning failure of underground autonomous vehicles and improves the positioning accuracy and stability of underground autonomous vehicles.

CN118465779BActive Publication Date: 2024-09-27NANJING BESTWAY AUTOMATION SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410917761.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-27
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Existing positioning solutions for underground autonomous vehicles suffer from positioning failure due to feature degradation. Especially in tunnels with poor ambient lighting, the camera-assisted positioning effect is poor, resulting in low positioning accuracy.

Method used

Lidar is used to obtain 3D point cloud data, a local map is constructed based on the initial pose and the 3D point cloud map, point cloud matching is performed in real time, and the positioning quality is judged by the point cloud matching fitness score. If the threshold is exceeded, the pose is reinitialized to update the current posture to ensure positioning accuracy.

Benefits of technology

It effectively solves the problem of positioning failure caused by feature degradation and improves the positioning accuracy and stability of underground autonomous vehicles, especially the positioning performance in poor lighting and bumpy scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118465779B
    Figure CN118465779B
Patent Text Reader

Abstract

The present invention discloses an underground positioning method, device, electronic device and storage medium, the method comprising: initializing the position and posture of an autonomous driving vehicle to obtain the initial position and posture of the autonomous driving vehicle; obtaining a three-dimensional point cloud map of the lane, and determining a local map based on the initial position and the three-dimensional point cloud map of the lane; the local map changes with the position and posture of the autonomous driving vehicle; obtaining the current point cloud data collected by a laser radar in real time, performing point cloud matching based on the current point cloud data and the point cloud data of the local map to obtain a transformation matrix, and determining the current position and posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; determining the point cloud matching fitness score between the current point cloud data and the point cloud data of the local map; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, initializing the position and posture of the autonomous driving vehicle to update the current position and posture. The positioning failure problem caused by feature degradation is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to an underground positioning method, device, electronic equipment and storage medium. Background Art

[0002] The working environment in the mine is harsh, which poses a great threat to the life safety of the relevant workers underground. Unmanned mining and mining with few people in the mine have gradually become a research hotspot. Today, it has become imperative to introduce underground robots to replace relevant workers to complete more dangerous work. The underground auxiliary transportation system of the mine is a key link in the entire mine production system. The technical level and operating efficiency of the entire system will be directly related to the achievement of the goal of reducing manpower and increasing efficiency in coal mine production. The underground auxiliary transportation system mainly uses trackless rubber-wheeled vehicles as a means of transportation to complete point-to-point underground transportation operations. The introduction of underground unmanned vehicles will undoubtedly provide a safer guarantee for underground operations.

[0003] Most of the existing underground autonomous driving positioning solutions are as follows Figure 1 As shown, positioning is performed based on lidar data and inertial navigation data through simultaneous localization and mapping (SLAM) technology, and camera QR code is added to assist in positioning.

[0004] In the process of implementing the present invention, it is found that there are at least the following technical problems in the prior art: the existing positioning scheme of underground autonomous driving vehicles inevitably has the problem of positioning failure due to feature degradation. Although the introduction of camera QR code-like recognition-based auxiliary positioning can achieve a certain effect, when driving in a lane with poor ambient lighting, the camera-assisted positioning effect is minimal and positioning failure still occurs. In addition, some scenes underground are bumpy, which requires high accuracy of camera recognition, so the commonly used underground positioning scheme still has obvious defects. Summary of the invention

[0005] The present invention provides an underground positioning method, device, electronic device and storage medium to solve the problem of positioning failure caused by feature degradation in existing positioning solutions for underground autonomous driving vehicles.

[0006] According to one aspect of the present invention, a positioning method is provided, which is applied to an on-board terminal of an autonomous driving vehicle, wherein the autonomous driving vehicle includes a laser radar; the method includes:

[0007] Initializing the position and posture of the autonomous driving vehicle to obtain an initial position and posture of the autonomous driving vehicle;

[0008] Acquire a three-dimensional point cloud map of the lane, and determine a local map based on the initial position and the three-dimensional point cloud map of the lane; the local map changes with the position of the autonomous driving vehicle;

[0009] Acquire current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data to obtain a transformation matrix, and determine a current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix;

[0010] A point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, the posture of the autonomous driving vehicle is positioned and initialized to update the current posture.

[0011] According to another aspect of the present invention, a positioning device is provided, characterized in that it is applied to a vehicle-mounted terminal of an autonomous driving vehicle, wherein the autonomous driving vehicle includes a laser radar; the device includes:

[0012] An initial posture determination module, used to initialize the posture of the autonomous driving vehicle to obtain an initial posture of the autonomous driving vehicle;

[0013] A local map determination module, used to obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the posture of the autonomous driving vehicle;

[0014] A current posture determination module is used to obtain current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data, obtain a transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix;

[0015] A point cloud matching quality detection module is used to determine a point cloud matching fitness score based on the current point cloud data after the transformation matrix transformation and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, the posture of the autonomous driving vehicle is positioned and initialized to update the current posture.

[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the downhole positioning method described in any embodiment of the present invention.

[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the downhole positioning method described in any embodiment of the present invention when executed.

[0021] The technical solution of the embodiment of the present invention obtains the initial posture of the autonomous driving vehicle by positioning and initializing the posture of the autonomous driving vehicle; obtains the three-dimensional point cloud map of the lane, and determines the local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the change of the posture of the autonomous driving vehicle; obtains the current point cloud data collected by the laser radar in real time, performs point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data, obtains the transformation matrix, and determines the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; realizes the positioning of the autonomous driving vehicle. Further, the point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, it indicates that the positioning is lost, and the posture of the autonomous driving vehicle is initialized to update the current posture, realize positioning correction, solve the positioning failure problem caused by feature degradation, and improve the accuracy of the positioning of the autonomous driving vehicle.

[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0024] Figure 1 It is a schematic diagram of an existing underground automatic driving positioning solution in the background technology;

[0025] Figure 2 is a flow chart of a downhole positioning method provided by Embodiment 1 of the present invention;

[0026] Figure 3 is a flow chart of a downhole positioning method provided by Embodiment 2 of the present invention;

[0027] Figure 4 is a flow chart of a downhole positioning method provided by Embodiment 3 of the present invention;

[0028] Figure 5 is a schematic structural diagram of a downhole positioning device provided by a fourth embodiment of the present invention;

[0029] Figure 6 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. Example

[0032] Figure 2 This is a flow chart of an underground positioning method provided in Example 1 of the present invention. This embodiment can be applied to the situation of positioning an autonomous driving vehicle in a mine. The method can be executed by an underground positioning device, which can be implemented in the form of hardware and / or software. The underground positioning device can be configured in the on-board terminal of the autonomous driving vehicle.

[0033] Before specifically introducing the technical solution of the present invention, the application scenario of the present invention is specifically introduced. The present invention is to locate the autonomous driving vehicle in the mine, wherein the autonomous driving vehicle includes a laser radar, two inertial measurement units (IMU) and a vehicle-mounted UWB receiver, the laser radar is arranged on the top of the front of the autonomous driving vehicle, and the two inertial measurement units are arranged below the laser radar and at the center of the rear axle of the autonomous driving vehicle. In addition, multiple positioning base stations are arranged in the tunnel of the mine to interact with the vehicle-mounted UWB receiver. It should be noted that the positioning base stations can interact with each other; specifically, the distance between the positioning base stations can be 50 meters, which is not limited here.

[0034] like Figure 2 As shown, the method includes:

[0035] S110. Initialize the position and posture of the autonomous driving vehicle to obtain an initial position and posture of the autonomous driving vehicle.

[0036] The initial posture refers to the posture of the autonomous driving vehicle when it is started. Specifically, the initial posture includes the position and direction of the autonomous driving vehicle when it is started. In this embodiment, when the autonomous driving vehicle is started, the posture of the autonomous driving vehicle is positioned and initialized to obtain the initial posture of the autonomous driving vehicle.

[0037] S120. Obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the posture of the autonomous driving vehicle.

[0038] Among them, the three-dimensional point cloud map of the tunnel refers to the three-dimensional point cloud map of the tunnel under the mine. Specifically, the environmental point cloud data of the tunnel can be obtained, and the feature information in the environmental point cloud data can be extracted through SLAM technology, and then the three-dimensional point cloud map of the tunnel can be constructed based on the feature information; among them, the environmental point cloud data is the perception information of the surrounding environment obtained by sensors (such as lidar, camera, inertial measurement unit, etc.) mounted on mobile devices or robots.

[0039] In this embodiment, a three-dimensional point cloud map of the lane is obtained, and a local map is determined based on the initial posture and the three-dimensional point cloud map of the lane. It should be noted that the local map determined based on the initial posture and the three-dimensional point cloud map of the lane is the local map corresponding to the initial posture, but as the autonomous driving vehicle moves, the posture of the autonomous driving vehicle changes, and accordingly, the local map changes accordingly.

[0040] It should be noted that if the initial posture of the autonomous driving vehicle is not in the three-dimensional point cloud map coordinate system, the initial posture will be converted to the three-dimensional point cloud map coordinate system.

[0041] In some embodiments, after acquiring the three-dimensional point cloud map of the lane, the point cloud data in the three-dimensional point cloud map is downsampled based on voxel filtering for different scenes to meet the corresponding scenes.

[0042] Based on the above embodiment, optionally, determining the local map based on the initial posture and the three-dimensional point cloud map of the alley includes: determining the local map in the three-dimensional point cloud map of the alley based on the initial posture and a preset local map range threshold.

[0043] Specifically, with the initial position of the autonomous driving vehicle as the center, the local map is determined in the three-dimensional point cloud map of the lane based on a preset local map range threshold. The preset local map range threshold can be set by those skilled in the art according to specific needs, for example, it can be set to an area within a preset distance around the vehicle.

[0044] S130. Acquire current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data to obtain a transformation matrix, and determine a current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix.

[0045] Among them, the current point cloud data refers to the environmental point cloud data corresponding to the current position of the autonomous driving vehicle collected by the lidar. It can be understood that since the local map changes with the position of the autonomous driving vehicle, the current point cloud data corresponds to the local map, that is, the local map corresponding to the current position of the autonomous driving vehicle.

[0046] In this embodiment, the current point cloud data collected by the laser radar is acquired in real time to determine the data correspondence between the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data; under the data correspondence, the transformation matrix is ​​determined by minimizing the error between the corresponding point cloud data; wherein the transformation matrix is ​​the transformation matrix of the rigid transformation between the current point cloud data and the point cloud data in the local map corresponding to the current point cloud data, and specifically, the transformation matrix includes a rotation matrix and a translation matrix. Furthermore, the current posture of the autonomous driving vehicle is determined based on the current point cloud data and the transformation matrix. wherein the current posture is the current posture of the autonomous driving vehicle at the current timestamp in the three-dimensional point cloud map coordinate system.

[0047] For example, taking the point-to-plane 3D point cloud registration algorithm (Iterative Closest Point, ICP) as an example, the objective function of the point-to-plane 3D point cloud registration algorithm is as follows:

[0048]

[0049] Among them, M optrepresents the optimal transformation matrix, S i indicates the i-th point in the current point cloud data, d i S represents the point cloud data of the local map i The corresponding point, n i S represents the point cloud data of the local map i The normal vector of the corresponding point, M represents the rigid transformation matrix between the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data.

[0050] It should be noted that, for different scenarios, the current point cloud data collected by the lidar can be downsampled based on voxel filtering to meet the corresponding scenarios.

[0051] S140, determining a point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, initializing the positioning of the autonomous driving vehicle to update the current posture.

[0052] Among them, the point cloud matching fitness score is used to measure the matching quality between the current point cloud data and the point cloud data in the local map corresponding to the current point cloud data. It can be understood that the smaller the point cloud matching fitness score, the higher the matching quality, and correspondingly, the more accurate the positioning. In this embodiment, the point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; the point cloud matching fitness score is used to determine whether the positioning is lost. If the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, it indicates that the positioning is lost, and the position and posture of the autonomous driving vehicle are initialized to obtain the current position and posture of the autonomous driving vehicle to update the current position and posture obtained by point cloud matching.

[0053] On the basis of the above embodiment, optionally, the point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data, including: transforming the current point cloud data based on the transformation matrix to obtain source point cloud data; for each point cloud data in the source point cloud data, determining the target point cloud data corresponding to the point cloud data in the local map; and determining the matching fitness score based on the source point cloud data and the target point cloud data.

[0054] In this embodiment, in order to determine the matching fitness score between the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data, the current point cloud data can be transformed based on the transformation matrix to obtain the source point cloud data; wherein the source point cloud data is the current point cloud data in the three-dimensional point cloud map coordinate system. Further, for each point cloud data in the source point cloud data, the target point cloud data corresponding to the source point cloud data can be determined in the local map based on the nearest principle; wherein the target point cloud data refers to the point cloud data corresponding to the source point cloud data in the point cloud data of the local map. Further, for any source point cloud data, the square distance between the source point cloud data and the corresponding target point cloud data is determined, the sum of the square distances is determined based on the square distance between each source point cloud data and the corresponding target point cloud data, and the sum of the square distances is normalized based on the number of source point cloud data to obtain the matching fitness score. Specifically, the sum of the square distances can be divided by the number of source point cloud data to obtain the matching fitness score.

[0055] The technical solution of this embodiment is to obtain the initial posture of the autonomous driving vehicle by positioning and initializing the posture of the autonomous driving vehicle; obtain the three-dimensional point cloud map of the lane, and determine the local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the change of the posture of the autonomous driving vehicle; obtain the current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data, obtain the transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; realize the positioning of the autonomous driving vehicle. Further, the point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, it indicates that the positioning is lost, and the posture of the autonomous driving vehicle is initialized to update the current posture, realize positioning correction, solve the positioning failure problem caused by feature degradation, and improve the accuracy of the positioning of the autonomous driving vehicle.

[0056] Embodiment 2

[0057] Figure 3 This is a flow chart of an underground positioning method provided by Embodiment 2 of the present invention. Based on the above embodiments, this embodiment further includes: if the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, the position and posture of the autonomous driving vehicle are initialized to obtain the current position and posture of the autonomous driving vehicle. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.

[0058] like Figure 3 As shown, the method includes:

[0059] S210: Initialize the position and posture of the autonomous driving vehicle to obtain an initial position and posture of the autonomous driving vehicle.

[0060] S220. Obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the change of the posture of the autonomous driving vehicle.

[0061] S230. Acquire current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data to obtain a transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix.

[0062] S240, determining a point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, initializing the positioning of the autonomous driving vehicle to update the current posture.

[0063] S250: Detect the turning curvature of the autonomous driving vehicle. If the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, initialize the position of the autonomous driving vehicle to obtain the current position of the autonomous driving vehicle.

[0064] It is understandable that when the turning curvature of the autonomous driving vehicle exceeds the preset curvature threshold, the accuracy of the current point cloud data acquired by the lidar will be affected to a certain extent, and therefore the accuracy of the current posture obtained by positioning through the simultaneous localization and mapping (SLAM) technology in step S230 will also be affected.

[0065] In this embodiment, during the operation of the autonomous driving vehicle, the turning curvature of the autonomous driving vehicle is detected in real time, and the turning curvature is compared with a preset turning curvature threshold. If the turning curvature of the autonomous driving vehicle is greater than the preset turning curvature threshold, the position of the autonomous driving vehicle is initialized to obtain the current position of the autonomous driving vehicle, thereby ensuring the accuracy of the positioning of the autonomous driving vehicle. The preset turning curvature threshold is set by a person skilled in the art and is not limited here.

[0066] It should be noted that step S250 is executed in parallel with steps S210 to S240.

[0067] The technical solution of this embodiment detects the turning curvature of the autonomous driving vehicle during the positioning process, and initializes the position and posture of the autonomous driving vehicle when the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, thereby improving the positioning accuracy of the autonomous driving vehicle when turning.

[0068] Embodiment 3

[0069] Figure 4 This is a flow chart of an underground positioning method provided in the third embodiment of the present invention. In this embodiment, based on the above embodiments, optionally, the positioning initialization of the posture of the autonomous driving vehicle includes: obtaining the UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and the motion data collected by the inertial measurement unit; determining the initial posture or current posture of the autonomous driving vehicle based on the UWB data and the motion data. Furthermore, the determination of the initial posture or current posture of the autonomous driving vehicle based on the UWB data and the motion data includes: performing position calculation on the UWB data to obtain UWB positioning data; performing integration processing on the motion data to obtain odometer data; performing data fusion on the UWB positioning data and the odometer data to obtain the initial posture or current posture of the autonomous driving vehicle. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.

[0070] like Figure 4 As shown, the method includes:

[0071] S310, obtaining UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; and determining an initial position and posture of the autonomous driving vehicle based on the UWB data and the motion data.

[0072] S320, obtaining a three-dimensional point cloud map of the lane, and determining a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the change of the posture of the autonomous driving vehicle.

[0073] S330: Acquire current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data to obtain a transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix.

[0074] S340, determining a point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, obtaining UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; determining a current posture of the autonomous driving vehicle based on the UWB data and the motion data.

[0075] S350: Detect the turning curvature of the autonomous driving vehicle. If the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, obtain UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; determine the current position of the autonomous driving vehicle based on the UWB data and the motion data.

[0076] It can be understood that in order to ensure the accuracy of the self-driving vehicle's posture, the posture of the self-driving vehicle is initialized when the self-driving vehicle is initially positioned or when the point cloud matching fitness score is greater than the point cloud matching fitness score threshold or when the turning curvature of the self-driving vehicle is greater than the preset turning curvature threshold.

[0077] Among them, UWB data refers to the signal transmission time between the on-board UWB receiver and the positioning base station in the lane. Motion data refers to the motion state data of the autonomous driving vehicle collected by the inertial measurement device through its built-in gyroscope, accelerometer and magnetometer. Specifically, the motion data includes but is not limited to the three-axis angular velocity, three-axis acceleration and attitude angle of the autonomous driving vehicle, which are not limited here, and the attitude angle includes pitch angle, roll angle and heading angle. It should be noted that since the autonomous driving vehicle has no starting position or the last known position at startup, the magnetometer in the inertial measurement device is used to provide direction for the initial posture.

[0078] In this embodiment, the method for initializing the positioning of the autonomous driving vehicle is: obtaining UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; determining the initial posture or current posture of the autonomous driving vehicle based on the UWB data and motion data.

[0079] Based on the above embodiment, optionally, determining the initial posture or current posture of the autonomous driving vehicle based on the UWB data and the motion data includes: performing position calculation on the UWB data to obtain UWB positioning data; integrating the motion data to obtain odometer data; and fusing the UWB positioning data and the odometer data to obtain the initial posture or current posture of the autonomous driving vehicle.

[0080] In this embodiment, the method for performing position calculation on UWB data to obtain UWB positioning data is as follows: determine the distance between the autonomous driving vehicle and multiple positioning base stations respectively according to the UWB data and the propagation speed of the signal in the air; based on the preset positioning algorithm, combined with the positions of multiple positioning base stations and the distance between the positioning base stations and the autonomous driving vehicle, calculate the position of the autonomous driving vehicle, that is, the UWB positioning data. Among them, the distance between the autonomous driving vehicle and the positioning base station is the distance between the on-board UWB receiver and the positioning base station. It should be noted that the propagation speed of the signal in the air is close to the speed of light, so the speed of light is used as the propagation speed of the signal in the air.

[0081] Among them, the odometer data refers to the displacement and attitude information of the autonomous driving vehicle relative to its starting position or the last known position. Specifically, the odometer data includes the displacement and rotation angle of the autonomous driving vehicle. In this embodiment, the acceleration data is integrated twice to obtain the displacement of the autonomous driving vehicle, and the angular velocity data is integrated once to obtain the rotation angle of the autonomous driving vehicle. It should be noted that these integration operations can be approximated by discrete time steps (such as the interval between timestamps).

[0082] In this embodiment, the UWB positioning data and the odometer data are fused based on a preset data fusion algorithm to determine the initial posture or current posture of the autonomous driving vehicle; wherein the data fusion algorithm includes but is not limited to a Kalman filter algorithm, an extended Kalman filter algorithm, an unscented Kalman filter algorithm or a particle filter algorithm, etc., which is selected by a person skilled in the art according to needs and is not limited here.

[0083] The technical solution of this embodiment is to integrate the UWB data of the UWB vehicle-mounted receiver and the motion data of the inertial navigation unit to position the autonomous driving vehicle, realize positioning initialization, and thus improve the accuracy of the autonomous driving vehicle positioning.

[0084] Embodiment 4

[0085] Figure 5 Schematic diagram of the structure of a downhole positioning device provided by the fourth embodiment of the present invention. Figure 5 As shown, the device is applied to an on-board terminal of an autonomous driving vehicle, and the autonomous driving vehicle includes a laser radar; the device includes:

[0086] An initial posture determination module 410 is used to initialize the posture of the autonomous driving vehicle to obtain an initial posture of the autonomous driving vehicle;

[0087] A local map determination module 420, configured to obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes as the posture of the autonomous driving vehicle changes;

[0088] A current posture determination module 430 is used to obtain current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data to obtain a transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix;

[0089] The point cloud matching quality detection module 440 is used to determine the point cloud matching fitness score based on the current point cloud data after the transformation matrix transformation and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, the posture of the autonomous driving vehicle is positioned and initialized to update the current posture.

[0090] The technical solution of this embodiment is to obtain the initial posture of the autonomous driving vehicle by positioning and initializing the posture of the autonomous driving vehicle; obtain the three-dimensional point cloud map of the lane, and determine the local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the change of the posture of the autonomous driving vehicle; obtain the current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data, obtain the transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; realize the positioning of the autonomous driving vehicle. Further, the point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, it indicates that the positioning is lost, and the posture of the autonomous driving vehicle is initialized to update the current posture, realize positioning correction, solve the positioning failure problem caused by feature degradation, and improve the accuracy of the positioning of the autonomous driving vehicle.

[0091] Based on the above embodiment, optionally, the device also includes a turning curvature detection module for detecting the turning curvature of the autonomous driving vehicle. If the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, the position and posture of the autonomous driving vehicle are initialized to obtain the current position and posture of the autonomous driving vehicle.

[0092] On the basis of the above embodiment, optionally, the autonomous driving vehicle further includes an on-board UWB receiver and two inertial measurement units; a plurality of positioning base stations are arranged in the lane where the autonomous driving vehicle travels; the system further includes a positioning initialization module for acquiring UWB data obtained by the on-board UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; and determining the initial posture or current posture of the autonomous driving vehicle based on the UWB data and the motion data. It is understandable that the initial posture determination module 410, the point cloud matching quality detection module 440 and the curvature detection module realize positioning initialization by calling the positioning initialization module.

[0093] Based on the above embodiment, optionally, the positioning initialization module is specifically used to perform position calculation on the UWB data to obtain UWB positioning data; perform integration processing on the motion data to obtain odometer data; perform data fusion on the UWB positioning data and the odometer data to obtain the initial posture or current posture of the autonomous driving vehicle.

[0094] Based on the above embodiment, optionally, the laser radar is arranged on the top of the front of the autonomous driving vehicle, and the two inertial measurement units are respectively arranged below the laser radar and at the center of the rear axle of the autonomous driving vehicle.

[0095] Based on the above embodiment, optionally, the local map determination module 420 is used to determine the local map in the three-dimensional point cloud map of the lane based on the initial posture and a preset local map range threshold.

[0096] Based on the above embodiment, optionally, the point cloud matching quality detection module 440 includes a matching fitness score determination unit, which is used to transform the current point cloud data based on the transformation matrix to obtain source point cloud data; for each point cloud data in the source point cloud data, determine the target point cloud data corresponding to the point cloud data in the local map; and determine the matching fitness score based on the source point cloud data and the target point cloud data.

[0097] The downhole positioning device provided in the embodiment of the present invention can execute the downhole positioning method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0098] Embodiment 5

[0099] Figure 61 is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0100] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0101] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0102] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a downhole positioning method.

[0103] In some embodiments, the downhole positioning method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the downhole positioning method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the downhole positioning method in any other appropriate manner (e.g., by means of firmware).

[0104] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] The computer program for implementing the downhole positioning method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0106] Embodiment 6

[0107] Embodiment 6 of the present invention further provides a computer-readable storage medium, the computer-readable storage medium storing computer instructions, the computer instructions being used to cause a processor to execute a downhole positioning method, the method being applied to an on-board terminal of an autonomous driving vehicle, the autonomous driving vehicle including a laser radar; including:

[0108] Initialize the position and posture of the autonomous driving vehicle to obtain the initial position and posture of the autonomous driving vehicle;

[0109] Obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial position and the three-dimensional point cloud map of the lane; the local map changes as the position of the autonomous driving vehicle changes;

[0110] Acquire the current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and the point cloud data of the local map corresponding to the current point cloud data, obtain the transformation matrix, and determine the current position and posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix;

[0111] The point cloud matching fitness score is determined based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than the point cloud matching fitness score threshold, the position and posture of the autonomous driving vehicle are positioned and initialized to update the current position and posture.

[0112] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0113] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0114] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0115] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0117] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A downhole positioning method, characterized in that: A vehicle-mounted terminal applied to an autonomous driving vehicle, wherein the autonomous driving vehicle includes a laser radar; the method includes: Initializing the position and posture of the autonomous driving vehicle to obtain an initial position and posture of the autonomous driving vehicle; Acquire a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the posture of the autonomous driving vehicle; Acquire current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data to obtain a transformation matrix, and determine a current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; Determine a point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, perform positioning initialization on the posture of the autonomous driving vehicle to update the current posture; Wherein, the method further comprises: The turning curvature of the autonomous driving vehicle is detected, and if the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, the position and posture of the autonomous driving vehicle is initialized to obtain the current position and posture of the autonomous driving vehicle.

2. The method according to claim 1, characterized in that The autonomous driving vehicle further includes an on-board UWB receiver and two inertial measurement units; a plurality of positioning base stations are arranged in the lane where the autonomous driving vehicle travels; The initializing the positioning of the autonomous driving vehicle includes: Acquire UWB data obtained by the vehicle-mounted UWB receiver through interaction with the positioning base station and motion data collected by the inertial measurement unit; An initial position or a current position of the autonomous driving vehicle is determined based on the UWB data and the motion data.

3. The method according to claim 2, characterized in that The determining the initial position or current position of the autonomous driving vehicle based on the UWB data and the motion data includes: Performing position calculation on the UWB data to obtain UWB positioning data; Integrate the motion data to obtain odometer data; The UWB positioning data and the odometer data are fused to obtain an initial position or current position of the autonomous driving vehicle.

4. The method according to claim 2, characterized in that: The laser radar is arranged on the top of the front of the autonomous driving vehicle, and the two inertial measurement units are respectively arranged below the laser radar and at the center of the rear axle of the autonomous driving vehicle.

5. The method according to claim 1, characterized in that The determining of the local map based on the initial posture and the three-dimensional point cloud map of the lane comprises: Based on the initial position and a preset local map range threshold, the local map is determined in the three-dimensional point cloud map of the lane.

6. The method according to claim 1, characterized in that The step of determining the point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data includes: Transform the current point cloud data based on the transformation matrix to obtain source point cloud data; For each point cloud data in the source point cloud data, determining target point cloud data corresponding to the point cloud data in the local map; A matching fitness score is determined based on the source point cloud data and the target point cloud data.

7. A downhole positioning device, characterized in that: A vehicle-mounted terminal applied to an autonomous driving vehicle, wherein the autonomous driving vehicle includes a laser radar; the device includes: An initial posture determination module, used to initialize the posture of the autonomous driving vehicle to obtain an initial posture of the autonomous driving vehicle; A local map determination module, used to obtain a three-dimensional point cloud map of the lane, and determine a local map based on the initial posture and the three-dimensional point cloud map of the lane; the local map changes with the posture of the autonomous driving vehicle; A current posture determination module is used to obtain current point cloud data collected by the laser radar in real time, perform point cloud matching based on the current point cloud data and point cloud data of a local map corresponding to the current point cloud data, obtain a transformation matrix, and determine the current posture of the autonomous driving vehicle based on the current point cloud data and the transformation matrix; A point cloud matching quality detection module, used to determine a point cloud matching fitness score based on the current point cloud data transformed by the transformation matrix and the point cloud data of the local map corresponding to the current point cloud data; if the point cloud matching fitness score is greater than a point cloud matching fitness score threshold, the position and posture of the autonomous driving vehicle are initialized to update the current position and posture; Among them, the device also includes a turning curvature detection module for detecting the turning curvature of the autonomous driving vehicle. If the turning curvature of the autonomous driving vehicle is greater than a preset turning curvature threshold, the position and posture of the autonomous driving vehicle are positioned and initialized to obtain the current position and posture of the autonomous driving vehicle.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the downhole positioning method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the downhole positioning method according to any one of claims 1 to 6 when executed.