|
Algorithm 1 Wavelet packet decomposition of bearing signal |
-
Input:
bearing signal sequence , window width , wavelet packet scale l, wavelet packet function type
-
Output:
Time-frequency feature matrix
-
1:
Perform sliding window processing on the bearing signal sequence ;
-
2:
The was divided into m sequence, and each sequence fragment was ;
-
3:
fordo
-
4:
According to the type of wavelet packet function, the wavelet packet coefficient of the j-th sample is obtained by Mallat decomposition algorithm formula of wavelet packet;
-
5:
is arranged according to the corresponding order under the l-th scale to form the j-th row of ;
-
6:
end for
|