A friction stir welding robot control method and system based on AI technology

AI technology is used to analyze and adjust the welding parameters of the friction stir welding robot in real time, solving the problems of welding trajectory deviation and uneven weld depth caused by joint deformation, and improving the welding quality.

CN117086465BActive Publication Date: 2024-10-11JIANGSU WANYISHUO MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311261395.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2024-10-11
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Existing friction stir welding robots have problems such as welding trajectory deviation and uneven weld depth due to joint deformation under control mode.

Method used

AI technology is used to control friction stir welding robots, track welding points in real time, collect welding seam information, draw welding seam images, analyze welding results, adjust welding parameters, and establish and adjust welding plans to make up for defects.

Benefits of technology

It effectively avoids the problems of welding trajectory deviation and uneven welding depth, improves the welding quality and ensures that the welding seam meets the requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117086465B_ABST
    Figure CN117086465B_ABST
Patent Text Reader

Abstract

The present invention provides a friction stir welding robot control method and system based on AI technology, including: controlling the friction stir welding robot to perform welding work according to a preset welding plan, collecting weld information during the friction stir welding robot's welding work, drawing a weld image based on the weld information, analyzing the weld image to obtain the welding results of the friction stir welding robot, judging whether the welding results meet the welding requirements, if not, adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding results, establishing an adjustment welding plan, and controlling the friction stir welding robot to execute the adjustment welding plan. The present invention uses AI technology to control the friction stir welding robot, tracks welding points in real time during the friction stir welding process, collects welds formed by the friction stir welding robot, establishes a weld compensation plan, and performs secondary welding according to the weld compensation plan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of AI control, and in particular to a friction stir welding robot control method and system based on AI technology. Technical Background

[0002] Friction stir welding is a solid-phase connection technology invented by the British Welding Institute in 1991. Compared with traditional fusion welding, it has significant advantages such as fewer joint defects, higher quality, less deformation, and green and pollution-free welding process. It has broad application prospects in industrial manufacturing fields such as aerospace, shipbuilding, nuclear industry, and transportation. However, the existing stirring welding robots have problems such as welding trajectory deviation and uneven weld depth due to joint deformation under the current control mode.

[0003] Therefore, the present invention provides a friction stir welding robot control method and system based on AI technology. Summary of the invention

[0004] The present invention discloses a friction stir welding robot control method and system based on AI technology, which utilizes AI technology to control the friction stir welding robot, tracks welding spots in real time during the friction stir welding process, collects welds formed by the friction stir welding robot, establishes a weld compensation plan, and performs secondary welding according to the weld compensation plan.

[0005] The present invention provides a friction stir welding robot control method based on AI technology, comprising:

[0006] Step 1: Controlling the friction stir welding robot to perform welding work according to a preset welding plan, and collecting weld information during the welding work of the friction stir welding robot;

[0007] Step 2: drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements;

[0008] Step 3: If not, adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result, and establishing an adjustment welding plan;

[0009] Step 4: Control the friction stir welding robot to execute the adjusted welding plan.

[0010] In one practicable manner,

[0011] The step 1 comprises:

[0012] Step 11: Obtain the welding task input by the user, and analyze the welding task to obtain the welding requirements and welding purpose of the object to be welded;

[0013] Step 12: Establishing a preset welding plan based on the welding requirements and welding purpose;

[0014] Step 13: Control the corresponding friction stir welding robot to weld the object to be welded according to the preset welding scheme;

[0015] Step 14: When the friction stir welding robot performs welding, the welding process of the friction stir welding robot is tracked, and welding information of the friction stir welding robot during the welding process is collected.

[0016] In one practicable manner,

[0017] The step 2 comprises:

[0018] Step 21: parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information;

[0019] Step 22: treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining the positional relationship between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain;

[0020] Step 23: Mapping the unit sub-information to a preset pixel coordinate system to obtain pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image;

[0021] Step 24: Establish a welding result sample based on the welding requirements, analyze the weld image to obtain the welding result of the stir friction welding robot, obtain the result similarity between the welding result and the preset welding result sample, and determine whether the welding result meets the welding requirements based on the result similarity.

[0022] In one practicable manner,

[0023] Also includes:

[0024] Establishing a welding similarity threshold based on the welding requirements;

[0025] When the result similarity is less than the welding similarity threshold, determining that the welding result does not meet the welding requirement;

[0026] When the result similarity is greater than or equal to the welding similarity threshold, it is determined that the welding result meets the welding requirement.

[0027] In one practicable manner,

[0028] The step 23 comprises:

[0029] Step 231: Count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a number of sampling unit sub-information;

[0030] Step 232: Map each of the sampling unit sub-information to the preset pixel coordinate system to obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification features of the corresponding color class;

[0031] Step 233: Based on the color class corresponding to each pixel, a matching sub-identifier is established for each pixel, and based on the color class corresponding to each color distribution frame, a matching parent identifier is established for each color distribution frame;

[0032] Step 234: input the pixel points into the second image drawing domain for identification matching, obtain the matching status corresponding to each pixel point, extract the target pixel points with abnormal matching status for re-matching, and obtain the welding image.

[0033] In one practicable manner,

[0034] The step 3 comprises:

[0035] Step 31: when the welding result does not meet the welding requirements, sample data of the welding result samples under different preset dimensions are obtained, and a result screening model is established according to the sample data;

[0036] Step 32: inputting the welding results into the results screening model for dimension screening to obtain welding defect features corresponding to the welding results in different dimensions;

[0037] Step 33: According to the welding defect characteristics corresponding to the welding results in different dimensions, the welding parameters of the stir friction welding robot are adjusted based on the characteristic values ​​of the welding defect characteristics, the adjustment amount corresponding to each welding parameter is counted, and an adjustment welding plan is established.

[0038] In one practicable manner,

[0039] The step 4 comprises:

[0040] Step 41: marking the welding defect feature in the weld image to obtain the welding defect point of the welding result;

[0041] Step 42: controlling the friction stir welding robot to perform supplementary welding on the welding defective point based on the adjusted welding scheme;

[0042] Step 43: Based on the adjusted welding scheme, the friction stir welding robot is controlled to continue welding.

[0043] The present invention provides a friction stir welding robot control system based on AI technology, comprising:

[0044] A control and collection module, used to control the friction stir welding robot to perform welding work according to a preset welding scheme, and to collect weld information during the friction stir welding robot performing welding work;

[0045] A control and analysis module, used for drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements;

[0046] A control and adjustment module, for adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result if there is no compliance, and establishing an adjustment welding plan;

[0047] The control execution module is used to control the friction stir welding robot to execute the adjustment welding plan.

[0048] In one practicable manner,

[0049] The control analysis module comprises:

[0050] A parsing and drawing unit, used for parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information;

[0051] an analysis and classification unit, for treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining positional relationships between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain;

[0052] An analysis and drawing unit, used for mapping the unit sub-information into a preset pixel coordinate system, obtaining pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image;

[0053] The analysis execution unit is used to establish a welding result sample based on the welding requirements, analyze the weld image to obtain the welding result of the stir friction welding robot, obtain the result similarity between the welding result and the preset welding result sample, and judge whether the welding result meets the welding requirements based on the result similarity.

[0054] In one practicable manner,

[0055] The analysis and drawing unit comprises:

[0056] The first drawing sub-unit is used to count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a plurality of sampling unit sub-information;

[0057] The second drawing sub-unit is used to map each of the sampling unit sub-information to the preset pixel coordinate system, obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification characteristics of the corresponding color class;

[0058] The third drawing sub-unit is used to establish a matching sub-identifier for each pixel point based on the color class corresponding to each pixel point, and to establish a matching parent identifier for each color distribution frame based on the color class corresponding to each color distribution frame;

[0059] The fourth drawing subunit is used to input the pixel points into the second image drawing domain for identification matching, obtain the matching state corresponding to each pixel point, extract the target pixel points with abnormal matching state for re-matching, and obtain the welding image.

[0060] The beneficial effects that can be achieved by the present invention are as follows: in order to avoid the problems of welding trajectory deviation and uneven weld pressure depth caused by joint deformation of the stir friction welding robot when working too heavy, AI technology is used to control the stir friction welding robot to perform welding according to a preset welding plan, and collect weld information of the stir friction welding robot during its working process, and then establish a weld image based on the weld information, and judge whether the welding results of the stir friction welding robot meet the welding requirements by analyzing the weld image, and then adjust the welding requirements of the stir friction welding robot according to its welding defect characteristics when it does not meet the welding requirements, thereby establishing a welding plan that can make up for the defects and avoid the phenomenon of unqualified welds.

[0061] Other features and advantages of the present invention will be described in the following description, and partly become obvious from the description, or be understood by practicing the present invention. The purpose of the present invention and the structures specifically pointed out in the present application documents are realized and obtained.

[0062] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0064] Figure 1 Schematic diagram of the working process of a friction stir welding robot control method based on AI technology in an embodiment of the present invention;

[0065] Figure 2 The figure is a schematic diagram of the composition of a friction stir welding robot control system based on AI technology in an embodiment of the present invention. DETAILED DESCRIPTION

[0066] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0067] Example 1

[0068] This embodiment provides a friction stir welding robot control method based on AI technology, such as Figure 1 As shown, including:

[0069] Step 1: Controlling the friction stir welding robot to perform welding work according to a preset welding plan, and collecting weld information during the welding work of the friction stir welding robot;

[0070] Step 2: drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements;

[0071] Step 3: If not, adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result, and establishing an adjustment welding plan;

[0072] Step 4: Control the friction stir welding robot to execute the adjusted welding plan.

[0073] In this example, the preset welding scheme may be a scheme for controlling the operation of the friction stir welding robot established according to the production requirements of Party A;

[0074] In this example, the friction stir welding robot is a robot with a stirring needle, a rotating stirring head and a welding head. The stirring needle extends into the joint of the workpiece while rotating. The friction heat between the rotating stirring head (mainly the shaft shoulder) and the workpiece causes the material in front of the welding head to undergo strong plastic deformation. Then, as the welding head moves, the highly plastically deformed material gradually deposits behind the stirring head, thereby forming a weld.

[0075] In this example, the weld seam refers to a welding mark generated after the friction stir welding robot welds two or more objects to be welded;

[0076] In this example, since the friction stir welding robot is continuously performing welding work, the weld image is updated in real time;

[0077] In this example, the welding result represents information of the welded product generated when the friction stir welding robot performs welding;

[0078] In this example, the welding requirements may be: different objects to be welded are all welded, and the welding trace area on each object to be welded is the same, there is no vacancy in the weld, there is no welding slag in the weld, and the weld pressure depth is uniform;

[0079] In this example, the welding defect characteristics represent the defects presented by the welding results;

[0080] In this example, the adjusted welding scheme refers to a scheme generated after adjusting the welding parameters of the friction stir welding robot according to the current welding results;

[0081] In this example, the welding parameters may include: welding speed, welding point area of ​​each welding point, welding height of each welding point and other parameters.

[0082] The working principle and beneficial effects of the above technical solution: In order to avoid the problems of welding trajectory deviation and uneven weld depth caused by joint deformation due to excessive work of the stir friction welding robot, AI technology is used to control the stir friction welding robot to perform welding according to a preset welding plan, and collect the weld information of the stir friction welding robot during its work, and then establish a weld image based on the weld information, and judge whether the welding results of the stir friction welding robot meet the welding requirements by analyzing the weld image, and then adjust the welding requirements of the stir friction welding robot according to its welding defect characteristics when it does not meet the welding requirements, so as to establish a welding plan that can make up for the defects and avoid the phenomenon of unqualified welds.

[0083] Example 2

[0084] On the basis of Example 1, the friction stir welding robot control method based on AI technology, the step 1 comprises:

[0085] Step 11: Obtain the welding task input by the user, and analyze the welding task to obtain the welding requirements and welding purpose of the object to be welded;

[0086] Step 12: Establishing a preset welding plan based on the welding requirements and welding purpose;

[0087] Step 13: Control the corresponding friction stir welding robot to weld the object to be welded according to the preset welding scheme;

[0088] Step 14: When the friction stir welding robot performs welding, the welding process of the friction stir welding robot is tracked, and welding information of the friction stir welding robot during the welding process is collected.

[0089] In this example, the welding task refers to the task related to welding of objects that the friction stir welding robot needs to perform;

[0090] In this example, the object to be welded may be a metal object that meets welding requirements;

[0091] In this example, the welding information includes data on welding and data on the generated weld seam generated by the friction stir welding robot during the welding process.

[0092] The working principle and beneficial effects of the above technical solution: In order to control the stir friction welding robot to perform welding work in an orderly manner, the welding requirements and welding purposes of the objects to be welded are first determined according to the welding tasks input by the user, and then the stir friction welding robot is controlled to perform corresponding work according to the preset welding plan. This can effectively improve the welding efficiency and preliminarily avoid the problem of jamming during the welding process.

[0093] Example 3

[0094] On the basis of Example 1, the friction stir welding robot control method based on AI technology, the step 2 comprises:

[0095] Step 21: parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information;

[0096] Step 22: treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining the positional relationship between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain;

[0097] Step 23: Mapping the unit sub-information to a preset pixel coordinate system to obtain pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image;

[0098] Step 24: Establish a welding result sample based on the welding requirements, analyze the weld image to obtain the welding result of the stir friction welding robot, obtain the result similarity between the welding result and the preset welding result sample, and determine whether the welding result meets the welding requirements based on the result similarity.

[0099] In this example, the welding area refers to the area of ​​the weld formed by the friction stir welding robot during the welding process;

[0100] In this example, the corresponding specification indicates the size of the welding area;

[0101] In this example, the unit sub-information represents the information corresponding to each welding point after the weld is divided into welding points with an area of ​​1*1mm;

[0102] In this example, the weld color feature indicates the feature corresponding to the color presented by the weld;

[0103] In this example, the unit sub-information contained in the same color class all has the same weld color characteristics;

[0104] In this example, the color distribution framework represents a distribution diagram formed by the distribution of unit sub-information in a color class;

[0105] In this example, the first image drawing domain represents a blank drawing domain established according to the welding area and used to draw the welding image, and the second image drawing domain represents a non-blank drawing domain formed by inputting the color distribution framework into the first image drawing domain and used for the next step of drawing, wherein "first" and "second" are only used to distinguish two different image drawing domains and do not have the function of comparison or sorting;

[0106] In this example, the preset pixel coordinate system may be a coordinate system formed by discretizing the image coordinate system. In an actual CCD camera, each pixel corresponds to a photosensitivity point, which is a rectangle. Assume that its physical size is dx in width and dy in height.

[0107] In this example, the result similarity represents the similarity between the preset welding results in the welding result domain.

[0108] The working principle and beneficial effects of the above technical solution are as follows: In order to further analyze whether the welding work of the stir friction welding robot meets the welding requirements, the welding area of ​​the stir friction welding robot is first determined according to the weld information and then a first image drawing domain is established. Then the weld information is divided into a number of unit sub-information, and the unit sub-information with the same color is classified according to the weld color characteristics corresponding to each unit sub-information, thereby obtaining a number of color classes, and a color distribution framework for each color class is established. Then, the color distribution framework and the first image drawing domain are combined to generate a second image drawing domain that can be used to draw an image, and then the pixel points corresponding to each unit sub-information are input into the second image drawing domain to draw a weld image, thereby generating a welding result. Finally, the welding result is compared with the welding result sample corresponding to the welding requirement, and the similarity between the two can be obtained, so as to judge whether the welding result meets the welding requirements according to the similarity. The effectiveness of the welding result of the stir friction welding robot is analyzed by drawing the weld image, and the welding result can be detected in real time.

[0109] Example 4

[0110] On the basis of Example 3, the friction stir welding robot control method based on AI technology further includes:

[0111] Establishing a welding similarity threshold based on the welding requirements;

[0112] When the result similarity is less than the welding similarity threshold, determining that the welding result does not meet the welding requirement;

[0113] When the result similarity is greater than or equal to the welding similarity threshold, it is determined that the welding result meets the welding requirement.

[0114] In this example, the welding similarity threshold may be 95%.

[0115] The working principle and beneficial effects of the above technical solution are as follows: by comparing the result similarity with the welding similarity threshold, it is determined whether the welding result meets the welding requirements, which facilitates subsequent welding adjustments.

[0116] Example 5

[0117] On the basis of Example 3, the friction stir welding robot control method based on AI technology, the step 23 includes:

[0118] Step 231: Count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a number of sampling unit sub-information;

[0119] Step 232: Map each of the sampling unit sub-information to the preset pixel coordinate system to obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification features of the corresponding color class;

[0120] Step 233: Based on the color class corresponding to each pixel, a matching sub-identifier is established for each pixel, and based on the color class corresponding to each color distribution frame, a matching parent identifier is established for each color distribution frame;

[0121] Step 234: input the pixel points into the second image drawing domain for identification matching, obtain the matching status corresponding to each pixel point, extract the target pixel points with abnormal matching status for re-matching, and obtain the welding image.

[0122] In this example, single sampling means taking one sample in each color class;

[0123] In this example, each color class corresponds to a sampling unit sub-information;

[0124] In this example, the pixel value represents the brightness information of a pixel;

[0125] In this example, the process of performing the identification matching is: matching the matching sub-identifiers and matching parent identifiers belonging to the same color class, one matching parent identifier can be matched with multiple matching sub-identifiers, but one matching sub-identifier can only be matched with one matching parent identifier;

[0126] In this example, the matching status includes: matched, unmatched, and multiple matches;

[0127] In this example, the abnormal matching status includes: no match and multiple matches.

[0128] The working principle and beneficial effects of the above technical solution are as follows: in order to obtain an accurate welding image, the specification characteristics of the color type are first established according to the number of unit sub-information in each color class, and then the color class is sampled to obtain a number of sampled unit sub-information. The pixel value of the corresponding color class is determined by mapping the sampled unit sub-information, and then a number of pixel points are established in combination with their corresponding specification characteristics. In order to improve the effectiveness of pixel matching, matching identifiers are established for pixel points and color distribution frameworks belonging to the same color class for matching. Finally, abnormal matching pixels are adjusted to establish an accurate welding image.

[0129] Example 6

[0130] On the basis of Example 1, the friction stir welding robot control method based on AI technology, the step 3 comprises:

[0131] Step 31: when the welding result does not meet the welding requirements, sample data of the welding result samples under different preset dimensions are obtained, and a result screening model is established according to the sample data;

[0132] Step 32: inputting the welding results into the results screening model for dimension screening to obtain welding defect features corresponding to the welding results in different dimensions;

[0133] Step 33: According to the welding defect characteristics corresponding to the welding results in different dimensions, the welding parameters of the stir friction welding robot are adjusted based on the characteristic values ​​of the welding defect characteristics, the adjustment amount corresponding to each welding parameter is counted, and an adjustment welding plan is established.

[0134] In this example, the preset dimensions include: weld color dimension, weld continuity dimension, weld height dimension, weld area dimension, etc.;

[0135] In this example, the sample data represents the data presented by the welding result sample in different dimensions, which is the data corresponding to the standard welding;

[0136] In this example, the adjustment amount refers to the value of adjusting the welding parameter.

[0137] The working principle and beneficial effects of the above technical solution are as follows: In order to correct the welding work of the stir friction welding robot in time, when the welding results are unqualified, a results screening model is established according to the welding results sample, and then the welding results are input into the model for screening, so as to obtain the welding defect characteristics of the welding results in different dimensions, and then adjust the welding parameters of the stir friction welding robot according to the welding defect characteristics, and establish an executable adjustment welding plan to provide an effective welding plan for subsequent supplementary welding and subsequent welding work.

[0138] Example 7

[0139] On the basis of Example 1, the friction stir welding robot control method based on AI technology, the step 4 comprises:

[0140] Step 41: marking the welding defect feature in the weld image to obtain the welding defect point of the welding result;

[0141] Step 42: controlling the friction stir welding robot to perform supplementary welding on the welding defective point based on the adjusted welding scheme;

[0142] Step 43: Based on the adjusted welding scheme, the friction stir welding robot is controlled to continue welding.

[0143] The working principle and beneficial effects of the above technical solution: In order to compensate for welding defects and prevent similar defects from occurring in subsequent work, the friction stir welding robot is controlled to perform welding work according to the adjusted welding plan.

[0144] Example 8

[0145] This embodiment provides a friction stir welding robot control system based on AI technology, such as Figure 2 As shown, including:

[0146] A control and collection module, used to control the friction stir welding robot to perform welding work according to a preset welding scheme, and to collect weld information during the friction stir welding robot performing welding work;

[0147] A control and analysis module, used for drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements;

[0148] A control and adjustment module, for adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result if there is no compliance, and establishing an adjustment welding plan;

[0149] The control execution module is used to control the friction stir welding robot to execute the adjustment welding plan.

[0150] In this example, the preset welding scheme may be a scheme for controlling the operation of the friction stir welding robot established according to the production requirements of Party A;

[0151] In this example, the friction stir welding robot is a robot with a stirring needle, a rotating stirring head and a welding head. The stirring needle extends into the joint of the workpiece while rotating. The friction heat between the rotating stirring head (mainly the shaft shoulder) and the workpiece causes the material in front of the welding head to undergo strong plastic deformation. Then, as the welding head moves, the highly plastically deformed material gradually deposits behind the stirring head, thereby forming a weld.

[0152] In this example, the weld seam refers to a welding mark generated after the friction stir welding robot welds two or more objects to be welded;

[0153] In this example, since the friction stir welding robot is continuously performing welding work, the weld image is updated in real time;

[0154] In this example, the welding result represents information of the welded product generated when the friction stir welding robot performs welding;

[0155] In this example, the welding requirements may be: different objects to be welded are all welded, and the welding trace area on each object to be welded is the same, there is no vacancy in the weld, there is no welding slag in the weld, and the weld pressure depth is uniform;

[0156] In this example, the welding defect characteristics represent the defects presented by the welding results;

[0157] In this example, the adjusted welding scheme refers to a scheme generated after adjusting the welding parameters of the friction stir welding robot according to the current welding results;

[0158] In this example, the welding parameters may include: welding speed, welding point area of ​​each welding point, welding height of each welding point and other parameters.

[0159] The working principle and beneficial effects of the above technical solution: In order to avoid the problems of welding trajectory deviation and uneven weld depth caused by joint deformation due to excessive work of the stir friction welding robot, AI technology is used to control the stir friction welding robot to perform welding according to a preset welding plan, and collect the weld information of the stir friction welding robot during its work, and then establish a weld image based on the weld information, and judge whether the welding results of the stir friction welding robot meet the welding requirements by analyzing the weld image, and then adjust the welding requirements of the stir friction welding robot according to its welding defect characteristics when it does not meet the welding requirements, so as to establish a welding plan that can make up for the defects and avoid the phenomenon of unqualified welds.

[0160] Example 9

[0161] On the basis of Example 8, the friction stir welding robot control system based on AI technology, the control analysis module includes:

[0162] A parsing and drawing unit, used for parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information;

[0163] an analysis and classification unit, for treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining positional relationships between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain;

[0164] An analysis and drawing unit, used for mapping the unit sub-information into a preset pixel coordinate system, obtaining pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image;

[0165] The analysis execution unit is used to establish a welding result sample based on the welding requirements, analyze the weld image to obtain the welding result of the stir friction welding robot, obtain the result similarity between the welding result and the preset welding result sample, and judge whether the welding result meets the welding requirements based on the result similarity.

[0166] In this example, the welding area refers to the area of ​​the weld formed by the friction stir welding robot during the welding process;

[0167] In this example, the corresponding specification indicates the size of the welding area;

[0168] In this example, the unit sub-information represents the information corresponding to each welding point after the weld is divided into welding points with an area of ​​1*1mm;

[0169] In this example, the weld color feature indicates the feature corresponding to the color presented by the weld;

[0170] In this example, the unit sub-information contained in the same color class all has the same weld color characteristics;

[0171] In this example, the color distribution framework represents a distribution diagram formed by the distribution of unit sub-information in a color class;

[0172] In this example, the first image drawing domain represents a blank drawing domain established according to the welding area and used to draw the welding image, and the second image drawing domain represents a non-blank drawing domain formed by inputting the color distribution framework into the first image drawing domain and used for the next step of drawing, wherein "first" and "second" are only used to distinguish two different image drawing domains and do not have the function of comparison or sorting;

[0173] In this example, the preset pixel coordinate system may be a coordinate system formed by discretizing the image coordinate system. In an actual CCD camera, each pixel corresponds to a photosensitivity point, which is a rectangle. Assume that its physical size is dx in width and dy in height.

[0174] In this example, the result similarity represents the similarity between the preset welding results in the welding result domain.

[0175] The working principle and beneficial effects of the above technical solution are as follows: In order to further analyze whether the welding work of the stir friction welding robot meets the welding requirements, the welding area of ​​the stir friction welding robot is first determined according to the weld information and then a first image drawing domain is established. Then the weld information is divided into a number of unit sub-information, and the unit sub-information with the same color is classified according to the weld color characteristics corresponding to each unit sub-information, thereby obtaining a number of color classes, and a color distribution framework for each color class is established. Then, the color distribution framework and the first image drawing domain are combined to generate a second image drawing domain that can be used to draw an image, and then the pixel points corresponding to each unit sub-information are input into the second image drawing domain to draw a weld image, thereby generating a welding result. Finally, the welding result is compared with the welding result sample corresponding to the welding requirement, and the similarity between the two can be obtained, so as to judge whether the welding result meets the welding requirements according to the similarity. The effectiveness of the welding result of the stir friction welding robot is analyzed by drawing the weld image, and the welding result can be detected in real time.

[0176] Example 10

[0177] On the basis of Example 9, the friction stir welding robot control system based on AI technology, the analysis and drawing unit includes:

[0178] The first drawing sub-unit is used to count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a plurality of sampling unit sub-information;

[0179] The second drawing sub-unit is used to map each of the sampling unit sub-information to the preset pixel coordinate system, obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification characteristics of the corresponding color class;

[0180] The third drawing sub-unit is used to establish a matching sub-identifier for each pixel point based on the color class corresponding to each pixel point, and to establish a matching parent identifier for each color distribution frame based on the color class corresponding to each color distribution frame;

[0181] The fourth drawing subunit is used to input the pixel points into the second image drawing domain for identification matching, obtain the matching state corresponding to each pixel point, extract the target pixel points with abnormal matching state for re-matching, and obtain the welding image.

[0182] In this example, single sampling means taking one sample in each color class;

[0183] In this example, each color class corresponds to a sampling unit sub-information;

[0184] In this example, the pixel value represents the brightness information of a pixel;

[0185] In this example, the process of performing the identification matching is: matching the matching sub-identifiers and matching parent identifiers belonging to the same color class, one matching parent identifier can be matched with multiple matching sub-identifiers, but one matching sub-identifier can only be matched with one matching parent identifier;

[0186] In this example, the matching status includes: matched, unmatched, and multiple matches;

[0187] In this example, the abnormal matching status includes: no match and multiple matches.

[0188] The working principle and beneficial effects of the above technical solution are as follows: in order to obtain an accurate welding image, the specification characteristics of the color type are first established according to the number of unit sub-information in each color class, and then the color class is sampled to obtain a number of sampled unit sub-information. The pixel value of the corresponding color class is determined by mapping the sampled unit sub-information, and then a number of pixel points are established in combination with their corresponding specification characteristics. In order to improve the effectiveness of pixel matching, matching identifiers are established for pixel points and color distribution frameworks belonging to the same color class for matching. Finally, abnormal matching pixels are adjusted to establish an accurate welding image.

[0189] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A friction stir welding robot control method based on AI technology, characterized in that: include: Step 1: Controlling the friction stir welding robot to perform welding work according to a preset welding plan, and collecting weld information during the welding work of the friction stir welding robot; Step 2: drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements; Step 3: If not, adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result, and establishing an adjustment welding plan; Step 4: controlling the friction stir welding robot to execute the adjusted welding scheme; The step 2 comprises: Step 21: parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information; Step 22: treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining the positional relationship between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain; Step 23: Mapping the unit sub-information to a preset pixel coordinate system to obtain pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image; Step 24: establishing a welding result sample based on the welding requirements, analyzing the weld image to obtain the welding result of the friction stir welding robot, obtaining the result similarity between the welding result and the preset welding result sample, and judging whether the welding result meets the welding requirements based on the result similarity; The step 23 comprises: Step 231: Count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a number of sampling unit sub-information; Step 232: Map each of the sampling unit sub-information to the preset pixel coordinate system to obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification features of the corresponding color class; Step 233: Based on the color class corresponding to each pixel, a matching sub-identifier is established for each pixel, and based on the color class corresponding to each color distribution frame, a matching parent identifier is established for each color distribution frame; Step 234: input the pixel points into the second image drawing domain for identification matching, obtain the matching status corresponding to each pixel point, extract the target pixel points with abnormal matching status for re-matching, and obtain the welding image.

2. The friction stir welding robot control method based on AI technology as claimed in claim 1, characterized in that: The step 1 comprises: Step 11: Obtain the welding task input by the user, and analyze the welding task to obtain the welding requirements and welding purpose of the object to be welded; Step 12: Establishing a preset welding plan based on the welding requirements and welding purpose; Step 13: Control the corresponding friction stir welding robot to weld the object to be welded according to the preset welding scheme; Step 14: When the friction stir welding robot performs welding, the welding process of the friction stir welding robot is tracked, and welding information of the friction stir welding robot during the welding process is collected.

3. The friction stir welding robot control method based on AI technology as claimed in claim 1, characterized in that: Also includes: Establishing a welding similarity threshold based on the welding requirements; When the result similarity is less than the welding similarity threshold, determining that the welding result does not meet the welding requirement; When the result similarity is greater than or equal to the welding similarity threshold, it is determined that the welding result meets the welding requirement.

4. The friction stir welding robot control method based on AI technology as claimed in claim 1, characterized in that: The step 3 comprises: Step 31: when the welding result does not meet the welding requirements, sample data of the welding result samples under different preset dimensions are obtained, and a result screening model is established according to the sample data; Step 32: inputting the welding results into the results screening model for dimension screening to obtain welding defect features corresponding to the welding results in different dimensions; Step 33: According to the welding defect characteristics corresponding to the welding results in different dimensions, the welding parameters of the stir friction welding robot are adjusted based on the characteristic values ​​of the welding defect characteristics, the adjustment amount corresponding to each welding parameter is counted, and an adjustment welding plan is established.

5. The friction stir welding robot control method based on AI technology as claimed in claim 1, characterized in that: The step 4 comprises: Step 41: marking the welding defect feature in the weld image to obtain the welding defect point of the welding result; Step 42: controlling the friction stir welding robot to perform supplementary welding on the welding defective point based on the adjusted welding scheme; Step 43: Based on the adjusted welding scheme, the friction stir welding robot is controlled to continue welding.

6. A friction stir welding robot control system based on AI technology, characterized in that: include: A control and collection module, used to control the friction stir welding robot to perform welding work according to a preset welding scheme, and to collect weld information during the friction stir welding robot performing welding work; A control and analysis module, used for drawing a weld image based on the weld information, analyzing the weld image to obtain the welding result of the friction stir welding robot, and judging whether the welding result meets the welding requirements; A control and adjustment module, for adjusting the welding parameters of the friction stir welding robot based on the welding defect characteristics of the welding result if there is no compliance, and establishing an adjustment welding plan; A control execution module, used for controlling the friction stir welding robot to execute the adjustment welding scheme; The control analysis module comprises: A parsing and drawing unit, used for parsing the weld information to obtain the welding area of ​​the friction stir welding robot, establishing a first image drawing domain of corresponding specifications based on the welding area, and dividing the weld information into a plurality of unit sub-information, and respectively obtaining the weld color feature corresponding to each unit sub-information; an analysis and classification unit, for treating unit sub-information with consistent weld color features as one category to obtain a plurality of color categories, respectively obtaining positional relationships between different unit sub-information in each color category, establishing a color distribution framework corresponding to each color category, and inputting the color distribution framework into the first image drawing domain to obtain a second image drawing domain; An analysis and drawing unit, used for mapping the unit sub-information into a preset pixel coordinate system, obtaining pixel points corresponding to each unit sub-information, and inputting the pixel points into a color distribution frame corresponding to the second image drawing domain to obtain a weld image; an analysis execution unit, configured to establish a welding result sample based on the welding requirements, analyze the weld image to obtain the welding result of the friction stir welding robot, obtain the result similarity between the welding result and the preset welding result sample, and determine whether the welding result meets the welding requirements based on the result similarity; The analysis and drawing unit comprises: The first drawing sub-unit is used to count the number of unit sub-information contained in each color class, establish the specification characteristics of each color class, and perform single sampling in each color class to obtain a plurality of sampling unit sub-information; The second drawing sub-unit is used to map each of the sampling unit sub-information to the preset pixel coordinate system, obtain the pixel value corresponding to each color class, and establish a corresponding number of pixel points for the corresponding color class in combination with the specification characteristics of the corresponding color class; The third drawing sub-unit is used to establish a matching sub-identifier for each pixel point based on the color class corresponding to each pixel point, and to establish a matching parent identifier for each color distribution frame based on the color class corresponding to each color distribution frame; The fourth drawing subunit is used to input the pixel points into the second image drawing domain for identification matching, obtain the matching state corresponding to each pixel point, extract the target pixel points with abnormal matching state for re-matching, and obtain the welding image.