Introduction
Most of the automated welding systems were developed and used for mass production. Recently, the robotization of small series production gained more attention, primarily by small and medium-sized companies. The transition from manual to robotized welding requires the adaptation of the welder’s expertise to the automated system. However, this knowledge is mostly not available in a quantified format as precisely as needed to program the robotic welding system or estimate the weld bead geometry (WBG).
The Tungsten Inert Gas (TIG) welding method can produce solid and high-quality joints for a wide range of regular and more exotic types of metals [1]. Along with the welding process’s non-linear characteristics, the weld bead formation depends on the chemical compositions of the base and filler materials [2], [3]. The sulfur and oxygen content could vary in a wide range between the manufacturing batches, which influence the surface tension of the melted metal, an important factor defining the shape of the solidified surface [4], [5]. Furthermore, the deposition efficiency needs to be considered besides the inconsistent evaporation of the filler metal [6].
Consequently, a model-based approach is needed to achieve the requirements for the given material composition and environment; and support the activities during the design and the execution of the welding process.
During the early 2000’s, optimization and modeling of welding processes mostly consisted of numerical [7] and statistical approaches [8]. However, in the last decade computational intelligence and machine learning became dominant [9], [10] due to the capability to solve complex and non-linear problems. Now they are providing a base for applications for future intelligent welding manufacturing [11]. Recently, WBG models and the related process controls gained attention in wire and arc additive manufacturing (WAAM) [12]–[15] and multi-pass welding (MPW) [16]–[18].
Most research studies of WBG modeling are focused on consumable electrode welding methods [12], [19]–[23] and flux activated TIG (A-TIG) without deposition [24]–[26]. Only a few study focus on TIG for stainless steel bead geometry [27]–[30], because TIG was traditionally used without deposition or on non-steel metals [31] to weld joints where the reinforcement is not utilized.
Numerical models provide deep analysis on the mechanical properties, residual stresses, distortion, and heat distribution beside other internal properties of the welded workpiece [7], [32]–[34]. However, the bead shapes and the welding process variables (WPVs) are not considered, since they are provided as inputs to the finite element modeling and adjusted manually. The WPVs are adjusted until they provide the final product’s required properties, while the weld bead shapes are modeled by their simplified shape. The modeling neglects the challenges connected to the precise execution by including higher error margin and safety factors. The shape of the weld beads is an important factor in WAAM and MPW because controlled height and width are needed to ensure stable deposition [35]–[37]. Analytical models were developed to describe the bead shape [36], [38], [39], but those models were discussing the type of the fitting curve for the bead surface and its effect during overlapping.
Statistical methods are often used in the literature to provide the comparison base for different methods since their linear behavior is usually outperformed by methods capable of modeling the non-linear behavior [12], [21]. Computational intelligence (CI) techniques – such as artificial neural networks (ANN) [12], [22], [23], fuzzy inference systems (FS) [20], [24], [25], evolutionary algorithms (EA) [40], [41], and genetic programming (GP) [42] – are widely used to describe the WBG. However, due to their limitations [26], several hybrid computing techniques were developed [26], [32], including the adaptive neuro-fuzzy inference systems (ANFIS) [25], [26], [43] and the evolutionary fuzzy systems (EFS) [44], [45].
An important common feature of computational intelligence techniques is that they aim at acceptably suboptimal, usually, approximate solutions, while keeping the computational complexity at a tractable, usually low degree polynomial level. CI methods such as fuzzy systems and neural networks are universal approximators [46], [47]. They can be transformed into each other, therefore any approach (or architecture) choice can be justified [48]–[50]. Kóczy showed that the Takagi-Sugeno-Kang (TSK) FS is asymptotically equivalent to the Mamdani FS model, and they can be transformed into each other [49].
The main advantage of choosing FS is the inference base, compared to the black-box behavior of the ANNs. Fuzzy systems provide human-like reasoning systems since their rule-based approach with a non-linear mapping of inputs offers an easily interpretable method, where the arguments leading to the conclusion can be assessed.
The FS method’s main drawback is to find the optimal definition of membership functions and define the sufficient number of rules. The fewer number of fuzzy rules may help understand the system’s decision-making, bringing the developed inference model closer to the person applying it in operation. Furthermore, the fuzzy inputs allow us to handle some degree of uncertainty in the input parameters, which happens in welding. In the overviewed literature, either high number (above 20 rules) [25], [26], [51] or manually defined fuzzy rules [24], [52] were applied to estimate one feature of the weld bead.
The tuning of the membership function parameters can be done by applying training algorithms [53], which allow the fuzzy systems to learn from data. In many different fields, the evolutionary algorithms are applied to design the fuzzy systems [44], [45], [54].
Several evolutionary optimization algorithms were developed, with the ability to solve and quasi-optimize problems with non-linear and discontinuous characteristics [55], [56]. The bacterial evolutionary algorithm (BEA) [57] is one of the possibilities that mimic bacterial rather than eukaryotic evolution among microbes. Each bacterium represents a solution to the original problem. In their mutation and the gene transfer operations, bacteria share chunks of their genes instead of performing neat crossover in chromosomes, which is the characteristic of the eukaryotes. The main disadvantage of the classical evolutionary algorithms is the low convergence speed, thus long running time. However, combining them with gradient-based local search methods can utilize both methods’ advantages in the optimization process. This hybridization leads to memetic algorithms [58].
Bacterial Memetic Algorithm (BMA) [54] is a memetic algorithm, in which the bacterial technique is used instead of the classical genetic algorithm, and the Levenberg-Marquardt (LM) method [59], [60] is applied as local search. The BMA provides a competitive performance during optimization [61], [62] and supervised machine learning [62] against genetic algorithm (GA) and particle swarm optimization (PSO) and their memetic versions. It has already been applied in several combinatorial optimization problems [61], [63], in continuous optimization tasks [64], and in supervised machine learning tasks such as fuzzy rule base extraction [54] and training fuzzy neural networks [65]. However, the capabilities of BMA were not explored in welding or related technology yet.
Problem Definition
Precise positioning of weld beads is required to achieve a desirable weld join in welding, which is influenced by the weld bead shape during the deposition of multiple beads. The weld bead geometry is directly related to the WPVs, and the bead formation depends on the previously deposited beads’ shapes.
In small series productions, the tuning of the process could take up a significant amount of time and be done by trial and error method following internal standards; and carrying out experiments and laboratory analysis of the test workpieces. This approach can be enhanced by a bi-directional model to describe the relationship between the process parameters and the resulting WBG to support the automated operation and the selection of the process variables.
Simulation and analytical models could also support the manufacturing process, where the WPVs and WBG are provided as inputs to the finite element modeling. The target WBG is modeled by simplified shapes and defined by manual calculations or numerical calculations to satisfy the criteria of the mechanical loads and stresses of the workpiece. The WBG and WPVs are adjusted until they provide the required properties of the final product. Mishra and DebRoy [32] showed that a specific WBG could be produced by multiple combinations of the WPVs, even in the range qualified by the Welding Procedure Specification. A provided list of WPVs could allow to select the best combination fitting to the desired workpiece properties.
However, numerical modeling neglects the challenges connected to the precise execution by including higher error margin and safety factors. Proposing a model to estimate the bead geometry provides refined geometrical information to further evaluation of the mechanical properties and residual stresses in the workpiece. Therefore, such a model does not compete with the numerical models but complements them to define the WPVs and WBG.
As the industrial application aspect of the welding process is considered, three control parameters were selected in our approach, namely arc current (
To describe the weld bead profiles, the second-order polynomial (parabola) fitting was chosen [36]. The parabola curves are reconstructed from the \begin{equation*} y= -4\frac {h}{w^{2}}x^{2}+h,\tag{1}\end{equation*}
The theoretical \begin{equation*} A_{B}^{d}=\eta _{d} \frac {\pi D^{2}_{w}}{4}\cdotp \frac {v_{f}}{60 v_{t}}, \tag{2}\end{equation*}
\begin{equation*} A_{B}^{m}= \int _{-w/2}^{w/2} f(w,h) \mathrm {d}x = \frac {2 w h}{3} \tag{3}\end{equation*}
During our preliminary study, we found that the value of
Furthermore, the review conducted by Vasudevan concluded that FSs are the best soft computing methods for control and monitoring of welding processes, and (GA) evolutionary algorithm-based models for WPV optimization [27]. This provided a motivation to utilize our method since it combines the advantages of both approaches.
The effectiveness of the BMA is emphasized by adapting it to our application in two different ways – developing a bead shape model and finding multiple optimal WPVs to achieve the target bead geometry. This method is unique since the BMA was not utilized in welding before or implemented for one problem with two roles (supervised trainer and optimizer). Furthermore, for the two separate tasks, two different methods are usually applied in the overviewed literature.
The specific aims of our study are to (i) provide a sufficient estimation model of the WBG by adopting the BMA to the welding application, where the FS-based model consists of a low number of fuzzy rules; and (ii) provide a decision support tool for selecting WPVs to achieve specific WBGs.
Proposed Methods
Our proposed method provides a bead geometry model on single weld beads in a horizontal position using fuzzy systems, and an optimizer to retrieve a list of WPVs producing a specified WBG. These support the decision to chose a suitable set of WPV for simulation or execution. The developed FS provides a human-like reasoning system and a non-linear mapping of inputs to assess the arguments leading to the conclusion. The supervised training of the rule base and the optimization task are carried out by the same Bacterial Memetic Algorithm.
Our proposed method is capable of accepting not only the conventional main welding parameters but also the profile points of the weld beads directly, measured by a laser triangulation sensor allowing a broader range of applications than the traditional methods.
In the welding process modeling, BMA is used both as a supervised trainer and as an optimizer. Our method (Fig. 1) can be broken down into the following four steps:
Welding data generation by TIG welding on 304L stainless steel
Welding data acquisition and preprocessing by the data processing framework
Welding model generation by tuning the membership functions of the fuzzy systems by BMA in order to infer the bead profile properties from the welding process variables
Welding design by BMA optimization of WPV in order to achieve the desired BPP resulting in a multiple set of WPV
The empirical model development is based on the welding experiments (Step 1), whose design is covered in the Sec. III-A, and utilize the second-order polynomial (parabola) fitting. The generated data is preprocessed (Step 2) to provide the profile property information of weld bead cross sections for each trial, following the method described in Sec. III-B. The output of the preprocessing is the training patterns for the model development of the weld bead profile.
During the supervised training (Step 3, Sec. III-C), the BMA is utilized to tune the membership functions of the fuzzy systems. The bacterium’s chromosome encodes the breakpoints of the trapezoidal membership functions, and the evaluation of the bacteria is carried out by the Mamdani inference model [66]. The bacterium’s chromosome is modified to reduce the value of approximation error (
The first approach, the Bead Geometry Properties (BGP) model (Sec. III-D), is a more conventional method to model a direct relation between the WPVs and the BPPs in three parallel fuzzy rule bases. The second approach is the Direct Profile Measurements (DPM) model (Sec. III-E), which is the extension of the BGP model. It contains a single fuzzy rule base to reconstruct the weld bead shape from profile points; then, the BPPs are acquired as the result of the postprocessing.
As Step 4, the BMA is used again, now as an optimizer, incorporating the BGP model to optimize the WPVs to achieve the targeted weld bead geometry (Sec. III-F). Both the fitness of the models and the results of the optimization were validated through experiments.
The application of BMA in Step 3 and Step 4 differs in a few details, such as the encoded information in the bacteria’s genes, the evaluation method, and the update process in the Levenberg-Marquardt algorithm. In the optimizer role, the bacterium encodes the WPVs, and the evaluation is based on the value of the single objective function. According to their gradient vector, the WPVs are modified with their direct effect on the objective function in the iterations between the generations. In comparison, in the supervised trainer role of the BMA, the bacteria’s chromosomes encode a complete set of fuzzy rules. The parameters of the rule’s membership functions are tuned in the process. During the evaluation of a bacterium, the estimated and the desired response of the fuzzy system is calculated as provided in the training patterns, giving the algorithm a multi-objective characteristics which is transformed into a single-objective optimization with uniform weights. Therefore, the gradient is represented as a Jacobi matrix instead of a gradient vector. The detailed discussion will be given of the implemented Levenberg-Marquardt algorithm in both cases in the corresponding sections.
A. Experiment Design and Execution
A bead-on-plate welding experiment was carried out to create an estimation model of the weld bead profile (Step 1). Figure 2 shows a measured cross-section of a weld bead, incorporated visualization of the BPPs, and the expected results of the proposed models.
The base metal is
Taguchi design [67] was applied to design the experiment using an
After each finished welding sequence, the weld beads’ surface was recorded by a M2DW 160/40 Line Laser Triangulation Sensor (LTS). Each weld bead was measured by
B. Weld Bead Profile Data Acquisition and Preprocessing
The profile data of the weld beads were preprocessed (Step 2. in Fig 1) in a framework developed in LabVIEW™. The pseudo-code of the whole process is shown in Algorithm 1. The framework requires the measurement profile data from the LTS sensor (SMP), the WPVs from each trial, and the trajectory information of the welding robot system (RSP). As the first step, the required information was combined into weld bead profile data (CPD); thus, each cross-section of the weld beads contained aligned position information from the robot system with the corresponding actual welding parameters and measurement points.
Algorithm 1 Processing of the Bead Profile Measurements
Combine
for Each trial do
Combine five
for Each
Filter measurement and correct errors
Profile Segmentation
Curve fitting
Acquire profile properties
end for
end for
Export
Export
The weld bead measurements were taken before and after the welding sections using the LTS scanner, producing the cross-sectional measurements along the weld line with a
During the data processing, each profile of each weld bead was filtered for noise, aligned to the horizontal position, and segmented to identify the weld bead. The segmentation provided the data points for the weld bead profiles and the substrate segment. In our case, the substrate segment was the flat base metal, but profile sections from other trials also appeared; however, they were discarded. The fitting method was chosen as the second-order polynomial, described in Eq. (1), to generate the BPP for the training and validation.
After the analysis, two sets of training patterns were generated in the Multiple-Input-Single-Output format. The first set was used for the BGP model tuning, consisting of three separated sets for the weld bead profile parameters (
The overall measurement process time depends on the number of completed \begin{equation*} O_{pproc}=N_{trial} \cdot S \tag{4}\end{equation*}
C. Bacterial Memetic Algorithm for Training Fuzzy Systems
In order to define the fuzzy systems for the weld bead models, we applied the BMA as a supervised trainer (Step 3. in Fig. 1) on the
The BMA consists of four main steps, first the random generation of the initial population, then the three main operations are performed in each generation. These three operations are the bacterial mutation (BM), the local search by the Levenberg-Marquardt method (LM), and the gene transfer (GT). The pseudo-code of the BMA method is shown in Algorithm 2, and the applied meta parameters are listed in Table 3. These meta-parameters are selected according to the problem’s size to provide the balance between the required computational time and residual error of the estimation. The parameter settings are deducted from the preliminary experiments, based on the experience gained from the earlier application of the BMA on other problems [54], [64], [65].
Algorithm 2 Bacterial Memetic Algorithm
Create initial population
for
for
Bacterial mutation
Levenberg-Marquardt algorithm
end for
Gene transfer in the population
end for
The \begin{equation*} R_{i}\colon {~\text {IF }}x_{1}=A_{i,1}{~\text {and }}\ldots {~\text {and }}x_{n}=A_{i,n}{~\text {THEN }}y=B_{i},\end{equation*}
The rule base is defined to cover the whole interpretation interval of the input variables to provide a valid inference result. The trapezoidal membership functions can be written as:\begin{align*} \mu _{A_{ij}}(x_{j}) =\begin{cases} \frac {x_{j}-a_{ij}}{b_{ij}-a_{ij}}, & {\mathrm {if}}~ a_{ij} \lt x_{j}\leq b_{ij}\\ 1, & {\mathrm {if}}~ b_{ij} \lt x_{j}\leq c_{ij}\\ \frac {d_{ij}-x_{j}}{d_{ij}-c_{ij}}, & {\mathrm {if}}~c_{ij} \lt x_{j}\leq d_{ij} \\ 0, & \text {otherwise,} \end{cases}\tag{5} \end{align*}
\begin{equation*} w_{i}=\min _{j=1}^{N_{input}}\mu _{A_{ij}}(x_{j}). \tag{6}\end{equation*}
The output of the fuzzy inference is defined as maximum aggregation. The defuzzification is calculated by the Center of Sums technique, which can be given in the explicit formula as shown in Equation (7),
where the number of rules isThe operation of the BMA starts with the generation of the initial population, generating
Let us define \begin{equation*} E(\mathbf {b}_{k})=||\mathbf {e}_{k}||^{2}_{2},\tag{8}\end{equation*}
\begin{equation*} \mathbf {e}_{k}=\left [{e^{(p)}_{k}}\right]=\left [{d^{(p)}-y_{k}(\mathbf {b}_{k},\mathbf {x}^{(p)})}\right],\tag{9}\end{equation*}
1) Bacterial Mutation
The bacterial mutation is applied one by one to each bacterium (Algorithm 3). First,
Algorithm 3 Bacterial Mutation
Create
Set
for
Select
for
end for
for
end for
Select
Transfer best clone’s gene to all clones
end for
Set
In each generation, the computational cost of the bacterial mutation operator can be defined according to the \begin{equation*} O_{BM}= N_{ind} \cdot N_{clone} \cdot N_{segment}.\tag{10}\end{equation*}
2) Levenberg-Marquardt Algorithm
After the bacterial mutation step, the Levenberg-Marquardt algorithm (Algorithm 4) is used for each individual to solve the minimization problem.
Algorithm 4 Levenberg-Marquardt Algorithm
if
while
Calculate
Calculate
Calculate
Evaluate the update vector’s effect as Eq. (15)
Calculate
end while
end if
The local search was carried out with a
Let denote \begin{equation*} \mathbf {J}(\mathbf {b}_{k})=\left [{\frac {\partial y_{k}(\mathbf {b}_{k},\mathbf {x}^{(p)})}{\partial \mathbf {b}^{T}_{k}}}\right]\tag{11}\end{equation*}
Equation (11) expresses, that each row of the
The calculation of the Levenberg-Marquardt \begin{equation*} \mathbf {s}_{k} = -(\mathbf {J}^{T}(\mathbf {b}_{k})\mathbf {J}(\mathbf {b}_{k})+\gamma _{k} \mathbf {I})^{-1}\mathbf {J}^{T}(\mathbf {b}_{k})\mathbf {e}_{k},\tag{12}\end{equation*}
The value of parameter \begin{align*} \gamma _{k+1} = \begin{cases} 4 \gamma _{k}, & {\mathrm {if}}~ r_{k} < 0.25\\ \gamma _{k} / 2,& {\mathrm {if}}~ r_{k} > 0.75\\ \gamma _{k}, & {\mathrm {otherwise}} \end{cases}\tag{13}\end{align*}
\begin{equation*} r_{k}= \frac {E(\mathbf {b}_{k}) - E(\mathbf {b}_{k} + \mathbf {s}_{k})} {E(\mathbf {b}_{k}) - ||\mathbf {J}(\mathbf {b}_{k})\mathbf {s}_{k}+\mathbf {e}_{k} ||^{2}_{2}}\tag{14}\end{equation*}
\begin{align*} \mathbf {b}_{k+1} = \begin{cases} \mathbf {b}_{k} + \mathbf {s}_{k}, & {\mathrm {if}}~ Eval(\mathbf {b}_{k} + \mathbf {s}_{k}) < Eval(\mathbf {b}_{k})\\ \mathbf {b}_{k}, & {\mathrm {otherwise}} \end{cases}\tag{15}\end{align*}
The average \begin{equation*} O_{LM} = N_{ind} \cdot LM_{prob} \cdot LM_{iter},\tag{16}\end{equation*}
3) Gene Transfer
The last operation in a generation is the horizontal gene transfer (Algorithm 5), allowing the recombination of genetic information between two bacteria. This operation is performed
Algorithm 5 Gene Transfer
for
Ascending order of the population according to Eq. (8)
Select random
Transfer the selected genes from
end for
The \begin{equation*} O_{GT} = N_{ind} \cdot log(N_{ind}) + N_{inf}\tag{17}\end{equation*}
The total \begin{equation*} O_{BMA} = (O_{BM} + O_{LM} + O_{GT}) \cdot N_{gen},\tag{18}\end{equation*}
The number of executions of the Mamdani inference process (Eq. (7) is:\begin{equation*} O_{FS} = O_{BMA} \cdot N_{pattern}.\tag{19}\end{equation*}
D. Bead Geometry Properties Model
The BGP model is following a classical approach for reconstructing the weld bead shape. The model provides a direct relation between the WPVs and BPPs, where a dedicated fuzzy system is defined for each property. The
The computational cost of building the BGP model is given according to the cost of the utilized fuzzy systems:\begin{equation*} O_{BGP} = 3 \cdot O_{FS}\tag{20}\end{equation*}
Since the BPP parameters are detached from each other, the BGP model’s fuzzy systems can be separately used to estimate only the required BPPs in an application where the full shape is not needed.
E. Direct Profile Measurements Model
The DPM model (Fig. 5) is an extended version of the BGP model and provides the
The corresponding BPPs are extracted during the profile postprocessing, using the same parabola fitting principles as discussed in the BGP model development. Since the DPM model enables us to maintain the curve fitting model outside the training, we can apply further fitting models and other considered limitations. This could allow examining different curve fitting functions such as cosine, arc, or ellipsoid, and also extending the model beyond the flat plate experiments as the subject of further research.
The computational cost of building the DPM model is \begin{equation*} O_{DPM} = N_{point} \cdot O_{FS},\tag{21}\end{equation*}
F. Optimizing the Welding Process Variables
It was previously shown how the BMA was used to tune the fuzzy systems during the model development. In this section, the BMA is utilized as an optimizer [64] (Step 4. Fig. 1) to identify different sets of WPVs to achieve the desired BPP by minimizing the value of the
In our approach, the computational task involved the following three steps:
Selection of target weld geometry from the available sets of values of
,$w$ ,$h$ $A_{B}$ Running the optimization process to obtain multiple combinations of WPVs (Algorithm 6)
Verification of the produced results for each target value
Algorithm 6 Welding Process Parameter Optimizer
Define intervals and number of runs
for
for
Set recent sub-interval
for
Bacterial memetic algorithm
end for
end for
end for
Remove duplicates and miss-matches
It was shown in the literature [32] that multiple combinations of welding process variables could be estimated to achieve a target weld bead geometry. On the full range of the search window, the BMA optimizer provided almost identical solutions at the global minimum. Therefore, each input variable’s search window was segmented into
At the start of the BMA operation, an initial population of 50 bacteria was defined. The meta parameters of the algorithm are presented in Table 3. Each bacterium in the population contains a set of randomly chosen WPVs. Values of the welding process variables \begin{equation*} f_{obj} = \lambda _{1} \left ({\frac {w^{p}}{w^{t}}--1 }\right)^{2}\!+ \lambda _{2} \left ({\frac {h^{p}}{h^{t}}--1 }\right)^{2}\!+ \lambda _{3} \left ({\frac {A_{B}^{p}}{A_{B}^{t}}--1 }\right)^{2},\tag{22}\end{equation*}
Further modifications are applied in the Levenberg-Marquardt algorithm, where the steps remain unchanged, but the definitions of \begin{equation*} \mathbf {s}_{k}=-\left ({\mathbf {g}(\mathbf {b}_{k}) \otimes \mathbf {g}(\mathbf {b}_{k})^{T} + \gamma _{k} \mathbf {I}}\right)^{-1} \mathbf {g}(\mathbf {b}_{k}),\tag{23}\end{equation*}
\begin{equation*} r_{k}= \frac {f_{obj}(\mathbf {b}_{k} + \mathbf {s}_{k})-f_{obj}(\mathbf {b}_{k})}{\mathbf {g}(\mathbf {b}_{k})^{T} \mathbf {s}_{k}}\tag{24}\end{equation*}
Value of
In the optimizer version of the BMA the additional computational cost of \begin{equation*} O_{opt} = N_{input} \cdot N_{subint} \cdot N_{run} \cdot O_{BMA},\tag{25}\end{equation*}
Results and Discussion
In this section, the results of the development work will be discussed, including the overview of the main findings of the weld bead profile modeling, the comparison with other published models, and the evaluation of the WPVs optimization. The computations were carried out on a PC using an Intel® Core™ i7-5820K Processor at 3.30 GHz and an NVIDIA GeForce® GTX 970 graphics card. The trained models’ performance was evaluated by comparing the estimated and the measured values to define the goodness of the fitting using the root mean square error (RMSE); the normalized RMSE value to the output range (NRMSE); and the
The evaluation of fitting was performed on an independent validation data set to avoid the models’ overfitting, and the data was preprocessed in the same way as the training patterns. The comparison to other models includes models from the literature and a multiple regression analysis (MRA) model on the available data set, see in Sec. IV-B.
A. Evaluation of the Trained Models
The training of the fuzzy systems of the BGP model was carried out on multiple numbers of rules between two and seven. The required calculation time depended on the number of rules. As long as for two rules (R2), one generation for each parameter was calculated just under
Table 4 shows the comparison of the RMSE values obtained on the training and the validation data for the property estimation of weld bead profiles. It can be seen that the roughest estimation is given by the FS with two rules. Its estimation accuracy is similar to the MRA model. However, when the number of rules increases, the estimation accuracy is also increasing, and the best result for the validation data was obtained using six rules (R6) for all three geometry properties. In the case of estimating the bead width, R6 and R7 provide a similar result, but the difference is in the last digit; thus, the lower number of rules is preferred. Figure 6 illustrates the evolutionary process for each BPP to compare the RMSE values over the generations. In each case, the R6 is among the best performers, and the estimation accuracy increases with the number of applied rules. Furthermore, the steepest increase in the fitting is observed in the first tens of generation, with a slow but steady increase during the later generations. These results support the quick convergence of the BMA towards the global optimum and increase accuracy as long as the algorithm is running.
Evolutionary process with different number of rules for each Bead Profile Property (BPP) and comparison to the MRA model output (RMSE values).
The rules of the BGP model for each BPP are shown in Fig. 7 and tabulated in Table 6. Each row represents one FS estimating a BPP, and the membership functions of the same rule are marked by the same color.
The interpretation of the rule bases shows that the weld beads’ width is not affected by the amount of the deposited metal, but the applied arc current and torch travel speed. The weld bead height has a base value, which is independent of the WPVs changes, but the additional gain affected mostly the applied material (increase) and the applied current (decrease). The rule base shows that the weld bead area calculation depends on the variation in the torch travel speed and the wire feed rate.
These findings strengthen the applicability of the proposed method since it provided a reasoning base from experimental data, providing similar assumptions that are part of an experienced welder’s knowledge base. Therefore, these rules can be used in training or supporting a robot cell’s commissioning when monitoring the degree of changes in the weld geometry while tuning the WPVs. Another possible application is in the WPV optimization to achieve a predefined bead geometry.
In Fig. 8, the correlation between the estimated and the measured values is illustrated for the models with the best performing rule sets. The results are compared with the expected values and the estimated values of the reference MRA model. In the case of the BGP model, correlation coefficients for the training are 0.9970, 0.9970, and 0.9975, respectively, with an RMSE value of 0.0683, 0.0153 and, 0.1245. Consequently, the estimated and the measured values correlate with a high degree, and the approximation accuracy in the training is above 98.5 percent. Similarly, the validation set’s correlation coefficients are 0.9903, 0.9997, and 0.9984, showing a similar good correlation. The RMSE values are 0.0769, 0.0054, and 0.1082, meaning that the model estimates unknown values within its application range under one percent of the average error for each parameter.
Comparison between the expected and estimated values of the fuzzy systems for each output (BGP with the estimated outputs, DPM model with the fitted and extracted values).
The training of the DPM model required a higher number of fuzzy rules but one system instead of three since it created an estimation model for the curve fitting itself. The training was also carried out with a various number of rules as their RMSE values are presented in Table 5. The best-fitting rule number was found as six (R6) for estimating
As Fig. 8 shows, a good agreement exists between the actual values and the estimated parameters of the weld bead profiles. The BPPs of the training data set were estimated with the correlation coefficients of 0.9734, 0.9649, and 0.9528. Similarly, 0.9001, 0.9069, and 0.9604 values were achieved for the validation set. As observed, the width estimation showed the best result at six rules, and the estimation was overfitted on the training data as the rule number increased. The height and bead area approximation accuracy increased with the number of applied rules.
The comparison of the two models in both cases showed good fitness for the training and the verification data sets. However, the DPM model provided a bit of noisier output. The correlation coefficients for the verification sets were slightly worse than that of the training sets, which can be explained by the sensitivity of curve-fitting on the width and height parameters during the data preprocessing. The computational cost of the training of the DPM model is 30-times more than that of the BGP model, which corresponds to the increased number of samples. Despite the additional complexity of the DPM during the BPPs feature extraction, both models responded within
B. Comparison to Other Models
To provide further evaluation of the models’ performances, a comparison was made with the MRA model - using the same datasets - and with similar models from the literature. The regression analysis was carried out with the Data Analysis tools of Microsoft Excel™. The coefficients of the analysis are tabulated in Table 7. The Pearson correlation coefficients were found to be
The RMSE values of the MRA model are listed in the first rows of Table 4 and Table 5. Their values fit into the list of the proposed models between R2 and R3, meaning that using two rules in the fuzzy systems of the BGP model can have a similar accuracy than using the MRA. However, the increased rule number provides more accurate estimations of the proposed models. In the case of the DPM model, the trend is not that visible, but it has a similar performance as the MRA, as shown in Table 5.
The performance of the developed models was also compared with already published models. The comparison is given in Table 8 for the bead width estimation, and in Table 9 for the bead height. Models estimating the weld beads’ cross-sectional area were not presented in the literature since the area is usually calculated from the bead width and height or even neglected due to prioritizing other parameters. As discussed in the introduction, a limited number of bead property estimation models exist for TIG welding in the literature. Therefore a few models developed for Metal Inert Gas (MIG) welding were also included. The presented model’s estimation accuracy was normalized to the corresponding range of the output parameter, discussed in the reference. Unfortunately, in the study by Xiong et al. [12], the error was given as the mean absolute percentage error; thus, it was included instead of the NRMSE because of the model’s comparably good performance.
The
Furthermore, this high accuracy was observed only in this setup, and different network architecture was more in the range of the best performing classical CI models. Furthermore, the proposed DPM model provides a 6.03% estimation error, which is still better than some other models. Comparing the results to the performance of other BMA developed FS with different rules from Table 4 shows, that even with three rules (R3), the estimation accuracy is among the best models.
Estimating the
C. Evaluation of the Optimization
The WPV optimization by the BMA provides an application of the developed fuzzy rule bases since the BGP model is used during the evaluation of the objective function.
The initialization of the BMA optimization process requires the specification of the target BPPs. The set of
The result of the optimization process is shown in Table 10. Significantly different values of the WPVs are provided as solutions, indicating the multiple paths to obtain the specified bead geometry. As Table 10 shows, the arc current values ranged from 183.0 to
Therefore, the application of our model could support the decision to select WPV combinations to produce a certain target bead geometry. This is important when the robotic operation needs to be initialized or when alternating those parameters required to initialize the numerical analysis of the produced weld.
Conclusion
The paper proposed a fuzzy system-based method, providing high accuracy models to describe the weld bead geometry (WBG) from the welding process variables (WPVs). The bacterial memetic algorithm (BMA) provided a suitable tool to tune the membership functions of the fuzzy systems (FS) in order to model the weld bead geometry (WBG). Furthermore, it optimized the WPVs to produce a specified WBG by listing multiple solutions.
Based on experimental data, two models were developed to estimate the weld bead geometry. The Bead Geometry Property (BGP) model followed the more traditional approach by defining the relationship between the WPVs and one WBG property at a time. The Direct Profile Measurement (DPM) model utilized the measured profile points and described the bead profiles from points by a non-linear function realized in the form of fuzzy rules.
The proposed BGP model with six fuzzy rules outperformed the models from the overviewed literature and estimated the width, height, and cross-sectional area of the bead geometry with 1.56%, 0.40%, and 0.95% normalized root means square error (NRMSE), respectively. Furthermore, the BGP with at least three rules performed among the best models of the literature. The DPM model provided above 92% of estimation accuracy, with an NRMSE of 6.03%, 7.52%, and 4.49% for the width, height, and cross-sectional area, placing the DPM model into the average region. In both cases, the BMA tuned rule bases provided a proper tool to interpret the models’ behavior on the inputs’ changes.
The developed FSs were applied to optimize the WPVs to produce a specified weld bead geometry. A single objective function defined the optimization problem of the WPVs as a combined least square error function of the three WBG properties. The estimated WBG properties were calculated by the evaluation of the previously developed FS. The performance of the optimizer was tested by experimental data to define a realistic bead geometry. The proposed method provided multiple, distinctly different solutions of WPVs, and contained a recognizable match of the variable set, which produced the initial target geometry. This proved the method’s capability to support the decision of WPV selection by listing candidates to be evaluated in order to fulfill additional criteria of the welding process. The outcome of this research is being implemented in a robotic welding application in the industry.
ACKNOWLEDGMENT
The authors would like to thank the UiT The Arctic University of Norway and PPM Robotics AS to provide laboratory infrastructure of this work through the CoRoWeld Project. They would also like to thank Dr. Gábor Sziebig (now with SINTEF Manufacturing, Trondheim, Norway), and Tanja Kerezović Malesević (now with Trelleborg Group, Trelleborg, Sweden), the former laboratory members of the UiT The Arctic University of Norway, for the important contribution to the execution and consultancy of the welding experiments.