CN114462459A - Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model - Google Patents

Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model Download PDF

Info

Publication number
CN114462459A
CN114462459A CN202210377316.7A CN202210377316A CN114462459A CN 114462459 A CN114462459 A CN 114462459A CN 202210377316 A CN202210377316 A CN 202210377316A CN 114462459 A CN114462459 A CN 114462459A
Authority
CN
China
Prior art keywords
fault
hydraulic machine
1dcnn
lstm
network model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202210377316.7A
Other languages
Chinese (zh)
Inventor
刘琼
王磊
张海杰
胡彬彬
印志峰
方昆
严建文
李贵闪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Metalforming Intelligent Manufacturing Co ltd
Original Assignee
Hefei Metalforming Intelligent Manufacturing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Metalforming Intelligent Manufacturing Co ltd filed Critical Hefei Metalforming Intelligent Manufacturing Co ltd
Priority to CN202210377316.7A priority Critical patent/CN114462459A/en
Publication of CN114462459A publication Critical patent/CN114462459A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention discloses a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model, which belongs to the field of hydraulic machine fault diagnosis methods, improves the precision, speed and the like of fault diagnosis, is different from a neural network which artificially extracts features as input, and the 1DCNN adopts an original time domain signal as input, thereby greatly simplifying the design and application of diagnosis; spatial and temporal features are extracted through a one-dimensional convolution long-short term memory (1 DCNN-LSTM) network, and features in a larger range are effectively extracted to improve the fault diagnosis rate; in the proposed solution, the LSTM layer follows a one-dimensional convolutional neural network (1 DCNN), which makes the number of time steps in the LSTM layer much smaller than the length of the input segment. Therefore, the computational complexity of the LSTM layer is greatly reduced; in order to overcome the problem that a deep learning model is very dependent on professional knowledge and manual debugging, an IWOA algorithm is used for solving the problem of automatically selecting hyper-parameters in a 1DCNN-LSTM model.

Description

Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model
Technical Field
The invention relates to the field of hydraulic machine fault diagnosis methods, in particular to a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model.
Background
With the continuous development and progress of the industrial informatization technology, the hydraulic machine is developed more and more towards the direction of precision, complication and intellectualization, which brings new challenges to the fault diagnosis and management of the hydraulic machine while creating convenience for the production and life of human beings, and the existing hydraulic technology becomes one of the key technologies in the industrial fields of all countries in the world, according to incomplete statistics, more than 95% of mechanical equipment adopts the hydraulic technology and device, the hydraulic machine is a core device which must be adopted for processing and forging various high-strength steels, carbon steels and alloy steels, is widely used in equipment in the heavy industrial fields of aerospace, steels, large-scale bearing parts, nuclear industry, military, ships, lifting machines, artificial boards and the like, is key equipment in the national economic strut industry of energy, petroleum, metallurgy and the like, and some are strategic equipment required by industrial systems and national defense, the hydraulic press is a basic device for developing large military equipment and large industrial equipment in China, marks the comprehensive production capacity and the technical development level of the country, is of vital importance in reliability and safe operation, and once the hydraulic press fails, the healthy operation of the whole production system is influenced, so that serious production events are caused, and even more, serious loss of life and property is caused.
The hydraulic machine is essentially a system integrating electromechanical control and hydraulic control, the hydraulic machine has the characteristics of concealment, staggering, randomness, difference and the like in fault, and the fault shutdown not only reduces the production efficiency of enterprises, but also causes huge economic loss. In the absence of effective fault diagnosis means, technicians usually perform fault location by using isolation methods, logic analysis methods, component swapping methods, and the like. However, even experienced technicians require a long time to troubleshoot. Therefore, the signal processing method based on mathematical analysis is widely applied to the fault diagnosis of the hydraulic machine in the early stage. Although the methods have remarkable effect on some diagnostic problems due to the diversity and complexity of faults, the feature extraction methods mainly rely on expert knowledge, have high threshold values, are very complex and time-consuming in operation, and adopt the 1DCNN-LSTM network to extract spatial and temporal features, so as to effectively extract a wider range of features and improve the fault diagnosis rate; and greatly reduces the computational complexity of the LSTM layer.
Disclosure of Invention
The invention provides a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model to solve the problems.
In order to achieve the purpose, the invention adopts the following technical scheme:
a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model comprises the following steps:
s1: collecting a fault signal of the hydraulic machine;
s2: making a model training data set (a training set and a testing set), classifying and marking;
s3: extracting the fault signal characteristics of the hydraulic machine through a one-dimensional convolution long-short term memory (1 DCNN-LSTM) network;
s4: optimizing 1DCNN-LSTM network hyper-parameters by adopting an Improved Whale Optimization Algorithm (IWOA);
s5: utilizing Softmax as a classifier, and training and verifying the deep network model;
s6: and inputting the measured signal into a model to obtain fault type information.
Preferably, the hydraulic machine fault signals collected in the step S1 include a hydraulic pressure signal, a hydraulic flow signal, a hydraulic temperature signal, a solenoid valve power failure condition and a vibration signal in a fault mode.
Preferably, the hydraulic pressure signal is acquired by a PPM-T322H pressure sensor, the hydraulic flow signal is acquired by an FT-330 type sensor, and the vibration signal is acquired by an SG2000 vibration sensor.
Preferably, the fault signals under the various fault modes collected in step S1 are not less than 100 groups, where 80% of the fault signals are used as a training set, and 20% of the fault signals are used as a verification set, and the training sets are respectively labeled.
Preferably, the one-dimensional convolution long-short term memory (1 DCNN-LSTM) network of step S3 includes a one-dimensional convolution neural network and a long-short term memory neural network; the one-dimensional convolutional neural network is not less than 1 convolutional module, and the convolutional module comprises a convolutional layer, a pooling layer and batch standardization; inputting the fault signal into a 1DCNN-LSTN model, learning the characteristic quantity of the fault signal through the convolution layer, realizing the reconstruction of the characteristic quantity of the fault through the pooling layer, and carrying out standardization processing on each hidden layer through batch standardization; inputting the reconstructed characteristic quantity into an LSTM network, and performing secondary extraction on the characteristic time sequence information through the LSTM network; and inputting the feature vector processed by the LSTM into a Global Average Poolling layer to realize the dimension reduction of the feature vector.
Preferably, the hyper-parameters to be optimized by the 1DCNN-LSTM algorithm in step S4 are mapped into the IWOA optimization algorithm, and the obtained classification precision of the test set is used as a fitness function of the IWOA optimization algorithm.
Preferably, the Softmax classifier of step S5 classifies the failure into 5 modes, i.e., abnormal downward sliding, no lifting of the press, no pressurization, no pressure maintaining, and abnormal pressure maintaining, which are respectively represented by F1, F2, F3, F4, and F5 in a one-to-one correspondence.
Preferably, the loss function for training and verifying the deep network model in step S5 is as follows:
Figure 804624DEST_PATH_IMAGE001
wherein,
Figure 908847DEST_PATH_IMAGE002
is an event
Figure 720814DEST_PATH_IMAGE003
The probability of (a) of (b) being,
Figure 252289DEST_PATH_IMAGE004
is an event
Figure 657863DEST_PATH_IMAGE005
The amount of information of (a) is,
Figure 565776DEST_PATH_IMAGE006
is the ith eigenvector after convolution processing.
The hydraulic machine fault diagnosis system comprises a hydraulic machine fault signal acquisition system, a fault identification system and a hydraulic machine control system. The hydraulic machine fault signal acquisition system comprises a PPM-T322H pressure sensor, an FT-330 type flow sensor and an SG2000 vibration sensor for acquisition.
Preferably, the fault identification system uses a PC or FPGA processing card as a processing module of the 1DCNN-LSTM network model, the input end of the fault identification system is connected with the hydraulic machine fault information acquisition system, and the output section is connected with the hydraulic machine control system.
Compared with the prior art, the invention provides a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model, which has the following beneficial effects:
1. the invention has the beneficial effects that: the accuracy, the speed and the like of fault diagnosis are improved, and different from a neural network with artificially extracted features as input, the 1DCNN adopts an original time domain signal as input, so that the design and the application of diagnosis are greatly simplified; spatial and temporal features are extracted through a one-dimensional convolution long-short term memory (1 DCNN-LSTM) network, and features in a larger range are effectively extracted to improve the fault diagnosis rate; in the proposed solution, the LSTM layer follows a one-dimensional convolutional neural network (1 DCNN), which makes the number of time steps in the LSTM layer much smaller than the length of the input segment. Therefore, the computational complexity of the LSTM layer is greatly reduced; in order to overcome the problem that a deep learning model is very dependent on professional knowledge and manual debugging, an IWOA algorithm is used for solving the problem of automatically selecting hyper-parameters in a 1DCNN-LSTM model.
Drawings
FIG. 1 is a flowchart of a method for diagnosing a fault of a hydraulic machine based on a 1DCNN-LSTM network model according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Example 1:
a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model comprises the following steps:
s1: collecting a fault signal of the hydraulic machine;
s2: making a model training data set (a training set and a testing set), classifying and marking;
s3: extracting the fault signal characteristics of the hydraulic machine through a one-dimensional convolution long-short term memory (1 DCNN-LSTM) network;
s4: optimizing 1DCNN-LSTM network hyper-parameters by adopting an Improved Whale Optimization Algorithm (IWOA);
s5: utilizing Softmax as a classifier, and training and verifying the deep network model;
s6: and inputting the measured signal into a model to obtain fault type information.
The hydraulic machine fault signals collected in the step S1 include a hydraulic pressure signal, a hydraulic flow signal, a hydraulic temperature signal, a solenoid valve power failure condition, and a vibration signal in a fault mode.
The hydraulic pressure signal is collected through a PPM-T322H pressure sensor, the hydraulic flow signal is collected through an FT-330 type sensor, and the vibration signal is collected through an SG2000 vibration sensor.
The fault signals under various fault modes collected in step S1 are not less than 100 groups, wherein 80% of the fault signals are used as a training set, and 20% of the fault signals are used as a verification set, and the training sets are respectively labeled.
The one-dimensional convolution long-short term memory (1 DCNN-LSTM) network of the step S3 comprises a one-dimensional convolution neural network and a long-short term memory neural network; the one-dimensional convolutional neural network is not less than 1 convolutional module, and the convolutional module comprises a convolutional layer, a pooling layer and batch standardization; inputting the fault signal into a 1DCNN-LSTN model, learning the characteristic quantity of the fault signal through the convolution layer, realizing the reconstruction of the fault characteristic quantity through the pooling layer, and carrying out standardization processing on each hidden layer through batch standardization; inputting the reconstructed characteristic quantity into an LSTM network, and performing secondary extraction on the characteristic time sequence information through the LSTM network; the feature vector processed by the LSTM is input into a Global Average Pooling layer to realize the dimension reduction of the feature vector.
And step S4, mapping the hyper-parameters needing to be optimized by the 1DCNN-LSTM algorithm into the IWOA optimization algorithm, and using the obtained classification precision of the test set as a fitness function of the IWOA optimization algorithm.
The Softmax classifier of step S5 classifies the failure into 5 modes of abnormal downslide, no lifting of the press, no pressurization, no pressure holding, and abnormal pressure holding, which are respectively represented by F1, F2, F3, F4, and F5 in a one-to-one correspondence.
The loss function for training and verifying the deep network model in step S5 is as follows:
Figure 248561DEST_PATH_IMAGE007
wherein,
Figure 950938DEST_PATH_IMAGE008
is an event
Figure 843808DEST_PATH_IMAGE009
The probability of (a) of (b) being,
Figure 289832DEST_PATH_IMAGE010
is an event
Figure 580786DEST_PATH_IMAGE011
The amount of information of (a) is,
Figure 454064DEST_PATH_IMAGE012
is the ith eigenvector after convolution processing.
The hydraulic machine fault diagnosis system comprises a hydraulic machine fault signal acquisition system, a fault identification system and a hydraulic machine control system. The hydraulic machine fault signal acquisition system comprises a PPM-T322H pressure sensor, an FT-330 type flow sensor and an SG2000 vibration sensor for acquisition.
The fault recognition system uses a PC or an FPGA processing card as a processing module of the 1DCNN-LSTM network model, the input end of the fault recognition system is connected with the hydraulic machine fault information acquisition system, and the output section is connected with the hydraulic machine control system.
Example 2: based on example 1, but with the following differences:
a hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model comprises the following steps:
s1: collecting a fault signal of the hydraulic machine;
s2: making a model training data set (a training set and a testing set), classifying and marking;
s3: extracting the fault signal characteristics of the hydraulic machine through a one-dimensional convolution long-short term memory (1 DCNN-LSTM) network;
s4: optimizing 1DCNN-LSTM network hyperparameters by adopting an Improved Whale Optimization Algorithm (IWOA);
s5: utilizing Softmax as a classifier, and training and verifying the deep network model;
s6: and inputting the measured signals into a model to obtain fault type information.
The hydraulic machine fault signals collected in the step S1 include hydraulic pressure signals, hydraulic flow signals, hydraulic temperature signals, power failure conditions of the solenoid valve, and vibration signals of the hydraulic machine in fault modes such as abnormal downward sliding, no lifting of the hydraulic machine, no pressurization, no pressure maintaining, and abnormal pressure maintaining. The working process of the press comprises working states of descending, pressurizing, pressure maintaining, pressure releasing, lifting and the like of the press. Each working state corresponds to the power on and power off of different electromagnetic valves respectively, and simultaneously corresponds to the change of pressure and flow at different points of the system. When the hydraulic machine works, the hydraulic machine can run in a reciprocating mode in a normal state, when a certain element goes wrong, the hydraulic machine can enter a fault state, common faults of the hydraulic machine mainly include abnormal sliding, no lifting, no pressurization, no pressure maintaining, poor pressure maintaining and the like, and the fault reasons mainly include seal damage, valve blockage, electromagnetic coil burnout and the like. The hydraulic pressure signal is collected by a PPM-T322H pressure sensor, the hydraulic flow signal is collected by an FT-330 type sensor, and the vibration signal is collected by an SG2000 vibration sensor. Collecting not less than 100 groups of fault signals under various fault modes, wherein 80% of fault signals are used as a training set, 20% of fault signals are used as a verification set, and the training set is respectively marked.
Step S3, the one-dimensional convolution long-short term memory (1 DCNN-LSTM) network comprises a one-dimensional convolution neural network and a long-short term memory neural network; the one-dimensional convolutional neural network is not less than 1 convolutional module, and the convolutional module comprises a convolutional layer, a pooling layer and batch standardization; inputting the fault signal into a 1DCNN-LSTN model, learning the characteristic quantity of the fault signal through the convolution layer, realizing the reconstruction of the fault characteristic quantity through the pooling layer, and carrying out standardization processing on each hidden layer through batch standardization; inputting the reconstructed characteristic quantity into an LSTM network, and performing secondary extraction on the characteristic time sequence information through the LSTM network; and inputting the feature vector processed by the LSTM into a Global Average Poolling layer to realize the dimension reduction of the feature vector.
The convolution layer is mainly composed of a plurality of convolution kernels, the convolution kernels have the characteristics of local perception and parameter sharing, and model parameters can be greatly reduced while various feature expressions are learned. Since the input of 1DCNN is a one-dimensional vector, the convolution kernel of the network is also one-dimensional, and the one-dimensional convolution operation can be expressed as
Figure 834230DEST_PATH_IMAGE013
(1)
In the formula:
Figure 818367DEST_PATH_IMAGE014
input and bias for the kth neuron of the l layer respectively,
Figure 475744DEST_PATH_IMAGE015
is a convolution kernel between the ith neuron of the l-1 layer and the kth neuron of the l layer,
Figure 519923DEST_PATH_IMAGE016
is the output of the ith neuron at layer l-1,
Figure 387385DEST_PATH_IMAGE017
the number of the first-1 layer neurons,
Figure 175213DEST_PATH_IMAGE018
is a one-dimensional convolution operation.
To increase the non-linearity of the network, an activation function is typically applied after each convolution operation. In order to prevent gradient disappearance and accelerate convergence of the network, the activation function adopts a modified linear unit (ReLU) with the expression of
Figure 936364DEST_PATH_IMAGE019
The final output of each neuron in the convolutional layer is therefore:
Figure 151445DEST_PATH_IMAGE020
the pooling layer adopts maximum pooling, namely taking the maximum value in an adjacent area of a certain position as the final output of the position:
Figure 240624DEST_PATH_IMAGE021
in the formula: h is the convolution kernel width;
the pooling layer reduces the size of the feature map and the parameter amount of the network by using the overall statistical features of the regions adjacent to a certain location as the output of the network at the location, and at the same time network overfitting can be effectively avoided,
batch normalization normalizes each hidden layer such that each layer has the same gaussian distribution with mean 0 and variance 1:
Figure 832142DEST_PATH_IMAGE022
in the formula:
Figure 198532DEST_PATH_IMAGE023
Figure 584514DEST_PATH_IMAGE024
mean and standard deviation of batch (batch) data, respectively;
Figure 426568DEST_PATH_IMAGE025
to avoid infinite decimals with denominators of zero;
Figure 556198DEST_PATH_IMAGE026
Figure 527828DEST_PATH_IMAGE027
respectively carrying out input before batch normalization and intermediate output of batch normalization on the ith neuron;
Figure 350290DEST_PATH_IMAGE028
Figure 414061DEST_PATH_IMAGE029
scale transformation factors and offset factors introduced for recovering network expression capacity are obtained by network learning;
Figure 347382DEST_PATH_IMAGE030
and (4) outputting the final output after neuron batch standardization.
Batch standardization can avoid internal covariate change and gradient dispersion of each layer of neurons, and accelerate the network convergence speed;
the LSTM network architecture deletes or adds information to the cell state by introducing a "gated" structure. The output of the sigma layer is a value of 0-1, which represents how much information can flow through the sigma layer. Neither of 0 and 1 indicates that both cannot pass. LSTM controls the cell state by three gates, called forgetting gate, input gate and output gate, respectively. Forget to check through door (ft)
Figure 422785DEST_PATH_IMAGE031
And
Figure 416149DEST_PATH_IMAGE032
information to output a vector between 0-1, the 0-1 values within the vector representing the state of the cell
Figure 967216DEST_PATH_IMAGE033
How much information is retained or discarded. 0 means no reservation and 1 means both reservations.
Input gate (it) to decide update
Figure 360020DEST_PATH_IMAGE034
And
Figure 617826DEST_PATH_IMAGE035
which information of, then utilize
Figure 844408DEST_PATH_IMAGE036
And
Figure 554875DEST_PATH_IMAGE037
obtaining new candidate cell information through Tanh layer
Figure 767682DEST_PATH_IMAGE038
. The update rule is as follows:
by forgetting to remember the door (f)t) selecting a part of the forgotten old cell information, and adding candidate cell information through the input gate
Figure 145574DEST_PATH_IMAGE039
Part of which obtains new cellular information
Figure 277478DEST_PATH_IMAGE040
. The update rule is as follows:
the output gate (ot) controls how much memory information will be used in the next phase of updating.
Figure 740820DEST_PATH_IMAGE041
Wherein,
Figure 239541DEST_PATH_IMAGE042
-an input at the time t,
Figure 471940DEST_PATH_IMAGE043
-a weight matrix, b-a bias matrix,
Figure 774745DEST_PATH_IMAGE044
-the candidate vector at the time t,
Figure 725383DEST_PATH_IMAGE045
-the update value at the time t,
Figure 279993DEST_PATH_IMAGE046
all outputs of the t, t-1 time point model
The LSTM network architecture can overcome the disadvantages of extinction and explosion gradients in RNN models.
Step S4, mapping the hyper-parameters to be optimized by the 1DCNN-LSTM algorithm to the IWOA optimization algorithm, and using the obtained classification precision of the test set as the fitness function of the IWOA optimization algorithm
In the IWOA algorithm, the automatic super-parameter searching is controlled by setting the Number of the operations and the size of the Searchgents parameters of the IWOAAnd obtaining a global optimal solution, namely the network hyper-parameter of the CNN-LSTM. Assuming the size of the whale population is N, the search space is d-dimensional, and the position of the nth whale in the d-dimensional space can be expressed as
Figure 366897DEST_PATH_IMAGE047
The location of the prey corresponds to the global optimal solution to the problem. By simulating whale foraging behavior, the bounding predation phase can be represented by the following mathematical model:
Figure 106183DEST_PATH_IMAGE048
wherein t is the number of current iterations;
Figure 278539DEST_PATH_IMAGE049
is an individual position vector;
Figure 620527DEST_PATH_IMAGE050
as prey location vector (current optimal solution); a and D1Are coefficient vectors, respectively, and have:
Figure 827517DEST_PATH_IMAGE051
wherein Max _ iter is the maximum number of iterations, and r is [0, 1 ]]The random number of (2);
Figure 472125DEST_PATH_IMAGE052
for the control parameter of the current iteration t times, the control parameter is linearly decreased from 2 to 0 along with the increase of the iteration times, namely:
introducing a dynamic balance factor:
Figure 131777DEST_PATH_IMAGE053
wherein,
Figure 28189DEST_PATH_IMAGE054
in order to balance the factors, the method comprises the following steps of,
Figure 89686DEST_PATH_IMAGE055
is a dynamic balance factor.
Creating a spiral equation between whale and prey positions
Figure 170774DEST_PATH_IMAGE056
As follows:
Figure 317722DEST_PATH_IMAGE057
wherein,
Figure 502978DEST_PATH_IMAGE058
linearly increasing the control parameter of the current iteration t times from-1 to 0 along with the increase of the iteration times;
Figure 418981DEST_PATH_IMAGE059
is [ -1, 1 [ ]]A random number in between; d2Is composed of
Figure 670971DEST_PATH_IMAGE060
A coefficient vector of time; b is a constant defining the shape of a logarithmic spiral;
the whale optimization algorithm can overcome the defect that a deep learning model is very dependent on professional knowledge and manual debugging, so that the 1DCNN-LSTM model can select reasonable hyper-parameters while achieving high accuracy. And more accurate network hyper-parameters are obtained, so that more comprehensive measuring point signal data characteristics are obtained, and the accuracy of model fault diagnosis is improved.
The step S5Softmax classifier classifies the fault into 5 modes of abnormal gliding, no lifting of the press, no pressurization, no pressure maintaining and abnormal pressure maintaining, and is respectively represented by F1, F2, F3, F4 and F5.
The loss function for training and verifying the deep network model in step S5 is as follows:
Figure 305214DEST_PATH_IMAGE061
wherein,
Figure 543429DEST_PATH_IMAGE062
is an event
Figure 110676DEST_PATH_IMAGE063
The probability of (a) of (b) being,
Figure 471251DEST_PATH_IMAGE064
is an event
Figure 779741DEST_PATH_IMAGE065
The amount of information of (a) is,
Figure 618384DEST_PATH_IMAGE066
the ith characteristic vector is subjected to convolution processing;
in step S5, the deep convolutional network diagnostic performance is measured by cross validation using three performance indicators, namely accuracy, precision and recall. Comprehensively evaluating the classification effect of the model through the three indexes, and defining the classification effect as follows:
Figure 774559DEST_PATH_IMAGE067
wherein TP represents the prediction of the positive class as the number of the positive classes; FN denotes predicting positive class as a negative class number; FP denotes the prediction of negative classes as positive class numbers; TN denotes predicting a negative class as a negative class number. Accuracy, recall, and accuracy vary from 0 to 1. The larger the value, the better the trained model fault diagnosis performance.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (10)

1. A hydraulic machine fault diagnosis method based on a 1DCNN-LSTM network model is characterized by comprising the following steps:
s1: collecting a fault signal of the hydraulic machine;
s2: making a model training data set, wherein the data set comprises a training set and a test set, and classifying and marking;
s3: extracting the fault signal characteristics of the hydraulic machine through a one-dimensional convolution long-term and short-term memory network;
s4: optimizing 1DCNN-LSTM network hyper-parameters by adopting an improved whale optimization algorithm;
s5: utilizing Softmax as a classifier, and training and verifying the deep network model;
s6: and inputting the measured signal into a model to obtain fault type information.
2. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 1, wherein the method comprises the following steps: the hydraulic machine fault signals collected in the step S1 include a hydraulic pressure signal, a hydraulic flow signal, a hydraulic temperature signal, a power failure condition of the solenoid valve, and a vibration signal in a fault mode.
3. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 2, wherein the method comprises the following steps: the hydraulic pressure signal is collected through a PPM-T322H pressure sensor, the hydraulic flow signal is collected through an FT-330 type sensor, and the vibration signal is collected through an SG2000 vibration sensor.
4. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 1, wherein the method comprises the following steps: the fault signals collected in the step S1 under various fault modes are not less than 100 groups, wherein 80% of the fault signals are used as a training set, and 20% of the fault signals are used as a verification set, and the training sets are respectively labeled.
5. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 1, wherein the method comprises the following steps: the one-dimensional convolution long-short term memory (1 DCNN-LSTM) network of the step S3 comprises a one-dimensional convolution neural network and a long-short term memory neural network; the one-dimensional convolutional neural network is not less than 1 convolutional module, and the convolutional module comprises a convolutional layer, a pooling layer and batch standardization; inputting the fault signal into a 1DCNN-LSTN model, learning the characteristic quantity of the fault signal through the convolution layer, realizing the reconstruction of the characteristic quantity of the fault through the pooling layer, and carrying out standardization processing on each hidden layer through batch standardization; inputting the reconstructed characteristic quantity into an LSTM network, and performing secondary extraction on the characteristic time sequence information through the LSTM network; the feature vector processed by the LSTM is input into a Global Average Pooling layer to realize the dimension reduction of the feature vector.
6. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 1, wherein the method comprises the following steps: and mapping the hyper-parameters needing to be optimized by the 1DCNN-LSTM algorithm to the IWOA optimization algorithm in the step S4, and using the obtained classification precision of the test set as a fitness function of the IWOA optimization algorithm.
7. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model according to claim 1, wherein the method comprises the following steps: the Softmax classifier of the step S5 classifies the failure into 5 modes, i.e., abnormal downward sliding, no lifting of the press, no pressurization, no pressure maintaining, and abnormal pressure maintaining, which are respectively represented by F1, F2, F3, F4, and F5 in a one-to-one correspondence.
8. The method for diagnosing the fault of the hydraulic machine based on the 1DCNN-LSTM network model as claimed in claim 1, wherein: the loss function for training and verifying the deep network model in step S5 is as follows:
Figure 833040DEST_PATH_IMAGE001
wherein,
Figure 694816DEST_PATH_IMAGE002
is an event
Figure 329060DEST_PATH_IMAGE003
The probability of (a) of (b) being,
Figure 691908DEST_PATH_IMAGE004
is an event
Figure 727997DEST_PATH_IMAGE005
The amount of information of (a) is,
Figure 242899DEST_PATH_IMAGE006
is the ith eigenvector after convolution processing.
9. The hydraulic machine fault diagnosis system applied to the hydraulic machine fault diagnosis method based on the 1DCNN-LSTM network model is characterized in that: the hydraulic machine fault signal acquisition system, the fault recognition system and the hydraulic machine control system are included; the hydraulic machine fault signal acquisition system comprises a PPM-T322H pressure sensor, an FT-330 type flow sensor and an SG2000 vibration sensor for acquisition.
10. The hydraulic machine fault diagnosis system based on the 1DCNN-LSTM network model according to claim 9, wherein: the fault recognition system uses a PC or an FPGA processing card as a processing module of the 1DCNN-LSTM network model, the input end of the fault recognition system is connected with the hydraulic machine fault information acquisition system, and the output section is connected with the hydraulic machine control system.
CN202210377316.7A 2022-04-12 2022-04-12 Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model Withdrawn CN114462459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210377316.7A CN114462459A (en) 2022-04-12 2022-04-12 Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210377316.7A CN114462459A (en) 2022-04-12 2022-04-12 Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model

Publications (1)

Publication Number Publication Date
CN114462459A true CN114462459A (en) 2022-05-10

Family

ID=81416671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210377316.7A Withdrawn CN114462459A (en) 2022-04-12 2022-04-12 Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model

Country Status (1)

Country Link
CN (1) CN114462459A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115099264A (en) * 2022-05-26 2022-09-23 哈尔滨工程大学 Ship part fault diagnosis method and device, computer and computer storage medium
CN115859090A (en) * 2023-02-23 2023-03-28 华东交通大学 Turnout fault diagnosis method and system based on 1DCNN-LSTM
CN118068820A (en) * 2024-04-19 2024-05-24 四川航天电液控制有限公司 Intelligent fault diagnosis method for hydraulic support controller
DE102023200194A1 (en) 2023-01-11 2024-07-11 Hawe Hydraulik Se Method for automated, measurement data-based design of an electronic controller for a hydraulic system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139514A (en) * 2021-05-14 2021-07-20 安徽三禾一信息科技有限公司 Hydraulic system fault diagnosis method based on fuzzy neural network
CN113822139A (en) * 2021-07-27 2021-12-21 河北工业大学 Equipment fault diagnosis method based on improved 1DCNN-BilSTM

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139514A (en) * 2021-05-14 2021-07-20 安徽三禾一信息科技有限公司 Hydraulic system fault diagnosis method based on fuzzy neural network
CN113822139A (en) * 2021-07-27 2021-12-21 河北工业大学 Equipment fault diagnosis method based on improved 1DCNN-BilSTM

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUANYUAN JIANG 等: "A Fault Feature Extraction Method for DC-DC Converters Based on Automatic Hyperparameter-Optimized One-Dimensional Convolution and Long Short-Term Memory Neural Networks", 《JOURNAL OF LATEX CLASS FILES》 *
刘忠雨 等: "《深入浅出图神经网络 GNN原理解析》", 30 April 2020, 机械工业出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115099264A (en) * 2022-05-26 2022-09-23 哈尔滨工程大学 Ship part fault diagnosis method and device, computer and computer storage medium
DE102023200194A1 (en) 2023-01-11 2024-07-11 Hawe Hydraulik Se Method for automated, measurement data-based design of an electronic controller for a hydraulic system
CN115859090A (en) * 2023-02-23 2023-03-28 华东交通大学 Turnout fault diagnosis method and system based on 1DCNN-LSTM
CN118068820A (en) * 2024-04-19 2024-05-24 四川航天电液控制有限公司 Intelligent fault diagnosis method for hydraulic support controller

Similar Documents

Publication Publication Date Title
CN114462459A (en) Hydraulic machine fault diagnosis method based on 1DCNN-LSTM network model
Li et al. A directed acyclic graph network combined with CNN and LSTM for remaining useful life prediction
CN116757534B (en) Intelligent refrigerator reliability analysis method based on neural training network
CN108363896B (en) Fault diagnosis method for hydraulic cylinder
Miao et al. A novel real-time fault diagnosis method for planetary gearbox using transferable hidden layer
CN108921230A (en) Method for diagnosing faults based on class mean value core pivot element analysis and BP neural network
CN112147432A (en) BiLSTM module based on attention mechanism, transformer state diagnosis method and system
CN113743016B (en) Engine residual life prediction method based on self-encoder and echo state network
CN111046961B (en) Fault classification method based on bidirectional long-time and short-time memory unit and capsule network
CN112504682A (en) Chassis engine fault diagnosis method and system based on particle swarm optimization algorithm
CN112734131A (en) Fan blade icing state prediction method based on deep learning algorithm
CN113989550A (en) Electric vehicle charging pile operation state prediction method based on CNN and LSTM hybrid network
CN115618732A (en) Nuclear reactor digital twin key parameter autonomous optimization data inversion method
CN113011248A (en) Nuclear power plant fault diagnosis method based on LSTM
CN114169091A (en) Method for establishing prediction model of residual life of engineering mechanical part and prediction method
Liu et al. Deep & attention: A self-attention based neural network for remaining useful lifetime predictions
CN113126489B (en) Intelligent BIT design method of heavy-duty gas turbine control system based on CNN-GRU-BINN
CN113673774A (en) Aero-engine remaining life prediction method based on self-encoder and time sequence convolution network
CN115791174B (en) Rolling bearing abnormality diagnosis method, system, electronic equipment and storage medium
CN115048873B (en) Residual service life prediction system for aircraft engine
CN114841063A (en) Aero-engine residual life prediction method based on deep learning
CN114818811A (en) Aircraft engine rolling bearing fault diagnosis method based on twin network metric learning
Zhou et al. Remaining useful life prediction of aero-engine using CNN-LSTM and mRMR feature selection
CN115753102A (en) Bearing fault diagnosis method based on multi-scale residual error sub-domain adaptation
Gao et al. Fault detection of electric vehicle charging piles based on extreme learning machine algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220510