A method and system for realizing power consumption calculation using edge computing gateway

The edge computing gateway collects power grid node data and dispatches drones to measure electrical variables, and performs fault analysis based on equipment image data. This solves the problem of incomplete electrical variable monitoring of power grid nodes in the existing technology and enables intelligent inspection of power grid nodes. and fault identification, improving the stability and reliability of power grid operation.

CN117951847BActive Publication Date: 2024-10-29弘奎(西安)智能科技有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410017474.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-05
Publication Date
2024-10-29
Estimated Expiration
2044-01-05

AI Technical Summary

Technical Problem

Existing edge computing gateways can only perform simple numerical calculations and monitoring of electrical variables on power grid nodes, and are unable to complete independent on-site data measurement and analysis, resulting in increased grid maintenance costs and risks, and cannot effectively identify abnormal electrical variable states of power grid nodes.

Method used

Collect instantaneous power consumption and current data of power grid nodes through edge computing gateways, use data recognition algorithms to generate on-site measurement paths, dispatch drones to measure electrical variables, and conduct fault analysis based on equipment operating status image data to achieve monitoring of power grid nodes. Intelligent inspection and efficient identification of abnormal conditions.

Benefits of technology

It improves the stability and reliability of power grid operation, realizes intelligent monitoring and fault analysis of power grid nodes, reduces maintenance costs and risks of human intervention, and enhances the intelligent functions of edge computing gateways.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117951847B_ABST
    Figure CN117951847B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of electric variable measurement, and discloses a method and system for realizing power consumption calculation by using edge computing gateway, wherein the system comprises a power grid node electric variable measurement module, a power grid node abnormal electric variable analysis module, a power grid node abnormal electric variable on-site measurement path plan module, and a power grid node abnormal electric variable on-site measurement and analysis module; the instantaneous power consumption and instantaneous current parameters of the power grid node control end are collected to provide data support for subsequent edge computing gateway power consumption and current anomaly analysis of power grid node control; the instantaneous power consumption parameters and the abnormal instantaneous power consumption threshold of the power grid node, the instantaneous current parameters and the abnormal instantaneous current threshold of the power grid node are used to make numerical judgments, so as to scientifically and efficiently identify whether the power consumption and current measured by the power grid node are abnormal, thereby improving the accuracy and reliability of the edge computing gateway in monitoring the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical variable measurement, and specifically to a method and system for realizing power consumption calculation by using an edge computing gateway. Background Art

[0002] Edge computing refers to an open platform that integrates the core capabilities of network, computing, storage, and application at the edge of the network close to the source of objects or data, and provides edge intelligent services nearby to meet the key needs of industry digitalization in terms of agile connection, real-time business, data optimization, application intelligence, security and privacy protection. Edge computing is another new computing model after distributed computing, grid computing, and cloud computing. It is a new computing model that integrates cloud computing, modern communication networks, and massive intelligent terminals. It integrates cloud, network, terminal, and intelligence. Edge computing is essentially a distributed system, and the applications and application services in edge computing can also be split into several sub-applications and sub-application services, and migrated to different computing resources or other edge computing devices. The portability and divisibility of application services and applications are prerequisites for the successful execution of data edge processing by edge computing. Gateways are also called network connectors and protocol converters. Gateways realize network interconnection above the network layer. They are complex network interconnection devices and are only used for interconnection between two networks with different high-level protocols. Gateways can be used for wide area network interconnection. Gateways are computer systems or devices that perform conversion tasks. Used between two systems with different communication protocols, data formats or languages, or even completely different architectures; the edge computing gateway in the smart grid solution can provide efficiency by collecting devices such as electric meters to monitor the stability and load balancing of the power grid in real time. The function is placed on the edge node of the network close to the data source, which can reduce data transmission delay and bandwidth consumption. In the smart grid, the edge computing gateway, as a data processing node, can monitor the power grid status at each point in real time. The edge computing gateway collects and analyzes various data in the power grid, including power supply capacity, load level, voltage fluctuation and other information. By monitoring the stability indicators and load conditions of the power grid, the edge computing gateway can promptly discover potential problems and take corresponding measures to adjust the operation of the power grid to maintain the stability of the power grid. The edge computing gateway can also achieve load balancing. By collecting load data from each node of the power grid, the edge computing gateway can monitor and evaluate the load of different nodes. However, the existing edge computing gateway can only perform simple numerical calculations and monitoring of electrical variables on the power grid nodes. It cannot complete autonomous field data measurement, calculation, analysis and field power grid node equipment failure analysis for the abnormal electrical variable state of the power grid node. Human intervention is still required to measure and analyze the abnormal electrical variable state of the power grid node, which increases the cost and risk of power grid maintenance.

[0003] The Chinese invention patent with publication number CN108008183A discloses a method, system, device and computer storage medium for measuring electric quantity, which adopts a corresponding relationship; based on the corresponding relationship, a first change relationship and a second change relationship are determined, the first change relationship is the change relationship of electric quantity with voltage and time period when the voltage value is greater than the current inflection point voltage value in the current time period, and the second change relationship is the change relationship of electric quantity with voltage and time period when the voltage value is less than the current inflection point voltage value in the current time period; obtain the current voltage value of the measured battery; determine whether the current voltage value is greater than the current inflection point voltage value, if so, calculate the current electric quantity based on the first change relationship, the current voltage value and the current inflection point electric quantity value, if not, calculate the current electric quantity based on the second change relationship, the current voltage value and the current inflection point electric quantity value. The accuracy of the battery electric quantity measurement method is improved. However, the above technical scheme cannot perform autonomous on-site electric variable data collection and analysis on abnormal electric variables, which reduces the reliability of electric variable measurement. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In order to solve the problem that the existing edge computing gateway can only perform simple numerical calculation and monitoring of electrical variables on power grid nodes, and cannot complete autonomous on-site data measurement, calculation, analysis and on-site power grid node equipment failure analysis for the measured abnormal electrical variable status of power grid nodes, and still requires human intervention to measure and analyze the abnormal electrical variable status of power grid nodes, which increases the cost and risk of power grid maintenance, the above electrical variable measurement, electrical variable abnormal status analysis, intelligent on-site inspection, power grid equipment abnormal failure analysis, improve the intelligence of edge computing gateways, and improve the stability and reliability of power grid operation.

[0006] (II) Technical solution

[0007] The present invention is implemented by the following technical solution: a method for calculating power consumption using an edge computing gateway, the method comprising the following steps:

[0008] S1, collecting instantaneous power consumption data and instantaneous current data of power grid nodes;

[0009] S2, respectively compare the instantaneous power consumption data of the grid node with the abnormal instantaneous power consumption data of the grid node, and the instantaneous current data of the grid node with the abnormal instantaneous current data of the grid node, and compare the power consumption and current values, and analyze and construct the abnormal power consumption and current results of the grid node operation;

[0010] S3. When there is abnormal power consumption or current result, the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are collected respectively;

[0011] S4. Calculate and generate the on-site measurement path of the electric variable from the edge computing gateway to the grid node and output it according to the spatial coordinate data of the grid node and the spatial coordinate data of the edge computing gateway and the spatial geographic three-dimensional model from the edge computing gateway to the grid node through a data recognition algorithm;

[0012] S5. According to the on-site measurement path of electric variables from the edge computing gateway to the power grid node, a drone carrying an electric variable measurement device is started to arrive at the power grid node and collect the instantaneous power consumption data and instantaneous current data of the power grid node on-site, and the S2 step is executed to analyze and generate abnormal power consumption and current results of the power grid node operation site;

[0013] S6. When there is abnormal power consumption or current result on site, collect on-site image data of the operation status of the grid node equipment;

[0014] S7. Based on the on-site image data of the grid node device operating status and the on-site image data of the grid node device fault operating status, a data recognition algorithm is used to perform operating status image analysis to obtain the operating result of the grid node device.

[0015] Preferably, the operation steps of collecting instantaneous power consumption data and instantaneous current data of power grid nodes are as follows:

[0016] S11, collect the instantaneous power consumption data Q of the power grid node at the power grid node control end online through the power consumption measurement sensor dianliang ;

[0017] The instantaneous current data of the grid node at the control end of the grid node is collected online through the current measurement sensor. dianliu .

[0018] Preferably, the instantaneous power consumption data of the power grid node and the abnormal instantaneous power consumption data of the power grid node, and the instantaneous current data of the power grid node and the abnormal instantaneous current data of the power grid node are compared in terms of power consumption and current values, and the operation steps of analyzing and constructing the abnormal power consumption and current results of the power grid node operation are as follows:

[0019] S21. Establish abnormal instantaneous power consumption data Q of power grid nodes yichang , the abnormal instantaneous power consumption data indicates that the instantaneous power consumption of the power grid node control terminal exceeds the normal power consumption data;

[0020] Establish abnormal instantaneous current data of power grid nodes I yichang , the abnormal instantaneous current data indicates that the instantaneous current at the control end of the power grid node exceeds the safe current data;

[0021] S22, the instantaneous power consumption data Q of the power grid node dianliang The abnormal instantaneous power consumption data Q of the power grid nodeyichang Compare the numerical values ​​and construct the abnormal power consumption and current results of the power grid nodes;

[0022] When Q dianliang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node is consistent with the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal power consumption and current, and the algorithm ends;

[0023] When Q dianliang >Q yichang , indicating that the collected instantaneous power consumption of the power grid node does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current result of the output power grid node operation is the abnormal power consumption;

[0024] The instantaneous current data I of the grid node dianliu The abnormal instantaneous current data I of the grid node yichang Compare numerical values;

[0025] When I dianliu ≤I yichang , indicating that the collected instantaneous current of the power grid node meets the safety instantaneous current, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal power consumption and current and the algorithm ends;

[0026] When I dianliu >I yichang , indicating that the collected instantaneous current of the power grid node does not meet the safe instantaneous current, then the abnormal power consumption and current results of the output power grid node operation are abnormal currents.

[0027] Preferably, when there is abnormal power consumption or current result, the operation steps of collecting the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are as follows:

[0028] S31, when there is abnormal power consumption of the grid node operation, and the current result is abnormal power consumption or abnormal current, the grid node spatial coordinate data a of the grid node control end corresponding to the instantaneous power consumption and instantaneous current is collected and measured online by the position sensor jiedian =(x,y,z); where x, y, and z represent the longitude, latitude, and altitude of the power grid node control terminal, respectively;

[0029] The spatial coordinate data of the edge computing gateway corresponding to the edge computing gateway used to monitor the power grid node control end is collected online through the position sensor. wangguan =(x',y',z'); where x', y', and z' represent the longitude, latitude, and altitude of the edge computing gateway, respectively.

[0030] Preferably, the operation steps of calculating and generating the on-site measurement path of the electric variable from the edge computing gateway to the grid node and outputting it according to the grid node spatial coordinate data, the edge computing gateway spatial coordinate data and the spatial geographic three-dimensional model from the edge computing gateway to the grid node by using the data recognition algorithm are as follows:

[0031] S41. Obtaining edge computing gateway spatial coordinate data a through map software wangguan To the grid node spatial coordinate data a jiedian The space between the geographical 3D model A sanwei , the map software includes any one of Amap software, Baidu map software, Apple map software, and Google map software;

[0032] S42, using a data recognition algorithm based on the edge computing gateway spatial coordinate data a wangguan , the grid node spatial coordinate data a jiedian , the spatial geographic three-dimensional model A sanwei Calculate the shortest path from the edge computing gateway to the power grid node control terminal. The calculation steps of the data identification algorithm are as follows:

[0033] S421, initialization, maximum number of iterations T;

[0034] S422, surround prey, path search hyenas can be familiar with the location of prey and surround them, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path is used to mathematically model the social hierarchy of the path search hyena. The current best encirclement object is the target prey or a target close to the optimal one. Because the search space is not a priori, other individuals will try to update their positions. After determining the best encirclement object, the best encirclement object is hunted. The mathematical model of hunting behavior is represented by the following equation;

[0035] Γ=|α×Ψ(t)-Ω(t)|,Ω(t+1)=Ψ(t)-β×Γ; where Γ represents the spatial geographic three-dimensional model A sanwei The distance between the prey and the path-searching hyena; t is the current iteration, t+1 is the next iteration, α is the swing factor, β is the convergence factor; Ψ(t) is the current prey in the spatial geographic three-dimensional model A sanwei Ω(t) is the position vector of the current path search hyena in the spatial geographic three-dimensional model A sanwei Ω(t+1) is the position vector of the hyena in the next path search in the spatial geographic three-dimensional model A sanwei The position vector in ;

[0036] S423. Hunting behavior: Path-searching hyenas usually hunt in groups. To define the behavior of path-searching hyenas, assume that the best search individual, no matter which one is the best, knows the location of the prey. The other search individuals form a cluster. The path-searching hyena group moves to the best search individual and saves the best hunting plan obtained so far to update their position, that is, in the spatial geographic three-dimensional model A sanwei Search for the edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The location of the shortest path, the mathematical model of hunting behavior is

[0037] It is the first spatially geographical 3D model of a path-finding hyena. sanwei The best position in Represents other paths to search for hyenas in the spatial geographic 3D model A sanwei The position in; N is the number of path searching hyenas, is a cluster of N optimal solutions;

[0038] S424, attack the prey. Attacking the prey can reduce the value of the vector h. During the simulation process, α also changes with the change of h. The mathematical formula for attacking the prey is described as follows:

[0039]

[0040] S425, searching for prey, the algorithm mainly searches for the location of the hyena group based on the path to find prey, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path, they move away from each other, looking for and attacking prey. When the convergence factor β is met, the path-searching hyena will disperse and move away from the current prey. This mechanism allows the path-searching hyena optimization algorithm to perform a global search. α contains random values, which provide random weights for prey, allowing the algorithm to search and avoid local optimization, so that the path-searching hyena optimization algorithm meets the termination condition;

[0041] S426, when the maximum number of iterations is met, search for the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path B from the edge computing gateway to the grid node control terminal zuiduan ;

[0042] S43, the shortest path B from the edge computing gateway to the power grid node control terminal zuiduanThe logo is constructed as the drone receives spatial coordinate data from the edge computing gateway a wangguan To the grid node spatial coordinate data a jiedian The electrical variable field measurement path B from the edge computing gateway to the grid node lujing And output.

[0043] Preferably, the operation steps of starting a drone carrying an electric variable measurement device to reach a power grid node based on the electric variable field measurement path from the edge computing gateway to the power grid node and collecting instantaneous power consumption data and instantaneous current data at the power grid node site and executing step S2 to analyze and generate abnormal power consumption and current results at the power grid node operation site are as follows:

[0044] S51. Obtaining the on-site measurement path B of the electric variable from the edge computing gateway to the power grid node lujing ;

[0045] S52: The drone carries the electric variable measurement equipment along the electric variable field measurement path B from the edge computing gateway to the power grid node. lujing Fly from the edge computing gateway to the grid node control end site and use the electrical variable measurement device to collect the grid node site instantaneous power consumption data Q online xianchang , grid node on-site instantaneous current data I xianchang , wherein the electrical variable measuring device includes an electrical consumption measuring sensor and a current measuring sensor;

[0046] S53, the instantaneous power consumption data Q of the grid node on site xianchang , grid node on-site instantaneous current data I xianchang According to step S22, the abnormal instantaneous power consumption data Q of the power grid node are respectively yichang , abnormal instantaneous current data of power grid nodes I yichang Compare the instantaneous power consumption and current values ​​on site and output the abnormal power consumption and current results of the grid node operation site;

[0047] When Q xianchang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node site meets the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as no abnormal power consumption and current, and the algorithm ends;

[0048] When Q xianchang >Q yichang , indicating that the collected instantaneous power consumption of the power grid node site does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as abnormal power consumption;

[0049] When I xianchang ≤I yichang, indicating that the collected instantaneous current of the grid node site meets the safety instantaneous current, then the abnormal power consumption and current results of the grid node operation site are output as no abnormal power consumption and current and the algorithm ends;

[0050] When I xianchang >I yichang , indicating that the collected instantaneous current at the grid node site does not meet the safe instantaneous current, then the abnormal power consumption and current results at the grid node site are output as abnormal current.

[0051] Preferably, when there is abnormal power consumption or current result on site, the operation steps of collecting on-site image data of the operation status of the grid node equipment are as follows:

[0052] S61. When the power grid node operation site has abnormal power consumption or abnormal current, the camera lens carried by the drone at the control end of the power grid node is used to collect the on-site image data of the power grid node equipment operation status and establish a set of on-site image data of the power grid node equipment operation status C = (c1, ..., c m ,…,c ε ), m = 1, 2, 3, ..., ε; where c m represents the mth collected on-site image data of the operating status of the power grid node equipment, and ε represents the maximum number of on-site image data of the operating status of the power grid node equipment.

[0053] Preferably, the operation steps of using a data recognition algorithm to analyze the operation status image based on the grid node device operation status on-site image data and the grid node device fault operation status on-site image data to obtain the grid node device operation result are as follows:

[0054] S71. Establishing a field image data set of the fault operation status of power grid node equipment where d j represents the jth grid node equipment fault operation status on-site image data, Indicates the maximum value of the number of on-site image data of the fault operation status of a power grid node device, wherein the on-site image of the fault operation status of the power grid node device includes at least one of an image of equipment line damage, an image of electric sparks caused by a short circuit or a circuit break in the equipment, and an image of damage to mechanical parts of the equipment;

[0055] S72, using the data recognition algorithm of step S42 to identify the grid node device operating status on-site image data set C of the grid node device operating status on-site image data c m The grid node equipment fault operation status on-site image data set D is ordered according to the sequence number. j Perform image analysis of equipment operation status. m With dj If the image matching is successful, the output power grid node equipment operation result is the on-site image data c of the fault and power grid node equipment operation status. m The operation results of the power grid node equipment and the on-site image data of the operation status of the power grid node equipment are transmitted to the edge computing gateway using the Internet of Things communication network. m Push to the power grid monitoring center;

[0056] When c m With d j If the image is not successfully matched, the operation result of the power grid node device is output as no fault, and the operation result of the power grid node device is pushed to the power grid monitoring center through the edge computing gateway using the Internet of Things communication network.

[0057] A system for implementing the method of using an edge computing gateway to calculate power consumption, the system comprising a power grid node electric variable measurement module, a power grid node abnormal electric variable analysis module, a power grid node abnormal electric variable on-site measurement path program planning module, and a power grid node abnormal electric variable on-site measurement and analysis module;

[0058] The power grid node electrical variable measurement module includes a power grid node power consumption collection unit and a power grid node current collection unit;

[0059] The power grid node power consumption collection unit collects instantaneous power consumption data of the power grid node through a power consumption measurement sensor; the power grid node current collection unit collects instantaneous current data of the power grid node through a current measurement sensor;

[0060] The grid node abnormal electric variable analysis module includes a grid node abnormal power consumption parameter storage unit, a grid node abnormal power consumption analysis unit, a grid node abnormal current parameter storage unit, and a grid node abnormal current analysis unit;

[0061] The abnormal power consumption parameter storage unit of the power grid node is used to store the abnormal instantaneous power consumption data of the power grid node; the abnormal power consumption analysis unit of the power grid node compares the power consumption values ​​of the instantaneous power consumption data of the power grid node with the abnormal instantaneous power consumption data of the power grid node, and analyzes and constructs the abnormal power consumption and current results of the operation of the power grid node; the abnormal current parameter storage unit of the power grid node is used to store the abnormal instantaneous current data of the power grid node; the abnormal current analysis unit of the power grid node compares the current values ​​of the instantaneous current data of the power grid node with the abnormal instantaneous current data of the power grid node, and analyzes and constructs the abnormal power consumption and current results of the operation of the power grid node;

[0062] The grid node abnormal electric variable on-site measurement path solution planning module includes a space coordinate acquisition unit of the grid node and the edge computing gateway, an electric variable on-site measurement path planning unit, and an electric variable on-site measurement path solution output unit;

[0063] The spatial coordinate acquisition unit of the power grid node and the edge computing gateway, when there is abnormal power consumption or current result, respectively uses the position sensor to collect the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway; the electric variable field measurement path planning unit, through the data recognition algorithm, according to the spatial coordinate data of the power grid node, the spatial coordinate data of the edge computing gateway and the spatial geographic three-dimensional model of the edge computing gateway to the power grid node, calculates and generates the electric variable field measurement path from the edge computing gateway to the power grid node; the electric variable field measurement path solution output unit is used to output the electric variable field measurement path from the edge computing gateway to the power grid node;

[0064] The grid node abnormal electrical variable field measurement and analysis module includes a grid node abnormal power consumption and current field measurement unit, a grid node field abnormal power consumption and current analysis unit, a grid node equipment operation status field image acquisition unit, a grid node equipment normal operation status image storage unit, and a grid node equipment operation status analysis unit;

[0065] The grid node abnormal power consumption and current on-site measurement unit is used to start a drone carrying an electric variable measurement device to reach the grid node and collect the grid node on-site instantaneous power consumption data and grid node on-site instantaneous current data according to the electric variable on-site measurement path from the edge computing gateway to the grid node; the grid node on-site abnormal power consumption and current analysis unit repeatedly performs power consumption and current abnormality numerical value analysis on the collected grid node on-site instantaneous power consumption data and grid node on-site instantaneous current data to generate the grid node operation on-site abnormal power consumption and current results; the grid node device operation status on-site image acquisition unit, when there is on-site abnormal power consumption or current results, collects grid node device operation status on-site image data through the shooting lens carried by the drone; the grid node device normal operation status image storage unit is used to store grid node device fault operation status on-site image data; the grid node device operation status analysis unit uses a data recognition algorithm to perform operation status image based on the grid node device operation status on-site image data and grid node device fault operation status on-site image data, and analyzes the grid node device operation results.

[0066] (III) Beneficial effects

[0067] The present invention provides a method and system for realizing power consumption calculation by using edge computing gateway. It has the following beneficial effects:

[0068] 1. The instantaneous power consumption and instantaneous current parameters of the power grid node control end are accurately collected through the cooperation of the power grid node power consumption collection unit and the power grid node current collection unit, providing data support for the subsequent edge computing gateway to analyze the power consumption and current anomalies of the power grid node control; the power grid node abnormal power consumption analysis unit and the power grid node abnormal current analysis unit cooperate with each other to use the instantaneous power consumption parameters and the abnormal instantaneous power consumption threshold of the power grid node, and the instantaneous current parameters and the abnormal instantaneous current threshold of the power grid node to make numerical judgments, scientifically and efficiently identify whether there are abnormalities in the power consumption and current measured by the power grid node, and improve the accuracy and reliability of the edge computing gateway to monitor the power grid.

[0069] 2. Through the cooperation of the spatial coordinate acquisition unit of the power grid node and the edge computing gateway and the on-site measurement path planning unit of the electric variable, the spatial coordinate data of the edge computing gateway and the abnormal power grid node are obtained in real time for the abnormal power grid node. Through the intelligent algorithm, the spatial coordinates of the gateway to the power grid node and the three-dimensional geographic model between the two are scientifically analyzed and planned to obtain the shortest UAV flight path from the gateway to the abnormal power grid node, so as to realize the intelligent on-site inspection path planning of the edge computing gateway for the abnormal power grid node, and improve the emergency response capability of the edge computing gateway to monitor the power grid.

[0070] 3. Through the cooperation of the on-site measurement unit for abnormal power consumption and current of power grid nodes and the on-site abnormal power consumption and current analysis unit of power grid nodes, according to the planned shortest UAV path, the UAV carries the electric variable measurement equipment to the power grid node and collects the instantaneous power consumption and instantaneous current parameters of the abnormal power grid node in real time on site, and compares them with the abnormal power consumption and current values, so as to realize efficient on-site measurement and analysis of the electric variables of the abnormal power grid nodes, and ensure the stability and safety of power grid operation; the power grid node equipment operation status analysis unit collects the equipment operation site images of the abnormal power grid nodes, combines the intelligent algorithm with the on-site images of the power grid node equipment failure operation status to perform status images, so as to realize accurate and real-time equipment failure result analysis of abnormal power grid electric variables, improve the intelligence of the edge computing gateway, and improve the functional diversity of power grid electric variable measurement and the safety of power grid operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 A schematic diagram of a module of a system for realizing power consumption calculation using an edge computing gateway provided by the present invention;

[0072] Figure 2 A flowchart of a method for calculating electricity consumption using an edge computing gateway provided by the present invention. DETAILED DESCRIPTION

[0073] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.

[0074] The embodiment of the method and system for realizing power consumption calculation using edge computing gateway is as follows:

[0075] See also Figure 1 - Figure 2 A method for calculating power consumption using an edge computing gateway comprises the following steps:

[0076] S1, collecting instantaneous power consumption data and instantaneous current data of power grid nodes;

[0077] S2, respectively compare the power consumption and current values ​​of the grid node instantaneous power consumption data with the grid node abnormal instantaneous power consumption data, and the grid node instantaneous current data with the grid node abnormal instantaneous current data, and analyze and construct the abnormal power consumption and current results of the grid node operation;

[0078] S3. When there is abnormal power consumption or current result, the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are collected respectively;

[0079] S4. Calculate and generate the on-site measurement path of the electric variable from the edge computing gateway to the grid node and output it based on the spatial coordinate data of the grid node and the spatial coordinate data of the edge computing gateway and the spatial geographic three-dimensional model from the edge computing gateway to the grid node through the data recognition algorithm;

[0080] S5. According to the on-site measurement path of electric variables from the edge computing gateway to the power grid node, the drone carrying the electric variable measurement equipment is started to arrive at the power grid node and collect the instantaneous power consumption data and instantaneous current data of the power grid node on-site, and the S2 step is executed to analyze and generate the abnormal power consumption and current results of the power grid node operation site;

[0081] S6. When there is abnormal power consumption or current result on site, collect on-site image data of the operation status of the grid node equipment;

[0082] S7. Based on the on-site image data of the grid node equipment operation status and the on-site image data of the grid node equipment failure operation status, a data recognition algorithm is used to perform operation status image analysis to obtain the operation result of the grid node equipment.

[0083] For further information, see Figure 1 - Figure 2The steps for collecting instantaneous power consumption data and instantaneous current data of power grid nodes are as follows:

[0084] S11, collect the instantaneous power consumption data Q of the power grid node at the power grid node control end online through the power consumption measurement sensor dianliang ;

[0085] The instantaneous current data of the grid node at the control end of the grid node is collected online through the current measurement sensor. dianliu .

[0086] The instantaneous power consumption data of the power grid nodes are compared with the abnormal instantaneous power consumption data of the power grid nodes, and the instantaneous current data of the power grid nodes are compared with the abnormal instantaneous current data of the power grid nodes. The operation steps for analyzing and constructing the abnormal power consumption and current results of the power grid nodes are as follows:

[0087] S21. Establish abnormal instantaneous power consumption data Q of power grid nodes yichang ,Abnormal instantaneous power consumption data indicates that the instantaneous power consumption at the control end of the power grid node exceeds the normal power consumption data;

[0088] Establish abnormal instantaneous current data of power grid nodes I yichang ,The abnormal instantaneous current data indicates that the instantaneous current at the control end of the power grid node exceeds the safe current data;

[0089] S22, the instantaneous power consumption data Q of the power grid node dianliang Abnormal instantaneous power consumption data Q of power grid nodes yichang Compare the numerical values ​​and construct the abnormal power consumption and current results of the power grid nodes;

[0090] When Q dianliang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node is consistent with the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal power consumption and current, and the algorithm ends;

[0091] When Q dianliang >Q yichang , indicating that the collected instantaneous power consumption of the power grid node does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current result of the output power grid node operation is the abnormal power consumption;

[0092] The instantaneous current data of the power grid node I dianliu Abnormal instantaneous current data of power grid nodes I yichang Compare numerical values;

[0093] When I dianliu ≤I yichang, indicating that the collected instantaneous current of the power grid node meets the safety instantaneous current, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal power consumption and current and the algorithm ends;

[0094] When I dianliu >I yichang , indicating that the collected instantaneous current of the power grid node does not meet the safe instantaneous current, then the abnormal power consumption and current results of the output power grid node operation are abnormal currents.

[0095] The grid node power consumption collection unit and the grid node current collection unit cooperate with each other to accurately collect the instantaneous power consumption and instantaneous current parameters of the grid node control end, providing data support for the subsequent edge computing gateway to analyze the power consumption and current anomalies of the grid node control; the grid node abnormal power consumption analysis unit and the grid node abnormal current analysis unit cooperate with each other to use the instantaneous power consumption parameters and the grid node abnormal instantaneous power consumption threshold, the instantaneous current parameters and the grid node abnormal instantaneous current threshold to make numerical judgments, scientifically and efficiently identify whether there are abnormalities in the power consumption and current measured by the grid node, and improve the accuracy and reliability of the edge computing gateway in monitoring the power grid.

[0096] For further information, see Figure 1 - Figure 2 ,When there are abnormal power consumption or current results, the steps for collecting the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are as follows:

[0097] S31, when there is abnormal power consumption of the grid node operation, and the current result is abnormal power consumption or abnormal current, the grid node spatial coordinate data a of the grid node control end corresponding to the instantaneous power consumption and instantaneous current is collected and measured online by the position sensor jiedian =(x,y,z); where x, y, and z represent the longitude, latitude, and altitude of the power grid node control terminal, respectively;

[0098] The spatial coordinate data of the edge computing gateway corresponding to the edge computing gateway used to monitor the power grid node control end is collected online through the position sensor. wangguan =(x',y',z'); where x', y', and z' represent the longitude, latitude, and altitude of the edge computing gateway, respectively.

[0099] The steps for calculating and outputting the field measurement path of the electric variable from the edge computing gateway to the grid node and outputting it are as follows:

[0100] S41. Obtaining edge computing gateway spatial coordinate data a through map software wangguan To the grid node spatial coordinate data ajiedian The space between the geographical 3D model A sanwei , map software includes any one of Amap, Baidu, Apple and Google;

[0101] S42, using the data recognition algorithm based on the edge computing gateway spatial coordinate data a wangguan , grid node spatial coordinate data a jiedian 、Spatial Geographic 3D Model A sanwei Calculate the shortest path from the edge computing gateway to the power grid node control end. The calculation steps of the data identification algorithm are as follows:

[0102] S421, initialization, maximum number of iterations T;

[0103] S422, surround prey, path search hyenas can be familiar with the location of prey and surround them, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path is used to mathematically model the social hierarchy of the path search hyena. The current best encirclement object is the target prey or a target close to the optimal one. Because the search space is not a priori, other individuals will try to update their positions. After determining the best encirclement object, the best encirclement object is hunted. The mathematical model of hunting behavior is represented by the following equation;

[0104] Γ=|α×Ψ(t)-Ω(t)|,Ω(t+1)=Ψ(t)-β×Γ; where Γ represents the spatial geographic three-dimensional model A sanwei The distance between the prey and the path-searching hyena; t is the current iteration, t+1 is the next iteration, α is the swing factor, β is the convergence factor; Ψ(t) is the current prey in the spatial geographic three-dimensional model A sanwei Ω(t) is the position vector of the current path search hyena in the spatial geographic three-dimensional model A sanwei Ω(t+1) is the position vector of the hyena in the next path search in the spatial geographic three-dimensional model A sanwei The position vector in ;

[0105] S423. Hunting behavior: Path-searching hyenas usually hunt in groups. To define the behavior of path-searching hyenas, assume that the best search individual, no matter which one is the best, knows the location of the prey. The other search individuals form a cluster. The path-searching hyena group moves to the best search individual and saves the best hunting plan obtained so far to update their position, that is, in the spatial geographic three-dimensional model A sanwei Search for the edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data ajiedian The location of the shortest path, the mathematical model of hunting behavior is in It is the first spatially geographical 3D model of a path-finding hyena. sanwei The best position in Represents other paths to search for hyenas in the spatial geographic 3D model A sanwei The position in; N is the number of path searching hyenas, is a cluster of N optimal solutions;

[0106] S424, attack the prey. Attacking the prey can reduce the value of the vector h. During the simulation process, α also changes with the change of h. The mathematical formula for attacking the prey is described as follows:

[0107]

[0108] S425, searching for prey, the algorithm mainly searches for the location of the hyena group based on the path to find prey, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path, they move away from each other, looking for and attacking prey. When the convergence factor β is met, the path-searching hyena will disperse and move away from the current prey. This mechanism allows the path-searching hyena optimization algorithm to perform a global search. α contains random values, which provide random weights for prey, allowing the algorithm to search and avoid local optimization, so that the path-searching hyena optimization algorithm meets the termination condition;

[0109] S426, when the maximum number of iterations is met, search for the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path B from the edge computing gateway to the grid node control terminal zuiduan ;

[0110] S43, the shortest path B from the edge computing gateway to the power grid node control terminal zuiduan The logo is constructed as the drone receives spatial coordinate data from the edge computing gateway a wangguan To the grid node spatial coordinate data a jiedian The electrical variable field measurement path B from the edge computing gateway to the grid node lujing And output.

[0111] Through the cooperation of the spatial coordinate acquisition unit of the power grid node and the edge computing gateway and the electric variable on-site measurement path planning unit, the spatial coordinate data of the edge computing gateway and the abnormal power grid node are obtained in real time for the abnormal power grid node. The shortest UAV flight path from the gateway to the abnormal power grid node is scientifically analyzed and planned through intelligent algorithms in conjunction with the spatial coordinates of the gateway to the power grid node and the three-dimensional geographic model between the two, thereby realizing the intelligent on-site inspection path planning of the edge computing gateway for the abnormal power grid nodes and improving the emergency response capability of the edge computing gateway in monitoring the power grid.

[0112] For further information, see Figure 1 - Figure 2 According to the on-site measurement path of electric variables from the edge computing gateway to the power grid node, the drone is started to carry the electric variable measurement equipment to the power grid node and collect the instantaneous power consumption data and instantaneous current data of the power grid node on-site, and the S2 step is executed to analyze and generate the abnormal power consumption and current results of the power grid node operation site. The operation steps are as follows:

[0113] S51. Obtaining the on-site measurement path B of the electric variable from the edge computing gateway to the power grid node lujing ;

[0114] S52, the drone carries the electric variable measurement equipment along the electric variable field measurement path B from the edge computing gateway to the power grid node lujing Fly from the edge computing gateway to the grid node control end site and use the electrical variable measurement equipment to collect the instantaneous power consumption data of the grid node site online Q xianchang , grid node on-site instantaneous current data I xianchang , wherein the electrical variable measuring device includes an electrical consumption measuring sensor and a current measuring sensor;

[0115] S53, the instantaneous power consumption data Q of the grid node site xianchang , grid node on-site instantaneous current data I xianchang According to step S22, the abnormal instantaneous power consumption data Q of the power grid node are respectively yichang , abnormal instantaneous current data of power grid nodes I yichang Compare the instantaneous power consumption and current values ​​on site and output the abnormal power consumption and current results of the grid node operation site;

[0116] When Q xianchang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node site meets the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as no abnormal power consumption and current, and the algorithm ends;

[0117] When Q xianchang >Q yichang, indicating that the collected instantaneous power consumption of the power grid node site does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as abnormal power consumption;

[0118] When I xianchang ≤I yichang , indicating that the collected instantaneous current of the grid node site meets the safety instantaneous current, then the abnormal power consumption and current results of the grid node operation site are output as no abnormal power consumption and current and the algorithm ends;

[0119] When I xianchang >I yichang , indicating that the collected instantaneous current at the grid node site does not meet the safe instantaneous current, then the abnormal power consumption and current results at the grid node site are output as abnormal current.

[0120] When there are abnormal power consumption or current results on site, the steps for collecting on-site image data of the operating status of grid node equipment are as follows:

[0121] S61. When the power grid node operation site has abnormal power consumption or abnormal current, the camera lens carried by the drone at the control end of the power grid node is used to collect the on-site image data of the power grid node equipment operation status and establish a set of on-site image data of the power grid node equipment operation status C = (c1, ..., c m ,…,c ε ), m=1,2,3,…,ε; where c m represents the mth collected on-site image data of the operating status of the power grid node equipment, and ε represents the maximum number of on-site image data of the operating status of the power grid node equipment.

[0122] The operation steps of using data recognition algorithm to analyze the operation status image based on the on-site image data of the operation status of the power grid node equipment and the on-site image data of the fault operation status of the power grid node equipment to obtain the operation results of the power grid node equipment are as follows:

[0123] S71. Establishing a field image data set of the fault operation status of power grid node equipment where d j represents the jth grid node equipment fault operation status on-site image data, Indicates the maximum value of the number of on-site image data of the fault operation status of the power grid node equipment, the on-site image of the fault operation status of the power grid node equipment includes at least one of the following images: images of equipment line damage, images of electric sparks caused by short circuits and circuit breaks in the equipment, and images of equipment mechanical parts damage;

[0124] S72, using the data recognition algorithm of step S42 to identify the grid node device operating status on-site image data set C of the grid node device operating status on-site image data c mThe grid node equipment fault operation status on-site image data set D is ordered according to the sequence number. j Perform image analysis of equipment operation status. m With d j If the image matching is successful, the output power grid node equipment operation result is the on-site image data c of the fault and power grid node equipment operation status. m The edge computing gateway uses the IoT communication network to transmit the grid node equipment operation results and grid node equipment operation status on-site image data to m Push to the power grid monitoring center;

[0125] When c m With d j If the image is not successfully matched, the grid node equipment operation result is output as no fault, and the grid node equipment operation result is pushed to the grid monitoring center through the edge computing gateway using the IoT communication network.

[0126] Through the cooperation of the grid node abnormal power consumption and current on-site measurement unit and the grid node abnormal power consumption and current analysis unit, according to the planned shortest UAV path, the UAV carries the electric variable measurement equipment to the grid node and collects the instantaneous power consumption and instantaneous current parameters of the abnormal grid node in real time on-site and compares them with the abnormal power consumption and current values, so as to realize efficient on-site measurement and analysis of the electric variables of the abnormal grid node, and ensure the stability and safety of the grid operation; the grid node equipment operation status analysis unit collects the equipment operation on-site images of the abnormal grid node, combines the intelligent algorithm with the grid node equipment fault operation status on-site images to perform status images, so as to realize accurate and real-time equipment failure result analysis of abnormal grid electric variables, improve the intelligence of the edge computing gateway, and improve the functional diversity of grid electric variable measurement and the safety of grid operation.

[0127] A system for realizing a method for calculating power consumption by using an edge computing gateway, the system comprising a power grid node electric variable measurement module, a power grid node abnormal electric variable analysis module, a power grid node abnormal electric variable on-site measurement path program planning module, and a power grid node abnormal electric variable on-site measurement and analysis module;

[0128] The power grid node electrical variable measurement module includes a power grid node power consumption collection unit and a power grid node current collection unit;

[0129] The power grid node power consumption collection unit collects the instantaneous power consumption data of the power grid node through the power consumption measurement sensor; the power grid node current collection unit collects the instantaneous current data of the power grid node through the current measurement sensor;

[0130] The power grid node abnormal electric variable analysis module includes a power grid node abnormal power consumption parameter storage unit, a power grid node abnormal power consumption analysis unit, a power grid node abnormal current parameter storage unit, and a power grid node abnormal current analysis unit;

[0131] The abnormal power consumption parameter storage unit of the power grid node is used to store the abnormal instantaneous power consumption data of the power grid node; the abnormal power consumption analysis unit of the power grid node compares the power consumption values ​​of the instantaneous power consumption data of the power grid node with the abnormal instantaneous power consumption data of the power grid node, and analyzes and constructs the abnormal power consumption and current results of the operation of the power grid node; the abnormal current parameter storage unit of the power grid node is used to store the abnormal instantaneous current data of the power grid node; the abnormal current analysis unit of the power grid node compares the current values ​​of the instantaneous current data of the power grid node with the abnormal instantaneous current data of the power grid node, and analyzes and constructs the abnormal power consumption and current results of the operation of the power grid node;

[0132] The grid node abnormal electric variable on-site measurement path plan planning module includes a grid node and edge computing gateway space coordinate acquisition unit, an electric variable on-site measurement path planning unit, and an electric variable on-site measurement path plan output unit;

[0133] The spatial coordinate acquisition unit of the power grid node and the edge computing gateway uses the position sensor to collect the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway respectively when there is abnormal power consumption or current result; the electric variable field measurement path planning unit calculates and generates the electric variable field measurement path from the edge computing gateway to the power grid node based on the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway and the spatial geographic three-dimensional model from the edge computing gateway to the power grid node through the data recognition algorithm; the electric variable field measurement path solution output unit is used to output the electric variable field measurement path from the edge computing gateway to the power grid node;

[0134] The grid node abnormal electrical variable field measurement and analysis module includes a grid node abnormal power consumption and current field measurement unit, a grid node abnormal power consumption and current analysis unit, a grid node equipment operation status field image acquisition unit, a grid node equipment normal operation status image storage unit, and a grid node equipment operation status analysis unit;

[0135] The grid node abnormal power consumption and current field measurement unit is used to start the drone carrying the electric variable measurement equipment to the grid node according to the electric variable field measurement path from the edge computing gateway to the grid node and collect the grid node instantaneous power consumption data and the grid node instantaneous current data; the grid node field abnormal power consumption and current analysis unit repeatedly performs power consumption and current abnormal value analysis on the collected grid node field instantaneous power consumption data and grid node field instantaneous current data to generate the grid node operation field abnormal power consumption and current results; the grid node equipment operation status field image acquisition unit, when there is abnormal power consumption or current results on site, collects the grid node equipment operation status field image data through the drone-carried camera; the grid node equipment normal operation status image storage unit is used to store the grid node equipment fault operation status field image data; the grid node equipment operation status analysis unit uses the data recognition algorithm to perform the operation status image according to the grid node equipment operation status field image data and the grid node equipment fault operation status field image data, and analyzes the grid node equipment operation results.

[0136] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for calculating power consumption using an edge computing gateway, characterized in that: The method comprises the following steps: S1, collecting instantaneous power consumption data and instantaneous current data of power grid nodes; S2, respectively compare the instantaneous power consumption data of the grid node with the abnormal instantaneous power consumption data of the grid node, and the instantaneous current data of the grid node with the abnormal instantaneous current data of the grid node, and compare the power consumption and current values, and analyze and construct the abnormal power consumption and current results of the grid node operation; S3. When there is abnormal power consumption or current result, the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are collected respectively; S4. Calculate and generate the on-site measurement path of the electric variable from the edge computing gateway to the grid node and output it according to the spatial coordinate data of the grid node and the spatial coordinate data of the edge computing gateway and the spatial geographic three-dimensional model from the edge computing gateway to the grid node through a data recognition algorithm; S5. According to the on-site measurement path of electric variables from the edge computing gateway to the power grid node, a drone carrying an electric variable measurement device is started to arrive at the power grid node and collect the instantaneous power consumption data and instantaneous current data of the power grid node on-site, and the S2 step is executed to analyze and generate abnormal power consumption and current results of the power grid node operation site; S6. When there is abnormal power consumption or current result on site, collect on-site image data of the operation status of the grid node equipment; S7. Analyze the operation status of the grid node equipment based on the on-site image data of the operation status of the grid node equipment and the on-site image data of the fault operation status of the grid node equipment, and analyze the operation results of the grid node equipment.

2. A method for calculating power consumption using an edge computing gateway according to claim 1, characterized in that: The operation steps of collecting instantaneous power consumption data and instantaneous current data of power grid nodes are as follows: S11, collect the instantaneous power consumption data Q of the power grid node at the power grid node control end online through the power consumption measurement sensor dianliang ; The instantaneous current data of the grid node at the control end of the grid node is collected online through the current measurement sensor. dianliu .

3. A method for calculating power consumption using an edge computing gateway according to claim 2, characterized in that: The steps of comparing the instantaneous power consumption data of the power grid node with the abnormal instantaneous power consumption data of the power grid node, and the instantaneous current data of the power grid node with the abnormal instantaneous current data of the power grid node, and analyzing and constructing the abnormal power consumption and current results of the power grid node operation are as follows: S21. Establish abnormal instantaneous power consumption data Q of power grid nodes yichang , the abnormal instantaneous power consumption data indicates that the instantaneous power consumption of the power grid node control terminal exceeds the normal power consumption data; Establish abnormal instantaneous current data of power grid nodes I yichang , the abnormal instantaneous current data indicates that the instantaneous current at the control end of the power grid node exceeds the safe current data; S22, the instantaneous power consumption data Q of the power grid node dianliang The abnormal instantaneous power consumption data Q of the power grid node yichang Compare the numerical values ​​and construct the abnormal power consumption and current results of the power grid nodes; When Q dianliang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node is consistent with the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal power consumption and the algorithm ends; When Q dianliang >Q yichang , indicating that the collected instantaneous power consumption of the power grid node does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current result of the output power grid node operation is the abnormal power consumption; The instantaneous current data I dianliu The abnormal instantaneous current data I of the grid node yichang Compare numerical values; When I dianliu ≤I yichang , indicating that the collected instantaneous current of the power grid node meets the safety instantaneous current, then the abnormal power consumption and current results of the power grid node operation are output as no abnormal current and the algorithm ends; When I dianliu >I yichang , indicating that the collected instantaneous current of the power grid node does not meet the safe instantaneous current, then the abnormal power consumption and current results of the output power grid node operation are abnormal currents.

4. A method for calculating power consumption using an edge computing gateway according to claim 3, characterized in that: When there are abnormal power consumption or current results, the steps for collecting the spatial coordinate data of the power grid node and the spatial coordinate data of the edge computing gateway are as follows: S31, when there is abnormal power consumption of the grid node operation, and the current result is abnormal power consumption or abnormal current, the grid node spatial coordinate data a of the grid node control end corresponding to the instantaneous power consumption and instantaneous current is collected and measured online by the position sensor jiedian =(x,y,z); where x, y, and z represent the longitude, latitude, and altitude of the power grid node control terminal, respectively; The spatial coordinate data of the edge computing gateway corresponding to the edge computing gateway used to monitor the power grid node control end is collected online through the position sensor. wangguan =(x',y',z'); where x', y', and z' represent the longitude, latitude, and altitude of the edge computing gateway, respectively.

5. A method for realizing power consumption calculation using edge computing gateway according to claim 4, characterized in that: The operation steps of calculating and generating the on-site measurement path of the electric variable from the edge computing gateway to the grid node and outputting it according to the spatial coordinate data of the grid node and the spatial coordinate data of the edge computing gateway and combining the spatial geographic three-dimensional model from the edge computing gateway to the grid node through the data recognition algorithm are as follows: S41. Obtaining edge computing gateway spatial coordinate data a through map software wangguan To the grid node spatial coordinate data a jiedian The space between the geographical 3D model A sanwei , the map software includes any one of Amap software, Baidu map software, Apple map software, and Google map software; S42, using a data recognition algorithm based on the edge computing gateway spatial coordinate data a wangguan , the grid node spatial coordinate data a jiedian , the spatial geographic three-dimensional model A sanwei Calculate the shortest path from the edge computing gateway to the power grid node control terminal. The calculation steps of the data identification algorithm are as follows: S421, initialization, maximum number of iterations T; S422, surround prey, path search hyenas can be familiar with the location of prey and surround them, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path is used to mathematically model the social hierarchy of the path search hyena. The current best encirclement object is the target prey or a target close to the optimal one. Because the search space is not a priori, other individuals will try to update their positions. After determining the best encirclement object, the best encirclement object is hunted. The mathematical model of hunting behavior is represented by the following equation; Γ=|α×Ψ(t)-Ω(t)|, Ω(t+1)=Ψ(t)-β×Γ; where Γ represents the spatial geographic three-dimensional model A sanwei The distance between the prey and the path-searching hyena; t is the current iteration, t+1 is the next iteration, α is the swing factor, β is the convergence factor; Ψ(t) represents the distance between the prey and the path-searching hyena in the spatial geographic three-dimensional model A after the current iteration. sanwei Ω(t) is the position vector of the current iteration path search hyena in the spatial geographic three-dimensional model A sanwei Ω(t+1) is the position vector of the hyena in the next path search in the spatial geographic three-dimensional model A sanwei The position vector in ; S423. Hunting behavior: Path-searching hyenas usually hunt in groups. To define the behavior of path-searching hyenas, assume that the best search individual, no matter which one is the best, knows the location of the prey. The other search individuals form a cluster. The path-searching hyena group moves to the best search individual and saves the best hunting plan obtained so far to update their position, that is, in the spatial geographic three-dimensional model A sanwei Search for the edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The location of the shortest path, the mathematical model of hunting behavior is in A representation of the first spatial geographic 3D model of the path-searching hyena sanwei The best position in Represents other paths to search for hyenas in the spatial geographic 3D model A sanwei The position in; N is the number of path searching hyenas, represents a cluster of N optimal solutions; S424, attacking prey. Attacking prey can reduce the value of h. During the simulation process, α also changes with the change vector of h. The mathematical formula for attacking prey is described as follows: S425, searching for prey, the algorithm mainly searches for the location of the hyena group based on the path to find prey, that is, in the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path, they move away from each other, looking for and attacking prey. When the convergence factor β is met, the path-searching hyena will disperse and move away from the current prey. This mechanism allows the path-searching hyena optimization algorithm to perform a global search. α contains random values, which provide random weights for prey, allowing the algorithm to search and avoid local optimization, so that the path-searching hyena optimization algorithm meets the termination condition; S426, when the maximum number of iterations is met, search for the spatial geographic three-dimensional model A sanwei Search for edge computing gateway spatial coordinate data a wangguan To the grid node spatial coordinate data a jiedian The shortest path B from the edge computing gateway to the grid node control terminal zuiduan ; S43, the shortest path B from the edge computing gateway to the power grid node control terminal zuiduan The logo is constructed as the drone receives spatial coordinate data from the edge computing gateway a wangguan To the grid node spatial coordinate data a jiedian The electrical variable field measurement path B from the edge computing gateway to the grid node lujing And output.

6. A method for realizing power consumption calculation using edge computing gateway according to claim 5, characterized in that: The operation steps of starting the drone to carry the electric variable measurement device to the grid node according to the electric variable field measurement path from the edge computing gateway to the grid node and collecting the instantaneous power consumption data and the instantaneous current data of the grid node and executing step S2 to analyze and generate the abnormal power consumption and current results of the grid node operation site are as follows: S51. Obtaining the on-site measurement path B of the electric variable from the edge computing gateway to the power grid node lujing ; S52: The drone carries the electric variable measurement equipment along the electric variable field measurement path B from the edge computing gateway to the power grid node. lujing Fly from the edge computing gateway to the grid node control end site and use the electrical variable measurement device to collect the grid node site instantaneous power consumption data Q online xianchang , grid node on-site instantaneous current data I xianchang , wherein the electrical variable measuring device includes an electrical consumption measuring sensor and a current measuring sensor; S53, the instantaneous power consumption data Q of the grid node on site xianchang , grid node on-site instantaneous current data I xianchang According to step S22, the abnormal instantaneous power consumption data Q of the power grid node are respectively yichang , abnormal instantaneous current data of power grid nodes I yichang Compare the instantaneous power consumption and current values ​​on site and output the abnormal power consumption and current results of the grid node operation site; When Q xianchang ≤Q yichang , indicating that the collected instantaneous power consumption of the power grid node site meets the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as no abnormal power consumption and the algorithm ends; When Q xianchang >Q yichang , indicating that the collected instantaneous power consumption of the power grid node site does not conform to the normal instantaneous power consumption, then the abnormal power consumption and current results of the power grid node operation site are output as abnormal power consumption; When I xianchang ≤I yichang , indicating that the collected instantaneous current of the grid node site meets the safety instantaneous current, then the abnormal power consumption and current results of the grid node operation site are output as no abnormal current and the algorithm ends; When I xianchang >I yichang , indicating that the collected instantaneous current at the grid node site does not meet the safe instantaneous current, then the abnormal power consumption and current results at the grid node site are output as abnormal current.

7. A method for realizing power consumption calculation using edge computing gateway according to claim 6, characterized in that: When there is abnormal power consumption or current result on site, the operation steps for collecting on-site image data of the operating status of the grid node equipment are as follows: S61. When the power grid node operation site has abnormal power consumption or abnormal current, the camera lens carried by the drone at the control end of the power grid node is used to collect the on-site image data of the power grid node equipment operation status and establish a set of on-site image data of the power grid node equipment operation status C = (c1, ..., c m ,…,c ε ), m=1,2,3,…,ε; where c m represents the mth collected on-site image data of the operating status of the power grid node equipment, and ε represents the maximum number of on-site image data of the operating status of the power grid node equipment.

8. A method for realizing power consumption calculation using edge computing gateway according to claim 7, characterized in that: The operation steps of analyzing the operation status of the grid node device based on the grid node device operation status on-site image data and the grid node device fault operation status on-site image data, and analyzing the operation results of the grid node device are as follows: S71. Establishing a field image data set of the fault operation status of power grid node equipment where d j represents the jth grid node equipment fault operation status on-site image data, Indicates the maximum value of the number of on-site image data of the fault operation status of a power grid node device, wherein the on-site image of the fault operation status of the power grid node device includes at least one of an image of equipment line damage, an image of electric sparks caused by a short circuit or a circuit break in the equipment, and an image of damage to mechanical parts of the equipment; S72, using the data recognition algorithm of step S42 to identify the grid node device operating status on-site image data set C of the grid node device operating status on-site image data c m The grid node equipment fault operation status on-site image data set D is ordered according to the sequence number. j Perform image analysis of equipment operation status. m With d j If the image matching is successful, the output power grid node equipment operation result is the on-site image data c of the fault and power grid node equipment operation status. m The operation results of the power grid node equipment and the on-site image data of the operation status of the power grid node equipment are transmitted to the edge computing gateway using the Internet of Things communication network. m Push to the power grid monitoring center; When c m With d j If the image is not successfully matched, the operation result of the power grid node device is output as no fault, and the operation result of the power grid node device is pushed to the power grid monitoring center through the edge computing gateway using the Internet of Things communication network.

9. A system for implementing the method for calculating electricity consumption using an edge computing gateway according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Electric quantity measuring method, system and device, and computer storage medium

    CN108008183A

  • Photovoltaic array real-time state monitoring and fault positioning system

    CN108008176A

  • Method for analyzing and positioning users with abnormal power consumption behaviors step by step through cloud-edge cooperation

    CN111695800A

  • Power grid unmanned aerial vehicle inspection method, device and system based on 5G cloud side-end cooperation

    CN112947585A

  • Branch point inspection monitoring method, device and equipment based on edge calculation and storage medium

    CN115695541A