A method, system and storage medium for identifying the operating status of a water supply pump
By combining virtual and real data transfer learning methods, the efficiency and accuracy of water pump fault diagnosis are improved, the problems of low diagnostic efficiency and insufficient data in the existing technology are solved, and more efficient fault identification and lower cost are achieved. diagnosis.
Patent Information
- Application Number
- CN202410757413.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Existing water pump fault diagnosis methods rely on the experience of professionals, are inefficient and have safety hazards, and have a single data source. They fail to effectively combine virtual data and real test data, resulting in low diagnostic efficiency and insufficient fault data.
Obtain simulation data by establishing a virtual system model, obtain test data based on working condition output tests, perform data correction and division, input pre-trained models for transfer learning training, construct output labels to determine fault diagnosis results, and realize the connection between virtual and real data.
It improves the efficiency of water pump fault diagnosis, reduces diagnosis costs, and achieves lightweight and high utilization effects in aircraft design.
Smart Images

Figure CN118332389B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water supply pump fault diagnosis methods, and in particular to a water supply pump operating status identification method, system and storage medium. Background Art
[0002] With the continuous development of science and technology, the design of feed pumps is developing towards high speed, precision, low noise, continuous operation and complex structure. In underwater vehicles, the feed pump system unit and its related equipment operate under certain pressure and load for a long time, and there are many uncertain factors in the closed environment, which leads to high frequency of component degradation and failure, affecting the normal operation of the feed pump and even causing operation accidents. At present, the diagnostic methods used for feed pumps include empirical diagnosis and arranging spare machines. Traditional fault diagnosis methods are too dependent on the experience of professionals and their familiarity with the system. For large-scale ship power plant systems, it is costly to train a group of comprehensive and professional fault analysts. When a feed pump fails, professionals need to arrive at the site for troubleshooting, which is inefficient and poses safety hazards. In addition, the preparation of spare machines is inconsistent with the concept of lightweight and high utilization in the design of the vehicle.
[0003] The prior art discloses an intelligent fault diagnosis method for a water pump unit based on a multi-granularity cascade forest, including collecting a working status signal when the water pump unit to be tested is in a working state, and using the working status signal as a sample to be tested; inputting the sample to be tested into a multi-granularity cascade forest diagnosis model, performing feature conversion and step-by-step feature diagnosis, obtaining a working status label corresponding to the sample to be tested, and obtaining the working status of the water pump unit to be tested according to the working status label. However, the limitation of the prior art is that the data source is single, and the test data can only be obtained from the known water pump operation data, and the combination of virtual data and real test data is not realized. The diagnostic means are single and the source of fault data is insufficient. Summary of the invention
[0004] The embodiments of the present application provide a method, system and storage medium for identifying the operating status of a water feed pump, thereby solving the problems in the prior art of single diagnostic means, insufficient fault data sources and unclear operating status judgment during the operation and use of water feed pumps for aircraft. Based on the mutual integration of model theory and real machine test data, a connection between virtual and real data is established, which improves the efficiency of water feed pump fault diagnosis, reduces diagnostic costs, and achieves lightweight and high utilization effects in the design process of aircraft.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying the operating status of a water supply pump, comprising: establishing a virtual system model based on the parameters of the water supply pump to obtain simulation data of the water supply pump; performing an operating output test on the water supply pump to obtain test data of the water supply pump; correcting the simulation data based on the test data to obtain an enhanced data set, and dividing the enhanced data set into a training data set and a test data set; inputting the training data set into a pre-trained model for transfer learning training to obtain a trained transfer learning model and an output state value; evaluating the trained transfer learning model and constructing an output label, comparing the output state value with the output label to obtain a label value; and determining a fault diagnosis result based on the label value.
[0006] In combination with the first aspect, in a possible implementation method, the virtual system model is established based on the parameters of the water supply pump to obtain the simulation data of the water supply pump, including: establishing a standard system model based on the rated parameters of the water supply pump to obtain the theoretical standard operation data of the water supply pump; modifying the rated parameters, establishing a fault system model, and obtaining the theoretical fault operation data of the water supply pump.
[0007] In combination with the first aspect, in a second possible implementation method, the operating condition output test is performed on the water supply pump to obtain test data of the water supply pump, including: performing a standard operating condition output test on the water supply pump to obtain a standard response signal of the water supply pump; replacing a workpiece of the water supply pump, performing a fault operating condition output test, and obtaining a fault response signal of the water supply pump.
[0008] In combination with the first aspect, in a third possible implementation method, the correcting the simulation data based on the test data includes: preprocessing the test data to remove outliers in the test data; correcting the simulation data according to the test data to replace missing values in the simulation data with the test data to obtain corrected simulation data; and standardizing the corrected simulation data to obtain the enhanced data set.
[0009] In combination with the first aspect, in a fourth possible implementation manner, dividing the enhanced data set into a training data set and a test data set includes: performing shuffling processing on the data in the enhanced data set based on a random function; determining a division ratio, determining that the ratio of the training data set is 70%, and the ratio of the test data set is 30%; dividing the data in the shuffled enhanced data set based on the division ratio to generate the training data set and the test data set, the training data set is used for model training, and the test data set is used to evaluate the model training results.
[0010] In combination with the first aspect, in a fifth possible implementation method, inputting the training data set into a pre-trained model for transfer learning training includes: selecting a convolutional neural network model as a pre-training model; performing transfer learning training based on the pre-trained model through the training data set, and adjusting parameters based on the target task to obtain the transfer learning model; fine-tuning the pre-trained model based on the training data set; performing feature extraction on the training data set based on the target task to obtain feature values of the training data set; inputting the feature values into the transfer learning model for training, and outputting the output state value.
[0011] In combination with the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, the fine-tuning of the pre-trained model based on the training data set includes: adjusting the model structure of the pre-trained model based on the target task; compiling the pre-trained model, configuring hyperparameters and an optimization algorithm; fine-tuning the pre-trained model, performing a fine-tuning process through the training data set and the hyperparameters, iteratively optimizing the parameters of the pre-trained model based on the optimization algorithm, and obtaining the fine-tuned pre-trained model.
[0012] In combination with the first aspect, in a seventh possible implementation method, the evaluation of the trained transfer learning model includes: applying the transfer learning model to the test data set; calculating the loss value of the transfer learning model during the training process based on the loss function; evaluating the transfer learning model based on the loss value, and minimizing the loss value through an optimization algorithm; further evaluating the transfer learning model, dividing the test data set into several parts based on a cross-validation method, using one part as a validation set and the rest as training sets, and obtaining stable and reliable evaluation results through multiple cross-validations.
[0013] In the second aspect, an embodiment of the present application provides a water supply pump operation status identification system, including: a simulation data acquisition module, used to obtain theoretical standard operation data and theoretical fault operation data of the water supply pump; a test data acquisition module, used to obtain the standard response signal and fault response signal of the water supply pump; a data correction module, used to correct the theoretical standard operation data and the theoretical fault operation data to obtain an enhanced data set; a data processing module, used to process the enhanced data set to obtain a training data set and a test data set; a training module, used to train a transfer learning model based on the training data set to obtain the transfer learning model, and obtain an output state value and an output label based on the test data set and the transfer learning model; a data output module, used to obtain a label value based on a comparison of the output state value and the output label, and obtain a fault diagnosis result based on the label value.
[0014] In a third aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium includes a medium for storing a computer program or instructions, which, when executed, enables the method described in the first aspect or any possible implementation method of the first aspect to be implemented.
[0015] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0016] The embodiment of the present application conducts simulation tests and real tests on the water supply pump to obtain theoretical standard data and standard response signals for operation under normal conditions, as well as theoretical fault operation data and fault response data for the water supply pump under fault conditions. The four sets of data are matched and corrected and input into the transfer learning model, thereby outputting the fault diagnosis results of the water supply pump based on the results obtained by the transfer learning model. This technical means effectively solves the technical problems that the traditional water supply pump operating status and fault judgment means are too single, the diagnostic efficiency is low, and the source of fault data is insufficient, thereby achieving the technical effect of improving the fault diagnosis efficiency of the water supply pump and reducing the fault diagnosis cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 A flow chart of a method for identifying the operating status of a water supply pump provided in an embodiment of the present application;
[0019] Figure 2 A flow chart of the pre-training steps of the pre-training model provided in an embodiment of the present application;
[0020] Figure 3 A block diagram of a water supply pump operating status identification system provided in an embodiment of the present application;
[0021] Figure 4 A curve diagram showing changes in diagnostic accuracy and cross entropy loss during pre-training of the water supply pump operating status diagnostic model provided in an embodiment of the present application;
[0022] Figure 5 It is a fault data type result diagram of the water supply pump operation status test data set provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] The present application provides a method, system and storage medium for identifying the operating status of a water pump. Figure 1 It is a flow chart of the method for identifying the operating status of a water pump provided in an embodiment of the present application.
[0025] A method for identifying the operating status of a water supply pump, the specific steps of which are as follows:
[0026] S1: The rated parameters of the water feed pump are obtained according to experiments, on-site measurements and factory-given parameters. Based on rotor dynamics and computational fluid dynamics, an analytical method is used to establish a standard system model of the water feed pump rotor. The rated parameters of the water feed pump are input into the standard system model, and the theoretical operating results of the water feed pump under the rated parameters are calculated to obtain the theoretical standard operating data of the water feed pump.
[0027] By changing the rated parameters of the rotor and stator in the water feed pump, the water feed pump is operated under an overload state, thereby establishing a fault system model and conducting fault simulation analysis (simulating the performance and operating conditions of the water feed pump under fault conditions) to obtain theoretical fault operating data such as flow, pressure, vibration acceleration, etc. of the water feed pump under fault conditions.
[0028] S2: Build a water supply pump test bench, conduct test tests on the water supply pumps with the same rated parameters as in step S1, and obtain standard response signals such as flow rate, pressure, vibration acceleration, etc. of the water supply pumps during the actual test process.
[0029] The faulty parts are processed and the standard parts of the water feed pump on the test bench are replaced with the faulty parts. The faulty operating condition output test of the faulty water feed pump is carried out on the water feed pump containing the faulty parts to obtain the fault response signals such as the flow, pressure, vibration acceleration, etc. of the water feed pump under the faulty operating condition.
[0030] The theoretical standard operation data and theoretical fault operation data obtained above are collectively referred to as simulation data, and the standard response signals and fault response signals obtained are collectively referred to as test data.
[0031] S3: Correct the simulation data based on the obtained test data. The specific correction process is as follows:
[0032] The test data is preprocessed to remove outliers in order to reduce the data noise of the test data.
[0033] The simulation data is corrected based on the preprocessed test data. The correction method is selected as the substitution method. The specific process of using the substitution method as the correction method is as follows:
[0034] The correction process is completed by replacing the missing values in the theoretical standard operation data with the acceptable values in the standard response signal and replacing the missing values in the theoretical fault operation data with the acceptable values in the fault response signal to obtain the corrected simulation data.
[0035] The corrected simulation data is standardized to obtain an enhanced data set;
[0036] During the correction process, the distribution and parameters of the simulation data are adjusted based on the statistical properties of the test data (such as mean and variance).
[0037] Verify and evaluate the corrected simulation data to ensure that it is closer to the experimental data in statistical characteristics. Statistical indicators such as mean square error and correlation coefficient can be used to evaluate the effect of the correction simulation data process.
[0038] If the correction effect is not ideal, the above steps can be repeated to further optimize the correction method and parameters. Through iterative optimization, the difference between the simulation data and the test data can be gradually reduced, and the accuracy and reliability of the corrected simulation data can be improved.
[0039] It should be noted that this step also includes a process of obtaining an enhanced data set, and dividing the enhanced data set into a training data set and a test data set in a certain ratio.
[0040] It needs to be explained again that before the division process, the data in the enhanced data set needs to be shuffled, and the function required for the shuffle is a random function.
[0041] Afterwards, determine the data division ratio. Usually, the ratio of the enhanced data set is selected as training data set: test data set = 7:3 or 8:2. In this application, 7:3 is selected as the division ratio, that is, the data in the enhanced data set is divided into 70% training data set data and 30% test data set data.
[0042] Based on the aforementioned 7:3 division ratio, the data in the shuffled enhanced data set is divided to generate a training data set and a test data set. The training data set is used for training the model, and the test data set is used to evaluate the model training results.
[0043] S4: Input the training data set into the pre-training model for transfer learning training to obtain a trained transfer learning model and output state value. Specifically:
[0044] Select a pre-trained model and choose a model that has been trained on a large-scale dataset. This dataset is usually different from the water pump operation data mentioned in this application, but is relevant enough to provide useful feature representation. In this application, a convolutional neural network model is selected as the pre-trained model.
[0045] Based on the target task, feature extraction is performed on the training data set to obtain feature values.
[0046] Load pre-trained weights, download the weight file of the pre-trained model, and load the weights in the deep learning framework.
[0047] Adjust the model structure. Depending on the target task, you need to modify the last few layers of the pre-trained model, such as the fully connected layer or classification layer.
[0048] Freeze some layers. During the pre-training process, you can choose to freeze some layers of the pre-trained model to ensure that they will not be updated during the pre-training process, thereby affecting the validity of the data.
[0049] Compile the model and select an appropriate loss function, optimizer, or evaluation metric for the pre-trained model. If the pre-trained model contains unfrozen layers, you also need to set the learning rate of the unfrozen layers.
[0050] Training the model, training the pre-trained model based on the feature values of the training dataset, and monitoring and evaluating the performance of the pre-trained model based on the test dataset.
[0051] Fine-tuning: If the performance of the pre-trained model is not ideal, you can unfreeze more layers, or use a smaller learning rate or improve the minimum loss function for further training. This can better help the pre-trained model adapt to the target task, but may increase the risk of overfitting.
[0052] Outputs the output state values produced during the training process.
[0053] It should be noted that the fine-tuning process is as follows:
[0054] Adjust the model structure of the pre-trained model based on the target task. Usually, the top layer of the pre-trained model is adjusted. If the target task is different from the pre-trained model task, the structure of the last layer needs to be modified to match the target task.
[0055] Compile the pre-trained model, configure hyperparameters, optimization algorithm, loss function, and evaluation metrics.
[0056] Fine-tune the pre-trained model and perform the fine-tuning process using the training dataset and hyperparameters. During the fine-tuning process, you can choose to freeze some layers of the pre-trained model (such as convolutional layers) to retain its feature extraction capabilities, or unfreeze all layers and fine-tune all layers. If you choose to freeze some layers, you need to ensure that only the parameters of the unfrozen layers are updated when compiling and fine-tuning the pre-trained model.
[0057] The parameters of the pre-trained model are iteratively optimized based on a gradient descent optimization algorithm to obtain the fine-tuned pre-trained model.
[0058] S6: Output state value and output label, and obtain label value.
[0059] It should be noted that the steps for establishing the output label are as follows:
[0060] Determine the target task for transfer learning.
[0061] According to the target task, determine the type of output label that needs to be predicted, such as multi-classification label, binary classification label, continuous value, etc.
[0062] After the pre-trained model is trained, the test data set is input into the pre-trained model for prediction. At this time, the output value of the pre-trained model is the predicted output label or label distribution.
[0063] Compare the output status value and the output label value to obtain the label value.
[0064] S7: Obtain fault diagnosis results based on the tag value. Usually, the fault diagnosis results include normal, mild, moderate, and severe.
[0065] The pre-training steps of the pre-trained model include:
[0066] A convolutional neural network is selected as a pre-training model, and a training data set is received based on an input layer of the convolutional neural network.
[0067] Extract local features of the training dataset based on the convolutional layer.
[0068] The normalization layer is used to speed up the training process of convolutional neural networks and improve the generalization ability of pre-trained models.
[0069] The activation function is provided through the activation layer to make the pre-trained model a non-linear mapping relationship.
[0070] Based on the maximum pooling layer and the dropout layer, the number of parameters and the amount of calculation of the pre-trained model are reduced, and the main features of the pre-trained model are extracted.
[0071] According to the loss function layer, the loss value of the pre-trained model during the training process is calculated and the loss value is minimized.
[0072] Output the pre-trained model after minimizing the loss value.
[0073] It should be noted that in this application, the convolutional neural network includes 3 convolutional layers, 3 normalization layers, 3 activation layers, 3 pooling layers and 3 dropout layers, 1 fully connected layer, and 1 classification layer.
[0074] The initial learning rate is 0.001, the learning algorithm adopts the Adagrad algorithm, the batch size is 60, and the dropout rate of the three dropout layers is 50%.
[0075] The learning algorithm used in the retraining process is the Adagrad algorithm, with a maximum iteration cycle of 300, a minimum batch size of 102, a learning rate of 0.001, and a dropout rate of 5% for the 3-layer dropout layer.
[0076] Figure 3 A block diagram of a water pump operating status identification system provided in this application.
[0077] A water supply pump operation status identification system comprises a simulation data acquisition module, a test data acquisition module, a data correction module, a data processing module, a training module and a data output module.
[0078] Among them, the simulation data acquisition module obtains the theoretical standard operation data and theoretical fault operation data of the water supply pump based on the rated parameters of the water supply pump; the test data acquisition module obtains the standard response signal and fault response signal of the water supply pump based on the test.
[0079] The data correction module is used to correct the theoretical standard operation data and the theoretical fault operation data to obtain an enhanced data set.
[0080] The data processing module is used to randomly divide the enhanced data set and obtain the training data set and the test data set.
[0081] The training module is used to train the transfer learning model based on the training data set, and obtain the output state value and output label based on the test data set and the transfer learning model.
[0082] The data output module is used to obtain a label value based on a comparison between an output state value and an output label, and to obtain a fault diagnosis result based on the label value.
[0083] It should be noted that a water supply pump operating status identification system can be applied to a water supply operating status identification method.
[0084] Example
[0085] Taking the single-stage feedwater pump impeller offset fault model parameters as an example, the specific implementation of this application is as follows:
[0086] A theoretical model of feedwater pump failure is established, and the changes of operating parameters under various working conditions are generated based on the analytical method. The feedwater pump shaft structure model is established using the finite element method based on the Timoshenko beam theory. The generalized displacement vector of the shaft node is:
[0087]
[0088] in, u represents the generalized displacement of the axis system node; x represents the horizontal displacement vector of the axis system node; y represents the ordinate displacement vector of the axis system node; z Represents the vertical coordinate displacement vector of the axis system node; Represents the rotation angle of the axis system node in the horizontal direction; Represents the rotation angle of the axis system node in the ordinate direction; Represents the rotation angle of the axis system node in the vertical coordinate direction; T Indicates transpose.
[0089] The differential equation of motion of the Timoshenko beam segment element is:
[0090] (1)
[0091] In formula (1), is the mass matrix; is the damping matrix; is the stiffness matrix; and are the acceleration and velocity vectors of the nodes at both ends of the shaft segment unit respectively.
[0092] The concentrated mass model of the impeller is established, and the impeller is equivalent to a rigid disk. The rigid disk has the same equivalent moment of inertia and mass as the original accessory rotating parts. Based on the D'Alembert principle, the rotor dynamics equation of the impeller is established:
[0093] (2)
[0094] In formula (2), and are the vibration acceleration and vibration velocity vector of the impeller center node respectively; and are the mass matrix and damping matrix of the propeller respectively; F1 is the main power of the impeller.
[0095] The dynamic model of the bearing is established. The bearing mass is generally not considered in the simulation analysis of the rotor system, and it is simplified into a spring-damper unit, which acts on the coupling point i between the shaft and the bearing. Based on the D'Alembert principle, the rotor dynamics equation of the bearing is established:
[0096] (3)
[0097] In formula (3), and are the vibration acceleration and vibration acceleration vector of the bearing respectively; and are the mass matrix and damping matrix of the bearing respectively; F2 is the main force of the bearing.
[0098] Based on Newton's equations of motion and vibration theory, the rotor dynamics equation of the impeller center node, the motion differential equation of the flexible shaft segment and the rotor dynamics equation of the bearing are integrated to analyze the image law between the impeller, shaft segment, bearing and node displacement vector, and obtain the simulation data of the water pump.
[0099] Construct a test bench for the water supply pump, wherein the test bench includes but is not limited to a motor, a pump body, a base, a flow meter, a pressure sensor and a vibration sensor.
[0100] Install the normal impeller and the faulty impeller inside the pump body and start the operating output test of the water feed pump.
[0101] The vibration signals, inlet and outlet pressure signals and flow signals at different positions of the water pump are collected, and transient working data are obtained.
[0102] The time-frequency domain analysis method is used to analyze the operating condition data, and the time domain and frequency domain diagrams of the multi-source and multi-feature feedwater pump operating conditions are drawn. The simulation data is corrected based on the obtained operating condition data (i.e., test data). Based on the corrected data, an enhanced data set is obtained.
[0103] The empirical mode decomposition (EMD) variational mode decomposition method is used to extract the principal components of the enhanced data set and remove the influence of background noise to obtain the training data set and the test data set.
[0104] EMD decomposes the input signal into several eigenmode functions and a residual component, and its equation is:
[0105] (4)
[0106] In formula (4), x(t) is the original input signal; x Over time t change; imfi(t) Indicates i The intrinsic mode function (IMF) varies with time t IMF is the frequency component extracted from the signal, which has local symmetry and narrowband. IMF can reflect the different scale characteristics in the signal. rn(t) represents the residual, where nDescribes the total number of eigenmode functions decomposed.
[0107] Transfer learning training was carried out based on the training data set, and the convolutional neural network (CNN) was selected as the pre-trained model for judging the pump fault operation status, and the parameters were adjusted.
[0108] Train the adjusted transfer learning model using the preset training dataset.
[0109] During training, the model learns how to map input features to the correct input labels by minimizing the loss function.
[0110] Figure 4 The curves of the diagnostic accuracy and cross entropy loss of the water pump operation status diagnosis model during the pre-training process are shown in Figure 2. The closer the accuracy is to 100%, the closer the loss is to 0, and the better the classification effect is. As can be seen from the figure, the accuracy of the iterative model first increases during training, and then gradually stabilizes in the fluctuations. The loss of the pre-trained model on the training set and the test set shows a downward trend, and the diagnostic accuracy is 97.8%.
[0111] Figure 5 It is a diagram of the diagnosis results of the diagnostic model for the measured data set of the operating status of the water feed pump, in which the ordinate where the point set is located represents the real-time diagnosis result of the diagnostic model for the operating fault of the water feed pump. The ordinate (prediction result) 1 in the figure represents the normal operating status of the water feed pump, and 2, 3, and 4 represent mild, moderate, and severe offset faults, respectively. It can be seen from the figure that the water pump operating status identification model can accurately diagnose the fault type and degree. This application proposes a method, system, and storage medium for identifying the operating status of a water feed pump for a large ship power plant system. The diagnostic accuracy is high and the diagnostic effect is good.
[0112] Although the present application provides method operation steps as described in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in this embodiment is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in sequence or in parallel according to the method shown in this embodiment or the accompanying drawings (for example, in a parallel processor or multi-threaded processing environment).
[0113] Some modules in the apparatus described in the present application can be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0114] The devices or modules described in the above application embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described in various modules according to their functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware. Of course, the module that implements a certain function can also be implemented by combining multiple sub-modules or sub-units.
[0115] The methods, devices or modules described in this application can be implemented in the form of computer-readable program codes. The controller can be implemented in any appropriate manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) that can be executed by the (micro)processor, logic gates, switches, application-specific integrated circuits (English: Application Specific Integrated Circuit; Abbreviation: ASIC), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program codes, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included in it for implementing various functions can also be regarded as structures within the hardware component. Or even, the means for realizing various functions may be regarded as both a software module for realizing the method and a structure within a hardware component.
[0116] The embodiments of the present application also provide a non-volatile computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed, the method described in the embodiments of the present application is implemented.
[0117] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist independently, or two or more modules may be integrated into one module.
[0118] The above storage media include but are not limited to random access memory (RAM), read-only memory (ROM), cache, hard disk drive (HDD) or memory card. The memory can be used to store computer program instructions.
[0119] It can be seen from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary hardware. Based on this understanding, the technical solution of the present application can be essentially or partly reflected in the prior art in the form of a software product, or it can be reflected in the implementation process of data migration. The computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0120] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. All or part of this application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, mobile communication terminals, multi-processor systems, microprocessor-based systems, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0121] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present application.
Claims
1. A method for identifying the operating status of a water supply pump, characterized in that: include: Establishing a virtual system model based on the parameters of the water supply pump and obtaining simulation data of the water supply pump; Performing an operating output test on the water supply pump to obtain test data of the water supply pump; Modifying the simulation data based on the test data to obtain an enhanced data set, and dividing the enhanced data set into a training data set and a test data set; Inputting the training data set into the pre-training model for transfer learning training to obtain a trained transfer learning model and an output state value; Evaluate the trained transfer learning model, construct an output label, and compare the output state value with the output label to obtain a label value; Determine a fault diagnosis result based on the label value; The step of establishing a virtual system model based on the parameters of the water supply pump and obtaining simulation data of the water supply pump comprises: Establishing a standard system model based on the rated parameters of the water supply pump to obtain theoretical standard operating data of the water supply pump; Modifying the rated parameters, establishing a fault system model, and obtaining theoretical fault operation data of the water supply pump; The step of performing a working condition output test on the water supply pump to obtain test data of the water supply pump includes: Performing a standard operating condition output test on the water supply pump to obtain a standard response signal of the water supply pump; Replace the workpiece of the water supply pump, perform a fault condition output test, and obtain a fault response signal of the water supply pump; The correcting the simulation data based on the test data comprises: Preprocessing the test data to remove abnormal values in the test data; Correcting the simulation data according to the test data, and using the test data to replace missing values in the simulation data to obtain corrected simulation data; The corrected simulation data is standardized to obtain the enhanced data set.
2. The method for identifying the operating status of a water supply pump according to claim 1, characterized in that: The step of dividing the enhanced data set into a training data set and a test data set comprises: Performing scrambling processing on the data in the enhanced data set based on a random function; Determine the division ratio, and determine that the ratio of the training data set is 70%, and the ratio of the test data set is 30%; The data in the shuffled enhanced data set is divided based on the division ratio to generate the training data set and the test data set, the training data set is used for model training, and the test data set is used to evaluate the model training result.
3. The method for identifying the operating status of a water supply pump according to claim 1, characterized in that: The step of inputting the training data set into a pre-training model for transfer learning training includes: Select the convolutional neural network model as the pre-training model; Performing transfer learning training based on the pre-trained model through the training data set, and adjusting parameters based on the target task to obtain the transfer learning model; Fine-tuning the pre-trained model based on the training data set; Performing feature extraction on the training data set based on the target task to obtain feature values of the training data set; The feature value is input into the transfer learning model for training, and the output state value is output.
4. The method for identifying the operating status of a water supply pump according to claim 3, characterized in that: The fine-tuning of the pre-trained model based on the training data set includes: Based on the target task, adjusting the model structure of the pre-trained model; Compile the pre-trained model, configure hyperparameters and optimize the algorithm; Fine-tune the pre-trained model, perform a fine-tuning process using the training data set and the hyperparameters, iteratively optimize the parameters of the pre-trained model based on an optimization algorithm, and obtain the fine-tuned pre-trained model.
5. The method for identifying the operating status of a water supply pump according to claim 1, characterized in that: The step of evaluating the trained transfer learning model includes: Applying the transfer learning model to the test data set; Calculating the loss value of the transfer learning model during the training process based on the loss function; Evaluating the transfer learning model based on the loss value and minimizing the loss value through an optimization algorithm; To further evaluate the transfer learning model, the test data set is divided into several parts based on the cross-validation method, one of which is used as a validation set and the rest as training sets. Through multiple cross-validations, stable and reliable evaluation results are obtained.
6. A water supply pump operation status identification system, characterized in that: The water supply pump operation status identification system is implemented by the method described in any one of claims 1 to 5, and the water supply pump operation status identification system comprises: A simulation data acquisition module is used to obtain theoretical standard operation data and theoretical fault operation data of the water supply pump; A test data acquisition module, used to acquire a standard response signal and a fault response signal of the water supply pump; A data correction module, used to correct the theoretical standard operation data and the theoretical fault operation data to obtain an enhanced data set; A data processing module, used to process the enhanced data set to obtain a training data set and a test data set; A training module, used to train the transfer learning model based on the training data set, obtain the transfer learning model, and obtain an output state value and an output label based on the test data set and the transfer learning model; The data output module is used to obtain a label value based on a comparison between the output state value and the output label, and to obtain a fault diagnosis result based on the label value.
7. A non-volatile computer-readable storage medium, characterized in that: The device comprises a computer program or an instruction for storing the computer program or the instruction, which, when executed, enables the method according to any one of claims 1 to 5 to be implemented.
