The invention relates to the technical field of fault detection, in particular to a sound-based roller fault detecting method by using double-projection neighborhoods preserving embedding.
At present, the most common fault detecting method for conveyor belt rollers adopts manual detection. However, actual requirements cannot be met by simply relying on traditional manual detection methods. Moreover, traditional manual detection has a huge risk for workers, and has a low efficiency and a low precision, so that the production requirements of modern mines cannot be met. Therefore, there is a need for an intelligent roller fault detecting method.
With respect to the technical deficiency in the prior art, the invention provides a sound-based roller fault detecting method by using double-projection neighborhoods preserving embedding to acquire sound data during operation of a roller, and judge whether the roller has fault.
To solve the above-mentioned technical problem, the technical solution adopted by the invention is a sound-based roller fault detecting method by using double-projection neighborhoods preserving embedding comprising the following steps:
Step 1: acquiring operation sound data of a normal roller;
Step 2: pre-processing the sound data through sliding windows to obtain n sound data samples as training samples;
Step 3: performing a wavelet transform energy feature extraction on the sound data samples to obtain primary feature data;
Step 4: obtaining an optimal projection matrix W of the primary feature data by using a double-projection neighborhoods preserving embedding feature extraction method, wherein the specific method comprises the steps:
Step 4.1: constructing an object function ƒ(W) of the optimal projection matrix W:
Wherein X∈Rm×n is a training sample data matrix, m is the dimension of the training sample, W∈Rm×n is the optimal projection matrix of the primary feature data, l is the number of eigenvectors of the feature space of the training data, λ is an trade off parameter, xi represents an i-th training sample, xij represents a j-th neighbor point of xi, k represents the number of neighbor points of xi, aij is a weight of k neighbor points of xi, obtained through solving by a neighborhoods preserving embedding algorithm, a matrix Q is used for extracting features of training sample data under the condition of non-dimensional reduction, and I is a unit vector;
Letting
due to the constraint condition WTW=I, letting Q=WWT, and modifying the object function ƒ(W) as:
ƒ(W)=min∥(WTY)∥21+λ∥(WWTX)T∥21s,tWTW=I (2).
Wherein Y=[y1, y2, . . . , yn];
Step 4.2: solving the object function ƒ(W) by an iterative method to obtain the optimal projection matrix W;
Arranging the modified object function ƒ(W) as:
Defining (WT yi) as an i-th column of the matrix (WTY), defining (WWT xi) as an i-th column of the matrix (WWTX), and constructing a Lagrangian function for the object function ƒ(W), to obtain:
L(W)=tr(WTYD1YTW)+λtr(WTXD2XTW)−tr(δ(WTW−I)) (6).
Wherein L(W) is the Lagrangian function, and δ is a Lagrangian multiplier;
Taking the derivative of the Lagrange function of formula (6) with respect to W and setting the derivative to 0, to obtain:
2YD1YTW+2λXD2XTW−2δW=0 (7).
Further arranging the formula (7) to obtain:
(YD1YT+2λD2XT)W=δW (8).
Solving eigenvalues and eigenvectors of (YD1YT+2λD2XT), sorting the eigenvalues from small to large, selecting l eigenvectors corresponding to the smallest l eigenvalues to be used as row vectors to form the optimal projection matrix W, forming column vectors of a residual projection matrix Wes from the eigenvectors corresponding to the last (m−l) smallest eigenvalues.
According to the above formulas (3)-(8), iteratively solving the optimal projection matrix W and the residual projection matrix Wes, wherein the specific method comprises the steps:
(1) Setting the optimal projection matrix W at an initial iteration as a random matrix W0 of m×l, and setting an initial iteration number of times t=1;
(2) Calculating D1t and D2t at the t-th time of iteration according to formulas (4) and (5);
(3) According to the formula (8), solving the eigenvectors of (YDtrYT+ΔXD2tXT) at the t-th time of iteration, and then solving the optimal projection matrix Wi at the t-th time of iteration;
(4) If the object function ƒ(Wt)−ƒ(Wt−1)≤10−12 making the object function to converge, ending the iteration to obtain the final optimal projection matrix W and residual projection matrix Wres, else, letting the number of times of iterations t be incremented by 1, using the optimal projection matrix Wt at the t-th time of iteration as an input for the next iteration, and repeating the Step (2);
Step 5: solving a feature space and a residual space of the training data according to a final optimal projection matrix W obtained in Step 4;
Step 6: constructing T2 statistics of the feature space and the residual space of the training data, respectively, by using a T2 statistics method.
Wherein the T2 statistics of the feature space and the residual space of the constructed training data are shown as the following formulas:
T
2
=n×(WTx)TΣc−1(WTx) (9),
T
2
=n×(WresTx)TΣres−1(WresTx) (10).
Wherein T2 is the T2 statistic of the feature space of the training data, Tres2 is the T2 statistic of the residual space of the training data, Σc=(WTX) (WTX)T, Σres=(WresTX)(WresTX)T, and x a represents the training sample or a test sample;
Step 7: determining detection control limits Jth,c and Jth,res according to the T2 statistics of the feature space and the residual space of the training data by using a kernel density estimation method; and
Step 8: after online acquiring the operation sound data of the roller and performing a standardizing process, according to the method of Steps 4-6, obtaining the T2 statistics T′2 and Tres′2 of the feature space and the residual space of the online data, detecting faults of the roller according to a relationship between the T2 statistics of the feature space and the residual space of the online data and the detection control limits Jth,c and Jth,res.
If T′2>Jth,c or Tres′2>Jth,res, indicating that a fault occurs during operation of the roller;
If T′2≤Jth,c and Tres′2≤Jth,res indicating that the roller operates normally.
Compared with a single projection feature extraction algorithm, the sound-based roller fault detecting method by using double-projection neighborhoods preserving embedding, by adopting the technical solution of the invention has the beneficial effects: the double-projection neighborhoods preserving embedding has two kinds of projection including non-dimensional reduction projection and dimensional reduction projection, parts of tiny features not relevant to key features in the data can be removed through non-dimensional reduction projection, the dimension of the data can be reduced through the dimensional reduction projection, and the visibility of the data can be increased; and therefore. According to the method of the present invention, main features of faulty audio frequency can be obtained, and the detecting rate of the faulty audio frequency can be increased.
The specific implementations of the invention are described in more detail below with reference to the accompanying drawings and embodiments. The following embodiments are intended to illustrate the invention, rather than to limit the scope of the invention.
In the embodiments, a sound-based roller fault detecting method by using double-projection neighborhoods preserving embedding, as shown in
Step 1: acquiring operation sound data of a normal roller;
Step 2: pre-processing the sound data through sliding windows to obtain n sound data samples as training samples;
Step 3: performing a wavelet transform energy feature extraction on the sound data samples to obtain primary feature data;
Step 4: obtaining an optimal projection matrix W of the primary feature data by using a double-projection neighborhoods preserving embedding feature extraction method, wherein the specific method comprises the steps:
Step 4.1: constructing an object function ƒ(W) of the optimal projection matrix W:
Wherein X∈Rm×n is a training sample data matrix, m is a dimension of the training sample, W∈Rm×n is the optimal projection matrix of the primary feature data, l is the number of eigenvectors of the feature space of the training data, λ is an equilibrium parameter, xi represents an i-th training sample, xij represents a j-th neighbor point of xi, k represents the number of neighbor points of xi, aij is a weight of k neighbor points of xi, obtained through solving by a neighborhoods preserving embedding algorithm, a matrix Q is used for extracting features of training sample data under the condition of no dimension reduction, and I is a unit vector;
Letting
due to the constraint condition WTW=I, letting Q=WWT, and modifying the object function ƒ(W) as:
ƒ(W)=min∥(WTY)∥21+λ∥(WWTX)T∥21s,tWTW=I (2).
Wherein Y=[y1, y2, . . . , yn];
Step 4.2: solving the object function ƒ(W) by an iterative method to obtain the optimal projection matrix W because the object function is a non-smooth convex function;
Arranging the modified object function ƒ(W) as:
Defining (WT yi) as an i-th column of the matrix (WTY), defining (WWTxi) as an i-th column of the matrix (WWTX), and constructing a Lagrangian function for the object function ƒ(W), to obtain:
L(W)=tr(WTYD1YTW)+λtr(WTXD2XTW)−tr(δ(WTW−I)) (6).
Wherein L(W) is the Lagrangian function, and δ is a Lagrangian multiplier;
Taking the derivative of the Lagrange function of formula (6) with respect to W and setting the derivative to 0, to obtain:
2YD1YTW+2,λXD2XTW−2δW=0 (7).
Further arranging the formula (7) to obtain:
(YD1YT+λXD2XT)W=δW (8).
Solving eigenvalues and eigenvectors of (YD1YT+2XD2XT), sorting the eigenvalues from small to large, selecting l eigenvectors corresponding to the smallest l eigenvalues to be used as row vectors to form the optimal projection matrix W forming column vectors of a residual projection matrix Wes from the eigenvectors corresponding to the last (m-l) smallest eigenvalues.
According to the above formulas (3)-(8), iteratively solving the optimal projection matrix W and the residual projection matrix Wes, wherein the specific method comprises the steps:
(1) Setting the optimal projection matrix W at an initial iteration as a random matrix W0 of m×l, and setting an initial iteration number of times t=1;
(2) Calculating D1t and D2t at the t-th time of iteration according to formulas (4) and (5);
(3) According to the formula (8), solving the eigenvectors of (YD1tYT+λXD2tXT) at the t-th time of iteration, and then solving the optimal projection matrix W at the t-th time of iteration;
(4) If the object function ƒ(Wt)−ƒ(Wt−1)≤10−12, making the object function to converge, ending the iteration to obtain the final optimal projection matrix W and residual projection matrix Wres, else, letting the number of times of iterations t be incremented by 1, using the optimal projection matrix Wt at the t-th time of iteration as an input for the next iteration, and repeating the Step (2);
Step 5: solving a feature space and a residual space of the training data according to a final optimal projection matrix W obtained in Step 4;
Step 6: constructing T2 statistics of the feature space and the residual space of the training data, respectively, by using a T2 statistics method.
Wherein the T2 statistics of the feature space and the residual space of the constructed training data are shown as the following formulas:
T
2
=n×(WTx)TΣc−1(WTx) (9),
T
res
2
=n×(WresTx)TΣres−1(WresTx) (10).
Wherein T2 is the T2 statistic of the feature space of the training data, Tres2 is the T2 statistic of the residual space of the training data, Σc=(WTX)(WTX)T, Σres=(WresTX)(WresTX)T, and x represents the training sample or a test sample;
Step 7: determining detection control limits Jth,c and Jth,res according to the T2 statistics of the feature space and the residual space of the training data by using a kernel density estimation method; and
Step 8: after online acquiring the operation sound data of the roller and performing a standardizing process, according to the method of Steps 4-6, obtaining the T2 statistics T′2 and Tres′2 of the feature space and the residual space of the online data, detecting faults of the roller according to a relationship between the T2 statistics of the feature space and the residual space of the online data and the detection control limits Jth,c and Jth,res.
If T′2>Jth,c or Tres′2>Jth,res indicating that a fault occurs during operation of the roller; and
If T′2≤Jth,c and Tres′2≤Jth,res indicating that the roller operates normally.
In the embodiments, the sound data of the roller in three kinds of faults and the sound data of the roller under normal condition are acquired. The three kinds of faults are respectively the sliding friction fault of the roller and the belt, the fault of the roller having soil, and the fault of the roller lacking oil. After the sound data under different conditions are processed by a sliding window, 1000 pieces of sample data of each kind are obtained through a wavelet transform energy feature extraction. In four kinds of data sets, the first 500 pieces of the sample data are used as training data, and the last 500 pieces of the sample data are used as test data.
In the embodiments, the detection results for the three kinds of roller faults are shown in
Finally, it should be noted that the embodiments are merely intended to describe the technical schemes of the invention, rather than to limit the invention. Although the invention is described in detail with reference to the above embodiments, persons of ordinary skilled in the art should understand that they may still make modifications to the technical schemes described in the above embodiments or make equivalent replacements to some or all technical features thereof. However, these modifications or replacements do not cause the essence of the corresponding technical schemes to depart from the scope of the technical schemes of the embodiments of the invention.
Number | Date | Country | Kind |
---|---|---|---|
202110372937.1 | Apr 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/107537 | 7/21/2021 | WO |