Sensor parameter calibration and state estimation device and method based on error state Kalman filter
Through multi-sensor fusion technology based on error state Kalman filter, combined with deep learning and error propagation model, the problem of poor vehicle positioning accuracy and robustness is solved, high-precision and real-time positioning in complex environments is achieved, and the system is improved. adaptability and user experience.
Patent Information
- Application Number
- CN202410760578.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-15
AI Technical Summary
The existing technology has poor vehicle positioning accuracy and robustness in complex environments. Traditional filters rely on initial sensor parameter calibration and lack real-time performance, making it difficult to ensure system stability and robustness.
The sensor parameter calibration and state estimation method based on the error state Kalman filter is used, combined with multi-sensor fusion technology, using lidar and deep learning for pose estimation. The sensor parameter calibration and state are realized through the error propagation model and covariance matrix update. estimate.
It improves positioning accuracy and robustness, ensures the real-time and adaptability of the system in different environments, and provides more accurate and reliable positioning services.
Smart Images

Figure CN118776590A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of inertial navigation and state estimation, and in particular relates to a sensor parameter calibration and state estimation device and method based on an error state Kalman filter. Background Art
[0002] With the continuous advancement of science and technology, autonomous driving technology has become one of the most anticipated applications in the field of artificial intelligence, and its development potential is huge. In the development of autonomous vehicles and intelligent robots, it is crucial to ensure accurate and reliable positioning of vehicles, as this determines the realization of functions such as navigation, collision warning, and automatic parking. Traditional positioning technology mainly relies on the combined use of global navigation satellite systems (GNSS) and inertial measurement units (IMUs). However, in complex environments such as urban canyons, woods, underground parking lots, and tunnels, GNSS signals may be blocked, which poses a challenge to vehicle positioning. In order to improve positioning accuracy and robustness, it is necessary to develop new multi-sensor fusion positioning systems and design new filters to ensure real-time performance of the system while improving accuracy. At the same time, commonly used filter methods are mostly such as Kalman filtering and its variants, which are extremely dependent on accurate initial sensor parameter calibration and need to be improved to improve the stability and robustness of the system.
[0003] Therefore, the existing technology requires a positioning method based on multi-sensor fusion sensor parameter estimation and state estimation to solve the problem of poor positioning accuracy and robustness caused by sensor parameter changes. At the same time, a new filter needs to be designed to ensure good real-time and robustness of the positioning system. Summary of the invention
[0004] In view of the shortcomings of the above-mentioned prior art, the present invention provides a sensor parameter calibration and state estimation device and method based on an error state Kalman filter, aiming to solve the problems of poor positioning accuracy and robustness of robots and intelligent vehicles, while ensuring that the positioning system has good real-time performance.
[0005] In order to solve the above problems, the technical solution of a sensor parameter calibration and state estimation device and method based on an error state Kalman filter of the present invention is as follows:
[0006] A sensor parameter calibration and state estimation device based on an error state Kalman filter, comprising a sensor input module, a laser radar posture estimation module based on feature extraction, a sensor data fusion module, an error propagation module, a covariance matrix update module, a sensor parameter calibration module and a posture output module;
[0007] The sensor input module is used to measure three-axis acceleration and angular velocity, vehicle instantaneous velocity, laser radar data sequence, and position and velocity observation data;
[0008] The deep learning-based radar pose estimation module is used to receive the laser radar sequence sent by the laser radar, process the laser radar sequence using a neural network to obtain the radar pose, and send the final radar pose to the sensor data fusion module;
[0009] The sensor data fusion module is used to receive the three-axis acceleration and angular velocity sent by the sensor module, the camera posture sent by the deep learning-based radar posture estimation module, and the position and velocity observation data sent by the sensor module; the three-axis acceleration and angular velocity are predicted and processed to obtain the prediction result and send it to the error propagation module; the radar posture, position and velocity observation data are processed to obtain the observation equation and send it to the error propagation module; the error propagation module is used to receive the predicted state sent by the sensor data fusion module, use the error state dynamics model to obtain the error state vector and send it to the update module;
[0010] The covariance matrix update module is used to receive the sensor observation data and the predicted state vector sent by the sensor data fusion module, receive the error state vector sent by the error propagation module, and perform generalized summation of the error state vector and the predicted state vector to output the final position, velocity and attitude information;
[0011] The sensor parameter calibration module is used to update the covariance matrix P in the state vector;
[0012] The posture output module is used to update the actual state using the residual measured by the sensor.
[0013] Furthermore, the sensor module includes four sensors, namely, IMU, wheel speed odometer, lidar and GPS; the IMU is used to measure three-axis acceleration and angular velocity and send the measurement results to the sensor data fusion module; the wheel speed odometer is used to obtain the instantaneous speed of the vehicle and send it to the sensor data fusion module; the lidar is used to obtain the lidar data sequence and send it to the lidar posture estimation module; the GPS is used to receive position and speed observation data and send the received position observation data to the sensor data fusion module.
[0014] Furthermore, the radar pose estimation module based on deep learning includes a range finding network, a mask network and a lidar loss function module. The range finding network uses a ResNet50 network as the second encoder and a fully connected layer module, which is responsible for processing the lidar sequence and extracting features to generate lidar features; the fully connected layer module includes two fully connected layers connected in series, which receive the lidar features and the feature importance weights sent by the attention module, complete the pose regression through the fully connected layer, and obtain the lidar pose;
[0015] The mask network uses a Transformer-based encoder and decoder to process the LiDAR sequence through a self-attention mechanism, detect consistent regions in consecutive frames, and generate a predicted mask.
[0016] The laser radar loss function module receives the laser radar pose, the predicted mask and the fused pose, calculates the intensity loss function of the laser radar and the cross entropy loss function of the predicted mask; and obtains the final laser radar loss function after allocating the scaling factor.
[0017] The present invention also discloses a sensor parameter calibration and state estimation method of a sensor parameter calibration and state estimation device based on an error state Kalman filter, comprising the following steps:
[0018] Step 1: Roughly calibrate the vehicle-mounted sensors, including spatial calibration and temporal calibration. The vehicle-mounted sensors refer to IMU, wheel speed odometer, lidar and GPS.
[0019] Step 2: Use the calibrated lidar to obtain the lidar sequence, and use the neural network to estimate the lidar pose based on the lidar sequence.
[0020] Furthermore, the step 2 includes the following steps: step 2.1: inputting the laser radar sequence into the ranging network and the mask network, extracting features through the ranging network to obtain laser radar features, and detecting consistent areas in continuous frames of the laser radar sequence through the mask network to obtain a predicted mask;
[0021] Step 2.2: Input the obtained LiDAR features into the third encoder and the SoftMax activation function to obtain the feature importance weights;
[0022] Step 2.3: Assign feature importance weights to features and use the fully connected layer module to perform pose regression to obtain the lidar pose;
[0023] Step 2.4: Input the obtained LiDAR pose into the multi-layer perceptron to obtain the fused pose;
[0024] Step 2.5: Calculate the loss function of the lidar based on the lidar pose and the fused pose, and calculate the loss function of the predicted mask based on the predicted mask and the fused pose.
[0025] Furthermore, the intensity loss function of the laser radar is:
[0026]
[0027] Among them, L l represents the intensity loss function of the laser radar; M s (x t) represents the error weight from the source frame to the target frame; I t (xx) represents the target frame set; represents the set of reconstructed source frames; x t represents the target frame; N represents the total number of frames in the LiDAR sequence; n represents the first frame in the LiDAR sequence.
[0028] Furthermore, the cross entropy loss function of the predicted mask is:
[0029]
[0030] Among them, I m represents the cross entropy loss function of the predicted mask; P(M s (x t )=1) represents the cross entropy when the prediction mask of the target frame is 1.
[0031] Furthermore, the robot state The robot state quantity for
[0032]
[0033] in w q is the rotation angle, w p is the position of the robot in the coordinate system, w v is the velocity of the robot in the global coordinate system, b a , b g They are the deviations of acceleration and angular velocity measured by IMU, v q imu is the angular installation error of the IMU; the estimated value of the observation quantity is related to the measured value as follows:
[0034]
[0035] in represents the increment operation of quaternion, Exp represents the exponential mapping function, which maps the elements in Lie algebra to a rotation matrix, which is consistent with the standard matrix exponential function. g is the known gravity vector, and the value of g is 9.79m / s 2 .a m and ω m are the measured linear acceleration and angular velocity from the IMU, dt is the time interval between two IMU timestamps;
[0036] According to the estimated value and the actual value of each observed quantity, the propagation model of the error state is obtained as follows:
[0037]
[0038] in is the updated status of the previous timestamp, is the predicted state at the current timestamp. Function f is the state prediction function, matrix F is the predicted Jacobian matrix of the linearized system, and vector ω is the noise part;
[0039] The transfer matrix F in the propagation model is
[0040]
[0041] The error state covariance in the error propagation module is:
[0042] P pred =FPF T +UQU T
[0043] The matrix p pred is the prediction covariance matrix at the current prediction timestamp, P is the update covariance matrix at the last update timestamp, and U and Q are the Jacobian matrices of the noise matrix and the perturbation, respectively:
[0044]
[0045] in is the noise variance determined by the IMU or from experimental measurements.
[0046] Furthermore, the covariance matrix update module uses the observed values of the sensor to update the state, defining the wheel speed encoder in the sensor to measure the speed in the vehicle body coordinate system. Define the measurement function h(x) to align the velocity in the vehicle coordinate system:
[0047] The update part of the wheel speed in the covariance matrix update module is:
[0048] y=zh(x)= w v m - w q -1 w v
[0049]
[0050] where w v is the velocity of the robot in the world coordinate system;
[0051] The update part of GNSS in the covariance matrix update module is:
[0052] y=zh(x)= w p m -( w p+ w qpgnss )
[0053]
[0054] where p gnss It is the antenna installation deviation between the vehicle and the GNSS antenna. This external parameter is measured when the antenna is installed. w p m It is the GNSS that measures the vehicle position in the world coordinate system;
[0055] The update part of the LiDAR measurement in the covariance matrix update module is:
[0056] y=zh(x)= w q m m p l -( w p+ w qp lidar )
[0057]
[0058] where p lidar It is the installation deviation between the vehicle and the lidar. This external parameter can be measured during installation.
[0059] m p l It is the LiDAR that measures the vehicle position in the map coordinate system.
[0060] Furthermore, the sensor parameter calibration module is used to update the covariance matrix P in the state vector, and its update equation is:
[0062] S=HPH T +R
[0063] P=(I-KH)P pred
[0064] K=FPH T S -1
[0065] The matrix R is the measurement noise of each sensor;
[0066] The pose output module is used to update the true state using the residual measured by the sensor:
[0067]
[0068] in is the nominal state, is the true state, Ky is the residual;
[0069] Taking out the attitude estimation, position estimation and velocity estimation in the real state vector and outputting them,
[0070] The final fused positioning result can be obtained:
[0071]
[0072] Among them, q, p, and v are the final attitude estimation, position estimation, and velocity estimation, respectively.
[0073] The beneficial effects of the present invention include:
[0074] 1. Improve positioning accuracy and robustness: By adopting the ESKF method, combined with multi-sensor fusion technology, and using sensor observations and vehicle dynamics models for state estimation, the positioning accuracy and robustness are improved. Even when some observation information is missing or sensor parameters are inaccurate, the system can still effectively achieve the positioning task.
[0075] 2. Strong adaptability: The present invention adopts an error state Kalman filter algorithm with parameter calibration capability, which can automatically adjust the covariance matrix of the filter according to the propagation error, thereby ensuring the accuracy and real-time performance of the positioning system parameter calibration and state estimation. This enables the system to adapt to changes in different environments and working conditions, and has strong adaptability.
[0076] 3. Improve user experience: Through accurate positioning results, the method and device of the present invention can provide users with more reliable and more accurate positioning services, improving the user experience. Whether in vehicle navigation, unmanned driving or other positioning applications, it can better meet user needs.
[0077] Through the above design, the robust high-precision positioning system with parameter calibration function of the present invention can achieve accurate sensor parameter and state estimation, and is suitable for various positioning application scenarios, including but not limited to intelligent vehicle navigation, intelligent transportation systems, robot indoor positioning and other fields, and has broad application prospects and market potential. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A block diagram of a multi-sensor fusion state estimation system based on an error state Kalman filter in an embodiment of the present invention;
[0079] Figure 2 is a sensor parameter estimation result based on a simulation environment in an embodiment of the present invention;
[0080] Figure 3 is the conversion relationship between the sensor and the corresponding coordinate system in the embodiment of the present invention;
[0081] Figure 4An intelligent robot in an embodiment of the present invention performs self-positioning by using the proposed positioning method; Figure 5 This is a schematic diagram of several unmanned aerial vehicles and unmanned vehicles in embodiment 4 of the present invention, all using a multi-sensor positioning method to perform positioning and performing air-ground collaborative operations. DETAILED DESCRIPTION
[0082] In order to better understand the purpose, structure and function of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0083] like Figure 1 As shown, the sensor parameter calibration and state estimation device based on the error state Kalman filter of this embodiment includes a sensor input module, a laser radar pose estimation module based on feature extraction, a sensor data fusion module, an error propagation module, a covariance matrix update module, a sensor parameter calibration module and a pose output module;
[0084] The sensor input module includes four sensors: IMU, wheel speed odometer, laser radar and GPS; IMU is used to measure three-axis acceleration and angular velocity and send the measurement results to the sensor data fusion module; wheel speed odometer is used to obtain the instantaneous speed of the vehicle and send it to the sensor data fusion module; laser radar is used to obtain the laser radar data sequence and send it to the laser radar posture estimation module; GPS is used to receive position and speed observation data and send the received position observation data to the sensor data fusion module;
[0085] The radar pose estimation module based on deep learning is used to receive the lidar sequence sent by the lidar, process the lidar sequence using a neural network to obtain the radar pose, and send the final radar pose to the sensor data fusion module;
[0086] The sensor data fusion module is used to receive the three-axis acceleration and angular velocity sent by the sensor module, the camera posture sent by the deep learning-based radar posture estimation module, and the position and velocity observation data sent by the sensor module; predict the three-axis acceleration and angular velocity to obtain the prediction result and send it to the error propagation module; process the radar posture, position and velocity observation data to obtain the observation equation and send it to the error propagation module;
[0087] The error propagation module is used to receive the predicted state sent by the sensor data fusion module, obtain the error state vector using the error state dynamics model and send it to the update module;
[0088] The covariance matrix update module is used to receive the sensor observation data and the predicted state vector sent by the sensor data fusion module, receive the error state vector sent by the error propagation module, and perform generalized summation of the error state vector and the predicted state vector to output the final position, velocity and attitude information.
[0089] The sensor parameter calibration module is used to update the covariance matrix P in the state vector.
[0090] The pose output module is used to update the true state using the residual measured by the sensor.
[0091] The deep learning based radar pose estimation module further includes:
[0092] The ranging network uses the ResNet50 network as the second encoder and the fully connected layer module, which is responsible for processing the lidar sequence and extracting features to generate lidar features. The fully connected layer module contains two fully connected layers in series, which receive the lidar features and the feature importance weights sent by the attention module, complete the pose regression through the fully connected layer, and obtain the lidar pose.
[0093] The mask network uses a Transformer-based encoder and decoder to process the lidar sequence through a self-attention mechanism, detect consistent regions in consecutive frames, and generate a predicted mask.
[0094] The lidar loss function module receives the lidar pose, predicted mask and fused pose, calculates the lidar intensity loss function and the cross entropy loss function of the predicted mask; and obtains the final lidar loss function after assigning the scaling factor.
[0095] The sensor parameter calibration and state estimation method based on the error state Kalman filter of this embodiment includes the following steps:
[0096] Step 1: perform rough calibration on the vehicle-mounted sensors, including spatial calibration and temporal calibration. The vehicle-mounted sensors refer to IMU, wheel speed odometer, lidar and GPS.
[0097] Step 2 uses the calibrated lidar to obtain the lidar sequence, and estimates the lidar pose using a neural network based on the lidar sequence;
[0098] Step 2.1: Input the laser radar sequence into the ranging network and the mask network, extract features through the ranging network to obtain laser radar features, and detect the consistent areas in the continuous frames of the laser radar sequence through the mask network to obtain the predicted mask;
[0099] Step 2.2 Input the obtained lidar features into the third encoder and the SoftMax activation function to obtain the feature importance weights;
[0100] Step 2.3 assigns feature importance weights to features, and uses the fully connected layer module to perform pose regression to obtain the lidar pose;
[0101] Step 2.4 inputs the obtained LiDAR pose into the multi-layer perceptron to obtain the fused pose;
[0102] Step 2.5 calculates the loss function of the lidar based on the lidar pose and the fused pose, and calculates the loss function of the predicted mask based on the predicted mask and the fused pose.
[0103] The intensity loss function of the lidar is
[0104]
[0105] Among them, L l represents the intensity loss function of the laser radar; M s (x t ) represents the error weight from the source frame to the target frame; I t (x t ) represents the target frame set; represents the set of reconstructed source frames; x t represents the target frame; N represents the total number of frames in the LiDAR sequence; n represents the first frame in the LiDAR sequence;
[0106] The cross entropy loss function for predicting the mask is:
[0107]
[0108] Among them, L m represents the cross entropy loss function of the predicted mask; P(M s (xt) = 1) represents the cross entropy when the prediction mask of the target frame is 1;
[0109] Robot status for
[0110]
[0111] in w q is the rotation angle, w p is the position of the robot in the coordinate system, w v is the velocity of the robot in the global coordinate system, b a , b g They are the deviations of acceleration and angular velocity measured by IMU, v q imu is the angular installation error of the IMU.
[0112] The estimated value of the observed quantity is related to the measured value as follows:
[0113]
[0114] in represents the increment operation of quaternion, Exp represents the exponential mapping function, which maps the elements in Lie algebra to a rotation matrix, which is consistent with the standard matrix exponential function. g is the known gravity vector, and the value of g is 9.79m / s 2 .a m and ω m are the measured linear acceleration and angular velocity from the IMU, and dt is the time interval between two IMU timestamps.
[0115] According to the estimated values and actual values of each observation, the propagation model of the error state is obtained as follows:
[0116]
[0117] in is the updated status of the previous timestamp, is the predicted state at the current timestamp. Function f is the state prediction function, and matrix F is the predicted Jacobian matrix of the linearized system. Vector ω is the noise part.
[0118] The transfer matrix F in the propagation model is
[0119]
[0120] The error state covariance in the error propagation module is:
[0121] P pred =FPF T +UQU T
[0122] The matrix P pred is the prediction covariance matrix at the current prediction timestamp, P is the update covariance matrix at the last update timestamp, and U and Q are the Jacobian matrices of the noise matrix and the perturbation, respectively:
[0123]
[0124] in is the noise variance determined by the IMU or from experimental measurements.
[0125] The covariance matrix update module uses the sensor observations to update the state. Define the wheel speed encoder in the sensor to measure the speed in the vehicle coordinate system Define the measurement function h(x) to align the velocity in the vehicle coordinate system:
[0126] The update part of the wheel speed in the covariance matrix update module is:
[0127] y=zh(c)=wv m - w q -1w v
[0128]
[0129] in w v is the velocity of the robot in the world coordinate system.
[0130] The update part of GNSS in the covariance matrix update module is:
[0131] y=zh(x)= w p m -( w p+ w qp gnss )
[0132]
[0133] where p gnss It is the antenna installation deviation between the vehicle and the GNSS antenna. This external parameter can be measured when installing the antenna. w p m It is the GNSS that measures the vehicle position in the world coordinate system.
[0134] The update part of the LiDAR measurement in the covariance matrix update module is:
[0135] y=zh(x)= w q m m p l -( w p+ w qp lidar )
[0136]
[0137] where p lidar It is the installation deviation between the vehicle and the lidar. This external parameter can be measured during installation. m p l It is the LiDAR that measures the vehicle position in the map coordinate system.
[0138] The sensor parameter calibration module is used to update the covariance matrix P in the state vector, and its update equation is:
[0139] S=HPH T +R
[0140] P=(I-KH)P pred
[0141] K=PH T S -1
[0142] The matrix R is the measurement noise of each sensor.
[0143] The pose output module is used to update the true state using the residual measured by the sensor:
[0144]
[0145] in is the nominal state, is the true state, Ky is the residual.
[0146] Embodiment 1: Use the sensor parameter calibration method of the present invention to correctly calibrate sensor parameters such as IMU measurement error, IMU installation angle error, etc. Figure 2 shown.
[0147] Embodiment 2: The sensor parameter pose estimation method of the present invention is used to estimate the coordinate system conversion relationship between sensors, such as the conversion relationship between the IMU and the vehicle coordinate system, such as Figure 3 shown.
[0148] By taking out the attitude estimation, position estimation and velocity estimation in the real state vector and outputting them, we can get the final fused positioning result:
[0149]
[0150] Among them, q, p, and v are the final attitude estimation, position estimation, and velocity estimation, respectively.
[0151] Example 3: An intelligent industrial robot uses the multi-sensor fusion state estimation method of the present invention to locate and accurately obtain its own position in the automobile factory in real time. The robot can then use this high-precision positioning system to navigate to the working area to perform operations, such as Figure 4 shown.
[0152] Example 4: Several drones and unmanned vehicles use a multi-sensor positioning method to locate and perform air-ground collaborative operations, such as Figure 5 shown.
[0153] The above embodiments are used to illustrate the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.
Claims
1. A sensor parameter calibration and state estimation device based on error state Kalman filter, It is characterized in that It includes a sensor input module, a lidar pose estimation module based on feature extraction, a sensor data fusion module, an error propagation module, a covariance matrix update module, a sensor parameter calibration module and a pose output module; The sensor input module is used to measure three-axis acceleration and angular velocity, vehicle instantaneous velocity, laser radar data sequence, and position and velocity observation data; The deep learning-based radar pose estimation module is used to receive the laser radar sequence sent by the laser radar, process the laser radar sequence using a neural network to obtain the radar pose, and send the final radar pose to the sensor data fusion module; The sensor data fusion module is used to receive the three-axis acceleration and angular velocity sent by the sensor module, the camera posture sent by the radar posture estimation module based on deep learning, and the position and velocity observation data sent by the sensor module; predict the three-axis acceleration and angular velocity to obtain the prediction result and send it to the error propagation module; process the radar posture, position and velocity observation data to obtain the observation equation and send it to the error propagation module; The error propagation module is used to receive the predicted state sent by the sensor data fusion module, obtain the error state vector using the error state dynamics model and send it to the update module; The covariance matrix update module is used to receive the sensor observation data and the predicted state vector sent by the sensor data fusion module, receive the error state vector sent by the error propagation module, and perform generalized summation of the error state vector and the predicted state vector to output the final position, velocity and attitude information; The sensor parameter calibration module is used to update the covariance matrix P in the state vector; The posture output module is used to update the actual state using the residual measured by the sensor.
2. The sensor parameter calibration and state estimation device based on the error state Kalman filter according to claim 1, It is characterized in that The sensor module includes four sensors: IMU, wheel speed odometer, lidar and GPS; the IMU is used to measure three-axis acceleration and angular velocity and send the measurement results to the sensor data fusion module; the wheel speed odometer is used to obtain the instantaneous speed of the vehicle and send it to the sensor data fusion module; the lidar is used to obtain the lidar data sequence and send it to the lidar posture estimation module; the GPS is used to receive position and speed observation data and send the received position observation data to the sensor data fusion module.
3. The sensor parameter calibration and state estimation device based on the error state Kalman filter according to claim 1, It is characterized in that The radar pose estimation module based on deep learning includes a range finding network, a mask network and a lidar loss function module. The range finding network uses a ResNet50 network as a second encoder and a fully connected layer module, which is responsible for processing the lidar sequence and extracting features to generate lidar features. The fully connected layer module consists of two fully connected layers in series, which receive the lidar features and the feature importance weights sent by the attention module, complete the pose regression through the fully connected layer, and obtain the lidar pose; The mask network uses a Transformer-based encoder and decoder to process the LiDAR sequence through a self-attention mechanism, detect consistent regions in consecutive frames, and generate a predicted mask. The laser radar loss function module receives the laser radar pose, the predicted mask and the fused pose, calculates the intensity loss function of the laser radar and the cross entropy loss function of the predicted mask; and obtains the final laser radar loss function after allocating the scaling factor.
4. A sensor parameter calibration and state estimation method of a sensor parameter calibration and state estimation device based on an error state Kalman filter according to any one of claims 1 to 3, It is characterized in that The following steps are involved: Step 1: Roughly calibrate the vehicle-mounted sensors, including spatial calibration and temporal calibration. The vehicle-mounted sensors refer to IMU, wheel speed odometer, lidar and GPS. Step 2: Use the calibrated lidar to obtain the lidar sequence, and use the neural network to estimate the lidar pose based on the lidar sequence.
5. The sensor parameter calibration and state estimation method according to claim 4, It is characterized in that The step 2 comprises the following steps: Step 2.1: Input the LiDAR sequence into the ranging network and the mask network, extract features through the ranging network to obtain LiDAR features, and detect the consistent areas in the continuous frames of the LiDAR sequence through the mask network to obtain the predicted mask; Step 2.2: Input the obtained LiDAR features into the third encoder and the SoftMax activation function to obtain the feature importance weights; Step 2.3: Assign feature importance weights to features and use the fully connected layer module to perform pose regression to obtain the lidar pose; Step 2.4: Input the obtained LiDAR pose into the multi-layer perceptron to obtain the fused pose; Step 2.5: Calculate the loss function of the lidar based on the lidar pose and the fused pose, and calculate the loss function of the predicted mask based on the predicted mask and the fused pose.
6. The sensor parameter calibration and state estimation method according to claim 5, It is characterized in that The intensity loss function of the laser radar is Among them, L l represents the intensity loss function of the laser radar; M s (x t ) represents the error weight from the source frame to the target frame; I t (x t ) represents the target frame set; represents the set of reconstructed source frames; x t represents the target frame; N represents the total number of frames in the LiDAR sequence; n represents the first frame in the LiDAR sequence.
7. The sensor parameter calibration and state estimation method according to claim 5, It is characterized in that The cross entropy loss function of the predicted mask is: Among them, L m represents the cross entropy loss function of the predicted mask; P(M s (x t )=1) represents the cross entropy when the prediction mask of the target frame is 1.
8. The sensor parameter calibration and state estimation method according to claim 5, It is characterized in that Including the calculation of the robot state x, the robot state for in w q is the rotation angle, w p is the position of the robot in the coordinate system, w v is the velocity of the robot in the global coordinate system, b a , b g They are the deviations of acceleration and angular velocity measured by IMU, v q imu is the angular installation error of the IMU; The estimated value of the observed quantity is related to the measured value as follows: in represents the increment operation of quaternion, Exp represents the exponential mapping function, which maps the elements in Lie algebra to a rotation matrix, which is consistent with the standard matrix exponential function. g is the known gravity vector, and the value of g is 9.79m / s 2 .a m and ω m are the measured linear acceleration and angular velocity from the IMU, dt is the time interval between two IMU timestamps; According to the estimated value and the actual value of each observed quantity, the propagation model of the error state is obtained as follows: in is the updated status of the previous timestamp, is the predicted state at the current timestamp. Function f is the state prediction function, matrix F is the predicted Jacobian matrix of the linearized system, and vector ω is the noise part; The transfer matrix F in the propagation model is The error state covariance in the error propagation module is: P pred =FPF T +NO T The matrix P pred is the prediction covariance matrix at the current prediction timestamp, P is the update covariance matrix at the last update timestamp, and U and Q are the Jacobian matrices of the noise matrix and the perturbation, respectively: in is the noise variance determined by the IMU or from experimental measurements.
9. The sensor parameter calibration and state estimation method according to claim 5, It is characterized in that The covariance matrix update module uses the sensor's observation value to update the state, defining the wheel speed encoder in the sensor to measure the speed in the vehicle body coordinate system w v m , define the measurement function h(x) to align the velocity in the vehicle coordinate system: The update part of the wheel speed in the covariance matrix update module is: y=z-h(x)= w v m - w q -1w v where w v is the velocity of the robot in the world coordinate system; The update part of GNSS in the covariance matrix update module is: y=z-h(x)= w p m -( w p+ w q p gnss ) where p gnss It is the antenna installation deviation between the vehicle and the GNSS antenna. This external parameter is measured when the antenna is installed. w p m It is the GNSS that measures the vehicle position in the world coordinate system; The update part of the LiDAR measurement in the covariance matrix update module is: y=z-h(x)= w q m m p l -( w p+ w q p lidar ) where p lidar It is the installation deviation between the vehicle and the lidar. This external parameter can be measured during installation. m p l It is the LiDAR that measures the vehicle position in the map coordinate system.
10. The sensor parameter calibration and state estimation method according to claim 5, It is characterized in that The sensor parameter calibration module is used to update the covariance matrix P in the state vector, and its update equation is: S=HPH T +R P=(I-KH)P pred K=PH T S -1 The matrix R is the measurement noise of each sensor; The pose output module is used to update the true state using the residual measured by the sensor: in is the nominal state, is the true state, Ky is the residual; The attitude estimation, position estimation and velocity estimation in the real state vector are taken out and output to obtain the final fused positioning result: Among them, q, p, and v are the final attitude estimation, position estimation, and velocity estimation, respectively.
Citation Information
Cited By
Multi-robot 3D vision cooperation space attitude sensing calibration method and system
CN119516000A
Neural network-based laser radar attitude error online measurement and calibration method
CN121165072A
Method and device for positioning based on laser speedometer and GNSS (Global Navigation Satellite System), and medium
CN121232238A
AGV (Automatic Guided Vehicle) double-time-domain map dynamic mask positioning method for dynamic storage
CN121409219A
Multi-modal sensor fusion positioning method
CN122360493A
