1. Introduction
PMSMs are crucial electromechanical energy converters that play a significant role in diverse industrial applications due to their performance advantages, including light weight, reliable operation, low noise and high efficiency [
1,
2,
3,
4]. Typical applications in automated production lines include packaging machines, drilling machines, cutting machines, and injection moulding machines. In these applications, PMSMs drive loads with high inertia and start frequently [
5]. Due to the manufacturing defects and the effects of wear, deformation and corrosion that occur during operation, the performance of the PMSM will gradually decline as component performance deteriorates, which can trigger safety hazards, and in severe cases even downtime accidents [
6,
7], resulting in significant economic losses [
8,
9,
10,
11]. Therefore, accurate motor fault diagnosis algorithms are crucial.
In the feature extraction stage of traditional motor fault diagnosis research, signal processing methods, including time-domain [
12,
13,
14], frequency domain [
5,
15,
16,
17,
18], and time–frequency domain [
19,
20,
21,
22,
23], are commonly employed to analyze the measured signals and extract fault features associated with different states. However, the above methods often have problems of low fault diagnosis accuracy and a wide range of applications, and the related research has the limitation of extracting the detailed features of the signals in a single dimension only. However, the motor operating state signals can be converted into two-dimensional or high-dimensional space to comprehensively display the implied multi-dimensional information through multi-dimensional data fusion and high-dimensional visual knowledge methods [
24].
The grayscale map coding method, while capable of partially reflecting the characteristics of vibration signals, suffers from the loss of temporal information during the coding process, leading to an absence of crucial fault characteristics. Gramian angular field (GAF) can convert the sequence signal into a 2D image, which overcomes the deficiency of missing information from gray-scale map coding, and provides a complete mapping of the signal through different features, such as colors, dots, and lines at the corresponding positions [
25,
26]. GAF image coding, Extreme Learning Machine (ELM), and Convolutional Neural Network (CNN) were combined to further improve the accuracy and diagnosis speed of fault classification [
27]. To address the complexity of the conventional neural network structure in bearing fault diagnosis, using the construction of GAF feature maps and efficient channel attention optimization, a lightweight neural network fault diagnosis method was proposed., which achieves higher diagnostic accuracy with less parameter computation [
28]. Although the above work has demonstrated diagnostic capabilities, these signal-to-image techniques are all used with a single sensor, ignoring the fusion of information from multiple sensors. It is important to recognize that single signals are more susceptible to environmental interference compared to multi-sensor signals.
In the pursuit of more accurate and stable diagnostic performance, researchers have sought to enhance their methods by combining signals from multiple sensors. Ribeiro et al. [
29] employed accelerometers in two different directions to detect and diagnose six distinct types of motor faults. Their results indicate that the proposed architecture offers good accuracy in multi-sensor fault detection based on vibration time series. Gu et al. [
30] proposed a correlation adaptive weighting method to integrate the collected multi-source homogeneous sensor information into multi-source heterogeneous sensor information through data layer fusion. 1D-CNN is used for feature extraction, feature layer fusion, and fault classification, and the results achieved a high fault diagnosis accuracy. Peng et al. [
31] devised a motor fault diagnosis method based on a deep residual neural network (DRNN) and data fusion. Initially, they extracted time and frequency domain features from the original signal using a short-time Fourier transform (STFT) layer. Subsequently, they employed a deep residual network for feature fusion, enabling fault diagnosis via a classifier. Their method excelled in feature learning, model training, noise immunity, fault tolerance, and fault diagnosis. Yin et al. [
32] proposed a fault diagnosis method combining ResNet and multi-sensor data fusion by using Fast Fourier Transform (FFT) to convert sensor data from the time-domain to the frequency domain, and by training the ResNet model for fault diagnosis and classification. However, certain challenges persist in these methods: (1) Some approaches process raw signals in the frequency and time–frequency domains, which increases fault diagnosis time and demands significant computational resources. (2) These methods transform the signal from each sensor into an image individually, leading to an increased workload during later image feature extraction and classification.
Image feature extraction methods primarily rely on artificial techniques to extract features from the underlying and middle layers by considering the various features of the image locally or globally, according to its texture, shape spatial structure and other information to carry out feature extraction. The acquired features have the advantage of strong interpretability, among which representative feature extraction methods include Tamura texture features and local binary pattern (LBP), etc. They are often applied to image scene classification. The texture is a common but difficult-to-describe feature in images, which can be regarded as an attribute displaying the pixel’s spatial distribution in the image. It is often shown as locally irregular but macroscopically regular. The traditional texture feature extraction scale is relatively single. The limited information obtained from the acquired images necessitates a description of how texture primitives are combined and arranged across multiple scales. This approach enables a more comprehensive capture of the image’s structural features and its detailed information, highlighting the unique characteristics of the image across varying scales [
33].
Machine learning has become a popular technique and has been widely used in the field of motor fault detection [
34]. The extracted fault features are employed in the pattern recognition stage to train machine learning models, including support vector machines, artificial neural networks, and extreme learning machines [
35]. The Random Forest (RF) algorithm has a strong advantage due to its stability and resistance to overfitting. RF has a great advantage in dealing with high-dimensional data and is highly adaptable to the dataset. Secondly, RF has the advantage of fast training speed. However, the main application of RF algorithms is fault detection in induction motors and is rarely applied to PMSM fault classification.
To enhance the diagnostic method’s robustness in noisy environments and mitigate the risk of overfitting, we propose a PMSM fault diagnosis method based on the fusion of image features from multiple sensors. Firstly, the vibration acceleration signals of the PMSM at different positions under different speed and load conditions are acquired. Then, the newly designed multi-signal Gramian Angular Difference Fields (MGADF) method fuses the sensor signals from three different mounting positions into a single image, with each signal assigned to one RGB channel. Next, Tamura, HOG texture features and LBP features are fused to extract the features of the image. The effectiveness of the method is verified by experimental analysis. Multiple machine learning models are compared on fault feature learning and classification, and the results show that the diagnostic method has good performance and robustness, with excellent performance even in noisy environments. The rest of the paper is organized as follows. The theoretical background is described in
Section 2. The presented method is described in
Section 3. The framework of the fault diagnosis method is explained in
Section 4.
Section 5 explains the experiments and verifies the superiority of the proposed method by comparing it with other algorithms. Finally, the main conclusions are shown in
Section 6 4. Fault Diagnosis Framework
The general framework of the proposed method is shown in
Figure 6 and described in detail as follows.
Step 1: Obtain Acquire time series data of PMSMs for different fault types. Measure the axial, radial and seat vibration signals of the motor in different states at different speeds and load conditions.
Step 2: Compute the Gramian matrix for each of the three signals, corresponding to the individual RGB channels, for the MGADF image transformation.
Step 3: The features of the image are solved by Tamura-HOG-LBP features.
Step 4: PCA feature space dimensionality reduction is performed on the solved features.
Step 5: The number of decision trees b and minimum leaf point tree number m under optimal solution conditions are satisfied by the DBO algorithm and fed into the RF classifier.
Step 6: Learn and generate an RF classifier to classify and identify the input features.
The length of the dataset to be coded is usually 2n, e.g., 64, 128, 256, and 512. As shown in
Figure 7, the average accuracy of coding with MGADF for different data lengths is highest when the data length reaches 256. Accuracy declines after 256 bits of data are used. The data length in the following text is 256 because each pixel in the feature map created by the encoding at this point has been compressed and does not accurately represent the features of the original data.
5. Experimental Design
The performance of PMSMs gradually degrades as the components’ performance deteriorates, which can lead to safety hazards and, in severe cases, result in downtime accidents, causing substantial economic losses. The common types of faults in PMSM are mechanical failure, winding short circuit and demagnetization faults, etc., among which the fault characteristics of inter-turn short circuit faults, local demagnetization faults, and eccentricity faults are more similar. There has been limited research on differentiating between the three types of faults mentioned above. Therefore, this paper focuses on investigating these three fault types.
To verify the reasonableness of the proposed method in practical applications, a PMSM fault simulation platform is constructed, as shown in
Figure 8. In the experiment, the proposed algorithm is tested on a PMSM with pre-configured faults. The main components of the experimental platform include: the PMSM to be tested, load motor, encoder, touch screen, Digital Signal Processor (DSP), personal computer (PC), direct-current power supply (DC power supply), and so on. The parameters of the PMSM to be tested are shown in
Table 1, and the radial vibration data were measured, including four states (healthy state and three types of vibration signals with similar time-domain characteristics of faults): (1) Healthy Condition (HC); (2) Inter-turn Short circuit Fault (ITSF); (3) Local Demagnetization Fault (LDF); (4) Eccentricity Fault (EF). The details of the fault preset are shown in
Figure 9. For the ITSF, an internal short circuit fault is simulated where the PMSM is rewound and connectors are led on 1–30% of the total number of coils in the u, v and w phase windings to an external junction box. By connecting the terminals of the junction box, ITSC faults with different numbers of turns short-circuited can be simulated on the PMSM. The experiment simulates the 20% short-circuited state of the u-phase winding; for the LDF, when a single permanent magnet is being magnetized, one of them is controlled to be magnetized up to 70% of the nominal magnetic density, and 30% of the local demagnetization is simulated; for the EF, the rotary eccentric device is designed by rotating the eccentric device of the two ends of the PMSM to achieve the adjustment of static eccentricity. The corresponding relationship between the rotation angle and the static eccentricity is
, where
is the static eccentricity, and
is the angle of the eccentric device, which is set to 20° during the experiment. The sampling frequency of these data is 10 kHz. Each sample contains 2k points. The acceleration sensor parameters are shown in
Table 2.
The number of specimens for each working condition is described in
Table 3. The speeds are 1000, 1500 and 2000 r/min, and the loads are no load, half load and rated load, which are a total of nine working conditions to construct the dataset. Based on the experimental setup, there are 400 samples for each working condition. Each sample comprises signals from three different positions of the vibration sensors, and the samples in the dataset are randomly selected. Each data subset is divided into three parts for training, validation and testing, with each part being 60%, 20% and 20%, respectively.
7. Conclusions
To tackle the challenges associated with the reliability and stability of fault diagnosis methods in industrial manufacturing PMSMs, a fault diagnosis method based on multi-sensor fusion of image features is proposed. For different types of motor faults, vibration acceleration signals of the PMSM under varying speed and load conditions were collected by sensors placed at different positions. The Gramian matrix is solved separately and the red, green and blue channels are injected to synthesise the final MSDP image. Based on the extraction of image feature vectors through the fusion of Tamura-HOG-LBP texture features, several machine learning methods are compared for the tasks of fault feature learning and classification. The results show that the proposed diagnostic method has the best diagnostic accuracy and robustness, with an average diagnostic accuracy of 99.54%. This technique maximizes the utilization of data collected in industrial settings and enhances its robustness against various environmental conditions by amalgamating multiple sensor signals into an input image. It exhibits outstanding performance, even in noisy environments. The method is non-intrusive and can be extended to condition monitoring and diagnosis of industrial motors, offering prospects for practical industrial applications in motor fault diagnosis. In future work, improvements will be made in the following two areas for better industrial applications. (1) Since PMSMs can encounter load or speed variations during operation, while this paper primarily examines scenarios with constant load and speed, the accuracy of the proposed method may be impacted when applied to situations with load or speed fluctuations. Future research will delve into fault diagnosis for PMSMs in transient load or speed change scenarios. (2) In this study, vibration signals are employed for fusion in fault diagnosis. In the future, the fusion of current, vibration, and temperature signals will be explored to achieve enhanced fault diagnosis capabilities.