A multi-sensor joint calibration method and calibration device
Through the multi-sensor joint calibration method and the joint data processing of cameras and lidars, accurate calibration between cameras and lidars and between different lidars in autonomous vehicles is achieved, solving the problem of low calibration accuracy in the existing technology. , improves sensor collaboration and perception accuracy, and simplifies the calibration process.
Patent Information
- Application Number
- CN202111595415.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-23
AI Technical Summary
Existing calibration methods cannot effectively achieve accurate calibration between cameras and lidars in autonomous vehicles, or between different lidars, resulting in low collaboration and perception accuracy between sensors.
Using a multi-sensor joint calibration method, through joint data processing of cameras and lidar, using image data and point cloud data, the pose of the target plane in each coordinate system is calculated, combined with point cloud plane fitting and minimization of the normal vector error sum The method of plane distance error realizes the relative pose calibration between the camera and lidar and between different lidars.
It achieves accurate calibration between cameras and lidars and between different lidars, improves collaboration and perception accuracy between sensors in autonomous vehicles, simplifies the calibration process, and reduces calibration costs and time.
Smart Images

Figure CN114332240B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a multi-sensor joint calibration method and a calibration device. Background Art
[0002] With the rapid development of the automobile industry, the vehicle's autonomous driving technology has developed rapidly. The vehicle's autonomous driving technology is a technology that uses a computer system to achieve unmanned driving of the vehicle.
[0003] Among them, the sensors of autonomous vehicles are an important part of the autonomous driving system, and the calibration of autonomous driving vehicle sensors is very important. Autonomous driving vehicles need to integrate the perception and observation results of multiple sensors to achieve functions such as perception of the environment, positioning of the vehicle itself, and planning navigation. Since multiple sensors need to be integrated and coordinated, it is necessary to calibrate the parameters of each sensor and the position and attitude parameters between each other.
[0004] At present, there are related known technologies for the internal calibration of a single camera and the external calibration of cameras. However, in the existing calibration methods, LiDAR only uses the point cloud recognition method, which is difficult to recognize and has low accuracy. It is impossible to achieve calibration between many sensors of autonomous driving vehicles, such as calibration between cameras and LiDARs, and calibration between different LiDARs. Summary of the invention
[0005] In view of the above problems, the present invention provides a multi-sensor joint calibration method and a calibration device, which can realize calibration between a camera and a laser radar and between different laser radars.
[0006] In a first aspect, the present invention provides a multi-sensor joint calibration method, which comprises the following steps:
[0007] Use cameras to collect image data around the vehicle, and use lidar to collect point cloud data around the vehicle;
[0008] Calculate the position and posture of the target plane in the camera coordinate system using image data;
[0009] According to the relative positions of the camera and the first laser radar, the pose of the target plane in the camera coordinate system is converted into the pose in the first laser radar coordinate system;
[0010] According to the corresponding position of the target plane in the first laser radar coordinate system at the first laser radar point cloud, the actual plane pose of the target plane in the first laser radar coordinate system is obtained by a point cloud plane fitting method;
[0011] According to the relative positions of the first laser radar and the second laser radar, the actual plane pose of the target plane in the first laser radar coordinate system is converted into the pose in the second laser radar coordinate system;
[0012] According to the corresponding position of the target plane in the second laser radar coordinate system and the second laser radar point cloud, the actual plane pose of the target plane in the second laser radar coordinate system is obtained by a point cloud plane fitting method;
[0013] According to the pose of the target plane in the camera coordinate system and the actual pose of the target plane in the first laser radar coordinate system, the normal vector error and plane distance error of the two are minimized to obtain the relative pose calibration result of the camera and the first laser radar; according to the actual pose of the target plane in the first laser radar coordinate system and the actual pose of the target plane in the second laser radar coordinate system, the normal vector error and plane distance error of the two are minimized to obtain the relative pose calibration result of the first laser radar and the second laser radar.
[0014] In the above technical scheme, the multi-sensor joint calibration method can obtain the actual plane pose of the target plane in the first laser radar coordinate system according to the relative position relationship between the first laser radar and the camera by the point cloud plane fitting method, and can also obtain the actual plane pose of the target plane in the second laser radar coordinate system according to the relative position relationship between the first laser radar and the second laser radar. Then, by minimizing the normal vector error and the plane distance error, the relative pose calibration results of the camera and the first laser radar and the relative pose calibration results of the first laser radar and the second laser radar are obtained, thereby realizing the calibration between the camera and the laser radar and between different laser radars, and realizing the joint calibration of multiple sensors in the vehicle.
[0015] In the multi-sensor joint calibration method provided in some embodiments, the internal parameters and distortion parameters of the camera are calibrated while calculating the position and posture of the target plane in the camera coordinate system.
[0016] In the multi-sensor joint calibration method provided in some embodiments, the steps of calculating the pose of the target plane in the camera coordinate system and calibrating the internal parameters and distortion parameters of the camera are:
[0017] Detect and identify the target in the image data, and obtain the target contour line and the coordinate position of the internal feature points of the target in the target image;
[0018] The camera's internal parameters and distortion parameters are calibrated according to the target contour and the coordinate positions of the internal feature points.
[0019] In the multi-sensor joint calibration method provided in some embodiments, the method for obtaining the target image and the coordinate positions of the internal feature points of the target in the target image is:
[0020] Obtain candidate regions of the target image through edge extraction and contour extraction;
[0021] Eliminate the contours of non-target images to obtain the target contours;
[0022] The internal feature points of the target image are extracted to obtain the coordinate positions of the internal feature points of the target image in the target image.
[0023] In the multi-sensor joint calibration method provided in some embodiments, the image data is binarized before acquiring the candidate area of the target image to convert the target image into a black and white binary image.
[0024] In the multi-sensor joint calibration method provided in some embodiments, the image data is filtered before being binarized.
[0025] In the multi-sensor joint calibration method provided in some embodiments, before obtaining the relative pose calibration result, the pose of the target plane in the camera coordinate system, the actual pose of the target plane in the first lidar coordinate system, and the actual pose of the target plane in the second lidar coordinate system are screened.
[0026] In a second aspect, the present invention provides a multi-sensor joint calibration device, comprising:
[0027] A vehicle rotating mechanism, the vehicle rotating mechanism is rotatably arranged on the ground and is used to carry the vehicle;
[0028] A plurality of target parts are arranged on the ground outside the vehicle rotating mechanism, the target parts include a plane target and a target bracket, and the plane target with a target pattern is connected to the target bracket in an adjustable angle.
[0029] In the above embodiment, when the vehicle is placed in the vehicle rotating mechanism and rotates, the sensor in the vehicle collects information from multiple target parts outside the vehicle rotating mechanism, so as to use the collected information for sensor calibration.
[0030] In the multi-sensor joint calibration device provided in some embodiments, the target bracket includes a support rod, a rotating rod and a mounting plane, the support rod stands on the ground, the rotating rod is rotatably connected to the support rod, the mounting plane is rotatably connected to the rotating rod, and the planar target is connected to the mounting plane.
[0031] In the multi-sensor joint calibration device provided in some embodiments, the target pattern includes a target contour line and a plurality of internal feature points, and the plurality of internal feature points are arranged inside the target contour line.
[0032] The technical solution provided by the embodiments disclosed in the present invention brings at least the following beneficial effects:
[0033] The present invention provides a multi-sensor joint calibration method. The multi-sensor joint calibration method can obtain the actual plane pose of the target plane in the first laser radar coordinate system according to the relative position relationship between the first laser radar and the camera by a point cloud plane fitting method, and can also obtain the actual plane pose of the target plane in the second laser radar coordinate system according to the relative position relationship between the first laser radar and the second laser radar. Then, by minimizing the normal vector error and the plane distance error, the relative pose calibration result of the camera and the first laser radar and the relative pose calibration result of the first laser radar and the second laser radar are obtained, thereby realizing the calibration between the camera and the laser radar and between different laser radars, and realizing the joint calibration of multiple sensors in a vehicle.
[0034] The present invention also provides a multi-sensor joint calibration device, which includes a vehicle rotating mechanism and multiple target parts. The vehicle rotating mechanism for carrying a vehicle is rotatably set on the ground, and the multiple target parts are arranged around the outside of the vehicle rotating mechanism. When the vehicle rotates following the vehicle rotating mechanism, it can collect information of multiple target parts around it for subsequent calibration, which facilitates the collection of target part information, helps to reduce calibration costs, and saves calibration time.
[0035] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0037] Figure 1 A top view of a multi-sensor joint calibration device according to some embodiments;
[0038] Figure 2 is a schematic structural diagram of a target bracket of a multi-sensor joint calibration device in some embodiments;
[0039] Figure 3 is a schematic structural diagram of a planar target of a multi-sensor joint calibration device in some embodiments;
[0040] Figure 4 is a flow chart of a multi-sensor joint calibration method of some embodiments;
[0041] Figure 5 yes Figure 4 Flowchart of S2 in the figure;
[0042] Figure 6 yes Figure 5 Flowchart of S21 in FIG.
[0043] The reference numerals in the specific implementation manner are as follows:
[0044] 1. Vehicle rotation mechanism;
[0045] 2. Target part; 21. Plane target; 211. Target outline; 212. Internal feature point; 22. Target bracket; 221. Support rod; 222. Rotating rod; 223. Mounting plane. DETAILED DESCRIPTION
[0046] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0047] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in the embodiments of the present application should have the common meanings understood by technicians in the field to which the embodiments of the present application belong.
[0048] In the description of the embodiments of the present application, the orientations or positional relationships indicated by technical terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", and "circumferential" are based on the orientations or positional relationships shown in the accompanying drawings and are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.
[0049] In addition, the technical terms "first", "second", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0050] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like 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 an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0051] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0052] At present, from the perspective of market development, the automation and intelligence of vehicles have become a development trend, and self-driving vehicles will be used more and more widely. Among them, the normal operation of self-driving vehicles is inseparable from the perception of the external environment by the sensors in the vehicle, especially the comprehensive perception of the external environment by multiple sensors. In order to ensure the normal operation and accuracy of the sensor, the calibration of the sensor is of great significance to the sensor.
[0053] Vehicle sensors usually include cameras and lidars. In the prior art, the camera is usually calibrated for vehicle sensors. However, due to the difficulty in identifying feature points in the point cloud and the low accuracy of lidars, it is impossible to calibrate the multiple sensors of autonomous vehicles. The manual calibration method makes the process cumbersome.
[0054] In order to solve the joint calibration of multiple sensors in a vehicle, the applicant has discovered and invented a multi-sensor joint calibration method. The multi-sensor joint calibration method can accurately identify feature points in the point cloud by obtaining the actual plane pose of the target plane in the laser radar coordinate system through the relative position relationship between the laser radar and the camera through the point cloud plane fitting method, so that the laser radar can accurately identify feature points in the point cloud, and can realize calibration between cameras and laser radars and between different laser radars, thereby realizing calibration between numerous sensors of autonomous driving vehicles.
[0055] The multi-sensor joint calibration method disclosed in the embodiment of the present application can be used in, but not limited to, vehicles, ships, or aircraft. It can be used in a device or system with sensors calibrated by the multi-sensor joint calibration method disclosed in the present application, so that calibration between cameras and laser radars and calibration between different laser radars can be achieved, thereby achieving calibration between multiple sensors, avoiding the use of manual calibration methods, and helping to simplify the calibration process and save labor costs.
[0056] The embodiment of the present application provides a multi-sensor joint calibration method and a calibration device, which can be used for vehicles, robots, ships, spacecraft, electric toys, etc. The vehicle can be a fuel vehicle, a gas vehicle or a new energy vehicle, and the new energy vehicle can be a pure electric vehicle, a hybrid vehicle or an extended-range vehicle, etc.; the spacecraft includes airplanes, rockets, space shuttles and spacecrafts, etc.; the electric toys include fixed or mobile electric toys, for example, electric car toys, electric ship toys and electric airplane toys, etc. The embodiment of the present application does not impose any special restrictions on the above-mentioned device using the multi-sensor joint calibration method.
[0057] The following is a further description of a multi-sensor joint calibration method and a calibration device provided by the invention in conjunction with the accompanying drawings and through specific implementation methods.
[0058] The present invention provides a multi-sensor joint calibration device, such as Figure 1 As shown, the multi-sensor joint calibration device includes a vehicle rotating mechanism 1 and a plurality of target parts 2. The vehicle rotating mechanism 1 is rotatably arranged on the ground and is used to carry the vehicle. The vehicle rotating mechanism 1 can carry the vehicle to rotate. The plurality of target parts 2 are arranged around the ground outside the vehicle rotating mechanism 1, so that the vehicle can rotate between the plurality of target parts 2 when the vehicle rotates with the vehicle rotating mechanism 1, so that the sensors in the vehicle can completely collect information of the plurality of target parts 2. In some embodiments, the plurality of target parts 2 are arranged around the ground outside the vehicle rotating mechanism 1 at different distances, that is, the plurality of target parts 2 are at different distances from the vehicle rotating mechanism 1, so that the sensors in the vehicle can collect information of the target parts 2 at different distances, so as to provide sufficient data information for the subsequent sensor calibration.
[0059] Through the above structure, the multi-sensor joint calibration device can collect information of multiple target parts 2 around for subsequent calibration, which facilitates the collection of information of the target parts 2, helps to reduce the calibration cost and save calibration time.
[0060] In some embodiments, Figure 2-Figure 3As shown, the target part 2 includes a plane target 21 and a target bracket 22. The plane target 21 is provided with a target pattern. The plane target 21 is connected to the target bracket 22. The target bracket 22 stands on the ground to support the plane target 21. The sensor in the vehicle can collect information on the target pattern in the plane target 21 on the target bracket 22.
[0061] Preferably, the plane target 21 is connected to the target bracket 22 in an angle-adjustable manner, so that the plane target 21 can be installed on the target bracket 22 at different angles and postures, so that the sensor in the vehicle can collect information on the plane target 21 on the target bracket 22 at different angles and postures, thereby providing sufficient data information for subsequent sensor calibration.
[0062] Specifically, Figure 2 As shown, the target bracket 22 includes a support rod 221, a rotating rod 222 and a mounting plane 223. The support rod 221 stands on the ground, the rotating rod 222 is rotatably connected to the support rod 221, the mounting plane 223 is rotatably connected to the rotating rod 222, and the planar target 21 is mounted on the mounting plane 223. Since the rotating rod 222 is rotatably connected to the support rod 221, the mounting plane 223 on the rotating rod 222 can rotate around the support rod 221 along with the rotating rod 222, and the mounting plane 223 can rotate relative to the rotating rod 222, so that the planar target 21 on the mounting plane 223 can be adjusted in posture with multiple degrees of freedom, making the posture adjustment of the planar target 21 convenient.
[0063] Furthermore, a rotating shaft is provided on the support rod 221, and the rotating rod 222 is rotatably connected to the support rod 221 via the rotating shaft, so that the rotating rod 222 can rotate smoothly relative to the support rod 221. A hinge support is provided at the end of the rotating rod 222 for connecting to the mounting plane 223, and the mounting plane 223 is rotatably connected to the rotating rod 222 via the hinge support, so that the mounting plane 223 can rotate relative to the rotating rod 222. Through the above structure, the plane target 21 installed on the mounting plane 223 can be adjusted with multiple degrees of freedom together with the mounting plane 223, so that the posture adjustment of the plane target 21 is convenient.
[0064] In some embodiments, the target support 22 further includes a support, which is connected to the bottom of the support rod 221, and the support rod 221 can stand on the ground through the support. Preferably, rollers are provided on the bottom surface of the support, so that the target support 22 can be easily moved by the rollers, which is convenient for moving and arranging the target element 2.
[0065] In this embodiment, if Figure 3As shown, the target pattern includes a target contour line 211 and multiple internal feature points 212. The target contour line 211 is a closed wireframe connected end to end. The multiple internal feature points 212 are arranged on the inner side of the target contour line 211. The target contour line 211 and the multiple internal feature points 212 together constitute the visual features inside the planar target 21, which is convenient for subsequent sensors to collect and identify the visual features inside the planar target 21.
[0066] Specifically, the target outline 211 in this embodiment is a rectangle, which is convenient for the sensor to collect and identify data. It can be understood that the target outline 211 can also be a circle, an ellipse, a triangle, a polygon, etc., and those skilled in the art can select the shape of the target outline 211 according to actual conditions. The internal feature point 212 can be the center of a circle, the corner point of a chessboard, or the corner point of a QR code. Those skilled in the art can select the shape of the internal feature point 212 according to actual conditions, as long as the internal feature point 212 is easy to be collected and identified by the sensor. Furthermore, the internal feature points 212 are arranged in an array in the horizontal and vertical directions, which facilitates the arrangement of the internal feature points 212 in the target outline 211.
[0067] It can be understood that the vehicle rotating mechanism 1 includes a turntable and a driving component. The turntable is rotatably arranged on the ground for carrying the vehicle. The driving component is transmission-connected with the turntable, and the driving component can drive the turntable to rotate. The driving component can be a power output component such as an electric motor, an internal combustion engine, a hydraulic motor, etc., and those skilled in the art can select it according to actual conditions.
[0068] The present invention provides a multi-sensor joint calibration method, such as Figure 4 As shown, the multi-sensor joint calibration method includes the following steps:
[0069] S1. Use the camera to collect image data around the vehicle, and use the lidar to collect point cloud data around the vehicle.
[0070] That is to say, after the vehicle is placed on the turntable, while the vehicle rotates with the vehicle rotating mechanism 1, the sensor camera on the vehicle collects image data around the vehicle, and the sensor lidar on the vehicle collects point cloud data around the vehicle.
[0071] S2. Use the image data to calculate the position and posture of the target plane in the camera coordinate system, and calibrate the internal parameters and distortion parameters of the camera.
[0072] That is to say, the collected image data is processed and calculated, and the internal parameters and distortion parameters of the camera are calibrated while obtaining the position and posture of the target plane in the camera coordinate system. Figure 5 As shown, the specific steps are as follows:
[0073] S21. Detect and identify the target in the image data, and obtain the coordinate positions of the target contour line 211 and the internal feature points 212 in the target image.
[0074] That is to say, the image of the target pattern is detected and recognized in the image data collected by the camera as the target image, and then the coordinate positions of the target contour line 211 and the internal feature points 212 in the target image are obtained. Figure 6 As shown, the specific method is:
[0075] S211. Filter the image data.
[0076] In other words, filtering the image data collected by the camera is to achieve smoothing of the image noise.
[0077] S212. Perform binarization processing on the image data to convert the target image into a black and white binary image.
[0078] That is, the image data is binarized and the grayscale value in the image is set to 0 or 255, so as to convert the target image into a binary image of only black or white.
[0079] S213. Obtain candidate regions of the target image through edge extraction and contour extraction.
[0080] That is to say, the edge and contour of the obtained target pattern are firstly extracted to obtain the candidate area of the target image.
[0081] S214. Eliminate the contours of non-target images to obtain the target contour.
[0082] That is, the contours of the target image are screened by manual screening, and the contours of non-target images are eliminated, and finally multiple target contours are obtained. It is understandable that the contours of the target image can also be screened by a computer according to preset rules, and those skilled in the art can select a specific screening method according to actual conditions.
[0083] S215. Extract the internal feature points 212 of the target image to obtain the coordinate positions of the internal feature points 212 of the target in the target image.
[0084] That is, after obtaining the target contour, the internal feature points 212 of the target image are detected and extracted to obtain the coordinate positions of the internal feature points 212 of the target image in the target image.
[0085] S22. According to the coordinate positions of the multiple target contours and internal feature points 212, the position and posture of the target plane in the camera coordinate system are calculated, and the internal parameters and distortion parameters of the camera are calibrated at the same time.
[0086] That is, the position and posture of the target plane in the camera coordinate system are calculated based on the coordinate positions of the multiple target contours and the internal feature points 212 inside the target contours, and the internal parameters and distortion parameters of the camera are calibrated at the same time.
[0087] S3. According to the relative positions of the camera and the first laser radar, the position and posture of the target plane in the camera coordinate system is converted into the position and posture in the first laser radar coordinate system.
[0088] That is to say, according to the relative positions of the camera and the first laser radar obtained when the vehicle is installed and manufactured, the position and posture of the target plane in the camera coordinate system is converted into the position and posture in the first laser radar coordinate system.
[0089] S4. According to the corresponding position of the target plane in the first laser radar coordinate system and the pose of the target plane in the first laser radar point cloud, the actual plane pose of the target plane in the first laser radar coordinate system is obtained by a point cloud plane fitting method.
[0090] That is, according to the corresponding position coordinates of the target plane in the first laser radar coordinate system, the actual plane posture of the target plane in the first laser radar coordinate system is obtained by fitting through the point cloud plane fitting method.
[0091] S5. According to the relative positions of the first laser radar and the second laser radar, the actual plane pose of the target plane in the first laser radar coordinate system is converted into the pose in the second laser radar coordinate system.
[0092] That is to say, according to the relative positions of the first laser radar and the second laser radar obtained when the vehicle is installed and manufactured, the position and posture of the target plane in the first laser radar coordinate system is converted into the position and posture in the second laser radar coordinate system.
[0093] S6. According to the corresponding position of the target plane in the second laser radar coordinate system and the point cloud, the actual plane pose of the target plane in the second laser radar coordinate system is obtained by a point cloud plane fitting method.
[0094] That is, according to the corresponding position coordinates of the target plane in the second laser radar coordinate system, the actual plane pose of the target plane in the second laser radar coordinate system is obtained by fitting the point cloud plane using the point cloud plane fitting method.
[0095] S7. Screening the pose of the target plane in the camera coordinate system, the actual pose of the target plane in the first laser radar coordinate system, and the actual pose of the target plane in the second laser radar coordinate system.
[0096] That is to say, the pose of the target plane in the camera coordinate system, the actual pose of the target plane in the first laser radar coordinate system, and the actual pose of the target plane in the second laser radar coordinate system are screened by manual screening to remove inaccurate poses in the corresponding coordinate systems to ensure the accuracy of subsequent calibration results. Preferably, before manual screening, the mark recognition results of the target plane in the camera and the mark recognition results of the target plane in the laser radar can be displayed in real time through the image visualization interface and the point cloud visualization interface.
[0097] S8. According to the pose of the target plane in the camera coordinate system and the actual pose of the target plane in the first laser radar coordinate system, the normal vector error and plane distance error of the two are minimized to obtain the relative pose calibration result of the camera and the first laser radar; according to the actual pose of the target plane in the first laser radar coordinate system and the actual pose of the target plane in the second laser radar coordinate system, the normal vector error and plane distance error of the two are minimized to obtain the relative pose calibration result of the first laser radar and the second laser radar.
[0098] That is, respectively obtain the normal vector of the target plane's pose in the camera coordinate system, the normal vector of the target plane's actual pose in the first laser radar coordinate system, and the plane distance between the target plane's pose in the camera coordinate system and the plane's actual pose in the first laser radar coordinate system, and obtain the relative pose calibration result of the camera and the first laser radar by minimizing the normal vector error and the plane distance error of the two (with the purpose of minimizing the normal vector error and the plane distance error of the two); respectively obtain the normal vector of the target plane's actual pose in the first laser radar coordinate system, the normal vector of the target plane's actual pose in the second laser radar coordinate system, and the plane distance between the target plane's actual pose in the first laser radar coordinate system and the plane's actual pose in the second laser radar coordinate system, and obtain the relative pose calibration result of the first laser radar and the second laser radar by minimizing the normal vector error and the plane distance error of the two (with the purpose of minimizing the normal vector error and the plane distance error of the two).
[0099] It should be noted that in this embodiment, the minimum normal vector error is that the product of two normal vectors is 1, and the minimum plane distance error is that the distance between two planes is 0.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. A multi-sensor joint calibration method, characterized in that: include: Using a camera to collect image data around the vehicle, and using a laser radar to collect point cloud data around the vehicle; Calculating the position and posture of the target plane in the camera coordinate system using the image data; According to the relative positions of the camera and the first laser radar, the pose of the target plane in the camera coordinate system is converted into the pose in the first laser radar coordinate system; According to the corresponding position of the pose of the target plane in the first laser radar coordinate system in the first laser radar point cloud, the actual plane pose of the target plane in the first laser radar coordinate system is obtained by a point cloud plane fitting method; According to the relative positions of the first laser radar and the second laser radar, the actual plane pose of the target plane in the first laser radar coordinate system is converted into a pose in the second laser radar coordinate system; According to the corresponding position of the target plane in the second laser radar coordinate system and the second laser radar point cloud, the actual plane pose of the target plane in the second laser radar coordinate system is obtained by a point cloud plane fitting method; According to the pose of the target plane in the camera coordinate system and the actual plane pose of the target plane in the first laser radar coordinate system, by minimizing the normal vector error and plane distance error of the two, a relative pose calibration result of the camera and the first laser radar is obtained; According to the actual plane pose of the target plane in the first laser radar coordinate system and the actual plane pose of the target plane in the second laser radar coordinate system, the relative pose calibration result of the first laser radar and the second laser radar is obtained by minimizing the normal vector error and plane distance error between the two.
2. The multi-sensor joint calibration method according to claim 1, characterized in that: While calculating the position and posture of the target plane in the camera coordinate system, the internal parameters and distortion parameters of the camera are calibrated.
3. The multi-sensor joint calibration method according to claim 2, characterized in that: The steps of calculating the pose of the target plane in the camera coordinate system and calibrating the internal parameters and distortion parameters of the camera are: Detecting and identifying a target in the image data, and obtaining the coordinate positions of a target contour line (211) and internal feature points (212) of the target in the target image; The internal parameters and the distortion parameters of the camera are calibrated according to the target contour and the coordinate positions of the internal feature points (212).
4. The multi-sensor joint calibration method according to claim 3, characterized in that: The method for obtaining the target image and the coordinate positions of the internal feature points (212) of the target in the target image is: Acquire a candidate region of the target image by edge extraction and contour extraction; Eliminating the contours of non-target images to obtain the target contour; The internal feature points (212) of the target image are extracted to obtain the coordinate positions of the internal feature points (212) of the target image in the target image.
5. The multi-sensor joint calibration method according to claim 4, characterized in that: The image data is binarized before acquiring the candidate region of the target image to convert the target image into a black-and-white binary image.
6. The multi-sensor joint calibration method according to claim 5, characterized in that: Before binarizing the image data, the image data is filtered.
7. The multi-sensor joint calibration method according to claim 1, characterized in that: Before obtaining the relative pose calibration result, the pose of the target plane in the camera coordinate system, the actual plane pose of the target plane in the first lidar coordinate system, and the actual plane pose of the target plane in the second lidar coordinate system are screened.
8. A calibration device, characterized in that: Used to implement the multi-sensor joint calibration method according to any one of claims 1 to 7, the calibration device comprises: A vehicle rotating mechanism (1), the vehicle rotating mechanism (1) being rotatably disposed on the ground and used for carrying a vehicle; A plurality of target members (2) are disposed on the ground outside the vehicle rotating mechanism (1), the target members (2) comprising a planar target (21) and a target bracket (22), the planar target (21) provided with a target pattern being connected to the target bracket (22) in an angle-adjustable manner.
9. The calibration device according to claim 8, characterized in that: The target support (22) comprises a support rod (221), a rotating rod (222) and a mounting plane (223); the support rod (221) stands on the ground; the rotating rod (222) is rotatably connected to the support rod (221); the mounting plane (223) is rotatably connected to the rotating rod (222); and the planar target (21) is connected to the mounting plane (223).
10. The calibration device according to claim 8, characterized in that: The target pattern comprises a target contour line (211) and a plurality of internal feature points (212), wherein the plurality of internal feature points (212) are arranged inside the target contour line (211).
Citation Information
Patent Citations
Multi-sensor combined calibration device and method
CN111735479A
Laser radar and camera calibration method, device and equipment and readable storage medium
CN111965624A
Laser radar and visible light camera calibration method based on large-plane composite target
CN112365545A
Multi-sensor time space calibration method and device
CN112598757A
Sensor calibration method and device, storage medium and calibration system
CN112816949A
