1. Introduction
Welding technology is an important production and processing method in industrial production. Due to its low cost, high efficiency and reliable connection, it is widely used in the metal connections of marine production. However, welding is a highly nonlinear, time-varying and multicoupling typically complex process; thus, it is difficult to describe accurately by a model. Usually, the quality of welded joints is directly affected by the welding input parameters, as the selection of welding process parameters has a significant impact on the quality of welded joints. At present, the determination of welding process parameters and the prediction of welding formation quality rely more on the experience and subjective judgment of professional and skilled welders. Fuzzy logic can perform well in such situations. In [
1,
2,
3,
4], fuzzy logic was used to predict the weld-forming quality and achieved good results. However, the weld-forming prediction model based on traditional fuzzy inference methods has certain limitations. For sparse fuzzy rule bases with incomplete knowledge, traditional fuzzy reasoning methods (like the widely used Mamdani inference method) cannot obtain effective results. It is very meaningful to seek a method for predicting welding formation in a sparse rule base of the welding process.
Uncertain information is inevitable in practical applications. One of the challenges for intelligent systems is how to effectively handle uncertainty to achieve more accurate decision-making. So far, there have been many effective studies on uncertain information, like intuitionistic fuzzy sets [
5,
6], extension of intuitionistic fuzzy sets [
7], complex decision-making [
8,
9], evidential reasoning [
10,
11], and fuzzy set theory [
12]. Since the theory of fuzzy sets was put forward in 1965, it has gradually become a powerful tool to manage the problems of fuzziness and uncertainty, especially for systems based on fuzzy rules, which have been applied in many fields and work effectively [
13,
14]. The most widely used fuzzy system is the inference system based on fuzzy rules. Fuzzy inference is an important part of intelligent systems such as fuzzy control, fuzzy expert systems and fuzzy decision support systems. However, traditional fuzzy inference techniques require that any input value must fire at least one fuzzy rule in the rule base, so that the fuzzy inference system can operate normally. However, in the process of industrial production, significant time and energy are required to construct a complete rule base that completely covers the entire input domain. However, due to incomplete knowledge, it is not easy to build a complete rule base. When the rule antecedents in the rule base cannot match the given observations, the traditional fuzzy reasoning method will not derive the inference consequence.
Kóczy and Hirota [
15] proposed the fuzzy rule interpolation method (FRI) in 1993 to solve the above problems, which provides a new way for reasoning under sparse rule bases. In recent years, some fuzzy interpolation reasoning methods applicable to sparse rule bases have been proposed. These interpolation reasoning methods can be summarized into two forms: one is fuzzy rule-interpolation reasoning based on nontransformation methods, and the other is interpolation reasoning based on intermediate rule transformation. The KH method is the earliest nontransformation type of fuzzy rule-interpolation reasoning, but in some cases the reasoning result is not convex. Qiao et al. [
16] proposed an improved method to ensure the convexity of inference conclusions by using similar transfer inference. Baranyi et al. [
17] improved the method of rule interpolation based on α-cut set to avoid abnormal consequences. Wang et al. [
18] proposed an interpolation reasoning method based on geometric similarity according to the proportion of the geometric area enclosed by the input facts and rule antecedents. Wang Baowen et al. [
19] proposed a fuzzy LaGrange’s interpolation reasoning method based on geometric parameters according to slope. Relying on transforming intermediate rules, such as those given in Huang and Shen [
20,
21], Jin et al. [
22], Yang et al. [
23] and Naik et al. [
24], have been popularly studied and widely applied, despite their relative recency. Huang and Shen [
20], [
21] used the gravity feature of membership function graph to construct intermediate rules, then used scale and move transformations to obtain the reasoning consequences. Chen et al. [
25] selected a subset of rules from the sparse rule base with an embedded rule-weighting scheme for the automatic assembling of the intermediate rule. Xu et al. [
26] measured and subsequently added certain interpolated rules that are deemed of high value into the sparse rule base. In addition, some interpolation methods [
25,
27] using the weighted rule-interpolation scheme, which generates attribute weights given a sparse rule base and integrates them into nonweighted FRI for classification and prediction. Through continuous development, some methods were successfully applied to control and prediction [
28,
29,
30,
31].
Most of the above methods have some shortcomings, and some of the reasoning results of these methods will lead to nonconvex Fuzzy set [
15], poor applicability [
19], and high computational complexity [
20,
21]. The distance and similarity of fuzzy sets are important concepts to judge the degree of difference between two fuzzy sets. In the existing research, the fuzzy set distance is mostly defined based on the cut set and representative value of the fuzzy set, which simplifies the calculation of the fuzzy set distance, but may lead to an insufficient description of the distance reflecting the whole fuzzy set. Therefore, this paper defines the distance of fuzzy sets by normalizing the Euclidean distance. The intermediate rules are constructed by calculating the distance between the observed values and the fuzzy sets of adjacent rules. The final inference conclusion is determined according to the similarity of fuzzy sets. This method can obtain inference conclusions that satisfy the normality and convexity of fuzzy sets, and are also applicable to different types of Fuzzy sets. It is of great significance to improve the interpolation inference method system.
Welding is an important process in industrial production. Due to the complexity of its process mechanism, it is difficult to describe through precise mathematical models. At present, the prediction, decision-making, and control of welding processes are usually completed by the experience and knowledge of experts and technicians. For this type of knowledge, it is more appropriate to use fuzzy language to describe it. The establishment of welding process parameter models usually requires a large number of prior experiments to complete. For the widely used fuzzy inference model—Mamdani fuzzy inference model—the inference process requires a complete rules base. It is difficult to construct a welding formation prediction model using such inference models. The more rules reflect the relationship between welding process parameters and welding formation quality, the more parameter experiments are required to establish the rules. The fuzzy interpolation inference method does not require a complete rules base to achieve inference. To address the above issues, we propose a welding formation prediction method based on fuzzy interpolation inference, and provide an idea for achieving efficient and convenient welding formation prediction. More importantly, fuzzy interpolation reasoning has better application prospects for achieving welding process parameter designs and real-time control of welding formation.
The paper is organized as follows. For completeness,
Section 2 reviews the KH methods and HS methods.
Section 3 describes the new interpolative reasoning method.
Section 4 provides an application example of MAG welding formation prediction. Finally, in
Section 5, we discuss our conclusions.
2. Overview of Fuzzy Interpolation
Fuzzy rule interpolation is an inference technique for fuzzy rule bases where the antecedents do not cover the whole input universe. It addresses the key limitations of Compositional Rule of Inference (CRI) that requires a dense fuzzy rule base which fully covers the entire problem domain. The KH method was proposed by Kóczy and Hirota in 1993, which is also the earliest fuzzy interpolation inference method based on α-cut of the fuzzy set, providing a theoretical basis for many subsequent methods. In this section, the original KH interpolation reasoning method and popular HS methods are introduced.
Suppose that and are two adjacent fuzzy rules on universe X and Y. Assume that the observation value is , and .
Rule 1: If x1 is A1, then y is B1
Rule 2: If x1 is A2, then y is B2
Observation: If x is A*
where
,
, where
and
are the left and right support vertexes, respectively, and
is the normal point of the fuzzy set, as shown in
Figure 1.
2.1. KH Method [15]
The KH method is the earliest proposed interpolation inference method, which provides a basic idea for many types of interpolation inference methods. The KH linear interpolation is mainly based on
cut of the fuzzy set, and the basic idea of the KH method can be written as
According to the resolution principle of fuzzy sets, the lower and upper distance
and
are defined as
where
means that the
-cut of the fuzzy set.
Then the lower and upper values of the result can be written as
where
and
represent the infimum and supremum of
, respectively.
Then, (4) and (5) can be rewritten as:
Finally,
, and the consequence
B* can be constructed
However, this linear interpolation cannot guarantee the convexity of the derived fuzzy sets even if the fuzzy sets involved in the given rules and observations are convex and normal.
2.2. HS Method [20]
The HS method is a representative method based on intermediate rule-interpolation inference. The main process of the HS method is as follows: let
A be a triangular fuzzy set, and
. Then the representative value
Rep(
A) of
A can be defined by
The first step of the HS method is to construct a new fuzzy set
by the distance ratio of representative value
, which has the same representative value of
A*. Let
Then, the fuzzy set
can be obtained, and the parameters of
are determined as follows:
The fuzzy set
can be obtained the same way, and the parameters of
are determined as follows:
The HS method uses the following two transformations:
(1) Scale transformation: Scale operation from
to
by the scale rate
s, where the scale rate
s is calculated as follows:
Each characteristic value of
can be calculated as follows:
can be converted to the same way.
(2) Move transformation: The move operation shifts the position of
to become the same as that of
, and the move ratio
m can be calculated as follows:
Then, move transformation is applied to construct consequence
:
Finally, the HS method obtains the fuzzy interpolative reasoning consequence
B* by transforming
with the same scale rate
s and the same moving ratio
m between the fuzzy sets
and
. For more details, refer to [
20].
3. The Fuzzy Interpolation Methods
Fuzzy rule interpolation is an inference technique for fuzzy rule bases where the antecedents do not cover the whole input universe. The distance and similarity of fuzzy sets are important concepts to judge the degree of difference between two fuzzy sets. In this section, a new fuzzy interpolation inference method is introduced. In this paper, the specification that the distance of is defined by the normalized Euclidean distance.
3.1. Single Antecedent with Triangular Fuzzy Sets
Suppose that and are two adjacent fuzzy rules on universe X and Y. Assume that the observation value is , and .
Rule 1: If x1 is A1, then y is B1
Rule 2: If x1 is A2, then y is B2
Observation: If X is A*
where , , .
The proposed fuzzy interpolation reasoning method is presented as follows.
(Step 1) Construct a new intermediate fuzzy set
by the distance factor
and
. The distance
and
between
and
,
and
can be calculated as follows:
then, the distance factor
can be calculated as follows:
Based on the value of
, each characteristic value of
can be calculated as follows:
The intermediate fuzzy set
and observation
have the same distance from
.
The consequent part
corresponding to the antecedent of the intermediate rule
can be constructed in the same way:
(Step 2) Find the width similarity of observed value and the intermediate .
Suppose there is a certain degree of similarity between the antecedent of observed value
and the intermediate
, in which case it can be intuitively believed that the same degree of similarity exists between the consequent part
and
. Therefore, the membership function can be divided into left and right parts. According to the observation value
and intermediate fuzzy set
shown in
Figure 2, the left and right similarity ratio
and
of antecedent
and
can be calculated by the following formula:
(Step 3) Find the parameter values of by the distance and width similarity.
According to step 1, it can be seen that the intermediate fuzzy set
and observation
have the same distance from
. Then, in the same way, it can be judged that
and
have the same distance from
, and according to the width similarity, the following equation can be obtained:
By substituting (30) and (31) into Equation (32), the following formula can be obtained:
According to Equation (33), the reasoning consequence and can be obtained. The final inference consequence is determined by the principle of maximum similarity of fuzzy sets.
The similarity
SS(
A,
B) between fuzzy sets
A and
B can be calculated according to the following formula:
By following the above steps, we can draw the inference consequence B* about the observed values A*.
3.2. Multiple Antecedent Variables with Complex Polygonal Fuzzy Sets
Because the trapezoidal membership function is the most typical of polygonal membership functions, this section will take the membership function of the trapezoidal fuzzy set as an example to extend the above interpolation reasoning method. Because the reasoning process of a single antecedent variable is similar to that of multiple antecedents, this section will take the multiple antecedents of the trapezoidal fuzzy set membership function reasoning model as an example.
Assume that the trapezoidal membership function reasoning model is as follows:
Rule i: If x1 is A1i and … and xmi is Ami, then y is Bi
Rule j: If x1 is A1j and … and xmj is Amj, then y is Bj
Observation: If X is A*
where and k = 1, 2,…, m.
(Step 1) Construct a new intermediate fuzzy set
by the distance factor
and
.
Based on the value of
, each characteristic value of
can be calculated as follows:
The consequent part
corresponding to the antecedent of the intermediate rule
can be constructed in the same way, and
is the arithmetic averages of
:
(Step 2) Find the width similarity of observed value and the intermediate .
Suppose there is a certain degree of similarity between the antecedent of observed value
and the intermediate
, in that case it can be intuitively believed that the same degree of similarity exists between the consequent part
and
. Therefore, the membership function can be divided into left, central and right parts. The left, central and right parts similarity ratio
,
, and
of antecedent
and
can be calculated by the following formula:
(Step 3) Find the parameter values of by the distance and width similarity.
According to step 1, it can be known that the intermediate fuzzy set
and observation
have the same distance from
. Then, in the same way, it can judge that
and
have the same distance from
, and according to the width similarity, the following equation can be obtained:
where
,
and
are the average of
,
and
, respectively.
According to Equation (42), the reasoning consequence and can be obtained. The final inference consequence is determined by the principle of maximum similarity of fuzzy sets according to (34).
By following the above steps, we can draw the inference consequence about the observed values .
3.3. Experimental Result
In this part, several examples are given for the proposed interpolation method and compared with KH methods and HS methods. The examples involve interpolation between two adjacent rules.
Example 1: This example demonstrates the use of the proposed method involving a single antecedent with triangular fuzzy sets. All the conditions and the fuzzy interpolative reasoning consequences for the different methods are shown in
Table 1 and
Figure 3.
First, according to (24) to (30),
and
can be calculated as
(5.7, 9.15, 10.15) and
(5.19, 6.67, 8.67), respectively. Then, according to the width similarity relationship between the observed
and antecedent of the intermediate rule
, the solutions
and
of Equation (33) can be obtained as
(5.84, 6.27, 8.27) and
(−3.744, −3.314, −1.314), respectively. The similarity of
SS(
,
) and
SS(
,
) can be calculated as
SS(
,
) = 0.6675 and
SS(
,
) = 0.0939, according to (35), respectively. Finally,
is selected as the final inference consequence as the consequence
B* (5.84,6.27,8.27). From
Table 1 and
Figure 3, it can be seen that the KH method resulted in a nonconvex consequent fuzzy set, and the reasoning consequence of this method and HS method are both reasonable.
Example 2: This example demonstrates the use of the proposed method involving multiple antecedent variables with trapezoidal fuzzy sets. All the conditions and the fuzzy interpolative reasoning consequences for the different methods are shown in
Table 2 and
Figure 3.
First, according to (37) to (38),
,
and
can be calculated as
(5.77, 8.19, 9.19, 10.19),
(7.17, 8.73, 9.73, 10.73) and
(5.43, 6.88, 7.88, 8.88), respectively. Then, according to the width similarity relationship between the observation and antecedent of the intermediate rule, the solutions
and
of Equation (43) can be obtained as
(4.79, 6.03, 8.03, 10.03) and
(−5.14 9, −3.915, −1.915, −0.085), respectively. The similarity
SS(
,
) and
SS(
,
) can be calculated as
SS(
,
) = 0.5604 and
SS(
,
) = 0.0907, according to (35), respectively. Finally,
is selected as the final inference consequence, then
B* (4.79, 6.03, 8.03, 10.03). From
Table 2 and
Figure 4, we can see that three comparative methods can obtain reasonable conclusions, and the conclusion obtained by this method is closer to that of
B2.
4. Welding Formation Prediction
Welding technology is an important production and processing method in industrial production. However, welding is a highly nonlinear, time-varying and multicoupling typical complex process. It is difficult to describe the process with an accurate model. Establishing welding process parameter models usually requires a large number of prior experiments. Therefore, it is difficult to construct a complete fuzzy rule base for the welding process. For a complete rule base, traditional fuzzy reasoning methods can perform well, but in sparse rule bases, such methods seem powerless. Fuzzy interpolation inference can be performed in a sparse rule base. Using a sparse rule library to construct a welding forming prediction model can achieve inference through a sufficient number of fuzzy rules, which can to some extent reduce the difficulty of constructing the model. Therefore, in this section, we propose a welding formation prediction method based on a sparse rule base.
We consider an application of the proposed algorithm for weld forming prediction. Forming quality of the weld is one of the factors affecting the performance of welded joints. There are many factors affecting the forming of the weld. Under the condition that other process conditions remain unchanged, welding current, welding voltage and welding speed are the key factors affecting the forming quality of the weld. Therefore, selecting reasonable welding process parameters is very important to improve the welding quality and production efficiency.
4.1. Welding Process Parameter Model
Metal active gas arc welding (MAG) is a common metal material connection process in industrial production. It is widely used in industrial fields such as machinery, shipbuilding, and chemical engineering due to its high production efficiency and strong welding process stability. The quality of a welding joint is determined by its mechanical properties, which are dependent both on its metallurgical properties and bead geometry, in which weld penetration is one of the important geometric parameters. For arc welding, the penetration of the welded joint depends on many input process parameters, such as welding current, welding speed, voltage, wire feeding speed, gas flow, nozzle plate distance, torch angle, and so on [
32,
33]. Therefore, the selection of the appropriate welding parameters is crucial for the welding process.
The depth of a weld seam is an important index of welding quality. Two main technological parameters affect the weld depth Y: the welding current X
1 and welding speed X
2 [
34]. In order to establish the relationship between welding depth Y and welding current X
1 and welding speed X
2, an experiment is used that employs the 85%Ar + 15%CO
2 mixed gas arc welding process that is widely used in metal connections [
34]. The experimental equipment and conditions are shown in
Table 3 and
Figure 5, respectively.
Flat and fillet welds are commonly involved in the actual welding process, and in this paper, the experiment adopts commonly used butt-welding connection methods. The welded material is fixed on the welding workbench and the gap between the plates is adjusted to 2 mm before performing the welding operation, as shown in
Figure 6.
Then, the welding experiment is performed according to the present welding parameters. Subsequently, the weld penetration measurement is carried out by selecting qualified specimens through welding the appearance and forming the specimens. Due to the inability to measure weld penetration directly, it is necessary to cut the welded specimen. After cutting the welded specimen, the weld penetration can be measured by a JGX-2 Tool microscope. The welding formation and welding penetration are shown in
Figure 7. The experimental sample data can be obtained through measurement, as shown in
Table 4.
Based on experimental sample data, the input domain of the welding current X
1 is set to [100, 120] and [170, 190], and the welding speed X
2 is set to [360, 390] and [470, 500]. Using fuzzy language to describe the input domain, fuzzy language variables are defined as small (S) and large (L), which are described by symmetric congruent triangular fuzzy sets, and the membership of welding current X
1 is shown in
Figure 8a. The output domain of depth Y is set to [2.62, 3.6] and [4.31, 5.3], and fuzzy language variables defined as Small (S), Medium-small (MS), Medium-large (ML) and Large (L), which are described by symmetric congruent triangular fuzzy sets, and the membership of welding depth Y are shown in
Figure 8b.
By defining the fuzzy language of input variables, four fuzzy rules between welding penetration, welding current and welding speed are summarized, as shown in
Table 5. Finally, a sparse rule base for the welding forming prediction model can be obtained.
The fuzzy language If–Then description of the sparse rule bases for welding forming prediction is as follows:
Rule 1: If Welding current X1 is S and Welding speed X2 is S, then Welding penetration Y is MS. |
Rule 2: If Welding current X1 is S and Welding speed X2 is L, then Welding penetration Y is S. |
Rule 3: If Welding current X1 is L and Welding speed X2 is S, then Welding penetration Y is L. |
Rule 4: If Welding current X1 is L and Welding speed X2 is L, then Welding penetration Y is ML. |
By following the above steps, a sparse rule base of the welding process with only four fuzzy rules can be obtained. Using sparse rule bases to construct inference models not only reduces the difficulty of acquiring modeling knowledge to a certain extent, but also reduces the complexity of fuzzy rule bases without losing generality. For welding, the process of obtaining specific data between welding parameters and welding geometric dimensions is cumbersome and not easy, while using a sparse rule library to describe this relationship is much easier.
4.2. Weld Formation Prediction
In this section, a welding formation prediction process based on a sparse rule base was designed using the method proposed in this article. The main steps of welding formation prediction based on fuzzy interpolation reasoning are as follows:
Step1 Fuzzification: The same triangular fuzzy set as the input variable antecedent is used for fuzzification. The real value of the input variable can be fuzzified by the same triangular membership function with base width b and height 1. Suppose that the input variable of the welding current is ; it can be fuzzified by the same triangular membership function whose base width is b and membership value at is 1.
Step2 Inference: First, calculate the distance between the input value and the antecedent of adjacent rule by (26) to (30), then construct intermediate rules. Then according to (33), and can be obtained. Finally, the inference consequence B* can be drawn according to the maximum similarity by (35).
Step3 Defuzzification: The result derived from the inference is a family of fuzzy sets, so it is necessary to determine a real value of the weld depth that corresponds to these fuzzy values. Here, the maximum membership principle is adopted for defuzzification. Let
y* be a real value of the output
B*, and
y* can be obtained by
By following the above steps, welding penetration prediction can be achieved by inputting welding parameter values.
Figure 9 shows the model of the welding formation prediction algorithm, with input parameters including welding current and welding speed. The proposed algorithm is used to predict the output value of welding penetration depth.
In this example, five samples are employed to calculate the weld depth, as seen in
Table 6, and the experimental results are obtained according to the sample parameters, where
y* and
y are respective outputs of the inference value and measured value, respectively. We find that the average error between the inference result and the measurement result is 2.14%, and the maximum error is 3.52%, respectively, which indicates that the inference values derived from the algorithm are in good agreement with the measured results, as seen in
Figure 10.
5. Conclusions
This paper proposes a fuzzy interpolation inference method. From the results, we can see that this method can ensure the normality and convexity of the reasoning results and also have reasonable reasoning results under the polygonal fuzzy sets with multiple input variables. The proposed method differs from existing methods in that it uses normalized Euclidean distance to define the distance factor when constructing intermediate rules, the inference conclusion is obtained by distance and similarity, and two satisfactory distance and similarity conclusions are obtained. Therefore, the maximum similarity with the intermediate rule inference conclusion is ultimately used to determine the final conclusion.
Then, an engineering application example of this method is given. By establishing a sparse rule base for welding process parameters and welding formation, welding formation prediction can be achieved under a sparse rule base. According to the experimental results, the maximum error of the welding formation prediction model is 3.52%, which can satisfy the requirements of welding process specifications. For the industrial production process, it is necessary to spend much time and energy to build a complete rule base that completely covers the entire input domain. Because it is not easy to build a complete rule base because of incomplete knowledge mastery, using traditional reasoning methods will not be able to draw inference conclusions; however, the fuzzy interpolation reasoning method can counteract this situation and enhance the applicability of the fuzzy reasoning system.
In this paper, a prototype of the fuzzy interpolation inference method is presented, and simulation examples show that this method has comparable inference accuracy compared to the original HS method. At present, the method in the article only involves interpolation inference for adjacent rules. In the next work, we will continue to improve this method, such as how to adaptively find adjacent rules from numerous rules and other related work.