IV. Weld Defect Detection via Sensor Fusion under Uncertainty
4.3 Proposed probability assignment
4.3.2. The thresholds adaptive probability assignment function
Probability distribution functions were estimated by using good-welded signals. The best-fitted probability distribution function was selected in accordance with the lowest value of NlogL(Negative log likelihood). The best-fitted probability distribution function is divided into three intervals corresponding the probability of 2.5%(lower control limit), 50%(midpoint), 97.5%(upper control limit) respectively.
The probability assignment was conducted based on the generated thresholds from the training process.
0 π΅ππ(π΄) πππ (π΄) 1
Belief of π΄ (Support interval)
Belief of Β¬π΄ (unsupported interval) Uncertain interval
Plausibility interval
Figure 4-7 A best-fitted probability distribution function of plasma intensity signal
We assumed that the value between lower and upper control limit tends to be the normal state based on the estimated probability model. If current sensor signal level is larger than the upper control limit or smaller than the lower control limit, the probability of being a normal state decreased. Chen and Aicklein (Chen and Aickelin, 2006) implemented an anomaly detection system to evidence theory.
They adopted standard sigmoid function to their anomaly detection algorithm to analyze the Wisconsin Breast Cancer Dataset (WBCD), which is widely used dataset for benchmarking of fault detection methods (Goldstein and Uchida, 2016). They utilized the function as a basic probability assignment function(activation function).
We defined a modified version of the dual sigmoid function(equation (8) and (9)) to control the slope of the probability function for gradual changes around the thresholds. The exact equation of the proposed adaptive probability assignment function is:
ππππ(π») = {(1 + β π πππππΆππππβ(πππ‘ππππππ‘βππΆπΏ))β1 , πππ‘ππππππ‘ β₯ ππππππππ‘
(1 + β βπ πππππΆππππβ(πππ‘ππππππ‘βπΏπΆπΏ))β1, ππ‘βπππ€ππ π (8)
where
π πππππΆππππ =ππΆπΏ + πΏπΆπΏ
ππΆπΏ β πΏπΆπΏ (9)
It illustrated that the probability of a hypothesis which is a current state is normal. A slopeCoeff controls and adjusts the proposed probability assignment function by changing the slope of the graph
Plasma intensity (V)
Probability density (%)
Midpoint UCL
LCL
near the thresholds. The difference between upper and lower control limit is getting larger, slopeCoeff is getting larger, which result in the steeper slope of the probability function nearby the upper and lower control limits. A simple comparison of the probability assignment function with respect to the different slopeCoeff is illustrated in Figure 4-8. It illustrated how the coefficient adjusts and controls the slope of the probability assignment functions.
Figure 4-8 A comparison of proposed probability assignment function with respect to the magnitudeCoeff: (a) 1, (b) 3, (c) 5 , (d) 20
Figure 4-9 An example of the adaptive probability assignment function of upper control limit:
23.4V, lower control limit: 11.7V, and midpoint:17.3V Plasma intensity (V)
Probability of normal state
LCL Midpoint UCL
(a)
(b)
Traditionally, a binary decision approach based on the statistical analysis is shown in the Figure 4-9 (a). It implies that the decision model classifies the current weld status as a defect state if the current voltage is out of the thresholds range between the LCL and UCL. However, the binary categorical classification was unable to handle the uncertainty in terms of the in-tolerance failure problem.
To solve the problem, we defined a new probability assignment function by assigning the gradually decreasing probability of normal state nearby the thresholds. A graphical illustration of the probability assignment function with thresholds(in this case of the plasma signal, upper control limit: 23.4V, lower control limit: 11.7V, and midpoint:17.3V) is shown in Figure 4-9 (b).
The proposed probability assignment function was quite reasonable to consider the uncertainty around the thresholds. We further improved the proposed probability assignment function by adding the information of the estimated probability density function from chapter 4.3.1. The weighted summation of the two probability information(The estimated probability density function and The proposed probability assignment function) was used to assign the probability of the normal state. The weight(Ξ±) was selected as an arbitrary value from the pre-experiments. The weight decided how much the amount of information from the estimated probability density function would be adjusted to the proposed probability assignment function. By applying the weight, the probability assignment function contains richer information in terms of skewness of the original training data.
Figure 4-10 A comparison of the adjusted probability assignment function with respect to the different weights(Ξ±): βΞ±=0β implies that there is no further information of the estimated
probability density function Plasma intensity (V)
Probability of normal state
The detailed equation for the adjusted probability assignment function is described as equation (10).
ππ πππ ππ(π») = πΌ β ππππ‘(π») + (1 β πΌ) β ππππ(π») (10)
Further, we have to assign a value to the set {π», Β¬π»} to express the ignorance of the sensor and the possibility that might be uncertain to determine whether the current state is normal or not;
π(π», Β¬π») β [0, 1].
Figure 4-11 A general guideline to define basic probability assignments of dual threshold interval(a) and modified probability assignment of π΄(π―, Β¬π―)
A general guideline to define the π(π», Β¬π») is shown in Figure 4-11(a)(Siaterlis and Maglaris, 2004). The intuition behind this βgeneral guidelineβ is that the decision beliefs should be treated with an uncertainty at the transient state even though the thresholds provide a quite certain decision.
From the Siaterlis and Maglaris research, we also modified the guidelines for assigning the ignorance as shown in Figure 4-11(b). The level of uncertainty given by π(π», Β¬π») gradually increases or decreases at the transient state of the graph(see Figure 4-11(b)), denoting the sensor's uncertainty related to the value of π(π»).
We followed the equation that π(π») + π»(Β¬π») + π»(π», Β¬π») = 1 to assign a probability of π»(Β¬π»).
Algorithm 2. Threshold adaptive probability assignment Require:
π’πππ = π’ππππ ππππ‘πππ πππππ‘ ππ π πππ ππ π ππππ= πππ€ππ ππππ‘πππ πππππ‘ ππ π πππ ππ π πππ= ππππππππ‘ ππ π πππ ππ π
π₯ππ= ππ‘β πππ‘ππππππ‘ ππ π πππ ππ π
π πππππΆπππππ= ππππππ‘π’ππ πππππππππππ‘ ππ π πππ ππ π πΌπ= π€πππβπ‘ π£πππ’π ππ π πππ ππ π
πππ(π») = ππππππ ππ ππππππππππ‘π¦ πππ π‘ππππ’π‘πππ ππ π πππππππ‘ ππ’πππ‘πππ ππ π πππ ππ π π€ππ‘β ππ‘β πππ‘ππππππ‘ π€βππ βπ¦πππ‘βππ ππ π» ππ π‘ππ’π
1: for S = 1 : number of sensors
2: for i = 1 : number of data point on a stitch 3: if π₯ππβ₯ πππ then
4: ππ_πππ_π(π») = 1
1+exp(π πππππΆπππππβ(π₯ππβππΆπΏπ))
5: else
6: ππ_πππ_π(π») =1+exp(βπ πππππΆππππ1 πβ(π₯ππβπΏπΆπΏπ))
7: end if
8: ππ_πππ_π(π») = 1
1+exp(π πππππΆπππππβ(π₯ππβππΆπΏπ))
9: πππ(π») = πΌπβ ππππ‘(π₯ππ|π) + (1 β πΌπ) β ππ_πππ_π(π») 8: if πππ(π») β₯ 0.5 then
9: πππ(π», Β¬π») = 1 β πππ(π») 10: else
11: πππ(π», Β¬π») = πππ(π») 12: end if
13: πππ(β ) = 0
14: πππ(Β¬π») = 1 β πππ(π») β πππ(π», Β¬π») 15: end for
16: end for