A bearing fault diagnosis method for a permanent magnet synchronous motor based on a stator current signal
By using phase calibration and data enhancement based on stator current signals, combined with color symmetric dot plots and 2D convolutional neural networks, efficient and accurate fault diagnosis of permanent magnet synchronous motor bearings without the need for additional sensors is achieved, solving the problem of limited vibration signal diagnosis and expanding the application scope.
Patent Information
- Application Number
- CN202311641456.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-12-04
AI Technical Summary
In some engineering scenarios, vibration signal fault diagnosis methods are limited by environment, space, or weight, making it difficult to deploy additional sensors, increasing costs, and affecting diagnostic accuracy due to noise and interference, making it difficult to optimize fault diagnosis results.
A fault diagnosis method for permanent magnet synchronous motor bearings based on stator current signals is adopted. By collecting stator current signals, performing phase calibration and data enhancement, generating a color symmetrical point map, and using a 2D convolutional neural network for pattern recognition, fault diagnosis is achieved.
It eliminates the need for additional sensors, reduces costs, improves robustness and diagnostic accuracy, expands the scope of applications, enhances fault sensitivity features, and improves model generalization ability.
Smart Images

Figure CN117763442B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of bearing fault diagnosis, specifically to a method for diagnosing bearing faults in permanent magnet synchronous motors based on stator current signals. Background Technology
[0002] Bearings are among the most critical components in electrically driven rotating machinery, supporting the shaft and maintaining rotational accuracy. In engineering applications, due to harsh environmental conditions, bearing performance degradation is inevitable, posing a threat to operational safety and potentially leading to serious accidents. Therefore, fault diagnosis of motor bearings is necessary and crucial to ensure the safe and stable operation of the motor. The most widely used method for bearing fault diagnosis is multi-domain analysis based on vibration signals, acquired by additional vibration sensors. However, in certain engineering scenarios, limitations imposed by environmental conditions, space or weight constraints, and cost factors—such as the explosive and flammable environments of coal mines or the weight limitations of aircraft or spacecraft—make it difficult to deploy additional vibration sensors. Although vibration-based fault diagnosis boasts high accuracy, it also has some significant drawbacks: First, the vibration signal acquisition system, including sensors, data acquisition equipment, and their power supply, consumes additional space and costs, which is unacceptable in certain situations. Second, vibration signals are frequently affected by random noise, electromagnetic interference, or vibrations caused by coupled systems, reducing the accuracy of fault diagnosis. Finally, the placement of vibration sensors directly affects the results of fault diagnosis, and it is difficult to optimize equipment without pre-installed sensors. Summary of the Invention
[0003] The purpose of this invention is to provide a fault diagnosis method for permanent magnet synchronous motor bearings based on stator current signals. Compared with fault diagnosis based on vibration signals, this method does not require additional sensor deployment, effectively reduces costs, improves robustness and reliability, and expands the application scope of fault diagnosis.
[0004] The technical solution adopted in this invention is: a method for diagnosing bearing faults in a permanent magnet synchronous motor based on stator current signals, comprising the following steps: S1: Collect the stator current signal during the operation of the permanent magnet synchronous motor, divide the stator current signal into a training set and a test set, perform phase calibration on the training set and the test set to align the phase of the stator current signal, and use the calibrated training set as the seed signal; S2: Based on the internal and external influencing factors affecting the stator current, data augmentation is performed on the seed signal to complete the sample amplification of the training set; S3: Perform difference calculation on the training set obtained in step S2 and the test set obtained in step S1, obtain the residual signals of the calibrated training set and test set, and remove the common components in the signals. S4: Input the residual signal obtained in step S3 into the symmetric dot plot model to obtain the symmetric dot plot corresponding to the residual signal, and combine it with the color parameters to generate the color symmetric dot plots of the test set and the training set. S5: Input the color symmetric dot map of the training set obtained in step S4 into the 2D convolutional neural network model for training, perform pattern recognition on the color symmetric dot map of the training set, and output the fault diagnosis prediction result; the color symmetric dot map of the test set is used to verify the model performance of the trained 2D convolutional neural network model.
[0005] Furthermore, the specific steps of step S1 are as follows: S101: Reference signal for selected current; S102: Calculate the current signals in the training and test sets. Cross-correlation function with reference signal; S103: Multiply the time corresponding to the maximum value of the cross-correlation function by the sampling frequency of the current signal to obtain the current signal. The corresponding number of time-shifted data points M, and the current signal based on the number of time-shifted data points M. Phase alignment is performed when the reference signal lags behind the current signal. At that time, the current signal Shift M data points to the right and remove the first M elements of the reference signal; when the reference signal leads the current signal. At that time, the current signal Move the data points M points to the left and remove the current signal. The first M elements; S104: Use the calibrated training set as the seed signal. The average current signal of all samples in the normal mode of the seed signal is used as the reference signal. .
[0006] Furthermore, the internal influencing factors in step S2 include proportional factors, and the external influencing factors include additional influencing factors. The specific steps of step S2 are as follows: S201: Calculate the scaling factor of the extended signal and seed signal. Each signal in the dataset is multiplied by a scaling factor to obtain an extended training set generated based on the scaling factor. The formula for calculating the proportionality coefficient is: ; in, This represents the scaling factor for the u-th extended signal. , This indicates the total number of signals that have been expanded by the scaling factor. The value of is even. Indicates the step size of the coefficient; , Let represent the current signal of the j-th sample in the i-th mode of the seed signal, i=1,2,3,…, p, j=1,2,3,…,q, p represents the total number of fault modes, and q represents the total number of samples in each fault mode; S202: Constructing a random additional coefficient sequence for the extended signal of additional influencing factors. , Indicates the first A sequence of random additional coefficients for an extended signal. , This indicates the total number of additional influencing factors that expand the signal; seed signals Each signal in the dataset is added to a random additional coefficient sequence to obtain an extended training set generated based on additional influencing factors. , The first A sequence of random additional coefficients for an extended signal The average value must be 1. The standard deviation is , No. A sequence of random additional coefficients for an extended signal The length of the current signal in the i-th mode of the seed signal is related to the j-th current signal. They have the same length; S203: Transmit seed signal Extended training set generated based on proportional factors and the extended training set generated based on additional influencing factors As the training set after sample amplification , , Indicates training set The current signal of the Jth sample in the i-th mode. .
[0007] Furthermore, the formulas for calculating the residual signals of the calibrated training and test sets are as follows: ; ; in, Indicates training set The residual signal of the J-th sample in the i-th mode. Indicates the first test set The residual signal of each test sample, Indicates the first test set The calibrated current signal of each test sample , This indicates the number of samples in the test set.
[0008] Furthermore, the calculation formulas for the shape parameters and color parameters in the color symmetrical point map in step S4 are as follows: ; ; ; ; ; in, Represents the residual signal The Middle Data points The polar radius in a symmetrical point diagram This represents the minimum value of the residual signal. This represents the maximum value of the residual signal. Represents the residual signal The Middle Data points The clockwise deflection angle in the symmetrical point diagram Indicates the rotation angle of a mirror image. Represents the residual signal The Middle Deflection angle gain at each data point Indicates the time delay factor. Indicates the deflection angle gain. Represents the residual signal The Middle Data points The counterclockwise deflection angle in the symmetrical point diagram Represents the residual signal The Middle Data points Color values in a symmetrical point map. Represents the residual signal The Middle Data points neighborhood standard deviation , Represents the neighborhood radius. Representing the neighborhood The Middle Data points, Representing the neighborhood The average value.
[0009] Furthermore, the 2D convolutional neural network model includes an input layer, a first convolutional layer, a first pooling layer, a second convolutional layer, a second pooling layer, a fully connected layer, and an output layer; The input to the input layer is the color symmetric point map obtained in step S4; The first and second convolutional layers are used to extract features from the color symmetric point map; The first and second pooling layers are used to resample the features extracted by the convolutional layers, saving computation and improving the network's generalization ability. The fully connected layer is used to map the distributed feature representations obtained by the convolutional and pooling layers to the sample labeling domain, providing conditions for the output layer to classify the mapped features; The output layer is a SoftMax classifier, used to output the probability of the fully connected layer feature values. The fault mode corresponding to the position of the maximum probability value is used as the fault diagnosis prediction result of the 2D convolutional neural network model. The probability is calculated using the following formula: ; in, Indicates the first Layer eigenvalues of fully connected layers The corresponding probability, This indicates the size of the feature map output by the fully connected layer. Indicates the first Layer Each fully connected layer feature value.
[0010] The beneficial effects of this invention are as follows: (1) Since the sinusoidal component dominates the stator current signal, but the sinusoidal component does not contribute much to fault diagnosis, this invention enhances the fault sensitivity characteristics by calculating the residual signal, thereby suppressing the influence of uncertain factors and significantly saving computational costs. (2) The present invention performs data augmentation on the training set based on the analysis of stator current influencing factors, which effectively improves the robustness of fault diagnosis and the generalization ability of the model neural network. (3) This invention proposes an improved symmetrical dot map with color information, which increases the dimension of the symmetrical dot map features and expands the representation of fault-sensitive information. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a flowchart of a method according to an embodiment of the present invention; Figure 2 A schematic diagram of the conventional symmetrical point plot (SDP) and the color-symmetrical point plot (color-SDP) corresponding to a sinusoidal signal; Figure 3 This is a schematic diagram of the structure of the 2D convolutional neural network model 2D-CNN in an embodiment of the present invention; Figure 4 This is a schematic diagram of the bearing and permanent magnet synchronous motor test bench in an embodiment of the present invention; Figure 5 These are schematic diagrams illustrating different bearing failures in embodiments of the present invention; Figure 6 This is a schematic diagram of the correlation function and signal calibration in an embodiment of the present invention; Figure 7 This is a schematic diagram of the original current signal and the calibration current signal in an embodiment of the present invention; Figure 8 This is a schematic diagram of the seed signal and the reference signal in an embodiment of the present invention; Figure 9 This is a schematic diagram illustrating data enhancement based on proportional factors and additional influencing factors in an embodiment of the present invention; Figure 10 This is a schematic diagram of the original current signal and the residual signal of the original current signal in an embodiment of the present invention; Figure 11 This is a schematic diagram of the seed signal and the residual signal of the seed signal in an embodiment of the present invention; Figure 12 This is a comparison diagram of extracting time-domain features from residual signals in an embodiment of the present invention; Figure 13 This is a comparison of the symmetric point map SDP and the color symmetric point map color-SDP corresponding to samples of different modes in this embodiment of the invention. Figure 14 This is a comparison chart of fault diagnosis accuracy under different parameters in the embodiments of the present invention; Figure 15 This is a fault diagnosis result diagram of a specific embodiment of the present invention. Detailed Implementation
[0013] To better understand the above-described objects, features, and advantages of the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Many specific details are set forth in the following description to provide a thorough understanding of the invention; however, the invention may be practiced in other ways different from those described herein, and therefore, the invention is not limited to the specific embodiments disclosed below.
[0014] Unless otherwise defined, the technical or scientific terms used herein shall have the ordinary meaning understood by one of ordinary skill in the art described herein. The terms “first,” “second,” and similar terms used in this patent application specification and claims do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an” or “a” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “connected” or “linked” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms “upper,” “lower,” “left,” “right,” etc., are used only to indicate relative positional relationships, which change accordingly when the absolute position of the described object changes.
[0015] like Figure 1 As shown, a method for diagnosing bearing faults in a permanent magnet synchronous motor based on stator current signals includes the following steps: S1: Acquire the stator current signal during the operation of the permanent magnet synchronous motor, and divide the stator current signal into a training set and a test set. Perform phase calibration on the training set and the test set to align the phase of the stator current signal, and use the calibrated training set as the seed signal. The specific steps are as follows: S101: The reference signal for the selected current, in this embodiment of the invention, is the current signal of the first sample in the first mode of the training set. As a reference signal; S102: Calculate the current signals in the training and test sets. Cross-correlation function with reference signal, current signal Including the current signal of the training set and the current signal of the test set The specific formula for calculating the cross-correlation function is as follows: ; in, Represents current signal move The cross-correlation value at each point, Represents current signal Length, Indicates the first reference signal The value of each data point Represents current signal The Middle The value of each data point Indicates the sampling frequency of the current signal. This indicates the time corresponding to the data sampled in the sample.
[0016] S103: The time corresponding to the maximum value of the cross-correlation function and current signal sampling frequency The product of the two signals yields the current signal. The corresponding number of time-shifted data points M, and the current signal based on the number of time-shifted data points M. Perform phase alignment; when the reference signal Lagging behind current signal ,Right now At that time, the current signal Shift the data points to the right by M points and remove the reference signal. The first M elements; when the reference signal Leading the current signal At that time, that is At that time, the current signal Move the data points M points to the left and remove the current signal. The first M elements; after current signal correction, all samples have the same phase and the sample length remains consistent.
[0017] S104: Use the calibrated training set as the seed signal. , The current signal of the j-th sample in the i-th mode of the seed signal is i=1,2,3,…,p,j=1,2,3,…,q, where p represents the total number of fault modes and q represents the total number of samples in each fault mode; and the average value of the current signals of all samples in the normal mode of the seed signal is used as the reference signal. In this embodiment of the invention, the normal mode is the first mode, i.e., i=1, therefore .
[0018] In practical applications, stator current signal acquisition is often random, making it difficult to guarantee phase consistency among different data samples. While phase consistency has little impact on diagnostic accuracy in traditional fault diagnosis methods, in this embodiment of the invention, since the color-SDP (color symmetric dot plot) is a polar coordinate representation of the time-domain signal, it does not capture phase differences. In this case, fault-sensitive information within the signal will be overwhelmed by phase differences, posing a significant challenge to pattern recognition. Therefore, current signal calibration is crucial in this embodiment of the invention.
[0019] S2: Based on the internal and external influencing factors affecting the stator current, data augmentation is performed on the seed signal to complete the sample amplification of the training set. The internal influencing factors include proportional factors, which are internal factors that directly cause changes in stator current, such as changes in ambient temperature, rotational speed or load, and power supply voltage. External influencing factors include additional influencing factors, such as electromagnetic interference or sensor measurement errors. The specific steps of data augmentation are as follows: S201: Calculate the scaling factor of the extended signal and seed signal. Each signal in the dataset is multiplied by a scaling factor to obtain an extended training set generated based on the scaling factor. The formula for calculating the proportionality coefficient is: ; in, This represents the scaling factor for the u-th extended signal. , This indicates the total number of signals that have been expanded by the scaling factor. The value of is even. Indicates the step size of the coefficient; , Let represent the current signal of the j-th sample in the i-th mode of the seed signal, i=1,2,3,…, p, j=1,2,3,…,q, where p represents the total number of fault modes and q represents the total number of samples in each fault mode.
[0020] S202: Constructing a random additional coefficient sequence for the extended signal of additional influencing factors. , Indicates the first A sequence of random additional coefficients for an extended signal. , This indicates the total number of additional influencing factors that expand the signal; seed signals Each signal in the dataset is added to a random additional coefficient sequence to obtain an extended training set generated based on additional influencing factors. , The first A sequence of random additional coefficients for an extended signal The average value must be 1. The standard deviation is , No. A sequence of random additional coefficients for an extended signal The length of the current signal in the i-th mode of the seed signal is related to the j-th current signal. They are the same length.
[0021] S203: Transmit seed signal Extended training set generated based on proportional factors and the extended training set generated based on additional influencing factors As the training set after sample amplification , , Indicates training set The current signal of the Jth sample in the i-th mode. .
[0022] Considering the diversity and complexity of operating conditions and environmental influences of rotating machinery, to improve the robustness of the embodiments of the present invention, the training set is expanded based on internal and external influencing factors. In step S1, the number of samples in the training set is... After data augmentation, the number of samples in the training set was increased to .
[0023] S3: Calculate the difference between the training set obtained in step S2 and the test set obtained in step S1 to obtain the residual signals of the calibrated training and test sets, and remove common components from the signals. Since all calibrated current signals have the same phase and frequency, the fault information is reflected in the difference between the current signal and the reference current signal. In this embodiment of the invention, the difference is defined as the calibrated residual signal. The amplitude of the calibrated residual signal is mainly determined by the degree of signal degradation, and the characteristics of the calibrated residual signal are determined by the signal mode.
[0024] The formulas for calculating the residual signals of the calibrated training and test sets are as follows: ; ; in, Indicates training set The residual signal of the J-th sample in the i-th mode. Indicates the first test set The residual signal of each test sample, Indicates the first test set The calibrated current signal of each test sample , This indicates the number of samples in the test set.
[0025] S4: Input the residual signal obtained in step S3 into the symmetric point map model to obtain the symmetric point map SDP corresponding to the residual signal, and combine it with the color parameters to generate the color symmetric point map color-SDP of the test set and the training set.
[0026] Symmetric dot plot SDP has wide applications in speech signal visualization. Unlike time-frequency images, symmetric dot plot SDP converts time-domain signals into polar coordinates. In signal processing, adding hysteresis often makes features more apparent. Therefore, in the process of drawing symmetric dot plot SDP, one-dimensional signals with different hysteresis are converted into two-dimensional petal-shaped images, and the shape of the petal-shaped images reveals the differences between different one-dimensional signals. To improve the effectiveness of symmetric dot plot SDP features, this embodiment of the invention adds a color factor as a new feature to the conventional symmetric dot plot SDP. Inspired by the fact that standard deviation is an effective indicator for outlier detection, the color factor in this embodiment is determined by the standard deviation of the neighborhood of a specific data point.
[0027] The formulas for calculating the shape and color parameters in the color-SDP color symmetry dot plot in step S4 are as follows: ; ; ; ; ; in, Represents the residual signal The Middle Data points The polar radius in a symmetrical point diagram This represents the minimum value of the residual signal. This represents the maximum value of the residual signal. Represents the residual signal The Middle Data points The clockwise deflection angle in the symmetrical point diagram In this embodiment of the invention, the rotation angle represents the angle of mirror symmetry. . Represents the residual signal The Middle Deflection angle gain at each data point Indicates the time delay factor. Indicates the deflection angle gain. Represents the residual signal The Middle Data points The counterclockwise deflection angle in the symmetrical point diagram Represents the residual signal The Middle Data points Color values in a symmetrical point map. Represents the residual signal The Middle Data points neighborhood standard deviation , Represents the neighborhood radius. Representing the neighborhood The Middle Data points, Representing the neighborhood The average value.
[0028] by Figure 2 The sinusoidal signal shown in (a) is For example, its corresponding conventional symmetric point diagram SDP is as follows: Figure 2 As shown in (b), the shape of the symmetric point plot SPD is determined by the deflection angle gain. Time delay factor and mirror symmetry rotation angle The decision is made. When the deflection angle gain is too large, some features will be superimposed. At the same time, if the deflection angle gain is set too large or too small, it will disrupt the symmetry of the symmetric point plot SPD, thus weakening the effectiveness of the features. Typically, the parameters of the symmetric point plot SPD are set as follows: , , It depends on the characteristics of the signal. A symmetrical dot plot (SPD) contains 6 petals, and the angle between any two petals is... Based on the newly added color information, the color-SDP of the sine signal is as follows: Figure 2 As shown in (c) in the figure.
[0029] S5: Input the color symmetric dot map of the training set obtained in step S4 into the 2D convolutional neural network model for training, perform pattern recognition on the color symmetric dot map of the training set, and output the fault diagnosis prediction result; the color symmetric dot map of the test set is used to verify the model performance of the trained 2D convolutional neural network model.
[0030] like Figure 3 As shown, the 2D convolutional neural network model 2D-CNN includes an input layer, a first convolutional layer, a first pooling layer, a second convolutional layer, a second pooling layer, a fully connected layer, and an output layer.
[0031] The input to the input layer is the color symmetric point map obtained in step S4.
[0032] The first and second convolutional layers are used to extract features from the color symmetric point map. Neurons in the convolutional layers are connected to the local receptive field of the previous layer through convolutional kernels. If the input is an input layer image, the first... The first layer Feature maps of each convolutional layer The expression is: .
[0033] If the input is a pooling layer feature map, the first... The first layer Feature maps of each convolutional layer The expression is: ; in, For the input layer image, For the first The first layer Pooling layer matrix of Zhang feature image, To obtain the first The first layer The convolution kernel matrix of the feature image. To obtain the first The first layer The bias of the feature image, * indicates convolution operation. The number of convolution kernels. This is the ReLU activation function.
[0034] The first and second pooling layers are used to resample the features extracted by the convolutional layers, saving computation and improving the network's generalization ability. Based on max pooling or average pooling strategies, the maximum or average value of each pooling region is calculated as the output of the pooling layer. (Feature map of the g-th pooling layer in layer h). The expression is: ; in, Indicates the first Layer The convolutional layer matrix of each feature map Let g be the weight of the g-th feature image in the h-th layer. For downsampling function, The number of feature images.
[0035] The fully connected layer is used to map the distributed feature representations obtained by the convolutional and pooling layers to the sample labeling domain, providing conditions for the output layer to classify the mapped features. Layer eigenvalues of fully connected layers The expression is: ; in, This represents the dimension of the input vector. This indicates the dimension of the output vector. It is the first The first in the layer The input and the first The connection weights between the outputs.
[0036] The output layer is a SoftMax classifier, used to output the probability of the fully connected layer feature values. The fault mode corresponding to the position of the maximum probability value is used as the fault diagnosis prediction result of the 2D convolutional neural network model. The probability is calculated using the following formula: ; ; in, Indicates the first Layer eigenvalues of fully connected layers The corresponding probability, This indicates the size of the feature map output by the fully connected layer. Indicates the first Layer Each fully connected layer feature value The size of the input feature map. The size of the convolution kernel. Zero padding is used at the boundary. The step size.
[0037] The embodiments of the present invention will be described below with reference to specific experimental data, using methods such as... Figure 4 The test bench shown was used for testing. Bearings with different degrees of damage were installed in the bearing testing module to generate experimental data. A LEM CKSR 15-NP type current sensor was used to measure the motor phase current, with a sampling rate of [missing information]. In this case, the rotational speed is 1500 rpm, the load torque is 0.7 Nm, and the radial force on the bearing test module is 1000 N.
[0038] The parameters of the permanent magnet synchronous motor used on the test bench are: rated torque of 1.35 Nm; rated speed... Rated current The number of pole pairs is 4.
[0039] The bearings used in the test bench were model 6203, manufactured by FAG, MTK, and IBU / IBB. In this embodiment of the invention, the bearing failure modes included inner ring failure and outer ring failure. The damage injection methods were artificial damage and real damage; therefore, the number of data sample modes was [number missing]. The modes and their abbreviations are: Normal (NM), Artificial Outer Ring Damage (AO), Artificial Inner Ring Damage (AI), True Outer Ring Damage (RO), and True Inner Ring Damage (RI). Bearings with different faults are as follows: Figure 5 As shown. For each mode, the number of original current signals used to generate training samples is... The number of test samples is .
[0040] In the embodiments of the present invention, , and Taking three current signals as an example, such as Figure 6 As shown, since the original signal length is 256,000, which is too long to display, only 2,000 data points are used to demonstrate the algorithm. The reference current signal is... ,exist Figure 6 The red curve represents this. For example... Figure 6 As shown in (1b), the position exponent of the maximum value of the cross-correlation function is ,and Figure 6 The phase differences in (1a) are almost identical. According to the strategy in the phase algorithm, for Current signal at each data point Move to the right, the calibrated current signal like Figure 6 As shown in (1c). Similarly, the original current signal Cross-correlation function and corresponding seed signal Each as Figure 6 (2a) Figure 6 (2b) and Figure 6 As shown in (2c).
[0041] For the test samples, also using As a reference current signal and Cross-correlation function such as Figure 6 As shown in (3b), after signal calibration, the calibrated test sample is obtained, and its phase is the same as that of all training data samples. like Figure 6 As shown in (3c).
[0042] Figure 7 The raw and calibrated current signals for all modes are shown and compared. The numbers in the middle of the graph represent the signal shift distance on the horizontal axis. From Figure 7 The comparison shows that the interference of phase randomness was eliminated after signal calibration. Figure 7 In (1a), (2a), (3a), and (4a), the 14 lines of different colors represent the raw data of 14 samples from four abnormal patterns. Figure 7 The 14 lines of different colors in (1b), (2b), (3b) and (4b) represent the phase-calibrated data of 14 samples in four abnormal modes.
[0043] The reference signal is calculated based on all seed signals of normal mode. , to obtain Figure 8 The baseline signal shown in (b) is .exist Figure 8 In (a) of the diagram, the lines of different colors represent the raw data of all samples in the normal mode after phase calibration. Figure 8 The blue line in (b) represents the obtained reference signal.
[0044] In this embodiment of the invention, taking , Expand each seed signal to The number of signals and the number of training samples were increased to [number]. For the proportionality coefficient, the step size of the coefficient change is... For sequences with additional coefficients, , Data augmentation significantly increased the number of training samples, with proportional augmentation and additional augmentation signals as shown below. Figure 9 (b) and Figure 9 As shown in (c), it is used for feature extraction and neural network training. Figure 9 The blue line in (a) represents a seed signal. Figure 9 The 10 different colored lines in (b) represent Figure 9 The seed signal in (a) is amplified by a scaling factor into 10 signals. Figure 9 The five different colored lines in (c) represent Figure 9 The seed signal in (a) is amplified into 5 signals by an additional coefficient sequence.
[0045] Because the residual signal removes the basic components, it can reveal fault-sensitive information better than the seed signal. For each mode, the 14 seed current signals and their residual signals are as follows: Figure 11 As shown. By Figure 11 As shown in (b), the residual signals of different modes are different from each other. The original current signal and its corresponding conventional residual signal are as follows: Figure 10 As shown, with Figure 10 Compared to the conventional residual signal, Figure 11 The residual signal after calibration is more stable in a specific mode and has advantages over the conventional residual signal.
[0046] Although different features can be observed from the residual signals of different modes, these residual signals of specific modes are unstable due to noise interference, which may lead to misclassification. Therefore, in order to improve the stability of features under a specific mode, it is necessary to extract features from the residual signal using a color-symmetric point map (color-SDP). In polar coordinates, the proposed color-symmetric point map (color-SDP) is determined by shape and color parameters. Whether for training or testing samples, the input to the color-SPD algorithm is the calibrated residual signal.
[0047] The residual signal is transformed into a symmetric dot plot (SDP) using the calculation formula in step S4. The shape of the symmetric dot plot SDP is determined by the deflection angle gain. Mirror symmetry rotation angle Time delay factor In this embodiment of the invention, it is decided that... , For vibration signals, the time delay factor The range of values is However, for high-sampling-rate current signals, a larger time delay factor can provide better morphological performance. Therefore, in this embodiment of the invention, the time delay factor is set to... .
[0048] Besides the shape of the symmetrical point map SDP, the color information in the color symmetrical point map color-SDP provides more information for pattern recognition. The color information is determined by the color-SDP algorithm, and in this embodiment of the invention, the neighborhood size is: .like Figure 12 As shown, compared to other features, standard deviation provides a larger inter-class distance.
[0049] To demonstrate the effectiveness of color-SDP for different pattern recognition methods and its improvement over traditional pattern recognition, symmetric point maps (SPDs) and color-SDPs were extracted from the 1st and 10th training samples of all patterns, resulting in the following: Figure 13 The comparison diagrams shown illustrate this. The shapes and colors of the color-SDP (color-symmetric point plots) extracted from the residual signals of different patterns are distinct, allowing for direct use in pattern recognition. Color-SDPs with the same pattern are almost identical, indicating that this feature is stable across different samples with the same pattern. The colors of the color-SDPs provide more effective information for pattern recognition, thereby improving the accuracy of fault diagnosis.
[0050] This invention utilizes color-SDP (color-symmetric point mapping) to train a 2D convolutional neural network model (2D-CNN) and identify patterns in test samples. For the 2D-CNN model, pattern recognition performance is affected by parameter settings; therefore, appropriate parameters need to be determined before training. Key parameters of the 2D-CNN model include: the size of the first convolutional layer. Size of the second convolutional layer Size of the first pooling layer Size of the second pooling layer Number of convolution kernels and step length The size of the first convolutional layer. Size of the second convolutional layer Size of the first pooling layer Size of the second pooling layer These are matrix parameters, selected from the parameter set. Specifically .in , ,therefore, The combination can be represented as , .gather The number of elements in is Meanwhile, from the convolution kernel parameter set Selected from , .
[0051] Figure 14 A comparison chart of fault diagnosis accuracy under different parameters. Figure 14 In the figure, (a) to (d) represent the step size. , , , The accuracy of fault diagnosis at that time. From Figure 14 It can be seen that when the step length Convolution kernel number At this point, the neural network performs optimally, and the size parameters of the convolutional and pooling layers have a relatively small impact on accuracy. To achieve optimal performance and efficiency, the input size in this embodiment of the invention is... The dimensions of the first convolutional layer C1 and the second convolutional layer C3 are The dimensions of the first pooling layer S2 and the second pooling layer S4 are The number of convolutional kernels in each convolutional layer is 16, and the stride of both the convolutional and pooling layers is 2.
[0052] The size of the input image is After processing by convolutional and pooling layers, the size is Finally, a fully connected layer and an output layer are used for classification, with ReLU as the activation function, max pooling as the pooling layer, and Softmax as the classifier. During the training of the 2D convolutional neural network model 2D-CNN, a stochastic momentum gradient descent strategy was employed, with a maximum of 200 training iterations and an initial learning rate of 0.001.
[0053] The fault diagnosis results of the test sample are as follows Figure 15 As shown, only one of the 30 tested samples was misdiagnosed, resulting in a diagnostic accuracy of 96.67%. The misclassified sample was the 17th test sample, where an artificial outer ring fault was identified as a genuine outer ring fault, but the fault mode was correctly identified.
[0054] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for fault diagnosis of bearings in a permanent magnet synchronous motor based on stator current signals, characterized in that, Includes the following steps: S1: Collect the stator current signal during the operation of the permanent magnet synchronous motor, divide the stator current signal into a training set and a test set, perform phase calibration on the training set and the test set to align the phase of the stator current signal, and use the calibrated training set as the seed signal; S2: Based on the internal and external influencing factors affecting the stator current, data augmentation is performed on the seed signal to complete the sample amplification of the training set; S3: Perform difference calculation on the training set obtained in step S2 and the test set obtained in step S1, obtain the residual signals of the calibrated training set and test set, and remove the common components in the signals. S4: Input the residual signal obtained in step S3 into the symmetric dot plot model to obtain the symmetric dot plot corresponding to the residual signal, and combine it with the color parameters to generate the color symmetric dot plots of the test set and the training set. S5: Input the color symmetric dot map of the training set obtained in step S4 into the 2D convolutional neural network model for training, perform pattern recognition on the color symmetric dot map of the training set, and output the fault diagnosis prediction result; the color symmetric dot map of the test set is used to verify the model performance of the trained 2D convolutional neural network model.
2. The method for fault diagnosis of permanent magnet synchronous motor bearings based on stator current signals according to claim 1, characterized in that, The specific steps of step S1 are as follows: S101: Reference signal for selected current; S102: Calculate the current signals in the training and test sets. Cross-correlation function with reference signal; S103: Multiply the time corresponding to the maximum value of the cross-correlation function by the sampling frequency of the current signal to obtain the current signal. The corresponding number of time-shifted data points M, and the current signal based on the number of time-shifted data points M. Phase alignment is performed when the reference signal lags behind the current signal. At that time, the current signal Shift M data points to the right and remove the first M elements of the reference signal; When the reference signal leads the current signal At that time, the current signal Move the data points M points to the left and remove the current signal. The first M elements; S104: Use the calibrated training set as the seed signal. The average current signal of all samples in the normal mode of the seed signal is used as the reference signal. .
3. The method for fault diagnosis of permanent magnet synchronous motor bearings based on stator current signals according to claim 2, characterized in that, The internal influencing factors in step S2 include proportional factors, and the external influencing factors include additional influencing factors. The specific steps of step S2 are as follows: S201: Calculate the scaling factor of the extended signal and seed signal. Each signal in the dataset is multiplied by a scaling factor to obtain an extended training set generated based on the scaling factor. The formula for calculating the proportionality coefficient is: ; in, This represents the scaling factor for the u-th extended signal. , This indicates the total number of signals that have been expanded by the scaling factor. The value of is even. Indicates the step size of the coefficient; , Let represent the current signal of the j-th sample in the i-th mode of the seed signal, i=1,2,3,…, p, j=1,2,3,…,q, p represents the total number of fault modes, and q represents the total number of samples in each fault mode; S202: Constructing a random additional coefficient sequence for the extended signal of additional influencing factors. , Indicates the first A sequence of random additional coefficients for an extended signal. , This indicates the total number of additional influencing factors that expand the signal; seed signals Each signal in the dataset is added to a random additional coefficient sequence to obtain an extended training set generated based on additional influencing factors. , The first A sequence of random additional coefficients for an extended signal The average value must be 1. The standard deviation is , No. A sequence of random additional coefficients for an extended signal The length of the current signal in the i-th mode of the seed signal is related to the j-th current signal. They have the same length; S203: Transmit seed signal Extended training set generated based on proportional factors and the extended training set generated based on additional influencing factors As the training set after sample amplification , , Indicates training set The current signal of the Jth sample in the i-th mode. .
4. The method for fault diagnosis of permanent magnet synchronous motor bearings based on stator current signals according to claim 3, characterized in that, The formulas for calculating the residual signals of the calibrated training and test sets are as follows: ; ; in, Indicates training set The residual signal of the J-th sample in the i-th mode. Indicates the first test set The residual signal of each test sample, Indicates the first test set The calibrated current signal of each test sample , This indicates the number of samples in the test set.
5. The method for fault diagnosis of permanent magnet synchronous motor bearings based on stator current signals according to claim 4, characterized in that, The formulas for calculating the shape and color parameters in the color symmetrical point map in step S4 are as follows: ; ; ; ; ; in, Represents the residual signal The Middle Data points The polar radius in a symmetrical point diagram This represents the minimum value of the residual signal. This represents the maximum value of the residual signal. Represents the residual signal The Middle Data points The clockwise deflection angle in the symmetrical point diagram Indicates the rotation angle of a mirror image. Represents the residual signal The Middle Deflection angle gain at each data point Indicates the time delay factor. Indicates the deflection angle gain. Represents the residual signal The Middle Data points The counterclockwise deflection angle in the symmetrical point diagram Represents the residual signal The Middle Data points Color values in a symmetrical point map. Represents the residual signal The Middle Data points neighborhood standard deviation , Represents the neighborhood radius. Representing the neighborhood The Middle Data points, Representing the neighborhood The average value.
6. The method for fault diagnosis of permanent magnet synchronous motor bearings based on stator current signals according to claim 5, characterized in that, The 2D convolutional neural network model includes an input layer, a first convolutional layer, a first pooling layer, a second convolutional layer, a second pooling layer, a fully connected layer, and an output layer. The input to the input layer is the color symmetric point map obtained in step S4; The first and second convolutional layers are used to extract features from the color symmetric point map; The first and second pooling layers are used to resample the features extracted by the convolutional layers, saving computation and improving the network's generalization ability. The fully connected layer is used to map the distributed feature representations obtained by the convolutional and pooling layers to the sample labeling domain, providing conditions for the output layer to classify the mapped features; The output layer is a SoftMax classifier, used to output the probability of the fully connected layer feature values. The fault mode corresponding to the position of the maximum probability value is used as the fault diagnosis prediction result of the 2D convolutional neural network model. The probability is calculated using the following formula: ; in, Indicates the first Layer eigenvalues of fully connected layers The corresponding probability, This indicates the size of the feature map output by the fully connected layer. Indicates the first Layer Each fully connected layer feature value.
