Motor fault identification method based on vibration and current feature fusion, model training method, model training device, electronic equipment and medium
Through the fusion method of vibration and current features, fast Fourier transform and Hillbutt-Huang transform are used to extract features, and the neural network model is used for motor fault identification, which solves the problem of insufficient accuracy of traditional diagnostic methods in complex systems. Improves the accuracy and reliability of fault diagnosis.
Patent Information
- Application Number
- CN202410873017.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional motor fault diagnosis methods rely on professional knowledge and experience, making it difficult to accurately determine the fault mechanism of complex systems in a short time, and the reliability of fault diagnosis in complex equipment is insufficient.
A motor fault identification method based on the fusion of vibration and current features is adopted. By obtaining current signal and vibration signal data, fast Fourier transform and Hillbutt-Huang transform are used to extract spectrum and envelope spectrum features, and an improved convolutional neural network is used. and multi-layer perceptron models for fault identification.
It improves the accuracy and information resolution of motor fault diagnosis, enables timely detection of faults, and ensures the safe operation of the motor.
Smart Images

Figure CN118861884A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of motor fault identification, and in particular relates to a motor fault identification method based on the fusion of vibration and current characteristics, a model training method, a model training device, an electronic device and a medium. Background Art
[0002] In recent years, modern equipment has been developing towards complexity, speed and precision. As one of the core driving components of modern equipment, motor fault diagnosis, especially intelligent diagnosis, is of great significance. Traditional fault diagnosis methods require technicians to have rich professional knowledge and experience, and make judgments based on actual conditions. However, due to the closer correlation between current equipment and the existence of many random factors during the operation of equipment, the fault mechanism is often difficult to judge in a short time. The current use of a single theory and method for fault diagnosis of such complex systems is not credible enough. Summary of the invention
[0003] In order to solve the above problems, the present invention provides a motor fault identification method, a model training method, a model training device, an electronic device and a medium based on the fusion of vibration and current characteristics, which can effectively extract signal characteristics in the motor, improve information resolution, and improve fault diagnosis accuracy; it is conducive to timely discovering motor fault problems and providing guarantee for the safe operation of the motor.
[0004] In a first aspect, the present invention provides a method for training a motor fault identification model, comprising:
[0005] Acquire current signal data and vibration signal data of the target motor in the same time period under different operating conditions;
[0006] Generate a training sample data set according to the current signal data and the vibration signal data, wherein the training samples in the training sample data set include a plurality of current signal training samples, a plurality of vibration signal training samples and label data; the label data includes label data corresponding to each of the current signal training samples and label data corresponding to each of the vibration signal training samples;
[0007] Preprocessing each current signal training sample using the fast Fourier transform method to obtain a frequency spectrum feature training sample; preprocessing each vibration signal training sample using the Hilbourt-Huang transform method to obtain an envelope spectrum feature training sample;
[0008] The frequency spectrum feature training samples and envelope spectrum feature training samples of the same time period are simultaneously input into the motor fault recognition model to be trained to obtain the motor fault initial recognition model; wherein the motor fault recognition model includes an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used to perform feature fusion on the envelope spectrum signal and the frequency spectrum signal to obtain a fused feature vector; the multi-layer perceptron module is used to perform fault classification and recognition according to the fused feature vector to obtain a prediction result; wherein the prediction result characterizes the fault type of the target motor;
[0009] The network parameters of the motor fault initial identification model are iteratively adjusted according to the prediction results, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model.
[0010] In an optional implementation, the method of preprocessing each of the vibration signal training samples using the Hilbourt-Huang transform method to obtain an envelope spectrum feature training sample includes:
[0011] Performing empirical mode decomposition on the vibration signal in the vibration signal training sample to obtain a first modal feature component training sample, a second modal feature component training sample, and a third modal feature component training sample;
[0012] Superimposing the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample to obtain an analytical signal training sample;
[0013] The amplitude of the analytical signal training sample is obtained to obtain the envelope spectrum feature training sample.
[0014] In an optional implementation manner, the method of preprocessing each current signal training sample using a fast Fourier transform method to obtain a spectrum feature training sample includes:
[0015] Extracting multiple frequency components of the current signal in each of the current signal training samples using a fast Fourier transform method to obtain multiple frequency component training samples;
[0016] Extract features from multiple frequency component training samples according to predetermined fault indication information to obtain spectrum feature training samples; wherein the fault indication information at least includes static eccentricity fault current spectrum sideband information, dynamic eccentricity fault current spectrum sideband information, motor operating frequency rotation sideband information and rotor broken bar fault current spectrum sideband information;
[0017] The static eccentric fault current spectrum sideband information is expressed as f 1 Indicates that the f 1 It can be expressed as follows:
[0018] f 1 =RB×f r ±nf 0 ;
[0019] The dynamic eccentric fault current spectrum sideband information is expressed as f 2 Indicates that the f 2 It can be expressed as follows:
[0020] f 2 =(RB×f r ±nf 0 )±f r ;
[0021] The frequency conversion sideband information on both sides of the motor operating frequency is expressed by f 3 Indicates that the f 3 It can be expressed as follows:
[0022] f 3 =f 0 ±mf r ;
[0023] The rotor broken bar fault current spectrum sideband information is expressed as f 4 Indicates that the f 4 It can be expressed as follows:
[0024] f 4 =2sf 0 ;
[0025] Among them, RB is the number of rotor bars, f r is the motor frequency, f 0 is the operating frequency of the motor, n is an odd number, m is an even number; s is the slip rate.
[0026] In an optional embodiment, the improved convolutional neural network module is a dual-channel convolutional neural network, comprising a first convolutional layer, a first activation function layer, a first quasi-normalization layer, a first pooling layer, a second convolutional layer, a second activation function layer, a second quasi-normalization layer, a second pooling layer, a third convolutional layer, a third quasi-normalization layer, a third pooling layer, a fourth convolutional layer, a fourth activation function layer, a fourth quasi-normalization layer, a fully connected layer and a discard layer, which are connected in sequence; wherein the first convolutional layer, the second convolutional layer, the third convolutional layer and the fourth convolutional layer respectively use a 3×3 convolution kernel; the first activation function layer, the second activation function layer and the fourth activation function layer respectively use ReLU activation functions.
[0027] In an optional embodiment, the network parameters of the motor fault initial identification model are iteratively adjusted according to the prediction result, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model, including:
[0028] Input the prediction result and the number of labels into a target loss function, and output a loss value, wherein the target loss function includes a cross entropy loss function;
[0029] Calculate the gradient value of the loss value by back propagation algorithm;
[0030] Initialize the Adam optimizer; wherein, when initializing the learning rate, dynamically adjust the learning rate in the first 70% of the training cycles of one generation of training; and set the learning rate to 0.001 in the last 30% of the training cycles of one generation of training;
[0031] The gradient value is input into the Adam optimizer to update the network parameters of the motor fault initial identification model until the target loss function converges, and the model obtained when the target loss function converges is used as the motor fault identification model.
[0032] In an optional implementation manner, the fault type includes: one or more of normal, broken rotor bar fault, dynamic eccentricity fault, static eccentricity fault, bearing retainer fault, bearing inner ring fault, and bearing outer ring fault.
[0033] In a second aspect, the present invention provides a motor fault identification method based on the fusion of vibration and current characteristics, comprising:
[0034] Acquire current signal data and vibration signal data of the target motor in the same time period;
[0035] The current signal data and the vibration number are input into a motor fault identification model, and a prediction result is output; wherein the prediction result characterizes the fault type of the target motor; and the motor fault identification model is trained according to the training method of the motor fault identification model described in any one of the first aspects.
[0036] In a third aspect, the present invention provides a training device for a motor fault identification model, comprising:
[0037] A first acquisition module is used to acquire current signal data and vibration signal data of the target motor in the same time period under different operating conditions;
[0038] A training sample module, used to generate a training sample data set according to the current signal data and the vibration signal data, wherein the training samples in the training sample data set include a plurality of current signal training samples, a plurality of vibration signal training samples and label data; the label data includes label data corresponding to each of the current signal training samples and label data corresponding to each of the vibration signal training samples;
[0039] A preprocessing module, used to preprocess each current signal training sample using a fast Fourier transform method to obtain a frequency spectrum feature training sample; and to preprocess each vibration signal training sample using a Hilbout-Huang transform method to obtain an envelope spectrum feature training sample;
[0040] A training module, used for simultaneously inputting the frequency spectrum feature training samples and the envelope spectrum feature training samples of the same time period into the motor fault recognition model to be trained for training, so as to obtain the motor fault initial recognition model; wherein the motor fault recognition model comprises an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used for performing feature fusion on the envelope spectrum signal and the frequency spectrum signal to obtain a fused feature vector; the multi-layer perceptron module is used for performing fault classification and recognition according to the fused feature vector to obtain a prediction result; wherein the prediction result characterizes the fault type of the target motor;
[0041] An adjustment module is used to iteratively adjust the network parameters of the motor fault initial identification model according to the prediction result, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model.
[0042] In a fourth aspect, the present invention provides a motor fault identification device based on the fusion of vibration and current characteristics, comprising:
[0043] The second acquisition module is used to acquire the current signal data and the vibration signal data of the target motor in the same time period;
[0044] A fault diagnosis module is used to input the current signal data and the vibration number into a motor fault identification model and output a prediction result; wherein the prediction result characterizes the fault type of the target motor; and the motor fault identification model is trained according to the training method of the motor fault identification model described in the first aspect.
[0045] In a fifth aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the aforementioned implementations when executing the computer program.
[0046] In a sixth aspect, the present invention provides a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute the method described in any one of the aforementioned embodiments.
[0047] The technical solution provided by the embodiment of the present invention has the following beneficial effects: the motor fault identification method, model training method, model training device, electronic device and medium based on the fusion of vibration and current features of the present invention use Hilbert-Huang transform to extract the envelope spectrum of vibration signal data, and use fast Fourier transform to extract the spectrum of current signal data, so that the signal can be comprehensively analyzed from both the time domain and the time-frequency domain, and the feature coverage is more comprehensive; the motor fault identification model includes an improved convolutional neural network module and a multi-layer perceptron module, the improved convolutional neural network module can effectively capture data features, and the multi-layer perceptron module effectively makes up for the limitations of the improved convolutional neural network module, so that the network can comprehensively process and analyze features even when the data volume is small. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic flow chart of a method for training a motor fault identification model provided by an embodiment of the present invention;
[0049] Figure 2 A vibration waveform diagram and a current waveform diagram collected under a normal state of a target motor provided by an embodiment of the present invention;
[0050] Figure 3 A graph of characteristic components of each mode after the empirical mode decomposition provided by an embodiment of the present invention;
[0051] Figure 4 Characteristic spectrogram of vibration signal and current signal of the target motor under normal state provided by the embodiment of the present invention;
[0052] Figure 5 A schematic diagram of the splicing of vibration signal and current signal characteristics provided by an embodiment of the present invention;
[0053] Figure 6 A network architecture diagram of a motor fault identification model provided by an embodiment of the present invention;
[0054] Figure 7 A network structure diagram of an improved convolutional neural network provided by an embodiment of the present invention;
[0055] Figure 8 A schematic diagram of recognition accuracy provided by an embodiment of the present invention;
[0056] Fig. 9 A schematic flow chart of a motor fault identification method based on vibration and current feature fusion provided by an embodiment of the present invention;
[0057] Fig.10 A system schematic diagram of a training device for a motor fault identification model provided by an embodiment of the present invention;
[0058] Fig.11 A system schematic diagram of a motor fault identification device based on vibration and current feature fusion provided by an embodiment of the present invention;
[0059] Fig.12 A system schematic diagram of an electronic device provided by an embodiment of the present invention.
[0060] In the figure: 110 - first acquisition module; 120 - training sample set module; 130 - preprocessing module; 140 - training module; 150 - adjustment module; 210 - second acquisition module; 220 - fault diagnosis module; 400 - electronic device; 401 - communication interface; 402 - processor; 403 - memory; 404 - bus. DETAILED DESCRIPTION
[0061] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0062] Reference Figure 1 , a training method for a motor fault identification model includes steps S110 to S150.
[0063] Step S110, obtaining the current signal data and vibration signal data of the target motor in the same time period under different operating conditions. The current signal data is the working current signal of the motor, and the working current of the motor is measured using a current sensor. The vibration signal data is obtained by a vibration sensor, and the vibration sensor can be installed on the housing of the motor. The current signal data and the vibration signal data are collected synchronously to obtain the current signal data and the vibration signal data in the same time period.
[0064] Step S120, generating a training sample data set according to the current signal data and the vibration signal data, wherein the training samples in the training sample data set include multiple current signal training samples, multiple vibration signal training samples and label data; the label data includes label data corresponding to each current signal training sample and label data corresponding to each vibration signal training sample.
[0065] Specifically, the current signal data and vibration signal data under 10 operating conditions are collected, including normal operation, 1 broken rotor bar fault (Broken_RotorBar), 2 broken rotor bars fault, 3 broken rotor bars fault, 4 broken rotor bars fault, dynamic eccentricity fault (Dynamic_eccentricity), static eccentricity fault (Static_eccentricity), bearing cage fault (Bearing_cage), bearing inner ring fault (Bearing_innerring), and bearing outer ring fault (Bearing_outerring). Among them, the power supply frequency of the motor is 50Hz, 100% working condition (full load), and the actual speed is about 2870rpm; the current signal data and vibration signal data are synchronously sampled at a sampling frequency of 40960Hz to ensure that the synchronization accuracy is within 1 microsecond, so as to ensure high-precision synchronous reflection of the motor status. The sampled signals are preliminarily preprocessed, including cutting the vibration signal and the current signal into samples, removing invalid data in shutdown states, and finally obtaining the training sample data set. Figure 2 As shown, the current signal data and vibration signal data collected under the normal state of the target motor.
[0066] Step S130, using Fast Fourier Transform (FFT) to pre-process each current signal training sample to obtain a spectrum feature training sample; using Hibert-Huang Transform (HHT) to pre-process each vibration signal training sample to obtain an envelope spectrum feature training sample. Among them, the vibration waveform diagram and current waveform diagram under normal conditions, the current spectrum diagram extracted from the current signal and the vibration envelope spectrum diagram extracted from the vibration signal are as follows: Figure 4 shown.
[0067] This embodiment uses the fast Fourier transform method to preprocess each current signal training sample (i.e., feature extraction) to obtain a spectrum feature training sample. Here, since the current signal does not pass through a complex mechanical system transmission path and does not require envelope demodulation, the current signal is usually more stable than the vibration signal, and the main components in the spectrum are more obvious. The fast Fourier transform method can more quickly and efficiently extract the information of different frequency components in the current signal as the spectrum feature; the steps of using the fast Fourier transform method to extract features specifically include:
[0068] Extracting multiple frequency components of the current signal in each current signal training sample using a fast Fourier transform method to obtain multiple frequency component training samples;
[0069] According to the predetermined fault indication information, feature extraction is performed on multiple frequency component training samples to obtain spectrum feature training samples; wherein the fault indication information has good indication for the fault. The fault indication information of this embodiment at least includes static eccentricity fault current spectrum sideband information, dynamic eccentricity fault current spectrum sideband information, and frequency conversion sideband information on both sides of the motor operating frequency.
[0070] The static eccentric fault current spectrum has sideband information with the rotor bar passing frequency as the center and odd multiples of the power frequency. The sideband information of the static eccentric fault current spectrum is represented by f1, as shown in the following formula (1):
[0071] f 1 =RB×f r ±nf 0 , (1);
[0072] The dynamic eccentric fault current spectrum has sideband information centered on the rotor bar passing frequency and odd multiples of the power frequency. The sideband information of the dynamic eccentric fault current spectrum is expressed by f 2 It is expressed as shown in the following formula (2):
[0073] f 2 =(RB×f r ±nf 0 )±f r , (2);
[0074] There is frequency sideband information on both sides of the motor operating frequency. The frequency sideband information on both sides of the motor operating frequency is expressed by f 3 It is expressed as shown in the following formula (3):
[0075] f 3 =f 0 ±mf r , (3);
[0076] The sideband information of the rotor bar fault current spectrum is expressed as f 4 It means that the rotor broken bar fault current spectrum has a pole passing frequency 2sf centered on the motor operating frequency. 0 is the frequency component of the sideband, i.e. f 4 It is expressed by the following formula (4):
[0077] f 4 =2sf 0 , (4);
[0078] Among them, RB is the number of rotor bars, f r is the motor frequency, f 0 is the operating frequency of the motor, n is an odd number, m is an even number; s is the slip rate.
[0079] Furthermore, the Hilbout-Huang transform method is used to preprocess each vibration signal training sample (i.e., feature extraction) to obtain envelope spectrum feature training samples; the Hilbout-Huang transform method is more suitable for nonlinear and non-stationary signals and is more sensitive to vibration impact signals.
[0080] The Hilbert-Huang transform method of this embodiment includes two parts: Empirical Mode Decomposition (EMD) and Hilbert transform. The specific steps include:
[0081] Performing empirical mode decomposition on the vibration signal in the vibration signal training sample to obtain the decomposed modal characteristic components; taking the first three modal characteristic components (IMF components), namely, the first modal characteristic component training sample, the second modal characteristic component training sample and the third modal characteristic component training sample;
[0082] Superimposing the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample to obtain an analytical signal training sample;
[0083] The amplitude of the analytical signal training sample is obtained to obtain the envelope spectrum feature training sample.
[0084] The basic principle of empirical mode decomposition is to extract an eigenmode function with higher energy and narrower frequency band and a residual from the data, so that each eigenmode function satisfies the local characteristics of the data and can represent the original signal as a whole, as shown in the following formula (5):
[0085]
[0086] Among them, I(n) represents the original vibration signal, n represents the time independent variable, M represents the maximum number of IMF components that have a significant impact on the vibration signal characteristics, and m represents the mth IMF component that has a significant impact on the vibration signal characteristics.
[0087] This embodiment uses the Hilbert-Huang transform to extract the envelope spectrum features of the vibration signal. First, empirical mode decomposition is performed to obtain the decomposed modal feature components. The process of extracting IMF components is called screening. The decomposed modal feature components are as follows: Figure 3As shown, this embodiment selects the first three components that have a significant impact on the characteristics of the vibration signal, namely IMF1, IMF2 and IMF3. These three components already contain the most distinguishing and representative features, and at the same time take into account the moderate amount of calculation, which is suitable for real-time calculation, and superimposes the selected three IMFs as analytical signals. The amplitude of the filtered and superimposed analytical signal is obtained using the Hilbert transform to obtain the envelope spectrum of the signal, which is used as the characteristic of the vibration signal for fault diagnosis. This embodiment extracts the time-frequency domain characteristics of the vibration signal, which can well reflect the energy distribution and frequency changes of the vibration signal.
[0088] According to the data collection method and the characteristics of the data itself, this embodiment proposes a method of using the Hilbourt-Huang transform method and the fast Fourier transform method to process the vibration signal and the current signal respectively, so that the characteristics cover the time-frequency domain and the time domain, and the fault diagnosis is more comprehensive, accurate and reliable, providing a more effective analysis method for the health status of the motor.
[0089] Step S140, the frequency spectrum feature training samples and the envelope spectrum feature training samples of the same time period are simultaneously input into the motor fault recognition model to be trained to obtain the initial motor fault recognition model; wherein, the motor fault recognition model includes an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used to perform feature fusion on the envelope spectrum signal and the frequency spectrum signal to obtain a fused feature vector; the multi-layer perceptron module is used to perform fault classification and recognition according to the fused feature vector to obtain a prediction result; wherein, the prediction result characterizes the fault type of the target motor.
[0090] Specifically, the data in the spectrum feature training samples and envelope spectrum feature training samples of the same time period are subjected to exponential normalization, that is, the data size range is mapped to (0,1) using the logarithmic function normalization, and stored in a matrix form, for example, using the Hankel matrix (a matrix in which the elements on each sub-diagonal are equal) to obtain the first matrix data and the second matrix data; the first matrix data and the second matrix data are spliced row by row, and the spliced samples contain information at two levels, spectrum and time-frequency spectrum, forming a multi-level data structure as the input of the dual-channel neural network, which can better integrate features. Figure 5 The figure shows a schematic diagram of feature splicing. The spliced training samples are divided into a training sample data set and a test sample data set at a ratio of 7:3. The training sample data set is used to train the motor fault recognition model to be trained, and the test sample data set is used to test the trained model. The parameters of the model are adjusted according to the test results.
[0091] like Figure 7As shown, the improved convolutional neural network module is a dual-channel convolutional neural network, including a first convolutional layer, a first activation function layer, a first quasi-normalization layer, a first pooling layer, a second convolutional layer, a second activation function layer, a second quasi-normalization layer, a second pooling layer, a third convolutional layer, a third quasi-normalization layer, a third pooling layer, a fourth convolutional layer, a fourth activation function layer, a fourth quasi-normalization layer, a fully connected layer and a discard layer.
[0092] The specific network structure is as follows:
[0093] The first convolution layer includes 2 input channels and a 3×3 convolution kernel. The padding parameter of the first convolution layer is 1. The first activation function layer uses the ReLU activation function. The number of normalized channels in the first normalization layer is 32. The first pooling layer uses maximum pooling for downsampling.
[0094] The second convolution layer includes 32 input channels and a 3×3 convolution kernel, and the padding parameter of the second convolution layer is 1; the second activation function layer uses the ReLU activation function; the number of normalized channels of the second normalization layer is 64; the second pooling layer uses maximum pooling for downsampling;
[0095] The third convolution layer includes 64 input channels and a 3×3 convolution kernel. The padding parameter of the first convolution layer is 1. The number of normalized channels of the third normalization layer is 128. The third pooling layer uses maximum pooling for downsampling.
[0096] The fourth convolutional layer includes 128 input channels and a 3×3 convolution kernel, and the padding parameter of the first convolutional layer is 1; the fourth activation function layer uses the ReLU activation function; the number of normalized channels of the fourth normalization layer is 256; the number of input features of the fully connected layer is 256×91; the discard probability of the discard layer is 0.5%.
[0097] Among them, the number of input channels of each convolution layer is 2, 32, 64, and 128 respectively. The smaller number of channels at the beginning can help the network learn simpler and more basic features. As the number of layers increases, the number of channels is increased to improve the network's representation ability. The pooling layer adopts maximum pooling and downsampling. A quasi-normalization layer is set after each convolution layer. The first quasi-normalization layer, the second quasi-normalization layer, the third quasi-normalization layer, and the fourth quasi-normalization layer are used to normalize the feature signal output by the convolution layer to a signal with a mean of 0 and a variance of 1. That is, for each feature in each small batch training sample in the training sample data set, its mean μ is calculated. B and variance σ B 2 , for each feature x i , normalize it and get the normalized value in As shown in the following formula (6):
[0098]
[0099] Among them, ε is a very small number, usually around 10 -8 to 10 -5 To prevent the denominator from being 0. Scaling and offset are performed to obtain the final output value y i , as shown in the following formula (7):
[0100]
[0101] Here, γ and β are learnable parameters for scaling and offset, respectively.
[0102] This embodiment helps to reduce the problem of covariate shift within the network by normalizing the value of each feature to a distribution with a mean of 0 and a variance of 1.
[0103] The dropout layer is a discard layer. This embodiment introduces a dropout layer to make the network robust to input disturbances and prevent overfitting during training. The activation function of this embodiment uses the ReLU function and is only set in the first, second and fourth layers of the convolutional layer. While introducing some nonlinearity, it controls the complexity and computation of the network and improves the training efficiency.
[0104] In the structure of the above-mentioned improved convolutional neural network module, a four-layer convolutional neural network is selected, which has a moderate complexity compared to other deeper network structures, so that the lower-level convolutional layers learn prominent frequency components, while the higher-level convolutional layers learn more abstract and global features such as the change pattern of data features as a whole to achieve the effect of data fusion. This embodiment uses an improved neural network module as a fusion network to perform feature fusion on circuit signals and vibration signals. The overall structure of the four-layer dual-channel improved convolutional neural network module is relatively moderate in the number of parameters, and is neither too complex to cause overfitting nor too simple to cause underfitting, and can better balance model complexity and performance.
[0105] The multi-layer perceptron module of this embodiment uses a multi-layer perceptron module (MLP) to perform fault identification and classification on the fused features. The network structure of the multi-layer perceptron module includes a first fully connected layer, a hidden layer, a second fully connected layer, and an output layer.
[0106] Specifically, the number of output channels of the first fully connected layer is 512; the hidden layer activation function adopts the ReLU function (Linear rectification function, also known as rectified linear unit); the number of output channels of the second fully connected layer is 10; the output layer activation function adopts the Softmax function (normalized exponential function).
[0107] This embodiment uses a multi-layer perceptron to identify and classify the fused features. It uses two fully connected layers. This structure has a global receptive field. Each neuron is connected to all nodes in the previous layer, which makes up for the locality of the convolutional neural network, so that the network can fully process and analyze features even when the amount of data is small. The hidden layer activation function uses the ReLU function, and the output layer activation function uses the Softmax function, which is suitable for the multi-classification problem of motor faults in this embodiment.
[0108] The fault types in the prediction results include at least one or more of normal, rotor bar breakage, dynamic eccentricity, static eccentricity, bearing cage failure, bearing inner ring failure, and bearing outer ring failure. Among them, rotor bar breakage also includes 1 rotor bar breakage, 2 rotor bar breakage, 3 rotor bar breakage, and 4 rotor bar breakage.
[0109] Step S150, iteratively adjusting the network parameters of the initial motor fault identification model according to the prediction results, label data, target loss function and optimizer to obtain a trained motor fault identification model.
[0110] Use the loss function and optimizer to adjust the parameters of the model. The specific steps are:
[0111] The prediction results and the number of labels are input into the target loss function, and the loss value is output. The target loss function uses the cross entropy loss function (Cross Entropy Loss); the cross entropy loss function combines the LogSoftmax (a function obtained by taking the logarithm of the result output by the Softmax function) operation and NLLLoss (Negative Log Likelihood Loss), converts the original output of the network into logarithmic probability and calculates its likelihood loss. Choosing such a probability-based loss function can better deal with the problem of class imbalance during classification, effectively measure the difference between the network output and the true label, and has a very good classification effect in motor fault diagnosis.
[0112] Calculate the gradient of the loss value through the back-propagation algorithm;
[0113] Initialize the Adam optimizer (Adaptive Moment Estimation); wherein, when initializing the learning rate, dynamically adjust the learning rate in the first 70% of the training cycles of a training generation; and set the learning rate to 0.001 in the last 30% of the training cycles of a training generation;
[0114] The gradient value is input into the Adam optimizer to update the network parameters of the initial motor fault identification model until the target loss function converges, and the model obtained when the target loss function converges is used as the motor fault identification model.
[0115] Among them, this embodiment uses an improved version of the Adam optimizer, that is, in the initial stage of training, the learning rate of each parameter is dynamically adjusted according to the first-order moment estimation and second-order moment estimation of the gradient, and momentum is introduced to accelerate convergence, which can better adapt to the gradient conditions of different parameters; in the middle and late stages of training, the learning rate is fixed at 0.001 to maintain the stability of training and reduce oscillation.
[0116] In summary, if Figure 6 As shown, in this embodiment, the vibration data is extracted using the Hilbert-Huang Transform (HHT) method, and the empirical mode decomposition is set to obtain the first three modal feature components, which are superimposed and then the envelope spectrum is obtained using the Hilbert transform; the current data is extracted using the Fast Fourier Transform (FFT) method to obtain a spectrum containing typical fault characteristic frequencies. The envelope spectrum and the spectrum are spliced as the input of the improved convolutional neural network (CNN), that is, the improved convolutional neural network module is used for data fusion, so that the data features of different sources can be used as inputs of different channels, and the features of the data are effectively fused into a feature vector; a multi-layer perceptron module (MLP) is used for fault identification and classification, and the fused feature vector is received as input, and the complex relationship between the data is learned through multiple fully connected layers and activation functions, and the feature vector is mapped to the category probability distribution, and finally the fault identification result is output.
[0117] Use the training sample data set to train the motor fault recognition model, observe the network output, and use the test sample data set to test the classification accuracy. The results are as follows Figure 8 As shown, it can be seen that the fault classification accuracy of this embodiment can reach 98%. This embodiment can fully capture signal characteristics, improve information resolution, and provide more accurate fault diagnosis results by fusing different types of data, which helps to timely discover and solve motor fault problems and ensure the safe operation of the equipment.
[0118] Reference Fig. 9 , a motor fault identification method based on the fusion of vibration and current characteristics, including steps S210 to S220.
[0119] Step S210, obtaining current signal data and vibration signal data of the target motor in the same time period.
[0120] Step S220, inputting the current signal data and the vibration number into the motor fault identification model, and outputting the prediction result; wherein the prediction result represents the fault type of the target motor; the motor fault identification model is trained according to the aforementioned motor fault identification model training method.
[0121] Reference Fig.10 , a training device for a motor fault identification model, comprising a first acquisition module 110, a training sample module 120, a preprocessing module 130, a training module 140 and an adjustment module 150. The first acquisition module 110 is used to acquire the current signal data and vibration signal data of the target motor in the same time period under different operating conditions. The training sample module 120 is used to generate a training sample data set based on the current signal data and the vibration signal data, wherein the training samples in the training sample data set include multiple current signal training samples, multiple vibration signal training samples and label data; the label data includes label data corresponding to each current signal training sample and label data corresponding to each vibration signal training sample. The preprocessing module 130 is used to preprocess each current signal training sample using a fast Fourier transform method to obtain a spectral feature training sample, perform empirical mode decomposition on the vibration signal in the vibration signal training sample, and obtain a first modal feature component training sample, a second modal feature component training sample and a third modal feature component training sample;
[0122] Superimposing the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample to obtain an analytical signal training sample;
[0123] The amplitude of the analytical signal training sample is obtained to obtain the envelope spectrum feature training sample. The Hilbourt-Huang transform method is used to preprocess each vibration signal training sample to obtain the envelope spectrum feature training sample.
[0124] The training module 140 is used to input the spectrum feature training samples and envelope spectrum feature training samples of the same time period into the motor fault recognition model to be trained at the same time to obtain the motor fault initial recognition model; wherein the motor fault recognition model includes an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used to perform feature fusion on the envelope spectrum signal and the spectrum signal to obtain a fusion feature vector; the multi-layer perceptron module is used to perform fault classification and recognition based on the fusion feature vector to obtain a prediction result; wherein the prediction result characterizes the fault type of the target motor. The adjustment module 150 is used to iteratively adjust the network parameters of the motor fault initial recognition model according to the prediction result, label data, target loss function and optimizer to obtain a trained motor fault recognition model.
[0125] Optionally, the preprocessing module 130 includes a Hilbout-Huang transform module and a fast Fourier transform module. The Hilbout-Huang transform module includes an empirical mode decomposition module, a superposition module and an amplitude determination module. The empirical mode decomposition module is used to perform empirical mode decomposition on the vibration signal in the vibration signal training sample to obtain the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample. The superposition module is used to superimpose the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample to obtain the analytical signal training sample. The amplitude determination module is used to obtain the amplitude of the analytical signal training sample to obtain the envelope spectrum feature training sample.
[0126] Optionally, the fast Fourier transform module includes a frequency component extraction module and a feature extraction module. The frequency component extraction module is used to extract multiple frequency components of the current signal in each current signal training sample using the fast Fourier transform method to obtain multiple frequency component training samples. The feature extraction module is used to extract features from multiple frequency component training samples according to predetermined fault indication information to obtain spectrum feature training samples.
[0127] The fault indication information at least includes static eccentricity fault current spectrum sideband information, dynamic eccentricity fault current spectrum sideband information, motor operating frequency both sides of the frequency conversion sideband information and rotor broken bar fault current spectrum sideband information;
[0128] The sideband information of the static eccentric fault current spectrum is expressed as f 1 It means that f 1 It can be expressed as follows:
[0129] f 1 =RB×f r ±nf 0 ;
[0130] The sideband information of the dynamic eccentric fault current spectrum is expressed as f2 It means that f 2 It can be expressed as follows:
[0131] f 2 =(RB×f r ±nf 0 )±f r ;
[0132] The frequency sideband information on both sides of the motor operating frequency is expressed by f 3 It means that f 3 It can be expressed as follows:
[0133] f 3 =f 0 ±mf r ;
[0134] The sideband information of the rotor bar fault current spectrum is expressed as f 4 It means that f 4 It can be expressed as follows:
[0135] f 4 =2sf 0 ;
[0136] Among them, RB is the number of rotor bars, f r is the motor frequency, f 0 is the operating frequency of the motor, n is an odd number, m is an even number; s is the slip rate.
[0137] Optionally, the improved convolutional neural network module is a dual-channel convolutional neural network, comprising a first convolutional layer, a first activation function layer, a first quasi-normalization layer, a first pooling layer, a second convolutional layer, a second activation function layer, a second quasi-normalization layer, a second pooling layer, a third convolutional layer, a third quasi-normalization layer, a third pooling layer, a fourth convolutional layer, a fourth activation function layer, a fourth quasi-normalization layer, a fully connected layer and a discard layer, which are connected in sequence; wherein the first convolutional layer, the second convolutional layer, the third convolutional layer and the fourth convolutional layer respectively use a 3×3 convolution kernel; the first activation function layer, the second activation function layer and the fourth activation function layer respectively use a ReLU activation function.
[0138] Optionally, the adjustment module 150 includes a loss function module, a gradient value determination module, an initialization module and an update module. The loss function module is used to input the prediction result and the number of labels into the target loss function and output the loss value, wherein the target loss function includes the cross entropy loss function. The gradient value determination module is used to calculate the gradient value of the loss value through the back propagation algorithm. The initialization module is used to initialize the Adam optimizer; wherein, when initializing the learning rate, the learning rate is dynamically adjusted in the first 70% of the training cycles of a generation of training; in the last 30% of the training cycles of a generation of training, the learning rate is set to 0.001. The update module is used to input the gradient value into the Adam optimizer to update the network parameters of the initial motor fault identification model until the target loss function converges, and the model obtained when the target loss function converges is used as the motor fault identification model.
[0139] Optionally, the fault type includes: one or more of normal, broken rotor bar fault, dynamic eccentricity fault, static eccentricity fault, bearing retainer fault, bearing inner ring fault, and bearing outer ring fault.
[0140] Reference Fig.11 , a motor fault identification device based on the fusion of vibration and current characteristics, comprising a second acquisition module 210 and a fault diagnosis module 220. The second acquisition module 210 is used to obtain current signal data and vibration signal data of a target motor in the same time period; the fault diagnosis module 220 is used to input the current signal data and the vibration number into a motor fault identification model and output a prediction result; wherein the prediction result characterizes the fault type of the target motor; the motor fault identification model is obtained by training according to the training method of the motor fault identification model of the first aspect.
[0141] Using the device provided in the embodiment of the present application, since the aforementioned device uses the same inventive concept as the above-mentioned method provided in the embodiment of the present application, on the premise that the method can solve the technical problem, the device can also solve the technical problem, and this will not be repeated here.
[0142] Reference Fig.12 An embodiment of the present invention further provides an electronic device 400, including a communication interface 401, a processor 402, a memory 403 and a bus 404, wherein the processor 402, the communication interface 401 and the memory 403 are connected via the bus 404; the memory 403 is used to store a computer program that supports the processor 402 to execute the training method of the motor fault identification model, and the processor 402 is configured to execute the program stored in the memory 403.
[0143] Optionally, an embodiment of the present invention further provides a computer-readable medium having a non-volatile program code executable by the processor 402 , wherein the program code enables the processor 402 to execute the training method of the motor fault identification model in the above embodiment.
[0144] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
Claims
1. A training method for a motor fault identification model, characterized in that: include: Acquire current signal data and vibration signal data of the target motor in the same time period under different operating conditions; Generate a training sample data set according to the current signal data and the vibration signal data, wherein the training samples in the training sample data set include a plurality of current signal training samples, a plurality of vibration signal training samples and label data; the label data includes label data corresponding to each of the current signal training samples and label data corresponding to each of the vibration signal training samples; Preprocessing each current signal training sample using the fast Fourier transform method to obtain a frequency spectrum feature training sample; preprocessing each vibration signal training sample using the Hilbourt-Huang transform method to obtain an envelope spectrum feature training sample; The frequency spectrum feature training samples and envelope spectrum feature training samples of the same time period are simultaneously input into the motor fault recognition model to be trained to obtain the motor fault initial recognition model; wherein the motor fault recognition model includes an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used to perform feature fusion on the envelope spectrum signal and the frequency spectrum signal to obtain a fused feature vector; the multi-layer perceptron module is used to perform fault classification and recognition according to the fused feature vector to obtain a prediction result; wherein the prediction result characterizes the fault type of the target motor; The network parameters of the motor fault initial identification model are iteratively adjusted according to the prediction results, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model.
2. The training method of the motor fault identification model according to claim 1, characterized in that: The method of preprocessing each of the vibration signal training samples using the Hilbourt-Huang transform method to obtain an envelope spectrum feature training sample includes: Performing empirical mode decomposition on the vibration signal in the vibration signal training sample to obtain a first modal feature component training sample, a second modal feature component training sample, and a third modal feature component training sample; Superimposing the first modal feature component training sample, the second modal feature component training sample and the third modal feature component training sample to obtain an analytical signal training sample; The amplitude of the analytical signal training sample is obtained to obtain the envelope spectrum feature training sample.
3. The training method of the motor fault identification model according to claim 1, characterized in that: The method of preprocessing each current signal training sample by using the fast Fourier transform method to obtain a spectrum feature training sample includes: Extracting multiple frequency components of the current signal in each of the current signal training samples using a fast Fourier transform method to obtain multiple frequency component training samples; Extract features from multiple frequency component training samples according to predetermined fault indication information to obtain spectrum feature training samples; wherein the fault indication information at least includes static eccentricity fault current spectrum sideband information, dynamic eccentricity fault current spectrum sideband information, motor operating frequency rotation sideband information and rotor broken bar fault current spectrum sideband information; The static eccentric fault current spectrum sideband information is represented by f1, and f1 is represented by the following formula: f1=RB×f r ±nf0; The dynamic eccentric fault current spectrum sideband information is represented by f2, and f2 is represented by the following formula: <h2 style=";text-align:left;direction:ltr">f2=(RB×f<h2 style=";text-align:left;direction:ltr"> r <h2 style=";text-align:left;direction:ltr"> ±nf0)±f<h2 style=";text-align:left;direction:ltr"> r <h2 style=";text-align:left;direction:ltr"> ; The frequency conversion sideband information on both sides of the motor operating frequency is represented by f3, and f3 is represented by the following formula: f3=f0±mf r ; The rotor broken bar fault current spectrum sideband information is represented by f4, and f4 is represented by the following formula: f4=2sf0; Among them, RB is the number of rotor bars, f r is the motor rotation frequency, f0 is the motor operating frequency, n is an odd number, m is an even number; s is the slip rate.
4. The training method of the motor fault identification model according to claim 1, characterized in that: The improved convolutional neural network module is a dual-channel convolutional neural network, including a first convolutional layer, a first activation function layer, a first quasi-normalization layer, a first pooling layer, a second convolutional layer, a second activation function layer, a second quasi-normalization layer, a second pooling layer, a third convolutional layer, a third quasi-normalization layer, a third pooling layer, a fourth convolutional layer, a fourth activation function layer, a fourth quasi-normalization layer, a fully connected layer and a discard layer, which are connected in sequence; wherein, the first convolutional layer, the second convolutional layer, the third convolutional layer and the fourth convolutional layer respectively use a 3×3 convolution kernel; the first activation function layer, the second activation function layer and the fourth activation function layer respectively use a ReLU activation function.
5. The training method of the motor fault identification model according to claim 1, characterized in that: The method iteratively adjusts the network parameters of the motor fault initial identification model according to the prediction result, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model, including: Input the prediction result and the number of labels into a target loss function, and output a loss value, wherein the target loss function includes a cross entropy loss function; Calculate the gradient value of the loss value by back propagation algorithm; Initialize the Adam optimizer; wherein, when initializing the learning rate, dynamically adjust the learning rate in the first 70% of the training cycles of one generation of training; and set the learning rate to 0.001 in the last 30% of the training cycles of one generation of training; The gradient value is input into the Adam optimizer to update the network parameters of the motor fault initial identification model until the target loss function converges, and the model obtained when the target loss function converges is used as the motor fault identification model.
6. The training method of the motor fault identification model according to claim 1, characterized in that: The fault types include: one or more of normal, broken rotor bar fault, dynamic eccentricity fault, static eccentricity fault, bearing retainer fault, bearing inner ring fault, and bearing outer ring fault.
7. A motor fault identification method based on the fusion of vibration and current characteristics, characterized in that: include: Acquire current signal data and vibration signal data of the target motor in the same time period; The current signal data and the vibration number are input into a motor fault identification model, and a prediction result is output; wherein the prediction result characterizes the fault type of the target motor; and the motor fault identification model is trained according to the training method of the motor fault identification model described in any one of claims 1 to 6.
8. A training device for a motor fault identification model, characterized in that: include: A first acquisition module is used to acquire current signal data and vibration signal data of the target motor in the same time period under different operating conditions; A training sample module, used to generate a training sample data set according to the current signal data and the vibration signal data, wherein the training samples in the training sample data set include a plurality of current signal training samples, a plurality of vibration signal training samples and label data; the label data includes label data corresponding to each of the current signal training samples and label data corresponding to each of the vibration signal training samples; A preprocessing module, used to preprocess each current signal training sample using a fast Fourier transform method to obtain a frequency spectrum feature training sample; and to preprocess each vibration signal training sample using a Hilbout-Huang transform method to obtain an envelope spectrum feature training sample; A training module, used for simultaneously inputting the frequency spectrum feature training samples and the envelope spectrum feature training samples of the same time period into the motor fault recognition model to be trained for training, so as to obtain the motor fault initial recognition model; wherein the motor fault recognition model comprises an improved convolutional neural network module and a multi-layer perceptron module; the improved convolutional neural network module is used for performing feature fusion on the envelope spectrum signal and the frequency spectrum signal to obtain a fused feature vector; the multi-layer perceptron module is used for performing fault classification and recognition according to the fused feature vector to obtain a prediction result; wherein the prediction result characterizes the fault type of the target motor; An adjustment module is used to iteratively adjust the network parameters of the motor fault initial identification model according to the prediction result, the label data, the target loss function and the optimizer to obtain a trained motor fault identification model.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable medium having a non-volatile program code executable by a processor, wherein the program code causes the processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Motor bearing fault diagnosis method based on data fusion and improved empirical wavelet transform
CN113176092A
Motor fault intelligent diagnosis method based on shallow feature fusion
CN117349708A
Equipment fault diagnosis method and system based on deep neural network
CN117708542A
Cited By
Hydroelectric generating set fault identification method and device, electronic equipment and storage medium
CN119513686A
Fault detection method and device for overhead ground wire, computer readable storage medium and processor
CN119622205A
Training and predicting method for plasma oscillation risk prediction model of electric thruster
CN120744396A
Method for training and prediction of plasma oscillation risk model for electric thrusters
CN120744396B
