METHOD FOR DIAGNOSING AND PREDICTING OPERATION CONDITIONS OF LARGE-SCALE EQUIPMENT BASED ON FEATURE FUSION AND CONVERSION
20220373432 · 2022-11-24
Inventors
- Jianbo WU (Chengdu, CN)
- Ziheng HUANG (Chengdu, CN)
- Zhaoyuan XU (Chengdu, CN)
- Qiao QIU (Chengdu, CN)
- Jun ZHENG (Chengdu, CN)
- Jinhang LI (Chengdu, CN)
- Zhiyuan SHI (Chengdu, CN)
Cpc classification
G06F18/214
PHYSICS
G05B23/024
PHYSICS
G05B19/418
PHYSICS
G01M99/005
PHYSICS
G06F18/2148
PHYSICS
G01M7/00
PHYSICS
G05B19/04
PHYSICS
G06F2218/10
PHYSICS
International classification
Abstract
A method for diagnosing and predicting operation conditions of large-scale equipment based on feature fusion and conversion, including: collecting a vibration signal of each operating condition of the equipment, and establishing an original vibration acceleration data set of the vibration signal; performing noise reduction on the original vibration acceleration data set, and calculating a time domain parameter; performing EMD on a de-noised vibration acceleration and calculating a frequency domain parameter; constructing a training sample data set through the time domain parameter and the frequency domain parameter; establishing a GBDT model, and inputting the training sample data set into the GBDT model; extracting a leaf node number set from a trained GBDT model; performing one-hot encoding on the leaf node number set to obtain a sparse matrix; and inputting the sparse matrix into a factorization machine to obtain a prediction result.
Claims
1. A method for diagnosing and predicting operation conditions of large-scale equipment based on feature fusion and conversion, comprising: (S1) collecting a vibration signal of individual operating conditions of the large-scale equipment, and establishing an original vibration acceleration data set of the vibration signal; (S2) performing noise reduction on the original vibration acceleration data set to obtain a de-noised vibration acceleration; (S3) calculating a time domain parameter based on the de-noised vibration acceleration; (S4) performing empirical mode decomposition (EMD) on the de-noised vibration acceleration to obtain a plurality of components; (S5) calculating a frequency domain parameter based on the plurality of components; (S6) constructing a training sample data set based on the time domain parameter and the frequency domain parameter; (S7) establishing a gradient boosting decision tree (GBDT) model, and inputting the training sample data set into the GBDT model for training to obtain a trained GBDT model; (S8) extracting a leaf node number set from the trained GBDT model; (S9) performing one-hot encoding on the leaf node number set to obtain a sparse matrix; and (S10) inputting the sparse matrix into a factorization machine to obtain a prediction result; wherein the step (S2) is performed through steps of: (S2-1) removing a direct-current (DC) component of a h.sup.th original vibration acceleration g.sub.h(i) in the original vibration acceleration data set according to formula (1) to obtain a h.sup.th first vibration acceleration g′.sub.h(i) with the DC component removed:
t.sub.1=e+f×i i≤n (5); wherein e is an origin time of vibration acceleration; and f is a sampling frequency; in step (S3), the time domain parameter comprises an effective value, kurtosis, variance and crest factor of the de-noised vibration acceleration; the step (S5) is performed through steps of: (S5-1) obtaining an energy value P.sub.k of a k.sup.th component according to formula (6):
2. The method of claim 1, wherein the step (S4) is performed through steps of: (S4-1) finding all extreme points of the de-noised vibration acceleration through a find_peaks function; wherein the find_peaks function is configured to find peaks; (S4-2) connecting local maximum points m.sub.up in all extreme points into an upper envelope n.sub.up , and connecting local minimum points m.sub.up in all the extreme points into a lower envelope n.sub.down through a cubic spline curve, expressed as follows:
n.sub.up=a.sub.up+b.sub.upm.sub.up+c.sub.upm.sub.up.sup.2+d.sub.upm.sub.up.sup.3 up≤n n.sub.down=a.sub.down+b.sub.downm.sub.down+.sub.downm.sub.down.sup.2+d.sub.downm.sub.down.sup.3 down≤n (14); wherein a.sub.up, b.sub.up, c.sub.up and d.sub.up are coefficients of the upper envelope; and a.sub.down, b.sub.down, c.sub.down and d.sub.down are coefficients of the lower envelope; (S4-3) determining the coefficients of the upper envelope and the coefficients of the lower envelope based on all extreme points of the de-noised vibration acceleration through an interpolation algorithm; (S4-4) obtaining a component to be judged h.sub.1(t*)at moment t* according to formula (15):
R.sub.1(t*)=g′.sub.h(t*)−h(t*) (16); and (S4-7) repeating steps (S4-1)-(S4-6) based on the total set of remaining signals to obtain the k.sup.th component h.sub.k(t*) .
3. The method of claim 1, wherein the step (S6) is performed through steps of: (S6-1) combining the frequency domain parameter into a frequency-domain feature real number set x.sub.2.sup.h={P.sub.0.sup.x, P.sub.1.sup.x, P.sub.2.sup.x, P.sub.3.sup.x}.sub.h, and forming the integrated feature real number set x.sub.h={x.sub.1.sup.h, x.sub.2.sup.h} in combination with the time domain parameter; wherein h is a h.sup.th data in the original vibration acceleration data set; and x.sub.1.sup.h is a time domain feature real number set; and (S6-2) tagging the integrated feature real number set to obtain the training sample data set D expressed as: D={(x.sub.1, y.sub.1), (x.sub.2, Y.sub.2), . . .(x.sub.q, Y.sub.q)}; wherein q represents the total amount of data in the original vibration acceleration data set; y.sub.q is a tagged value, and Y.sub.g ∈ {0,1}; y.sub.q=0 indicates that data in the integrated feature real number set is in a normal operating state; and y.sub.q=1 indicates that the data in the integrated feature real number set is in an abnormal operating state.
4. The method of claim 1, wherein the step (S8) is performed through steps of: extracting the leaf node number set T output by the trained GBDT model according to formula (16):
5. The method of claim 4, wherein the step (S9) is performed through steps of: (S9-1) performing one-hot encoding conversion on the leaf node number set T; marking a leaf node where an output of a regression tree corresponding to a tree formed by each training sample in the training sample data set is located as 1, and marking remaining leaf nodes as 0 to obtain a sub-matrix; and (S9-2) subjecting each training sample to sub-matrix transformation followed by combining into the sparse matrix with a size of (S×K.sub.s, q) herein S is the total number of regression trees; K.sub.s is the total number of leaf nodes on the s.sup.th regression tree corresponding to the tree formed by each training sample; and q is the total number of training samples.
6. The method of claim 5, wherein the step (S10) is performed through steps of: (S10-1) based on decomposability of a real symmetric positive definite matrix, factorizing the sparse matrix to calculate a feature latent vector of the sparse matrix; (S10-2) obtaining a second-order polynomial model ŷ(x) formed by combination of a linear model and a cross term according to formula (17): V.sub.u, V.sub.v
indicates conversion of a coefficient of the cross term into a latent vector inner product; V.sub.u is a feature latent vector of the u.sup.th feature of the sparse matrix; V.sub.v is a feature latent vector of the v.sup.th feature of the sparse matrix; V.sub.u,l is a l.sup.th element obtained from factorization of the u.sup.th feature; and V.sub.v,l is a l.sup.th element obtained from factorization of the v.sup.th feature; and (S10-3) optimizing the second-order polynomial model according to back propagation of a Hinge loss function in the factorization machine to obtain a prediction result.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
DETAILED DESCRIPTION OF EMBODIMENTS
[0094] The disclosure will be described completely and clearly below with reference to the accompanying drawings and embodiments to make the object, technical solutions, and beneficial effects of the present disclosure clearer. Obviously, provided below are merely some embodiments of the disclosure, which are not intended to limit the disclosure. It should be understood that all other embodiments obtained by those skilled in the art based on the content disclosed herein without paying any creative effort should fall within the scope of the present disclosure.
[0095] Illustrated in
[0096] (S1) A vibration signal of individual operating conditions of the large-scale equipment is collected, and an original vibration acceleration data set of the vibration signal is established.
[0097] (S2) Noise reduction is performed on the original vibration acceleration data set to obtain a de-noised vibration acceleration.
[0098] (S3) A time domain parameter based on the de-noised vibration acceleration is calculated.
[0099] (S4) Empirical mode decomposition (EMD) is performed on the de-noised vibration acceleration to obtain a plurality of components.
[0100] (S5) A frequency domain parameter based on the plurality of components is calculated.
[0101] (S6) A training sample data set based on the time domain parameter and the frequency domain parameter is constructed.
[0102] (S7) A gradient boosting decision tree (GBDT) model is established, and the training sample data set is input into the GBDT model for training to obtain a trained GBDT model.
[0103] (S8) A leaf node number set is extracted from the trained GBDT model.
[0104] (S9) One-hot encoding is performed on the leaf node number set to obtain a sparse matrix.
[0105] (S10) The sparse matrix is input into a factorization machine to obtain a prediction result.
[0106] The step (S2) is performed through the following steps.
[0107] (S2-1) A direct-current (DC) component of a h.sup.th original vibration acceleration g.sub.h(i) in the original vibration acceleration data set is removed according to formula (1) to obtain a h.sup.th first vibration acceleration g′.sub.h(i) with the DC component removed:
[0108] where n is a data length of the h.sup.th original vibration acceleration.
[0109] (S2-2) A trend of the first vibration acceleration is removed according to formulas (2)-(4) to obtain a h.sup.th de-noised vibration acceleration:
[0110] where z is the fitting trend linear function when α=α′ and β=β′; α and β are parameters of a fitting trend linear function; (α′, β′) represents values of α and β corresponding to a minimum value of
arg min[⋅] indicates minimization operation; and t represents time within a range of one sample.
[0111] A sampling time t.sub.i corresponding to the h.sup.th de-noised vibration acceleration is expressed as:
t.sub.i=e+f×i i≤n (5)
[0112] where e is an origin time of vibration acceleration; and f is a sampling frequency.
[0113] In step (S3), the time domain parameter includes an effective value, kurtosis, variance and crest factor of the de-noised vibration acceleration.
[0114] The step (S4) is performed through the following steps.
[0115] (S4-1) All extreme points of the de-noised vibration acceleration are found through a find_peaks function. The find_peaks function is configured to find peaks.
[0116] (S4-2) Local maximum points m.sub.up in all extreme points are connected into an upper envelope n.sub.up , and local minimum points m.sub.down in all the extreme points are connected into a lower envelope n.sub.down through a cubic spline curve, expressed as follows:
n.sub.up=a.sub.up+b.sub.upm.sub.up+c.sub.upm.sub.up.sup.2+d.sub.upm.sub.up.sup.3d up≤n n.sub.down=a.sub.down+b.sub.downm.sub.down+c.sub.downm.sub.down.sup.2+d.sub.downm.sub.down.sup.3 down≤n (14)
[0117] where a.sub.up, b.sub.up, c.sub.up and d.sub.up, are coefficients of the upper envelope; and a .sub.down, b.sub.down, C.sub.down and d.sub.down are coefficients of the lower envelope.
[0118] (S4-3) The coefficients of the upper envelope and the coefficients of the lower envelope based on all extreme points of the de-noised vibration acceleration are determined through an interpolation algorithm.
[0119] (S4-4) A component to be judged h.sub.1(t*) at a moment t* is obtained according to formula (15):
[0120] where m.sub.1(t*) is an average value of the upper envelope and the lower envelope at the moment t*; and g″.sub.h(t*) is a time domain expression of a h.sup.th de-noised vibration acceleration.
[0121] (S4-5) Whether h.sub.1(t*) satisfies an intrinsic mode function is determined.
[0122] If yes, h.sub.1(t*) is taken as a first component of the h.sup.th de-noised vibration acceleration, and step (S4-6) is performed.
[0123] Otherwise, h.sup.1t(t*) is taken as an input signal, and steps (S4-1)-(S4-5) are repeated until h.sub.1(t*) satisfies the intrinsic mode function, and step (S4-6) is performed.
[0124] (S4-6) A total set R.sub.1(t*) of remaining signals after a first decomposition is obtained according to formula (16):
R.sub.1(t*)=g″.sub.h(t*) (16)
[0125] (S4-7) Steps (54-1)-(54-6) are repeated based on the total set of remaining signals to obtain the k.sup.th component h.sub.k(t*).
[0126] The step (S5) is performed through the following steps.
[0127] (S5-1) An energy value P.sub.k of a k.sup.th component is obtained according to formula (6):
[0128] where N.sub.1 is the total number of discrete data points in the k.sup.th component h.sub.k(t*); dT represents a sampling frequency; and i.sub.1 represents a serial number of the discrete data points in the k.sup.th component h.sub.k(t*).
[0129] (S5-2) Energy values of the plurality of components are sorted. X components with the largest energy value are selected. The X components are subjected to fast Fourier transform to obtain X initial spectra.
[0130] (S5-3) A maximum amplitude P.sub.0.sup.x of each of the X initial spectra is extracted.
[0131] (S5-4) A threshold is set. Frequencies respectively corresponding to an amplitude higher than the threshold is selected to establish X frequency-amplitude data sets.
[0132] (S5-5) An average amplitude P.sub.1.sup.X of the X frequency-amplitude data sets is calculated according to formula (7):
[0133] where N.sub.2 is the number of selected frequencies; and f.sub.i.sub.
[0134] (S5-6) A root mean square value P.sub.2.sup.X of the X frequency-amplitude data sets is calculated according to formula (8):
[0135] where π represents a 180-degree angle. (S5-7) A frequency P.sub.3.sup.x corresponding to a maximum amplitude in the X frequency-amplitude data sets is selected.
[0136] The step (S6) is performed through the following steps.
[0137] (S6-1) Frequency domain parameters are combined into a frequency-domain feature real number set x.sub.2.sup.h={P.sub.0.sup.x, P.sub.1.sup.x, P.sub.2.sup.x, P.sub.3.sup.x}.sub.h, and an integrated feature real number set x.sub.h={x.sub.1.sup.h, x.sub.2.sup.h} is formed in combination with the time domain parameters; where h is a h.sup.th data in the original vibration acceleration data set; and x.sub.1.sup.h is a time domain feature real number set.
[0138] (S6-2) The integrated feature real number set is tagged to obtain the training sample data set D expressed as: D={(x.sub.1,y.sub.1), (x.sub.2, y.sub.2), . . . (x.sub.q, y.sub.q)}.
[0139] where q represents the total amount of data in the original vibration acceleration data set; y.sub.q is a tagged value, and y.sub.q ∈ {0,1}; y.sub.q=0 indicates that data in the integrated feature real number set is in a normal operating state; and y.sub.q=1 indicates that the data in the integrated feature real number set is in an abnormal operating state.
[0140] In step (S7), the GBDT model is established through the following steps. (S7-1) A first weak learner G.sub.0(D) is initialized according to formula (9):
[0141] where P(y.sub.h=0|D) represents a probability that a h.sup.th tagged value y.sub.h in the training sample data set D is marked as 0 in the integrated feature real number set; and log is a base-10 logarithmic function.
[0142] (S7-2) S trees are established. A pseudo-residual rss.sub.s,h of a s.sup.th tree G′.sub.s(x.sub.h) is calculated by using a log-likelihood function, expressed as:
[0143] x.sub.h is a h.sup.th integrated feature real number in the training sample data set D; and e represents natural logarithm.
[0144] (S7-3) Data (x.sub.h,rss.sub.s,h) is fit by using a classification and regression tree (Cart) to obtain a silt regression tree G.sub.s(x.sub.h) as a s.sub.th weak learner.
[0145] (S7-4) An optimal negative gradient fitted value c.sub.s,ks of each leaf node in the s.sup.th regression tree is calculated according to formula (11):
[0146] where R.sub.s,ks is a leaf node region of the s.sup.th regression tree; and ks represents a k.sup.th leaf node of the s.sup.th regression tree.
[0147] (S7-5) A strong learner G.sub.s+1(x.sub.h) is updated according to formula (12):
[0148] where I(⋅) is a weighted count of x.sub.h within the leaf node region; and K.sub.s is the total number of leaf nodes of the s.sup.th regression tree.
[0149] (S7-6) A final strong learner G.sub.s+1′(x.sub.h) as the trained GBDT model based on an output c.sub.s+1, ks of an updated strong learner is obtained according to formula (13):
[0150] The step (S8) is performed through the following steps.
[0151] The leaf node number set T output by the trained GBDT model is extracted according to formula (16):
[0152] where the leaf node number set T has a size of q×S ; l.sub.(q,s) represents a serial number of a leaf node on the s.sup.th regression tree where an output feature of a q.sup.th training sample after being trained; q is the total number of training samples; and S is the total number of regression trees.
[0153] The step (S9) is performed through the following steps. 6p (S9-1) One-hot encoding conversion is performed on the leaf node number set T A leaf node where an output of a regression tree corresponding to a tree formed by each training sample in the training sample data set is located is marked as 1, and remaining leaf nodes are marked as 0 to obtain a sub-matrix.
[0154] (S9-2) Each training sample is subjected to sub-matrix transformation, and combined into the sparse matrix with a size of (S×K.sub.s, q) where S is the total number of regression trees; K.sub.s is the total number of leaf nodes on the s.sup.th regression tree corresponding to the tree formed by each training sample; and q is the total number of training samples.
[0155] The step (S10) is performed through steps of:
[0156] (S10-1) Based on decomposability of a real symmetric positive definite matrix, the sparse matrix is factorized to calculate a feature latent vector of the sparse matrix.
[0157] (S10-2) A second-order polynomial model ŷ(x) formed by combination of a linear model and a cross term is obtained according to formula (17):
[0158] where ω.sub.0 is a bias term of the linear model; w.sub.u is a weight of a u.sup.th feature in the sparse matrix; x.sub.u is the u.sup.th feature in the sparse matrix; x.sub.v is a with feature of the sparse matrix; V.sub.u, V.sub.v
indicates a conversion of a coefficient of the cross term into a latent vector inner product; V.sub.u is a feature latent vector of the u.sup.th feature of the sparse matrix; V.sub.v is a feature latent vector of the with feature of the sparse matrix; V.sub.u,l is a l.sup.th element obtained from factorization of the u.sup.th feature; and V.sub.,l is a l.sup.th element obtained from factorization of the v.sup.th feature.
[0159] (S10-3) The second-order polynomial model is optimized according to back propagation of a Hinge loss function in the factorization machine to obtain a prediction result.
[0160] A total set R.sub.k(t*) of remaining signals after a k.sup.th decomposition in step (S4-7) is expressed as:
R.sub.k(t*)=R.sub.k-1(t*)−h.sub.k(t*) (18);
[0161] where h.sub.k(t*) is the k.sup.th component; R.sub.k−1(t*) is a total set of remaining signals after the (k−1).sup.th decomposition.
[0162] A value of the weighted count I(x.sub.h ∈ R.sub.s,ks) in step (S7-5) is expressed as:
[0163] In an embodiment, a high-frequency cut-off frequency of a low-pass filter is set to 40 Hz. The original vibration acceleration data set is subjected to low-pass filtering to remove the DC component. The threshold in step (S5-4) is set to 0.2 times of the maximum amplitude. The integrated feature real number set is divided into a training set and a test set in a ratio of 7:3 for model training, and the training set is divided into a GBDT model training set B and a GBDT+factorization machine (FM) integrated training set A in a ratio of 1:1. A learning rate is 0.01. A sub-tree depth is 3. The maximum number of weak learners is 40. The GBDT model training set B is used in step (S7) for training, and the GBDT+FM integrated training set A is used in step (S8) and later to build the data model. In step (S10-3), the factorization machine performs 300 iterations, and a bivariate parameter dimension is 50.
[0164] As shown in
[0165] As shown in
[0166] Regarding the method provided herein, time domain features and frequency domain features are combined, so that the physical characteristics of original signals can be directly reflected, and the initial feature fusion can also be fully utilized to obtain reliable signal data.
[0167] Empirical mode decomposition (EMD) is adopted to de-noise and decompose the signal after the frequency domain conversion, and the selected frequency domain feature parameters can effectively represent the characteristics of the original signals and further relieve the noise interference while retaining the characteristics of original signals, so as to prepare for the next algorithm processing.
[0168] The diagnostic model involves the combination of a gradient boosting decision tree (GBDT) and a factorization machine, where by means of the GBDT, effective features can be found to obtain a local optimal solution; based on the ultra-high dimensional sparse characteristic of the factorization machine, the GBDT model is trained to obtain a global optimal solution. The combination of the two allows a higher fault resolution without manual feature selection.