A posture optimization method and system integrating edge features of reflectivity projection images

By integrating the pose optimization method of the edge features of the reflectance projection image, and combining the plane geometric features and edge texture features, the problem of odometry drift in the geometric feature degradation scene is solved, and the positioning accuracy and robustness of the lidar SLAM system are improved.

CN118351177BActive Publication Date: 2024-10-01SHENZHEN UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410784510.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-01
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

In existing technology scenarios where geometric features are degraded, lidar SLAM systems are prone to odometry drift and cannot effectively extract environmental features, resulting in a decrease in positioning accuracy.

Method used

The pose optimization method is adopted to fuse the edge features of the reflectance projection image. By obtaining lidar and IMU data, preprocessing and feature extraction are performed, and the radar observation equation of the iterative error state Kalman filter is constructed, combined with the plane geometric features and edge texture features. Posture optimization.

Benefits of technology

It improves the positioning accuracy and robustness in geometric feature degradation scenarios and enhances the application capabilities of odometry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351177B_ABST
    Figure CN118351177B_ABST
Patent Text Reader

Abstract

The present invention discloses a posture optimization method and system integrating edge features of reflectivity projection images, the method comprising: obtaining three-dimensional point cloud data collected by a laser radar and acceleration and angular velocity collected by an accelerometer and a gyroscope in an IMU, preprocessing the three-dimensional point cloud data, the acceleration and the angular velocity; extracting geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset; constructing radar observation equations using the plane geometric feature point subset and the edge texture feature subset, completing posture optimization based on an iterative error state Kalman filter, and outputting posture information and an environmental map according to the iterative optimization result. The present invention uses a reflectivity projection image to extract an edge texture feature subset, and incorporates an error state Kalman filter to optimize and solve the posture, thereby obtaining a higher positioning accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of laser radar positioning and mapping technology, and in particular to a posture optimization method, system, terminal and computer-readable storage medium for integrating reflectivity projection image edge features. Background Art

[0002] Laser SLAM (Simultaneous Localization And Mapping) is a technology that uses laser radar as the main sensing device to achieve autonomous positioning of the carrier and construction of the environmental map. The laser odometer is its important component. It combines the high-precision ranging and environmental perception capabilities of the laser radar. By instantly acquiring point cloud data of the surrounding environment, it can achieve carrier positioning and environmental map construction without a priori maps. At the same time, laser radar technology is not affected by light, weather or ambient light, and can better achieve autonomous positioning in GNSS denial (GNSS denial interference refers to the situation where GNSS (Global Navigation Satellite System) cannot provide positioning, navigation and timing services under interference or attack) and dim scenes, and build high-precision environmental maps to provide detailed spatial information for subsequent downstream work.

[0003] Point cloud registration is an important step in realizing the construction of laser odometer, that is, by utilizing the relationship between consecutive frames of point cloud, minimizing the difference between different point clouds, thus establishing and solving nonlinear optimization equations, and obtaining the relative posture transformation information of the carrier in a short time. The point cloud data collected by laser radar usually contains a large amount of point cloud three-dimensional information, which is complex and redundant. Not all points contribute positively to the laser SLAM system. The role of feature extraction is to identify environmental information and retain significant feature points in the map, while reducing the amount of data and computational complexity while maintaining a certain degree of accuracy, which can effectively improve the real-time performance of the SLAM system.

[0004] Existing feature extraction schemes are mostly based on the geometric feature information of point clouds, such as the coordinates, normal vectors, curvature, etc. of the points, to extract the corresponding subset of feature points. These features are intuitive, have low computational costs, and are suitable for fast processing. They are the most common data source for point cloud registration. For example, the classic LOAM (Lidar Odometry and Mapping in Real-time, LOAM is a SLAM system built based on laser radar) uses the spatial curvature information of points to extract a subset of plane points and a subset of edge points from point cloud data. It selects points with larger curvature values ​​as edge points and points with smaller curvature values ​​as plane points; LEGO-LOAM (Lightweight and Groud-Optimized Lidar Odometry and Mapping on Variable Terrain, which optimizes the ground to cope with variable terrain while ensuring lightweight) further considers the impact of the ground on the odometer performance of the unmanned vehicle, and extracts ground feature points through a point cloud segmentation solution to participate in the point cloud registration; Suma SLAM (Suma achieves accurate loop detection, effectively reduces mismatching, and optimizes the back-end processing of the pose graph) extracts Surfel (surface element) features from the environment and uses the surface element features to realize the front-end pose estimation. In addition, some solutions consider extracting features such as pillars, beams, roofs and vertices from point cloud data. These solutions mostly extract geometric features for use in the construction process of the odometer. They can perform well in environments with sufficient geometric features. However, when faced with scenes with degraded geometric features such as tunnels (that is, the geometric features in the environment are single or missing, which are not enough to constrain the six degrees of freedom of the carrier), odometer drift will occur. A new solution is needed that can extract effective environmental features in scenes with degraded geometric features.

[0005] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0006] The main purpose of the present invention is to provide a posture optimization method, system, terminal and computer-readable storage medium that fuses the edge features of reflectivity projection images, aiming to solve the problem of odometer drift in the process of extracting geometric features for odometer construction in the prior art, in the face of scenes such as tunnels where the geometric features are degraded (that is, the geometric features in the environment are single or missing, which are not enough to constrain the six degrees of freedom of the carrier).

[0007] To achieve the above object, the present invention provides a posture optimization method for fusing edge features of a reflectivity projection image, and the posture optimization method for fusing edge features of a reflectivity projection image comprises the following steps:

[0008] Acquire the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and pre-process the three-dimensional point cloud data, the acceleration and the angular velocity;

[0009] Extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset;

[0010] The radar observation equation is constructed using the plane geometric feature point subset and the edge texture feature subset, posture optimization is completed based on iterative error state Kalman filtering, and posture information and an environment map are output according to the iterative optimization result.

[0011] Optionally, the pose optimization method for fusion reflectivity projection image edge features, wherein the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU are acquired, and the three-dimensional point cloud data, the acceleration and the angular velocity are preprocessed, specifically comprising:

[0012] Obtain the 3D point cloud data collected by the LiDAR and the acceleration collected by the accelerometer and gyroscope in the IMU With angular velocity ;

[0013] Acceleration With angular velocity The motion model is derived by analyzing the acceleration With angular velocity Pre-integrate to obtain the transformation of rotation and displacement between the two IMU frames:

[0014] ;

[0015] ;

[0016] ;

[0017] in, Indicates the current The rotation matrix from the local coordinate system to the world coordinate system at the moment, express The rotation matrix from the local coordinate system to the world coordinate system at the moment, represents the exponential map, express The angular velocity data collected at the time, is the gyro bias error, is the gyroscope noise error, Indicates the time interval, Indicates the current The velocity in the local coordinate system at the moment is determined by the acceleration at the previous moment. Points are obtained, Expressed as The velocity in the local coordinate system at the time, Indicates the current Acceleration data in the local coordinate system at the time, is the accelerometer bias error, is the accelerometer noise error, is the acceleration due to gravity, Indicates the current The location information at the moment, express Location information at the moment;

[0018] The pre-integrated value is used to remove motion distortion of the three-dimensional point cloud data, eliminate point cloud data errors caused by carrier movement during laser radar acquisition, and downsample the three-dimensional point cloud data.

[0019] Optionally, the pose optimization method for fusion reflectivity projection image edge features, wherein the extraction of geometric features and edge texture features of the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset, specifically includes:

[0020] In the preprocessed 3D point cloud data, points with curvature values ​​less than the threshold are selected as plane points to obtain a subset of plane geometric feature points. ;

[0021] The preprocessed three-dimensional point cloud data is projected onto a two-dimensional plane by spherical projection, and the reflectivity value of the point cloud is used as the pixel value to fill in, so as to obtain the reflectivity projection image of the current frame;

[0022] The reflectivity projection image is filtered to eliminate errors and highlight features, and an edge extraction algorithm based on the Canny detection operator is used to extract reflectivity edge features in the environment, and reprojected to three-dimensional point cloud data to obtain an edge texture feature subset. .

[0023] Optionally, the pose optimization method for fusion reflectivity projection image edge features, wherein the radar observation equation is constructed using the plane geometric feature point subset and the edge texture feature subset, and pose optimization is completed based on iterative error state Kalman filtering, specifically comprising:

[0024] In the acceleration With angular velocity After pre-integration, the motion equation of the iterative error state Kalman filter is constructed and the state truth value Subtract the pre-integrated estimate Get error status :

[0025] ;

[0026] Based on the point-to-plane ICP algorithm, the plane geometric feature residual equation and the edge texture feature residual equation are constructed to form the radar observation equation of the iterative error state Kalman filter. Among them, the point-to-plane ICP residual function is:

[0027] ;

[0028] in, Indicates The distance from the feature point to the fitting plane, is the transpose of the normal vector of the fitted plane, is a point on the fitting plane, The current feature point Remove radar ranging noise Then convert the radar coordinate system to the point in the world coordinate system:

[0029] ;

[0030] in, is the rotation matrix from the IMU coordinate system to the world coordinate system, is the rotation matrix from the LiDAR coordinate system to the IMU coordinate system, is the translation matrix from the LiDAR coordinate system to the IMU coordinate system, It is the translation matrix from the IMU coordinate system to the world coordinate system;

[0031] The residual value from the current point to the corresponding fitting plane is 0:

[0032] ;

[0033] in, Represents functionalization;

[0034] The state truth value With error status Expression, in the pre-integrated estimate Expanded nearby, the radar observation equation of iterative error state Kalman filter is:

[0035] ;

[0036] in, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of Indicates The error state after iterative update, Radar observation point The maximum a posteriori estimation function of the current frame is:

[0037] ;

[0038] in, A subset of the plane geometric feature points of the current frame The number of feature points, is the edge texture feature subset of the current frame The number of feature points, represents the covariance matrix of the error state, represents the measurement noise covariance matrix of the geometric feature observations, represents the measurement noise covariance matrix of edge texture feature observations, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of the characteristic points Belongs to the subset of plane geometric feature points , feature points Belongs to the edge texture feature subset .

[0039] Optionally, the pose optimization method for fusion reflectivity projection image edge features, wherein the outputting of pose information and environment map according to iterative optimization results specifically includes:

[0040] Continuously perform iterative optimization and solving, and when the continuously iteratively optimized posture information meets the requirements, the optimized posture information under the current radar frame is obtained;

[0041] After obtaining the optimized posture information, all point clouds of the current frame after dedistortion are converted to the world coordinate system according to the posture information, and the final environment map of the environment map is gradually updated.

[0042] Optionally, in the posture optimization method for fusion reflectivity projection image edge features, the motion model is derived to infer the posture information at the next moment based on the data of the current frame.

[0043] Optionally, in the pose optimization method for fusion reflectivity projection image edge features, the pre-integration is based on the acceleration and angular velocity at the current moment, by The information of the next moment is derived by integrating within the time interval.

[0044] In addition, to achieve the above-mentioned purpose, the present invention also provides a posture optimization system for fusing edge features of reflectivity projection images, wherein the posture optimization system for fusing edge features of reflectivity projection images comprises:

[0045] A data acquisition and preprocessing module, used to obtain the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and preprocess the three-dimensional point cloud data, the acceleration and the angular velocity;

[0046] A feature subset extraction module is used to extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset;

[0047] The pose optimization and map updating module is used to construct radar observation equations using the plane geometric feature point subset and the edge texture feature subset, to complete pose optimization based on iterative error state Kalman filtering, and to output pose information and environment map according to the iterative optimization results.

[0048] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a posture optimization program for fusion of reflectivity projection image edge features stored in the memory and run on the processor, and when the posture optimization program for fusion of reflectivity projection image edge features is executed by the processor, the steps of the posture optimization method for fusion of reflectivity projection image edge features as described above are implemented.

[0049] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a posture optimization program for fusing the edge features of the reflectivity projection image, and when the posture optimization program for fusing the edge features of the reflectivity projection image is executed by a processor, the steps of the posture optimization method for fusing the edge features of the reflectivity projection image as described above are implemented.

[0050] In the present invention, the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU (Inertial Measurement Unit) are obtained, and the three-dimensional point cloud data, the acceleration and the angular velocity are preprocessed; the geometric features and edge texture features of the preprocessed three-dimensional point cloud data are extracted to obtain a plane geometric feature point subset and an edge texture feature subset; the plane geometric feature point subset and the edge texture feature subset are used to construct the radar observation equation, and the posture optimization is completed based on the iterative error state Kalman filter, and the posture information and environmental map are output according to the iterative optimization result. The present invention uses the reflectivity projection image to extract the edge texture feature subset, and integrates the error state Kalman filter to optimize the posture to obtain a higher positioning accuracy, and the coupling of texture features further improves the robustness of the odometer applied to the geometric feature degradation scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a flow chart of a preferred embodiment of the method for optimizing the position of the reflectivity projection image edge features according to the present invention;

[0052] Figure 2 It is a schematic diagram of the process of outputting posture information and an environment map in a preferred embodiment of the posture optimization method for fusing the edge features of the reflectivity projection image of the present invention;

[0053] Figure 3 It is a flow chart of a laser-inertial odometer method for fusing edge features of a reflectivity projection image in a preferred embodiment of a posture optimization method for fusing edge features of a reflectivity projection image of the present invention;

[0054] Figure 4 Schematic diagram of a reflectivity projection image in a preferred embodiment of a posture optimization method for fusing edge features of a reflectivity projection image of the present invention;

[0055] Figure 5 It is a schematic diagram of a subset of edge texture feature points in a preferred embodiment of the method for optimizing the position of the edge features of the reflectivity projection image fused with the present invention;

[0056] Figure 6 It is a schematic diagram of an edge texture feature point map in a preferred embodiment of the posture optimization method for fusing edge features of a reflectivity projection image of the present invention;

[0057] Figure 7 It is a schematic diagram of an environment point cloud map in a preferred embodiment of the posture optimization method for fusing edge features of a reflectivity projection image of the present invention;

[0058] Figure 8It is a structural diagram of a preferred embodiment of the posture optimization system for fusing the edge features of the reflectivity projection image of the present invention;

[0059] Fig. 9 It is a structural diagram of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0061] Different from the existing schemes that mostly consider geometric feature constraints to construct odometers, the present invention intends to combine the reflectivity information of lidar point cloud data. The lidar point cloud reflectivity information is related to the incident angle, object surface material, color, etc., and has a certain texture distinction. The present invention converts the three-dimensional point cloud data into two-dimensional plane data through spherical projection, and uses the point cloud reflectivity value as its pixel value; then the Canny edge detector is used to extract the positions where the pixel values ​​change significantly in the reflectivity projection image. These positions are usually the outlines of the objects, and they are reprojected to the three-dimensional point cloud data to obtain an edge texture feature subset. On the basis of the geometric feature point constraints, the edge texture feature point constraints are further added, that is, on the basis of using only the lidar sensor, the reflectivity projection image is used to add visual-like texture feature constraints to improve the autonomous positioning accuracy and robustness of the odometer in geometric feature degraded scenarios.

[0062] The pose optimization method for fusing the edge features of the reflectivity projection image described in the preferred embodiment of the present invention is as follows: Figure 1 and Figure 2 As shown, the pose optimization method for fusing the edge features of the reflectivity projection image comprises the following steps:

[0063] Step S10, obtaining the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and pre-processing the three-dimensional point cloud data, the acceleration and the angular velocity.

[0064] Specifically, Figure 3 As shown, first obtain the three-dimensional point cloud data collected by the laser radar and the acceleration collected by the accelerometer and gyroscope in the IMU With angular velocity ; Then the acceleration With angular velocity Motion model derivation is to infer the pose information of the next moment (the rotation matrix R and position information p from the current coordinate system to the world coordinate system) based on the data of the current frame. With angular velocity Pre-integration (the pre-integration process is to use the current acceleration and angular velocity information to The information of the next moment is derived by integrating within the time interval. Since the acquisition frequency of IMU is relatively high, this integration process can be regarded as a linear relationship) to obtain the transformation of rotation and displacement between two IMU frames:

[0065] ;

[0066] ;

[0067] ;

[0068] in, Indicates the current The rotation matrix from the local coordinate system to the world coordinate system at the moment, express The rotation matrix from the local coordinate system to the world coordinate system at the moment, represents the exponential map, express The angular velocity data collected at the time, is the gyroscope bias error, is the gyroscope noise error, Indicates the time interval, Indicates the current The velocity in the local coordinate system at the moment is calculated from the acceleration at the previous moment. Points are obtained, Expressed as The velocity in the local coordinate system at the time, Indicates the current Acceleration data in the local coordinate system at the time, is the accelerometer bias error, is the accelerometer noise error, is the acceleration due to gravity, Indicates the current The location information at the moment, express The location information at the moment.

[0069] The frequency of IMU is higher than that of radar. Therefore, there are multiple IMU time scales within the time of a radar frame. The transformation of rotation and displacement between two IMU frames has two functions: one is to remove the motion distortion of point cloud data. The motion distortion of point cloud is due to the fact that the point cloud is constantly moving during the acquisition process, such as the acquisition frequency is 10Hz. This causes the local coordinate system of the point at different times to be different. Therefore, the pose information at the moment of IMU can be used to perform certain motion compensation to reduce the motion distortion error to a certain extent. The second function is to derive a preliminary pose information at the moment of point cloud. The motion equation in the subsequent iterative error state Kalman filter is constructed based on this preliminary pose information. After optimization according to the observation equation, the final result is the pose information of the current radar frame.

[0070] Since the acquisition frequency of IMU is much higher than that of radar, the pre-integrated value is used to remove motion distortion of the three-dimensional point cloud data, that is, to eliminate the point cloud data error caused by the movement of the carrier during the laser radar acquisition process to a certain extent, and the three-dimensional point cloud data is down-sampled to reduce the amount of data.

[0071] Step S20: extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset.

[0072] Specifically, the geometric features and edge texture features of the preprocessed 3D point cloud data are then extracted, such as Figure 3 As shown in FIG. 1 , firstly, the method of extracting a plane point feature subset from point cloud data using the spatial curvature information of the point in LOAM is adopted, that is, points with a curvature value less than a threshold value (it is generally believed that the closer the curvature is to 0, the more it can be regarded as a plane point) are selected as plane points in the preprocessed 3D point cloud data to obtain a plane geometric feature point subset. ; Then, the preprocessed three-dimensional point cloud data is projected onto a two-dimensional plane by spherical projection, and the reflectivity values ​​of the point cloud are used as pixel values ​​to fill in to obtain the reflectivity projection image of the current frame.

[0073] For a three-dimensional rotating lidar, the resolution of the reflectivity projection image depends on the horizontal acquisition frequency of the radar beam and the laser transmitter. Taking the 1024×10 acquisition mode of the 128-line Ouster radar as an example, there are a total of 128 laser beams, and each beam collects 1024 points within a frame of 10Hz, that is, the horizontal acquisition frequency is 1024. Each point in the point cloud can be filled into the reflectivity projection image based on its beam and horizontal angle to generate a dense, hole-free reflectivity projection image. The reflectivity projection image is filtered to eliminate certain errors and highlight features, such as Figure 4 shown.

[0074] Then, an edge extraction algorithm based on the Canny detection operator is used to extract the reflectivity edge features in the environment and reproject them to the three-dimensional point cloud data to obtain the edge texture feature subset. ,like Figure 5 As shown, the Canny edge detector is used to extract the locations where the pixel values ​​change significantly in the reflectivity projection image. These locations are usually the contours of the object, and they are reprojected to the three-dimensional point cloud data to obtain the edge texture feature subset. Specifically, the three-dimensional point cloud is projected onto the two-dimensional reflectivity image to obtain a grayscale image. Based on the contour extracted by edge detection, a binary image is obtained again, that is, the pixel value of the contour point is 1, and the rest are 0. A series of two-dimensional coordinate data of edge contour points can be obtained. The "locations where the pixel values ​​in the reflectivity projection image change significantly" are these contour points (that is, areas where the pixel values ​​change significantly). Because the three-dimensional coordinates of the points correspond one-to-one to the two-dimensional coordinates of the image, these two-dimensional contour points can be back-projected to the three-dimensional point cloud data.

[0075] Step S30: construct radar observation equations using the plane geometric feature point subset and the edge texture feature subset, perform posture optimization based on iterative error state Kalman filtering, and output posture information and an environment map according to the iterative optimization result.

[0076] Specifically, Figure 3 As shown, in the acceleration With angular velocity After pre-integration, the motion equation of the iterative error state Kalman filter (IESKF) is constructed, that is, the state truth value Subtract the pre-integrated estimate Get error status :

[0077] ;

[0078] Based on the point-to-plane ICP (Point Cloud Registration) algorithm, the plane geometric feature residual equation and the edge texture feature residual equation are constructed to form the radar observation equation of the iterative error state Kalman filter. The point-to-plane ICP residual function is:

[0079] ;

[0080] in, Indicates The distance from the feature point to the fitting plane, is the transpose of the normal vector of the fitted plane, is a point on the fitting plane, The current feature point Remove radar ranging noise Then convert the radar coordinate system to the point in the world coordinate system:

[0081] ;

[0082] in, is the rotation matrix from the IMU coordinate system to the world coordinate system, is the rotation matrix from the LiDAR (Light Detection and Ranging) coordinate system to the IMU coordinate system, is the translation matrix from the LiDAR coordinate system to the IMU coordinate system, It is the translation matrix from the IMU coordinate system to the world coordinate system;

[0083] Theoretically, the residual value from the current point to the corresponding fitting plane is 0, that is:

[0084] ;

[0085] in, represents functionalization (i.e., the residual value obtained after functionalization);

[0086] The state truth value With error status Expression, in the pre-integrated estimate Expanded nearby, the radar observation equation of iterative error state Kalman filter is:

[0087] ;

[0088] in, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of Indicates The error state after iterative update, Radar observation point The maximum a posteriori estimation function of the current frame is:

[0089] ;

[0090] in, A subset of the plane geometric feature points of the current frame The number of feature points, is the edge texture feature subset of the current frame The number of feature points, represents the covariance matrix of the error state, represents the measurement noise covariance matrix of the geometric feature observations, represents the measurement noise covariance matrix of edge texture feature observations, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of Representing feature points Corresponding radar ranging noise, feature points Belongs to the subset of plane geometric feature points , feature points Belongs to the edge texture feature subset .

[0091] That is, edge texture feature constraints are added in the maximum a posteriori estimation process to achieve more accurate and robust positioning of the laser odometer in an environment with degraded geometric features.

[0092] Next, the iterative optimization solution is continuously performed. When the iteratively optimized pose information meets the requirements (i.e., converges or meets the threshold, the iterative error state Kalman filter optimization process is a process of solving nonlinear optimization, that is, when the iteratively optimized pose information meets the requirements, the optimization is stopped and the final pose information is output), the optimized pose information under the current radar frame is obtained (i.e., the pose information after iterative error state Kalman filter optimization at the current moment) and output; for the point cloud of the first frame, a feature map is constructed based on the ikd-tree data structure (a commonly used multidimensional data structure, which can be used for range search, nearest neighbor search and other problems), which are plane geometry feature point map and edge texture feature point map (such as Figure 6 As shown in the figure, these two maps are for ICP registration service, that is, they provide the Plane fitted by the nearest points of the current feature point in the historical feature map in the process of Point-to-Plane ICP registration; for the subsequent point cloud, the point cloud at the current moment is converted to the world coordinate system and added to the feature map points stored in the ikd-tree for the registration process of the next frame of point cloud data.

[0093] Finally, after obtaining the optimized pose information, all point clouds of the current frame after dedistortion are converted to the world coordinate system according to the pose information, and the environment map is gradually updated to obtain the final environment map (such as Figure 7 as shown).

[0094] The present invention takes into account the reflectivity information of point cloud data, obtains a two-dimensional reflectivity projection image from the three-dimensional point cloud through a spherical projection scheme, extracts edge features based on the Canny edge detection scheme, back-projects to the three-dimensional point cloud, obtains an edge texture feature subset, and uses the Point-to-Plane ICP registration scheme to construct an edge texture feature residual equation, which is integrated into the error state Kalman filter to obtain higher positioning accuracy, and the coupling of texture features further improves the robustness of the odometer applied to geometric feature degradation scenarios. The process of extracting an edge texture feature subset using a reflectivity projection image and integrating the error state Kalman filter to optimize the posture is the key point of the invention.

[0095] Furthermore, if Figure 8 As shown, based on the above-mentioned posture optimization method for fusing the edge features of the reflectivity projection image, the present invention also provides a posture optimization system for fusing the edge features of the reflectivity projection image, wherein the posture optimization system for fusing the edge features of the reflectivity projection image includes:

[0096] The data acquisition and preprocessing module 51 is used to obtain the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and preprocess the three-dimensional point cloud data, the acceleration and the angular velocity;

[0097] A feature subset extraction module 52 is used to extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset;

[0098] The pose optimization and map updating module 53 is used to construct radar observation equations using the plane geometric feature point subset and the edge texture feature subset, to complete pose optimization based on iterative error state Kalman filtering, and to output pose information and environment map according to the iterative optimization results.

[0099] Furthermore, if Fig. 9 As shown, based on the above-mentioned posture optimization method and system for fusion reflectivity projection image edge features, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Fig. 9 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0100] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a posture optimization program 40 for fusing the edge features of a reflectivity projection image is stored on the memory 20, and the posture optimization program 40 for fusing the edge features of a reflectivity projection image can be executed by the processor 10, thereby realizing the posture optimization method for fusing the edge features of a reflectivity projection image in the present application.

[0101] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the pose optimization method of the edge features of the fused reflectivity projection image.

[0102] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0103] In one embodiment, when the processor 10 executes the pose optimization program 40 for fusing the edge features of the reflectivity projection image in the memory 20, the steps of the pose optimization method for fusing the edge features of the reflectivity projection image are implemented.

[0104] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a posture optimization program for fusing edge features of reflectivity projection images, and when the posture optimization program for fusing edge features of reflectivity projection images is executed by a processor, the steps of the posture optimization method for fusing edge features of reflectivity projection images as described above are implemented.

[0105] In summary, the present invention provides a posture optimization method, system, terminal and storage medium that integrates the edge features of reflectivity projection images. The method includes: obtaining three-dimensional point cloud data collected by a laser radar and the acceleration and angular velocity collected by an accelerometer and a gyroscope in an IMU, and preprocessing the three-dimensional point cloud data, the acceleration and the angular velocity; extracting geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset; using the plane geometric feature point subset and the edge texture feature subset to construct radar observation equations, completing posture optimization based on an iterative error state Kalman filter, and outputting posture information and an environmental map according to the iterative optimization results. The present invention uses a reflectivity projection image to extract an edge texture feature subset, and incorporates an error state Kalman filter to optimize and solve the posture, thereby obtaining a higher positioning accuracy, and the coupling of texture features further improves the robustness of the odometer applied to geometric feature degradation scenarios.

[0106] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or terminal including the element.

[0107] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0108] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A pose optimization method integrating edge features of reflectivity projection images, It is characterized in that The method for optimizing the position and posture of the edge features of the fused reflectivity projection image comprises: Acquire the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and pre-process the three-dimensional point cloud data, the acceleration and the angular velocity; Extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset; Using the plane geometric feature point subset and the edge texture feature subset to construct a radar observation equation, performing posture optimization based on iterative error state Kalman filtering, and outputting posture information and an environment map according to iterative optimization results; The step of obtaining the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and preprocessing the three-dimensional point cloud data, the acceleration and the angular velocity, specifically includes: Obtain the 3D point cloud data collected by the LiDAR and the acceleration collected by the accelerometer and gyroscope in the IMU With angular velocity ; Acceleration With angular velocity The motion model is derived by analyzing the acceleration With angular velocity Pre-integrate to obtain the transformation of rotation and displacement between the two IMU frames: ; ; ; in, Indicates the current The rotation matrix from the local coordinate system to the world coordinate system at the moment, express The rotation matrix from the local coordinate system to the world coordinate system at the moment, represents the exponential map, express The angular velocity data collected at the time, is the gyro bias error, is the gyroscope noise error, Indicates the time interval, Indicates the current The velocity in the local coordinate system at the moment is determined by the acceleration at the previous moment. Points are obtained, Expressed as The velocity in the local coordinate system at the time, Indicates the current Acceleration data in the local coordinate system at the time, is the accelerometer bias error, is the accelerometer noise error, is the acceleration due to gravity, Indicates the current The location information at the moment, express Location information at the moment; Using the pre-integrated value to remove motion distortion of the three-dimensional point cloud data, eliminating point cloud data errors caused by carrier motion during laser radar acquisition, and down-sampling the three-dimensional point cloud data to reduce the amount of data; The geometric features and edge texture features of the pre-processed three-dimensional point cloud data are extracted to obtain a plane geometric feature point subset and an edge texture feature subset, specifically including: In the preprocessed 3D point cloud data, points with curvature values ​​less than the threshold are selected as plane points to obtain a subset of plane geometric feature points. ; The preprocessed three-dimensional point cloud data is projected onto a two-dimensional plane by spherical projection, and the reflectivity value of the point cloud is used as the pixel value to fill in, so as to obtain the reflectivity projection image of the current frame; The reflectivity projection image is filtered to eliminate errors and highlight features, and an edge extraction algorithm based on the Canny detection operator is used to extract reflectivity edge features in the environment, and reprojected to three-dimensional point cloud data to obtain an edge texture feature subset. ; The radar observation equation is constructed by using the plane geometric feature point subset and the edge texture feature subset, and the pose optimization is completed based on iterative error state Kalman filtering, specifically including: In the acceleration With angular velocity After pre-integration, the motion equation of the iterative error state Kalman filter is constructed and the state truth value Subtract the pre-integrated estimate Get error status : ; Based on the point-to-plane ICP algorithm, the plane geometric feature residual equation and the edge texture feature residual equation are constructed to form the radar observation equation of the iterative error state Kalman filter. Among them, the point-to-plane ICP residual function is: ; in, Indicates The distance from the feature point to the fitting plane, is the transpose of the normal vector of the fitted plane, is a point on the fitting plane, The current feature point Remove radar ranging noise Then convert the radar coordinate system to the point in the world coordinate system: ; in, is the rotation matrix from the IMU coordinate system to the world coordinate system, is the rotation matrix from the LiDAR coordinate system to the IMU coordinate system, is the translation matrix from the LiDAR coordinate system to the IMU coordinate system, It is the translation matrix from the IMU coordinate system to the world coordinate system; The residual value from the current point to the corresponding fitting plane is 0: ; in, Represents functionalization; The state truth value With error status Expression, in the pre-integrated estimate Expanded nearby, the radar observation equation of iterative error state Kalman filter is: ; in, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of Indicates The error state after iterative update, Radar observation point The maximum a posteriori estimation function of the current frame is: ; in, A subset of the plane geometric feature points of the current frame The number of feature points, is the edge texture feature subset of the current frame The number of feature points, represents the covariance matrix of the error state, represents the measurement noise covariance matrix of the geometric feature observations, represents the measurement noise covariance matrix of edge texture feature observations, For the Feature point The residual value after iterative update, yes about The Jacobian matrix of the characteristic points Belongs to the subset of plane geometric feature points , feature points Belongs to the edge texture feature subset ; Iterate the optimization and solve continuously. When the pose information optimized by iterative optimization meets the requirements, the optimized pose information under the current radar frame is obtained and output. For the point cloud of the first frame, feature maps are constructed based on the data structure of ikd-tree, which are plane geometry feature point maps and edge texture feature point maps.

2. The method for optimizing the position of edge features of a fused reflectivity projection image according to claim 1, It is characterized in that Outputting the pose information and the environment map according to the iterative optimization result specifically includes: Continuously perform iterative optimization and solving, and when the continuously iteratively optimized posture information meets the requirements, the optimized posture information under the current radar frame is obtained; After obtaining the optimized posture information, all point clouds of the current frame after dedistortion are converted to the world coordinate system according to the posture information, and the final environment map of the environment map is gradually updated.

3. A posture optimization system for integrating edge features of reflectivity projection images, applied to the posture optimization method for integrating edge features of reflectivity projection images as described in any one of claims 1 to 2, It is characterized in that The posture optimization system for fusing reflectivity projection image edge features includes: A data acquisition and preprocessing module, used to obtain the three-dimensional point cloud data collected by the laser radar and the acceleration and angular velocity collected by the accelerometer and gyroscope in the IMU, and preprocess the three-dimensional point cloud data, the acceleration and the angular velocity; A feature subset extraction module is used to extract geometric features and edge texture features from the preprocessed three-dimensional point cloud data to obtain a plane geometric feature point subset and an edge texture feature subset; The pose optimization and map updating module is used to construct radar observation equations using the plane geometric feature point subset and the edge texture feature subset, to complete pose optimization based on iterative error state Kalman filtering, and to output pose information and environment map according to the iterative optimization results.

4. A terminal, It is characterized in that The terminal includes: a memory, a processor, and a posture optimization program for fusion of reflectivity projection image edge features stored in the memory and executable on the processor. When the posture optimization program for fusion of reflectivity projection image edge features is executed by the processor, the steps of the posture optimization method for fusion of reflectivity projection image edge features as described in any one of claims 1-2 are implemented.

5. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a posture optimization program for fusing the edge features of the reflectivity projection image. When the posture optimization program for fusing the edge features of the reflectivity projection image is executed by the processor, the steps of the posture optimization method for fusing the edge features of the reflectivity projection image as described in any one of claims 1-2 are implemented.

Citation Information

Patent Citations

  • Robot instant localization and mapping method and system based on multiple information sources

    CN113432600A

  • Indoor environment three-dimensional reconstruction method and system based on reflectivity edge constraint

    CN115731353A

  • Multi-factor graph-based back-end optimization method for acquiring precise pose of robot

    CN116758153A

  • Kalman filtering method and system based on iterative error state

    CN117168444A

  • Method for generating texture information point cloud map based on panoramic camera and laser radar fusion

    CN117237789A