Stitching calibration method, system and laser radar for laser radar
By using the splicing calibration method of 6 walls and inertial measurement units in a closed cuboid room to generate compensation data and adjust the lidar angle, the problem of poor lidar room modeling accuracy is solved and high-precision and efficient laser Radar calibration.
Patent Information
- Application Number
- CN202110474129.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-04-29
AI Technical Summary
Existing lidar has poor accuracy in room modeling, making it difficult to achieve efficient and accurate coordinate system splicing and data compensation.
A splicing calibration method is used to obtain three-dimensional data by using 6 walls and inertial measurement units in a closed cuboid room, establish a three-dimensional model, generate compensation data, and adjust the lidar angle through the support device until the difference value is less than the preset value value to achieve high-precision calibration.
It improves the accuracy and efficiency of lidar, improves product production efficiency, and achieves efficient room modeling and coordinate system consistency.
Smart Images

Figure CN113325396B
Abstract
Description
Technical Field
[0001] The present invention relates to a splicing calibration method and system for laser radar and laser radar. Background Art
[0002] The so-called actual measurement refers to a method of using measurement tools to conduct on-site testing and measurement to truly reflect product quality data. According to relevant quality acceptance standards, the error of measurement control engineering quality data is within the range allowed by national housing construction standards.
[0003] The project development stages involved in actual measurement mainly include the main structure stage, masonry stage, plastering stage, equipment installation stage and fine decoration stage. The measurement scope includes concrete structure, masonry engineering, plastering engineering, waterproofing engineering, door and window engineering, painting engineering, fine decoration engineering, etc.
[0004] With the development of 5G technology, 3D technology has made great progress in the fields of autonomous driving, building information modeling, etc. Mechanical LiDAR, as its core hardware, needs to rely on precision devices such as rotary motors and IMU to meet the needs of all-round accurate modeling. Under the premise that the relative positions of each part are absolutely fixed, it is necessary to calibrate the coordinate system between different parts and realize coordinate normalization through algorithms, which requires the equipment to collect different posture data to achieve this.
[0005] Existing LiDAR room modeling has poor accuracy. Summary of the invention
[0006] The technical problem to be solved by the present invention is to overcome the defect of poor accuracy of laser radar room modeling in the prior art, and to provide a splicing calibration method, system and laser radar for laser radar that can improve the accuracy of laser radar, is easy to implement and efficient, and can improve product production efficiency.
[0007] The present invention solves the above technical problems through the following technical solutions:
[0008] A splicing calibration method for laser radar, used in a splicing calibration system, characterized in that the splicing calibration system includes 6 walls for calibration, all of which form a closed rectangular room, and the splicing calibration method includes:
[0009] The laser radar scans the rectangular room to acquire a plurality of frames of three-dimensional data;
[0010] splicing the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room;
[0011] Obtaining a difference value between the three-dimensional model and standard data corresponding to the rectangular room, and generating compensation data according to the difference value;
[0012] The laser radar is calibrated using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained again by the calibrated laser radar and the standard data is less than a preset value.
[0013] Preferably, the laser radar includes an inertial measurement unit, and the splicing of the three-dimensional data of the plurality of frames to establish the three-dimensional model of the rectangular room includes:
[0014] Acquire the three-dimensional data of the plurality of frames, and acquire the attitude data of the laser radar through the inertial measurement unit;
[0015] A three-dimensional model of the rectangular room is established according to the three-dimensional data of the plurality of frames and the posture data.
[0016] Preferably, the stitching calibration system includes a supporting device, and the supporting device is used to adjust the horizontal angle of the laser radar. After the laser radar is calibrated using the compensation data, the system includes:
[0017] Determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device;
[0018] The stitching calibration method is performed again.
[0019] Preferably, the step of obtaining the difference between the three-dimensional model and the standard data corresponding to the rectangular room includes:
[0020] For a target wall model in the three-dimensional model, selecting a plurality of image areas on the target wall model;
[0021] Obtaining the flatness data of the image area;
[0022] Obtain the difference between the flatness data of the image area of the entire wall model and the standard data.
[0023] Preferably, the obtaining of the flatness data of the image area includes:
[0024] Obtaining the flatness data of the image area;
[0025] For the target image area where the flatness data does not meet the threshold, the horizontal boundary points and the vertical boundary points of the complete image area where the flatness data does not meet the threshold are found with the image point in the target image area as the origin;
[0026] Taking the horizontal boundary point and the vertical boundary point as the origin, searching again for the horizontal boundary point and the vertical boundary point of the complete image area that does not meet the threshold value until the boundary of the complete image area is obtained;
[0027] Get the difference between the flatness data of the entire image area and the standard data.
[0028] The present invention also provides a splicing calibration system for laser radar, which is characterized in that the splicing calibration system includes 6 walls for calibration, a processing module and a laser radar, and all the walls form a closed rectangular room.
[0029] The laser radar is used to scan the rectangular room to obtain a plurality of frames of three-dimensional data;
[0030] The processing module is used to stitch the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room;
[0031] The processing module is used to obtain a difference value between the three-dimensional model and the standard data corresponding to the rectangular room, and generate compensation data according to the difference value;
[0032] The laser radar is used to perform calibration using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained again by the calibrated laser radar and the standard data is less than a preset value.
[0033] Preferably, the laser radar includes an inertial measurement unit.
[0034] The laser radar is used to obtain the three-dimensional data of the plurality of frames;
[0035] The inertial measurement unit is used to obtain the attitude data of the laser radar;
[0036] The processing module is used to establish a three-dimensional model of the rectangular room according to the three-dimensional data of the plurality of frames and the posture data.
[0037] Preferably, the splicing calibration system comprises a supporting device,
[0038] The supporting device is used to adjust the horizontal angle of the laser radar;
[0039] The processing module is used to determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device;
[0040] The processing module is used to execute the splicing calibration method again.
[0041] Preferably, for a target wall model in a three-dimensional model, the processing module is used to select a number of image areas on the target wall model;
[0042] The processing module is used to obtain the flatness data of the image area;
[0043] The processing module is used to obtain the difference value between the flatness data of the image area of the entire wall model and the standard data.
[0044] The present invention further provides a laser radar, which is characterized in that the laser radar is used in the stitching and calibration system as described above, and the laser radar includes the processing module or the processing module is an intelligent terminal connected to the laser radar.
[0045] Based on the common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily to obtain the preferred embodiments of the present invention.
[0046] The positive and progressive effects of the present invention are:
[0047] The stitching calibration method, system and laser radar for laser radar of the present invention can improve the accuracy of laser radar, are easy to implement and highly efficient, and can improve product production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 Schematic diagram of the structure of the splicing calibration system of Example 1 of the present invention.
[0049] Figure 2 This is a flow chart of the splicing calibration method according to Example 1 of the present invention.
[0050] Figure 3 This is another flow chart of the splicing calibration method of Example 1 of the present invention.
[0051] Figure 4 This is another flow chart of the splicing calibration method of Example 1 of the present invention. DETAILED DESCRIPTION
[0052] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0053] Example 1
[0054] See also Figure 1 This embodiment provides a splicing calibration system for a laser radar, and the splicing calibration system includes a supporting device 11, a laser radar 12, a processing module, and 6 walls 13 for calibration.
[0055] The laser radar includes the processing module. In other embodiments, the processing module is an intelligent terminal connected to the laser radar.
[0056] All walls form a closed rectangular room.
[0057] The laser radar is used to scan the rectangular room to obtain a plurality of frames of three-dimensional data;
[0058] The processing module is used to stitch the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room;
[0059] The processing module is used to obtain a difference value between the three-dimensional model and the standard data corresponding to the rectangular room, and generate compensation data according to the difference value;
[0060] The laser radar is used to perform calibration using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained again by the calibrated laser radar and the standard data is less than a preset value.
[0061] The laser radar includes an inertial measurement unit.
[0062] The laser radar is used to obtain the three-dimensional data of the plurality of frames;
[0063] The inertial measurement unit is used to obtain the attitude data of the laser radar;
[0064] The processing module is used to establish a three-dimensional model of the rectangular room according to the three-dimensional data of the plurality of frames and the posture data.
[0065] The splicing calibration system includes a supporting device.
[0066] The supporting device is used to adjust the horizontal angle of the laser radar;
[0067] The processing module is used to determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device;
[0068] The processing module is used to execute the splicing calibration method again.
[0069] The acquisition program includes an angular control part and a data collection part. The coordinate systems of different platform sections with different postures are calculated using denoising and segmentation algorithms for different lidar postures and different platforms. The calculation algorithm normalizes and compensates the data after statistical processing.
[0070] Further, for a target wall model in the three-dimensional model, the processing module is used to select a number of image areas on the target wall model;
[0071] The processing module is used to obtain the flatness data of the image area;
[0072] The processing module is used to obtain the difference value between the flatness data of the image area of the entire wall model and the standard data.
[0073] In this embodiment, 9 image areas 14 are selected on each wall, and the 9 image areas are arranged in a rectangular shape, with 3 in a horizontal row and 3 in a vertical row.
[0074] Preferably, the processing module is used to obtain flatness data of the image area;
[0075] For a target image area whose flatness data does not meet a threshold, the processing module is used to find a lateral boundary point and a longitudinal boundary point of a complete image area whose flatness data does not meet a threshold using an image point in the target image area as an origin;
[0076] The processing module is used to use the horizontal boundary point and the vertical boundary point as the origin to search again for the horizontal boundary point and the vertical boundary point of the complete image area that does not meet the threshold value until the boundary of the complete image area is obtained;
[0077] The processing module is used to obtain the difference value between the flatness data of the complete image area and the standard data.
[0078] The boundary point can be quickly calculated by checking whether the line connecting the boundary point and the origin is parallel to the standard plane.
[0079] The processing module in this embodiment provides a loop processing flow, which selects an image point for the target image area whose flatness data does not meet the threshold, and obtains the horizontal and vertical boundaries by checking whether the line between the two points is parallel to the reference plane. Then, the horizontal and vertical boundary points are used as the origin again, and the horizontal and vertical boundary points with the new image point as the origin are obtained again by checking whether the line between the two points is parallel to the reference plane. Then, the latest boundary point is used as the origin to obtain new boundary points until all the boundaries of the target image area that does not meet the threshold are obtained.
[0080] See also Figure 2 , using the above stitching calibration system and laser radar, this embodiment also provides a stitching calibration method, including:
[0081] Step 100: The laser radar scans the rectangular room to obtain three-dimensional data of several frames;
[0082] Step 101, splicing the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room;
[0083] Step 102: obtaining a difference value between the three-dimensional model and standard data corresponding to the rectangular room, and generating compensation data according to the difference value;
[0084] Step 103, the laser radar is calibrated using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained by the calibrated laser radar again and the standard data is less than a preset value.
[0085] The laser radar includes an inertial measurement unit, and step 101 includes:
[0086] Acquire the three-dimensional data of the plurality of frames, and acquire the attitude data of the laser radar through the inertial measurement unit;
[0087] A three-dimensional model of the rectangular room is established according to the three-dimensional data of the plurality of frames and the posture data.
[0088] The stitching calibration system includes a supporting device, and the supporting device is used to adjust the horizontal angle of the laser radar. After step 103, the following steps are included:
[0089] Determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device;
[0090] The stitching calibration method is performed again.
[0091] Further, see Figure 3 , the stitching calibration method includes:
[0092] Step 200: The laser radar scans the rectangular room to obtain a plurality of frames of three-dimensional data;
[0093] Step 201, stitching the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room;
[0094] Step 202: for a target wall model in the three-dimensional model, select a number of image areas on the target wall model;
[0095] Step 203, obtaining the flatness data of the image area;
[0096] Step 204, obtaining the difference between the flatness data of the image area of all wall models and the standard data, and generating compensation data according to the difference;
[0097] Step 205: The laser radar is calibrated using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained by the calibrated laser radar again and the standard data is less than a preset value.
[0098] See also Figure 4 , step 203 specifically includes:
[0099] Step 2031, obtaining the flatness data of the image area;
[0100] Step 2032: for the target image area whose flatness data does not meet the threshold, the horizontal boundary points and the vertical boundary points of the complete image area whose flatness data does not meet the threshold are searched with the image point in the target image area as the origin;
[0101] Step 2033, the above steps make a judgment whether to obtain the boundary of the complete image area, if so, execute step 2034, if not, take the latest horizontal boundary point and vertical boundary point as the origin and execute step 2032 again.
[0102] Step 2034: Obtain the difference between the flatness data of the complete image area and the standard data.
[0103] Although the specific embodiments of the present invention are described above, those skilled in the art should understand that these are only examples, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A splicing calibration method for laser radar, used in a splicing calibration system, characterized in that: The splicing calibration system includes 6 walls for calibration, all of which form a closed rectangular room. The splicing calibration method includes: The laser radar scans the rectangular room to acquire a plurality of frames of three-dimensional data; splicing the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room; Obtaining a difference value between the three-dimensional model and standard data corresponding to the rectangular room, and generating compensation data according to the difference value; The laser radar is calibrated using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained by the calibrated laser radar again and the standard data is less than a preset value; The step of obtaining the difference between the three-dimensional model and the standard data corresponding to the rectangular room includes: For a target wall model in the three-dimensional model, selecting a plurality of image areas on the target wall model; Obtaining the flatness data of the image area; For the target image area where the flatness data does not meet the threshold, the horizontal boundary points and the vertical boundary points of the complete image area where the flatness data does not meet the threshold are found with the image point in the target image area as the origin; Taking the horizontal boundary point and the vertical boundary point as the origin, searching again for the horizontal boundary point and the vertical boundary point of the complete image area that does not meet the threshold value until the boundary of the complete image area is obtained; Obtain the difference between the flatness data of the complete image area and the standard data; Obtain the difference between the flatness data of the image area of the entire wall model and the standard data.
2. The splicing calibration method according to claim 1, characterized in that: The laser radar includes an inertial measurement unit, and the three-dimensional model of the rectangular room is established by splicing the three-dimensional data of the plurality of frames, including: Acquire the three-dimensional data of the plurality of frames, and acquire the attitude data of the laser radar through the inertial measurement unit; A three-dimensional model of the rectangular room is established according to the three-dimensional data of the plurality of frames and the posture data.
3. The splicing calibration method according to claim 2, characterized in that: The stitching calibration system includes a supporting device, and the supporting device is used to adjust the horizontal angle of the laser radar. After the laser radar is calibrated using the compensation data, the system includes: Determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device; Perform stitching calibration again.
4. A splicing calibration system for laser radar, characterized in that: The splicing calibration system includes 6 walls for calibration, a processing module and a laser radar, and all the walls form a closed rectangular room. The laser radar is used to scan the rectangular room to obtain a plurality of frames of three-dimensional data; The processing module is used to splice the three-dimensional data of the plurality of frames to establish a three-dimensional model of the rectangular room; The processing module is used to obtain a difference value between the three-dimensional model and the standard data corresponding to the rectangular room, and generate compensation data according to the difference value; The laser radar is used to perform calibration using the compensation data, and the difference between the calibrated three-dimensional model of the rectangular room obtained by the laser radar after calibration and the standard data is less than a preset value; Wherein, for the target wall model in the three-dimensional model, the processing module is used to select a number of image areas on the target wall model; The processing module is used to obtain the flatness data of the image area; The processing module is also used to: obtain the flatness data of the image area; for the target image area whose flatness data does not meet the threshold, use the image point in the target image area as the origin to find the horizontal boundary points and the vertical boundary points of the complete image area whose flatness data does not meet the threshold; use the horizontal boundary points and the vertical boundary points as the origin to find the horizontal boundary points and the vertical boundary points of the complete image area that does not meet the threshold again, until the boundary of the complete image area is obtained; obtain the difference value between the flatness data of the complete image area and the standard data; The processing module is used to obtain the difference value between the flatness data of the image area of the entire wall model and the standard data.
5. The splicing calibration system according to claim 4, characterized in that: The laser radar includes an inertial measurement unit, The laser radar is used to obtain the three-dimensional data of the plurality of frames; The inertial measurement unit is used to obtain the attitude data of the laser radar; The processing module is used to establish a three-dimensional model of the rectangular room according to the three-dimensional data of the plurality of frames and the posture data.
6. The splicing calibration system according to claim 5, characterized in that: The splicing calibration system includes a supporting device, The supporting device is used to adjust the horizontal angle of the laser radar; The processing module is used to determine whether the difference between the calibrated three-dimensional model of the rectangular room and the standard data is less than a preset value, and if so, adjust the horizontal angle of the laser radar through the supporting device; The processing module is used to perform stitching calibration again.
7. A laser radar, characterized in that: The laser radar is used in the stitching calibration system as described in any one of claims 4 to 6, and the laser radar includes the processing module or the processing module is an intelligent terminal connected to the laser radar.
