A perception fusion method for autonomous driving system

By combining lidar, millimeter-wave radar and cameras, and using unscented Kalman filtering algorithms and global matching methods, the problem of insufficient multi-sensor fusion technology in autonomous driving perception functions is solved, achieving higher perception accuracy and stability. Improved safety of autonomous vehicles.

CN114035187BActive Publication Date: 2024-08-23BEIJING NEW ENERGY VEHICLE TECH INNOVATION CENT CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202111250422.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-08-23
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

In existing autonomous driving technology, the perception function relies on the collaborative work of multiple sensors. However, there is a lack of mature multi-sensor fusion technology, resulting in insufficient perception accuracy and stability, which affects the safe driving of autonomous vehicles.

Method used

It uses a combination of lidar, millimeter-wave radar and cameras, and uses an unscented Kalman filter algorithm and a global matching method to fuse multi-sensor target information, identify and track targets, update status, and achieve stable operation of the sensing function.

Benefits of technology

It improves the effect of target detection and tracking, ensures the stability and high accuracy of autonomous driving perception functions, and enhances vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114035187B
    Figure CN114035187B
Patent Text Reader

Abstract

The present invention discloses a perception fusion method for an autonomous driving system, including: based on laser radar, calibrating millimeter wave radar and camera; based on the information collected by laser radar, calibrating millimeter wave radar and camera, respectively identifying the target in each information, and obtaining the target parameter information of each target; based on the target parameter information, using unscented Kalman filter algorithm and global matching method to perform perception fusion and matching, and obtaining the state update amount of the target that has been matched and tracked at the current moment; based on the state update amount of the matched and tracked target, updating the matched and tracked target, comparing the tracking target at the current moment with the tracking target at the previous moment, and identifying the new tracking target. The present invention uses the unscented Kalman filter algorithm to fuse the targets of multiple sensors based on the data received by multiple sensors, improves the effect of target detection and target tracking, and ensures the stable operation of the perception function of autonomous driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of autonomous driving, and more specifically, relates to a perception fusion method for an autonomous driving system. Background Art

[0002] Autonomous driving is a cutting-edge technology field in the current new energy vehicle industry, with huge development potential and space. The task of autonomous driving environmental perception is to use sensors to perceive the surrounding environment and provide decision-making basis for autonomous driving vehicles. It is the first step in achieving autonomous driving. Autonomous driving technology as a whole is subject to the perception ability of the vehicle. Perception technology is the core of the core and also the bottleneck. The technology is not mature at present. Autonomous driving perception technology usually uses several common sensors such as lidar, camera, millimeter wave radar, etc. Each type of sensor has its own advantages and disadvantages, and there are differences in characteristics. It is necessary to adopt multi-sensor fusion technology to complement each other and give full play to the advantages of each sensor to achieve accurate perception, thereby ensuring the safe driving of autonomous driving vehicles.

[0003] At present, domestic sensor suppliers act independently, providing their own products and algorithms, lacking coordinated integration of products. They are still very weak in the field of sensor fusion technology and are just in the initial stage. They lack mature and complete technology. Therefore, it is of great significance to achieve highly accurate and stable autonomous driving perception functions based on multi-sensor fusion technology.

[0004] Therefore, there is a particular need for a method to fuse multiple sensors to achieve highly accurate and stable autonomous driving perception functions. Summary of the invention

[0005] The purpose of this invention is to propose a method to fuse multiple sensors to achieve an autonomous driving perception function with high accuracy and stability.

[0006] In order to achieve the above-mentioned objectives, the present invention provides a perception fusion method for an autonomous driving system, comprising: based on a laser radar, calibrating a millimeter-wave radar and a camera; based on the information collected by the laser radar, the calibrated millimeter-wave radar and the camera, respectively identifying the targets in each information and obtaining the target parameter information of each target; based on the target parameter information, using an unscented Kalman filter algorithm and a global matching method to perform perception fusion and matching, and obtaining the state update amount of the target that has been matched and tracked at the current moment; based on the state update amount of the target that has been matched and tracked, updating the target that has been matched and tracked, comparing the tracking target at the current moment with the tracking target at the previous moment, and identifying a new tracking target.

[0007] Preferably, the millimeter-wave radar is calibrated by the following method: using laser radar and millimeter-wave radar to collect images of the position of the reflector respectively; comparing the images collected by the laser radar and the millimeter-wave radar, and adjusting the yaw angle of the millimeter-wave radar until the position of the reflector detected by the laser radar overlaps with the position of the reflector detected by the millimeter-wave radar.

[0008] Preferably, the following method is used to calibrate the camera; the Zhang You calibration method is used to calibrate the internal parameters of the camera; a calibration plate is placed in front of the vehicle, the calibration plate is moved, and the laser radar and the camera collect images with the calibration plate; edge information in the image collected by the laser radar and the image collected by the camera are respectively extracted, and according to the edge information, the corresponding edge points in the image collected by the laser radar and the image collected by the camera are matched to generate a matching relationship; according to the matching relationship, the transformation relationship between the camera coordinate system and the laser radar coordinate system is obtained; according to the transformation relationship, the position of the camera is adjusted.

[0009] Preferably, the pointRCNN method is used to identify the category of the target in the laser point cloud collected by the lidar, the target position coordinates are obtained based on the category, and the length and width of the target are calculated based on the shape and position coordinates of the target; the yolo4 method is used to identify the type of target in the image collected by the camera, based on image feature matching, the camera posture is solved using the epipolar constraint, the motion change of the target is calculated using triangulation, and the camera posture is subtracted to obtain the position coordinates, velocity information, length and width of the target; the information collected by the millimeter wave radar is clustered to obtain the position coordinates and velocity information of the target, wherein the position coordinates include lateral position and longitudinal position, and the velocity information includes lateral velocity, longitudinal velocity, lateral acceleration, and longitudinal acceleration.

[0010] Preferably, the target parameter information includes: lateral position, longitudinal position, lateral speed, longitudinal speed, lateral acceleration, longitudinal acceleration, target width and target length.

[0011] Preferably, the use of the unscented Kalman filter algorithm and the global matching method for perception fusion and matching includes: for each target identified by the laser radar, millimeter-wave radar and camera, the target parameters are used as the state vector; the initial mean and variance of the state vector are set; based on the initial mean and variance of the state vector, multiple Sigma points are calculated; the weight of each Sigma point is calculated; according to each Sigma point, the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix are calculated; based on the measured target parameters of each target identified by the laser radar, millimeter-wave radar and camera, the Hungarian method is used to convert the excited state vector into the target parameter; The targets identified by the optical radar, millimeter-wave radar and camera are globally matched to obtain matched targets; for each matched target, the observation value of each Sigma point is calculated according to the actual measurement value of the state vector at the next moment, the observation prediction value and the observation covariance matrix are calculated according to the observation value of the Sigma point, the correlation coefficient between the state and the observation is obtained based on the state prediction value, the state covariance matrix, the observation prediction value and the observation covariance matrix, the Kalman filter gain is obtained based on the correlation coefficient between the state and the observation and the observation covariance matrix, and the state update value and the state covariance matrix update value of the matched target are obtained based on the Kalman filter gain.

[0012] Preferably, each Sigma point is calculated using the following formula:

[0013]

[0014]

[0015]

[0016] in, For X k The mean value of X k is the state vector, X k =[p x ,p x ,v x ,v y ,a x ,a y ,W,L] T , p x is the lateral position, p y is the vertical position, v x is the lateral velocity, v y is the longitudinal velocity, a x is the lateral acceleration, a y is the longitudinal acceleration, W is the target width, L is the target length, P x For X k The variance of 2(n+κ)-n,κ≥0, n is the dimension of the state vector, α represents the degree to which the test point deviates from the expected value,

[0017] The weight of each Sigma point is calculated using the following formula:

[0018]

[0019]

[0020] Among them, W i m is the weight of the state vector mean, W i c is the weight of the variance, and β is used to represent the distribution information of X.

[0021] Preferably, the following formula is used to calculate the predicted value of each Sigma point at the next moment:

[0022] ε i,k+1 =F k ε i,k +W k

[0023] Among them, ε i,k+1 is the predicted value of the next moment of the i-th Sigma point, F k is the state transfer matrix, w k is the process noise.

[0024] The state prediction value and state covariance matrix of the state vector at the next moment are calculated using the following formula:

[0025]

[0026]

[0027] Among them, Y k+1 is the state prediction value of the state vector at the next moment, W i m is the weight of the state vector mean, PP k+1 is the state covariance matrix of the state vector at the next moment, W i c is the weight of the variance, Q is the process noise w k The variance of the normal distribution.

[0028] Preferably, the following formula is used to calculate the observed value of each Sigma point:

[0029] Φ i,k+1 =Hε i,k+1 +v k

[0030] Among them, Φi,k+1 is the observed value of the i-th Sigma point, H is the measurement matrix, ε i,k+1 is the predicted value of the i-th Sigma point at the next moment, v k To measure noise.

[0031] The observed predicted value is calculated using the following formula:

[0032]

[0033] The observation covariance matrix is ​​calculated using the following formula:

[0034]

[0035] Among them, PZ k+1 is the observed predicted value, W i m is the weight of the state vector mean, P y,k+1 is the observation covariance matrix, W i c is the weight of the variance, R is the measurement noise v k The variance of the normal distribution.

[0036] Preferably, the Kalman filter gain is:

[0037] K k+1 =P xy,k+1 ·P y,k+1 -1

[0038] Status update value:

[0039] X K+1 =Y k+1 +K k+1 (Z k+1 -PZ k+1 )

[0040] State covariance matrix update value:

[0041] P K+1 =PP k+1 -K k+1 P y,k+1 K k+1 T

[0042] Among them, K k+1 is the Kalman filter gain, P xy,k+1 is the correlation coefficient between the state and the observation, P y,k+1 is the observation covariance matrix, X K+1 is the state update value, Y k+1 is the state prediction value of the state vector at the next moment, K k+1is the Kalman filter gain value, Z k+1 is the measured vector at the next moment, PZ k+1 is the observed predicted value, P K+1 Update the state covariance matrix.

[0043] The beneficial effects of the present invention are as follows: the perception fusion method of the autonomous driving system of the present invention is based on data received by multiple sensors, and adopts the unscented Kalman filter algorithm to fuse the targets of multiple sensors, thereby improving the effects of target detection and target tracking, and ensuring the stable operation of the autonomous driving perception function.

[0044] The method of the present invention has other characteristics and advantages, which will be obvious from the drawings incorporated herein and the following specific embodiments, or will be described in detail in the drawings incorporated herein and the following specific embodiments, which together are used to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The above and other purposes, features and advantages of the present invention will become more apparent by describing the exemplary embodiments of the present invention in more detail in conjunction with the accompanying drawings. In the exemplary embodiments of the present invention, the same reference numerals generally represent the same components.

[0046] Figure 1 A flow chart of a perception fusion method for an autonomous driving system according to an embodiment of the present invention is shown.

[0047] Figure 2 A flowchart of a target recognition method of a perception fusion method of an autonomous driving system according to an embodiment of the present invention is shown.

[0048] Figure 3 A flow chart of an unscented Kalman filter algorithm of a perception fusion method for an autonomous driving system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0049] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0050] According to the present invention, a perception fusion method of an automatic driving system includes: based on laser radar, calibrating millimeter-wave radar and camera; based on the information collected by laser radar, calibrating millimeter-wave radar and camera, respectively identifying the target in each information and obtaining the target parameter information of each target; based on the target parameter information, using an unscented Kalman filter algorithm and a global matching method to perform perception fusion and matching, and obtaining the state update amount of the target that has been matched and tracked at the current moment; based on the state update amount of the target that has been matched and tracked, updating the matched and tracked target, comparing the tracking target at the current moment with the tracking target at the previous moment, and identifying a new tracking target.

[0051] Specifically, sensor calibration uses an automatic calibration method to determine the relative posture transformation relationship of the lidar, camera, and millimeter-wave radar by processing and analyzing typical features in the sensor received data; target detection and recognition uses relevant target recognition methods based on the sensor's received data to identify specific information of targets such as pedestrians, bicycles, and cars, including camera target recognition, lidar target recognition, and millimeter-wave radar target recognition; target data fusion processing performs global matching of the sensor's detection targets, and uses the unscented Kalman filter algorithm to fuse the camera target data, lidar target data, and millimeter-wave radar target data to predict the matched target information, update the variance of the measurement noise at the current moment, and iteratively update the estimated target; post-fusion processing updates unmatched targets, deletes lost targets, and initializes new targets.

[0052] According to an exemplary embodiment, the perception fusion method of the autonomous driving system is based on data received by multiple sensors, and uses an unscented Kalman filter algorithm to fuse the targets of multiple sensors, thereby improving the effects of target detection and target tracking and ensuring the stable operation of the autonomous driving perception function.

[0053] As a preferred solution, the following method is used to calibrate the millimeter-wave radar: use the laser radar and the millimeter-wave radar to collect images of the position of the reflector respectively; compare the images collected by the laser radar and the millimeter-wave radar, and adjust the yaw angle of the millimeter-wave radar until the position of the reflector detected by the laser radar overlaps with the position of the reflector detected by the millimeter-wave radar.

[0054] Specifically, millimeter-wave radar calibration: determine the posture transformation relationship between the millimeter-wave radar and the lidar.

[0055] When installing millimeter-wave radar, there are high requirements for the roll angle, pitch angle and height. There is no need to calibrate these three parameters. The position offset in the x and y directions is directly calculated through the vehicle structure. The yaw angle is calibrated mainly with the help of millimeter-wave reflectors.

[0056] Calibrate the yaw angle: Receive laser point cloud and millimeter-wave radar data, aiming to overlap the position of the reflector detected from the laser point cloud with the position detected by the millimeter-wave radar, and use the gradient descent method to solve the optimal yaw angle.

[0057] As a preferred solution, the following method is used to calibrate the camera; the Zhang You calibration method is used to calibrate the internal parameters of the camera; a calibration plate is placed in front of the vehicle, the calibration plate is moved, and the laser radar and camera collect images with the calibration plate; edge information in the image collected by the laser radar and the image collected by the camera are extracted respectively, and according to the edge information, the corresponding edge points in the image collected by the laser radar and the image collected by the camera are matched to generate a matching relationship; the transformation relationship between the camera coordinate system and the laser radar coordinate system is obtained according to the matching relationship; and the position of the camera is adjusted according to the transformation relationship.

[0058] Specifically, based on the laser radar, the position transformation relationship between the camera and the millimeter-wave radar relative to the laser radar is solved according to the received laser point cloud, image data, and millimeter-wave radar data. The camera uses a single-lens front-facing camera. The main calibrations include camera calibration and millimeter-wave radar calibration.

[0059] Camera calibration: With the help of calibration plates (chessboard, four-hole plate), the joint calibration of camera and lidar is realized. The calibration steps are as follows:

[0060] 1) Use Zhang You calibration method to calibrate the camera internal parameters;

[0061] 2) Select a scene with more edges, place the calibration plate in front of the vehicle, move the calibration plate, and receive lidar and image data at the same time;

[0062] 3) Extract edge information from LiDAR and image data and match corresponding edge points;

[0063] 4) Solve the transformation relationship between the camera coordinate system and the lidar coordinate system based on the matching relationship.

[0064] As a preferred solution, the pointRCNN method is used to identify the category of targets in the laser point cloud collected by the lidar, the target position coordinates are obtained based on the category, and the length and width of the target are calculated based on the shape and position coordinates of the target; the yolo4 method is used to identify the type of target in the image collected by the camera, based on image feature matching, the camera posture is solved using the epipolar constraint, the motion change of the target is calculated using triangulation, and the position coordinates, velocity information, length and width of the target are obtained by subtracting the camera posture; the information collected by the millimeter wave radar is clustered to obtain the position coordinates and velocity information of the target, wherein the position coordinates include the lateral position and the longitudinal position, and the velocity information includes the lateral velocity, the longitudinal velocity, the lateral acceleration, and the longitudinal acceleration.

[0065] Specifically, by processing the laser point cloud, image data and millimeter-wave radar data received by different sensors, pedestrians, bicycles, cars and other target information are detected and identified. It is divided into laser radar target detection and recognition, camera target detection and recognition, and millimeter-wave radar target detection and recognition.

[0066] LiDAR target detection and recognition uses the pointRCNN method to identify the type of target in the laser point cloud, obtain the target's three-dimensional position coordinates from the point cloud, and calculate the target's length and width based on the target's shape and position coordinates;

[0067] Camera target detection and recognition uses the yolo4 method to identify the type of target in the image data, and then uses the epipolar constraint to solve the camera pose based on image feature matching, and uses triangulation to calculate the motion changes of dynamic targets, subtracting the camera pose to obtain the target's final horizontal and vertical position coordinates, speed, length and width;

[0068] Millimeter-wave radar target detection and recognition receives and converts device output data, and obtains the target's horizontal and vertical position coordinates and speed information after clustering processing.

[0069] As a preferred solution, the target parameter information includes: lateral position, longitudinal position, lateral speed, longitudinal speed, lateral acceleration, longitudinal acceleration, target width and target length.

[0070] As a preferred solution, the unscented Kalman filter algorithm and the global matching method are used for perception fusion and matching, including: for each target identified by the laser radar, millimeter-wave radar and camera, the target parameters are used as the state vector; the initial mean and variance of the state vector are set; based on the initial mean and variance of the state vector, multiple Sigma points are calculated; the weight of each Sigma point is calculated; based on each Sigma point, the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix are calculated; based on the measured target parameters of each target identified by the laser radar, millimeter-wave radar and camera, the Hungarian The method globally matches the targets identified by the laser radar, millimeter wave radar and camera to obtain matched targets; for each matched target, the observation value of each Sigma point is calculated according to the actual measurement value of the state vector at the next moment, the observation prediction value and the observation covariance matrix are calculated according to the observation value of the Sigma point, the correlation coefficient between the state and the observation is obtained based on the state prediction value, the state covariance matrix, the observation prediction value and the observation covariance matrix, the Kalman filter gain is obtained based on the correlation coefficient between the state and the observation and the observation covariance matrix, and the state update value and the state covariance matrix update value of the matched target are obtained based on the Kalman filter gain.

[0071] Specifically, unscented Kalman filtering is an existing technology and will not be described in detail here.

[0072] Firstly, according to the actual measurement data of one sensor or the actual measurement data of three sensors, the initial mean of the state vector is obtained, each Sigma point is calculated, the weight of each Sigma point is calculated, the original Sigma point set is proportionally corrected, the predicted value of the state vector at the next moment and the state covariance matrix are calculated, the targets detected by each sensor and the tracked targets are compared, and according to the measured target parameters of each target identified by the lidar, millimeter-wave radar and camera, the Hungarian method is used to perform global matching to obtain the matched targets; for the matched and tracked targets, they are updated based on the observation values ​​of each sensor.

[0073] As a preferred solution, each Sigma point is calculated using the following formula:

[0074]

[0075]

[0076]

[0077] in, For X k The mean value of X k is the state vector, X k =[p x ,p x ,v x ,v y ,a x ,a y ,W,L] T , p x is the lateral position, p y is the vertical position, v x is the lateral velocity, v y is the longitudinal velocity, a x is the lateral acceleration, a y is the longitudinal acceleration, W is the target width, L is the target length, P x For X k The variance of 2 (n+κ)-n,κ≥0, n is the dimension of the state vector, α represents the degree to which the test point deviates from the expected value,

[0078] The weight of each Sigma point is calculated using the following formula:

[0079]

[0080]

[0081] Among them, W im is the weight of the state vector mean, W i c is the weight of the variance, and β is used to represent the distribution information of X.

[0082] Specifically, (1) calculate each Sigma point according to the following three formulas;

[0083]

[0084]

[0085]

[0086] in, For X k The mean value, P x For X k The variance of 2 (n+κ)-n,κ≥0, to ensure the semi-positive definiteness of the variance matrix, here we choose k=0. The parameter α indicates the degree to which the test point deviates from the expected value, which is usually a very small positive number.

[0087] (2) Calculate the weight of each Sigma point and perform proportional correction on the original Sigma point set;

[0088]

[0089]

[0090] Where W i m is the weight of the mean, W i c is the weight of the variance, β is used to represent the distribution information of X. In the case of Gaussian distribution, β = 2 is optimal. The meanings of λ, α, and κ are the same as (1).

[0091] As a preferred solution, the following formula is used to calculate the predicted value of each Sigma point at the next moment:

[0092] ε i,k+1 =F k ε i,k +w k

[0093] Among them, ε i,k+1 is the predicted value of the next moment of the i-th Sigma point, F k is the state transfer matrix, w k is the process noise.

[0094] The state prediction value and state covariance matrix of the state vector at the next moment are calculated using the following formula:

[0095]

[0096]

[0097] Among them, Y k+1 is the state prediction value of the state vector at the next moment, W i m is the weight of the state vector mean, PP k+1 is the state covariance matrix of the state vector at the next moment, W i c is the weight of the variance, Q is the process noise w k The variance of the normal distribution.

[0098] Specifically, (1) set the initial mean and variance of the state vector:

[0099]

[0100]

[0101] (2) Calculate the Sigma points to form a column vector ε consisting of 17 Sigma points:

[0102] ε=(ε0,ε1,…,ε 16 ) T

[0103] (3) Predict each Sigma point, that is,

[0104] ε k+1 =F k ε k +w k

[0105] (4) The predicted value of the weighted calculation state quantity at time k+1 is:

[0106]

[0107] (5) The predicted value of the weighted covariance matrix at time k+1 is:

[0108]

[0109] As a preferred solution, the following formula is used to calculate the observed value of each Sigma point:

[0110] Φ i,k+1 =Hε i,k+1 +v k

[0111] Among them, Φ i,k+1 is the observed value of the i-th Sigma point, H is the measurement matrix, εi,k+1 is the predicted value of the next moment of the i-th Sigma point, v k To measure noise.

[0112] The observed predicted value is calculated using the following formula:

[0113]

[0114] The observation covariance matrix is ​​calculated using the following formula:

[0115]

[0116] Among them, PZ k+1 is the observed predicted value, W i m is the weight of the state vector mean, P y,k+1 is the observation covariance matrix, W i c is the weight of the variance, R is the measurement noise v k The variance of the normal distribution.

[0117] Specifically, 1) use the observation equation to update each Sigma point, that is,

[0118] Φ k+1 =Hε k+1 +v k

[0119] 2) The observed prediction value of the weighted calculation system is:

[0120]

[0121] 3) Calculate the observation update, the calculation formula is as follows:

[0122] Prediction covariance matrix:

[0123]

[0124] Cross-correlation matrix of state space and prediction space:

[0125]

[0126] As a preferred solution, the Kalman filter gain is:

[0127] K k+1 =P xy,k+1 ·P y,k+1 -1

[0128] Status update value:

[0129] X K+1 =Y k+1 +Kk+1 (Z k+1 -PZ k+1 )

[0130] State covariance matrix update value:

[0131] P K+1 =PP k+1 -K k+1 P y,k+1 K k+1 T

[0132] Among them, K k+2 is the Kalman filter gain, P xy,k+1 is the correlation coefficient between the state and the observation, P y,k+1 is the observation covariance matrix, X K+1 is the state update value, Y k+1 is the state prediction value of the state vector at the next moment, K k+1 is the Kalman filter gain value, Z k+1 is the measured vector at the next moment, PZ k+1 is the observed predicted value, P K+1 Update the state covariance matrix.

[0133] Specifically, the Kalman filter gain:

[0134] K k+1 =P xy,k+1 ·P y,k+1 -1

[0135] Status update value:

[0136] X K+1 =Y k+1 +K k+1 (Z k+1 -PZ k+1 )

[0137] State covariance matrix update value:

[0138] P K+1 =PP k+1 -K k+1 P y,k+1 K k+1 T , the measured vector is the target parameter actually measured by the laser radar, millimeter wave radar and camera. Due to the different acquisition speeds of the sensors and the different data output times, the actual target parameters measured by the three sensors are substituted into the above formula in chronological order to obtain the state update value and the state covariance matrix update value.

[0139] Embodiment 1

[0140] Figure 1 A flow chart of a perception fusion method for an autonomous driving system according to an embodiment of the present invention is shown. Figure 2 A flowchart of a target recognition method of a perception fusion method of an autonomous driving system according to an embodiment of the present invention is shown. Figure 3 A flow chart of an unscented Kalman filter algorithm of a perception fusion method for an autonomous driving system according to an embodiment of the present invention is shown.

[0141] like Figure 1 , Figure 2 and Figure 3 As shown, the perception fusion method of the autonomous driving system includes:

[0142] Step 1: Calibrate the millimeter-wave radar and camera based on the lidar;

[0143] Step 2: Based on the laser radar, calibrate the information collected by the millimeter-wave radar and the camera, identify the targets in each information respectively, and obtain the target parameter information of each target;

[0144] Step 3: Based on the target parameter information, the unscented Kalman filter algorithm and the global matching method are used for perception fusion and matching to obtain the state update of the target that has been matched and tracked at the current moment;

[0145] Step 4: Based on the state update amount of the matched and tracked target, update the matched and tracked target, compare the tracked target at the current moment with the tracked target at the previous moment, and identify the new tracked target.

[0146] The millimeter-wave radar is calibrated by the following method: the images of the reflector position are collected by the laser radar and the millimeter-wave radar respectively; the images collected by the laser radar and the millimeter-wave radar are compared, and the yaw angle of the millimeter-wave radar is adjusted until the position of the reflector detected by the laser radar overlaps with the position of the reflector detected by the millimeter-wave radar.

[0147] Among them, the following method is used to calibrate the camera; the Zhang You calibration method is used to calibrate the internal parameters of the camera; the calibration plate is placed in front of the vehicle, the calibration plate is moved, and the laser radar and the camera collect images with the calibration plate; the edge information in the image collected by the laser radar and the image collected by the camera are extracted respectively, and according to the edge information, the corresponding edge points in the image collected by the laser radar and the image collected by the camera are matched to generate a matching relationship; according to the matching relationship, the transformation relationship between the camera coordinate system and the laser radar coordinate system is obtained; according to the transformation relationship, the position of the camera is adjusted.

[0148] Among them, the pointRCNN method is used to identify the category of targets in the laser point cloud collected by the lidar, the target position coordinates are obtained based on the category, and the length and width of the target are calculated based on the shape and position coordinates of the target; the yolo4 method is used to identify the type of target in the image collected by the camera, based on image feature matching, the camera posture is solved using the epipolar constraint, the motion change of the target is calculated using triangulation, and the position coordinates, velocity information, length and width of the target are obtained by subtracting the camera posture; the information collected by the millimeter-wave radar is clustered to obtain the position coordinates and velocity information of the target, wherein the position coordinates include lateral position and longitudinal position, and the velocity information includes lateral velocity, longitudinal velocity, lateral acceleration, and longitudinal acceleration.

[0149] The target parameter information includes: lateral position, longitudinal position, lateral speed, longitudinal speed, lateral acceleration, longitudinal acceleration, target width and target length.

[0150] Among them, the use of unscented Kalman filter algorithm and global matching method for perception fusion and matching includes: for each target recognized by laser radar, millimeter wave radar and camera, the target parameters are used as the state vector; the initial mean and variance of the state vector are set; based on the initial mean and variance of the state vector, multiple Sigma points are calculated; the weight of each Sigma point is calculated; according to each Sigma point, the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix are calculated; based on the measured target parameters of each target recognized by laser radar, millimeter wave radar and camera, the Hungarian method is used to calculate the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix ... Hungarian method, the Hungarian method is used to calculate the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix; based on the Hungarian method, the Hungarian method is used to calculate the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix; based on the Hungarian method, the Hungarian method is used to calculate the predicted The method globally matches the targets identified by the laser radar, millimeter-wave radar and camera to obtain matched targets; for each matched target, the observation value of each Sigma point is calculated according to the actual measurement value of the state vector at the next moment, the observation prediction value and the observation covariance matrix are calculated according to the observation value of the Sigma point, the correlation coefficient between the state and the observation is obtained based on the state prediction value, the state covariance matrix, the observation prediction value and the observation covariance matrix, the Kalman filter gain is obtained based on the correlation coefficient between the state and the observation and the observation covariance matrix, and the state update value and the state covariance matrix update value of the matched target are obtained based on the Kalman filter gain.

[0151] Among them, each Sigma point is calculated using the following formula;

[0152]

[0153]

[0154]

[0155] in, For X kThe mean value of X k is the state vector, X k =[p x ,p x ,p x ,p y ,p x ,p y ,W,L] T , p x is the lateral position, p y is the vertical position, v x is the lateral velocity, v y is the longitudinal velocity, a x is the lateral acceleration, a y is the longitudinal acceleration, W is the target width, L is the target length, P x Z k The variance of 2 (n+κ)-n,κ≥0, n is the dimension of the state vector, α represents the degree to which the test point deviates from the expected value,

[0156] The weight of each Sigma point is calculated using the following formula:

[0157]

[0158]

[0159] Among them, W i m is the weight of the state vector mean, W i c is the weight of the variance, and β is used to represent the distribution information of X.

[0160] Among them, the following formula is used to calculate the predicted value of each Sigma point at the next moment:

[0161] ε i,k+1 =F k ε i,k +w k

[0162] Among them, ε i,k+1 is the predicted value of the i-th Sigma point at the next moment, F k is the state transfer matrix, w k is the process noise.

[0163] The state prediction value and state covariance matrix of the state vector at the next moment are calculated using the following formula:

[0164]

[0165]

[0166] Among them, Y k+1 is the state prediction value of the state vector at the next moment, W i m is the weight of the state vector mean, PP k+1 is the state covariance matrix of the state vector at the next moment, W i c is the weight of the variance, Q is the process noise w k The variance of the normal distribution.

[0167] The following formula is used to calculate the observed value of each Sigma point:

[0168] Φ i,k+1 =Hε i,k+1 +v k

[0169] Among them, Φ i,k+1 is the observed value of the i-th Sigma point, H is the measurement matrix, ε i,k+1 is the predicted value of the next moment of the i-th Sigma point, v k To measure noise.

[0170] The observed predicted value is calculated using the following formula:

[0171]

[0172] The observation covariance matrix is ​​calculated using the following formula:

[0173]

[0174] Among them, PZ k+1 is the observed predicted value, W i m is the weight of the state vector mean, P y,k+1 is the observation covariance matrix, W i c is the weight of the variance, R is the measurement noise v k The variance of the normal distribution.

[0175] Among them, the Kalman filter gain is:

[0176] K k+1 =P xy,k+1 ·P y,k+1 -1

[0177] Status update value:

[0178] X K+1 =Y k+1 +K k+1 (Z k+1 -PZk+1 )

[0179] State covariance matrix update value:

[0180] P K+1 =PP k+1 -K k+1 P y,k+1 K k+1 T

[0181] Among them, K k+1 is the Kalman filter gain, P xy,k+1 is the correlation coefficient between the state and the observation, P y,k+1 is the observation covariance matrix, X K+1 is the state update value, Y k+1 is the state prediction value of the state vector at the next moment, K k+1 is the Kalman filter gain value, Z k+1 is the measured vector at the next moment, PZ k+1 is the observed predicted value, P K+1 Update the state covariance matrix.

[0182] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A perception fusion method for an autonomous driving system, It is characterized in that include: Based on LiDAR, calibrate millimeter wave radar and camera; Based on the laser radar, calibrate the information collected by the millimeter wave radar and the camera, identify the targets in each information respectively, and obtain target parameter information of each target; The target parameter information includes: lateral position, longitudinal position, lateral speed, longitudinal speed, lateral acceleration, longitudinal acceleration, target width and target length; Based on the target parameter information, an unscented Kalman filter algorithm and a global matching method are used to perform perception fusion and matching to obtain a state update amount of the target that has been matched and tracked at the current moment; Based on the state update amount of the matched and tracked target, updating the matched and tracked target, comparing the tracked target at the current moment with the tracked target at the previous moment, and identifying a new tracked target; The pointRCNN method is used to identify the category of the target in the laser point cloud collected by the laser radar, obtain the target position coordinates based on the category, and calculate the length and width of the target based on the shape and position coordinates of the target; The yolo4 method is used to identify the type of target in the image captured by the camera. Based on image feature matching, the camera position is solved using the epipolar constraint, and the motion change of the target is calculated using triangulation. The position coordinates, speed information, length and width of the target are obtained by subtracting the camera's position. Performing clustering processing on the information collected by the millimeter wave radar to obtain the position coordinates and velocity information of the target, wherein the position coordinates include the lateral position and the longitudinal position, and the velocity information includes the lateral velocity, the longitudinal velocity, the lateral acceleration, and the longitudinal acceleration; The use of unscented Kalman filter algorithm and global matching method for perception fusion and matching includes: For each target identified by the laser radar, millimeter wave radar and camera, the target parameters are used as the state vector; the initial mean and variance of the state vector are set; based on the initial mean and variance of the state vector, multiple Sigma points are calculated; the weight of each Sigma point is calculated; based on each Sigma point, the predicted value of each Sigma point at the next moment, the state predicted value of the state vector at the next moment and the state covariance matrix are calculated; Based on the measured target parameters of each target identified by the laser radar, millimeter wave radar and camera, the targets identified by the laser radar, millimeter wave radar and camera are globally matched using the Hungarian method to obtain matched targets; For each matched target, according to the actual measured value of the state vector at the next moment, the observed value of each Sigma point is calculated, the observed prediction value and the observed covariance matrix are calculated according to the observed value of the Sigma point, the correlation coefficient between the state and the observation is obtained based on the state prediction value, the state covariance matrix, the observed prediction value and the observed covariance matrix, the Kalman filter gain is obtained based on the correlation coefficient between the state and the observation and the observation covariance matrix, and the state update value and the state covariance matrix update value of the matched target are obtained based on the Kalman filter gain; Each Sigma point is calculated using the following formula: in, For X k The mean value of X k is the state vector, X k =[p x ,p x ,v x ,v y ,a x ,a y ,W,L] T , p x is the lateral position, p y is the vertical position, v x is the lateral velocity, v y is the longitudinal velocity, a x is the lateral acceleration, a y is the longitudinal acceleration, W is the target width, L is the target length, P x For X k The variance of 2 (n+k)-n, k≥0, n is the dimension of the state vector, and α represents the degree to which the test point deviates from the expected value; The weight of each Sigma point is calculated using the following formula: in, is the weight of the state vector mean, is the weight of the variance, and β is used to represent the distribution information of X; The following formula is used to calculate the predicted value of each Sigma point at the next moment: e i,k+1 =F k e i,k +w k Among them, ε i,k+1 is the predicted value of the next moment of the i-th Sigma point, F k is the state transfer matrix, w k is the process noise; The state prediction value and state covariance matrix of the state vector at the next moment are calculated using the following formula: Among them, Y k+1 is the state prediction value of the state vector at the next moment, is the weight of the state vector mean, PP k+1 is the state covariance matrix of the state vector at the next moment, is the weight of the variance, Q is the process noise w k The normal distribution variance of ; The observed value of each Sigma point is calculated using the following formula: F i,k+1 =No i,k+1 +v k Among them, Φ i,k+1 is the observed value of the i-th Sigma point, H is the measurement matrix, ε i,k+1 is the predicted value of the i-th Sigma point at the next moment, v k To measure noise; The observed predicted value is calculated using the following formula: The observation covariance matrix is ​​calculated using the following formula: Among them, PZ k+1 is the observed predicted value, is the weight of the state vector mean, P y,k+1 is the observation covariance matrix, is the weight of the variance, R is the measurement noise v k The normal distribution variance of ; The Kalman filter gain is: K k+1 =P xy,k+1 ·P y,k-+1 -1 Status update value: X K+1 =Y k+1 +K k+1 (Z k+1 -PZ k+1 ) State covariance matrix update value: P K+1 =PP k+1 -K k+1 P y,k-+1 K k+1 T Among them, K k+1 is the Kalman filter gain, P xy,k+1 is the correlation coefficient between the state and the observation, P y,k+1 is the observation covariance matrix, X K+1 is the state update value, Y k+1 is the state prediction value of the state vector at the next moment, K k+1 is the Kalman filter gain value, Z k+1 is the measured vector at the next moment, PZ k+1 is the observed predicted value, P K+1 Update values ​​for the state covariance matrix.

2. The perception fusion method of the autonomous driving system according to claim 1, It is characterized in that The millimeter wave radar is calibrated using the following method: The images of the reflector location are collected using laser radar and millimeter wave radar respectively; The images collected by the laser radar and the millimeter wave radar are compared, and the yaw angle of the millimeter wave radar is adjusted until the position of the reflector detected by the laser radar overlaps with the position of the reflector detected by the millimeter wave radar.

3. The perception fusion method of the autonomous driving system according to claim 2, It is characterized in that The camera is calibrated using the following method: The internal parameters of the camera are calibrated using Zhang You calibration method; Placing a calibration plate in front of the vehicle, moving the calibration plate, and using the laser radar and camera to collect images with the calibration plate; Extract edge information from the image collected by the laser radar and the image collected by the camera respectively, and match corresponding edge points in the image collected by the laser radar and the image collected by the camera according to the edge information to generate a matching relationship; Obtaining a transformation relationship between the camera coordinate system and the laser radar coordinate system according to the matching relationship; According to the transformation relationship, the position of the camera is adjusted.

Citation Information

Patent Citations

  • Vehicle and multi-sensor data fusion method and device for vehicle

    CN107918386A

  • Multi-curvature-fusion driving collision avoidance system

    CN108008412A

  • Track and road obstacle detecting method

    CN109298415A

  • Positioning method, positioning system and automobile

    CN110646825A

  • Multi-sensor decision-level fused intelligent ship surface target sensing and identification method

    CN110850403A