A hydraulic system fault diagnosis method and system

By synthesizing fault samples in the hydraulic system and using meta-learning and GAN to generate an adversarial network, combined with the residual network and long short-term memory network, the problem of imbalanced fault samples is solved, and the accuracy of fault diagnosis and model generalization of the hydraulic system are improved. ability.

CN117989196BActive Publication Date: 2024-09-10SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410335679.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-09-10
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

The hydraulic system fault diagnosis model has poor accuracy due to the imbalance of fault samples, which affects the accuracy of fault diagnosis.

Method used

Synthesize fault samples by collecting hydraulic system data, combine original health data and fault data for model training, use meta-learning and generative adversarial networks (GAN) to generate synthetic fault samples, expand the training data set, and use residual networks and long short-term memory networks Perform feature extraction and time series analysis.

Benefits of technology

It improves the generalization ability of the fault diagnosis model and the accuracy of small-sample fault diagnosis, reduces missed detections and false detections, and enhances the model's learning ability and fault diagnosis accuracy in new environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117989196B
    Figure CN117989196B
Patent Text Reader

Abstract

The present invention provides a hydraulic system fault diagnosis method and system, which relate to the field of hydraulic system monitoring. Aiming at the problem that the current small sample hydraulic system fault diagnosis accuracy is poor, the collected hydraulic system data is used to synthesize fault samples, complete the expansion of the fault samples, and fuse the fault samples with the original healthy data and the fault data for training the fault diagnosis model, thereby improving the generalization ability of the model and improving the accuracy of small sample fault diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of hydraulic system monitoring, and in particular to a hydraulic system fault diagnosis method and system. Background Art

[0002] Hydraulic systems are used in the fields of industry and machinery. They achieve many key functions by using liquids to transmit force and control movement. However, as a complex system that integrates electrical, mechanical, and fluid characteristics, the hydraulic system has characteristics such as uncertainty, nonlinearity, and time-varying. In addition, the pipelines are closed and failures often occur internally and are difficult to troubleshoot, posing a certain threat to the safe production of equipment. However, since the hydraulic system is the key to protecting the safety of equipment, the equipment needs to be stopped when a failure occurs, resulting in a small number of fault samples and insufficient training, which leads to problems such as missed detection and false detection, affecting the accuracy of fault diagnosis.

[0003] A Chinese patent application (publication number CN116910574A) discloses a mechanical equipment diagnosis method and device based on meta-learning and temporal convolutional networks, which enables the network parameters of the fault diagnosis model to converge in a smaller number of iterations and obtain good generalization performance, thereby improving the accuracy of small sample fault diagnosis and reducing the cost of building the fault diagnosis model; however, it still has the problem of unbalanced fault samples, resulting in poor accuracy of the network parameters of the fault diagnosis model, affecting the accuracy of the fault diagnosis model. Summary of the invention

[0004] The purpose of the present invention is to provide a hydraulic system fault diagnosis method and system to address the defects of the prior art, utilize the collected hydraulic system data to synthesize fault samples, complete the expansion of fault samples, and fuse the fault samples with the original healthy data and fault data for training the fault diagnosis model, thereby improving the generalization ability of the model and improving the accuracy of small sample fault diagnosis.

[0005] The first object of the present invention is to provide a hydraulic system fault diagnosis method, which adopts the following scheme:

[0006] include:

[0007] Obtain and process the current operating data of the target hydraulic system;

[0008] Inputting the processed current operation data into a fault diagnosis model to obtain a fault diagnosis prediction value of the target hydraulic system;

[0009] The fault diagnosis model is obtained by meta-learning training of a residual network and a long short-term memory network based on a sample data set; the sample data set is constructed based on processed historical operating status data of a sample hydraulic system and synthetic fault samples of a fault sample generation network.

[0010] Furthermore, the fault diagnosis model is trained based on the following steps:

[0011] The sample data set is divided into a training set and a validation set; wherein the fault sample generation network generates synthetic fault samples based on part of the training set, and the new training set includes the synthetic fault samples generated by the fault generation network and the samples in the training set that did not participate in the sample generation network training;

[0012] Based on the new training set and validation set, meta-learning training is performed on the residual network and the long short-term memory network, and the fault diagnosis model is obtained according to the training results.

[0013] Furthermore, the fault sample generation network generates synthetic fault samples based on a part of the training set, including:

[0014] The training set is divided into a support set and a query set, which serve as meta-tasks in meta-learning. The data in the sample hydraulic system contained in the training set meta-task and the data in other dataset meta-tasks come from different working conditions of the sample hydraulic system.

[0015] Use part of the training set as the input of the sample generation network, and input random noise and sample labels in the support set into the generator;

[0016] The fault samples and query sets output by the generator are input into the discriminator together as original samples;

[0017] The discriminator propagates the identification results forward to the generator and updates the fault sample generation network parameters to minimize the difference between the faulty sample and the original sample;

[0018] The fault samples that meet the difference requirements are output as synthetic fault samples.

[0019] Furthermore, the current operating data is processed by performing noise reduction processing on the current operating data through a variational autoencoder network, and the operating data of the sample hydraulic system is subjected to noise reduction processing through a variational autoencoder network to obtain historical operating status data.

[0020] Furthermore, the variational autoencoder network maps the original data with noise into a latent space for processing, and remaps the processed output into the original data space to generate reconstructed data.

[0021] Furthermore, the residual network is designed with cross-layer connections and residual blocks to extract features of input data and retain the gradient of the data during training.

[0022] Furthermore, the long short-term memory network extracts features from time series data and captures long-term dependencies in the time series data.

[0023] Furthermore, when performing meta-learning training based on a sample data set, the learning ability of the meta-learning is adjusted through the data of the validation set under different working conditions in the sample data set.

[0024] Furthermore, the sample data set also includes a test set. After the meta-learning training is completed, the fault diagnosis model is tested through the test set to evaluate its diagnostic accuracy.

[0025] A second object of the present invention is to provide a hydraulic system fault diagnosis system, comprising:

[0026] The data acquisition module is configured to: acquire and process the current operation data of the target hydraulic system;

[0027] A fault diagnosis module is configured to: input the processed current operation data into a fault diagnosis model to obtain a fault diagnosis prediction value of the target hydraulic system;

[0028] The fault diagnosis model is obtained by meta-learning training of a residual network and a long short-term memory network based on a sample data set; the sample data set is constructed based on processed historical operating status data of a sample hydraulic system and synthetic fault samples of a fault sample generation network.

[0029] Compared with the prior art, the present invention has the following advantages and positive effects:

[0030] (1) In order to solve the problem of poor accuracy of small sample hydraulic system fault diagnosis, the collected hydraulic system data is used to synthesize fault samples, and the fault samples are expanded. The fault samples are fused with the original healthy data and fault data for training the fault diagnosis model, thereby improving the generalization ability of the model and the accuracy of small sample fault diagnosis.

[0031] (2) Through the design of cross-layer connections and residual blocks, the residual network can more effectively extract features from the input data and alleviate the problem of gradient disappearance during training.

[0032] (3) The residual network combined with the long short-term memory network is used as a meta-learner to learn fault features and improve the generalization ability of the model, so that it can learn quickly in new environments or new tasks and avoid overfitting on new data. By continuously training and updating the model parameters, the accuracy of the model in hydraulic system fault diagnosis with a small number of fault samples is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0034] Figure 1It is a flowchart of the hydraulic system fault diagnosis method in embodiments 1 and 2 of the present invention.

[0035] Figure 2 Schematic diagram of the variational autoencoder network in Examples 1 and 2 of the present invention.

[0036] Figure 3 Schematic diagram of a fault sample generation network in embodiments 1 and 2 of the present invention.

[0037] Figure 4 Schematic diagram of the fault diagnosis model in Examples 1 and 2 of the present invention. DETAILED DESCRIPTION

[0038] Example 1

[0039] In a typical embodiment of the present invention, Figure 1-Figure 4 As shown, a hydraulic system fault diagnosis method is given.

[0040] The number of hydraulic system fault samples is small and the training is insufficient, resulting in problems such as missed detection and false detection, affecting the accuracy of fault diagnosis. Based on this problem, this embodiment provides a hydraulic system fault diagnosis method, which combines meta-learning and improved GAN network (Generative Adversarial Networks) to realize small sample fault diagnosis of hydraulic system, and relies on hydraulic system status data to realize accurate fault diagnosis of small samples of hydraulic system.

[0041] See also Figure 1 , a hydraulic system fault diagnosis method, comprising:

[0042] Obtain and process the current operating data of the target hydraulic system;

[0043] Inputting the processed current operation data into the fault diagnosis model to obtain the fault diagnosis prediction value of the target hydraulic system;

[0044] The fault diagnosis model is obtained by meta-learning training of residual network and long short-term memory network based on sample data set; the sample data set is constructed based on the processed historical operating status data of the sample hydraulic system and the synthetic fault samples of the fault sample generation network.

[0045] like Figure 1As shown, in this embodiment, when training the fault diagnosis model, first, the hydraulic system state data is collected through the data acquisition system, and the hydraulic system data is denoised through the variational autoencoder; the denoised data is divided into a training set, a validation set and a test set, and the fault samples are expanded through the feature generation network; the fault samples are fused with the original healthy data and the fault data, and the residual network combined with the LSTM network (Long Short-Term Memory) is used as a meta-learner to learn fault features, thereby improving the generalization ability of the model, so that it can quickly learn in new environments or new tasks, avoid overfitting on new data, and update the model parameters through continuous training to improve the accuracy of the model in diagnosing hydraulic system faults with a small number of fault samples.

[0046] The fault diagnosis model is trained based on the following steps:

[0047] The sample data set is divided into a training set and a validation set; wherein the fault sample generation network generates synthetic fault samples based on part of the training set, and the new training set includes the synthetic fault samples generated by the fault generation network and the samples in the training set that did not participate in the sample generation network training;

[0048] Based on the new training set and validation set, meta-learning training is performed on the residual network and the long short-term memory network, and the fault diagnosis model is obtained according to the training results.

[0049] The fault sample generation network generates synthetic fault samples based on part of the training set, including:

[0050] The training set is divided into a support set and a query set, which serve as meta-tasks in meta-learning. The data in the sample hydraulic system contained in the training set meta-task and the data in other dataset meta-tasks come from different working conditions of the sample hydraulic system.

[0051] Use part of the training set as the input of the sample generation network, and input random noise and sample labels in the support set into the generator;

[0052] The fault samples and query sets output by the generator are input into the discriminator together as original samples;

[0053] The discriminator propagates the identification results forward to the generator and updates the fault sample generation network parameters to minimize the difference between the faulty sample and the original sample;

[0054] The fault samples that meet the difference requirements are output as synthetic fault samples.

[0055] The current operation data is processed by performing noise reduction processing on the current operation data through a variational autoencoder network, and the operation data of the sample hydraulic system is subjected to noise reduction processing through a variational autoencoder network to obtain historical operation state data, so that the historical operation state data is closer to the real or original state data when the sample hydraulic system is running.

[0056] Specifically, in this embodiment, Figure 2 As shown in the figure, a variational autoencoder denoising network is proposed.

[0057] The hydraulic system state data is input into the encoder, and the noisy raw data is mapped into the latent space through the encoder. The mean and variance of the extracted latent variables are used as output to extract effective feature representation from the noisy data.

[0058] The decoder is able to remap the latent variables into the original data space and generate reconstructed data.

[0059] In the process of training the variational autoencoder model, the Adam optimizer is used to adaptively adjust the learning rate to minimize the reconstruction loss and the latent space regularization term.

[0060] The denoised data is divided into training set, validation set and test set, and the data in each data set is further divided into support set and query set as meta-tasks in meta-learning. The hydraulic data contained in the training set meta-task is different from the data in the validation set and test set meta-tasks, that is, the data used comes from system data under two different working conditions.

[0061] In this embodiment, the entire data set has only two working conditions, no-load and full-load. The training set is the hydraulic system state data under the no-load condition, and the validation set and the test set are the hydraulic system state data under the full-load condition. Figure 3 As shown, the synthetic fault samples include:

[0062] A part of the meta-task in the denoised training set is used as the input of the sample generation network, and the random noise and the sample labels in the meta-task support set are input into the generator. The generator is responsible for generating synthetic fault samples from random noise; the meta-task query set is input into the discriminator together with the samples generated by the generator as the original samples. The discriminator distinguishes the input fault samples to determine whether they are real fault samples or synthetic fault samples generated by the generator, and propagates the identification results forward to the generator. By updating the iterative network parameters, the difference between the generated samples and the original samples is minimized, and finally synthetic fault samples with a similar distribution to the real samples are output.

[0063] like Figure 4As shown in Figure 1, a fault diagnosis model based on residual network combined with LSTM network meta-learner is proposed. The generated fault samples are combined with the samples in the training set that did not participate in the sample generation network training to form a new training set.

[0064] During the training phase, the training set and validation set are input into the meta-learning network. The residual network can more effectively extract features from the input data and alleviate the problem of gradient disappearance during training through the design of cross-layer connections and residual blocks.

[0065] The LSTM network can effectively extract features from time series data and capture long-term dependencies in the sequence, which helps the model to better learn and understand the data. During the training process, the learning ability of meta-learning is adjusted through the data in the verification set under different working conditions, thereby improving the accuracy of the model in diagnosing hydraulic system faults under conditions of sample imbalance.

[0066] Finally, after the training, the hydraulic system faults are predicted in a small sample environment and the diagnosis accuracy is calculated.

[0067] Example 2

[0068] In another typical embodiment of the present invention, Figure 1-Figure 4 As shown, a hydraulic system fault diagnosis system is given.

[0069] The hydraulic system fault diagnosis system includes:

[0070] The data acquisition module is configured to: acquire and process the current operation data of the target hydraulic system;

[0071] A fault diagnosis module is configured to: input the processed current operation data into a fault diagnosis model to obtain a fault diagnosis prediction value of the target hydraulic system;

[0072] The fault diagnosis model is obtained by meta-learning training of a residual network and a long short-term memory network based on a sample data set; the sample data set is constructed based on processed historical operating status data of a sample hydraulic system and synthetic fault samples of a fault sample generation network.

[0073] The working process of the hydraulic system fault diagnosis system is shown in Example 1 and will not be described in detail here.

[0074] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A hydraulic system fault diagnosis method, characterized in that: include: Obtain and process the current operating data of the target hydraulic system; Inputting the processed current operation data into a fault diagnosis model to obtain a fault diagnosis prediction value of the target hydraulic system; The fault diagnosis model is obtained by performing meta-learning training on a residual network and a long short-term memory network based on a sample data set; the sample data set is constructed based on processed historical operating status data of a sample hydraulic system and synthetic fault samples of a fault sample generation network; The fault diagnosis model is trained based on the following steps: The sample data set is divided into a training set and a validation set; wherein the fault sample generation network generates synthetic fault samples based on part of the training set, and the new training set includes the synthetic fault samples generated by the fault generation network and the samples in the training set that did not participate in the sample generation network training; Based on the new training set and validation set, meta-learning training is performed on the residual network and the long short-term memory network, and the fault diagnosis model is obtained according to the training results; The fault sample generation network generates synthetic fault samples based on a part of the training set, including: The training set is divided into a support set and a query set, which serve as meta-tasks in meta-learning. The data in the sample hydraulic system contained in the training set meta-task and the data in other dataset meta-tasks come from different working conditions of the sample hydraulic system. A part of the training set is used as the input of the sample generation network, and random noise and sample labels in the support set are input into the generator; the fault samples and query set output by the generator are input into the discriminator together as the original samples; The discriminator propagates the identification results forward to the generator and updates the fault sample generation network parameters to minimize the difference between the faulty sample and the original sample; The fault samples that meet the difference requirements are output as synthetic fault samples.

2. The hydraulic system fault diagnosis method according to claim 1, characterized in that: The current operation data is processed by performing noise reduction processing on the current operation data through a variational autoencoder network, and the operation data of the sample hydraulic system is subjected to noise reduction processing through a variational autoencoder network to obtain historical operation status data.

3. The hydraulic system fault diagnosis method according to claim 2, characterized in that: The variational autoencoder network maps the original data with noise into the latent space for processing, and remaps the processed output into the original data space to generate reconstructed data.

4. The hydraulic system fault diagnosis method according to claim 1, characterized in that: The residual network is designed with cross-layer connections and residual blocks to extract features of input data and retain the gradient of data during training.

5. The hydraulic system fault diagnosis method according to claim 1, characterized in that: The long short-term memory network extracts features from time series data and captures long-term dependencies in the time series data.

6. The hydraulic system fault diagnosis method according to claim 5, characterized in that: When performing meta-learning training based on a sample dataset, the learning ability of meta-learning is adjusted through the data of the validation set under different working conditions in the sample dataset.

7. The hydraulic system fault diagnosis method according to claim 1, characterized in that: The sample data set also includes a test set. After the meta-learning training is completed, the fault diagnosis model is tested through the test set to evaluate its diagnostic accuracy.

8. A hydraulic system fault diagnosis system, characterized in that: include: The data acquisition module is configured to: acquire and process the current operation data of the target hydraulic system; A fault diagnosis module is configured to: input the processed current operation data into a fault diagnosis model to obtain a fault diagnosis prediction value of the target hydraulic system; The fault diagnosis model is obtained by performing meta-learning training on a residual network and a long short-term memory network based on a sample data set; the sample data set is constructed based on processed historical operating status data of a sample hydraulic system and synthetic fault samples of a fault sample generation network; The fault diagnosis model is trained based on the following steps: The sample data set is divided into a training set and a validation set; wherein the fault sample generation network generates synthetic fault samples based on part of the training set, and the new training set includes the synthetic fault samples generated by the fault generation network and the samples in the training set that did not participate in the sample generation network training; Based on the new training set and validation set, meta-learning training is performed on the residual network and the long short-term memory network, and the fault diagnosis model is obtained according to the training results; The fault sample generation network generates synthetic fault samples based on a part of the training set, including: The training set is divided into a support set and a query set, which serve as meta-tasks in meta-learning. The data in the sample hydraulic system contained in the training set meta-task and the data in other dataset meta-tasks come from different working conditions of the sample hydraulic system. A part of the training set is used as the input of the sample generation network, and random noise and sample labels in the support set are input into the generator; the fault samples and query set output by the generator are input into the discriminator together as the original samples; The discriminator propagates the identification results forward to the generator and updates the fault sample generation network parameters to minimize the difference between the faulty sample and the original sample; The fault samples that meet the difference requirements are output as synthetic fault samples.