A method and device for online detection of welding process information

The neural network learns the correlation between the welding process image and the state, builds a prediction model to evaluate the welding state, solves the problem of inaccurate welding process detection in the existing technology, and achieves efficient and accurate online detection of the welding state.

CN114266286BActive Publication Date: 2024-09-06JIANGSU XCMG CONSTRUCTION MACHINERY RESEARCH INSTITUTE LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111365983.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2024-09-06
Estimated Expiration
2041-11-18

Smart Images

  • Figure CN114266286B
    Figure CN114266286B
Patent Text Reader

Abstract

The present invention discloses an online detection method and device for welding process information. First, with the help of a software development platform, dynamic image information data of the molten pool of the welding process captured by an industrial CCD camera is collected; image feature information of the molten pool image is extracted by image processing means; based on a deep learning algorithm, the correlation between the molten pool image feature information and the welding state is established; the algorithm model obtained by the deep learning algorithm is used to identify the state of the molten pool image, and finally the weld quality assessment is achieved. In view of the randomness of the change of image information during the welding process and the difficulty in accurate description caused by the diversity of welding states, the present invention can use a neural network to learn the correlation information between the image and the welding state, and adjust it through a self-learning mechanism. The characteristics of the neural network are used to effectively decompose, characterize and evaluate the image information of the welding process, thereby achieving results that cannot be matched by traditional methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an online detection method and device for welding process information, belonging to the technical field of welding image analysis. Background Art

[0002] Real-time information collection of the welding process has become a major means of identifying welding conditions, among which the collection of welding process image information has gradually become the mainstream as a detection method. However, due to the complexity of the welding process and the numerous interference items, in order to obtain useful molten pool feature information as a basis for measuring the stability of the welding process and the generation of defects, it is often necessary to obtain clear images with a higher acquisition frequency and more abundant image processing methods, resulting in a huge amount of image information data, which cannot correspond well to different welding conditions, resulting in inaccurate process monitoring results.

[0003] Most of the common detection methods currently use empirical and regular cognition to match the molten pool image feature information with the welding state, and evaluate the weld quality through the change of feature information. With the development of computer technology, more options have emerged as evaluation methods, among which deep learning methods, as an emerging means of realizing artificial intelligence, are extremely suitable for application in the field of weld process quality evaluation.

[0004] How to use artificial intelligence to analyze welding process information and perform online detection of welding status more accurately and efficiently is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] Purpose: In order to overcome the shortcomings of the prior art, the present invention provides an online detection method and device for welding process information. In view of the randomness of image information changes during welding and the difficulty in accurate description caused by the diversity of welding states, a neural network can be used to learn the correlation information between the image and the welding state, and adjust it through a self-learning mechanism. The characteristics of the neural network are used to effectively decompose, characterize and evaluate the welding process image information, thereby achieving results that cannot be matched by traditional methods.

[0006] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is:

[0007] In a first aspect, an online detection method for welding process information comprises the following steps:

[0008] A first prediction model is constructed, the molten pool image feature information and the welding state are used as input values ​​of the first prediction model, and a first correlation coefficient between the two is calculated as an output value of the first prediction model.

[0009] A preset value of the correlation coefficient is set, and the welding state and molten pool image feature information corresponding to an output value in the first prediction model greater than the preset value of the correlation coefficient is selected as the first training set.

[0010] A second prediction model is constructed, wherein the input value of the second prediction model is the molten pool image feature information, and the output value is the welding state. The second prediction model is trained using the first training set to obtain the trained second prediction model.

[0011] The actual molten pool image feature information and welding status during the welding process are extracted, and the actual molten pool image feature information is input into the trained second prediction model to obtain the predicted welding status; the second correlation coefficient between the actual welding status and the predicted welding status is calculated, and the actual molten pool image feature information, welding status and the second correlation coefficient are used as the second training set. The first prediction model is trained using the second training set to obtain the updated first prediction model, and the second correlation coefficient is used as the updated correlation coefficient preset value.

[0012] According to the updated first prediction model and the preset value of the correlation coefficient, the welding state and molten pool image feature information corresponding to the output value of the updated first prediction model being greater than the updated preset value of the correlation coefficient are retrieved as the updated first training set.

[0013] The second prediction model is trained using the updated first training set to obtain an updated second prediction model.

[0014] The real-time molten pool image feature information is input into the updated second prediction model to obtain the final predicted welding state.

[0015] As a preferred solution, the molten pool image feature information is obtained by collecting geometric dimension feature information of the molten pool image on the surface of the welding process through an industrial CCD camera, including but not limited to: molten pool width, molten pool length, molten pool area, keyhole length, and keyhole area.

[0016] As a preferred solution, the welding state includes but is not limited to: good welding, unstable welding process, weld deviation, weld collapse, weld leakage, and spatter.

[0017] As a preferred solution, the welding state is represented by a binary vector, in which one column element of the vector corresponding to each state is 1 and the other elements are 0, and the number of columns of the vector is equal to the number of welding states.

[0018] As a preferred solution, the preset value of the correlation coefficient is set to 0.5.

[0019] As a preferred solution, when all column elements in the vector value output by the second prediction model are not 1, the welding state corresponding to the value closest to 1 in the column elements is taken as the output value.

[0020] As a preferred solution, the molten pool image feature information can be replaced by welding process parameters.

[0021] As a preferred solution, the welding process parameters include but are not limited to: welding speed, welding power, and welding angle.

[0022] In a second aspect, an online detection device for welding process information includes the following modules:

[0023] The first model building module is used to build a first prediction model, take the molten pool image feature information and the welding state as the first prediction model input values, and calculate the first correlation coefficient between the two as the output value of the first prediction model.

[0024] Training set generation module: used to set a preset value of the correlation coefficient, and select the welding state and molten pool image feature information corresponding to the output value in the first prediction model that is greater than the preset value of the correlation coefficient as the first training set.

[0025] The second model building module is used to build a second prediction model. The input value of the second prediction model is the molten pool image feature information, and the output value is the welding state. The second prediction model is trained using the first training set to obtain the trained second prediction model.

[0026] Model adjustment module: used to extract the actual molten pool image feature information and welding status during the welding process, input the actual molten pool image feature information into the trained second prediction model to obtain the predicted welding status; calculate the second correlation coefficient between the actual welding status and the predicted welding status, use the actual molten pool image feature information, welding status and the second correlation coefficient as the second training set, use the second training set to train the first prediction model to obtain the updated first prediction model, and then use the second correlation coefficient as the updated correlation coefficient preset value.

[0027] Training set update module: used to retrieve the welding state and molten pool image feature information corresponding to the output value of the updated first prediction model greater than the updated preset value of the correlation coefficient as the updated first training set based on the updated first prediction model and the preset value of the correlation coefficient.

[0028] The second model updating module is used to train the second prediction model using the updated first training set to obtain an updated second prediction model.

[0029] Welding state evaluation module: used to input the real-time molten pool image feature information into the updated second prediction model to obtain the final predicted welding state.

[0030] Beneficial effect: The present invention provides an online detection method and device for welding process information, which uses an industrial CCD visual sensor as a data acquisition source, extracts surface molten pool image feature information through image processing, uses a deep learning algorithm to establish a correlation between the welding image and the welding state, formulates defect recognition standards, and improves the accuracy of online detection methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a schematic diagram of the online detection process of welding process information.

[0032] Figure 2 Flowchart of the algorithm for training a predictive model. DETAILED DESCRIPTION

[0033] The present invention will be further described below in conjunction with specific embodiments.

[0034] like Figure 1-2 As shown, an online detection method for welding process information includes the following steps:

[0035] Step 1: Use an industrial CCD camera to collect dynamic image information of the molten pool on the surface of the welding process.

[0036] Step 2: Using image processing means, extract the geometric dimension feature information of the molten pool image as the molten pool image feature information, including but not limited to: molten pool width, molten pool length, molten pool area, keyhole length, and keyhole area.

[0037] Step 3: Preset the welding state types, including but not limited to: good welding, welding deviation, welding collapse and unstable welding process, and describe different states through a four-dimensional vector model. For example: good welding corresponds to the ideal vector [1 0 0 0], welding deviation corresponds to the ideal vector [0 1 0 0], welding collapse corresponds to the ideal vector [0 0 1 0], and unstable welding process corresponds to [0 0 0 1].

[0038] Step 4: Establish a first prediction model, take the molten pool image feature information and the welding state as the input value of the first prediction model, calculate the first correlation coefficient between the two as the output value of the first prediction model, and the output value range is between 0 and 1, which is used to determine the correspondence between the molten pool image feature information and the welding state.

[0039] Step 5: Based on daily production experience, the preset value of the correlation coefficient between the molten pool image feature information and the welding status is set to 0.5, that is, when the output value obtained by the first prediction model is greater than 0.5, it can be regarded as a "true" criterion; then the welding status information and molten pool image feature information whose output is greater than the preset value in the first prediction model are selected as the first training set.

[0040] Step 6: Use the first training set to establish the second prediction model. At this time, the input value is the molten pool image feature information, and the output value is the welding state. It is worth mentioning that the output value of the first prediction model will not always be the ideal vector value, so the judgment criteria should be adjusted accordingly, and the one with the largest component in the vector is regarded as the value closest to the corresponding welding state. For example, if the output obtained after the model is [0. 2 0. 8 0. 3 0. 6], where 0. 8 is closest to 1, then the welding state corresponding to the output is considered to be welding deviation.

[0041] Step 7: After the welding process, the corresponding molten pool image feature information is extracted, and the corresponding monitoring quantity, that is, the actual welding state, is extracted at the same time.

[0042] Step 8: Compare the actually obtained monitoring quantity with the output value obtained by the second prediction model to obtain the second correlation coefficient between the two. Use the actually obtained monitoring quantity and the molten pool image feature information at this time, as well as the correlation coefficient between the two, as the second training set, and use the second training set to retrain the first prediction model to obtain the updated first prediction model, and use the obtained second correlation coefficient as the preset value.

[0043] Step 9: Reselect the first training data according to the updated first prediction model, and retrain the second prediction model using the reselected first training data to obtain an updated second prediction model.

[0044] Step 10: In the new welding process, the updated second prediction model is used to evaluate the welding state of the molten pool feature information obtained by image processing.

[0045] Optionally, according to actual working conditions, the welding status information includes but is not limited to: good welding, unstable welding process, welding deviation, welding collapse, welding leakage, and spatter;

[0046] Optionally, in addition to the molten pool characteristic parameters, welding process parameters such as welding speed, welding power, welding angle, etc. can also be used as input values ​​of the prediction model.

[0047] Example:

[0048] Firstly, with the help of the software development platform, the dynamic image information data of the molten pool in the welding process taken by the industrial CCD camera is collected; the feature information of the molten pool image is extracted by image processing; based on the deep learning algorithm, the correlation between the molten pool image feature information and the welding state is established; the algorithm model obtained by the deep learning algorithm is used to identify the state of the molten pool image, and finally the weld quality assessment is achieved.

[0049] The present invention effectively utilizes the deep learning algorithm to establish the correlation between the molten pool image and the welding state during the welding process. Based on the training, a second prediction model is obtained, which can be used to represent the mapping of the molten pool image information to the welding state. Therefore, by obtaining the molten pool feature information during the welding process through image processing and passing it into the prediction model, the corresponding state information can be obtained. At the same time, the accuracy of the prediction model is greatly improved through the feedback adjustment mechanism, thereby obtaining an efficient and accurate online detection method for the welding process, which can evaluate the welding state in real time and avoid welding risks.

[0050] The present invention can also map other welding process information other than image information to the post-welding state, such as process parameters, acoustic signals, and equipment status. However, it is worth noting that other welding process signals need to be processed accordingly to reduce the learning process of the prediction model and improve the prediction accuracy.

[0051] The present invention can also simplify the characteristic signal model and state information for other prediction algorithms, actual welding conditions and rules obtained from daily engineering experience.

[0052] The on-line detection methods of welding process information provided by the present invention are all within the protection scope of the present invention.

[0053] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0054] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0055] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0056] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0057] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An online detection method for welding process information, characterized in that: The steps include: Constructing a first prediction model, taking the molten pool image feature information and the welding state as input values ​​of the first prediction model, and calculating a first correlation coefficient between the two as an output value of the first prediction model; Set a preset value of the correlation coefficient, and select the welding state and molten pool image feature information corresponding to the output value of the first prediction model greater than the preset value of the correlation coefficient as the first training set; Constructing a second prediction model, wherein the second prediction model has an input value of molten pool image feature information and an output value of welding status, and the second prediction model is trained using the first training set to obtain a trained second prediction model; Extracting actual molten pool image feature information and welding state during the welding process, inputting the actual molten pool image feature information into the trained second prediction model to obtain the predicted welding state; calculating the second correlation coefficient between the actual welding state and the predicted welding state, taking the actual molten pool image feature information, welding state and the second correlation coefficient as the second training set, training the first prediction model using the second training set to obtain the updated first prediction model, and then taking the second correlation coefficient as the updated correlation coefficient preset value; According to the updated first prediction model and the preset value of the correlation coefficient, the welding state and molten pool image feature information corresponding to the output value of the updated first prediction model being greater than the preset value of the updated correlation coefficient are obtained again as the updated first training set; Using the updated first training set to train the second prediction model to obtain an updated second prediction model; The real-time molten pool image feature information is input into the updated second prediction model to obtain the final predicted welding state.

2. The online detection method of welding process information according to claim 1, characterized in that: The molten pool image feature information is the geometrical dimension feature information of the molten pool image on the surface of the welding process collected by an industrial CCD camera, including but not limited to: molten pool width, molten pool length, molten pool area, keyhole length, and keyhole area.

3. The online detection method of welding process information according to claim 1, characterized in that: The welding conditions include but are not limited to: good welding, unstable welding process, welding deviation, welding collapse, welding leakage, and spatter.

4. The on-line detection method of welding process information according to claim 1, characterized in that: The welding state is represented by a binary vector, in which one column element of the vector corresponding to each state is 1, and the other elements are 0, and the number of columns of the vector is equal to the number of welding states.

5. The on-line detection method of welding process information according to claim 1, characterized in that: The preset value of the correlation coefficient is set to 0.

5.

6. The on-line detection method of welding process information according to claim 4, characterized in that: When all column elements in the vector value output by the second prediction model are not 1, the welding state corresponding to the value closest to 1 in the column elements is taken as the output value.

7. The online detection method of welding process information according to claim 1, characterized in that: The molten pool image feature information may be replaced by welding process parameters.

8. The method for online detection of welding process information according to claim 7, characterized in that: The welding process parameters include but are not limited to: welding speed, welding power, and welding angle.

9. An online detection device for welding process information, characterized in that: Includes the following modules: The first model building module is used to build a first prediction model, taking the molten pool image feature information and the welding state as the first prediction model input values, and calculating the first correlation coefficient between the two as the output value of the first prediction model; Training set generation module: used to set a preset value of the correlation coefficient, and select the welding state and molten pool image feature information corresponding to the output value of the first prediction model greater than the preset value of the correlation coefficient as the first training set; The second model building module is used to build a second prediction model. The second prediction model has an input value of molten pool image feature information and an output value of welding status. The second prediction model is trained using the first training set to obtain a trained second prediction model. Model adjustment module: used to extract the actual molten pool image feature information and welding state during the welding process, input the actual molten pool image feature information into the trained second prediction model to obtain the predicted welding state; calculate the second correlation coefficient between the actual welding state and the predicted welding state, use the actual molten pool image feature information, welding state and the second correlation coefficient as the second training set, use the second training set to train the first prediction model, obtain the updated first prediction model, and then use the second correlation coefficient as the updated correlation coefficient preset value; Training set updating module: used for re-obtaining welding state and molten pool image feature information corresponding to an output value in the updated first prediction model greater than the updated preset value of the correlation coefficient according to the updated first prediction model and the preset value of the correlation coefficient as the updated first training set; A second model updating module: used to train the second prediction model using the updated first training set to obtain an updated second prediction model; Welding state evaluation module: used to input the real-time molten pool image feature information into the updated second prediction model to obtain the final predicted welding state.

10. The on-line detection device for welding process information according to claim 9, characterized in that: The molten pool image feature information is the geometrical dimension feature information of the molten pool image on the surface of the welding process collected by an industrial CCD camera, including but not limited to: molten pool width, molten pool length, molten pool area, keyhole length, and keyhole area.

11. The on-line detection device for welding process information according to claim 9, characterized in that: The welding conditions include but are not limited to: good welding, unstable welding process, welding deviation, welding collapse, welding leakage, and spatter.

12. The on-line detection device for welding process information according to claim 9, characterized in that: The welding state is represented by a binary vector, in which one column element of the vector corresponding to each state is 1, and the other elements are 0, and the number of columns of the vector is equal to the number of welding states.

13. The on-line detection device for welding process information according to claim 9, characterized in that: The preset value of the correlation coefficient is set to 0.

5.

14. The on-line detection device for welding process information according to claim 12, characterized in that: When all column elements in the vector value output by the second prediction model are not 1, the welding state corresponding to the value closest to 1 in the column elements is taken as the output value.

15. The on-line detection device for welding process information according to claim 9, characterized in that: The molten pool image feature information may be replaced by welding process parameters.

16. The on-line detection device for welding process information according to claim 15, characterized in that: The welding process parameters include but are not limited to: welding speed, welding power, and welding angle.