Loading web-font TeX/Math/Italic
Bacterial Memetic Algorithm Trained Fuzzy System-Based Model of Single Weld Bead Geometry | IEEE Journals & Magazine | IEEE Xplore

Bacterial Memetic Algorithm Trained Fuzzy System-Based Model of Single Weld Bead Geometry


Overview of the proposed method’s structure.

Abstract:

This article presents a fuzzy system-based modeling approach to estimate the weld bead geometry (WBG) from the welding process variables (WPVs) and to achieve a specific ...Show More

Abstract:

This article presents a fuzzy system-based modeling approach to estimate the weld bead geometry (WBG) from the welding process variables (WPVs) and to achieve a specific weld bead shape. The bacterial memetic algorithm (BMA) is applied to solve these problems in two different roles, as a supervised trainer, and as an optimizer. As a supervised trainer, the BMA is applied to tune two different WBG models. The bead geometry properties (BGP) model follows a traditional approach providing the WBG properties as outputs. The direct profile measurement (DPM) model describes the bead profiles points by a non-linear function realized in the form of fuzzy rules. As an optimizer, the BMA utilizes the developed fuzzy systems to find the solution sets of WPVs to acquire the desired WBG. The best performance is achieved by applying six rules in the BGP model and eleven rules in the DPM model. The results indicate that the normalized root means square error for the validation data set lies in the range of 0.40 - 1.56% for the BGP model and 4.49 - 7.52% for the DPM model. The comparative analysis suggests that the BGP model estimates the BWG in a superior manner when several WPVs are altered. The developed fuzzy systems provide a tool for interpreting the effects of the WPVs. The developed optimizer provides multiple valid set of WPVs to produce the desired WBG, thus supporting the selection of those process variables in applications.
Overview of the proposed method’s structure.
Published in: IEEE Access ( Volume: 8)
Page(s): 164864 - 164881
Date of Publication: 04 September 2020
Electronic ISSN: 2169-3536

Funding Agency:

References is not available for this document.

CCBY - IEEE is not the copyright holder of this material. Please follow the instructions via https://creativecommons.org/licenses/by/4.0/ to obtain full-text articles and stipulations in the API documentation.
SECTION I.

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.

SECTION II.

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 (I ), torch travel speed (v_{t} ), and wire feed rate (v_{f} ). Arc voltage (U ) was also recorded and included in the model as input since it had small fluctuation and a significant effect on the heat input. These four parameters will be referred to as Welding Process Variables (WPVs). The examined parameters of the WBG were chosen as width (w ), height (h ), and cross-sectional area (A_{B} ) and later referred to as Weld Bead Profile Properties (BPPs).

To describe the weld bead profiles, the second-order polynomial (parabola) fitting was chosen [36]. The parabola curves are reconstructed from the w , h parameters using the following equation:\begin{equation*} y= -4\frac {h}{w^{2}}x^{2}+h,\tag{1}\end{equation*}

View SourceRight-click on figure for MathML and additional features. where x is the abscissa- and y is the ordinate of the profile points of the weld bead in the coordinate system in the cross section, according to the definition shown in Fig. 2. The parabola defined in Equation (1) does not contain the first order x component since the coefficient is zero because the origin of the coordinate system is in the focal point of the parabola.

FIGURE 1. - Overview of the proposed method’s structure.
FIGURE 1.

Overview of the proposed method’s structure.

FIGURE 2. - A weld bead cross-section as the result of the measurements and the models.
FIGURE 2.

A weld bead cross-section as the result of the measurements and the models.

The theoretical A_{B}^{d} cross-sectional area of the weld beads can be estimated according to Equation (2) by calculating the amount of the deposited weld metal:\begin{equation*} A_{B}^{d}=\eta _{d} \frac {\pi D^{2}_{w}}{4}\cdotp \frac {v_{f}}{60 v_{t}}, \tag{2}\end{equation*}

View SourceRight-click on figure for MathML and additional features. where \eta _{d} represents the deposition efficiency, and D_{w} is the diameter of the feeding wire. The deposition efficiency is estimated by comparing A_{B}^{d} calculated value with the measured A_{B}^{m} value using the area under the curve on the measured profile (Eq. (3)).\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*}
View SourceRight-click on figure for MathML and additional features.

During our preliminary study, we found that the value of \eta _{d} is 0.955 with a standard deviation of 0.063 for the whole sample population, which is similar to a generally accepted (above 0.9) value [6]. Furthermore, the deposition efficiency decreases with the increase of arc current, which is interpreted as the result of a higher vaporization rate of the feed metal. However, the sign and the degree of the deviations are not consistent, causing error propagation in multi-pass welding as the layered beads added on top of each other. On a given workpiece, the error is usually reduced by on-site adjustment of the torch position, and the welding parameters are set to as constant across several layers. Thus, we expect that an accurate model utilizing the measurement data can increase the accuracy of estimation of the WBG.

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.

SECTION III.

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:

  1. Welding data generation by TIG welding on 304L stainless steel

  2. Welding data acquisition and preprocessing by the data processing framework

  3. 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

  4. 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 (E_{i} in Fig. 1), which is the difference between the estimated and the desired BPP value in the i -th training pattern. The correlation between the WPVs and the BPPs is realized in two separate models.

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 20~mm thick 304L steel with 3~mm clad welded with the same 1.2~mm diameter Böhler13/4-IG filler material as used to produce the weld bead. The experiment was executed with a regulated constant 12~V , 2.4~mm arc gap in PA welding position, 40^{\circ }C preheating temperature. An E3 tungsten electrode with rare earth mixed oxides of 3.2~mm diameter and {60}^\circ cone angle was used. Pure Argon gas with a flow rate of 12-14\,\,L/min provided the shielding. The experiment was carried out in the welding cell shown in Figure 3 by a Kuka KR-30-3 and a NACHI MZ-07 industrial robot arms, using a MagicWave 5000 JOB welding power source, and a custom controller software.

FIGURE 3. - Robotic welding cell, where the experiments were carried out.
FIGURE 3.

Robotic welding cell, where the experiments were carried out.

Taguchi design [67] was applied to design the experiment using an L _{25} (53) layout as shown in Table 1. Each trial was carried out twice, and each produced a 100~mm long weld bead. The WPVs’ minimum and maximum values of the parameters were selected to comply with the Welding Process Specification, provided by our industrial partner. Unfortunately, not all samples provided usable data due to welding failures. Our design considered non-optimal settings; thus, high heat input was applied in the failed tests with a low feed rate and vice versa; consequently, these settings are not suitable for industrial applications. At the end of the modeling process, welding data from the N_{trial} = 42 trials were included for the training, which was the result of 21 different WPV combinations (Training data sets in Table 2). A similar experiment was carried out to prepare the weld beads for the independent validation. Seven WPVs combinations were selected arbitrarily from different regions of the parameter window, and then each welding trial was performed twice (Validation data sets in Table 2).

TABLE 1 Definition of Input Process Parameters and Their Levels
Table 1- 
Definition of Input Process Parameters and Their Levels
TABLE 2 Mean Values of the Measurements and the Predicted Values of the Proposed Models. Dimensions of the Experiment Design: I arc Current [ A ], U Arc Voltage [ V ], v_{t} Torch Travel Speed [ mm/s ], v_{f} Wire Feed Rate [ mm/min ]. Dimensions of the Weld Bead Geometry: w Bead Width [ mm ], h Bead Height [ mm ], Bead Area [ mm^{2} ]
Table 2- 
Mean Values of the Measurements and the Predicted Values of the Proposed Models. Dimensions of the Experiment Design: 
$I$
 arc Current [
$A$
], 
$U$
 Arc Voltage [
$V$
], 
$v_{t}$
 Torch Travel Speed [
$mm/s$
], 
$v_{f}$
 Wire Feed Rate [
$mm/min$
]. Dimensions of the Weld Bead Geometry: 
$w$
 Bead Width [
$mm$
], 
$h$
 Bead Height [
$mm$
], Bead Area [
$mm^{2}$
]

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 0.1~mm increments along the weld line containing ca. 100 data points per profiles, which supplied the RSP raw scanned profiles as cross-sectional data for further data processing. The first and last fifth of the weld beads were neglected; thus, only the stabilized cross-sectional area was considered with an effective length of 60~mm .

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

Require:

Raw Scanned Profiles:~RSP profile measurements

Require:

Welding Process Variables:~WPV parameters

Require:

Robot System Parameters:~RSP parameters

Require:

N_{trial} , N_{profile}[ID_{trial}]

Combine RSP , WPV , and RSP into CPD combined profiles data

for Each trial do

Combine five CPD profiles into one S profile

for Each S profile do

Filter measurement and correct errors

Profile Segmentation

Curve fitting

Acquire profile properties

end for

end for

Export P1 Training patterns (Weld Bead Profile Properties)

Export P2 Training patterns (Profile Points of the Bead Segments)

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 0.1~mm incremental steps. Five consecutive CPD cross-section measurements were combined into one S profile for each trial to reduce the noise of the LTS and the WPV measurements. This resulted in S=120 cross-sections for each trial, containing ca. 100 data points per profile. However, five percent of the cross-sections were discarded due to failed measurements caused by the material’s locally high reflection.

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 (w , h , A_{B} ) with the input parameters of (U , I , v_{t} , v_{f} ) for each cross-section, 4795 cross-sections altogether. The other set was used for DPM model tuning, consisting of the weld bead profile points (Y ) and the input parameters of (X , U , I , v_{t} , v_{f} ) creating the 487 286 training patterns.

The overall measurement process time depends on the number of completed O_{pproc} pre-processings of the bead profiles calculated as:\begin{equation*} O_{pproc}=N_{trial} \cdot S \tag{4}\end{equation*}

View SourceRight-click on figure for MathML and additional features. The validation sets were processed in the same way as the training patterns. The welding trials contained seven arbitrary WPV combinations with two parallel executions. The weld beads’ length was 100~mm , and the first and last sections were discarded again. Altogether 1608 cross-sections were used with the same amount of validation patterns for the BGP model and 158 548 validation patterns for the DPM model.

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 N_{pattern} training patterns [54]. In this case, the BMA minimizes the cumulative error between the output of the training patterns and the output of the fuzzy rule bases by adjusting the breakpoints of the fuzzy rules’ trapezoids, encoded into the bacterium’s chromosome [54]. The evaluation of the bacteria is carried out by the Mamdani Inference Model [66], and the result is given as the Sum of Squared Error (SSE) between the model output and the desired output of the patterns. This evaluation is used in all steps of the BMA.

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].

TABLE 3 Parameters of the BMA
Table 3- 
Parameters of the BMA

Algorithm 2 Bacterial Memetic Algorithm

Require:

Patterns:~N_{pattern} patterns

Require:

Parameters:~N_{ind} , N_{gen} , N_{rule} , N_{clone} , l_{bm} , M_{unit} , LM_{prob} , LM_{iter} , \gamma _{init} , \tau , N_{inf} , l_{gt} , I_{unit}

Create initial population

for gen=1 to N_{gen} do

for ind=1 to N_{ind} do

Bacterial mutation

Levenberg-Marquardt algorithm

end for

Gene transfer in the population

end for

The R_{i} rules in the fuzzy system are given in the following form:\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*}

View SourceRight-click on figure for MathML and additional features. where \mathbf {x}=(x_{1},\ldots x_{n}) is the input vector, y is the output, A_{i}=(A_{i,1}\ldots A_{i,n}) is the antecedent parameter vector, and B_{i} is the consequent parts in the i -th rule.

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*}

View SourceRight-click on figure for MathML and additional features.where a_{ij} \le b_{ij} \le c_{ij} \le d_{ij} denote the four breakpoints of the membership function of the i -th rule and the j -th input variable. The a_{i}, b_{i}, c_{i}, d_{i} values belong to the output membership function in the i -th rule. As in the original Mamdani algorithm, the minimum operator is used as the t-norm in the inference mechanism meaning that the degree of matching of the i -th rule in the case of an N_{input} -dimensional crisp {\mathbf {x}} input vector is: \begin{equation*} w_{i}=\min _{j=1}^{N_{input}}\mu _{A_{ij}}(x_{j}). \tag{6}\end{equation*}
View SourceRight-click on figure for MathML and additional features.

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 is N_{rule} , and N_{input} is the number of the input dimensions.

The operation of the BMA starts with the generation of the initial population, generating N_{ind} random individuals with the restriction to maintain the trapezoidal characteristics of the membership functions in the fuzzy rules. The number of rules (N_{rule} ) is defined beforehand and set to a low number to avoid the model overfitting. The total number of the created membership functions is N_{ind}\cdot (N_{input} + 1)\cdot N_{rule} where N_{input}=4 is the number of input variables and each membership function has four parameters. In the iteration phase of the algorithm, the bacterial mutation, local search, and gene transfer operations are performed until the number of generations (N_{gen} ) is reached.

Let us define k as the iteration variable, vector \mathbf {b}_{k} (the bacterium) contains all the parameters of the membership functions, and \mathbf {x}^{(p)} as the p -th training pattern’s input vector. Here, the evaluation of the bacterium is carried out as \begin{equation*} E(\mathbf {b}_{k})=||\mathbf {e}_{k}||^{2}_{2},\tag{8}\end{equation*}

View SourceRight-click on figure for MathML and additional features. the 2-norm sum of squared error of the desired and model’s output values, where the elements of the \mathbf {e}_{k} vector are calculated as \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*}
View SourceRight-click on figure for MathML and additional features.
where d^{(p)} is the desired value given in the p -th training pattern, and y_{k}(\mathbf {b}_{k},\mathbf {x}^{(p)}) is the output value for the \mathbf {x}^{(p)} inputs provided by fuzzy system encoded in the \mathbf {b}_{k} bacteria.

1) Bacterial Mutation

The bacterial mutation is applied one by one to each bacterium (Algorithm 3). First, N_{clone} clones of the rule base are generated, which are then subjects of random changes in their genes according to the mutation unit (M_{unit} ), which can either be a breakpoint of the trapezoid, an entire trapezoid, or an entire rule. The number of modified genes during this mutation is given by the mutation segment length (l_{bm} ) parameter of the algorithm. All clones are evaluated, and the best individual transfers the mutated part into the other individuals. In the end, only the best rule base is kept. The bacterial mutation is repeated N_{segment} times, where N_{segment} depends on M_{unit} and l_{bm} , and its value is 4\cdot N_{rule} \cdot (N_{input}+1)/l_{bm} in the case of point mutation.

Algorithm 3 Bacterial Mutation

Require:

Parameters:~N_{ind} , N_{clone} , l_{bm} , M_{unit}

Create (N_{clone}+1) clones of Bacterium

Set N_{segment} = 4\cdot N_{rule} \cdot (N_{input}+1)/l_{bm}

for i=1 to N_{segment} do

Select l_{bm} yet unmutated random gene

for j=1 to N_{clone} do Mutate selected gene in Clone_{j}

end for

for j=1 to N_{clone}+1 do Evaluate Clone_{j} using Eq. (8)

end for

Select BestClone

Transfer best clone’s gene to all clones

end for

Set Bacterium = BestClone

In each generation, the computational cost of the bacterial mutation operator can be defined according to the O_{BM} number of fitness function calls:\begin{equation*} O_{BM}= N_{ind} \cdot N_{clone} \cdot N_{segment}.\tag{10}\end{equation*}

View SourceRight-click on figure for MathML and additional features.

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

Require:

Patterns:~N_{pattern} patterns

Require:

Parameters:~LM_{prob} , LM_{iter} , \gamma _{init} , \tau

if Random(probability) < LM_{prob} then k=1

while k < LM_{iter}~ \mathbf { and } ~\tau _{k} >\tau do

Calculate s_{k} update vector as Eq. (12)

Calculate r_{k} trust region as Eq. (14)

Calculate \gamma _{k+1} bravery factor as Eq. (13)

Evaluate the update vector’s effect as Eq. (15)

Calculate \tau _{k} stopping criteria

k=k+1

end while

end if

The local search was carried out with a LM_{prob} local search probability for each individual, maximum LM_{iter} number of iteration steps until the \tau terminal condition is met.

Let denote \mathbf {J}(\mathbf {b}_{k}) , as the Jacobian matrix of \mathbf {b}_{k} bacterium:\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*}

View SourceRight-click on figure for MathML and additional features.

Equation (11) expresses, that each row of the \mathbf {J}(\mathbf {b}_{k}) matrix contains the partial derivatives of the output calculated by the Mamdani inference method for the given \mathbf {x}^{(p)} input pattern according to the \mathbf {b}_{k} bacterium encoded parameters. The detailed calculations of derivatives of the \mathbf {J}(\mathbf {b}_{k}) , are given in [54].

The calculation of the Levenberg-Marquardt \mathbf {s}_{k} update vector is carried out as \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*}

View SourceRight-click on figure for MathML and additional features. where \gamma _{k} is the bravery factor initially set to positive, and \mathbf {I} is the identity matrix. The value of \gamma _{k} controls both the search direction and the magnitude of the update. If the value of \gamma _{k} converges towards zero, then the algorithm applies the Gauss-Newton method, if towards infinite, then the algorithm gives the steepest descent approach.

The value of parameter \gamma _{k} is adjusted dynamically depending on the value of r_{k} trust region:\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*}

View SourceRight-click on figure for MathML and additional features. The value of r_{k} for the supervised training is calculated as:\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*}
View SourceRight-click on figure for MathML and additional features.
The evaluation of the local search success is verified as \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*}
View SourceRight-click on figure for MathML and additional features.
Eval function means E as defined in Eq. (8) during the supervised training. Equation (15) is interpreted as if the update vector modifies the bacterium towards the local minimum then we carry on with the new value, otherwise it is left unchanged. The iterations stops if maximum LM_{iter} number is reached or the \tau _{k} < \tau complex stopping criteria [54] is fulfilled.

The average O_{LM} computational cost describing the number of fitness calls of the Levenberg-Marquardt algorithm in one generation is:\begin{equation*} O_{LM} = N_{ind} \cdot LM_{prob} \cdot LM_{iter},\tag{16}\end{equation*}

View SourceRight-click on figure for MathML and additional features. where an additional (4 \cdot N_{rule} \cdot (N_{input}+1))^{3} computational cost is required for each fitness function call, due to the pseudo-inverse calculation of the \mathbf {J}(\mathbf {b}_{k}) Jacobian matrix.

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 N_{inf} (number of infections) times in one generation. First, the population is split into two halves according to the fitness values. Then, a randomly chosen, better bacteria overwrites a randomly chosen, worse one’s gene with its own. Here a gene (infection unit (I_{unit} )) means either a breakpoint of the trapezoid, or an entire trapezoid, or an entire rule. The l_{gt} parameter means the infection segment length, i.e., the number of overwritten genes.

Algorithm 5 Gene Transfer

Require:

Population:~N_{ind} Bacterium

Require:

Parameters:~N_{ind} , N_{inf} , l_{gt} , I_{unit}

for i=1 to N_{inf} do

Ascending order of the population according to Eq. (8)

SrcBact = Random(0,\ldots,N_{ind}/2-1)

DestBact = Random(N_{ind}/2,\ldots,N_{ind})

Select random l_{gt} genes

Transfer the selected genes from SrcBact to DestBact

end for

The O_{GT} computational cost of the gene transfer operator in one generation is:\begin{equation*} O_{GT} = N_{ind} \cdot log(N_{ind}) + N_{inf}\tag{17}\end{equation*}

View SourceRight-click on figure for MathML and additional features.

The total O_{BMA} computational cost of the BMA can be estimated as:\begin{equation*} O_{BMA} = (O_{BM} + O_{LM} + O_{GT}) \cdot N_{gen},\tag{18}\end{equation*}

View SourceRight-click on figure for MathML and additional features. which is the number of fitness function calls during run time.

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*}

View SourceRight-click on figure for MathML and additional features.

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 w , h , and A_{B} parameters are depending on the fitting model applied during the data preprocessing. The scheme of the model is shown in Fig. 4. The bead profiles, as parabola curves are reconstructed from the w , h parameters using the Equation (1).

FIGURE 4. - Schematic structure of the bead geometry properties model.
FIGURE 4.

Schematic structure of the bead geometry properties model.

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*}

View SourceRight-click on figure for MathML and additional features.

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 y=f(x, WPVs) non-linear function. The central part of the model is the single fuzzy system, where the WPVs are extended with the bead profile’s abscissa vector to estimate the corresponding ordinate directly for each profile point. The training patterns are generated from the measured N_{point} profile points of the cross-sections after preprocessing, following the process described in Sec. III-B.

FIGURE 5. - Schematic structure of the direct profile measurement model.
FIGURE 5.

Schematic structure of the direct profile measurement model.

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 O_{FS} , but the N_{pattern} number of patterns is much higher than in the case of BGP model (see Table 3). However, the cost of the utilization of the DPM model is:\begin{equation*} O_{DPM} = N_{point} \cdot O_{FS},\tag{21}\end{equation*}

View SourceRight-click on figure for MathML and additional features. where N_{point} is defined by the required resolution of the estimated bead profile, with an additional cost of curve fitting to retract the BPPs.

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 f_{obj} objective function on the predefined interpretation intervals. The evaluation of the f_{obj} includes the calculation of the fuzzy system response for each BPP. The target BPPs are defined by manual calculations or numerical calculations to satisfy the criteria of the mechanical loads and stresses of the workpiece. The bacteria encode the WPVs in their chromosomes. During the evaluation of the bacteria – which is used in all BMA steps – the bacteria’s response is calculated by the BGP model for each target value, and the result is given as the value of the f_{obj} .

In our approach, the computational task involved the following three steps:

  1. Selection of target weld geometry from the available sets of values of w , h , A_{B}

  2. Running the optimization process to obtain multiple combinations of WPVs (Algorithm 6)

  3. Verification of the produced results for each target value

Algorithm 6 Welding Process Parameter Optimizer

Require:

Optimizer Parameters:~Intervals , N_{run} , RuleBases , BPP_{target} , N_{subint} , N_{input}

Require:

BMA Parameters:~N_{ind} , N_{gen} , N_{clone} , l_{bm} , M_{unit} , LM_{prob} , LM_{iter} , \gamma _{init} , \tau , N_{inf} , l_{gt}

Define intervals and number of runs

for i=1 to N_{input} do

for sub=1 to N_{subint} do

Set recent sub-interval

for run=1 to N_{run} do

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 N_{subint} =5 intervals, and the full range was left for the other inputs. For each segmented search window, multiple N_{run} = 3 evaluation runs were performed, then the averaged values of WPVs contained in the best bacteria were given as the result of that segment. Due to the overlapping search windows, multiple identical WPV sets occurred and were unified to provide the final list of solutions.

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 I , U , v_{t} and v_{f} were chosen in the range of 160.0 - 280.0 A , 10.50 - 13.50 V , 1.80 - 3.40 mm/s , and 600 - 2100 mm/min , respectively. Since in the application of BMA as an optimizer, no training sets were applied, the course of the algorithm is different, and the evaluations carried out on vectors instead of matrices. The evaluation is replaced by calculating the value of the single-objective f_{obj} function for three weld bead profile properties:\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*}

View SourceRight-click on figure for MathML and additional features. where \lambda _{i} are the weights of the objectives, set to constant 0.6,~0.3,~0.1 , respectively, upper index p represents the BPP value estimated by the BGP model, and t represents the desired target BPP. The target BPP of the desired bead geometry is obtained experimentally; thus, the target values would maintain a realistic ratio to each other. The verification of the computed solutions requires that the set of WPVs used to produce the weld should appear with a small deviation in the provided solutions.

Further modifications are applied in the Levenberg-Marquardt algorithm, where the steps remain unchanged, but the definitions of r_{k} , and s_{k} are updated. The update vector is defined for a given bacterium at the {k} -th iteration as:\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*}

View SourceRight-click on figure for MathML and additional features. where \mathbf {g}= \nabla f_{obj} is the gradient vector, approximated by second-order accurate, central finite differences; \otimes stands for the dyadic product of two vectors, and the other parameters are defined as in Eq. (12). The value of r_{k} for the optimization is calculated as:\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*}
View SourceRight-click on figure for MathML and additional features.

Value of \gamma _{k} still depends on r_{k} as given in Eq. (13). The bacterium \mathbf {b}_{k+1} is given according to Eq. (15), where the Eval function is calculated as the f_{obj} . The iteration stops if the stopping criteria \tau _{k}=||\mathbf {g}(\mathbf {b}_{k})||_{2} < \tau is fulfilled or maximum LM_{iter} number is reached.

In the optimizer version of the BMA the additional computational cost of O_{LM} is decreased to (N_{input})^{3} due to the different amount of calculations needed for the \mathbf {s}_{k} in the two roles. The computation cost, i.e. the number of objective function calls (Eq. (22)) in the BMA optimizer is:\begin{equation*} O_{opt} = N_{input} \cdot N_{subint} \cdot N_{run} \cdot O_{BMA},\tag{25}\end{equation*}

View SourceRight-click on figure for MathML and additional features. due to the segmentation of the intervals of the input parameters. The WPV sets encoded in the bacterium’s chromosome were improved through the generations using the BMA (Sec. III-C, meta parameters in Table 3), monitored by calculating the f_{obj} objective function values for each set of bacteria. A bacterium with a low f_{obj} value indicates that the WPVs in it produces a target geometry with a small deviation from the estimated geometry.

SECTION IV.

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 R Pearson product-moment correlation coefficient. The normalization was carried out on the range of the measured properties w\!:8.82-13.75 mm, h\!:0.93-2.19 mm , and A_{B}\!:6.18-16.88 mm^{2} .

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 2~s requiring 191~s for the whole calculation. For six rules (R6), one generation is calculated 5~s , and the whole calculation took 501~s ; for seven rules (R7), the run times were 6~s and about 10~min . The response time of the model for the input parameter change is approximately 5~ms .

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.

TABLE 4 Comparison of the RMSE and NRMSE Values Between the Training and Validation Data for the BGP Model
Table 4- 
Comparison of the RMSE and NRMSE Values Between the Training and Validation Data for the BGP Model
FIGURE 6. - Evolutionary process with different number of rules for each Bead Profile Property (BPP) and comparison to the MRA model output (RMSE values).
FIGURE 6.

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.

TABLE 5 Comparison of the RMSE and NRMSE Values Between the Training and Validation Data for the DPM Model
Table 5- 
Comparison of the RMSE and NRMSE Values Between the Training and Validation Data for the DPM Model
TABLE 6 Mamdani Fuzzy System Definitions for the Bead Profile Parameters by the BGP Model
Table 6- 
Mamdani Fuzzy System Definitions for the Bead Profile Parameters by the BGP Model
FIGURE 7. - Rule bases of the BGP model to estimate BPPs from WPVs.
FIGURE 7.

Rule bases of the BGP model to estimate BPPs from WPVs.

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.

FIGURE 8. - 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).
FIGURE 8.

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 w with a 5.3 and 6.0 percent of average error for the training and the validation set. Eleven rules (R11) provided the best estimations for h and A_{B} , with an average approximation accuracy of 95 percent. The calculation required 215~min for up to eight rules, 392~min for nine rules (R9), and 646~min for eleven rules (R11) in total for the 50 generations on the same hardware used for the BGP model. The response time of the model for the input parameter change is approximately 8~ms . A similar execution time was experienced up to eight rules (but as the number of rules increased, a raise in required time was observed) since the model calculation utilized the advantages of the GPU provided parallel programming.

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 10 ms . Due to the quicker response, the BGP model was utilized during the evaluation phase of the optimization process.

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 w\!:0.9493, h\!:0.9715 , and A_{B}\!:0.9745 for the training, and w\!:0.8698, h\!:0.9728 , and A_{B}\!:0.9964 for the validation.

TABLE 7 Coefficients for the Multi-Variable Regression Analysis
Table 7- 
Coefficients for the Multi-Variable Regression Analysis

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.

TABLE 8 Performance of Reference Models for Predicting Width of the Weld Bead (RMSE Values are Normalized to the Parameter Range)
Table 8- 
Performance of Reference Models for Predicting Width of the Weld Bead (RMSE Values are Normalized to the Parameter Range)
TABLE 9 Performance of Reference Models for Predicting Height of the Weld Bead (NRMSE Values are Normalized to the Parameter Range)
Table 9- 
Performance of Reference Models for Predicting Height of the Weld Bead (NRMSE Values are Normalized to the Parameter Range)

The w bead width estimation models are presented in Table 8. The models presented by Subashini and Vasudevan [25] and Bestard et al. [22] (Table 8 1., 4., 5.) are modeling methods based on analyzing the image of an IR camera to estimate the width of weld beads during welding. The other models are based on the classical CI approaches to estimate the bead geometry by alternating the selected process variables. As the results show, only the Infra Red (IR) imaging-based ANN model by Subashini and Vasudevan [25] showed slightly better estimation accuracy (1.32% error) than our proposed BGP model (1.56%). However, in that case, only the value of I arc current is altered from the WPVs.

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 h bead height, our BGP model was found to be better than the models of the literature, with a highly accurate estimation (0.4% error). The approximation accuracy of the DPM model was not outstanding, but comparable good to the existing methods. It provided estimations with 6.03%, 7.52%, and 4.49% NRMS error for the width, height, and area of the weld bead, respectively. Therefore, we can state that our proposed method, including the bacterial memetic algorithm, can be utilized to develop welding applications, which can outperform many of the existing models, as demonstrated with the BGP model.

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 \{ w=10.40\,\,mm,\,\,h=1.18\,\,mm,\,\,A_{B}=8.17\,\,mm^{2}\} was chosen from the validation sets of the experiment, produced by using the following WPVs: \{I=220.0\,\,A , U=12.10\,\,V , v_{t}=3.00\,\,mm/s , v_{f}=1200\,\,mm/min\} . The obtained WPVs combinations are expected to contain a similar set to the one used in the experiment. During the optimization process, the progressive reduction of the f_{obj} objective function values presented by Eq. (22) of the best bacteria indicated that the solutions were improving by generations and converging towards an optimum. By the end of the iterations, the calculated values of the f_{obj} were under 10−5, indicating that the provided geometric parameters of the solutions agreed well with the corresponding desired experimental values.

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 222.0~A , the arc voltage varied between 11.30 and 12.20~V , the welding speed changed from 2.00 to 3.05~mm/s , and the wire feed rate took the interval of 864 to 1157~mm/min in various sets of optimized WPVs. Note that the values of WPVs in solution (v) of Table 10 is recognizable as the corresponding experimental values. The parameters were verified by the DPM model and found a sub-digit deviation from the expected values.

TABLE 10 Various Set of WPV Obtained by the BMA Optimized BGP Model to Achieve the Target Geometry
Table 10- 
Various Set of WPV Obtained by the BMA Optimized BGP Model to Achieve the Target Geometry

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.

SECTION V.

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.

Select All
1.
J. N. Pires, A. Loureiro and G. Bolmsjö, Welding Robots: Technology System Issues and Application, Springer, May 2006.
2.
P. J. Modenesi, "The chemistry of TIG weld bead formation", Weld. Int., vol. 29, no. 10, pp. 771-782, Oct. 2015, [online] Available: http://www.tandfonline.com/doi/full/10.1080/09507116.2014.932990.
3.
T. Sándor, C. Mekler, J. Dobránszky and G. Kaptay, "An improved theoretical model for A-TIG welding based on surface phase transition and reversed Marangoni flow", Metall. Mater. Trans. A, vol. 44, no. 1, pp. 351-361, Jan. 2013, [online] Available: http://link.springer.com/10.1007/s11661-012-1367-2.
4.
A. Matsunawa and T. Ohji, "Role of surface tension in fusion welding (part 1): Hydrostatic effect", Trans. JWRI, vol. 11, no. 2, pp. 145-154, 1982, [online] Available: https://ir.library.osaka-u.ac.jp/repo/ouka/all/5800/jwri11_02_145.pdf.
5.
Y. Li, Y. Sun, Q. Han, G. Zhang and I. Horváth, "Enhanced beads overlapping model for wire and arc additive manufacturing of multi-layer multi-bead metallic parts", J. Mater. Process. Technol., vol. 252, pp. 838-848, Feb. 2018, [online] Available: http://linkinghub.elsevier.com/retrieve/pii/S0924013617304661.
6.
A. American Welding Society, Welding Handbook: Welding Science and Technology, Miami, FL, USA:American Welding Society, vol. 1, Jan. 2001.
7.
S. Mishra and T. DebRoy, "A heat-transfer and fluid-flow-based model to obtain a specific weld geometry using various combinations of welding variables", J. Appl. Phys., vol. 98, no. 4, Aug. 2005, [online] Available: http://scitation.aip.org/content/aip/journal/jap/98/4/10.1063/1.2001153.
8.
K. Y. Benyounis and A. G. Olabi, "Optimization of different welding processes using statistical and numerical approaches–a reference guide", Adv. Eng. Softw., vol. 39, no. 6, pp. 483-496, Jun. 2008, [online] Available: http://www.sciencedirect.com/science/article/pii/S0965997807001020.
9.
D. K. Pratihar, "Expert systems in manufacturing processes using soft computing", Int. J. Adv. Manuf. Technol., vol. 81, pp. 887-896, May 2015.
10.
Y. Feng, Z. Chen, D. Wang, J. Chen and Z. Feng, "DeepWelding: A deep learning enhanced approach to GTAW using multisource sensing images", IEEE Trans. Ind. Informat., vol. 16, no. 1, pp. 465-474, Jan. 2020.
11.
D. Fan, G. Zhang, Y. Shi and M. Zhu, "Progress and trend in intelligent sensing and control of weld pool in arc welding process" in Transactions on Intelligent Welding Manufacturing, Singapore:Springer, pp. 27-43, 2019.
12.
J. Xiong, G. Zhang, J. Hu and L. Wu, "Bead geometry prediction for robotic GMAW-based rapid manufacturing through a neural network and a second-order regression analysis", J. Intell. Manuf., vol. 25, no. 1, pp. 157-163, Feb. 2014, [online] Available: https://link.springer.com/article/10.1007/s10845-012-0682-1.
13.
T. DebRoy, H. L. Wei, J. S. Zuback, T. Mukherjee, J. W. Elmer, J. O. Milewski, et al., "Additive manufacturing of metallic components–process structure and properties", Prog. Mater. Sci., vol. 92, pp. 112-224, Mar. 2018, [online] Available: https://linkinghub.elsevier.com/retrieve/pii/S0079642517301172.
14.
L. Yuan, D. Ding, Z. Pan, Z. Yu, B. Wu, S. van Duin, et al., "Application of multidirectional robotic wire arc additive manufacturing process for the fabrication of complex metallic parts", IEEE Trans. Ind. Informat., vol. 16, no. 1, pp. 454-464, Jan. 2020.
15.
Y. Wang, C. Zhang, J. Lu, L. Bai, Z. Zhao and J. Han, "Weld reinforcement analysis based on long-term prediction of molten pool image in additive manufacturing", IEEE Access, vol. 8, pp. 69908-69918, 2020.
16.
H. C. Fang, S. K. Ong and A. Y. C. Nee, "Adaptive pass planning and optimization for robotic welding of complex joints", Adv. Manuf., vol. 5, no. 2, pp. 93-104, Jun. 2017, [online] Available: http://link.springer.com/10.1007/s40436-017-0181-x.
17.
C. M. Horváth and P. Korondi, "Supportive robotic welding system for heavy small series production with non-uniform welding grooves", Acta Polytechnica Hungarica, vol. 15, no. 8, pp. 25, 2018.
18.
K. Somlo and G. Sziebig, "Aspects of multi-pass GTAW of low alloyed steels", IFAC-PapersOnLine, vol. 52, no. 22, pp. 101-107, 2019, [online] Available: http://www.sciencedirect.com/science/article/pii/S2405896319309917.
19.
N. Murugan and V. Gunaraj, "Prediction and control of weld bead geometry and shape relationships in submerged arc welding of pipes", J. Mater. Process. Technol., vol. 168, no. 3, pp. 478-487, Oct. 2005, [online] Available: http://www.sciencedirect.com/science/article/pii/S0924013605003237.
20.
Y. Xue, I. S. Kim, J. S. Son, C. E. Park, H. H. Kim, B. S. Sung, et al., "Fuzzy regression method for prediction and control the bead width in the robotic arc-welding process", J. Mater. Process. Technol., vol. 164, pp. 1134-1139, May 2005, [online] Available: http://www.sciencedirect.com/science/article/pii/S0924013605002220.
21.
C. Schneider, C. Lisboa, R. Silva and R. Lermen, "Optimizing the parameters of TIG-MIG/MAG hybrid welding on the geometry of bead welding using the Taguchi method", J. Manuf. Mater. Process., vol. 1, no. 2, pp. 14, Oct. 2017, [online] Available: http://www.mdpi.com/2504-4494/1/2/14.
22.
G. Bestard, R. Sampaio, J. Vargas and S. Alfaro, "Sensor fusion to estimate the depth and width of the weld bead in real time in GMAW processes", Sensors, vol. 18, no. 4, pp. 962, Mar. 2018, [online] Available: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5948544/.
23.
I. S. Kim, J. S. Son, C. E. Park, C. W. Lee and Y. K. D. V. Prasad, "A study on prediction of bead height in robotic arc welding using a neural network", J. Mater. Process. Technol., vol. 130, pp. 229-234, Dec. 2002, [online] Available: http://www.sciencedirect.com/science/article/pii/S0924013602008038.
24.
H. Narang, U. Singh, M. Mahapatra and P. Jha, "Prediction of the weld pool geometry of TIG arc welding by using fuzzy logic controller", Int. J. Eng. Sci. Technol., vol. 3, no. 9, pp. 77-85, Oct. 2012, [online] Available: https://www.ajol.info/index.php/ijest/article/view/82198.
25.
L. Subashini and M. Vasudevan, "Adaptive neuro-fuzzy inference system (ANFIS)-based models for predicting the weld bead width and depth of penetration from the infrared thermal image of the weld pool", Metall. Mater. Trans. B, vol. 43, no. 1, pp. 145-154, Feb. 2012.
26.
K. N. Gowtham, M. Vasudevan, V. Maduraimuthu and T. Jayakumar, "Intelligent modeling combining adaptive neuro fuzzy inference system and genetic algorithm for optimizing welding process parameters", Metall. Mater. Trans. B, vol. 42, no. 2, pp. 385-392, Apr. 2011.
27.
M. Vasudevan, "Soft computing techniques in stainless steel welding", Mater. Manuf. Processes, vol. 24, no. 2, pp. 209-218, Jan. 2009, [online] Available: http://www.tandfonline.com/doi/abs/10.1080/10426910802612338.
28.
A. Karpagaraj, K. Parthiban and S. Ponmani, "Optimization techniques used in gas tungsten arc welding process–a review", Mater. Today Proc., vol. 27, no. 3, pp. 2187-2190, 2020, [online] Available: http://www.sciencedirect.com/science/article/pii/S221478531933336X.
29.
P. Dutta and D. K. Pratihar, "Modeling of TIG welding process using conventional regression analysis and neural network-based approaches", J. Mater. Process. Technol., vol. 184, no. 1, pp. 56-68, Apr. 2007, [online] Available: http://www.sciencedirect.com/science/article/pii/S0924013606009137.
30.
M. A. Kesse, E. Buah, H. Handroos and G. K. Ayetor, "Development of an artificial intelligence powered TIG welding algorithm for the prediction of bead geometry for TIG welding processes using hybrid deep learning", Metals, vol. 10, no. 4, pp. 451, Mar. 2020, [online] Available: https://www.mdpi.com/2075-4701/10/4/451.

References

References is not available for this document.