Sensor fault judgment method and device and storage medium

By calculating the correlation coefficient threshold in the health and deviation state of the sensor, a correlation coefficient model is constructed, which solves the computational complexity and reliability problems of sensor failure judgment in complex control systems, and achieves efficient fault judgment.

CN118913483APending Publication Date: 2024-11-08CHINA YANGTZE POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042907.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-08

Smart Images

  • Figure CN118913483A_ABST
    Figure CN118913483A_ABST
Patent Text Reader

Abstract

The invention discloses a sensor fault judgment method and device and a storage medium, and the method comprises the steps: determining target equipment, and selecting sensor information related to the target equipment according to an expert knowledge base; respectively calculating correlation coefficient thresholds H1 and W1 of the sensor information in the health state and the deviation state of the sensor; constructing a correlation coefficient model; calculating an average coefficient for the sensor to be judged according to the constructed correlation coefficient model; and judging whether the sensor fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to sensor technology, and in particular to a sensor fault determination method, device and storage medium. Background Art

[0002] At present, sensor fault judgment methods are mainly divided into two categories: Method 1 is a fault diagnosis method that relies on mathematical models, and Method 2 is a fault diagnosis method that does not rely on mathematical models. In the prior art, Method 1 requires physical modeling in advance based on the controller and the sensors corresponding to the controller. Method 1 can be subdivided into: state evaluation method, parameter evaluation method, and equivalent space method. Method 2 can be subdivided into: data-driven method, support-driven method, and discrete event-based method. Now, as control systems become more and more complex and there are more and more sensors, the problem that follows is that the above-mentioned method 1 will have problems such as increased complexity in mathematical model construction, poor reliability, and increased calculations. In addition, the data-driven method of the above-mentioned method 2 will also become more complicated and difficult to implement due to the increased complexity of the waveform data method. Summary of the invention

[0003] The invention provides a sensor fault determination method, device and storage medium.

[0004] In a first aspect, the present invention provides a sensor fault determination method, the method comprising: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; Determine whether the sensor is faulty.

[0005] Furthermore, the correlation coefficient threshold of the sensor information under the sensor health state is calculated , specifically: sensor set , is the number of sensors, The specific expression is: ; in, for and Pearson correlation coefficient of sensors in healthy state; Furthermore, the calculation of the correlation coefficient threshold of the sensor information in the sensor deviation state is specifically: Based on the historical data of sensor anomalies , calculate the correlation coefficient, and select the minimum value of the correlation matrix as the correlation coefficient threshold , The specific expression is: ; in, For the Historical data points in sensors and Pearson correlation coefficient for sensor bias conditions.

[0006] Furthermore, the calculating of the average coefficient for the sensor to be determined includes: Before calculation, the data is preprocessed as follows: The data within 2 hours after the unit was screened are: ; in, Indicates that the sensor is at time The measured value of is the start time; The average value in the sliding window is used for frequency reduction, and the data after frequency reduction is: ; in, is the sliding window size; For time points where there are still null values ​​after the frequency reduction, the previous value is selected for patching.

[0007] Further, the determining whether the sensor is faulty includes: The output average coefficient is less than the correlation coefficient threshold The sensor name.

[0008] In a second aspect, the present invention provides a sensor fault determination device, characterized in that the device comprises: Calculate threshold module for: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Build models and calculate modules for: Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; The judgment module is used to: Determine whether the sensor is faulty.

[0009] Furthermore, the device comprises: Memory, used to store programs; A processor, configured to execute the program stored in the memory; when the program stored in the memory is executed, the processor is configured to execute the steps of the method as claimed in any one of claims 1 to 4.

[0010] In a third aspect, the present invention provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, causes the one or more processors to perform the steps of the method as described in any one of claims 1 to 4.

[0011] Compared with the prior art, the present invention has the following advantages: By digitizing waveform data, driving based on expert knowledge, and combining historical fault samples and healthy samples to screen out highly correlated measurement points, and then building a model, the problems existing in the existing technology are solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram of a sensor fault determination method provided by an embodiment of the present invention; Figure 2 A schematic diagram of the composition of a sensor fault determination device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0013] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0014] Explanation of terms involved in the embodiments of the present invention: Spearman's correlation coefficient is a non-parametric indicator used in statistics to measure the correlation between two variables. It is based on the relationship between the rankings (grades) of the two variables rather than the specific values ​​between the variables.

[0015] The Spearman correlation coefficient ranges from -1 to +1, where: 1 indicates a perfect positive correlation, meaning that when one variable increases, the other also increases.

[0016] -1 indicates a perfect negative correlation, meaning that when one variable increases, the other decreases.

[0017] 0 means there is no correlation, that is, changes in one variable do not predict changes in the other variable.

[0018] The Spearman correlation coefficient is applicable to data sets that are not completely linear or do not meet the assumptions of the Pearson correlation coefficient. It is often used to analyze rank data or when the data does not meet the normal distribution. Compared with the Pearson correlation coefficient, the Spearman correlation coefficient is less sensitive to outliers and does not require the assumption that the data follows a specific distribution.

[0019] The Pearson correlation coefficient, also known as the Pearson product-moment correlation coefficient (PPMCC or PCCs), is a statistic used to measure the degree of linear correlation between two variables X and Y, and its value is between -1 and 1. The larger the absolute value of the Pearson correlation coefficient, the stronger the linear correlation between the two variables.

[0020] When the Pearson correlation coefficient is 1 or -1, it means that the two variables are completely linearly correlated.

[0021] When the Pearson correlation coefficient is 0, it means that there is no linear relationship between the two variables.

[0022] The Pearson correlation coefficient is calculated as the quotient of the covariance and the standard deviation of the two variables.

[0023] Figure 1 A schematic diagram of a sensor fault determination method provided by an embodiment of the present invention, the method comprising: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; Determine whether the sensor is faulty.

[0024] Furthermore, the correlation coefficient threshold of the sensor information under the sensor health state is calculated , specifically: sensor set , is the number of sensors, The specific expression is: ; in, for and Pearson correlation coefficient of sensors in healthy state; Furthermore, the calculation of the correlation coefficient threshold of the sensor information in the sensor deviation state is specifically: Based on the historical data of sensor anomalies , calculate the correlation coefficient, and select the minimum value of the correlation matrix as the correlation coefficient threshold , The specific expression is: ; in, For the Historical data points in sensors and Pearson correlation coefficient for sensor bias conditions.

[0025] Furthermore, the calculating of the average coefficient for the sensor to be determined includes: Before calculation, the data is preprocessed as follows: The data within 2 hours after the unit was screened are: ; in, Indicates that the sensor is at time The measured value of is the start time; The average value in the sliding window is used for frequency reduction, and the data after frequency reduction is: ; in, is the sliding window size; For time points where there are still null values ​​after the frequency reduction, the previous value is selected for patching.

[0026] In one embodiment, for the upper guide tile, according to the expert knowledge base, the sensor information related to the device (that is, the specific measuring point, 1# upper guide tile temperature, 2# upper guide tile temperature, ..., 12# upper guide tile temperature) and the correlation coefficient thresholds in the healthy state and the deviation state are selected. and .

[0027] Calculated from the historical data of the target measurement point and confirmed by the business experts. If the data in September is the data of abnormal sensor, calculate its correlation coefficient and select the minimum value of the correlation matrix as

[0028] Furthermore, the calculating of the average coefficient for the sensor to be determined includes: Before calculation, the data is preprocessed as follows: Filter the data within 2 hours after the unit starts; Use the mean value for frequency reduction; For time points where there are still null values ​​after the frequency reduction, the previous value is selected for patching.

[0029] In one embodiment, data of the upper guide shoe for the past one day is selected and necessary data preprocessing is performed on the data.

[0030] In one embodiment, to meet the time alignment requirement, a 60-second frequency reduction process is performed.

[0031] Further, the determining whether the sensor is faulty includes: The output average coefficient is less than the correlation coefficient threshold The sensor name.

[0032] In one embodiment, according to the alarm threshold , the output average coefficient is less than The name of the measuring point.

[0033] An embodiment of the present invention provides a sensor fault determination device, the device comprising: Calculate threshold module for: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Build models and calculate modules for: Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; The judgment module is used to: Determine whether the sensor is faulty.

[0034] Furthermore, the threshold calculation module includes: The submodule is calculated based on historical data, and is used to calculate the correlation coefficient based on the historical data of sensor abnormalities, and select the minimum value of the correlation matrix as the correlation coefficient threshold W1.

[0035] Furthermore, the model building and calculation module includes: Data preprocessing submodule, used to: Before calculation, preprocess the data: Filter the data within 2 hours after the unit starts; Use the mean value for frequency reduction; For time points where there are still null values ​​after the frequency reduction, the previous value is selected for patching.

[0036] Furthermore, the judging module comprises: The output submodule is used to: output the name of the sensor whose average coefficient is less than the correlation coefficient threshold W1.

[0037] Figure 2 A schematic diagram of a sensor fault determination device provided in an embodiment of the present invention; the device comprises: Memory, used to store programs; The processor is used to execute the program stored in the memory. When the program stored in the memory is executed, the processor is used to execute the above method.

[0038] In addition, an embodiment of the present invention provides a storage medium storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the above method.

[0039] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A sensor fault determination method, characterized in that: The method comprises: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; Determine whether the sensor is faulty.

2. The sensor failure determination method according to claim 1, characterized in that: Calculate the correlation coefficient threshold of sensor information under the sensor health state , specifically: sensor set , is the number of sensors, The specific expression is: ; in, for and Pearson correlation coefficient of sensors in healthy state.

3. The sensor failure determination method according to claim 1, wherein: The calculation of the correlation coefficient threshold of the sensor information in the sensor deviation state is specifically: Based on the historical data of sensor anomalies , calculate the correlation coefficient, and select the minimum value of the correlation matrix as the correlation coefficient threshold , The specific expression is: ; in, For the Historical data points in sensors and Pearson correlation coefficient for sensor bias conditions.

4. The sensor failure determination method according to claim 1, wherein: The step of calculating the average coefficient for the sensor to be determined includes: Before calculation, the data is preprocessed as follows: The data within 2 hours after the unit was screened are: ; in, Indicates that the sensor is at time The measured value of is the start time; The average value in the sliding window is used for frequency reduction, and the data after frequency reduction is: ; in, is the sliding window size; For time points where there are still null values ​​after the frequency reduction, the previous value is selected for patching.

5. The sensor failure determination method according to claim 1, characterized in that: The determining whether the sensor is faulty includes: The output average coefficient is less than the correlation coefficient threshold The sensor name.

6. A sensor fault determination device, characterized in that: The device comprises: Calculate threshold module for: Determine the target device, and select the sensor information related to the target device according to the expert knowledge base; calculate the correlation coefficient threshold of the sensor information in the healthy state and the deviation state of the sensor respectively , ; Build models and calculate modules for: Construct correlation coefficient model; According to the constructed correlation coefficient model, the average coefficient is calculated for the sensor to be judged; The judgment module is used to: Determine whether the sensor is faulty.

7. A sensor failure determination device, characterized in that: The device comprises: Memory, used to store programs; A processor, configured to execute the program stored in the memory; when the program stored in the memory is executed, the processor is configured to execute the steps of the method as claimed in any one of claims 1 to 4.

8. A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform the steps of the method according to any one of claims 1 to 4.