LiDAR-IMU calibration algorithm for underground confined space
By adopting the LIDAR-IMU calibration algorithm in the underground restricted space, combining the point cloud degradation detection, interoperability methods, and IMU refined modeling, solve the problem of the IMU zero bias, improve the accuracy of LIDAR/IMU external parameters calibration And stability.
Patent Information
- Application Number
- CN202411459552.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-18
AI Technical Summary
In the underground confined space, the existing LiDAR/IMU external parameter calibration method ignores the precise calibration of the IMU zero bias, resulting in IMU trajectory drift and reducing calibration accuracy.
Proposal a Lidar-IMU calibration algorithm facing the limited-faced space. It refined the IMU refined modeling of IMU with the IMU biased noise through the point cloud degradation detection module, interconnected method, unified time-space constraint module and reflectivity strength information. Optimize Lidar/IMU external parameters.
It improves the accuracy of Lidar/IMU external parameters in the limited space, and realizes the stability and robustness of the IMU trajectory, and meets the needs of underground space modeling and equipment operation and maintenance.
Smart Images

Figure CN119335552A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the cross-technical field of underground space and multi-sensor fusion, and specifically relates to a LiDAR-IMU calibration algorithm for underground confined spaces. Background Art
[0002] High-precision three-dimensional map models of underground space are an important technical means to realize the construction of smart space. In underground confined spaces such as underground parking lots, corridors, tunnels, and mining areas, the space structure is narrow and long, the light is dim, and there are many obstacles. It is difficult to quickly obtain three-dimensional information of underground space using traditional methods such as levels and total stations, and it is difficult to adapt to the current underground space modeling and equipment operation and maintenance requirements. Based on the simultaneous positioning and mapping technology (SLAM) of laser point clouds, high-precision three-dimensional maps in complex spaces can be constructed in real time and efficiently. However, the point clouds in underground confined spaces are unevenly distributed and have similar structures, which can easily lead to the degradation of laser point clouds. Inertial measurement units (IMUs) can provide high-precision pose estimation to compensate for the degradation of point cloud features of laser radar in underground confined spaces. Accurately calibrate the external parameters between LiDAR and IMU, unify heterogeneous data into the same space-time coordinate system, promote laser inertial SLAM data fusion, and significantly improve the quality of environmental modeling.
[0003] At present, the external parameter calibration of laser inertial SLAM system is mostly completed in the preparation stage before the equipment is put into use, and it is assumed that the external parameters between sensors will not change during the long-term operation. However, in a complex working environment, due to the influence of uncertain factors such as external impact, mechanical structure adjustment or cumulative deformation under long-term operation, the initial external parameters are prone to failure. To solve these problems, domestic and foreign scholars have conducted a lot of research and proposed LiDAR / IMU online calibration algorithms to correct the spatial external parameter deviation between sensors in a timely manner to ensure the continuous and stable operation of the SLAM system. However, the current online calibration methods all ignore the precise calibration of IMU zero bias and only use IMU zero bias as the calibration parameter to be determined. At the same time, the geometric features in the underground confined space are single and the point cloud features are severely degraded. It is difficult to extract the environmental plane to constrain the IMU zero bias. The IMU zero bias error gradually accumulates over time, which will cause the IMU trajectory to drift, thereby seriously reducing the accuracy of LiDAR / IMU external parameter calibration. Summary of the invention
[0004] The purpose of the present invention is to provide a LiDAR-IMU calibration algorithm for underground confined spaces, which can accurately solve the IMU bias noise and realize IMU refined modeling, thereby improving the accurate calibration of LiDAR / IMU extrinsic parameters in underground confined spaces.
[0005] To achieve the above objectives, the present invention provides a LiDAR-IMU calibration algorithm for underground confined spaces, comprising the following steps:
[0006] S1: The original LiDAR point cloud frame segmentation and point cloud distortion correction improve data quality, and spherical projection is performed after merging the sub-frame point clouds to generate high-quality intensity images;
[0007] S2: Build a point cloud degradation detection module to detect point cloud degradation in underground confined spaces and introduce additional constraints to improve the accuracy of pose estimation and map construction;
[0008] S3: Based on the cross-correlation method, the LiDAR odometer and IMU data are combined to construct a residual function, and the time synchronization of LiDAR and IMU is preliminarily achieved;
[0009] S4: Build a unified spatiotemporal constraint module, optimize time offset, initialize the relative pose between LiDAR and IMU, and the accelerometer and gyroscope zero bias;
[0010] S5: IMU refined modeling with enhanced reflectivity intensity information, using SFM to calculate the intensity image pose and IMU predicted pose to construct the objective function, accurately calibrate the gyroscope and accelerometer zero bias, and iteratively optimize the translation and rotation extrinsic parameters of LiDAR / IMU.
[0011] As a further solution of the present invention: step S1 comprises:
[0012] S101: First, the original point cloud frame is segmented into multiple sub-frames, and the timestamp ρ is calculated based on the uniform speed model. j ∈(t k ,t k+1 ) to the LiDAR scan end frame L k+1 Interval Δt j Relative position change within The formula is:
[0013] Δt j =t k+1 -ρ j
[0014]
[0015] in, and are the rotation and translation changes calculated based on the uniform velocity model. The exponential mapping Exp is used to transform the Lie algebra SE(3) to the Lie group SO(3). They are LiDAR scanning frames L k+1 The predicted angular and linear velocities of
[0016] S102: LiDAR measurements Projected to the laser radar scanning end frame L k+1The coordinates after correcting the point cloud distortion are for:
[0017]
[0018] S103: The corrected point cloud subframes are merged and spherical projection is performed to generate an intensity image. The formula of the intensity image coordinates (u, ν) corresponding to each lidar point P (x, y, z) is:
[0019] u=(π-atan2(y,x)) / (2π / w)
[0020]
[0021] Where: w and h are the width and height of the intensity image, respectively, foν max and foν min They are the maximum and minimum vertical angles of LiDAR, respectively.
[0022] As a further solution of the present invention: step S2 comprises:
[0023] S201: Laser odometer status X = [ G R L , G P L , G v L ,w L ] T , the predicted state at time k+1 and covariance for:
[0024]
[0025] in: G R L , G P L , G v L 、w L They are the attitude, position, and velocity of the laser radar in the global coordinate system and the angular velocity in the radar coordinate system. Update the value for the laser odometry, is the “addition” on the state manifold, the discrete state transfer function f(X,W)=[w L , G v L ,n v ,n w ] T , P and Q are the covariance matrix of state estimation and process noise respectively, W = [n v ,n w ] T , nv and n w are the Gaussian noise corresponding to the linear velocity and angular velocity, and F W as follows:
[0026]
[0027] in: is the predicted angular velocity in the LiDAR coordinate system, Δt is the time interval between two frames;
[0028] S202: LiDAR odometer uses the surface element measurement model to fuse the scan frame to the map matching point to plane residual r l Construct the observation equation:
[0029]
[0030] in: is the IMU pose in the current global coordinate system, the transformation matrix of LiDAR relative to IMU I T L , when calibration is not completed I T L is the unit matrix, the point in the LiDAR coordinate system L P j Switch to global map frame G P j Search for the nearest point in the local plane to get the normal u j and the point q in the plane j ;
[0031] S203: Re-state the point-surface residual in S202 as a quadratic cost optimization problem, and construct the Hessian matrix A′. Use the SVD algorithm to calculate A r ' r and A t ' t The matrix is analyzed and the characteristic matrix is decomposed into A t ' t =V t ∑ t V t T , application information pair (p i ,n i )Analyze the rotation vector V r and translation vector V t Constraints on the laser odometry, detecting the localizable vector Thus, the degradation of the LiDAR point cloud is reflected;
[0032]
[0033] Where: {Lv t1 , Lv t2 , Lv t3}∈V t ,{Lv r1 , Lv r2 , Lv r3}∈V r ,Ω j ∈{all, part, none} degenerate cases, n i is the midpoint p of the scan frame i Search for the nearest local normal of the point in the transformed point cloud map, where N is the number of information pairs in each frame and × is the vector cross product;
[0034] S204: When the detection point cloud has feature degradation, the point cloud with the largest pose constraint is resampled and the Lagrange multiplier method is used to construct an additional constraint equation to constrain the ΔX component of the laser odometer state δX to update:
[0035]
[0036] G=ΣC T (CΣC T ) -1
[0037]
[0038] Among them: r0 and t0 are the rotation and translation posture values when the point cloud does not degenerate, v j is the matrix V t or V r The corresponding column vector, (m r +m t )≤6 and m r and m t They represent the degenerate direction counts in the rotation and translation space respectively, ΔX is the rotation increment δr and translation increment δt, and the symbol * is the vector dot product.
[0039] As a further solution of the present invention: step S3 comprises:
[0040] S301: using a zero phase filter to remove measurement noise in the original measurement data, and performing downsampling linear interpolation on the IMU data;
[0041] S302: Quantifying LiDAR Angular Velocity Using Cross-Correlation And the downsampled IMU angular velocity The similarity between trajectories is used to construct a nonlinear optimization problem to estimate the time offset t within the laser odometry index range. d :
[0042]
[0043] Where: ||w|| is the modulus of vector w.
[0044] As a further solution of the present invention: step S4 comprises:
[0045] S401: LiDAR angular velocity obtained from S2 and line speed Data and angular velocity of IMU Perform central difference interpolation to obtain LiDAR angular acceleration and linear acceleration Angular acceleration with IMU
[0046] S402: LiDAR and IMU unified spatiotemporal constraints consist of the following two constraints:
[0047] Initialization time offset t d , the angular velocity of the IMU Angular acceleration With LiDAR Common composition constraint 1
[0048]
[0049] The corresponding residual r w for:
[0050]
[0051] in: represent The transpose of b g They are the LiDAR to IMU rotation external parameters and IMU gyroscope zero bias to be determined respectively;
[0052] IMU measurement data With LiDAR Composition constraint 2, its formula is:
[0053]
[0054] The corresponding residual r a for:
[0055]
[0056] in: b a are the LiDAR to IMU translation extrinsic parameters and IMU accelerometer zero bias to be determined, respectively. × Represented as the antisymmetric matrix corresponding to vector a;
[0057] S403: Constraints 1 and 2 together form a unified spatiotemporal constraint between LiDAR and IMU, which is used to solve the calibration parameter x calib:
[0058]
[0059] Among them: the calibration parameter x to be determined calib ={ I R L , I P L ,t d ,b a ,b g}, and is the covariance matrix corresponding to the residual rw and ra, ρ w and ρ a is assigned to the residual r w and r a The Cauchy kernel function.
[0060] As a further solution of the present invention: step S5 comprises:
[0061] S501: extracting stable feature points in the intensity image using the ORB algorithm, and then obtaining the position and posture of the intensity image frame based on the SFM algorithm;
[0062] S502: Taking into account the gyroscope zero bias b in the IMU original measurement data g and accelerometer bias b a This will seriously affect the IMU trajectory estimation accuracy. IMU fine-tuning modeling is used to obtain high-precision IMU posture trajectory. IMU fine-tuning modeling mainly includes gyroscope zero bias b g Refinement, scale factor s and gravity vector g w Initialization, scale factor s, acceleration bias b a and gravity vector refinement;
[0063] S503: Based on the inconsistent results between the SFM calculated intensity image frame attitude increment and the IMU predicted attitude increment, a nonlinear residual function is constructed to accurately solve the gyroscope zero bias b g :
[0064]
[0065] in: Represents the IMU attitude prediction result between two adjacent intensity image frames, is the posture of the intensity image in the world coordinate system, which can be obtained through SFM. Since the system is a rigid body motion and the intensity image is generated by the LiDAR point cloud projection, at the kth frame image Value and are equal, N represents the number of intensity image frames, Log(·): is the logarithmic mapping used to transform the rotation matrix from the Lie group SO(3) space to the Lie algebra SE(3) space;
[0066] S504: The gyro bias b obtained in S503 is g Substituting into the IMU pre-integration, the posture of the IMU data integration result between two consecutive intensity image frames at time k~k+1 in the world coordinate system is speed and location It can be obtained by the following formula:
[0067]
[0068] Where: Δt k,k+1 is the time interval between two adjacent frames from k to k+1, Represents the integrated value of the gyroscope between adjacent frames, are the first and second integral values of the accelerometer between adjacent frames, Represents the gyro bias b g The Jacobian for the rotation and position errors is, is the accelerometer bias b a The relevant rotational and positional error Jacobians;
[0069] According to the conversion equation between the image coordinate system and the IMU coordinate system: Convert the pose in world coordinates calculated by IMU data to intensity image coordinates
[0070]
[0071] Where: s is the scale factor of the intensity image. Since the intensity image is generated by the point cloud, the IMU coordinate system is transformed to the intensity image coordinate system. is the translation parameter between LiDAR and IMU
[0072] The ratio between adjacent intensity image frames Results difference elimination speed And use SVD decomposition to initialize the gravity vector g w and scale factor s;
[0073] S505: The magnitude and direction of gravity acceleration on Earth are known, and a priori constraints on the gravity vector, i.e., the direction vector of gravity, can be provided. In the inertial coordinate system, The magnitude is G, and the gravity vector g in the world coordinate system w The gravity vector is converted to the inertial coordinate system:
[0074]
[0075] in The rotation matrix from the inertial coordinate system to the world coordinate system is:
[0076]
[0077] Since the IMU yaw angle is not observable, it can only align the Z axis of the world coordinate system with the gravity direction. Therefore, only the perturbation angles δθ of the x and y axes are used for parameterization and constrained optimization as follows:
[0078]
[0079] Where: g w The first-order approximation is Convert it to the intensity image coordinate system:
[0080]
[0081] The intensity images between three consecutive key frames The result is subtracted to eliminate the influence of velocity variables, and SVD is used to accurately solve δθ and acceleration zero bias b a , refine the scale factor s and gravity vector;
[0082] S506: The angular velocity zero bias b obtained by optimization is g and acceleration bias b a Substitute into the S4 unified space-time constraint and optimize x through multiple iterations calib ={ I R L , I P L ,t d ,b a ,b g}.
[0083] Compared with the prior art, the present invention has the following beneficial effects:
[0084] A degradation detection module is constructed to constrain the update of the laser odometry to achieve robust and stable laser odometry in underground confined spaces. At the same time, the IMU zero bias is fully considered, and the IMU refined modeling with intensity information enhancement is innovatively introduced in the LiDAR / IMU calibration process. Additional constraints are introduced, that is, the SFM is used to estimate the intensity image pose and the IMU predicted pose to construct additional residual equations to accurately solve the IMU bias noise, accurately estimate the IMU zero bias, and provide a higher precision IMU trajectory, thereby achieving robust and accurate LiDAR / IMU extrinsic calibration in underground confined spaces. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 This is a flow chart of a LiDAR-IMU calibration algorithm for underground confined spaces according to the present invention;
[0086] Figure 2 The figure is a flow chart of a LiDAR-IMU calibration algorithm for underground confined spaces according to the present invention. DETAILED DESCRIPTION
[0087] The present invention will be further described below by way of examples.
[0088] like Figure 1 and Figure 2 As shown in the figure, a LiDAR-IMU calibration algorithm for underground confined spaces includes the following steps:
[0089] S1: The original LiDAR point cloud frame segmentation and point cloud distortion correction improve the data quality. After merging the sub-frame point clouds, spherical projection is performed to generate a high-quality intensity image. The specific steps include:
[0090] S101: First, the original point cloud frame is segmented into multiple sub-frames, and the timestamp ρ is calculated based on the uniform speed model. j ∈(t k ,t k+1 ) to the LiDAR scan end frame L k+1 Interval Δt j Relative position change within The formula is:
[0091] Δt j =t k+1 -ρ j
[0092]
[0093] in, and are the rotation and translation changes calculated based on the uniform velocity model. The exponential mapping Exp is used to transform the Lie algebra SE(3) to the Lie group SO(3). They are LiDAR scanning frames L k+1 The predicted angular and linear velocities of
[0094] S102: LiDAR measurements Projected to the laser radar scanning end frame L k+1 The coordinates after correcting the point cloud distortion are for:
[0095]
[0096] S103: The corrected point cloud subframes are merged and spherical projection is performed to generate an intensity image. The formula of the intensity image coordinates (u, ν) corresponding to each lidar point P (x, y, z) is:
[0097] u=(π-atan2(y,x)) / (2π / w)
[0098]
[0099] Where: w and h are the width and height of the intensity image, respectively, foν max and foν min They are the maximum and minimum vertical angles of LiDAR respectively;
[0100] S2: Build a point cloud degradation detection module to intelligently detect point cloud degradation in underground confined spaces, introduce additional constraints to improve the pose estimation capability, and significantly improve the pose estimation and map construction accuracy. The specific steps include:
[0101] S201: Laser odometer status X = [ G R L , G P L , G v L ,w L ] T , the predicted state at time k+1 and covariance for:
[0102]
[0103] in: G R L , G P L , G v L 、w L They are the attitude, position, and velocity of the laser radar in the global coordinate system and the angular velocity in the radar coordinate system. Update the value for the laser odometry, is the “addition” on the state manifold, the discrete state transfer function f(X,W)=[w L , G v L ,n v ,n w ] T , P and Q are the covariance matrix of state estimation and process noise respectively, W = [n v ,n w ] T , n v and n ware the Gaussian noise corresponding to the linear velocity and angular velocity, and F W as follows:
[0104]
[0105] in: is the predicted angular velocity in the LiDAR coordinate system, Δt is the time interval between two frames;
[0106] S202: LiDAR odometer uses the surface element measurement model to fuse the scan frame to the map matching point to plane residual r l Construct the observation equation:
[0107]
[0108] in: is the IMU pose in the current global coordinate system, the transformation matrix of LiDAR relative to IMU I T L , when calibration is not completed I T L is the unit matrix, the point in the LiDAR coordinate system L P j Switch to global map frame G P j Search for the nearest point in the local plane to get the normal u j and the point q in the plane j ;
[0109] S203: Re-state the point-surface residual in S202 as a quadratic cost optimization problem, and construct the Hessian matrix A′. Use the SVD algorithm to calculate A′ rr and A′ tt The matrix is analyzed and the characteristic matrix is decomposed into A′ tt =V t ∑ t V t T , application information pair (p i ,n i )Analyze the rotation vector V r and translation vector V t Constraints on the laser odometry, detecting the localizable vector Thus, the degradation of the LiDAR point cloud is reflected;
[0110]
[0111] Where: {Lv t1 , Lv t2 , Lv t3}∈Vt ,{Lv r1 , Lv r2 , Lv r3}∈V r ,Ω j ∈{all, part, none} degenerate cases, n i is the midpoint p of the scan frame i Search for the nearest local normal of the point in the transformed point cloud map, where N is the number of information pairs in each frame and × is the vector cross product;
[0112] S204: When the detection point cloud has feature degradation, the point cloud with the largest pose constraint is resampled and the Lagrange multiplier method is used to construct an additional constraint equation to constrain the ΔX component of the laser odometer state δX to update:
[0113]
[0114] G=ΣC T (CΣC T ) -1
[0115]
[0116] Among them: r0 and t0 are the rotation and translation posture values when the point cloud does not degenerate, v j is the matrix V t or V r The corresponding column vector, (m r +m t )≤6 and m r and m t They represent the degenerate direction counts in the rotation and translation space, respectively, ΔX is the rotation increment δr and the translation increment δt, and the symbol * is the vector dot product;
[0117] S3: Based on the cross-correlation method, the LiDAR odometer and IMU data are combined to construct a residual function and preliminarily achieve the time synchronization between LiDAR and IMU. The specific steps include:
[0118] S301: using a zero phase filter to remove measurement noise in the original measurement data, and performing downsampling linear interpolation on the IMU data;
[0119] S302: Quantifying LiDAR Angular Velocity Using Cross-Correlation And the downsampled IMU angular velocity The similarity between trajectories is used to construct a nonlinear optimization problem to estimate the time offset t within the laser odometry index range. d :
[0120]
[0121] Where: ||w|| is the modulus of vector w;
[0122] S4: Build a unified spatiotemporal constraint module, optimize time offset, initialize the relative pose between LiDAR and IMU, and the accelerometer and gyroscope zero bias. The specific steps include:
[0123] S401: LiDAR angular velocity obtained from S2 and line speed Data and angular velocity of IMU Perform central difference interpolation to obtain LiDAR angular acceleration and linear acceleration Angular acceleration with IMU
[0124] S402: LiDAR and IMU unified spatiotemporal constraints consist of the following two constraints:
[0125] Initialization time offset t d , the angular velocity of the IMU Angular acceleration With LiDAR Common composition constraint 1
[0126]
[0127] The corresponding residual r w for:
[0128]
[0129] in: represent The transpose of b g They are the LiDAR to IMU rotation external parameters and IMU gyroscope zero bias to be determined respectively;
[0130] IMU measurement data With LiDAR Composition constraint 2, its formula is:
[0131]
[0132] The corresponding residual r a for:
[0133]
[0134] in: b a are the LiDAR to IMU translation extrinsic parameters and IMU accelerometer zero bias to be determined, respectively. ×Represented as the antisymmetric matrix corresponding to vector a;
[0135] S403: Constraints 1 and 2 together form a unified spatiotemporal constraint between LiDAR and IMU, which is used to solve the calibration parameter x calib :
[0136]
[0137] Among them: the calibration parameter x to be determined calib ={ I R L , I P L ,t d ,b a ,b g}, and is the covariance matrix corresponding to the residual rw and ra, ρ w and ρ a is assigned to the residual r w and r a The Cauchy kernel function of ;
[0138] S5: IMU refined modeling with enhanced reflectivity intensity information, innovatively using SFM to calculate the intensity image pose and IMU predicted pose to construct the objective function, accurately calibrate the gyroscope and accelerometer zero bias, and iteratively optimize the translation and rotation external parameters of LiDAR / IMU. The specific steps include:
[0139] S501: extracting stable feature points in the intensity image using the ORB algorithm, and then obtaining the position and posture of the intensity image frame based on the SFM algorithm;
[0140] S502: Taking into account the gyroscope zero bias b in the IMU original measurement data g and accelerometer bias b a This will seriously affect the IMU trajectory estimation accuracy. IMU fine-tuning modeling is used to obtain high-precision IMU posture trajectory. IMU fine-tuning modeling mainly includes gyroscope zero bias b g Refinement, scale factor s and gravity vector g w Initialization, scale factor s, acceleration bias b a and gravity vector refinement;
[0141] S503: Based on the inconsistent results between the SFM calculated intensity image frame attitude increment and the IMU predicted attitude increment, a nonlinear residual function is constructed to accurately solve the gyroscope zero bias b g :
[0142]
[0143] in: Represents the IMU attitude prediction result between two adjacent intensity image frames, is the posture of the intensity image in the world coordinate system, which can be obtained through SFM. Since the system is a rigid body motion and the intensity image is generated by the LiDAR point cloud projection, at the kth frame image Value and are equal, N represents the number of intensity image frames, Log(·): is the logarithmic mapping used to transform the rotation matrix from the Lie group SO(3) space to the Lie algebra SE(3) space;
[0144] S504: The gyro bias b obtained in S503 is g Substituting into the IMU pre-integration, the posture of the IMU data integration result between two consecutive intensity image frames at time k~k+1 in the world coordinate system is speed and location It can be obtained by the following formula:
[0145]
[0146] Where: Δt k,k+1 is the time interval between two adjacent frames from k to k+1, Represents the integrated value of the gyroscope between adjacent frames, are the first and second integral values of the accelerometer between adjacent frames, Represents the gyro bias b g The Jacobian for the rotation and position errors is, is the accelerometer bias b a The relevant rotational and positional error Jacobians;
[0147] According to the conversion equation between the image coordinate system and the IMU coordinate system: Convert the pose in world coordinates calculated by IMU data to intensity image coordinates
[0148]
[0149] Where: s is the scale factor of the intensity image. Since the intensity image is generated by the point cloud, the IMU coordinate system is transformed to the intensity image coordinate system. is the translation parameter between LiDAR and IMU
[0150] The ratio between adjacent intensity image frames Results difference elimination speed And use SVD decomposition to initialize the gravity vector g w and scale factor s;
[0151] S505: The magnitude and direction of gravity acceleration on Earth are known, and a priori constraints on the gravity vector, i.e., the direction vector of gravity, can be provided. In the inertial coordinate system, The magnitude is G, and the gravity vector g in the world coordinate system w The gravity vector is converted to the inertial coordinate system:
[0152]
[0153] in The rotation matrix from the inertial coordinate system to the world coordinate system is:
[0154]
[0155] Since the IMU yaw angle is not observable, it can only align the Z axis of the world coordinate system with the gravity direction. Therefore, only the perturbation angles δθ of the x and y axes are used for parameterization and constrained optimization as follows:
[0156]
[0157] Where: g w The first-order approximation is Convert it to the intensity image coordinate system:
[0158]
[0159] The intensity images between three consecutive key frames The result is subtracted to eliminate the influence of velocity variables, and SVD is used to accurately solve δθ and acceleration zero bias b a , refine the scale factor s and gravity vector;
[0160] S506: The angular velocity zero bias b obtained by optimization is g and acceleration bias b a Substitute into the S4 unified space-time constraint and optimize x through multiple iterations calib ={ I R L , I P L ,t d ,b a ,b g}.
Claims
1. A LiDAR-IMU calibration algorithm for underground confined spaces, characterized in that: It includes the following steps: S1: The original LiDAR point cloud frame segmentation and point cloud distortion correction improve data quality, and spherical projection is performed after merging the sub-frame point clouds to generate high-quality intensity images; S2: Build a point cloud degradation detection module to detect point cloud degradation in underground confined spaces and introduce additional constraints to improve the accuracy of pose estimation and map construction; S3: Based on the cross-correlation method, the LiDAR odometer and IMU data are combined to construct a residual function, and the time synchronization of LiDAR and IMU is preliminarily achieved; S4: Build a unified spatiotemporal constraint module, optimize time offset, initialize the relative pose between LiDAR and IMU, and the accelerometer and gyroscope zero bias; S5: IMU refined modeling with enhanced reflectivity intensity information, using SFM to calculate the intensity image pose and IMU predicted pose to construct the objective function, accurately calibrate the gyroscope and accelerometer zero bias, and iteratively optimize the translation and rotation extrinsic parameters of LiDAR / IMU.
2. The LiDAR-IMU calibration algorithm for underground confined spaces according to claim 1, characterized in that: Step S1 includes: S101: First, the original point cloud frame is segmented into multiple sub-frames, and the timestamp ρ is calculated based on the uniform speed model. j ∈(t k ,t k+1 ) to the LiDAR scan end frame L k+1 Interval Δt j Relative position change within The formula is: Δt j =t k+1 -r j in, and are the rotation and translation changes calculated based on the uniform velocity model. The exponential mapping Exp is used to transform the Lie algebra SE(3) to the Lie group SO(3). They are LiDAR scanning frames L k+1 The predicted angular and linear velocities of S102: LiDAR measurements Projected to the laser radar scanning end frame L k+1 The coordinates after correcting the point cloud distortion are for: S103: The corrected point cloud subframes are merged and spherical projection is performed to generate an intensity image. The formula of the intensity image coordinates (u, ν) corresponding to each lidar point P (x, y, z) is: u=(π-atan2(y,x)) / (2π / w) Where: w and h are the width and height of the intensity image, respectively, foν max and foν min They are the maximum and minimum vertical angles of LiDAR, respectively.
3. The LiDAR-IMU calibration algorithm for underground confined spaces according to claim 2, characterized in that: Step S2 includes: S201: Laser odometer status X = [ G R L , G P L , G v L ,w L ] T , the predicted state at time k+1 and covariance for: in: G R L , G P L , G v L 、w L They are the attitude, position, and velocity of the laser radar in the global coordinate system and the angular velocity in the radar coordinate system. Update the value for the laser odometry, is the "addition" on the state manifold, the discrete state transfer function f(X,W)=[w L , G v L ,n v ,n w ] T , P and Q are the covariance matrix of state estimation and process noise respectively, W = [n v ,n w ] T , n v and n w are the Gaussian noise corresponding to the linear velocity and angular velocity, and F W as follows: in: is the predicted angular velocity in the LiDAR coordinate system, Δt is the time interval between two frames; S202: LiDAR odometer uses the surface element measurement model to fuse the scan frame to the map matching point to plane residual r l Construct the observation equation: in: is the IMU pose in the current global coordinate system, the transformation matrix of LiDAR relative to IMU I T L , when calibration is not completed I T L is the unit matrix, the point in the LiDAR coordinate system L P j Switch to global map frame G P j Search for the nearest point in the local plane to get the normal u j and the point q in the plane j ; S203: Re-state the point-surface residual in S202 as a quadratic cost optimization problem, and construct the Hessian matrix A′. Use the SVD algorithm to calculate A′ rr and A′ tt The matrix is analyzed and the characteristic matrix is decomposed into A′ tt =V t ∑ t V t T , application information pair (p i ,n i )Analyze the rotation vector V r and translation vector V t Constraints on the laser odometry, detecting the localizable vector Thus, the degradation of the LiDAR point cloud is reflected; Where: {Lv t1 , Lv t2 , Lv t3 }∈V t ,{Lv r1 , Lv r2 , Lv r3 }∈V r ,Ω j ∈{all, part, none} degenerate cases, n i is the midpoint p of the scan frame i Search for the nearest local normal of the point in the transformed point cloud map, where N is the number of information pairs in each frame and × is the vector cross product; S204: When the detection point cloud has feature degradation, the point cloud with the largest pose constraint is resampled and the Lagrange multiplier method is used to construct an additional constraint equation to constrain the ΔX component of the laser odometer state δX to update: G=ΣC T (CΣC T ) -1 Among them: r0 and t0 are the rotation and translation posture values when the point cloud does not degenerate, v j is the matrix V t or V r The corresponding column vector, (m r +m t )≤6 and m r and m t They represent the degenerate direction counts in the rotation and translation space respectively, ΔX is the rotation increment δr and translation increment δt, and the symbol * is the vector dot product.
4. The LiDAR-IMU calibration algorithm for underground confined spaces according to claim 3, characterized in that: Step S3 includes: S301: using a zero phase filter to remove measurement noise in the original measurement data, and performing downsampling linear interpolation on the IMU data; S302: Quantifying LiDAR Angular Velocity Using Cross-Correlation And the downsampled IMU angular velocity The similarity between trajectories is used to construct a nonlinear optimization problem to estimate the time offset t within the laser odometry index range. d : Where: ||w|| is the modulus of vector w.
5. The LiDAR-IMU calibration algorithm for underground confined spaces according to claim 3 or 4, characterized in that: Step S4 includes: S401: LiDAR angular velocity obtained from S2 and line speed Data and angular velocity of IMU Perform central difference interpolation processing to obtain LiDAR angular acceleration and linear acceleration Angular acceleration with IMU S402: LiDAR and IMU unified spatiotemporal constraints consist of the following two constraints: Initialization time offset t d , the angular velocity of the IMU Angular acceleration With LiDAR Common composition constraint 1 The corresponding residual r w for: in: represent The transpose of b g They are the LiDAR to IMU rotation external parameters and IMU gyroscope zero bias to be determined respectively; IMU measurement data With LiDAR Composition constraint 2, its formula is: The corresponding residual r a for: in: b a are the LiDAR to IMU translation extrinsic parameters and IMU accelerometer zero bias to be determined, respectively. × Represented as the antisymmetric matrix corresponding to vector a; S403: Constraint 1 and constraint 2 together constitute the unified spatiotemporal constraint between LiDAR and IMU, which is used to solve the calibration parameter x calib : Among them: the calibration parameter x to be determined calib ={ I R L , I P L ,t d ,b a ,b g }, and is the residual r w and r a The corresponding covariance matrix, ρ w and ρ a is assigned to the residual r w and r a The Cauchy kernel function.
6. The LiDAR-IMU calibration algorithm for underground confined spaces according to claim 5, characterized in that: Step S5 includes: S501: extracting stable feature points in the intensity image using the ORB algorithm, and then obtaining the position and posture of the intensity image frame based on the SFM algorithm; S502: Taking into account the gyroscope zero bias b in the IMU original measurement data g and accelerometer bias b a This will seriously affect the IMU trajectory estimation accuracy. IMU fine-tuning modeling is used to obtain high-precision IMU posture trajectory. IMU fine-tuning modeling mainly includes gyroscope zero bias b g Refinement, scale factor s and gravity vector g w Initialization, scale factor s, acceleration bias b a and gravity vector refinement; S503: Based on the inconsistent results between the SFM calculated intensity image frame attitude increment and the IMU predicted attitude increment, a nonlinear residual function is constructed to accurately solve the gyroscope zero bias b g : in: Represents the IMU attitude prediction result between two adjacent intensity image frames, is the pose of the intensity image in the world coordinate system, which can be obtained through SFM. Since the system is a rigid body motion and the intensity image is generated by the LiDAR point cloud projection, at the kth frame image Value and are equal, N represents the number of intensity image frames, Log(·): is the logarithmic mapping used to transform the rotation matrix from the Lie group SO(3) space to the Lie algebra SE(3) space; S504: The gyro bias b obtained in S503 is g Substituting into the IMU pre-integration, the posture of the IMU data integration result between two consecutive intensity image frames at time k~k+1 in the world coordinate system is speed and location It can be obtained by the following formula: Where: Δt k,k+1 is the time interval between two adjacent frames from k to k+1, Represents the integrated value of the gyroscope between adjacent frames, are the first and second integral values of the accelerometer between adjacent frames, Represents the gyro bias b g The Jacobian for the rotation and position errors is, is the accelerometer bias b a The relevant rotational and positional error Jacobians; According to the conversion equation between the image coordinate system and the IMU coordinate system: Convert the pose in world coordinates calculated by IMU data to intensity image coordinates Where: s is the scale factor of the intensity image. Since the intensity image is generated by the point cloud, the IMU coordinate system is transformed to the intensity image coordinate system. is the translation parameter between LiDAR and IMU The ratio between adjacent intensity image frames The result is to eliminate the speed of difference And use SVD decomposition to initialize the gravity vector g w and scale factor s; S505: The magnitude and direction of gravity acceleration on Earth are known, and a priori constraints on the gravity vector, i.e. the direction vector of gravity, can be provided. In the inertial coordinate system, The magnitude is G, and the gravity vector g in the world coordinate system w The gravity vector is converted to the inertial coordinate system: in The rotation matrix from the inertial coordinate system to the world coordinate system is: Since the IMU yaw angle is not observable, it can only align the Z axis of the world coordinate system with the gravity direction. Therefore, only the perturbation angles δθ of the x and y axes are used for parameterization and constrained optimization as follows: Where: g w The first-order approximation is Convert it to the intensity image coordinate system: The intensity images between three consecutive key frames The result is subtracted to eliminate the influence of velocity variables, and SVD is used to accurately solve δθ and acceleration zero bias b a , refine the scale factor s and gravity vector; S506: The angular velocity zero bias b obtained by optimization is g and acceleration bias b a Substitute into the S4 unified space-time constraint and optimize x through multiple iterations calib ={ I R L , I P L ,t d ,b a ,b g }.
Citation Information
Patent Citations
Outdoor large-scale scene three-dimensional mapping method fusing multiple sensors
CN112634451A
Mapping method and device, electronic equipment and storage medium
CN116499448A
Synchronous positioning and mapping method for underground complex environment
CN117589161A
Online calibration method based on laser and visual fusion
WO2022170847A1
Pose estimation method, laser-radar-inertial odometer, movable platform and storage medium
WO2023000294A1
Cited By
Visual inertia SLAM system pose guiding method and system
CN119803458A
Monorail hoist real-time map construction method and system oriented to underground roadway environment
CN121252771A
Photogrammetry joint calibration method and system based on hierarchical graph constraint
CN121708101A