Dynamic compensation detection method and detection device in special-shaped curved surface monitoring
Through the dynamic compensation detection method of point laser and line laser, the problem of insufficient accuracy in the detection of special-shaped curved surfaces is solved, and high-precision measurement and difference calculation are realized.
Patent Information
- Application Number
- CN202411364690.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-09-29
AI Technical Summary
Traditional point laser measurement technology is difficult to accurately measure when detecting special curved surfaces, especially in areas with large curvature changes, which leads to an increase in the error of the measurement result and cannot meet the requirements of high-precision measurement.
Using a dynamic compensation detection method that combines point laser and line laser, the special-shaped change areas and trends of the special-shaped curved surface are identified through point laser scanning data, the scanning height of the line laser is adjusted, and the dynamic deviation correction compensation scan is performed to obtain the laser scanning plan and perform the Difference calculation.
Through dynamic compensation technology, the error of the difference calculation is reduced, the measurement accuracy and accuracy are improved, and the difference calculation can be performed more conveniently, and the surface defects can be discovered quickly and effectively.
Smart Images

Figure CN118857109B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of target detection, and in particular to a dynamic compensation detection method and a detection device in monitoring of special-shaped curved surfaces. Background Art
[0002] With the increasing demand for high-precision measurement and quality control in industrial production, point laser sensors are widely used in various manufacturing and assembly processes as a common measurement tool. However, traditional point laser measurement technology often encounters the problem of difficulty in accurate measurement when facing special-shaped curved surfaces, especially in areas with large curvature changes, such as electronic product glass. After the glass of electronic products is installed, the original plane is compressed and squeezed into an inclined surface and an inner concave surface due to the installation of the glass. Therefore, there are common problems such as tilt and concave. Under normal circumstances, when the point laser or line laser is detected, the laser irradiates the upper surface of the glass. After part of it is returned, there is still a part of the light that will pass through the glass and irradiate the lower surface of the glass. The light irradiated on the lower surface will also be reflected on the upper surface. Therefore, the image obtained by the final laser scanning is actually the result of the mixture of the upper surface data and the lower surface data. When problems such as tilt and concave occur, due to the influence of curvature, the upper and lower surfaces of the curved part no longer follow the reflection law under normal conditions. Therefore, the scanned data has a large impact, and it is impossible to intuitively measure the subsequent glass and the frame at the edge. The error of the measurement result increases and the requirement of high-precision measurement cannot be met. Especially in practical applications of large areas or complex surfaces, a method is needed to dynamically compensate and correct sensor data to improve measurement precision and accuracy. Summary of the invention
[0003] Therefore, the purpose of the present invention is to provide a dynamic compensation method and detection device for monitoring special-shaped curved surfaces, which adopts point laser and line laser in combination and utilizes dynamic correction to make the final scanned image a complete plane, so as to facilitate the accurate calculation of the fault difference between the glass and the edge area.
[0004] To this end, the present invention provides a dynamic compensation detection method in profiled curved surface monitoring, comprising the following steps:
[0005] Acquire point laser scanning data of special-shaped surfaces;
[0006] Identify the irregular shape change area and change trend of irregular shape surface based on point laser scanning data;
[0007] According to the change area and change trend of the special-shaped surface, the scanning height of the line laser is adjusted, and the special-shaped surface is dynamically corrected and compensated to obtain the laser scanning plane map;
[0008] The fault difference is calculated according to the laser scanning plan to obtain the final detection data.
[0009] Further preferably, the identifying the irregular change area and change trend of the irregular curved surface according to the point laser scanning data includes:
[0010] Performing curve fitting on the point laser scanning data of the irregular curved surface;
[0011] Filter the benchmark fitting curve and determine the profile change area and change trend based on the benchmark fitting curve.
[0012] Further preferably, the curve fitting includes: forming a plurality of fitting curves from scanning data made by the point laser at different Y-axis positions in the X-axis direction, and selecting a middle position point as a reference point according to a change trend of the fitting curve to obtain a reference fitting curve;
[0013] Further preferably, adjusting the scanning height of the line laser according to the profile change area and the change trend includes:
[0014] The scanning data of the point laser in the X-axis direction is formed into a scanning sequence according to the position order;
[0015] Calculating the height mean of the scan data according to the reference fitting curve;
[0016] Taking the height mean as the height reference value, each data in the scanning sequence is compared with the height mean, and the deviation and deviation direction of each data are calculated;
[0017] The scanning height of the line laser is compensated and adjusted according to the deviation and deviation direction of the data corresponding to each position.
[0018] Further preferably, the step of calculating the fault difference according to the laser scanning plane map to obtain the final detection data includes:
[0019] Mark multiple RIO areas in the laser scan plan;
[0020] Perform plane fitting on the point cloud of the irregular surface in the RIO area;
[0021] Calculate the distance between all point clouds on the boundary of the RIO region and the fitting plane;
[0022] Filter the distance values from all point clouds to the fitting plane;
[0023] The retained distance values are averaged, and the average value is used as the final detection data.
[0024] Further preferably, filtering the distances from all point clouds to the fitting plane includes: sorting all acquired distance values by size, removing the first 20% and the last 20%, and retaining the middle 60%.
[0025] The present invention also provides a dynamic compensation detection device for monitoring a special-shaped curved surface, comprising:
[0026] The three-axis mobile module drives the point laser sensor to move horizontally, and drives the line laser scanner to move up and down synchronously when moving horizontally;
[0027] A sample carrying platform, used for placing the glass sample to be tested;
[0028] The point laser sensor scans the sample to be tested during horizontal movement to obtain point laser scanning data of the special-shaped surface;
[0029] When the line laser scanner moves horizontally, the scanning height of the line laser is adjusted to perform dynamic correction and compensation scanning on the special-shaped curved surface;
[0030] The controller identifies the irregular change area and change trend of the irregular curved surface according to the point laser scanning data; controls the line laser scanner to perform dynamic correction compensation scanning according to the irregular change area and change trend to obtain the laser scanning plane map; and performs the fault difference calculation according to the laser scanning plane map to obtain the final detection data.
[0031] Further preferably, the three-axis moving module includes an X-axis moving module, a Y-axis moving module and a Z-axis moving module; and the point laser sensor and the Z-axis moving module are arranged on the X-axis moving module.
[0032] Further preferably, the sample supporting platform is disposed on a Y-axis moving module and moves back and forth with the Y-axis moving module.
[0033] Further preferably, the line laser scanner is arranged on a Z-axis moving module, and moves horizontally synchronously with the X-axis moving module when the Z-axis moves up and down.
[0034] The dynamic compensation method and detection device for monitoring irregular curved surfaces disclosed in the present application have at least the following advantages over the prior art:
[0035] 1. Use point laser and line laser in combination, use the height reference value of the point laser scanning data as the reference value, and dynamically compensate the line laser. When scanning, the line laser automatically filters out the influence of the lower surface data, so that the final scanning data can be fitted to the upper surface, reducing the error of the fault calculation.
[0036] 2. Through dynamic compensation technology, the line laser scanner can adjust the measurement parameters in real time to offset the impact of surface changes. By continuously correcting the position or posture during the measurement process, it ensures that each measurement accurately reflects the actual situation.
[0037] 3. After dynamic compensation is performed using this application, the special-shaped curved surface part maintains a relatively stable height. Since the height difference between the special-shaped curved surface part and the edge part is relatively fixed, there will be no large error when calculating the height difference, so that the height difference calculation is more convenient, and surface defects such as protrusions, depressions or other irregularities can be quickly and effectively discovered, which helps to correct problems in the production process in a timely manner.
[0038] 4. This application can be integrated into an automated detection system, reducing the need for manual intervention and improving detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic flow chart of a dynamic compensation method for monitoring irregular curved surfaces provided by the present invention.
[0040] Figure 2 A schematic structural diagram of a dynamic compensation detection device for monitoring special-shaped curved surfaces provided by the present invention.
[0041] Figure 3 A partially enlarged view of a dynamic compensation detection device for monitoring special-shaped curved surfaces provided by the present invention.
[0042] Figure 4 It is a top view schematic diagram of imaging of a special-shaped curved surface without compensation in the present invention.
[0043] Figure 5 It is a top view schematic diagram of imaging of the special-shaped curved surface after compensation in the present invention.
[0044] Figure 6 It is a schematic diagram of the compensation adjustment direction curve corresponding to various types of special-shaped curved surfaces in the present invention.
[0045] Figure 7 It is a top view schematic diagram of the step difference calculation without compensation in the present invention.
[0046] Figure 8 It is a schematic side view of the calculation of the step difference after compensation of the present invention.
[0047] In the figure: 1. X-axis moving module; 2. Y-axis moving module; 3. Z-axis moving module; 4. point laser sensor; 5. sample carrier; 6. line laser scanner. DETAILED DESCRIPTION
[0048] The present invention is further described in detail below through the accompanying drawings and specific embodiments.
[0049] like Figure 1 As shown, an embodiment of the present invention provides a dynamic compensation method for monitoring a special-shaped curved surface, which includes the following steps:
[0050] S1, obtaining point laser scanning data of the special-shaped surface;
[0051] S2, identifying the irregular shape change area and change trend of the irregular shape surface according to the point laser scanning data;
[0052] S3. According to the special-shaped change area and change trend, the scanning height of the line laser is adjusted, and the special-shaped curved surface is dynamically corrected and compensated to obtain a laser scanning plane map;
[0053] S4. Calculate the fault difference based on the laser scanning plan to obtain the final detection data.
[0054] like Figure 2-3 As shown, the present invention also provides a dynamic compensation detection device for monitoring a special-shaped curved surface, which is used to implement the dynamic compensation detection method for monitoring a special-shaped curved surface, comprising:
[0055] The three-axis moving module drives the point laser sensor 4 to move horizontally, and drives the line laser scanner 6 to move up and down synchronously when moving horizontally;
[0056] The three-axis moving module includes an X-axis moving module 1 , a Y-axis moving module 2 and a Z-axis moving module 3 ; the point laser sensor 4 and the Z-axis moving module 3 are arranged on the X-axis moving module 1 .
[0057] Furthermore, the sample carrier 5 is arranged on the Y-axis moving module 2 and moves forward and backward with the Y-axis moving module 2. The line laser scanner 6 is arranged on the Z-axis moving module 3 and moves horizontally synchronously with the X-axis moving module 1 when the Z-axis moves up and down.
[0058] The sample carrying platform 5 is used to place the glass sample to be tested;
[0059] The point laser sensor 4 scans the sample to be tested during horizontal movement to obtain point laser scanning data of the special-shaped curved surface;
[0060] The line laser scanner 6 adjusts the scanning height of the line laser when moving horizontally, and performs dynamic correction and compensation scanning on the special-shaped curved surface;
[0061] The controller identifies the irregular change area and change trend of the irregular curved surface according to the point laser scanning data; controls the line laser scanner to perform dynamic correction compensation scanning according to the irregular change area and change trend to obtain the laser scanning plane map; and performs the fault difference calculation according to the laser scanning plane map to obtain the final detection data.
[0062] like Figure 3 and Figure 4 As shown, in S2, the identifying of the irregular change area and change trend of the irregular curved surface according to the point laser scanning data includes:
[0063] S201, performing curve fitting on the point laser scanning data of the irregular curved surface;
[0064] S202, screening the benchmark fitting curve, and determining the profile change area and change trend according to the benchmark fitting curve.
[0065] Further preferably, the curve fitting includes: forming multiple fitting curves from the scanning data made by the point laser in the X-axis direction at different Y-axis position points, and selecting the middle position point as the reference point according to the changing trend of the fitting curve to obtain the reference fitting curve.
[0066] In this application, the sample to be tested is placed on the sample carrier. At this time, according to the scanning range of the point laser sensor, a plurality of different Y coordinate position points are set for the Y-axis moving module, such as position points Y1, Y2, and Y3; when the point laser scanner is located at point Y1, the X-axis moving module moves horizontally once, and when it is located at point Y2, the X-axis moving module moves horizontally once again, and so on. Assuming that these three position points can ensure that the sample is scanned, the data of these three horizontal scans are respectively subjected to curve fitting calculations. Generally speaking, the irregular surface of glass mainly includes three situations: concave, convex, and inclined. Usually, only one of the above three situations can appear in a sample to be tested.
[0067] Therefore, usually after scanning at the Y1 position, the most comprehensive scanning data of the changes of the special-shaped curved surface cannot be obtained. Therefore, this application needs to screen the scanning data and select the most comprehensive scanning curve that can show the changes of the special-shaped curved surface. For example, when the special-shaped surface of the glass is convex, the laser is located at the Y1 point at the front of the glass plane at the beginning. The point laser scanning can only scan a small part of the point cloud showing a convex trend. When it moves to the Y2 point in the middle of the glass plane, most of the point cloud can be scanned to show a convex trend. You can choose to perform a compensation scan at the Y2 point during the compensation scan with the line laser to obtain more accurate scanning data.
[0068] S3. According to the special-shaped change area and change trend, the scanning height of the line laser is adjusted, and the special-shaped curved surface is dynamically corrected and compensated to obtain a laser scanning plane map;
[0069] In S3, adjusting the scanning height of the line laser according to the profile change area and the change trend includes:
[0070] S301, forming a scanning sequence according to the position sequence of the scanning data of the point laser in the X-axis direction;
[0071] S302, calculating the height mean of the scan data according to the reference fitting curve;
[0072] S303, using the height mean as a height reference value, comparing each data in the scanning sequence with the height mean, and calculating the deviation and deviation direction of each data;
[0073] S304, compensating and adjusting the scanning height of the line laser according to the deviation and deviation direction of the data corresponding to each position. Figure 6 As shown, green is the final scan outline, blue is the scan outline, the red frame is the camera's field of view, and the yellow arrow indicates the direction of motion compensation when the scanner is adjusted.
[0074] Figure 4 The uncompensated scanned image will show obvious color change areas (blue areas). Different colors in the figure represent different distances between the scanned plane and the reference plane, with white representing 0.19 and blue representing -0.146. Figure 5 After the medium compensation value is a uniform green area with no obvious range of color changes.
[0075] S4. Calculate the fault difference based on the laser scanning plan to obtain the final detection data.
[0076] like Figure 7-8 As shown, further, the step difference calculation is performed according to the laser scanning plane map to obtain the final detection data, including:
[0077] S401, marking a plurality of RIO areas in the laser scanning plan;
[0078] S402, performing plane fitting on the point cloud of the irregular curved surface in the RIO region;
[0079] S403: Calculate the distances from all point clouds at the boundary of the RIO region to the fitting plane.
[0080] The distances from all point clouds to the fitting plane are filtered, the values at both ends that meet the preset range are filtered out, the middle data are selected for mean calculation, and the calculated average value is used as the final detection data. It should be noted that the distances from all point clouds to the fitting plane are filtered out, including: sorting all the distance values obtained, removing the first 20% and the last 20%, and retaining the middle 60%.
[0081] It should be noted that 5 RIO areas are selected in the embodiment of the present application. For each RIO area, it is necessary to calculate the fitting plane of the green glass part in the figure, and calculate the distance from the point cloud of the solid line frame in each RIO area to the fitting plane. Here, the solid line frame is made of non-glass material and has a height difference with the glass plane, such as Figure 8As shown in the figure, it is because the glass installed inside the frame is prone to the formation of irregular curved surfaces. Therefore, the height of the frame point cloud data is certain. Glass is prone to irregular curved surfaces, and the height is different. Dynamic compensation raises the height of the entire cross section. The height difference between the glass and the arc will not change due to compensation. The distance between them is fixed; therefore, the average value of the distance from the point cloud to the closed plane is calculated once for each RIO area, and the average value of the five RIO areas can be obtained as the result of the difference detection.
[0082] In the present application, during the line laser scanning and the compensation scanning, the point cloud data of the frame and the shaped glass part of the area to be inspected are acquired synchronously, that is, when the shaped curved surface is lifted, the frame is also lifted accordingly. Therefore, the difference in the inspected sample itself will not change due to the compensation scanning. If the glass part of the sample presents a shaped curved surface and there is a height difference with the frame itself, then after the compensation scanning, two sets of point clouds will still be formed, one above and one below. Figure 7 In the top view, the frame and glass will still appear in different colors. Figure 7 Adjust to side view, such as Figure 8 When the error is calculated, the laser point cloud obtained after compensation needs to be used to perform actual plane fitting in 5 areas respectively, and the error value can be obtained by calculating the distance from the point cloud at the border position to the fitting plane.
[0083] Obviously, the above embodiments are only examples for clear explanation, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from them are still within the protection scope of the invention.
Claims
1. A dynamic compensation detection method for monitoring special-shaped curved surfaces, characterized in that: The following steps are involved: Acquire point laser scanning data of special-shaped surfaces; Identify the irregular change areas and change trends of irregular surfaces based on point laser scanning data; including: Performing curve fitting on the point laser scanning data of the irregular curved surface; Filter the benchmark fitting curve, and determine the profile change area and change trend based on the benchmark fitting curve; According to the change area and change trend of the special-shaped surface, the scanning height of the line laser is adjusted, and the special-shaped surface is dynamically corrected and compensated to obtain the laser scanning plane map; The step of adjusting the scanning height of the line laser according to the profile change area and change trend includes: The scanning data of the point laser in the X-axis direction is formed into a scanning sequence according to the position order; Calculating the height mean of the scan data according to the reference fitting curve; Taking the height mean as the height reference value, each data in the scanning sequence is compared with the height mean, and the deviation and deviation direction of each data are calculated; Compensate and adjust the scanning height of the line laser according to the deviation and deviation direction of the corresponding data of each position; The fault difference is calculated according to the laser scanning plan to obtain the final detection data.
2. The dynamic compensation detection method in monitoring of special-shaped curved surfaces according to claim 1 is characterized in that: The curve fitting includes: forming multiple fitting curves from the scanning data made by the point laser at different Y-axis positions in the X-axis direction, and selecting the middle position point as the reference point according to the change trend of the fitting curve to obtain the reference fitting curve.
3. The dynamic compensation detection method in monitoring of special-shaped curved surfaces according to claim 1 is characterized in that: The step difference calculation is performed according to the laser scanning plane map to obtain the final detection data, including: Mark multiple RIO areas in the laser scan plan; Perform plane fitting on the point cloud of the irregular surface in the RIO area; Calculate the distance between all point clouds on the boundary of the RIO region and the fitting plane; Filter the distance values from all point clouds to the fitting plane; The retained distance values are averaged, and the average value is used as the final detection data.
4. The dynamic compensation detection method in monitoring of special-shaped curved surfaces according to claim 3 is characterized in that: The filtering of the distances from all point clouds to the fitting plane includes: sorting all the acquired distance values by size, removing the first 20% and the last 20%, and retaining the middle 60%.
5. A dynamic compensation detection device for monitoring special-shaped curved surfaces, characterized in that: include: The three-axis mobile module drives the point laser sensor to move horizontally, and drives the line laser scanner to move up and down synchronously when moving horizontally; A sample carrying platform, used for placing the glass sample to be tested; The point laser sensor scans the sample to be tested during horizontal movement to obtain point laser scanning data of the special-shaped surface; When the line laser scanner moves horizontally, the scanning height of the line laser is adjusted to perform dynamic correction and compensation scanning on the special-shaped curved surface; The controller identifies the profiled change area and change trend of the profiled surface according to the point laser scanning data; including: performing curve fitting on the point laser scanning data of the profiled surface; screening the reference fitting curve, and judging the profiled change area and change trend according to the reference fitting curve; according to the profiled change area and change trend, controlling the line laser scanner to perform dynamic correction compensation scanning to obtain a laser scanning plane map; including: The scanning data of the point laser in the X-axis direction is formed into a scanning sequence according to the position order; Calculating the height mean of the scan data according to the reference fitting curve; Taking the height mean as the height reference value, each data in the scanning sequence is compared with the height mean, and the deviation and deviation direction of each data are calculated; Compensate and adjust the scanning height of the line laser according to the deviation and deviation direction of the corresponding data of each position; The fault difference is calculated according to the laser scanning plan to obtain the final detection data.
6. The dynamic compensation detection device for monitoring special-shaped curved surfaces according to claim 5, characterized in that: The three-axis moving module includes an X-axis moving module, a Y-axis moving module and a Z-axis moving module; the point laser sensor and the Z-axis moving module are arranged on the X-axis moving module.
7. The dynamic compensation detection device for monitoring special-shaped curved surfaces according to claim 5, characterized in that: The sample carrying platform is arranged on the Y-axis moving module and moves forward and backward along with the Y-axis moving module.
8. The dynamic compensation detection device for monitoring special-shaped curved surfaces according to claim 5, characterized in that: The line laser scanner is arranged on the Z-axis moving module, and moves horizontally synchronously with the X-axis moving module when the Z-axis moves up and down.
Citation Information
Patent Citations
Miniature solid-state laser radar and data processing method thereof
CN111751838A
3D curved glass contour scanning detection method and system based on line structured light dynamic vision
CN112629441A
