Independent sequential multi-feature fusion-based scanning laser welding penetration prediction method

By using a deep learning method based on independent temporal multi-feature fusion, the problem of inaccurate melt depth prediction in scanning laser welding is solved, achieving efficient and accurate melt depth prediction while reducing computational costs.

CN118587205APending Publication Date: 2024-09-03HARBIN INST OF TECH AT WEIHAI +1

Patent Information

Application Number
CN202411024475.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing deep learning methods cannot accurately capture the temporal characteristics of visual signals in scanning laser welding, resulting in inaccurate weld penetration prediction, high computational costs, and inability to effectively utilize keyhole feature information.

Method used

We employ a deep learning approach based on independent temporal multi-feature fusion. By constructing temporal static and dynamic feature databases and combining the transformer's encoder unit stacking and multi-head attention mechanism, we extract keyhole and melt pool features to predict melt depth.

Benefits of technology

It achieves accurate prediction of the weld penetration depth in scanning laser welding, reduces computational costs, and can independently fit the relationship between each feature and the weld penetration depth, thus improving prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587205A
    Figure CN118587205A
Patent Text Reader

Abstract

The invention discloses a scanning laser welding fusion depth prediction method based on independent sequential multi-feature fusion, belongs to the field of material processing engineering, and aims to predict the fusion depth of scanning laser welding by collecting visual image information in a scanning laser welding process and adopting a semantic segmentation method based on deep learning and an image processing algorithm. Static and dynamic feature information of a keyhole and a molten pool in the visual signals is extracted, and the fusion depth of a weld joint is extracted through an image processing algorithm and serves as input and output of a fusion depth prediction model. The method comprises the following steps: constructing a fusion depth prediction model, inputting sequential static and dynamic characteristics into the fusion depth prediction model in parallel, independently fitting the relationship between each sequential characteristic and the fusion depth by adopting an Encoder unit of Transform, fusing the characteristics by adopting a full connection mode, and outputting a prediction result of a scanning laser welding fusion depth regression model, wherein the prediction error is only 0.03 mm. The welding stability is ensured, and the quality and performance of a welded joint are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of material processing engineering, and in particular relates to a scanning laser welding penetration prediction method based on independent temporal multi-feature fusion. Background Art

[0002] With the rapid development of industrial automation technology, the pace of technological change has significantly accelerated. In addition, the service environment of products tends to be extremely complex. The welding efficiency and quality of industrial products are facing unprecedented high-standard challenges. In this context, ensuring the stability of the penetration depth of scanning laser welding has become one of the key factors in determining the performance of industrial products, extending service life and increasing production capacity. In order to avoid the problems of rising costs and declining production efficiency caused by traditional non-online post-weld inspection modes, online monitoring technology, as the core link in the closed-loop production control system of products, can not only stabilize the continuous stability of welding penetration, significantly reduce rework and scrap caused by quality problems, thereby reducing production costs, but also significantly enhance the efficiency and response speed of the overall production process.

[0003] The deep integration of cutting-edge intelligent deep learning algorithms and high-precision sensing technology provides an innovative means for online and accurate monitoring of welding penetration. The solution uses intelligent technology to deeply analyze welding process data, realize real-time online evaluation of the penetration state, provide accurate feedback to the welding control system, and assist the control system in making corresponding process parameter adjustment decisions, thereby enhancing the stability of the welding process.

[0004] Research has shown that the geometric dimension information of the molten pool and keyhole in the actual welding process is closely related to the weld penetration, and the prediction of penetration based on visual signals has become a research hotspot in related fields. Chinese patent application CN111177976A discloses a method for accurately predicting arc welding weld formation based on deep learning. This method uses real-time CMT arc welding process parameters as the input of a fully connected neural network to predict the penetration depth, weld width, and excess height of CMT arc welding. However, in the actual CMT welding process, especially when surfacing is performed on the surface of the workpiece, the welding process is very stable, and the difference in the forming dimensions of the experimental design is more obvious. Therefore, the use of more traditional fully connected networks and welding process parameters can also easily complete the prediction of CMT weld formation dimensions. However, for scanning laser welding, the welding process parameters cannot accurately reflect the drastic changes in its penetration depth. Chinese patent CN111932539B discloses a method for collaboratively predicting residual height and penetration depth based on molten pool image and deep residual network. In order to improve the gradient disappearance or gradient explosion caused by the network being too deep, this method uses the residual network enhancement model to extract the molten pool image of CMT cladding and increase the accuracy of weld penetration depth. However, the CNN network does not have the ability to learn in a temporal manner, and its method cannot extract richer features from the scanning laser visual signal with strong temporal characteristics. Chinese patent application CN113838050A discloses a weld formation prediction method based on a complementary dual-channel convolutional neural network. This method uses a dual-channel CNN convolutional neural network with welding process parameters and molten pool visual signals as input to predict the penetration depth of T-type non-scanning laser welding joints. The CNN network mentioned in this method also does not have the ability to extract temporal characteristics.

[0005] The current public methods show that the use of visual signals and deep learning methods can achieve the prediction of welding formation, but the relevant public methods are all concentrated on arc and traditional laser welding (no scanning laser). And these methods are very limited in the prediction of weld size of scanning laser. The main reasons are as follows: 1. Compared with arc welding and traditional laser welding, since the laser beam of scanning laser welding performs scanning motion, the weld penetration is the result of the periodic and repeated action of the laser heat source. This dynamic process causes the formation of the final penetration to depend on the temporal characteristics of the visual signal at different times. In order to accurately capture and reflect the changes in penetration, it is necessary to use a deep learning network that can learn the temporal characteristics of visual signals. The BP and CNN networks in deep learning cannot learn the temporal characteristics of visual signals; 2. When the deep learning models used in these methods fit the relationship between features and weld size, all feature information will be mixed together, which can easily lose some important features or cover up some detailed feature information, which leads to the inability to accurately discover the relationship between each feature and the weld size prediction value. 3. In the scanning laser welding process, under different welding process parameters, the keyhole in the visual signal has different static and dynamic characteristics, which is unique to scanning laser welding and is an important feature for predicting weld penetration. These methods do not effectively utilize the keyhole feature information in the visual signal. 4. Using high-dimensional time-series photos as input will significantly increase the computational cost and time overhead of the model. Therefore, using the one-dimensional static and dynamic statistical characteristics of the molten pool keyhole as input will save huge computational costs. Summary of the invention

[0006] In order to overcome the shortcomings of the prior art, the present invention proposes a scanning laser welding penetration prediction method based on independent temporal multi-feature fusion, which can independently fit the relationship between the characteristics of each keyhole and molten pool and the weld penetration during the welding process, and realize accurate prediction of the scanning laser weld penetration. At the same time, the present invention has the ability to extract key information from long-sequence temporal signals, and can extract richer and more detailed information from temporal signals with drastic temporal changes.

[0007] In order to achieve the above object, the present invention adopts the following technical scheme: A scanning laser welding penetration prediction method based on independent temporal multi-feature fusion includes the following steps: S1: Before welding, a scanning laser welding process parameter window is designed to collect visual signals of different welding penetration depths; wherein, the scanning laser welding process parameters include: scanning form, welding power, welding speed, scanning amplitude, and scanning frequency; S2: Perform scanning laser welding according to the scanning laser welding process parameters designed in S1, and collect corresponding visual signals; count and construct the time-series static and dynamic feature data sets of the molten pool and keyhole with different welding parameters as the input of the model; at the same time, prepare the longitudinal section metallographic specimen, obtain the longitudinal section forming photo of the welded joint after welding, and then use the image processing algorithm to extract and construct the weld penetration data set as the output label of the model; then divide the static and dynamic features and the weld penetration data set into a training set, a verification set, and a test set according to a certain ratio; S3: Construct a scanning laser welding penetration prediction model based on independent temporal multi-feature fusion deep learning, including: a feature preprocessing module, which performs feature segmentation, feature regularization, and position encoding; a feature extraction module, including a stack of N transformer Encoder units; a feature fusion and output module, which performs feature flattening, full connection, and predicted penetration result output; through continuous alternating training and verification, the optimal model structure and weight parameters are optimized and saved.

[0008] Preferably, in S1, the welding process parameter window preliminarily obtained is based on the welding end parameters provided by the laser, scanning laser welding head and motion platform, and the relevant welding process parameters can be designed as follows: the scanning amplitude is 0mm-5mm, the scanning frequency is 0-400Hz, the laser welding power is 2000-6000W, and the welding speed is 10-40mm / s.

[0009] Preferably, the welding method may be butt welding, fillet welding, lap welding, etc.

[0010] Preferably, visual sensors including but not limited to high-speed cameras or industrial cameras may be used in S2, and sampling parameters of the visual sensors are set according to experimental requirements to collect visual information of the scanning laser welding process.

[0011] Preferably, in S2, the process of constructing the temporal static and dynamic feature data sets of the molten pool and keyhole is as follows: semantic segmentation of the visual image is performed to obtain the keyhole and molten pool images; then the image is divided into channels according to the pixel value size of the segmented image; contour search and contour filling algorithms are used to identify the keyhole and molten pool area; based on the identified keyhole and molten pool contour results, the static and dynamic features of the keyhole and molten pool are calculated, and a temporal keyhole and molten pool static and dynamic temporal feature database is further constructed.

[0012] Preferably, in S2, after welding, a longitudinal section metallographic part is prepared along the center of the weld, and then the metallographic part is polished and metallographic etching is performed using a metallographic etching reagent. Subsequently, an optical microscope is used to photograph the macroscopic morphology of the longitudinal section, and then the longitudinal section penetration value of the weld is extracted. The main steps are as follows: first, the color image is grayscaled; then the Sobel algorithm is used to detect the edge of the weld; a closed operation is used to remove noise; secondly, the pixel points at the bottom of the weld are searched based on the calculated coordinate values, and then the weld contour except the unstable part at the tail of the weld is intercepted to obtain its penetration value.

[0013] Preferably, in S3, the training and verification of the model by alternately using the training set and the verification set mainly includes: 19 continuous K-dimensional time series are input into the model in parallel; multiple time series features are segmented and regularized by using the feature extraction module, and then a learnable position code is added to the obtained multidimensional tensor; the obtained feature tensor is input into the Encoder module, and the features of the keyhole and the molten pool and the relationship between the features at different times are independently extracted at the same time; finally, the multidimensional tensor output by the Nth Encoder is flattened and the full connection layer is calculated, and the penetration prediction result is output, and then the loss is calculated with the actual welding penetration value, and the hyperparameters of the model are optimized by reverse gradient solution, and finally the scanning laser penetration prediction model with the minimum prediction error is saved as the optimal model. Finally, the test set is used to test the optimal model to predict the penetration of the weld, thereby realizing the real-time prediction of the scanning laser welding penetration.

[0014] The present invention can realize the real-time prediction of the penetration depth of online scanning laser welding. Compared with the prediction of weld formation by BP and CNN neural network methods, it has the following beneficial effects: 1. In addition to considering static dimensions such as the geometric morphology of the molten pool, the feature database designed by the present invention also fully utilizes the keyhole characteristics unique to the scanning laser. At the same time, the present invention also considers the dynamic characteristics of the keyhole and the molten pool during the welding process.

[0015] 2. The present invention adopts a method of parallel input and calculation of multiple time-series features. When extracting features, the information between features will not be aliased, and the model can pay more attention to the relationship between each feature and the melting depth.

[0016] 3. The present invention adopts a multi-head attention mechanism and position coding information to perform time sequence sorting on signal features. When performing feature extraction, it can accurately extract the time sequence features between the molten pool and the keyhole itself at different times. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flow chart of a scanning laser welding penetration prediction method based on independent temporal multi-feature fusion of the present invention; Figure 2 A flow chart for constructing multiple static and dynamic temporal feature data sets of molten pool and keyhole visual signals involved in the present invention; Figure 3 A schematic diagram of a method for calculating multiple static and dynamic sequential characteristics of a molten pool and a keyhole; Figure 4 The scanning laser weld penetration data extraction flow chart of the present invention; Figure 5 It is a calculation flow chart of the independent temporal multi-feature fusion transformer-based penetration prediction model of the present invention; Figure 6 It is the prediction result and error diagram of the penetration depth of the present invention; Figure 7 It is a fitting result diagram of the penetration depth prediction of the present invention; Figure 8 It is a visualization diagram of attention weights in different feature extraction processes at the same time of the present invention; Fig. 9 This is a visualization diagram of the attention weights in the feature extraction process corresponding to different moments of the present invention.

[0018] Among them, the figure markings are: the width of the molten pool 1, the width of the keyhole 2, the length of the molten pool 3, the length of the keyhole 4, the area of ​​the molten pool 5, the area of ​​the keyhole 6, the other length of the molten pool 7, the other length of the keyhole 8, the coordinate value of the center of the molten pool in the vertical direction of the photo 9, the coordinate value of the center of the molten pool in the horizontal direction of the photo 10, the distance from the lower edge of the molten pool to the rotation center 12, the distance from the lower edge of the molten pool to the rotation center 13, the deflection angle 15, the coordinate value of the center of the keyhole in the vertical direction 16, the coordinate value of the center of the keyhole in the horizontal direction 17, the distance from the center of the keyhole to the rotation center 18, and the angular velocity 19. DETAILED DESCRIPTION

[0019] In order to make the features, technical solutions and advantages of the present invention more understandable, the present invention is further described in detail in conjunction with the accompanying drawings and specific implementation schemes. In addition, the specific implementation schemes described herein are only used to explain the main points of the present invention and are not used to limit the present invention. The present invention can be appropriately improved according to specific actual use conditions.

[0020] like Figure 1 As shown, a scanning laser welding penetration prediction method based on time-series independence multi-feature fusion of the present invention comprises the following steps: S1: Before welding, a scanning laser welding process parameter window is designed to collect visual signals of different welding penetration depths. Among them, the scanning laser welding process parameters mainly include: scanning form, welding power, welding speed, scanning amplitude, scanning frequency, etc.

[0021] S2: Perform scanning laser welding according to the scanning laser welding process parameters designed in S1, and collect corresponding visual signals. Statistics and construct the time-series static and dynamic feature data sets of the molten pool and keyhole with different welding parameters as the input of the model; at the same time, longitudinal section metallographic specimens are prepared to obtain longitudinal section forming photos of the welded joint after welding, and then grayscale processing, Sobel edge detection algorithm, closed operation denoising, searching weld contour based on pixel coordinate values, and intercepting the weld penetration of the stable part of the welding are used in turn to extract and construct the weld penetration data set as the output label of the model; then the corresponding feature and penetration data sets are divided into training set, verification set, and test set according to a certain ratio.

[0022] S3: Construct a scanning laser welding penetration prediction model based on independent temporal multi-feature fusion deep learning, such as Figure 5 As shown. It mainly includes: feature preprocessing module, which performs feature segmentation, feature regularization, and position encoding; feature extraction module, including N transformer encoder unit stacks; feature fusion and output module, which performs feature flattening, full connection, and predicted melting depth result output. Through continuous alternating training and verification, the optimal model structure and weight parameters are optimized and saved.

[0023] Specifically, in S2, the visual sensors that can be used include but are not limited to high-speed cameras or industrial cameras. The sampling parameters of the visual sensors are set according to the experimental requirements to collect and scan the visual information of the laser welding process.

[0024] Specifically, in S2, the construction process of the temporal static and dynamic feature data sets of the molten pool and keyhole is as follows: Figure 2 , which is: semantic segmentation of the original time-series photos to obtain keyhole and molten pool images; then, according to the pixel value of the segmented image, the image is divided into channels; then, the contour search and contour filling algorithms are used to identify the keyhole and molten pool area; then, the time-series keyhole and molten pool images at different times T1-Tn are arranged in sequence to obtain time-series keyhole and molten pool images; further, the static and dynamic features of the keyhole and molten pool are calculated. The specific method is as follows Figure 3 As shown in the figure, the temporal static and dynamic feature data sets of the molten pool and keyhole are further constructed. The specific calculation formula is as follows: 1. The width of the molten pool and the width of the keyhole correspond to Figure 3 Reference numerals 1 and 2: ; in, , Represents the horizontal coordinates of the image The maximum and minimum values ​​of k and mp represent the keyhole and molten pool, respectively. Indicates width. Is the index value.

[0025] 2. The length of the molten pool and the length of the keyhole correspond to Figure 3 Reference numerals 3 and 4: ; in, , Represents the vertical coordinates of the image The maximum and minimum values ​​of Indicates length.

[0026] 3. The area of ​​the molten pool and the keyhole corresponds to Figure 3 Reference numerals 5 and 6: ; in, After the image is binarized, the pixels at the coordinates (x, y) are greater than 0. Indicates area.

[0027] 4. Another length of the molten pool and keyhole, corresponding to Figure 3 Reference numerals 7 and 8: ; Where N represents the number of pixels. Indicates another length, n is the index value, Represents the coordinates of the pixel.

[0028] 5. Coordinates of the center of the molten pool, corresponding to Figure 3 Reference numerals 9 and 10: , ; in, , are the coordinate values ​​of the center of the melt pool in the horizontal and vertical directions of the photo.

[0029] 6. Molten pool aspect ratio : ; in, , Represent the length and width of the molten pool respectively.

[0030] 7. The distance between the upper and lower edges of the molten pool and the rotation center corresponds to Figure 3 Reference numerals 12 and 13: , , , ; in, , Respectively represent the coordinates of the rotation center in the horizontal and vertical directions; Indicates the vertical coordinate of the melt pool.

[0031] 8. The position of the keyhole in the molten pool : ; in, , It is the distance between the rotation center and the upper and lower edges of the molten pool.

[0032] 9. Deflection Angle ,correspond Figure 3 Reference numeral 15: ; in, , The vertical and horizontal coordinates of the lower edge of the molten pool.

[0033] 10. The coordinates of the keyhole center correspond to Figure 3 Reference numerals 16 and 17: , ; in, and The horizontal and vertical coordinates of the center of the keyhole.

[0034] 11. The distance OD between the keyhole center and the rotation center corresponds to Figure 3 Reference numeral 18: ; 12. Angular velocity ,correspond Figure 3 Reference numeral 19: , , , ; Among them, PM represents the dot product result, L1 and L2 represent the length of the vector respectively. Arccos is the inverse cosine function, ( , )and( , ) are the coordinate values ​​of the keyhole center at any two consecutive moments. is the acquisition frame rate of the visual signal.

[0035] Specifically, in S2, after welding, a longitudinal section metallographic part is prepared along the center of the weld, and then the metallographic part is polished and metallographically etched using a metallographic etching reagent, and then the longitudinal section macroscopic morphology is photographed using an optical microscope, and then the longitudinal section penetration value of the weld is extracted, such as Figure 4 As shown in the figure, the main steps are as follows: first, the color image is grayed; then the Sobel edge detection algorithm is used to detect the edge of the weld; the closed operation is used to remove noise; secondly, the pixel points at the bottom of the weld are searched based on the calculated coordinate value, and the final weld bottom contour result is as follows: Figure 4 The white curve in the middle; then cut Figure 4 The weld contour is stable during the welding process in the white dashed box.

[0036] Specifically, Figure 5 As shown, in S3, the scanning laser welding penetration prediction model is optimized by alternately using the training set and the validation set to train and validate the model, mainly including: 19 (feature 1-feature 19) continuous K-dimensional time series features are input into the model in parallel; multiple time series features are segmented and regularized by using the feature extraction module, and then a learnable position code is added to the obtained multidimensional tensor; the obtained feature tensor is input into the Encoder module, and the features of the keyhole and the molten pool and the relationship between the features at different times are independently extracted at the same time; finally, the multidimensional tensor output by the Nth Encoder is flattened and the full connection layer is calculated, and the penetration prediction result is output, and then the loss is calculated with the actual welding penetration value, and the hyperparameters of the model are optimized by reverse gradient solution, and finally the scanning laser penetration prediction model with the minimum prediction error is saved as the optimal model. Finally, the test set is used to test the optimal model to predict the penetration of the weld, thereby realizing the real-time prediction of the scanning laser welding penetration.

[0037] It should be pointed out that the welding parameters of the present invention cooperate and interact with each other; the dimension of the input feature, the cutting length of the feature, and the number of layers of the feature extraction encoder in the model need to be designed and optimized according to the actual acquired data set to ensure that the model can have the fastest prediction rate and the highest accuracy, and to ensure that the scanning laser weld formation morphology can be accurately predicted.

[0038] Embodiment 1: This embodiment constructs a method for predicting the penetration depth of aluminum alloy scanning laser welding, including: First, the scanning laser welding experimental parameters with different laser power, welding speed, swing amplitude, and swing frequency were designed. The specific parameter matching is shown in Table 1 (welding process parameter table of scanning laser welding experiment). At the same time, an aluminum alloy with a thickness of 7 mm was selected, and an angle grinder was used to remove the oxide film and increase the surface roughness.

[0039] Table 1

[0040] The cleaned aluminum alloy welding specimens are then clamped on the workbench in a butt-jointed manner.

[0041] Then, the high-speed camera was fixed on the tripod, and the actual sampling frequency of the high-speed camera was set to 3000 Hz. Then the welding experiment was performed, and visual signals were taken. The number of photos obtained in each group of experiments is shown in Table 1. Secondly, the static and dynamic temporal characteristics database of the temporal keyhole and molten pool was further counted and constructed.

[0042] At the same time, after welding, the weld metallographic parts were prepared by wire cutting equipment, and then metallographic etching was carried out using Kele reagent, and the longitudinal section macroscopic morphology was photographed using an optical microscope, and then the longitudinal section pictures were processed using image processing algorithms, such as Figure 4 , obtain the weld penetration value data.

[0043] Then the temporal static and dynamic characteristics and weld penetration data sets are divided into training set, validation set and test set in the ratio of 7:2:1.

[0044] Next, an independent sequential multi-feature fusion deep learning aluminum alloy scanning laser welding penetration prediction model is designed and constructed, and then the training set and validation set are sequentially input into the model to train and optimize the penetration prediction model and save the model with the smallest error. The specific operation process is as follows: First, the model is trained: 19 consecutive keyhole and melt pool features (feature 1-feature 19) of length 96 in the training set are input into the model independently and in parallel; then each feature is split into a feature segment of length 12, and after regularization, this tensor is added with a learnable position encoding tensor of the same dimension. Then, the Encoder module extracts each feature separately, and finally obtains 19 independent feature vectors containing key information after two layers of Encoder modules. Then, the predicted value of welding penetration is output through vector flattening and feature fusion, and the cross entropy loss function is used to calculate the difference between the predicted value and the actual penetration. Then, the model gradient is solved and the network weight is updated. If the prediction error of the model at this time is less than the prediction error of the previous training, the optimal model structure and weight parameters are saved.

[0045] The model weights are updated in a loop by alternating training, validation, and iteration. The model with the smallest error is saved during the iteration process. The structure and main hyperparameters of the optimal model are as follows: the number of encoder stacking layers of the penetration depth prediction model is 2, the number of heads of multi-head attention is 8, the model dimension is 512, the prediction length is, the number of model parameters is 6.4MB, the training time is 108s per 100 epochs, the training error (MSE) is 0.032mm, and the validation set error is 0.048mm.

[0046] Finally, the test set data is input into the saved optimal model using the same operation as the validation set. At the same time, the test set is input into the representative cutting-edge model in the field of time series prediction in the same way. The obtained penetration depth prediction comparison results are as follows: Figure 6 As shown, the predicted value and the actual value are regressed and fitted. Figure 7 The method proposed in this invention has the smallest prediction error and the largest R 2 The value can well predict the penetration depth of scanning laser welds.

[0047] At the same time, in order to verify the effectiveness of the scanning laser welding penetration prediction method proposed in the present invention, the attention weights in the process of each feature extraction are visualized. Figure 8 The brighter the area, the larger the weight value assigned by the model, indicating that different features have different attention weights. This proves that there is no information aliasing when the features of the proposed method are extracted in the model, so the model has the ability to independently fit the relationship between each feature and welding penetration; at the same time Fig. 9 It shows that, as time goes by, the feature weight graph corresponding to time T0 and time T1 moves from the upper left corner to the lower left corner, indicating that the present invention has the ability to extract feature temporal sequence.

[0048] Embodiment 2: This embodiment constructs a method for predicting the penetration depth of stainless steel scanning laser welding, including: First, the linear scanning laser welding experimental parameters with different laser powers, welding speeds, swing amplitudes, and swing frequencies were designed. The specific parameter matching is as follows: the welding process parameter window was initially obtained, in which the scanning amplitude was 0mm-3mm, the scanning frequency was 50-400Hz, the laser welding power was 2500-4000W, the welding speed was 10-25mm / s, and the laser defocus was 0mm. At the same time, stainless steel with a thickness of 6mm was selected, and an angle grinder was used to remove the oxide film. The cleaned stainless steel welding specimens were then clamped on the workbench in an overlapping manner.

[0049] Then the high-speed camera is fixed on the tripod, and the actual sampling frequency of the high-speed camera is set to 4000Hz. Then the welding experiment is carried out and the visual signal is obtained by shooting; secondly, the static and dynamic sequential feature database of the sequential keyhole and the molten pool is further counted and constructed.

[0050] At the same time, after welding, the weld metallographic parts are prepared by wire cutting equipment, and then metallographic corrosion is carried out by electrolytic corrosion using saturated oxalic acid, and the longitudinal section macroscopic morphology is photographed by optical microscope, and then the longitudinal section picture is processed by image processing algorithm, such as Figure 4 , obtain the weld penetration value data.

[0051] The obtained feature data sets of the molten pool and keyhole are divided into training set, validation set and test set in the ratio of 8:1:1.

[0052] In the above-mentioned embodiment 2, the process of model training, verification and testing is the same as that of embodiment 1, and can achieve the technical effect of storytelling of the present invention, and the effect is similar to that of embodiment 1.

[0053] The present invention does not elaborate on some of the common technologies of those skilled in the art. The above-described embodiments are only descriptions of preferred implementations of the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementations described. Without departing from the design spirit of the present invention, various modifications and improvements made by ordinary technicians in this field to the technical solution of the present invention should fall within the scope of protection determined by the claims of the present invention.

Claims

1. A scanning laser welding penetration prediction method based on independent temporal multi-feature fusion, characterized in that: The following steps are involved: S1: Before welding, a scanning laser welding process parameter window is designed to collect visual signals of different welding penetration depths; wherein, the scanning laser welding process parameters include: scanning form, welding power, welding speed, scanning amplitude, and scanning frequency; S2: Perform scanning laser welding according to the scanning laser welding process parameters designed in S1, and collect corresponding visual signals; count and construct the time-series static and dynamic feature data sets of the molten pool and keyhole with different welding parameters as the input of the model; at the same time, prepare the longitudinal section metallographic specimen, obtain the longitudinal section forming photo of the welded joint after welding, and then use the image processing algorithm to extract and construct the weld penetration data set as the output label of the model; then divide the static and dynamic features and the weld penetration data set into a training set, a verification set, and a test set according to a certain ratio; S3: Construct a scanning laser welding penetration prediction model based on independent temporal multi-feature fusion deep learning, including: a feature preprocessing module, which performs feature segmentation, feature regularization, and position encoding; a feature extraction module, including a stack of N transformer Encoder units; a feature fusion and output module, which performs feature flattening, full connection, and predicted penetration result output; through continuous alternating training and verification, the optimal model structure and weight parameters are optimized and saved.

2. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 1 is characterized in that: The scanning laser welding process parameter window initially obtained is designed as follows, with reference to the welding end parameters provided by the laser, scanning laser welding head and motion platform: scanning amplitude is 0mm-5mm, scanning frequency is 0-400Hz, laser welding power is 2000-6000W, and welding speed is 10-40mm / s.

3. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 1 is characterized in that: The welding method is butt welding, fillet welding or lap welding.

4. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 1 is characterized in that: In S2, the process of constructing the temporal static and dynamic feature data sets of the molten pool and keyhole is as follows: perform semantic segmentation of the original visual image to obtain images of keyholes and molten pools containing different pixel values; then divide the image into channels according to the pixel value size of the segmented image; and then use contour search and contour filling algorithms to identify the keyhole and molten pool areas.

5. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 4 is characterized in that: According to the search results of the keyhole and molten pool contours, the static and dynamic characteristics of the keyhole and molten pool are counted, and the temporal static and dynamic feature data sets of the molten pool and keyhole are constructed.

6. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 1 is characterized in that: The step S2 comprises: preparing a longitudinal section metallographic part along the center of the weld after welding, then performing a metallographic polishing operation on the metallographic part, and performing metallographic etching with a metallographic etching reagent, and then photographing the macroscopic morphology of the metallographic longitudinal section with an optical microscope, and saving corresponding color photos.

7. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 6 is characterized in that: In S2, the method of obtaining the penetration depth of the weld using an image processing algorithm includes: first, graying the color image; then using the Sobel edge detection algorithm to detect the edge of the weld; then using a closed operation to remove noise; secondly, searching for pixel points at the bottom of the weld based on calculated coordinate values, and then intercepting the weld contour except for the unstable part at the tail of the weld.

8. The scanning laser welding penetration prediction method based on independent temporal multi-feature fusion according to claim 1 is characterized in that: In S3, the training set and the validation set are used alternately to train and validate the model, including: 19 continuous K-dimensional time series are input into the model in parallel; multiple time series features are segmented and regularized by using a feature extraction module, and then a learnable position code is added to the obtained multidimensional tensor; the obtained feature tensor is input into the Encoder module, and the features of the keyhole and the molten pool and the relationship between the features at different times are independently extracted; finally, the multidimensional tensor output by the Nth Encoder is flattened and the full connection layer is calculated, and the penetration prediction result is output, and then the loss is calculated with the actual welding penetration value, and the hyperparameters of the model are optimized by reverse gradient solution, and finally the scanning laser welding penetration prediction model with the minimum prediction error is saved as the optimal model; then the test set is used to test the optimal model to predict the penetration of the weld, thereby realizing the real-time prediction of the scanning laser welding penetration.

Citation Information

Patent Citations

  • Arc welding seam forming accurate prediction method based on deep learning

    CN111177976A

  • A method for joint prediction of residual height and melt depth based on melt pool image and deep residual network

    CN111932539B

  • Weld joint forming prediction method based on complementary two-channel convolutional neural network

    CN113838050A

  • Neural evolution-based laser scanning welding penetration prediction method and application

    CN113657040A

  • Method and system for predicting density of selective laser melting forming part

    CN117010210A

Cited By

  • Laser welding element burning loss multiple regression monitoring method based on spectral information

    CN119187970A

  • Weld seam tracking method based on visual image semantic segmentation

    CN119216841A

  • Intelligent cutting control system and method for aluminum alloy profile

    CN119904601A

  • OCT (Optical Coherence Tomography)-based depth scanning information splicing method

    CN120107064A

  • OCT-based deep scan information splicing method

    CN120107064B