Power system monitoring system based on Internet of Things
By deploying IoT sensor groups and edge devices at power nodes for local data processing and priority classification, the problem of data processing delay in traditional power system monitoring systems is solved, efficient and real-time safety monitoring is achieved, and the stability of the power system is improved. sex and safety.
Patent Information
- Application Number
- CN202410412144.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-04-08
AI Technical Summary
Due to delays in data transmission and processing caused by centralized data processing, traditional power system monitoring systems are difficult to meet the needs of real-time safety monitoring. Existing technologies have not been able to effectively solve this problem.
Deploy IoT sensor groups and edge devices at power nodes to perform local data processing and priority classification. Use serial table compression algorithms to compress normal data to ensure that abnormal data is quickly transmitted to the platform server and based on the preset power grid operation abnormality model. Automatically classify and process data.
It achieves more efficient and real-time safety monitoring, reduces the processing pressure of the central server, improves the stability and security of the power system, ensures the continuity and reliability of power supply, reduces manual intervention, and improves the efficiency of the monitoring system. Level of intelligence and automation.
Smart Images

Figure CN118316190B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power grid security assurance, and in particular to an Internet of Things-based power system monitoring system. Background Art
[0002] As modern society becomes more and more dependent on electricity, the stability and reliability of the power system has become the key to social operation. Traditional power monitoring systems usually rely on central processing units to analyze data, and centralized data processing methods lead to time delays in data transmission and processing, especially in large-scale networks. This delay may cause important information to lag when dealing with emergencies, which is not conducive to real-time monitoring and management of power systems.
[0003] In recent years, the development of Internet of Things technology has provided new solutions for power system monitoring. By deploying sensors at key nodes of the power grid, the status of power grid system equipment can be monitored in real time. However, due to the huge amount of data of sensor parameters in the power supply system, the system center server faces the pressure of processing massive data, especially during peak demand periods, which may lead to delays in data processing and response, and insufficient analysis capabilities, making it difficult to meet the power grid system's needs for real-time safety monitoring.
[0004] The industry has not yet proposed a better solution to the above problems. Summary of the invention
[0005] The present application provides an Internet of Things-based power system monitoring system, which is used to at least solve the problems of insufficient analysis capability and delayed response in the centralized data analysis and processing method of the power grid system in the prior art.
[0006] The present application provides an Internet of Things-based power system monitoring system, wherein the power system includes multiple power nodes, each of which supplies power to power-consuming equipment in a corresponding geographical area. The monitoring system includes a platform server, multiple Internet of Things sensor groups and multiple edge devices, and each of the power nodes is respectively configured with a corresponding Internet of Things sensor group and edge device; a first Internet of Things sensor group is set for a first power node, which is used to sample node power grid operation data corresponding to the first power node; the first node power grid operation data includes the following multiple node power grid operation parameters: power supply circuit fault information, power grid voltage, power grid current, power grid frequency, transformer oil temperature and power grid harmonic level; a first edge device is set for the first power node, which is connected to the first Internet of Things sensor group and is used to perform the following operations: counting a node power grid operation data set corresponding to a preset sampling time length; the node power grid operation data set includes multiple node power grid operation data, and each of the node power grid operation data has a corresponding sampling time; based on a preset power grid operation abnormality model, the node power grid operation Each node power grid operation data in the row data set is classified into normal node power grid operation data or abnormal node power grid operation data; a first priority is assigned to the abnormal node power grid operation data in the node power grid operation data set, and a second priority is assigned to the normal node power grid operation data in the node power grid operation data set, and the first priority is higher than the second priority; a string table compression algorithm is called according to the second priority to determine the compressed data corresponding to the normal node power grid operation data; the compressed data and the abnormal node power grid operation data are transmitted to the platform server; wherein the abnormal node power grid operation data with the first priority is assigned a first network bandwidth, and the compressed data is assigned a second network bandwidth, and the first network bandwidth is greater than the second network bandwidth; the platform server is used to receive node power grid operation data from each of the edge devices, and to perform the following operations: when it is detected that the abnormal node power grid operation data is received from the first edge device, an alarm operation is performed according to the abnormal node power grid operation data and the geographical area information of the first power node.
[0007] The power system monitoring system based on the Internet of Things provided by this application can produce at least the following technical effects:
[0008] (1) By deploying IoT sensor groups and edge devices at each power node, local data processing is achieved, which can detect abnormal situations in a timely and rapid manner. Compared with the traditional centralized processing mode, more efficient and real-time safety monitoring can be achieved.
[0009] (2) The edge device not only processes the data, but also prioritizes the grid operation data monitored by the IoT sensor group and compresses the normal data using a string table compression algorithm. Then, the compressed data of the normal data is transmitted using a lower network bandwidth, while a larger bandwidth is reserved for important abnormal data, ensuring that the key abnormal data can be quickly transmitted to the power system control center, so that the power system center can quickly obtain the emergency information of the power node and achieve rapid emergency warning.
[0010] (3) Integrated IoT sensors and edge devices can monitor and process grid operation parameters (such as power supply circuit fault information, grid voltage, etc.) in real time, assist the system center to quickly identify and respond to grid anomalies, and reduce the processing pressure on the central server, significantly improving the stability and safety of the power system, and can effectively prevent power system accidents and ensure the continuity and reliability of power supply.
[0011] (4) The edge device automatically classifies and processes data based on the preset grid operation abnormality model, reducing the need for human intervention and improving the intelligence and automation level of the monitoring system. It not only improves efficiency but also reduces deviations caused by human subjective analysis factors, thus realizing intelligent and automated safety monitoring of grid nodes.
[0012] Through the embodiments of the present application, the advantages of Internet of Things technology and edge computing are effectively combined, efficient and real-time monitoring of the power system is achieved, the safety, stability and intelligence level of the power grid are greatly improved, and it has important practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 A schematic diagram of the structural connection of an example of an Internet of Things-based power system monitoring system according to an embodiment of the present application is shown;
[0015] Figure 2 A flowchart of an example of an Internet of Things-based power system monitoring method performed by a first edge device according to an embodiment of the present application is shown;
[0016] Figure 3 Shown according to Figure 2 An exemplary operation flow chart of step S250 in FIG.
[0017] Figure 4 A schematic structural diagram of an example of a power grid operation abnormality model according to an embodiment of the present application is shown;
[0018] Figure 5 An operation flow chart showing an example of an alarm operation performed by a platform server according to an embodiment of the present application is shown;
[0019] Figure 6 A schematic diagram showing a structure of an example of an abnormal risk warning model according to an embodiment of the present application is shown;
[0020] Figure 7 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] Figure 1 A schematic diagram of the structural connection of an example of an electric power system monitoring system of the Internet of Things according to an embodiment of the present application is shown.
[0023] like Figure 1 As shown, the power system monitoring system 100 based on the Internet of Things includes a platform server 110, a plurality of Internet of Things sensor groups (121, 123...12n) and a plurality of edge devices (131, 133...13n).
[0024] It should be noted that the monitoring system 100 is set for the power system, and the power system may include multiple (for example, n) power nodes (not shown), each of which supplies power to the power equipment in the corresponding geographical area. For example, each power node may represent a small or medium-sized power supply station. Furthermore, each power node is respectively configured with a corresponding IoT sensor group and an edge device, and the IoT sensor group collects various operating parameters of the power node, and then performs preliminary analysis and processing through the edge device, and the edge device further uploads the data and analysis results to the platform server 110.
[0025] In terms of the deployment of the IoT sensor group, due to the fact that different IoT sensors are manufactured by different manufacturers and have inconsistent semantics and data expression formats, there is obvious complexity in data communication and data interaction. The functional volume of the project construction has been significantly increased, and at the same time, a certain degree of waste has occurred.
[0026] In order to effectively solve the above problems, a convergence controller is also set up in each edge device to standardize and unify various types of sensors in terms of semantics and data expression format by building a sensor information model. Based on the construction of the sensor information model, it can facilitate the plug-and-play and interconnection of various types of sensors, and greatly improve the interaction efficiency between various application sensor systems in the power Internet of Things.
[0027] The first IoT sensor group is set for the first power node, and is used to sample the node grid operation data corresponding to the first power node. The first node grid operation data includes the following multiple node grid operation parameters: power supply circuit fault information, grid voltage, grid current, grid frequency, transformer oil temperature and grid harmonic level.
[0028] By integrating real-time monitoring of these key parameters, the IoT sensor group can help the system to promptly identify and respond to various problems that may arise in the power grid, effectively prevent accidents, and ensure the safe and stable operation of the power grid.
[0029] A first edge device is provided for the first power node, and is connected to a first IoT sensor group. It should be understood that the term "first" is not specific, and it can represent any one of the non-specific objects, for example, the first IoT sensor group can represent any one of 121, 123...12n.
[0030] By deploying IoT sensor groups and edge devices at each power node, local data processing is achieved, which can detect abnormal situations in a timely and rapid manner. Compared with the traditional centralized processing mode, more efficient and real-time safety monitoring can be achieved.
[0031] Figure 2 A flowchart of an example of an Internet of Things-based power system monitoring method performed by a first edge device according to an embodiment of the present application is shown.
[0032] like Figure 2 As shown, in step S210, a node power grid operation data set corresponding to a preset sampling time length is counted.
[0033] Here, the node power grid operation data set includes multiple node power grid operation data, and each node power grid operation data has a corresponding sampling time. In some embodiments, the sampling time length can be every hour, and the sampling time can be determined according to the sampling period of the Internet of Things sensor group, for example, once every 10 minutes or a quarter of an hour. It should be noted that the sampling time length should not be set too long or too short. If it is too long, it will not achieve the goal of real-time monitoring. If it is too short, it will occupy too much system resources, and it will also be unfavorable for the intelligent algorithm model to learn to capture the timing changes of continuous data, reducing the performance of the intelligent anomaly recognition algorithm.
[0034] In step S220, based on a preset abnormal power grid operation model, each node power grid operation data in the node power grid operation data set is classified into normal node power grid operation data or abnormal node power grid operation data.
[0035] Here, the abnormal node grid operation data can be grid operation parameter conditions corresponding to various grid faults, such as transformer faults, grid harmonics, circuit breaker faults, etc., which can be identified by the grid operation abnormality model through sample learning. In addition, the grid operation abnormality model can adopt a variety of machine learning models to identify whether the node grid operation data is in an abnormal state, for example, a known or potential deep neural network can be used, or other more novel model architectures can be used. More details will be developed in conjunction with other implementations below.
[0036] In step S230, a first priority is assigned to abnormal node grid operation data in the node grid operation data set, and a second priority is assigned to normal node grid operation data in the node grid operation data set, the first priority being higher than the second priority.
[0037] In terms of business application scenarios, in a power grid node that is mainly powered by solar and wind energy, real-time data on wind speed and solar radiation intensity may be considered high priority because they directly affect energy output, while relatively stable equipment temperature or general maintenance data may be considered low priority.
[0038] In step S240, a string table compression algorithm is called according to the second priority to determine compressed data corresponding to the normal node power grid operation data.
[0039] In step S250, the compressed data and abnormal node power grid operation data are transmitted to the platform server.
[0040] Here, the abnormal node power grid operation data with the first priority is allocated the first network bandwidth, and the compressed data is allocated the second network bandwidth, and the first network bandwidth is greater than the second network bandwidth. Therefore, the edge device not only identifies the abnormal power grid data, but also prioritizes the power grid operation data according to the abnormal identification results, and compresses the normal data using the string table compression algorithm. Then, the compressed data of the normal data is transmitted using a lower network bandwidth, while a larger bandwidth is reserved for important abnormal data, ensuring that the key abnormal data can be quickly transmitted to the power system control center, so that the power system center can quickly obtain the emergency information of the power node and achieve rapid emergency warning.
[0041] The platform server 110 is used to receive node grid operation data from each edge device and to perform the following operations: when it is detected that abnormal node grid operation data is received from the first edge device, an alarm operation is performed based on the abnormal node grid operation data and the geographic area information of the first power node.
[0042] In some embodiments, the platform server is connected to the group power system display, and the operating status of each power node can be displayed and monitored in real time on the display. For example, the geographic area information of the first power node is matched with the grid node distribution GIS system, and then the alarm is displayed, so that the dispatching administrator of the grid platform can quickly learn about the grid abnormality and take measures to achieve real-time safety monitoring, which can effectively reduce the rapid response and processing of grid failures.
[0043] Through the embodiments of the present application, the integrated Internet of Things sensors and edge devices can monitor and process power grid operation parameters (such as power supply circuit fault information, power grid voltage, etc.) in real time and in a timely manner. The edge devices automatically classify and process data based on the preset power grid operation abnormality model, reducing the need for manual intervention, improving the intelligence and automation level of the monitoring system, assisting the system center to quickly identify and respond to power grid anomalies, and reducing the processing pressure on the central server, significantly improving the stability and safety of the power system, and can effectively prevent power system accidents and ensure the continuity and reliability of power supply.
[0044] Figure 3 Shown according to Figure 2 An example operational flow chart of step S250 in FIG.
[0045] like Figure 3 As shown, in step S310, a network status parameter set of the first edge device is obtained, and the network status parameter set includes bandwidth utilization, network delay and network packet loss rate.
[0046] In step S320, a network status score is determined according to the network status parameter set.
[0047] Specifically, the network status score is determined in the following way:
[0048]
[0049] Where S represents the network status score, N represents the total number of network parameters in the network parameter set, and S i It represents the index score corresponding to the i-th network parameter in the network parameter set.
[0050] In step S330, a first network bandwidth and a second network bandwidth corresponding to the power grid operation data and the compressed data are determined respectively according to the network status score, the first priority and the second priority.
[0051] Specifically, the network status score is determined in the following way:
[0052]
[0053] In the formula, P represents the priority of the data to be transmitted, P 总 represents the sum of the priorities of all data to be transmitted, B represents the network bandwidth allocated for the data to be transmitted, and B 总 represents the total network bandwidth of the first edge device, and k represents a preset network fluctuation response index.
[0054] Specifically, when S decreases (i.e., the network status deteriorates), e k(S-1) The value of will decrease, which means that the bandwidth of low-priority data needs to be reduced to ensure the transmission of high-priority data. Here, k is used to control the sensitivity of the function. A higher k value means a more sensitive response to small changes in network status, while a lower k value means a slower response. This allows administrators to adjust the k value according to actual network fluctuation response needs and implement personalized bandwidth allocation strategies.
[0055] In step S340, based on the first network bandwidth and the second network bandwidth, the power grid operation data and the compressed data are transmitted to the platform server respectively.
[0056] Through the embodiments of the present application, real-time network status and data priority are used to dynamically adjust bandwidth allocation to ensure efficient and stable transmission of key data under different network conditions, thereby effectively utilizing network resources while ensuring timely transmission of key data.
[0057] Figure 4 A structural schematic diagram of an example of a power grid operation abnormality model according to an embodiment of the present application is shown.
[0058] like Figure 4As shown, the power grid operation abnormality model 400 includes a cascaded first convolution layer 410, a second convolution layer 420, an SE attention module 430, a residual module 440 and a fully connected layer 450.
[0059] The structure of the first convolutional layer 410 is:
[0060] C1=ReLU(W1*X+b1) Formula (3)
[0061] Where C1 represents the output of the first convolutional layer, X represents the input data matrix corresponding to the node power grid operation dataset, * represents the convolution operation, and W1 and b1 represent the weight and bias of the first convolutional layer, respectively.
[0062] The structure of the second convolutional layer is:
[0063] C2=ReLU(W2*C1+b2) Formula (4)
[0064] Where C2 represents the output of the second convolutional layer, W2 and b2 represent the weight and bias of the second convolutional layer respectively.
[0065] The structure of the SE attention module is:
[0066]
[0067] g=σ(W s1 ReLU(W s2 z)+b s ) Formula (6)
[0068] C′2=g·C2 Formula (7)
[0069] Where W s1 ,W s2 represents the learning weight in the SE attention module, b s represents the bias term in the SE attention module, H represents the height of the output feature map of the second convolutional layer, W represents the width of the output feature map of the second convolutional layer, and C′2 represents the feature map after attention weighting.
[0070] The structure of the residual module is:
[0071] R=C′2+F(C′2,W R ) Formula (8)
[0072] Where R represents the output of the residual module, F(C′2,W R ) represents the residual weight W RThe residual function applied to C′2 can be selected in a variety of ways, such as residual square loss function, residual absolute value loss function, etc., and it can also adopt a more novel loss function. More details will be expanded in conjunction with other examples below.
[0073] The structure of the fully connected layer is:
[0074] Y = Softmax(W f R+b f ) Formula (9)
[0075] Where Y represents the abnormal classification probability of each node power grid operation data in the node power grid operation data set, W f and b f They represent the weight and bias of the fully connected layer respectively.
[0076] Therefore, the features of the power grid operation data are deeply extracted through cascaded convolutional layers, and the attention mechanism is used to extract key features, such as sudden voltage fluctuations or unusual load changes. The residual connection is used to help the model learn deep features to prevent gradient disappearance, and finally the extracted features are integrated to complete the classification decision.
[0077] It should be noted that the residual function F(C′2,W R ) is crucial to model performance. In some examples of the embodiments of the present application, in order to solve the gradient vanishing problem and improve the model learning ability, the residual module adopts a multi-scale residual module, extracts features of different scales through parallel convolution paths, and then merges these features to capture different spatial patterns in the power data.
[0078] Specifically, F(C′2,W R ) is expressed by the following formula:
[0079] F(C′2,W R )=F merged +C′2 Formula (10)
[0080] F merged =F1(C′2,W R1 )+F2(C′2,W R2 )+F3(C′2,W R3 ) Formula (11)
[0081] F1(C′2,W R1 )=Conv1x1(C′2,W R1 ) Formula (12)
[0082] F2(C′2,W R2 )=Conv3x3(C′2,W R2) Formula (13)
[0083] F3(C′2,W R3 )=Conv5x5(C′2,W R3 ) Formula (14)
[0084] In the formula, F1(C′2,W R1 )、F2(C′2,W R2 ) and F3(C′2,W R3 ) represent the convolution features captured by the convolution kernel of the corresponding scale from C′2, W R1 , W R2 and W R3 Respectively represent the weight matrices of the convolution kernels of the corresponding scales, F merged Represents the features of multi-scale merging.
[0085] In some embodiments, convolution kernels of different sizes (e.g., 1x1, 3x3, 5x5) are used and processed in parallel on the same input C′2. Convolution kernels of each scale capture features at different levels, and then these features are merged to capture different spatial patterns in the power data. As a result, the model can understand the data of the power system at different scales, thereby more comprehensively capturing important features in the data. In addition, by combining multi-scale information, the model's generalization ability for different features in the power grid data is improved, making the model more robust when facing various power grid states.
[0086] In some examples of the embodiments of the present application, various commonly used loss functions, such as the cross entropy loss function, may be used for the loss function of the power grid operation abnormality model in the embodiments of the present application.
[0087] More preferably, the inventors of the present application found in the process of practicing the present application that the loss function of the power grid operation anomaly model preferentially adopts a novel label smoothing and anomaly focus loss (Label Smoothing with Anomaly Focus Loss) function. Through label smoothing, the model's dependence on hard labels (absolute 0 or 1) in the training data can be effectively reduced to introduce a certain degree of uncertainty to improve the generalization ability of the model. In combination with actual business scenarios, on the one hand, in power system monitoring, data may contain noise or inaccurate labels. Label smoothing can reduce the model's dependence on hard labels (completely correct or completely wrong) by introducing a certain degree of uncertainty into the true label, thereby improving the model's robustness in the face of actual, potentially noisy data. On the other hand, abnormal state recognition in the power system is crucial to ensuring the safe operation of the system. By giving higher weights to abnormal categories in the loss function, the model is encouraged to focus more on accurately identifying abnormal situations, thereby improving sensitivity and responsiveness to potential risks.
[0088] Specifically, the loss function of the power grid operation abnormality model is:
[0089]
[0090]
[0091] Where, L class represents the loss function, α represents the smoothing parameter, N represents the total number of power grid abnormal risk types, and w i represents the risk weight of the i-th type of power grid abnormal risk, represents the sample prediction probability for the i-th type of power grid abnormal risk type, y represents the sample label, y smooth represents the sample label after smoothing, y smooth,i represents the sample label for the i-th type of power grid abnormality risk after smoothing. The power grid abnormality risk type can be voltage sag risk, frequency abnormality risk, transformer failure, etc.
[0092] When smooth,i When there is a power grid abnormality risk for the i-th type of power grid abnormality risk type, w i is the first preset weight value. smooth,i When there is no abnormal grid risk for the i-th type of abnormal grid risk, w i is the second preset weight value, and the first preset weight value is greater than the second preset weight value.
[0093] In some embodiments, the first preset weight value and the second preset weight value may be different values preset by an administrator, so as to attach more importance to the data features of samples with power grid abnormality risk types in the machine learning process. i It is also possible to adaptively allocate according to the inverse proportion of the number of class samples in the input sample data set.
[0094] Through the embodiments of the present application, a higher degree of attention to abnormal categories is added to the loss function, and the model's ability to identify abnormal risks of abnormal power grids in samples is improved. In particular, in the power system's power grid operation data sample set, the normal operation data of the power system is far more than the abnormal data, resulting in category imbalance. By introducing abnormal focus loss in the loss function, it is possible to increase the attention paid to abnormal categories, helping the model to more effectively learn and distinguish the operation data when there are abnormal risks in the power grid operation in the data set with unbalanced positive and negative samples. Therefore, through the rapid and accurate identification of abnormal situations, potential problems in the power system can be discovered in a timely manner, thereby shortening the response time and preventing or mitigating the occurrence of accidents.
[0095] Figure 5 An operation flow chart of an example of an alarm operation performed by a platform server according to an embodiment of the present application is shown.
[0096] like Figure 5 As shown, in step S510, target administrator terminal information matching the geographic area information of the first power node is determined according to a preset administrator contact list, and the administrator contact list includes multiple geographic area information and corresponding administrator terminal information.
[0097] It should be noted that different power nodes are maintained by corresponding administrators, and the terminal information of these administrators is collected to form a corresponding administrator contact list. Here, the terminal information can be a phone number, WeChat public account push message, APP message notification, etc.
[0098] In step S520, an alarm notification message is sent to a terminal device corresponding to the target administrator terminal information according to the abnormal node power grid operation data.
[0099] Through the embodiments of the present application, when abnormal risks of power nodes are discovered, they are pushed to the corresponding administrators in a targeted manner, ensuring that the abnormal power nodes can be paid attention to and maintained as quickly as possible, and ensuring that the power grid can return to normal as quickly as possible.
[0100] In some examples of the embodiments of the present application, the alarm notification message includes risk management suggestions, wherein the process of determining the risk management suggestions includes: based on a preset power system maintenance relationship table, determining a target historical fault maintenance case that matches the abnormal node power grid operation data, specifically, the power system maintenance relationship table includes a plurality of pre-calibrated abnormal node power grid operation data and corresponding historical fault maintenance cases. Then, based on the target historical fault maintenance case, the risk management suggestion is determined. Thus, when an abnormal operation risk of a power node is discovered, a fault maintenance case associated with the abnormal operation risk is pushed, which is helpful to help administrators refer to cases and quickly implement effective risk management measures.
[0101] In some examples of the embodiments of the present application, the platform server can also analyze the grid operation data of each normal node, especially time series analysis, to complete the prediction of grid abnormality risks in future time periods.
[0102] In some embodiments, for each power node, based on the normal node power grid operation data received from the edge device corresponding to the power node, the node historical data set corresponding to the power node is updated, and the corresponding node historical power grid time series data is determined according to the updated node historical power grid data set. Then, the node historical power grid time series data is input into the preset abnormal risk warning model to correspondingly determine whether the power node has a power grid abnormality risk and corresponding risk factors in the future preset time period. In this way, the advance prediction of power grid abnormalities is achieved, and maintenance can be performed before the abnormal power grid event occurs, which is conducive to ensuring the normal operation of the power grid nodes.
[0103] Figure 6 A structural schematic diagram of an example of an abnormal risk warning model according to an embodiment of the present application is shown.
[0104] like Figure 6 As shown, the abnormal risk warning model 600 adopts an enhanced LSTM model, which includes a cascaded LSTM network layer 610, a temporal attention mechanism layer 620 and a multi-task learning layer 630.
[0105] For example, in order to predict whether the power node will have abnormal operation in the next 24 hours and analyze the possible causes. First, you can select parameters such as current and voltage, convert them into time series data, and normalize them. Then, use historical data to train the enhanced LSTM model, use the LSTM network layer to capture the characteristics of the time series, the attention mechanism layer to focus on key moments, and multi-task learning to perform abnormal prediction and cause analysis at the same time. Subsequently, the enhanced LSTM model can predict the abnormal risks in the next 24 hours and analyze the possible causes. The generated prediction results and cause analysis can be used as a reference for the power system operation and maintenance team to take preventive measures.
[0106] The structure of the LSTM network layer 610 is:
[0107] h t =LSTM(x t ,h t-1 ) Formula (17)
[0108] Where X={x1,x2,...,x T} is the input feature matrix corresponding to the node historical power grid time series data, T represents the total number of time steps corresponding to the node historical power grid time series data, x t represents the input feature vector at time step t, h t represents the LSTM unit output at time step t, h t-1 represents the LSTM unit output at time step t-1.
[0109] Thus, the LSTM layer is responsible for capturing the long-term dependencies in the time series. In some embodiments, multiple LSTM layers can be added to build a deeper network to extract more complex time features.
[0110] The structure of the temporal attention mechanism layer 620 is:
[0111] α t =softmax(w T tanh(Vh t )) Formula (18)
[0112]
[0113] In the formula, α t represents the attention weight at time step t, m t represents the weighted hidden state, w and V represent the learning parameters of the attention layer, respectively.
[0114] Therefore, by adding an attention mechanism after LSTM, the model can be given different levels of importance to different parts of the time series, especially those critical moments that may indicate anomalies.
[0115] The structure of the multi-task learning layer 630 is:
[0116] y pred =sigmoid(W pred m t +b pred ) Formula (20)
[0117] y cause =softmax(W cause m t +b cause ) Formula (21)
[0118] In the formula, y pred represents the predicted probability of power grid abnormality risk, W pred 、b pred represents the model layer parameters corresponding to the abnormal risk identification task, y cause represents the classification prediction probability of risk factors determined from N calibrated risk factors using the softmax function, W cause 、b cause Represents the model layer parameters corresponding to the risk factor classification task.
[0119] Therefore, the enhanced LSTM model that combines attention mechanism and multi-task learning can more effectively analyze and predict abnormal conditions in the power system. It can not only detect potential risks in advance, but also help understand the reasons behind the risks, thereby providing more comprehensive and in-depth support for the operation and maintenance and risk management of the power system.
[0120] Through the embodiments of the present application, the enhanced LSTM model is adopted to effectively capture the time dependency and complexity in the power system data. By learning the patterns of historical data, the model can accurately predict abnormal conditions that may occur in the future. Combined with multi-task learning, the model not only predicts the occurrence of abnormal events, but also analyzes the possible causes, which can provide power system operation and maintenance personnel with deeper insights and help operation and maintenance understand and respond to potential problems. In addition, automated and intelligent risk management reduces reliance on manual analysis and improves the efficiency and response speed of operation and maintenance.
[0121] Figure 7 is a schematic diagram of the hardware structure of an electronic device for executing a power system monitoring method based on the Internet of Things provided by another embodiment of the present application, such as Figure 7 As shown, the device includes:
[0122] One or more processors 710 and memory 720, Figure 7 A processor 710 is taken as an example.
[0123] The device for executing the power system monitoring method based on the Internet of Things may further include: an input device 730 and an output device 740 .
[0124] The processor 710, the memory 720, the input device 730 and the output device 740 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0125] The memory 720, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the power system monitoring method based on the Internet of Things in the embodiment of the present application. The processor 710 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 720, that is, the power system monitoring method based on the Internet of Things in the above method embodiment is realized.
[0126] The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 720 may optionally include a memory remotely arranged relative to the processor 710, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0127] The input device 730 may receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 740 may include a display device such as a display screen.
[0128] The one or more modules are stored in the memory 720, and when executed by the one or more processors 710, the power system monitoring method based on the Internet of Things in any of the above method embodiments is executed.
[0129] The above-mentioned product can execute the power system monitoring method based on the Internet of Things provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of the present application.
[0130] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:
[0131] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.
[0132] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.
[0133] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.
[0134] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.
[0135] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0136] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A power system monitoring system based on the Internet of Things, wherein the power system comprises a plurality of power nodes, each power node supplies power to power-consuming equipment in a corresponding geographical area, characterized in that: The monitoring system comprises a platform server, a plurality of IoT sensor groups and a plurality of edge devices, and each of the power nodes is respectively configured with a corresponding IoT sensor group and an edge device; A first IoT sensor group is provided for a first power node, and is used to sample node grid operation data corresponding to the first power node; the node grid operation data includes the following multiple node grid operation parameters: power supply circuit fault information, grid voltage, grid current, grid frequency, transformer oil temperature, and grid harmonic level; A first edge device provided for the first power node, connected to the first IoT sensor group, and configured to perform the following operations: Counting a node power grid operation data set corresponding to a preset sampling time length; the node power grid operation data set includes a plurality of node power grid operation data, each of the node power grid operation data has a corresponding sampling time; Based on a preset power grid operation abnormality model, classifying each node power grid operation data in the node power grid operation data set into normal node power grid operation data or abnormal node power grid operation data; assigning a first priority to abnormal node power grid operation data in the node power grid operation data set, and assigning a second priority to normal node power grid operation data in the node power grid operation data set, wherein the first priority is higher than the second priority; Calling a string table compression algorithm according to the second priority level to determine compressed data corresponding to the normal node power grid operation data; Transmitting the compressed data and the abnormal node power grid operation data to the platform server; wherein the abnormal node power grid operation data having the first priority is allocated a first network bandwidth, and the compressed data is allocated a second network bandwidth, and the first network bandwidth is greater than the second network bandwidth; The platform server is used to receive node power grid operation data from each edge device and to perform the following operations: When it is detected that abnormal node power grid operation data is received from the first edge device, an alarm operation is performed according to the abnormal node power grid operation data and the geographical area information of the first power node; The step of transmitting the compressed data and the abnormal node power grid operation data to the platform server includes: Acquire a network status parameter set of the first edge device, where the network status parameter set includes bandwidth usage, network delay, and network packet loss rate; Determine a network status score according to the network status parameter set: Where S represents the network status score, N represents the total number of network parameters in the network status parameter set, and S i represents the index score corresponding to the i-th network parameter in the network status parameter set; Determine the first network bandwidth and the second network bandwidth corresponding to the power grid operation data and the compressed data, respectively, according to the network status score, the first priority, and the second priority: In the formula, P represents the priority of the data to be transmitted, P 总 represents the sum of the priorities of all data to be transmitted, B represents the network bandwidth allocated for the data to be transmitted, and B 总 represents the total network bandwidth of the first edge device, and k represents a preset network fluctuation response index; Based on the first network bandwidth and the second network bandwidth, respectively transmitting the power grid operation data and the compressed data to the platform server; The power grid operation abnormality model includes a cascaded first convolutional layer, a second convolutional layer, an SE attention module, a residual module and a fully connected layer. The structure of the first convolutional layer is: C1=ReLU(W1*X+b1) Wherein, C1 represents the output of the first convolutional layer, X represents the input data matrix corresponding to the node power grid operation data set, * represents the convolution operation, W1 and b1 represent the weight and bias term of the first convolutional layer respectively; The structure of the second convolutional layer is: C2=ReLU(W2*C1+b2) Where C2 represents the output of the second convolutional layer, W2 and b2 represent the weight and bias term of the second convolutional layer respectively; The structure of the SE attention module is: g=σ(W s1 ReLU(W s2 w)+b s ) C′2=g·C2 Where W s1 ,W s2 represents the learning weight in the SE attention module, b s represents the bias term in the SE attention module, H represents the height of the output feature map of the second convolutional layer, W represents the width of the output feature map of the second convolutional layer, and C′2 represents the feature map after attention weighting; The structure of the residual module is: R=C′2+F(C′2,W R ) Where R represents the output of the residual module, F(C′2, W R ) represents the residual weight W R And the residual function applied to C′2; The structure of the fully connected layer is: Y =Softmax(W f R+b f ) Where Y represents the abnormal classification probability of each node power grid operation data in the node power grid operation data set, W f and b f Represent the weight and bias term of the fully connected layer respectively; The residual module adopts a multi-scale residual module, F(C′2, W R ) is expressed by the following formula: F(C′2,W R )=F merged +C′2 F merged =F1(C′2,W R1 )+F2(C′2,W R2 )+F3(C′2,W R3 ) F1(C′2,W R1 )=Conv1x1(C′2,W R1 ) F2(C′2,W R2 )=Conv3x3(C′2,W R2 ) F3(C′2,W R3 )=Conv5x5(C′2,W R3 ) In the formula, F1(C′2,W R1 )、F2(C′2,W R2 ) and F3(C′2,W R3 ) represent the convolution features captured by the convolution kernel of the corresponding scale from C′2, W R1 , W R2 and W R3 Respectively represent the weight matrices of the convolution kernels of the corresponding scales, F merged Represents the features of multi-scale merging.
2. The monitoring system according to claim 1, wherein: The loss function of the abnormal power grid operation model is: Where, L class represents the loss function, α represents the smoothing parameter, M represents the total number of power grid abnormal risk types, and w i represents the risk weight of the i-th type of power grid abnormal risk, represents the sample prediction probability for the i-th type of power grid abnormal risk type, y represents the sample label, and y smooth represents the sample label after smoothing, y smooth,i represents the sample label for the i-th type of power grid abnormal risk after smoothing; When smooth,i When there is a power grid abnormality risk for the i-th type of power grid abnormality risk type, w i is the first preset weight value; when y smooth,i When there is no abnormal grid risk for the i-th abnormal grid risk type, w i is a second preset weight value; wherein the first preset weight value is greater than the second preset weight value.
3. The monitoring system according to claim 2, wherein: The performing of an alarm operation according to the abnormal node power grid operation data and the geographical area information of the first power node includes: Determine, according to a preset administrator contact list, target administrator terminal information matching the geographic area information of the first power node; the administrator contact list includes multiple geographic area information and corresponding administrator terminal information; According to the abnormal node power grid operation data, an alarm notification message is sent to the terminal device corresponding to the target administrator terminal information.
4. The monitoring system according to claim 3, wherein: The alarm notification message includes a risk management suggestion, wherein the determination process for the risk management suggestion includes: Based on a preset power system maintenance relationship table, a target historical fault maintenance case matching the abnormal node power grid operation data is determined; the power system maintenance relationship table includes a plurality of pre-calibrated abnormal node power grid operation data and corresponding historical fault maintenance cases; The risk management suggestion is determined based on the target historical failure maintenance case.
5. The monitoring system according to claim 4, wherein: The platform server is also used to perform the following operations: For each of the power nodes, Based on the normal node power grid operation data received from the edge device corresponding to the power node, the node historical data set corresponding to the power node is updated, Determining corresponding node historical power grid time series data according to the updated node historical data set; Inputting the node's historical power grid time series data into a preset abnormal risk warning model to correspondingly determine whether the power node has a power grid abnormality risk and corresponding risk factors in a future preset time period; The abnormal risk warning model adopts an enhanced LSTM model, which includes a cascaded LSTM network layer, a temporal attention mechanism layer and a multi-task learning layer. The structure of the LSTM network layer is: h t =LSTM(x t ,h t-1 ) Where X = {x1, x2, ..., x T } is the input feature matrix corresponding to the node historical power grid time series data, T represents the total number of time steps corresponding to the node historical power grid time series data, x t represents the input feature vector at time step t, h t represents the LSTM unit output at time step t, h t-1 represents the LSTM unit output at time step t-1; The structure of the temporal attention mechanism layer is: α t =softmax(w T tanh(Vh t )) In the formula, α t represents the attention weight at time step t, m t represents the weighted hidden state, w and V represent the learning parameters of the attention layer respectively; The structure of the multi-task learning layer is: y pred =sigmoid(W pred m t +b pred ) y cause =softmax(W cause m t +b cause ) In the formula, y pred represents the predicted probability of power grid abnormality risk, W pred 、b pred represents the model layer parameters corresponding to the abnormal risk identification task, y cause represents the predicted probability of risk factor classification determined from Q calibrated risk factors using the softmax function, W cause 、b cause Represents the model layer parameters corresponding to the risk factor classification task.
