Outdoor robot relocalization method based on Go-ICP
By modifying the pruning lower bound and branching process of the Go-ICP algorithm, and adjusting the search area and search range, the problem of long search time of the existing Go-ICP algorithm in outdoor robot relocation is solved, and an efficient and fast relocation process is achieved. .
Patent Information
- Application Number
- CN202110672612.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-17
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-06-17
AI Technical Summary
When the existing Go-ICP algorithm repositions outdoor robots, the search range is too large, resulting in long time and low efficiency, making it difficult to achieve fast and efficient relocation.
By modifying the pruning lower bound of the Go-ICP algorithm and the minimum resolution in the branching process, the number of branches is reduced, the cubic search area is converted into a flat rectangular search area, the rotation and translation search ranges are adjusted, and the basic search range and drift are used Coefficient to determine the relocation search scope.
It significantly reduces the relocation search time of the Go-ICP algorithm and improves the efficiency, making the search time shorter and the search range reasonable and reliable.
Smart Images

Figure CN113268697B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of positioning, and in particular relates to a Go-ICP-based outdoor robot repositioning method. Background Art
[0002] Relocalization and 3D point cloud registration are key positioning technologies for outdoor mobile robots. The purpose of point cloud registration is to solve the transformation matrix of point clouds with different postures under the same coordinates, and use this matrix to achieve accurate registration of multi-view scanning point clouds, and finally obtain positioning information.
[0003] In essence, the 3D point cloud registration problem with six degrees of freedom (rotation and translation) is a typical non-convex optimization problem. Its objective function has multiple peaks and valleys in the six-dimensional feasible domain space, which makes the optimization solution process easily affected by the initial transformation matrix and easily fall into the local optimal solution. Outdoor mobile robot repositioning requires a globally optimized 3D point cloud registration algorithm; the Go-ICP algorithm is an excellent globally optimized 3D point cloud registration algorithm. Based on the norm registration model, the authors of the Go-ICP algorithm, Yang et al., first derived the upper and lower bound functions of the six-dimensional transformation domain, and proposed the globally optimized Go-ICP algorithm using the branch and bound algorithm. The algorithm effectively proves the global optimality of the solved transformation matrix.
[0004] The existing Go-ICP algorithm searches for rotation and translation by first searching for rotation in the outer layer and then searching for translation in the inner layer:
[0005] Outer rotation space search bounds:
[0006]
[0007]
[0008] In the formula is the upper bound of the ICP objective function; θ t is the translation search cube; M is the total number of point cloud data points; e i is the residual of the i-th point; is the rotation vector of the search center; is the rotation vector The corresponding rotation matrix; t is the translation vector; is the lower bound of the ICP objective function; is the rotation uncertainty radius of the i-th point;
[0009] Inner translation search space bounds:
[0010]
[0011]
[0012] In the formula is the upper bound of the objective function when the translation changes; t0 is the translation vector of the search center; E t is the lower bound of the objective function under translation change; γ t is the translation uncertainty radius;
[0013] The rotation search space can be represented by a sphere with a radius of π; for ease of processing, the smallest cube [-π,π] surrounding the sphere is selected 3 as the rotation region; the translation search region cube is given by [-ξ,ξ] 3 Representation; The initial search cube can be divided into sub-cubes by the octree (Branch) data structure.
[0014] The pseudo code of the existing Go-ICP algorithm is as follows:
[0015] Algorithm 1: Go-ICP main algorithm (outer rotation search algorithm)
[0016] Input: data and map point cloud {p i}{m i}, convergence threshold ε, initial pose [φ0,t0], initial rotation and translation search cube [θ φ θ t ];
[0017] Output: optimal cost function value E * , the global optimal pose search result
[0018] 1. Rotate the search cube area θ φ Join the priority queue (The queue uses the lower limit value of the rotation search area as the priority reference value, and the front of the queue stores the rotation search area with the lowest lower limit value)
[0019] 2.E * =+∞
[0020] 3.Loop:
[0021] 4.
[0022] 5.if return
[0023] 6. Branch
[0024] 7.for in do
[0025] 8.
[0026] 9.if then
[0027] 10.
[0028] 11.end if
[0029] 12.
[0030] 13.if then
[0031] 14. continue
[0032] 15.end if
[0033] 16.
[0034] 17.end for
[0035] 18.end loop
[0036] The algorithm ends.
[0037] In the above algorithm, E * is the optimal value of the ICP objective function; is the rotation search space; is the lower bound of the ICP objective function; pop_front is the outbound queue; Branch is the branch, which divides the search space; is the i-th rotation search space after division; N is an integer set; is the upper bound of the ICP objective function; TransSearchAlgorithm2 is the following “Algorithm 2: Go-ICP inner translation search algorithm”; is the i-th search; is the rotation uncertainty radius; ICPAlign is to solve the point cloud registration using the ordinary ICP algorithm; push_back is to enter the queue; To add the i-th rotation search space and the lower bound of the objective function to the queue;
[0038] Algorithm 2: Go-ICP inner translation search algorithm
[0039] Input: data and map point cloud {p i}{m i}, convergence threshold ε, initial pose Initial translation search cube θ t , the current best cost function value E *, rotation uncertainty radius γ φ
[0040] Output: optimal cost function value The global optimal pose search result t *
[0041]
[0042]
[0043] The algorithm ends.
[0044] In the above algorithm, C t is the translation search space; Q t .pop_front is the out queue; is the partition of the i-th translation search space; e i is the residual of the i-th point; is the rotation matrix; is the rotation uncertainty radius of the i-th point; E t is the lower bound of the objective function under translation change; is the optimal value of the objective function under translation change; t * is the optimal solution for translation; is the upper bound of the objective function under translation change; t0 is the translation search center; To add the lower bound of the objective function under the i-th translation search space and translation change to the queue.
[0045] However, the existing Go-ICP algorithm has a large global relocation search range, a long search time and low efficiency during operation. Summary of the invention
[0046] The object of the present invention is to provide an outdoor robot relocation method based on Go-ICP with high efficiency, short search time and reasonable and reliable search range.
[0047] The Go-ICP-based outdoor robot repositioning method provided by the present invention comprises the following steps:
[0048] S1. Obtain the existing Go-ICP algorithm;
[0049] S2. For the Go-ICP algorithm obtained in step S1, modify the lower bound used for pruning to improve the convergence speed of the algorithm;
[0050] S3. For the modified Go-ICP algorithm in step S2, the minimum resolution is specified in the branching process and the number of branches is reduced, thereby improving the convergence speed of the algorithm;
[0051] S4. For the modified Go-ICP algorithm in step S3, if the location is lost during positioning, the relocation search range is calculated and relocation is performed;
[0052] S5. Use the modified Go-ICP algorithm obtained in step S4 to perform real-time relocalization of the outdoor robot.
[0053] The lower bound for pruning described in step S2 is modified to improve the convergence speed of the algorithm, specifically, the lower bound for pruning is modified using the following formula:
[0054]
[0055]
[0056] In the formula is the rotation matrix; x is the point data; is the rotation matrix; σ r The half side length of the rotation search cube; || || is the 2 norm; To define equals; is the rotation uncertainty radius; t is the translation; t0 is the translation search center; σ t The half side length of the search cube region for X; γ t The translation uncertainty radius.
[0057] Step S3 specifies the minimum resolution during the branching process and reduces the number of branches, thereby improving the algorithm convergence speed. Specifically, the minimum resolution of the leaf node cube is set during the branching process, and the number of branches is reduced when the minimum resolution is reached.
[0058] If the location is lost during positioning in step S4, the relocation search range is calculated, specifically, the relocation search range is determined using the following formula:
[0059]
[0060]
[0061]
[0062] t x =t xb +trans_x_drift_ratio*Δt
[0063] t y =t yb +trans_y_drift_ratio*Δt
[0064] t z =t zb+trans_z_drift_ratio*Δt
[0065] In the formula t=[t x t y t z ]; is the search basis in the x direction of the rotation vector; The search base range in the y direction of the rotation vector; is the search base range of the rotation vector in the z direction; rot_x_drift_ratio is the proportional coefficient of the rotation search range in the x direction that changes with time; rot_y_drift_ratio is the proportional coefficient of the rotation search range in the y direction that changes with time; rot_z_drift_ratio is the proportional coefficient of the rotation search range in the z direction that changes with time; t xb is the search base range in the x direction of the displacement vector; t yb is the search base range in the y direction of the displacement vector; t zb is the basic search range of the displacement vector in the z direction; trans_x_drift_ratio is the translation search range, the proportional coefficient that changes with time in the x direction; trans_y_drift_ratio is the translation search range, the proportional coefficient that changes with time in the y direction; trans_z_drift_ratio is the translation search range, the proportional coefficient that changes with time in the z direction; Δt is the change in time.
[0066] The Go-ICP-based outdoor robot repositioning method provided by the present invention converts the Go-ICP algorithm cubic search area into a flat rectangular search area, reduces the search range of the Z axis; reduces the number of Go-ICP algorithm branches; and determines the Go-ICP algorithm repositioning search range by basic search range+lost positioning time*drift coefficient of corresponding rotation or translation component, thereby greatly reducing the repositioning search time based on the Go-ICP algorithm, and has high efficiency, short search time and reasonable and reliable search range. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 The figure is a schematic diagram of the method flow of the present invention.
[0068] Figure 2 A schematic diagram of modifying the search range in the method of the present invention. DETAILED DESCRIPTION
[0069] like Figure 1 The method flow diagram of the method of the present invention is shown as follows: The Go-ICP-based outdoor robot repositioning method provided by the present invention comprises the following steps:
[0070] S1. Obtain the existing Go-ICP algorithm;
[0071] S2. For the Go-ICP algorithm obtained in step S1, the lower bound used for pruning is modified to improve the convergence speed of the algorithm; specifically, the lower bound used for pruning is modified using the following formula:
[0072]
[0073]
[0074] In the formula is the rotation matrix; x is the point data; is the rotation matrix; σ r The half side length of the rotation search cube; |||| is the 2 norm; To define equals; is the rotation uncertainty radius; t is the translation; t0 is the translation search center; σ t The half side length of the search cube region for X; γ t The translation uncertainty radius.
[0075] In specific implementation, the rotation range changes as follows: Figure 2 As shown in (a), the spherical rotation vector range is changed to the rotation angle search range around the Z axis as the main rotation axis as shown in the oblique line cylinder. The vector direction of the rotation vector is the rotation axis direction, and the modulus value is the physical meaning of the rotation size. The ground diameter of the cylinder represents the search range of roll and pitch, and the height represents the search range of yaw angle; and the translation range changes as above Figure 2 As shown in (b), the cubic search area is converted into a diagonal flat rectangular search area to reduce the search range of the Z axis;
[0076] S3. For the Go-ICP algorithm modified in step S2, the minimum resolution is specified in the branching process and the number of branches is reduced, so as to improve the convergence speed of the algorithm; specifically, the minimum resolution of the leaf node cube is set in the branching process, and the number of branches is reduced when the minimum resolution is reached;
[0077] S4. For the modified Go-ICP algorithm in step S3, if the location is lost during positioning, the relocation search range is calculated and relocation is performed; specifically, the relocation search range is determined using the following formula:
[0078]
[0079]
[0080]
[0081] t x =t xb +trans_x_drift_ratio*Δt
[0082] t y =t yb +trans_y_drift_ratio*Δt
[0083] t z =t zb +trans_z_drift_ratio*Δt
[0084] In the formula t=[t x t y t z ]; is the search basis in the x direction of the rotation vector; The search base range in the y direction of the rotation vector; is the search base range of the rotation vector in the z direction; rot_x_drift_ratio is the proportional coefficient of the rotation search range in the x direction that changes with time; rot_y_drift_ratio is the proportional coefficient of the rotation search range in the y direction that changes with time; rot_z_drift_ratio is the proportional coefficient of the rotation search range in the z direction that changes with time; t xb is the search base range in the x direction of the displacement vector; t yb is the search base range in the y direction of the displacement vector; t zb is the basic search range of the displacement vector in the z direction; trans_x_drift_ratio is the translation search range, the proportional coefficient that changes with time in the x direction; trans_y_drift_ratio is the translation search range, the proportional coefficient that changes with time in the y direction; trans_z_drift_ratio is the translation search range, the proportional coefficient that changes with time in the z direction; Δt is the change in time.
[0085] In the above calculation formula, the search range size is determined by the basic search range + the time of lost positioning * the drift coefficient of the corresponding rotation or translation component;
[0086] S5. Use the modified Go-ICP algorithm obtained in step S4 to perform real-time relocalization of the outdoor robot.
Claims
1. A Go-ICP-based outdoor robot relocalization method comprises the following steps: S1. Obtain the existing Go-ICP algorithm; S2. For the Go-ICP algorithm obtained in step S1, the lower bound used for pruning is modified to improve the convergence speed of the algorithm; specifically, the lower bound used for pruning is modified using the following formula: In the formula is the rotation matrix; x is the point data; is the rotation matrix; σ r The half side length of the rotation search cube; || || is the 2 norm; To define equals; is the uncertainty radius of rotation; t is translation; t0 is the translation search center; σ t The half side length of the search cube region for X; γ t is the translation uncertainty radius; S3. For the modified Go-ICP algorithm in step S2, the minimum resolution is specified in the branching process and the number of branches is reduced, thereby improving the convergence speed of the algorithm; Specifically, the minimum resolution of the leaf node cube should be set during the branching process, and the number of branches should be reduced when the minimum resolution is reached; S4. For the modified Go-ICP algorithm in step S3, if the location is lost during positioning, the relocation search range is calculated and relocation is performed; specifically, the relocation search range is determined using the following formula: t x =t xb +trans_x_drift_ratio*Δt t y =t yb +trans_y_drift_ratio*Δt t z =t zb +trans_z_drift_ratio*Δt In the formula t=[t x t y t z ]; is the search basis in the x direction of the rotation vector; The search base range in the y direction of the rotation vector; is the search base range of the rotation vector in the z direction; rot_x_drift_ratio is the proportional coefficient of the rotation search range in the x direction that changes with time; rot_y_drift_ratio is the proportional coefficient of the rotation search range in the y direction that changes with time; rot_z_drift_ratio is the proportional coefficient of the rotation search range in the z direction that changes with time; t xb is the search base range in the x direction of the displacement vector; t yb is the search base range in the y direction of the displacement vector; t zb is the basic search range in the z direction of the displacement vector; trans_x_drift_ratio is the translation search range, the proportional coefficient that changes with time in the x direction; trans_y_drift_ratio is the translation search range, the proportional coefficient that changes with time in the y direction; trans_z_drift_ratio is the translation search range, the proportional coefficient that changes with time in the z direction; Δt is the change in time; S5. Use the modified Go-ICP algorithm obtained in step S4 to perform real-time relocalization of the outdoor robot.
Citation Information
Patent Citations
Relocating method and apparatus of indoor robot
CN106092104A
CAD model-based high-precision six-dimensional pose estimation method and system for 3C component
CN112651944A
Cited By
Global initialization method and system for autonomous vehicle based on 6g leading constraints in complex environment
CN122921161A
