Literature DB >> 35632290

Beam Offset Detection in Laser Stake Welding of Tee Joints Using Machine Learning and Spectrometer Measurements.

Aydin Jadidi1, Yongcui Mi1, Fredrik Sikström1, Morgan Nilsen1, Antonio Ancona1,2.   

Abstract

Laser beam welding offers high productivity and relatively low heat input and is one key enabler for efficient manufacturing of sandwich constructions. However, the process is sensitive to how the laser beam is positioned with regards to the joint, and even a small deviation of the laser beam from the correct joint position (beam offset) can cause severe defects in the produced part. With tee joints, the joint is not visible from top side, therefore traditional seam tracking methods are not applicable since they rely on visual information of the joint. Hence, there is a need for a monitoring system that can give early detection of beam offsets and stop the process to avoid defects and reduce scrap. In this paper, a monitoring system using a spectrometer is suggested and the aim is to find correlations between the spectral emissions from the process and beam offsets. The spectrometer produces high dimensional data and it is not obvious how this is related to the beam offsets. A machine learning approach is therefore suggested to find these correlations. A multi-layer perceptron neural network (MLPNN), support vector machine (SVM), learning vector quantization (LVQ), logistic regression (LR), decision tree (DT) and random forest (RF) were evaluated as classifiers. Feature selection by using random forest and non-dominated sorting genetic algorithm II (NSGAII) was applied before feeding the data to the classifiers and the obtained results of the classifiers are compared subsequently. After testing different offsets, an accuracy of 94% was achieved for real-time detection of the laser beam deviations greater than 0.9 mm from the joint center-line.

Entities:  

Keywords:  feature selection; laser beam offset; laser beam welding; machine learning; spectrometer; tee joint

Mesh:

Year:  2022        PMID: 35632290      PMCID: PMC9146067          DOI: 10.3390/s22103881

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.847


1. Introduction

Laser beam welding (LBW) is an important manufacturing process with a widespread application from automotive and ship building to aerospace and micro-electronics [1,2]. LBW presents many advantages compared to traditional arc welding such as higher welding travel speeds, ease of automation, less heat induced residual stress and deformation, deeper penetration and forming a small heat affected zone [3,4,5,6]. In addition, being a non-contact method, LBW offers extreme flexibility in the geometry of the joint to be welded such as in the case of tee joints. Tee joints provide higher structural strength and lower weight, and stake welded tee joints have wide applications for example in marine industry [7,8,9]. However, just like other manufacturing- and welding processes, defects and discontinuities may be formed during LBW. Some of the defects can be prevented or corrected by in-process monitoring and control. Furthermore, collected data during the process, can be used for offline analysis or building machine learning (ML) models to be used in-process applications such as go/no-go systems. In-process monitoring of LBW has been subject to extensive research, and different combinations of sensors and algorithms have been used to detect defects and discontinuities. Considering the characteristics of LBW, most of the monitoring methods are based on data from optical radiations from the welding zone [10]. However, acoustical sensors and X-ray imaging are also used for monitoring LBW [11,12,13,14,15]. Monitoring methods are developed based on the target characteristic such as joint gap width variations, spatter, keyhole stability and laser beam (LB) offset detection. A high-power LBW monitoring system was developed by Li et al. [16], using X-ray transmission imaging system and high speed cameras. The research investigated the relation between the molten pool behavior and formation of spatters. Another monitoring system was developed in [17] for dynamic keyhole profile monitoring based on the vapor-generated wave. In another research [18] the correlation analysis of the plasma plume optical spectra generated during LBW was used for in-process monitoring. As a result, the formation of weld defects were detected using the optical emissions and the co-variance mapping technique. The laser-induced plasma plume electron temperature signal, calculated based on the optical spectra acquired during the LBW process, was also shown in [19] to be correlated to the occurrence of welding defect. Sibillano et al. [20] utilized an optical spectroscopic sensor for real-time control of the LBW process. The optical emission above the keyhole was used to calculate the laser plasma plume electron temperature. The relationship between the electron temperature and penetration depth was used as the input to a PI controller with the purpose of stabilizing the penetration depth in overlap welding. The results were validated afterwards using microscopic analysis of the seam cross sections. In addition to the spectrometers for real-time and non-destructive monitoring, photo-diodes also have been utilized for monitoring of LBW [21,22,23]. However, a combination of photo-diodes is necessary to cover the whole relevant spectral range. In a study conducted by Nilsen et al. [24], a dual vision and spectroscopic sensing system was employed to monitor a varying joint gap during LBW. Image processing techniques followed by Kalman filter were used to estimate the gap width, using the data captured by a CMOS camera. In addition, the gap estimation was realized using the intensity of spectral lines provided by a spectrometer. Machine learning techniques are widely used for classification and prediction problems in diverse fields [25,26,27,28,29,30,31,32] as well as welding monitoring and discontinuity detection. In a research conducted by Chen et al. [33] artificial neural network (ANN) and support vector machine (SVM) were employed to classify welding defects using emission spectrum data. Feature extraction methods were applied before feeding data to the classifiers. The data were divided into 3 labels, namely no defects, pores and bead separation. The results indicated good performance of the classifiers in detecting defects and ANN demonstrated slightly better results compared to SVM. In another research [34], a deep neural network (DNN) was employed for quality assessment of the LBW. A spectrometer used for collecting data and and the measured data were converted to RGB values. The collected data were related to 4 classes of unwelded, incomplete penetration, full penetration and unwelded with a gap. After training the model, a classification accuracy of 90% was achieved. Fan et al. [35] developed a model based on auxiliary classifier generative adversarial network (ACGAN) and convolutional neural networks (CNN), for real-time LBW defect detection. ACGAN was used to generate fake data based on data collected by optical and thermal sensors, to increase the samples in training data set, and CNN classified the data. On-line beam offset detection is particularly relevant for tee joints. Indeed, as seen in Figure 1, during welding of tee joints, it is not possible to detect the deviation (beam offset) between the LB and the joint center-line from the top side by optical means, due to lack of visibility. Beam offset detection during LBW has also been subject of several studies. In a method developed in [36], a photo-detector and change point detection methods were used for on-line and off-line LB deviation detection. In another study using photodiode and signal processing [37], laser beam deviations were detected approximately 10 mm and 15 mm after the movement out of the joint using offline and online methods respectively.
Figure 1

Stake welded tee joints [36].

In addition to the mentioned signal processing methods for LB offset detection, a neural network was employed to detect the LB deviations from the join center line using images collected by a camera and feature extraction techniques [38]. The extracted features from the vision camera were used as inputs of a nonlinear autoregressive model. However, error indicator results are not provided. Despite previous and on-going research in LBW monitoring, lack of studies related to LB deviation detection using ML, motivated the current study. This work fills this gap and focuses on the monitoring of LBW of the tee joints for automatic LB offset detection. A spectrometer was used for collecting the spectral emissions from the laser-metal interaction zone and different classifiers were tested to investigate their provided classification accuracy for the data. Before feeding the collected data to the classifiers, feature selection was applied to select discrete wavelengths of the spectrometer, to increase the classification accuracy and reduce the size of input vector. The equipment used in experiments is described in Section 2, as well as data and data pre-processing steps and information about the classifiers. The results are presented in Section 3 and are discussed in Section 4. Finally, Section 5 is the conclusion.

2. Materials and Methods

2.1. Welding Setup and Spectrometer Measurements

The LBW equipment consists of a CNC gantry, a water-cooled high power ytterbium-doped fiber laser and fixturing. The CNC gantry (from Isel® Germany mod. M40) was used to maneuver the welding tool from Permanova Lasersystem AB. The LB with a Rayleigh length of 12.5 mm was generated by a 6 kW IPG laser system (mod. YRL-6000-S) with a 1070 nm wavelength. The LB was focused on the face plate top surface with a diameter of 1.5 mm in focus and the power was in continuous wave resulting in keyhole mode welding. The fixed power was set at 3500 W, the welding travel speed was 15 mm/s, and the flow rate of the shielding gas Ar was 20 L/min. These parameters were experimentally derived to produce a visibly good-looking weld seam. The welding was conducted without filler material, and the plate material was S355MC high strength steel for both face and web plates. As illustrated in Figure 2, the thickness of the plates was 2 mm and the width was 60 mm. The lengths of the face and the web plates were 150 mm and 170 mm, respectively. Figure 2 shows a reference welding and different welding cases with linear deviations of the LB from the web plate center line.
Figure 2

The welding setup for the experiments.

The welding was monitored by a spectrometer (Ocean Optics HR2000+). During welding, hot vapour emerging from the keyhole which is weakly ionized and a plasma plume is formed. The generation of such plasma plume is frequently observed also in case of 1-um wavelengths lasers, where the beam quality is high and multi-kW power is employed producing a high laser intensity on the metal surfaces. The atomic and weakly ionized chemical species composing such plasma plume, emit optical radiation that can be collected by optical sensors such as spectrometers. Compared to photo-diodes, spectrometers can resolve the incoming signal and separate each wavelength, providing the possibility to get more information about the state of the process, such as the plasma electron temperature [39,40]. In addition, the high dimension of discrete vector data acquired by the spectrometer enables the usage of advanced signal analysis methods, such as ML. The spectrometer is low-cost and can be easily implemented in a welding tool since it is a compact and non-contact device. The spectrometer used in this work, is equipped with a 2048 pixel CCD array detector and 10 µm entrance slit. It collects light in the wavelength range between 400–530 nm with a spectral resolution of 0.07 nm. The welding setup for the experiments is presented in Figure 2. The spectrometer was connected to the welding tool and used to collect light from the interaction zone which was sent to the spectrometer entrance slit through a 200-μm core optical fiber, as illustrated in Figure 3a. The exposure time during the acquisitions was 20 ms.
Figure 3

The welding setup and controlled beam deviations. (a): Welding setup; (b): Top-view of the joint. The red line indicates the beam path with controlled deviation.

2.2. Data Collection and Pre-Processing

In order to collect data, 14 different tests were realized where, in 4 reference test cases, the LB spot followed the straight centre line of the joint, and in the other test cases controlled linear deviations were applied (as seen in Figure 2). The collected raw data related to all test cases are presented in Figure 4.
Figure 4

Time series of spectral data acquired during the tests. Each feature represents discrete wavelengths of the spectrum while the sample number represents the time sequence acquired during the tests.

As the next step, data of 2 tests related to controlled linear LB deviations with an offset between −1.5 mm to 1.5 mm and −2.5 mm to 2.5 mm were separated to be the testing data sets of the classifiers. The remaining data were used for feature selection and training of the classifiers. The number of samples collected from each test were divided by the LB deviation range, and the obtained numbers were set to be class 1 (without deviation) or class 2 (with deviation), according to the pre-determined LB deviation limit. Afterwards the labeled samples were shuffled and in order to balance the data in class 1 and class 2, the same sample number of each class were selected. Random forest algorithm was used for selecting important wavelengths and in addition, a non-dominated sorting genetic algorithm II (NSGA II) was employed for feature (wavelengths) selection and its cost function was set to be the mean accuracy for the testing data set of an multi-layer perceptron neural network (MLPNN) in 10 runs, for each individual in each iteration. Data division for testing and training data sets of the cost function, was set to be random (80% for training and 20% for validating and testing). The testing data set for each individual in each iteration was unknown for the MLPNN, employed as the cost function. The selected wavelengths were fed to the classifiers namely MLPNN, support vector machine (SVM), learning vector quantization (LVQ), logistic regression (LR), decision tree (DT) and random forest (RT) and the obtained results from classifiers in each step of the process were reported in Section 3.

Non-Dominated Sorting Genetic Algorithm II (NSGA II)

Non-dominated Sorting Genetic Algorithm II is a multi-objective optimization algorithm, and it starts with a temporary solution in each iteration () containing the population () and the offspring population of the same size () [41]. The offspring population is generated by using genetic operations of mutation and crossover. It merges the parents and offspring population and as a result, the next generation contains the best individuals from both parents and offspring space. As a result, the best individuals will be kept during the evolution process (elitism) [42]. After combining the parents and offspring population, the population is ranked. Individuals in the first front, are not dominated by the other individuals, and the individuals and consequent fronts are only dominated by the individuals in previous fronts. The selection of parents for generating the next population () is based on the number of the front and calculating the distance of each population individual with the neighboring individuals in the same front by using crowded-comparison operator [43]. The crowding distance indicates the density of solutions surrounding an individual. In order to maintain the diversity, individuals in less crowded regions are preferred [44].

2.3. Classifiers

2.3.1. Multi-Layer Perceptron Neural Network (MLPNN)

Multi-layer perceptron neural networks consist of input layer, at least one hidden layer and output layer. The MLPNN employed in this work, is a three layers feed-forward network, in which all neurons of the previous layer are connected to the all neurons of the next layer. The weights of these connections are updated during the training process. The output of each neuron is multiplied by the connection weight and passes through an activation function and summation with the outputs of the other connected neurons [45]. The output of each layer is calculated by following equation: where, , , b and are weights, inputs, bias and activation function respectively.

2.3.2. Support Vector Machine (SVM)

Support vector machine is a supervised learning method introduced by Boser, Guyon, and Vapnik [46]. It is one of the most used classification methods because of its robustness and generalization ability [47]. SVM separates the data by matching them to feature space and using a hyper-plane and if data are not linearly separable, nonlinear kernels are used [48]. The common mathematical description of this optimization problem is given below: where, w, , , , b are normal vector, transformation function, point on the hyper-plane described by the normal vector, labels and offset of the normal vector from the beginning respectively. C is the penalty coefficient and the radial basis function (RBF) kernel is defined as: where, is a positive hyperparameter.

2.3.3. Learning Vector Quantization (LVQ)

Vector quantization theory is a controlled version of Kohonen network also known as self organizing maps (SOM). SOM is an unsupervised learning algorithm based on mapping a high dimensional input to a feature space (grid) [49]. LVQ is a supervised classification neural network algorithm based on SOM which finds a set of prototype vectors (codebook vectors) that represent the input space and the input data are processed based on their similarity to the prototype vectors [50]. If the processed data is from the same class as the prototype vector, the vector is moved towards the training sample (winner takes all) [51], and if it is not from the same class, the prototype vector moves apart. After evaluating all prototype vectors against all training samples in the feature space, the updated prototype vectors are used to assign classes for the unseen data. The process is similar to the Lloyd’s algorithm, but the codebook vectors are used for making the prediction.

2.3.4. Random Forest (RF)

Random forest is an ensemble learning model and consists of multiple decision trees. When a new input sample is fed to the algorithm, all decision trees classify independently, and the final classification result is obtained by the majority voting as illustrated in Figure 5. RF uses sampled training set to train each DT and the randomized training set is extracted by using Bootstrap method. Using a set of decision trees makes the RF resistant to overfitting and no pruning for the DT is needed because of random relation between sub-samples [52,53].
Figure 5

Flowchart of RF as a classifier [54].

3. Classification Results

Different linear deviations from the joint center were used to test the accuracy of the employed classifiers. The accuracy in each case are presented in Table 1. The reported values are the median accuracy of 10 runs of each classifier and all wavelength has been used as the inputs. A definition of the error indicators can be found in Appendix A.
Table 1

Classification accuracy at different LB deviations from the joint center line.

ClassifierDeviation (mm)
0.50.60.70.80.91.01.11.21.3
MLPNN0.77170.82430.86860.91170.94750.94100.89840.84880.8084
SVM (RBF)0.76530.82130.87420.91210.94830.94220.89840.84970.8144
LVQ0.76610.81650.86560.93970.94360.93800.89750.84630.8079
LR0.81050.83370.85870.88280.91380.90350.87250.82600.8111
DT0.76140.81730.85090.88880.92670.93100.88450.85270.8070
RF0.76650.82040.87420.91170.94830.94010.89750.85700.8182
The MLPNNs employed in this research have only one hidden layer. Networks with more than one hidden layer have been tested and did not provided higher accuracy. Two data sets with linear offset between −2.5 mm to +2.5 mm and −1.5 mm to +1.5 mm were used as testing data set in all reported results in Table 1. Minus and plus stand for beam offset deviation from the left side and to the right side of the joint center line respectively. As seen, using a LB deviation of 0.9 mm for classification, provides higher classification accuracy, compared to other tested LB deviations. Outputs and targets for detecting LB deviations larger than 0.8 mm, 0.9 mm, 1 mm and 1.1 mm is presented in Figure 6.
Figure 6

Outputs and targets for detecting LB deviations larger than 0.8 mm, 0.9 mm, 1 mm and 1.1 mm.

The results reported in Table 1 are generated using all wavelengths of the spectrometer. However, it is possible to obtain the importances of the input features, which sum to one, by using random forest algorithm. The importance value for each feature is the average of its importances over all trees and are shown in Figure 7.
Figure 7

Spectrometer feature (wavelength) importances obtained by RF.

Among the importances obtained for the features using RF, 127 of them have importance greater than 0.4% and they were used as the inputs for the classifiers. The results are given in Table 2 and are related to the median accuracy of 10 runs for each classifier.
Table 2

Classification results for RF selected set of wavelengths.

ClassifierClassAccuracySensitivitySpecificityPrecisionF-Score
MLPNN10.94750.96750.92930.92560.9461
2 0.92930.96750.96910.9488
SVM (RBF)10.94750.96560.93090.92710.9460
2 0.93090.96560.96750.9489
LVQ10.94400.96750.92270.91920.9427
2 0.92270.96750.96890.9452
LR10.94060.94580.93590.93060.9381
2 0.93590.94580.94990.9428
DT10.93540.91940.95300.95560.9371
2 0.95300.91940.91490.9336
RF10.94750.93090.96560.96750.9489
2 0.96560.93090.92710.9460
As the next step, the NSGA II was used to define the input set of the classifiers. The output of this algorithm is not only one set of inputs. NSGA II provides non-dominated results in its Pareto-front which, all of them can be used based on the computational power and the desired accuracy. The Pareto-front of the NSGA II in current work, is shown in Figure 8, which describes the feature selection cost for the solutions provided by the NSGA II. An MLPNN was used as the cost function of the algorithm. The deviation from the joint center-line was set to 0.9 mm, as according to Table 1, the best accuracy is obtained using a deviation of 0.9 mm. All data was divided randomly to training and testing data sets, in each iteration for each individual. Cost was set to median accuracy of 10 runs for testing the data set.
Figure 8

Pareto-front of the NSGA II.

The classification results related to the set of wavelengths providing higher accuracy (920 wavelengths) are presented in Table 3. Reported results for each classifier are related to the median accuracy of 10 runs for each classifier. Testing data set used in Table 3 is the same that was used to generate the results reported in Table 1 and Table 2.
Table 3

Classification results for NSGA II selected sets of wavelengths.

ClassifierClassAccuracySensitivitySpecificityPrecisionF-Score
MLPNN10.94920.96380.93590.93180.9476
2 0.93590.96380.96600.9507
SVM (RBF)10.94830.96380.93420.93020.9467
2 0.93420.96380.96600.9498
LVQ10.94570.95660.93590.93130.9438
2 0.93590.95660.95950.9475
LR10.91560.89330.93590.92680.9098
2 0.93590.89330.90610.9207
DT10.93200.92930.93490.94320.9362
2 0.93490.92930.92320.9290
RF10.94920.96750.93260.92880.9477
2 0.93260.96750.96920.9505
According to Table 2 and Table 3, not all wavelengths are needed to be used as the inputs of the classifiers and the selected set of the wavelengths provides the same or slightly higher accuracy for the selected testing data set. The corresponding receiver operating characteristic curve (ROC) and confusion matrix for RF using 920 selected wavelengths for detecting a deviation of 0.9 mm are presented in Figure 9 and Figure 10, respectively.
Figure 9

ROC curve of the results from the RF algorithm.

Figure 10

Confusion matrix for the RF algorithm for detecting LB deviations greater than 0.9 mm.

Photos from of the top and root view of a weld seam with controlled LB deviation from −2.5 mm to 2.5 mm is presented in Figure 11 showing typical lack of fusion defects caused by a LB offset. Lack of fusion caused by the LB deviation is marked with red in the root view of the welded plates.
Figure 11

Top and root view of a weld seam with LB deviation from −2.5 mm to 2.5 mm. Lack of fusion between the plates is indicated by red in the root view.

4. Discussion

Different LB offset thresholds were tested and for all employed classifiers, detecting the deviations larger than 0.9 mm provided higher classification accuracy (Table 1). This is explained by the underlying physical phenomena and is related to the thickness of the web plate (2 mm) and LB shape with diameter of 1.5 mm. In LB deviations larger than 0.9 mm, melt flow and keyhole are influenced due to the proximity of LB to the edge of the web plate. This has a practical significance since a LB offset of 0.9 mm has a very high probability to result in deteriorating lack of fusion defects. After training the classifiers, the classifiers generate result for new data very fast and without computational complexity and the trained classifiers can be used as a part an online control system. Most of the misclassifications occurred while the LB offset varies between pre-determined classes (Figure 4). Since each sample represents a very small advance of the LB in welding direction (approximately 0.25 mm), and considering the possibility of misclassification, an online go/no-go system can be programmed to pause the process in case of a few consecutive offset detections.

5. Conclusions

In this work, ML techniques were applied for detecting LB deviations from 0.5 mm to 1.3 mm from the joint center-line. The most accurate classification result was obtained in detecting a LB deviation of 0.9 mm. Feature selection using RF and NSGA II was applied to reduce the number of features (wavelengths) in the input vector, without reduction in the classification accuracy. Not all features of the original data are necessary for detecting the LB deviation, and using selected wavelengths results in a slightly better classification performance, while reducing the number of input features. After applying the proposed methodology, the classification accuracy reached 94% for the testing data. The suggested method has a promising potential to be used in-process as a go/no-go system, to prevent discontinuities such as lack of fusion. The method can probably also be applied to other types of welding joints especially when the non-visibility condition of the joint center-line exists and it can be expanded to detect other discontinuities during welding.
  10 in total

1.  Identification of Pilots' Fatigue Status Based on Electrocardiogram Signals.

Authors:  Ting Pan; Haibo Wang; Haiqing Si; Yao Li; Lei Shang
Journal:  Sensors (Basel)       Date:  2021-04-25       Impact factor: 3.576

2.  A real-time spectroscopic sensor for monitoring laser welding processes.

Authors:  Teresa Sibillano; Antonio Ancona; Vincenzo Berardi; Pietro Mario Lugarà
Journal:  Sensors (Basel)       Date:  2009-05-07       Impact factor: 3.576

3.  Centralized Unmanned Aerial Vehicle Mesh Network Placement Scheme: A Multi-Objective Evolutionary Algorithm Approach.

Authors:  Sérgio Sabino; Nuno Horta; António Grilo
Journal:  Sensors (Basel)       Date:  2018-12-11       Impact factor: 3.576

4.  An Automatic Surface Defect Inspection System for Automobiles Using Machine Vision Methods.

Authors:  Qinbang Zhou; Renwen Chen; Bin Huang; Chuan Liu; Jie Yu; Xiaoqing Yu
Journal:  Sensors (Basel)       Date:  2019-02-04       Impact factor: 3.576

5.  Toward a Robust Multi-Objective Metaheuristic for Solving the Relay Node Placement Problem in Wireless Sensor Networks.

Authors:  José M Lanza-Gutiérrez; Nuria Caballé; Juan A Gómez-Pulido; Broderick Crawford; Ricardo Soto
Journal:  Sensors (Basel)       Date:  2019-02-07       Impact factor: 3.576

6.  EEG signal analysis using classification techniques: Logistic regression, artificial neural networks, support vector machines, and convolutional neural networks.

Authors:  Maria Camila Guerrero; Juan Sebastián Parada; Helbert Eduardo Espitia
Journal:  Heliyon       Date:  2021-06-07

7.  Closed loop control of penetration depth during CO₂ laser lap welding processes.

Authors:  Teresa Sibillano; Domenico Rizzi; Francesco P Mezzapesa; Pietro Mario Lugarà; Ali Riza Konuk; Ronald Aarts; Bert Huis In 't Veld; Antonio Ancona
Journal:  Sensors (Basel)       Date:  2012-08-09       Impact factor: 3.576

8.  Neural Classification of Compost Maturity by Means of the Self-Organising Feature Map Artificial Neural Network and Learning Vector Quantization Algorithm.

Authors:  Piotr Boniecki; Małgorzata Idzior-Haufa; Agnieszka A Pilarska; Krzysztof Pilarski; Alicja Kolasa-Wiecek
Journal:  Int J Environ Res Public Health       Date:  2019-09-07       Impact factor: 3.390

  10 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.