A method and system for detecting and diagnosing faults of hydropower station units
Through the combination of time series database and deep neural network model, the problem of difficulty in data query and interpretation of prediction results in hydropower unit fault detection and diagnosis is solved, and efficient fault diagnosis and rapid result acquisition are achieved.
Patent Information
- Application Number
- CN202410868386.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the existing technology, it is difficult to obtain the overall health status of the operating status clearly, intuitively and timely in hydropower unit fault detection and diagnosis, and the prediction results of the machine learning model lack reasonable explanations, making it difficult to quickly determine the cause of the fault.
The time series database partition is used to store the working condition parameter information collected by the sensor, and the deep neural network model is used to analyze the operating status of the hydropower unit, and data support is provided during fault warning to generate a fault diagnosis report.
It improves data query efficiency and prediction accuracy, helping operation and maintenance personnel quickly obtain diagnosis results and clarify the cause of faults.
Smart Images

Figure CN118394816B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of hydroelectric unit fault detection and diagnosis, and in particular to a method and system for hydropower station unit fault detection and diagnosis. Background Art
[0002] Ensuring the safe and stable operation of the units of a hydropower station is the core work of a hydropower station. In the prior art, by collecting the operating parameters of the unit equipment, the management personnel are assisted to analyze and predict the operating status of the unit equipment. In the prior art, there are the following problems in the field of fault detection and diagnosis technology of hydropower units. First, the hydropower unit includes equipment such as turbines, generators, cooling systems, power station control equipment, excitation systems, speed regulation and control systems. Each device contains a variety of key components, and a variety of sensors are required to collect operating parameters. The amount of data is large, which increases the difficulty of storing, querying and analyzing the operating parameters. It is difficult to clearly, intuitively and timely obtain the overall health of the operating status of the hydropower unit. Secondly, the use of machine learning models such as support vector machines and neural networks to predict the operating status of hydropower units only gives prediction results, lacks a reasonable explanation of the prediction results, and makes it difficult for equipment operation and maintenance personnel to quickly determine the cause of the fault. Summary of the invention
[0003] In order to overcome the shortcomings of the prior art, the present invention provides a method and system for detecting and diagnosing faults of hydropower station units. The method uses time series database partitions to store operating parameter information collected by sensors, thereby improving data query efficiency. A deep neural network model is used to analyze the operating status of the hydropower unit, thereby improving the accuracy of prediction. When the prediction result is a fault warning, the detection data and historical data are further combined to provide data support for the prediction result, thereby facilitating operation and maintenance personnel to quickly obtain diagnostic results.
[0004] In a first aspect, the present invention discloses a method for detecting and diagnosing faults of a hydropower station unit, comprising the following steps:
[0005] Step S101: collecting operating parameter information of components of a hydropower station unit through a variety of sensors, and storing the collected operating parameter information in a time series database;
[0006] Step S102: acquiring operating condition parameter information from a time series database, preprocessing the acquired operating condition parameter information, and inputting the preprocessed operating condition parameter information into a deep neural network model;
[0007] Step S103: if the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated according to the operating condition parameter information and the historical database;
[0008] Step S104: Send the generated fault diagnosis report to the corresponding terminal according to the preset mapping relationship, and migrate the operating parameter information in the time series database to the historical database according to the preset strategy; the mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal.
[0009] Preferably, the operating parameter information of the components of the hydropower station unit is collected by using a variety of sensors, specifically: using a wireless vibration sensor to collect vibration signals at key bearing positions of the unit, using a wireless voltage and current sensor to collect voltage and current data of the unit, and using a temperature sensor to collect the temperature of the unit core and the temperature of the winding;
[0010] Preferably, the operating condition parameter information collected is stored in a time series database, specifically: the operating condition parameter information collected by the sensor is uploaded to the corresponding data partition of the time series database through wireless transmission technology; the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating condition parameter information collected by the sensor is written into the corresponding data partition according to the timestamp; the operating condition parameter information includes at least sensor identification, installation location, measurement field, and timestamp.
[0011] Preferably, the obtaining of the operating condition parameter information from the time series database is specifically: obtaining the operating condition parameter information D from the time series database with the time interval [ts, te) as the query time range ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time;
[0012] Preferably, the preprocessing of the acquired operating condition parameter information is specifically: acquiring the measurement value range of the sensor according to the sensor identifier, and statistically calculating the operating condition parameter information D according to the measurement value range. ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , xk is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input, ,in, The matrix Input is normalized as the measurement value collected by the kth sensor at timestamp t, and is input into the trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer, and the output layer outputs the fault warning level of the hydropower unit; the deep neural network model is obtained by training with a supervised method based on the historical database; the fault warning level of the hydropower unit includes normal and fault warning.
[0013] Preferably, a fault diagnosis report is generated according to the operating condition parameter information and the historical database, specifically: Step S1031, generating operating condition parameter information D ts,te Test form; the test form includes sensor identification, installation location, measurement value, reference value interval; the reference value interval is a normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked;
[0014] Step S1032, generating operating condition parameter information D ts,te Detect trend graph; generate a trend graph of the measured value of each sensor in the time interval [ts, te), the horizontal axis of the trend graph is time, the vertical axis is the measured value, if the trend graph is abnormal, the trend graph is specially marked; the abnormal trend graph includes continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold;
[0015] Step S1033, generate the number of historical warnings; traverse each data partition in the historical database, organize the data of each data partition into a matrix, calculate the similarity between the matrix and the matrix of the Input, if the matrix similarity is greater than the threshold, obtain the fault warning level corresponding to the matrix, and count the number of times the fault warning level is a fault warning.
[0016] Preferably, the generating of the fault diagnosis report to the corresponding terminal according to the preset mapping relationship is specifically:
[0017] A mapping relationship between a fault diagnosis report and a fault diagnosis report receiving terminal is established in advance, and the fault diagnosis report is pushed to the corresponding receiving terminal according to the mapping relationship, and a pop-up window is used to remind the user to view it;
[0018] The operation parameter information in the time series database is migrated to the history database according to the preset strategy, specifically:
[0019] Periodically traverse each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, migrate the data of the data partition to the historical database and delete the data partition in the time series database.
[0020] In a second aspect, the present invention discloses a hydropower station unit fault detection and diagnosis system, comprising the following functional modules:
[0021] Data acquisition and storage module: collects the operating parameter information of the components of the hydropower station unit through various sensors, and stores the collected operating parameter information in a time series database;
[0022] Fault diagnosis and prediction module: obtains operating condition parameter information from the time series database, preprocesses the obtained operating condition parameter information, and inputs the preprocessed operating condition parameter information into the deep neural network model;
[0023] Diagnostic report generation module: if the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated according to the operating condition parameter information and the historical database;
[0024] Diagnostic report sending module: sends the generated fault diagnosis report to the corresponding terminal according to the preset mapping relationship, and migrates the operating parameter information in the time series database to the historical database according to the preset strategy; the mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal.
[0025] Preferably, the data acquisition and storage module includes a data acquisition unit and a data storage unit.
[0026] Data acquisition unit: Use wireless vibration sensors to collect vibration signals at key bearing positions of the unit, use wireless voltage and current sensors to collect voltage and current data of the unit, and use temperature sensors to collect the temperature of the unit core and windings;
[0027] Data storage unit: upload the operating parameter information collected by the sensor to the corresponding data partition of the time series database through wireless transmission technology; the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating parameter information collected by the sensor is written into the corresponding data partition according to the timestamp; the operating parameter information at least includes sensor identification, installation location, measurement field, and timestamp.
[0028] Preferably, the fault diagnosis prediction module includes a data query unit, a data preprocessing unit and a fault prediction unit;
[0029] Data query unit: obtains operating condition parameter information D from the time series database with the time interval [ts, te) as the query time range ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time;
[0030] Data preprocessing unit: obtain the measurement value range of the sensor according to the sensor identification, and calculate the working condition parameter information D according to the measurement value range ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , xk is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input, ,in, Normalize the matrix Input to the collected measurement value of the kth sensor at timestamp t;
[0031] Fault prediction unit: input the normalized matrix into a trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer, and the output layer outputs the fault warning level of the hydropower unit; the deep neural network model is obtained by training with a supervised method based on the historical database; the fault warning level of the hydropower unit includes normal and fault warning.
[0032] Preferably, the diagnostic report generation module includes a detection table generation unit, a detection trend graph generation unit and a historical warning times statistics unit;
[0033] Detection table generation unit: Generate working condition parameter information D ts,te Test form; the test form includes sensor identification, installation location, measurement value, reference value interval; the reference value interval is a normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked;
[0034] Detection trend graph generation unit: Generates working condition parameter information D ts,te Detect trend graph; generate a trend graph of the measured value of each sensor in the time interval [ts, te), the horizontal axis of the trend graph is time, the vertical axis is the measured value, if the trend graph is abnormal, the trend graph is specially marked; the abnormal trend graph includes continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold;
[0035] Historical warning number statistics unit: generates historical warning numbers; traverses each data partition in the historical database, organizes the data of each data partition into a matrix, calculates the similarity between the matrix and the Input matrix, and if the matrix similarity is greater than the threshold, obtains the fault warning level corresponding to the matrix, and counts the number of times the fault warning level is a fault warning.
[0036] Preferably, the diagnosis report sending module includes a mapping relationship establishing unit, a diagnosis report pushing unit and a database migration unit;
[0037] A mapping relationship establishing unit: used to establish a mapping relationship between a fault diagnosis report and a fault diagnosis report receiving terminal;
[0038] Diagnostic report push unit: pushes the fault diagnosis report to the corresponding receiving terminal according to the mapping relationship, and reminds the user to check it in the form of a pop-up window;
[0039] Database migration unit: Periodically traverses each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, the data of the data partition is migrated to the historical database and the data partition is deleted in the time series database.
[0040] Compared with the closest prior art, the technical effects of the present invention are:
[0041] 1) A time series database is used to store massive amounts of sensor data, and the time series database is partitioned according to the event range. The operating parameter information collected by the sensor is uploaded to the corresponding data partition of the time series database according to the timestamp it carries. When analyzing the sensor data, the data of one data partition is obtained each time, which speeds up the data query efficiency.
[0042] 2) Based on the historical database, a deep neural network model is trained to calculate the operating status of computer group equipment, avoiding manual screening and design of operating condition parameter characteristics, and improving the accuracy of prediction.
[0043] 3) When the prediction result is a fault warning, the real-time data and historical data collected by the sensor are further analyzed, the operating parameters and abnormal trends that exceed the threshold are specially marked, and statistical analysis is performed on historical similar operating parameters. Data support is provided for the prediction results to facilitate operation and maintenance personnel or management personnel to quickly obtain diagnostic results. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0045] Figure 1 It is a flow chart of a method for detecting and diagnosing faults of a hydropower station unit according to the present invention;
[0046] Figure 2 is a flow chart of generating a fault diagnosis report of the present invention;
[0047] Figure 3 It is a structural diagram of a hydropower station unit fault detection and diagnosis system of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0049] Figure 1 This is a flow chart of a method for detecting and diagnosing a fault of a hydropower station unit according to a preferred embodiment of the present invention, comprising the following steps:
[0050] Step S101: collecting operating parameter information of components of a hydropower station unit through a variety of sensors, and storing the collected operating parameter information in a time series database.
[0051] The operating parameter information of the components of the hydropower station unit is collected through a variety of sensors, specifically: using wireless vibration sensors to collect vibration signals at the key bearing positions of the unit, using wireless voltage and current sensors to collect the voltage and current data of the unit, and using temperature sensors to collect the temperature of the unit's iron core and the temperature of the winding. The generator set and turbine of the hydropower unit are prone to vibration failures, which are generally caused by hydraulic reasons, mechanical reasons, etc., which lead to loosening of components, and in severe cases, damage to the equipment. Therefore, multiple wireless vibration sensors are installed on the key components of the hydropower unit equipment, such as the key bearing positions of the unit, the top and bottom positions of the frame. Wireless voltage and current sensors are used to collect the voltage and current data of the unit and provide key data for the operating status of the hydropower station equipment. Wireless voltage and current sensors need to have stability, accuracy and anti-interference performance, and also need to have waterproof and moisture-proof properties. Damage to the generator set and turbine of the hydropower unit will be reflected in the form of temperature rise, and in severe cases, the equipment will be burned. Installing temperature sensors to collect the temperature of key components such as the unit's iron core, winding, rotor coil, etc. is of great significance for analyzing the operating status of the hydropower unit.
[0052] The hydroelectric unit includes turbines, generators, cooling systems, power station control equipment, excitation systems, speed regulation and control systems, etc. Each device contains a variety of key components, and requires a variety of sensors to collect operating parameters. The data collection frequency is high and the data scale is large. The traditional relational database has low performance in storing and analyzing such massive data. In order to store and analyze the time series data collected by large-scale sensors, the present invention uses a time series database to store the massive operating parameter information collected by sensors. And according to the size of the deep neural network input matrix and the time range required for predicting faults, the time series database is optimized for data partitioning, so that each query of the data of a partition in the time series database just meets the calculation needs of the deep neural network, thereby improving the data query efficiency.
[0053] The collected operating parameter information is stored in a time series database, specifically: the operating parameter information collected by the sensor is uploaded to the corresponding data partition of the time series database through wireless transmission technology, the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating parameter information collected by the sensor is written into the corresponding data partition according to the timestamp, and the operating parameter information at least includes sensor identification, installation location, measurement field, and timestamp.
[0054] Step S102: Acquire operating condition parameter information from a time series database, preprocess the acquired operating condition parameter information, and input the preprocessed operating condition parameter information into a deep neural network model.
[0055] Obtain the operating condition parameter information from the time series database, specifically: obtain the operating condition parameter information D from the time series database with the time interval [ts, te) as the query time range ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time. The time interval [ts,te) satisfies formula (1). Where L is the length of the input matrix of the deep neural network model, that is, the number of columns of the input matrix, and freqk represents the data collection frequency of the kth sensor.
[0056] (1);
[0057] The obtained working condition parameter information is preprocessed, specifically: the measurement value range of the sensor is obtained according to the sensor identifier, and the working condition parameter information D is statistically calculated according to the measurement value range. ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , xk is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input,
[0058] ,in, The collected measurement value of the kth sensor at the timestamp t is normalized, and the matrix Input is input into the trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer. The output layer outputs the fault warning level of the hydropower unit. The deep neural network model is obtained by training with a supervised method based on the historical database. The fault warning level of the hydropower unit includes normal and fault warning.
[0059] Preferably, the size of the convolution kernel of the first convolution layer is 7×7, the number of feature maps is 128, the pooling window of the first pooling layer is 4×4, the size of the convolution kernel of the second convolution layer is 5×5, the number of feature maps is 128, the pooling window of the first pooling layer is 2×2, the pooling layer adopts the maximum pooling method, the convolution layer adopts Relu as the activation function, and the Adam optimization algorithm is used to optimize the training process of the deep neural network model.
[0060] Step S103: If the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated according to the operating parameter information and the historical database.
[0061] like Figure 2 As shown, a fault diagnosis report is generated according to the operating condition parameter information and the historical database, specifically: Step S1031, generating operating condition parameter information D ts,te Test table. The test table includes sensor identification, installation location, measurement value, and reference value interval; the reference value interval is the normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked.
[0062] Step S1032, generating operating condition parameter information D ts,te Detection trend graph. Generate a trend graph of the measured values of each sensor in the time interval [ts, te). The horizontal axis of the trend graph is time and the vertical axis is the measured value. If the trend graph is abnormal, the trend graph will be specially marked; the trend graph abnormality includes continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold.
[0063] By marking abnormal measurement values and abnormal trend graphs, maintenance personnel can be reminded to pay special attention. Special marks can be distinguished by different font sizes, colors, and icons.
[0064] Step S1033, generate the number of historical warnings. Traverse each data partition in the historical database, organize the data of each data partition into a matrix, calculate the matrix similarity between the matrix and the Input, if the matrix similarity is greater than the threshold, obtain the fault warning level corresponding to the matrix, and count the number of times the fault warning level is a fault warning. By counting the number of fault warnings under similar operating parameters, the operation and maintenance personnel can further understand the confidence level of the correct prediction of the neural network model. Preferably, by querying the fault handling table, the fault diagnosis report can also display the disposal methods taken after the fault warning occurs under similar operating parameters.
[0065] Step S104: Send the generated fault diagnosis report to the corresponding terminal according to a preset mapping relationship, and migrate the operating parameter information in the time series database to the historical database according to a preset strategy. The mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal.
[0066] Preferably, the generating of the fault diagnosis report to the corresponding terminal according to the preset mapping relationship is specifically:
[0067] A mapping relationship between the fault diagnosis report and the fault diagnosis report receiving terminal is established in advance, the fault diagnosis report is pushed to the corresponding receiving terminal according to the mapping relationship, and the user is reminded to view it in the form of a pop-up window.
[0068] The method of migrating the operating parameter information in the time series database to the historical database according to a preset strategy is specifically as follows: each data partition of the time series database is traversed periodically. If the storage time of the data partition in the time series database exceeds the storage threshold, and the data of the data partition has been input into the deep neural network model, the data of the data partition is migrated to the historical database, and the data partition is deleted in the time series database.
[0069] Preferably, the remaining storage space of the time series database is monitored regularly. If the remaining storage space is less than 30%, the data migration task is started to traverse each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, the data of the data partition is migrated to the historical database and the data partition is deleted in the time series database.
[0070] The following is an embodiment of the system of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the system of the present application, please refer to the embodiment of the method of the present application. Figure 3 As shown, the present invention discloses a hydropower station unit fault detection and diagnosis system, including the following functional modules:
[0071] Data acquisition and storage module: collects the operating parameter information of the components of the hydropower station unit through a variety of sensors, and stores the collected operating parameter information in a time series database.
[0072] Fault diagnosis and prediction module: obtains operating parameter information from the time series database, preprocesses the obtained operating parameter information, and inputs the preprocessed operating parameter information into the deep neural network model.
[0073] Diagnostic report generation module: If the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated based on the operating parameter information and the historical database.
[0074] Diagnostic report sending module: sends the generated fault diagnosis report to the corresponding terminal according to the preset mapping relationship, and migrates the operating parameter information in the time series database to the historical database according to the preset strategy; the mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal.
[0075] Preferably, the data acquisition and storage module includes a data acquisition unit and a data storage unit, and the data acquisition unit: uses a wireless vibration sensor to collect vibration signals at key bearing positions of the unit, uses a wireless voltage and current sensor to collect voltage and current data of the unit, and uses a temperature sensor to collect the temperature of the unit core and the temperature of the winding.
[0076] Data storage unit: upload the operating parameter information collected by the sensor to the corresponding data partition of the time series database through wireless transmission technology; the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating parameter information collected by the sensor is written into the corresponding data partition according to the timestamp; the operating parameter information at least includes sensor identification, installation location, measurement field, and timestamp.
[0077] Preferably, the fault diagnosis prediction module includes a data query unit, a data preprocessing unit and a fault prediction unit.
[0078] Data query unit: obtains operating condition parameter information D from the time series database with the time interval [ts, te) as the query time range ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time.
[0079] Data preprocessing unit: obtain the measurement value range of the sensor according to the sensor identification, and calculate the working condition parameter information D according to the measurement value range ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , xk is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input, ,in, The matrix Input is normalized to the collected measurement value of the kth sensor at timestamp t.
[0080] Fault prediction unit: input the normalized matrix into a trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer, and the output layer outputs the fault warning level of the hydropower unit; the deep neural network model is obtained by training with a supervised method based on the historical database; the fault warning level of the hydropower unit includes normal and fault warning.
[0081] Preferably, the diagnosis report generation module includes a detection table generation unit, a detection trend graph generation unit and a historical warning times statistics unit.
[0082] Detection table generation unit: Generate working condition parameter information D ts,te Detection table; the detection table includes sensor identification, installation location, measurement value, reference value interval; the reference value interval is the normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked.
[0083] Detection trend graph generation unit: Generates working condition parameter information D ts,te Detect trend graph; generate a trend graph of the measured values of each sensor in the time interval [ts, te), the horizontal axis of the trend graph is time, and the vertical axis is the measured value. If the trend graph is abnormal, the trend graph is specially marked; the trend graph abnormalities include continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold.
[0084] Historical warning number statistics unit: generates historical warning numbers; traverses each data partition in the historical database, organizes the data of each data partition into a matrix, calculates the similarity between the matrix and the Input matrix, and if the matrix similarity is greater than the threshold, obtains the fault warning level corresponding to the matrix, and counts the number of times the fault warning level is a fault warning.
[0085] Preferably, the diagnosis report sending module includes a mapping relationship establishing unit, a diagnosis report pushing unit and a database migration unit.
[0086] Mapping relationship establishing unit: used to establish a mapping relationship between a fault diagnosis report and a fault diagnosis report receiving terminal.
[0087] Diagnostic report push unit: pushes the fault diagnosis report to the corresponding receiving terminal according to the mapping relationship, and reminds the user to view it in the form of a pop-up window.
[0088] Database migration unit: Periodically traverses each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, the data of the data partition is migrated to the historical database and the data partition is deleted in the time series database.
[0089] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0090] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the device described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the device described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the device shown here, the execution of the code converts the general-purpose computer into a dedicated computer for executing the device shown here.
[0091] Those of ordinary skill in the art will appreciate that the units and device steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different devices to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0092] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A method for detecting and diagnosing faults of hydropower station units, It is characterized in that The following steps are involved: Step S101: collecting operating parameter information of components of a hydropower station unit through a variety of sensors, and storing the collected operating parameter information in a time series database; Step S102: acquiring operating condition parameter information from a time series database, preprocessing the acquired operating condition parameter information, and inputting the preprocessed operating condition parameter information into a deep neural network model; The acquisition of operating condition parameter information from the time series database is specifically as follows: Take the time interval [ts,te) as the query time range to obtain the operating condition parameter information D from the time series database ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time; The preprocessing of the acquired operating condition parameter information is specifically as follows: Obtain the measurement value range of the sensor according to the sensor identification, and calculate the working condition parameter information D according to the measurement value range ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , x k is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input, , in, The matrix Input is the collected measurement value of the kth sensor at the time stamp t, and the matrix Input is normalized and input into the trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer, and the output layer outputs the fault warning level of the hydropower unit; the deep neural network model is obtained by training with a supervised method based on a historical database; the fault warning level of the hydropower unit includes normal and fault warning; Step S103: if the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated according to the operating condition parameter information and the historical database; Generate a fault diagnosis report based on the operating condition parameter information and the historical database, specifically: Step S1031, generate operating condition parameter information D ts,te Test form; the test form includes sensor identification, installation location, measurement value, reference value interval; the reference value interval is a normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked; Step S1032, generating operating condition parameter information D ts,te Detect trend graph; generate a trend graph of the measured value of each sensor in the time interval [ts, te), the horizontal axis of the trend graph is time, the vertical axis is the measured value, if the trend graph is abnormal, the trend graph is specially marked; the abnormal trend graph includes continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold; Step S1033, generate the number of historical warnings; traverse each data partition in the historical database, organize the data of each data partition into a matrix, calculate the similarity between the matrix and the matrix of Input, if the matrix similarity is greater than the threshold, obtain the fault warning level corresponding to the matrix, and count the number of times the fault warning level is fault warning; Step S104: Send the generated fault diagnosis report to the corresponding terminal according to the preset mapping relationship, and migrate the operating parameter information in the time series database to the historical database according to the preset strategy; the mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal.
2. A method for detecting and diagnosing faults of a hydropower station unit as claimed in claim 1, It is characterized in that The operating parameter information of the components of the hydropower station units is collected by various sensors, specifically: Use wireless vibration sensors to collect vibration signals at key bearing positions of the unit, use wireless voltage and current sensors to collect voltage and current data of the unit, and use temperature sensors to collect the temperature of the unit's iron core and windings; The step of storing the collected operating condition parameter information in a time series database is specifically as follows: The operating parameter information collected by the sensor is uploaded to the corresponding data partition of the time series database through wireless transmission technology; the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating parameter information collected by the sensor is written into the corresponding data partition according to the timestamp; the operating parameter information includes at least sensor identification, installation location, measurement field, and timestamp.
3. A method for detecting and diagnosing faults of a hydropower station unit as claimed in claim 2, It is characterized in that The generating fault diagnosis report is sent to the corresponding terminal according to the preset mapping relationship, specifically: A mapping relationship between a fault diagnosis report and a fault diagnosis report receiving terminal is established in advance, and the fault diagnosis report is pushed to the corresponding receiving terminal according to the mapping relationship, and a pop-up window is used to remind the user to view it; The operation parameter information in the time series database is migrated to the history database according to the preset strategy, specifically: Periodically traverse each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, migrate the data of the data partition to the historical database and delete the data partition in the time series database.
4. A fault detection and diagnosis system for hydropower station units, It is characterized in that Including the following functional modules, Data acquisition and storage module: collects the operating parameter information of the components of the hydropower station unit through various sensors, and stores the collected operating parameter information in a time series database; Fault diagnosis and prediction module: obtains operating condition parameter information from the time series database, preprocesses the obtained operating condition parameter information, and inputs the preprocessed operating condition parameter information into the deep neural network model; Diagnostic report generation module: if the output result of the deep neural network model is a fault warning, a fault diagnosis report is generated according to the operating condition parameter information and the historical database; Diagnostic report sending module: sends the generated fault diagnosis report to the corresponding terminal according to the preset mapping relationship, and migrates the operating condition parameter information in the time series database to the historical database according to the preset strategy; the mapping relationship is the corresponding relationship between the fault diagnosis report and the fault diagnosis report receiving terminal; The fault diagnosis prediction module includes a data query unit, a data preprocessing unit and a fault prediction unit; Data query unit: obtains operating condition parameter information D from the time series database with the time interval [ts, te) as the query time range ts,te , each time interval [ts,te) corresponds to a data partition of the time series database; where ts is the query start time and te is the query end time; Data preprocessing unit: obtain the measurement value range of the sensor according to the sensor identification, and calculate the working condition parameter information D according to the measurement value range ts,te The number of abnormal values m in the statistical working condition parameter information D ts,te The number of missing values n, statistical working condition parameter information D ts,te Total number of data in total, calculation condition parameter information D ts,te If the abnormal ratio Ratio>10%, delete the operating condition parameter information D from the time series database ts,te , and issue an abnormal sensor data collection alarm; if Ratio<=10%, perform nearest neighbor interpolation on abnormal values and missing values, and ts,te Perform timestamp alignment to obtain ,in, , x k is the measurement value of the kth sensor; the data after timestamp alignment is organized into the input matrix Input, ,in, Normalize the matrix Input to the collected measurement value of the kth sensor at timestamp t; Fault prediction unit: input the normalized matrix into the trained deep neural network model; the deep neural network model includes a first convolution layer, a first pooling layer, a second convolution layer, a second pooling layer, a fully connected layer, a hidden layer, and an output layer, and the output layer outputs the fault warning level of the hydropower unit; the deep neural network model is obtained by training with a supervised method based on a historical database; the fault warning level of the hydropower unit includes normal and fault warning; The diagnostic report generation module includes a detection table generation unit, a detection trend graph generation unit and a historical warning times statistics unit; Detection table generation unit: Generate working condition parameter information D ts,te Test form; the test form includes sensor identification, installation location, measurement value, reference value interval; the reference value interval is a normal value range; if the measurement value is not in the reference value interval, the measurement value is specially marked; Detection trend graph generation unit: Generates working condition parameter information D ts,te Detect trend graph; generate a trend graph of the measured value of each sensor in the time interval [ts, te), the horizontal axis of the trend graph is time, the vertical axis is the measured value, if the trend graph is abnormal, the trend graph is specially marked; the abnormal trend graph includes continuous increase exceeding the preset time threshold, continuous decrease exceeding the preset time threshold, and the difference between the peak and the trough exceeding the preset threshold; Historical warning number statistics unit: generates historical warning numbers; traverses each data partition in the historical database, organizes the data of each data partition into a matrix, calculates the similarity between the matrix and the Input matrix, and if the matrix similarity is greater than the threshold, obtains the fault warning level corresponding to the matrix, and counts the number of times the fault warning level is a fault warning.
5. A hydropower station unit fault detection and diagnosis system as claimed in claim 4, It is characterized in that The data acquisition and storage module includes a data acquisition unit and a data storage unit. Data acquisition unit: Use wireless vibration sensors to collect vibration signals at key bearing positions of the unit, use wireless voltage and current sensors to collect voltage and current data of the unit, and use temperature sensors to collect the temperature of the unit core and windings; Data storage unit: upload the operating parameter information collected by the sensor to the corresponding data partition of the time series database through wireless transmission technology; the time series database pre-creates multiple data partitions, each data partition stores data within a fixed time range, and the operating parameter information collected by the sensor is written into the corresponding data partition according to the timestamp; the operating parameter information at least includes sensor identification, installation location, measurement field, and timestamp.
6. A hydropower station unit fault detection and diagnosis system as claimed in claim 5, It is characterized in that The diagnostic report sending module includes a mapping relationship establishing unit, a diagnostic report pushing unit and a database migration unit; A mapping relationship establishing unit: used to establish a mapping relationship between a fault diagnosis report and a fault diagnosis report receiving terminal; Diagnostic report push unit: pushes the fault diagnosis report to the corresponding receiving terminal according to the mapping relationship, and reminds the user to check it in the form of a pop-up window; Database migration unit: Periodically traverses each data partition of the time series database. If the storage time of the data partition in the time series database exceeds the storage threshold and the data of the data partition has been input into the deep neural network model, the data of the data partition is migrated to the historical database and the data partition is deleted in the time series database.
