A method, device, system and storage medium for improving the ability to identify hidden dangers in distribution station areas

By applying the isolated forest and long-term and short-term neural network algorithms in the leakage detection system, the problem of low leakage detection efficiency in the existing technology is solved, efficient assessment and early warning of leakage in the Taiwan area are achieved, and the ability to identify hidden dangers is improved.

CN115760484BActive Publication Date: 2024-09-06HUBEI CENT CHINA TECH DEV OF ELECTRIC POWER +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202211579341.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2024-09-06
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

The existing leakage detection system is inefficient and time-consuming, making it difficult to effectively identify hidden dangers in distribution stations, especially leakage problems caused by aging lines and deterioration of insulation performance.

Method used

A leakage assessment and prediction algorithm in low-voltage station areas based on the isolated forest algorithm and long-term and short-term neural network algorithm is adopted. Through data analysis and machine learning, the assessment and early warning of the leakage current state is realized, and the historical information of load changes is combined for abnormal detection and prediction.

Benefits of technology

It has significantly improved the efficiency and accuracy of leakage troubleshooting in the station area, reduced manpower and material investment, provided data support and guidance, and improved the ability to identify hidden dangers in the distribution station area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115760484B
    Figure CN115760484B
Patent Text Reader

Abstract

The present invention provides a method, device, system and storage medium for improving the ability to identify hidden dangers in a distribution station area. The method includes: step one, obtaining data of the distribution station area: the data of the distribution station area includes data without time-series dependencies during equipment operation and data with time-series relationships; step two, for data without time-series dependencies in the distribution station area, using an isolation forest algorithm to detect abnormal sample points; step three, predicting time series anomalies: for data with time-series relationships, using a long-term and short-term neural network algorithm for learning, based on monitoring data and combined with the historical information sequence of load changes, considering the periodic change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors, predict future trends. The present invention helps to judge the overall status of the equipment in the substation area by combining anomaly detection and anomaly prediction, and uses an isolation forest algorithm and a long-term and short-term neural network algorithm to solve the problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic information technology, and in particular to a method, device, system and storage medium for improving the hidden danger identification capability of a distribution station area. Background Art

[0002] The leakage phenomenon in the transformer area is characterized by strong concealment, irregularity, and difficulty in data reproduction. The traditional investigation method requires a lot of manpower and material resources, and the investigation is blind and inefficient. In view of this phenomenon, the use of leakage detection devices and monitoring systems to detect suspicious transformer areas can greatly enhance the leakage detection effect.

[0003] The leakage detection systems currently used are mostly solved through direct monitoring and one-by-one troubleshooting, which have problems such as low efficiency and long time consumption. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method, device, system and storage medium for improving the hidden danger identification capability of a distribution station area, which can establish a low-voltage substation leakage assessment and prediction algorithm based on an isolation forest algorithm and a long-short term neural network algorithm, strengthen the analysis of leakage caused by line aging and insulation performance degradation, and further contribute to the development of substation leakage manager micro-applications, realize the assessment and early warning of leakage current status, and provide data support and guidance for on-site leakage fault troubleshooting.

[0005] A method for improving the hidden danger identification capability of a distribution station area comprises the following steps:

[0006] Step 1: Obtain data from the distribution area: the data from the distribution area includes data without timing dependency when the equipment is running and data with timing dependency;

[0007] Step 2: Isolation forest anomaly detection: For data without temporal dependencies in the distribution area, the isolation forest algorithm is used to detect abnormal sample points. Based on the distribution of the collected sample data sets, the possibility of abnormal states is considered to determine whether the data is abnormal.

[0008] Step 3: Time series anomaly prediction: For data with time series relationships, long-term and short-term neural network algorithms are used for learning. Based on the monitoring data and combined with the historical information sequence of load changes, the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors are considered to predict future trends.

[0009] Furthermore, the data of the distribution station area is managed by equipment, and the equipment is managed by type; the same type of equipment in the area is managed uniformly and has consistent attribute variables, and the type, definition, and processing method of each attribute variable are determined according to its model definition; the attributes of the equipment are classified and different processing strategies are performed respectively: discrete data is monitored for anomalies to determine whether the value distribution of the same attribute under the same type of equipment is reasonable; continuous time series data is predicted for time series anomalies to determine whether the value is reasonable in the value fluctuation under the same device.

[0010] Furthermore, step 2 specifically includes:

[0011] In the training phase of the isolation forest, an isolated tree is generated for each subset by randomly selecting feature partitions until the isolated tree reaches a limited height or cannot be partitioned further. In the testing phase of the isolation forest, outliers are used to measure the probability that a sample is an outlier. The test sample is divided into conditional branches according to the intermediate nodes and goes down until it reaches a leaf node, and the path length h(x) is recorded. The calculation method of the outlier value s is:

[0012]

[0013]

[0014] Among them, c(n) represents the average path length of the isolated tree, E(h(x)) represents the expected path length of the sample, and by setting an abnormal threshold, the samples with abnormal values ​​greater than the abnormal threshold are judged as abnormal points.

[0015] Furthermore, step three specifically includes:

[0016] The model of the long-term and short-term neural network algorithm is trained using the gradient descent method. The model weight is updated according to the error between the model output and the true value. The error is measured by the loss function. Different loss functions are selected according to different modeling tasks to measure the error. The gradient of the error to the parameter is calculated to measure the impact of the parameter on the error and obtain the updated value of the parameter:

[0017]

[0018]

[0019] w ij =w ij +η·g ij

[0020] Among them, A is the activation output value of the corresponding neuron, w ijis the jth weight of the ith neuron to be updated, η is the learning rate, which determines the speed of model training. After the model training is completed, for the input sequence X, the output sequence Y is obtained:

[0021] Y t =σ(W O [A <t-1> ,X t ]+b O ).

[0022] A device for improving the hidden danger identification capability of a distribution station area, comprising:

[0023] A data acquisition module, used to acquire data of a distribution substation, wherein the data of the distribution substation includes data without timing dependency when the equipment is running and data with timing dependency;

[0024] The anomaly detection module is used to detect abnormal sample points using the isolation forest algorithm for data without time-series dependencies in the distribution area. Based on the distribution of the collected sample data sets, the possibility of abnormal states is considered to determine whether the data is abnormal.

[0025] The abnormal prediction module is used to learn data with time series relationships using long-term and short-term neural network algorithms. Based on the monitoring data and combined with the historical information sequence of load changes, it considers the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors to predict future trends.

[0026] Furthermore, the data of the distribution station area is managed by equipment, and the equipment is managed by type; the same type of equipment in the area is managed uniformly and has consistent attribute variables, and the type, definition, and processing method of each attribute variable are determined according to its model definition; the attributes of the equipment are classified and different processing strategies are performed respectively: discrete data is monitored for anomalies to determine whether the value distribution of the same attribute under the same type of equipment is reasonable; continuous time series data is predicted for time series anomalies to determine whether the value is reasonable in the value fluctuation under the same device.

[0027] Furthermore, the anomaly detection module uses the isolation forest algorithm to detect abnormal sample points for the data without time-series dependency in the distribution station area, and considers the possibility of abnormal state based on the distribution of the collected sample data set, so as to determine whether the data is abnormal, specifically including:

[0028] In the training phase of the isolation forest, an isolated tree is generated for each subset by randomly selecting feature partitions until the isolated tree reaches a limited height or cannot be partitioned further. In the testing phase of the isolation forest, outliers are used to measure the probability that a sample is an outlier. The test sample is divided into conditional branches according to the intermediate nodes and goes down until it reaches a leaf node, and the path length h(x) is recorded. The calculation method of the outlier value s is:

[0029]

[0030]

[0031] Among them, c(n) represents the average path length of the isolated tree, E(h(x)) represents the expected path length of the sample, and by setting an abnormal threshold, the samples with abnormal values ​​greater than the abnormal threshold are judged as abnormal points.

[0032] Furthermore, the time series anomaly prediction utilizes a long-term and short-term neural network algorithm for learning, based on monitoring data and combined with the historical information sequence of load changes, taking into account the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors, and predicting future trends, specifically including:

[0033] The model of the long-term and short-term neural network algorithm is trained using the gradient descent method. The model weight is updated according to the error between the model output and the true value. The error is measured by the loss function. Different loss functions are selected according to different modeling tasks to measure the error. The gradient of the error to the parameter is calculated to measure the impact of the parameter on the error and obtain the updated value of the parameter:

[0034]

[0035]

[0036] w ij =w ij +η·g ij

[0037] Among them, A is the activation output value of the corresponding neuron, w ij is the jth weight of the ith neuron to be updated, η is the learning rate, which determines the speed of model training. After the model training is completed, for the input sequence X, the output sequence Y is obtained:

[0038] Y t =σ(W O [A <t-1> ,X t ]+b O ).

[0039] A system for improving the hidden danger identification capability of a distribution station area, comprising: a computer-readable storage medium and a processor;

[0040] The computer-readable storage medium is used to store executable instructions;

[0041] The processor is used to read the executable instructions stored in the computer-readable storage medium and execute the method for improving the hidden danger identification capability of the distribution station area.

[0042] A non-transitory computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for improving the hidden danger identification capability of a distribution station area.

[0043] The present invention proposes an anomaly detection and anomaly prediction algorithm based on the characteristics of power distribution data, uses the high efficiency of the algorithm to enhance the ability of substation fault troubleshooting, solves the anomalies of substation equipment from two aspects, divides hidden dangers into problems, and helps to judge the overall status of substation equipment by combining anomaly detection and anomaly prediction. The isolation forest algorithm and long-short term neural network algorithm are used to solve the problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flow chart of the method for improving the hidden danger identification capability of the distribution station area of ​​the present invention;

[0045] Figure 2 It is the data format of the area in the embodiment of the present invention;

[0046] Figure 3 It is a schematic diagram of isolation forest anomaly detection;

[0047] Figure 4 This is the LSTM cell structure diagram;

[0048] Figure 5 It is the LSTM time series prediction graph;

[0049] Figure 6 It is a schematic diagram of the isolation forest anomaly analysis;

[0050] Figure 7 It is a schematic diagram of state estimation modeling and real-time evaluation under data-driven implementation of the present invention;

[0051] Figure 8 It is a software interface diagram of state estimation modeling and real-time evaluation under data-driven according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] See also Figure 1 ,The present invention analyzes and judges the hidden dangers of the substation area from the two perspectives of anomaly detection and anomaly prediction. The data of the distribution substation area is mainly divided into two categories, such as Figure 2 As shown in the figure, one type is the variables and parameter values ​​that do not have a timing dependency when the device is running. By analyzing and comparing these operating parameters, it is possible to determine whether the device's current state is abnormal. The other type is the variables that have a timing relationship. The device transmits this information in real time, and it is necessary to rely on the information at the previous moment to judge the device's current or future state. According to the different variables of the device, it can be determined in advance whether it is a continuous timing-dependent variable or a discrete numerical variable based on its definition and data type. For the discrete data sample points collected from many devices, there are no variables with a timing dependency relationship. The isolation forest algorithm is used to detect abnormal sample points (such as Figure 3 As shown in the figure, based on the distribution of the collected sample data set, the possibility of abnormal state is considered to determine whether the data is abnormal; for data variables that have dependencies in time series, long-term and short-term neural network algorithms are used for learning. Based on the monitoring data and combined with the historical information sequence of load changes, the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by factors such as weather and holidays are considered to predict future trends.

[0054] The embodiment of the present invention provides a method for improving the hidden danger identification capability of a distribution station area, comprising the following steps:

[0055] Step 1: Get the data of the distribution station area

[0056] The data of the substation is managed by equipment, and the equipment is managed by type. The same type of equipment in the substation is managed uniformly and has consistent attribute variables. The type, definition, and processing method of each attribute variable are determined according to its model definition. The attributes of the equipment are classified and different processing strategies are implemented respectively: the discrete data is monitored for anomalies to determine whether the value distribution of the same attribute under the same type of equipment is reasonable; the continuous time series data is predicted for time series anomalies to determine whether the value is reasonable in the value fluctuation under the same device.

[0057] Step 2: Isolation Forest Anomaly Detection

[0058] For the non-time-dependent data in the distribution station area, the isolation forest algorithm is used for anomaly detection. This anomaly detection problem can be described as the process of finding outliers in the data set for a given set of sample data points. Isolation forest is a common anomaly detection algorithm, which is widely used in the industry due to its linear time complexity and excellent accuracy.

[0059] The Isolation Forest Algorithm makes two basic assumptions: the proportion of abnormal data in the total sample size is very small; the eigenvalues ​​of abnormal points are very different from those of normal points. Based on these two assumptions, the basic principle of the Isolation Forest can be obtained: abnormal samples can be isolated through fewer random feature segmentations than ordinary samples.

[0060] Isolation forest obtains t subsets by sampling without replacement from the data set. t is a hyperparameter, which is the number of isolated trees. Each isolated tree is constructed from a subset. The set of t isolated trees generated constitutes an isolation forest. When the hyperparameter t reaches a certain value, the performance of the isolation forest will reach a peak. After that, the increase of t will only increase the consumed resources without improving the performance. Experimental verification shows that when t is 100, sufficient information can be extracted for most data.

[0061] For each isolated tree, there are two types of nodes: the middle node contains two child nodes, and the corresponding selected features and feature separation values; the external node is the leaf node, which contains the segmented sample set. For each input sample set X, take the feature variable Q of X, randomly select the variable q and the segmentation threshold p of q in Q, p∈[q min ,q max ], split into two subtrees:

[0062] X l ←filter(X,q<p)

[0063] X r ←filter(X,q≥p)

[0064] For an isolated tree with a height of e and a height limit of l, get the constructed intermediate node inNode:

[0065] inNode={iTree(X l ,e+1,l)iTree(X r ,e+1,l)qp}

[0066] If e>l or |X|≤1, the constructed external node exNode is obtained:

[0067] exNode={Size←X}

[0068] In the training phase of the Isolation Forest, an isolated tree is generated for each subset by randomly selecting features for partitioning until the isolated tree reaches a certain height or cannot be partitioned further. In the testing phase of the Isolation Forest, an outlier is used to measure the probability that a sample is an outlier. The test sample is divided into conditional branches according to the intermediate nodes and goes down until it reaches a leaf node, and the path length h(x) is recorded. The calculation method of the outlier s is:

[0069]

[0070]

[0071] Among them, c(n) represents the average path length of the isolated tree, and E(h(x)) represents the expected path length of the sample. An abnormal threshold can be proposed to judge samples with abnormal values ​​greater than this value as abnormal points.

[0072] Isolation Forest is a fast anomaly detection method based on ensemble learning. It has linear time complexity and high accuracy, and is suitable for anomaly detection of continuous data. Isolation Forest is naturally suitable for distributed computing and massive data scenarios. Its low computational overhead makes it well suited to edge computing scenarios.

[0073] Step 3: Time Series Anomaly Prediction

[0074] For a large number of variable data with time series dependence in the distribution area, an abnormal prediction algorithm based on time series is used. Time series prediction refers to the prediction of possible future values ​​of the sequence based on the historical data of the sequence and other related sequences that may affect the results. Time series can be divided into stationary series, that is, series with a certain period, seasonality and trend whose variance and mean do not change over time, and non-stationary series.

[0075] Based on the electricity consumption behaviors of various users collected in the substation, the load information monitored by various intelligent devices is used, and the short-term and long-term change trends of the load are used to analyze and predict the user's electricity consumption, so as to intelligently adjust the allocation of power resources and realize efficient operation of the system.

[0076] A neural network is a model that fits any function. By training on a large amount of data, a function model that approximates the distribution of real data is obtained. Recurrent neural networks are a type of neural network that is used to process data in the form of sequences and can learn the dependencies between sequence data. For an RNN model, at time t, it receives input x t and the hidden layer output s at the previous moment t , get the output o at the current time t For a sequence input X, the model can generate sequence output Y in sequence.

[0077] LSTM is a specific form of RNN and is widely used due to its good performance. LSTM solves the short-term memory problem of RNN by adding a gate mechanism on the basis of RNN, and can learn dependencies with longer distances. Its structure diagram and formula are as follows Figure 4 shown.

[0078] For each moment of input, it is processed by an LSTM cell. There are three gates in the cell to process memory information: forget gate Γ f , update gate Γ u and output gate Γ o Each gate is actually a neuron with a sigmoid function as its activation function. The information transmitted between sequences is determined by the cell state c <t> It means that at each time step, the state will be updated through the forget gate and the update gate, and the output value at the current moment is obtained by the output gate.

[0079] The LSTM model is trained using the gradient descent method, and the model weights are updated based on the error between the model output and the true value. The error is measured using a loss function, and different loss functions can be selected to measure the error based on different modeling tasks. The gradient of the error to the parameter is calculated to measure the effect of the parameter on the error and obtain the updated value of the parameter:

[0080]

[0081]

[0082] w ij =w ij +η·g ij

[0083] Among them, A is the activation output value of the corresponding neuron, w ij is the jth weight of the ith neuron to be updated, and η is the learning rate, which determines the speed of model training. After the model training is completed, for the input sequence X, the output sequence Y can be obtained:

[0084] Y t =σ(W O [A <t-1> ,X t ]+b O )

[0085] The advantage of LSTM is its outstanding sequence modeling ability and its ability to learn long-distance dependencies; its disadvantage is that it is difficult to parallelize and consumes a lot of resources.

[0086] The following example uses an IoT switch device to receive its power consumption data and process the data of each attribute according to its category:

[0087] Its three-phase current values ​​and three-phase voltage values ​​are transmitted in the form of waveforms, which are continuous time-series dependent variables, and time series anomaly detection analysis is performed on them; its equipment temperature, humidity, and signal strength are transmitted in the form of data points, which are non-time-series dependent variables, and isolation forest-based anomaly detection analysis is performed on them.

[0088] For the collected three-phase current and three-phase voltage waveform data, suppose that data x1, x2, ...x9, x10 are collected at ten time points within a period of time t, and x1, x2, ...x9 are organized in the form of a sequence, that is, [x0, x1, x2, ..., x9]. They are input into the LSTM neural network in sequence, and the neural network will predict the predicted values ​​of the corresponding attributes of the device at the next time point in sequence [y1, y2, ..., y9, y10]. Set the fluctuation threshold z, and if the predicted value yt-xt>z at a certain time point is judged as a time series anomaly. Figure 5 If it is found that the algorithm predicted value is significantly different from the actual transmitted value in the subsequent period, it is judged that there is a timing anomaly in this attribute of the device.

[0089] For the collected temperature, humidity and other data, it is combined with the same attributes of similar devices to form a data set, and the distribution is formed in the form of data points. Performing random forest partitioning on it will divide each data point into a set of points. The device abnormality threshold z is used to judge that the attribute point with an abnormal value greater than z is classified as an isolated point. If the attribute point of the device is classified as an isolated point, the attribute value of the device is abnormal. Figure 6 The isolation forest analysis of temperature found that the device attribute was divided into an isolated point X0, which means that the attribute of the device is abnormal.

[0090] Take the leakage manager micro application in the substation as an example:

[0091] Micro-applications generate frozen device object models and store historical data over a period of time, allowing users to retrieve various data indicators of the device over a period of time (day, week, month, year), and predict the change trend of historical data through machine learning algorithms. The research on data-driven distribution network situation awareness is mainly based on historical multi-time section data and combines machine learning, neural networks, deep learning and other technologies to build a distribution network situation estimation model, and further learn from historical data to obtain its change rules, so as to predict the future situation of the distribution network. Figure 7 shown.

[0092] The intelligent fusion terminal will read the telesignaling, telemetering, electricity and other data at every unit time and append updates to the log file. The data center provides an interface for obtaining real-time data and historical data. By defining a frozen object model for LTU, Switch and other devices on the intelligent terminal, the historical data is stored according to the json data structure file defined by the frozen object model, and the final historical data set at each moment is returned to the backend and frontend of the operation and maintenance system. All historical data will be classified according to data models such as voltage, current, temperature and humidity, and three-phase relationship, and customized for different equipment types such as LTU and switches. Use the long-term and short-term neural network model in the micro-application to fit the historical data of a certain period, calculate the degree of fit of the data trend, give the degree of fit data for each type of model, and give future judgments on the data. In the leakage manager, the isolation forest algorithm is used to locate the specific abnormal equipment, and the long-term and short-term neural network model is used to calculate the future waveform prediction, such as Figure 8 shown.

[0093] The embodiment of the present invention further provides a device for improving the hidden danger identification capability of a distribution station area, comprising:

[0094] A data acquisition module, used to acquire data of a distribution substation, wherein the data of the distribution substation includes data without timing dependency when the equipment is running and data with timing dependency;

[0095] The anomaly detection module is used to detect abnormal sample points using the isolation forest algorithm for data without time-series dependencies in the distribution area. Based on the distribution of the collected sample data sets, the possibility of abnormal states is considered to determine whether the data is abnormal.

[0096] The abnormal prediction module is used to learn data with time series relationships using long-term and short-term neural network algorithms. Based on the monitoring data and combined with the historical information sequence of load changes, it considers the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors to predict future trends.

[0097] Based on the power company's requirements for hidden danger management in distribution stations, this invention promotes the deepening application system of hidden danger identification management in distribution stations, gives full play to the role of big data, and aims to improve the ability to identify hidden dangers in distribution stations, so as to improve the ability to identify health hazards of low-voltage smart devices, leakage hazards in low-voltage stations, and safety hazards caused by abnormal power consumption. By realizing the deep integration of collected data and operation and maintenance services, data analysis and identification of key hidden dangers in distribution stations can be completed, which can well guide the efficient development of on-site operation and maintenance.

[0098] Through the present invention, intelligent devices can be used to detect real-time leakage information of distribution substations. Through online monitoring of leakage current and analysis of its changing trend, a low-voltage substation leakage assessment and prediction algorithm based on the isolation forest algorithm and the long-short term neural network algorithm can be established. The analysis of leakage caused by line aging and insulation performance degradation can be strengthened, and a substation leakage manager micro-application can be developed to realize the assessment and early warning of leakage current status, locate the leakage equipment or line position, calculate the leakage value of each equipment in the entire substation, and propose suggestions for setting the on-site leakage constant value, so as to provide data support and guidance for on-site leakage fault troubleshooting.

[0099] Another aspect of the present invention provides a system for improving the hidden danger identification capability of a distribution station area, comprising: a computer-readable storage medium and a processor;

[0100] The computer-readable storage medium is used to store executable instructions;

[0101] The processor is used to read the executable instructions stored in the computer-readable storage medium and execute the method for improving the hidden danger identification capability of the distribution station area.

[0102] Another aspect of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for improving the hidden danger identification capability of a distribution station area.

[0103] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0104] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0105] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0107] 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. Any modification or equivalent replacement that does 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 improving the ability to identify hidden dangers in a distribution station area, characterized by: The steps include: Step 1: Obtain data from the distribution area: the data from the distribution area includes data without timing dependency when the equipment is running and data with timing dependency; Step 2: Isolation forest anomaly detection: For data without temporal dependencies in the distribution area, the isolation forest algorithm is used to detect abnormal sample points. Based on the distribution of the collected sample data sets, the possibility of abnormal states is considered to determine whether the data is abnormal. Step 3: Time series anomaly prediction: For data with time series relationships, long-term and short-term neural network algorithms are used for learning. Based on the monitoring data and combined with the historical information sequence of load changes, the cyclical change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors are considered to predict future trends. The data of the distribution area is managed by equipment, and the equipment is managed by type; the same type of equipment in the area is managed uniformly, with consistent attribute variables, and the type, definition, and processing method of each attribute variable are determined according to its model definition; the attributes of the equipment are classified and different processing strategies are performed respectively: the discrete data is monitored for abnormalities to determine whether the value distribution of the same attribute under the same type of equipment is reasonable; Continuous time series data is used to predict time series anomalies and determine whether the value is reasonable in the value fluctuation under the same device; Step 2 specifically includes: In the training phase of the isolation forest, an isolated tree is generated for each subset by randomly selecting feature partitions until the isolated tree reaches a limited height or cannot be partitioned further. In the testing phase of the isolation forest, outliers are used to measure the probability that a sample is an outlier. The test sample is divided into conditional branches according to the intermediate nodes and goes down until it reaches a leaf node, and the path length h(x) is recorded. The calculation method of the outlier value s is: Among them, c(n) represents the average path length of the isolated tree, E(h(x)) represents the expected path length of the sample, and by formulating an abnormal threshold, the samples with abnormal values ​​greater than the abnormal threshold are judged as abnormal points; Step three specifically includes: The model of the long-term and short-term neural network algorithm is trained using the gradient descent method. The model weight is updated according to the error between the model output and the true value. The error is measured by the loss function. Different loss functions are selected according to different modeling tasks to measure the error. The gradient of the error to the parameter is calculated to measure the impact of the parameter on the error and obtain the updated value of the parameter: w ij =w ij +η·g ij Among them, A is the activation output value of the corresponding neuron, is the jth weight of the ith neuron to be updated, η is the learning rate, which determines the speed of model training. After the model training is completed, for the input sequence X, the output sequence Y is obtained: Y t =σ(W O [A <t-1> ,X t ]+b O )。 2. A device for improving the ability to identify hidden dangers in a distribution station area, characterized in that: include: A data acquisition module, used to acquire data of a distribution substation, wherein the data of the distribution substation includes data without timing dependency when the equipment is running and data with timing dependency; The anomaly detection module is used to detect abnormal sample points using the isolation forest algorithm for data without time-series dependencies in the distribution area. Based on the distribution of the collected sample data sets, the possibility of abnormal states is considered to determine whether the data is abnormal. The abnormal prediction module is used to learn data with time series relationship using long-term and short-term neural network algorithms. Based on the monitoring data and combined with the historical information sequence of load changes, it considers the periodic change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors to predict future trends. The data of the distribution station area is managed by equipment, and the equipment is managed by type; the same type of equipment in the area is managed uniformly and has consistent attribute variables. The type, definition, and processing method of each attribute variable are determined according to its model definition; the attributes of the equipment are classified and different processing strategies are implemented respectively: discrete data is monitored for anomalies to determine whether the value distribution of the same attribute under the same type of equipment is reasonable; continuous time series data is predicted for time series anomalies to determine whether the value is reasonable in the value fluctuation under the same device; The anomaly detection module uses the isolation forest algorithm to detect abnormal sample points for the data without time-series dependencies in the distribution station area, and considers the possibility of abnormal state based on the distribution of the collected sample data set, so as to determine whether the data is abnormal, specifically including: In the training phase of the isolation forest, an isolated tree is generated for each subset by randomly selecting feature partitions until the isolated tree reaches a limited height or cannot be partitioned further. In the testing phase of the isolation forest, outliers are used to measure the probability that a sample is an outlier. The test sample is divided into conditional branches according to the intermediate nodes and goes down until it reaches a leaf node, and the path length h(x) is recorded. The calculation method of the outlier value s is: Among them, c(n) represents the average path length of the isolated tree, E(h(x)) represents the expected path length of the sample, and by formulating an abnormal threshold, the samples with abnormal values ​​greater than the abnormal threshold are judged as abnormal points; The abnormal prediction module uses the long-term and short-term neural network algorithm to learn the data with time series relationship, based on the monitoring data and combined with the historical information sequence of load changes, considering the periodic change trend of load between days / weeks / quarters and the sudden change trend caused by influencing factors, and predicts the future trend, including: The model of the long-term and short-term neural network algorithm is trained using the gradient descent method. The model weight is updated according to the error between the model output and the true value. The error is measured by the loss function. Different loss functions are selected according to different modeling tasks to measure the error. The gradient of the error to the parameter is calculated to measure the impact of the parameter on the error and obtain the updated value of the parameter: w ij =w ij +η·g ij Among them, A is the activation output value of the corresponding neuron, is the jth weight of the ith neuron to be updated, η is the learning rate, which determines the speed of model training. After the model training is completed, for the input sequence X, the output sequence Y is obtained: Y t =σ(W O [A <t-1> ,X t ]+b O )。 3. A system for improving the hidden danger identification capability of a distribution station area, comprising: A computer readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the method for improving the hidden danger identification capability of the distribution station area according to claim 1.

4. A non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for improving the hidden danger identification capability of a distribution station area as claimed in claim 1.

Citation Information

Patent Citations

  • Multi-level anomaly detection method based on exponential smoothing and integrated learning model

    CN104794192A

  • Power operation and maintenance data cleaning method based on isolation forest algorithm and neural network

    CN108776683A

  • Time series robust efficient modeling method based on isolated forest and extreme learning machine

    CN111159259A

  • Joint data anomaly detection method based on improved isolated forest algorithm and Gaussian distribution

    CN111666169A

  • System load prediction method integrating isolated forest and long-term and short-term memory network

    CN111738520A