A multi-layer welding process system suitable for collaborative robots

Through the collaborative robot multi-layer welding system, the visual unit and module are used to work together to solve the problem of inaccurate weld seam identification and tracking in multi-layer welding of medium and thick plate workpieces, and improve the welding strength and efficiency.

CN118559315BActive Publication Date: 2024-10-15FRADY (NINGBO) ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411019395.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-15
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

In the existing technology, welding seam identification and tracking during multi-layer welding of medium-thick plate workpieces is inaccurate, making it difficult to accurately identify and track the welding path of the same layer of welding seams, affecting production efficiency.

Method used

A collaborative robot multi-layer welding system is used, including a vision unit, recognition module, model module and collaboration module. The weld image is formed through depth image fitting, the weld coordinate system is constructed, the weld information is obtained, and real-time corrections are made during the welding process. , to ensure accurate welding of the weld.

Benefits of technology

It achieves accurate welding of multi-layer welds, improves welding strength and production efficiency, and ensures the continuity and accuracy of the welding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118559315B_ABST
    Figure CN118559315B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-layer welding process system suitable for a collaborative robot, and relates to the technical field of welding systems. The key points of the technical solution include an identification module, a model module, and a collaborative module. The identification module is configured with an identification strategy for obtaining a weld image, and the model module is configured with a simulation strategy for forming a simulation model. The simulation strategy also includes constructing a weld coordinate system based on a simulated workpiece and a simulated weld, obtaining the position of the bottom weld based on the weld coordinate system, and generating welding information. The collaborative module includes a detection unit and a collaborative unit. The detection unit is configured with an execution strategy for determining whether to correct the position of the welding wire, and the collaborative unit is configured with a correction strategy for correcting welding information or real coordinates. The present invention provides a multi-layer welding process system suitable for a collaborative robot, which has the function of planning the welds before welding the multi-layer welds, and tracking the welds, so as to achieve the effect of accurate welding of the multi-layer welds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of welding systems, and more particularly to a multi-layer welding process system suitable for collaborative robots. Background Art

[0002] Welding, also known as fusion, is a manufacturing process that joins metals or other thermoplastic materials by heating, high temperature or high pressure. According to the different characteristics of the welding process, welding can be divided into three categories: fusion welding, pressure welding and brazing. Among them, the most widely used process suitable for robot automated welding is fusion welding. Gas shielded welding is a typical fusion welding process. During welding, the welding wire passes directly to the working position through the wire feeding mechanism, and then the protective gas is sprayed through the welding gun to cover the molten pool to prevent oxidation, and finally a weld is formed. The above process is the main process currently used in robot welding.

[0003] In actual production, large steel structures usually use plates with a thickness of more than 10 mm due to strength requirements. This type of welding process is called medium and thick plate welding. Due to the large thickness of the plate, the parameters such as the depth of penetration and the width of the weld leg formed by a single welding cannot reach the required welding strength. Therefore, when welding medium and thick plate workpieces, it is necessary to perform multiple layered welding on the same weld, also known as multi-layer multi-pass welding, to form a multi-layer weld group with a triangular cross-section and a large welding width, thereby obtaining a higher welding strength. In the robotic automated welding process, the multi-layer weld group needs to program each weld of each layer one by one, which is relatively labor-intensive, and it is often necessary to manually program the next layer of welds after the upper layer of welds is completed, resulting in the need for frequent alternation between welding production and robot programming, making it impossible to achieve continuous welding, affecting production efficiency.

[0004] The invention patent with existing announcement number: CN103753015B discloses a weld tracking system for a laser welding machine, in which a CCD visual sensor converts the light signal it collects into image data output in a time-series serial manner to obtain a weld path image, the image processing module is used to pre-process the weld path image, calculate the actual weld path width and tracking direction, and output the actual welding trajectory data in combination with the workpiece height obtained by detection, the main control module is used to process the actual welding trajectory data, and issue control instructions based on the processing results, and the CNC drive module is used to execute the control instructions of the main control module to drive the laser welding head, adjust the position of the laser welding head, and control the welding action of the laser welding head.

[0005] Although the prior art discloses a system method for tracking welds, the welding method disclosed in the prior art is a method for tracking single-layer welds. When medium and thick plate workpieces require multiple layers of welds for welding, the weld identification and tracking is inaccurate, and it is difficult to achieve the effect of identifying and tracking the welding paths of the welds on the same layer. In this regard, the present invention provides a welding system suitable for collaborative robot multi-layer welding. Summary of the invention

[0006] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a multi-layer welding process system suitable for a collaborative robot, which has the functions of pre-weld planning of multi-layer welds and weld tracking to achieve the effect of accurate welding of multi-layer welds.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A multi-layer welding process system for a collaborative robot, including being applied to a collaborative robot, wherein the collaborative robot includes a welding robot arm, wherein the welding robot arm is provided with a visual unit, wherein the visual unit is used to identify a welded part and a weld position and generate a target image;

[0009] It also includes recognition module, model module and collaboration module;

[0010] The recognition module is provided with a recognition strategy, which includes controlling the visual unit to obtain a target image, the target image includes a depth image and a workpiece image, and performing depth fitting on the depth image obtained by multiple recognitions to obtain a weld image for characterizing the weld;

[0011] The model module is provided with a simulation strategy for forming a simulation model, wherein the simulation strategy includes acquiring a workpiece image and forming a simulated workpiece, acquiring a weld image, and forming a simulated weld on the simulated workpiece;

[0012] The simulation strategy also includes constructing a weld coordinate system based on the simulated workpiece and the simulated weld, obtaining the position of the bottom weld based on the weld coordinate system, and generating welding information, the welding information including weld coordinates, weld layer number and weld bead distribution;

[0013] The collaborative module includes a detection unit and a collaborative unit. The detection unit is configured with an execution strategy. The execution strategy includes obtaining welding information and the starting position of the welding rod clamped by the welding robot, retrieving the weld coordinates, and judging whether the actual position of the welding rod matches the coordinate value of the starting weld point in the weld coordinates. If they match, an execution signal is generated, and the welding robot is controlled to execute the welding program based on the welding information, otherwise a correction signal is generated;

[0014] The collaborative unit is provided with a correction strategy, which includes, when a correction signal is obtained, identifying the real coordinates of the starting position of the welding rod and comparing them with the weld coordinates, generating correction data, and correcting the welding information or the position of the real coordinates based on the correction data.

[0015] As a further improvement of the present invention, the recognition strategy includes a fitting logic, based on which the depth image is fitted to form a weld image, and the fitting logic specifically includes:

[0016] Traversing the depth image, while traversing the depth image, identifying the weld position in the depth image, and extracting the depth image symmetrical to the weld position in the depth image as the bottom image, the image of the weld is represented as a rectangle, the outer frame of the rectangle represents the outer edge of the weld, and the bottom of the weld forms a projection line in the rectangle;

[0017] The depth images with asymmetric outer frames of rectangles on both sides of the projection line in the depth image are classified into left corner images and right corner images, and a corresponding depth image is randomly extracted from the left corner image and the right corner image respectively, and the shooting position of the corresponding depth image visual unit is called to obtain the offset angle between the visual unit and the weld, and the depth images screened out from the left corner image and the right corner image are fitted with the underlying image at the corresponding offset angles to obtain the weld image used to characterize the weld depth.

[0018] As a further improvement of the present invention, the specific contents of the simulation strategy fitting to form the simulated weld include:

[0019] After acquiring the workpiece image, a simulated workpiece is formed. When forming the simulated workpiece, the position of the weld in the workpiece image and the bottom position of the weld are identified, and the bottom position of the weld is formed into a marking line on the simulated workpiece to represent it. After acquiring the weld image, the weld image is fitted with the marking line to fit a simulated weld for characterizing the weld on the simulated workpiece.

[0020] As a further improvement of the present invention, the simulation strategy for generating welding information specifically includes:

[0021] When constructing the weld coordinate system, obtain the midpoint position of the simulated weld, take the midpoint position of the simulated weld as the coordinate origin, take the length direction of the weld as the X-axis, the width direction of the weld as the Y-axis, and the depth direction of the weld as the Z-axis, configure the depth algorithm, and obtain the depth value of the weld according to the depth algorithm.

[0022] As a further improvement of the present invention, the depth algorithm is expressed as:

[0023] ,

[0024] in: is the depth value of a point in the weld coordinates, is the edge detection function after image processing, which is used to identify the weld position. is a function used to calculate the depth image, which represents the depth information of the weld at different angles. represents a multidimensional Gaussian kernel function, where N is the feature dimension, and are the i-th dimension of the eigenvector and the reference vector, respectively, is the standard deviation of the corresponding dimension, is the distance attenuation term, which represents the effect of the distance between different points on the weld depth. Indicates the range of p.

[0025] As a further improvement of the present invention, the edge detection function is specifically expressed as:

[0026] ,

[0027] in: represents the entire area of ​​the image, To enhance the edge of the weld image and highlight the features of the weld edge, is an information filtering function used to further extract key features in the image. is a modified linear unit function used to extract edge information in an image, retaining positive values ​​and setting negative values ​​to zero. and Represents the weld image about and The partial derivative function is used to calculate the gradient information of the image.

[0028] As a further improvement of the present invention, the function for calculating the depth image is specifically expressed as:

[0029] ,

[0030] in: is the standard deviation of the depth kernel, which is used to control the smoothness of the depth information. represents the rectified linear unit function, which is used to ensure that the depth information is non-negative. Indicates that at a given angle The weld image I is processed to extract the depth information. Represents the position of another point in the image, used to calculate depth information.

[0031] As a further improvement of the present invention, the welding information also includes an offset, and a drag mark of the corresponding layer of weld is obtained according to the weld distribution. The drag mark represents the coordinate direction of the dragging of the welding wire contact point when the corresponding weld is formed during welding. The drag mark of the previous layer and the drag mark of the corresponding layer to be welded are obtained, the spacing value between the drag marks is obtained, and the spacing value is assigned to the offset, and the offset represents the distance that needs to be controlled for the offset movement of the welding wire during layered welding.

[0032] As a further improvement of the present invention, the correction strategy to generate correction data specifically includes:

[0033] Configure the offset threshold, which represents the maximum value of the deviation between the real coordinates of the welding rod and the weld coordinates, and identifies whether the real coordinates are within the offset threshold range;

[0034] If it is within the offset threshold range, an acceptance signal is generated, and the collaborative robot is controlled to perform welding according to the welding information;

[0035] If it exceeds the offset threshold range, the real coordinates are subtracted from the offset threshold to obtain the correction amount, and the visual unit is controlled to obtain a corrected image. A weld point mark is formed on the welding wire in the corrected image, and the corrected image is fitted to the simulated workpiece to determine whether the corrected image is skewed from the weld image. If a deflection occurs, the weld image is corrected with the corrected image and the welding information is corrected. If no deflection occurs, wire trimming information is generated. Based on the wire trimming information, the real coordinates of the welding wire are corrected to within the offset threshold using the sum of the correction amount and the offset threshold as a correction value.

[0036] As a further improvement of the present invention, the execution strategy also includes:

[0037] When generating an execution signal, the starting position of the welding rod is specified as the starting coordinate, the end coordinate of the welding rod forming a weld along the drag mark is determined according to the weld image and welding information, the welding parameters are set, and the welding of the weld is completed according to the welding parameters. The starting coordinates and end coordinates of the weld of the next layer are specified according to the starting coordinates, end coordinates and welding information of the weld of the previous layer, and the welding parameters are set to set the welding parameters of each layer to control the dragging of the welding wire to form a weld.

[0038] Beneficial effects of the present invention:

[0039] The workpiece image and depth image are obtained through the recognition module, and a weld image for characterizing the weld is formed based on the fitting processing of the depth image. According to the weld image, a simulated weld can be simulated on the simulated workpiece in the model module. The welding information for the weld is obtained through the constructed weld coordinate system, so that the weld coordinates, the number of weld layers and the weld distribution of each layer can be determined. According to the effect after simulated welding, welding verification is achieved before collaborative welding, and pre-welding planning of multi-layer welds is achieved for thicker workpieces. Under the action of the collaborative module, during welding, the detection unit is used to determine whether the starting position of the welding rod is deviated from the simulated planned position, and correction is made when deviation occurs. The corrected welding rod completes the weld bead forming during simulation under the collaborative welding of the collaborative robot, and the weld bead of each layer is actually verified during the welding process to determine the accuracy and reliability of the weld bead, thereby achieving pre-welding planning of multi-layer welds, welding detection of the welding process, and correction when deviation occurs, thereby achieving the effect of accurate welding of multi-layer welds. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A system flow chart embodying the present invention;

[0041] Figure 2 System flow chart for obtaining weld images;

[0042] Figure 3 System flow chart for obtaining welding information;

[0043] Figure 4 A system flow chart showing the correction logic. DETAILED DESCRIPTION

[0044] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The same parts are represented by the same reference numerals. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the accompanying drawings, and the words "bottom surface" and "top surface", "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.

[0045] refer to Figure 1As shown, a specific embodiment of the present invention is a multi-layer welding process system suitable for a collaborative robot. The multi-layer welding system is applied to a collaborative robot. The collaborative robot includes a welding robot arm. A visual unit is arranged on the welding robot arm. The visual unit is used to identify the weldment and the weld position and generate a target image. The welding system includes a recognition module, a model module and a collaborative module. The recognition module is configured with a recognition strategy. The recognition strategy includes controlling the visual unit to obtain a target image. The target image includes a depth image and a workpiece image. The workpiece image represents the control of the visual unit to obtain a workpiece shape image containing a weld to be welded. The depth image represents the control of the visual unit to identify the weld and obtain an image of the weld. When obtaining the depth image, the weld position is identified multiple times by controlling the visual unit. The recognition strategy also includes depth fitting of the depth images obtained by multiple identifications to obtain a weld image for characterizing the weld. The shape, size and depth of the weld can be known through the weld image. The model module is configured with a simulation strategy for forming a simulation model. The simulation model includes a simulated workpiece and a simulated weld. The simulation strategy includes obtaining the workpiece image and forming a simulation Workpiece, obtain weld image, and form simulated weld on simulated workpiece, construct weld coordinate system based on simulated workpiece and simulated weld, obtain the position of bottom weld based on weld coordinate system, and generate welding information, welding information includes weld coordinate, weld layer number and weld distribution, weld coordinate represents the coordinate value of starting weld point and end weld point of each weld, weld layer number represents the layer value of welding at weld position, weld distribution represents the number and position distribution of weld in each layer of weld, collaborative module includes detection unit and collaborative unit, detection unit is configured with execution strategy, execution strategy includes obtaining welding information and the starting position of welding rod clamped by welding robot, retrieving weld coordinate, judging whether the actual position of welding rod matches the coordinate value of starting weld point in weld coordinate, if it matches, generating execution signal, controlling welding robot to execute welding procedure based on welding information, otherwise generating correction signal, collaborative unit is configured with correction strategy, correction strategy includes identifying the real coordinate of starting position of welding rod and comparing with weld coordinate when obtaining correction signal, generating correction data, and correcting welding information or the position of real coordinate based on correction data.

[0046] refer to Figure 2 As shown, the recognition strategy includes a fitting logic, based on which the depth image is fitted to form a weld image. The fitting logic specifically includes:

[0047] The depth image is traversed, and when traversing the depth image, the weld position in the depth image is identified, and the depth image symmetrical to the weld position in the depth image is extracted as the bottom image. Since the visual unit identifies the weld based on different angles and positions when obtaining the weld position to obtain the depth image, wherein the image of the weld is represented as a rectangle, the outer frame of the rectangle represents the outer edge of the weld, and the bottom of the weld forms a projection line in the rectangle. In this regard, when the visual unit is not facing the weld position, the position of the projection line in the image is not in the middle of the rectangle. When the visual unit is facing the weld position, the position of the projection line in the image is in the middle of the rectangle, so that the rectangular frames representing both sides of the weld are symmetrically set along the projection line. The depth images with asymmetrical outer frames of the rectangles in the depth image along both sides of the projection line are classified into two categories, one of which is a left corner image and the other is a right corner image. The left corner image represents that the visual camera is on the left side of the weld and is set at an angle to the weld to obtain the weld. The depth image formed by the weld, the frame area on the left side of the projection line in the left corner image is smaller than the frame area on the right side, the right corner image represents that the visual camera is on the right side of the weld and is set at an angle to obtain the depth image of the weld, the frame area on the left side of the projection line in the right corner image is larger than the frame area on the right side, a corresponding depth image is randomly extracted from the left corner image and the right corner image respectively, and the shooting position of the corresponding depth image visual unit is called to obtain the offset angle between the visual unit and the weld, the offset angle represents the projection angle between the visual camera and the bottom of the weld, the depth images screened out from the left corner image and the right corner image are respectively fitted with the underlying image at the corresponding offset angle to obtain a weld image for characterizing the depth of the weld, and the shape, size and depth of the weld can be obtained through the weld image, the size of the weld represents the weld width on both sides of the weld along the depth direction, and the depth of the weld represents the depth distance from the bottom of the weld to the surface of the welded workpiece.

[0048] The specific contents of the simulation strategy fitting to form a simulated weld include:

[0049] After acquiring the workpiece image, a simulated workpiece is formed. When forming the simulated workpiece, the position of the weld in the workpiece image and the bottom position of the weld are identified, and the bottom position of the weld is formed into a marking line on the simulated workpiece to represent it. After acquiring the weld image, the weld image is fitted with the marking line to fit a simulated weld for characterizing the weld on the simulated workpiece.

[0050] refer to Figure 3 As shown in the figure, the simulation strategy generates welding information including:

[0051] When constructing the weld coordinate system, obtain the midpoint position of the simulated weld, take the midpoint position of the simulated weld as the coordinate origin, take the length direction of the weld as the X-axis, the width direction of the weld as the Y-axis, and the depth direction of the weld as the Z-axis. Configure the depth algorithm and obtain the depth value of the weld according to the depth algorithm. The depth algorithm is expressed as:

[0052] ,

[0053] in: is the depth value of a point in the weld coordinates, is the edge detection function after image processing, which is used to identify the weld position. is a function used to calculate the depth image, which represents the depth information of the weld at different angles. represents a multidimensional Gaussian kernel function, where N is the feature dimension, and are the i-th dimension of the eigenvector and the reference vector, respectively, is the standard deviation of the corresponding dimension, is the distance attenuation term, which represents the effect of the distance between different points on the weld depth. Indicates the range of p.

[0054] The edge detection function is specifically expressed as:

[0055] ,

[0056] in: represents the entire area of ​​the image, To enhance the edge of the weld image and highlight the features of the weld edge, is an information filtering function used to further extract key features in the image. is a modified linear unit function used to extract edge information in an image, retaining positive values ​​and setting negative values ​​to zero. and Represents the weld image about and The partial derivative function is used to calculate the gradient information of the image.

[0057] The function for calculating the depth image is specifically expressed as:

[0058] ,

[0059] in: is the standard deviation of the depth kernel, which is used to control the smoothness of the depth information. represents the rectified linear unit function, which is used to ensure that the depth information is non-negative. Indicates that at a given angle The weld image I is processed to extract the depth information. Represents the position of another point in the image, used to calculate depth information.

[0060] In this regard, the depth algorithm can calculate the depth value of the midpoint of the weld image. The value range is a real number set. The larger the value, the deeper the bottom depth. The maximum depth value is obtained, which is the depth of the weld.

[0061] refer to Figure 3 As shown, the weld coordinates in the welding information include depth coordinates and edge coordinates, the depth value obtained by calculating based on the depth algorithm is assigned to the depth coordinate, the coordinate values ​​of the edges on both sides of the weld in the welding image are identified based on the weld coordinate system to obtain the edge coordinates, the type of the welding workpiece is identified and the welding wire is determined, the standard depth of the welding wire when forming a welding bead is obtained, and the weld is divided into multiple layers in the depth direction based on the standard depth and depth coordinates, and the layer value after division is assigned to the number of weld layers, so that when the weld is divided into multiple layers by the standard depth and the standard welding wire is used for welding, the weld can be evenly covered, and it is not easy to cause the weld bead to bulge out due to the change of the bottom size of the weld after welding one layer when welding one layer.

[0062] refer to Figure 3 As shown, the distribution of welds in each layer will be different. The bottom layer of the initial weld is a single-layer weld. The number of welds in each layer after the bottom layer is consistent with the number of layers. The surface of the previous weld is used as the bottom of the changed weld. When the welds are distributed in layers, the depth of the transformed weld is calculated again by the depth algorithm. Since the bottom of the changed weld is an arc, the minimum and maximum values ​​of the depth coordinates are obtained, and the positions of the minimum and maximum values ​​of the depth coordinates in the weld coordinate system are determined by the weld image and the weld coordinate system, and the position of the minimum value of the depth coordinate of the previous layer is obtained. The base point coordinates are used as the reference coordinates, and the maximum depth coordinate of the weld after the change is counted as the reference coordinates. The base point coordinates and the reference coordinates are connected and extended to form a baseline. The depth coordinate position of the weld after the change is used as the starting point to make an auxiliary line parallel to the baseline. The welds in the welds of other layers except the bottom layer are interlaced in the corresponding layer. When fitting to form the corresponding layer welds, the intersection of the wire weld is located on the baseline, and the vertex of the surface coordinate point of the wire weld is located on the auxiliary line. The distribution position of the weld of the corresponding layer is determined by the intersection and the vertex of the surface coordinate point of the wire weld. Thus, the welding information is generated after simulation, and the collaborative robot accurately drags the wire direction and wire position according to the welding information during welding to obtain a weld that fully fills the weld.

[0063] refer to Figure 3As shown, the welding information also includes an offset. According to the distribution of welds in each layer of welds after fitting, the drag mark of the corresponding layer of welds is obtained. The drag mark represents the coordinate direction of the wire contact point dragged when the corresponding weld is formed during welding. The drag mark of the previous layer and the drag mark of the corresponding layer to be welded are obtained, the spacing value between the drag marks is obtained, and the spacing value is assigned to the offset. The offset represents the distance that needs to be controlled for the wire offset movement during layered welding, so as to form welds that match the simulation when welding different layers, thereby improving the welding accuracy.

[0064] refer to Figure 4 As shown, the correction strategy generates correction data specifically including:

[0065] The offset threshold is configured. The offset threshold represents the maximum value of the deviation between the real coordinates of the welding rod and the weld coordinates. It identifies whether the real coordinates are within the offset threshold range. If they are within the offset threshold range, an acceptance signal is generated, and the collaborative robot is controlled to perform welding according to the welding information. If the offset threshold range is exceeded, the real coordinates are subtracted from the offset threshold to obtain the correction amount, and the visual unit is controlled to obtain the correction image. The welding wire is marked with a welding spot in the correction image. The correction image is fitted to the simulated workpiece to determine whether the correction image is skewed from the weld image. If there is a deviation, the weld image is corrected with the correction image and the welding information is corrected. If there is no deviation, the wire trimming information is generated. Based on the wire trimming information, the real coordinates of the welding wire are corrected to within the offset threshold with the sum of the correction amount and the offset threshold as the correction value. Through the double verification method, when the starting position of the welding wire is offset, it is determined whether the deviation of the simulated weld image on the simulated workpiece causes an error in the welding information, or whether the collaborative robot causes an error when driving the welding wire to move, so as to accurately correct the starting position of the welding wire for welding, thereby ensuring that the weld bead after welding matches the simulated weld bead, thereby achieving the effect of improving welding accuracy.

[0066] The execution strategy also includes:

[0067] When generating an execution signal, the starting position of the welding rod is specified as the starting coordinate, the end coordinate of the welding rod forming a weld along the drag mark is determined according to the weld image and welding information, the welding parameters are set, and the welding of the weld is completed according to the welding parameters. The starting coordinates and end coordinates of the weld of the next layer are specified according to the starting coordinates, end coordinates and welding information of the weld of the previous layer, and the welding parameters are set to set the welding parameters of each layer to control the dragging of the welding wire to form a weld.

[0068] Working principle and its effect:

[0069] The workpiece image and depth image are obtained through the recognition module, and a weld image for characterizing the weld is formed based on the fitting processing of the depth image. According to the weld image, a simulated weld can be simulated on the simulated workpiece in the model module. The welding information for the weld is obtained through the constructed weld coordinate system, so that the weld coordinates, the number of weld layers and the weld bead distribution of each layer can be determined. According to the effect after simulated welding, welding verification is achieved before collaborative welding, and pre-welding planning of multi-layer welds for thicker workpieces is achieved. Under the action of the collaborative module, during welding, the detection unit is used to determine whether the starting position of the welding rod is deviated from the simulated planned position, and correction is made when deviation occurs. The corrected welding rod completes the weld bead forming during simulation under the collaborative welding of the collaborative robot, and the weld bead of each layer is actually verified during the welding process to determine the accuracy and reliability of the weld bead, thereby achieving pre-welding planning of multi-layer welds, welding detection during the welding process, and correction is made when deviation occurs, thereby achieving the effect of accurate welding of multi-layer welds.

[0070] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A multi-layer welding process system for a collaborative robot, including being applied to a collaborative robot, wherein the collaborative robot comprises a welding robot arm, wherein the welding robot arm is provided with a visual unit, wherein the visual unit is used to identify the weldment and the weld position and generate a target image; Features: It also includes recognition module, model module and collaboration module; The recognition module is provided with a recognition strategy, which includes controlling the visual unit to obtain a target image, the target image includes a depth image and a workpiece image, and performing depth fitting on the depth image obtained by multiple recognitions to obtain a weld image for characterizing the weld; The model module is provided with a simulation strategy for forming a simulation model, wherein the simulation strategy includes acquiring a workpiece image and forming a simulated workpiece, acquiring a weld image, and forming a simulated weld on the simulated workpiece; The simulation strategy also includes constructing a weld coordinate system based on the simulated workpiece and the simulated weld, obtaining the position of the bottom weld based on the weld coordinate system, and generating welding information, the welding information including weld coordinates, weld layer number and weld bead distribution; The collaborative module includes a detection unit and a collaborative unit. The detection unit is configured with an execution strategy. The execution strategy includes obtaining welding information and the starting position of the welding rod clamped by the welding robot, retrieving the weld coordinates, and judging whether the actual position of the welding rod matches the coordinate value of the starting weld point in the weld coordinates. If they match, an execution signal is generated, and the welding robot is controlled to execute the welding program based on the welding information, otherwise a correction signal is generated; The collaborative unit is provided with a correction strategy, which includes, when a correction signal is obtained, identifying the real coordinates of the starting position of the welding rod and comparing them with the weld coordinates, generating correction data, and correcting the welding information or the position of the real coordinates based on the correction data; The recognition strategy includes a fitting logic, based on which the depth image is fitted to form a weld image, and the fitting logic specifically includes: Traversing the depth image, while traversing the depth image, identifying the weld position in the depth image, and extracting the depth image symmetrical to the weld position in the depth image as the bottom image, the image of the weld is represented as a rectangle, the outer frame of the rectangle represents the outer edge of the weld, and the bottom of the weld forms a projection line in the rectangle; The depth images with asymmetric outer frames of rectangles in the depth image along the two sides of the projection line are classified into left corner images and right corner images, a corresponding depth image is randomly extracted from the left corner image and the right corner image respectively, and the shooting position of the corresponding depth image visual unit is retrieved to obtain the offset angle between the visual unit and the weld, and the depth images selected from the left corner image and the right corner image are respectively fitted with the underlying image at the corresponding offset angle to obtain the weld image for characterizing the weld depth; The specific contents of the simulation strategy fitting to form the simulated weld include: After acquiring the workpiece image, a simulated workpiece is formed. When forming the simulated workpiece, the position of the weld in the workpiece image and the bottom position of the weld are identified, and the bottom position of the weld is formed into a marking line on the simulated workpiece to represent it. After acquiring the weld image, the weld image is fitted with the marking line, so that a simulated weld for characterizing the weld is fitted on the simulated workpiece; The simulation strategy for generating welding information specifically includes: When constructing the weld coordinate system, obtain the midpoint position of the simulated weld, take the midpoint position of the simulated weld as the coordinate origin, take the length direction of the weld as the X-axis, the width direction of the weld as the Y-axis, and the depth direction of the weld as the Z-axis, configure the depth algorithm, and obtain the depth value of the weld according to the depth algorithm; The welding information also includes an offset, and a drag mark of a corresponding layer of welds is obtained according to the weld distribution, wherein the drag mark represents the coordinate direction of the welding wire contact point dragged when the corresponding weld is formed during welding, and a drag mark of the previous layer and a drag mark of the corresponding layer to be welded are obtained, and a spacing value between the drag marks is obtained, and the spacing value is assigned to the offset, wherein the offset represents the distance that needs to be controlled for the welding wire offset movement during layered welding; The correction strategy to generate correction data specifically includes: Configure the offset threshold, which represents the maximum value of the deviation between the real coordinates of the welding rod and the weld coordinates, and identifies whether the real coordinates are within the offset threshold range; If it is within the offset threshold range, an acceptance signal is generated, and the collaborative robot is controlled to perform welding according to the welding information; If it exceeds the offset threshold range, the real coordinates are subtracted from the offset threshold to obtain the correction amount, and the visual unit is controlled to obtain a corrected image. A weld point mark is formed on the welding wire in the corrected image, and the corrected image is fitted to the simulated workpiece to determine whether the corrected image is skewed from the weld image. If a deflection occurs, the weld image is corrected with the corrected image and the welding information is corrected. If no deflection occurs, wire trimming information is generated. Based on the wire trimming information, the real coordinates of the welding wire are corrected to within the offset threshold using the sum of the correction amount and the offset threshold as a correction value.

2. A multi-layer welding process system suitable for collaborative robots according to claim 1, characterized in that: The depth algorithm is expressed as: ,in: is the depth value of a point in the weld coordinates, is the edge detection function after image processing, which is used to identify the weld position. is a function used to calculate the depth image, which represents the depth information of the weld at different angles. represents a multidimensional Gaussian kernel function, where N is the feature dimension, and are the i-th dimension of the eigenvector and the reference vector, respectively, is the standard deviation of the corresponding dimension, is the distance attenuation term, which represents the effect of the distance between different points on the weld depth. Indicates the range of p.

3. A multi-layer welding process system suitable for collaborative robots according to claim 2, characterized in that: The edge detection function is specifically expressed as: ,in: represents the entire area of ​​the image, To enhance the edge of the weld image and highlight the features of the weld edge, is an information filtering function used to further extract key features in the image. is a modified linear unit function used to extract edge information in an image, retaining positive values ​​and setting negative values ​​to zero. and Represents the weld image about and The partial derivative function is used to calculate the gradient information of the image.

4. A multi-layer welding process system suitable for collaborative robots according to claim 3, characterized in that: The function for calculating the depth image is specifically expressed as: ,in: is the standard deviation of the depth kernel, which is used to control the smoothness of the depth information. represents the rectified linear unit function, which is used to ensure that the depth information is non-negative. Indicates that at a given angle The weld image I is processed to extract the depth information. Represents the position of another point in the image, used to calculate depth information.

5. A multi-layer welding process system suitable for collaborative robots according to claim 4, characterized in that: The execution strategy also includes: When generating an execution signal, the starting position of the welding rod is specified as the starting coordinate, the end coordinate of the welding rod forming a weld along the drag mark is determined according to the weld image and welding information, the welding parameters are set, and the welding of the weld is completed according to the welding parameters. The starting coordinates and end coordinates of the weld of the next layer are specified according to the starting coordinates, end coordinates and welding information of the weld of the previous layer, and the welding parameters are set to set the welding parameters of each layer to control the dragging of the welding wire to form a weld.