Laser radar and positioning module joint calibration verification method and system

By collecting, processing, and aligning laser point cloud frame data with positioning module data, a path is constructed and SLAM mapping is performed. Target calibration parameters are solved using optimization algorithms, thus addressing the issues of low efficiency and low stability in the joint calibration of lidar and positioning modules in existing technologies, achieving efficient and accurate calibration verification.

CN117148326BActive Publication Date: 2026-11-24三一环境产业有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311266894.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-11-24
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

In existing technologies, the joint calibration of lidar and positioning modules is inefficient, unstable, and inaccurate, and there is a lack of effective joint calibration and verification methods.

Method used

By collecting laser point cloud frame data and positioning module data, distortion removal and time alignment are performed, data pairs are extracted, SLAM mapping and positioning are carried out, paths are constructed, deviations and effects are calculated, initial calibration parameters are adjusted, and target calibration parameters are solved using the k-nearest neighbor method and nonlinear least squares optimization for verification and updating.

Benefits of technology

This achievement enables efficient, accurate, and stable joint calibration and verification of the lidar and positioning module, improving the accuracy of calibration parameters and the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117148326B_ABST
    Figure CN117148326B_ABST
Patent Text Reader

Abstract

This invention relates to the field of autonomous driving technology, and provides a method and system for joint calibration and verification of LiDAR and positioning modules. The method includes: acquiring laser point cloud frame data and positioning module data; obtaining position data corresponding to the laser point cloud frame data based on laser SLAM mapping and positioning; forming a first path with a preset number of segments based on the position data; forming a second path with a preset number of segments based on the positioning module data; fine-tuning parameters using the first path formed by the position data and the second path formed by the positioning module data; calculating the changes in the initial calibration parameters during the adjustment process; verifying the changes in the calculated calibration parameters based on the relative positional relationship between lines; and finally determining whether the parameters need adjustment. This invention displays the performance of the calibration parameters through verification, and achieves efficient, accurate, and stable joint calibration and verification of LiDAR and positioning modules by comparing the changes in the calibration parameters through verification calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of autonomous driving technology, and in particular to a method and system for joint calibration and verification of lidar and positioning module. Background Technology

[0002] LiDAR and GNSS / INS positioning modules are crucial sensors in autonomous driving systems. Both can perform high-precision positioning and provide accurate vehicle pose information through fusion positioning. Precise calibration of the relative relationship between the LiDAR and positioning modules is a key factor for autonomous vehicles to perform laser SLAM mapping and point cloud matching localization. Joint calibration of the LiDAR and GNSS / INS positioning system is the foundation for fusing laser matching positioning results with GNSS / INS integrated navigation positioning results. This enables the unification of multi-sensor positioning results into a single coordinate system for joint positioning, such as... Figure 2 As shown.

[0003] Currently, there are two solutions for the joint calibration of LiDAR and positioning modules. One is to perform joint calibration of the LiDAR and positioning modules when the vehicle rolls off the production line, and then use these calibration parameters in subsequent mapping and positioning. The other is to start a real-time online system on the vehicle's computing platform to perform online detection of calibration parameters. Theoretically, this allows for real-time estimation of calibration parameters, improving the accuracy of mapping and positioning.

[0004] However, when performing joint calibration of the LiDAR and positioning module after the vehicle has rolled off the production line, sensor installation deviations can occur over time as the vehicle travels. A single joint calibration at the time of production cannot meet the requirements for long-term application and safety. If significant data anomalies occur, recalibration is necessary, which is unstable and inaccurate. Running a real-time online system on the vehicle's computing platform for joint calibration of the LiDAR and positioning module increases the platform's resource overhead, especially if deep learning-based online monitoring methods are used, significantly increasing the system's burden. Furthermore, online calibration is easily affected by various factors such as road conditions, tire pressure, and environmental conditions during vehicle operation, resulting in low efficiency and stability.

[0005] In summary, existing technologies for joint calibration of lidar and positioning modules suffer from low efficiency, low stability, and low accuracy, and lack the technology to simultaneously perform joint calibration and verification of lidar and positioning modules. Summary of the Invention

[0006] This invention provides a method and system for joint calibration and verification of lidar and positioning modules, which solves the defects of low efficiency, low stability and low accuracy in the joint calibration of lidar and positioning modules in the prior art, and realizes efficient, accurate and stable joint calibration and verification of lidar and positioning modules.

[0007] This invention provides a joint calibration and verification method for lidar and positioning modules, comprising:

[0008] S1: Acquire laser point cloud frame data and positioning module data;

[0009] S2: Perform distortion correction processing on the laser point cloud frame data; sample and / or interpolate the positioning module data to align it with the time of the distortion-corrected laser point cloud frame data;

[0010] S3: Extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data;

[0011] S4: Based on the initial calibration parameters, perform SLAM mapping and localization on the laser point cloud frame data in each data pair to obtain the location data corresponding to each laser point cloud frame data; construct a preset number of segmented location data pairs based on the localization module data and the location data corresponding to the laser point cloud frame data in each data pair.

[0012] S5: In each pair of location data, a first path with a preset number of segments is formed based on the location data, and a second path with a preset number of segments is formed based on the positioning module data;

[0013] S6: Obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path;

[0014] S7: Adjust the initial calibration parameters according to the deviation and effect;

[0015] S8: Calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module;

[0016] S9: Based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, the target calibration parameters are calibrated and verified to obtain the verification change amount. Based on the verification change amount, calibration verification judgment and calibration parameter update are performed.

[0017] According to the present invention, a joint calibration and verification method for a lidar and a positioning module is provided, wherein the relative pose calculation of the lines of the first path and the second path is performed to obtain the target calibration parameters of the current lidar and positioning module, specifically including:

[0018] Select a target point from the first path, find the nearest point to the target point on the second path using the k-nearest neighbor method, and find a neighboring point on the second path that has the smallest distance to the nearest point using the nearest point;

[0019] Based on the target point, the nearest point, and the neighboring points, construct a distance function from the target point to the straight line containing the nearest point and the neighboring points to obtain the target distance;

[0020] Based on the target distance, a nonlinear least squares optimization problem is constructed, and the nonlinear least squares optimization problem is solved using an optimization algorithm to obtain the target calibration parameters of the current lidar and positioning module.

[0021] According to the present invention, a joint calibration and verification method for a lidar and a positioning module is provided, wherein the target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change, specifically including:

[0022]

[0023] Among them, mat relative Indicates the amount of change verified; for mat lidar_to_gnss The inverse operation of mat; lidar_to_gnss Indicates the initial calibration parameters; mat lidar_to_gnss_new Indicates the target calibration parameters.

[0024] According to the present invention, a joint calibration and verification method for a lidar and a positioning module is provided, wherein the calibration and verification judgment and calibration parameter update are performed based on the verification change, specifically including:

[0025] Extract relative translation data and relative rotation data from the verified changes;

[0026] The relative translation data and the relative rotation data are compared with preset thresholds to determine the changes in the initial calibration parameters;

[0027] If the relative translation data and the relative rotation data are greater than the preset threshold, the calibration parameters need to be updated and the target calibration parameters need to be deployed.

[0028] According to the present invention, a joint calibration and verification method for lidar and positioning module is provided, wherein the distance function includes:

[0029]

[0030] Where, d ε Represents the distance function; Indicate the target point; Indicates the nearest point; express The adjacent points.

[0031] According to the present invention, a joint calibration and verification method for lidar and positioning module is provided, wherein the nonlinear least squares optimization problem includes:

[0032]

[0033] Where, x i1 f represents the target distance from the point to the line calculated using the distance function; i (·) denotes the cost function constructed; ρ i Denotes the loss function; m x This represents the calculation of the target distance x that minimizes the loss function.

[0034] According to the present invention, a joint calibration and verification method for a lidar and a positioning module is provided, wherein adjusting the initial calibration parameters based on the deviation and effect specifically includes:

[0035] If the deviation is greater than the preset deviation value, the initial calibration parameters are adjusted according to the deviation and the effect.

[0036] Use the adjusted initial calibration parameters as the new initial calibration parameters, and repeat steps S4-S7 until the deviation between the initial calibration parameters and the actual calibration parameters is less than the preset deviation value.

[0037] The present invention also provides a joint calibration and verification system for lidar and positioning modules, comprising:

[0038] The acquisition module is used to acquire laser point cloud frame data and positioning module data;

[0039] An alignment module is used to perform distortion correction processing on the laser point cloud frame data; and to sample and / or interpolate the positioning module data to align it with the time of the distortion-corrected laser point cloud frame data.

[0040] An extraction module is used to extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data.

[0041] The location module is used to perform SLAM mapping and localization on the laser point cloud frame data in each data pair according to the initial calibration parameters, so as to obtain the location data corresponding to each laser point cloud frame data; and to construct a preset number of location data pairs based on the location module data in each data pair and the location data corresponding to the laser point cloud frame data.

[0042] The path module is used to form a first path of a preset number of segments based on the location data in each pair of location data, and to form a second path of a preset number of segments based on the positioning module data.

[0043] The display module is used to obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path;

[0044] An adjustment module is used to adjust the initial calibration parameters based on the deviation and the effect.

[0045] The verification module is used to calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module;

[0046] The calibration module is used to perform calibration verification on the target calibration parameters according to the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, obtain the verification change amount, and perform calibration verification judgment and calibration parameter update based on the verification change amount.

[0047] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the joint calibration and verification method of the lidar and positioning module as described above.

[0048] The present invention also provides a vehicle, including a joint calibration and verification system for lidar and positioning modules as described above, or an electronic device as described above.

[0049] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the joint calibration and verification method of lidar and positioning module as described above.

[0050] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the joint calibration and verification method of lidar and positioning module as described above.

[0051] This invention provides a joint calibration and verification method and system for lidar and positioning modules. The method comprises: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the location data corresponding to each lidar point cloud frame data; and constructing a preset number of location data pairs based on the positioning module data and the location data corresponding to the lidar point cloud frame data in each data pair.

[0052] S5: In each pair of location data, a first path of a preset number of segments is formed based on the location data, and a second path of a preset number of segments is formed based on the positioning module data; S6: The deviation and effect between the initial calibration parameters and the actual calibration parameters are obtained based on the display results of the first path and the second path; S7: The initial calibration parameters are adjusted based on the deviation and effect; S8: The change value of the initial calibration parameters during the adjustment process is calculated; the relative pose calculation of the lines of the first path and the second path is constructed to obtain the target calibration parameters of the current lidar and positioning module; S9: The target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change amount, and calibration verification judgment and calibration parameter update are performed based on the verification change amount. This invention obtains the location data corresponding to the laser point cloud frame data based on laser SLAM mapping and positioning. It uses a first path composed of location data and a second path composed of positioning module data to fine-tune parameters. It verifies the changes in calibration parameters based on the relative positional relationship between lines and determines whether the parameters need adjustment. This invention displays the performance of calibration parameters in a verification manner. By comparing the changes in calibration parameters through verification calculation, it achieves efficient, accurate, and stable joint calibration and verification of laser radar and positioning module. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0054] Figure 1 This is a flowchart illustrating the joint calibration and verification method of lidar and positioning module provided by the present invention;

[0055] Figure 2 This is a schematic diagram of coordinate unification under joint calibration of lidar and positioning system in the prior art provided by the present invention;

[0056] Figure 3 A schematic diagram of the vehicle's driving route when collecting laser point cloud frames and positioning data, according to an embodiment of the joint calibration and verification method of lidar and positioning module provided by the present invention;

[0057] Figure 4 This is a schematic diagram illustrating the deviation between the initial calibration parameters and the current actual calibration parameters in an embodiment of the joint calibration and verification method for lidar and positioning module provided by the present invention.

[0058] Figure 5 This is a schematic diagram illustrating the effect of initial calibration parameters and current actual calibration parameters in an embodiment of the joint calibration and verification method for lidar and positioning module provided by the present invention.

[0059] Figure 6 This is a schematic diagram showing the positions of the target point, the nearest point, and the adjacent points in an embodiment of the joint calibration and verification method of lidar and positioning module provided by the present invention.

[0060] Figure 7 This is a schematic diagram of the structure of the joint calibration and verification system for lidar and positioning module provided by the present invention;

[0061] Figure 8 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0062] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0063] Existing technologies mostly focus on the joint calibration of lidar and positioning modules, with few case studies on the joint calibration and verification of lidar and positioning modules for autonomous vehicles. Therefore, this invention proposes a method and system for the joint calibration and verification of lidar and positioning modules.

[0064] The following is combined with Figures 1-6 The present invention describes the joint calibration and verification method of lidar and positioning module. Figure 1 This is a flowchart illustrating the joint calibration and verification method for lidar and positioning modules provided by the present invention, as shown below. Figure 1 As shown, the method includes:

[0065] It should be noted that steps 110-190 correspond to steps S1-S9.

[0066] Step 110: Collect laser point cloud frame data and positioning module data.

[0067] The data collected includes laser point cloud frame data and positioning module data. It's important to note that the laser point cloud frame data is obtained from the lidar, while the positioning module data is obtained from the positioning module. The lidar and positioning module are installed inside the vehicle. In some embodiments, the vehicle equipped with the lidar and positioning module drives 1-2 laps on a road with good features, or performs a figure-eight maneuver on flat ground with good features, to collect the laser point cloud frame data and positioning module data. The vehicle's driving route is as follows: Figure 3 As shown.

[0068] Step 120: Perform distortion correction processing on the laser point cloud frame data; sample and / or interpolate the positioning module data to align it with the time of the distortion-corrected laser point cloud frame data.

[0069] Specifically, distortion correction is performed on the laser point cloud frame, and the positioning module data is sampled and / or interpolated to align with the time of the laser point cloud frame. It is important to note that sampling and interpolation may be used individually or simultaneously, depending on the specific circumstances, to ensure that the sampling and / or interpolated positioning module data is time-aligned with the distortion-corrected laser point cloud frame data. In some embodiments, the positioning module data is simultaneously sampled and interpolated to align with the time of the distortion-corrected laser point cloud frame data.

[0070] Step 130: Extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data.

[0071] n data pairs are extracted from the aligned laser point cloud frames and localization module data, where n is a preset number. It should be noted that the initial portion of the (i+1)th data pair can overlap to some extent with the ith data pair. This data segmentation design in this embodiment reduces the error accumulation problem in continuous SLAM mapping and localization.

[0072] Step 140: Based on the initial calibration parameters, perform SLAM mapping and localization on the laser point cloud frame data in each data pair to obtain the location data corresponding to each laser point cloud frame data; construct a preset number of location data pairs based on the localization module data and the location data corresponding to the laser point cloud frame data in each data pair.

[0073] The initial calibration parameters are combined with n segments of laser point cloud data to perform SLAM mapping and localization on each segment of the laser point cloud data. This yields the position data corresponding to each frame of the point cloud. For ease of description, the initial calibration parameters are represented using mat. lidar_to_gnss This means that the pose (position data) of each frame of laser point cloud obtained by laser SLAM mapping and localization in each data pair is represented by the pose. l_i_j express.

[0074] Next, data pairs are constructed, aligning the pose (position data) of the localization module with the time of n laser point cloud frames. The position (localization module data) of the localization module is represented by the pose. g_i_j express.

[0075] Step 150: In each pair of location data, form a first path with a preset number of segments based on the location data, and form a second path with a preset number of segments based on the positioning module data.

[0076] The pose (position data) of n laser point cloud frames l_i_j We form n paths, and for easy distinction, we denote the first path as the first path. l_i This indicates that the n-segment positioning module pose (positioning module data) is represented as pase. g_i_j We form n paths, which, for easy distinction, are denoted as the second path, and denoted by path. g_i express.

[0077] In some embodiments, a data pair is constructed between a path (first path) composed of multiple laser SLAM mapping and positioning poses and a path (second path) composed of positioning module poses. This embodiment reduces the impact of accumulated errors in SLAM mapping and positioning by using multiple data segments, resulting in higher accuracy for the laser path.

[0078] Step 160: Obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path.

[0079] The first path l_i Second path g_i The results are displayed, and the deviation and effect between the initial calibration parameters and the current calibration parameters are compared based on the displayed results. In some embodiments, a Path display component is designed to display the first path. l_i Second path g_i This display provides better interactivity.

[0080] Furthermore, in one specific embodiment, the deviation between the initial calibration parameters and the current true calibration parameters is as follows: Figure 4As shown, the effect of the initial calibration parameters versus the current actual calibration parameters is as follows: Figure 5 As shown. It should be noted that, in Figure 4 In this context, roll represents the roll (fine-tuning) value of the laser-guided positioning module; x represents the x-axis (fine-tuning) value of the laser-guided positioning module; pitch represents the pitch (fine-tuning) value of the laser-guided positioning module; y represents the y-axis (fine-tuning) value of the laser-guided positioning module; yaw represents the yaw (fine-tuning) value of the laser-guided positioning module; and z represents the z-axis (fine-tuning) value of the laser-guided positioning module. Figure 5 In the diagram, the localization module Path (second path) is represented by a thin solid line. Different shapes are used for the laser SLAM Path (first path). Different shapes represent different data segments of n data segments.

[0081] Step 170: Adjust the initial calibration parameters according to the deviation and effect.

[0082] The initial calibration parameters with significant deviations are adjusted based on the discrepancy and effect between the initial calibration parameters and the actual calibration parameters. In some embodiments, the initial calibration parameters with significant deviations are adjusted through a parameter fine-tuning control module, providing better interactivity.

[0083] Furthermore, adjusting the initial calibration parameters based on the deviation and effect specifically includes:

[0084] If the deviation is greater than the preset deviation value, the initial calibration parameters are adjusted according to the deviation and the effect.

[0085] Use the adjusted initial calibration parameters as the new initial calibration parameters, and repeat steps S4-S7 until the deviation between the initial calibration parameters and the actual calibration parameters is less than the preset deviation value.

[0086] Specifically, for initial calibration parameters with significant deviations, the path formed by the laser SLAM mapping and positioning poses is recalculated and compared with the path formed by the positioning module poses in the display component until the initial calibration parameters no longer have significant deviations. In some embodiments, "significant deviation" means: such as Figure 5 As shown, if there is no significant deviation, the path formed by the positioning module poses (represented by solid lines) almost overlaps with the path formed by the SLAM mapping and positioning poses (represented by other symbols). If there is a significant deviation, the two path bundles will not overlap, and an offset will occur. It is important to note that... Figure 5 Different symbols are used to distinguish different segments of the entire path.

[0087] In the specific implementation process, thresholds are set for translational deviations along the x, y, and z axes, as well as thresholds for roll, pitch, and yaw. If the corresponding parameters do not exceed the thresholds, it is determined that there are no significant deviations. This embodiment uses the deviation and effect between the initial calibration parameters and the actual calibration parameters to display the accuracy of the initial calibration parameters, and uses a designed adjustment module (slider) to dynamically adjust the parameters for display and comparison.

[0088] Step 180: Calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module.

[0089] Next, verification calculations are performed to measure the changes in the initial calibration parameters. The relative poses of the lines in the constructed paths (first path) consisting of laser positioning poses (position data) and paths (second path) consisting of positioning module poses (position module data) are calculated to obtain the target calibration parameters for the current laser radar and positioning module. In some embodiments, algorithms such as Ceres are used to optimize and iteratively calculate the relative poses of the lines in the first and second paths to obtain the target calibration parameters for the current laser radar and positioning module. This embodiment uses the line relationship of the two constructed data pairs to calculate the current calibration parameters, resulting in higher calculation accuracy.

[0090] Step 190: Based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, perform calibration verification on the target calibration parameters to obtain the verification change amount, and perform calibration verification judgment and update the calibration parameters based on the verification change amount.

[0091] In some embodiments, the relative pose calculation of the lines constructing the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module specifically includes:

[0092] Select a target point from the first path, find the nearest point to the target point on the second path using the k-nearest neighbor method, and find a neighboring point on the second path that has the smallest distance to the nearest point using the nearest point;

[0093] Based on the target point, the nearest point, and the neighboring points, construct a distance function from the target point to the straight line containing the nearest point and the neighboring points to obtain the target distance;

[0094] Based on the target distance, a nonlinear least squares optimization problem is constructed, and the nonlinear least squares optimization problem is solved using an optimization algorithm to obtain the target calibration parameters of the current lidar and positioning module.

[0095] Specifically, for the first path of n laser point cloud frames... l_i and the second path of the positioning module g_i Establish the relative relationships between lines. (In the path) l_i Select a target point pose l_i_j Let's define point a. Find the corresponding path using the k-nearest neighbor method. h_i The closest point pose g_i_j Let's define point b as the nearest point c, i.e., the adjacent point, through point b. Figure 6 As shown. Construct a distance function from a point to a line.

[0096] Furthermore, the distance function from a point to a line is d. ε In some embodiments, the distance function includes:

[0097]

[0098] Where, d ε Represents the distance function; The target point is represented by the path in the laser point cloud frame. l_i Selected pose l_i_j ; The nearest point is the one found in the localization module path using the k-nearest neighbor method. g_i The nearest point online; express The adjacent points.

[0099] After constructing the distance function from a point to a line, a nonlinear least squares optimization problem is established. An optimization algorithm is then used to solve this problem. Through iterative optimization calculations, the updated calibration relationship, i.e., the target calibration parameters, is obtained. This is then calculated using mat... lidar_to_gnss_new This indicates that the verification calculation is complete.

[0100] In some embodiments, optimization algorithms such as Ceres or G2O are used to solve the above-mentioned nonlinear least squares optimization problem.

[0101] In some embodiments, the nonlinear least squares optimization problem includes:

[0102]

[0103] Where, x i1 This represents the target distance d from the point to the line, calculated using the distance function. ε ;f i (·) denotes the cost function to be constructed; p i Denotes the loss function; m x This represents the calculation of the target distance x that minimizes the loss function.

[0104] Further, after completing the verification calculation, calibration verification is performed, and the verification change is calculated based on the attitude transformation relationship. In some embodiments, the step of calibrating and verifying the target calibration parameters based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change specifically includes:

[0105]

[0106] Among them, mat relative Indicates the amount of change verified; for mat lidar_to_gnss The inverse operation of mat; lidar_to_gnss Indicates the initial calibration parameters; mat lidar_to_gnss_new Indicates the target calibration parameters.

[0107] Subsequently, in some embodiments, the step of performing calibration verification judgment and updating calibration parameters based on the verification change specifically includes:

[0108] Extract relative translation data and relative rotation data from the verified changes;

[0109] The relative translation data and the relative rotation data are compared with preset thresholds to determine the changes in the initial calibration parameters;

[0110] If the relative translation data and the relative rotation data are greater than the preset threshold, the calibration parameters need to be updated and the target calibration parameters need to be deployed.

[0111] Specifically, translation and rotation thresholds are set, respectively using x. d y d , z d , roll d_rad x d_rad x d_rad Indicated. From the verification change mat relative Extract relative translation and relative rotation data, and compare them with translation and rotation thresholds. Determine the initial vehicle's mat... lidar_to_gnss In light of changes, determine whether the calibration parameters need to be updated. If updates are required, deploy the target calibration parameters mat in the vehicle-side system. lidar_to_gnss_new .

[0112] Whether an update is needed is determined by three factors: 1) offset calculation; 2) yaw angle deviation; and 3) attitude angle deviation. Specifically, thresholds can be used for this determination. In one embodiment, the thresholds for x, y, and z-axis translational deviations are denoted by Δx, Δy, and Δz, respectively. The thresholds for roll, pitch, and yaw are denoted by Δroll, Δpitch, and Δyaw, respectively. The determination is based on three conditions: offset, yaw angle deviation, and roll and pitch deviations. An update is performed if any one of these conditions is met. The offset calculation is shown below:

[0113]

[0114] Let Δdiss represent the offset. For example, when Δdiss > 5cm, an update is required. The following shows the heading deviation calculation:

[0115] |Δyaw|>5deg

[0116] For example, an update is needed when Δyaw exceeds 5 degrees. The following shows the calculation of roll and pitch deviations:

[0117]

[0118] Δpos represents roll and pitch deviations. For example, when Δpos > 10deg, an update is required.

[0119] At this point, the calibration verification and calibration parameter update are complete. The joint calibration verification method of lidar and positioning system provided by this invention is used to verify and adjust the calibration parameters of unmanned vehicles. It can perform calibration verification as needed or in suitable scenarios, which is better than the engineering application of the prior art where recalibration is only performed when problems occur.

[0120] The present invention provides a joint calibration and verification method for lidar and positioning modules, comprising: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction processing on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the position data corresponding to each lidar point cloud frame data; constructing a preset number of position data pairs based on the positioning module data and the position data corresponding to the lidar point cloud frame data in each data pair; S5: in each of the position data pairs... According to the alignment, a first path with a preset number of segments is formed based on the location data, and a second path with a preset number of segments is formed based on the positioning module data; S6: The deviation and effect between the initial calibration parameters and the actual calibration parameters are obtained based on the display results of the first path and the second path; S7: The initial calibration parameters are adjusted based on the deviation and effect; S8: The change value of the initial calibration parameters during the adjustment process is calculated; The relative pose calculation of the lines of the first path and the second path is constructed to obtain the target calibration parameters of the current lidar and positioning module; S9: The target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change amount, and the calibration verification judgment and calibration parameter update are performed based on the verification change amount. This invention obtains the location data corresponding to the laser point cloud frame data based on laser SLAM mapping and positioning. It uses a first path composed of location data and a second path composed of positioning module data to fine-tune parameters. It verifies the changes in calibration parameters based on the relative positional relationship between lines and determines whether the parameters need adjustment. This invention displays the performance of calibration parameters in a verification manner. By comparing the changes in calibration parameters through verification calculation, it achieves efficient, accurate, and stable joint calibration and verification of laser radar and positioning module.

[0121] The following describes the joint calibration and verification system of lidar and positioning module provided by the present invention. The joint calibration and verification system of lidar and positioning module described below can be referred to in correspondence with the joint calibration and verification method of lidar and positioning module described above. Figure 7 This is a schematic diagram of the joint calibration and verification system for lidar and positioning modules provided by the present invention, as shown below. Figure 7 As shown, the system includes:

[0122] The acquisition module 710 is used to acquire laser point cloud frame data and positioning module data;

[0123] Alignment module 720 is used to perform distortion correction processing on the laser point cloud frame data; and to sample and / or interpolate the positioning module data to align it with the time of the distortion-corrected laser point cloud frame data.

[0124] Extraction module 730 is used to extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data;

[0125] The location module 740 is used to perform SLAM mapping and localization on the laser point cloud frame data in each data pair according to the initial calibration parameters, so as to obtain the location data corresponding to each laser point cloud frame data; and to construct a preset number of location data pairs based on the location module data in each data pair and the location data corresponding to the laser point cloud frame data.

[0126] The path module 750 is used to form a first path of a preset number of segments based on the location data in each pair of location data, and to form a second path of a preset number of segments based on the positioning module data.

[0127] Display module 760 is used to obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path;

[0128] The adjustment module 770 is used to adjust the initial calibration parameters according to the deviation and the effect.

[0129] The verification module 780 is used to calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module;

[0130] The calibration module 790 is used to perform calibration verification on the target calibration parameters according to the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, obtain the verification change amount, and perform calibration verification judgment and calibration parameter update based on the verification change amount.

[0131] In some embodiments, the verification module 780 specifically includes:

[0132] Select a target point from the first path, find the nearest point to the target point on the second path using the k-nearest neighbor method, and find a neighboring point on the second path that has the smallest distance to the nearest point using the nearest point;

[0133] Based on the target point, the nearest point, and the neighboring points, construct a distance function from the target point to the straight line containing the nearest point and the neighboring points to obtain the target distance;

[0134] Based on the target distance, a nonlinear least squares optimization problem is constructed, and the nonlinear least squares optimization problem is solved using an optimization algorithm to obtain the target calibration parameters of the current lidar and positioning module.

[0135] In some embodiments, the calibration module 790 specifically includes:

[0136]

[0137] Among them, mat relative Indicates the amount of change verified; for mat lidar_to_gnss The inverse operation of mat; lidar_to_gnss Indicates the initial calibration parameters; mat lidar_to_gnssnew Indicates the target calibration parameters.

[0138] In some embodiments, the calibration module 790 further includes:

[0139] Extract relative translation data and relative rotation data from the verified changes;

[0140] The relative translation data and the relative rotation data are compared with preset thresholds to determine the changes in the initial calibration parameters;

[0141] If the relative translation data and the relative rotation data are greater than the preset threshold, the calibration parameters need to be updated and the target calibration parameters need to be deployed.

[0142] In some embodiments, the distance function includes:

[0143]

[0144] Where, d ε Represents the distance function; Indicate the target point; Indicates the nearest point; express The adjacent points.

[0145] In some embodiments, the nonlinear least squares optimization problem includes:

[0146]

[0147] Where, x i1 f represents the target distance from the point to the line calculated using the distance function; i (·) denotes the cost function constructed; ρ i Denotes the loss function; m x This represents the calculation of the target distance x that minimizes the loss function.

[0148] In some embodiments, the adjustment module 770 specifically includes:

[0149] If the deviation is greater than the preset deviation value, the initial calibration parameters are adjusted according to the deviation and the effect.

[0150] Use the adjusted initial calibration parameters as the new initial calibration parameters, and repeat steps S4-S7 until the deviation between the initial calibration parameters and the actual calibration parameters is less than the preset deviation value.

[0151] The lidar and positioning module joint calibration and verification system provided by this invention comprises the following steps: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction processing on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the position data corresponding to each lidar point cloud frame data; constructing a preset number of position data pairs based on the positioning module data and the position data corresponding to the lidar point cloud frame data in each data pair; S5: calculating the position data pairs in each of the position data pairs... According to the alignment, a first path with a preset number of segments is formed based on the location data, and a second path with a preset number of segments is formed based on the positioning module data; S6: The deviation and effect between the initial calibration parameters and the actual calibration parameters are obtained based on the display results of the first path and the second path; S7: The initial calibration parameters are adjusted based on the deviation and effect; S8: The change value of the initial calibration parameters during the adjustment process is calculated; The relative pose calculation of the lines of the first path and the second path is constructed to obtain the target calibration parameters of the current lidar and positioning module; S9: The target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change amount, and the calibration verification judgment and calibration parameter update are performed based on the verification change amount. This invention obtains the location data corresponding to the laser point cloud frame data based on laser SLAM mapping and positioning. It uses a first path composed of location data and a second path composed of positioning module data to fine-tune parameters. It verifies the changes in calibration parameters based on the relative positional relationship between lines and determines whether the parameters need adjustment. This invention displays the performance of calibration parameters in a verification manner. By comparing the changes in calibration parameters through verification calculation, it achieves efficient, accurate, and stable joint calibration and verification of laser radar and positioning module.

[0152] Figure 8 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 8As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call logic instructions in the memory 830 to execute a joint calibration and verification method for the lidar and positioning module. This method includes: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction processing on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the location data corresponding to each lidar point cloud frame data; and constructing a preset number of location data pairs based on the positioning module data and the location data corresponding to the lidar point cloud frame data in each data pair. S5: In each pair of location data, a first path of a preset number of segments is formed based on the location data, and a second path of a preset number of segments is formed based on the positioning module data; S6: The deviation and effect between the initial calibration parameters and the actual calibration parameters are obtained based on the display results of the first path and the second path; S7: The initial calibration parameters are adjusted based on the deviation and effect; S8: The change value of the initial calibration parameters during the adjustment process is calculated; the relative pose calculation of the lines of the first path and the second path is constructed to obtain the target calibration parameters of the current lidar and positioning module; S9: The target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change amount, and calibration verification judgment and calibration parameter update are performed based on the verification change amount.

[0153] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0154] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the joint calibration and verification method for lidar and positioning modules provided by the above methods. The method includes: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction processing on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the position data corresponding to each lidar point cloud frame data; and based on the positioning module data in each data pair... S5: Construct a preset number of position data pairs from the position data corresponding to the laser point cloud frame data; S6: In each position data pair, form a preset number of first paths based on the position data, and form a preset number of second paths based on the positioning module data; S7: Obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path; S8: Adjust the initial calibration parameters based on the deviation and effect; S9: Calculate the change value of the initial calibration parameters during the adjustment process; Construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current laser radar and positioning module; S0: Perform calibration verification on the target calibration parameters based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, obtain the verification change amount, and perform calibration verification judgment and calibration parameter update based on the verification change amount.

[0155] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the joint calibration and verification method for lidar and positioning modules provided by the above methods. The method includes: S1: acquiring lidar point cloud frame data and positioning module data; S2: performing distortion correction processing on the lidar point cloud frame data; sampling and / or interpolating the positioning module data to align it with the time of the distortion-corrected lidar point cloud frame data; S3: extracting a preset number of data pairs from the aligned lidar point cloud frame data and positioning module data; S4: performing SLAM mapping and positioning on the lidar point cloud frame data in each data pair according to initial calibration parameters to obtain the position data corresponding to each lidar point cloud frame data; and based on the positioning module data and the lidar point cloud frame data corresponding to each data pair... S5: In each location data pair, a first path of a preset number of segments is formed based on the location data, and a second path of a preset number of segments is formed based on the positioning module data; S6: The deviation and effect between the initial calibration parameters and the actual calibration parameters are obtained based on the display results of the first path and the second path; S7: The initial calibration parameters are adjusted based on the deviation and effect; S8: The change value of the initial calibration parameters during the adjustment process is calculated; The relative pose calculation of the lines of the first path and the second path is constructed to obtain the target calibration parameters of the current lidar and positioning module; S9: The target calibration parameters are calibrated and verified based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change amount, and the calibration verification judgment and calibration parameter update are performed based on the verification change amount.

[0156] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0157] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for joint calibration and verification of a laser radar and a positioning module, characterized in that, include: S1: Acquire laser point cloud frame data and positioning module data; S2: Perform distortion correction processing on the laser point cloud frame data; The positioning module data is sampled and / or interpolated to align it with the time of the laser point cloud frame data after distortion correction. S3: Extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data; S4: Based on the initial calibration parameters, perform SLAM mapping and localization on the laser point cloud frame data in each data pair to obtain the location data corresponding to each laser point cloud frame data; construct a preset number of segmented location data pairs based on the localization module data and the location data corresponding to the laser point cloud frame data in each data pair. S5: In each pair of location data, a first path with a preset number of segments is formed based on the location data, and a second path with a preset number of segments is formed based on the positioning module data; S6: Obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path; S7: Adjust the initial calibration parameters according to the deviation and effect; S8: Calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module; S9: Based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, the target calibration parameters are calibrated and verified to obtain the verification change amount. Based on the verification change amount, calibration verification judgment and calibration parameter update are performed. The process of constructing the relative pose calculation of the lines of the first and second paths to obtain the target calibration parameters of the current lidar and positioning module specifically includes: Select a target point from the first path, find the nearest point to the target point on the second path using the k-nearest neighbor method, and find a neighboring point on the second path that has the smallest distance to the nearest point using the nearest point; Based on the target point, the nearest point, and the neighboring points, construct a distance function from the target point to the straight line containing the nearest point and the neighboring points to obtain the target distance; Based on the target distance, a nonlinear least squares optimization problem is constructed, and the nonlinear least squares optimization problem is solved using an optimization algorithm to obtain the target calibration parameters of the current lidar and positioning module.

2. The joint calibration and verification method for lidar and positioning module according to claim 1, characterized in that, The step of calibrating and verifying the target calibration parameters based on the attitude transformation relationship between the initial calibration parameters and the target calibration parameters to obtain the verification change specifically includes: in, Indicates the amount of change verified; for The inverse operation; Indicates the initial calibration parameters; Indicates the target calibration parameters.

3. The joint calibration and verification method for lidar and positioning module according to claim 1, characterized in that, The step of performing calibration verification judgment and updating calibration parameters based on the verification change specifically includes: Extract relative translation data and relative rotation data from the verified changes; The relative translation data and the relative rotation data are compared with preset thresholds to determine the changes in the initial calibration parameters; If the relative translation data and the relative rotation data are greater than the preset threshold, the calibration parameters need to be updated and the target calibration parameters need to be deployed.

4. The joint calibration and verification method for lidar and positioning module according to claim 1, characterized in that, The distance function includes: in, Represents the distance function; Indicate the target point; Indicates the nearest point; express The adjacent points.

5. The joint calibration and verification method for lidar and positioning module according to claim 1 or 4, characterized in that, The nonlinear least squares optimization problem includes: in, This represents the target distance from the point to the line, calculated using the distance function. This represents the cost function for construction; Represents the loss function; This means solving for the target distance that minimizes the loss function. .

6. The joint calibration and verification method for lidar and positioning module according to claim 1, characterized in that, The adjustment of the initial calibration parameters based on the deviation and effect specifically includes: If the deviation is greater than the preset deviation value, the initial calibration parameters are adjusted according to the deviation and the effect. Use the adjusted initial calibration parameters as the new initial calibration parameters, and repeat steps S4-S7 until the deviation between the initial calibration parameters and the actual calibration parameters is less than the preset deviation value.

7. A joint calibration and verification system for lidar and positioning modules, characterized in that, include: The acquisition module is used to acquire laser point cloud frame data and positioning module data; The alignment module is used to perform distortion correction processing on the laser point cloud frame data; The positioning module data is sampled and / or interpolated to align it with the time of the laser point cloud frame data after distortion correction. An extraction module is used to extract a preset number of data pairs from the aligned laser point cloud frame data and the positioning module data. The location module is used to perform SLAM mapping and localization on the laser point cloud frame data in each data pair according to the initial calibration parameters, so as to obtain the location data corresponding to each laser point cloud frame data; and to construct a preset number of location data pairs based on the location module data in each data pair and the location data corresponding to the laser point cloud frame data. The path module is used to form a first path of a preset number of segments based on the location data in each pair of location data, and to form a second path of a preset number of segments based on the positioning module data. The display module is used to obtain the deviation and effect between the initial calibration parameters and the actual calibration parameters based on the display results of the first path and the second path; An adjustment module is used to adjust the initial calibration parameters based on the deviation and the effect. The verification module is used to calculate the changes in the initial calibration parameters during the adjustment process; construct the relative pose calculation of the lines of the first path and the second path to obtain the target calibration parameters of the current lidar and positioning module; The calibration module is used to perform calibration verification on the target calibration parameters according to the attitude transformation relationship between the initial calibration parameters and the target calibration parameters, obtain the verification change amount, and perform calibration verification judgment and calibration parameter update based on the verification change amount; The process of constructing the relative pose calculation of the lines of the first and second paths to obtain the target calibration parameters of the current lidar and positioning module specifically includes: Select a target point from the first path, find the nearest point to the target point on the second path using the k-nearest neighbor method, and find a neighboring point on the second path that has the smallest distance to the nearest point using the nearest point; Based on the target point, the nearest point, and the neighboring points, construct a distance function from the target point to the straight line containing the nearest point and the neighboring points to obtain the target distance; Based on the target distance, a nonlinear least squares optimization problem is constructed, and the nonlinear least squares optimization problem is solved using an optimization algorithm to obtain the target calibration parameters of the current lidar and positioning module.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the joint calibration and verification method of the lidar and positioning module as described in any one of claims 1 to 6.

9. A vehicle, characterized in that, This includes the joint calibration and verification system of lidar and positioning module as described in claim 7 or the electronic device as described in claim 8.

Citation Information

Patent Citations

  • Calibration method for laser radar and positioning equipment, equipment and automatic driving vehicle

    CN113759349A