Calibration method and system for vehicle-mounted multi-view ranging equipment based on perception data
Through the cloud, the sensing data of the multi-view ranging equipment is identified, new calibration parameters are calculated and issued, which solves the problem of untimely and inaccurate calibration of the multi-view ranging equipment in the existing technology, and achieves timely and accurate calibration of the equipment. Improved ranging accuracy and safety of autonomous driving.
Patent Information
- Application Number
- CN202210344033.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-03-31
AI Technical Summary
Existing multi-vision ranging equipment calibration methods cannot identify parameter anomalies in a timely manner, and the calibration results are not accurate enough, which affects the ranging accuracy and safety of autonomous driving.
The sensing data is obtained through the anomaly identification module in the cloud to determine whether the multi-vision ranging equipment needs calibration, and the calibration parameter calibration module is used to calculate new calibration parameters, which are sent to the vehicle and machine terminal for calibration updates through wireless communication, thus avoiding inconvenience to the user. Maintenance requirements and reliance on specialized equipment.
It achieves timely and accurate calibration of multi-visual ranging equipment, reduces calibration costs, and improves the ranging accuracy and safety of autonomous driving.
Smart Images

Figure CN114705222B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of automobile sensor calibration, and in particular relates to a method and system for calibrating an on-vehicle multi-view distance measuring device based on perception data. Background Art
[0002] With the rapid development of autonomous driving, a variety of environmental perception sensors are installed on mass-produced vehicles to support autonomous driving, among which multi-eye distance measurement equipment is one of the most important sensors in environmental perception sensors. When multi-eye vision equipment is affected by vehicle vibration, the relative positions between the image acquisition devices will change, that is, the external parameters will change, thus affecting the distance measurement accuracy, and then affecting the autonomous driving strategy, forming a driving hazard. However, the terminal car owner does not have the ability to detect abnormal calibration parameters, nor does he have the calibration equipment and ability of multi-eye vision distance measurement equipment. It can only be solved through maintenance agencies, which increases the cycle of identifying problems, the cycle of solving problems and the cost.
[0003] At present, a Chinese patent with publication number 111402309 discloses a method for calibrating and processing depth images of multi-eye stereo cameras. It includes: selecting a reference camera and a camera to be corrected in a multi-eye camera device, and obtaining the corresponding reference camera image and the camera image to be corrected; optimizing the internal and external parameters of the camera to be corrected according to the reference camera image and the camera image to be corrected; and obtaining the final depth image. This method uses the depth calculation results of matching features to optimize the camera parameters, so that the transition of the junction part of multiple depth images is smooth, and the depth image of the non-overlapping part can be further refined and adjusted according to the optimized parameters, and the consistency and stability of the final depth result are guaranteed by the mutual constraints between different binoculars. This calibration method has the problem of not being able to timely identify whether the multi-eye parameters need to be calibrated; at the same time, it is necessary to select a reference camera, and the selection of the reference camera has a great influence on the calibration result, and there is a problem that the calibration result is not accurate enough. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a method and system for calibrating a vehicle-mounted multi-eye ranging device based on perception data, which can timely calibrate the multi-eye ranging device and produce accurate calibration results.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0006] A method for calibrating a vehicle-mounted multi-view ranging device based on perception data, characterized in that it comprises the following steps:
[0007] Step 1: Obtain one or more sensing data of the multi-eye ranging device and other sensing devices in the cloud through the abnormal recognition module in the cloud, and determine whether the multi-eye ranging device needs to be calibrated according to the above sensing data; if calibration is required, proceed to the next step;
[0008] Step 2, calculate and solve new calibration parameters through the calibration parameter calibration module in the cloud, the specific steps are as follows: Step 2.1, obtain the internal parameters of each image acquisition device in the multi-eye ranging device system; Step 2.2, obtain the perception coordinates of the calibration target identified by the perception device selected in step 1; Step 2.3, obtain the calibration target image collected by the multi-eye ranging device, and calculate the image coordinates of each target image to obtain an image coordinate set; Step 2.4, repeat the steps in steps 2.2-2.3 to obtain multiple sets of perception coordinates and image coordinate sets of calibration targets; Step 2.5, establish a joint equation group about calibration parameters with the obtained image coordinate set, the internal parameters of the image acquisition device, and the calibration target coordinates, and solve the joint equation group to obtain new calibration parameters;
[0009] Step 3: Send the calibration parameters obtained in step 2 to the vehicle computer through the parameter sending module in the cloud.
[0010] Furthermore, in step 2.5, the perception coordinates and image coordinates of each group of calibration targets obtained are the same target, and the perception coordinates and image coordinates of each group of calibration targets collected are different calibration targets collected at different times.
[0011] Furthermore, in step 1, the specific steps of obtaining one or more perception data of the multi-eye ranging device and other perception devices in the cloud through the abnormal recognition module in the cloud are as follows: first, randomly obtain the perception coordinates of the multi-eye ranging device of a certain target, and convert them into target coordinates in the vehicle coordinate system according to the factory coordinate system calibration, and the converted target coordinates are multi-eye perception coordinates; then obtain the target perception coordinates of one or more sensors other than the multi-eye ranging device, and convert them into coordinates in the vehicle coordinate system, which are standard perception coordinates, and the sensor is a standard sensor.
[0012] Furthermore, the target acquired by the multi-eye ranging device and the target perceived by the target perception coordinates are the same target acquired at the same time.
[0013] Furthermore, in step 1, the steps for determining whether the multi-eye ranging device needs to be calibrated are as follows: if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set first threshold and less than the set second threshold, it is determined that the multi-eye ranging device needs to be calibrated, and the parameter calibration module is started; if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set second threshold, it is determined that the deviation of the multi-eye ranging device is too large, and a risk alarm is given; if the difference between the standard perception coordinates and the multi-eye perception coordinates is less than the set first threshold, it is determined that the parameters of the multi-eye ranging system are normal and no processing is performed.
[0014] Furthermore, in step 3, the steps for the parameter sending module to send the calibration parameters to the vehicle computer are as follows: step 3.1, if new calibration parameters are obtained, the cloud transmits the new parameters to the vehicle computer through the data communication equipment; step 3.2, the vehicle end writes the new parameters into the storage medium of the multi-eye ranging system to complete the calibration update.
[0015] Furthermore, if a risk alarm is given, the cloud will transmit the alarm information to the vehicle computer through the data communication equipment, prompting the owner to perform maintenance.
[0016] A vehicle-mounted multi-eye distance measuring device calibration and calibration system based on perception data, characterized in that it comprises a multi-eye distance measuring device, other perception devices and a vehicle computer at a vehicle end, and a cloud perception data module, an abnormality recognition module, a calibration parameter calibration module and a parameter sending module at a cloud end, wherein the cloud perception data module receives one or more perception data of the multi-eye distance measuring device and other perception devices by wireless communication; the abnormality recognition module is communicatively connected with the cloud perception data module, used to obtain one or more perception data of the multi-eye distance measuring device and other perception devices at the cloud end, and judge whether the multi-eye distance measuring device needs calibration according to the above perception data; the calibration parameter calibration module is communicatively connected with the market recognition module, used to obtain the internal parameters of each image acquisition device in the multi-eye distance measuring device system, the perception coordinates of the calibration target recognized by the perception device, and the calibration target image collected by the multi-eye distance measuring device, and obtain multiple groups of perception coordinates and image coordinate sets of the calibration target, and then solve new calibration parameters; the parameter sending module is communicatively connected with the calibration parameter calibration module, and used to send the calibration parameters solved by the abnormality judgment module and the parameter calibration calculation module to the vehicle computer at the vehicle end.
[0017] Furthermore, the abnormality determination module can be started regularly in the cloud, or can be triggered to start by the vehicle owner or an authorized maintenance organization.
[0018] Compared with the prior art, the vehicle-mounted multi-eye ranging equipment calibration method based on perception data obtained by the present invention has the following advantages: abnormalities in the calibration parameters of the multi-eye ranging equipment can be discovered in time in the cloud; the multi-eye ranging equipment can be calibrated in the cloud without the need for users to go to maintenance agencies, thereby improving the timeliness of correcting equipment parameters; and no special calibration equipment is required, thereby reducing calibration costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the connection structure of the vehicle-mounted multi-eye ranging equipment calibration system in the embodiment;
[0020] Figure 2 It is a determination flow chart of the abnormality identification module in the embodiment;
[0021] Figure 3 This is a flow chart of obtaining calibration parameters of the calibration parameter calibration module in the embodiment. DETAILED DESCRIPTION
[0022] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0023] Example:
[0024] As shown in the figure, the calibration method of the vehicle-mounted multi-view ranging device based on perception data provided in this embodiment includes the following steps:
[0025] Step 1, such as Figure 2 As shown, one or more perception data of the multi-eye ranging device and other perception devices in the cloud are obtained through the abnormal recognition module in the cloud, and it is determined whether the multi-eye ranging device needs to be calibrated according to the above perception data; if calibration is required, proceed to the next step; specifically, step 1.1, randomly obtain the perception coordinates of the multi-eye ranging device of a certain target, and convert them into the target coordinates in the vehicle coordinate system according to the factory coordinate system calibration, and the converted target coordinates are the multi-eye perception coordinates; step 1.2, obtain the target perception coordinates of one or more sensors other than the multi-eye ranging device, and convert them into the target coordinates in the vehicle coordinate system Coordinates, which are standard perception coordinates, and the sensor is a standard sensor; step 1.3, if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set first threshold and less than the set second threshold, it is determined that the multi-eye ranging device needs to be calibrated, and the parameter calibration module is started; step 1.4, if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set second threshold, it is determined that the deviation of the multi-eye ranging device is too large, and a risk alarm is given; step 1.5, if the difference between the standard perception coordinates and the multi-eye perception coordinates is less than the set first threshold, it is determined that the parameters of the multi-eye ranging system are normal, and no processing is performed;
[0026] Step 2, such as Figure 3As shown, the new calibration parameters are calculated and solved through the calibration parameter calibration module in the cloud, and the specific steps are as follows: Step 2.1, obtain the internal parameters of each image acquisition device in the multi-eye ranging device system; Step 2.2, obtain the perception coordinates of the calibration target identified by the perception device selected in Step 1; Step 2.3, obtain the calibration target image collected by the multi-eye ranging device, and calculate the image coordinates of each target image to obtain an image coordinate set; Step 2.4, repeat the steps in Steps 2.2-2.3 to obtain multiple sets of perception coordinates and image coordinate sets of calibration targets; Step 2.5, establish a joint equation group about the calibration parameters with the obtained image coordinate set, the internal parameters of the image acquisition device, and the calibration target coordinates, and solve the joint equation group to obtain new calibration parameters;
[0027] Step 3, send the calibration parameters obtained in step 2 to the vehicle computer through the parameter sending module of the cloud. The specific steps are as follows: Step 3.1, if new calibration parameters are obtained, the cloud transmits the new parameters to the vehicle computer through the data communication equipment; Step 3.2, the vehicle writes the new parameters into the storage medium of the multi-eye ranging system to complete the calibration update; Step 3.3, if a risk alarm is given, the cloud transmits the alarm information to the vehicle computer through the data communication equipment to prompt the owner to perform maintenance.
[0028] Furthermore, in step 2.5, the perception coordinates and image coordinates of each group of calibration targets obtained are the same target, and the perception coordinates and image coordinates of each group of calibration targets collected are different calibration targets collected at different times.
[0029] In step 1, the target acquired by the multi-eye ranging device and the target perceived by the target perception coordinates are the same target acquired at the same time.
[0030] In this embodiment, the selected sensor is a laser radar, which is used as a standard perception sensor. The acquired coordinates are radar coordinates, and the acquired target is a vehicle about 10 meters ahead.
[0031] Specifically, the calibration parameter solution process in this embodiment is as follows: Step 2.1, obtaining the coordinates of the intrinsic parameters of each image acquisition device in the multi-eye ranging device system is as follows: In the formula, f l is the focal length of the left camera, (c xl ,c yl ) is the principal point coordinate of the left camera; f r is the focal length of the right camera, (c xr ,c yr ) is the principal point coordinate of the right camera. The intrinsic parameters are fixed parameters of the camera and are calibrated at the factory.
[0032] Step 2.2, obtain the coordinates of a vehicle identified by the radar, called the calibration target, denoted as [x r ,y r ,z r ];
[0033] Step 2.3, obtain the vehicle images captured by the two cameras of the binocular vision system; use the image processing method to obtain the image coordinates of the vehicle in the images captured by the left and right cameras, denoted as [X r ,Y r ] and [X l ,Y l ];
[0034] Step 2.4, repeat steps 2.2-2.3 to obtain multiple sets of radar coordinates and image coordinates (each set cannot be for the same time and the same target). Record the above coordinates as: and
[0035] Step 2.5, using the image coordinate set obtained in step 2.4, the image acquisition device internal parameters obtained in step 2.1, and the perception coordinates to establish a joint equation; according to the following binocular vision coordinate system, the spatial point cv p t =[ cv x, cv y, cv z] T The coordinate calculation formula of the vehicle is used to substitute the image coordinates of the vehicle to obtain the coordinates of each vehicle in the visual system:
[0036] In the formula, [ cv x, cv y, cv z] T represents the transpose of the matrix, (X l ,Y l ) is the pixel coordinate of the image feature point of the point light source in the left camera; (X r ,Y r ) is the pixel coordinate of the image feature point of the point light source in the right camera; cv x represents the x-axis coordinate of the point light source in the computer vision coordinate system. cv y represents the y-axis coordinate of the point light source in the visual coordinate system. cv z represents the z-axis coordinate of the point light source in the visual coordinate system. are the external parameters of the left and right cameras, that is, the calibration parameters that need to be solved in the present invention.
[0037] The obtained vehicle visual coordinates are Based on the first column, subtract the first column from the remaining columns to get the coordinate difference of each vehicle relative to the first vehicle:
[0038] The same transformation operation is performed on the radar coordinates of the vehicle to obtain Since the absolute coordinates of the vehicles do not change, the coordinates of each vehicle in different coordinate systems relative to the first vehicle do not change, so we have r M= cv M, we can get a set of twelve-variable linear equations about the calibration parameters of the binocular vision system.
[0039] Step 2.6, solve the equations in step 2.5 to obtain new calibration parameters.
[0040] In order to avoid parameter errors in the binocular vision system and radar coordinate errors, 15 sets of vehicle coordinates are preferably used in step 2.4.
[0041] like Figure 1 As shown, the present embodiment also discloses a vehicle-mounted multi-eye distance measuring device calibration system based on perception data, including a multi-eye distance measuring device, other perception devices and a vehicle computer at the vehicle end, and a cloud perception data module, an abnormality recognition module, a calibration parameter calibration module and a parameter sending module at the cloud end, wherein the cloud perception data module receives one or more perception data of the multi-eye distance measuring device and other perception devices by wireless communication; the abnormality recognition module is communicatively connected with the cloud perception data module, and is used to obtain one or more perception data of the multi-eye distance measuring device and other perception devices at the cloud end, and judge whether the multi-eye distance measuring device needs to be calibrated according to the above perception data; the calibration parameter calibration module is communicatively connected with the market recognition module, and is used to obtain the internal parameters of each image acquisition device in the multi-eye distance measuring device system, the perception coordinates of the calibration target recognized by the perception device, and the calibration target image collected by the multi-eye distance measuring device, and obtain multiple sets of perception coordinates and image coordinate sets of the calibration target, and then solve new calibration parameters; the parameter sending module is communicatively connected with the calibration parameter calibration module, and is used to send the calibration parameters solved by the abnormality judgment module and the parameter calibration calculation module to the vehicle computer at the vehicle end.
[0042] Furthermore, the abnormality determination module can be started regularly in the cloud, or can be triggered to start by the vehicle owner or an authorized maintenance organization.
[0043] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Although the applicant has described the present invention in detail with reference to the preferred embodiments, ordinary technicians in this field should understand that those modifications or equivalent substitutions of the technical solution of the present invention without departing from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. A method for calibrating a vehicle-mounted multi-eye ranging device based on perception data, characterized in that: The steps include: Step 1: Obtain one or more sensing data of the multi-eye ranging device and other sensing devices in the cloud through the abnormal recognition module in the cloud, and determine whether the multi-eye ranging device needs to be calibrated according to the above sensing data; if calibration is required, proceed to the next step; Step 2: Calculate and solve new calibration parameters through the calibration parameter calibration module in the cloud. The specific steps are as follows: Step 2.1, obtain the intrinsic parameters of each image acquisition device in the multi-eye ranging device system; the coordinates of the intrinsic parameters of each image acquisition device in the multi-eye ranging device system are obtained as follows: In the formula, f l is the focal length of the left camera, (c xl ,c yl ) is the principal point coordinate of the left camera; f r is the focal length of the right camera, (c xr ,c yr ) is the principal point coordinate of the right camera; Step 2.2, obtain the perception coordinates of the calibration target identified by the perception device selected in step 1, and the calibration target is recorded as [x r ,y r ,z r ]; Step 2.3, obtain the calibration target image collected by the multi-eye ranging device, and calculate the image coordinates [X r ,Y r ] and [X l ,Y l ], get the image coordinate set; Step 2.4, repeat steps 2.2-2.3 to obtain multiple sets of perception coordinates and image coordinate sets of calibration targets; Step 2.5, the obtained image coordinate set is used with the internal parameters of the image acquisition device and the calibration target coordinates to establish a joint equation group about the calibration parameters, and the joint equation group is solved to obtain new calibration parameters; specifically, the image coordinate set obtained in step 2.4, the internal parameters of the image acquisition device obtained in step 2.1, and the perception coordinates are used to establish a joint equation; according to the following binocular vision coordinate system, the spatial point cv p t =[ cv x, cv y, cv z] T , and substitute the image coordinates of the calibration target into the coordinate calculation formula to obtain the coordinates of each calibration target in the visual system: are the external parameters of the left and right cameras, that is, the calibration parameters that need to be solved; the obtained calibration target visual coordinates are Taking the first column as the basis, subtracting the first column from the remaining columns can obtain the coordinate difference of each calibration target relative to the first calibration target: The radar coordinates of the calibrated target are also transformed in the same way to obtain Since the absolute coordinates of the calibration target remain unchanged, the coordinates of each vehicle in different coordinate systems relative to the first calibration target also remain unchanged, so we have r M= cv M, a set of twelve-variable linear equations about the calibration parameters of the binocular vision system can be obtained; solving the set of twelve-variable linear equations can obtain new calibration parameters; Step 3: Send the calibration parameters obtained in step 2 to the vehicle computer through the parameter sending module in the cloud.
2. The method for calibrating a vehicle-mounted multi-eye ranging device based on perception data according to claim 1, characterized in that: In step 2.5, the perception coordinates and image coordinates of each group of calibration targets obtained are the same target, and the perception coordinates and image coordinates of each group of calibration targets collected are different calibration targets collected at different times.
3. The method for calibrating a vehicle-mounted multi-view distance measuring device based on perception data according to claim 1 or 2, characterized in that: In step 1, the specific steps of obtaining one or more perception data of the multi-eye ranging device and other perception devices in the cloud through the abnormal recognition module in the cloud are as follows: first, randomly obtain the perception coordinates of the multi-eye ranging device of a certain target, and convert them into the target coordinates in the vehicle coordinate system according to the factory coordinate system calibration, and the converted target coordinates are multi-eye perception coordinates; then obtain the target perception coordinates of one or more sensors other than the multi-eye ranging device, and convert them into coordinates in the vehicle coordinate system, which are standard perception coordinates, and the sensor is a standard sensor.
4. The method for calibrating a vehicle-mounted multi-view distance measuring device based on perception data according to claim 3 is characterized in that: The target acquired by the multi-eye ranging device and the target perceived by the target perception coordinates are the same target acquired at the same time.
5. The method for calibrating a vehicle-mounted multi-view distance measuring device based on perception data according to claim 3 is characterized in that: In step 1, the steps for determining whether the multi-eye ranging device needs to be calibrated are as follows: if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set first threshold and less than the set second threshold, it is determined that the multi-eye ranging device needs to be calibrated, and the parameter calibration module is started; if the difference between the standard perception coordinates and the multi-eye perception coordinates is greater than the set second threshold, it is determined that the deviation of the multi-eye ranging device is too large, and a risk alarm is given; if the difference between the standard perception coordinates and the multi-eye perception coordinates is less than the set first threshold, it is determined that the parameters of the multi-eye ranging system are normal and no processing is performed.
6. The method for calibrating a vehicle-mounted multi-view distance measuring device based on perception data according to claim 1, 2, 4 or 5, characterized in that: In step 3, the steps for the parameter sending module to send the calibration parameters to the vehicle computer are as follows: Step 3.1, if new calibration parameters are obtained, the cloud transmits the new parameters to the vehicle computer through the data communication equipment; Step 3.2, the vehicle end writes the new parameters into the storage medium of the multi-eye ranging system to complete the calibration update.
7. The method for calibrating a vehicle-mounted multi-view distance measuring device based on perception data according to claim 5, characterized in that: If a risk alarm is given, the cloud will transmit the alarm information to the vehicle computer through data communication equipment, prompting the owner to perform maintenance.
8. A vehicle-mounted multi-eye ranging equipment calibration system based on perception data, characterized in that: The system comprises a multi-eye distance measuring device, other sensing devices and a vehicle computer at the vehicle end, and a cloud sensing data module, an abnormality identification module, a calibration parameter calibration module and a parameter sending module at the cloud end, wherein the cloud sensing data module receives one or more sensing data of the multi-eye distance measuring device and other sensing devices by wireless communication; the abnormality identification module is connected in communication with the cloud sensing data module, and is used to obtain one or more sensing data of the multi-eye distance measuring device and other sensing devices at the cloud end, and judge whether the multi-eye distance measuring device needs to be calibrated according to the above sensing data; the calibration parameter calibration module is connected in communication with the market identification module, and is used to obtain the internal parameters of each image acquisition device in the multi-eye distance measuring device system, the sensing coordinates of the calibration target identified by the sensing device, and the calibration target image collected by the multi-eye distance measuring device, and obtain multiple sets of sensing coordinates and image coordinate sets of the calibration target, and then solve new calibration parameters; specifically, the method for solving new calibration parameters is as described in step 2 of claim 1; the parameter sending module is connected in communication with the calibration parameter calibration module, and is used to send the calibration parameters solved by the abnormality determination module and the parameter calibration calculation module to the vehicle computer at the vehicle end.
9. The vehicle-mounted multi-view distance measurement equipment calibration system based on perception data according to claim 8, characterized in that: The abnormality determination module can be started periodically in the cloud, or can be triggered to start by the vehicle owner or an authorized maintenance organization.
