Power data analysis and processing method, system, terminal and storage medium

Through the combination of SOM self-organizing mapping neural network and ARIMA model, the problem of insufficient data quality assessment in the power grid dispatching control system is solved, higher-precision abnormal data detection and verification is achieved, and the power data processing capabilities and power grid operation are improved. reliability.

CN118296061BActive Publication Date: 2024-09-27STATE GRID JIANGSU ELECTRIC POWER CO LTD SUZHOU BRANCH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410718873.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-27
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The existing technology lacks effective data quality assessment means in the power grid dispatching control system, resulting in frequent false positives and false negatives in data anomaly identification, and the lack of a data quality management and control system, which affects power grid operation decisions and in-depth mining of data value.

Method used

The SOM self-organizing mapping neural network model and ARIMA model are used to detect and verify abnormal power offline data. The target verification data value is obtained through pre-trained models and regression functions, and the model is constructed and optimized to improve the accuracy of abnormal data.

Benefits of technology

It improves the accuracy and judgment ability of abnormal data, can more accurately filter out noise data and interference information, and improves the quality of power data and the reliability of operational decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296061B
    Figure CN118296061B
Patent Text Reader

Abstract

The present invention discloses an analysis and processing method, system, terminal and storage medium for power data, the method comprising: collecting power offline data and cleaning the collected erroneous data to obtain sample data; pre-training a SOM self-organizing mapping neural network model, detecting the offline data to obtain a first abnormal data detection result, and then obtaining a target verification data value and a regression target verification data value corresponding to the first abnormal data detection result; obtaining an ARIMA model based on the sample data and the target verification data value, detecting the offline data, obtaining a second abnormal data detection result and its corresponding target verification data value and regression target verification data value; analyzing and processing the abnormal data according to the target verification data value and the regression target verification data value corresponding to the first and second abnormal data detection results. The present invention can obtain abnormal data with higher accuracy through the verification and analysis and judgment links after abnormal detection of offline data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electric power information technology, and relates to an analysis and processing method, system, terminal and storage medium for electric power data. Background Art

[0002] As the core support system for power grid operation control and dispatching production management, the power grid dispatching control system is the center for real-time data aggregation, processing and dispatching control of various types of power grid equipment. How to ensure the quality of system basic data, the safety of remote operation and control of equipment, and the reliability of the system's own operating status is of vital importance and is an issue that urgently needs to be solved for the safe and stable operation of the power grid.

[0003] With the rapid development of regional power grids, the number and types of business data in regional smart grid control systems have gradually increased, and the data quality is uneven. There is a lack of effective basic data quality assessment methods, which affects monitoring and scheduling decisions. Specifically, there is a lack of effective anomaly identification rules, and thresholds are mainly set based on experience, resulting in false alarms and missed reports from time to time; the level of investigation of the causes of data anomalies is low, and the correlation between faults has not been established, which limits the ability to eliminate data quality risks from the root causes such as missing measurements and model parameter errors; data quality control is lagging, data quality information is scattered, and a complete data quality control system and a comprehensive and effective data quality assurance mechanism have not been formed, which restricts the deep mining of data value.

[0004] Prior art CN114358152A provides an intelligent power data anomaly detection method and system, which uses a recurrent neural network and classification algorithm to detect various anomalies and classifications generated during equipment operation, manage and control the quality of basic data of the system, and is used for power grid operation. The dynamic alarm interval adaptively adjusts the interval to adapt to different power equipment and reflect the current status of the equipment. However, this processing method lacks data verification and cannot accurately filter out data noise, resulting in the need for manual judgment and confirmation of the data after abnormal data screening is achieved through this method, and the data accuracy is far from sufficient. Summary of the invention

[0005] In order to solve the deficiencies in the prior art, the present invention provides a method, system, terminal and storage medium for analyzing and processing power data, which obtains abnormal data with higher accuracy by performing verification and analysis and judgment on offline data after abnormality detection.

[0006] The present invention adopts the following technical solution.

[0007] A first aspect of the present invention provides a method for analyzing and processing power data, which specifically includes:

[0008] Step 1: Collect power offline data and clean the collected erroneous data to obtain sample data;

[0009] Step 2, using sample data to pre-train the SOM self-organizing map neural network model;

[0010] Step 3, using a pre-trained SOM self-organizing map neural network model to detect the power offline data collected in step 1 to obtain a first abnormal data detection result;

[0011] Step 4, according to the first abnormal data detection result and the regression function, obtain the target verification data value W(t) corresponding to the first abnormal data detection result and the regression target verification data value Wf(t);

[0012] Step 5, constructing an ARIMA model based on the sample data and the target verification data value W(t) in step 4;

[0013] Step 6, using the ARIMA model to detect the power offline data collected in step 1, to obtain the second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t);

[0014] Step 7: Analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

[0015] Preferably, step 1 collects power offline data and cleans the collected erroneous data to obtain sample data, including:

[0016] Step 1.1, collecting power operation data of each measuring point of each power equipment in the automation master station system to be tested, including offline data and real-time data;

[0017] Step 1.2, cleaning the abnormal data caused by collection in the offline data to obtain valid offline data samples;

[0018] Step 1.3, processing the valid offline data samples to obtain time series sample data and space series sample data of the valid offline data samples.

[0019] Preferably, in step 2, the process of pre-training the SOM self-organizing map neural network model using sample data is as follows:

[0020] The sample data is input as the input vector to the initial SOM self-organizing map neural network model, and the winning neuron is selected through competition until the output layer data that meets the stability requirements is obtained, thereby obtaining a pre-trained SOM self-organizing map neural network model.

[0021] Preferably, in step 4, the abnormal data time t is obtained according to the first abnormal data detection result, and the target verification data value is obtained by using the following formula:

[0022] W(t)=H·x(t)+ H·ε(t);

[0023] Where H is the transfer coefficient;

[0024] x(t) is the sample data value clustered by the winning neuron of the model corresponding to the abnormal data time t;

[0025] ε(t) is the difference between the sample data value corresponding to the node contained in the winning neighborhood of the winning neuron determined by the neighborhood radius of the winning neuron and x(t).

[0026] Preferably, in step 4, a regression function f is created such that:

[0027] f(H·x (t))=0;

[0028] f(m)=f(H·x(t)+H·ε(t))=f(H·x(t))+f(H·ε(t))=f(H·ε(t));

[0029] The regression function f is used to obtain the regression target verification data value Wf(t) whose sample data value is zero or close to zero.

[0030] Preferably, the ARIMA model is obtained based on the sample data and the target verification data value W(t) of step 4 in step 5, including:

[0031] Step 5.1, input the time series sample data and the space series sample data;

[0032] Step 5.2, observe the target verification data value W(t) obtained in step 4 to determine whether it is a stationary time series that meets the stationarity requirements. If it is a non-stationary time series, perform d-order difference processing on it to obtain stationary time series sample data;

[0033] Step 5.3, calculate the autocorrelation coefficient ACF and partial autocorrelation coefficient PACF according to the stationary time series sample data, and obtain the optimal layer p and order q by analyzing the autocorrelation graph and partial autocorrelation graph, and then obtain the ARIMA (p, q) model;

[0034] Step 5.4, substitute the stationary time series sample data into the ARIMA (p, q) model for testing. If the test fails, rebuild the model until a model that passes the test is obtained. The test content is whether the obtained model is consistent with the observed data characteristics.

[0035] Preferably, in step 6, the offline data is input into the ARIMA model, and the ARIMA model marks the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the offline data, and obtains the second abnormal data detection result and the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the marked second abnormal data detection result. The second abnormal data detection result is the abnormal data directly obtained by the ARIMA model, and the result contains the data values ​​and time corresponding to the target verification data value W(t) and the regression target verification data value Wf(t).

[0036] Preferably, step 7 performs abnormal data analysis and processing according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results, including:

[0037] (1) Determine whether the data value and time corresponding to the regression target verification data value Wf(t) in the second abnormal data detection result coincide with the data value and time corresponding to the regression target verification data value Wf(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, repeat steps 1 to 6.

[0038] (2) Determine whether the data value and time corresponding to the target verification data value W(t) in the second abnormal data detection result coincide with the data value and time corresponding to the target verification data value W(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, compare the abnormal data value in the second abnormal data detection result with the sample data value x(t) clustered by the winning neuron of the model corresponding to the abnormal data time t, and repeat steps 1 to 6. When executing step 5.3, adjust the autocorrelation coefficient ACF and the partial autocorrelation coefficient PACF according to the comparison result and the stationary time series sample data.

[0039] A second aspect of the present invention provides a power data analysis and processing system, comprising:

[0040] The data acquisition module is used to collect power offline data and clean the collected erroneous data to obtain sample data;

[0041] The first model training module is used to pre-train the SOM self-organizing map neural network model using sample data;

[0042] A first detection module is used to detect the power offline data using a pre-trained SOM self-organizing map neural network model to obtain a first abnormal data detection result, and obtain a target verification data value W(t) and a regression target verification data value Wf(t) corresponding to the first abnormal data detection result according to the first abnormal data detection result and a regression function;

[0043] The second model training module is used to build an ARIMA model based on sample data and target verification data value W(t);

[0044] A second detection module is used to detect the power offline data using an ARIMA model to obtain a second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t);

[0045] The analysis and processing module is used to analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

[0046] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.

[0047] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0048] The beneficial effects of the present invention are as follows:

[0049] The present invention obtains a pre-trained SOM self-organizing map neural network model through sample data, and then uses the SOM self-organizing map neural network model to obtain a first abnormal data detection result, obtains a verification parameter through calculation, and then uses a regression model to realize the verification of the abnormal data. By continuously optimizing parameters and training models, and by using additional algorithms to overcome the problem of insufficient precision, the accuracy of the calculation results is significantly improved, thereby improving the abnormal data acquisition and judgment capabilities of power data, and providing a quality reference for power operation.

[0050] The present invention obtains abnormal data with higher accuracy by performing verification and analysis and judgment on offline data after abnormality detection. Through the participation of different models in calculation, it has a very good ability to process noise data and interference information data. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of the method for analyzing and processing power data of the present invention;

[0052] Figure 2 A flowchart of obtaining the first abnormal data detection result of the present invention;

[0053] Figure 3 The present invention is a flowchart of obtaining the second abnormal data detection result and analyzing and processing the first and second abnormal data detection results. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.

[0055] like Figure 1-3 As shown, Embodiment 1 of the present invention provides a method for analyzing and processing power data, comprising:

[0056] Step 1: Collect power offline data and clean the collected erroneous data to obtain sample data, including:

[0057] Step 1.1, collecting power operation data of each measuring point of each power equipment in the automation master station system to be tested;

[0058] The power operation data includes the directly acquired data obtained through measurement, which is divided into offline data and real-time data; specifically, the power data in the offline and real-time database is directly acquired through the dispatching master station;

[0059] Step 1.2, clean the erroneous data caused by collection in the offline data to obtain valid offline data samples; it can be understood that this step of cleaning is only for the erroneous data caused by collection anomalies, and the object of analysis in the following steps is valid offline data; the erroneous data caused by collection anomalies is obviously different from the valid offline data, so this article does not describe it in detail.

[0060] Step 1.3, processing the valid offline data samples to obtain time series sample data and space series sample data of the valid offline data samples;

[0061] By processing the type and format of offline data, it greatly facilitates readability and result analysis, and improves data processing efficiency;

[0062] Step 2, using sample data to pre-train the SOM self-organizing map neural network model;

[0063] The time series sample data and spatial sequence sample data obtained in step 1.3 are input as input vectors to the initial SOM self-organizing map neural network model, and the winning neurons are selected through competition until stable output layer data are obtained, thereby obtaining a pre-trained SOM self-organizing map neural network model; the SOE model has standard limitations on stable data.

[0064] Step 3, using a pre-trained SOM self-organizing map neural network model to detect the power offline data collected in step 1 to obtain a first abnormal data detection result;

[0065] The offline data is detected by using a pre-trained SOM self-organizing map neural network model to obtain a first abnormal data detection result, and the abnormal data is analyzed and processed by using the first abnormal data detection result.

[0066] The SOM self-organizing map neural network model takes advantage of its high data clustering efficiency and uses the proximity relationship function to calculate the target data. It has good training capabilities, high-dimensional data visualization, and can update new input data in real time, which facilitates the calculation and processing of large amounts of data.

[0067] When filtering abnormal data obtained by the SOM self-organizing map neural network model, when a neural unit monopolizes the cluster input vector, the learning ability is seriously reduced due to lack of competition, which in turn affects the data screening ability. The SOM self-organizing map neural network model adopted by the present invention can significantly improve the effect by overcoming the problem of insufficient precision through additional algorithms. Therefore, in order to further achieve the above-mentioned purpose of the present invention, the present invention also includes step 4:

[0068] Step 4, according to the first abnormal data detection result and the regression function, obtain the target verification data value W(t) corresponding to the first abnormal data detection result and the regression target verification data value Wf(t);

[0069] Step 4.1, obtain the abnormal data time t according to the first abnormal data detection result, and use the following formula to obtain the target verification data value:

[0070] W(t)=H·x(t)+ H·ε(t);

[0071] x(t) is the sample data value clustered by the winning neuron corresponding to the abnormal data time t;

[0072] H represents the transmission coefficient, which is the redundancy level of the sample data values ​​obtained according to the data type;

[0073] ε(t) is the difference between the sample data value corresponding to the node contained in the winning neighborhood of the winning neuron determined by the neighborhood radius of the winning neuron and x(t); it should be noted that ε(t) is calculated from the data in the SOM training process and the parameters of the power data. In some data segments, it can be 0 or a larger value. Because there are many sources of abnormal data, the purpose of verification is also to adapt to different types of abnormal data, and another training model is used to verify the abnormal data;

[0074] W(t) is the target verification data value.

[0075] The cleaning in step 1.2 above is only for erroneous data caused by collection anomalies. The anomalies here are anomalies in valid offline data.

[0076] Step 4.2, create a regression function f, which is a function of the error term ε to the greatest extent and a function of x to the least extent, that is, the function value is greatly affected by the error term ε and less affected by x; so that:

[0077] f(H·x(t))=0;

[0078] f(m)=f(H·x(t)+H·ε(t))=f(H·x(t))+f(H·ε(t))=f(H·ε(t));

[0079] The regression function f is used to obtain the regression target verification data value Wf(t) whose sample data value is zero or close to zero;

[0080] Abnormal data of zero or close to zero is caused by different operating conditions, but no matter which training model is used, Wf(t) can be regarded as a data node or data segment where both appear at the same time, which has isolation and reference significance for data judgment;

[0081] The target verification data value W(t) and the regression target verification data value Wf(t) are known applications in the regression model and the ARIMA model, and the corresponding results can be obtained when the above models are used.

[0082] Step 5, constructing an ARIMA model based on the sample data and the target verification data value W(t) in step 4;

[0083] The target verification data value W(t) and the regression target verification data value Wf(t) are used to verify the abnormal data through the ARIMA autoregression model.

[0084] The ARIMA autoregressive model is implemented by the following step 5, which includes:

[0085] Step 5.1, input the time series sample data and space series sample data of step 1.3; the time series sample data and space series sample data are the construction parameter data objects of the ARIMA model;

[0086] Step 5.2, observe the target verification data value W(t), determine whether it is a stationary time series, and perform d-order difference processing on the non-stationary time series to obtain stationary time series sample data;

[0087] Step 5.3, calculate the autocorrelation coefficient ACF and partial autocorrelation coefficient PACF according to the stationary time series sample data, and obtain the optimal layer p and order q by analyzing the autocorrelation graph and partial autocorrelation graph;

[0088] Step 5.4, substitute the stationary time series sample data into the ARIMA (p, q) model for testing. If the test fails, rebuild the model until a model that passes the test is obtained. The test content is whether the obtained model is consistent with the observed data characteristics.

[0089] Step 6, using the ARIMA model to detect the power offline data collected in step 1, to obtain the second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t);

[0090] Input offline data, and mark the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the offline data; obtain the second abnormal data detection result and the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the marked second abnormal data detection result; wherein the second abnormal data detection result is the abnormal data directly obtained by the ARIMA model, and the result contains the data values ​​and time corresponding to the target verification data value W(t) and the regression target verification data value Wf(t).

[0091] Step 7: Analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

[0092] The abnormal data is analyzed and processed according to the first abnormal data detection result and the second abnormal data detection result, and the analysis and processing steps include:

[0093] (1) Determine whether the data value and time corresponding to the regression target verification data value Wf(t) in the second abnormal data detection result coincide with the data value and time corresponding to the regression target verification data value Wf(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, repeat steps 1 to 6.

[0094] (2) Determine whether the data value and time corresponding to the target verification data value W(t) in the second abnormal data detection result coincide with the data value and time corresponding to the target verification data value W(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, compare the abnormal data value in the second abnormal data detection result with x(t), and repeat steps 1 to 6. When executing step 5.3, adjust the autocorrelation coefficient ACF and the partial autocorrelation coefficient PACF in step 5.3 according to the comparison result and the stationary time series sample data. The autocorrelation coefficient ACF and the partial autocorrelation coefficient PACF are obtained by analyzing the autocorrelation graph and the partial autocorrelation graph, and refer to the comparison result and the type and characteristics of the power parameters to obtain the optimal layer p and order q. When determining the d value of the d-order difference, the power data characteristics and the data anomalies during the training process can also be further referred to.

[0095] Embodiment 2 of the present invention provides a power data analysis and processing system, including:

[0096] The data acquisition module is used to collect power offline data and clean the collected erroneous data to obtain sample data;

[0097] The first model training module is used to pre-train the SOM self-organizing map neural network model using sample data;

[0098] A first detection module is used to detect the power offline data using a pre-trained SOM self-organizing map neural network model to obtain a first abnormal data detection result, and obtain a target verification data value W(t) and a regression target verification data value Wf(t) corresponding to the first abnormal data detection result according to the first abnormal data detection result and a regression function;

[0099] The second model training module is used to build an ARIMA model based on sample data and target verification data value W(t);

[0100] A second detection module is used to detect the power offline data using an ARIMA model to obtain a second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t);

[0101] The analysis and processing module is used to analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

[0102] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.

[0103] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0104] The beneficial effects of the present invention are as follows:

[0105] The present invention obtains a pre-trained SOM self-organizing map neural network model through sample data, and then uses the SOM self-organizing map neural network model to obtain a first abnormal data detection result, obtains a verification parameter through calculation, and then uses a regression model to realize the verification of the abnormal data. By continuously optimizing parameters and training models, and by using additional algorithms to overcome the problem of insufficient precision, the accuracy of the calculation results is significantly improved, thereby improving the abnormal data acquisition and judgment capabilities of power data, and providing a quality reference for power operation.

[0106] The present invention obtains abnormal data with higher accuracy by checking and analyzing the abnormal data after abnormal detection. Through the participation of different models in calculation, it has a very good ability to process noise data and interference information data.

[0107] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0108] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0109] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0110] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for analyzing and processing power data, characterized in that: The analysis and processing method specifically includes: Step 1: Collect power offline data and clean the collected erroneous data to obtain sample data; Step 2, using sample data to pre-train the SOM self-organizing map neural network model; Step 3, using a pre-trained SOM self-organizing map neural network model to detect the power offline data collected in step 1 to obtain a first abnormal data detection result; Step 4: According to the first abnormal data detection result and the regression function, the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first abnormal data detection result are obtained. Specifically: The abnormal data time t is obtained according to the first abnormal data detection result, and the target verification data value is obtained by using the following formula: W(t)=H·x(t)+H·ε(t); Where H is the transmission coefficient; x(t) is the sample data value clustered by the winning neuron of the model corresponding to the abnormal data time t; ε(t) is the difference between the sample data value corresponding to the node included in the winning neighborhood of the winning neuron determined by the neighborhood radius of the winning neuron and x(t); Create a regression function f such that: f(H·x (t))=0; f(m)=f(H·x(t)+H·ε(t))=f(H·x(t))+f(H·ε(t))=f(H·ε(t)); The regression target verification data value Wf(t) whose sample data value is zero or close to zero is obtained by the above regression function f; Step 5, constructing an ARIMA model based on the sample data and the target verification data value W(t) in step 4, including: Step 5.1, input the sample data; Step 5.2, observe the target verification data value W(t) obtained in step 4 to determine whether it is a stationary time series that meets the stationarity requirements. If it is a non-stationary time series, perform d-order difference processing on it to obtain stationary time series sample data; Step 5.3, calculate the autocorrelation coefficient ACF and partial autocorrelation coefficient PACF according to the stationary time series sample data, and obtain the optimal layer p and order q by analyzing the autocorrelation graph and partial autocorrelation graph, and then obtain the ARIMA (p, q) model; Step 5.4, substitute the stationary time series sample data into the ARIMA (p, q) model for testing. If the test fails, rebuild the model until a model that passes the test is obtained. The test content is whether the obtained model is consistent with the observed data characteristics; Step 6: Use the ARIMA model to detect the power offline data collected in step 1 to obtain the second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t). Specifically: Input the offline data into the ARIMA model, and the ARIMA model marks the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the offline data, and obtains the second abnormal data detection result and the data values ​​corresponding to the target verification data value W(t) and the regression target verification data value Wf(t) in the marked second abnormal data detection result, wherein the second abnormal data detection result is the abnormal data directly obtained by the ARIMA model, and the result contains the data values ​​and time corresponding to the target verification data value W(t) and the regression target verification data value Wf(t); Step 7: Analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

2. The method for analyzing and processing power data according to claim 1, characterized in that: Step 1 collects power offline data and cleans the collected erroneous data to obtain sample data, including: Step 1.1, collecting power operation data of each measuring point of each power equipment in the automation master station system to be tested, including offline data and real-time data; Step 1.2, cleaning the erroneous data caused by collection in the offline data to obtain valid offline data samples; Step 1.3, processing the valid offline data samples to obtain time series sample data and space series sample data of the valid offline data samples.

3. The method for analyzing and processing power data according to claim 1, characterized in that: In step 2, the process of pre-training the SOM self-organizing map neural network model using sample data is as follows: The sample data is input as the input vector to the initial SOM self-organizing map neural network model, and the winning neuron is selected through competition until the output layer data that meets the stability requirements is obtained, thereby obtaining a pre-trained SOM self-organizing map neural network model.

4. The method for analyzing and processing power data according to claim 1, characterized in that: Step 7 performs abnormal data analysis and processing according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results, including: (1) Determine whether the data value and time corresponding to the regression target verification data value Wf(t) in the second abnormal data detection result coincide with the data value and time corresponding to the regression target verification data value Wf(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, repeat steps 1 to 6. (2) Determine whether the data value and time corresponding to the target verification data value W(t) in the second abnormal data detection result coincide with the data value and time corresponding to the target verification data value W(t) in the first abnormal data detection result. If the data value and time are missing or do not coincide, compare the abnormal data value in the second abnormal data detection result with the sample data value x(t) clustered by the winning neuron of the model corresponding to the abnormal data time t, and repeat steps 1 to 6. When executing step 5.3, adjust the autocorrelation coefficient ACF and the partial autocorrelation coefficient PACF according to the comparison result and the stationary time series sample data.

5. A power data analysis and processing system, using the method according to any one of claims 1 to 4, characterized in that: The system comprises: The data acquisition module is used to collect power offline data and clean the collected erroneous data to obtain sample data; The first model training module is used to pre-train the SOM self-organizing map neural network model using sample data; A first detection module is used to detect the power offline data using a pre-trained SOM self-organizing map neural network model to obtain a first abnormal data detection result, and obtain a target verification data value W(t) and a regression target verification data value Wf(t) corresponding to the first abnormal data detection result according to the first abnormal data detection result and a regression function; The second model training module is used to build an ARIMA model based on sample data and target verification data value W(t); A second detection module is used to detect the power offline data using an ARIMA model to obtain a second abnormal data detection result and its corresponding target verification data value W(t) and regression target verification data value Wf(t); The analysis and processing module is used to analyze and process the abnormal data according to the target verification data value W(t) and the regression target verification data value Wf(t) corresponding to the first and second abnormal data detection results.

6. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Intelligent power data anomaly detection method and system

    CN114358152A

  • User abnormal behavior recognition method and device and computer readable storage medium

    CA3132346A1

  • User abnormal behavior recognition method and device and computer readable storage medium

    CN111898758A

  • Power grid load prediction method and system, terminal and storage medium

    CN112381272A

  • Method for estimating throughput fine granularity of enterprise wireless network access point

    CN113315673A