Weak feature point cloud registration method and system based on geometric distance constraint

By constructing a robust registration algorithm framework based on geometric distance constraints, combining the weighted distance residual function and the ball-and-bat geometric distance constraints, and dynamically adjusting parameters, the stability and accuracy issues in weak feature point cloud registration are solved and achieved Provides efficient point cloud registration and body positioning.

CN118628540AActive Publication Date: 2024-09-10HUAZHONG UNIV OF SCI & TECH

Patent Information

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

AI Technical Summary

Technical Problem

In robot processing scenarios, point cloud registration of components with weak geometric features has problems such as unstable rigid transformation matrix solutions and inaccurate traditional evaluation indicators. The traditional distance residual definition method has a slow convergence speed and is easily affected by noise. Existing methods are difficult to Suitable for precise registration of weak feature point clouds.

Method used

A weak feature point cloud registration method based on geometric distance constraints is adopted. By constructing a robust registration algorithm framework, combining the weighted distance residual function and the ball-bat geometric distance constraint, the parameter μ is dynamically adjusted, and the dynamic relaxation constraint algorithm is used to improve Registration accuracy and convergence speed.

Benefits of technology

It achieves the characteristics of high accuracy, fast convergence speed, and good robustness of point cloud registration. It is suitable for precise positioning of weak feature point clouds and avoids slipping phenomena and local optimal traps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628540A
    Figure CN118628540A
Patent Text Reader

Abstract

The invention belongs to the technical field of robot measurement, and particularly discloses a weak feature point cloud registration method and system based on geometric distance constraint. The method comprises the following steps: collecting vehicle body morphology point cloud data; converting the vehicle body morphology point cloud data into a robot-based coordinate system to perform coarse registration of the point cloud data; constructing a weak feature point cloud robust registration algorithm framework, and substituting the point cloud data after coarse registration into the weak feature point cloud robust registration algorithm framework for fine registration so as to output vehicle body three-dimensional point cloud data with local complete morphology; and substituting the vehicle body three-dimensional point cloud data and the vehicle body design model data after fine registration into the weak feature point cloud robust registration algorithm framework so as to accurately calculate a vehicle body pose matrix and complete vehicle body positioning work. The method has the advantages of being high in point cloud registration precision, high in convergence speed, good in robustness and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of robot measurement, and more specifically, relates to a weak feature point cloud registration method and system based on geometric distance constraints. Background Art

[0002] In the robot processing scenario, accurate identification of the workpiece posture (workpiece positioning) can reduce processing errors and improve manufacturing accuracy. Point cloud registration technology is a common method for workpiece positioning. Its principle is to unify the measured point cloud of the processed workpiece and the three-dimensional CAD design model into the same coordinate system through registration. However, for components with weak geometric features, such as high-speed rail body-in-white, turbine blades, engine rotors, etc., their geometric features include normal vectors and curvatures, because the geometric features of the point cloud at different positions do not change significantly. Point cloud registration technology has the following problems: weak feature points lead to unstable solution of the rigid transformation matrix; traditional evaluation indicators such as RMSE, α-recall, etc. may lead to the registration of two point clouds with similar features, but they do not match the actual situation. Therefore, it is necessary to adopt a more reasonable evaluation method and a more robust algorithm to process and calculate the point cloud of weak feature workpieces.

[0003] The ICP algorithm is a commonly used point cloud precision registration algorithm. The traditional distance residual definition methods include: point-to-point, point-to-plane, and distance squared. In the implementation process, the above three distance residual definition methods all have the defects of slow convergence, sensitivity to initial values, and susceptibility to noise. In order to better achieve precise registration, the symmetric distance residual definition can achieve fast convergence and be more robust to noise, outliers, and overlapping areas. However, in the weak feature point cloud registration process where most normal vectors are coplanar, the above residual definition method will cause the algorithm to converge slowly and easily fall into local optimality during the optimization process due to the small error field. Therefore, the weak feature point cloud registration algorithm needs to define a distance residual measurement method with a larger error field.

[0004] To solve the above problems, Chinese patent CN115908517A discloses a low-overlap point cloud registration method. This method is aimed at the environmental perception of mobile robots. It combines neural networks to extract feature vectors of the robot's source point cloud and target point cloud, and then inputs them into the feature matching module to obtain the matching matrix of corresponding points. Finally, the matching matrix is ​​input into the attention point fusion module to complete the registration of the robot's large-scale sparse environment point cloud. In addition, Chinese patent CN116245921A discloses a weak feature three-dimensional point cloud registration method that introduces plane constraints. The algorithm uses a coarse-fine registration strategy to find the specific plane structure of two point clouds, and combines plane constraints with the ICP algorithm to achieve effective fine registration of two point clouds. The methods proposed by Chinese patents CN115908517A and CN116245921A are only for corresponding working conditions. The method proposed in Chinese patent CN115908517A is only applicable to sparse point clouds and three-dimensional point clouds with obvious features; while the method proposed in Chinese patent CN116245921A has great limitations and needs to extract planar area features from the source point cloud and the target point cloud. This method is no longer applicable in the registration of cylindrical ruled surface structures such as engine rotors. Therefore, there is currently no suitable solution to the above problem. Summary of the invention

[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a weak feature point cloud registration method and system based on geometric distance constraints, wherein a weak feature point cloud registration method based on geometric distance constraints is designed in combination with the characteristics of the robot's own measurement and its weak feature point cloud registration. By constructing a weak feature point cloud robust registration algorithm framework, the point cloud data after rough registration is substituted into the weak feature point cloud robust registration algorithm framework for precise registration to output the three-dimensional point cloud data of the vehicle body with a local complete morphology, and then the three-dimensional point cloud data of the vehicle body after precise registration and the vehicle body design model data are substituted into the weak feature point cloud robust registration algorithm framework to accurately calculate the vehicle body posture matrix and complete the vehicle body positioning work. Accordingly, by weighting the point-to-point distance residual and the point-to-plane distance residual, the algorithm convergence speed is accelerated and the slip phenomenon is prevented. At the same time, by introducing a robust function and adjusting the value of the parameter μ, the number of point pairs used for calculation is dynamically adjusted to improve the point cloud registration accuracy. Therefore, the present invention has the characteristics of high point cloud registration accuracy, fast convergence speed, and good robustness.

[0006] To achieve the above object, according to one aspect of the present invention, a weak feature point cloud registration method based on geometric distance constraint is proposed, comprising the following steps:

[0007] Step 1: Collect vehicle body shape point cloud data;

[0008] Step 2: Convert the body shape point cloud data to the robot base coordinate system to perform rough registration of the point cloud data;

[0009] Step 3: construct a weak feature point cloud robust registration algorithm framework, substitute the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for fine registration, so as to output the three-dimensional point cloud data of the vehicle body with a partial complete morphology;

[0010] Step 4: Substitute the precisely aligned three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust registration algorithm framework to accurately calculate the vehicle body pose matrix and complete the vehicle body positioning work.

[0011] As further preferred, step one comprises the following steps:

[0012] (11) constructing a robot measurement system, the system comprising a robot and a monocular surface structured light scanner disposed at the end of the robot;

[0013] (12) Use a robot measurement system to collect point cloud data of high-speed rail body in multiple positions;

[0014] (13) De-noising is performed on the point cloud data of the high-speed rail body to obtain the body shape point cloud data.

[0015] As further preferred, step 2 comprises the following steps:

[0016] (21) Calibrate the robot’s hand and eye to obtain the robot’s hand and eye matrix;

[0017] (22) Calculating the homogeneous transformation matrix from the monocular structured light scanner to the base coordinate system by using the robot hand-eye matrix and kinematic matrix;

[0018] (23) The vehicle body morphology point cloud data measured multiple times are converted into the robot base coordinate system to complete the rough alignment of the point cloud data.

[0019] As a further preferred embodiment, in step 3, the construction of a weak feature point cloud robust registration algorithm framework includes:

[0020] (31) The weight coefficient is used to fuse the point-to-point and point-to-plane distance residuals to construct a weighted distance function;

[0021] (32) Based on the geometric distance constraint of the ball and bat, the weighted distance function is used as the variable to be optimized, and the distance between the source point cloud and the target point cloud and the standard value of the distance between the center of the ball and bat in the two point clouds are used as constraints to construct the optimization function;

[0022] (33) The linear perturbation of the homogeneous transformation matrix T is used to transform the solution of the optimization function into a quadratic constrained quadratic programming problem, which is then solved using the interior point method;

[0023] (34) In the process of solving step (33), a dynamic relaxation constraint algorithm is used. By judging the initial distance between the source point cloud and the target point cloud and the standard value of the distance between the two point clouds, the upper and lower bounds of the optimization function constraints are adjusted, thereby ensuring the strength of the ball-and-stick geometric distance constraints in real time and ensuring that the algorithm can converge correctly, thereby solving the homogeneous transformation matrix between the two point clouds.

[0024] More specifically, in step 3, the calculation process of constructing the weak feature point cloud robust registration algorithm framework is as follows:

[0025] First, input the manually labeled source point cloud data O 1 and target point cloud data O 2 , and the standard distance value d between two pieces of point cloud data, set the number of iterations K, k.

[0026] Then, the homogeneous transformation matrix T obtained in step (22) is used to iteratively find the nearest point.

[0027] According to the weighted distance function, the weights w of the two measurement methods of point-to-point and point-to-plane are calculated. 1 、w 2 , and set the intermediate variable T temp =I.

[0028] The robust loss function is constructed based on the Welsch function, and the parameters A and b are calculated and converted into a quadratically constrained quadratic programming (QCQP) problem.

[0029] Calculate the constraint lower bound of the quadratic constrained quadratic programming (QCQP) problem and solve the quadratic constrained quadratic programming (QCQP) problem to obtain the homogeneous transformation matrix T between the two point clouds k .

[0030] If the Kth homogeneous transformation matrix T k and the homogeneous transformation matrix T obtained for the K+1th time k+1 If the tolerance does not meet the set threshold ε, the parameters of the re-adjusted loss function are returned. If the requirements are met, let T temp =T k+1 T temp , determine whether ||T is satisfied temp -I|| F <εor T K+1 =T temp T K If yes, the operation is terminated, otherwise, the next iteration operation is performed and the value of the parameter μ is adjusted. In one embodiment of the present invention, the adjustment parameter μ=μ / 2.

[0031] As further preferred, in step (31), the weighted distance function includes:

[0032]

[0033] In the formula, e i is the distance residual, R is the rotation matrix of the two point clouds, p i is the source point cloud measurement point, q i is the target point cloud measurement point, t is the translation vector of the two point clouds, is the normal vector of the corresponding measuring point in the target point cloud;

[0034] Preferably, in step (32), the optimization function includes:

[0035]

[0036]

[0037] In the formula, is p in the kth iteration process i The nearest point; O 1 With O 2 are the artificial marking points of the source point cloud and the target point cloud; δ is the tolerance of the distance constraint, M is the number of corresponding points in the point cloud, and d is the standard value of the ball center distance;

[0038] Among them, the specific formula of ρ(r) is:

[0039]

[0040] Where: r is the residual, μ is the function parameter.

[0041] As a further preferred embodiment, in step (31), the weight calculation formula is:

[0042]

[0043] Where: K is the number of iterations, I max is the set value.

[0044] As further preferred, step (33) specifically comprises:

[0045] The linear perturbation of the homogeneous transformation matrix T is used to solve the optimization function:

[0046]

[0047]

[0048] Through mathematical transformation, the optimization function is converted into a quadratic constrained quadratic programming (QCQP) problem, and then solved using the interior point method. The specific formula is:

[0049]

[0050]

[0051] Where: A is a small variable; 0 A 1 is the correlation coefficient matrix; d lb d ub are the upper and lower bounds of the constraints after conversion.

[0052] As a further preferred embodiment, in step (34), the upper and lower bounds of adjusting the optimization function constraints include:

[0053] Assumptions || O 1 O 2 || 2 ≤d,

[0054]

[0055]

[0056] Where: k is the number of iterations; To satisfy the small perturbation and geometric distance constraints, the dynamic lower bound should satisfy:

[0057]

[0058] definition

[0059]

[0060] Where K is the number of iterations, τ is a certain integer, and τ is less than the maximum number of iterations.

[0061] According to another aspect of the present invention, a weak feature point cloud registration system based on geometric distance constraints is also provided, comprising:

[0062] The first main control module is used to collect vehicle body shape point cloud data;

[0063] The second main control module is used to convert the body shape point cloud data into the robot base coordinate system to perform rough registration of the point cloud data;

[0064] The third main control module is used to construct a weak feature point cloud robust registration algorithm framework, substitute the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for fine registration, so as to output the three-dimensional point cloud data of the vehicle body with a partial complete morphology;

[0065] The fourth main control module is used to substitute the precisely aligned three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust alignment algorithm framework to accurately calculate the vehicle body posture matrix and complete the vehicle body positioning work.

[0066] As further preferred, the first main control module includes a robot measurement system, which includes a robot and a monocular structured light scanner arranged at the end of the robot.

[0067] In general, the above technical solution conceived by the present invention has the following technical advantages compared with the prior art:

[0068] 1. The present invention constructs a weak feature point cloud robust registration algorithm framework, substitutes the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for precise registration, so as to output the three-dimensional point cloud data of the vehicle body with a local complete morphology, and then substitutes the precisely registered three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust registration algorithm framework to accurately calculate the vehicle body posture matrix and complete the vehicle body positioning work. Accordingly, by weighting the point-to-point and point-to-plane fusion, the algorithm convergence speed is accelerated and the slip phenomenon is prevented. At the same time, by introducing a robust function and adjusting the value of the parameter μ, the number of point pairs used for calculation is dynamically adjusted to improve the point cloud registration accuracy. Therefore, the present invention has the characteristics of high point cloud registration accuracy, fast convergence speed, and good robustness.

[0069] 2. The present invention combines the advantages of the ICP algorithm and the TDM algorithm by collecting weighted distance metrics, thereby accelerating the algorithm convergence speed and preventing slippage during the weak feature point cloud registration process.

[0070] 3. The present invention adopts the Welsch robust function, and dynamically adjusts the number of point pairs used for calculation by adjusting the value of the parameter μ, thereby improving the robustness of the point cloud registration.

[0071] 4. The present invention can reduce the effective solution set area and improve the algorithm convergence speed by introducing the ball-and-stick geometric distance constraint.

[0072] 5. The present invention adopts a dynamic relaxation constraint algorithm to adjust the upper and lower bounds of the bat constraint in real time to control the strength of the constraint and prevent the algorithm from converging incorrectly. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 It is a flow chart of a weak feature point cloud registration method based on geometric distance constraints involved in an embodiment of the present invention;

[0074] Figure 2 Schematic diagram of the structure of a robot measurement system according to an embodiment of the present invention;

[0075] Figure 3This is a high-speed railway body-in-white positioning flow chart involved in an embodiment of the present invention;

[0076] Figure 4 is a rough registration flow chart involved in an embodiment of the present invention;

[0077] Figure 5 It is a flow chart of a robust registration algorithm for weak feature point clouds based on geometric distance constraints involved in an embodiment of the present invention.

[0078] In all the drawings, the same reference numerals represent the same technical features, specifically: 1- robot, 2- surface structured light scanner DETAILED DESCRIPTION

[0079] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0080] like Figure 1 and Figure 3 As shown, the embodiment of the present invention provides a weak feature point cloud registration method based on geometric distance constraints, and the robot measurement system is as follows Figure 2 As shown in the figure, the robot measurement system consists of an AUBO-i10 series collaborative robot and a self-developed monocular structured light scanner. The self-developed monocular structured light scanner includes a DLPLightCrafter 4500 projector with a resolution of 1920×1080 and a Basler-ACA2440-20gm industrial camera. The scanner is rigidly connected to the flange at the end of the robot. The position of the scanner can be controlled by adjusting the end of the robot to achieve multi-position measurement of the scanner.

[0081] like Figure 4 As shown, the process of body positioning includes:

[0082] A practical robot equipped with a surface structured light scanner forms a robot measurement system, which collects point cloud data of the high-speed rail body-in-white appearance multiple times;

[0083] The vehicle body shape point cloud data is converted to the robot coordinate system through the robot hand-eye matrix and kinematic matrix for rough registration;

[0084] Substitute it into the weak feature point cloud robust registration algorithm framework proposed in the present invention to perform iterative calculations to accurately identify the vehicle body posture.

[0085] More specifically, since the high-speed rail body-in-white is a large-scale weak feature component, the scanner has a limited single measurement area, so it is necessary to control the robot to collect the point cloud data of the high-speed rail body-in-white in multiple poses. After the acquisition is completed, the acquired point cloud needs to be roughly spliced. Since the surface structured light scanner can collect all the point clouds of the object surface within the format and the accuracy of the camera equipment, the collected point cloud data will introduce noise. Therefore, it is necessary to filter the collected point cloud and remove and clean up the unnecessary appearance point cloud data.

[0086] The rough stitching method in this paper is based on the robot base coordinate system, and the point clouds of the two measurements are transferred to the robot base coordinate system through the robot hand-eye matrix and the kinematic matrix. Therefore, it is necessary to calibrate the robot's hand and eye. The hand-eye calibration model adopted in this paper is the "eye in hand" model. The robot shoots the calibration plate image in multiple poses, solves the scanner camera extrinsic parameters, and records the robot kinematic matrix corresponding to the camera extrinsic parameters. The hand-eye calibration equation is constructed and the hand-eye calibration matrix is ​​obtained by solving. The steps of rough alignment are as follows:

[0087] Perform preparatory work such as filtering and removing noise on the acquired point cloud data of the high-speed rail body-in-white;

[0088] Perform hand-eye calibration on the robot to obtain the robot hand-eye matrix;

[0089] Calculate the homogeneous transformation matrix from the scanner to the base coordinate system through the robot hand-eye matrix and the kinematic matrix;

[0090] The vehicle body point cloud data measured multiple times are uniformly converted to the robot base coordinate system to complete the rough alignment.

[0091] In this embodiment, the roughly spliced ​​point cloud data is substituted into the weak feature point cloud robust registration algorithm framework of the present invention, and the homogeneous transformation matrix T between different body point clouds is accurately calculated to complete the precise registration of the body point cloud, and obtain the body three-dimensional point cloud data of the local complete appearance. That is, the weak feature point cloud robust registration algorithm framework is constructed, and the roughly registered point cloud data is substituted into the weak feature point cloud robust registration algorithm framework for precise registration to output the body three-dimensional point cloud data of the local complete appearance.

[0092] like Figure 5 As shown, in the above steps, the construction of a weak feature point cloud robust registration algorithm framework includes:

[0093] (31) The weight coefficient is used to fuse the point-to-point and point-to-plane distance residuals to construct a weighted distance function;

[0094] (32) Based on the ball-and-stick geometric distance constraint, the weighted distance function is used as the variable to be optimized, and the distance constraint tolerance between the source point cloud and the target point cloud and the standard value of the distance between the two point clouds is used as a constraint to construct the optimization function;

[0095] (33) The linear perturbation of the homogeneous transformation matrix T is used to transform the solution of the optimization function into a quadratic constrained quadratic programming problem, which is then solved using the interior point method;

[0096] (34) In the process of solving step (33), a dynamic relaxation constraint algorithm is used. By judging the initial distance between the source point cloud and the target point cloud and the standard value of the distance between the two point clouds, the upper and lower bounds of the optimization function constraints are adjusted, thereby ensuring the strength of the ball-and-stick geometric distance constraints in real time and ensuring that the algorithm can converge correctly, thereby solving the homogeneous transformation matrix between the two point clouds.

[0097] In addition, since the framework of the weak feature point cloud robust registration algorithm is an iterative operation, after solving the homogeneous transformation matrix between the two point clouds, if the difference between the current homogeneous transformation matrix and the previous homogeneous transformation matrix meets the set threshold, that is, ||T k+1 -T k ||<ε, then let T temP =T k+1 T temp , otherwise return to step (33). Let T temp =T k+1 T temp After that, judge T temp -I|| F <εor T K+1 =T temp T K If it is satisfied, the homogeneous transformation matrix is ​​output and the operation is terminated. Otherwise, the parameter μ is adjusted and the nearest point is recalculated until the output homogeneous transformation matrix meets the threshold requirement.

[0098] Substitute the precisely registered three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust registration algorithm framework to accurately calculate the vehicle body pose matrix and complete the vehicle body positioning work. More specifically, the measured three-dimensional point cloud of the vehicle body is registered with the design CAD model, and similarly, substituted into the weak feature point cloud robust registration algorithm framework of the present invention to accurately calculate the vehicle body pose matrix T and complete the vehicle body positioning work.

[0099] In the above steps, since the weak feature point cloud robust registration algorithm is used for both the precise registration and the registration of the vehicle body 3D point cloud with the design CAD model, the specific calculation process of the algorithm is introduced below. Figure 4 shown.

[0100] (1) To better introduce the subsequent process of the algorithm, this article first defines the mathematical symbols related to the algorithm:

[0101] The representation of the special orthogonal group SO(3) and the special Euclidean group SE(3):

[0102] Lie group Lie algebra is one of the tools for representing rigid body transformations. (·)^ represents the mapping process from Lie algebra to Lie group.

[0103]

[0104]

[0105] Remember Point cloud 1 is P = {p 1 , ..., p M}, point cloud 2 is Q = {q 1 , ..., q N}, there are three ways to define the distance residual of the traditional ICP algorithm:

[0106] 1) Point-to-point:

[0107]

[0108] 2) Opposite to each other:

[0109]

[0110] 3) Symmetric distance:

[0111]

[0112] Among the three distance residual definition methods mentioned above, point-to-point and point-to-plane definition have the defects of low convergence speed, sensitivity to initial values, and susceptibility to noise; compared with the above two methods, the symmetric distance definition method has the characteristics of fast convergence speed and more robustness to noise, outliers, partial overlap, etc. However, in the registration process of weak feature point clouds where most normal vectors are coplanar, the residual definition methods related to the normal vectors have a smaller error field, and the registration is prone to slippage, resulting in a lower convergence rate and falling into a local optimum.

[0113] To solve the above problems, the distance residual of the algorithm invented in this paper is defined as a weighted distance function:

[0114]

[0115] The optimization objective function is:

[0116]

[0117] Where: r k is the distance residual at the kth iteration, Θ is the variable to be optimized.

[0118] (2) In order to better align the two point clouds, the ball-and-stick geometric distance constraint is introduced, and the optimization problem is constructed by combining equations (6) and (7).

[0119]

[0120]

[0121] Where: is p in the kth iteration process i The nearest point; O 1 With O 2 are the artificial marking points of the source point cloud and the target point cloud, which are the spherical point clouds at both ends of the bat AB respectively; δ is the tolerance of the distance constraint.

[0122] The specific formula of ρ(r) is:

[0123]

[0124] Where: r is the residual, μ is the function parameter.

[0125] To facilitate the solution of the problem, the linear perturbation of the homogeneous transformation matrix T is used to solve equation (8):

[0126]

[0127]

[0128] Through mathematical transformation, equation (9) can be converted into a quadratic constrained quadratic programming problem (QCQP), and then solved using the interior point method. The specific formula is:

[0129]

[0130] Where: A is a small variable; 0 A 1 is the correlation coefficient matrix; d lb d ub are the upper and lower bounds of the constraints after conversion.

[0131] (3) In the process of solving equation (10), the added linear perturbation can be regarded as a first-order Taylor approximation. To ensure the validity of the first-order Taylor approximation, it is necessary to ensure that the perturbation ξ is small, but the initial value || O 1 -O 2 || 2 When deviating from the standard value d, the disturbance ξ obtained by solving the QCQP problem may be large and thus fail to satisfy the football stick geometric distance constraint, resulting in the algorithm failing to converge correctly.

[0132] Therefore, the algorithm of the present invention adopts a dynamic relaxation constraint algorithm in the solution process, so as to ensure the strength of the ball-stick geometric distance constraint in real time and ensure that the algorithm can converge correctly. Figure 2 As shown in Figure 2, the dynamic relaxation constraint algorithm can effectively ensure the registration accuracy of the algorithm. The dynamic relaxation constraint algorithm determines the initial || 1 -O 2 || 2 With the size of d, adjust the upper and lower bounds of the constraints in equation (10). The specific process is as follows:

[0133] This paper assumes that ||O 1 O 2 || 2 ≤d

[0134]

[0135] Where: k is the number of iterations; is the dynamic lower bound. To satisfy the small perturbation and geometric distance constraints, the dynamic lower bound should satisfy:

[0136]

[0137] definition

[0138]

[0139] (4) Parameter μ and weight w 1 , w 2 Definition

[0140] The parameter μ affects the robustness of the objective function of formula (7). Experimental verification shows that a smaller μ will give a lower weight to noise, outliers, etc., thereby reducing their impact on the optimization results. Therefore, in the early stages of algorithm iteration, a larger μ can use more nearest point pairs to prevent the algorithm from falling into a local optimum. As the iteration proceeds, the μ value needs to be gradually reduced to reduce the impact of noise and outliers. Weight calculation formula:

[0141]

[0142] Where: K is the number of iterations, I max is the set value.

[0143] Parameter w 1 With w 2 Determines the contribution of point-to-point and point-to-plane metrics to the residual. In the early stages of the iteration, a smaller value w 1 The distance residual measurement method based on point-to-plane is used to speed up the iteration speed of the algorithm; as the iteration proceeds, w is gradually increased. 1The point-to-point distance residual measurement method is adopted to prevent the algorithm from falling into a low convergence rate and slipping after registration.

[0144] In addition, according to another aspect of the present invention, a weak feature point cloud registration system based on geometric distance constraints is provided, comprising:

[0145] The first main control module is used to collect vehicle body shape point cloud data; wherein, the first main control module includes a robot measurement system, which includes a robot and a monocular structured light scanner arranged at the end of the robot.

[0146] The second main control module is used to convert the body shape point cloud data into the robot base coordinate system to perform rough registration of the point cloud data;

[0147] The third main control module is used to construct a weak feature point cloud robust registration algorithm framework, substitute the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for fine registration, so as to output the three-dimensional point cloud data of the vehicle body with a partial complete morphology;

[0148] The fourth main control module is used to substitute the precisely aligned three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust alignment algorithm framework to accurately calculate the vehicle body posture matrix and complete the vehicle body positioning work.

[0149] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A weak feature point cloud registration method based on geometric distance constraints, It is characterized in that The following steps are involved: Step 1: Collect vehicle body shape point cloud data; Step 2: Convert the body shape point cloud data to the robot base coordinate system to perform rough registration of the point cloud data; Step 3: construct a weak feature point cloud robust registration algorithm framework, substitute the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for fine registration, so as to output the three-dimensional point cloud data of the vehicle body with a partial complete morphology; Step 4: Substitute the precisely aligned three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust registration algorithm framework to accurately calculate the vehicle body pose matrix and complete the vehicle body positioning work.

2. According to the method for weak feature point cloud registration based on geometric distance constraint in claim 1, It is characterized in that Step one includes the following steps: (11) constructing a robot measurement system, the system comprising a robot and a monocular surface structured light scanner disposed at the end of the robot; (12) Use a robot measurement system to collect point cloud data of high-speed rail body in multiple positions; (13) De-noising is performed on the point cloud data of the high-speed rail body to obtain the body shape point cloud data.

3. According to claim 2, a method for weak feature point cloud registration based on geometric distance constraints, It is characterized in that Step 2 includes the following steps: (21) Calibrate the robot’s hand and eye to obtain the robot’s hand and eye matrix; (22) Calculating the homogeneous transformation matrix from the monocular structured light scanner to the base coordinate system by using the robot hand-eye matrix and kinematic matrix; (23) The vehicle body morphology point cloud data measured multiple times are converted into the robot base coordinate system to complete the rough alignment of the point cloud data.

4. According to the method for weak feature point cloud registration based on geometric distance constraint in claim 1, It is characterized in that In step 3, the construction of a weak feature point cloud robust registration algorithm framework includes: (31) The weight coefficient is used to fuse the point-to-point and point-to-plane distance residuals to construct a weighted distance function; (32) Based on the ball-and-stick geometric distance constraint, the weighted distance function is used as the variable to be optimized, and the distance between the source point cloud and the target point cloud and the standard value of the ball-and-stick point cloud distance in the two point clouds are used as constraints to construct the optimization function; (33) The linear perturbation of the homogeneous transformation matrix T is used to transform the solution of the optimization function into a quadratic constrained quadratic programming problem, which is then solved using the interior point method; (34) In the process of solving step (33), a dynamic relaxation constraint algorithm is used. By judging the initial distance between the source point cloud and the target point cloud and the standard value of the distance between the two point clouds, the upper and lower bounds of the optimization function constraints are dynamically adjusted, thereby ensuring the strength of the ball-and-stick geometric distance constraint in real time and ensuring that the algorithm can converge correctly, thereby solving the homogeneous transformation matrix between the two point clouds.

5. According to claim 4, a method for weak feature point cloud registration based on geometric distance constraints, It is characterized in that In step (31), the weighted distance function includes: In the formula, e i is the distance residual, R is the rotation matrix of the two point clouds, p i is the source point cloud measurement point, q i is the target point cloud measurement point, t is the translation vector of the two point clouds, is the normal vector of the corresponding measuring point in the target point cloud; Preferably, in step (32), the optimization function includes: In the formula, is p in the kth iteration process i The nearest point; O 1 With O 2 are the artificial marking points of the source point cloud and the target point cloud; δ is the tolerance of the distance constraint, M is the number of corresponding points in the point cloud, and d is the standard value of the ball center distance; Among them, the specific formula of ρ(r) is: Where: r is the residual, μ is the function parameter.

6. According to claim 4, a method for weak feature point cloud registration based on geometric distance constraints, It is characterized in that In step (31), the weight calculation formula includes: Where: K is the number of iterations, I max is the set value.

7. According to claim 5, a method for weak feature point cloud registration based on geometric distance constraints, It is characterized in that Step (33) specifically includes: The linear perturbation of the homogeneous transformation matrix T is used to solve the optimization function: Through mathematical transformation, ρ(r) is converted into a quadratic constrained quadratic programming problem, and then solved using the interior point method. The specific formula is: Where: is a small variable; is the correlation coefficient matrix; d lb d ub are the upper and lower bounds of the constraints after conversion.

8. According to claim 7, a method for weak feature point cloud registration based on geometric distance constraints, It is characterized in that In step (34), the upper and lower bounds of the adjustment optimization function constraints include: Assumptions || O 1 -O 2 || 2 ≤d, Where: k is the number of iterations; To satisfy the small perturbation and geometric distance constraints, the dynamic lower bound should satisfy: definition Where K is the number of iterations, τ is a fixed integer, and τ is less than the maximum number of iterations.

9. A weak feature point cloud registration system based on geometric distance constraints, It is characterized in that include: The first main control module is used to collect vehicle body shape point cloud data; The second main control module is used to convert the body shape point cloud data into the robot base coordinate system to perform rough registration of the point cloud data; The third main control module is used to construct a weak feature point cloud robust registration algorithm framework, substitute the roughly registered point cloud data into the weak feature point cloud robust registration algorithm framework for fine registration, so as to output the three-dimensional point cloud data of the vehicle body with a partial complete morphology; The fourth main control module is used to substitute the precisely aligned three-dimensional point cloud data of the vehicle body and the vehicle body design model data into the weak feature point cloud robust alignment algorithm framework to accurately calculate the vehicle body posture matrix and complete the vehicle body positioning work.

10. A weak feature point cloud registration system based on geometric distance constraints according to claim 9, It is characterized in that The first main control module includes a robot measurement system, which includes a robot and a monocular structured light scanner arranged at the end of the robot.

Citation Information

Patent Citations

  • Point cloud automatic registration method based on normal vector

    CN103236064A

  • Laser-point cloud data automatic registration method based on plane base images

    CN103295239A

  • Automatic registration and fusion method of point cloud data and optical image based on point feature

    CN106485690A

  • Three-dimensional point cloud registering method according to color moment information

    CN108062766A

  • A method for point cloud registration

    CN109472816A

Cited By

  • Photogrammetry joint calibration method and system based on hierarchical graph constraint

    CN121708101A