Laser odometer positioning optimization algorithm based on OSM building information

Through the laser odometry positioning optimization algorithm based on OSM building information, using interpolation and semantic segmentation technology, combined with the particle swarm transformation and KL divergence method, the problems of low accuracy and cumulative drift of traditional positioning methods in occlusion environments are solved, and the problem is achieved Efficient and accurate autonomous positioning, suitable for GPS-denied environments.

CN118730159AActive Publication Date: 2024-10-01HOHAI UNIV

Patent Information

Application Number
CN202411224595.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-01
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

The traditional positioning and mapping method through GNSS has large positioning errors in environments with many obstructions such as indoors, underground or high-rise areas. The laser SLAM method produces cumulative drift when driving over long distances, limiting the vehicle's trajectory.

Method used

The laser odometry positioning optimization algorithm based on OSM building information is used to create the OSM map feature descriptor through the interpolation method. The PointNet++ algorithm is used for semantic segmentation and converted into a rotation invariant feature descriptor. Combined with the particle swarm transformation and KL divergence method, Optimize the matching of laser point cloud and OSM map to eliminate accumulated errors.

Benefits of technology

While ensuring the consistency and global accuracy of positioning accuracy, it reduces costs and memory requirements, improves positioning efficiency and accuracy, is suitable for GPS-denied environments, and reduces dependence on point cloud maps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730159A_ABST
    Figure CN118730159A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of navigation self-positioning, and relates to a laser odometer positioning optimization algorithm based on OSM building information, and the method comprises the steps: employing OSM to interpolate road points, and generating OSM feature descriptors; generating a point cloud feature descriptor by using the frame point cloud; converting the OSM feature descriptors and the point cloud feature descriptors into rotation-invariant OSM feature descriptors and point cloud feature descriptors by using a binary conversion method; utilizing a two-section screening method to obtain a matching candidate set of interpolation road points; acquiring a robot pose motion equation by adopting a particle swarm, and determining a motion model; predicting the motion pose of the particle swarm by using the motion model, obtaining the edge points of the point cloud, constructing a similarity model by using the distance error, and constructing a particle weight model by using the similarity model; and resampling the particle swarm by adopting a probability distribution method, and outputting the mean pose of the stable particle swarm as a final pose to obtain a positioning trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of navigation self-positioning, and in particular relates to a laser odometer positioning optimization algorithm based on OSM building information. Background Art

[0002] With the development of self-driving cars, autonomous positioning technology, as one of the cutting-edge development technologies, has become a hot research direction, especially the autonomous positioning algorithm in the global positioning system denial environment is the focus of research. The traditional method of positioning and mapping through GNSS relies on receiving satellite signals. In environments with many obstructions such as indoors, underground or high-rise areas, the positioning and mapping errors increase, and the mapping effect is often unsatisfactory. The emergence of laser SLAM filtering navigation and positioning algorithm has solved this problem well. However, the laser radar odometer uses the laser radar point cloud information as input and uses inter-frame matching to achieve vehicle positioning. Long-distance driving will produce a lot of cumulative drift. Usually, the laser SLAM method is to eliminate the cumulative error by constructing a global map and using loop detection, but this will greatly limit the vehicle's running trajectory. The OSM map stores a large amount of necessary map information, and the OSM map information can provide coordinate information with consistent global accuracy. To address this problem, the inventor proposes a laser odometer positioning optimization algorithm based on OSM building information. Only the building information in the OSM map is used to constrain the laser radar odometer, which overcomes the shortcomings of traditional methods such as low accuracy and high requirements for applicable environments. It effectively solves the problem of accumulated errors of the laser radar odometer and can ensure that the global accuracy of positioning is consistent with that of the generated map. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a laser odometer positioning optimization algorithm based on OSM building information.

[0004] In order to achieve the purpose of the present invention, the present invention will be implemented by adopting the following technical solutions.

[0005] A laser odometer positioning optimization algorithm based on OSM building information includes the following steps: S1. Using the interpolation method, interpolate the road points of the OSM map, and create an OSM map feature descriptor according to the features of the OSM map; S2. Use the PointNet++ algorithm to perform semantic segmentation and extraction of building point clouds on the scanned frame point clouds, and create feature descriptors of laser point clouds based on the features of the building laser point clouds; The laser odometer positioning optimization algorithm also includes the following steps: S3, using a binary conversion method, converting the OSM map feature descriptor and the building laser point cloud feature descriptor into a rotation-invariant feature descriptor of the OSM map and a rotation-invariant feature descriptor of the building laser point cloud; S4, using a two-stage screening method, firstly perform a preliminary screening on the rotation invariant feature descriptors of the OSM map and the rotation invariant feature descriptors of the laser point cloud, and then perform a fine matching on the OSM map feature descriptors and the laser point cloud feature descriptors to obtain a matching candidate set of interpolated road points; S5. Use particle swarm transformation to generate Gaussian distribution to initialize particles that conform to Gaussian distribution, obtain the motion equation that conforms to the robot's posture through the odometer of the laser radar used, and determine the motion model; S6. Use the robot's motion model to predict the particle swarm's motion posture, identify the corner points in the scanned building point cloud by the smoothness of the points, calculate the distance error between the corner points and the OSM map interpolation road points by minimizing the Euclidean distance, build a similarity model between the laser point cloud and the OSM map, and use the similarity model to construct a particle weight model, and use the particle weight model to update and normalize the particles; S7. The probability distribution method based on KL divergence is used to resample the particle swarm, and the mean pose of the stable particle swarm is output as the optimized pose to obtain the optimized positioning trajectory.

[0006] As a preferred solution of the present invention, the implementation process of step S1 includes the following steps: S11, set the threshold value, n Interpolate road points at an interval of meters and generate a UTM coordinate system for each interpolated road point Generate an OSM map feature descriptor, representing the tuple of OSM map building edges as and the interpolated road points in the UTM coordinate system are expressed as ; S12, divide 360° into 360 equal parts at 1° intervals, and search from each angle Find the shortest distance to the edge of a building : , In the formula, Refers to the distance from the current position to the building edge t; , Corresponding to the minimum and maximum angles at the top of the building; the horizontal axis and the interpolated road point Constructing vertices with buildings Between the line segments, , represents the angle between the target angle direction and the building t; if the building t is not found in the target angle direction, then is considered as 0; when When , that is, when the target angle is between the two vertices of the building edge t, calculate ; and define the feature descriptor of the OSM map as .

[0007] As a preferred solution of the present invention, the implementation process of step S2 includes the following steps: S21. Use a laser beam parallel to the ground in the laser radar scanning line to scan the building, use the frame point cloud scanned by this single-line laser as the data source of the laser point cloud feature descriptor, and convert the frame point cloud format into a format that can be recognized by the PointNet++ algorithm; S22. Use the PointNet++ algorithm to perform semantic segmentation of buildings on each frame of point cloud scanned by the LiDAR and extract them separately; S23, according to the building frame point cloud extracted in step S22, based on the point features of the laser radar scanning data, by calculating the building point The shortest distance To create a frame point cloud feature descriptor ,in Indicates the point to the building distance.

[0008] As a preferred solution of the present invention, the implementation process of step S3 includes the following steps: S31, using the binary conversion method, by converting the distance value between the OSM map descriptor of each one-dimensional vector and the building frame point cloud feature descriptor Convert to binary format, that is, each column vector of the matrix is ​​a distance value in the feature descriptor The binary representation of the matrix is ;in, is an operator, which means rounding up; Indicates the maximum distance value between the OSM map feature descriptor and the building point cloud feature descriptor; , in, is the distance value The binary representation of S32, sum the two-dimensional features of all angles in each row to construct the rotation invariant feature descriptor of the OSM map Rotation-invariant feature descriptors for laser point clouds of buildings And the rotation-invariant descriptor set for OSM maps .

[0009] As a preferred solution of the present invention, the implementation process of step S4 includes the following steps: S41, set the threshold n, and convert the building point cloud feature descriptor to be found The corresponding rotation invariant descriptor A rotation-invariant descriptor set for OSM maps Compare, sort by absolute value and extract the top similarity Rotation-invariant descriptors for OSM maps ; , The difference between the point cloud feature vector and the OSM map feature vector is measured by L1 norm to achieve the sparsity of the feature vector and provide candidates for sorting; S42, using the N-gram model The corresponding front OSM map feature descriptors And the building point cloud feature descriptor that needs to be queried Compare to complete the reordering of descriptors; set a threshold to filter out matching candidate sets of interpolation road points that meet the conditions; , in Represents the feature descriptor for building point cloud With OSM map feature descriptors , the same distance value The frequency of occurrence in the N-gram model.

[0010] As a preferred solution of the present invention, the implementation process of step S5 includes the following steps: S51. Use Box-Muller transformation to generate Gaussian distribution to initialize N particles that conform to Gaussian distribution, each particle represents the initial position and posture of the robot, and the initial weight of each particle is equal; S52, obtain the motion equation through the robot odometer and IMU information and the frame matching algorithm in the SLAM algorithm ; Assume that the position of the car at time t (frame k) is , expressed by six degrees of freedom , respectively represent the position (x, y, z) coordinates and attitude (roll, pitch, yaw) in the OSM map coordinate system; According to the motion equation, the change of the car's posture from frame k-1 to frame k is expressed as: ; ; ; Represents the coordinate transformation from the k-1th frame laser radar coordinate system to the OSM map coordinate system; , In the formula, , , is the position coordinate of the kth frame in the OSM map coordinate system, , , is the position coordinate of the k-1th frame in the OSM map coordinate system, , , represents the position change of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. Similarly, , , is the pose of the kth frame in the OSM map coordinate system, , , is the pose of the k-1th frame in the OSM map coordinate system, , , represents the change in the position of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. To predict noise, a Gaussian distribution is required.

[0011] As a preferred solution of the present invention, the implementation process of step S6 includes the following steps: S61, setting a threshold, using the smoothness of the point to identify the edge points, i.e., the corner points, in the scanned building point cloud; calculating the plane smoothness according to the curvature of the point as an indicator for extracting the feature information of the building point cloud in the current frame; sorting the points in a scan according to the curvature value, selecting the point with the largest curvature as the edge feature point, and the curvature of the edge feature point needs to be greater than the threshold; points near the already selected feature points are no longer considered; , In the formula, c is the plane smoothness of the point, S is the The surrounding neighborhood point set, the size of the set represents the number of these neighborhood points; For point The size or norm of ; For point With each neighboring point in the set S The sum of the Euclidean distances between ; S62, calculating the distance error between the selected turning point and the OSM map node by minimizing the Euclidean distance; , In the formula, For point With point The Euclidean distance between them; in the present invention, the dimension is 2, so ; S63. Use the calculated distance error to build a similarity model between the point cloud and the OSM map ; , The larger the distance, the greater the error and the smaller the weight; Similarity model The meaning of is to match the building within the threshold range of the current point. The farther the actual building is from the point cloud, the less credible the current pose is. S64. Use similarity model to construct particle weight model : , Representative The weight of a particle, Represents the similarity model of scanning a frame of building point cloud Number, parameters ; S65, through the particle weight model Update the weights of N particles and normalize them: .

[0012] As a preferred solution of the present invention, the implementation process of step S7 includes the following steps: S71, using the probability distribution method based on KL divergence, the particles are distributed according to their weights. Resampling is performed to ensure that the particles generated by resampling move toward the positions of high-weight particles to obtain a new particle set. ; S72. Output the pose mean of the new particle set as the optimized pose, as the final positioning result: , In the formula, is the particle pose after resampling; For the weight model The weight value after normalization; is the average pose, that is, the final output pose.

[0013] Beneficial effects: (1) The present invention utilizes lightweight OpenStreetMap, and the system mainly stores information on building vertices and edges in the OSM map, so it only requires lower cost and memory while ensuring positioning accuracy.

[0014] (2) The present invention adopts a road point interpolation method. By matching the feature descriptors between the OSM map and the building point cloud scanned at the interpolation point, it can avoid the problems of low positioning efficiency and low positioning accuracy caused by the uncertainty of the initial pose during the global positioning process, and ensure that the system can rely on highly reliable environmental features for efficient and accurate positioning.

[0015] (3) The present invention uses a particle filter method with the help of a laser radar odometer and OSM map to eliminate the cumulative error generated by the laser radar, and has good positioning accuracy and real-time performance. This system can be used in GPS-denied environments, free from dependence on point cloud maps, and has broad market prospects and application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flowchart of the laser odometer positioning optimization algorithm of the present invention; Figure 2 Schematic diagram of search angles for OSM feature descriptors, where , is a tuple of building edges t in the vector map, is the interpolation point position in the UTM coordinate system, , They correspond to the two angles from the starting search position to the two ends of the building, and the search angles of the OSM feature descriptor; Figure 3 This is a schematic diagram of the distance from the OSM feature descriptor interpolation point to the building edge, where , , is a tuple of building edges t in the vector map, is the interpolation point position in the UTM coordinate system, Refers to the distance from the current interpolation point to the two ends of the building edge t, d is the distance from the interpolation point to the building t along the search angle direction; , They represent the angle between the search angle direction and the direction from the interpolation point to the two end points of the building edge; Figure 4 It is a schematic diagram of constructing a building point cloud feature descriptor in the present invention; Figure 5 It is a schematic diagram of the curvature calculation of the edge points of a building in the present invention. DETAILED DESCRIPTION

[0017] The technical solution of the present invention will be clearly and completely described below in combination with the embodiments of the present invention and the accompanying drawings. 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 are within the scope of protection of the present invention.

[0018] As an embodiment of the present invention, Figures 1 to 5 As shown in FIG. 1 , a laser odometer positioning optimization algorithm based on OSM building information includes the following steps: S1. Using the interpolation method, interpolate the road points of the OSM map, and create an OSM map feature descriptor according to the features of the OSM map; S2. Use the PointNet++ algorithm to perform semantic segmentation and extraction of building point clouds on the scanned frame point clouds, and create laser point cloud feature descriptors based on the features of the building laser point clouds; S3, using a binary conversion method, converting the OSM map feature descriptor and the building laser point cloud feature descriptor into a rotation-invariant feature descriptor of the OSM map and a rotation-invariant feature descriptor of the building laser point cloud; S4, using a two-stage screening method, firstly perform a preliminary screening on the rotation invariant feature descriptors of the OSM map and the rotation invariant feature descriptors of the laser point cloud, and then perform a fine matching on the OSM map feature descriptors and the laser point cloud feature descriptors to obtain a matching candidate set of interpolated road points; S5. Use particle swarm transformation to generate Gaussian distribution to initialize particles that conform to Gaussian distribution, obtain the motion equation that conforms to the robot's posture through the odometer of the laser radar used, and determine the motion model; S6. Use the robot's motion model to predict the particle swarm's motion posture, identify the corner points in the scanned building point cloud by the smoothness of the points, calculate the distance error between the corner points and the OSM map interpolation road points by minimizing the Euclidean distance, build a similarity model between the laser point cloud and the OSM map, and use the similarity model to construct a particle weight model, and use the particle weight model to update and normalize the particles; S7. The probability distribution method based on KL divergence is used to resample the particle swarm, and the mean pose of the stable particle swarm is output as the optimized pose to obtain the optimized positioning trajectory.

[0019] As an embodiment of the present invention, Figure 2 and Figure 3 As shown, the implementation process of step S1 includes the following steps: S11, set the threshold value, nInterpolate road points at an interval of meters and generate a UTM coordinate system for each interpolated road point Generate an OSM map feature descriptor, representing the tuple of OSM map building edges as and the interpolated road points in the UTM coordinate system are expressed as ; S12, divide 360° into 360 equal parts at 1° intervals, and search from each angle Find the shortest distance to the edge of a building : , In the formula, Refers to the distance from the current position to the building edge t; , Corresponding to the minimum and maximum angles at the top of the building; the horizontal axis and the interpolated road point Constructing vertices with buildings Between the line segments, , represents the angle between the target angle direction and the building t; if the building t is not found in the target angle direction, then is considered as 0; when When , that is, when the target angle is between the two vertices of the building edge t, calculate ; and define the feature descriptor of the OSM map as .

[0020] As an embodiment of the present invention, Figure 4 As shown, the implementation process of step S2 includes the following steps: S21. Use a laser beam parallel to the ground in the laser radar scanning line to scan the building, use the frame point cloud scanned by this single-line laser as the data source of the laser point cloud feature descriptor, and convert the frame point cloud format into a format that can be recognized by the PointNet++ algorithm; S22. Use the PointNet++ algorithm to perform semantic segmentation of buildings on the point clouds scanned by the laser radar and extract them separately. S23, according to the building frame point cloud extracted in step S22, based on the point features of the laser radar scanning data, by calculating the building point The shortest distance To create a frame point cloud feature descriptor ,in Indicates the point to the building distance.

[0021] As an embodiment of the present invention, the implementation process of step S3 includes the following steps: S31, using the binary conversion method, by converting the distance value between the OSM map descriptor of each one-dimensional vector and the building frame point cloud feature descriptor Convert to binary format, that is, each column vector of the matrix is ​​a distance value in the feature descriptor The binary representation of the matrix is ;in, is an operator, which means rounding up; Indicates the maximum distance value between the OSM map feature descriptor and the building point cloud feature descriptor; , in, is the distance value The binary representation of S32, sum the two-dimensional features of all angles in each row to construct the OSM map rotation invariant feature descriptor , OSM map rotation invariant descriptor set Rotation-invariant feature descriptors for building laser point clouds .

[0022] As an embodiment of the present invention, the implementation process of step S4 includes the following steps: S41, set the threshold n, and convert the building point cloud feature descriptor to be found The corresponding rotation invariant descriptor A rotation-invariant descriptor set for OSM maps Compare, sort by absolute value and extract the top similarity Rotation-invariant descriptors for OSM maps ; , The difference between the point cloud feature vector and the OSM map feature vector is measured by L1 norm to achieve the sparsity of the feature vector and provide candidates for sorting; S42, using the N-gram model The corresponding front OSM map feature descriptors The building point cloud feature descriptor to be queried Compare to complete the reordering of descriptors; set a threshold to filter out matching candidate sets of interpolation road points that meet the conditions; , in Represents the feature descriptor for building point cloud With OSM map feature descriptors , the same distance value The frequency of occurrence in the N-gram model.

[0023] As an embodiment of the present invention, the implementation process of step S5 includes the following steps: S51. Use Box-Muller transformation to generate Gaussian distribution to initialize N particles that conform to Gaussian distribution, each particle represents the initial position and posture of the robot, and the initial weight of each particle is equal; S52, obtain the motion equation through the robot odometer and IMU information and the frame matching algorithm in the SLAM algorithm ; Assume that the position of the car at time t (frame k) is , expressed by six degrees of freedom , respectively represent the position (x, y, z) coordinates and attitude (roll, pitch, yaw) in the OSM map coordinate system; According to the motion equation, the change of the car's posture from frame k-1 to frame k is expressed as: ; ; ; Represents the coordinate transformation from the k-1th frame laser radar coordinate system to the OSM map coordinate system; , In the formula, , , is the position coordinate of the kth frame in the OSM map coordinate system, , , is the position coordinate of the k-1th frame in the OSM map coordinate system, , , represents the position change of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. Similarly, , , is the pose of the kth frame in the OSM map coordinate system, , , is the pose of the k-1th frame in the OSM map coordinate system, , , represents the change in the position of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. To predict noise, a Gaussian distribution is required.

[0024] As an embodiment of the present invention, Figure 4 As shown, the implementation process of step S6 includes the following steps: S61, setting a threshold, using the smoothness of the point to identify the edge points, i.e., the corner points, in the scanned building point cloud; calculating the plane smoothness according to the curvature of the point as an indicator for extracting the feature information of the building point cloud in the current frame; sorting the points in a scan according to the curvature value, selecting the point with the largest curvature as the edge feature point, and the curvature of the edge feature point needs to be greater than the threshold; points near the already selected feature points are no longer considered; , In the formula, c is the plane smoothness of the point, S is the The surrounding neighborhood point set, the size of the set represents the number of these neighborhood points; For point the size (or norm) of ; For point With each neighboring point in the set S The sum of the Euclidean distances between ; S62, calculating the distance error between the selected turning point and the OSM map node by minimizing the Euclidean distance; , In the formula, For point With point The Euclidean distance between them; in the present invention, the dimension is 2, so ; S63. Use the calculated distance error to build a similarity model between the point cloud and the OSM map ; , The larger the distance, the greater the error and the smaller the weight. Similarity model The meaning of is to match the building within the threshold range of the current point. The farther the actual building is from the point cloud, the less credible the current pose is. S64. Use similarity model to construct particle weight model : , Representative The weight of a particle, Represents the similarity model of scanning a frame of building point cloud Number, parameters ; S65, through the particle weight model Update the weights of N particles and normalize them: .

[0025] As an embodiment of the present invention, the implementation process of step S7 includes the following steps: S71, using the probability distribution method based on KL divergence, the particles are distributed according to their weights. Resampling is performed to ensure that the particles generated by resampling move toward the positions of high-weight particles to obtain a new particle set. ; S72. Output the pose mean of the new particle set as the optimized pose, as the final positioning result: , In the formula, is the particle pose after resampling; For the weight model The weight value after normalization; is the average pose, that is, the final output pose.

[0026] The technical solution of the present invention is described in detail above in conjunction with the embodiments / drawings, but the present invention is not limited to the above technical solution. For ordinary technicians in this technical field, after knowing the contents recorded in the present invention, they can make several equivalent changes and substitutions without departing from the principle of the present invention. These equivalent changes and substitutions should also be regarded as belonging to the protection scope of the present invention.

Claims

1. A laser odometer positioning optimization algorithm based on OSM building information, comprising the following steps: S1. Using the interpolation method, interpolate the road points of the OSM map, and create an OSM map feature descriptor according to the features of the OSM map; S2. Use the PointNet++ algorithm to perform semantic segmentation and extraction of building point clouds on the scanned frame point clouds, and create laser point cloud feature descriptors based on the features of the building laser point clouds; It is characterized in that The laser odometer positioning optimization algorithm also includes the following steps: S3, using a binary conversion method, converting the OSM map feature descriptor and the building laser point cloud feature descriptor into a rotation-invariant feature descriptor of the OSM map and a rotation-invariant feature descriptor of the building laser point cloud; S4, using a two-stage screening method, firstly perform a preliminary screening on the rotation invariant feature descriptors of the OSM map and the rotation invariant feature descriptors of the laser point cloud, and then perform a fine matching on the OSM map feature descriptors and the laser point cloud feature descriptors to obtain a matching candidate set of interpolated road points; S5. Use particle swarm transformation to generate Gaussian distribution to initialize particles that conform to Gaussian distribution, obtain the motion equation that conforms to the robot's posture through the odometer of the laser radar used, and determine the motion model; S6. Use the robot's motion model to predict the particle swarm's motion posture, identify the corner points in the scanned building point cloud by the smoothness of the points, calculate the distance error between the corner points and the OSM map interpolation road points by minimizing the Euclidean distance, build a similarity model between the laser point cloud and the OSM map, and use the similarity model to construct a particle weight model, and use the particle weight model to update and normalize the particles; S7. The probability distribution method based on KL divergence is used to resample the particle swarm, and the mean pose of the stable particle swarm is output as the optimized pose to obtain the optimized positioning trajectory.

2. According to claim 1, a laser odometer positioning optimization algorithm based on OSM building information is characterized in that: The implementation process of step S1 includes the following steps: S11, set the threshold value, n Interpolate road points at an interval of meters and generate a UTM coordinate system for each interpolated road point Generate an OSM map feature descriptor, representing the tuple of OSM map building edges as and the interpolated road points in the UTM coordinate system are expressed as ; S12, divide 360° into 360 equal parts at 1° intervals, and search from each angle Find the shortest distance to the edge of a building : , In the formula, Refers to the distance from the current position to the building edge t; , Corresponding to the minimum and maximum angles at the top of the building; the horizontal axis and the interpolated road point Constructing vertices with buildings Between the line segments, , represents the angle between the target angle direction and the building t; if the building t is not found in the target angle direction, then is considered as 0; when When , that is, when the target angle is between the two vertices of the building edge t, calculate ; and define the feature descriptor of the OSM map as .

3. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S2 includes the following steps: S21. Use a laser beam parallel to the ground in the laser radar scanning line to scan the building, use the frame point cloud scanned by this single-line laser as the data source of the laser point cloud feature descriptor, and convert the frame point cloud format into a format that can be recognized by the PointNet++ algorithm; S22. Use the PointNet++ algorithm to perform semantic segmentation of buildings on each frame of point cloud scanned by the LiDAR and extract them separately; S23, according to the building frame point cloud extracted in step S22, based on the point features of the laser radar scanning data, by calculating the building point The shortest distance To create a frame point cloud feature descriptor ,in Indicates the point to the building distance.

4. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S3 includes the following steps: S31, using the binary conversion method, by converting the distance value between the OSM map descriptor of each one-dimensional vector and the building frame point cloud feature descriptor Convert to binary format, that is, each column vector of the matrix is ​​a distance value in the feature descriptor The binary representation of the matrix is ;in, is an operator, which means rounding up; Indicates the maximum distance value between the OSM map feature descriptor and the building point cloud feature descriptor; , in, is the distance value The binary representation of S32, sum the two-dimensional features of all angles in each row to construct the rotation invariant feature descriptor of the OSM map Rotation-invariant feature descriptors for laser point clouds of buildings And the rotation-invariant descriptor set for OSM maps .

5. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S4 includes the following steps: S41, set the threshold n, and convert the building point cloud feature descriptor to be found The corresponding rotation invariant descriptor A rotation-invariant descriptor set for OSM maps Compare, sort by absolute value and extract the top similarity Rotation-invariant descriptors for OSM maps ; , The difference between the point cloud feature vector and the OSM map feature vector is measured by L1 norm to achieve the sparsity of the feature vector and provide candidates for sorting; S42, using the N-gram model The corresponding front OSM map feature descriptors The building point cloud feature descriptor to be queried Comparison is performed to complete the reordering of the descriptors; Set a threshold to filter out matching candidate sets of interpolation road points that meet the conditions; , in Represents the feature descriptor for building point cloud With OSM map feature descriptors , the same distance value The frequency of occurrence in the N-gram model.

6. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S5 includes the following steps: S51. Use Box-Muller transformation to generate Gaussian distribution to initialize N particles that conform to Gaussian distribution, each particle represents the initial position and posture of the robot, and the initial weight of each particle is equal; S52, obtain the motion equation through the robot odometer and IMU information and the frame matching algorithm in the SLAM algorithm ; Assume that the k-th frame pose of the car at time t is , expressed by six degrees of freedom , respectively represent the position (x, y, z) coordinates and attitude (roll, pitch, yaw) in the OSM map coordinate system; According to the motion equation, the change of the car's posture from frame k-1 to frame k is expressed as: ; ; ; Represents the coordinate transformation from the k-1th frame laser radar coordinate system to the OSM map coordinate system; , In the formula, , , is the position coordinate of the kth frame in the OSM map coordinate system, , , is the position coordinate of the k-1th frame in the OSM map coordinate system, , , represents the position change of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. Similarly, , , is the pose of the kth frame in the OSM map coordinate system, , , is the pose of the k-1th frame in the OSM map coordinate system, , , represents the change in the position of the car between the kth frame and the k-1th frame in the k-1th frame laser radar coordinate system. To predict noise, a Gaussian distribution is required.

7. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S6 includes the following steps: S61, setting a threshold, using the smoothness of the point to identify the edge points, i.e., the corner points, in the scanned building point cloud; calculating the plane smoothness according to the curvature of the point as an indicator for extracting the feature information of the building point cloud in the current frame; sorting the points in a scan according to the curvature value, selecting the point with the largest curvature as the edge feature point, and the curvature of the edge feature point needs to be greater than the threshold; points near the already selected feature points are no longer considered; , In the formula, c is the plane smoothness of the point, S is the The surrounding neighborhood point set, the size of the set represents the number of these neighborhood points; For point The size or norm of ; For point With each neighboring point in the set S The sum of the Euclidean distances between them; S62, calculating the distance error between the selected turning point and the OSM map node by minimizing the Euclidean distance; , In the formula, For point With point The Euclidean distance between ; Indicates that the dimension is 2; S63. Use the calculated distance error to build a similarity model between the point cloud and the OSM map ; , The larger the distance, the greater the error and the smaller the weight; Similarity model The meaning of is to match the building within the threshold range of the current point. The farther the actual building is from the point cloud, the less credible the current pose is. S64. Use similarity model to construct particle weight model : , Representative The weight of a particle, Represents the similarity model of scanning a frame of building point cloud Number, parameters ; S65, through the particle weight model Update the weights of N particles and normalize them: 。 8. The laser odometer positioning optimization algorithm based on OSM building information according to claim 1 is characterized in that: The implementation process of step S7 includes the following steps: S71, using the probability distribution method based on KL divergence, the particles are distributed according to their weights. Resampling is performed to ensure that the particles generated by resampling move toward the positions of high-weight particles to obtain a new particle set. ; S72. Output the pose mean of the new particle set as the optimized pose, as the final positioning result: , In the formula, is the particle pose after resampling; For the weight model The weight value after normalization; is the average pose, that is, the final output pose.

Citation Information

Patent Citations

  • Laser slam method based on subgraph merging and pose optimization

    AU2020101833A4

  • Systems, methods and devices for geo-localization

    CN109154502A

  • Positioning method based on road matching, chip subsystem and electronic equipment

    CN111044056A

  • Laser radar odometer positioning optimization method based on OSM road network constraint

    CN115560780A

  • Road network map auxiliary vehicle positioning method based on pose map optimization

    CN116839602A

Cited By

  • Building data matching method in OpenStretMap based on rule constraint A-LSTM model

    CN121505295A

  • Building data matching method in openstreetmap based on rule-constrained a-lstm model

    CN121505295B