Online Monitoring Method for Accuracy of External Parameters of Vehicle Sensors

Through real-time data processing of the monocular camera and IMU, using the chi-square test method and road normal vector calculation, the online monitoring and calibration of the vehicle sensor external parameters is realized, and the inconsistency of the sensor external parameters caused by vibration and other factors during driving is solved. Accuracy issues improve the accuracy and safety of autonomous driving.

CN118154700BActive Publication Date: 2024-09-06CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the vehicle sensor external parameter calibration method is carried out within a fixed period, and it is impossible to timely detect and correct external parameter inaccuracies caused by vibration and other factors during driving, which affects the automatic driving performance.

Method used

An online monitoring method for the accuracy of external parameters of vehicle sensors is used to collect data in real time through monocular cameras and IMUs, calculate the basic matrix between adjacent images, use the chi-square test method to screen road feature points, and calculate road normal vectors and matching Quality, determine the accuracy of external parameters in real time, and perform calibration if necessary.

Benefits of technology

It realizes real-time monitoring and correction of sensor external parameters while the autonomous vehicle is driving, improving the accuracy and safety of autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118154700B
    Figure CN118154700B
Patent Text Reader

Abstract

The present invention discloses an online monitoring method for the accuracy of external parameters of vehicle sensors, comprising: calculating the rotation matrix and translation vector of the IMU according to the measurement data of the IMU; calculating the basic matrix between two adjacent images; removing the image feature point set Q by using the chi-square test method; k The non-road feature points in the image are obtained by k ; For the image feature point set P k , using two road feature points in two adjacent images that are not collinear with the road feature points to fit a road plane, and calculating the road normal vector of the fitted road plane; obtaining the road normal vector in the camera coordinate system at time k-1, and using the distinguishing function to obtain the final road feature point set U; if the road feature point set U is not empty, then calculating the matching quality, if the matching quality meets the matching accuracy, it indicates that the external parameters are accurate, otherwise the external parameters need to be recalibrated. The present invention is conducive to improving the real-time and accuracy of external parameter monitoring, and is conducive to improving the accuracy of automatic driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sensor monitoring, and in particular to an online monitoring method for the accuracy of external parameters of a vehicle sensor. Background Art

[0002] The autonomous driving system is a comprehensive system that integrates many high-tech technologies. At present, the autonomous driving technology of vehicles is a research hotspot. The key technologies of the autonomous driving system include environmental perception, logical reasoning and decision-making, motion control, processor performance, etc. Among them, environmental perception is mainly achieved by sensors such as cameras, IMUs, and lidars.

[0003] The calibration accuracy of the external parameters of the vehicle sensor relative to the center of the vehicle body affects the measurement of the sensor, which in turn affects the subsequent decision-making, control and other links. For example, the lane lines, stop lines, arrows and other road sign information that can be detected from the road image collected by the camera are used to determine the position of the vehicle during driving; IMU is used to measure the vehicle's angular velocity, acceleration and other motion parameters. Since the sensor's detection results need to be converted to the vehicle coordinate system (i.e., the world coordinate system) through its external parameter matrix for application, the quality of the sensor's external parameters will affect the subsequent application effect. Before the sensor is applied to the vehicle, it will be pre-calibrated to ensure the accuracy of the external parameters.

[0004] However, when a vehicle passes over speed bumps or uneven gravel roads, the vibrations will cause the pre-calibrated sensor external parameters to be inaccurate, thus affecting the vehicle's performance during autonomous driving. Currently, the commonly used method for calibrating vehicle sensor external parameters is to calibrate the sensor external parameters regularly within a fixed period. This method not only has low work efficiency, but also fails to detect problems in a timely manner. Summary of the invention

[0005] In order to solve the problems existing in the prior art, the present invention provides an online monitoring method for the accuracy of external parameters of a vehicle sensor.

[0006] The technical solution adopted by the present invention to solve the technical problem is: an online monitoring method for the accuracy of external parameters of a vehicle sensor, wherein the vehicle sensor includes a monocular camera and an IMU.

[0007] The method comprises the following steps:

[0008] S1, obtaining the image I captured by the monocular camera, the measurement data measured by the IMU, and the extrinsic parameter matrix of the monocular camera converted to the IMU after being pre-calibrated offline;

[0009] S2. Calculate the rotation matrix of the IMU based on the measurement data of the IMU and translation vectors ;

[0010] S3, based on the image feature point set Q collected by the monocular camera k , rotation matrix and translation vectors After estimating the relative pose of the monocular camera, the basic matrix between two adjacent images is calculated ;

[0011] S4, using the chi-square test method to remove the image feature point set Q k The non-road feature points in the image are obtained by k ;

[0012] S5. For the image feature point set P k , a road plane is fitted using two road feature points in two adjacent images that are not collinear with the road feature points, and the road normal vector of the fitted road plane is calculated ;

[0013] S6. Obtain the road normal vector in the camera coordinate system at time k-1 , using the discriminant function Get the final road feature point set U;

[0014] S7. If the road feature point set U is not empty, the matching quality is calculated. If the matching quality satisfies the matching accuracy, it indicates that the external parameters are accurate. Otherwise, the external parameters need to be recalibrated.

[0015] Furthermore, step S4 specifically includes:

[0016] Establish the null hypothesis, that is, H0: and is a road feature point; H1: and is not a road feature point; among them, represents the image I at time k k The jth feature point in Indicated in image I k-1 Zhongyu Corresponding feature points;

[0017] Assumptions For polar line Up to the feature point The closest point, the feature point and The Euclidean distance between , statistics ,when , reject H0, otherwise accept H0, where represents the variance of the distance from the feature point to the epipolar line, Indicates the significance level, the degree of freedom of the chi-square test in this process is 2;

[0018] The feature point pairs that pass the chi-square test form the image feature point set P k :

[0019] .

[0020] Furthermore, step S5 specifically includes:

[0021] Road Normal At k=1, the z-axis of the IMU is aligned to triangulate the road features in the camera coordinate system. Fitting of road plane is performed in

[0022] According to the antisymmetric matrix properties, we can get: ,

[0023] represents the determinant of the fundamental matrix F, Represents a skew-symmetric matrix, and transforms the homogeneous eigenvectors Substituting the two ends of the right side of the above equation, since the homogeneous eigenvectors Perpendicular to the road normal vector, we get the following formula:

[0024] ,

[0025] set up , is image I k-1 The points on are transformed by the basic matrix F. Change to image I k The upper polar line, is image I k-1 On and The corresponding polar line, Anything that does not pass through image I k-1 The line of the polar line e, It can be expressed as , then the formula Can be organized as: ;

[0026] definition , From the image feature point set P k The points and non-conormalized lines selected in is image I k The corresponding feature points in the road are decomposed by the following SVD singular value decomposition to obtain the road normal vector of the fitted road plane. :

[0027] .

[0028] Furthermore, step S6 specifically includes:

[0029] Road normal vector in the camera coordinate system at time k-1 for:

[0030] ,

[0031] Represents the estimated value of the rotation matrix from the camera coordinate system to the IMU coordinate system, express The rotation matrix operator of ;

[0032] Differentiation function The definition is as follows:

[0033]

[0034] when When , , are all road feature points, otherwise at least one of the three feature points is not on the road plane. The threshold value for limiting the selection of road feature points, express The absolute value norm of .

[0035] Furthermore, step S7 specifically includes: calculating three error parameters between two adjacent road feature points in the road feature point set U: , , , if the mean of these three error parameters Greater than the maximum error value , it indicates that the matching quality does not meet the matching accuracy and the external parameters need to be recalibrated.

[0036] Furthermore, the three error parameters are: Simpson distance , Symmetrical epipolar distance and residual .

[0037] Furthermore, the Simpson distance ,in,

[0038] .

[0039] Furthermore, the symmetric epipolar distance , and satisfy , YesP k,j The average value of the surrounding points, YesP k-1,j The average of the surrounding points.

[0040] Furthermore, the residual .

[0041] Furthermore, the basic matrix , K represents the intrinsic parameter matrix of the monocular camera, Represents image I k-1 To I k The translation vector of Represents image I k-1 To I k The rotation matrix of .

[0042] The beneficial effect of the present invention is that the online monitoring method of the accuracy of the external parameters of the vehicle sensor of the present invention calculates the basic matrix between two adjacent images based on the data collected in real time by the monocular camera and the IMU, and then preliminarily screens out the road features using the chi-square test method, and then further refines the road features using the road normal vector and the basic matrix to obtain the final road feature set, and performs matching quality calculation on the final road feature set to determine whether the external parameters are accurate. The present invention is an online monitoring method that can judge the accuracy of the external parameters in real time during the driving process of the autonomous driving vehicle, so that problems can be discovered and corrected in time, and the accuracy and safety of the autonomous driving vehicle can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0044] Figure 1 It is a flow chart of the online monitoring method of the accuracy of the external parameters of the vehicle sensor of the present invention.

[0045] Figure 2 It is a schematic diagram of the coordinate system of the present invention.

[0046] Figure 3 It is a schematic diagram of the plane fitting of the present invention.

[0047] Figure 4 This is the specific processing flow of the online monitoring method for the accuracy of the external parameters of the vehicle sensor of the present invention. DETAILED DESCRIPTION

[0048] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0049] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0050] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0051] In the present invention, the vehicle sensors include: a monocular camera and an IMU, and the external parameters of these two sensors are mainly calibrated.

[0052] like Figures 1 to 4 As shown, the online monitoring method of the accuracy of the external parameters of the vehicle sensor of the present invention comprises the following steps: S1, obtaining the image I captured by the monocular camera, the measurement data measured by the IMU, and the external parameter matrix of the monocular camera converted to the IMU after offline pre-calibration. S2, calculating the rotation matrix of the IMU according to the measurement data of the IMU and translation vectors S3, based on the image feature point set Q collected by the monocular camera k , rotation matrix and translation vectors After estimating the relative pose of the monocular camera, the basic matrix between two adjacent images is calculated S4. Use the chi-square test method to remove the image feature point set Q k The non-road feature points in the image are obtained by k S5. For the image feature point set P k , a road plane is fitted using two road feature points in two adjacent images that are not collinear with the road feature points, and the road normal vector of the fitted road plane is calculated S6. Obtain the road normal vector in the camera coordinate system at time k-1 , using the discriminant function The final road feature point set U is obtained. S7. If the road feature point set U is not empty, the matching quality is calculated. If the matching quality satisfies the matching accuracy, it indicates that the external parameters are accurate. Otherwise, the external parameters need to be recalibrated.

[0053] It should be noted that the present invention uses the data collected by the monocular camera and IMU, excludes non-road feature points, and then quantifies the matching quality of the road feature points, and judges whether the external parameters of the current vehicle sensor are accurate based on the matching quality. The present invention is an online monitoring method that can timely detect changes in the external parameters of the vehicle sensor, and then can timely calibrate to ensure the accuracy and safety of the vehicle's automatic driving.

[0054] It needs to be explained that represents the camera coordinate system, represents the IMU coordinate system, Represents the world coordinate system, which coincides with the IMU coordinate system. The monocular camera pre-calibrated offline is converted to the external parameter matrix of the IMU (including the basic rotation matrix and the base translation vector ), which is used to calculate the difference between the normal vector of the road image feature points in the image of the monocular camera after filtering and the IMU longitudinal z-axis vector in the IMU coordinate system during normal driving. During normal driving, the difference is very small and accurate. If the vehicle passes through a roadblock speed bump or a gravel road, or a vehicle with poor chassis buffering, the relative position of the monocular camera and the IMU will change, and the difference will become larger, and the external parameter matrix of the monocular camera and the IMU needs to be recalibrated.

[0055] When the autonomous vehicle is driving, the processor receives images from the monocular camera and measurement data from the IMU at a high frequency. The present invention uses an extended Kalman filter estimator to track the coordinates of the IMU. The keyframes below are relative to the world coordinate system The pose of the vehicle is obtained, and the basic matrix of two adjacent images in the monocular camera is obtained. Then, the chi-square test method is used in combination with the epipolar constraint to preliminarily screen the road feature points, and then the road normal vectors are compared, and the basic matrix calculated by the IMU data after the Kalman filter is used to further refine the road feature set.

[0056] Specifically, the working status of IMU It can be described as:

[0057] (1)

[0058] in, Represents the quaternion converted from the world coordinate system to the IMU coordinate system, and Respectively represent the transposition of the position and velocity of the IMU relative to the world coordinate system, and They represent the transpose of the deviation vectors that affect the measurements of the gyroscope and accelerometer (these two are internal components of the IMU). The deviation of the IMU is a random walk process, and is composed of white Gaussian noise. and k represents the sequence number of the image of the monocular camera, and i represents the sequence number of the key frame received by the monocular camera.

[0059] In the IMU coordinate system, in the image and The ith angular velocity measured by the IMU and acceleration They are:

[0060] (2)

[0061] in, Representing quaternions The rotation matrix operator is Represents the gravity in the world coordinate system, and They represent zero-mean Gaussian noise, which is used to simulate measurement noise. and They represent the acceleration and angular velocity in the world coordinate system respectively. and Denote the bias vectors that affect the gyroscope and accelerometer measurements, respectively.

[0062] IMU error status It can be expressed as:

[0063] (3)

[0064] in, represents the transpose of the estimated error of the rotation angle, and denote the transpose of the estimated errors of the bias vectors affecting the gyroscope and accelerometer measurements, respectively, and They represent the transpose of the estimated error of the IMU position and velocity relative to the world coordinate system, respectively.

[0065] The error motion equation of the IMU can be expressed as:

[0066] (4)

[0067] in, represents the system noise, and A and G are matrices. The nominal state of the IMU can be obtained by integrating formula (4).

[0068] (5)

[0069] (6)

[0070] in, represents a 3*3 identity matrix, 0 represents a 3*3 all-zero matrix, represents a skew-symmetric matrix, Representation parameters The skew-symmetric matrix is , Representing quaternions The rotation matrix operator is , Representation parameters The skew-symmetric matrix is , and Respectively and The estimated value of .

[0071] The Kalman measurement model is:

[0072] (7)

[0073] in, , represents white zero-mean Gaussian noise, H represents the matrix,

[0074] (8)

[0075] For the error estimate in formula (3) , , , represents quaternion multiplication, and Represents quaternions The estimated error and estimated value of and They represent the estimated error and estimated value of the position of the IMU relative to the world coordinate system, respectively. According to formulas (4) to (7), the rotation matrix can be obtained by discrete time integration, and the image I can be obtained. k The quaternion And the translation vector. Then we can get the rotation matrix of IMU and translation vectors :

[0076] (9)

[0077] Image I k-1 To Image I k The rotation matrix between and translation vectors for:

[0078] (10)

[0079] Represents the estimated value of the rotation matrix from the camera coordinate system to the IMU coordinate system, Represents an estimate of the translation vector from the camera coordinate system to the IMU coordinate system.

[0080] After obtaining the relative posture of the monocular camera, we can construct two adjacent images I k-1 and I k The basic matrix between :

[0081] (11)

[0082] K represents the intrinsic parameter matrix of the monocular camera, Represents image I k-1 To I k The translation vector of Represents image I k-1 To I k The rotation matrix of . According to the basic matrix Can construct image I k-1 with I k The characteristic relationship between them.

[0083] After constructing the basic matrix between two adjacent images, it is necessary to screen the road features in the image. When an autonomous driving vehicle is driving, the image captured by the monocular camera will contain road features (lane lines, arrows, etc.), object features, etc. For the monitoring of external parameters, in order to improve the accuracy of the monitoring method, it is necessary to remove non-road features in the image. The present invention uses the chi-square test method to preliminarily screen out the road features in the image. Specifically including:

[0084] S4.1. Establish the null hypothesis.

[0085] H0: and is a road feature point; H1: and is not a road feature point; among them, represents the image I at time k k The jth feature point in Indicated in image I k-1Zhongyu The corresponding feature points.

[0086] S4.2 Assumptions For polar line Up to the feature point The nearest point, , , and Represents homogeneous eigenvectors, feature points and The Euclidean distance between , " " represents the Euclidean norm, the statistic ,when , reject H0, otherwise accept H0, where represents the variance of the distance from the feature point to the epipolar line (set to 1 in this invention), represents the significance level (set to 0.05 in this invention), and the degree of freedom of the chi-square test in this process is 2. The statistic threshold is set to 5.99, that is, when the statistic , it indicates that the feature point is a non-road feature point and needs to be removed.

[0087] S4.3. The feature point pairs that pass the chi-square test form an image feature point set P k :

[0088] (12).

[0089] Image feature point set P k is the preliminary road feature point set, and Represent the values ​​of k and j respectively.

[0090] Then, using the road normal vector To further select the image feature point set P k Road feature points in . Road normal vector Aligned with the z-axis of the IMU at time k=1. Road normal vector in the camera coordinate system at time k-1 Can be set to:

[0091] (13)

[0092] Then, use the image feature point set P k Triangulate the road features, fit the road plane in the camera coordinate system, and derive the normal vector of the fitted road plane at time k-1 The specific derivation process is as follows:

[0093] According to the antisymmetric matrix properties, we can get:

[0094] (14)

[0095] in, represents the determinant of the fundamental matrix F, Represents a skew-symmetric matrix, and transforms the homogeneous eigenvectors Substituting the two ends of the right side of formula (14), since the homogeneous eigenvector Perpendicular to the road normal vector, we can get the following formula:

[0096] (15)

[0097] set up , is image I k-1 The points on are transformed by the basic matrix F. Change to image I k The upper polar line. is image I k-1 On and The corresponding polar line, Anything that does not pass through image I k-1 The line of the polar line e, It can be expressed as , formula (15) can be rearranged as:

[0098] (16)

[0099] The normal vector can be solved by three lines ,Wire , , You can use image I k-1 It is constructed by three non-collinear feature points. Definition , From the image feature point set P k The points and non-conormalized lines selected in is image I k The corresponding feature points in the road can be obtained by SVD singular value decomposition of formula (17) to obtain the road normal vector of the fitted road plane. .

[0100] (17)

[0101] In order to extract road features, we define feature point pairs. and The distinguishing function for:

[0102] (18)

[0103] when When , , are all road feature points, otherwise at least one of the three feature points is not on the road plane. The threshold value for limiting the selection of road feature points, express The road feature points can be further screened out by distinguishing the function.

[0104] It should be noted that when the autonomous vehicle is driving, the normal directions of the ground road in adjacent frames of the continuous images captured by the monocular camera coincide. Formula (13) can be used to convert the z-axis normal vector of the IMU to the camera coordinate system. Formulas (14), (15), (16), and (17) can be used to solve the normal vector of the fitted plane in the camera coordinate system using three lines connected by three non-collinear points in the camera coordinate system. Since the image feature point set P k There may also be some non-road feature points (such as objects on the road, non-road feature points that are not completely filtered out by the chi-square test). The fitting plane includes the road plane and may also include the object plane. Under normal circumstances, the road plane and the object plane are not in the same plane. By comparing formula (18), non-road features can be further excluded to obtain the final road feature point set U.

[0105] After obtaining the road feature point set U, the accuracy of the external parameters can be judged. The judgment process includes: calculating the three error parameters between two adjacent road feature points in the road feature point set U: , , , if the mean of these three error parameters Greater than the maximum error value ( It can be set to 0.832), indicating that the matching quality does not meet the matching accuracy and the external parameters need to be recalibrated. Using the mean of the three errors for comprehensive judgment can avoid misjudgment and improve the accuracy of the judgment results. The three error parameters are: Simpson distance , Symmetrical epipolar distance and residual .

[0106] The Simpson distance characterizes the similarity of two samples by comparing the distance between them. The smaller the distance, the more similar the sample sets of image feature points between two adjacent moments are. ,in,

[0107] .

[0108] Symmetric epipolar distance is the distance between a point and an epipolar line. The smaller the symmetric epipolar distance is, the more corresponding the geometric relationship between the objects in the image at two moments is. , and satisfy In two consecutive frames of images, the P of the image at time k is k,j Point is the P of the image at time k-1 k-1,j The epipolar mapping point of a point. YesP k,j The average value of the surrounding points, YesP k-1,j The average value of the surrounding points also satisfies the epipolar mapping relationship. Therefore, the smaller the distance between the symmetric epipolar lines, the more the spatial geometry of the objects in the two frames of images corresponds, and thus the more similar the images are.

[0109] Residual ,image and The residual between the two images is the square of the distance between the epipolar line of each point in the image and the matching point in the other image. Therefore, the smaller the residual, the smaller the displacement interval between the two frames of images. The smaller the displacement interval between the images, the more similar the two frames of images are.

[0110] image and The smaller the error between them, the smaller the change in the external parameter is or the less change is. If the average of the three error values ​​exceeds 0.832, the external parameter is considered inaccurate and the external parameter between the monocular camera and the IMU needs to be recalibrated.

[0111] In summary, the online monitoring method of the accuracy of the external parameters of the vehicle sensor of the present invention calculates the basic matrix between two adjacent images based on the data collected in real time by the monocular camera and IMU, and then preliminarily screens out the road features using the chi-square test method, and then further refines the road features using the road normal vector and the basic matrix to obtain the final road feature set. The matching quality of the final road feature set is calculated to determine whether the external parameters are accurate. The present invention is an online monitoring method that can judge the accuracy of the external parameters in real time during the driving process of the autonomous driving vehicle, so that problems can be discovered and corrected in time, thereby improving the accuracy and safety of the autonomous driving vehicle.

[0112] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.

Claims

1. An online monitoring method for the accuracy of vehicle sensor external parameters, It is characterized in that Vehicle sensors include: monocular camera and IMU, The method comprises the following steps: S1, obtaining the image I captured by the monocular camera, the measurement data measured by the IMU, and the extrinsic parameter matrix of the monocular camera converted to the IMU after being pre-calibrated offline; S2. Calculate the rotation matrix of the IMU based on the measurement data of the IMU and translation vectors ; S3, based on the image feature point set Q collected by the monocular camera k , rotation matrix and translation vectors After estimating the relative pose of the monocular camera, the basic matrix between two adjacent images is calculated ; The basic matrix , K represents the intrinsic parameter matrix of the monocular camera, Represents image I k-1 To I k The translation vector of Represents image I k-1 To I k The rotation matrix of S4, using the chi-square test method to remove the image feature point set Q k The non-road feature points in the image are obtained by k ; S5. For the image feature point set P k , a road plane is fitted using two road feature points in two adjacent images that are not collinear with the road feature points, and the road normal vector of the fitted road plane is calculated ; S6. Obtain the road normal vector in the camera coordinate system at time k-1 , using the discriminant function Get the final road feature point set U; S7. If the road feature point set U is not empty, the matching quality is calculated. If the matching quality satisfies the matching accuracy, it indicates that the external parameters are accurate. Otherwise, the external parameters need to be recalibrated. Step S4 specifically includes: Establish the null hypothesis, that is, H0: and is a road feature point; H1: and is not a road feature point; among them, represents the image I at time k k The jth feature point in Indicated in image I k-1 Zhongyu Corresponding feature points; Assumptions For polar line Up to the feature point The closest point, the feature point and The Euclidean distance between , statistics ,when , reject H0, otherwise accept H0, where represents the variance of the distance from the feature point to the epipolar line, represents the significance level, =0.05, the degree of freedom of the chi-square test in this process is 2, ; The feature point pairs that pass the chi-square test form the image feature point set P k : ; definition , From the image feature point set P k Points and non-conormalized lines selected from ; Step S6 specifically includes: Road normal vector in the camera coordinate system at time k-1 for: , Represents the estimated value of the rotation matrix from the camera coordinate system to the IMU coordinate system, express The rotation matrix operator of ; Differentiation function The definition is as follows: when When , , are all road feature points, otherwise at least one of the three feature points is not on the road plane. The threshold value selected to limit the road feature points, express The absolute value norm of ; Step S7 specifically includes: calculating three error parameters between two adjacent road feature points in the road feature point set U: , , , if the mean of these three error parameters Greater than the maximum error value , it indicates that the matching quality does not meet the matching accuracy and the external parameters need to be recalibrated; The three error parameters are: Simpson distance , Symmetrical epipolar distance and residual .

2. The method for online monitoring of the accuracy of the external parameters of a vehicle sensor as claimed in claim 1, It is characterized in that Step S5 specifically includes: Road Normal At k=1, the z-axis of the IMU is aligned to triangulate the road features in the camera coordinate system. Fitting of road plane is performed in According to the antisymmetric matrix properties, we can get: , represents the determinant of the fundamental matrix F, Represents a skew-symmetric matrix, and transforms the homogeneous eigenvectors Substituting the two ends of the right side of the above equation, since the homogeneous eigenvectors Perpendicular to the road normal vector, we get the following formula: , set up , is image I k-1 The points on are transformed by the basic matrix F. Change to image I k The upper polar line, is image I k-1 On and The corresponding polar line, Anything that does not pass through image I k-1 The line of the polar line e, It can be expressed as , then the formula Can be organized as: ; is image I k The corresponding feature points in the road are decomposed by the following SVD singular value decomposition to obtain the road normal vector of the fitted road plane. : 。 3. The online monitoring method for the accuracy of the external parameters of the vehicle sensor as claimed in claim 2, It is characterized in that Simpson distance ,in, 。 4. The method for online monitoring of the accuracy of the external parameters of a vehicle sensor as claimed in claim 2, It is characterized in that Symmetric epipolar distance , and satisfy , YesP k,j The average value of the surrounding points, YesP k-1,j The average of the surrounding points.

5. The online monitoring method for the accuracy of the external parameters of the vehicle sensor as claimed in claim 2, It is characterized in that Residual .