A data acquisition method and system for automatic addressing of power acquisition

CN118524031BActive Publication Date: 2024-10-01WUHAN ZHONGYUAN ELECTRONICS INFORMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000883.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

[0005]为了解决现有技术采样数据效率低下的问题,本申请提供一种用于电力采集的自动寻址的数据采集方法及系统

Benefits of technology

[0007] The beneficial effects are: flexibly adjust the sampling frequency according to the intimacy relationship between nodes, so that resources can be used more effectively. This ensures that the system can capture and respond to rapid changes in the power system in a timely manner, improves the real-time nature of data sampling, and avoids Waste of resources and improved sampling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118524031B_ABST
    Figure CN118524031B_ABST
Patent Text Reader

Abstract

The present application relates to the field of power data collection, and in particular to an automatic addressing data collection method and system for power collection, the method comprising: calculating the intimacy between a target sensor and a grid node where other sensors are located, the intimacy representing the degree of association between grid nodes where sensors are located in the grid topology; calculating a new sampling frequency; sampling according to the new sampling frequency to sample power data in the power system. The present application has the effect of updating the data sampling frequency according to the degree of data anomaly of each node, which is conducive to solving the problem of low efficiency of data sampling in existing methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power data collection, and in particular to an automatic addressing data collection method and system for power collection. Background Art

[0002] In recent years, the rapid development of the Internet of Things, big data and artificial intelligence technologies has promoted the research on intelligent power data sampling. Intelligent power data sampling uses advanced technologies and algorithms to collect, process and analyze power-related data in an automated and intelligent manner. Through intelligent power data sampling, real-time monitoring and abnormal monitoring of the power system can be achieved, thereby improving the operating efficiency, reliability and safety of the power system.

[0003] Fixed sampling frequency refers to a method of sampling data at a fixed time interval or frequency during the data sampling process. In this sampling method, the system samples the data at a fixed time interval, regardless of the frequency of signal changes. For example, in the patent application document with publication number CN115086379A, entitled A method for sampling data for CNC machine tools based on edge computing and virtualization technology, the fixed sampling frequency method is used to sample the relevant data.

[0004] In the prior art, based on the automatic addressing algorithm, it can be applied to power data sampling, and the fixed sampling frequency method is simple and easy to implement, and can provide a certain degree of data stability and reliability. However, the fixed sampling frequency method may face problems such as data redundancy, lack of real-time performance, resource waste, and difficulty in adapting to dynamic changes, especially when the power system has frequent changes or requires rapid response. Therefore, the prior art will cause the problem of low sampling data efficiency. Summary of the invention

[0005] In order to solve the problem of low efficiency of sampling data in the prior art, the present application provides an automatic addressing data collection method and system for power collection.

[0006] In a first aspect, the present application provides an automatic addressing data collection method for power collection, comprising: calculating the intimacy between a target sensor and a grid node where other sensors are located, the intimacy representing the degree of association between the grid nodes where the sensors are located in the grid topology; calculating a new sampling frequency: ;in, represents the sampling frequency after the update of the i-th node, represents the abnormal probability of the power data of node i after centralization, represents the initial sampling frequency of the i-th node, represents the intimacy between node i and node j, represents the abnormal probability of node j after the power data is centralized, represents the initial sampling frequency of the jth node; sampling is performed according to the new sampling frequency to sample the power data in the power system.

[0007] The beneficial effects are: the sampling frequency is flexibly adjusted according to the intimacy relationship between nodes, so that resources are used more efficiently, which ensures that the system can capture and respond to rapid changes in the power system in a timely manner, improves the real-time nature of data sampling, avoids resource waste, and improves sampling efficiency.

[0008] In one embodiment, the power data includes: current, voltage and power.

[0009] In one embodiment, the intimacy is calculated by: determining a path between two nodes, calculating the intimacy of each path, and summing the intimacy on the path between the two nodes to obtain the intimacy between the two nodes.

[0010] The beneficial effects are: by calculating the intimacy for each path, the weights and importance of different paths can be taken into account, making the final intimacy calculation more representative and balanced. By accumulating the path intimacy, the complex relationships and connection patterns between nodes can be reflected.

[0011] In one embodiment, the abnormality probability acquisition method is: inputting the relevant data obtained by node sampling into a pre-trained neural network model to output the abnormality probability of the node data.

[0012] In one embodiment, the method further includes: calculating an initial sampling frequency of the sensor, wherein the initial sampling frequency is equal to the product of the maximum sampling frequency and a weight coefficient, wherein the weight coefficient represents the importance of the node in the power grid topology.

[0013] The beneficial effects are: this sampling strategy of determining the sensor sampling frequency based on the weight coefficient can ensure the effective capture of key data, avoid the problem of data omission or distortion due to too low sampling frequency, and help to promptly detect and handle abnormal situations in the power grid.

[0014] In one embodiment, the weight coefficient is obtained by normalizing the connectivity of the node; the connectivity is the sum of the out-degree and in-degree of the node, the out-degree of the node is: the number of grids where a node is forwardly connected to other nodes through the grid where the node is located, and the forward direction refers to the direction of current; the in-degree of the node is: the number of grids where a node is reversely connected to other nodes through the grid where the node is located, and the reverse direction refers to the direction that does not conform to the current.

[0015] In one embodiment, the network address is assigned to the sensor by automatic addressing to match the relevant information.

[0016] The beneficial effects are: automatic addressing ensures that the assigned network address is unique throughout the network, avoiding problems caused by address conflicts, and when device configuration information needs to be changed, operations can be performed more quickly and accurately without affecting the normal operation of the power grid.

[0017] In one embodiment, the prediction model is: the prediction model is an LSTM network model.

[0018] The beneficial effects are: the LSTM network model is good at processing sequence data and can retain information over a longer time range, so as to more accurately predict future trends or monitor anomalies, and can effectively capture long-term dependencies. In power data, there will be complex dependencies between time series. The memory unit of LSTM can effectively remember and utilize historical information to better model these long-term dependencies.

[0019] In summary, by considering the probability of node anomalies and the sampling frequency of the node and the sampling frequency of nodes close to the node, the sampling frequency can be reasonably adjusted. This can make the sampling of abnormal data more frequent, thereby capturing abnormal situations more timely, and more effectively monitoring and identifying abnormal situations, thereby improving the quality of data sampling.

[0020] In a second aspect, the present application also provides an automatic addressing data acquisition system for power acquisition, comprising a memory and a processor, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, an automatic addressing data acquisition method for power acquisition of the present application is implemented.

[0021] The beneficial effects are: the system brings multiple beneficial effects to power data collection, such as improved efficiency, enhanced security, and improved flexibility, and helps reduce the risks of address conflicts and data confusion, and improves the accuracy of power data collection. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-restrictive manner, and the same or corresponding numbers represent the same or corresponding parts.

[0023] Figure 1 It is a flowchart of the steps of a data collection method for automatic addressing for power collection in the present application;

[0024] Figure 2 It is a structural schematic diagram of an automatic addressing data acquisition system for power acquisition in the present application; DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0026] It should be understood that when the terms "first", "second", etc. are used in the claims, specification and drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0027] The present application embodiment discloses a data acquisition method for automatic addressing for power acquisition, which is used to improve the efficiency of sampling data in the power system. Figure 1 , steps S1 to S4 are as follows:

[0028] Step S1: Install sensors at corresponding positions in the power system, and the sensors are configured with an initial sampling frequency, and construct a position map of the sensors in a power grid topology based on the sensor installation positions, that is, the sensor installation positions represent the positions in the topology of the power grid, and in the power grid, define the topological positions of the sensors in the power grid as nodes, and use an automatic addressing algorithm to match the relevant information of each sensor.

[0029] Among them, the sensor is used to monitor key parameters such as current, voltage and power in real time. In order to ensure the correct location of the sampling equipment, an automatic addressing algorithm technology is used to assign a unique IP address to each sensor. The use of this technology ensures the unique identification of the sensor in the network and identifies the relevant information of the corresponding sensor. The relevant information includes: installation location, type (current sensor or voltage sensor), and type of sampled information (voltage, current and / or power). In this way, the location of each sensor can be accurately known, so it can be ensured that the data sampled by each sensor matches the expected monitoring point, thereby improving the accuracy and reliability of the data.

[0030] In one embodiment, the initial sampling frequency of the sensor may be set empirically.

[0031] In another embodiment, the initial sampling frequency may be calculated according to the information reflected by the power grid topology location diagram, including:

[0032] First, the connectivity of the node is calculated. The connectivity of the node is: the sum of the out-degree and in-degree of a node. The out-degree of the node is: the number of grids where a node is connected to other nodes through the grid where it is located in the forward direction, and the forward direction means that it is in line with the direction of current. The in-degree of the node is: the number of grids where a node is connected to other nodes through the grid where it is located in the reverse direction, and the reverse direction means that it is not in line with the direction of current.

[0033] Next, calculate the initial sampling frequency of the node:

[0034] ,in, represents the initial sampling frequency of power data of node i, represents the connectivity of node i, represents the normalized connectivity of node i, Indicates the preset maximum sampling frequency. Generally, Take 1-2kHz. The greater the connectivity of the node, the greater the initial sampling frequency of the node.

[0035] The normalization method is: Min-Max normalization, which linearly scales the data to a specified range [0, 1]. Min-Max normalization is an existing technology and will not be described in detail here.

[0036] Step S2: Calculate the intimacy between nodes according to the out-degree and in-degree of each node, wherein the intimacy represents the degree of association between the grid nodes where the sensors are located in the grid topology.

[0037] The following example is used to illustrate. For example, in one embodiment, the intimacy between node 1 and node 5 is calculated. There are two paths from node 1 to node 5: one is from node 1 to node 5, and the other is from node 1 to node 4 to node 5. The path refers to the route that node 1 can take to reach node 5 along the direction of the current.

[0038] First, calculate the intimacy on the path from node 1 to node 5, and the intimacy on the path from node 1 to node 4 to node 5.

[0039] The calculation method of the intimacy on the path from node 1 to node 5 is: the inverse of the product of the out-degree of node 1 and the in-degree of node 5. The out-degree of node 1 is 4, and the in-degree of node 5 is 2. The intimacy on the path from node 1 to node 5 is: , the calculation method of the intimacy on the path from node 1 to node 4 to node 5 is: the reciprocal of the product of node 1 out-degree and node 4 in-degree is multiplied by the reciprocal of the product of node 4 out-degree and node 5 in-degree. The out-degree of node 1 is 4, the out-degree of node 4 is 1, the in-degree of node 4 is 3, and the in-degree of node 5 is 2. The intimacy on the path from node 1 to node 4 to node 5 is: .

[0040] Next, calculate the intimacy from node 1 to node 5: sum the intimacy on the path from node 1 to node 5 and the intimacy on the path from node 1 to node 4 to node 5. The intimacy from node 1 to node 5 is: ,When there is no connecting path between nodes, the intimacy between nodes is 0.

[0041] step 3: Determine whether the data of each node is abnormal, and update the sampling frequency of each node according to the degree of abnormality.

[0042] In one embodiment, a pre-trained neural network model is used to determine the probability of abnormality of each node, and a new sampling frequency of the node is determined according to the probability of abnormality of the node and the sampling frequency of the node and the sampling frequency of the nodes close to the node. The specific calculation is as follows:

[0043] .

[0044] in, represents the sampling frequency after the update of the i-th node, represents the abnormal probability of the power data of node i after centralization, represents the initial sampling frequency of the i-th node, represents the intimacy between node i and node j, represents the abnormal probability of node j after the power data is centralized, It represents the initial sampling frequency of the jth node. The greater the abnormal probability of the node power data, the greater the sampling frequency of the node after update. The greater the intimacy with the abnormal node, the greater the sampling frequency of the node after update.

[0045] The following example is used to illustrate. For example, in one embodiment, the sampling frequency after the calculation node 1 is updated is: Represents the sampling frequency of node 1 after update, represents the abnormal probability of node 1 after power data is centralized, represents the initial sampling frequency of node 1, Represents the sum of the sampling frequency change values ​​of the nodes related to node 1 (correlation means that the intimacy is greater than 0, that is, there is a connection relationship).

[0046] Below Let's take an example:

[0047] , represents the sampling frequency change value of node 2, where, Indicates the intimacy between node 1 and node 2. Represents the abnormal probability of node 2 after power data is centralized, Represents the initial sampling frequency of node 2.

[0048] , represents the sampling frequency change value of node 3, where, Indicates the intimacy between node 1 and node 3. Represents the abnormal probability of node 3 after power data is centralized, Represents the initial sampling frequency of node 3.

[0049] , represents the sampling frequency change value of node 4, where, Indicates the intimacy between node 1 and node 4, Represents the abnormal probability of node 4 after power data is centralized, Represents the initial sampling frequency of node 4.

[0050] , represents the sampling frequency change value of node 5, where, Indicates the intimacy between node 1 and node 5, Represents the abnormal probability of node 5 after power data is centralized, represents the initial sampling frequency of node 5; but nodes 3 and 5 cannot reach node 1 through the direction of the current, so the intimacy is 0, so the sampling frequency of the change is also 0, so It is only necessary to calculate the sum of the change value of node 2 and the change value of node 4.

[0051] Among them, the pre-trained neural network model is: LSTM network model.

[0052] Furthermore, the method for pre-training the LSTM network model is as follows: prepare power data, including time series information of historical power data, decentralize the power data so that the mean of the data is close to zero to facilitate model training, and use historical power data to train the LSTM model. During the training process, adjust the parameters of the model by minimizing the loss function so that the model can better fit the historical data. Some optimization algorithms (for example, Adam or RMSprop) can also be used to accelerate the convergence process of the model.

[0053] step 4: Sampling is performed according to the updated sampling frequency to sample the power data in the power system.

[0054] The power data is sampled at an updated sampling frequency so that data can be monitored and sampled more frequently to ensure the stability of the power system. When the node data is normal or the abnormality is low, its sampling frequency can be reduced to reduce data redundancy, thereby saving power resource consumption and improving the overall efficiency of the system.

[0055] An automatic addressing data acquisition system embodiment for power acquisition:

[0056] The present invention also provides an automatic addressing data acquisition system for power collection. Figure 2 As shown, the automatic addressing data acquisition system for power acquisition includes a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the piston ring defect detection method according to the first aspect of the present invention is implemented.

[0057] The automatic addressing data acquisition system for power collection also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, whose settings and functions are known in the art and will not be described in detail here.

[0058] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0059] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.

[0060] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A data acquisition method for automatic addressing for power collection, characterized in that: include: Calculate the intimacy between the target sensor and other sensors in the grid nodes, where the intimacy represents the degree of association between the grid nodes where the sensors are located in the grid topology; Calculate the new sampling frequency: ; in, represents the sampling frequency after the update of the i-th node, represents the abnormal probability of the power data of node i after centralization, represents the initial sampling frequency of the i-th node, represents the intimacy between node i and node j, represents the abnormal probability of node j after the power data is centralized, represents the initial sampling frequency of the jth node, It represents the sum of the sampling frequency change values ​​of nodes related to node i. Correlation means that the intimacy is greater than 0, that is, there is a connection relationship; Sampling is performed according to the new sampling frequency to sample power data in the power system.

2. The automatic addressing data acquisition method for power collection according to claim 1, characterized in that: The power data includes: current, voltage and power.

3. The automatic addressing data acquisition method for power acquisition according to claim 2, characterized in that: The calculation method of intimacy is: Determine the path between two nodes; For each path, calculate the closeness of the corresponding path; The intimacy between two nodes is obtained by summing the intimacy on the path between the two nodes.

4. The automatic addressing data acquisition method for power acquisition according to claim 2, characterized in that: The abnormal probability acquisition method is: inputting the relevant data obtained by node sampling into a pre-trained neural network model to output the abnormal probability of the node data.

5. The automatic addressing data acquisition method for power acquisition according to claim 1, characterized in that: Also includes: An initial sampling frequency of the sensor is calculated, where the initial sampling frequency is equal to the product of the maximum sampling frequency and a weight coefficient, where the weight coefficient represents the importance of the node in the power grid topology.

6. The automatic addressing data acquisition method for power acquisition according to claim 5, characterized in that: The weight coefficient is obtained by normalizing the connectivity of the node; the connectivity is the sum of the out-degree and in-degree of the node, the out-degree of the node is: the number of grids where a node is forwardly connected to other nodes through the grid where the node is located, and the forward direction means that it is in accordance with the direction of current; the in-degree of the node is: the number of grids where a node is reversely connected to other nodes through the grid where the node is located, and the reverse direction means that it is not in accordance with the direction of current.

7. The automatic addressing data acquisition method for power acquisition according to claim 1, characterized in that: Also includes: The network address is assigned to the sensor by automatic addressing to match the relevant information, which includes: installation location, type and sampled information type.

8. The automatic addressing data acquisition method for power acquisition according to claim 4, characterized in that: The prediction model is the LSTM network model.

9. An automatic addressing data acquisition system for power acquisition, comprising a memory and a processor, wherein the memory stores computer program instructions, characterized in that: When the computer program instructions are executed by the processor, an automatic addressing data acquisition method for power acquisition as described in any one of claims 1 to 8 is implemented.