A 3D LiDAR and IMU extrinsic calibration method based on graph optimization
Through the method based on graph optimization, sliding window and marginalization methods are used for LIDAR-IMU external parameter calibration, which solves the problem of complex and laborious calibration in the existing technology, and achieves fast, real-time and accurate calibration of lidar and IMU.
Patent Information
- Application Number
- CN202210038266.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-13
AI Technical Summary
The existing LIDAR-IMU external parameter calibration method has problems such as high requirements on the plane characteristics of the experimental environment, high computational intensity, and the need for frequent repeated calibrations, resulting in complexity and laboriousness.
Using a graph-based optimization method, by acquiring sensor data, performing IMU pre-integration, LiDAR point cloud projection, feature extraction and distance residual calculation, constructing an objective function and using sliding window and marginalization methods for optimization, realizing LiDAR and IMU external parameter calibration.
It realizes fast real-time external parameter calibration of lidar and IMU, improves the accuracy and calculation efficiency of calibration, simplifies the calibration process, and meets real-time needs.
Smart Images

Figure CN114397642B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-sensor calibration, and in particular to a three-dimensional laser radar and IMU extrinsic parameter calibration method based on graph optimization. Background Art
[0002] Multi-sensor fusion is an important technology for unmanned vehicles, mobile robots and surveying instruments to accurately perceive the environment. As the requirements for robots are getting higher and higher, using only a single sensor cannot accurately realize the robot's environmental perception. Therefore, multi-sensor fusion technology has attracted the attention of many domestic and foreign researchers; different sensors have different characteristics. For example, the inertial measurement unit (IMU) has a high update rate, but the sensor data has noise and drift; while the laser radar (LIDAR) has accurate depth perception capabilities, but it is prone to motion distortion during movement; therefore, the defects of a single sensor itself make the robot positioning result using a single sensor not accurate enough. Therefore, through data fusion, the shortcomings of multiple sensors can be compensated for each other, so that the overall perception ability of the carrier can be significantly improved.
[0003] For the data fusion of IMU and LiDAR, it is necessary to first calibrate the external parameters of LiDAR and IMU, that is, calculate the coordinate transformation between the coordinate systems of the two sensors. Figure 2 As shown in the figure, without calibrating the external parameters between sensors, when the robot is at position A, the point P observed by the radar will be converted to P1 by the IMU output. When the robot is at position B, the point P observed by the radar will be converted to P2 by the IMU output. Due to the inconsistency of the coordinate system, point P generates two points P1 and P2. Therefore, only by obtaining the precise coordinate transformation relationship between the two sensors (that is, calculating the transformation between the coordinate systems of each sensor), through data fusion, can the robot accurately detect the environment in an unknown environment, complete its own positioning, and simultaneously build a map of the surroundings. Therefore, sensor calibration is a technology with great application prospects and strong research value. Research on the external parameter calibration of lidar and IMU sensors is also very necessary.
[0004] At present, some researchers have achieved certain results in the study of LIDAR-IMU external parameter calibration. One of the existing methods is to use additional sensors or manually set specific targets to achieve it, which is time-consuming and laborious; the other is a targetless external parameter calibration method, which has the problems of high requirements for the plane characteristics of the experimental environment and high computational intensity in the objective function optimization process. At the same time, LIDAR-IMU external parameters are generally calibrated offline, requiring professionals to move the carrier to a fixed calibration environment. When the mechanical configuration of the sensor of the carrier equipment changes slightly, the calibration work needs to be repeated, which is both complicated and laborious. Summary of the invention
[0005] In view of the above problems, the present invention provides a three-dimensional laser radar and IMU extrinsic parameter calibration method based on graph optimization to achieve fast and real-time three-dimensional laser radar and IMU extrinsic parameter calibration.
[0006] To achieve the above object, the present invention provides a three-dimensional laser radar and IMU extrinsic parameter calibration method based on graph optimization, comprising:
[0007] Obtain the measurement data of the lidar and IMU in the sensor equipment respectively;
[0008] Performing IMU pre-integration on the measurement data of the IMU, obtaining an estimated value of the posture transformation of the IMU at the next moment according to the IMU pre-integration, and calculating the IMU residual;
[0009] Project the laser radar measurement data to the IMU coordinate system, and then project it to the world coordinate system to obtain a point cloud map, and obtain the distance residual between the laser radar point and the corresponding characteristic lines and characteristic surfaces in the point cloud map;
[0010] Based on the graphical model, an initial objective function and an initial optimization increment equation are obtained through the IMU residual and the distance residual;
[0011] A constant frame sliding window is set, a marginalized incremental optimization equation is obtained according to the initial optimization incremental equation, and a marginalized residual term is calculated;
[0012] Based on the graphical model, the objective function is obtained through the IMU residual, the distance residual, and the marginalized residual term;
[0013] Minimize the objective function to obtain the external parameter calibration of the lidar and IMU.
[0014] As a further improvement of the present invention, obtaining an estimated value of the posture transformation of the IMU at the next moment according to the IMU pre-integration includes:
[0015] Build IMU motion model;
[0016] Based on the IMU motion model, the IMU posture state transformation equation of the laser radar point between two adjacent frames is obtained by using quaternion method;
[0017] The IMU posture state transformation equation is used to calculate the IMU posture transformation estimate at the next moment.
[0018] As a further improvement of the present invention, the IMU residual is calculated based on the estimated value of the posture transformation of the IMU at the next moment and the actual measurement value of the IMU at the next moment.
[0019] As a further improvement of the present invention, the step of obtaining the distance residuals between the laser radar points and the corresponding characteristic lines and characteristic surfaces in the point cloud image includes:
[0020] Extracting features from the point cloud image to obtain line feature points and surface feature points;
[0021] Constructing distance equations from the laser radar point to the line fitted by the linear feature point in the point cloud image and to the surface fitted by the surface feature point in the point cloud image respectively;
[0022] The two distance equations are minimized to obtain the distance residual from point to line and the distance residual from point to surface respectively.
[0023] As a further improvement of the present invention, feature extraction is performed on the point cloud image to obtain line feature points and surface feature points; comprising:
[0024] The spatial coordinates of the k-th laser radar point i in the laser radar coordinate system are represented as The set of neighboring points centered on i is denoted as S, and the formula for the curvature c is:
[0025]
[0026] The curvature of each lidar point is calculated according to the curvature formula, and the points with curvature greater than 0.1 are recorded as line feature points, and the points with curvature less than 0.1 are recorded as surface feature points.
[0027] As a further improvement of the present invention, the graph-based model, obtaining the initial objective function through the IMU residual and the distance residual, includes:
[0028] Based on the graphical model, the lidar and IMU external parameters can be expressed as maximum likelihood estimation:
[0029]
[0030] in,
[0031] Z represents the measured value;
[0032] F represents the initialization objective function;
[0033] According to the IMU residual and distance residual, the initialization objective function is expressed as:
[0034]
[0035] in,
[0036] de and dp represent the distance residuals between the lidar point and the corresponding feature line and feature surface in the point cloud image, respectively;
[0037] Represents the IMU residual.
[0038] As a further improvement of the present invention, the obtaining of the initial optimization increment equation comprises:
[0039] By performing nonlinear optimization on most objective functions, the incremental optimization equation is obtained:
[0040] HδX=b
[0041] in:
[0042] H=ΣJ T C -1 J
[0043] b=Σ J TC -1 r
[0044] J represents the Jacobi equation of the residual state quantity;
[0045] C represents the covariance matrix of the state;
[0046] r represents the residual of the cost equation;
[0047] δX represents the error state to be estimated;
[0048] By solving the error state to be estimated δX, update the variable X to be optimized r ,but:
[0049]
[0050] in,
[0051] ○ represents a small angle update of the quaternion.
[0052] As a further improvement of the present invention, the method of setting a constant frame sliding window, obtaining a marginalized incremental optimization equation according to an initial optimization incremental equation, and calculating a marginalized residual term comprises:
[0053] Using the marginalization method, when a key frame enters the sliding window, the constraint conditions of the key frame to be discarded are retained, and the marginalization incremental optimization equation is expressed as:
[0054]
[0055] The marginal optimization equation is obtained by using the elimination method:
[0056]
[0057] in,
[0058] X m represents the amount of optimization that needs to be marginalized;
[0059] X rIndicates that the optimized variables need to be retained;
[0060] According to the initialization optimization equation and marginalization optimization equation, calculate the variable X that needs to be optimized before and after marginalization r , and obtain the marginalized error term.
[0061] As a further improvement of the present invention, the objective function is obtained by using the IMU residual, distance residual, and marginalized residual term based on the graph model; including:
[0062] Based on the graphical model, the lidar and IMU external parameters can be expressed as maximum likelihood estimation:
[0063]
[0064] in,
[0065] Z represents the measured value;
[0066] F(X) represents the objective function;
[0067] According to the IMU residual, distance residual and marginalized residual terms, the objective function is expressed as:
[0068]
[0069] in,
[0070] de and dp represent the distance residuals between the lidar point and the corresponding feature line and feature surface in the point cloud image, respectively;
[0071] Represents IMU residual;
[0072] r p represents the marginalized residual term.
[0073] As a further improvement of the present invention, the Gauss-Newton method is used to minimize the IMU residual, distance residual and marginalized residual terms in the objective function to obtain the laser radar and IMU external parameter calibration.
[0074] Compared with the prior art, the present invention has the following beneficial effects:
[0075] Compared with the prior art, the present invention realizes real-time calibration of external parameters of lidar and IMU by setting a sliding window to obtain the latest status of sensor equipment in real time, which is simple and fast. At the same time, in the calibration calculation, the present invention uses the relationship between the lidar coordinate system and the IMU coordinate system to generate a point cloud map, and obtains the distance residuals of the lidar point-to-plane and the lidar point-to-line corresponding to the characteristic lines and characteristic faces in the point cloud map, and uses the distance residuals as the constraint condition for the external parameter calibration, thereby improving the accuracy of the external parameter calibration.
[0076] In order to ensure the computational complexity of the optimization process, the present invention sets the sliding window as a fixed frame, achieves a balance between computational efficiency and accuracy, and meets the requirements of real-time calibration.
[0077] When the fixed frame sliding window is used in the present invention, in order to avoid the influence of discarding state data, a marginalization method is adopted to obtain the marginalized residual term, and then the marginalized residual term is used as a constituent term of the objective function, thereby further improving the accuracy of the optimization of the external parameters of the lidar and IMU. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A flow chart of a method for calibrating three-dimensional laser radar and IMU external parameters based on graph optimization disclosed in an embodiment of the present invention;
[0079] Figure 2 A diagram showing the difference in coordinate systems of each sensor in a multi-sensor device disclosed in the background technology of the present invention;
[0080] Figure 3 A simplified schematic diagram of a three-dimensional laser radar and IMU extrinsic parameter calibration method based on graph optimization disclosed in an embodiment of the present invention;
[0081] Figure 4 A schematic diagram of the relationship between the laser radar factor and the IMU factor in a graphical model disclosed in an embodiment of the present invention;
[0082] Figure 5 A point cloud diagram display diagram disclosed in an embodiment of the present invention;
[0083] Figure 6 A schematic diagram of line feature points disclosed in an embodiment of the present invention;
[0084] Figure 7 A schematic diagram of surface feature points disclosed in an embodiment of the present invention;
[0085] Figure 8 A schematic diagram of point-to-line and point-to-plane geometric constraints disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0086] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0087] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0088] like Figure 1 , 3 As shown, the present invention provides a three-dimensional laser radar and IMU external parameter calibration method based on graph optimization, including:
[0089] S1, respectively obtain the measurement data of the laser radar and IMU in the sensor equipment;
[0090] S2, perform IMU pre-integration on the IMU measurement data, obtain the IMU pose transformation estimate at the next moment based on the IMU pre-integration, and calculate the IMU residual;
[0091] Among them, include:
[0092] Build IMU motion model;
[0093] Based on the IMU motion model, the IMU posture state transformation equation of the lidar point between two adjacent frames is obtained using quaternion method;
[0094] Calculate the estimated value of the IMU posture transformation at the next moment according to the IMU posture state transformation equation;
[0095] The IMU residual is calculated based on the IMU's estimated pose transformation value at the next moment and the IMU's actual measurement value at the next moment.
[0096] Specific:
[0097] The IMU motion model is constructed based on the angular velocity and linear velocity measured by the IMU. The letter b is set to represent the IMU carrier coordinate system, and the letter W is set to represent the world coordinate system. Representing the rotation transformation matrix from the world coordinate system to the IMU coordinate system, we can get:
[0098]
[0099]
[0100] in,
[0101] wg represents the gravity vector in the world coordinate system.
[0102] They represent the acceleration and angular velocity at a certain moment measured in the IMU coordinate system respectively; a b (t), w b (t) represent the true values of acceleration and angular velocity in the IMU coordinate system, which contain interference from its own deviation and random noise.
[0103] b a (t), b g (t) represent the accelerometer bias and random noise of the accelerometer, respectively;
[0104] na (t), n g (t) represent the gyroscope bias and the random noise of the gyroscope, respectively.
[0105] Then we get the IMU motion equation:
[0106]
[0107] Among them, p W , v W , a W Represent the position, velocity and acceleration in the world coordinate system respectively;
[0108] The IMU pose state between two lidar keyframes is expressed using quaternions as follows:
[0109]
[0110]
[0111]
[0112] in:
[0113]
[0114] IMU pre-integration can avoid the problem of repeated integration. During IMU pre-integration, the reference system needs to be converted from the world coordinate system to the IMU coordinate system, that is, multiply both sides of the above formula by Get the IMU pose state in the IMU coordinate system at time bk+1:
[0115]
[0116]
[0117]
[0118] Among them, α, β and γ are the results of IMU pre-integration:
[0119]
[0120] The median method is used to discretize the result of IMU pre-integration to obtain:
[0121]
[0122]
[0123]
[0124] in:
[0125]
[0126]
[0127] According to the calculated IMU pose transformation estimate and the actual IMU measurement value at the next moment (e.g., subtract the IMU pose information of the m+1 frame predicted by the IMU pose information when the m+1 frame LiDAR data arrives from the IMU pose information of the m+1 frame LiDAR, and obtain the pose residual of the IMU at the moment of the m-frame LiDAR data), constrain the state between the two moments and obtain the IMU residual:
[0128]
[0129] S3, project the laser radar measurement data to the IMU coordinate system, and then project it to the world coordinate system to obtain a point cloud map (such as Figure 5 As shown), obtain the distance residual between the laser radar point and the corresponding feature line and feature surface in the point cloud image;
[0130] Among them, include:
[0131] Extract features from the point cloud to obtain line feature points and surface feature points (such as Figure 6 , 7 shown);
[0132] Construct distance equations from the laser radar point to the line fitted by the linear feature points in the point cloud image and to the surface fitted by the surface feature points in the point cloud image;
[0133] Minimize the two distance equations to obtain the point-to-line distance residual and the point-to-plane distance residual respectively.
[0134] Specific:
[0135] S3.1 extracts features from the laser radar point cloud. The specific process of extracting features includes the following sub-steps:
[0136] (1) Dealing with the problem of laser radar point cloud distortion. Assume that the robot and other carriers move at a constant speed during the work process, that is, the linear velocity and angular velocity of the laser radar remain constant during a laser radar scan. Assume that is the starting time when the laser radar starts scanning, is the ending time when the laser radar completes a scan, and the relative position transformation of the laser radar at time relative to time is recorded as, then the laser radar point cloud i can be compensated according to the following formula:
[0137]
[0138] (2) The point cloud after laser radar point cloud distortion processing is denoted as T, a certain point in point cloud T is denoted as i, the set of neighboring points centered on i is denoted as S, the curvature of each point is denoted as c, and the spatial coordinates of the k-th laser radar point i in the laser radar coordinate system are denoted as The formula for curvature is:
[0139]
[0140] (3) The laser radar point cloud of each frame is divided into six equal parts, and the curvature of the points in each area is calculated. After the curvature of each point is calculated, the points are sorted in order according to the size of the curvature. The points with a curvature greater than 0.1 are recorded as line feature points, and the points with a curvature less than 0.1 are recorded as surface feature points.
[0141] S3.2 projects the lidar points to the IMU using coordinate transformation, and uses IMU pre-integration to project them to the world coordinate system to perform point-to-face and point-to-line radar feature matching on the basis of point-to-face and point-to-line radar feature matching on the feature point cloud of the current radar and the corresponding feature surfaces and feature lines in the generated point cloud map; uses the nearest neighbor search algorithm (KDTree search method) to find the nearest point j of point i in the local point cloud map, and find the second closest point l around j, so (j,l) is called the edge correspondence of point i in the map spliced by the point cloud; associated plane feature method: similarly, first find the nearest point j of i in the map spliced by the point cloud, find the second closest points l and m around j, and (j,l,m) is called the face correspondence of point i in the point cloud map.
[0142] like Figure 8 As shown in the figure, the distance equations from point to line and point to surface can be constructed based on the geometric constraint graphs from point to line and point to surface, and used as the correlation parameters between the IMU measurement data and the laser radar measurement data. Then the distance residuals from the laser radar point to line and point to surface are expressed as:
[0143]
[0144]
[0145] Among them, i, j, v, w are the corresponding feature association points, is the coordinate of the line feature point of the k+1th frame point cloud, is the coordinate of the surface feature point of the k+1th frame point cloud.
[0146] S4. Based on the graphical model, the initial objective function and initial optimization increment equation are obtained through IMU residuals and distance residuals;
[0147] in,
[0148] Based on the graph model, the external parameters of LiDAR and IMU can be expressed as maximum likelihood estimation:
[0149]
[0150] in,
[0151] Z represents the measured value;
[0152] F represents the initialization objective function;
[0153] According to the IMU residual and distance residual, the initialization objective function is expressed as:
[0154]
[0155] in,
[0156] de and dp represent the distance residuals between the lidar point and the corresponding feature line and feature surface in the point cloud image, respectively;
[0157] Represents IMU residual;
[0158] Then, by performing nonlinear optimization on most objective functions, the incremental optimization equation is obtained:
[0159] HδX=b
[0160] in:
[0161]
[0162]
[0163] J represents the Jacobi equation of the residual state quantity;
[0164] C represents the covariance matrix of the state;
[0165] r represents the residual of the cost equation;
[0166] δX represents the error state to be estimated;
[0167] By solving the error state to be estimated δX, update the variable X to be optimized r ,but:
[0168]
[0169] in,
[0170] ○ represents a small angle update of the quaternion.
[0171] S5, setting a constant frame sliding window, obtaining a marginalized incremental optimization equation according to the initial optimization incremental equation, and calculating a marginalized residual term;
[0172] Among them, include:
[0173] In the prior art, in the optimization process of the objective function, the amount of calculation will increase with the number of key frames and the size of the state quantity to be optimized. In order to ensure the computational complexity in the optimization process, the optimization of the objective function of the present application is completed in a sliding window, and a constant number of frames is maintained in the sliding window, such as: maintaining the state quantity of 11 frames. By setting the number of frames, a balance between computational efficiency and accuracy can be achieved; after the arrival of a new key frame, an old key frame needs to be removed from the sliding window. Directly discarding the state quantity of the old frame will result in the loss of constraint information between other frames in the sliding window and the frame. By using marginalization, the constraint information of the corresponding discarded state quantity can be retained as a priori residual term (marginalized residual term).
[0174] Using the marginalization method, when a key frame enters the sliding window, the constraints corresponding to the key frame to be discarded are retained, and the marginalization incremental optimization equation is expressed as:
[0175]
[0176] Use Schur elimination:
[0177]
[0178]
[0179] After elimination, the marginal optimization equation is obtained:
[0180]
[0181] in,
[0182] X m represents the amount of optimization that needs to be marginalized;
[0183] X r Indicates that the optimized variables need to be retained;
[0184] Since the marginal optimization equation is obtained by elimination, in fact, no constraint information is lost in the equation. It is just that more constraints are added to the retained optimization variables. Define H P , b po for:
[0185]
[0186]
[0187] When marginalization is taking place, is represented as the subsequent state. In the next optimization, the new estimate of the subsequent state will be It will return a new for:
[0188]
[0189] Furthermore, when marginalization occurs, b po is fixed by providing H p and b p , according to the initialization optimization equation and the marginalization optimization equation, calculate the variable X that needs to be optimized before and after marginalization r The estimated value of , obtains the marginalized error term; the marginalized error term can be written as:
[0190]
[0191] S6. Based on the graph model, the objective function is obtained through IMU residual, distance residual, and marginalized residual terms;
[0192] in,
[0193] like Figure 4 As shown in the figure, the problem of solving the external parameters of LiDAR and IMU can be represented by a graph model; the graph structure mainly consists of two parts: nodes and edges. Figure 4 The node C in the middle represents the external parameters of the lidar and IMU to be solved, where represents rotation, represents translation, the black square represents the lidar factor, the black circle represents the IMU factor, and the node In represents the posture and speed of the IMU at time tn. The superscript n represents the nth scan from the lidar, and the subscript W represents the world coordinate system. The goal of this calibration method is mainly to estimate the external parameters C of the lidar and IMU and the IMU direction R, position P and speed V of each lidar scan. X can be used to represent the main estimated state, that is:
[0194]
[0195] The external parameters of LiDAR and IMU can be expressed as maximum likelihood estimation, namely:
[0196]
[0197] in,
[0198] Z represents the measured value;
[0199] F(X) represents the objective function;
[0200] The calibration method proposed in this paper adds a sliding window control optimization amount processing mechanism, which involves the problem of marginalization processing of the prior residual of discarded frames. Therefore, the external parameter calibration problem can be solved by minimizing the point-to-surface distance and point-to-line distance of the lidar residual, the IMU measurement residual and the marginalization prior residual. That is, the external parameters are solved according to the IMU residual, distance residual and marginalization residual terms, so the objective function can be expressed as:
[0201]
[0202] in,
[0203] de and dp represent the distance residuals between the lidar point and the corresponding feature line and feature surface in the point cloud image, respectively;
[0204] Represents IMU residual;
[0205] r p represents the marginalized residual term.
[0206] S7. Minimize the objective function and obtain the external parameter calibration of the lidar and IMU.
[0207] in,
[0208] The Gauss-Newton method is used to minimize the IMU residual, distance residual and marginalized residual terms in the objective function to obtain the external parameter calibration of the lidar and IMU.
[0209] Advantages of the present invention:
[0210] Compared with the prior art, the present invention realizes real-time calibration of external parameters of lidar and IMU by setting a sliding window to obtain the latest status of sensor equipment in real time, which is simple and fast. At the same time, in the calibration calculation, the present invention uses the relationship between the lidar coordinate system and the IMU coordinate system to generate a point cloud map, and obtains the distance residuals of the lidar point-to-plane and the lidar point-to-line corresponding to the characteristic lines and characteristic faces in the point cloud map, and uses the distance residuals as the constraint condition for the external parameter calibration, thereby improving the accuracy of the external parameter calibration.
[0211] In order to ensure the computational complexity of the optimization process, the present invention sets the sliding window as a fixed frame, achieves a balance between computational efficiency and accuracy, and meets the requirements of real-time calibration.
[0212] When the fixed frame sliding window is used in the present invention, in order to avoid the influence of discarding state data, a marginalization method is adopted to obtain the marginalized residual term, and then the marginalized residual term is used as a constituent term of the objective function, thereby further improving the accuracy of the optimization of the external parameters of the lidar and IMU.
[0213] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A three-dimensional laser radar and IMU extrinsic parameter calibration method based on graph optimization, characterized in that: include: Obtain the measurement data of the lidar and IMU in the sensor equipment respectively; Performing IMU pre-integration on the measurement data of the IMU, obtaining an estimated value of the posture transformation of the IMU at the next moment according to the IMU pre-integration, and calculating the IMU residual; Project the laser radar measurement data to the IMU coordinate system, and then project it to the world coordinate system to obtain a point cloud map, and obtain the distance residual between the laser radar point and the corresponding characteristic lines and characteristic surfaces in the point cloud map; Based on the graphical model, an initial objective function and an initial optimization increment equation are obtained through the IMU residual and the distance residual; A constant frame sliding window is set, a marginalized incremental optimization equation is obtained according to the initial optimization incremental equation, and a marginalized residual term is calculated; Based on the graphical model, the objective function is obtained through the IMU residual, the distance residual, and the marginalized residual term; Minimize the objective function to obtain the external parameter calibration of the lidar and IMU.
2. The method according to claim 1, characterized in that: Obtaining an estimated value of the posture transformation of the IMU at the next moment according to the IMU pre-integration, including: Build IMU motion model; Based on the IMU motion model, the IMU posture state transformation equation of the laser radar point between two adjacent frames is obtained by using quaternion method; The IMU posture state transformation equation is used to calculate the IMU posture transformation estimate at the next moment.
3. The method according to claim 1, characterized in that: The step of obtaining the distance residuals between the laser radar points and the corresponding feature lines and feature surfaces in the point cloud image includes: Extracting features from the point cloud image to obtain line feature points and surface feature points; Constructing distance equations from the laser radar point to the line fitted by the linear feature point in the point cloud image and to the surface fitted by the surface feature point in the point cloud image respectively; The two distance equations are minimized to obtain the distance residual from point to line and the distance residual from point to surface respectively.
4. The method according to claim 1, characterized in that: The Gauss-Newton method is used to minimize the IMU residual, distance residual and marginalized residual terms in the objective function to obtain the laser radar and IMU external parameter calibration.
Citation Information
Patent Citations
Method and system for laser-IMU external parameter calibration
CN111207774A
Mobile robot pose estimation method and system based on multi-sensor tight coupling
CN113436260A
