A fast joint calibration method for millimeter wave radar and camera
By using corner reflectors and pinhole camera models, the joint calibration process of millimeter wave radar and cameras is simplified, solving the problem of low calibration accuracy in the existing technology, achieving fast and accurate calibration effects, and is suitable for multi-sensor perception. system.
Patent Information
- Application Number
- CN202010616507.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-07-01
AI Technical Summary
The existing joint calibration method of millimeter wave radar and camera has strong prerequisites, which makes the calibration process complicated, and the selection of reference objects with large targets and irregular shapes leads to a decrease in calibration accuracy.
Corner reflectors are used in conjunction with millimeter-wave radar and cameras. The corner reflectors have large reflection intensity and small size, which avoids the problems of large reference targets, irregular shapes, and poor reflection intensity. The pinhole camera model and checkerboard grid are used. The calibration board is used for calibration, and the radar angle and external parameters are adjusted to improve the accuracy and speed of joint calibration.
It achieves fast and accurate joint calibration of millimeter-wave radar and cameras, avoids the situation of more than one projection point and inaccurate lateral position, improves calibration accuracy and speed, and is suitable for fusion sensing solutions of multiple millimeter-wave radars and vision. .
Smart Images

Figure CN112070841B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-sensor joint calibration, and in particular to a method for rapid joint calibration of a millimeter-wave radar and a camera. Background Art
[0002] For unmanned motion platforms, whether they are intelligent driving vehicles on regular roads, unmanned agricultural machinery on unstructured roads, or mobile robots in indoor scenes, it is very important to use multi-sensor fusion to accurately perceive and identify targets and improve their environmental cognition capabilities. The use of multi-sensor fusion can effectively avoid accidents caused by the failure of a single sensor, and the complementary advantages between multiple sensors can significantly improve the perception accuracy of the perception system. Among different sensor fusion schemes, cameras have become an indispensable part of the perception system of unmanned motion platforms because of their low price and ability to provide rich semantic information. However, cameras are easily affected by the external environment such as variable lighting, and it is difficult to obtain accurate location information of the target; millimeter-wave radar is also a low-cost sensor with good ranging and speed measurement accuracy, and is less affected by weather factors such as light, smoke, rain and snow, forming a natural complement to cameras. Therefore, using cameras and millimeter-wave radars for perception fusion is a low-cost and stable perception solution.
[0003] However, since the perception data of the two sensors are described in their respective coordinate systems, in order to use the fusion data of the camera and millimeter-wave radar as the target detection result, the two sensors must first be jointly calibrated to determine the conversion relationship between their coordinate systems.
[0004] Joint calibration usually includes self-calibration of each sensor and inter-sensor calibration. Among them, self-calibration of each sensor is mainly to determine its own parameters, such as camera internal parameters, so as to ensure that the data can be accurately acquired by the sensor; inter-sensor calibration is to determine the projection relationship of data in a single sensor coordinate system to another sensor coordinate system, so as to ensure that the data of the two sensors match accurately.
[0005] There are some studies on the joint calibration methods of millimeter-wave radar and camera at home and abroad. For example, Luo Xiao of Tsinghua University made the normal vector of the millimeter-wave radar plane parallel to the longitudinal symmetry plane of the vehicle through the strict assumption of the longitudinal symmetry plane of the vehicle, calibrated the radar and camera respectively, and obtained the projection relationship of the coordinate systems of the two by calculation. In this study, a good calibration effect was obtained. However, in order to obtain the longitudinal symmetry plane of the vehicle, the researchers need to first measure several symmetric points on the surface of the vehicle, calculate the midpoint of the vehicle, and then scan a vertical laser plane with a laser level. The method is relatively complicated to implement; Tao Wang et al. of Xi'an Jiaotong University used metal plates to calibrate cameras and millimeter-wave radars in their research. From the results, the large area of the metal plate makes the lateral deviation of the calibration too large, making it difficult to achieve good results. In addition, there are also calibrations using vehicles, pedestrians, etc. as reference objects, but due to the large reference objects, irregular shapes, poor reflection intensity, etc., it is easy to produce more than one projection point of the millimeter-wave radar measurement point in the image plane, and the lateral position of the projection point is inaccurate, which affects the joint calibration accuracy of millimeter-wave radar and vision.
[0006] In summary, some of the existing millimeter-wave and camera joint calibration methods have strong prerequisites, and complex operations are often required to meet the required prerequisites; some select reference objects with large targets and irregular shapes, resulting in inaccurate lateral position of calibration, causing a decrease in calibration accuracy.
[0007] There is a need for a joint calibration method that can achieve fast calibration and avoid strong prerequisites in use. Summary of the invention
[0008] The present invention aims to solve the problems that some of the existing millimeter-wave radar and camera joint calibration methods in the prior art have strong prerequisites, and complex operations are often required to meet the required prerequisites; some select reference objects with large targets and irregular shapes, resulting in inaccurate lateral positions of calibration and reduced calibration accuracy. A millimeter-wave radar and camera rapid joint calibration method is provided, which is combined with a corner reflector with a millimeter-wave radar and a camera, has a high reflection intensity, and can be accurately acquired by the millimeter-wave radar, thereby avoiding the problem that the reference object is large, irregularly shaped, and has poor reflection intensity, thereby solving the above problems.
[0009] The present invention provides a method for rapid joint calibration of a millimeter wave radar and a camera, comprising the following steps:
[0010] S1. Install the camera and radar group on the motion platform and place the mobile platform in an open and flat area;
[0011] S2. Place the corner reflector in front of the motion platform, adjust the height of the corner reflector to be the same as the height of the radar group, and adjust the distance between the corner reflector and the radar group until the corner reflector appears within the camera image range;
[0012] S3, using the pinhole camera model to calibrate the camera internal parameters and adjust the radar angle;
[0013] S4, determining the initial projection extrinsic parameters of the millimeter wave coordinate system Xr-Yr to the camera coordinate system Xc-Yc;
[0014] S5, adjusting the yaw angle and translation distance values of the external parameters by calculating the deviation between the imaging position of the corner reflector in the image plane and the projection position of its radar detection point on the image plane;
[0015] S6. Output the camera intrinsic parameter matrix and extrinsic parameters, and the calibration is completed.
[0016] The radar group can be multiple millimeter-wave radars, that is, multiple millimeter-wave radars and cameras can be jointly calibrated. If the number of millimeter-wave radars is greater than or equal to two, it is only necessary to place the corner reflector at a position where multiple millimeter-wave radars can detect simultaneously, and the position of the corner reflector needs to be adjusted so that it appears in the camera image. The corner reflector has a high reflection intensity and can be accurately acquired by the millimeter-wave radar, avoiding the problem that the millimeter-wave radar measurement point has more than one projection point in the image plane and the lateral position of the projection point is inaccurate due to the large reference target, irregular shape, and poor reflection intensity, which affects the joint calibration accuracy of the millimeter-wave radar and vision. The corner reflector is small in size, and the pixel deviation between the projection point of the corner reflector and its imaging point in the image plane can be used to obtain better feedback, thereby adjusting the projection parameters and improving the joint calibration speed.
[0017] The millimeter wave radar and camera rapid joint calibration method described in the present invention is, as a preferred embodiment, the specific method of step S3 is:
[0018] S31. Use the checkerboard calibration plate to calibrate the camera internal parameters. The camera internal parameter matrix is: where f x and f y is the focal length of the camera, u0 and v0 are the coordinates of the principal point of the image;
[0019] S32, adjusting the radar group transmitting and receiving planes to be perpendicular to the ground;
[0020] S33, measure the distance between the projection position of the radar group on the ground and the corner reflector, and compare it with the corner reflector distance measured by the radar group. If the deviation is less than the threshold, proceed to step S4; if the deviation is greater than or equal to the threshold, adjust the roll angle and pitch angle of the radar and repeat step S33.
[0021] The millimeter wave radar and camera rapid joint calibration method described in the present invention is, as a preferred embodiment, S31, adjusting the radar group transmitting and receiving planes to be perpendicular to the ground;
[0022] S32, measuring the distance between the projection position of the radar group on the ground and the corner reflector, and comparing it with the distance of the corner reflector measured by the radar group. If the deviation is less than the threshold, proceed to step S4; if the deviation is greater than or equal to the threshold, adjust the roll angle and pitch angle of the radar, and repeat step S32;
[0023] S33. Calibrate the camera internal parameters using a checkerboard calibration plate. The camera internal parameter matrix is: where f x and f y is the focal length of the camera, u0 and v0 are the coordinates of the principal point of the image.
[0024] Since millimeter-wave radar is mainly used on unmanned tractors to measure surrounding obstacles, it is necessary to ensure that its normal plane is perpendicular to the ground as much as possible.
[0025] Use a tape measure to measure the distance between the projection position of the millimeter-wave radar on the ground and the corner reflector, and compare it with the distance of the corner reflector measured by the millimeter-wave radar. If the deviation is less than the threshold, it proves that its roll angle and pitch angle are basically eliminated; otherwise, the roll angle and pitch angle of the millimeter-wave radar are adjusted according to the feedback of the measurement error until the deviation is reduced to an acceptable range.
[0026] Adjusting the radar and pinhole camera models to calibrate the camera internal parameters can be performed simultaneously.
[0027] The millimeter wave radar and camera rapid joint calibration method described in the present invention is a preferred method. The specific method of step S4 is: measuring the lateral and longitudinal translation distances Tx and Ty between the millimeter wave radar and the camera, and measuring the yaw angle R of the millimeter wave radar relative to the camera. θ , thereby determining the initial projection extrinsic parameters of the millimeter wave coordinate system Xr-Yr to the camera coordinate system Xc-Yc.
[0028] The millimeter-wave radar outputs the horizontal and vertical coordinates of the target, but does not output vertical parameters. Therefore, the conversion between the millimeter-wave radar coordinate system and the camera coordinate system can be considered as a two-dimensional coordinate system conversion, that is, a two-dimensional translation and rotation.
[0029] The millimeter wave radar and camera rapid joint calibration method described in the present invention, as a preferred embodiment, step S5 specifically includes:
[0030] S51, project the corner reflector target point measured by the radar group onto the image plane through the initial projection external parameters and the camera internal parameters, and set the radar measurement point coordinates to (x r ,y r), whose projection point in the camera coordinate system is (x c ,y c ), the coordinates of the projection point in the image plane are (u, v), then its projection relationship to the radar measurement point in the camera coordinate system is
[0031]
[0032] S52, project the corner reflector target point in the camera coordinate system onto the image plane, and the projection equation is:
[0033] S53, calculate the deviation between the imaging position of the corner reflector in the image plane and the projection position of its radar detection point on the image plane. If the deviation is less than the threshold, proceed to step S54; if the deviation is greater than the threshold, adjust the external parameters Tx, Ty, R θ Then repeat step S53;
[0034] S54, moving the corner reflector to different positions, and repeating step S53 to calculate the projection deviation, until the projection deviations at different positions are all smaller than the threshold value.
[0035] From the above two projection formulas, the measurement points in the radar coordinate system are projected to the image coordinate system, i.e., the image plane, through the radar and camera coordinate system transformation matrix and the camera intrinsic parameter matrix. In both equations, Kc has been determined by the camera calibration step, so only the rotation angle R of the coordinate system needs to be calculated. θi And the horizontal and vertical translation values and Just perform calibration.
[0036] The relative rotation angle R of the coordinate system θi And the horizontal and vertical translation values and Perform preliminary measurements and determine the initial external parameters, then calculate [x r1 ,y r1 ] and [x r2 ,y r2 ] is the initial projection position in the image plane. If the initial external parameter measurement is relatively accurate, the projection point of the corner reflector is exactly at its image position, but the angle cannot be measured accurately, and there will be some deviation in the distance measurement. Usually, increasing or decreasing R θ , the projection point of the corner reflector will move left and right regularly on the image plane, so R θ of fine-tuning.
[0037] Through the projection process of this step, the corner reflector target point measured by the millimeter wave radar can be displayed in the image plane.
[0038] The millimeter wave radar and camera rapid joint calibration method described in the present invention is preferably used in which the external parameters include Tx, Ty, R θ , Tx is the horizontal translation distance between the millimeter wave radar and the camera, and Ty is the vertical translation distance between the millimeter wave radar and the camera, R θ is the yaw angle of the millimeter-wave radar relative to the camera.
[0039] The millimeter-wave radar and camera rapid joint calibration method described in the present invention, as a preferred embodiment, the radar group includes at least two radars, and the radars are symmetrically installed on the motion platform.
[0040] The beneficial effects of the present invention are as follows:
[0041] (1) The corner reflector has a high reflection intensity and can be accurately acquired by the millimeter-wave radar. This avoids the problem that the millimeter-wave radar measurement point has more than one projection point in the image plane and the lateral position of the projection point is inaccurate due to the large reference target, irregular shape, and poor reflection intensity, which affects the joint calibration accuracy of the millimeter-wave radar and vision.
[0042] (2) The size of the corner reflector is small, and the pixel deviation between the projection point of the corner reflector and its imaging point in the image plane can be used to obtain better feedback, thereby adjusting the projection parameters and improving the joint calibration speed;
[0043] (3) Multiple millimeter-wave radars and cameras can be jointly calibrated at the same time, which can better adapt to the motion platform perception solution that requires the fusion of multiple millimeter-wave radars and vision. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a flow chart of a method for rapid joint calibration of millimeter wave radar and camera;
[0045] Figure 2 A millimeter wave radar and camera fast joint calibration method is provided. The millimeter wave radar and camera are installed with a left view;
[0046] Figure 3 A millimeter-wave radar and camera fast joint calibration method is provided. The millimeter-wave radar and camera are installed in a top view.
[0047] Reference numerals:
[0048] 1. Motion platform; 2. Camera device; 3. Radar group; 4. Corner reflector. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0050] Example 1
[0051] like Figure 1 As shown, a method for rapid joint calibration of a millimeter wave radar and a camera 2 includes the following steps:
[0052] S1. Install the millimeter-wave radar and camera 2 at a fixed position of the motion platform 1, that is, the front position of the vehicle, and place the motion platform 1 in an open and flat place, which can be an outdoor square or an indoor flat hall;
[0053] S2. Place the corner reflector 4 in front of the millimeter-wave radar so that it is directly opposite to the front of the vehicle, adjust its height so that the reflector is roughly at the same height as the millimeter-wave radar, and adjust the distance of the reflector so that it can appear in the image of the camera 2;
[0054] S3. Use the pinhole camera model to calibrate the internal parameters of the binocular camera 2. In general applications, the millimeter-wave radar measurement data only needs to be projected onto an image plane. In this embodiment, the left target coordinate system is selected as the camera coordinate system. The calibration adopts the Zhang Zhengyou calibration method, that is, a hard, invisible chessboard calibration plate is used as a calibration reference, and the position of the calibration plate is continuously moved. The camera model parameters are solved through the correspondence between the coordinates of the feature points (chessboard corner points) in the image and the world coordinates, thereby obtaining the camera's internal parameter matrix where f x and f y are the focal lengths of the camera, u0 and v0 are the coordinates of the optical center of the camera in the image coordinate system;
[0055] S4. Adjust the millimeter wave radar so that its bottom is parallel to the ground and its side is perpendicular to the ground. To ensure verticality, a plumb bob can be used as an aid. If there is no plumb bob, it can be adjusted according to the actual measurement results;
[0056] S5, measuring the distance between the projection position of the radar group 3 on the ground and the corner reflector 4, and comparing it with the distance of the corner reflector 4 measured by the radar group 3. If the deviation is less than the threshold, proceed to step S6; if the deviation is greater than or equal to the threshold, adjust the roll angle and pitch angle of the radar, and repeat step S5;
[0057] S6. Measure the lateral and longitudinal translation distances Tx and Ty between the millimeter-wave radar and the camera, and measure the yaw angle R of the millimeter-wave radar relative to the camera. θ , thereby determining the initial projection extrinsic parameters of the millimeter wave coordinate system Xr-Yr to the camera coordinate system Xc-Yc;
[0058] S7, project the corner reflector target point measured by radar group 3 onto the image plane through the initial projection external parameters and camera internal parameters, and set the coordinates of the radar measurement point to (x r ,y r), whose projection point in the camera coordinate system is (x c ,y c ), the coordinates of the projection point in the image plane are (u, v), then its projection relationship to the radar measurement point in the camera coordinate system is
[0059] S8. Project the corner reflector target point in the camera coordinate system onto the image plane. The projection equation is:
[0060] S9, calculate the deviation between the imaging position of the corner reflector 4 in the image plane and the projection position of its radar detection point on the image plane. If the deviation is less than the threshold, proceed to step S10; if the deviation is greater than the threshold, adjust the external parameters Tx, Ty, R θ Then repeat step S9;
[0061] S10, move the corner reflector 4 to at least three different positions, far, middle and near, and take the left, middle and right positions for each distance, a total of 9 positions are the best. Among them, 30-50m is suitable for the far distance, 10-30m is suitable for the middle distance, and 5-10m is suitable for the near distance. Repeat step S9. If there is a pixel deviation of fixed size and direction between the projection point and the imaging position when the corner reflector 4 is moved to the above positions, Tx and Ty can be adjusted to eliminate it;
[0062] S11, output camera internal parameter matrix Kc, external parameters Tx, Ty, R θ .
[0063] Since the pixel sizes occupied by the corner reflector 4 are different when they are far from the camera 2, the camera captures an image of 1280*720 pixels in this embodiment. Therefore, in this embodiment, 20 pixels are selected as the deviation threshold, that is, the corner reflector 4 moves to 9 different positions. If the average deviation between the projection point of the corner reflector 4 position obtained by each radar on the image plane and the actual imaging position is within 20 pixels, the calibration is considered to be completed. The camera internal parameters and the internal parameters of the conversion of the two millimeter-wave radars and the camera coordinate system are recorded, and the calibration is completed.
[0064] The camera 2 in this embodiment can be a monocular camera, a binocular camera, a multi-camera, an infrared camera, etc.
[0065] like Figure 2 , 3 As shown, the camera 2 is installed in the middle of the front end of the motion platform 1, the radar group 3 consists of two radar groups 3, and the two radars are symmetrically arranged on the motion platform 1 on both sides of the camera 2, and the corner reflector 4 is arranged in front of the motion platform 1.
[0066] Radar group 3 can be multiple millimeter-wave radars, that is, multiple millimeter-wave radars and camera 2 can be jointly calibrated. If the number of millimeter-wave radars is greater than or equal to two, it is only necessary to place the corner reflector 4 at a position where multiple millimeter-wave radars can detect simultaneously, and the position of the corner reflector 4 needs to be adjusted so that it appears in the image of camera 2.
[0067] In summary, the present invention requires fewer constraints and assumptions for the calibration of the millimeter-wave radar and the camera 2. By introducing the corner reflector 4, the calibration errors caused by irregular reference objects and reference objects with low reflection intensity can be avoided; and multiple sensors can be calibrated at the same time, and multiple positions can be selected for deviation elimination, thereby improving the calibration accuracy; by observing or measuring the deviation changes of the projection point and the image point of the corner reflector 4 caused by the change of the projection external parameter, the external parameter adjustment is directly fed back without complex mathematical calculations, and the steps are simplified, so that fast sensor calibration can be achieved.
[0068] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A millimeter wave radar and camera rapid joint calibration method, characterized in that: The following steps are involved: S1, installing a camera (2) and a radar group (3) on a motion platform (1), and placing the motion platform (1) in an open and flat place; S2, placing a corner reflector (4) in front of the motion platform (1), adjusting the height of the corner reflector (4) to be the same as the height of the radar group (3), and adjusting the distance between the corner reflector (4) and the radar group (3) until the corner reflector (4) appears within the image range of the camera (2); S3, using a pinhole camera model to calibrate the internal parameters of the camera (2) and adjust the radar angle; S4, determining the initial projection extrinsic parameters of the coordinate system Xr-Yr of the radar group (3) to the camera coordinate system Xc-Yc; S5, adjusting the yaw angle and translation distance values in the external parameters by calculating the deviation between the imaging position of the corner reflector (4) in the image plane and the projection position of its radar detection point on the image plane; S6, output the camera (2) internal parameter matrix and external parameter, and the calibration is completed; The specific method of step S3 is: S31, using a checkerboard calibration plate to calibrate the internal parameters of the camera (2), the internal parameter matrix of the camera (2) is: where f x and f y is the focal length of the camera (2), u0 and v0 are the coordinates of the principal point of the image; S32, adjusting the transmitting and receiving planes of the radar group (3) to be perpendicular to the ground; The distance between the projection position of the radar group (3) on the ground and the corner reflector (4) is measured, and compared with the distance of the corner reflector (4) measured by the radar group (3). If the deviation is less than a threshold, step S4 is performed; if the deviation is greater than or equal to the threshold, the roll angle and pitch angle of the radar are adjusted, and step S32 is repeated.
2. The method for rapid joint calibration of millimeter wave radar and camera according to claim 1, characterized in that: The specific method of step S4 is: measuring the lateral and longitudinal translation distances Tx and Ty between the radar group (3) and the camera (2), and measuring the yaw angle R of the radar group (3) relative to the camera (2). θ , thereby determining the initial projection extrinsic parameters of the millimeter wave coordinate system Xr-Yr to the camera coordinate system Xc-Yc.
3. The method for rapid joint calibration of millimeter wave radar and camera according to claim 1, characterized in that: The step S5 specifically includes: S51, projecting the corner reflector target point measured by the radar group (3) onto the image plane using the initial projection external parameters and the camera (2) internal parameters, assuming that the radar measurement point coordinates are (x r ,y r ), whose projection point in the camera coordinate system is (x c ,y c ), the coordinates of the projection point in the image plane are (u, v), then its projection relationship to the radar measurement point in the camera coordinate system is S52, projecting the corner reflector target point in the camera coordinate system onto the image plane, the projection equation is: S53, calculate the deviation between the imaging position of the corner reflector (4) in the image plane and the projection position of its radar detection point on the image plane. If the deviation is less than the threshold, proceed to step S54; if the deviation is greater than the threshold, adjust the external parameters Tx, Ty, R θ Then repeat step S53; S54, moving the corner reflector (4) to different positions, and repeating step S53 to calculate the projection deviation, until the projection deviations at different positions are all smaller than the threshold value.
4. The method for rapid joint calibration of millimeter wave radar and camera according to claim 1, characterized in that: The radar group (3) comprises at least two radars, and the radars are symmetrically mounted on the moving platform (1).
Citation Information
Patent Citations
Radar calibration method, calibration device, and terminal device
CN109828250A
Millimeter wave radar and camera combined calibration method based on LM algorithm
CN110390697A
