Generator fault detection method and detection device based on power plant
Through artificial intelligence technology, data sets and neural network models are used to detect generator parameters in real time and predict operating status, which solves the problem of regular maintenance methods being difficult to combine with real-time operating conditions, reduces downtime risks and maintenance costs, and improves detection efficiency.
Patent Information
- Application Number
- CN202410736656.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-07
AI Technical Summary
In the existing technology, the regular maintenance method is difficult to combine with the real-time operating status of the generator, resulting in insufficient or excessive maintenance, which increases the risk of downtime and operating costs.
Using artificial intelligence-based fault detection methods, by constructing data sets, clustering, abnormal Gaussian models and neural network models, generator parameters are collected in real time, the operating status is predicted, and alarm signals are sent to reduce the risk of faults.
It realizes predictive fault detection of generators, reduces the risk of unexpected shutdown, improves maintenance efficiency and reduces maintenance costs.
Smart Images

Figure CN118311429B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a generator fault detection method and a detection device based on a power plant. Background Art
[0002] Generators are one of the core equipment of the power system. Once a generator fails, it may cause a power outage or accident in the power system, affecting the production efficiency and economic benefits of the power plant. Through effective fault detection methods, generator failures can be discovered and handled in a timely manner, improving the reliability of the generator, reducing downtime for maintenance, improving the production efficiency and economic benefits of the power plant, and ensuring the safe and stable operation of the power system.
[0003] In the prior art, fault detection is usually performed in the form of regular maintenance. A maintenance strategy based on a fixed cycle of comprehensive inspection, cleaning, lubrication and necessary adjustments of generator equipment can prevent sudden equipment failures.
[0004] Regular fault detection cannot be combined with the actual real-time operating conditions of the equipment, which can easily lead to insufficient or excessive maintenance. If a sudden failure occurs during the regular maintenance interval, the equipment will be shut down, increasing the operating costs. Summary of the invention
[0005] In order to perform predictive detection on the generator, predict faults based on the operating status of the generator equipment before it fails, and reduce the risk of unexpected shutdown, the present application provides a generator fault detection method and detection device based on a power plant.
[0006] In a first aspect, the present application provides a generator fault detection method based on a power plant, which adopts the following technical solution:
[0007] The invention discloses a generator fault detection method based on a power plant, comprising the steps of: constructing a data set including a plurality of samples, wherein each sample is: a plurality of generator parameters and operation status labels at each moment in historical data, wherein the operation status labels include excellent, good and abnormal; clustering each generator parameter to obtain a plurality of cluster clusters, and calculating the similarity between each generator parameter and the operation status label; constructing an abnormal Gaussian model corresponding to each generator parameter, inputting the parameter value of the generator parameter at any moment into the abnormal Gaussian model corresponding to the generator parameter, and outputting the abnormal probability of the parameter value; obtaining the abnormal degree of the parameter value according to the similarity and the abnormal probability, and traversing to obtain the abnormal degree of each parameter value in the generator parameter; constructing a neural network model and performing model training to obtain an optimal model, wherein the mean value of the abnormal degree of the parameter value is proportional to the loss function value of the model training; inputting the parameter value collected in real time into the optimal model, outputting the operation status of the generator, and sending an alarm signal if the operation status is abnormal.
[0008] Optionally, the similarity is calculated as: ,in, represents the similarity between any generator parameter and the operating status label, Indicates The first The number of elements in the running status category, , represents the number of clusters of any generator parameter, Represents the total number of samples in the dataset.
[0009] Optionally, an abnormal Gaussian model corresponding to each generator parameter is constructed, the parameter value of the generator parameter at any moment is input into the abnormal Gaussian model corresponding to the generator parameter, and the abnormal probability of the parameter value is output, including the steps of: constructing a Gaussian model according to each generator parameter, taking the parameter value of any generator parameter with an abnormal operating status label as an abnormal sample, and training the Gaussian model according to the abnormal sample to obtain an abnormal Gaussian model; traversing to obtain the abnormal Gaussian model corresponding to each generator parameter, one generator parameter corresponds to one Gaussian model and one abnormal Gaussian model.
[0010] Optionally, the abnormality of the parameter value is obtained according to the similarity and abnormal probability. The calculation formula of the abnormality is: ,in, It indicates the The generator parameters The abnormality of the parameter value, Indicates The similarity between the generator parameters and the operating status labels, Indicates Generator parameters The abnormal probability corresponding to the parameter value.
[0011] Optionally, a neural network model is constructed and trained to obtain an optimal model, including the steps of dividing the data set into a training set and a validation set, and calculating a loss function. The expression of the loss function is:
[0012] ,in, is the loss function, Indicates The mean of the abnormality of the parameter values in the training samples, Indicates The training samples belong to The true probability of the operating state, Indicates The training samples belong to The predicted probability of the operating state, Represents the total number of training samples in the training set; uses the gradient descent algorithm for back propagation. When the number of model training reaches the preset number or the value of the loss function is less than the preset threshold, the model training stops, and the optimal model is selected based on the preset model evaluation index accuracy.
[0013] Optionally, the generator parameters include the vibration frequency of the generator, the temperature of the generator, the current of the generator, the oil level of the generator tank and the oil temperature of the generator tank.
[0014] In a second aspect, the present application provides a generator fault detection device based on a power plant, which adopts the following technical solution:
[0015] A generator fault detection device based on a power plant comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the generator fault detection method based on a power plant is implemented.
[0016] This application has the following technical effects:
[0017] Artificial intelligence is used to perform predictive detection of generator failures. By setting up a variety of sensors, various parameter data during the historical operation of the generator are collected. These parameter data include parameter data for normal operation of the generator and parameter data for abnormal operation. According to the influence of parameter data on the operating status of the generator, a neural network model is constructed for training to obtain the optimal model. Based on the optimal model, the predicted operating status of the generator is obtained, and the possibility of failure is predicted. Before the generator equipment fails, fault prediction is performed based on its operating status, reducing the risk of unexpected downtime, reducing maintenance costs, and improving maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-restrictive manner, and the same or corresponding numbers represent the same or corresponding parts.
[0019] Figure 1 It is a method flow chart of a generator fault detection method based on a power plant according to an embodiment of the present application.
[0020] Figure 2 It is a method flow chart of step S3 in the generator fault detection method based on a power plant in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0022] It should be understood that when the terms "first", "second", etc. are used in the claims, specification and drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.
[0023] The present application embodiment discloses a generator fault detection method based on a power plant, referring to Figure 1 , including steps S1 to S6, which are specifically as follows:
[0024] S1: Construct a data set containing multiple samples. Each sample is: multiple generator parameters and operating status labels at each moment in the historical data. The operating status labels include excellent, good, and abnormal.
[0025] In one embodiment, the plurality of generator parameters include the vibration frequency of the generator, the temperature of the generator, the current of the generator, the oil level of the generator tank, and the oil temperature of the generator tank. The vibration condition of the generator is monitored in real time by setting a vibration sensor, the temperature of each component of the generator and the temperature of the generator tank are monitored in real time by setting a temperature sensor, the engine current is measured by setting a current sensor, and the oil level of the generator tank is detected by an oil level sensor. The setting of the operating status label of the generator parameter is set according to user experience.
[0026] S2: Cluster each generator parameter to obtain multiple clusters, and calculate the similarity between each generator parameter and the operating status label.
[0027] After normalizing one generator parameter, clustering is performed to obtain multiple clusters. Similarly, multiple clusters are obtained for each generator parameter. The purpose of normalization is to unify the dimensions.
[0028] Calculate the similarity between each generator parameter and the operating status label. The similarity calculation formula is: ,in, represents the similarity between any generator parameter and the operating status label, Indicates The first The number of elements in the running status category, represents the number of clusters of any generator parameter, Represents the total number of samples in the dataset.
[0029] Since the operating status categories include excellent, good and abnormal, .
[0030] Exemplarily, K-means clustering is performed on the temperature of the generator, the number of clusters is set to 3, and the similarity between the temperature of the generator and the operating status label is calculated. The greater the similarity, the greater the influence of the temperature of the generator on the operating status of the generator. K-means clustering is a prior art and will not be described in detail here.
[0031] S3: Construct an abnormal Gaussian model corresponding to each generator parameter, input the parameter value of the generator parameter at any time into the abnormal Gaussian model corresponding to the generator parameter, and output the abnormal probability of the parameter value. Figure 2 , step S3 includes step S30-step S31, which are specifically as follows:
[0032] S30: constructing a Gaussian model according to each generator parameter respectively, taking the parameter value of any generator parameter with an abnormal operating status label as an abnormal sample, and training the Gaussian model according to the abnormal sample to obtain an abnormal Gaussian model.
[0033] The Gaussian model, also known as the normal distribution model, is a mathematical model that describes the probability distribution of random variables.
[0034] In one embodiment, the abnormal Gaussian model corresponding to each generator parameter includes: an abnormal Gaussian model corresponding to temperature, an abnormal Gaussian model corresponding to vibration frequency, an abnormal Gaussian model corresponding to generator current, an abnormal Gaussian model corresponding to oil level, etc.
[0035] Taking the abnormal Gaussian model corresponding to temperature as an example, the collected temperature data parameter value is input into the abnormal Gaussian model corresponding to the temperature data, and the probability that the output parameter value belongs to the abnormal Gaussian model, that is, the abnormal probability of the temperature data parameter value.
[0036] S31: Traverse and obtain the abnormal Gaussian model corresponding to each generator parameter. One generator parameter corresponds to one Gaussian model and one abnormal Gaussian model.
[0037] S4: According to the similarity and the abnormal probability, the abnormality of the parameter value is obtained, and the abnormality of each parameter value in the generator parameter is traversed to obtain.
[0038] The calculation formula of abnormality is: ,in, It indicates the The generator parameters The abnormality of the parameter value, Indicates The similarity between the generator parameters and the operating status labels, Indicates Generator parameters The abnormal probability corresponding to the parameter value.
[0039] The first Generator parameters The parameter values are input into the corresponding abnormal Gaussian model, and the output The value of .
[0040] No. The generator parameter is any one of the generator parameters, The parameter value is The higher the abnormality of a parameter value, the greater the possibility of abnormal operation of the generator.
[0041] S5: Build a neural network model and perform model training to obtain the optimal model, in which the mean of the abnormality of the parameter value is proportional to the loss function value of the model training.
[0042] The data set is divided into a training set and a validation set. In one embodiment, The data set is used as the training set. The data set is used as the validation set, and the ratio of the training set to the validation set can be adjusted according to the actual application scenario.
[0043] Calculate the loss function. The expression of the loss function is: ,in, is the loss function, Indicates The mean of the abnormality of the parameter values in the training samples. For example, the mean of the abnormality corresponding to the temperature parameter value is the mean of the abnormality of the generator parameter. The smaller it is, that is, the smaller the mean of the abnormality of the generator parameters is, the smaller the loss function is.
[0044] Indicates The training samples belong to The true probability of the operating state, Indicates The training samples belong to Specifically, if a training sample is labeled as excellent, the true probability of the sample belonging to the excellent running state is 1, and the true probability of the sample belonging to other running states is 0. The true probability is 0 or 1, and the predicted probability is For any value in , the closer the predicted probability is to the true probability, the smaller the value of the loss function is, and the better the prediction effect of the neural network model is.
[0045] Represents the total number of training samples in the training set, which contains multiple training samples. The larger it is, the more likely it is that the generator corresponding to the sample is in an abnormal operating state, the greater the loss from misclassification, and the more likely it is that the generator will be damaged.
[0046] In one embodiment, the neural network model uses a BP (back propagation) neural network model. The BP neural network model is an existing technology and will not be described in detail here.
[0047] Back propagation is performed using the gradient descent algorithm. When the number of model training reaches a preset number or the value of the loss function is less than a preset threshold, the model training stops. For example, the preset threshold is 0.01, the preset number is 1000 times, and the preset threshold and the number of predictions can be set by the implementer according to the specific scenario. The specific process of model training, such as back propagation using the gradient descent algorithm, model training based on the training set, and model performance verification based on the verification set, is all prior art and will not be described in detail here.
[0048] The optimal model is selected based on the evaluation index accuracy of the preset model. The accuracy between the models is compared, and the model with the highest accuracy is selected as the optimal model. The accuracy directly reflects the reliability of the model prediction results. Models with high accuracy are less likely to make mistakes during prediction. The evaluation index accuracy is the existing technology and will not be elaborated here.
[0049] S6: Input the parameter values collected in real time into the optimal model, output the operating status of the generator, and send an alarm signal if the operating status is abnormal.
[0050] The parameters of the generator vibration frequency, generator temperature, generator current, generator oil level and generator oil temperature in the real-time data are input into the optimal model, and the output result is the operating status of the generator. If the operating status is abnormal, an alarm signal is sent, which can be a sound signal to attract the attention of personnel. Otherwise, no alarm is issued.
[0051] An embodiment of the present application also discloses a generator fault detection device based on a power plant, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a generator fault detection method based on a power plant according to the present application is implemented.
[0052] The above detection device also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0053] In the present application, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high bandwidth memory HBM (High Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device.
[0054] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.
[0055] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A generator fault detection method based on a power plant, characterized in that: Includes steps: Construct a data set containing multiple samples, each of which is: multiple generator parameters and operating status labels at each moment in the historical data, and the operating status labels include excellent, good, and abnormal; Cluster each generator parameter to obtain multiple clusters, and calculate the similarity between each generator parameter and the operating status label; Construct an abnormal Gaussian model corresponding to each generator parameter, input the parameter value of the generator parameter at any time into the abnormal Gaussian model corresponding to the generator parameter, and output the abnormal probability of the parameter value; According to the similarity and abnormal probability, the abnormality of the parameter value is obtained, and the abnormality of each parameter value in the generator parameters is obtained by traversing; Construct a neural network model and perform model training to obtain the optimal model, in which the mean of the abnormality of the parameter value is proportional to the loss function value of the model training; The parameter values collected in real time are input into the optimal model, and the operating status of the generator is output. If the operating status is abnormal, an alarm signal is sent.
2. The generator fault detection method based on a power plant according to claim 1, characterized in that: The similarity calculation formula is: ,in, represents the similarity between any generator parameter and the operating status label, Indicates The first The number of elements in the running status category, , represents the number of clusters of any generator parameter, Represents the total number of samples in the dataset.
3. The generator fault detection method based on a power plant according to claim 1, characterized in that: Construct an abnormal Gaussian model corresponding to each generator parameter, input the parameter value of the generator parameter at any time into the abnormal Gaussian model corresponding to the generator parameter, and output the abnormal probability of the parameter value, including the steps of: A Gaussian model is constructed according to each generator parameter, and the parameter value of any generator parameter with an abnormal operating status label is used as an abnormal sample. The Gaussian model is trained according to the abnormal sample to obtain an abnormal Gaussian model; The abnormal Gaussian model corresponding to each generator parameter is traversed. One generator parameter corresponds to one Gaussian model and one abnormal Gaussian model.
4. The generator fault detection method based on a power plant according to claim 1, characterized in that: According to the similarity and abnormal probability, the abnormality of the parameter value is obtained. The calculation formula of the abnormality is: ,in, It indicates the The generator parameters The abnormality of the parameter value, Indicates The similarity between the generator parameters and the operating status labels, Indicates Generator parameters The abnormal probability corresponding to the parameter value.
5. The generator fault detection method based on a power plant according to claim 1, characterized in that: Construct a neural network model and train the model to obtain the optimal model, including the following steps: The data set is divided into training set and validation set, and the loss function is calculated. The expression of the loss function is: ,in, is the loss function, Indicates The mean of the abnormality of the parameter values in the training samples, Indicates The training samples belong to The true probability of the operating state, Indicates The training samples belong to The predicted probability of the operating state, Represents the total number of training samples in the training set; Use the gradient descent algorithm for back propagation. When the number of model training reaches the preset number or the value of the loss function is less than the preset threshold, the model training stops and the optimal model is selected based on the preset model evaluation index accuracy.
6. The generator fault detection method based on a power plant according to claim 1, characterized in that: The generator parameters include the vibration frequency of the generator, the temperature of the generator, the current of the generator, the oil level of the generator oil tank and the oil temperature of the generator oil tank.
7. A generator fault detection device based on a power plant, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a generator fault detection method based on a power plant according to any one of claims 1 to 6 is implemented.
