Training method, system and equipment of centrifugal pump fault detection model and medium

By integrating empirical mode decomposition and singular value decomposition to process signal data, and combining the Harris Eagle optimization algorithm and the Inception-ResNet model, the problem of single-dimensional attention and hyperparameter dependence of the deep learning model in centrifugal pump fault diagnosis is solved, and the problem is achieved Efficient fault detection and classification capabilities.

CN118535923APending Publication Date: 2024-08-23HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410700783.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing deep learning models only focus on a single dimension in centrifugal pump fault diagnosis, and hyperparameter selection relies on expert experience, resulting in long training and debugging time and difficulty in effectively improving diagnosis performance.

Method used

Integrated empirical mode decomposition and singular value decomposition are used to process signal data, generate sample training data, and use the Harris Eagle optimization algorithm to adaptively set network hyperparameters and build an Inception-ResNet model for fault detection.

Benefits of technology

It realizes non-contact measurement and diagnosis, improves the flexibility and convenience of detection, effectively improves the signal-to-noise ratio, avoids gradient disappearance and explosion problems, and improves the classification ability and efficiency of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535923A
    Figure CN118535923A
Patent Text Reader

Abstract

The invention provides a training method, system and device for a centrifugal pump fault detection model and a medium. The training method comprises the steps that sound signal data of a centrifugal pump running under multiple working conditions are collected; performing integrated empirical mode decomposition processing on the sound signal data to generate intrinsic mode data; calculating the permutation entropy of the intrinsic mode data, and when the permutation entropy of the intrinsic mode data is smaller than the permutation entropy of an original signal, performing reconstruction processing on the intrinsic mode function to generate the sample training data; and constructing an initial detection model, and importing the training sample data into the initial detection model for training to generate a target detection model. According to the invention, non-contact measurement diagnosis can be realized, and the detection flexibility and convenience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault monitoring, and in particular to a training method, system, equipment and medium for a centrifugal pump fault detection model. Background Art

[0002] At present, the fault information of centrifugal pumps is mostly collected by using acceleration sensors to collect vibration signals during equipment operation. However, due to the limitations of some working scenarios, it is difficult to obtain vibration signals, and fault diagnosis using acoustic signals is becoming more and more important. Centrifugal pumps have complex structures and harsh working environments. The acoustic signals generated during operation are nonlinear, and industrial sites often contain a lot of noise. The actual fault signals are easily submerged by a lot of noise, making diagnosis more difficult.

[0003] With the continuous integration of deep learning and fault diagnosis, various deep learning models are gradually applied to fault diagnosis. In the prior art, these deep learning models usually only focus on a single dimension such as the depth or width of the model in improving diagnostic performance. In addition, in the selection of model hyperparameters, they rely too much on expert experience, which requires a lot of time for debugging and selection. Therefore, there is room for improvement. Summary of the invention

[0004] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a training method, device, equipment and medium for a centrifugal pump fault detection model, which is used to solve the technical problems in the prior art that the deep learning model only focuses on a single dimension in improving the diagnostic performance, and the model hyperparameters are overly dependent on expert experience, and the training and debugging time is long.

[0005] To achieve the above objectives and other related objectives, the present invention provides a training method for a centrifugal pump fault detection model, comprising:

[0006] Collect acoustic signal data of centrifugal pumps operating under multiple working conditions;

[0007] Performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data;

[0008] Calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data;

[0009] An initial detection model is constructed, and the training sample data is imported into the initial detection model for training to generate a target detection model.

[0010] In one embodiment of the present invention, the step of collecting acoustic signal data of a centrifugal pump operating under multiple working conditions includes:

[0011] Placing an acoustic sensor on the side of the centrifugal pump and aligning the receiving end of the acoustic sensor with the pump body of the centrifugal pump;

[0012] The centrifugal pump is operated under multiple working conditions, and after the centrifugal pump is stably operated, the acoustic signals under the multiple working conditions are collected by the acoustic sensor;

[0013] The collected multiple acoustic signals are subjected to frame processing to generate the acoustic signal data.

[0014] In one embodiment of the present invention, the step of performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data includes:

[0015] The overall average number is set to M times, and a white noise model of a standard normal distribution is superimposed on the original signal of the acoustic signal data to generate an intermediate signal;

[0016] Performing M empirical mode decomposition processes on the intermediate signal to generate a set of intrinsic mode functions, wherein a white noise signal with different amplitudes is added in each decomposition process;

[0017] The intrinsic mode function set is summed and averaged to generate the intrinsic mode data.

[0018] In one embodiment of the present invention, the intrinsic modal data satisfies the following formula:

[0019]

[0020] Among them, c j (t) represents the jth intrinsic mode data of the integrated empirical mode decomposition, c i,j (t) represents the jth intrinsic mode function obtained by decomposition after adding white noise for the i-th time, and M represents the overall average number.

[0021] In one embodiment of the present invention, the step of calculating the permutation entropy of the intrinsic modal data and, when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data comprises:

[0022] Calculating the permutation entropy of the intrinsic modal data;

[0023] When the permutation entropy of the intrinsic mode data is greater than or equal to the permutation entropy of the original signal, performing singular value decomposition processing on the intrinsic mode function to generate decomposed data;

[0024] When the permutation entropy of the intrinsic mode data is less than the permutation entropy of the original signal, the intrinsic mode function and the decomposed data are reconstructed to generate the sample training data.

[0025] In one embodiment of the present invention, the steps of constructing an initial detection model and importing the training sample data into the initial detection model for training to generate a target detection model include:

[0026] Constructing the initial detection model, wherein the initial detection model has a multi-branch structure and takes a one-dimensional time domain signal as input;

[0027] Based on the Harris Eagle optimization algorithm, setting the network hyperparameters of the initial detection model;

[0028] The sample training data is imported into the set initial detection model for training to generate the target detection model.

[0029] In one embodiment of the present invention, the step of setting the network hyperparameters of the initial detection model based on the Harris Hawk optimization algorithm includes:

[0030] Setting a network hyperparameter space, wherein the network hyperparameters include an initial learning rate, a learning rate reduction factor, and a regularization parameter;

[0031] Performing iterative training based on the Harris Eagle optimization algorithm to generate optimal values ​​of the network hyperparameters;

[0032] The initial detection model is set according to the optimal value of the network hyperparameter.

[0033] The present invention also provides a training system for a centrifugal pump fault detection model, comprising:

[0034] A collection module, used to collect acoustic signal data of the centrifugal pump operating under multiple working conditions;

[0035] A decomposition module, used for performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data;

[0036] A reconstruction module, used for calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data;

[0037] The training module is used to construct an initial detection model and import the training sample data into the initial detection model for training to generate a target detection model.

[0038] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the training method of the centrifugal pump fault detection model as described in any one of the above items are implemented.

[0039] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the training method of the centrifugal pump fault detection model as described in any one of the above items are implemented.

[0040] As described above, the training method, system, device and medium of a centrifugal pump fault detection model of the present invention have the following beneficial effects: the present invention can realize non-contact measurement diagnosis, and can improve the flexibility and convenience of detection. The present invention can perform noise reduction processing on the signal, effectively improve the signal-to-noise ratio, and is conducive to the model to identify faults. The present invention adopts the Inception-ResNet model, which can effectively avoid the problems of gradient disappearance and gradient explosion, and improve the classification ability of the model. In addition, the present invention adopts an optimization algorithm to adaptively select the hyperparameters of the network, which solves the problem of relying on manual experience and consuming time and effort when selecting hyperparameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 Shown is a flow chart of a training method for a centrifugal pump fault detection model provided by the present invention.

[0042] Figure 2 It is shown as an embodiment of the present invention Figure 1 Specific flow chart of step S100 in FIG.

[0043] Figure 3 Shown is a time domain waveform diagram of the acoustic signal of a centrifugal pump under normal working conditions in one embodiment of the present invention.

[0044] Figure 4 Shown is a time domain waveform diagram of the acoustic signal of a centrifugal pump under cavitation conditions in one embodiment of the present invention.

[0045] Figure 5 Shown is a time domain waveform diagram of the acoustic signal of a centrifugal pump in a misaligned condition in one embodiment of the present invention.

[0046] Figure 6 The figure shows a time domain waveform diagram of the acoustic signal of a centrifugal pump in a bolt loosening condition according to an embodiment of the present invention.

[0047] Figure 7 It is shown as an embodiment of the present invention Figure 1 Specific flow chart of step S200 in FIG.

[0048] Figure 8It is shown as an embodiment of the present invention Figure 1 Specific flow chart of step S300 in FIG.

[0049] Fig. 9 The figure shows a time domain waveform of the acoustic signal of a centrifugal pump in normal working condition after noise reduction processing in one embodiment of the present invention.

[0050] Fig.10 It shows a time domain waveform diagram of the acoustic signal of a centrifugal pump in cavitation conditions after noise reduction processing in one embodiment of the present invention.

[0051] Fig.11 The figure shows a time domain waveform diagram of the acoustic signal of a centrifugal pump after noise reduction processing in a misaligned working condition in one embodiment of the present invention.

[0052] Fig.12 The figure shows a time domain waveform of the acoustic signal of a centrifugal pump after noise reduction processing in a bolt loosening condition in one embodiment of the present invention.

[0053] Fig.13 It is shown as an embodiment of the present invention Figure 1 Specific flow chart of step S400 in FIG.

[0054] Fig.14 Shown is a structural schematic diagram of an initial detection model in one embodiment of the present invention.

[0055] Fig.15 It is shown as an embodiment of the present invention Fig.13 Specific flow chart of step S420 in FIG.

[0056] Fig.16 Shown is a confusion matrix diagram of the test results of the Inception-ResNet model in one embodiment of the present invention.

[0057] Fig.17 Shown is a confusion matrix diagram of the test results of the 1DCNN model in one embodiment of the present invention.

[0058] Fig.18 Shown is a confusion matrix diagram of the test results of the 1DInception model in one embodiment of the present invention.

[0059] Fig.19 Shown is a comparison curve chart of the accuracy of three model validation sets in one embodiment of the present invention.

[0060] Fig. 20 Shown is a confusion matrix diagram of the test results of the Inception-ResNet model after hyperparameter optimization in one embodiment of the present invention.

[0061] Fig.21Shown is a structural schematic diagram of a training system for a centrifugal pump fault detection model of the present invention.

[0062] Fig. 22 The structure of the computer system shown is suitable for implementing the electronic device of the embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following is an explanation of the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the features in the following embodiments and the embodiments can be combined with each other without conflict. It should also be understood that the terms used in the embodiments of the present invention are intended to describe specific embodiments, rather than to limit the scope of protection of the present invention. The test methods for which specific conditions are not specified in the following examples are usually carried out under conventional conditions or according to the conditions recommended by the manufacturers.

[0064] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effects and purposes that can be achieved by the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description, and are not used to limit the scope of the implementation of the present invention. The change or adjustment of their relative relationship should also be regarded as the scope of the implementation of the present invention without substantially changing the technical content.

[0065] See also Figure 1-Figure 22 The present invention provides a training method, system, device and medium for a centrifugal pump fault detection model, and relates to the field of fault monitoring technology. The present invention can realize non-contact measurement diagnosis, and can improve the flexibility and convenience of measurement. The present invention effectively improves the signal-to-noise ratio of the signal, improves the signal quality, and is conducive to the model to identify faults. The following will be described in detail through specific embodiments.

[0066] See also Figure 1 The present invention provides a training method for a centrifugal pump fault detection model, which may include the following steps:

[0067] Step S100, collecting acoustic signal data of a centrifugal pump operating under multiple working conditions;

[0068] Step S200, performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data;

[0069] Step S300, calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate sample training data;

[0070] Step S400: construct an initial detection model, and import training sample data into the initial detection model for training to generate a target detection model.

[0071] See also Figure 2 In one embodiment of the present invention, when step S100 is executed, acoustic signal data of the centrifugal pump operating under multiple working conditions is collected. Specifically, step S100 may include the following steps:

[0072] Step S110, placing an acoustic sensor on the side of the centrifugal pump, and aligning the receiving end of the acoustic sensor with the pump body of the centrifugal pump;

[0073] Step S120, operating the centrifugal pump under multiple operating conditions, and after the centrifugal pump operates stably, collecting acoustic signals under the multiple operating conditions through an acoustic sensor;

[0074] Step S130: performing frame processing on the collected multiple acoustic signals to generate acoustic signal data.

[0075] In one embodiment of the present invention, when executing step S110 to step S120, specifically, first place an acoustic sensor on the side of the centrifugal pump, and align the receiving end of the acoustic sensor with the pump body of the centrifugal pump. Then, operate the centrifugal pump under a plurality of different working conditions, and after the centrifugal pump operates stably under a certain set working condition, collect the acoustic signal of the centrifugal pump through the acoustic sensor. In this embodiment, a centrifugal pump test bench can be used to collect data, and a GRASS acoustic sensor can be used to collect the acoustic signals of the centrifugal pump under a variety of set working conditions. The operating conditions of the centrifugal pump may include a normal state, a cavitation state, an axial centerline misalignment state, and a bolt loose state.

[0076] See also Figure 3-6 In one embodiment of the present invention, when executing step S130, specifically, the data acquisition device can use LMS SCADAS XS, the sampling frequency is set to 51200Hz, and the motor speed is set to 2950r / min. After the motor runs stably, the acoustic signals of the centrifugal pump in the normal state, cavitation state, axis misalignment state and bolt loose state are collected respectively. The time domain waveform of the acoustic signal corresponding to each state is as follows: Figure 3-6As shown. The acoustic signals collected under multiple set states are processed by frame division to generate acoustic signal data. In this embodiment, 300 groups of data are divided for each fault state, and each group of data contains 1024 sampling points.

[0077] See also Figure 7 In one embodiment of the present invention, when step S200 is executed, the acoustic signal data is subjected to integrated empirical mode decomposition processing to generate intrinsic modal data. Specifically, in order to effectively suppress the modal aliasing problem, the present invention uses integrated empirical mode decomposition (EEMD) to process the acoustic signal data to generate intrinsic modal data. Integrated empirical mode decomposition is a multiple empirical mode decomposition of superimposed Gaussian white noise. By introducing uniformly distributed white noise multiple times during the decomposition process, more accurate upper and lower envelopes are obtained. The intrinsic modal data obtained by the decomposition are then averaged to offset the added white noise, thereby effectively suppressing the modal aliasing phenomenon. In this embodiment, step S200 may include the following steps:

[0078] Step S210: Set the overall average number to M times, and superimpose a white noise model of standard normal distribution on the original signal of the acoustic signal data to generate an intermediate signal.

[0079] Step S220: Perform M times of empirical mode decomposition processing on the intermediate signal to generate a set of intrinsic mode functions, wherein a white noise signal with different amplitudes is added in each decomposition processing.

[0080] Step S230: performing summing and averaging processing on the intrinsic mode function set to generate intrinsic mode data.

[0081] In one embodiment of the present invention, when executing step S210 to step S230, specifically, first, assuming that the overall average number is M times, a white noise n that conforms to the standard normal distribution is superimposed on the original signal x(t) of the acoustic signal data. i (t), thereby generating a new intermediate signal. In this embodiment, the intermediate signal can satisfy the following formula:

[0082] x i (t)=(t)+ i (t);

[0083] Among them, n i (t) represents the i-th addition of white noise sequence, x i (t) represents the intermediate signal generated for the i-th time.

[0084] Then, the intermediate signal containing white noise is subjected to empirical mode decomposition (EMD), and the decomposition process can be expressed as the following formula:

[0085]

[0086] Among them, c i,j (t) represents the jth intrinsic mode function (IMF) obtained by decomposing the white noise after adding it for the i-th time, r i,j (t) represents the residual term. It should be noted that the intrinsic mode function is a special signal component that satisfies specific mathematical conditions, namely, the number of local time domain extreme points is equal to the number of zero crossing points, and the local mean is zero. IMFs can represent the different frequency band characteristics of the signal and are the basis for multi-scale signal analysis.

[0087] Repeat the above steps M times, adding white noise signals with different amplitudes each time, so as to obtain a set of IMFs. The IMF set can be expressed as:

[0088] c 1, (t)c 2, (t)…c M,j (t), j=1,2…J.

[0089] Finally, the corresponding intrinsic modal functions are summed and averaged to obtain the intrinsic modal data after integrated empirical mode decomposition. The intrinsic modal data can be expressed as the following formula:

[0090]

[0091] Among them, c j (t) represents the jth intrinsic mode data of the integrated empirical mode decomposition.

[0092] See also Figure 8 In one embodiment of the present invention, when executing step S300, that is, calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, the intrinsic modal function is reconstructed to generate sample training data. Specifically, step S300 may include the following steps:

[0093] Step S310, calculating the permutation entropy of the intrinsic modal data;

[0094] Step S320: When the permutation entropy of the intrinsic mode data is greater than or equal to the permutation entropy of the original signal, singular value decomposition is performed on the intrinsic mode function to generate decomposed data;

[0095] Step S330: When the permutation entropy of the intrinsic mode data is less than the permutation entropy of the original signal, reconstruct the intrinsic mode function and the decomposed data to generate sample training data.

[0096] In one embodiment of the present invention, when executing step S310, specifically, first, the permutation entropy value of the intrinsic mode function is calculated, and then, it is determined whether the permutation entropy is greater than the permutation entropy of the original signal. It should be noted that the permutation entropy is an indicator used to describe the complexity of a time series. The more complex the time series, the larger the corresponding permutation entropy value, and the more regular the time series, the smaller the corresponding entropy value.

[0097] In one embodiment of the present invention, when executing step S320, specifically, when the permutation entropy of the intrinsic modal data is greater than or equal to the permutation entropy of the original signal, the intrinsic modal function is subjected to singular value decomposition processing to generate decomposed data. It should be noted that singular value decomposition (SVD) is a matrix decomposition technology that performs well in signal noise reduction. The basic form of singular value decomposition can satisfy the following formula:

[0098] A=U∑V T ;

[0099] Among them, A represents a given matrix, U and V are orthogonal matrices, which can satisfy the following formulas respectively:

[0100] U=(u1,u2,…,u m )∈R m×m ,

[0101] V=(v1,v2,…,v n )∈R n×n ,

[0102] ∑ is a diagonal matrix, and ∑ satisfies the following formula:

[0103] ∑=diag(σ1,σ2,…,σ w ).

[0104] It should be noted that the key to using singular value decomposition to reduce the noise of the signal lies in the singular value order selected for matrix reconstruction. Too few orders will lead to missing information contained in the signal, and too many orders will cause more noise to remain in the signal. Therefore, the selection of the effective order of the singular value is very important. In this embodiment, the singular value energy difference spectrum is used to determine the reconstruction order of the matrix after singular value decomposition. The signal energy can be expressed as:

[0105]

[0106] In one embodiment of the present invention, the singular value difference spectrum is calculated and normalized:

[0107]

[0108] Where q(i)(=1,2,…,w) represents the energy difference spectrum of the singular value of the sequence. The useful information in the signal accounts for a larger proportion than the noise information. Therefore, at the decomposition point of the useful information and the noise information, the energy difference spectrum of the singular value will have a large peak. The useful information and the noise information can be distinguished according to the order of the maximum peak. The singular values ​​before the peak node are retained, the singular values ​​after the peak node are set to zero and the matrix is ​​reconstructed.

[0109] In one embodiment of the present invention, when step S330 is executed, specifically, when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, the intrinsic modal function and the decomposed data generated in step S320 are reconstructed to generate reconstructed data. The IMF after singular value decomposition and the remaining IMFs whose permutation entropy values ​​are less than the original signal are merged and reconstructed into a denoised signal. A simulation signal is generated as the original signal, and Gaussian white noise is added to the simulation signal as a noisy signal. The signal-to-noise ratio and root mean square error are introduced to evaluate the signal denoising effect.

[0110] In this embodiment, after the decomposition process of step S200 and the reconstruction process of step S300, the signal-to-noise ratio and root mean square error of the signal before and after denoising are shown in Table 1. It can be seen from the data in Table 1 that the signal denoising method of the ensemble empirical mode decomposition and singular value decomposition proposed in the present invention can effectively improve the signal-to-noise ratio of the signal and reduce the root mean square error of the signal.

[0111] Table 1- Comparison of indicators before and after noise reduction

[0112]

[0113] Please refer to Figure 3-Figure 6 and Figure 9-12 In one embodiment of the present invention, after the original sound signals of the four working conditions are processed in step S200 and step S300, the signal quality can be significantly improved and the signal noise can be greatly reduced.

[0114] See also Fig.13 In one embodiment of the present invention, when executing step S400, an initial detection model is constructed, and sample training data is imported into the initial detection model for training to generate a target detection model. Specifically, step S400 may include the following steps:

[0115] Step S410: constructing an initial detection model, wherein the initial detection model has a multi-branch structure and takes a one-dimensional time domain signal as input;

[0116] Step S420: setting network hyperparameters of the initial detection model based on the Harris Eagle optimization algorithm;

[0117] Step S430: import the sample training data into the set initial detection model for training to generate a target detection model.

[0118] In one embodiment of the present invention, when executing step S410, specifically, in order to increase the depth of the model and improve the width of the model at the same time, the present invention proposes a detection model that integrates the ideas of the Inception model and the ResNet model, takes a one-dimensional time series model as input, and retains the timing characteristics of the signal.

[0119] See also Fig.14 In one embodiment of the present invention, the improved Inception-ResNet model of the initial detection model may include a 4-branch structure. Among them, the first branch 101 is the basic structure of the model, using a 1×1 convolution kernel. The second branch 102 uses a 1×1 convolution kernel followed by a 1×3 convolution kernel. The third branch 103 uses a 1×1 convolution kernel followed by a 1×5 convolution kernel. The fourth branch 104 uses a 1×3 maximum pooling layer followed by a 1×1 convolution kernel. The combination of multiple branches can obtain a larger receptive field.

[0120] Furthermore, since the gradient continues to decrease during the back propagation process, as the number of deep network layers increases, it is difficult for the previous network layer to learn effective features. In order to alleviate the above problems, the present invention introduces residual blocks in the model branch to avoid the problem of rapid gradient attenuation caused by the deepening of the number of layers during the propagation process. In addition, since the pooling layer itself does not cause the problem of gradient disappearance and gradient explosion, the gradient change of the first branch 101 and the fourth branch 104 is smaller than that of the second branch 102 and the third branch 103. Therefore, a 1×1 convolution kernel is introduced in the second branch 102 and the third branch 103, and this convolution kernel is used to adjust the dimension to the same as the branch. In this embodiment, the activation function of each branch structure is Relu.

[0121] See also Fig.15 In one embodiment of the present invention, when executing step S420, the network hyperparameters of the initial detection model are set based on the Harris Hawk optimization algorithm. Specifically, the following steps may be included:

[0122] Step S421, setting the network hyperparameter space, the network hyperparameters include the initial learning rate, the learning rate reduction factor and the regularization parameter;

[0123] Step S422: performing iterative training based on the Harris Eagle optimization algorithm to generate optimal values ​​of network hyperparameters;

[0124] Step S423: Setting the initial detection model according to the optimal values ​​of the network hyperparameters.

[0125] In one embodiment of the present invention, when executing step S421, specifically, the sample training data reconstructed in step S300 is divided into a training set and a test set in a ratio of 0.8:0.2. The training set and the test set are used as data sets for model verification later. In addition, an additional validation set is required. The validation set is a fitness function used to verify the Harris Eagle optimization algorithm. The network hyperparameters may include an initial learning rate, a learning rate reduction factor, and a regularization parameter.

[0126] In one embodiment of the present invention, when executing step S422, specifically, based on the Harris Hawk optimization algorithm, the network hyperparameters are iteratively trained and optimized. The validation set is input into the initial detection model for iterative training, thereby generating the optimal value of the network hyperparameter.

[0127] In one embodiment of the present invention, the Harris Hawk algorithm is a swarm optimization algorithm that imitates the predation behavior of the Harris Hawk, which is mainly divided into an exploration phase, a conversion phase, and a development phase. The Harris Hawk algorithm is used to adaptively select the optimal hyperparameters of the network. The detailed steps are as follows:

[0128] In the first step, during the exploration phase, Harris's hawks randomly appeared at certain locations and detected prey according to two strategies.

[0129]

[0130] Among them, X(t) is the current position of the eagle, X rand (t) is the position of a randomly selected hawk in the current population, X rab (t) is the current position of the prey, X(t+1) is the position of the eagle in the next iteration, and L b and U b are the lower and upper limits of the variable, r l The sum of r2, r3, and r4 is a random number between [0,1], X m (t) is the average position of the individuals.

[0131] The second step, during the conversion phase, is when the prey is escaping, and the prey's energy is reduced. The prey's escape energy is:

[0132]

[0133] E0=2r5-1;

[0134] Where E0 is the initial energy of the prey, t is the number of current iterations, and T is the maximum number of iterations. The current stage is determined by the size of E. |E|≥1 is the exploration stage, and |E|<1 is the development stage.

[0135] The third step is to determine the strategy used to capture the prey according to the escape energy E and the random number r during the development phase, where r is a random number between [0,1].

[0136] When |E|>0.5 and r≥0.5, the prey still has enough energy to try to escape. Harris's hawk uses soft encirclement to update its position:

[0137] X(t+1)=ΔX(t)-|JX rab (t)-(t)|;

[0138] In the formula, ΔX=X rab ()-X(t), represents the difference between the individual position of Harris's hawk and the position of the prey, and J is a random number between [0,2].

[0139] When |E|<0.5 and r≥0.5, the prey is exhausted and has low escape energy. Harris's hawk uses the hard encirclement strategy to update its position. The position at this time is:

[0140] X(t+1)= rab (t) − |ΔX(t)|;

[0141] When |E|>0.5 and r<0.5, the prey has sufficient energy to escape and has a chance to escape. Harris's hawk adopts a gradual rapid dive soft encirclement strategy:

[0142]

[0143] Y=X rab (t)-×|J×X rab (t)-(t)|;

[0144] Z = Y + S × LF (D);

[0145] Where S and D are the dimension and random vector required to solve the Levy flight, respectively.

[0146] When |E|<0.5 and r<0.5, the prey has insufficient energy to escape but has a chance to escape from the encirclement. Harris's hawk adopts a progressive fast dive hard encirclement strategy:

[0147]

[0148] Y=X rab (t)-×|J×X rab (t)- m (t)|;

[0149] Z = Y + S × LF (D);

[0150] In one embodiment of the present invention, when executing step S423, specifically, the initial detection model is set according to the optimal value of the network hyperparameter produced in step S422, and the classification error rate of the validation set is used as the fitness function.

[0151] In one embodiment of the present invention, when executing step S430, the sample training data is imported into the set initial detection model for training to generate the target detection model. Specifically, the test set is input into the initial detection model set by step S423, and the model is trained again to produce the target detection model.

[0152] See also Figure 16-18 In one embodiment of the present invention, the test set is input into the trained model to test the diagnostic effect of the target detection model. In order to verify the detection performance of the model, this paper selects the 1DCNN model and the multi-branch model built based on the Inception idea for comparison with the model proposed in this paper. First, set the initial values ​​of the network hyperparameters and the number of iterative training times of the above three models. For example, set the initial learning rate to 0.001, the regularization parameter to 0.0001, the learning rate reduction factor to 0.3, the maximum number of iterative training rounds to 25 rounds, and each time randomly divide 64 groups of data into a batch for iterative processing. Then, input the test set into the initial detection model for iterative training to generate the optimal values ​​of the network hyperparameters. Fig.16 As shown in Figure 1, the classification accuracy of the test set of the Inception-ResNet model proposed in the present invention is 97.08%. A convolutional neural network is constructed based on 1DCNN, and the convolution kernel dimension is set to one dimension. The data set is input into the 1DCNN model for training, as shown in Figure 1. Fig.17 As shown in Figure 1, the classification accuracy of the test set of the 1DCNN model is 91.67%. Fig.18 As shown in the figure, based on the idea of ​​the Inception model, a multi-branch model is constructed, and the convolution kernel inside the model is set to a one-dimensional convolution kernel. The data set is input into the 1DInception model for training, and the classification accuracy of the test set of the 1DInception model is 94.58%.

[0153] See also Fig.19 In order to intuitively compare the classification effects of the three models, the classification accuracy of the model is verified once every iteration during the model training process. The verification accuracy of the above three models changes with the number of iterations as shown in the following figure. Fig.19 shown.

[0154] See also Fig. 20,Further, in order to verify the effectiveness of adaptive ,selection of network hyperparameters by the Harris Eagle optimization algorithm.,First, the hyperparameters to be optimized are determined as the ,initial learning rate, the learning rate reduction factor and the ,regularization parameter, and then the upper and lower bounds of the three ,selected hyperparameters are determined.,Finally, the data set is input into the Inception-ResNet model proposed in ,the present invention. After iteration, the final test set classification result of the ,improved model is 97.92%.

[0155] From the above results, it can be seen that the classification accuracy of the Inception-ResNet model of the present invention is significantly higher than that of the other two models, and in the model training process, the Inception-ResNet model converges faster than the other two models, proving that the network model has certain advantages. In addition, the present invention uses the Harris Eagle optimization algorithm combined with the neural network to adaptively select the optimal network hyperparameters, avoiding the uncertainty of manual selection. It can effectively improve the model classification effect and construction efficiency.

[0156] See also Fig.21 The present invention also provides a training system for a centrifugal pump fault detection model, which corresponds one-to-one to the training method in the above embodiment. The training system may include 201, a decomposition module 202, a reconstruction module 203 and a training module 204. Each functional module is described in detail as follows:

[0157] In one embodiment of the present invention, the acquisition module 201 can be used to collect acoustic signal data of a centrifugal pump operating under multiple operating conditions. Further, the acquisition module 201 can be specifically used to place an acoustic sensor on the side of the centrifugal pump and align the receiving end of the acoustic sensor with the pump body of the centrifugal pump; operate the centrifugal pump under multiple operating conditions, and after the centrifugal pump operates stably, collect acoustic signals under multiple operating conditions through the acoustic sensor; perform frame processing on the collected multiple acoustic signals to generate acoustic signal data.

[0158] In one embodiment of the present invention, the decomposition module 202 can be used to perform integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data. Further, the noise reduction module 202 can be specifically used to set the overall average number of times to M times, and superimpose a white noise model of a standard normal distribution on the original signal of the acoustic signal data to generate an intermediate signal; perform M times of empirical mode decomposition processing on the intermediate signal to generate an intrinsic mode function set, wherein each decomposition process adds a white noise signal with different amplitudes; and perform summing and averaging processing on the intrinsic mode function set to generate intrinsic mode data.

[0159] In one embodiment of the present invention, the reconstruction module 203 can be used to calculate the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, the intrinsic modal function is reconstructed to generate sample training data. Further, the reconstruction module 203 can be specifically used to calculate the permutation entropy of the intrinsic modal data; when the permutation entropy of the intrinsic modal data is greater than or equal to the permutation entropy of the original signal, the intrinsic modal function is subjected to singular value decomposition to generate decomposition data; when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, the intrinsic modal function and the decomposition data are reconstructed to generate sample training data.

[0160] In one embodiment of the present invention, the training module 204 can be used to construct an initial detection model, and import sample training data into the initial detection model for training to generate a target detection model. Further, the training module 204 can be specifically used to construct an initial detection model, the initial detection model has a multi-branch structure, and takes a one-dimensional time domain signal as input; based on the Harris Eagle optimization algorithm, the network hyperparameters of the initial detection model are set; the sample training data is imported into the set initial detection model for training to generate a target detection model.

[0161] The specific definition of the training system for the centrifugal pump fault detection model can be found in the definition of the training method above, which will not be repeated here. Each module in the above training system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0162] An embodiment of the present invention also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the training method of the centrifugal pump fault detection model provided in the above-mentioned embodiments.

[0163] See also Fig. 22 , Fig. 22 The structure diagram of the computer system of the electronic device suitable for implementing the embodiment of the present invention is shown. It should be noted that: Fig. 22 The computer system 300 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0164] like Fig. 22As shown, the computer system 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 303 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0165] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), an organic light emitting diode (OLED), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 303 as needed.

[0166] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the system of the present invention are executed.

[0167] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0168] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0169] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0170] Another aspect of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the training method of the centrifugal pump fault detection model as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0171] Another aspect of the present invention further provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the training method of the centrifugal pump fault detection model provided in each of the above embodiments.

[0172] In summary, the present invention provides a training method, device, equipment and medium for a centrifugal pump fault detection model, which can be applied to the field of fault monitoring technology. The present invention can realize non-contact measurement and diagnosis, and can improve the flexibility and convenience of detection. The present invention completes the noise reduction processing of the signal based on a method combining integrated empirical mode decomposition and singular value decomposition. The present invention effectively improves the signal-to-noise ratio of the signal, improves the signal quality, and is conducive to the model to identify faults. The present invention uses an improved Inception-ResNet model to train the denoised data, which can effectively avoid the problems of gradient disappearance and gradient explosion, and improve the classification ability of the model. In addition, the present invention adopts the Harris Eagle optimization algorithm to adaptively select the hyperparameters of the network, which solves the problem of relying on manual experience and time-consuming and labor-intensive when selecting hyperparameters.

[0173] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A training method for a centrifugal pump fault detection model, characterized in that: include: Collect acoustic signal data of centrifugal pumps operating under multiple working conditions; Performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data; Calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data; An initial detection model is constructed, and the training sample data is imported into the initial detection model for training to generate a target detection model.

2. The training method of the centrifugal pump fault detection model according to claim 1, characterized in that: The step of collecting acoustic signal data of the centrifugal pump operating under multiple working conditions includes: Placing an acoustic sensor on the side of the centrifugal pump and aligning the receiving end of the acoustic sensor with the pump body of the centrifugal pump; The centrifugal pump is operated under multiple working conditions, and after the centrifugal pump is stably operated, the acoustic signals under the multiple working conditions are collected by the acoustic sensor; The collected multiple acoustic signals are subjected to frame processing to generate the acoustic signal data.

3. The training method of the centrifugal pump fault detection model according to claim 1, characterized in that: The step of performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data comprises: The overall average number is set to M times, and a white noise model of a standard normal distribution is superimposed on the original signal of the acoustic signal data to generate an intermediate signal; Performing M empirical mode decomposition processes on the intermediate signal to generate a set of intrinsic mode functions, wherein a white noise signal with different amplitudes is added in each decomposition process; The intrinsic mode function set is summed and averaged to generate the intrinsic mode data.

4. The training method of the centrifugal pump fault detection model according to claim 4, characterized in that: The intrinsic modal data satisfies the following formula: Among them, c j (t) represents the jth intrinsic mode data of the integrated empirical mode decomposition, c i,j (t) represents the jth intrinsic mode function obtained by decomposition after adding white noise for the i-th time, and M represents the overall average number.

5. The training method of the centrifugal pump fault detection model according to claim 1, characterized in that: The step of calculating the permutation entropy of the intrinsic modal data and, when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data comprises: Calculating the permutation entropy of the intrinsic modal data; When the permutation entropy of the intrinsic mode data is greater than or equal to the permutation entropy of the original signal, performing singular value decomposition processing on the intrinsic mode function to generate decomposed data; When the permutation entropy of the intrinsic mode data is less than the permutation entropy of the original signal, the intrinsic mode function and the decomposed data are reconstructed to generate the sample training data.

6. The training method of the centrifugal pump fault detection model according to claim 1, characterized in that: The steps of constructing an initial detection model and importing the training sample data into the initial detection model for training to generate a target detection model include: Constructing the initial detection model, wherein the initial detection model has a multi-branch structure and takes a one-dimensional time domain signal as input; Based on the Harris Eagle optimization algorithm, setting the network hyperparameters of the initial detection model; The sample training data is imported into the set initial detection model for training to generate the target detection model.

7. The training method of the centrifugal pump fault detection model according to claim 6, characterized in that: The step of setting the network hyperparameters of the initial detection model based on the Harris Eagle optimization algorithm includes: Setting a network hyperparameter space, wherein the network hyperparameters include an initial learning rate, a learning rate reduction factor, and a regularization parameter; Performing iterative training based on the Harris Eagle optimization algorithm to generate optimal values ​​of the network hyperparameters; The initial detection model is set according to the optimal value of the network hyperparameter.

8. A training system for a centrifugal pump fault detection model, characterized in that: include: A collection module, used to collect acoustic signal data of the centrifugal pump operating under multiple working conditions; A decomposition module, used for performing integrated empirical mode decomposition processing on the acoustic signal data to generate intrinsic mode data; A reconstruction module, used for calculating the permutation entropy of the intrinsic modal data, and when the permutation entropy of the intrinsic modal data is less than the permutation entropy of the original signal, reconstructing the intrinsic modal function to generate the sample training data; The training module is used to construct an initial detection model and import the training sample data into the initial detection model for training to generate a target detection model.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the training method of the centrifugal pump fault detection model as claimed in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the training method of the centrifugal pump fault detection model as claimed in any one of claims 1 to 7 are implemented.