Curve weld joint processing method based on pre-scanning mode

Through the curve weld processing method based on the pre-scanning mode, using filtering and segmented fitting technology of point cloud data, the problems of poor adaptability and high cost of curve welds with large curvature changes in the existing technology are solved, and high precision is achieved. Curved welding reduces welding costs and improves welding quality.

CN118650355AActive Publication Date: 2024-09-17WUXI LICHENG INTELLIGENT EQUIP CO LTD

Patent Information

Application Number
CN202410857793.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-17
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

When the existing curve welding technology is dealing with curve welds with large local curvature changes, the welding posture is difficult to adapt, the sensor requirements are high, and the cost is high. Moreover, the pre-scan mode can only be used for regular line curve welds, which can easily lead to uneven welds due to workpiece deviations. It conforms to the mathematical model and affects the welding quality.

Method used

Using the curve weld processing method based on pre-scanning mode, the point cloud data in the workpiece coordinate system is obtained through scanning and conversion, filtering processing and segmented curve fitting are performed, the retreat points are filtered, and the welding process settings are realized to adapt to the rules or irregularities. Regular curve welds and welds with large local curvature.

Benefits of technology

It achieves high-precision processing of regular or irregular curve welds, reduces welding costs, controls the error within 1 mm, adapts to welds with large local curvatures and special welds, and improves welding quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118650355A
    Figure CN118650355A
Patent Text Reader

Abstract

The invention discloses a curve welding seam processing method based on a pre-scanning mode. The method comprises the steps that welding seam point cloud data under a workpiece coordinate system are obtained through scanning and conversion; performing filtering processing on the obtained point cloud data to obtain filtering data; according to the angle value of the point data under the workpiece coordinate system, segmenting the filtering data according to the angle, overlapping every two segments, and performing curve fitting on each segment of data after segmentation; connecting and merging curve fitting data; filtering back-off points of the combined fitting data; and carrying out welding setting on the point cloud data after the backoff point is filtered out. In the pre-scanning mode, the obtained point cloud data is subjected to preprocessing, segmented curve fitting, merging and backspace point filtering, one-time welding of the irregular spiral line welding seam in the pre-scanning mode can be achieved, the welding cost is reduced, and the welding efficiency is improved. And the method can adapt to regular or irregular curve welding seams, welding seams with large local curvature, wrap angles or welding seam segment welding and other special welding seams, and welding seam data are accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of welding, and in particular to a curve weld processing method based on a pre-scanning mode. Background Art

[0002] With the development of advanced manufacturing technology, welding robots have the advantages of strong versatility and reliable operation, which can realize the transformation of welding production towards automation, intelligence and flexibility. Regular or irregular linear curve welds require flexible welding equipment, strong adaptability and welding flexibility.

[0003] At present, there are two main ways of automatic welding of curved welds. One is robot online welding, that is, the sensor transmits the detected weld position information to the welding robot in real time to complete the welding; the other is the pre-scan mode, that is, the entire weld position information is first obtained by the sensor, and then transmitted to the welding robot as a whole to complete the welding. Although online welding can adapt to a variety of regular or irregular curved welds, it is easy to cause welding gun or sensor interference for curved welds with large local curvature changes, poor adaptability, difficult to adapt to welding posture, and high requirements for sensors, and high welding equipment costs. One-time welding in the pre-scan mode can only be used for regular line curved welds. The workpiece to be welded is prone to deviations in the front-end cutting, assembly and other links, resulting in the formed weld may not fully conform to a single mathematical model. If a single mathematical model is used for fitting or reconstruction, it may cause overall or local deviations, which will affect the welding quality. Summary of the invention

[0004] The present invention provides a curved weld processing method based on a pre-scanning mode, which has high weld data accuracy and can adapt to special welds such as regular or irregular curved welds, welds with large local curvature, and corner or weld segment welds. The following technical solutions are adopted:

[0005] A method for processing a curved weld based on a pre-scanning mode, the method comprising:

[0006] S1. Scan and convert to obtain the weld point cloud data PointCloudData in the workpiece coordinate system W ;

[0007] S2, the point cloud data PointCloudData obtained in S1 W Perform filtering and obtain filtered data FilteredData W ;

[0008] S3, according to the angle value of the point data in the workpiece coordinate system, filter the filtered data in S2 according to the angle W Divide the data into segments with overlap between each two segments, and perform curve fitting on each segmented data;

[0009] S4, connect and merge the curve fitting data in S3;

[0010] S5, filtering the fallback points of the merged fitting data in S4;

[0011] S6. Perform welding process settings on the point cloud data after filtering out the backoff points in S5.

[0012] Preferably, the point cloud data PointCloudData is obtained in S1 W The specific methods include:

[0013] The workpiece mounted on the positioner rotates with the positioner, and the robot scans in a certain direction with a fixed posture to obtain point cloud data in the robot's base coordinate system;

[0014] Calibrate the positioner and convert the point cloud data in the robot base coordinate system to the workpiece coordinate system to obtain the point cloud data PointCloudData in the workpiece coordinate system. W .

[0015] Preferably, the filtered data FilteredData is obtained in S2 W Use radius filtering, the specific methods include:

[0016] Calculate the point cloud data PointCloudData W The average value meanDist of the distances between all adjacent points in;

[0017] According to meanDist, the search radius of the radius filter is set to searchRadius.

[0018] searchRadius=meanDist*k formula (1)

[0019] Where k is an adjustable proportional coefficient, k = [2.0, 5.0];

[0020] Keep all points within the search radius searchRadius, that is, get the filtered data FilteredData W .

[0021] Preferably, the adjustable proportionality factor k=3.

[0022] Preferably, the filtered data FilteredData in S3 W The segmentation method includes: according to the angle value of the point data in the workpiece coordinate system, the segment is divided into a segment every [150°, 200°] and there is an overlap of [20°, 40°] between every two segments.

[0023] Preferably, curve fitting is performed on each segmented data in S3, including:

[0024] Calculate the mean of each point data in the X, Y, and Z directions, denoted as MeanPoint(x m ,y m ,z m );

[0025] Remove the mean value of each point data segment, that is, each point is compared with MeanPoint(x m ,y m ,z m ) to make a mistake;

[0026] Use the singular value decomposition algorithm to obtain the eigenvector EigenVector corresponding to the maximum eigenvalue of each segment of data;

[0027] Calculate the angles between the eigenvector EigenVector and the three coordinate axes X, Y, and Z respectively, and select the coordinate axis with the smallest angle as the main direction of the current segment point data;

[0028] Take the main direction as the independent variable and the other two axis data as the dependent variable to list the polynomial equations.

[0029] y=a 0 +a 1 *x+a 2 *x 2 +a 3 *x 3 +...+a n *x n (Formula 2)

[0030] z=b 0 +b 1 *x+b 2 *x 2 +b 3 *x 3 +...+b n *x n (Formula 3)

[0031] Formulas 2 and 3 are given with the X axis as the main direction;

[0032] The iterative reweighted least squares method is used to calculate [a 0 ,a 1 ,a 2 ,a 3 ,...,a n ] and [b 0 ,b 1 ,b 2 ,b 3 ,...,bn ]parameter;

[0033] The two fitted two-dimensional equations are combined and uniformly sampled to obtain a three-dimensional curve fitting result.

[0034] Preferably, when the curve fitting data in S3 is connected and merged, the overlapping data between every two segments are discarded, and the overlapping data in the last half of the previous segment and the overlapping data in the beginning half of the next segment are discarded.

[0035] Preferably, the welding process setting of the point cloud data in S6 includes the allocation of welding postures.

[0036] Preferably, the point cloud data and welding posture are converted into a workpiece coordinate system according to external axis calibration when output.

[0037] Preferably, the point cloud data is uniformly sampled and the welding posture is interpolated and sampled.

[0038] Beneficial effects of the present invention: The curve weld processing method based on the pre-scanning mode in the present application performs segmented curve fitting and fallback point filtering on point cloud data, which can adapt to special welds such as regular or irregular curve welds, welds with large local curvature, and corner welds or weld segment welds; it realizes one-time welding of irregular curve welds using the pre-scanning mode, reducing welding costs; the weld data calculated by the present application is accurate, and the error can be controlled within 1 mm. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the process of the spiral weld processing method based on the pre-scanning mode in this application;

[0040] Figure 2 This is the actual picture of the spiral tube workpiece;

[0041] Figure 3 This is the actual picture of the volute workpiece;

[0042] Figure 4 It is the point cloud data of spiral weld in the base coordinate system;

[0043] Figure 5 It is the point cloud data of the spiral case involute weld in the base coordinate system;

[0044] Figure 6 It is the point cloud data of spiral weld in the workpiece coordinate system;

[0045] Figure 7 It is the point cloud data of the volute involute weld in the workpiece coordinate system;

[0046] Figure 8 It is the final weld data of the spiral weld in the workpiece coordinate system;

[0047] Fig. 9 It is the final weld data of the volute involute weld in the workpiece coordinate system. DETAILED DESCRIPTION

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

[0049] The following combination Figure 1 The schematic diagram of the process of the curved weld processing method based on the pre-scanning mode shown in FIG. Figure 2 The spiral tube workpiece shown and Figure 3 The volute workpiece shown is used to further illustrate the technical solution in the present application. It needs to be further explained that the point cloud data in the present application refers to a collection of point data containing three-dimensional coordinates in a three-dimensional coordinate system.

[0050] A method for processing a curved weld based on a pre-scanning mode, comprising:

[0051] S1. Scan and convert to obtain the weld point cloud data PointCloudData in the workpiece coordinate system W Specifically, the spiral tube or volute mounted on the positioner rotates with the external shaft of the positioner, and is scanned using, for example, a 3D line laser camera, and the robot scans in a fixed posture along a certain direction. To scan the spiral tube, the robot moves along a certain direction on the ground rail, such as along the axial direction of the spiral tube. Figure 2 As shown. The volute workpiece is as follows Figure 3 As shown, when the volute workpiece is scanned, the volute rotates with the external axis of the positioner, and the robot moves in the forward and backward directions. Since the involute of the volute is not a standard circle and the center of rotation does not coincide with the center of the volute, the distance between the weld and the camera changes during rotation, and weld tracking is used to adjust the distance between the weld and the camera. That is, at the beginning of the scan, the robot with a fixed camera at the end moves forward from the origin and detects the weld in real time. When it is detected that the weld is at the optimal working distance from the camera (generally the center of the image), it stops moving. Then the volute rotates with the external axis while detecting the weld. If it is detected that the weld is farther away from the camera than the optimal distance, the robot is moved closer to the weld, otherwise it is away from the weld. The fixed posture scan is completed, and the robot movement speed is in a certain positive proportional relationship with the rotation angular velocity of the positioner. In this application, the scanning speed of the weld is [100,200] mm / s to ensure the accuracy of the scanning data; the weld point cloud data in the robot base coordinate system is obtained, and the spiral weld point cloud data in the base coordinate system and the volute involute weld point cloud data in the base coordinate system are approximately a straight line, as shown respectively. Figure 4 and5 As shown;

[0052] Calibrate the positioner and convert the point cloud data in the robot base coordinate system to the workpiece coordinate system to obtain the weld point cloud data PointCloudData in the workpiece coordinate system. W The point cloud data of the spiral weld in the workpiece coordinate system and the point cloud data of the volute involute weld in the base coordinate system present the actual shape of the workpiece weld, as shown in Figure 2. Figure 6 and 7 shown.

[0053] S2, the point cloud data PointCloudData obtained in S1 W Perform filtering and obtain filtered data FilteredData W , the specific methods include:

[0054] Calculate the point cloud data PointCloudData W The average value meanDist of the distances between all adjacent points in;

[0055] According to meanDist, the search radius of the radius filter is set to searchRadius.

[0056] searchRadius=meanDist*k formula (1)

[0057] Where k is an adjustable proportional coefficient, k = [2.0, 5.0], in this application, k = 3.0

[0058] Keep all points within the search radius searchRadius, that is, get the filtered data FilteredData W .

[0059] S3, according to the angle value of the point data in the workpiece coordinate system, divide the filtered data in S2 into sections of [150°, 200°] WSegmentation is performed and there is an overlap of [20°, 40°] between every two segments. In this application, the segmentation of the spiral weld point cloud data is based on the angle value of the point data in the workpiece coordinate system, taking into account the radius of the welded workpiece, and is divided into segments every 180° to avoid too many segments that will increase the algorithm time consumption, and too few segments that will cause local inaccuracies in curve fitting, and there is an overlap of 30° between every two segments. Specifically, the segmentation is based on the angle of rotation of the external axis. Taking the increase in the external axis angle as an example, if the external axis angle of the first weld point is 15°, then starting from the second weld point when the external axis angle is greater than or equal to 195°, it is the first segment of data, and so on, until the last point. In order to avoid the fitting curve being staggered at the junction of the two segments due to the lack of overlapping data in two adjacent segments, 15° overlapping data is retained, that is, the data within the 15° range of the front external axis in the second segment is appended to the end of the first segment, and the data within the 15° range of the external axis change after the first segment is inserted into the beginning of the second segment. At this time, the overlap angle is 30°; the segmentation of the volute involute weld point cloud data is based on the angle value of the point data in the workpiece coordinate system, and is divided into 4 segments at every [150°, 200°], and there is a 40° overlap between every two segments. Curve fitting is performed on each segmented data, including:

[0060] Calculate the mean of each point data in the X, Y, and Z directions, denoted as MeanPoint(x m ,y m ,z m );

[0061] Remove the mean value of each point data segment, that is, each point is compared with MeanPoint(x m ,y m ,z m ) to make a mistake;

[0062] Use the singular value decomposition algorithm to obtain the eigenvector EigenVector corresponding to the maximum eigenvalue of each segment of data;

[0063] Calculate the angles between the eigenvector EigenVector and the three coordinate axes X, Y, and Z respectively, and select the coordinate axis with the smallest angle as the main direction of the current segment point data;

[0064] Take the main direction as the independent variable and the other two axis data as the dependent variable to list the polynomial equations.

[0065] y=a 0 +a 1 *x+a 2 *x 2 +a 3 *x 3 +...+a n *x n (Formula 2)

[0066] z=b 0 +b 1 *x+b 2 *x 2 +b 3 *x 3 +...+b n *x n (Formula 3)

[0067] Formulas 2 and 3 are given with the X axis as the main direction;

[0068] The iterative reweighted least squares method is used to calculate [a 0 ,a 1 ,a 2 ,a 3 ,...,a n ] and [b 0 ,b 1 ,b 2 ,b 3 ,...,b n ] parameters; the highest degree of the polynomial used in this application is 3, that is, n=3 in Formula 2 and Formula 3;

[0069] The two fitted two-dimensional equations are combined and uniformly sampled to obtain a three-dimensional curve fitting result.

[0070] S4, connecting and merging the data of the segmented curve fitting in S3, discarding the overlapping data between every two segments, discarding the overlapping data in the last half of the previous segment and the overlapping data in the beginning half of the next segment.

[0071] S5. Filter the backoff points of the fitted data merged in S4. Here, the backoff points are points in the overlapping area. The output weld points are required to rotate clockwise or counterclockwise around a certain axis from the first point to the last point. Taking the spiral line as an example, each point after the first point rotates counterclockwise or clockwise around the central axis of the spiral tube. Points that do not meet this rule in the overlapping area are considered backoff points. Filtering the backoff points can ensure that the output data is in the order from the starting point to the end point, ensuring the quality and beauty of the welding, and obtaining the weld data processing results in the workpiece coordinate system. The final weld data of the spiral weld in the workpiece coordinate system and the final weld data of the volute involute weld in the workpiece coordinate system are as follows: Figure 8 and 9 shown.

[0072] S6. Perform welding process settings on the point cloud data after filtering out the backoff points in S5, including allocation of welding postures.

[0073] The input point data and the robot's end posture are in the robot base coordinate system. When outputting the point cloud data and welding posture, the point data needs to be converted to the workpiece coordinate system according to the external axis calibration, and the output welding point data is uniformly sampled, and the posture in the output workpiece coordinate system also needs to be interpolated and sampled accordingly. The weld data calculated by this application is accurate, and the error can be controlled within 1mm.

[0074] The technical solution in this application is a curve weld processing method based on the pre-scan mode. By performing segmented curve fitting and backoff point filtering on the point cloud data, one-time welding of irregular curve welds using the pre-scan mode can be achieved, reducing welding costs, and adapting to special welds such as regular or irregular curve welds, welds with large local curvature, and corner or weld segment welds. It should be noted that the curve welds in this application are not limited to spiral welds and volute involute welds.

Claims

1. A method for processing curved welds based on a pre-scanning mode, characterized in that: The method comprises: S1. Scan and convert to obtain the weld point cloud data PointCloudData in the workpiece coordinate system W ; S2, the point cloud data PointCloudData obtained in S1 W Perform filtering and obtain filtered data FilteredData W ; S3, according to the angle value of the point data in the workpiece coordinate system, filter the filtered data in S2 according to the angle W Divide the data into segments with overlap between each two segments, and perform curve fitting on each segmented data; S4, connect and merge the curve fitting data in S3; S5, filtering the fallback points of the merged fitting data in S4; S6. Perform welding process settings on the point cloud data after filtering out the backoff points in S5.

2. The method for processing curved welds based on a pre-scanning mode according to claim 1, characterized in that: The point cloud data PointCloudData is obtained in S1 W The specific methods include: The workpiece mounted on the positioner rotates with the positioner, and the robot scans in a certain direction with a fixed posture to obtain point cloud data in the robot's base coordinate system; Calibrate the positioner and convert the point cloud data in the robot base coordinate system to the workpiece coordinate system to obtain the point cloud data PointCloudData in the workpiece coordinate system. W .

3. The method for processing curved welds based on a pre-scanning mode according to claim 1, characterized in that: The S2 obtains the filtered data FilteredData W Use radius filtering, the specific methods include: Calculate the point cloud data PointCloudData W The average value meanDist of the distances between all adjacent points in; According to meanDist, the search radius of the radius filter is set to searchRadius. searchRadius=meanDist*k formula (1) Where k is an adjustable proportional coefficient, k = [2.0, 5.0]; Keep all points within the search radius searchRadius, that is, get the filtered data FilteredData W .

4. The method for processing curved welds based on the pre-scanning mode according to claim 3, characterized in that: The adjustable proportionality coefficient k=3.

0.

5. The method for processing curved welds based on a pre-scanning mode according to claim 1, characterized in that: The filtered data FilteredData in S3 W The segmentation method includes: according to the angle value of the point data in the workpiece coordinate system, the segment is divided into a segment every [150°, 200°] and there is an overlap of [20°, 40°] between every two segments.

6. The method for processing curved welds based on a pre-scanning mode according to claim 1 or 5, characterized in that: The curve fitting is performed on each segmented data in S3, including: Calculate the mean of each point data in the X, Y, and Z directions, denoted as MeanPoint(x m ,y m ,z m ); Remove the mean value of each point data segment, that is, each point is compared with MeanPoint(x m ,y m ,z m ) to make a mistake; Use the singular value decomposition algorithm to obtain the eigenvector EigenVector corresponding to the maximum eigenvalue of each segment of data; Calculate the angles between the eigenvector EigenVector and the three coordinate axes X, Y, and Z respectively, and select the coordinate axis with the smallest angle as the main direction of the current segment point data; Take the main direction as the independent variable and the other two axis data as the dependent variable to list the polynomial equations. y=a0+a1*x+a2*x 2 +a3*x 3 +...+a n *x n (Formula 2) z=b0+b1*x+b2*x 2 +b3*x 3 +...+b n *x n (Formula 3) Formulas 2 and 3 are given with the X axis as the main direction; The iterative reweighted least squares method is used to calculate [a0, a1, a2, a3, ..., a n ] and [b0,b1,b2,b3,...,b n ]parameter; The two fitted two-dimensional equations are combined and uniformly sampled to obtain a three-dimensional curve fitting result.

7. The method for processing curved welds based on a pre-scanning mode according to claim 1, characterized in that: When the curve fitting data in S3 is connected and merged, the overlapping data between every two segments are discarded, and the overlapping data in the last half of the previous segment and the overlapping data in the beginning half of the next segment are discarded.

8. The method for processing curved welds based on a pre-scanning mode according to claim 1, characterized in that: The welding process setting of the point cloud data in S6 includes the allocation of welding postures.

9. The method for processing curved welds based on the pre-scanning mode according to claim 8, characterized in that: The point cloud data and welding posture are converted into the workpiece coordinate system according to the external axis calibration when output.

10. The method for processing curved welds based on the pre-scanning mode according to claim 9, characterized in that: The point cloud data is uniformly sampled, and the welding posture is interpolated and sampled.

Citation Information

Patent Citations

  • Comprehensive detection method and system for geometrical parameters of power supply rail based on laser triangulation method

    CN112964195A

  • Impeller welding seam positioning method based on three-dimensional point cloud

    CN113793344A

  • End joint weld defect detection method and system based on point cloud

    CN116168032A

  • Welding seam extracting and fitting method based on 3D point cloud

    CN116542914A

  • Weld joint parameter identification method and apparatus, and electronic device and storage medium

    WO2023142229A1

Cited By

  • Self-adaptive grinding device and method for circumferential weld

    CN121267731A

  • Laser welding closed-loop control method based on visual guidance and molten pool monitoring

    CN121491541A