A welding automation intelligent guidance method and system based on collaborative robots
The point cloud data of the welding scene is obtained through a collaborative robot and a binocular structured light 3D scanner, and the motion trajectory and posture of the welding gun are obtained using a probe, which solves the problem of efficiency and stability of existing welding technology in complex welding trajectories and large batches of weldments. Solve the deficiencies and achieve high-quality welding automation intelligent guidance.
Patent Information
- Application Number
- CN202111512021.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-12-07
AI Technical Summary
When existing welding technology handles complex welding trajectories and large batches of weldments, it is difficult to guarantee the efficiency and stability of the teaching robot. It lacks intelligent visual acquisition and analysis capabilities, resulting in low welding quality.
The intelligent guidance method for welding automation based on collaborative robots is used to obtain point cloud data of the welding scene through a binocular structured light 3D scanner. The motion trajectory and position of the welding gun are obtained using a probe, which is stored as a matching template to automatically calculate the welding trajectory and position. Attitude, optimize the welding process.
The welding quality and efficiency are improved, complex welding trajectories and welding gun positions can be quickly obtained, the applicability is greatly improved, the welding process is optimized, and the welding quality is significantly improved.
Smart Images

Figure CN114474041B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of 3D vision welding, and in particular to a welding automation intelligent guidance method and system. Background Art
[0002] Welding technology plays a pivotal role in industrial manufacturing. my country is a major welding manufacturing country. Advanced welding technology is very important for improving my country's manufacturing capabilities. With the development of intelligent manufacturing, intelligent welding guidance methods are an important direction for the development of the welding field. At present, the welding robots used in the welding industry are mostly teaching programming and offline programming. Teaching robots have certain advantages in large-scale welding. While ensuring welding quality, they effectively improve work efficiency. However, for weldments with complex welding trajectories and many welding batches, the efficiency and stability of teaching are difficult to guarantee. Therefore, in order to better fit the development of the field of intelligent welding manufacturing, let the robot have human visual acquisition and analysis capabilities. How to obtain more accurate complex welding trajectories, optimize the welding process, and improve welding quality is an urgent problem to be solved.
[0003] The disclosure of the above background technology content is only used to assist in understanding the concept and technical solution of the present invention. It does not necessarily belong to the prior art of this patent application. In the absence of clear evidence that the above content has been disclosed on the filing date of this patent application, the above background technology should not be used to evaluate the novelty and creativity of the present application. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a welding automation intelligent guidance method and system based on collaborative robots, which optimizes the welding process and improves the welding quality.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] An embodiment of the present invention discloses a welding automation intelligent guidance method based on a collaborative robot, comprising the following steps:
[0007] S1: Calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner;
[0008] S2: Performing hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot;
[0009] S3: configuring a reference workpiece to be welded in a welding scene, acquiring point cloud data of the reference workpiece to be welded according to the binocular structured light three-dimensional scanner, configuring a probe on the reference workpiece to be welded, acquiring the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe, and storing the point cloud data of the reference workpiece to be welded, the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured as a matching template;
[0010] S4: configuring an actual workpiece to be welded in a welding scene, acquiring point cloud data of the actual workpiece to be welded according to the binocular structured light 3D scanner, and combining the matching template to obtain the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded;
[0011] S5: According to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded, the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded are obtained.
[0012] Preferably, step S1 specifically includes:
[0013] S11: configuring the binocular structured light 3D scanner above the collaborative robot, controlling a calibration plate fixed on the collaborative robot to move to a plurality of preset positions, so as to collect first calibration images at different positions through the binocular structured light 3D scanner, wherein the calibration plate is configured with coded marker points and non-coded marker points;
[0014] S12: using the Canny operator to perform marker point edge detection on the first calibration image, and performing sub-pixel edge extraction, and obtaining the coding point number through the coding marker point detection;
[0015] S13: completing the three-dimensional reconstruction of the coded marker points based on the relative orientation, and realizing the three-dimensional reconstruction of the non-coded marker points through the spatial forward intersection and backward intersection processes;
[0016] S14: Taking minimizing the reprojection error of the camera as the objective function, adopting the least square method to perform nonlinear optimization on the objective function, and adding the scale parameter to obtain the internal and external parameters of the camera.
[0017] Preferably, step S2 specifically includes:
[0018] S21: configuring the binocular structured light 3D scanner above the collaborative robot, controlling the calibration plate fixed on the collaborative robot to move to a plurality of preset positions, so as to collect second calibration images at different positions through the binocular structured light 3D scanner, and record the position and posture information of the teaching pendant of the collaborative robot, wherein the calibration plate is configured with coded marker points and non-coded marker points;
[0019] S22: performing binocular matching and three-dimensional reconstruction on the second calibration image to obtain a first coordinate transformation matrix between the coordinate system of the calibration plate and the coordinate system of the reference camera of the binocular structured light three-dimensional scanner;
[0020] S23: according to the posture information of the teaching pendant and the first coordinate transformation matrix, a second coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the coordinate system of the end flange of the collaborative robot is obtained by using hand-eye calibration;
[0021] S24: configuring a calibration object in a welding scene, controlling the collaborative robot so that the end of the welding gun moves to the top of the calibration object to calibrate the tool coordinate system of the end of the welding gun, and solving to obtain a third coordinate transformation matrix between the tool coordinate system and the coordinate system of the end flange of the collaborative robot;
[0022] S25: According to the second coordinate transformation matrix and the third coordinate transformation matrix, a fourth coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the tool coordinate system is obtained to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun.
[0023] Preferably, in step S3, configuring a reference workpiece to be welded in a welding scene, and acquiring point cloud data of the reference workpiece to be welded according to the binocular structured light 3D scanner specifically includes:
[0024] S31: configuring a reference workpiece to be welded in a welding scene, using the binocular structured light 3D scanner to photograph the reference workpiece to be welded from multiple angles and positions to acquire an image of the reference workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the reference workpiece to be welded;
[0025] S32: removing background point clouds and discrete points in the scene point cloud data of the reference workpiece to be welded by means of point cloud segmentation, so as to obtain point cloud data of the reference workpiece to be welded.
[0026] Preferably, in step S3, configuring a probe on the reference workpiece to be welded, and obtaining the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe specifically includes:
[0027] S33: According to the relative positional relationship between the binocular structured light 3D scanner and the welding gun obtained in step S2, the point cloud data of the reference workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and a reference workpiece to be welded coordinate system is established at the centroid of the point cloud data of the reference workpiece to be welded;
[0028] S34: placing a probe with a marking point at an initial position of a weld of a reference workpiece to be welded, and using the binocular structured light 3D scanner to acquire point cloud data of the probe, so as to obtain a position and posture of a tip of the probe in a coordinate system of a reference camera of the binocular structured light 3D scanner, and obtain a position and posture of the welding gun at an initial position of a weld of the reference workpiece to be welded;
[0029] S35: Move the probe along the trajectory of the weld to obtain the end motion trajectory of the welding gun, and use the binocular structured light three-dimensional scanner to obtain the motion trajectory of the identification point during the movement of the probe, discretize the motion trajectory of the identification point, and obtain the discrete posture of the welding gun according to the motion trajectory of the identification point after discretization. Based on the ICP method, the conversion matrix between the discrete posture of the welding gun and the posture of the welding gun at the initial position of the weld of the reference workpiece to be welded is solved to obtain the posture information of the welding gun during the welding process.
[0030] Preferably, step S4 specifically includes:
[0031] S41: configuring an actual workpiece to be welded in a welding scene, using the binocular structured light 3D scanner to photograph the actual workpiece to be welded from multiple angles and positions to collect images of the actual workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the actual workpiece to be welded;
[0032] S42: removing background point clouds and discrete points from the scene point cloud data of the actual workpiece to be welded by means of point cloud segmentation, so as to obtain point cloud data of the actual workpiece to be welded;
[0033] S43: According to the relative positional relationship between the binocular structured light 3D scanner and the welding gun obtained in step S2, the point cloud data of the actual workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and the actual workpiece to be welded coordinate system is established at the centroid of the point cloud data of the actual workpiece to be welded;
[0034] S44: registering the point cloud data of the actual workpiece to be welded with the point cloud data of the reference workpiece to be welded in the matching template based on a fast point feature histogram descriptor and a RANSAC algorithm to obtain a fifth coordinate transformation matrix between the coordinate system of the actual workpiece to be welded and the coordinate system of the reference workpiece to be welded;
[0035] S45: Based on the fifth coordinate transformation matrix and the end motion trajectory and posture of the welding gun in the welding scene configured with the reference workpiece to be welded in the matching template, the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded are calculated.
[0036] Preferably, after obtaining the fifth coordinate transformation matrix in step S43, the method further includes: using the obtained fifth coordinate transformation matrix as an initial value for iteration, and re-aligning by adopting an ICP method to update the fifth coordinate transformation matrix.
[0037] Preferably, step S5 specifically includes:
[0038] S51: Based on the inverse kinematics analysis of the collaborative robot, according to the end motion trajectory and posture of the welding gun in the welding scenario of the actual workpiece to be welded, the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded are obtained;
[0039] S52: evaluating the welding gun movement during the welding process based on the simulation result by simulating the welding trajectory and posture of the collaborative robot in step S51;
[0040] S53: Based on the evaluation result in step S52, for positions that cannot be achieved by movement, the end motion trajectory of the welding gun is optimized by adding transition points or adjusting the posture of the collaborative robot; for existing unstable motion positions, interpolation processing is performed on both sides to ensure safe and smooth operation of the welding process.
[0041] One embodiment of the present invention discloses a welding automation intelligent guidance system based on a collaborative robot, comprising:
[0042] The first unit is used to calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner;
[0043] The second unit is used to perform hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot;
[0044] A third unit is used to configure a reference workpiece to be welded in a welding scene, obtain point cloud data of the reference workpiece to be welded according to the binocular structured light three-dimensional scanner, and configure a probe on the reference workpiece to be welded, obtain the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe, and store the point cloud data of the reference workpiece to be welded and the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured as a matching template;
[0045] The fourth unit is used to configure an actual workpiece to be welded in a welding scene, obtain point cloud data of the actual workpiece to be welded according to the binocular structured light three-dimensional scanner, and obtain the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded in combination with the matching template;
[0046] The fifth unit is used to obtain the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded according to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded.
[0047] An embodiment of the present invention discloses a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the steps of the above-mentioned collaborative robot-based welding automation intelligent guidance method.
[0048] Compared with the prior art, the beneficial effects of the present invention are as follows: the welding automation intelligent guidance method and system based on collaborative robots proposed in the present invention, on the one hand, adopts a probe guidance method to quickly obtain the weld trajectory and the welding posture of the welding gun, and on the other hand, adopts a template matching idea, and saves the reference workpiece to be welded point cloud data, weld trajectory and welding gun posture in the template, so that during actual welding, the actual workpiece to be welded does not require high-precision positioning, and the binocular structured light three-dimensional scanner can be aligned according to the position of the actual workpiece to be welded and the posture of the reference workpiece to be welded in the template, and automatically calculate the weld trajectory and welding gun posture in the actual welding scene, which can greatly improve the applicability of the method, optimize the welding process, and significantly improve the welding quality.
[0049] In a further solution, identification points are pasted on the probe to represent the welding gun posture, which reduces the calculation time of the conversion relationship between the posture at different times and the initial posture and improves the calculation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of a welding automation intelligent guidance method based on a collaborative robot according to a preferred embodiment of the present invention;
[0051] Figure 2 yes Figure 1 Specific flow diagram of step S1 in FIG.
[0052] Figure 3 is a schematic diagram of a standard calibration plate and a scale used for reconstruction in a specific embodiment of the present invention;
[0053] Figure 4 yes Figure 1 Specific flow diagram of step S2;
[0054] Figure 5 is a schematic diagram of calibration of a robot tool coordinate system during hand-eye calibration in a specific embodiment of the present invention;
[0055] Figure 6 It is a schematic diagram of an actual scene of obtaining a matching template for a welding workpiece in a specific embodiment of the present invention;
[0056] Figure 7 yes Figure 1 Specific flow diagram of step S3;
[0057] Figure 8 yes Figure 1 Specific flow diagram of step S4;
[0058] Fig. 9 yes Figure 1 Specific flow diagram of step S5;
[0059] Fig.10 Schematic diagram of a welding automation intelligent guidance system based on a collaborative robot according to a preferred embodiment of the present invention;
[0060] Fig.11 It is a schematic diagram of a welding automation intelligent guidance system based on a collaborative robot according to another preferred embodiment of the present invention. DETAILED DESCRIPTION
[0061] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.
[0062] It should be noted that when a component is referred to as being "fixed to" or "disposed on" another component, it can be directly on the other component or indirectly on the other component. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, connection can be used for both fixing and circuit / signal communication.
[0063] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0064] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0065] The core parts of the welding automation intelligent guidance system include the visual perception part and the robot motion control part; the role of the visual perception part in the welding automation intelligent guidance is to identify and record the welding trajectory and provide the target position and posture information for the robot welding gun, while the robot motion control part is used to complete the welding process with high precision. The existing visual perception part is mainly based on a monocular camera, which completes the recognition of the target trajectory through a two-dimensional image plane. However, due to the lack of corresponding depth information, the acquired three-dimensional target information has information loss, and the algorithm of the binocular camera is difficult to perform trajectory recognition in a complex environment, and the stability is difficult to guarantee. In addition, the existing automatic welding system mainly adopts the following two methods when acquiring the welding trajectory: one is to obtain the weld trajectory directly through image processing based on the image of the workpiece to be welded, and the other is to guide the welding gun motion trajectory through laser and other methods to achieve the acquisition of the weld trajectory. However, the above two methods work well when the welding trajectory is simple, but when the weld trajectory is complex and the welding gun motion range is limited, the planning effect is difficult to guarantee. Therefore, it is necessary to manually simulate the welding gun motion trajectory in advance and then optimize the trajectory.
[0066] Most of the existing robot welding operations are based on traditional industrial robots, which are complex to operate, have poor operability in the environment, poor human-machine collaboration, and are mostly used in structured environments. Therefore, how to improve the robot's visual perception ability and, on this basis, complete the recognition, positioning and control of target trajectories in complex environments is a key issue to be solved by the welding automation intelligent guidance system.
[0067] Based on the above problems, Figure 1 As shown, the preferred embodiment of the present invention proposes a welding automation intelligent guidance method based on a collaborative robot and a high-precision visual algorithm, comprising the following steps:
[0068] S1: Calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner;
[0069] Specifically, Figure 2 As shown, calibrating the internal and external parameters of the camera of the binocular structured light 3D scanner includes the following steps:
[0070] S11: The binocular structured light 3D scanner is fixed on a beam above the collaborative robot, and the calibration plate fixed on the collaborative robot automatically moves to a plurality of pre-set positions, and the binocular structured light 3D scanner is used to collect first calibration images at different positions;
[0071] like Figure 3 , which is a schematic diagram of a standard calibration plate configured with coded marker points and non-coded marker points and a scale used for reconstruction in a specific embodiment of the present invention.
[0072] S12: using the Canny operator to perform marker point edge detection on the first calibration image, and further performing sub-pixel edge extraction, and obtaining the coded marker point number through coded marker point detection;
[0073] S13: completing the three-dimensional reconstruction of the coded landmarks based on the relative orientation, and further realizing the three-dimensional reconstruction of the non-coded landmarks through the spatial forward intersection and rear intersection processes;
[0074] S14: Taking minimizing the camera's reprojection error as the objective function, the least square method is used to perform nonlinear optimization on the objective function, and the scale parameter is added to obtain accurate internal and external parameters of the camera.
[0075] S2: Perform hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot;
[0076] Specifically, Figure 4 As shown, step S2 specifically includes:
[0077] S21: The binocular structured light 3D scanner is fixed on the beam above the collaborative robot, and the calibration plate fixed on the collaborative robot automatically moves to multiple pre-set positions. The binocular structured light 3D scanner is used to collect second calibration images at different positions, and the position information on the teaching pendant of the collaborative robot is recorded. The calibration plate is configured with coded marker points and non-coded marker points.
[0078] The second calibration image collected in this step may be the same as or different from the first calibration image collected in step S11. For example, in this step, second calibration images at 15 different positions need to be collected, while in step S11, first calibration images at 9 different positions need to be collected.
[0079] S22: performing binocular matching and three-dimensional reconstruction on the second calibration image, calculating the position of the three-dimensional coordinate point of the coding mark point in the reference camera coordinate system, and then solving the first coordinate conversion matrix between the coordinate system of the calibration plate and the coordinate system of the reference camera of the binocular structured light three-dimensional scanner;
[0080] S23: according to the posture information of the teaching pendant and the first coordinate transformation matrix, a second coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the coordinate system of the end flange of the collaborative robot is obtained by using hand-eye calibration;
[0081] S24: configuring a calibration object in a welding scene, controlling the collaborative robot so that the end of the welding gun moves to the top of the calibration object to calibrate the tool coordinate system of the end of the welding gun, and solving to obtain a third coordinate transformation matrix between the tool coordinate system and the coordinate system of the end flange of the collaborative robot;
[0082] Specifically, Figure 5 As shown, it is a schematic diagram of the calibration of the tool coordinate system of the collaborative robot during the hand-eye calibration process, wherein the collaborative robot 1 is fixedly mounted on the base 11, the bracket 2 is fixedly arranged relative to the base 11 of the collaborative robot 1, and the welding gun 13 is mounted on the end flange 12 of the collaborative robot 1, wherein the tool coordinate system is a coordinate system established on the end of the welding gun 13; the calibration object 3 is mounted on the bracket 2, and the collaborative robot 1 controls the welding gun 13 to complete the teaching process at three positions (such as the first teaching position 100, the second teaching position 200 and the third teaching position 300 in the figure), and then solves the third coordinate transformation matrix between the tool coordinate system of the collaborative robot and the coordinate system of the end flange 12 of the collaborative robot.
[0083] S25: According to the second coordinate transformation matrix and the third coordinate transformation matrix, a fourth coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the tool coordinate system is obtained to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun.
[0084] S3: configuring a reference workpiece to be welded in a welding scene, acquiring point cloud data of the reference workpiece to be welded according to a binocular structured light three-dimensional scanner, configuring a probe on the reference workpiece to be welded, acquiring a terminal motion trajectory and a position and posture of a welding gun in a welding scene in which the reference workpiece to be welded is configured based on the probe, and storing the point cloud data of the reference workpiece to be welded and the terminal motion trajectory and the position and posture of the welding gun in a welding scene in which the reference workpiece to be welded is configured as a matching template;
[0085] In the example of the present invention, a template matching-based approach is adopted, in which the template contains the three-dimensional point cloud data of the reference workpiece to be welded and the reference workpiece coordinate system to be welded, the trajectory of the welding gun movement and the collaborative robot control program. The template matching approach can quickly calculate the welding trajectory under the new posture when the placement posture of the workpiece to be welded changes, and is applicable to a variety of welding scenarios.
[0086] like Figure 6 As shown, it is a schematic diagram of a scene for establishing a matching template in a specific embodiment of the present invention, which includes a collaborative robot 1, a bracket 2, a probe 4, a binocular structured light 3D scanner 5, a beam 6, a computer 7, and a control box 8, wherein the control box 8 is connected to the collaborative robot 1 and the computer 7, the computer 7 is connected to the binocular structured light 3D scanner 5, the binocular structured light 3D scanner 5 is fixedly connected to the beam 6 located above the collaborative robot 1, the binocular structured light 3D scanner 5 includes a left camera 51 and a right camera 52, wherein the left camera 51 is a reference camera of the binocular structured light 3D scanner 5; the welding gun 13 is connected to the end flange 12 of the collaborative robot 1, the collaborative robot 1 is fixedly mounted on the base 11, the bracket 2 is fixedly arranged relative to the base 11 of the collaborative robot 1, the reference workpiece 9 to be welded is fixedly arranged on the bracket 2, and a weld 91 is provided on the reference workpiece 9 to be welded.
[0087] Specifically, combined Figure 6 and Figure 7 As shown, step S3 specifically includes:
[0088] S31: configuring a reference workpiece to be welded 9 in a welding scene, using a binocular structured light 3D scanner 5 to photograph the reference workpiece to be welded 9 from multiple angles and positions to collect images of the reference workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the reference workpiece to be welded 9;
[0089] S32: removing the background point cloud and discrete points in the scene point cloud data of the reference workpiece to be welded 9 by means of point cloud segmentation, and obtaining the point cloud data of the reference workpiece to be welded 9;
[0090] S33: According to the relative positional relationship between the binocular structured light 3D scanner 5 and the welding gun 13 connected to the end flange 12 of the collaborative robot 1 obtained in step S25, the point cloud data of the reference workpiece 9 to be welded is converted from the coordinate system of the reference camera (left camera 51) of the binocular structured light 3D scanner 5 to the base coordinate system of the collaborative robot 1 (a coordinate system established on the base 11 of the collaborative robot 1), and a reference workpiece coordinate system to be welded is established at the centroid of the point cloud data of the reference workpiece 9 to be welded;
[0091] S34: placing the probe 4 with the identification point at the initial position of the weld 91 of the reference workpiece 9 to be welded, and using the binocular structured light 3D scanner 5 to obtain the point cloud data of the probe 4, so as to obtain the posture of the end of the probe 4 in the coordinate system of the reference camera (left camera 51) of the binocular structured light 3D scanner 5, and obtain the posture of the welding gun 13 at the initial position of the weld 91 of the reference workpiece 9 to be welded;
[0092] S35: Move the probe 4 along the trajectory of the weld 91 to obtain the end motion trajectory of the probe 4, which is the end motion trajectory of the welding gun 13; and use the binocular structured light three-dimensional scanner 5 to obtain the motion trajectory of the identification point during the movement of the probe 4, discretize the motion trajectory of the identification point, and obtain the discrete position and posture of the welding gun 13 according to the motion trajectory of the discretized identification point. Based on the ICP (Iterative Closest Point, a method for precise point cloud registration) method, the conversion matrix between the discrete position and posture of the welding gun 13 and the position and posture of the welding gun 13 at the initial position of the weld 91 of the reference workpiece 9 to be welded is solved to obtain a series of position and posture information of the welding gun 13 during the welding process;
[0093] Specifically, in order to reduce the alignment time, the position and posture of the welding gun 13 at any time in this embodiment is actually represented by the marking points on the probe 4. For example, the continuous motion trajectory of the marking point is discretized into n segments, and the i-th position after discretization (1≤i≤n), the position at this time, that is, the three-dimensional coordinates of multiple marking points on the probe 4, is the motion trajectory of the discretized marking points, based on which the discrete position and posture of the welding gun 13 can be obtained; based on the marking points, the transformation matrix of the i-th position and the initial moment is solved, which is the transformation matrix of the corresponding i-th position posture of the welding gun 13 and the initial moment posture of the welding gun 13.
[0094] S36: The point cloud data of the reference workpiece 9 to be welded, the end motion trajectory of the welding gun 13 in the welding scene configured with the reference workpiece 9 to be welded obtained in step S35, and a series of position information of the welding gun 13 during the welding process are stored as a matching template.
[0095] S4: configuring an actual workpiece to be welded in a welding scene, acquiring point cloud data of the actual workpiece to be welded according to a binocular structured light 3D scanner, and combining with a matching template to obtain a terminal motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded;
[0096] Specifically, Figure 8 As shown, step S4 specifically includes:
[0097] S41: configuring an actual workpiece to be welded in a welding scene, using a binocular structured light 3D scanner to photograph the actual workpiece to be welded from multiple angles and positions to collect images of the actual workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the actual workpiece to be welded;
[0098] S42: removing background point clouds and discrete points from scene point cloud data of the actual workpiece to be welded by means of point cloud segmentation, thereby obtaining point cloud data of the actual workpiece to be welded;
[0099] S43: According to the relative position relationship between the binocular structured light 3D scanner and the welding gun obtained in step S25, the point cloud data of the actual workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and the coordinate system of the actual workpiece to be welded is established at the centroid of the point cloud data of the actual workpiece to be welded;
[0100] S44: performing coarse registration on the point cloud data of the actual workpiece to be welded and the point cloud data of the reference workpiece to be welded in the matching template based on a fast point feature histogram descriptor (FPFH) and a RANSAC algorithm to obtain a fifth coordinate transformation matrix between the coordinate system of the actual workpiece to be welded and the coordinate system of the reference workpiece to be welded;
[0101] Furthermore, after the fifth coordinate transformation matrix is obtained by coarse registration, the fifth coordinate transformation matrix obtained by coarse registration is used as an initial value for iteration, and the ICP method is used for fine registration to correct and update the fifth coordinate transformation matrix.
[0102] S45: Based on the fifth coordinate transformation matrix and the end motion trajectory and posture of the welding gun in the matching template, the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded are calculated.
[0103] S5: According to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded, the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded are obtained.
[0104] Specifically, Fig. 9 As shown, step S5 specifically includes:
[0105] S51: Based on the inverse kinematics analysis of the collaborative robot, the welding trajectory and posture of the collaborative robot for the actual workpiece to be welded are obtained according to the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded;
[0106] S52: The collaborative robot is simulated to run the welding trajectory and posture of the actual workpiece to be welded, and the feasibility and stability of the welding gun movement during the welding process are evaluated based on the simulation results;
[0107] S53: Based on the feasibility assessment results, for positions that cannot be achieved by motion, such as unreachable points, collision points and singular points, the end motion trajectory of the welding gun is optimized by adding transition points or adjusting the posture of the collaborative robot; based on the stability assessment results, for existing unstable motion positions, interpolation processing is performed on both sides to ensure the stability of the operation and ensure safe and smooth operation of the welding process.
[0108] The preferred embodiment of the present invention discloses a welding automation intelligent guidance method based on a collaborative robot. First, the internal and external parameters of the camera in the binocular structured light 3D scanner are calibrated, and then the hand-eye calibration of the collaborative robot is performed to obtain the positional relationship between the end welding gun of the collaborative robot and the binocular structured light 3D scanner; then, after the binocular structured light 3D scanner obtains the motion trajectory of the probe, it needs to be converted into an executable trajectory of the collaborative robot welding gun. The accuracy of the hand-eye calibration directly affects the final welding accuracy. Specifically, the binocular structured light 3D scanner obtains the motion trajectory of the probe, which is in the reference camera coordinate system, and then converts it to the collaborative robot base coordinate system through the transformation matrix. Through the robot kinematics forward solution and the collaborative robot tool coordinate system calibration, the motion trajectory of the welding gun is converted into an executable trajectory of the welding gun.
[0109] The welding automation intelligent guidance method based on collaborative robots proposed in the preferred embodiment of the present invention can quickly obtain high-quality and high-density three-dimensional point cloud information by using a high-precision binocular structured light three-dimensional scanner, has strong anti-interference ability, and the scanning accuracy of a single frame can reach 0.02mm; based on two-dimensional images and three-dimensional point cloud data, accurate acquisition of welding trajectories can be achieved through a high-precision point cloud registration algorithm.
[0110] like Fig.10 As shown, the preferred embodiment of the present invention also discloses a welding automation intelligent guidance system based on a collaborative robot, including a system calibration module, a visual perception module and a motion control module, wherein:
[0111] The system calibration module includes a binocular camera calibration unit and a hand-eye calibration unit. The binocular camera calibration unit is used to calibrate the camera of the binocular structured light 3D scanner, and the hand-eye calibration unit is used to calibrate the hand-eye of the collaborative robot.
[0112] The visual perception module includes data acquisition, welding matching template establishment and actual welding scene matching. The matching template includes the reference workpiece posture, the probe-guided welding trajectory and the corresponding welding gun posture. The actual welding scene matching includes the posture recognition of the actual workpiece to be welded and the collaborative robot's welding gun motion path planning.
[0113] The robot motion control module includes a welding gun motion reliability analysis module and a welding execution module.
[0114] like Fig.11 As shown, the preferred embodiment of the present invention further discloses a welding automation intelligent guidance system based on a collaborative robot, comprising:
[0115] The first unit is used to calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner;
[0116] The second unit is used to perform hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot;
[0117] The third unit is used to configure a reference workpiece to be welded in a welding scene, obtain point cloud data of the reference workpiece to be welded according to a binocular structured light three-dimensional scanner, and configure a probe on the reference workpiece to be welded, obtain the end motion trajectory and posture of the welding gun in the welding scene of the configuration of the reference workpiece to be welded based on the probe, and store the point cloud data of the reference workpiece to be welded and the end motion trajectory and posture of the welding gun in the welding scene of the configuration of the reference workpiece to be welded as a matching template;
[0118] The fourth unit is used to configure the actual workpiece to be welded in the welding scene, obtain the point cloud data of the actual workpiece to be welded according to the binocular structured light 3D scanner, and combine with the matching template to obtain the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded;
[0119] The fifth unit is used to obtain the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded according to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded.
[0120] The preferred embodiment of the present invention further discloses a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the steps of the above-mentioned collaborative robot-based welding automation intelligent guidance method.
[0121] In terms of data acquisition method, the preferred embodiment of the present invention adopts a binocular structured light scanner to obtain point cloud data. The point cloud data acquisition has high density and high precision, and can achieve high-precision reconstruction of the workpiece to be welded with an accuracy of up to 0.02mm. The scanner can select the format size according to the model size, thereby improving the scanning efficiency while ensuring the scanning accuracy, and is suitable for scanning and reconstruction of workpieces to be welded of different scales.
[0122] In terms of welding guidance, a probe guidance method is adopted. This method can not only obtain the welding trajectory, but also quickly obtain the welding posture of the welding gun. When planning the welding gun posture of a complex weld trajectory, the effect of automatically planning the welding gun posture through the weld is poor. This method can quickly complete the acquisition of the welding gun posture under a complex trajectory. In addition, in the preferred embodiment, the method of sticking identification points on the probe is adopted, and the identification points are used to represent the welding gun posture, which reduces the calculation time of the conversion relationship between the posture at different times and the initial posture, and improves the calculation efficiency.
[0123] In general, the preferred embodiment of the present invention adopts a template matching-based approach, in which the template stores the point cloud data of the workpiece to be welded, the weld trajectory and the welding gun posture. In actual welding, the workpiece to be welded does not need high-precision positioning. The binocular structured light 3D scanner can align the actual position of the workpiece to be welded with the posture of the workpiece in the template, and automatically calculate the weld trajectory and welding gun posture in the actual welding scene, which can greatly improve the applicability of the method.
[0124] The background section of the present invention may contain background information about the problem or environment of the present invention, rather than describing the prior art by others. Therefore, the content contained in the background section is not an admission by the applicant that the prior art is available.
[0125] The above content is a further detailed description of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, without departing from the concept of the present invention, it can also make several substitutions or modifications to these described embodiments, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention. In the description of this specification, the description of reference terms "an embodiment", "some embodiments", "preferred embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, the technical personnel in this field can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and modifications can be made herein without departing from the scope defined by the attached claims.
Claims
1. An intelligent guidance method for welding automation based on collaborative robots, It is characterized in that The following steps are involved: S1: Calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner; S2: Performing hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot; S3: configuring a reference workpiece to be welded in a welding scene, acquiring point cloud data of the reference workpiece to be welded according to the binocular structured light three-dimensional scanner, configuring a probe on the reference workpiece to be welded, acquiring the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe, and storing the point cloud data of the reference workpiece to be welded, the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured as a matching template; S4: configuring an actual workpiece to be welded in a welding scene, acquiring point cloud data of the actual workpiece to be welded according to the binocular structured light 3D scanner, and combining the matching template to obtain the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded; S5: according to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded, the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded are obtained; Among them, in step S3, configuring a reference workpiece to be welded in a welding scene, and obtaining point cloud data of the reference workpiece to be welded according to the binocular structured light 3D scanner specifically includes: S31: configuring a reference workpiece to be welded in a welding scene, using the binocular structured light 3D scanner to photograph the reference workpiece to be welded from multiple angles and positions to acquire an image of the reference workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the reference workpiece to be welded; S32: removing background point clouds and discrete points in the scene point cloud data of the reference workpiece to be welded by means of point cloud segmentation, so as to obtain point cloud data of the reference workpiece to be welded; In step S3, configuring a probe on the reference workpiece to be welded, and obtaining the end motion trajectory and posture of the welding gun in the welding scene where the reference workpiece to be welded is configured based on the probe specifically includes: S33: According to the relative positional relationship between the binocular structured light 3D scanner and the welding gun obtained in step S2, the point cloud data of the reference workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and a reference workpiece to be welded coordinate system is established at the centroid of the point cloud data of the reference workpiece to be welded; S34: placing a probe with a marking point at an initial position of the weld of the reference workpiece to be welded, and using the binocular structured light 3D scanner to acquire point cloud data of the probe, so as to obtain the position and posture of the end of the probe in the coordinate system of the reference camera of the binocular structured light 3D scanner, and obtain the position and posture of the welding gun at the initial position of the weld of the reference workpiece to be welded; S35: moving the probe along the trajectory of the weld to obtain the end motion trajectory of the welding gun, and using the binocular structured light three-dimensional scanner to obtain the motion trajectory of the identification point during the movement of the probe, discretizing the motion trajectory of the identification point, and obtaining the discrete posture of the welding gun according to the motion trajectory of the identification point after the discretization, solving the conversion matrix between the discrete posture of the welding gun and the posture of the welding gun at the initial position of the weld of the reference workpiece to be welded based on the ICP method, and solving to obtain the posture information of the welding gun during the welding process; Step S4 specifically includes: S41: configuring an actual workpiece to be welded in a welding scene, using the binocular structured light 3D scanner to photograph the actual workpiece to be welded from multiple angles and positions to collect images of the actual workpiece to be welded, obtaining required image features through image preprocessing, and performing binocular matching and 3D reconstruction to obtain scene point cloud data of the actual workpiece to be welded; S42: removing background point clouds and discrete points from the scene point cloud data of the actual workpiece to be welded by means of point cloud segmentation, so as to obtain point cloud data of the actual workpiece to be welded; S43: According to the relative positional relationship between the binocular structured light 3D scanner and the welding gun obtained in step S2, the point cloud data of the actual workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and the actual workpiece to be welded coordinate system is established at the centroid of the point cloud data of the actual workpiece to be welded; S44: registering the point cloud data of the actual workpiece to be welded with the point cloud data of the reference workpiece to be welded in the matching template based on a fast point feature histogram descriptor and a RANSAC algorithm to obtain a fifth coordinate transformation matrix between the coordinate system of the actual workpiece to be welded and the coordinate system of the reference workpiece to be welded; S45: Based on the fifth coordinate transformation matrix and the end motion trajectory and posture of the welding gun in the welding scene configured with the reference workpiece to be welded in the matching template, the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded are calculated.
2. The welding automation intelligent guidance method based on collaborative robots according to claim 1, It is characterized in that Step S1 specifically includes: S11: configuring the binocular structured light 3D scanner above the collaborative robot, controlling a calibration plate fixed on the collaborative robot to move to a plurality of preset positions, so as to collect first calibration images at different positions through the binocular structured light 3D scanner, wherein the calibration plate is configured with coded marker points and non-coded marker points; S12: using the Canny operator to perform marker point edge detection on the first calibration image, and performing sub-pixel edge extraction, and obtaining the coding point number through the coding marker point detection; S13: completing the three-dimensional reconstruction of the coded marker points based on the relative orientation, and realizing the three-dimensional reconstruction of the non-coded marker points through the spatial forward intersection and backward intersection processes; S14: Taking minimizing the reprojection error of the camera as the objective function, adopting the least square method to perform nonlinear optimization on the objective function, and adding the scale parameter to obtain the internal and external parameters of the camera.
3. The welding automation intelligent guidance method based on collaborative robots according to claim 1, It is characterized in that Step S2 specifically includes: S21: configuring the binocular structured light 3D scanner above the collaborative robot, controlling the calibration plate fixed on the collaborative robot to move to a plurality of preset positions, so as to collect second calibration images at different positions through the binocular structured light 3D scanner, and record the position and posture information of the teaching pendant of the collaborative robot, wherein the calibration plate is configured with coded marker points and non-coded marker points; S22: performing binocular matching and three-dimensional reconstruction on the second calibration image to obtain a first coordinate transformation matrix between the coordinate system of the calibration plate and the coordinate system of the reference camera of the binocular structured light three-dimensional scanner; S23: according to the posture information of the teaching pendant and the first coordinate transformation matrix, a second coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the coordinate system of the end flange of the collaborative robot is obtained by using hand-eye calibration; S24: configuring a calibration object in a welding scene, controlling the collaborative robot so that the end of the welding gun moves to the top of the calibration object to calibrate the tool coordinate system of the end of the welding gun, and solving to obtain a third coordinate transformation matrix between the tool coordinate system and the coordinate system of the end flange of the collaborative robot; S25: According to the second coordinate transformation matrix and the third coordinate transformation matrix, a fourth coordinate transformation matrix of the coordinate system of the reference camera of the binocular structured light 3D scanner and the tool coordinate system is obtained to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun.
4. The welding automation intelligent guidance method based on collaborative robots according to claim 1, It is characterized in that After obtaining the fifth coordinate transformation matrix in step S43, the method further includes: using the obtained fifth coordinate transformation matrix as an initial value for iteration, and re-aligning by adopting an ICP method to update the fifth coordinate transformation matrix.
5. The welding automation intelligent guidance method based on collaborative robots according to claim 1, It is characterized in that Step S5 specifically includes: S51: Based on the inverse kinematics analysis of the collaborative robot, according to the end motion trajectory and posture of the welding gun in the welding scenario of the actual workpiece to be welded, the welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded are obtained; S52: evaluating the welding gun movement during the welding process based on the simulation results by simulating the welding trajectory and posture of the collaborative robot in step S51; S53: Based on the evaluation result in step S52, for positions that cannot be achieved by movement, the end motion trajectory of the welding gun is optimized by adding transition points or adjusting the posture of the collaborative robot; for existing unstable motion positions, interpolation processing is performed on both sides to ensure safe and smooth operation of the welding process.
6. A welding automation intelligent guidance system based on collaborative robots, It is characterized in that include: The first unit is used to calibrate the internal and external parameters of the camera in the binocular structured light 3D scanner; The second unit is used to perform hand-eye calibration on the collaborative robot to obtain the relative position relationship between the binocular structured light 3D scanner and the welding gun connected to the end flange of the collaborative robot; A third unit is used to configure a reference workpiece to be welded in a welding scene, obtain point cloud data of the reference workpiece to be welded according to the binocular structured light three-dimensional scanner, and configure a probe on the reference workpiece to be welded, obtain the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe, and store the point cloud data of the reference workpiece to be welded and the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured as a matching template; The fourth unit is used to configure an actual workpiece to be welded in a welding scene, obtain point cloud data of the actual workpiece to be welded according to the binocular structured light three-dimensional scanner, and obtain the end motion trajectory and posture of the welding gun in the welding scene configured with the actual workpiece to be welded in combination with the matching template; A fifth unit is used to obtain a welding trajectory and posture of the collaborative robot when welding the actual workpiece to be welded according to the end motion trajectory and posture of the welding gun in the welding scene of the actual workpiece to be welded; The third unit configures a reference workpiece to be welded in a welding scene, and obtains point cloud data of the reference workpiece to be welded according to the binocular structured light three-dimensional scanner, specifically including: A reference workpiece to be welded is configured in a welding scene, and the binocular structured light three-dimensional scanner is used to photograph the reference workpiece to be welded from multiple angles and positions to collect images of the reference workpiece to be welded, and required image features are obtained through image preprocessing, and binocular matching and three-dimensional reconstruction are performed to obtain scene point cloud data of the reference workpiece to be welded; and background point clouds and discrete points in the scene point cloud data of the reference workpiece to be welded are removed by point cloud segmentation to obtain point cloud data of the reference workpiece to be welded; In the third unit, configuring a probe on the reference workpiece to be welded, and acquiring the end motion trajectory and posture of the welding gun in the welding scene in which the reference workpiece to be welded is configured based on the probe specifically includes: According to the relative position relationship between the binocular structured light 3D scanner and the welding gun obtained by the second unit, the point cloud data of the reference workpiece to be welded is converted from the coordinate system of the reference camera of the binocular structured light 3D scanner to the base coordinate system of the collaborative robot, and a reference workpiece coordinate system is established at the centroid of the point cloud data of the reference workpiece to be welded; a probe with an identification point is arranged at the initial position of the weld of the reference workpiece to be welded, and the binocular structured light 3D scanner is used to obtain the point cloud data of the probe, so as to obtain the position of the end of the probe in the coordinate system of the reference camera of the binocular structured light 3D scanner. The method comprises the steps of: determining a position of the welding gun at an initial position of the weld of the reference workpiece to be welded by measuring the position of the welding gun; moving the probe along the trajectory of the weld to obtain a terminal motion trajectory of the welding gun, and using the binocular structured light three-dimensional scanner to obtain the motion trajectory of the identification point during the movement of the probe, discretizing the motion trajectory of the identification point, and obtaining the discrete position and posture of the welding gun according to the motion trajectory of the identification point after the discretization. Based on the ICP method, a conversion matrix between the discrete position and posture of the welding gun and the position and posture of the welding gun at the initial position of the weld of the reference workpiece to be welded is solved to obtain the position and posture information of the welding gun during the welding process; The fourth unit is specifically used to configure an actual workpiece to be welded in a welding scene, use the binocular structured light 3D scanner to shoot the actual workpiece to be welded from multiple angles and positions to collect images of the actual workpiece to be welded, obtain required image features through image preprocessing, and perform binocular matching and 3D reconstruction to obtain scene point cloud data of the actual workpiece to be welded; use point cloud segmentation to remove background point clouds and discrete points in the scene point cloud data of the actual workpiece to be welded to obtain point cloud data of the actual workpiece to be welded; according to the relative position relationship between the binocular structured light 3D scanner and the welding gun obtained by the second unit, the obtained point cloud data of the actual workpiece to be welded is obtained from the base point cloud of the binocular structured light 3D scanner. The coordinate system of the quasi-camera is converted to the base coordinate system of the collaborative robot, and the coordinate system of the actual workpiece to be welded is established at the centroid of the point cloud data of the actual workpiece to be welded; based on the fast point feature histogram descriptor and the RANSAC algorithm, the point cloud data of the actual workpiece to be welded and the point cloud data of the reference workpiece to be welded in the matching template are aligned to obtain a fifth coordinate transformation matrix between the coordinate system of the actual workpiece to be welded and the coordinate system of the reference workpiece to be welded; based on the fifth coordinate transformation matrix and the terminal motion trajectory and posture of the welding gun in the welding scene with the reference workpiece to be welded configured in the matching template, the terminal motion trajectory and posture of the welding gun in the welding scene with the actual workpiece to be welded are calculated.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the steps of the collaborative robot-based welding automation intelligent guidance method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Medium and thick plate robot welding track planning method, equipment and medium
CN110271005A
Welding control method, device and system
CN110706284A
Method for generating surfacing path of membrane wall
CN110936077A
Intelligent pipe plate welding method
CN111098055A
Collaborative planning method of complicated space curve welding seam motion track and welding technology
CN111230869A
