Abstract

To give timely and accurate diagnosis in the early stage of demagnetization failure for effective control and treatment, based on wavelet packet analysis, principal component analysis (PCA) dimensionality reduction, and least squares support vector machine(LSSVM), the extraction of features and the classification of demagnetization faults are completed. Since it is difficult to collect real data sets of demagnetization faults in practice, a two-dimensional finite element simulation model of permanent magnet synchronous motor (PMSM) under uniform demagnetization and partial demagnetization faults is established based on the Maxwell simulation platform. The wavelet packet analysis is used to extract the demagnetization feature of the A-phase current of the PMSM. Based on PCA dimensionality reduction, the dimensionality reduction of fault features is realized. The LSSVM is used to identify the fault and complete the fault classification. The simulation results show that the method has a high classification accuracy rate for demagnetization faults.

1. Introduction

At present, there are still many challenges to directly apply PMSM to mining machinery, especially shearer cutting transmission systems with high-end loads and large impacts. The risk of demagnetization of permanent magnets in PMSM is a common concern [1]. The shearer cutting transmission system has complex and changeable operating conditions such as large starting torque, strong vibration and shock, long operating time, and harsh heat dissipation conditions [2, 3], which will also lead to local demagnetization and irreversible demagnetization of the permanent magnets [1, 4]. After the motor is demagnetized, the vibration will increase and the performance will be degraded. In addition, after the permanent magnet demagnetization, the three-phase current of the PMSM will change. The demagnetization feature of permanent magnet can be extracted from the three-phase current and used for the early diagnosis of demagnetization fault. Corresponding measures can be taken to restore the magnetic properties of permanent magnets. At the same time, it can provide guidance for the subsequent application parameter setting of permanent magnet motor. Therefore, it is an important reality significance for protecting the motor to study the demagnetization fault monitoring method of the permanent magnet drive system in the shearer.

A group of scholars and institutions have carried out research on the demagnetization of PMSM. In order to diagnose motor demagnetization faults, researchers have studied the characteristics of demagnetization faults from different angles [57]. Urresty et al. [8] believe that when the motor is partially demagnetized, the copper loss will increase. The research of Ruoho et al. [9] showed that the PMSM is prone to demagnetization phenomenon due to the combined action of electrical, thermal, and mechanical stress and environmental problems. The output torque generated by the magnetic field is greatly reduced when the motor is demagnetized. Some scholars have also tested the back EMF, torque ripple, and zero-sequence voltage of the PMSM under the demagnetization fault [10, 11]. Zhu et al. [12] introduced the Vold-Kalman filter order to track the torque ripple of PMSM, extracted characteristic parameters. When a PMSM has demagnetization fault, the stator current of the motor will generate specific harmonics [13], but this method is difficult to distinguish from an eccentric fault. Espinosa et al. [14] used the Hilbert-Huang transform to perform steady-state and dynamic analysis of the stator current at low, medium, and high speed changes. Ebrahimi and Faiz [15] directly detected the torque signal and selected two indicators, the amplitude of the sideband component in frequency and the radius of gyration, to estimate the degree of demagnetization failure. Urresty et al. [16] analyzed the torque effect, using two self-mixing laser diodes to measure the displacement of the shaft. The degree of demagnetization can be judged according to the magnitude of the shaft displacement. Bisschop et al. [17] estimated the susceptibility of permanent magnets based on the actual measured current, voltage, and motor structure parameters to monitor the degree of demagnetization failure. Li et al. [18] proposed a new fault diagnosis method of rolling bearing based on wavelet packet analysis and deep forest algorithm. Xiong et al. [19] proposed a bearing fault diagnosis method based on wavelet packet transform and DRN lightweight variant multibranch depth residual network. Zhao et al. [20] proposed a fault diagnosis method based on wavelet packet distortion and convolutional neural networks. In order to improve the accuracy of engine valve clearance fault diagnosis, Kuai and Huang [21] proposed a fault identification algorithm based on wavelet packet decomposition and artificial neural network. Krichen et al. [22, 23] proposed a two-step analysis study dealing with both uniform and partial demagnetization and studied the combined static eccentricity and the partial demagnetization faults in a permanent magnet synchronous motor. Haddad et al. [24] used a two-dimensional finite element analysis to model and simulate machine tools in health and fault states and performed fast Fourier transform to obtain the spectrum of phase voltage or current signals, which was used as a detailed feature of the classifier for fault detection. Fitouri et al. [25] proposed an interturn fault detection technique based on fast Fourier transform analysis of stator current and electromagnetic torque. Zhang et al. [26] propose a new method for diagnosing mechanical unbalance faults in permanent magnet synchronous motors and eliminate the fundamental components of the motor current fast Fourier transform results by Parker vector. Song et al. [27] used fast Fourier transform spectrum analysis to detect the correlation frequency of bearing outer raceway faults. However, there are few researches on demagnetization fault diagnosis using wavelet packet.

Ishikawa and Igarashi [28] simulated a partial loss of field failure by cutting a single permanent magnet and replacing a part of the cut with a nonpermanent magnet material. Zhu et al. [29], based on the noise signal, proposed a method to detect the demagnetization of permanent magnets by means of neural network, so as to realize the detection of PMSM uniform demagnetization diagnosis. At present, most of the pattern recognition of loss-of-excitation faults is aimed at the classification between loss-of-excitation faults and other faults, and there are few studies on the judgment of partial and uniform loss of excitation of motors.

Therefore, the research on demagnetization faults of mining PMSM will be developed. To reduce the cost, the data used in the demagnetization failure research adopts the simulation data. The two-dimensional simulation model of PMSM under normal state, uniform demagnetization, and partial demagnetization fault types is established by using Maxwell, and the current changes of the motor under different demagnetization fault types are analyzed. Demagnetization characteristic quantities of different demagnetization fault types are characterized. Finally, the classification of demagnetization characteristic quantities under different demagnetization fault types is realized based on PCA dimensionality reduction and LSSVM.

2. Finite Element Model of Demagnetization Fault

The demagnetization failure of PMSM means that the motor has suffered irreversible damage. The study of different degaussing faults needs many sets of experimental equipment and the cost is huge. Therefore, this kind of research is generally based on simulation data. The finite element method based on Maxwell software is a good method to simulate demagnetization faults. It can handle various complex mechanical problems and obtain more accurate results. To simulate different types of demagnetization faults, the two-dimensional simulation models of PMSM under different types of demagnetization faults are established with the help of Ansys Maxwell software.

Based on Maxwell’s differential equation shown in equation (1), the electromagnetic field is analyzed by discrete finite element analysis and matrix solution, which has the advantages of high precision, convenient solution, and good convergence. where is the electrical displacement and is the charge density.

The following assumptions are made for the PMSM.

(1) The influence caused by the displacement current is ignored. (2) The eddy current effects in the iron core and armature windings are ignored, and the magnetic field is equivalent to a quasisteady field. (3) The influence of magnetic flux leakage at the end of the stator and rotor is not considered. (4) The material used in the motor is isotropic and uniformly distributed, ignoring the change of magnetic permeability with temperature.

The vector magnetic potential of the two-dimensional transient field solution domain of PMSM is represented by , and then, the field domain needs to satisfy the following boundary value problem. where is the conduction current density and and are the outer boundaries of the stator and rotor in the motor solution domain , respectively.

According to the shape and size of each component of the motor, the motor model is drawn by related engineering drawing software such as AutoCAD and imported into Maxwell software, and the required motor finite element model is generated by setting the excitation source, boundary conditions, meshing method, and solution method.

The parameters of the PMSM are listed in Table 1.

The model of the PMSM is shown in Figure 1.

Since the demagnetization fault is measured according to the coercive force value of the permanent magnets, in the uniform demagnetization fault model, the coercive force of all permanent magnets is reduced by 25% to simulate the uniform demagnetization fault at 25% demagnetization degree, as shown in Figure 2(a). Second, the 1/2 permanent magnets in the motor were replaced with air to simulate a partial demagnetization fault at 25% demagnetization degree, as shown in Figure 2(b). The red area represents the demagnetized permanent magnet.

The model is set to start running under constant torque load and 1330 V working voltage. The simulation time is 2 s, and the data after stable operation is taken for analysis. Figures 3 and 4 are the magnetic density diagram and the A-phase current diagram under the normal state, uniform demagnetization, and partial demagnetization, respectively.

Figure 3 shows that when the motor is uniformly demagnetized, the magnetic density decreases as a whole, and the color becomes lighter; when the motor is partially demagnetized, the color of the permanent magnet in the demagnetized part turns blue. When the motor is in a normal state, the motor stator current amplitude is about 260 A, and when the motor is demagnetized, the motor current amplitude increases to a certain extent. When the motor loses magnetism, specific harmonics will appear in the A-phase current of the motor, and the greater the degree of fault, the more obvious the harmonic content, but the proportion of the fault component harmonics is not large. The accuracy of fault diagnosis by the method of judging specific harmonic content is not high. Therefore, the demagnetization characteristic quantity is extracted from the A-phase current by wavelet packet analysis.

3. Demagnetization Fault Feature Extraction

To improve the signal processing accuracy and remove the influence of current amplitude, the signal is decomposed into each frequency band by wavelet packet analysis, and the energy value of each frequency band is calculated, and the eigenvector is obtained after normalization. Compared with wavelet transform, wavelet packet analysis can subdivide the high-frequency part and the low-frequency part more effectively, and the signal processing accuracy is higher.

3.1. Principle of Wavelet Packet Analysis

Based on wavelet packet analysis, the feature extraction of loss of magnetic field is carried out. The function satisfies

The relationship between and is as follows:

, ; wavelet packet analysis will decompose the arbitrary subspace expression as . The corresponding canonical orthonormal basis is . The variables and are scale parameters. is the th frequency band. is the frequency parameter. The wavelet packet coefficients can be solved according to

The decomposition process is shown in Figure 5.

The wavelet packet decomposition filter is and , where is related to and is related to the scale. The algorithm is

The reconstruction equation is

The signal sampling frequency is 1 kHz in the Maxwell simulation model. According to the sampling theorem, the maximum frequency is 500 Hz. Since the fault harmonic energy in the signal is much smaller than the fundamental frequency, to separate the fundamental frequency from the fault harmonic, 7-layer wavelet packet decomposition is performed on the A-phase current signal, and 27 sub-bands are obtained.

In order to better distinguish the energy between different fault states, the db6 wavelet basis is used, and the decomposition process is shown in Figure 6. Since there are many sub-bands after decomposition, only the sub-band signals of the first 12 dimensions are shown in the figure.

The energy value of the reconstructed signal is calculated according to

is the energy amplitude of each frequency band. is the value of each discrete point.

To avoid the interference caused by the change of energy amplitude of each frequency band under different working conditions, the energy value of each frequency band is normalized. The normalized energy value obtained is shown in Figure 7. Due to the large number of sub-bands obtained by wavelet packet decomposition, only the normalized energy values of the first nine sub-bands are shown. As can be seen from Figure 7, the energy contained in each frequency band under normal operation and global and local demagnetization is different, and the gap is obvious. The sub-band S7 contains the highest energy. The normalized energies of the three states are 56.35, 54.77, and 55.14, respectively. The energy difference of the three states in sub-band S4 is the most obvious, which is 5.048, 7.365, and 6.864, respectively. Therefore, it is feasible to extract the degaussing characteristic of A-phase current by wavelet packet analysis.

According to the relevant reference [30], the 10th and above harmonics in the current signal have small signal amplitudes, so the first 40-dimensional wavelet packet energy value is selected as the fault feature vector for subsequent fault classification.

4. Demagnetization Fault Diagnosis Method

SVM is a machine learning algorithm based on the principle of structural risk minimization, which realizes sample classification by solving the optimal hyperplane. It is widely used in regression problems and classification problems. LSSVM is an improved algorithm of SVM, which uses equality constraints instead of inequality constraints in SVM to solve the optimization problem into a linear equation, which greatly reduces the computational complexity. In order to identify the demagnetization fault type of PMSM according to the fault feature vector extracted above, the method of LSSVM is used to realize the discrimination of demagnetization fault type. The flowchart of LSSVM and SVM methods is shown as Figure 8.

4.1. Principle of SVM

For a training set with points , it can be binary classified by an optimal plane . Two other hyperplanes and are defined. Both and are parallel to , and the minimum distances from and to the two types of sample points are , respectively, as shown in Figure 9.

The no sample points that exist between and should be ensured, that is,

Equation (9) can be rewritten as

To maximize the classification interval 2/, the SVM learning task is used:

The corresponding Lagrangian function is where is the Lagrange multiplier.

For problems that are difficult to be classified by a linear hyperplane, a kernel function can be introduced to map the samples to a high-dimensional space, that is, , to make the problem linearly separable, as shown in Figure 10.

4.2. Principle of LSSVM

In LSSVM, the slack variable can take a negative value, and the optimization problem becomes where is the penalty factor, which represents the tolerance to wrong samples.

The Lagrangian function is

Let the partial derivatives of the above formula to , , and be equal to 0, that is,

Equation (15) is simplified as follows: where

Set , , and are eliminated, and the following equation can be obtained.

The inner product of the feature space is replaced by the kernel function .

The classification decision function is

The A-phase current data in three states of normal, uniform demagnetization, and partial demagnetization are collected. The demagnetization feature quantity is extracted.

Input is the first 40-dimensional wavelet packet energy value. There are 125 groups of samples in the three states, of which 100 groups are training samples and 25 groups are test samples. The specific distribution is shown in Figure 11. The output is the diagnostic result shown in Table 2. The previous 40-dimensional wavelet packet energy value was used as the fault feature vector, and the data set was established as shown in Table 2. The data set was divided into training set and test set. PCA replaces the original features with a smaller number of features. The new features are linear combinations of the old features. These linear combinations maximize the sample variance and make the new features as independent as possible. The specific steps are as follows: (1) the sample mean and standard deviation of each index are calculated. (2) The sample is standardized and its standardized matrix is calculated. (3) According to the obtained standardized matrix, the correlation coefficient matrix is calculated. (4) The eigenvalues are solved. The range of is determined according to the contribution rate of cumulative variance, and principal components are established. (5) The feature vector set of principal component whose feature contribution rate is greater than 95% is selected. After PCA dimensionality reduction of the data set, SVM or LSSVM was trained using the training set, and the trained SVM or LSSVM was used for fault diagnosis classification. The first 8-dimensional feature vectors of some samples are shown in Table 2. Groups 1 and 2 are eigenvectors under normal conditions. Groups 3-6 are eigenvectors under partial demagnetization faults. Groups 7-10 are eigenvectors under uniform demagnetization faults.

In order to improve the recognition accuracy, the energy value is reduced in dimension. The dimensionality reduction of the demagnetization feature can not only reflect the original data with low-dimensional data but also eliminate redundant data from the excessive demagnetization feature, reduce the calculation amount, improve the recognition rate, and make the subsequent classification results stable and effective.

PCA is a common method of data dimensionality reduction, which transforms the original data from -dimensional space to -dimensional linear space by solving the eigenvectors of the covariance matrix of the original data. The PCA method is used to reduce the dimensionality of the fault feature vector, and the first 5-dimensional data are selected for subsequent fault classification according to the principle that the sum of the contributions of the selected dimensional data is greater than 95%. The contribution of the first 5-dimensional data is shown in Figure 12.

In order to verify the advantages of the LSSVM, we also use the traditional SVM to classify the signal. SVM and LSSVM classification and recognition are performed on the data after PCA dimensionality reduction, respectively. The kernel functions are linear, polynomial, and radial basis kernel functions, respectively. The grid search method is used for the specific parameters in the model. The test results are shown in Tables 3 and 4. The results shows that the accuracy of classification and recognition with LSSVM and SVM is basically similar, and the accuracy of LSSVM method is slightly higher. At the same time, the accuracy of the radial basis kernel function is higher.

In order to further analyze the research results, the confusion matrix is obtained, as shown in Figure 13.

Therefore, the LSSVM is finally used to classify and test the data after wavelet packet decomposition and PCA dimension reduction, where and . The results show that the judgment error of the method proposed for the type of demagnetization fault does not exceed 10%, which shows that the method has a good effect on the classification of demagnetization faults. Compared with the accuracy of existing studies (MGWO-SVM/correct rate 96.5% [31], IPSO-LSSVM/correct rate 96.7% [32]), the LSSVM based on linear kernel function in this paper has a higher accuracy (98.67%) for the classification and diagnosis of permanent magnet demagnetization faults.

5. Conclusion

The two-dimensional simulation model of PMSM under normal state, uniform demagnetization, and partial demagnetization faults was established based on the Maxwell simulation platform by using the time-step finite element method. The A-phase current in the simulation process is collected and demagnetized by 7-layer wavelet packet decomposition to extract the demagnetization feature quantities that can characterize different demagnetization fault types. Finally, based on PCA dimensionality reduction and LSSVM, the classification of demagnetization feature quantities under different demagnetization fault types is realized. The research results show that the classification accuracy can reach more than 90%, which has important significance for the judgment of PMSM permanent magnet demagnetization fault types. The results show that the classification accuracy is high when the kernel function is linear. Compared with SVM, LSSVM has higher accuracy and is more suitable for classification diagnosis of demagnetization faults.

Data Availability

Some or all data generated or used during the study are available from the corresponding author by request.

Conflicts of Interest

The authors declare no conflict of interest.

Acknowledgments

This work is supported by the National Natural Science Foundation of China (Grant No. 52375250), the Basic Research Program of Xuzhou City (Grant No. KC22023), and the University Synergy Innovation Program of Anhui Province (Grant No. GXXT-2022-019).