A method and device for automatically calibrating a laser radar to a vehicle body coordinate system based on high-precision positioning information

By combining high-precision positioning information with clustering and optimization algorithms, high-precision calibration of lidar and vehicle body coordinate systems is achieved, solving the problem of low calibration automation in existing technologies and improving calibration accuracy and efficiency.

CN115166702BActive Publication Date: 2024-09-13东风悦享科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210808533.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-08
Publication Date
2024-09-13
Estimated Expiration
2042-07-08

AI Technical Summary

Technical Problem

The existing lidar external parameter calibration methods are not highly automated, resulting in inaccurate and inefficient calibration parameters, and cannot meet the high-precision requirements for autonomous vehicles to perceive the environment.

Method used

By combining the high-precision positioning information of autonomous vehicles, the DBSCAN clustering algorithm and the particle swarm optimization algorithm are used to construct an objective function for high-precision calibration of the lidar and vehicle body coordinate systems, and the global position invariance principle of the marker is used to optimize the calibration parameters. , to achieve efficient and high-precision external parameter calibration.

Benefits of technology

It significantly improves the calibration accuracy and efficiency, realizes automated calibration, meets the needs of actual engineering, and solves the problems of cumbersome steps and low accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115166702B
    Figure CN115166702B
Patent Text Reader

Abstract

An automatic calibration method for a laser radar to a vehicle body coordinate system based on high-precision positioning information, comprising: step 1: selecting a suitable calibration site and placing a marker; step 2: moving the vehicle to collect laser radar point cloud data and vehicle positioning data at different positions at the same time; step 3: performing ground segmentation on the acquired laser radar point cloud data to obtain ground point cloud and non-ground point cloud; step 4: obtaining calibration parameters rx、ry、dz ; Step 5: Get calibration parameters rz、dx、dy The present invention combines the high-precision positioning information of the autonomous driving vehicle to perform high-precision calibration of the coordinate system transformation relationship between the laser radar and the vehicle body, which can achieve efficient and high-precision external parameter calibration, solve the problems of cumbersome steps and low precision of general calibration methods, and can perform automatic calibration in a simple environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of assisted driving, and in particular relates to a method and device for automatically calibrating a laser radar to a vehicle body coordinate system based on high-precision positioning information. Background Art

[0002] Autonomous driving technology is developing rapidly, and as it matures, the accuracy requirements for environmental perception are also increasing. LiDAR plays a vital role in environmental perception with its advantages such as high measurement accuracy and wide range. Often an autonomous vehicle contains multiple LiDARs to achieve full coverage of the field of view. The point clouds scanned by multiple LiDARs are based on their own coordinate systems. We need to unify the multi-sensor data into the vehicle coordinate system or the world coordinate system, which requires LiDAR calibration technology.

[0003] Among the existing calibration technologies, the common lidar external parameter calibration methods are not automated enough. The common steps are generally as follows: the commonly used method is to measure the translation and rotation between coordinate systems by manual measurement or leveling. This type of method cannot obtain accurate calibration parameters and is inefficient. Summary of the invention

[0004] The present invention aims to achieve efficient and high-precision external parameter calibration by combining the high-precision positioning information of the autonomous driving vehicle to perform high-precision calibration of the coordinate system conversion relationship of the present invention between the laser radar and the vehicle body.

[0005] The present invention provides an automatic calibration method of a laser radar to a vehicle body coordinate system based on high-precision positioning information, comprising:

[0006] Step 1: Select a suitable calibration site and place markers;

[0007] Step 2: Move the vehicle to collect lidar point cloud data and vehicle positioning data at different locations at the same time {P t ,G t |t=1,2,...T};

[0008] Step 3: For the acquired LiDAR point cloud data, first set the region of interest, perform ground segmentation on the point cloud within the region of interest, and obtain the ground point cloud P t,g and non-ground point cloud P t,ug , for the non-ground point cloud P t,ug , clustering is performed according to the DBSCAN clustering algorithm, the point cloud cluster of the landmark is obtained, and the center coordinates of the point cloud cluster are obtained

[0009] Step 4: For all locations, obtain the ground point cloud set {P t,g|t=1,2,...,T}, construct an objective function and optimize the calibration parameters rx,ry. The optimization objective function is:

[0010] f(vx,vy)=|vx|+|vy|;

[0011] Among them, Vx and Vy are the values ​​of the normal vector of the ground point cloud on the x-axis and y-axis respectively, and their values ​​come from the plane equation of the ground point cloud, as shown below:

[0012] z=vxx+vyy+dz;

[0013]

[0014] Among them, M is the coordinate transformation matrix, as shown in the following function:

[0015]

[0016] Among them, rx, ry and rz are the rotation angles around the x, y and z axes of the vehicle coordinate system, respectively, and dz is the translation amount on the z axis of the vehicle coordinate system;

[0017] Step 5: Construct the objective function based on the principle that the global position of the landmark remains unchanged under different vehicle positions and obtain the calibration parameters rz, dx and dy.

[0018] Preferably, in step 5, for one of the markers n, its position in the vehicle coordinate system at time t is for:

[0019]

[0020] Its position in the global coordinate system at time t is:

[0021]

[0022] Among them, M l2g It is the transformation matrix from the vehicle coordinate system to the global coordinate system.

[0023] For the marker, its position in the global coordinate system remains unchanged, so the objective function is constructed as:

[0024]

[0025] Among them, P t,g is the ground point cloud, P t,ug is the non-ground point cloud data, G is the position of the marker in the global coordinate system, and V is the position of the marker in the vehicle coordinate system.

[0026] Preferably, in step 1, the calibration site is a substantially flat ground of a certain size, and the marker is an upright object of a certain height, and a common reflective cone barrel can be selected.

[0027] Preferably, in step 2, when the vehicle is moved, the marker should be ensured to be within the detection range of the laser radar. The vehicle positioning data includes the latitude, longitude and heading angle of the vehicle at the current moment, that is, G t =(lon,lat,θ).

[0028] Preferably, in step 4, the process of optimizing and obtaining calibration parameters rx, ry and dz according to the objective function includes:

[0029] Step 41: According to the ground point cloud, first assign rx and ry a random value;

[0030] Step 42: Using the particle swarm optimization PSO algorithm to minimize the objective function value as the optimization goal, automatically update a set of rx and ry values;

[0031] Step 43: According to the updated rx and ry values, the ground point cloud is transformed into coordinates;

[0032] Step 44: Perform RANSAC ground fitting on the ground point cloud after coordinate transformation to obtain ground normal vector vx and vy values;

[0033] Step 45: solving the objective function value according to the function in step 4;

[0034] Step 46: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value; if any one of the conditions is met, terminate the iteration and output the current rx, ry and dz; if not, loop through steps 42 to 45.

[0035] Preferably, in step 5, according to the obtained rx, ry and dz, combined with the objective function The steps to solve for rz, dx, and dy are as follows:

[0036] Step 51: Assign a random value to rz, dx and dy;

[0037] Step 52: Use PSO algorithm to solve the objective function

[0038] The minimum value of is the optimization target, and a set of rz, dx and dy values ​​are automatically updated;

[0039] Step 53: According to the updated values ​​of rz, dx and dy, the objective function value is obtained by combining the functions in step 4 and step 5;

[0040] Step 54: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value. If any of the conditions are met, the iteration is terminated and the current rz, dx and dy are output. If not, the steps 52-53 are executed cyclically.

[0041] The present invention also provides an automatic calibration device for a laser radar to a vehicle body coordinate system based on high-precision positioning information. The device is applied to an intelligent vehicle platform equipped with a laser radar and a calibrated high-precision positioning device, and the positioning device has been calibrated.

[0042] Preferably, the automatic calibration device for the laser radar to the vehicle body coordinate system based on high-precision positioning information includes a processor, and the processor can implement any of the above-mentioned automatic calibration methods for the laser radar to the vehicle body coordinate system based on high-precision positioning information.

[0043] The beneficial effects brought by the present invention are:

[0044] 1. The present invention can achieve efficient and high-precision external parameter calibration by combining the high-precision positioning information of the autonomous driving vehicle to perform high-precision calibration of the coordinate system conversion relationship between the laser radar and the vehicle body.

[0045] 2. The present invention can solve the problems of complicated steps and low precision of general calibration methods.

[0046] 3. The present invention can significantly improve the calibration accuracy and efficiency, meet the use requirements of actual projects, and can perform automatic calibration in a simple environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 Flow chart of the method of the present invention.

[0048] Figure 2 The present invention is a flowchart for obtaining calibration parameters by the method of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] like Figure 1 As shown, this embodiment provides an automatic calibration method of a laser radar to a vehicle body coordinate system based on high-precision positioning information, comprising:

[0051] Step S1: Select a suitable calibration site and place markers. The calibration site is a basically flat ground of a certain size, and the markers are upright objects of a certain height. Common reflective cone barrels can be selected. Several markers are placed on the calibration site according to certain rules. The placement rules can be selected to place the markers in a straight line at a certain interval;

[0052] Step S2: Move the vehicle to collect laser radar point cloud data and vehicle positioning data at different locations at the same time {P t ,G t |t=1,2,...T}, when moving the vehicle, the landmark should be ensured to be within the detection range of the laser radar. The vehicle positioning data includes the latitude, longitude and heading angle of the vehicle at the current moment, that is, G t =(lon,lat,θ);

[0053] Step S3: For the acquired LiDAR point cloud data, first set the region of interest, remove other point clouds in the calibration site, retain only the ground point cloud and the landmark point cloud, and then perform ground segmentation on the point cloud in the region of interest to obtain the ground point cloud P t,g and non-ground point cloud P t,ug , for the non-ground point cloud P t,ug , clustering is performed according to the DBSCAN clustering algorithm, the point cloud cluster of the landmark is obtained, and the center coordinates of the point cloud cluster are obtained

[0054] Step S4: For all the locations, the ground point cloud set {P t,g |t=1,2,...,T}, construct an objective function and optimize the calibration parameters rx,ry. The optimization objective function is:

[0055] f(vx,vy)=|vx|+|vy|;

[0056] Among them, Vx and Vy are the values ​​of the normal vector of the ground point cloud on the x-axis and y-axis respectively, and their values ​​come from the plane equation of the ground point cloud, as shown below:

[0057] z=vxx+vyy+dz;

[0058]

[0059] Among them, M is the coordinate transformation matrix, as shown in the following function:

[0060]

[0061] Among them, rx, ry and rz are the rotation angles around the x, y and z axes of the vehicle coordinate system, respectively, and dz is the translation amount on the z axis of the vehicle coordinate system;

[0062] Step S5: Construct an objective function based on the principle that the global position of the marker remains unchanged under different vehicle positions, and obtain calibration parameters rz, dx and dy.

[0063] Furthermore, in step S5, for one of the markers n, its position in the vehicle coordinate system at time t is for:

[0064]

[0065] Its position in the global coordinate system at time t is:

[0066]

[0067] Among them, M l2g is the transformation matrix from the vehicle coordinate system to the global coordinate system;

[0068] For the marker, its position in the global coordinate system remains unchanged, so the objective function is constructed as:

[0069]

[0070] Among them, P t,g is the ground point cloud, P t,ug is the non-ground point cloud data, G is the position of the marker in the global coordinate system, and V is the position of the marker in the vehicle coordinate system.

[0071] Furthermore, if Figure 2 As shown, in step S4, the process of optimizing and obtaining calibration parameters rx, ry and dz according to the objective function includes:

[0072] Step S41: first assign a random value to rx and ry according to the ground point cloud;

[0073] Step S42: using the particle swarm optimization PSO algorithm to minimize the objective function value as the optimization goal, automatically updating a set of rx and ry values;

[0074] Step S43: According to the updated rx and ry values, the ground point cloud is coordinate-converted.

[0075] Step S44: Perform RANSAC ground fitting on the ground point cloud after coordinate transformation to obtain ground normal vectors vx and vy values;

[0076] Step S45: solving the objective function value according to the function in step S4;

[0077] Step S46: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value; if any one of the conditions is met, terminate the iteration and output the current rx, ry and dz; if not, loop through steps S42-S45.

[0078] Furthermore, if Figure 2 As shown, in step S5, according to the obtained rx, ry and dz, combined with the objective function The steps to solve for rz, dx, and dy are as follows:

[0079] Step S51: assign a random value to rz, dx and dy;

[0080] Step S52: Using the PSO algorithm to The minimum value of is the optimization target, and a set of rz, dx and dy values ​​are automatically updated;

[0081] Step S53: according to the updated values ​​of rz, dx and dy, the objective function value is obtained by combining the functions in step S4 and step S5;

[0082] Step S54: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value. If any condition is met, terminate the iteration and output the current rz, dx and dy. If not, loop through steps S52-S53.

[0083] The present invention also provides an automatic calibration device for laser radar to vehicle body coordinate system based on high-precision positioning information, and the device is applied to a smart car platform equipped with laser radar and a calibrated high-precision positioning device, and the positioning device has been calibrated. This solution obtains the calibration parameters of the laser radar to the smart car vehicle coordinate system through an automated calibration method, and the calibration parameters are the six-degree-of-freedom parameters from the laser radar coordinate system to the vehicle coordinate system, namely: dx, dy, dz, rx, ry, rz are the translation variables and rotation variables of the three axes respectively.

[0084] Furthermore, the automatic calibration device for the laser radar to the vehicle body coordinate system based on high-precision positioning information includes a processor, and the processor can implement any of the above-mentioned automatic calibration methods for the laser radar to the vehicle body coordinate system based on high-precision positioning information.

[0085] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are only illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all belong to the protection of the present invention.

Claims

1. An automatic calibration method of a laser radar to a vehicle body coordinate system based on high-precision positioning information, comprising: Step 1: Select a suitable calibration site and place markers; Step 2: Move the vehicle to collect lidar point cloud data and vehicle positioning data at different locations at the same time {P t ,G t |t=1 ,2 ,...T}; Step 3: For the acquired LiDAR point cloud data, first set the region of interest, perform ground segmentation on the point cloud within the region of interest, and obtain the ground point cloud P t,g and non-ground point cloud P t,ug , for the non-ground point cloud P t,ug , clustering is performed according to the DBSCAN clustering algorithm to obtain the point cloud cluster of the landmark, and the center coordinates of the point cloud cluster are obtained {P n t,ug |n=1,2,3,...,N}; Step 4: For all locations, obtain the ground point cloud set {P t,g |t=1,2,...,T}, construct an objective function to optimize the calibration parameters rx,ry, the objective function is: f(v x ,v y )=|v x |+|v y |; Among them, v x and v y They are the values ​​of the normal vector of the ground point cloud on the x-axis and y-axis respectively, and their values ​​come from the plane equation of the ground point cloud. The function is as follows: z=v x x+v y y+dz; ; Among them, M is the coordinate transformation matrix, as shown in the following function: ; Among them, rx, ry and rz are the rotation angles around the x, y and z axes of the vehicle coordinate system, respectively, and dz is the translation amount on the z axis of the vehicle coordinate system; Step 5: Construct the objective function based on the principle that the global position of the marker remains unchanged under different vehicle positions and obtain the calibration parameters rz, dx and dy.

2. The automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information according to claim 1 is characterized in that: In step 5, for one of the markers n, its position VP in the vehicle coordinate system at time t is n t,ug for: VP n t,ug =M*P n t,ug ; Its position in the global coordinate system at time t is: GP n t,ug =M l2g *VP n t,ug ; Among them, M l2g is the transformation matrix from the vehicle coordinate system to the global coordinate system; For the marker, its position in the global coordinate system remains unchanged, so the objective function is constructed as: ; Among them, P t,g is the ground point cloud, P t,ug is the non-ground point cloud data, G is the position of the marker in the global coordinate system, and V is the position of the marker in the vehicle coordinate system.

3. The automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information according to claim 1 is characterized in that: In step 1, the calibration site is a substantially flat ground of a certain size, and the marker is an upright object of a certain height, and a common reflective cone barrel can be selected.

4. The automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information according to claim 1 is characterized in that: In step 2, when the vehicle is moved, the marker should be ensured to be within the detection range of the laser radar. The vehicle positioning data includes the latitude, longitude and heading angle of the vehicle at the current moment, that is, Gt = (lon, lat, θ).

5. The automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information according to claim 1 is characterized in that: In step 4, the process of optimizing and obtaining calibration parameters rx, ry and dz according to the objective function includes: Step 41: According to the ground point cloud, first assign rx and ry a random value; Step 42: Using the particle swarm optimization PSO algorithm to minimize the objective function value as the optimization goal, automatically update a set of rx and ry values; Step 43: According to the updated rx and ry values, the ground point cloud is transformed into coordinates; Step 44: Perform RANSAC ground fitting on the ground point cloud after coordinate transformation to obtain ground normal vector vx and vy values; Step 45: solving the objective function value according to the function in step 4; Step 46: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value; if any one of the conditions is met, terminate the iteration and output the current rx, ry and dz; if not, loop through steps 42 to 45.

6. The automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information according to claim 1 is characterized in that: In step 5, according to the obtained rx, ry and dz, combined with the objective function: ; The steps to solve for rz, dx, and dy are as follows: Step 51: Assign a random value to rz, dx and dy; Step 52: Use the PSO algorithm to solve the problem: ; The minimum value of is the optimization target, and a set of rz, dx and dy values ​​are automatically updated; Step 53: deriving the objective function value according to the updated values ​​of rz, dx and dy and combining the functions in steps 4 and 5; Step 54: Determine whether the objective function value is less than the set threshold, or whether the number of iterations reaches the preset value. If any of the conditions is met, the iteration is terminated and the current rz, dx and dy are output. If not, the steps 52-53 are executed in a loop.

7. A calibration device that implements the automatic calibration method of the laser radar to the vehicle body coordinate system based on high-precision positioning information as described in any one of claims 1 to 6, characterized in that: The calibration device is applied to an intelligent automobile platform equipped with a laser radar and a calibrated high-precision positioning device, and the positioning device has been calibrated.

8. The calibration device according to claim 7, characterized in that: include: A processor capable of implementing the automatic calibration method of a laser radar to a vehicle body coordinate system based on high-precision positioning information as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multi-line laser radar calibration method

    CN109001711A

  • Method and system for sensing automated driving environment

    WO2022022694A1