Calibration method for scene projection camera on autonomous driving vehicle

By building a calibration platform in a smart driving car, using a laser level and a checkerboard calibration plate to calculate the rotation matrix and translation vector of the front-view camera, the problem of the front-view camera being unable to output original image data is solved, and the camera can project the vehicle scene Effective calibration ensures the reliability of the calibration results.

CN114359404BActive Publication Date: 2024-10-22CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111572191.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-10-22
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In smart driving cars, the front-view camera cannot output original image data, which leads to the need to install an additional ordinary vision camera during road testing to record scene images and project functional signals such as lane lines, and it is necessary to calculate the rotation matrix between the two cameras and Translate the vector to achieve this function.

Method used

A calibration system based on plumb lines and laser levels was used to build a calibration platform. The checkerboard calibration board and Matlab toolbox were used to calculate the internal parameter matrix, rotation matrix and translation vector of the camera through Zhang Zhengyou's calibration method to verify the reliability of the results.

Benefits of technology

It achieves effective calibration of the scene projection camera for autonomous driving, ensures accurate calculation of rotation matrices and translation vectors, and improves the feasibility and reliability of the calibration results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114359404B_ABST
    Figure CN114359404B_ABST
Patent Text Reader

Abstract

The present invention discloses a calibration method for an autonomous driving vehicle-mounted scene projection camera, comprising: S1: building a calibration system platform, S2: adjusting the side cut angle, pitch angle and yaw angle of a checkerboard calibration plate and a vehicle to be calibrated based on a physical method; S3: based on the checkerboard calibration plate adjusted in step 2, using a camera installed in the vehicle to continuously take 15 facing photos, and save them; S4: holding the checkerboard calibration plate, taking 20 photos at different angles and positions within 0.5 to 1.5 meters from the front of the vehicle, and saving them; S5: calculating the intrinsic parameter matrix of the camera to be calibrated based on the checkerboard patterns of different positions and angles saved in step 4; S6: calculating the rotation matrix of the camera to be calibrated and the center of the vehicle based on the intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3; S7: verifying based on the standard deviation of the actual coordinates on the image and the projection coordinates. The present invention can be used to calibrate the rotation matrix and translation vector of the vehicle-mounted camera.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of camera calibration, and in particular to a calibration method for an autonomous driving vehicle-mounted scene projection camera. Background Art

[0002] With the rapid development of sensor technology and artificial intelligence, smart driving car technology has also developed rapidly. At present, the sensors commonly used in smart driving cars include front-view cameras, millimeter-wave radars, lidars and other types of sensors. Among them, front-view cameras are the most widely used visual sensors in smart driving cars.

[0003] One of the most basic and important functions of the front-view camera is to detect lane lines and vehicles in the scene. At present, most companies developing autonomous driving functions use visual sensors that output lane lines, targets and other functional signals according to the agreed protocol, but they do not output the original image data of the scene observed by the front-view camera. In the process of developing intelligent driving functions, a large number of road tests are required. When problems occur in road tests and the original scene images need to be played back for data analysis, this requires the autonomous driving system to be able to record the original image data of the scene.

[0004] A simple solution to the above problem is to install an additional common visual camera, which can not only record the original scene image data, but also project the lane lines, targets and other functional signals output by the front camera onto the original image. However, to achieve the above functions, it is necessary to know the rotation matrix and translation vector between the two cameras. Therefore, it is necessary to develop a calibration method for the scene projection camera on the autonomous driving vehicle for calibrating the rotation matrix and translation vector of the camera. Summary of the invention

[0005] The purpose of the present invention is to provide a calibration method for an autonomous driving vehicle-mounted scene projection camera, which can be used to calculate the rotation matrix and translation vector of the vehicle-mounted projection camera.

[0006] The calibration method of the autonomous driving vehicle-mounted scene projection camera of the present invention comprises the following steps:

[0007] S1: Build a calibration system platform, specifically:

[0008] S101: Based on the vertical characteristics of the plumb line, mark the projection point of the center of the front bumper of the test vehicle on the ground and the projection point of the center of the rear vehicle logo on the ground;

[0009] S102: Connect the two projection points in step S101 with a line, stretch the line straight and close to the ground, and fix its two ends;

[0010] S103: placing a laser level at a first preset distance in front of the vehicle, adjusting the position of the laser level so that the laser line irradiated on the ground by the laser level coincides with the line stretched in step S102, and then maintaining the position and state of the laser level without changing;

[0011] S104: placing the checkerboard calibration plate at a second preset distance in front of the vehicle bumper, and keeping the checkerboard calibration plate substantially perpendicular to the ground and facing the longitudinal axis of the vehicle, with the side of the checkerboard calibration plate facing the vehicle being the front side, and the side facing away from the vehicle being the back side;

[0012] S2: Adjust the side angle, pitch angle and yaw angle of the checkerboard calibration plate and the vehicle to be calibrated based on physical methods;

[0013] S3: Based on the checkerboard calibration plate adjusted in step 2, use the camera installed in the vehicle to continuously take n1 photos facing the target, and save them;

[0014] S4: Hold the checkerboard calibration plate, take n2 photos at different angles and positions within 0.5 to 1.5 meters from the front of the vehicle, and save them;

[0015] S5: Calculate the intrinsic parameter matrix of the camera to be calibrated based on the checkerboard patterns at different positions and angles saved in step 4;

[0016] S6: Based on the intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3, calculate the rotation matrix and translation vector of the camera to be calibrated and the center of the vehicle;

[0017] S7: Using the actual position of the marker in the calibration site, calculate the projection coordinates of the marker on the image based on the obtained rotation matrix and translation vector, then calculate the standard deviation between the actual coordinates of the marker in the image and the projection coordinates, and use the size of the standard deviation to judge the reliability of the rotation matrix and translation vector.

[0018] Optionally, the step 2 is specifically:

[0019] S201: Adjust the vertical line on the back of the checkerboard calibration plate to coincide with or be parallel to the laser line projected on the back of the checkerboard calibration plate;

[0020] S202: placing a level close to the checkerboard calibration plate, and adjusting the pitch angle of the checkerboard calibration plate based on the level;

[0021] S203: Stick a plane reflector on the back of the checkerboard calibration plate to ensure that the laser hits the plane reflector, and use a piece of white paper to block between the laser level and the plane reflector. At this time, two rays of light will appear on the side of the white paper close to the checkerboard calibration plate. Adjust the yaw angle of the checkerboard calibration plate to make the two rays overlap.

[0022] Optionally, in step 5, based on the checkerboard patterns at different positions and angles saved in step 4, the Zhang Zhengyou calibration method is used to calculate the intrinsic parameter matrix of the camera.

[0023] Optionally, the step 6 is specifically:

[0024] Based on the camera's intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3, the rotation matrix between the camera installation position and the vehicle center is calculated based on the binocular positioning method in the Matlab toolbox.

[0025] Optionally, in step S103, the first preset distance is any value between 3m and 4m.

[0026] Optionally, in step S104, the second preset distance is any value between 0.5m and 1.5m.

[0027] Optionally, in step S3, n1 is 15 sheets.

[0028] Optionally, in step S4, n2 is 20 sheets.

[0029] The present invention has the following advantages: a calibration method based on a checkerboard calibration board, a laser level, a test bench and other equipment is used to build a rotation matrix and a translation vector of an autonomous driving vehicle scene projection camera using Zhang Zhengyou's calibration method, and the calibration results are verified, indicating that the calibration method has good feasibility and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart in this embodiment;

[0031] Figure 2 Schematic diagram of the calibration platform in this embodiment;

[0032] Figure 3 Schematic diagram of the side cutting angle before and after adjustment in this embodiment;

[0033] Figure 4 Schematic diagram of the pitch angle before and after adjustment in this embodiment;

[0034] Figure 5 Schematic diagram of the yaw angle adjustment before and after in this embodiment;

[0035] Figure 6 Schematic diagram of the calibration effect in this embodiment;

[0036] In the figure: 1. Laser level, 2. Checkerboard calibration plate, 3. Vehicle, 4. Camera, 5. Level, 6. Plane reflector, 7. White paper, A. Projection point of the center of the front bumper of the experimental vehicle on the ground, B. Laser line, C. Projection point of the center of the rear vehicle logo on the ground, D. Laser line, E. Incident light, F. Reflected light. DETAILED DESCRIPTION

[0037] The present invention will be further described below in conjunction with the accompanying drawings.

[0038] like Figure 1 As shown, in this embodiment, a calibration method for an autonomous driving vehicle-mounted scene projection camera includes the following steps:

[0039] S1: Build a calibration platform, specifically:

[0040] S101: Based on the vertical characteristics of the plumb line, mark the projection point A of the center of the front bumper of the experimental vehicle on the ground and the projection point C of the center of the rear vehicle logo on the ground.

[0041] S102: Use a thin line to connect the two projection points in step S101, stretch the thin line straight and close to the ground, and fix its two ends.

[0042] S103: Place a laser level 1 at a first preset distance (for example, any value of 3m to 4m) in front of the vehicle, and adjust the position so that the laser line B irradiated on the ground by the laser level 1 coincides with the line stretched straight in step S102, and then keep the position and state of the laser level 1 unchanged.

[0043] S104: Place the checkerboard calibration plate 2 at a second preset distance (for example, any value between 0.5m and 1.5m) in front of the vehicle bumper, which can be placed on a platform such as a table, and keep the checkerboard calibration plate 2 approximately perpendicular to the ground and facing the longitudinal axis of the vehicle. The side of the checkerboard calibration plate 2 facing the vehicle is the front side, and the side facing away from the vehicle is the back side.

[0044] S2: Adjust the side angle, pitch angle and yaw angle of the checkerboard calibration plate 2 and the vehicle to be calibrated 3 based on physical methods. Specifically:

[0045] S201: Based on the physical method, adjust the vertical line on the back of the checkerboard calibration plate 2 to coincide with or be parallel to the laser line on the back of the checkerboard calibration plate 2 to ensure the accuracy of the side cutting angle. In this embodiment, the adjustment is based on the method of padding paper on one side of the checkerboard calibration plate 2. Figure 3 shown.

[0046] S202: Place the level 5 close to the checkerboard calibration plate 2, and adjust the pitch angle of the checkerboard calibration plate 2 based on the level 5. The same method of padding paper is used for adjustment. Figure 4shown.

[0047] S203: Stick the plane reflector 6 on the back of the checkerboard calibration plate 2 to ensure that the laser hits the plane reflector 6, and then use a piece of white paper 7 to block between the laser level 1 and the plane reflector 6. The white paper 7 is about 20 to 30 cm away from the plane reflector 6. At this time, two rays of light (the projected laser line and the reflected laser line) will appear on the side of the white paper 7 close to the checkerboard calibration plate 2. Adjust the yaw angle of the checkerboard calibration plate 2 to make the two rays overlap. Figure 5 shown.

[0048] S3: Based on the checkerboard calibration plate 2 adjusted in step 2, use the camera 4 installed in the vehicle to continuously take n1 photos facing the target (in this embodiment, n1 is 15, and the calculation accuracy is high for about 15 photos), and save them.

[0049] S4: On the basis of implementing step 3, hold the chessboard calibration board, take n2 photos (in this embodiment, n2 is 20, more than 15 photos have high calculation accuracy) at different angles and positions within 0.5 to 1.5 meters from the front of the vehicle, and save them. At the same time, it should be noted that the chessboard pattern is distributed as evenly as possible and cannot exceed the shooting range of camera 4.

[0050] S5: Based on the checkerboard patterns at different positions and angles saved in step 4, the Zhang Zhengyou calibration method is used to calculate the intrinsic parameter matrix of the camera to be calibrated. The intrinsic parameter matrix is ​​usually in the following form:

[0051] [fx, 0.0, cx, 0.0, fy, cy, 0.0, 0.0, 1.0];

[0052] Among them, the parameter fx is the focal length in the x-axis direction, the parameter fy is the focal length in the y-axis direction, the parameter cx is the x-coordinate of the principal point, and the parameter cy is the y-coordinate of the principal point. Both fx and fy are described using the number of pixels, and the units of the principal point coordinates (relative to the imaging plane) cx and cy can also be pixels.

[0053] S6: Based on the intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3, the rotation matrix and translation vector of the installation position of camera 4 and the center of the vehicle are calculated based on the binocular positioning method in the Matlab toolbox. The rotation matrix and translation vector are usually called the extrinsic parameter matrix between the two cameras.

[0054] S7: Verify based on the standard deviation of the actual image coordinates and the projected coordinates, specifically:

[0055] Using the actual position of the marker in the calibration site (in this embodiment, the marker is a 25*40*30 box with a known coordinate size relative to the reference coordinate system), the projection coordinates of the marker on the image are calculated based on the obtained rotation matrix and translation vector, and then the standard deviation of the actual coordinates of the marker in the image and the projection coordinates is calculated (the actual coordinates of the marker in the image refer to the actual coordinates of a corner point of the marker in the image. If the rotation matrix and translation vector are calculated accurately, the projection coordinates and the actual coordinates are the same), and the reliability of the rotation matrix and translation vector is judged by the size of the standard deviation.

[0056] pass Figure 6 It can be seen from the figure that this calibration method can better realize the calibration of the vehicle-mounted scene projection camera 4.

[0057] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A calibration method for an autonomous driving vehicle-mounted scene projection camera, characterized in that: The following steps are involved: S1: Build a calibration system platform, specifically: S101: Based on the vertical characteristics of the plumb line, mark the projection point of the center of the front bumper of the test vehicle on the ground and the projection point of the center of the rear vehicle logo on the ground; S102: Connect the two projection points in step S101 with a line, stretch the line straight and close to the ground, and fix its two ends; S103: placing a laser level at a first preset distance in front of the vehicle, adjusting the position of the laser level so that the laser line irradiated on the ground by the laser level coincides with the line stretched in step S102, and then maintaining the position and state of the laser level without changing; S104: placing the checkerboard calibration plate at a second preset distance in front of the vehicle bumper, and keeping the checkerboard calibration plate substantially perpendicular to the ground and facing the longitudinal axis of the vehicle, with the side of the checkerboard calibration plate facing the vehicle being the front side, and the side facing away from the vehicle being the back side; S2: adjusting the side cut angle, pitch angle and yaw angle of the checkerboard calibration plate and the vehicle to be calibrated based on a physical method; specifically: S201: adjusting the vertical line on the back of the checkerboard calibration plate to coincide with or be parallel to the laser line projected on the back of the checkerboard calibration plate; S202: placing a level close to the checkerboard calibration plate, and adjusting the pitch angle of the checkerboard calibration plate based on the level; S203: attach a plane reflector to the back of the checkerboard calibration plate to ensure that the laser hits the plane reflector, and use a piece of white paper to block between the laser level and the plane reflector. At this time, two rays of light will appear on the side of the white paper close to the checkerboard calibration plate. Adjust the yaw angle of the checkerboard calibration plate to make the two rays overlap; S3: Based on the checkerboard calibration plate adjusted in step 2, use the camera installed in the vehicle to continuously take n1 photos facing the target, and save them; S4: Hold the checkerboard calibration plate, take n2 photos at different angles and positions within 0.5 to 1.5 meters from the front of the vehicle, and save them; S5: Calculate the intrinsic parameter matrix of the camera to be calibrated based on the checkerboard patterns at different positions and angles saved in step 4; S6: Based on the intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3, calculate the rotation matrix and translation vector of the camera to be calibrated and the center of the vehicle; S7: Using the actual position of the marker in the calibration site, calculate the projection coordinates of the marker on the image based on the obtained rotation matrix and translation vector, then calculate the standard deviation between the actual coordinates of the marker in the image and the projection coordinates, and use the size of the standard deviation to judge the reliability of the rotation matrix and translation vector.

2. The calibration method of the scene projection camera mounted on an autonomous driving vehicle according to claim 1, characterized in that: In step 5, based on the checkerboard patterns at different positions and angles saved in step 4, the Zhang Zhengyou calibration method is used to calculate the intrinsic parameter matrix of the camera.

3. The calibration method for the autonomous driving vehicle-mounted scene projection camera according to claim 1 or 2, characterized in that: The step 6 is specifically as follows: Based on the camera's intrinsic parameter matrix calculated in step 5 and the checkerboard pattern saved in step 3, the rotation matrix between the camera installation position and the vehicle center is calculated based on the binocular positioning method in the Matlab toolbox.

4. The calibration method of the scene projection camera mounted on an autonomous driving vehicle according to claim 3 is characterized in that: In the step S103, the first preset distance is any value between 3m and 4m.

5. The calibration method for the autonomous driving vehicle-mounted scene projection camera according to claim 1, 2 or 4, characterized in that: In the step S104, the second preset distance is any value between 0.5m and 1.5m.

6. The calibration method of the scene projection camera mounted on an autonomous driving vehicle according to claim 5, characterized in that: In step S3, n1 is 15 sheets.

7. The calibration method of the scene projection camera mounted on an autonomous driving vehicle according to claim 6, characterized in that: In the step S4, n2 is 20 sheets.