PMSM Demagnetization Fault Diagnosis Method Based on Fuzzy Intelligent Learning of Torque Signals
20220084732 · 2022-03-17
Inventors
- Zhao-Hua Liu (Xiangtan, CN)
- Qi-Wei Xia (Xiangtan, CN)
- Chang-Tong Wang (Xiangtan, CN)
- Lei Chen (Xiangtan, CN)
- Zhu ZHANG (Xiangtan, CN)
- Hong-Qiang Zhang (Xiangtan, CN)
- Xiao-Hua Li (Xiangtan, CN)
Cpc classification
H01F13/006
ELECTRICITY
G06N3/043
PHYSICS
H02P29/024
ELECTRICITY
International classification
H01F13/00
ELECTRICITY
Abstract
A PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals, which includes the following steps of: acquiring torque ripple signals of permanent magnet synchronous motors under different demagnetization faults; calculating a fuzzy membership of the torque ripple signals; decomposing and reconstructing the torque ripple signals by using wavelet packet decomposition to obtain wavelet packet coefficients; calculating the energy of the wavelet packet coefficients, constructing a feature vector sample set with the fuzzy membership, and dividing it into a training set and a test set; constructing Fuzzy Extreme Learning Machine (FELM), and inputting the training set into the FELM for training; inputting the test set into the trained FELM, and calculating classification accuracy. The disclosure solves the problem of unbalanced and irregular training sample distribution by integrating fuzzy theory into the Extreme Learning Machine to fuzzify the torque ripple signal samples under demagnetization fault.
Claims
1. A PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals, comprising the following steps of: (1) acquiring torque ripple signals of a Permanent Magnet Synchronous Motor (PMSM) under different demagnetization faults; (2) calculating a fuzzy membership of all the torque ripple signals acquired; (3) decomposing and reconstructing the acquired torque ripple signals by using wavelet packet decomposition to obtain a series of wavelet packet coefficients; (4) calculating energy of the obtained wavelet packet coefficients, constructing a feature vector sample set with the fuzzy membership, and dividing the feature vector sample set into a training set and a test set; (5) constructing a Fuzzy Extreme Learning Machine (FELM), and inputting the training set into the FELM for training; and (6) inputting the test set into the trained FELM, and calculating classification accuracy.
2. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 1, wherein in the step (1), the torque ripple signals are denoted as D={(x.sub.1,t.sub.1)(x.sub.2,t.sub.2), . . . , (x.sub.N,t.sub.N)} wherein x.sub.i represents an i-th torque ripple signal, t.sub.i represents a demagnetization fault category corresponding to x.sub.i, and is expressed as t.sub.i=a, for a=1, 2 . . . A, wherein A is the number of fault categories, and for i=1, 2 . . . N, wherein N is the number of samples of the torque signals.
3. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 2, wherein in the step (2), the fuzzy membership refers to mapping of torque ripple signals under the different faults to a same interval of [0, 1] to indicate a tendency of the torque ripple signals; the step (2) comprises the specific steps of: (2-1) performing Fast Fourier Transform (FFT) separately on the torque ripple signals D under all faults to obtain a frequency spectrum of the torque signals; (2-2) calculating the fuzzy membership S(x) of the torque signals according to the following formula:
S(x)=[S.sub.1,S.sub.2, . . . ,S.sub.N] where S.sub.i is the fuzzy membership corresponding to the i-th torque ripple signal, for i=1, 2, . . . , N; and (2-4) normalizing all of the memberships:
4. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 3, wherein in the step (3), a wavelet packet decomposition recursive formula of a (4-1)-th layer is expressed as follows:
5. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 4, wherein the step (4) includes the specific steps of: (4-1) performing, p-layer wavelet packet decomposition and reconstruction on the torque ripple signals, and performing energy calculation on an l-th group of a p-th layer of the reconstructed wavelet packet coefficients:
T=[E.sub.p,0,E.sub.p,1, . . . ,E.sub.p,2.sub.
6. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 5, wherein in the step (5), the Fuzzy Extreme Learning Machine (FELM) is constructed by integrating a fuzzy theory into an Extreme Learning Machine (ELM) to fuzzify input samples, and a specific process of constructing the Fuzzy Extreme Learning Machine (FELM) comprises: (5-1) for a single-hidden-layer feedforward neural network with u input nodes, L hidden layer nodes, and v output layer nodes, assuming that there are M samples {(X.sub.1,Y.sub.1), (X.sub.2,Y.sub.2), . . . , (X.sub.M,Y.sub.M)}, X.sub.τ is the τ-th sample, Y.sub.τ is a label corresponding to the sample X.sub.τ, for τ=1, 2, . . . , M, and an output y.sub.τ of the τ-th sample of the neural network is calculated by:
Hβ=O where H is an output matrix of an hidden layer, β is a weight matrix from the hidden layer to the output layer, and O is an expected output, and:
{circumflex over (β)}=H.sup.+O where H.sup.+ is a generalized inverse of H; (5-5) solving the above formula to obtain:
7. The PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals according to claim 6, wherein in the step (6), the classification accuracy is defined as:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0052]
[0053]
[0054]
[0055]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0056] The disclosure will be further described below in conjunction with the drawings and embodiments.
[0057] As shown in
[0058] (1) Acquiring torque ripple signals of Permanent Magnet Synchronous Motor (PMSM) under different demagnetization faults.
[0059] Torque ripple signals are denoted as D={(x.sub.1,t.sub.1), (x.sub.2,t.sub.2), . . . , (x.sub.N,t.sub.N)}, where x.sub.i represents the i-th torque ripple signal, t.sub.i represents the demagnetization fault category corresponding to x.sub.i, and is expressed as t.sub.i=a, for a=1, 2 . . . A, where A is the number of fault categories, and for i=1, 2 . . . , N, where N is the number of samples of the torque signal.
[0060] (2) Calculating fuzzy membership of all of the torque ripple signals acquired.
[0061] The fuzzy membership means mapping of the torque ripple signals of different faults to the same interval of [0, 1] to express the tendency of the torque ripple signals. The step (2) may include the specific steps as follows.
[0062] (2-1) Performing Fast Fourier Transform (FFT) separately on the torque pulsation signals under all fault to obtain the frequency spectrum of the torque signals.
[0063] (2-2) Calculating the fuzzy membership S(x) of the torque signals according to the following formula:
[0064] where z is the reciprocal of the square of the mean value of values of the spectral components of the torque ripple signals, and denoted as
ƒ.sub.j is the frequency value of the j-th frequency point on the spectrum, for j=1, 2, . . . , n, where n is the number of all frequency points on the spectrum, f is the frequency of the corresponding frequency spectrum of the torque signals in different fault states, and may be selected according to the following principles: selecting the highest value of the fundamental frequency for the signals in a normal state, and selecting the highest value of the high-frequency harmonic frequency for the signals in a demagnetization fault state.
[0065] (2-3) Substituting f and z into the membership calculation formula to obtain the fuzzy membership of all the torque signals as:
S(x)=[S.sub.1,S.sub.2, . . . ,S.sub.N]
[0066] where S.sub.i is the fuzzy membership corresponding to the i-th torque ripple signal, for i=1, 2, . . . , N.
[0067] (2-4) Normalizing all of the memberships:
[0068] where
[0069] (3) Decomposing and reconstructing the acquired torque ripple signals by using wavelet packet decomposition to obtain a series of wavelet packet coefficients.
[0070]
[0071] where d.sub.r+1.sup.2k(q) represents the wavelet packet coefficient sequence of the (2k)-th subband of the (r+1)-th layer, d.sub.r+1.sup.2k+1(q) represents the wavelet packet coefficient sequence of the (2k+1)-th subband of the (r+1)-th layer, where q represents its length, d.sub.r.sup.k(m) represents the wavelet packet coefficient sequence of the k-th subband of the r-th layer, where m represents its length, and h and g represent the low-pass filter coefficient and the high-pass filter coefficient of wavelet packet decompositions, respectively.
[0072] The recursive formula of wavelet packet reconstruction may be expressed as:
[0073] where
[0074] (4) Calculating the energy of the wavelet packet coefficients, constructing a feature vector sample set with fuzzy membership, and dividing it into a training set and a test set. The step (4) may include the specific steps as follows.
[0075] (4-1) Performing p-layer wavelet packet decomposition and reconstruction on the torque ripple signals, and performing energy calculation on the l-th group of the p-th layer of the reconstructed wavelet packet coefficients:
[0076] where E.sub.p,l represents the energy of the l-th group of the p-th layer of the reconstructed wavelet packet coefficients, d.sub.p.sup.l(b) represents the wavelet packet coefficient sequence of the l-th subband of the p-th layer, and b represents the length of the wavelet packet coefficient sequence;
[0077] and then the feature vector T of the torque ripple signals may be obtained as:
T=[E.sub.p,0,E.sub.p,1, . . . ,E.sub.p,2.sub.
[0078] (4-2) Normalizing T:
[0079] where E represents energy of the wavelet packet coefficients,
[0080] (4-3) Dividing the feature vector sample set with the fuzzy membership into the training set and the test set.
[0081] (5) Constructing a Fuzzy Extreme Learning Machine (FELM), and inputting the training set into the FELM for training.
[0082] The Fuzzy Extreme Learning Machine (FELM) may be constructed by integrating fuzzy theory into the Extreme Learning Machine (ELM) to fuzzify the input samples. The ELM may be a single-hidden-layer feedforward neural network, as illustrated in
[0083] The specific process of constructing the Fuzzy Extreme Learning Machine (FELM) is described below.
[0084] (5-1) for a single-hidden-layer feedforward neural network with u input nodes, L hidden layer nodes, and v output layer nodes, assuming that there are M samples {(X.sub.1,Y.sub.1)(X.sub.2,Y.sub.2), . . . (X.sub.M,Y.sub.M)}, X.sub.τ is the τ-th sample, Y.sub.τ is a label corresponding to the sample X.sub.τ, for τ=1, 2, . . . , M, and an output y.sub.τ of the τ-th sample of the neural network is calculated by:
[0085] where β.sub.μ is an weight vector from neurons of a μ-th hidden layer to an output layer, W.sub.μ is an weight vector from an input layer to neurons of the μ-th hidden layer, b.sub.μ is a bias of neurons of the μ-th hidden layer, for μ=1, 2, . . . , L, G is an activation function, and W.sub.μ.Math.X.sub.τ represents an inner product of W.sub.μ and X.sub.τ;
[0086] (5-2) For each sample X.sub.τ, minimizing the output error of the network, namely:
[0087] and therefore, in order to minimize the total output error, the objective function of the neural network may be expressed as:
[0088] (5-3) Transforming the above formula into:
Hβ=O
[0089] where H is the output matrix of the hidden layer, β is the weight matrix from the hidden layer to the output layer, and O is the expected output, and:
[0090] where β′.sub.L represents a transposed matrix of β.sub.L, and y′.sub.M represents a transposed matrix of y.sub.M.
[0091] (5-4) since W.sub.μ and b.sub.μ are randomly initialized and fixed by ELM, determining uniquely an optimal solution {circumflex over (β)} of β as:
{circumflex over (β)}=H.sup.+O
[0092] where H.sup.+ is a generalized inverse of H.
[0093] (5-5) Solving the above formulae to obtain:
[0094] where H′ represents a transposed matrix of H, and C represents a penalty factor.
[0095] (5-6) Determining the β solution goal after Fuzzy Theory integration as:
[0096] (6) Inputting the test set into the trained FELM, and calculating the classification accuracy.
[0097] The classification accuracy CA may be defined as:
[0098] where {circumflex over (t)}.sub.ρ, is the label predicted from the ρ-th sample x.sub.ρ when FELM is used to perform fault diagnosis, t.sub.ρ is the true label of x.sub.ρ, for ρ=1, 2, . . . , P, where P is the total number of diagnostic samples; when {circumflex over (t)}.sub.ρ is equal to t.sub.ρ, {circumflex over (t)}.sub.ρ==t.sub.ρ is 1; when {circumflex over (t)}.sub.ρ is not equal to t.sub.ρ, {circumflex over (t)}.sub.ρ==t.sub.ρ is 0; and
represents the number of correct diagnoses.
[0099] In order to verify the effectiveness of the disclosure, three types of diagnostic methods including Support Vector Machine (SVM), BP Neural Network and ELM are selected for comparison tests. The fault torque pulsation signals at the rated speed of the PMSM may be selected as the test data. The degree of fault demagnetization may include normal state, 25% demagnetization and 50% demagnetization, and the respective fuzzy memberships are calculated. The torque signals may be decomposed in three layers through the wavelet packet decomposition, and eight wavelet packet decomposition coefficients of each torque signal sample are obtained, and the calculation may be performed to obtain energy feature sets. These feature sets are used in the diagnosis method to obtain the diagnosis accuracy. The experimental results are illustrated in
[0100] To sum up, the PMSM demagnetization fault diagnosis method based on fuzzy intelligent learning of torque signals of the disclosure combines Fuzzy Theory with an Extreme Learning Machine, and is capable of solving the problems of imbalance and irregularity of samples by calculating the membership of the PMSM demagnetization fault torque signals, thereby speeding up the diagnosis process. Subsequently, the energy features of the samples are extracted through wavelet packet decomposition and reconstruction, which improves the accuracy of demagnetization fault diagnosis.