WO2022127532A1 - Method and apparatus for calibrating external parameter of laser radar and imu, and device - Google Patents

Method and apparatus for calibrating external parameter of laser radar and imu, and device Download PDF

Info

Publication number
WO2022127532A1
WO2022127532A1 PCT/CN2021/132432 CN2021132432W WO2022127532A1 WO 2022127532 A1 WO2022127532 A1 WO 2022127532A1 CN 2021132432 W CN2021132432 W CN 2021132432W WO 2022127532 A1 WO2022127532 A1 WO 2022127532A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate system
point cloud
cloud data
external parameter
imu
Prior art date
Application number
PCT/CN2021/132432
Other languages
French (fr)
Chinese (zh)
Inventor
张国龙
梁宝华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022127532A1 publication Critical patent/WO2022127532A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • G01C25/005Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass initial alignment, calibration or starting-up of inertial devices

Definitions

  • the embodiments of the present application relate to the technical field of automatic driving, and in particular, to a method, device, and device for calibrating external parameters of a lidar and an IMU.
  • High-precision maps are the basis and necessary condition for realizing geographic information data for lane-level navigation and monitoring of unmanned vehicles.
  • High-precision maps mainly rely on inertial measurement unit (IMU), global navigation satellite system (GNSS), lidar and other sensors for acquisition and production.
  • IMU inertial measurement unit
  • GNSS global navigation satellite system
  • lidar lidar
  • other sensors for acquisition and production.
  • IMU inertial measurement unit
  • GNSS global navigation satellite system
  • lidar lidar
  • the lidar on the acquisition vehicle is usually installed in parallel with the roof.
  • the point cloud data of the common features of two adjacent frames scanned by the lidar are used, and an inter-frame matching algorithm, such as iterative nearest point (iterative closest point), is used.
  • the closest point, ICP) algorithm calculates and collects the pose changes of the vehicle to obtain the trajectory of the lidar, and then combines with the integrated navigation system to give the trajectory of the IMU. Then, the least squares method can be used to complete the external parameter calibration of the lidar relative to the IMU.
  • the radar in the collecting vehicle can be installed obliquely. It is mainly the features on the ground, on the sides of the vehicle and on the obliquely above the roof, and the features in front of the collected vehicle cannot be scanned, which leads to fewer features scanned between adjacent frames, resulting in a large matching error between frames, which affects the External parameter calibration accuracy.
  • Embodiments of the present application provide a method, device, and device for calibrating external parameters of a lidar and an IMU, which are used to solve the problem that the inter-frame matching algorithm in the prior art is not suitable for calibrating external parameters of an obliquely installed lidar.
  • an embodiment of the present application provides an external parameter calibration method for a lidar and an IMU, which is applied to a calibration device. Both the lidar and the IMU are fixedly installed on a vehicle to be calibrated, and the method includes:
  • the first point cloud data collected by the lidar is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
  • the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
  • the second point cloud data is converted into the reference coordinate system to obtain third point cloud data;
  • the second relative transformation relationship is based on Obtained from the position and attitude of the vehicle to be calibrated collected by the IMU when the vehicle to be calibrated travels on the target path;
  • the third point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies
  • the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment.
  • Optimized extrinsic parameter values are used as the target external parameter value.
  • the calibration device converts the point cloud data collected by the lidar from the lidar coordinate system to the reference coordinate system, and iteratively optimizes the external parameter values to be optimized according to the point cloud data in the reference coordinate system until the current adjustment and use
  • the external parameter value to be optimized makes the same feature collected by the lidar traveling to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition
  • the current external parameter value to be optimized is taken as
  • the target external parameter value avoids the influence of the installation angle of the lidar, which leads to the low accuracy and efficiency of the external parameter calibration result, realizes automatic external parameter calibration, and improves the external parameter calibration efficiency and accuracy.
  • the first point cloud data is collected by the lidar at N first collection moments
  • obtaining the second relative transformation relationship between the IMU coordinate system and the reference coordinate system includes: Acquiring measurement data collected by the IMU at M second collection moments, the measurement data including the linear acceleration and angular velocity of the vehicle to be calibrated collected by the IMU while the vehicle to be calibrated is traveling on the target path ; According to the measurement data, the second relative conversion relationships at M second collection moments are obtained respectively, and the second relative conversion relationships at the second collection moments are used to characterize the IMU coordinates at the second collection moment.
  • the relative transformation relationship between the system and the reference coordinate system includes: Acquiring measurement data collected by the IMU at M second collection moments, the measurement data including the linear acceleration and angular velocity of the vehicle to be calibrated collected by the IMU while the vehicle to be calibrated is traveling on the target path ; According to the measurement data, the second relative conversion relationships at M second collection moments are obtained respectively, and the second relative conversion relationships at the second collection moments are used to characterize the IMU coordinates at the
  • the calibration device obtains the relative transformation relationship between the IMU coordinate system and the reference coordinate system at M second acquisition moments respectively according to the linear acceleration and angular velocity of the calibrated vehicle collected by the IMU, which improves the accuracy of external parameter calibration.
  • converting the second point cloud data to the reference coordinate system to obtain third point cloud data including: According to the second relative conversion relationships at the M second collection moments, respectively, third relative conversion relationships at the N first collection moments are obtained, and the third relative conversion relationships at the first collection moments are used to represent the The first acquisition moment, the relative transformation relationship between the IMU coordinate system and the reference coordinate system; according to the third relative transformation relationship of the i-th first acquisition moment, respectively
  • the second point cloud data is converted to the reference coordinate system to obtain the i-th point cloud data at the first collection moment, and i is taken as a positive integer less than or equal to N to obtain N point cloud data at the first collection moment forming the third point cloud data.
  • the calibration device can obtain the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the N first acquisition moments, respectively, according to the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the M second acquisition moments. , to convert the second point cloud data of N first acquisition moments from the IMU coordinate system to the reference coordinate system, improving the efficiency and accuracy of the external parameter calibration of lidar and IMU.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
  • the external parameter value to be optimized used for the current adjustment determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, then determine the current adjustment to be used.
  • the optimized external parameter value makes the same feature collected by the lidar traveling to different positions in the same position in the reference coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature.
  • the sum of variances corresponding to the coordinates of the feature in the three dimensions of the reference coordinate system respectively, and the first feature is any one of the X features.
  • the external parameter value to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference meets the predetermined Setting the condition can also be understood as the external parameter value to be optimized so that the same feature collected by the lidar traveling to different positions overlaps or basically overlaps in the reference coordinate system, which improves the external parameter calibration efficiency.
  • the external parameter value ie the initial external parameter value
  • the external parameter value is insensitive and has good convergence.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
  • the third point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment are all smaller than the second threshold, then determine the external parameters to be optimized used in the current adjustment.
  • the parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the reference coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the first feature is in The sum of variances corresponding to the coordinates of the three dimensions of the reference coordinate system respectively, and the first feature is any one of the X features.
  • the external parameter values to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference satisfies the preset conditions , improve the accuracy of external parameter calibration, and it is not sensitive to the initial external parameter value, the convergence is good, and the efficiency of external parameter calibration is improved.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
  • the third point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the current adjustment uses the to-be-optimized If the difference between the external parameter value and the external parameter value to be optimized used in the last adjustment is less than the third threshold, the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to a different location to collect The position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition; wherein, the error parameter of the first feature is that the coordinates of the first feature in the three dimensions of the reference coordinate system correspond to The sum of the variances of , the first feature is any one of the X features.
  • the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to The position of the same feature collected at different positions in the reference coordinate system is the same or the position difference satisfies a preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
  • the third point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the external parameters to be optimized used in the current adjustment. The difference between the value of the external parameter to be optimized and the value of the external parameter to be optimized used in the last adjustment is smaller than the third threshold, then the value of the external parameter to be optimized used for the current adjustment is determined to make the lidar travel to different locations to collect the same feature.
  • the position of the object in the reference coordinate system is the same or the position difference satisfies the preset condition; wherein, the error parameter of the first feature is the difference of the corresponding variances of the coordinates of the first feature in the three dimensions of the reference coordinate system. And, the first feature is any one of the X features.
  • the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different locations to collect data
  • the position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
  • converting the second point cloud data to the reference coordinate system to obtain third point cloud data including: According to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain fourth point cloud data; The compensated fourth point cloud data is used as the third point cloud data, and the fourth point cloud data after motion compensation is based on all data collected by the IMU when the vehicle to be calibrated travels on the target path. The motion compensation for the position, attitude and speed of the vehicle to be calibrated is described.
  • motion compensation is performed on the point cloud data to eliminate the motion error caused by the motion of the vehicle body and improve the accuracy of external parameter calibration.
  • an embodiment of the present application provides a method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device. Both the laser radar and the IMU are fixedly installed on a vehicle to be calibrated.
  • the method includes:
  • the first point cloud data collected by the lidar is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
  • the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
  • the second point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies
  • the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment.
  • Optimized extrinsic parameter values are used as the target external parameter value.
  • the calibration device can convert the point cloud data from the lidar coordinate system to the IMU coordinate system after acquiring the point cloud data collected by the lidar, and directly according to the point cloud data in the IMU coordinate system, the external parameters to be optimized Iteratively adjust the value until the external parameter value to be optimized used in the current adjustment can make the same feature collected by the lidar traveling to different positions overlap or partially overlap in the IMU coordinate system, so as to avoid the external parameter calibration result being affected by the lidar.
  • the influence of the installation angle improves the efficiency and accuracy of the external parameter calibration of the lidar.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
  • the preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, then determine the current adjustment to be used.
  • the optimized external parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the IMU coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first The sum of variances corresponding to the coordinates of the feature in the three dimensions of the IMU coordinate system respectively, and the first feature is any one of the X features.
  • the external parameter value to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference meets the predetermined Set conditions to improve the efficiency of external parameter calibration.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
  • the second point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment are all smaller than the second threshold, then determine the external parameters to be optimized used in the current adjustment.
  • the parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the IMU coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the first feature is at The sum of variances corresponding to the coordinates of the three dimensions of the IMU coordinate system respectively, and the first feature is any one of the X features.
  • the external parameter values to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference satisfies the preset conditions , to improve the accuracy of external parameter calibration.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
  • the preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the current adjustment uses the to-be-optimized If the difference between the external parameter value and the external parameter value to be optimized used in the last adjustment is less than the third threshold, the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to a different location to collect The position of the same feature in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the coordinates of the first feature in the three dimensions of the IMU coordinate system correspond to The sum of the variances of , the first feature is any one of the X features.
  • the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different
  • the position of the same feature collected from the position is the same in the reference coordinate system or the position difference satisfies a preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
  • the second point cloud data determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies
  • the preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the external parameters to be optimized used in the current adjustment. The difference between the value of the external parameter to be optimized and the value of the external parameter to be optimized used in the last adjustment is smaller than the third threshold, then the value of the external parameter to be optimized used for the current adjustment is determined to make the lidar travel to different locations to collect the same feature.
  • the position of the object in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the difference between the corresponding variances of the coordinates of the first feature in the three dimensions of the IMU coordinate system. And, the first feature is any one of the X features.
  • the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different locations to collect data
  • the position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
  • an embodiment of the present application provides a method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device. Both the laser radar and the IMU are fixedly installed on a vehicle to be calibrated.
  • the method includes: acquiring first point cloud data collected by a lidar, where the first point cloud data is used to represent the presence of features around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on a target path in the lidar.
  • the position in the coordinate system; in the current adjustment, according to the external parameter value to be optimized, and according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the fourth relative transformation between the lidar coordinate system and the reference coordinate system is obtained.
  • the external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is Obtained according to the position and attitude of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path; based on the fourth relative transformation between the lidar coordinate system and the reference coordinate system relationship, convert the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data; according to the second point cloud data, determine the external adjustment to be optimized for the current adjustment.
  • the current external parameter value to be optimized is used as the target external parameter. value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  • the calibration device can directly convert the point cloud data from the lidar coordinate system to the reference coordinate system after acquiring the point cloud data collected by the lidar, and according to the point cloud data in the reference coordinate system, the external parameters to be optimized Iteratively adjust the value until the external parameter value to be optimized used in the current adjustment can make the same feature collected by the lidar traveling to different positions overlap or partially overlap in the IMU coordinate system, so as to avoid the external parameter calibration result being affected by the lidar.
  • the influence of the installation angle improves the efficiency and accuracy of the external parameter calibration of the lidar.
  • an embodiment of the present application provides an external parameter calibration method for a lidar and an IMU, and the method can be performed by a calibration device or a chip or a chip system in the calibration device, so as to realize the first aspect, the second aspect or the The method in any possible implementation manner performed by the calibration apparatus in the third aspect.
  • the present application provides an external parameter calibration device for a lidar and an IMU, the calibration device including a module/unit for performing the method in any of the possible implementations of the first aspect, the second aspect or the third aspect .
  • These modules/units can be implemented by hardware or by executing corresponding software by hardware.
  • the present application provides a calibration device, comprising a processor and a memory, wherein the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the calibration is performed.
  • the apparatus can implement the method in any possible implementation manner of the first aspect, the second aspect or the third aspect.
  • the present application provides a computer program that, when the computer program runs on a computer, causes the computer to execute the method in any of the possible implementations of the first aspect, the second aspect or the third aspect. .
  • the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer is made to execute the above-mentioned first aspect, second A method in any of the possible implementations of the aspect or the third aspect.
  • the present application provides a chip, which is used to read a computer program stored in a memory and execute the method in any of the possible implementation manners of the first aspect, the second aspect or the third aspect.
  • an embodiment of the present application further provides a chip system, where the chip system includes a processor for supporting a computer device to implement the method in any of the possible implementation manners of the first aspect, the second aspect, or the third aspect. .
  • the chip system further includes a memory for storing necessary programs and data of the computer device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of a possible calibration scenario provided in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a possible position between a lidar and a collection vehicle provided in an embodiment of the present application
  • 3A is a schematic diagram of a possible calibration site provided in an embodiment of the present application.
  • 3B is a schematic diagram of another possible calibration site provided in the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a possible collection route provided in the embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a first possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the application;
  • FIG. 6 is a schematic flowchart of a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
  • FIG. 7 is a schematic flowchart of another possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
  • FIG. 8 is a schematic flowchart of a second possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application
  • FIG. 9 is a schematic flowchart of a third possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a possible calibration device provided in an embodiment of the application.
  • FIG. 11 is a schematic structural diagram of another possible calibration device provided in the embodiment of the present application.
  • the public coordinate system also known as the world coordinate system or the global coordinate system, whose coordinate origin is a fixed point in space.
  • the common coordinate system is an absolute coordinate system, and all objects in the space can use the common coordinate system as a reference to determine the position of the object.
  • the common coordinate system may be a world coordinate system with east, north, and sky as the X-axis, Y-axis, and Z-axis.
  • the parameters that affect the performance of lidar are divided into two types: internal parameters and external parameters.
  • the internal parameters are determined when the lidar is manufactured, and the internal parameters may include, but are not limited to, the horizontal and vertical angles of each laser beam and the distance correction value.
  • the external parameters refer to the offset distance and offset angle of the lidar relative to the IMU.
  • the offset distance of the lidar relative to the IMU means that the lidar is regarded as a particle, and the coordinates (x, y, z) of the particle in the IMU coordinate system O-x1y1z1 can indicate the relative distance of the lidar to the IMU.
  • the lidar coordinate system O-x2y2z2 is established with the center of mass of the lidar as the origin. It is assumed that the lidar coordinate system O-x2y2z2 is rotated around the x2 axis, y2 axis and z2 axis respectively.
  • ⁇ 1, ⁇ 2 and ⁇ 3 can be regarded as the offset angle of the lidar relative to the IMU.
  • FIG. 1 is a schematic diagram of a possible calibration scenario provided in an embodiment of the application, including a collection vehicle (the collection vehicle may also be referred to as a vehicle to be calibrated), a lidar, and an IMU. Both the lidar and the IMU are fixedly installed on the collection vehicle.
  • the lidar In the process of collecting vehicles traveling according to the collecting route, the lidar can obtain the point cloud data of the features around the collecting route, and the IMU can obtain the linear acceleration and angular velocity of the collecting vehicle.
  • the acquisition vehicle further includes a global navigation satellite system (GNSS), and the GNSS is used to realize clock synchronization between the lidar and the IMU, and to provide the three-dimensional position of the acquisition vehicle in a common coordinate system.
  • GNSS global navigation satellite system
  • FIG. 2 is a schematic diagram of a possible position between the lidar and the collection vehicle provided in the embodiment of the application.
  • the inclination angle between the lidar and the collection vehicle is a set angle.
  • the lidar is installed obliquely in the The vehicle is collected, that is, the inclination angle is the first set angle, for example, the first set angle may be 32°.
  • the lidar can also be installed in parallel with the acquisition vehicle, that is, the inclination angle is the second set angle, for example, the second set angle can be 1°.
  • Calibration site requirements refer to Figure 3A and Figure 3B, take the satellite navigation antenna set on the top of the acquisition vehicle as the center, and use the radius R meters, the elevation angle is more than ⁇ degrees, and the site without obstructions is used as the calibration site. For example, taking the satellite navigation antenna set on the top of the vehicle as the center, a site with a radius of 20 meters, an elevation angle of more than 45 degrees, and no obstructions is used as the calibration site.
  • the number of satellites received by the satellite navigation receiving device is greater than 30, and the positioning accuracy attenuation factor (PDOP) value is less than 1.5, so as to ensure that the acquired position of the collecting vehicle in the public coordinate system is more accurate and the measurement accuracy is improved.
  • the satellite navigation antenna and the satellite navigation receiving device are both devices in the GNSS.
  • features include plane features and high-altitude features.
  • the plane feature may be a flat ground with a set area.
  • the plane feature is 1 square of ground, and the 1 square of ground is relatively flat and free of upslopes and potholes.
  • the high-altitude feature is an object whose height from the ground reaches the set height.
  • the high-altitude feature can be the lamp head of a street lamp that is 3 meters above the ground.
  • the high-altitude feature can be a sign that is 3 meters above the ground.
  • the collection vehicle can pass the same feature in the forward and reverse directions during the driving process.
  • the laser radar can scan the feature multiple times during the driving process of the collection vehicle.
  • the acquisition route may also be referred to as the target route.
  • Figure 4 includes two features, the ground and the lamp cap of the street lamp. L1, L2, L3, and L4 are different driving routes.
  • the collection route of the collection vehicle can be A ⁇ L1 ⁇ B ⁇ L2 ⁇ C ⁇ A ⁇ L3 ⁇ B ⁇ L4 ⁇ C ⁇ L4 ⁇ B ⁇ L3 ⁇ A ⁇ C ⁇ L2 ⁇ B ⁇ L1 ⁇ A.
  • the traveling speed of the collecting vehicle is less than the set threshold, for example, the traveling speed of the collecting vehicle is less than 10km/h.
  • the lidar collects the point cloud data of the characteristic objects, and the IMU obtains the linear acceleration and angular velocity of the collection vehicle.
  • the calibration device can convert the point cloud data collected by the lidar to the IMU coordinate system according to the external parameter values to be optimized; according to the linear acceleration and angular velocity of the collected vehicle collected by the IMU, the IMU coordinate system and reference The relative transformation relationship between the coordinate systems; according to the relative transformation relationship between the IMU coordinate system and the reference coordinate system, the point cloud data is converted from the IMU coordinate system to the reference coordinate system; according to the point cloud data of the reference coordinate system, it is optimized The extrinsic parameter value is adjusted to obtain the target extrinsic parameter value.
  • the external parameter values to be optimized are optimized and adjusted based on the point cloud data in the reference coordinate system, so as to realize automatic calibration and improve the efficiency of external parameter calibration.
  • FIG. 5 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application.
  • the method can be performed by a calibration device or by a chip or a chip system in the calibration device.
  • the execution subject of S501-S504 is taken as an example of the calibration device.
  • the calibration device acquires first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the feature collected by the collecting vehicle traveling on the target path.
  • the lidar coordinate system is simply referred to as a radar coordinate system.
  • the first point cloud data includes N frames of point cloud data collected by lidar at N collection moments.
  • the first point cloud data may be obtained according to the lidar data collected by the lidar in the data collection stage, where the lidar data includes any one or more of the reflection intensity, scanning angle, and scanning direction of the lidar.
  • the lidar collects the lidar data.
  • the calibration device can analyze the lidar data according to the internal parameters, and obtain the first point cloud data collected by the lidar.
  • the first point cloud data may be stored in a point cloud data (point cloud data, PCD) format.
  • the collected lidar data may be stored in the storage area.
  • the calibration device can acquire lidar data from the storage area.
  • the calibration device converts the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter value to be optimized, and obtains the second point cloud data, and the external parameter value to be optimized is used for A first relative transformation relationship between the lidar coordinate system and the IMU coordinate system is indicated.
  • the external parameter value to be optimized in the first adjustment can also be called the initial external parameter value.
  • the initial external parameter value includes the offset distance between the radar coordinate system and the IMU coordinate system, and ⁇ or, the radar coordinate system and the IMU coordinate Offset angle between systems.
  • the initial extrinsic parameter values can be estimated according to the installation positions of the IMU and lidar in the acquisition vehicle.
  • the calibration device can perform rectangular coordinate transformation on the first point cloud data according to the initial external parameter value, and convert the first point cloud data from the radar coordinate system to the IMU coordinate system.
  • the calibration device performs displacement transformation on the first point cloud data according to the offset distance included in the initial external parameter value, and performs rotation axis transformation on the first point cloud data according to the offset angle included in the initial external parameter value. , to obtain the second point cloud data in the IMU coordinate system.
  • the calibration device converts the second point cloud data to the reference coordinate system to obtain third point cloud data according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, and the relative transformation relationship between the IMU coordinate system and the reference coordinate system is based on It is obtained by collecting the position and attitude of the collecting vehicle collected by the IMU during the process of collecting the vehicle traveling on the target path.
  • the second relative transformation relationship between the IMU coordinate system and the reference coordinate system may be obtained by the calibration device in the following manner: the calibration device obtains the measurement data collected by the IMU at M second collection moments, and the measurement data includes the collection of the vehicle traveling on the target path. The linear acceleration and angular velocity of the collection vehicle collected by the IMU during the process of collecting the ; The relative transformation relationship between the IMU coordinate system and the reference coordinate system at the time of acquisition.
  • the calibration device obtains third relative conversion relationships at N first collection moments respectively according to the second relative conversion relationships at the M second collection moments, respectively, and the third relative conversion relationships at the first collection moments are used to represent the first
  • the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the acquisition moment according to the third relative transformation relationship at the i-th first acquisition moment, the second point cloud data at the i-th first acquisition moment are respectively converted to
  • the point cloud data of the i-th first collection moment is obtained, and i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data of the first collection moment to form the third point cloud data.
  • the calibration device obtains the third relative conversion relationship at the N first collection moments according to the second relative conversion relationships at the M second collection moments, respectively.
  • the single frame of point cloud data is any frame of point cloud data in the second point cloud data.
  • the third relative conversion relationship at the time of collection of the single frame of point cloud data is to obtain the relative conversion relationship between the IMU coordinate system and the reference coordinate system at the time of collection of the single frame of point cloud data.
  • the calibration device can use an interpolation algorithm to obtain The third relative conversion relationship at the acquisition moment of the single frame of point cloud data.
  • the interpolation algorithm may adopt any one of linear interpolation algorithm, parabolic interpolation algorithm, Lagrangian interpolation algorithm, and Newton interpolation algorithm.
  • the interpolation algorithm can be selected according to one or more of the severity of changes in the motion of the collected vehicle, the set interpolation accuracy, and the set real-time calculation requirements.
  • the reference coordinate system may refer to a common coordinate system.
  • the reference coordinate system is the common coordinate system
  • the method of determining the second relative transformation relationship between the IMU coordinate system and the common coordinate system refer to Embodiment 1 for details.
  • the reference coordinate system may also refer to a local coordinate system, and the local coordinate system includes a radar coordinate system at a fixed time, an IMU coordinate system at a fixed time, or a custom coordinate system, for example, 0 seconds (s)
  • the radar coordinate system at the moment for another example, the IMU coordinate system at the 0s moment.
  • the reference coordinate system is a local coordinate system, for the method of determining the second relative transformation relationship between the IMU coordinate system and the local coordinate system, refer to Embodiment 2 for details.
  • the acquisition moment may be represented by GNSS time.
  • the IMU and LiDAR Before collecting data from the vehicle, the IMU and LiDAR can be clocked through GNSS.
  • the GNSS can input the GNSS second pulse signal and the global positioning system (GPS) information (GPRMC) data frame with the recommended minimum data amount to the corresponding data interface of the lidar, and the lidar receives the GNSS second pulse signal. Then, calibrate the lidar clock according to the standard time contained in the GPRMC data frame. After the time synchronization between the IMU and the lidar is completed, both the IMU and the lidar can convert the time of data collection into GNSS time.
  • GPS global positioning system
  • the calibration device determines, according to the third point cloud data, the external parameter values to be optimized for the current adjustment, so that the same feature collected by the lidar travels to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition, take the current external parameter value to be optimized as the target external parameter value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment .
  • the third point cloud data is used to represent the three-dimensional coordinates of the X features in the reference coordinate system, where X is a positive integer.
  • the calibration device directly determines the external parameter value to be optimized for the current adjustment according to the third point cloud data, so that the same feature collected by the lidar travels to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition.
  • take the current external parameter value to be optimized as the target external parameter value otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  • the third point cloud data can also be extracted with features. Further, the calibration device determines the external parameter value to be optimized for the current adjustment according to the extracted feature point cloud set of each feature, so that the lidar travels to different positions to collect the position of the same feature in the reference coordinate system. When the same or the position difference meets the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the next adjustment. The external parameter value to be optimized.
  • the calibration device extracts X feature point cloud sets from the third point cloud data according to the X reference coordinate ranges, and the X reference coordinate ranges are X feature objects.
  • the calibration device first performs point cloud splicing on the third point cloud data in the reference coordinate system, and then performs feature extraction.
  • the calibration device performs point cloud splicing on the N frames of point cloud data included in the third point cloud data under the reference coordinate system to obtain the spliced third point cloud data; Feature extraction to obtain feature point cloud sets of X features.
  • point cloud stitching refers to the process of unifying the data collected at different angles and different time points into the same coordinate system.
  • the third point cloud data includes point cloud data 1, point cloud data 2 and point cloud data 3.
  • the calibration device performs point cloud splicing on point cloud data 1, point cloud data 2 and point cloud data 3, the spliced point cloud data is obtained.
  • the calibration site includes feature A, and according to the reference coordinate range of feature A, the feature point cloud set of feature A is extracted from the third point cloud data after splicing.
  • the calibration device first performs feature extraction on the third point cloud data in the reference coordinate system, and then performs point cloud splicing.
  • the calibration device performs feature extraction on N frames of point cloud data contained in the third point cloud data under the reference coordinate system, respectively, to obtain each frame of feature data of X features;
  • the corresponding N frames of feature data are point cloud spliced to obtain the third point cloud data after splicing.
  • the calibration device can perform feature extraction for a single frame of point cloud data according to the reference coordinate range of each feature, and the measurement accuracy of the reference coordinate range can be meter level.
  • the calibration site contains feature A
  • the calibration device extracts the point cloud data within the reference coordinate range of feature A from point cloud data 1 in the reference coordinate system according to the reference coordinate range of feature A, as the feature object A frame of feature point cloud of A.
  • the feature extraction method in the single frame of point cloud data is used to extract the features of the N frames of point cloud data contained in the third point cloud data, and the feature point cloud of N frames of feature A can be obtained.
  • the feature point cloud set of feature A can be obtained.
  • the calibration device can determine the external parameter value to be optimized used in the current adjustment through, but not limited to, the following two possible implementation manners, so that the same feature collected by the lidar travels to different positions in the reference coordinate system.
  • the position is the same or the position difference meets the preset conditions:
  • the first possible implementation when the calibration device determines that the first iteration stop condition is satisfied, it determines the external parameter value to be optimized used in the current adjustment, so that the same feature collected by the lidar travels to different positions in the reference coordinate system. The position is the same or the position difference meets the preset condition.
  • the calibration device adopts an iterative optimization algorithm according to the extracted feature point cloud sets of each feature to adjust the external parameter values to be optimized until the first iteration stop condition is satisfied, and determines the to-be-optimized value used for the current adjustment.
  • the extrinsic parameter value of makes the position of the same feature collected by the lidar traveling to different positions in the reference coordinate system is the same or the position difference satisfies the preset condition.
  • the iterative optimization algorithm may adopt, but is not limited to, any of the Gauss-Newton method, the conjugate gradient method, the gradient descent method, and the like.
  • the error parameter is used as the objective function, and the external parameter value to be optimized is used as the optimization variable.
  • the calibration device can calculate and obtain the error parameters of each feature according to the feature point cloud set of each feature. Among them, the error parameter of a feature is used to represent the sum of variances corresponding to the coordinates of a feature in the three dimensions of the reference coordinate system.
  • the first iteration stop condition may be, but not limited to, any one of the fixed number of iterations method, the fixed time method, and the pre- and post-difference method.
  • the fixed cycle number method means that the iteration stops when the number of iterations reaches the threshold of the number of iterations.
  • the fixed time method means that the iteration stops when the iteration duration reaches the duration threshold.
  • the stopping condition of the first iteration may be that the difference between the error parameters of the X features in the current iteration and the error parameters of the X features in the previous iteration is smaller than the second threshold.
  • the calibration device adopts an iterative optimization algorithm.
  • the statistical value of feature A is calculated in the reference coordinate system O-xyz.
  • the variance of the feature point cloud set on the x-axis is 1, the variance on the y-axis is 2, and the variance on the z-axis is 3.
  • variance 1 variance 2 and variance 3 obtained by statistics, the feature point cloud set of feature A is obtained.
  • the sum of the variances on each axis of the reference coordinate system, that is, the error parameter of the feature A is obtained.
  • the calibration device is in the reference coordinate system O-xyz, and the variance of the feature point cloud set of the feature B on the x-axis is calculated 4 , variance 5 on the y-axis, variance 6 on the z-axis, according to the variance 4, variance 5 and variance 6 obtained by statistics, get the variance of the feature point cloud set of feature B on each axis of the reference coordinate system
  • the sum, that is, the error parameter of the feature B is obtained.
  • the first iteration stop condition may also be that the difference between the sum of the error parameters of the X features in the current iteration and the sum of the error parameters of the X features in the previous iteration is less than the first threshold.
  • the calibration device adopts an iterative optimization algorithm.
  • the feature point cloud set of feature A is counted in the reference coordinate system O-xyz.
  • the variance on the x-axis is 1
  • the variance on the y-axis is 2
  • the variance on the z-axis is 3.
  • the sum of the variances of the feature point cloud set of the feature A on each axis of the reference coordinate system is obtained, that is, the feature is obtained.
  • the error parameter of object A in the reference coordinate system O-xyz, count the variance 4 on the x-axis, the variance 5 on the y-axis, and the variance 6 on the z-axis of the feature point cloud set of feature B to obtain the feature.
  • the sum of the variances of the feature point cloud set of object B in each axis of the reference coordinate system, that is, the error parameter of feature B is obtained.
  • the calibration device adds the error parameter of feature A and the error parameter of feature B. And, the sum of the error parameters of feature A and feature B is obtained.
  • the iteration is stopped, and the adjusted extrinsic parameter value is output.
  • the external parameter value to be optimized is adjusted according to the set step size.
  • the set step size includes the step size of the offset distance and the step size of the offset angle.
  • the step size of the offset distance can be 0.1cm, and for example, the step size of the offset angle can be 0.01°.
  • the calibration device determines that the first iterative stop condition and the second iterative stop condition are satisfied, it determines the external parameter value to be optimized used in the current adjustment so that the lidar travels to different locations to collect the same feature
  • the position of the object in the reference coordinate system is the same or the position difference meets the preset condition.
  • the second iterative stop condition may also adopt, but is not limited to, any one of the fixed number of iterations method, the fixed time method, and the pre- and post-difference method.
  • the difference method is used.
  • third threshold is used.
  • the third threshold includes a distance threshold and an angle threshold
  • the calibration device judges whether the difference in the offset distance between the external parameter value used in the current adjustment and the external parameter value to be optimized used in the previous adjustment is less than the distance threshold. , and determine whether the difference in the offset angle between the external parameter value to be optimized used in the current adjustment and the external parameter value to be optimized used in the previous adjustment is smaller than the angle threshold.
  • the extrinsic parameter value to be optimized used in the current adjustment is less than the distance threshold, and the extrinsic parameter value to be optimized used in the current adjustment is equal to If the offset angle between the extrinsic parameter values to be optimized used in the last adjustment is smaller than the angle threshold, the extrinsic parameter value to be optimized used in the current adjustment is used as the target extrinsic parameter value.
  • the calibration device can also use the position, attitude and speed of the collected vehicle collected by the IMU to determine the first point cloud data.
  • Motion compensation is performed on point cloud data, second point cloud data or third point cloud data. Motion compensation is a method of describing the difference between adjacent frames to eliminate the influence of motion caused by any of the velocity, linear acceleration, or angular velocity of the acquisition vehicle.
  • Embodiment 1 Take the reference coordinate system as the common coordinate system as an example.
  • FIG. 6 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application.
  • the method may be performed by a calibration device, or may be performed by a chip or a chip system in the calibration device.
  • the calibration device acquires the measurement data collected by the IMU, and obtains a set of pose information of the IMU in the public coordinate system according to the measurement data collected by the IMU, where the pose information includes one or more of three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle Item, hereinafter the three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle are simply referred to as position, velocity, and attitude angle.
  • the pose information of the IMU in the common coordinate system is used to describe the relative transformation relationship between the IMU coordinate system and the common coordinate system.
  • the pose information set includes pose information collected by the IMU at M collection moments.
  • the measurement information collected by the IMU includes linear acceleration and angular velocity.
  • the IMU can collect the linear acceleration and angular velocity of the collecting vehicle at N collection times.
  • the measurement information may be stored in a storage area, for example, the storage area may be a hard disk, a portable notebook, etc. configured in the collection vehicle.
  • the calibration device can obtain the measurement information collected by the stored IMU from the storage area.
  • an inertial navigation system may be configured in the acquisition vehicle, and the INS includes an IMU.
  • the calibration device obtains the measurement information of the IMU, it performs inertial navigation calculation on the measurement information collected by the IMU through the inertial navigation system (INS), and obtains the INS navigation information.
  • the INS navigation information includes the acquisition vehicle in the IMU coordinate system. One or more of the three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle of .
  • the acquisition vehicle is also equipped with GNSS. During the process of the acquisition vehicle driving on the acquisition route, GNSS can collect GNSS measurement information.
  • the GNSS measurement information includes the 3D position, 3D velocity, and 3D attitude angle of the collected vehicle in the public coordinate system. one or more.
  • the calibration device adopts inertial navigation algorithm and fusion filtering algorithm to fuse INS navigation information and GNSS measurement information, and can obtain the pose information set of IMU in the public coordinate system.
  • the calibration device acquires point cloud data collected by the lidar.
  • the point cloud data collected by the lidar includes N frames of point cloud data collected by the lidar at N collection moments.
  • the calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system.
  • M is a natural number.
  • the 0th group of extrinsic parameter values can also be called initial extrinsic parameter values, and the initial extrinsic parameter values include the offset distance and offset angle between the radar coordinate system and the IMU coordinate system.
  • the calibration device projects the point cloud data in the IMU coordinate system to the public coordinate system according to the pose information corresponding to the point cloud data collection time, and obtains the point cloud data in the public coordinate system.
  • the single frame of point cloud data is any frame of point cloud data in the point cloud data in the IMU coordinate system.
  • the collection moment of a single frame of point cloud data is the same as the collection moment of a piece of pose information in the pose information set.
  • the calibration device can determine that the pose information corresponding to the collection moment of the single frame of point cloud data is the above one pose information.
  • the collection moment of a single frame of point cloud data is different from the collection moment of the pose information in the pose information set.
  • the calibration device can use an interpolation algorithm to calculate the corresponding pose information when the collection time is the collection time of a single frame of point cloud data, as the target pose information. pose information. Further, the calibration device projects the single frame of point cloud data in the IMU coordinate system to the common coordinate system according to the target pose information. For example, the GNSS time of a single frame of point cloud data is the 15th second, the GNSS time of the pose information 1 is the 14th second, and the GNSS time of the pose information 2 is the 16th second. Using the linear interpolation algorithm, the GNSS time of the 15th second is calculated.
  • the pose information is the average value of the pose information 1 and the pose information 2, which is used as the target pose information.
  • the calibration device will correct the point cloud data according to the pose information and/or the measurement data of the IMU. Motion compensation is performed on point cloud data in a common coordinate system.
  • the calibration device extracts feature objects from the point cloud data in the public coordinate system, and obtains a feature point cloud set of each feature object.
  • the calibration device adopts an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iteration stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
  • the error parameter is used as the objective function
  • the Mth group of external parameter values is used as the optimization variable.
  • the calibration device can calculate and obtain the error parameters of each feature according to the feature point cloud set of each feature.
  • the first iteration stop condition may be that the difference between the error parameter of each feature in the current iteration and the error parameter of each feature in the previous iteration is smaller than the first error. threshold.
  • the calibration device judges whether the second iteration stop condition is satisfied, if yes, executes S609, otherwise, executes S608.
  • the calibration device judges whether the difference between the offset distances between the M+1 group of extrinsic parameter values and the M-th group of extrinsic parameter values is smaller than the distance threshold, and determines whether the M-th Whether the difference in the offset angle between the +1 group of extrinsic parameter values and the Mth group of extrinsic parameter values is less than the angle threshold.
  • the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S603.
  • the calibration device uses the Mth group of external parameter values as the target external parameter values.
  • Embodiment 2 Take the reference coordinate system as the local coordinate system as an example.
  • FIG. 7 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application. The method may be performed by a calibration device, or may be performed by a chip or a chip system in the calibration device. In the following, the execution subject of S701-S709 is taken as an example of the calibration device.
  • the calibration device obtains the measurement data collected by the IMU, and obtains the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments according to the measurement data collected by the IMU.
  • the local coordinate system is the IMU coordinate system at a fixed time
  • the IMU coordinate system at the fixed time is the IMU coordinate system at the 0s time.
  • the measurement information collected by the IMU includes the linear acceleration and angular velocity of the collection vehicle collected by the IMU at M collection times.
  • the calibration device obtains the measurement information collected by the IMU, according to the linear acceleration and angular velocity collected at the M collection times, the relative conversion relationship between the IMU coordinate system at the M collection times and the IMU coordinate system at the 0s time can be obtained through integral calculation.
  • the measurement data collected by the IMU includes the linear acceleration and angular velocity collected by the IMU at the time of 0s, and the linear acceleration and angular velocity collected by the IMU at the time of 1s. Integrate calculation to obtain the relative conversion relationship between the IMU coordinate system at 1s and the IMU coordinate system at 0s.
  • the local coordinate system is the radar coordinate system at a fixed time
  • the IMU coordinate system at the fixed time is the radar coordinate system at the 0s time.
  • the M collection times can be obtained.
  • the calibration device can obtain the relative conversion relationship between the IMU coordinate system at the M acquisition moments and the radar coordinate system at the 0s time according to the initial external parameter value.
  • the calibration device acquires the point cloud data collected by the lidar, for details, refer to S501.
  • the calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system, see S502 for details.
  • the calibration device converts the point cloud data in the IMU coordinate system to the local coordinate system according to the relative transformation relationship between the IMU coordinate system and the local coordinate system, and obtains point cloud data in the local coordinate system, see S503 for details.
  • the calibration device performs feature extraction on the point cloud data in the local coordinate system, and obtains a feature point cloud set of each feature. For details, refer to S504.
  • the calibration device uses an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iterative stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
  • S707 The calibration device judges whether the second iteration stop condition is satisfied, and if so, executes S709; otherwise, executes S708.
  • the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S703.
  • the calibration device uses the Mth group of external parameter values as the target external parameter values.
  • the point cloud data collected by the lidar is converted into the local coordinate system through the external parameter values to be optimized and the relative transformation relationship between the IMU and the local coordinate system, and the point cloud data in the local coordinate system are characterized. Extract the feature points to obtain the feature point cloud data of each feature. Then iteratively optimizes the external parameter values to be optimized according to the characteristic point cloud data of each feature, realizes automatic calibration between the lidar and IMU coordinate systems, improves the calibration efficiency of the lidar and IMU coordinate systems, and avoids the installation of lidar. The effect of angle on calibration accuracy.
  • the embodiments of the present application provide a second possible external parameter calibration method for lidar and IMU.
  • the calibration device acquires the first point cloud data collected by the lidar; in the current adjustment, the calibration device is based on the external parameter value to be optimized and the second relative conversion relationship between the IMU coordinate system and the reference coordinate system.
  • the fourth relative transformation relationship between the lidar coordinate system and the reference coordinate system is obtained, and the external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
  • the method for determining the second relative conversion relationship of the coordinate system is shown in Embodiment 1 and Embodiment 2; the calibration device converts the first point cloud data from the lidar coordinate system from the lidar coordinate system Convert the system to the reference coordinate system to obtain the second point cloud data; adjust the external parameter values to be optimized according to the second point cloud data; the calibration device determines the external parameter values to be optimized for the current adjustment according to the second point cloud data such that When the same feature collected by the lidar travels to different positions in the same position in the IMU coordinate system or the position difference satisfies the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is used. Adjust the external parameter value, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  • FIG. 8 is the second possible external parameter calibration method of the laser radar and the IMU provided in the embodiment of the application.
  • the execution subject of S801-S808 is taken as an example of the calibration device.
  • the calibration device acquires the measurement data collected by the IMU, and obtains the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments according to the measurement data collected by the IMU.
  • the method for determining the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments is S701.
  • the calibration device acquires the point cloud data collected by the lidar, for details, refer to S501.
  • the calibration device obtains the relative transformation relationship between the radar coordinate system and the local coordinate system at the N collection moments according to the Mth group of external parameter values and the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments respectively .
  • an interpolation algorithm is used to obtain the relative transformation relationship between the IMU coordinate system and the local coordinate system at the N collection moments respectively;
  • M sets of external parameter values, and the relative transformation relationship between the IMU coordinate system and the local coordinate system at N acquisition moments, respectively, can obtain the relative transformation relationship between the radar coordinate system and the local coordinate system at N acquisition moments.
  • the calibration device converts the point cloud data in the radar coordinate system to the local coordinate system according to the relative transformation relationship between the radar coordinate system and the local coordinate system at the N collection moments respectively, and obtains the point cloud data in the local coordinate system.
  • the calibration device performs feature extraction on the point cloud data in the local coordinate system, and obtains a feature point cloud set of each feature. For details, refer to S504.
  • the calibration device adopts an iterative optimization algorithm to adjust the Mth group of external parameter values until the first iteration stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
  • the calibration device judges whether the second iterative convergence condition is satisfied, and if so, executes S809, otherwise, executes S808.
  • the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S803.
  • the calibration device takes the M+1 group of external parameter values as the target external parameter value.
  • the calibration device obtains the first point cloud data collected by the lidar, and the first point cloud data is used to represent that the features around the vehicle to be calibrated collected by the vehicle to be calibrated driving on the target path are in the lidar coordinate system
  • the calibration device converts the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter values to be optimized to obtain the second point cloud data, and the external parameter values to be optimized are used for Indicate the first relative conversion relationship between the lidar coordinate system and the IMU coordinate system;
  • the calibration device determines the external parameter value to be optimized for the current adjustment and uses according to the second point cloud data, so that the lidar travels to different locations to collect the same image
  • the current external parameter value to be optimized is used as the target external parameter
  • FIG. 9 is a third possible external parameter calibration method for lidar and IMU provided in the embodiment of the present application, and the method can be executed by a calibration device or by a chip or a chip system in the calibration device. .
  • the calibration device acquires the point cloud data collected by the lidar. For details, refer to S501.
  • the calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system, see S502 for details.
  • the calibration device performs feature extraction on the point cloud data in the IMU coordinate system to obtain a feature point cloud set of each feature.
  • the process that the calibration device performs feature extraction on the point cloud data in the IMU coordinate system is similar to the process of performing feature extraction on the third point cloud data in S504, and will not be repeated here.
  • the calibration device uses an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iterative stop condition is satisfied, and obtains the M+1th group of external parameter values.
  • the calibration device judges whether the second iterative convergence condition is satisfied, if yes, executes S907, otherwise, executes S906.
  • the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S902.
  • the calibration device uses the Mth group of external parameter values as the target external parameter values.
  • the external parameter values to be optimized can be optimized directly according to the point cloud data in the IMU coordinate system. Improve the calibration efficiency of external parameters, and avoid the influence of the installation angle of the lidar on the calibration accuracy.
  • the embodiment of the present application also provides a method for calibrating external parameters between multiple laser radars.
  • the method can A possible method is to obtain the extrinsic parameter values between each lidar and the IMU respectively, and obtain the extrinsic parameter values between multiple lidars according to the extrinsic parameter values between each lidar and the IMU.
  • the first external parameter value between the first laser radar and the IMU can be obtained, and the second laser radar and the IMU can be obtained.
  • the extrinsic parameter value between the first laser radar and the second laser radar is obtained.
  • the first external parameter value between the first laser radar and the IMU the second laser radar can be obtained.
  • the second extrinsic parameter value between the radar and the IMU, and the third extrinsic parameter value between the third lidar and the IMU According to the relative relationship between the first extrinsic parameter value and the second extrinsic parameter value, the extrinsic parameter value between the first laser radar and the second laser radar can be obtained. According to the relative relationship between the first extrinsic parameter value and the third extrinsic parameter value, the extrinsic parameter value between the first laser radar and the third laser radar can be obtained. According to the relative relationship between the second external parameter value and the third external parameter value, the external parameter value between the second laser radar and the third laser radar can be obtained.
  • the present application also provides an external parameter calibration device for lidar and IMU.
  • the structure of the calibration device is shown in FIG. 10 , including a communication unit 1001 and a processing unit 1002 .
  • the calibration device 1000 can be applied to the calibration device in the calibration method shown in FIGS. 5-9 .
  • the functions of each unit in the calibration device 1000 will be introduced below.
  • the communication unit 1001 is used for receiving and sending data.
  • the communication unit 601 may also be referred to as a physical interface, a communication module, a communication interface, and an input/output interface.
  • the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
  • the communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
  • the processing unit 1002 is configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system to obtain second point cloud data according to the external parameter value to be optimized in the current adjustment, the to-be-optimized external parameter value.
  • the optimized external parameter value is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the The second point cloud data is converted to the reference coordinate system to obtain third point cloud data; the second relative conversion relationship is based on the to-be-calibrated vehicle collected by the IMU during the process of the to-be-calibrated vehicle traveling on the target path.
  • the position and attitude of the vehicle are obtained; and, according to the third point cloud data, the external parameter value to be optimized used for the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is in the reference
  • the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted value is used.
  • the external parameter value is used as the external parameter value to be optimized in the next adjustment.
  • the first point cloud data is collected by the lidar at N first collection moments
  • the communication unit 1001 is further configured to acquire the IMU collected at M second collection moments
  • the measured data includes the linear acceleration and angular velocity of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path;
  • the processing unit 1002 When acquiring the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the processing unit 1002 is configured to: obtain, according to the measurement data, second relative transformation relationships at M second acquisition moments, respectively, The second relative transformation relationship at the second acquisition moment is used to represent the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the second acquisition moment.
  • the processing unit 1002 when converting the second point cloud data to the reference coordinate system to obtain third point cloud data, is used for:
  • the second point cloud data at the ith first collection moment are respectively converted to the reference coordinate system to obtain the point cloud at the ith first collection moment
  • i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data at the first collection moment to form the third point cloud data.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference meets a preset condition; wherein, the error parameter of the first feature is the first feature in the reference coordinate system.
  • the sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser
  • the position of the same feature collected by the radar traveling to different positions in the reference coordinate system is the same or the position difference meets a preset condition; wherein, the error parameter of the first feature is the first feature in the reference coordinate system.
  • the sum of variances corresponding to the coordinates of the three dimensions respectively, and the first feature is any one of the X features.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter value to be optimized used in the current adjustment is the same as the above
  • the difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location.
  • the positions in the reference coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, so The first feature is any one of the X features.
  • the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment
  • the external parameter value to be optimized used for the current adjustment is determined so that the same feature collected by the lidar travels to different positions at the reference coordinates
  • the positions in the reference coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature
  • the feature is any of the X features.
  • the processing unit 1002 when converting the second point cloud data to the reference coordinate system to obtain third point cloud data, is used for:
  • the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain fourth point cloud data
  • the fourth point cloud data after motion compensation is used as the third point cloud data, and the fourth point cloud data after motion compensation is collected by the IMU according to the process of the vehicle to be calibrated driving on the target path motion compensation for the position, attitude and speed of the vehicle to be calibrated.
  • the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
  • the communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
  • the processing unit 1002 is configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system to obtain second point cloud data according to the external parameter value to be optimized in the current adjustment, the to-be-optimized external parameter value.
  • the optimized extrinsic parameter value is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; and, according to the second point cloud data, determine the extrinsic parameter to be optimized used for the current adjustment.
  • the current external parameter value to be optimized is used as the target external parameter. value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter value to be optimized used in the current adjustment is determined such that The position of the same feature collected by the lidar traveling to different positions in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature in the IMU.
  • the sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter value to be optimized used in the current adjustment is determined such that The position of the same feature collected by the lidar traveling to different positions in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature in the IMU.
  • the sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser
  • the error parameter of the first feature is the error parameter of the first feature in the IMU coordinate system.
  • the sum of variances corresponding to the coordinates of the three dimensions respectively, and the first feature is any one of the X features.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter value to be optimized used in the current adjustment is the same as the above.
  • the difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location.
  • the positions in the IMU coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, so The first feature is any one of the X features.
  • the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
  • the processing unit 1002 determines the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
  • the external parameter values to be optimized used in the current adjustment are determined so that the same feature collected by the lidar travels to different positions at the coordinates of the IMU The positions in the system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature The feature is any of the X features.
  • the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
  • the communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
  • the processing unit 1002 is used for obtaining the fourth relative transformation between the lidar coordinate system and the reference coordinate system according to the external parameter value to be optimized and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system in the current adjustment
  • the external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is Obtained according to the position and attitude of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path; based on the fourth relative transformation between the lidar coordinate system and the reference coordinate system relationship, converting the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data; and, according to the second point cloud data, determining the current adjustment to be optimized
  • the current external parameter value to be optimized is used
  • the present application also provides an external parameter calibration device for lidar and IMU.
  • the calibration device 1100 can implement the functions of the calibration device in the calibration methods shown in FIGS. 5-9 .
  • the calibration apparatus 1100 includes: a transceiver 1101 , a processor 1102 and a memory 1103 .
  • the transceiver 1101 , the processor 1102 and the memory 1103 are connected to each other.
  • the processor 1102 may be configured to perform all the operations performed by the calibration apparatus in any of the embodiments shown in FIG. 5 to FIG. 9 except for the acquisition operation.
  • the transceiver 1101 , the processor 1102 and the memory 1103 are connected to each other through a bus 1104 .
  • the bus 1104 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 11, but it does not mean that there is only one bus or one type of bus.
  • the transceiver 1101 is used to receive and transmit data, and implement communication interaction with other devices.
  • the memory in Figure 11 of the present application may be either volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the embodiments of the present application further provide a computer program, when the computer program runs on a computer, the computer causes the computer to execute the calibration methods provided by the embodiments shown in FIGS. 5-9 .
  • the embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the programs shown in FIGS. 5-9 .
  • the storage medium may be any available medium that the computer can access.
  • computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer.
  • an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory, and implement the calibration method provided by the embodiments shown in FIG. 5 to FIG. 9 .
  • the embodiments of the present application provide a chip system, where the chip system includes a processor for supporting a computer device to implement the functions involved in the calibration device in the embodiments shown in FIGS. 5-9 .
  • the chip system further includes a memory for storing necessary programs and data of the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Abstract

A method for calibrating an external parameter of a laser radar and an IMU, a calibration apparatus (1000, 1100), and a device for solving the problem in the prior art that an inter-frame matching algorithm is not suitable for external parameter calibration of a laser radar installed obliquely. The method comprises: the calibration apparatus (1000, 1100) converting point cloud data collected by the laser radar to an IMU coordinate system according to an external parameter value to be optimized (S502); converting the point cloud data from the IMU coordinate system to a reference coordinate system according to the relative conversion relationship between the IMU coordinate system and the reference coordinate system (S503); performing iterative adjustment on said external parameter value according to the point cloud data in the reference coordinate system, to obtain a target external parameter value (S504), avoiding the influence of the external parameter calibration result from the installation angle of the laser radar, achieving automatic calibration, and improving the external parameter calibration efficiency.

Description

一种激光雷达与IMU的外参标定方法、装置及设备A method, device and equipment for external parameter calibration of lidar and IMU
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年12月16日提交中国专利局、申请号为202011492455.1、申请名称为“一种激光雷达与IMU的外参标定方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 16, 2020, with the application number of 202011492455.1 and the application title of "A method, device and equipment for external parameter calibration of lidar and IMU", all of which are The contents are incorporated herein by reference.
技术领域technical field
本申请实施例涉及自动驾驶技术领域,尤其涉及一种激光雷达与IMU的外参标定方法、装置及设备。The embodiments of the present application relate to the technical field of automatic driving, and in particular, to a method, device, and device for calibrating external parameters of a lidar and an IMU.
背景技术Background technique
高精度地图是实现无人驾驶车辆车道级别导航与监控的地理信息数据的基础和必要条件。高精度地图主要依赖于惯性测量单元(inertial measuring unit,IMU)、卫星导航系统(global navigation satellite system,GNSS)、激光雷达等传感器进行采集制作。为了将不同传感器的数据在同一个坐标系中表示,需要对不同传感器之间的外参值进行标定。High-precision maps are the basis and necessary condition for realizing geographic information data for lane-level navigation and monitoring of unmanned vehicles. High-precision maps mainly rely on inertial measurement unit (IMU), global navigation satellite system (GNSS), lidar and other sensors for acquisition and production. In order to represent the data of different sensors in the same coordinate system, it is necessary to calibrate the external parameter values between different sensors.
目前,采集车辆上的激光雷达通常平行车顶安装,在进行标定时,利用激光雷达扫描到的相邻两帧的共同特征物的点云数据,采用帧间匹配算法,例如迭代最近点(iterative closest point,ICP)算法计算采集车辆的位姿变化,得到激光雷达的轨迹,进而结合组合导航系统,给出IMU的轨迹。然后,采用最小二乘法即可完成激光雷达相对IMU的外参标定。At present, the lidar on the acquisition vehicle is usually installed in parallel with the roof. During calibration, the point cloud data of the common features of two adjacent frames scanned by the lidar are used, and an inter-frame matching algorithm, such as iterative nearest point (iterative closest point), is used. The closest point, ICP) algorithm calculates and collects the pose changes of the vehicle to obtain the trajectory of the lidar, and then combines with the integrated navigation system to give the trajectory of the IMU. Then, the least squares method can be used to complete the external parameter calibration of the lidar relative to the IMU.
然而,为提高地面特征识别准确度,在采集高精度地图时,采集车辆中的雷达可以倾斜安装,但倾斜安装的激光雷达在单位时间内扫描到的特征物范围缩小,能够扫描到的特征物主要为地面、车辆两侧和车顶斜上方的特征物,而采集车辆前方的特征物不能被扫描到,从而导致相邻帧间扫描到的特征物减少,使得帧间匹配误差较大,影响外参标定准确率。However, in order to improve the accuracy of ground feature recognition, when collecting high-precision maps, the radar in the collecting vehicle can be installed obliquely. It is mainly the features on the ground, on the sides of the vehicle and on the obliquely above the roof, and the features in front of the collected vehicle cannot be scanned, which leads to fewer features scanned between adjacent frames, resulting in a large matching error between frames, which affects the External parameter calibration accuracy.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种激光雷达与IMU的外参标定方法、装置及设备,用于解决现有技术中帧间匹配算法不适用于倾斜安装的激光雷达的外参标定的问题。Embodiments of the present application provide a method, device, and device for calibrating external parameters of a lidar and an IMU, which are used to solve the problem that the inter-frame matching algorithm in the prior art is not suitable for calibrating external parameters of an obliquely installed lidar.
第一方面,本申请实施例提供一种激光雷达与IMU的外参标定方法,应用于标定装置,所述激光雷达与所述IMU均固定安装于待标定车辆上,所述方法包括:In the first aspect, an embodiment of the present application provides an external parameter calibration method for a lidar and an IMU, which is applied to a calibration device. Both the lidar and the IMU are fixedly installed on a vehicle to be calibrated, and the method includes:
获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;Obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;In the current adjustment, according to the external parameter value to be optimized, the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转 换到所述参考坐标系得到第三点云数据;所述第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的待标定车辆的位置和姿态获得的;According to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted into the reference coordinate system to obtain third point cloud data; the second relative transformation relationship is based on Obtained from the position and attitude of the vehicle to be calibrated collected by the IMU when the vehicle to be calibrated travels on the target path;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies When the preset conditions are used, the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment. Optimized extrinsic parameter values.
通过上述设计,标定装置将激光雷达采集的点云数据,从激光雷达坐标系转换至参考坐标系,根据参考坐标系下的点云数据对待优化的外参值进行迭代优化,直至当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,避免受激光雷达的安装角度的影响导致外参标定结果的准确率、效率低,实现自动化外参标定,提高外参标定效率和准确率。Through the above design, the calibration device converts the point cloud data collected by the lidar from the lidar coordinate system to the reference coordinate system, and iteratively optimizes the external parameter values to be optimized according to the point cloud data in the reference coordinate system until the current adjustment and use When the external parameter value to be optimized makes the same feature collected by the lidar traveling to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition, the current external parameter value to be optimized is taken as The target external parameter value avoids the influence of the installation angle of the lidar, which leads to the low accuracy and efficiency of the external parameter calibration result, realizes automatic external parameter calibration, and improves the external parameter calibration efficiency and accuracy.
一种可能的设计中,所述第一点云数据是所述激光雷达在N个第一采集时刻采集的,获取所述IMU坐标系与所述参考坐标系的第二相对转换关系,包括:获取所述IMU在M个第二采集时刻采集的测量数据,所述测量数据包括所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的线加速度和角速度;根据所述测量数据,得到分别在M个第二采集时刻的第二相对转换关系,所述第二采集时刻的第二相对转换关系用于表征在所述第二采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系。In a possible design, the first point cloud data is collected by the lidar at N first collection moments, and obtaining the second relative transformation relationship between the IMU coordinate system and the reference coordinate system includes: Acquiring measurement data collected by the IMU at M second collection moments, the measurement data including the linear acceleration and angular velocity of the vehicle to be calibrated collected by the IMU while the vehicle to be calibrated is traveling on the target path ; According to the measurement data, the second relative conversion relationships at M second collection moments are obtained respectively, and the second relative conversion relationships at the second collection moments are used to characterize the IMU coordinates at the second collection moment. The relative transformation relationship between the system and the reference coordinate system.
通过上述设计,标定装置根据IMU采集的代标定车辆的线加速度和角速度,得到分别在M个第二采集时刻,IMU坐标系和参考坐标系的相对转换关系,提高外参标定准确率。Through the above design, the calibration device obtains the relative transformation relationship between the IMU coordinate system and the reference coordinate system at M second acquisition moments respectively according to the linear acceleration and angular velocity of the calibrated vehicle collected by the IMU, which improves the accuracy of external parameter calibration.
一种可能的设计中,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据,包括:根据分别在M个第二采集时刻的第二相对转换关系,获得分别在所述N个第一采集时刻的第三相对转换关系,所述第一采集时刻的第三相对转换关系用于表征在所述第一采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系;根据第i个第一采集时刻的第三相对转换关系,分别将第i个第一采集时刻的第二点云数据,转换到所述参考坐标系,得到第i个第一采集时刻的点云数据,i取遍小于或者等于N的正整数,以得到N个第一采集时刻的点云数据构成所述第三点云数据。In a possible design, according to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, converting the second point cloud data to the reference coordinate system to obtain third point cloud data, including: According to the second relative conversion relationships at the M second collection moments, respectively, third relative conversion relationships at the N first collection moments are obtained, and the third relative conversion relationships at the first collection moments are used to represent the The first acquisition moment, the relative transformation relationship between the IMU coordinate system and the reference coordinate system; according to the third relative transformation relationship of the i-th first acquisition moment, respectively The second point cloud data is converted to the reference coordinate system to obtain the i-th point cloud data at the first collection moment, and i is taken as a positive integer less than or equal to N to obtain N point cloud data at the first collection moment forming the third point cloud data.
通过上述设计,标定装置根据分别在M个第二采集时刻,IMU坐标系和参考坐标系的相对转换关系,可以得到分别在N个第一采集时刻,IMU坐标系和参考坐标系的相对转换关系,实现将N个第一采集时刻的第二点云数据,从IMU坐标系转换到参考坐标系,提高激光雷达与IMU的外参标定效率和准确率。Through the above design, the calibration device can obtain the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the N first acquisition moments, respectively, according to the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the M second acquisition moments. , to convert the second point cloud data of N first acquisition moments from the IMU coordinate system to the reference coordinate system, improving the efficiency and accuracy of the external parameter calibration of lidar and IMU.
一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维 度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies The preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, then determine the current adjustment to be used. The optimized external parameter value makes the same feature collected by the lidar traveling to different positions in the same position in the reference coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature. The sum of variances corresponding to the coordinates of the feature in the three dimensions of the reference coordinate system respectively, and the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数之和,判断待优化的外参值能否使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件,也可以理解为待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中重叠或基本重叠,提高外参标定效率,同时对第一次待优化的外参值(即初始外参值)不敏感,收敛性好。Through the above design, according to the sum of the error parameters of the X features, it is judged whether the external parameter value to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference meets the predetermined Setting the condition can also be understood as the external parameter value to be optimized so that the same feature collected by the lidar traveling to different positions overlaps or basically overlaps in the reference coordinate system, which improves the external parameter calibration efficiency. The external parameter value (ie the initial external parameter value) is insensitive and has good convergence.
一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies The preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment are all smaller than the second threshold, then determine the external parameters to be optimized used in the current adjustment. The parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the reference coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the first feature is in The sum of variances corresponding to the coordinates of the three dimensions of the reference coordinate system respectively, and the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数,判断待优化的外参值能否使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件,提高外参标定准确率,且对初始外参值不敏感,收敛性好,提高外参标定效率。Through the above design, according to the error parameters of the X features, it is judged whether the external parameter values to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference satisfies the preset conditions , improve the accuracy of external parameter calibration, and it is not sensitive to the initial external parameter value, the convergence is good, and the efficiency of external parameter calibration is improved.
一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies The preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the current adjustment uses the to-be-optimized If the difference between the external parameter value and the external parameter value to be optimized used in the last adjustment is less than the third threshold, the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to a different location to collect The position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition; wherein, the error parameter of the first feature is that the coordinates of the first feature in the three dimensions of the reference coordinate system correspond to The sum of the variances of , the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数之和,以及根据相邻两次调整中的待优化的外参值,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,同时保证外参标定准确率和标定效率。Through the above design, according to the sum of the error parameters of the X features, and according to the external parameter value to be optimized in two adjacent adjustments, the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to The position of the same feature collected at different positions in the reference coordinate system is the same or the position difference satisfies a preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位 置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies The preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the external parameters to be optimized used in the current adjustment The difference between the value of the external parameter to be optimized and the value of the external parameter to be optimized used in the last adjustment is smaller than the third threshold, then the value of the external parameter to be optimized used for the current adjustment is determined to make the lidar travel to different locations to collect the same feature. The position of the object in the reference coordinate system is the same or the position difference satisfies the preset condition; wherein, the error parameter of the first feature is the difference of the corresponding variances of the coordinates of the first feature in the three dimensions of the reference coordinate system. And, the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数,以及根据相邻两次调整中的待优化的外参值,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,同时保证外参标定准确率和标定效率。Through the above design, according to the error parameters of the X features, and according to the external parameter values to be optimized in two adjacent adjustments, the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different locations to collect data The position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
一种可能的设计中,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据,包括:根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据从所述IMU坐标系转换为所述参考坐标系,得到第四点云数据;将运动补偿后的第四点云数据作为所述第三点云数据,所述运动补偿后的第四点云数据是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置、姿态和速度进行的运动补偿。In a possible design, according to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, converting the second point cloud data to the reference coordinate system to obtain third point cloud data, including: According to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain fourth point cloud data; The compensated fourth point cloud data is used as the third point cloud data, and the fourth point cloud data after motion compensation is based on all data collected by the IMU when the vehicle to be calibrated travels on the target path. The motion compensation for the position, attitude and speed of the vehicle to be calibrated is described.
通过上述设计,根据待标定车辆的位姿和速度,对点云数据进行运动补偿,消除车体运动带来的运动误差,提高外参标定准确率。Through the above design, according to the pose and speed of the vehicle to be calibrated, motion compensation is performed on the point cloud data to eliminate the motion error caused by the motion of the vehicle body and improve the accuracy of external parameter calibration.
第二方面,本申请实施例提供一种激光雷达与IMU的外参标定方法,应用于标定装置,所述激光雷达与所述IMU均固定安装于待标定车辆上。所述方法包括:In a second aspect, an embodiment of the present application provides a method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device. Both the laser radar and the IMU are fixedly installed on a vehicle to be calibrated. The method includes:
获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;Obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;In the current adjustment, according to the external parameter value to be optimized, the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies When the preset conditions are used, the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment. Optimized extrinsic parameter values.
通过上述设计,标定装置可以在获取到激光雷达采集的点云数据后,将点云数据从激光雷达坐标系转换到IMU坐标系,直接根据IMU坐标系下的点云数据,对待优化的外参值进行迭代调整,直至当前次调整使用的待优化的外参值能够使得激光雷达行驶到不同的位置采集的同一特征物在IMU坐标系中重叠或部分重叠,避免外参标定结果受激光雷达的安装角度的影响,提高激光雷达的外参标定效率和准确率。Through the above design, the calibration device can convert the point cloud data from the lidar coordinate system to the IMU coordinate system after acquiring the point cloud data collected by the lidar, and directly according to the point cloud data in the IMU coordinate system, the external parameters to be optimized Iteratively adjust the value until the external parameter value to be optimized used in the current adjustment can make the same feature collected by the lidar traveling to different positions overlap or partially overlap in the IMU coordinate system, so as to avoid the external parameter calibration result being affected by the lidar. The influence of the installation angle improves the efficiency and accuracy of the external parameter calibration of the lidar.
一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies The preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, then determine the current adjustment to be used. The optimized external parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the IMU coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first The sum of variances corresponding to the coordinates of the feature in the three dimensions of the IMU coordinate system respectively, and the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数之和,判断待优化的外参值能否使得激光 雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件,提高外参标定效率。Through the above design, according to the sum of the error parameters of the X features, it is judged whether the external parameter value to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference meets the predetermined Set conditions to improve the efficiency of external parameter calibration.
一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies The preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment are all smaller than the second threshold, then determine the external parameters to be optimized used in the current adjustment. The parameter value enables the same feature collected by the lidar to travel to different positions in the same position in the IMU coordinate system or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the first feature is at The sum of variances corresponding to the coordinates of the three dimensions of the IMU coordinate system respectively, and the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数,判断待优化的外参值能否使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件,提高外参标定准确率。Through the above design, according to the error parameters of the X features, it is judged whether the external parameter values to be optimized can make the same feature collected by the lidar travel to different positions in the same position in the reference coordinate system or the position difference satisfies the preset conditions , to improve the accuracy of external parameter calibration.
一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies The preset conditions include: if the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the current adjustment uses the to-be-optimized If the difference between the external parameter value and the external parameter value to be optimized used in the last adjustment is less than the third threshold, the external parameter value to be optimized used in the current adjustment is determined so that the lidar travels to a different location to collect The position of the same feature in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is that the coordinates of the first feature in the three dimensions of the IMU coordinate system correspond to The sum of the variances of , the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数之和,以及根据相邻两次调整中的待优化的外参值,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,同时保证外参标定准确率和标定效率。Through the above design, according to the sum of the error parameters of the X features, and according to the external parameter values to be optimized in two adjacent adjustments, the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different The position of the same feature collected from the position is the same in the reference coordinate system or the position difference satisfies a preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies The preset conditions include: if the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the external parameters to be optimized used in the current adjustment The difference between the value of the external parameter to be optimized and the value of the external parameter to be optimized used in the last adjustment is smaller than the third threshold, then the value of the external parameter to be optimized used for the current adjustment is determined to make the lidar travel to different locations to collect the same feature. The position of the object in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the difference between the corresponding variances of the coordinates of the first feature in the three dimensions of the IMU coordinate system. And, the first feature is any one of the X features.
通过上述设计,根据X个特征物的误差参数,以及根据相邻两次调整中的待优化的外参值,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一 特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,同时保证外参标定准确率和标定效率。Through the above design, according to the error parameters of the X features, and according to the external parameter values to be optimized in two adjacent adjustments, the external parameter values to be optimized used in the current adjustment are determined, so that the lidar travels to different locations to collect data The position of the same feature in the reference coordinate system is the same or the position difference satisfies the preset condition, while ensuring the calibration accuracy and calibration efficiency of external parameters.
第三方面,本申请实施例提供一种激光雷达与IMU的外参标定方法,应用于标定装置,所述激光雷达与所述IMU均固定安装于待标定车辆上。所述方法包括:获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;在当前次调整中,根据待优化的外参值,以及根据IMU坐标系与参考坐标系的第二相对转换关系,得到激光雷达坐标系与参考坐标系的第四相对转换关系,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系,所述IMU坐标系与参考坐标系的第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置和姿态获得的;根据所述激光雷达坐标系与所述参考坐标系的第四相对转换关系,将所述第一点云数据从所述激光雷达坐标系转换到所述参考坐标系得到第二点云数据;根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。In a third aspect, an embodiment of the present application provides a method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device. Both the laser radar and the IMU are fixedly installed on a vehicle to be calibrated. The method includes: acquiring first point cloud data collected by a lidar, where the first point cloud data is used to represent the presence of features around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on a target path in the lidar. The position in the coordinate system; in the current adjustment, according to the external parameter value to be optimized, and according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the fourth relative transformation between the lidar coordinate system and the reference coordinate system is obtained. The external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is Obtained according to the position and attitude of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path; based on the fourth relative transformation between the lidar coordinate system and the reference coordinate system relationship, convert the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data; according to the second point cloud data, determine the external adjustment to be optimized for the current adjustment. When the parameter value makes the same feature collected by the lidar traveling to different positions in the same position in the IMU coordinate system or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target external parameter. value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
通过上述设计,标定装置可以在获取到激光雷达采集的点云数据后,将点云数据从激光雷达坐标系直接转换到参考坐标系,根据参考坐标系下的点云数据,对待优化的外参值进行迭代调整,直至当前次调整使用的待优化的外参值能够使得激光雷达行驶到不同的位置采集的同一特征物在IMU坐标系中重叠或部分重叠,避免外参标定结果受激光雷达的安装角度的影响,提高激光雷达的外参标定效率和准确率。Through the above design, the calibration device can directly convert the point cloud data from the lidar coordinate system to the reference coordinate system after acquiring the point cloud data collected by the lidar, and according to the point cloud data in the reference coordinate system, the external parameters to be optimized Iteratively adjust the value until the external parameter value to be optimized used in the current adjustment can make the same feature collected by the lidar traveling to different positions overlap or partially overlap in the IMU coordinate system, so as to avoid the external parameter calibration result being affected by the lidar. The influence of the installation angle improves the efficiency and accuracy of the external parameter calibration of the lidar.
第四方面,本申请实施例提供一种激光雷达与IMU的外参标定方法,该方法可以由标定装置或标定装置中的芯片或芯片系统来执行,以实现上述第一方面、第二方面或第三方面中标定装置执行的任一种可能实现方式中的方法。In a fourth aspect, an embodiment of the present application provides an external parameter calibration method for a lidar and an IMU, and the method can be performed by a calibration device or a chip or a chip system in the calibration device, so as to realize the first aspect, the second aspect or the The method in any possible implementation manner performed by the calibration apparatus in the third aspect.
第五方面,本申请提供一种激光雷达与IMU的外参标定装置,该标定装置包括执行上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。In a fifth aspect, the present application provides an external parameter calibration device for a lidar and an IMU, the calibration device including a module/unit for performing the method in any of the possible implementations of the first aspect, the second aspect or the third aspect . These modules/units can be implemented by hardware or by executing corresponding software by hardware.
第六方面,本申请提供一种标定装置,包括处理器和存储器,其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该标定装置能够实现上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法。In a sixth aspect, the present application provides a calibration device, comprising a processor and a memory, wherein the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the calibration is performed. The apparatus can implement the method in any possible implementation manner of the first aspect, the second aspect or the third aspect.
第七方面,本申请提供一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法。In a seventh aspect, the present application provides a computer program that, when the computer program runs on a computer, causes the computer to execute the method in any of the possible implementations of the first aspect, the second aspect or the third aspect. .
第八方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法。In an eighth aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer is made to execute the above-mentioned first aspect, second A method in any of the possible implementations of the aspect or the third aspect.
第九方面,本申请提供一种芯片,所述芯片用于读取存储器中存储的计算机程序,执行上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法。In a ninth aspect, the present application provides a chip, which is used to read a computer program stored in a memory and execute the method in any of the possible implementation manners of the first aspect, the second aspect or the third aspect.
第十方面,本申请实施例还提供一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的 程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a tenth aspect, an embodiment of the present application further provides a chip system, where the chip system includes a processor for supporting a computer device to implement the method in any of the possible implementation manners of the first aspect, the second aspect, or the third aspect. . In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system can be composed of chips, and can also include chips and other discrete devices.
上述第四方面至第十方面中任一可能的技术方案可以达到的技术效果请参照上述第一方面、第二方面或第三方面中任一种可能实现方式中的方法可以达到的技术效果描述,这里不再重复赘述。For the technical effects that can be achieved by any of the possible technical solutions in the fourth aspect to the tenth aspect, please refer to the description of the technical effects that can be achieved by the method in any of the possible implementations of the first aspect, the second aspect or the third aspect. , which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例中提供的一种可能的标定场景示意图;1 is a schematic diagram of a possible calibration scenario provided in an embodiment of the present application;
图2为本申请实施例中提供的一种可能的激光雷达与采集车辆之间的位置示意图;FIG. 2 is a schematic diagram of a possible position between a lidar and a collection vehicle provided in an embodiment of the present application;
图3A为本申请实施例中提供的一种可能的标定场地示意图;3A is a schematic diagram of a possible calibration site provided in an embodiment of the present application;
图3B为本申请实施例中提供的另一种可能的标定场地示意图;3B is a schematic diagram of another possible calibration site provided in the embodiment of the present application;
图4为本申请实施例中提供的一种可能的采集路线示意图;FIG. 4 is a schematic diagram of a possible collection route provided in the embodiment of the present application;
图5为本申请实施例中提供的第一种可能的激光雷达与IMU的外参标定方法的流程示意图;FIG. 5 is a schematic flowchart of a first possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the application;
图6为本申请实施例中提供的一种可能的激光雷达与IMU的外参标定方法的流程示意图;6 is a schematic flowchart of a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
图7为本申请实施例中提供的另一种可能的激光雷达与IMU的外参标定方法的流程示意图;FIG. 7 is a schematic flowchart of another possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
图8为本申请实施例中提供的第二种可能的激光雷达与IMU的外参标定方法的流程示意图;FIG. 8 is a schematic flowchart of a second possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
图9为本申请实施例中提供的第三种可能的激光雷达与IMU的外参标定方法的流程示意图;FIG. 9 is a schematic flowchart of a third possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application;
图10为本申请实施例中提供的一种可能的标定装置的结构示意图;10 is a schematic structural diagram of a possible calibration device provided in an embodiment of the application;
图11为本申请实施例中提供的另一种可能的标定装置的结构示意图。FIG. 11 is a schematic structural diagram of another possible calibration device provided in the embodiment of the present application.
具体实施方式Detailed ways
为了使本申请更容易被理解,下面首先对本申请实施例涉及的一些基本概念进行解释。需要说明的是,这些解释是为了让本申请实施例更容易被理解,而不应该视为对本申请所要求的保护范围的限定。In order to make the present application easier to understand, some basic concepts involved in the embodiments of the present application are first explained below. It should be noted that these explanations are for the purpose of making the embodiments of the present application easier to understand, and should not be regarded as limitations on the protection scope claimed by the present application.
1、公共坐标系。1. Common coordinate system.
公共坐标系,又称为世界坐标系或者全局坐标系,其坐标原点是空间中一个固定不变的点。公共坐标系是绝对坐标系,空间中所有物体都可以公共坐标系为基准来确定该物体的位置。示例性的,公共坐标系可以是以东、北、天为X轴、Y轴、Z轴的世界坐标系。The public coordinate system, also known as the world coordinate system or the global coordinate system, whose coordinate origin is a fixed point in space. The common coordinate system is an absolute coordinate system, and all objects in the space can use the common coordinate system as a reference to determine the position of the object. Exemplarily, the common coordinate system may be a world coordinate system with east, north, and sky as the X-axis, Y-axis, and Z-axis.
2、外参。2. External reference.
通常,影响激光雷达性能的参数分为两种:内参和外参。内参在激光雷达制造时即确定,内参可以包括但不限于每束激光水平和垂直的角度以及距离校正值等。外参是指激光雷达相对于IMU的偏移距离和偏移角度。比如,激光雷达相对于IMU的偏移距离是指,将激光雷达看成一个质点,该质点在IMU坐标系O-x1y1z1下的坐标(x,y,z)即可指示激光雷达相对于IMU的偏移距离;再比如,以激光雷达的质心为原点建立激光雷达坐标系O-x2y2z2,假设将激光雷达坐标系O-x2y2z2,绕x2轴、y2轴和z2轴分别旋转θ1、θ2 和θ3这三个角度后,x1轴与x2轴在三维空间中的方向相同、y1轴与y2轴在三维空间中的方向相同,且z1轴与z2轴在三维空间中的方向相同,那么,θ1、θ2和θ3可视为激光雷达相对于IMU的偏移角度。Generally, the parameters that affect the performance of lidar are divided into two types: internal parameters and external parameters. The internal parameters are determined when the lidar is manufactured, and the internal parameters may include, but are not limited to, the horizontal and vertical angles of each laser beam and the distance correction value. The external parameters refer to the offset distance and offset angle of the lidar relative to the IMU. For example, the offset distance of the lidar relative to the IMU means that the lidar is regarded as a particle, and the coordinates (x, y, z) of the particle in the IMU coordinate system O-x1y1z1 can indicate the relative distance of the lidar to the IMU. Offset distance; for another example, the lidar coordinate system O-x2y2z2 is established with the center of mass of the lidar as the origin. It is assumed that the lidar coordinate system O-x2y2z2 is rotated around the x2 axis, y2 axis and z2 axis respectively. After three angles, the x1 axis and the x2 axis are in the same direction in the three-dimensional space, the y1 axis and the y2 axis are in the same direction in the three-dimensional space, and the z1 axis and the z2 axis are in the same direction in the three-dimensional space, then, θ1, θ2 and θ3 can be regarded as the offset angle of the lidar relative to the IMU.
图1为本申请实施例中提供的一种可能的标定场景示意图,包含采集车辆(采集车辆也可称为待标定车辆)、激光雷达和IMU,激光雷达和IMU均固定安装于采集车辆上。采集车辆按照采集路线进行行驶的过程中,激光雷达可获取采集路线周围的特征物的点云数据,IMU可获取采集车辆的线加速度和角速度。示例性的,该采集车辆中还包含卫星导航系统(global navigation satellite system,GNSS),GNSS用于实现激光雷达与IMU之间的时钟同步,以及提供公共坐标系下采集车辆的三维位置。1 is a schematic diagram of a possible calibration scenario provided in an embodiment of the application, including a collection vehicle (the collection vehicle may also be referred to as a vehicle to be calibrated), a lidar, and an IMU. Both the lidar and the IMU are fixedly installed on the collection vehicle. In the process of collecting vehicles traveling according to the collecting route, the lidar can obtain the point cloud data of the features around the collecting route, and the IMU can obtain the linear acceleration and angular velocity of the collecting vehicle. Exemplarily, the acquisition vehicle further includes a global navigation satellite system (GNSS), and the GNSS is used to realize clock synchronization between the lidar and the IMU, and to provide the three-dimensional position of the acquisition vehicle in a common coordinate system.
图2为本申请实施例中提供的一种可能的激光雷达与采集车辆之间的位置示意图,激光雷达与采集车辆之间的倾斜角为设定角度,作为一种示例,激光雷达倾斜安装于采集车辆,即倾斜角为第一设定角度,比如,第一设定角度可以为32°。在采集高精度地图的过程中,当采集车辆按照采集路线行驶时,倾斜安装的激光雷达的反射强度更高,获取到的路面点云密集,提高路面高精度地图的采集效率和精度。作为另一种示例,激光雷达也可以平行安装于采集车辆,即倾斜角为第二设定角度,比如,第二设定角度可以为1°。FIG. 2 is a schematic diagram of a possible position between the lidar and the collection vehicle provided in the embodiment of the application. The inclination angle between the lidar and the collection vehicle is a set angle. As an example, the lidar is installed obliquely in the The vehicle is collected, that is, the inclination angle is the first set angle, for example, the first set angle may be 32°. In the process of collecting high-precision maps, when the collecting vehicle travels according to the collection route, the reflection intensity of the laser radar installed at an angle is higher, and the obtained road point cloud is dense, which improves the collection efficiency and accuracy of the high-precision road map. As another example, the lidar can also be installed in parallel with the acquisition vehicle, that is, the inclination angle is the second set angle, for example, the second set angle can be 1°.
下面结合附图对本申请实施例中的数据采集要求进行说明。The data collection requirements in the embodiments of the present application will be described below with reference to the accompanying drawings.
1)标定场地要求:参阅图3A、图3B所示,以采集车辆顶部设置的卫星导航天线为中心,将半径R米,仰角α度以上,无遮挡物的场地作为标定场地。例如,以车辆顶部设置的卫星导航天线为中心,将半径20米,仰角45度以上,无遮挡物的场地作为标定场地。示例性的,卫星导航接收设备的收星数大于30颗,定位精度衰减因子(PDOP)值小于1.5,以保证获取到的采集车辆在公共坐标系下的位置更加准确,提高测量精度。其中,卫星导航天线和卫星导航接收设备均为GNSS中的设备。1) Calibration site requirements: refer to Figure 3A and Figure 3B, take the satellite navigation antenna set on the top of the acquisition vehicle as the center, and use the radius R meters, the elevation angle is more than α degrees, and the site without obstructions is used as the calibration site. For example, taking the satellite navigation antenna set on the top of the vehicle as the center, a site with a radius of 20 meters, an elevation angle of more than 45 degrees, and no obstructions is used as the calibration site. Exemplarily, the number of satellites received by the satellite navigation receiving device is greater than 30, and the positioning accuracy attenuation factor (PDOP) value is less than 1.5, so as to ensure that the acquired position of the collecting vehicle in the public coordinate system is more accurate and the measurement accuracy is improved. Among them, the satellite navigation antenna and the satellite navigation receiving device are both devices in the GNSS.
2)特征物要求:特征物包括平面特征物和高空特征物。其中,平面特征物可以为设定面积的平整地面,比如,平面特征物为1平方的地面,该1平方的地面相对平整,无上坡和坑洼。高空特征物为距离地面的高度达到设置高度的物体,比如,高空特征物可以是距离地面3米的路灯的灯头,又比如,高空特征物可以是距离地面3米的指示牌。2) Feature requirements: features include plane features and high-altitude features. The plane feature may be a flat ground with a set area. For example, the plane feature is 1 square of ground, and the 1 square of ground is relatively flat and free of upslopes and potholes. The high-altitude feature is an object whose height from the ground reaches the set height. For example, the high-altitude feature can be the lamp head of a street lamp that is 3 meters above the ground. For another example, the high-altitude feature can be a sign that is 3 meters above the ground.
3)采集路线要求:比如,采集车辆可以在行驶过程中正反向经过同一特征物,再比如,采集车辆行驶过程中激光雷达可以多次扫描到特征物。采集路线也可称为目标路径。参阅图4所示,图4中包含地面、路灯的灯头两个特征物,L1、L2、L3、L4为不同的行驶路线,采集车辆的采集路线可以为A→L1→B→L2→C→A→L3→B→L4→C→L4→B→L3→A→C→L2→B→L1→A。进一步的,为提高外参标定的精度和准确度,当采集车辆沿采集路线进行数据采集时,采集车辆的行驶速度小于设定阈值,比如,采集车辆的行驶速度小于10km/h。3) Collection route requirements: For example, the collection vehicle can pass the same feature in the forward and reverse directions during the driving process. For another example, the laser radar can scan the feature multiple times during the driving process of the collection vehicle. The acquisition route may also be referred to as the target route. Referring to Figure 4, Figure 4 includes two features, the ground and the lamp cap of the street lamp. L1, L2, L3, and L4 are different driving routes. The collection route of the collection vehicle can be A→L1→B→L2→C→ A→L3→B→L4→C→L4→B→L3→A→C→L2→B→L1→A. Further, in order to improve the precision and accuracy of external parameter calibration, when the collecting vehicle collects data along the collecting route, the traveling speed of the collecting vehicle is less than the set threshold, for example, the traveling speed of the collecting vehicle is less than 10km/h.
当采集车辆按照采集路线在标定场地中行驶时,激光雷达采集特征物的点云数据,IMU获取采集车辆的线加速度和角速度。在进行外参标定时,标定装置可以根据待优化的外参值,将激光雷达采集的点云数据转换至IMU坐标系;根据IMU采集的采集车辆的线加速度和角速度,得到IMU坐标系与参考坐标系的之间的相对转换关系;根据IMU坐标系与参考坐标系的之间的相对转换关系,将点云数据从IMU坐标系转换至参考坐标系;根据参考坐标系的点云数据对待优化的外参值进行调整,从而得到目标外参值。通过将激光雷达采集的点云数据转换至参考坐标系,基于参考坐标系下的点云数据对待优化的外参值进行 优化调整,实现自动化标定,提高外参标定效率。When the collection vehicle travels in the calibration site according to the collection route, the lidar collects the point cloud data of the characteristic objects, and the IMU obtains the linear acceleration and angular velocity of the collection vehicle. When performing external parameter calibration, the calibration device can convert the point cloud data collected by the lidar to the IMU coordinate system according to the external parameter values to be optimized; according to the linear acceleration and angular velocity of the collected vehicle collected by the IMU, the IMU coordinate system and reference The relative transformation relationship between the coordinate systems; according to the relative transformation relationship between the IMU coordinate system and the reference coordinate system, the point cloud data is converted from the IMU coordinate system to the reference coordinate system; according to the point cloud data of the reference coordinate system, it is optimized The extrinsic parameter value is adjusted to obtain the target extrinsic parameter value. By converting the point cloud data collected by the lidar to the reference coordinate system, the external parameter values to be optimized are optimized and adjusted based on the point cloud data in the reference coordinate system, so as to realize automatic calibration and improve the efficiency of external parameter calibration.
下面结合附图介绍本申请实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described below with reference to the accompanying drawings.
参阅图5所示,图5为本申请实施例中提供的一种可能的激光雷达与IMU的外参标定方法,该方法可由标定装置执行,也可以由标定装置中的芯片或芯片系统执行。下文中,以S501-S504的执行主体为标定装置为例。Referring to FIG. 5 , FIG. 5 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application. The method can be performed by a calibration device or by a chip or a chip system in the calibration device. In the following, the execution subject of S501-S504 is taken as an example of the calibration device.
S501、标定装置获取激光雷达采集的第一点云数据,该第一点云数据用于表征采集车辆行驶在目标路径上采集的特征物在激光雷达坐标系中的位置。下文中,将激光雷达坐标系简称为雷达坐标系。S501. The calibration device acquires first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the feature collected by the collecting vehicle traveling on the target path. Hereinafter, the lidar coordinate system is simply referred to as a radar coordinate system.
第一点云数据包括激光雷达在N个采集时刻采集到的N帧点云数据。The first point cloud data includes N frames of point cloud data collected by lidar at N collection moments.
第一点云数据可以是根据数据采集阶段激光雷达采集的激光雷达数据得到的,该激光雷达数据包括激光雷达的反射强度、扫描角度和扫描方向等中的任一项或多项。在采集车辆进行数据采集的过程中,激光雷达采集激光雷达数据。在进行激光雷达与IMU的外参标定时,标定装置可以根据内参,对激光雷达数据进行解析,得到激光雷达采集的第一点云数据。示例性的,第一点云数据可以采用点云数据(point cloud data,PCD)格式进行存储。示例性的,数据采集过程中,激光雷达采集到激光雷达数据之后,可以将采集到的激光雷达数据存储到存储区域中。进一步的,在进行外参标定时,标定装置可以从存储区域中获取到激光雷达数据。The first point cloud data may be obtained according to the lidar data collected by the lidar in the data collection stage, where the lidar data includes any one or more of the reflection intensity, scanning angle, and scanning direction of the lidar. In the process of collecting the data from the vehicle, the lidar collects the lidar data. When calibrating the external parameters of the lidar and the IMU, the calibration device can analyze the lidar data according to the internal parameters, and obtain the first point cloud data collected by the lidar. Exemplarily, the first point cloud data may be stored in a point cloud data (point cloud data, PCD) format. Exemplarily, during the data collection process, after the lidar data is collected by the lidar, the collected lidar data may be stored in the storage area. Further, when performing external parameter calibration, the calibration device can acquire lidar data from the storage area.
S502、标定装置在当前次调整中,根据待优化的外参值,将第一点云数据从激光雷达坐标系转换为IMU坐标系,得到第二点云数据,待优化的外参值用于指示激光雷达坐标系和IMU坐标系之间的第一相对转换关系。S502. In the current adjustment, the calibration device converts the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter value to be optimized, and obtains the second point cloud data, and the external parameter value to be optimized is used for A first relative transformation relationship between the lidar coordinate system and the IMU coordinate system is indicated.
第一次调整中的待优化的外参值也可以称为初始外参值,初始外参值包括雷达坐标系和IMU坐标系之间的偏移距离,和\或,雷达坐标系和IMU坐标系之间的偏移角度。初始外参值可以是根据IMU和激光雷达在采集车辆中的安装位置预估得到的。The external parameter value to be optimized in the first adjustment can also be called the initial external parameter value. The initial external parameter value includes the offset distance between the radar coordinate system and the IMU coordinate system, and\or, the radar coordinate system and the IMU coordinate Offset angle between systems. The initial extrinsic parameter values can be estimated according to the installation positions of the IMU and lidar in the acquisition vehicle.
标定装置可以根据初始外参值,对第一点云数据进行直角坐标变换,将第一点云数据从雷达坐标系转换到IMU坐标系。示例性的,标定装置根据初始外参值中包含的偏移距离,对第一点云数据进行位移变换,以及根据初始外参值中包含的偏移角度,对第一点云数据进行转轴变换,得到IMU坐标系下的第二点云数据。The calibration device can perform rectangular coordinate transformation on the first point cloud data according to the initial external parameter value, and convert the first point cloud data from the radar coordinate system to the IMU coordinate system. Exemplarily, the calibration device performs displacement transformation on the first point cloud data according to the offset distance included in the initial external parameter value, and performs rotation axis transformation on the first point cloud data according to the offset angle included in the initial external parameter value. , to obtain the second point cloud data in the IMU coordinate system.
S503、标定装置根据IMU坐标系与参考坐标系的第二相对转换关系,将第二点云数据转换到参考坐标系得到第三点云数据,IMU坐标系与参考坐标系的相对转换关系是根据采集车辆行驶在目标路径的过程中IMU采集的采集车辆的位置和姿态获得的。S503, the calibration device converts the second point cloud data to the reference coordinate system to obtain third point cloud data according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, and the relative transformation relationship between the IMU coordinate system and the reference coordinate system is based on It is obtained by collecting the position and attitude of the collecting vehicle collected by the IMU during the process of collecting the vehicle traveling on the target path.
其中,IMU坐标系与参考坐标系的第二相对转换关系可以是标定装置通过以下方式获取的:标定装置获取IMU在M个第二采集时刻采集的测量数据,测量数据包括采集车辆行驶在目标路径的过程中IMU采集的采集车辆的线加速度和角速度;根据测量数据,得到分别在M个第二采集时刻的第二相对转换关系,第二采集时刻的第二相对转换关系用于表征在第二采集时刻,IMU坐标系与参考坐标系之间的相对转换关系。Wherein, the second relative transformation relationship between the IMU coordinate system and the reference coordinate system may be obtained by the calibration device in the following manner: the calibration device obtains the measurement data collected by the IMU at M second collection moments, and the measurement data includes the collection of the vehicle traveling on the target path. The linear acceleration and angular velocity of the collection vehicle collected by the IMU during the process of collecting the ; The relative transformation relationship between the IMU coordinate system and the reference coordinate system at the time of acquisition.
标定装置根据分别在M个第二采集时刻的第二相对转换关系,获得分别在N个第一采集时刻的第三相对转换关系,第一采集时刻的第三相对转换关系用于表征在第一采集时刻,IMU坐标系与参考坐标系之间的相对转换关系;根据第i个第一采集时刻的第三相对转换关系,分别将第i个第一采集时刻的第二点云数据,转换到参考坐标系,得到第i个第一采集时刻的点云数据,i取遍小于或者等于N的正整数,以得到N个第一采集时刻的 点云数据构成所述第三点云数据。The calibration device obtains third relative conversion relationships at N first collection moments respectively according to the second relative conversion relationships at the M second collection moments, respectively, and the third relative conversion relationships at the first collection moments are used to represent the first The relative transformation relationship between the IMU coordinate system and the reference coordinate system at the acquisition moment; according to the third relative transformation relationship at the i-th first acquisition moment, the second point cloud data at the i-th first acquisition moment are respectively converted to Referring to the coordinate system, the point cloud data of the i-th first collection moment is obtained, and i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data of the first collection moment to form the third point cloud data.
示例性的,标定装置根据分别在M个第二采集时刻的第二相对转换关系,获得分别在N个第一采集时刻的第三相对转换关系的过程中,以单帧点云数据为例,单帧点云数据为第二点云数据中的任意一帧点云数据。作为一种可能的情况,M个第二采集时刻中存在单帧点云数据的采集时刻,根据分别在M个第二采集时刻的IMU坐标系与参考坐标系之间的相对转换关系,直接获得在单帧点云数据的采集时刻的第三相对转换关系,即获得在单帧点云数据的采集时刻的IMU坐标系与参考坐标系之间的相对转换关系。Exemplarily, the calibration device obtains the third relative conversion relationship at the N first collection moments according to the second relative conversion relationships at the M second collection moments, respectively. Taking a single frame of point cloud data as an example, The single frame of point cloud data is any frame of point cloud data in the second point cloud data. As a possible situation, there are acquisition moments of single frame of point cloud data in the M second acquisition moments. According to the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the M second acquisition moments, it can be directly obtained. The third relative conversion relationship at the time of collection of the single frame of point cloud data is to obtain the relative conversion relationship between the IMU coordinate system and the reference coordinate system at the time of collection of the single frame of point cloud data.
作为另一种可能的情况,M个第二采集时刻中不存在单帧点云数据的采集时刻,标定装置可以根据分别在M个第二采集时刻的第二相对转换关系,采用插值算法,获得单帧点云数据的采集时刻的第三相对转换关系。插值算法可以采用线性插值算法、抛物线插值算法、拉格朗日插值算法、牛顿插值算法中的任一项。插值算法可以根据采集车辆的运动变化剧烈程度、设定的插值精度、设定的计算实时性要求等中的一项或多项进行选择。As another possible situation, there is no single frame of point cloud data collection time in the M second collection moments, and the calibration device can use an interpolation algorithm to obtain The third relative conversion relationship at the acquisition moment of the single frame of point cloud data. The interpolation algorithm may adopt any one of linear interpolation algorithm, parabolic interpolation algorithm, Lagrangian interpolation algorithm, and Newton interpolation algorithm. The interpolation algorithm can be selected according to one or more of the severity of changes in the motion of the collected vehicle, the set interpolation accuracy, and the set real-time calculation requirements.
作为一种可能的实施方式,参考坐标系可以是指公共坐标系。当参考坐标系为公共坐标系时,IMU坐标系与公共坐标系的第二相对转换关系的确定方式,具体参见实施例一。As a possible implementation, the reference coordinate system may refer to a common coordinate system. When the reference coordinate system is the common coordinate system, for the method of determining the second relative transformation relationship between the IMU coordinate system and the common coordinate system, refer to Embodiment 1 for details.
作为另一种可能的实施方式,参考坐标系也可以是指局部坐标系,局部坐标系包括固定时刻的雷达坐标系、固定时刻的IMU坐标系或者自定义坐标系,比如,0秒(s)时刻的雷达坐标系,再比如,0s时刻的IMU坐标系。当参考坐标系为局部坐标系时,IMU坐标系与局部坐标系的第二相对转换关系的确定方式,具体参见实施例二。As another possible implementation manner, the reference coordinate system may also refer to a local coordinate system, and the local coordinate system includes a radar coordinate system at a fixed time, an IMU coordinate system at a fixed time, or a custom coordinate system, for example, 0 seconds (s) The radar coordinate system at the moment, for another example, the IMU coordinate system at the 0s moment. When the reference coordinate system is a local coordinate system, for the method of determining the second relative transformation relationship between the IMU coordinate system and the local coordinate system, refer to Embodiment 2 for details.
示例性的,采集时刻可以采用GNSS时间表示。在采集车辆进行数据采集前,可以通过GNSS对IMU和激光雷达进行时钟同步。示例性的,GNSS可以将GNSS秒脉冲信号和推荐最小数据量的全球定位系统(global positioning system,GPS)信息(GPRMC)数据帧输入到激光雷达相应的数据接口,激光雷达接收到GNSS秒脉冲信号后,根据GPRMC数据帧中包含的标准时间,对激光雷达的时钟进行校准。完成IMU与激光雷达的时间同步后,IMU和激光雷达均可以将数据的采集时刻转换成GNSS时间。Exemplarily, the acquisition moment may be represented by GNSS time. Before collecting data from the vehicle, the IMU and LiDAR can be clocked through GNSS. Exemplarily, the GNSS can input the GNSS second pulse signal and the global positioning system (GPS) information (GPRMC) data frame with the recommended minimum data amount to the corresponding data interface of the lidar, and the lidar receives the GNSS second pulse signal. Then, calibrate the lidar clock according to the standard time contained in the GPRMC data frame. After the time synchronization between the IMU and the lidar is completed, both the IMU and the lidar can convert the time of data collection into GNSS time.
S504、标定装置根据第三点云数据,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。S504. The calibration device determines, according to the third point cloud data, the external parameter values to be optimized for the current adjustment, so that the same feature collected by the lidar travels to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition, take the current external parameter value to be optimized as the target external parameter value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment .
作为一种可能的实现方式,第三点云数据用于表征X个特征物在参考坐标系的三维坐标,X为正整数。标定装置直接根据第三点云数据,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。As a possible implementation manner, the third point cloud data is used to represent the three-dimensional coordinates of the X features in the reference coordinate system, where X is a positive integer. The calibration device directly determines the external parameter value to be optimized for the current adjustment according to the third point cloud data, so that the same feature collected by the lidar travels to different positions in the same position in the reference coordinate system or the position difference satisfies the preset condition When , take the current external parameter value to be optimized as the target external parameter value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
作为另一种可能的实现方式,为了提高标定效率及标定准确率,标定装置获取到第三点云数据后,还可以对第三点云数据进行特征物提取。进一步的,标定装置根据提取出的各个特征物的特征点云集合,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。As another possible implementation manner, in order to improve the calibration efficiency and the calibration accuracy, after the calibration device acquires the third point cloud data, the third point cloud data can also be extracted with features. Further, the calibration device determines the external parameter value to be optimized for the current adjustment according to the extracted feature point cloud set of each feature, so that the lidar travels to different positions to collect the position of the same feature in the reference coordinate system. When the same or the position difference meets the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the next adjustment. The external parameter value to be optimized.
示例性的,若标定场地中存在X个特征物,标定装置根据X个参考坐标范围,从第三 点云数据中,提取出X个特征点云集合,X个参考坐标范围为X个特征物在参考坐标系中的参考坐标范围。作为一种举例,标定装置对参考坐标系下的第三点云数据,先进行点云拼接,再进行特征物提取。示例性的,标定装置对参考坐标系下的第三点云数据中包含的N帧点云数据进行点云拼接,得到拼接后的第三点云数据;对拼接后的第三点云数据进行特征物提取,得到X个特征物的特征点云集合。其中,点云拼接是指将不同角度不同时间点采集到的数据统一到同一个坐标系下的过程。例如,第三点云数据中包含点云数据1、点云数据2和点云数据3,标定装置对点云数据1、点云数据2和点云数据3进行点云拼接后,得到拼接后的第三点云数据。标定场地中包含特征物A,根据特征物A的参考坐标范围,从拼接后的第三点云数据中,提取出特征物A的特征点云集合。Exemplarily, if there are X feature objects in the calibration site, the calibration device extracts X feature point cloud sets from the third point cloud data according to the X reference coordinate ranges, and the X reference coordinate ranges are X feature objects. The reference coordinate range in the reference coordinate system. As an example, the calibration device first performs point cloud splicing on the third point cloud data in the reference coordinate system, and then performs feature extraction. Exemplarily, the calibration device performs point cloud splicing on the N frames of point cloud data included in the third point cloud data under the reference coordinate system to obtain the spliced third point cloud data; Feature extraction to obtain feature point cloud sets of X features. Among them, point cloud stitching refers to the process of unifying the data collected at different angles and different time points into the same coordinate system. For example, the third point cloud data includes point cloud data 1, point cloud data 2 and point cloud data 3. After the calibration device performs point cloud splicing on point cloud data 1, point cloud data 2 and point cloud data 3, the spliced point cloud data is obtained. The third point cloud data of . The calibration site includes feature A, and according to the reference coordinate range of feature A, the feature point cloud set of feature A is extracted from the third point cloud data after splicing.
作为另一种举例,标定装置对参考坐标系下的第三点云数据,先进行特征物提取,再进行点云拼接。示例性的,标定装置对参考坐标系下的第三点云数据中包含的N帧点云数据分别进行特征物提取,得到X个特征物的各帧特征数据;分别针对X个特征物,对相应的N帧特征数据进行点云拼接,得到拼接后的第三点云数据。以第三点云数据中包含的点云数据1为例,标定装置可以根据各个特征物的参考坐标范围,针对单帧点云数据进行特征物提取,参考坐标范围的测量精度可以为米级。标定场地中包含特征物A,标定装置根据特征物A的参考坐标范围,在参考坐标系下,从点云数据1中,提取出特征物A的参考坐标范围内的点云数据,作为特征物A的一帧特征点云。在参考坐标系下,采用上述单帧点云数据中的特征物提取方法,对第三点云数据中包含的N帧点云数据进行特征物提取,可以得到特征物A的N帧特征点云,对特征物A的N帧特征点云进行点云拼接,可以得到特征物A的特征点云集合。As another example, the calibration device first performs feature extraction on the third point cloud data in the reference coordinate system, and then performs point cloud splicing. Exemplarily, the calibration device performs feature extraction on N frames of point cloud data contained in the third point cloud data under the reference coordinate system, respectively, to obtain each frame of feature data of X features; The corresponding N frames of feature data are point cloud spliced to obtain the third point cloud data after splicing. Taking the point cloud data 1 included in the third point cloud data as an example, the calibration device can perform feature extraction for a single frame of point cloud data according to the reference coordinate range of each feature, and the measurement accuracy of the reference coordinate range can be meter level. The calibration site contains feature A, and the calibration device extracts the point cloud data within the reference coordinate range of feature A from point cloud data 1 in the reference coordinate system according to the reference coordinate range of feature A, as the feature object A frame of feature point cloud of A. In the reference coordinate system, the feature extraction method in the single frame of point cloud data is used to extract the features of the N frames of point cloud data contained in the third point cloud data, and the feature point cloud of N frames of feature A can be obtained. , and splicing the N frames of feature point clouds of feature A, the feature point cloud set of feature A can be obtained.
示例性的,标定装置可以通过但不限于以下两种可能的实现方式,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件:Exemplarily, the calibration device can determine the external parameter value to be optimized used in the current adjustment through, but not limited to, the following two possible implementation manners, so that the same feature collected by the lidar travels to different positions in the reference coordinate system. The position is the same or the position difference meets the preset conditions:
第一种可能的实现方式:标定装置确定满足第一迭代停止条件时,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件。The first possible implementation: when the calibration device determines that the first iteration stop condition is satisfied, it determines the external parameter value to be optimized used in the current adjustment, so that the same feature collected by the lidar travels to different positions in the reference coordinate system. The position is the same or the position difference meets the preset condition.
示例性的,标定装置根据提取出的各个特征物的特征点云集合,采用迭代优化算法,对待优化的外参值进行调整,直至满足第一迭代停止条件时,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件。迭代优化算法可以采用但不限于高斯牛顿法、共轭梯度法、梯度下降法等中的任一项。Exemplarily, the calibration device adopts an iterative optimization algorithm according to the extracted feature point cloud sets of each feature to adjust the external parameter values to be optimized until the first iteration stop condition is satisfied, and determines the to-be-optimized value used for the current adjustment. The extrinsic parameter value of , makes the position of the same feature collected by the lidar traveling to different positions in the reference coordinate system is the same or the position difference satisfies the preset condition. The iterative optimization algorithm may adopt, but is not limited to, any of the Gauss-Newton method, the conjugate gradient method, the gradient descent method, and the like.
标定装置采用迭代优化算法时,将误差参数作为目标函数,将待优化的外参值作为优化变量。标定装置可以根据各个特征物的特征点云集合,计算得到各个特征物的误差参数。其中,一个特征物的误差参数用于表示一个特征物在参考坐标系的三个维度的坐标分别对应的方差之和。When the calibration device adopts an iterative optimization algorithm, the error parameter is used as the objective function, and the external parameter value to be optimized is used as the optimization variable. The calibration device can calculate and obtain the error parameters of each feature according to the feature point cloud set of each feature. Among them, the error parameter of a feature is used to represent the sum of variances corresponding to the coordinates of a feature in the three dimensions of the reference coordinate system.
第一迭代停止条件可以采用但不限于固定迭代次数法、固定时间法、前后作差法中的任一项。固定循环次数法是指迭代次数达到次数门限时停止迭代。固定时间法是指迭代时长达到时长门限时停止迭代。The first iteration stop condition may be, but not limited to, any one of the fixed number of iterations method, the fixed time method, and the pre- and post-difference method. The fixed cycle number method means that the iteration stops when the number of iterations reaches the threshold of the number of iterations. The fixed time method means that the iteration stops when the iteration duration reaches the duration threshold.
当采用前后作差法时,作为一种示例,第一迭代停止条件可以是当前次迭代中X个特征物的误差参数与上一次迭代中X个特征物的误差参数的差值均小于第二门限。When the difference method is adopted, as an example, the stopping condition of the first iteration may be that the difference between the error parameters of the X features in the current iteration and the error parameters of the X features in the previous iteration is smaller than the second threshold.
以两个特征物,特征物A和特征物B为例,标定装置采用迭代优化算法,对待优化的外参值进行迭代优化的过程中,在参考坐标系O-xyz下,统计特征物A的特征点云集合在x轴上的方差1、在y轴上的方差2、在z轴上的方差3,根据统计得到的方差1、方差2和方差3,得到特征物A的特征点云集合在参考坐标系的各轴向上的方差之和,即得到特征物A的误差参数,标定装置在参考坐标系O-xyz下,统计特征物B的特征点云集合在x轴上的方差4、在y轴上的方差5、在z轴上的方差6,根据统计得到的方差4、方差5和方差6,得到特征物B的特征点云集合在参考坐标系的各轴向上的方差之和,即得到特征物B的误差参数。当特征物A的误差参数小于第二门限,且特征物B的误差参数小于第二门限时,停止迭代,输出调整后的外参值。Taking two features, feature A and feature B as an example, the calibration device adopts an iterative optimization algorithm. In the process of iterative optimization of the external parameter value to be optimized, in the reference coordinate system O-xyz, the statistical value of feature A is calculated. The variance of the feature point cloud set on the x-axis is 1, the variance on the y-axis is 2, and the variance on the z-axis is 3. According to the variance 1, variance 2 and variance 3 obtained by statistics, the feature point cloud set of feature A is obtained. The sum of the variances on each axis of the reference coordinate system, that is, the error parameter of the feature A is obtained. The calibration device is in the reference coordinate system O-xyz, and the variance of the feature point cloud set of the feature B on the x-axis is calculated 4 , variance 5 on the y-axis, variance 6 on the z-axis, according to the variance 4, variance 5 and variance 6 obtained by statistics, get the variance of the feature point cloud set of feature B on each axis of the reference coordinate system The sum, that is, the error parameter of the feature B is obtained. When the error parameter of feature A is less than the second threshold, and the error parameter of feature B is less than the second threshold, the iteration is stopped, and the adjusted external parameter value is output.
作为另一种举例,第一迭代停止条件也可以为当前次迭代中X个特征物的误差参数之和与上一次迭代中X个特征物的误差参数之和的差值小于第一门限。As another example, the first iteration stop condition may also be that the difference between the sum of the error parameters of the X features in the current iteration and the sum of the error parameters of the X features in the previous iteration is less than the first threshold.
仍以特征物A和特征物B为例,标定装置采用迭代优化算法,对待优化的外参值进行迭代优化的过程中,在参考坐标系O-xyz下,统计特征物A的特征点云集合在x轴上的方差1、在y轴上的方差2、在z轴上的方差3,得到特征物A的特征点云集合在参考坐标系的各轴向上的方差之和,即得到特征物A的误差参数,在参考坐标系O-xyz下,统计特征物B的特征点云集合在x轴上的方差4、在y轴上的方差5、在z轴上的方差6,得到特征物B的特征点云集合在参考坐标系的各轴向上的方差之和,即得到特征物B的误差参数,然后,标定装置将特征物A的误差参数和特征物B的误差参数进行加和,得到特征物A和特征物B的误差参数之和。当特征物A和特征物B的误差参数之和小于第一门限时,停止迭代,输出调整后的外参值。Still taking feature A and feature B as an example, the calibration device adopts an iterative optimization algorithm. In the process of iterative optimization of the external parameter values to be optimized, in the reference coordinate system O-xyz, the feature point cloud set of feature A is counted. The variance on the x-axis is 1, the variance on the y-axis is 2, and the variance on the z-axis is 3. The sum of the variances of the feature point cloud set of the feature A on each axis of the reference coordinate system is obtained, that is, the feature is obtained. The error parameter of object A, in the reference coordinate system O-xyz, count the variance 4 on the x-axis, the variance 5 on the y-axis, and the variance 6 on the z-axis of the feature point cloud set of feature B to obtain the feature. The sum of the variances of the feature point cloud set of object B in each axis of the reference coordinate system, that is, the error parameter of feature B is obtained. Then, the calibration device adds the error parameter of feature A and the error parameter of feature B. And, the sum of the error parameters of feature A and feature B is obtained. When the sum of the error parameters of feature A and feature B is less than the first threshold, the iteration is stopped, and the adjusted extrinsic parameter value is output.
采用迭代优化算法,对待优化的外参值进行迭代优化过程中,若不满足第一迭代停止条件,则根据设定步长,对待优化的外参值进行调整。设定步长包括偏移距离的步长和偏移角度的步长,比如,偏移距离的步长可以为0.1cm,再比如,偏移角度的步长可以为0.01°。Using the iterative optimization algorithm, in the iterative optimization process of the external parameter value to be optimized, if the first iteration stop condition is not satisfied, the external parameter value to be optimized is adjusted according to the set step size. The set step size includes the step size of the offset distance and the step size of the offset angle. For example, the step size of the offset distance can be 0.1cm, and for example, the step size of the offset angle can be 0.01°.
作为第二种可能的实现方式,标定装置确定满足第一迭代停止条件和第二迭代停止条件时,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在参考坐标系中的位置相同或者位置相差满足预设条件。As a second possible implementation manner, when the calibration device determines that the first iterative stop condition and the second iterative stop condition are satisfied, it determines the external parameter value to be optimized used in the current adjustment so that the lidar travels to different locations to collect the same feature The position of the object in the reference coordinate system is the same or the position difference meets the preset condition.
第二迭代停止条件也可以采用但不限于固定迭代次数法、固定时间法、前后作差法中的任一项。The second iterative stop condition may also adopt, but is not limited to, any one of the fixed number of iterations method, the fixed time method, and the pre- and post-difference method.
以第二迭代停止条件采用前后作差法为例,第二迭代停止条件可以是当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限。Taking the second iterative stop condition as an example, the difference method is used. third threshold.
示例性的,第三门限包括距离门限和角度门限,标定装置判断当前次调整使用的外参值与上一次调整使用的待优化的外参值之间的偏移距离的差值是否小于距离门限,以及判断当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的偏移角度的差值是否小于角度门限。Exemplarily, the third threshold includes a distance threshold and an angle threshold, and the calibration device judges whether the difference in the offset distance between the external parameter value used in the current adjustment and the external parameter value to be optimized used in the previous adjustment is less than the distance threshold. , and determine whether the difference in the offset angle between the external parameter value to be optimized used in the current adjustment and the external parameter value to be optimized used in the previous adjustment is smaller than the angle threshold.
若当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的偏移距离的差值小于距离门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的偏移角度小于角度门限,则将当前次调整使用的待优化的外参值作为目标外参值。If the difference between the offset distance between the extrinsic parameter value to be optimized used in the current adjustment and the extrinsic parameter value to be optimized used in the previous adjustment is less than the distance threshold, and the extrinsic parameter value to be optimized used in the current adjustment is equal to If the offset angle between the extrinsic parameter values to be optimized used in the last adjustment is smaller than the angle threshold, the extrinsic parameter value to be optimized used in the current adjustment is used as the target extrinsic parameter value.
进一步的,为消除采集车辆运动带来的点云重影误差,标定装置在对第三点云数据进行特征物提取之前,还可以根据IMU采集的采集车辆的位置、姿态和速度,对第一点云数 据、第二点云数据或第三点云数据进行运动补偿。运动补偿是一种描述相邻帧差别的方法,用于消除采集车辆的速度、线加速度或角速度中的任一项带来的运动影响。Further, in order to eliminate the ghosting error of the point cloud caused by the motion of the collected vehicle, before the calibration device performs feature extraction on the third point cloud data, the calibration device can also use the position, attitude and speed of the collected vehicle collected by the IMU to determine the first point cloud data. Motion compensation is performed on point cloud data, second point cloud data or third point cloud data. Motion compensation is a method of describing the difference between adjacent frames to eliminate the influence of motion caused by any of the velocity, linear acceleration, or angular velocity of the acquisition vehicle.
实施例一:以参考坐标系为公共坐标系为例。Embodiment 1: Take the reference coordinate system as the common coordinate system as an example.
图6为本申请实施例中提供的一种可能的激光雷达与IMU的外参标定方法,该方法可由标定装置执行,也可以由标定装置中的芯片或芯片系统执行。FIG. 6 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application. The method may be performed by a calibration device, or may be performed by a chip or a chip system in the calibration device.
S601、标定装置获取IMU采集的测量数据,并根据IMU采集的测量数据,得到IMU在公共坐标系的位姿信息集合,位姿信息包括三维位置、三维速度、三维姿态角中的一项或多项,下文中将三维位置、三维速度、三维姿态角简称为位置、速度、姿态角。IMU在公共坐标系的位姿信息用于描述IMU坐标系与公共坐标系之间的相对转换关系。S601. The calibration device acquires the measurement data collected by the IMU, and obtains a set of pose information of the IMU in the public coordinate system according to the measurement data collected by the IMU, where the pose information includes one or more of three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle Item, hereinafter the three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle are simply referred to as position, velocity, and attitude angle. The pose information of the IMU in the common coordinate system is used to describe the relative transformation relationship between the IMU coordinate system and the common coordinate system.
位姿信息集合中包括IMU在M个采集时刻采集的位姿信息。The pose information set includes pose information collected by the IMU at M collection moments.
IMU采集的测量信息包括线加速度和角速度。在采集车辆行驶在采集路线的过程中,IMU可以采集到采集车辆在N个采集时刻的线加速度和角速度。进一步的,IMU采集到测量信息后可以将测量信息存储到存储区域,例如,存储区域可以是采集车辆中配置的硬盘、便携笔记本等。在进行激光雷达与IMU的外参标定时,标定装置可以从存储区域中,获取到存储的IMU采集的测量信息。The measurement information collected by the IMU includes linear acceleration and angular velocity. In the process of collecting the vehicle traveling on the collected route, the IMU can collect the linear acceleration and angular velocity of the collecting vehicle at N collection times. Further, after the IMU collects the measurement information, the measurement information may be stored in a storage area, for example, the storage area may be a hard disk, a portable notebook, etc. configured in the collection vehicle. When performing the external parameter calibration of the lidar and the IMU, the calibration device can obtain the measurement information collected by the stored IMU from the storage area.
示例性的,采集车辆中可以配置有惯性导航系统(inertial navigation system,INS),INS中包含IMU。标定装置获取到IMU的测量信息后,通过惯性导航系统(inertial navigation system,INS),对IMU采集的测量信息进行惯性导航计算,得到INS导航信息,该INS导航信息包括采集车辆在IMU坐标系下的三维位置、三维速度、三维姿态角中的一项或多项。采集车辆中还配置有GNSS,在采集车辆行驶在采集路线的过程中,GNSS可以采集到GNSS测量信息,GNSS测量信息包括采集车辆在公共坐标系下的三维位置、三维速度、三维姿态角中的一项或多项。标定装置采用惯性导航算法和融合滤波算法,对INS导航信息和GNSS测量信息进行融合,可以得到IMU在公共坐标系的位姿信息集合。Exemplarily, an inertial navigation system (INS) may be configured in the acquisition vehicle, and the INS includes an IMU. After the calibration device obtains the measurement information of the IMU, it performs inertial navigation calculation on the measurement information collected by the IMU through the inertial navigation system (INS), and obtains the INS navigation information. The INS navigation information includes the acquisition vehicle in the IMU coordinate system. One or more of the three-dimensional position, three-dimensional velocity, and three-dimensional attitude angle of . The acquisition vehicle is also equipped with GNSS. During the process of the acquisition vehicle driving on the acquisition route, GNSS can collect GNSS measurement information. The GNSS measurement information includes the 3D position, 3D velocity, and 3D attitude angle of the collected vehicle in the public coordinate system. one or more. The calibration device adopts inertial navigation algorithm and fusion filtering algorithm to fuse INS navigation information and GNSS measurement information, and can obtain the pose information set of IMU in the public coordinate system.
S602、标定装置获取激光雷达采集的点云数据。激光雷达采集的点云数据中包括激光雷达在N个采集时刻采集到的N帧点云数据。S602, the calibration device acquires point cloud data collected by the lidar. The point cloud data collected by the lidar includes N frames of point cloud data collected by the lidar at N collection moments.
S603、标定装置根据第M组外参值,将点云数据从雷达坐标系转换到IMU坐标系,得到IMU坐标系下的点云数据。M为自然数。S603. The calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system. M is a natural number.
当M的取值为0时,第0组外参值也可称为初始外参值,初始外参值包括雷达坐标系和IMU坐标系之间的偏移距离和偏移角度。When the value of M is 0, the 0th group of extrinsic parameter values can also be called initial extrinsic parameter values, and the initial extrinsic parameter values include the offset distance and offset angle between the radar coordinate system and the IMU coordinate system.
S604、标定装置根据点云数据的采集时刻对应的位姿信息,将IMU坐标系下的点云数据,投影到公共坐标系,得到公共坐标系下的点云数据。S604, the calibration device projects the point cloud data in the IMU coordinate system to the public coordinate system according to the pose information corresponding to the point cloud data collection time, and obtains the point cloud data in the public coordinate system.
以单帧点云数据为例,单帧点云数据为IMU坐标系下的点云数据中的任意一帧点云数据。Taking a single frame of point cloud data as an example, the single frame of point cloud data is any frame of point cloud data in the point cloud data in the IMU coordinate system.
作为一种可能的情况,单帧点云数据的采集时刻和位姿信息集合中的一个位姿信息的采集时刻相同。标定装置可以确定单帧点云数据的采集时刻对应的位姿信息为上述一个位姿信息。As a possible situation, the collection moment of a single frame of point cloud data is the same as the collection moment of a piece of pose information in the pose information set. The calibration device can determine that the pose information corresponding to the collection moment of the single frame of point cloud data is the above one pose information.
作为另一种可能的情况,单帧点云数据的采集时刻和位姿信息集合中的位姿信息的采集时刻不相同。标定装置可以采用插值算法,计算出采集时刻为单帧点云数据的采集时刻时对应的位姿信息,作为目标位姿信息,目标位姿信息用于表示单帧点云数据的采集时刻 对应的位姿信息。进一步的,标定装置根据目标位姿信息,将IMU坐标系下的单帧点云数据投影到公共坐标系下。比如,单帧点云数据的GNSS时间为第15秒,位姿信息1的GNSS时间为第14秒,位姿信息2的GNSS时间为第16秒,采用线性插值算法,计算得到第15秒的位姿信息为位姿信息1和位姿信息2的平均值,作为目标位姿信息。As another possible situation, the collection moment of a single frame of point cloud data is different from the collection moment of the pose information in the pose information set. The calibration device can use an interpolation algorithm to calculate the corresponding pose information when the collection time is the collection time of a single frame of point cloud data, as the target pose information. pose information. Further, the calibration device projects the single frame of point cloud data in the IMU coordinate system to the common coordinate system according to the target pose information. For example, the GNSS time of a single frame of point cloud data is the 15th second, the GNSS time of the pose information 1 is the 14th second, and the GNSS time of the pose information 2 is the 16th second. Using the linear interpolation algorithm, the GNSS time of the 15th second is calculated. The pose information is the average value of the pose information 1 and the pose information 2, which is used as the target pose information.
进一步的,为消除采集车辆运动带来的点云重影误差,标定装置在将IMU坐标系下的点云数据,投影到公共坐标系后,根据位姿信息和/或IMU的测量数据,对公共坐标系下的点云数据进行运动补偿。Further, in order to eliminate the ghosting error of the point cloud caused by the movement of the collected vehicle, after projecting the point cloud data in the IMU coordinate system to the public coordinate system, the calibration device will correct the point cloud data according to the pose information and/or the measurement data of the IMU. Motion compensation is performed on point cloud data in a common coordinate system.
S605、标定装置对公共坐标系下的点云数据进行特征物提取,得到各个特征物的特征点云集合。S605 , the calibration device extracts feature objects from the point cloud data in the public coordinate system, and obtains a feature point cloud set of each feature object.
S606、标定装置采用迭代优化算法,对第M组外参值进行迭代优化,直至满足第一迭代停止条件,得到第M+1组外参值,具体参见S504。S606, the calibration device adopts an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iteration stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
标定装置采用迭代优化算法时,将误差参数作为目标函数,将第M组外参值作为优化变量。标定装置可以根据各个特征物的特征点云集合,计算得到各个特征物的误差参数。以第一迭代停止条件采用前后作差法为例,第一迭代停止条件可以为当前次迭代中各个特征物的误差参数与上一次迭代中各个特征物的误差参数的差值均小于第一误差门限。When the calibration device adopts the iterative optimization algorithm, the error parameter is used as the objective function, and the Mth group of external parameter values is used as the optimization variable. The calibration device can calculate and obtain the error parameters of each feature according to the feature point cloud set of each feature. Taking the first iterative stop condition as an example, the first iteration stop condition may be that the difference between the error parameter of each feature in the current iteration and the error parameter of each feature in the previous iteration is smaller than the first error. threshold.
S607、标定装置判断是否满足第二迭代停止条件,若是,执行S609,否则,执行S608。S607. The calibration device judges whether the second iteration stop condition is satisfied, if yes, executes S609, otherwise, executes S608.
以第二迭代停止条件采用前后作差法为例,标定装置判断第M+1组外参值与第M组外参值之间的偏移距离的差值是否小于距离门限,以及判断第M+1组外参值与第M组外参值之间的偏移角度的差值是否小于角度门限。Taking the second iterative stop condition using the front-to-back difference method as an example, the calibration device judges whether the difference between the offset distances between the M+1 group of extrinsic parameter values and the M-th group of extrinsic parameter values is smaller than the distance threshold, and determines whether the M-th Whether the difference in the offset angle between the +1 group of extrinsic parameter values and the Mth group of extrinsic parameter values is less than the angle threshold.
当第M+1组外参值与第M组外参值之间的偏移距离的差值小于距离门限,且第M+1组外参值与第M组外参值之间的相对偏角的偏移角度小于角度门限时,执行S609,即将第M+1组外参值作为目标外参值,否则执行S608。When the difference of the offset distance between the M+1 group of external parameter values and the Mth group of external parameter values is less than the distance threshold, and the relative deviation between the M+1th group of external parameter values and the M-th group of external parameter values When the offset angle of the angle is smaller than the angle threshold, S609 is performed, that is, the M+1 th group of extrinsic parameter values is taken as the target extrinsic parameter value, otherwise, S608 is performed.
S608、标定装置采用第M+1组外参值替换第M组外参值,执行S603。S608, the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S603.
S609、标定装置将第M组外参值作为目标外参值。S609: The calibration device uses the Mth group of external parameter values as the target external parameter values.
实施例二:以参考坐标系为局部坐标系为例。图7为本申请实施例中提供的一种可能的激光雷达与IMU的外参标定方法,该方法可由标定装置执行,也可以由标定装置中的芯片或芯片系统执行。下文中,以S701-S709的执行主体为标定装置为例。Embodiment 2: Take the reference coordinate system as the local coordinate system as an example. FIG. 7 is a possible external parameter calibration method for a lidar and an IMU provided in an embodiment of the present application. The method may be performed by a calibration device, or may be performed by a chip or a chip system in the calibration device. In the following, the execution subject of S701-S709 is taken as an example of the calibration device.
S701、标定装置获取IMU采集的测量数据,并根据IMU采集的测量数据,得到分别在M个采集时刻的IMU坐标系与局部坐标系的相对转换关系。S701. The calibration device obtains the measurement data collected by the IMU, and obtains the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments according to the measurement data collected by the IMU.
作为一种举例,局部坐标系为固定时刻的IMU坐标系,比如,固定时刻的IMU坐标系为0s时刻的IMU坐标系。以固定时刻的IMU坐标系为0s时刻的IMU坐标系为例,IMU采集的测量信息中包含IMU在M个采集时刻采集的采集车辆的线加速度和角速度。标定装置获取IMU采集的测量信息后,根据M个采集时刻采集的线加速度和角速度,通过积分计算,可以得到M个采集时刻的IMU坐标系与0s时刻的IMU坐标系之间的相对转换关系。比如,IMU采集的测量数据中包含IMU在0s时刻采集的线加速度和角速度,以及包含IMU在1s时刻采集的线加速度和角速度,标定装置可以根据0s时刻和1s时刻采集的线加速度和角速度,通过积分计算,得到1s时刻的IMU坐标系与0s时刻的IMU坐标系之间的相对转换关系。As an example, the local coordinate system is the IMU coordinate system at a fixed time, for example, the IMU coordinate system at the fixed time is the IMU coordinate system at the 0s time. Taking the IMU coordinate system at a fixed time as the IMU coordinate system at time 0s as an example, the measurement information collected by the IMU includes the linear acceleration and angular velocity of the collection vehicle collected by the IMU at M collection times. After the calibration device obtains the measurement information collected by the IMU, according to the linear acceleration and angular velocity collected at the M collection times, the relative conversion relationship between the IMU coordinate system at the M collection times and the IMU coordinate system at the 0s time can be obtained through integral calculation. For example, the measurement data collected by the IMU includes the linear acceleration and angular velocity collected by the IMU at the time of 0s, and the linear acceleration and angular velocity collected by the IMU at the time of 1s. Integrate calculation to obtain the relative conversion relationship between the IMU coordinate system at 1s and the IMU coordinate system at 0s.
作为另一种举例,局部坐标系为固定时刻的雷达坐标系,比如,固定时刻的IMU坐标 系为0s时刻的雷达坐标系。以固定时刻的IMU坐标系为0s时刻的雷达坐标系为例,标定装置获取IMU采集的测量信息后,根据M个采集时刻采集的线加速度和角速度,通过积分计算,可以得到M个采集时刻的IMU坐标系与0s时刻的IMU坐标系之间的相对转换关系。标定装置根据初始外参值,可以得到M个采集时刻的IMU坐标系与0s时刻的雷达坐标系之间的相对转换关系。As another example, the local coordinate system is the radar coordinate system at a fixed time, for example, the IMU coordinate system at the fixed time is the radar coordinate system at the 0s time. Taking the IMU coordinate system at a fixed time as the radar coordinate system at time 0s as an example, after the calibration device obtains the measurement information collected by the IMU, according to the linear acceleration and angular velocity collected at the M collection times, through integral calculation, the M collection times can be obtained. The relative transformation relationship between the IMU coordinate system and the IMU coordinate system at time 0s. The calibration device can obtain the relative conversion relationship between the IMU coordinate system at the M acquisition moments and the radar coordinate system at the 0s time according to the initial external parameter value.
S702、标定装置获取激光雷达采集的点云数据,具体参见S501。S702, the calibration device acquires the point cloud data collected by the lidar, for details, refer to S501.
S703、标定装置根据第M组外参值,将点云数据从雷达坐标系转换到IMU坐标系,得到IMU坐标系下的点云数据,具体参见S502。S703, the calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system, see S502 for details.
S704、标定装置根据IMU坐标系与局部坐标系的相对转换关系,将IMU坐标系下的点云数据,转换到局部坐标系,得到局部坐标系下的点云数据,具体参见S503。S704, the calibration device converts the point cloud data in the IMU coordinate system to the local coordinate system according to the relative transformation relationship between the IMU coordinate system and the local coordinate system, and obtains point cloud data in the local coordinate system, see S503 for details.
S705、标定装置对局部坐标系下的点云数据进行特征物提取,得到各个特征物的特征点云集合,具体参见S504。S705, the calibration device performs feature extraction on the point cloud data in the local coordinate system, and obtains a feature point cloud set of each feature. For details, refer to S504.
S706、标定装置采用迭代优化算法,对第M组外参值进行迭代优化,直至满足第一迭代停止条件,得到第M+1组外参值,具体参见S504。S706 , the calibration device uses an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iterative stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
S707、标定装置判断是否满足第二迭代停止条件,若是,执行S709,否则,执行S708。S707: The calibration device judges whether the second iteration stop condition is satisfied, and if so, executes S709; otherwise, executes S708.
S708、标定装置采用第M+1组外参值替换第M组外参值,执行S703。S708, the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S703.
S709、标定装置将第M组外参值作为目标外参值。S709, the calibration device uses the Mth group of external parameter values as the target external parameter values.
通过上述方法,通过待优化的外参值以及IMU与局部坐标系的相对转换关系,将激光雷达采集到的点云数据转换到局部坐标系下,并对局部坐标系下的点云数据进行特征物提取,得到各个特征物的特征点云数据。然后根据各个特征物的特征点云数据对待优化的外参值进行迭代优化,实现激光雷达与IMU坐标系之间的自动化标定,提高激光雷达与IMU坐标系的标定效率,且避免激光雷达的安装角度对标定精度的影响。Through the above method, the point cloud data collected by the lidar is converted into the local coordinate system through the external parameter values to be optimized and the relative transformation relationship between the IMU and the local coordinate system, and the point cloud data in the local coordinate system are characterized. Extract the feature points to obtain the feature point cloud data of each feature. Then iteratively optimizes the external parameter values to be optimized according to the characteristic point cloud data of each feature, realizes automatic calibration between the lidar and IMU coordinate systems, improves the calibration efficiency of the lidar and IMU coordinate systems, and avoids the installation of lidar. The effect of angle on calibration accuracy.
基于相同构思,本申请实施例中提供第二种可能的激光雷达与IMU的外参标定方法。本申请实施例中,标定装置获取激光雷达采集的第一点云数据;标定装置在当前次调整中,根据待优化的外参值,以及根据IMU坐标系与参考坐标系的第二相对转换关系,得到激光雷达坐标系与参考坐标系的第四相对转换关系,待优化的外参值用于指示激光雷达坐标系和IMU坐标系之间的第一相对转换关系;其中,IMU坐标系与参考坐标系的第二相对转换关系的确定方式参见实施例一、实施例二所示;标定装置根据激光雷达坐标系与参考坐标系的第四相对转换关系,将第一点云数据从激光雷达坐标系转换到参考坐标系得到第二点云数据;根据第二点云数据对待优化的外参值进行调整;标定装置根据第二点云数据,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。Based on the same concept, the embodiments of the present application provide a second possible external parameter calibration method for lidar and IMU. In the embodiment of the present application, the calibration device acquires the first point cloud data collected by the lidar; in the current adjustment, the calibration device is based on the external parameter value to be optimized and the second relative conversion relationship between the IMU coordinate system and the reference coordinate system. , the fourth relative transformation relationship between the lidar coordinate system and the reference coordinate system is obtained, and the external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; The method for determining the second relative conversion relationship of the coordinate system is shown in Embodiment 1 and Embodiment 2; the calibration device converts the first point cloud data from the lidar coordinate system from the lidar coordinate system Convert the system to the reference coordinate system to obtain the second point cloud data; adjust the external parameter values to be optimized according to the second point cloud data; the calibration device determines the external parameter values to be optimized for the current adjustment according to the second point cloud data such that When the same feature collected by the lidar travels to different positions in the same position in the IMU coordinate system or the position difference satisfies the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is used. Adjust the external parameter value, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
以参考坐标系为局部坐标系为例,图8为本申请实施例中提供的第二种可能的激光雷达与IMU的外参标定方法,该方法可由标定装置执行,也可以由标定装置中的芯片或芯片系统执行。下文中,以S801-S808的执行主体为标定装置为例。Taking the reference coordinate system as the local coordinate system as an example, FIG. 8 is the second possible external parameter calibration method of the laser radar and the IMU provided in the embodiment of the application. A chip or system-on-a-chip implementation. In the following, the execution subject of S801-S808 is taken as an example of the calibration device.
S801、标定装置获取IMU采集的测量数据,并根据IMU采集的测量数据,得到分别在M个采集时刻IMU坐标系与局部坐标系的相对转换关系。其中,M个采集时刻,IMU 坐标系与局部坐标系的相对转换关系的确定方式参见S701。S801. The calibration device acquires the measurement data collected by the IMU, and obtains the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments according to the measurement data collected by the IMU. The method for determining the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments is S701.
S802、标定装置获取激光雷达采集的点云数据,具体参见S501。S802, the calibration device acquires the point cloud data collected by the lidar, for details, refer to S501.
S803、标定装置根据第M组外参值,以及根据分别在M个采集时刻IMU坐标系与局部坐标系的相对转换关系,得到分别在N个采集时刻雷达坐标系与局部坐标系的相对转换关系。S803, the calibration device obtains the relative transformation relationship between the radar coordinate system and the local coordinate system at the N collection moments according to the Mth group of external parameter values and the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments respectively .
示例性的,根据分别在M个采集时刻,IMU坐标系与局部坐标系的相对转换关系,采用插值算法,获得分别在N个采集时刻,IMU坐标系与局部坐标系的相对转换关系;根据第M组外参值,以及根据分别在N个采集时刻,IMU坐标系与局部坐标系的相对转换关系,可以得到分别在N个采集时刻,雷达坐标系与局部坐标系的相对转换关系。Exemplarily, according to the relative transformation relationship between the IMU coordinate system and the local coordinate system at the M collection moments respectively, an interpolation algorithm is used to obtain the relative transformation relationship between the IMU coordinate system and the local coordinate system at the N collection moments respectively; M sets of external parameter values, and the relative transformation relationship between the IMU coordinate system and the local coordinate system at N acquisition moments, respectively, can obtain the relative transformation relationship between the radar coordinate system and the local coordinate system at N acquisition moments.
S804、标定装置根据分别在N个采集时刻,雷达坐标系与局部坐标系的相对转换关系,将雷达坐标系下的点云数据,转换到局部坐标系,得到局部坐标系下的点云数据。S804, the calibration device converts the point cloud data in the radar coordinate system to the local coordinate system according to the relative transformation relationship between the radar coordinate system and the local coordinate system at the N collection moments respectively, and obtains the point cloud data in the local coordinate system.
S805、标定装置对局部坐标系下的点云数据进行特征物提取,得到各个特征物的特征点云集合,具体参见S504。S805, the calibration device performs feature extraction on the point cloud data in the local coordinate system, and obtains a feature point cloud set of each feature. For details, refer to S504.
S806、标定装置采用迭代优化算法,对第M组外参值进行调整,直至满足第一迭代停止条件,得到第M+1组外参值,具体参见S504。S806, the calibration device adopts an iterative optimization algorithm to adjust the Mth group of external parameter values until the first iteration stop condition is satisfied, and obtains the M+1th group of external parameter values, see S504 for details.
S807、标定装置判断是否满足第二迭代收敛条件,若是,执行S809,否则,执行S808。S807. The calibration device judges whether the second iterative convergence condition is satisfied, and if so, executes S809, otherwise, executes S808.
S808、标定装置采用第M+1组外参值替换第M组外参值,执行S803。S808, the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S803.
S809、标定装置将第M+1组外参值作为目标外参值。S809, the calibration device takes the M+1 group of external parameter values as the target external parameter value.
基于相同构思,本申请实施例中提供第三种可能的激光雷达与IMU的外参标定方法。本申请实施例中,标定装置获取激光雷达采集的第一点云数据,第一点云数据用于表征待标定车辆行驶在目标路径上采集的待标定车辆周围的特征物在激光雷达坐标系中的位置;在当前次调整中,标定装置根据待优化的外参值,将第一点云数据从激光雷达坐标系转换为IMU坐标系得到第二点云数据,待优化的外参值用于指示激光雷达坐标系和IMU坐标系之间的第一相对转换关系;标定装置根据第二点云数据,确定当前次调整使用的待优化的外参值使得激光雷达行驶到不同的位置采集的同一特征物在IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。Based on the same concept, a third possible external parameter calibration method for lidar and IMU is provided in the embodiments of the present application. In the embodiment of the present application, the calibration device obtains the first point cloud data collected by the lidar, and the first point cloud data is used to represent that the features around the vehicle to be calibrated collected by the vehicle to be calibrated driving on the target path are in the lidar coordinate system In the current adjustment, the calibration device converts the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter values to be optimized to obtain the second point cloud data, and the external parameter values to be optimized are used for Indicate the first relative conversion relationship between the lidar coordinate system and the IMU coordinate system; the calibration device determines the external parameter value to be optimized for the current adjustment and uses according to the second point cloud data, so that the lidar travels to different locations to collect the same image When the positions of the features in the IMU coordinate system are the same or the position difference satisfies the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is adjusted. The extrinsic parameter value is used as the extrinsic parameter value to be optimized in the next adjustment.
参阅图9所示,图9为本申请实施例中提供的第三种可能的激光雷达与IMU的外参标定方法,该方法可由标定装置执行,也可以由标定装置中的芯片或芯片系统执行。Referring to FIG. 9 , FIG. 9 is a third possible external parameter calibration method for lidar and IMU provided in the embodiment of the present application, and the method can be executed by a calibration device or by a chip or a chip system in the calibration device. .
S901、标定装置获取激光雷达采集的点云数据,具体参见S501。S901, the calibration device acquires the point cloud data collected by the lidar. For details, refer to S501.
S902、标定装置根据第M组外参值,将点云数据从雷达坐标系转换到IMU坐标系,得到IMU坐标系下的点云数据,具体参见S502。S902, the calibration device converts the point cloud data from the radar coordinate system to the IMU coordinate system according to the Mth group of external parameter values, and obtains point cloud data in the IMU coordinate system, see S502 for details.
S903、标定装置对IMU坐标系下的点云数据进行特征物提取,得到各个特征物的特征点云集合。标定装置对IMU坐标系下的点云数据进行特征物提取的过程,与S504中对第三点云数据进行特征物提取的过程类似,在此不再赘述。S903, the calibration device performs feature extraction on the point cloud data in the IMU coordinate system to obtain a feature point cloud set of each feature. The process that the calibration device performs feature extraction on the point cloud data in the IMU coordinate system is similar to the process of performing feature extraction on the third point cloud data in S504, and will not be repeated here.
S904、标定装置采用迭代优化算法,对第M组外参值进行迭代优化,直至满足第一迭代停止条件,得到第M+1组外参值。S904 , the calibration device uses an iterative optimization algorithm to iteratively optimize the Mth group of external parameter values until the first iterative stop condition is satisfied, and obtains the M+1th group of external parameter values.
S905、标定装置判断是否满足第二迭代收敛条件,若是,执行S907,否则,执行S906。S905, the calibration device judges whether the second iterative convergence condition is satisfied, if yes, executes S907, otherwise, executes S906.
S906、标定装置采用第M+1组外参值替换第M组外参值,执行S902。S906, the calibration device replaces the Mth group of external parameter values with the M+1th group of external parameter values, and executes S902.
S907、标定装置将第M组外参值作为目标外参值。S907, the calibration device uses the Mth group of external parameter values as the target external parameter values.
通过上述方法,根据待优化的外参值将激光雷达采集的点云数据从雷达坐标系转换到IMU坐标系后,可以直接根据IMU坐标系下的点云数据对待优化的外参值进行优化,提高外参标定效率,且避免激光雷达的安装角度对标定精度的影响。Through the above method, after the point cloud data collected by the lidar is converted from the radar coordinate system to the IMU coordinate system according to the external parameter values to be optimized, the external parameter values to be optimized can be optimized directly according to the point cloud data in the IMU coordinate system. Improve the calibration efficiency of external parameters, and avoid the influence of the installation angle of the lidar on the calibration accuracy.
基于上述实施例,本申请实施例中还提供的一种多个激光雷达之间的外参标定方法,在进行多个激光雷达之间的外参标定时,可以根据图5-图9中任一种可能的方法,分别得到各个激光雷达与IMU之间的外参值,根据各个激光雷达与IMU之间的外参值,得到多个激光雷达之间的外参值。Based on the above-mentioned embodiment, the embodiment of the present application also provides a method for calibrating external parameters between multiple laser radars. When performing external parameter calibration between multiple laser radars, the method can A possible method is to obtain the extrinsic parameter values between each lidar and the IMU respectively, and obtain the extrinsic parameter values between multiple lidars according to the extrinsic parameter values between each lidar and the IMU.
以第一激光雷达和第二激光雷达之间的外参标定过程为例,参见S501-S504,可以得到第一激光雷达和IMU之间的第一外参值,以及得到第二激光雷达和IMU之间的第二外参值。根据第一外参值和第二外参值之间的相对关系,得到第一激光雷达和第二激光雷达之间的外参值。Taking the external parameter calibration process between the first laser radar and the second laser radar as an example, see S501-S504, the first external parameter value between the first laser radar and the IMU can be obtained, and the second laser radar and the IMU can be obtained. The second extrinsic parameter value between . According to the relative relationship between the first extrinsic parameter value and the second extrinsic parameter value, the extrinsic parameter value between the first laser radar and the second laser radar is obtained.
以第一激光雷达、第二激光雷达、第三激光雷达之间的外参标定过程为例,参见S501-S504,可以得到第一激光雷达和IMU之间的第一外参值、第二激光雷达和IMU之间的第二外参值、以及第三激光雷达和IMU之间的第三外参值。根据第一外参值和第二外参值之间的相对关系,可以得到第一激光雷达和第二激光雷达之间的外参值。根据第一外参值和第三外参值之间的相对关系,可以得到第一激光雷达和第三激光雷达之间的外参值。根据第二外参值和第三外参值之间的相对关系,可以得到第二激光雷达和第三激光雷达之间的外参值。Taking the external parameter calibration process between the first laser radar, the second laser radar, and the third laser radar as an example, see S501-S504, the first external parameter value between the first laser radar and the IMU, the second laser radar can be obtained. The second extrinsic parameter value between the radar and the IMU, and the third extrinsic parameter value between the third lidar and the IMU. According to the relative relationship between the first extrinsic parameter value and the second extrinsic parameter value, the extrinsic parameter value between the first laser radar and the second laser radar can be obtained. According to the relative relationship between the first extrinsic parameter value and the third extrinsic parameter value, the extrinsic parameter value between the first laser radar and the third laser radar can be obtained. According to the relative relationship between the second external parameter value and the third external parameter value, the external parameter value between the second laser radar and the third laser radar can be obtained.
基于相同的技术构思,本申请还提供了一种激光雷达与IMU的外参标定装置,该标定装置的结构如图10所示,包括通信单元1001和处理单元1002。所述标定装置1000可以应用于图5-图9所示的标定方法中的标定装置。下面对标定装置1000中的各个单元的功能进行介绍。Based on the same technical concept, the present application also provides an external parameter calibration device for lidar and IMU. The structure of the calibration device is shown in FIG. 10 , including a communication unit 1001 and a processing unit 1002 . The calibration device 1000 can be applied to the calibration device in the calibration method shown in FIGS. 5-9 . The functions of each unit in the calibration device 1000 will be introduced below.
所述通信单元1001,用于接收和发送数据。The communication unit 1001 is used for receiving and sending data.
所述标定装置1000应用于标定装置时,所述通信单元601又可以称为物理接口、通信模块、通信接口、输入输出接口。When the calibration device 1000 is applied to a calibration device, the communication unit 601 may also be referred to as a physical interface, a communication module, a communication interface, and an input/output interface.
在一种可能的应用场景中,标定装置1000包括通信单元1001和处理单元1002,In a possible application scenario, the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
通信单元1001,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;The communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
处理单元1002,用于在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据;所述第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的待标定车辆的位置和姿态获得的;以及,根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外 参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。The processing unit 1002 is configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system to obtain second point cloud data according to the external parameter value to be optimized in the current adjustment, the to-be-optimized external parameter value. The optimized external parameter value is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the The second point cloud data is converted to the reference coordinate system to obtain third point cloud data; the second relative conversion relationship is based on the to-be-calibrated vehicle collected by the IMU during the process of the to-be-calibrated vehicle traveling on the target path. The position and attitude of the vehicle are obtained; and, according to the third point cloud data, the external parameter value to be optimized used for the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is in the reference When the positions in the coordinate system are the same or the position difference satisfies the preset conditions, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted value is used. The external parameter value is used as the external parameter value to be optimized in the next adjustment.
在一种可能的设计中,所述第一点云数据是所述激光雷达在N个第一采集时刻采集的,所述通信单元1001还用于获取所述IMU在M个第二采集时刻采集的测量数据,所述测量数据包括所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的线加速度和角速度;In a possible design, the first point cloud data is collected by the lidar at N first collection moments, and the communication unit 1001 is further configured to acquire the IMU collected at M second collection moments The measured data includes the linear acceleration and angular velocity of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path;
获取所述IMU坐标系与所述参考坐标系的第二相对转换关系时,所述处理单元1002用于:根据所述测量数据,得到分别在M个第二采集时刻的第二相对转换关系,所述第二采集时刻的第二相对转换关系用于表征在所述第二采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系。When acquiring the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the processing unit 1002 is configured to: obtain, according to the measurement data, second relative transformation relationships at M second acquisition moments, respectively, The second relative transformation relationship at the second acquisition moment is used to represent the relative transformation relationship between the IMU coordinate system and the reference coordinate system at the second acquisition moment.
在一种可能的设计中,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据时,所述处理单元1002用于:In a possible design, according to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, when converting the second point cloud data to the reference coordinate system to obtain third point cloud data, The processing unit 1002 is used for:
根据分别在M个第二采集时刻的第二相对转换关系,获得分别在所述N个第一采集时刻的第三相对转换关系,所述第一采集时刻的第三相对转换关系用于表征在所述第一采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系;According to the second relative conversion relationships at the M second collection moments, respectively, third relative conversion relationships at the N first collection moments are obtained, and the third relative conversion relationships at the first collection moments are used to represent the at the first acquisition moment, the relative transformation relationship between the IMU coordinate system and the reference coordinate system;
根据第i个第一采集时刻的第三相对转换关系,分别将第i个第一采集时刻的第二点云数据,转换到所述参考坐标系,得到第i个第一采集时刻的点云数据,i取遍小于或者等于N的正整数,以得到N个第一采集时刻的点云数据构成所述第三点云数据。According to the third relative conversion relationship at the ith first collection moment, the second point cloud data at the ith first collection moment are respectively converted to the reference coordinate system to obtain the point cloud at the ith first collection moment For data, i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data at the first collection moment to form the third point cloud data.
在一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference meets a preset condition; wherein, the error parameter of the first feature is the first feature in the reference coordinate system. The sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
在一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser The position of the same feature collected by the radar traveling to different positions in the reference coordinate system is the same or the position difference meets a preset condition; wherein, the error parameter of the first feature is the first feature in the reference coordinate system. The sum of variances corresponding to the coordinates of the three dimensions respectively, and the first feature is any one of the X features.
在一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三 维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The positions in the reference coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, so The first feature is any one of the X features.
在一种可能的设计中,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;In a possible design, the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, where X is a positive integer;
根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment If the difference between the external parameter values to be optimized is smaller than the third threshold, the external parameter value to be optimized used for the current adjustment is determined so that the same feature collected by the lidar travels to different positions at the reference coordinates The positions in the reference coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature The feature is any of the X features.
在一种可能的设计中,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据时,所述处理单元1002用于:In a possible design, according to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, when converting the second point cloud data to the reference coordinate system to obtain third point cloud data, The processing unit 1002 is used for:
根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据从所述IMU坐标系转换为所述参考坐标系,得到第四点云数据;According to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain fourth point cloud data;
将运动补偿后的第四点云数据作为所述第三点云数据,所述运动补偿后的第四点云数据是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置、姿态和速度进行的运动补偿。The fourth point cloud data after motion compensation is used as the third point cloud data, and the fourth point cloud data after motion compensation is collected by the IMU according to the process of the vehicle to be calibrated driving on the target path motion compensation for the position, attitude and speed of the vehicle to be calibrated.
在另一种可能的应用场景中,标定装置1000包括通信单元1001和处理单元1002,In another possible application scenario, the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
通信单元1001,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;The communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
处理单元1002,用于在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;以及,根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。The processing unit 1002 is configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system to obtain second point cloud data according to the external parameter value to be optimized in the current adjustment, the to-be-optimized external parameter value. The optimized extrinsic parameter value is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; and, according to the second point cloud data, determine the extrinsic parameter to be optimized used for the current adjustment. When the parameter value makes the same feature collected by the lidar traveling to different positions in the same position in the IMU coordinate system or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target external parameter. value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
在一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The position of the same feature collected by the lidar traveling to different positions in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature in the IMU. The sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
在一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The position of the same feature collected by the lidar traveling to different positions in the IMU coordinate system is the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the first feature in the IMU. The sum of variances corresponding to the coordinates of the three dimensions of the coordinate system respectively, and the first feature is any one of the X features.
在一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser The same feature collected by the radar traveling to different positions has the same position in the IMU coordinate system or the position difference meets a preset condition; wherein, the error parameter of the first feature is the error parameter of the first feature in the IMU coordinate system. The sum of variances corresponding to the coordinates of the three dimensions respectively, and the first feature is any one of the X features.
在一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维 度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The positions in the IMU coordinate system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, so The first feature is any one of the X features.
在一种可能的设计中,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;In a possible design, the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, where X is a positive integer;
根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元1002用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit 1002 is used for:
若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment If the difference between the values of the external parameters to be optimized is smaller than the third threshold, the external parameter values to be optimized used in the current adjustment are determined so that the same feature collected by the lidar travels to different positions at the coordinates of the IMU The positions in the system are the same or the position difference satisfies a preset condition; wherein, the error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature The feature is any of the X features.
在又一种可能的应用场景中,标定装置1000包括通信单元1001和处理单元1002,In another possible application scenario, the calibration apparatus 1000 includes a communication unit 1001 and a processing unit 1002,
通信单元1001,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;The communication unit 1001 is used to obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the characteristic objects around the vehicle to be calibrated collected by the vehicle to be calibrated while driving on the target path. position in the radar coordinate system;
处理单元1002,用于在当前次调整中,根据待优化的外参值,以及根据IMU坐标系与参考坐标系的第二相对转换关系,得到激光雷达坐标系与参考坐标系的第四相对转换关系,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系,所述IMU坐标系与参考坐标系的第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置和姿态获得的;根据所述激光雷达坐标系与所述参考坐标系的第四相对转换关系,将所述第一点云数据从所述激光雷达坐标系转换到所述参考坐标系得到第二点云数据;以及,根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。The processing unit 1002 is used for obtaining the fourth relative transformation between the lidar coordinate system and the reference coordinate system according to the external parameter value to be optimized and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system in the current adjustment The external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is Obtained according to the position and attitude of the to-be-calibrated vehicle collected by the IMU when the to-be-calibrated vehicle is traveling on the target path; based on the fourth relative transformation between the lidar coordinate system and the reference coordinate system relationship, converting the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data; and, according to the second point cloud data, determining the current adjustment to be optimized When the external parameter value of the laser radar travels to different positions and collects the same feature in the IMU coordinate system in the same position or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target. The external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the external parameter value to be optimized in the next adjustment.
基于相同的技术构思,本申请还提供了一种激光雷达与IMU的外参标定装置,所述标定装置1100可以实现图5-图9所示的标定方法中的标定装置的功能。参阅图11所示,标定装置1100包括:收发器1101、处理器1102以及存储器1103。其中,所述收发器1101、所述处理器1102以及所述存储器1103之间相互连接。示例性的,处理器1102可以用于执行图5-图9所示的任一实施例中由标定装置所执行的除了获取操作之外的全部操作。Based on the same technical concept, the present application also provides an external parameter calibration device for lidar and IMU. The calibration device 1100 can implement the functions of the calibration device in the calibration methods shown in FIGS. 5-9 . Referring to FIG. 11 , the calibration apparatus 1100 includes: a transceiver 1101 , a processor 1102 and a memory 1103 . The transceiver 1101 , the processor 1102 and the memory 1103 are connected to each other. Exemplarily, the processor 1102 may be configured to perform all the operations performed by the calibration apparatus in any of the embodiments shown in FIG. 5 to FIG. 9 except for the acquisition operation.
示例性的,所述收发器1101、所述处理器1102以及所述存储器1103之间通过总线1104相互连接。所述总线1104可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Exemplarily, the transceiver 1101 , the processor 1102 and the memory 1103 are connected to each other through a bus 1104 . The bus 1104 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 11, but it does not mean that there is only one bus or one type of bus.
所述收发器1101,用于接收和发送数据,实现与其他设备之间的通信交互。The transceiver 1101 is used to receive and transmit data, and implement communication interaction with other devices.
可以理解,本申请图11中的存储器可以是易失性存储器或非易失性存储器,或可包括 易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that the memory in Figure 11 of the present application may be either volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
基于以上实施例,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行图5-图9所示的实施例提供的标定方法。Based on the above embodiments, the embodiments of the present application further provide a computer program, when the computer program runs on a computer, the computer causes the computer to execute the calibration methods provided by the embodiments shown in FIGS. 5-9 .
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行图5-图9所示的实施例提供的标定方法。其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。Based on the above embodiments, the embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the programs shown in FIGS. 5-9 . The calibration method provided by the illustrated embodiment. The storage medium may be any available medium that the computer can access. By way of example and not limitation, computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer.
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现图5-图9所示的实施例提供的标定方法。Based on the above embodiments, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory, and implement the calibration method provided by the embodiments shown in FIG. 5 to FIG. 9 .
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现图5-图9所示的实施例中标定装置所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiments of the present application provide a chip system, where the chip system includes a processor for supporting a computer device to implement the functions involved in the calibration device in the embodiments shown in FIGS. 5-9 . In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system may be composed of chips, or may include chips and other discrete devices.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (31)

  1. 一种激光雷达与惯性导航单元IMU的外参标定方法,应用于标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:A method for calibrating external parameters of a laser radar and an inertial navigation unit IMU, which is applied to a calibration device, wherein the laser radar and the IMU are both fixedly installed on the vehicle to be calibrated, comprising:
    获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;Obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
    在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;In the current adjustment, according to the external parameter value to be optimized, the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
    根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据;所述第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的待标定车辆的位置和姿态获得的;According to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted into the reference coordinate system to obtain third point cloud data; the second relative transformation relationship is based on Obtained from the position and attitude of the vehicle to be calibrated collected by the IMU when the vehicle to be calibrated travels on the target path;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies When the preset conditions are used, the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment. Optimized extrinsic parameter values.
  2. 如权利要求1所述的方法,其特征在于,所述第一点云数据是所述激光雷达在N个第一采集时刻采集的,获取所述IMU坐标系与所述参考坐标系的第二相对转换关系,包括:The method of claim 1, wherein the first point cloud data is collected by the lidar at N first collection moments, and a second difference between the IMU coordinate system and the reference coordinate system is obtained. Relative conversion relationships, including:
    获取所述IMU在M个第二采集时刻采集的测量数据,所述测量数据包括所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的线加速度和角速度;Acquiring measurement data collected by the IMU at M second collection moments, the measurement data including the linear acceleration and angular velocity of the vehicle to be calibrated collected by the IMU while the vehicle to be calibrated is traveling on the target path ;
    根据所述测量数据,得到分别在M个第二采集时刻的第二相对转换关系,所述第二采集时刻的第二相对转换关系用于表征在所述第二采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系。According to the measurement data, second relative conversion relationships at M second collection moments are obtained respectively, and the second relative conversion relationships at the second collection moments are used to represent the IMU coordinate system at the second collection moment The relative transformation relationship with the reference coordinate system.
  3. 如权利要求2所述的方法,其特征在于,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据,包括:The method according to claim 2, wherein, according to a second relative conversion relationship between the IMU coordinate system and the reference coordinate system, converting the second point cloud data to the reference coordinate system to obtain a third Point cloud data, including:
    根据分别在M个第二采集时刻的第二相对转换关系,获得分别在所述N个第一采集时刻的第三相对转换关系,所述第一采集时刻的第三相对转换关系用于表征在所述第一采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系;According to the second relative conversion relationships at the M second collection moments, respectively, third relative conversion relationships at the N first collection moments are obtained, and the third relative conversion relationships at the first collection moments are used to represent the at the first acquisition moment, the relative transformation relationship between the IMU coordinate system and the reference coordinate system;
    根据第i个第一采集时刻的第三相对转换关系,分别将第i个第一采集时刻的第二点云数据,转换到所述参考坐标系,得到第i个第一采集时刻的点云数据,i取遍小于或者等于N的正整数,以得到N个第一采集时刻的点云数据构成所述第三点云数据。According to the third relative conversion relationship at the ith first collection moment, the second point cloud data at the ith first collection moment are respectively converted to the reference coordinate system to obtain the point cloud at the ith first collection moment For data, i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data at the first collection moment to form the third point cloud data.
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The method according to any one of claims 1-3, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies a preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  5. 如权利要求1-3任一项所述的方法,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The method according to any one of claims 1-3, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser The same feature collected by the radar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  6. 如权利要求1-3任一项所述的方法,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The method according to any one of claims 1-3, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The position in the reference coordinate system is the same or the position difference satisfies the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  7. 如权利要求1-3任一项所述的方法,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The method according to any one of claims 1-3, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件,包括:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment If the difference between the external parameter values to be optimized is smaller than the third threshold, the external parameter value to be optimized used for the current adjustment is determined so that the same feature collected by the lidar travels to different positions at the reference coordinates The positions in the system are the same or the position difference meets the preset conditions;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  8. 如权利要求1-7任一项所述的方法,其特征在于,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据,包括:The method according to any one of claims 1-7, wherein the second point cloud data is converted to the reference according to a second relative conversion relationship between the IMU coordinate system and the reference coordinate system The coordinate system gets the third point cloud data, including:
    根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据从 所述IMU坐标系转换为所述参考坐标系,得到第四点云数据;According to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain the fourth point cloud data;
    将运动补偿后的第四点云数据作为所述第三点云数据,所述运动补偿后的第四点云数据是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置、姿态和速度进行的运动补偿。The fourth point cloud data after motion compensation is used as the third point cloud data, and the fourth point cloud data after motion compensation is collected by the IMU according to the process of the vehicle to be calibrated driving on the target path motion compensation for the position, attitude and speed of the vehicle to be calibrated.
  9. 一种激光雷达与IMU的外参标定方法,应用于标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:A method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device, wherein the laser radar and the IMU are both fixedly installed on the vehicle to be calibrated, including:
    获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;Obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
    在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;In the current adjustment, according to the external parameter value to be optimized, the first point cloud data is converted from the lidar coordinate system to the IMU coordinate system to obtain the second point cloud data, and the external parameter value to be optimized uses for indicating a first relative transformation relationship between the lidar coordinate system and the IMU coordinate system;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies When the preset conditions are used, the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment. Optimized extrinsic parameter values.
  10. 如权利要求9所述的方法,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The method according to claim 9, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies a preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  11. 如权利要求9所述的方法,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The method according to claim 9, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser The same feature collected by the radar traveling to different positions has the same position in the IMU coordinate system or the position difference meets the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  12. 如权利要求9所述的方法,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The method according to claim 9, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预 设条件,包括:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The position in the IMU coordinate system is the same or the position difference meets the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  13. 如权利要求9所述的方法,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The method according to claim 9, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件,包括:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Preset conditions, including:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment If the difference between the values of the external parameters to be optimized is smaller than the third threshold, the external parameter values to be optimized used in the current adjustment are determined so that the same feature collected by the lidar travels to different positions at the coordinates of the IMU The positions in the system are the same or the position difference meets the preset conditions;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  14. 一种激光雷达与IMU的外参标定方法,应用于标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:A method for calibrating external parameters of a laser radar and an IMU, which is applied to a calibration device, characterized in that both the laser radar and the IMU are fixedly installed on a vehicle to be calibrated, comprising:
    获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;Obtain the first point cloud data collected by the lidar, where the first point cloud data is used to represent the position in the lidar coordinate system of the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path ;
    在当前次调整中,根据待优化的外参值,以及根据IMU坐标系与参考坐标系的第二相对转换关系,得到激光雷达坐标系与参考坐标系的第四相对转换关系,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系,所述IMU坐标系与参考坐标系的第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置和姿态获得的;In the current adjustment, according to the external parameter value to be optimized, and according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the fourth relative transformation relationship between the lidar coordinate system and the reference coordinate system is obtained. The external parameter value of is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is based on the vehicle to be calibrated Obtained from the position and attitude of the vehicle to be calibrated collected by the IMU while driving on the target path;
    根据所述激光雷达坐标系与所述参考坐标系的第四相对转换关系,将所述第一点云数据从所述激光雷达坐标系转换到所述参考坐标系得到第二点云数据;converting the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data according to the fourth relative conversion relationship between the lidar coordinate system and the reference coordinate system;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies When the preset conditions are used, the current external parameter value to be optimized is used as the target external parameter value; otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used as the target external parameter value in the next adjustment. Optimized extrinsic parameter values.
  15. 一种激光雷达与惯性导航单元IMU的外参标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:An external parameter calibration device for lidar and inertial navigation unit IMU, characterized in that both the lidar and the IMU are fixedly installed on the vehicle to be calibrated, comprising:
    通信单元,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;A communication unit, configured to acquire the first point cloud data collected by the lidar, where the first point cloud data is used to represent that the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path are in the lidar position in the coordinate system;
    处理单元,用于在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据;所述第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的待标定车辆的位置和姿态获得的;以及,根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。a processing unit, configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter values to be optimized in the current adjustment to obtain second point cloud data, the to-be-optimized The external parameter value of is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system; according to the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the The second point cloud data is converted to the reference coordinate system to obtain third point cloud data; the second relative conversion relationship is based on the vehicle to be calibrated collected by the IMU during the process of the vehicle to be calibrated driving on the target path and, according to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment so that the same feature collected by the lidar traveling to different positions is at the reference coordinate When the positions in the system are the same or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target external parameter value, otherwise, the external parameter value to be optimized is adjusted, and the adjusted external parameter value is used. The parameter value is used as the external parameter value to be optimized in the next adjustment.
  16. 如权利要求15所述的装置,其特征在于,所述第一点云数据是所述激光雷达在N个第一采集时刻采集的,所述通信单元还用于获取所述IMU在M个第二采集时刻采集的测量数据,所述测量数据包括所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的线加速度和角速度;The apparatus according to claim 15, wherein the first point cloud data is collected by the lidar at N first collection moments, and the communication unit is further configured to obtain the IMU at M first collection moments. 2. Measurement data collected at the time of collection, where the measurement data includes the linear acceleration and angular velocity of the vehicle to be calibrated collected by the IMU while the vehicle to be calibrated is traveling on the target path;
    获取所述IMU坐标系与所述参考坐标系的第二相对转换关系时,所述处理单元用于:When acquiring the second relative transformation relationship between the IMU coordinate system and the reference coordinate system, the processing unit is configured to:
    根据所述测量数据,得到分别在M个第二采集时刻的第二相对转换关系,所述第二采集时刻的第二相对转换关系用于表征在所述第二采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系。According to the measurement data, second relative conversion relationships at M second collection moments are obtained respectively, and the second relative conversion relationships at the second collection moments are used to represent the IMU coordinate system at the second collection moment The relative transformation relationship with the reference coordinate system.
  17. 如权利要求16所述的装置,其特征在于,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据时,所述处理单元用于:The device according to claim 16, wherein, according to a second relative transformation relationship between the IMU coordinate system and the reference coordinate system, converting the second point cloud data to the reference coordinate system to obtain a third When processing point cloud data, the processing unit is used to:
    根据分别在M个第二采集时刻的第二相对转换关系,获得分别在所述N个第一采集时刻的第三相对转换关系,所述第一采集时刻的第三相对转换关系用于表征在所述第一采集时刻,所述IMU坐标系与所述参考坐标系之间的相对转换关系;According to the second relative conversion relationships at the M second collection moments, respectively, third relative conversion relationships at the N first collection moments are obtained, and the third relative conversion relationships at the first collection moments are used to represent the at the first acquisition moment, the relative transformation relationship between the IMU coordinate system and the reference coordinate system;
    根据第i个第一采集时刻的第三相对转换关系,分别将第i个第一采集时刻的第二点云数据,转换到所述参考坐标系,得到第i个第一采集时刻的点云数据,i取遍小于或者等于N的正整数,以得到N个第一采集时刻的点云数据构成所述第三点云数据。According to the third relative conversion relationship at the ith first collection moment, the second point cloud data at the ith first collection moment are respectively converted to the reference coordinate system to obtain the point cloud at the ith first collection moment For data, i is taken as a positive integer less than or equal to N, so as to obtain N point cloud data at the first collection moment to form the third point cloud data.
  18. 如权利要求15-17任一项所述的装置,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The device according to any one of claims 15-17, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies a preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  19. 如权利要求15-17任一项所述的装置,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The device according to any one of claims 15-17, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is smaller than the second threshold, then determine the external parameter value to be optimized used in the current adjustment so that the laser The same feature collected by the radar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  20. 如权利要求15-17任一项所述的装置,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The device according to any one of claims 15-17, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the third point cloud data, the external parameter values to be optimized for the current adjustment are determined so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The position in the reference coordinate system is the same or the position difference satisfies the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  21. 如权利要求15-17任一项所述的装置,其特征在于,所述第三点云数据用于表征X个特征物在所述参考坐标系的三维坐标,X为正整数;The device according to any one of claims 15-17, wherein the third point cloud data is used to represent the three-dimensional coordinates of X features in the reference coordinate system, and X is a positive integer;
    根据所述第三点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the third point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the reference coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述参考坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the last adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the last adjustment If the difference between the values of the external parameters to be optimized is smaller than the third threshold, the external parameter values to be optimized used in the current adjustment are determined so that the same feature collected by the lidar travels to different positions at the reference coordinates The positions in the system are the same or the position difference meets the preset conditions;
    其中,第一特征物的误差参数为第一特征物在所述参考坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the reference coordinate system, and the first feature is any one of the X features .
  22. 如权利要求15-21任一项所述的装置,其特征在于,根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据转换到所述参考坐标系得到第三点云数据时,所述处理单元用于:The apparatus according to any one of claims 15-21, wherein the second point cloud data is converted to the reference according to a second relative conversion relationship between the IMU coordinate system and the reference coordinate system When the coordinate system obtains the third point cloud data, the processing unit is used for:
    根据所述IMU坐标系与所述参考坐标系的第二相对转换关系,将所述第二点云数据从所述IMU坐标系转换为所述参考坐标系,得到第四点云数据;According to the second relative conversion relationship between the IMU coordinate system and the reference coordinate system, the second point cloud data is converted from the IMU coordinate system to the reference coordinate system to obtain fourth point cloud data;
    将运动补偿后的第四点云数据作为所述第三点云数据,所述运动补偿后的第四点云数据是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置、姿态和速度进行的运动补偿。The fourth point cloud data after motion compensation is used as the third point cloud data, and the fourth point cloud data after motion compensation is collected by the IMU according to the process of the vehicle to be calibrated driving on the target path motion compensation for the position, attitude and speed of the vehicle to be calibrated.
  23. 一种激光雷达与IMU的外参标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:An external parameter calibration device for lidar and IMU, characterized in that both the lidar and the IMU are fixedly installed on the vehicle to be calibrated, including:
    通信单元,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;A communication unit, configured to acquire the first point cloud data collected by the lidar, where the first point cloud data is used to represent that the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path are in the lidar position in the coordinate system;
    处理单元,用于在当前次调整中,根据待优化的外参值,将所述第一点云数据从所述激光雷达坐标系转换为IMU坐标系得到第二点云数据,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系;以及,根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。a processing unit, configured to convert the first point cloud data from the lidar coordinate system to the IMU coordinate system according to the external parameter values to be optimized in the current adjustment to obtain second point cloud data, the to-be-optimized The extrinsic parameter value is used to indicate the first relative conversion relationship between the lidar coordinate system and the IMU coordinate system; and, according to the second point cloud data, determine the extrinsic parameter to be optimized used for the current adjustment When the position of the same feature collected by the lidar at different positions is the same in the IMU coordinate system or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target external parameter value. , otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  24. 如权利要求23所述的装置,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The device according to claim 23, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies a preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  25. 如权利要求24所述的装置,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The apparatus according to claim 24, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之和的差值小于第一门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, the external parameter value to be optimized used in the current adjustment is determined such that The same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies a preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  26. 如权利要求24所述的装置,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The apparatus according to claim 24, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数之和与上一次调整中X个特征物的误差参数之 和的差值小于第一门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the sum of the error parameters of the X features in the current adjustment and the sum of the error parameters of the X features in the previous adjustment is less than the first threshold, and the external parameter value to be optimized used in the current adjustment is the same as the above The difference between the external parameter values to be optimized used in one adjustment is smaller than the third threshold, and the external parameter value to be optimized used in the current adjustment is determined so that the same feature collected by the lidar traveling to different positions is at the location. The position in the IMU coordinate system is the same or the position difference meets the preset condition;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  27. 如权利要求24所述的装置,其特征在于,所述第二点云数据用于表征X个特征物在所述IMU坐标系的三维坐标,X为正整数;The apparatus according to claim 24, wherein the second point cloud data is used to represent the three-dimensional coordinates of X features in the IMU coordinate system, and X is a positive integer;
    根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,所述处理单元用于:According to the second point cloud data, determine the external parameter value to be optimized used for the current adjustment, so that the same feature collected by the lidar traveling to different positions has the same position in the IMU coordinate system or the position difference satisfies Under preset conditions, the processing unit is used to:
    若当前次调整中X个特征物的误差参数与上一次调整中X个特征物的误差参数的差值均小于第二门限,且当前次调整使用的待优化的外参值与上一次调整使用的待优化的外参值之间的差值小于第三门限,则确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件;If the difference between the error parameters of the X features in the current adjustment and the error parameters of the X features in the previous adjustment is less than the second threshold, and the value of the external parameter to be optimized used in the current adjustment is the same as the one used in the previous adjustment If the difference between the values of the external parameters to be optimized is smaller than the third threshold, the external parameter values to be optimized used in the current adjustment are determined so that the same feature collected by the lidar travels to different positions at the coordinates of the IMU The positions in the system are the same or the position difference meets the preset conditions;
    其中,第一特征物的误差参数为第一特征物在所述IMU坐标系的三个维度的坐标分别对应的方差之和,所述第一特征物为所述X个特征物中的任一个。The error parameter of the first feature is the sum of the variances corresponding to the coordinates of the first feature in the three dimensions of the IMU coordinate system, and the first feature is any one of the X features .
  28. 一种激光雷达与IMU的外参标定装置,其特征在于,所述激光雷达与所述IMU均固定安装于待标定车辆上,包括:An external parameter calibration device for lidar and IMU, characterized in that both the lidar and the IMU are fixedly installed on the vehicle to be calibrated, including:
    通信单元,用于获取激光雷达采集的第一点云数据,所述第一点云数据用于表征所述待标定车辆行驶在目标路径上采集的所述待标定车辆周围的特征物在激光雷达坐标系中的位置;A communication unit, configured to acquire the first point cloud data collected by the lidar, where the first point cloud data is used to represent that the features around the to-be-calibrated vehicle collected by the to-be-calibrated vehicle traveling on the target path are in the lidar position in the coordinate system;
    处理单元,用于在当前次调整中,根据待优化的外参值,以及根据IMU坐标系与参考坐标系的第二相对转换关系,得到激光雷达坐标系与参考坐标系的第四相对转换关系,所述待优化的外参值用于指示所述激光雷达坐标系和所述IMU坐标系之间的第一相对转换关系,所述IMU坐标系与参考坐标系的第二相对转换关系是根据所述待标定车辆行驶在所述目标路径的过程中所述IMU采集的所述待标定车辆的位置和姿态获得的;根据所述激光雷达坐标系与所述参考坐标系的第四相对转换关系,将所述第一点云数据从所述激光雷达坐标系转换到所述参考坐标系得到第二点云数据;以及,根据所述第二点云数据,确定当前次调整使用的待优化的外参值使得所述激光雷达行驶到不同的位置采集的同一特征物在所述IMU坐标系中的位置相同或者位置相差满足预设条件时,将当前次的待优化的外参值作为目标外参值,否则,对所述待优化的外参值进行调整,并将调整后的外参值作为下一次调整中的待优化的外参值。The processing unit is used for obtaining the fourth relative transformation relationship between the lidar coordinate system and the reference coordinate system according to the external parameter value to be optimized and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system in the current adjustment , the external parameter value to be optimized is used to indicate the first relative transformation relationship between the lidar coordinate system and the IMU coordinate system, and the second relative transformation relationship between the IMU coordinate system and the reference coordinate system is based on Obtained from the position and attitude of the vehicle to be calibrated collected by the IMU when the vehicle to be calibrated travels on the target path; according to the fourth relative transformation relationship between the lidar coordinate system and the reference coordinate system , converting the first point cloud data from the lidar coordinate system to the reference coordinate system to obtain second point cloud data; and, according to the second point cloud data, determine the to-be-optimized data used for the current adjustment When the external parameter value makes the same feature collected by the lidar traveling to different positions in the same position in the IMU coordinate system or the position difference meets the preset condition, the current external parameter value to be optimized is used as the target external parameter. parameter value, otherwise, adjust the external parameter value to be optimized, and use the adjusted external parameter value as the external parameter value to be optimized in the next adjustment.
  29. 一种标定装置,其特征在于,包括存储器和一个或多个处理器;其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述处理器执行时,使得所述标定装置执行如权利要求1-8中任一项所述的方法,或执行如权利要求9-13中任一项所述的方法,或执行如权利要求14所述的方法。A calibration device, characterized in that it includes a memory and one or more processors; wherein, the memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the processor When executing, the calibration device is made to execute the method according to any one of claims 1-8, or execute the method according to any one of claims 9-13, or execute the method according to claim 14. method.
  30. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在标定装置运行时,使得所述标定装置执行如权利要求1-8中任一项所述的方法,或执行如权 利要求9-13中任一项所述的方法,或执行如权利要求14所述的方法。A computer-readable storage medium, characterized by comprising computer instructions, when the computer instructions are executed in a calibration device, the calibration device is made to execute the method according to any one of claims 1-8, or to execute A method as claimed in any of claims 9-13, or performing a method as claimed in claim 14.
  31. 一种计算机程序产品,其特征在于,当所述计算机程序产品在处理器上运行时,使得处理器执行如权利要求1-8中任一项所述的方法,或执行如权利要求9-13中任一项所述的方法,或执行如权利要求14所述的方法。A computer program product, characterized in that, when the computer program product is run on a processor, the processor is caused to execute the method according to any one of claims 1-8, or to execute the method according to any one of claims 9-13 The method of any one of, or perform the method of claim 14 .
PCT/CN2021/132432 2020-12-16 2021-11-23 Method and apparatus for calibrating external parameter of laser radar and imu, and device WO2022127532A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011492455.1 2020-12-16
CN202011492455.1A CN114636993A (en) 2020-12-16 2020-12-16 External parameter calibration method, device and equipment for laser radar and IMU

Publications (1)

Publication Number Publication Date
WO2022127532A1 true WO2022127532A1 (en) 2022-06-23

Family

ID=81944508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132432 WO2022127532A1 (en) 2020-12-16 2021-11-23 Method and apparatus for calibrating external parameter of laser radar and imu, and device

Country Status (2)

Country Link
CN (1) CN114636993A (en)
WO (1) WO2022127532A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114897942A (en) * 2022-07-15 2022-08-12 深圳元戎启行科技有限公司 Point cloud map generation method and device and related storage medium
CN115435773A (en) * 2022-09-05 2022-12-06 北京远见知行科技有限公司 High-precision map collecting device for indoor parking lot
CN115512242A (en) * 2022-07-22 2022-12-23 北京微视威信息科技有限公司 Scene change detection method and flight device
CN116740197A (en) * 2023-08-11 2023-09-12 之江实验室 External parameter calibration method and device, storage medium and electronic equipment
CN116819469A (en) * 2023-08-28 2023-09-29 南京慧尔视智能科技有限公司 Multi-radar target position synchronization method, device, equipment and storage medium
CN117269939A (en) * 2023-10-25 2023-12-22 北京路凯智行科技有限公司 Parameter calibration system, method and storage medium for sensor
CN117706530A (en) * 2024-02-05 2024-03-15 中国科学院自动化研究所 Method and system for realizing multi-laser radar and integrated navigation calibration
CN117554937B (en) * 2024-01-08 2024-04-26 安徽中科星驰自动驾驶技术有限公司 Error-controllable laser radar and combined inertial navigation external parameter calibration method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116385550A (en) * 2022-12-16 2023-07-04 北京斯年智驾科技有限公司 External parameter calibration method, device, computing equipment, medium and vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710010A (en) * 2015-06-11 2018-02-16 奥托立夫开发公司 The misalignment estimation of vehicle radar system
US20180356825A1 (en) * 2017-06-13 2018-12-13 TuSimple UNDISTORTED RAW LiDAR SCANS AND STATIC POINT EXTRACTIONS METHOD FOR GROUND TRUTH STATIC SCENE SPARSE FLOW GENERATION
CN110837080A (en) * 2019-10-28 2020-02-25 武汉海云空间信息技术有限公司 Rapid calibration method of laser radar mobile measurement system
CN111044992A (en) * 2018-10-11 2020-04-21 百度(美国)有限责任公司 Automatic LIDAR calibration based on cross-validation for autonomous driving
CN111208492A (en) * 2018-11-21 2020-05-29 长沙智能驾驶研究院有限公司 Vehicle-mounted laser radar external parameter calibration method and device, computer equipment and storage medium
CN111650598A (en) * 2019-02-19 2020-09-11 北京京东尚科信息技术有限公司 External parameter calibration method and device for vehicle-mounted laser scanning system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107710010A (en) * 2015-06-11 2018-02-16 奥托立夫开发公司 The misalignment estimation of vehicle radar system
US20180356825A1 (en) * 2017-06-13 2018-12-13 TuSimple UNDISTORTED RAW LiDAR SCANS AND STATIC POINT EXTRACTIONS METHOD FOR GROUND TRUTH STATIC SCENE SPARSE FLOW GENERATION
CN111044992A (en) * 2018-10-11 2020-04-21 百度(美国)有限责任公司 Automatic LIDAR calibration based on cross-validation for autonomous driving
CN111208492A (en) * 2018-11-21 2020-05-29 长沙智能驾驶研究院有限公司 Vehicle-mounted laser radar external parameter calibration method and device, computer equipment and storage medium
CN111650598A (en) * 2019-02-19 2020-09-11 北京京东尚科信息技术有限公司 External parameter calibration method and device for vehicle-mounted laser scanning system
CN110837080A (en) * 2019-10-28 2020-02-25 武汉海云空间信息技术有限公司 Rapid calibration method of laser radar mobile measurement system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114897942B (en) * 2022-07-15 2022-10-28 深圳元戎启行科技有限公司 Point cloud map generation method and device and related storage medium
CN114897942A (en) * 2022-07-15 2022-08-12 深圳元戎启行科技有限公司 Point cloud map generation method and device and related storage medium
CN115512242A (en) * 2022-07-22 2022-12-23 北京微视威信息科技有限公司 Scene change detection method and flight device
CN115512242B (en) * 2022-07-22 2023-05-30 北京微视威信息科技有限公司 Scene change detection method and flight device
CN115435773A (en) * 2022-09-05 2022-12-06 北京远见知行科技有限公司 High-precision map collecting device for indoor parking lot
CN115435773B (en) * 2022-09-05 2024-04-05 北京远见知行科技有限公司 High-precision map acquisition device for indoor parking lot
CN116740197B (en) * 2023-08-11 2023-11-21 之江实验室 External parameter calibration method and device, storage medium and electronic equipment
CN116740197A (en) * 2023-08-11 2023-09-12 之江实验室 External parameter calibration method and device, storage medium and electronic equipment
CN116819469A (en) * 2023-08-28 2023-09-29 南京慧尔视智能科技有限公司 Multi-radar target position synchronization method, device, equipment and storage medium
CN116819469B (en) * 2023-08-28 2023-11-10 南京慧尔视智能科技有限公司 Multi-radar target position synchronization method, device, equipment and storage medium
CN117269939A (en) * 2023-10-25 2023-12-22 北京路凯智行科技有限公司 Parameter calibration system, method and storage medium for sensor
CN117269939B (en) * 2023-10-25 2024-03-26 北京路凯智行科技有限公司 Parameter calibration system, method and storage medium for sensor
CN117554937B (en) * 2024-01-08 2024-04-26 安徽中科星驰自动驾驶技术有限公司 Error-controllable laser radar and combined inertial navigation external parameter calibration method and system
CN117706530A (en) * 2024-02-05 2024-03-15 中国科学院自动化研究所 Method and system for realizing multi-laser radar and integrated navigation calibration

Also Published As

Publication number Publication date
CN114636993A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
WO2022127532A1 (en) Method and apparatus for calibrating external parameter of laser radar and imu, and device
CN109696663B (en) Vehicle-mounted three-dimensional laser radar calibration method and system
EP2990828B1 (en) Point cloud position data processing device, point cloud position data processing system, point cloud position data processing method, and program therefor
JP6880080B2 (en) Vehicle navigation system using attitude estimation based on point cloud
CN108921947B (en) Method, device, equipment, storage medium and acquisition entity for generating electronic map
CN110859044B (en) Integrated sensor calibration in natural scenes
CN108362295B (en) Vehicle path guiding apparatus and method
US10240934B2 (en) Method and system for determining a position relative to a digital map
EP3904908A1 (en) Method and system for map improvement using feedback from positioning based on radar and motion sensors
CN111007530B (en) Laser point cloud data processing method, device and system
US10996072B2 (en) Systems and methods for updating a high-definition map
JP6656886B2 (en) Information processing apparatus, control method, program, and storage medium
CN103424112A (en) Vision navigating method for movement carrier based on laser plane assistance
CN112455502B (en) Train positioning method and device based on laser radar
CN114444158B (en) Underground roadway deformation early warning method and system based on three-dimensional reconstruction
JP2022542289A (en) Mapping method, mapping device, electronic device, storage medium and computer program product
CN110873570A (en) Method and apparatus for sourcing location information, generating and updating a map representing a location
CN105783875A (en) Aerial photogrammetric system integrated with non-scanning laser radar and aerial photogrammetric method
CN113933818A (en) Method, device, storage medium and program product for calibrating laser radar external parameter
CN114526745A (en) Drawing establishing method and system for tightly-coupled laser radar and inertial odometer
CN110986888A (en) Aerial photography integrated method
CN102620745B (en) Airborne inertial measurement unite (IMU) collimation axis error calibration method
WO2020113425A1 (en) Systems and methods for constructing high-definition map
CN116399324A (en) Picture construction method and device, controller and unmanned vehicle
WO2022256976A1 (en) Method and system for constructing dense point cloud truth value data and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21905461

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21905461

Country of ref document: EP

Kind code of ref document: A1