Automatic Bearing Fault Feature Extraction Method via PFDIC and DBAS
Algorithm 1
Dual BAS based on PFDIC.
(i)
Input: Set the maximum number of iterations ,. Define the evaluation function with PFDIC. Randomly set beetle positions . Set ,. Set the value of on the basis of the optimization purpose. ,,,, (best objective function in the first stage), (best objective function in the second stage).
(ii)
Output: (Best ED, optimal SV combination),
(iii)
While () or (stop criterion) do
(iv)
The first stage of BAS : Generate the direction vector unit ; update the position ,. Update the next position of the beetle .
(v)
While () or (stop criterion) do
(vi)
The second stage of BAS : Set ED is . Update ,, and of the beetle .
(vii)
Calculate the function value of the beetle. If is better than ;;;
(viii)
End while
(ix)
Output the SV combination. Calculate the function value of the beetle. If is better than :.
(x)
Update the sensing length of the antennae ; update the step size of search ;