High-precision positioning method and mobile robot based on 2D laser radar

Through the filtering of laser point clouds and the construction of high-precision maps, high-precision positioning that does not rely on road signs is achieved, solving the problems of high cost and poor environmental adaptability in the existing technology, reducing application costs and improving positioning accuracy.

CN114200478BActive Publication Date: 2024-10-18YANGTZE RIVER DELTA HART ROBOT IND TECH RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111521864.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2024-10-18
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

Existing positioning methods based on 2D lidar rely on road signs, which increases material and labor costs. In addition, when some sites are not suitable for laying road signs, the positioning accuracy cannot meet the requirements of high-precision operations.

Method used

By filtering the laser point cloud, the optimal matching pose of the mobile robot is matched, and a high-precision point cloud map is constructed near it. The precise pose of the robot is calculated based on the high-precision map to achieve high-precision positioning that does not rely on road signs. .

Benefits of technology

It reduces application costs, reduces environmental requirements, achieves high-precision positioning without relying on road signs, and meets the high-precision operation needs of mobile robots in a variety of environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114200478B_ABST
    Figure CN114200478B_ABST
Patent Text Reader

Abstract

The invention discloses a high-precision positioning method based on 2D laser radar, which specifically includes the following steps: S1, filtering the laser point cloud to match the current optimal matching posture of the mobile robot; S2, continuously scanning near the optimal matching posture to build a high-precision point cloud map; S3, calculating the current precise posture of the mobile robot based on the high-precision map. High-precision positioning can be achieved without the cooperation of road signs, which reduces the application cost and has low environmental requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robot technology, and more specifically, the present invention relates to a high-precision positioning method and a mobile robot based on a 2D laser radar. Background Art

[0002] As mobile robots are increasingly used in the fields of service and warehousing logistics, their autonomous positioning and navigation technology is becoming increasingly important. The main technologies currently used are magnetic navigation, QR code navigation and laser navigation. Magnetic navigation is suitable for environments with relatively fixed working trajectories, and electromagnetic wires or magnetic strips need to be laid on the path. Although the trajectory of QR code navigation is relatively free, a large number of QR codes need to be posted on the path, and regular maintenance is required. Laser navigation has accurate positioning, flexible and changeable paths, does not require other positioning facilities, and can adapt to a variety of on-site environments. Therefore, it has become the mainstream positioning and navigation method for mobile robots.

[0003] The positioning method based on 2D LiDAR can be divided into the positioning method based on landmarks and the positioning method based on grid maps. The positioning method based on landmarks matches the detected landmarks with the landmark map, and then calculates the robot's position and posture in the map. This method has high positioning accuracy, but it requires the deployment of a large number of landmarks in the environment, which increases material and labor costs. In addition, some sites may not be suitable for the deployment of reflective columns, which limits the application of this method. The positioning method based on grid maps mainly uses point clouds to match or filter with environmental maps to calculate the robot's position and posture. This method has poor accuracy and cannot meet the requirements of high-precision operation of robots. In addition, some solutions combine the above two methods for positioning, but it still involves unfavorable factors such as material costs and site coordination. Summary of the invention

[0004] The present invention provides a high-precision positioning method based on a 2D laser radar, which can realize high-precision positioning of a mobile robot without relying on road signs.

[0005] The present invention is implemented as follows: a high-precision positioning method based on 2D laser radar, the method specifically comprising the following steps:

[0006] S1, filter the laser point cloud to match the current optimal matching posture of the mobile robot;

[0007] S2, continuously scan near the optimal matching pose to build a high-precision point cloud map;

[0008] S3. Calculate the current precise position of the mobile robot based on a high-precision map.

[0009] Further, the method for obtaining the optimal matching pose is:

[0010] Open a window with a width of length and an angle of angle near the current position p0;

[0011] Search the entire window based on the displacement search step and the angle search step to form a series of candidate poses;

[0012] Based on the candidate poses, the point cloud is projected onto the grid map, and the total occupancy probability score of the point cloud under each pose is calculated to obtain the pose with the highest score p1(x1,y1,θ1)

[0013] The point cloud is projected onto the grid map according to the pose p1(x1, y1, θ1), and a least squares problem is constructed based on the occupancy probability to obtain the pose p2(x2, y2, θ2) with the highest occupancy probability, which is the optimal matching pose.

[0014] Furthermore, the high-precision point cloud map construction method is specifically as follows:

[0015] 31) The laser radar scans and calculates the optimal matching pose p2(x2, y2, θ2), and stores the optimal matching pose in the preset pose container list_poses;

[0016] 32) Arrange the filtered point cloud point_cloud into the angle container list_points according to the radar scanning angle;

[0017] 33) Detect whether the number of current scans reaches the number threshold, if the detection result is no, execute step 31), if the detection result is yes, execute step 34);

[0018] 34) Calculate the pose mean of all poses in the pose container list_poses And the standard deviation of posture (σ x ,σ y ,σ θ ), if the posture standard deviation (σ x ,σ y ,σ θ ) satisfies the agreed error range, then execute step 35);

[0019] 35) Calculate the distance measurement standard deviation σ of the point set at each scanning angle of list_points d , if the current scanning angle θ k The number of valid points in the point set is greater than the quantity threshold, and σ d <max_error_d, then calculate the scanning angle θ k The coordinates of the corresponding points:

[0020]

[0021]

[0022] And the calculated points Stored in the high-precision map map_points.

[0023] Furthermore, the method for obtaining the precise posture is as follows:

[0024] 41) Sequentially traverse the current point cloud point_cloud, extract the current point p(x, y), and project the point p(x, y) to the map coordinate system according to the optimal matching pose p2(x2, y2, θ2);

[0025] 42) Find the two points p'1 and p'2 closest to the projection point p' in the high-precision map map_points. If the distance between point p' and points p'1 and p'2 is greater than the distance threshold, return to step 41), traverse the next point, and if the distance between point p' and points p'1 and p'2 is less than the distance threshold, execute step 44);

[0026] 43) Calculate the distance g from point p to the line p1p2, construct a least squares problem based on the minimum distance, and obtain the current precise position of the mobile robot.

[0027] Furthermore, the calculation formula for the distance g from point p to the straight line p1p2 is as follows:

[0028]

[0029] in, is the vector formed by the endpoints p1 and p2 of the line, is the vector formed by point p and the endpoint p1 of the line.

[0030] The present invention is implemented as follows: a mobile robot is characterized in that a laser radar is provided on the mobile robot, the laser radar is connected to a positioning unit, the laser radar collects laser frames and sends them to the positioning unit, and the positioning unit performs positioning based on the above-mentioned high-precision positioning method based on 2D laser radar.

[0031] The positioning method provided by the present invention can achieve high-precision positioning without the cooperation of road signs, thereby reducing application costs and having low environmental requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flow chart of a high-precision positioning method based on 2D laser radar provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The specific implementation modes of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, so as to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention.

[0034] The present invention aims to solve the problem of how to obtain the high-precision position and posture of a mobile robot using a 2D laser radar without relying on road signs during the positioning and navigation process. The high-precision positioning method based on a 2D laser radar provided by the present invention is as follows: Figure 1 As shown, the method is as follows:

[0035] Step 1) Point cloud filtering: Use a statistical probability filter to remove outliers in the point cloud and obtain the current point cloud point_cloud used for calculation.

[0036] Step 2) Scan and match coarse positioning:

[0037] Given a grid map grid_map with a resolution of res and the current predicted pose p0(x0, y0, θ0), the steps of scan matching are as follows:

[0038] Open a window with a width of length and an angle of angle near the current position p0, set the displacement search step to 1 grid, and the angle search step to Δθ. The calculation formula of Δθ is as follows:

[0039]

[0040] Among them, range_max is the maximum detection range of the radar.

[0041] Search the entire window based on the displacement search step and the angle search step to form a series of candidate poses. Project the point cloud onto the grid map based on the candidate poses, calculate the total occupancy probability score of the point cloud under each pose, and get the pose with the highest score p1(x1, y1, θ1);

[0042] Projecting the point cloud into the grid map according to the pose p1(x1,y1,θ1), we can get the following objective function G(x):

[0043]

[0044]

[0045] Among them, pose is the point cloud pose, S is the function of projecting point cloud i onto the grid map, and M is the bicubic interpolation function to calculate the occupancy probability, which can be calculated using the Gauss-Newton method in step 5) to obtain the optimal matching pose p2(x2, y2, θ2).

[0046] 3) Build a high-precision point cloud map:

[0047] Before high-precision positioning is performed, a high-precision map needs to be built. To build a high-precision map, the robot needs to stop near the location where high-precision positioning is required, and the radar scans continuously for 50 times. The calculation steps are as follows:

[0048] 31) The laser radar performs scanning based on the optimal matching pose p2(x2, y2, θ2) calculated in step 2), and stores the pose in the preset pose container list_poses;

[0049] 32) Receive the point cloud processed in step 1) and arrange it into the angle container list_points according to the radar scanning angle;

[0050] It is known that the number of points scanned by the radar in a single scan is N, so the angle container list_points presets N dimensions. When the radar scans, each point corresponds to a fixed scanning angle. It is known that the angular resolution of the radar scan is res_θ, and the scanning angle of the current point is θ i , then store the current point in the first Dimension list_points k ;

[0051] 33) Check whether the number of current scans meets 50 times. If the test result is no, execute step 31); if the test result is yes, execute step 34);

[0052] 34) Calculate the pose mean of all poses in the pose container list_poses And the standard deviation of posture (σ x ,σ y ,σ θ );

[0053] Take the mean value and standard deviation of x as an example to illustrate. The calculation formula is as follows:

[0054]

[0055] Where n is the number of scans mentioned above, is the position coordinate x2 of the i-th pose in the pose container list_poses, and the standard deviation σ x The calculation formula is as follows:

[0056]

[0057] According to the above formula, list_poses is substituted into the calculation to obtain the pose standard deviation (σ x ,σ y ,σ θ ), if the posture standard deviation (σx ,σ y ,σ θ ) does not meet the agreed error range, the calculation is terminated. If the posture standard deviation (σ x ,σ y ,σ θ ) satisfies the agreed error range, then execute step 35);

[0058] 35) Calculate the distance measurement standard deviation σ of the point set at each scanning angle of list_points d , standard deviation σ d The calculation formula is as follows:

[0059]

[0060] Where n is the number of scans mentioned above, represents the scanning angle θ in the i-th scan k The distance value below is the scanning angle θ k The average distance under the current scanning angle θ k The number of valid points in the point set is greater than 40, and σ d <max_error_d, then calculate the coordinates of the point:

[0061]

[0062]

[0063] And the calculated points Stored in the high-precision map map_points.

[0064] Step 4) High-precision positioning:

[0065] After completing the construction of the high-precision map map_points in step 3), according to the current point cloud point_cloud obtained in step 1), the point cloud point_cloud is matched with the grid map based on step 2) to obtain the optimal matching pose p2(x2, y2, θ2), and then the precise pose of the robot in the current state is calculated. The calculation method is as follows:

[0066] 41) Sequentially traverse the current point cloud point_cloud, knowing the current point p(x,y);

[0067] 42) Project the point p(x,y) to the map coordinate system according to the pose p3(x3,y3,θ3). The projection function f(x) is as follows:

[0068] f(x)=Rx+T

[0069]

[0070]

[0071] Where R is the rotation matrix and T is the translation vector;

[0072] 43) Given the projected point p′, find the two points p′1 and p′2 closest to p′ in map_points. If the distance between point p′ and either p′1 or p′2 is greater than 1 meter, return to step 41) and traverse the next point. If the distance between point p′ and both p′1 and p′2 is less than 1 meter, execute step 44);

[0073] 44) Calculate the distance g from point p to the straight line p1p2. The calculation formula is as follows:

[0074]

[0075] in, is the vector formed by the endpoints p1 and p2 of the line, As the vector composed of point p and the endpoint p1 of the line, the objective function G′(x,y,θ) can be constructed:

[0076]

[0077]

[0078] 45) After completing the traversal of all points, use step 5) to solve and calculate the pose increment Δx. Add the current pose x to the pose increment Δx to get the optimized pose. If the iteration is full 30 times, stop the iteration and get the precisely positioned pose. Otherwise, return to step 41) to continue the iterative calculation.

[0079] Step 5) Nonlinear least squares solution:

[0080] 51) For the nonlinear least squares problem that needs to be solved:

[0081]

[0082] Perform Taylor expansion on F(x) and take the first-order linear term approximation into the above formula:

[0083]

[0084] Where J(x) is the Jacobian matrix of F(x);

[0085] 52) Take the derivative of the above equation and set the reciprocal to 0:

[0086] J(x) T J(x)Δx=-J(x) TF(x)

[0087] Let A = J(x) T J(x),B=-J(x) T F(x), then the above formula can be simplified to AΔx=B. Solving this linear equation system, we can obtain the posture increment Δx;

[0088] 53) Add the current posture x to the current posture increment Δx to obtain the optimized posture, and determine whether the components of Δx meet the constraints. If so, end the iteration and obtain the final optimized posture. If not, bring the optimized posture into step 51) to continue iterating and solving.

[0089] The present invention also provides a mobile robot, which is provided with a laser radar, the laser radar is connected to a positioning unit, the laser radar collects laser frames and sends them to the positioning unit, and the positioning unit performs positioning based on the above-mentioned high-precision positioning method based on 2D laser radar.

[0090] The present invention is described above by way of example in conjunction with the accompanying drawings. It is obvious that the specific implementation of the present invention is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, or the concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.

Claims

1. A high-precision positioning method based on 2D laser radar, characterized in that: The method specifically comprises the following steps: S1, filter the laser point cloud to match the current optimal matching posture of the mobile robot; S2, continuously scan near the optimal matching pose to build a high-precision point cloud map; S3, calculate the current precise position of the mobile robot based on a high-precision map; How to obtain the optimal matching pose: Open a window with a width of length and an angle of angle near the current position p0; Search the entire window based on the displacement search step and the angle search step to form a series of candidate poses; Based on the candidate poses, the point cloud is projected onto the grid map, and the total occupancy probability score of the point cloud under each pose is calculated to obtain the pose with the highest score p1(x1,y1,θ1) The point cloud is projected onto the grid map according to the pose p1(x1, y1, θ1), and a least squares problem is constructed based on the occupancy probability to obtain the pose p2(x2, y2, θ2) with the highest occupancy probability, which is the optimal matching pose. The high-precision point cloud map construction method is specifically as follows: 31) The laser radar scans, calculates the optimal matching pose p2(x2, y2, θ2), and stores the optimal matching pose in the preset pose container list_poses; 32) Arrange the filtered point cloud point_cloud into the angle container list_points according to the radar scanning angle; 33) Detect whether the number of current scans reaches the number threshold, if the detection result is no, execute step 31), if the detection result is yes, execute step 34); 34) Calculate the pose mean of all poses in the pose container list_poses And the standard deviation of posture (σ x ,σ y ,σ θ ), if the posture standard deviation (σ x ,σ y ,σ θ ) satisfies the agreed error range, then execute step 35); 35) Calculate the distance measurement standard deviation σ of the point set at each scanning angle of list_points d , if the current scanning angle θ k The number of valid points in the point set is greater than the quantity threshold, and σ d <max_error_d, then calculate the scanning angle θ k The coordinates of the corresponding points: And the calculated points Store in high-precision map map_points; The method for obtaining accurate posture is as follows: 41) Sequentially traverse the current point cloud point_cloud, extract the current point p(x, y), and project the point p(x, y) to the map coordinate system according to the optimal matching pose p2(x2, y2, θ2); 42) Find the two points p'1 and p'2 closest to the projection point p' in the high-precision map map_points. If the distance between point p' and p'1 and p'2 is greater than the distance threshold, return to step 41) and traverse the next point. If the distance between point p' and p'1 and p'2 is less than the distance threshold, execute step 44); 43) Calculate the distance g from point p to the line p1p2, construct a least squares problem based on the minimum distance, and obtain the current precise position of the mobile robot.

2. The high-precision positioning method based on 2D laser radar as claimed in claim 1, characterized in that: The calculation formula for the distance g from point p to the straight line p1p2 is as follows: in, is the vector formed by the endpoints p1 and p2 of the line, is the vector formed by point p and the endpoint p1 of the line.

3. A mobile robot, characterized in that: The mobile robot is provided with a laser radar, which is connected to a positioning unit. The laser radar collects laser frames and sends them to the positioning unit. The positioning unit performs positioning based on the high-precision positioning method based on 2D laser radar described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Hybrid navigation map construction method and system integrating bevel plates and occupied grids

    CN111142117A

  • 2D laser sequence point cloud registration method based on occupied grids

    CN112762937A