Data acquisition monitoring system and method for microgrid energy management, and storage medium

By using edge computing technology in the microgrid for data acquisition and processing, the problem of unintelligent microgrid equipment management in the existing technology is solved, real-time monitoring and regulation of equipment is realized, and electricity consumption costs are reduced.

CN119891533APending Publication Date: 2025-04-25SUZHOU EPOWER CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411920264.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve intelligent management of source, grid, load and storage equipment in microgrids, resulting in waste of energy and high electricity costs.

Method used

Edge computing technology is used to deploy on local nodes close to the data source, and data from microgrid equipment is collected and processed in real time through the data acquisition monitoring system, and instructions are issued for control according to the set control rules.

Benefits of technology

Real-time monitoring and regulation of microgrid equipment is realized, data transmission delay is reduced, system response speed and stability is improved, and power consumption costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119891533A_ABST
    Figure CN119891533A_ABST
Patent Text Reader

Abstract

The invention discloses a data acquisition and monitoring method and device for micro-grid energy management and a storage medium, and the method comprises the following steps: data acquisition and monitoring: collecting one or more types of original data information; according to a set instruction rule, the original data information of data acquisition monitoring is obtained according to an instruction, and edge data calculation processing is carried out; and according to an edge calculation result, issuing an instruction to a control device to realize control of the micro-grid. The computing resources are deployed on the local nodes close to the data source through the edge computing technology, data transmission delay is reduced, real-time monitoring, regulation and control of source, network, load and storage equipment are achieved, and it is ensured that the micro-grid responds in time under the condition of rapid change. The edge computing technology of the system also realizes intelligent analysis and scheduling locally, the dependence on a remote server is reduced through localization processing, the system can still run stably even if the network is interrupted, and the stability of the system is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart microgrids, and in particular to a data acquisition and monitoring system, method and storage medium for microgrid energy management. Background Art

[0002] Microgrid is a small power generation and distribution system composed of distributed power generation devices (such as distributed photovoltaic and wind power), power loads (such as production power and charging pile power), power grid power supply, distributed energy storage devices (hereinafter referred to as "source, grid, load and storage"), energy conversion devices, and monitoring and protection devices. The system has the ability to reduce electricity costs and improve economic benefits, and is an autonomous regional power system.

[0003] Energy costs for Chinese companies account for about 15% of total production costs. Some companies have reduced electricity costs by installing distributed photovoltaic power generation systems and matching them with energy storage equipment. They have the conditions for operating regional microgrids and have generated a demand for intelligent optimization of microgrid operations. However, the vast majority of companies have not yet achieved intelligent management of sources, networks, loads, and storage, resulting in energy waste and low efficiency, and there is still huge room for optimization of electricity costs. The market urgently needs a microgrid management system based on digitalization and intelligence to automatically and dynamically coordinate sources, networks, loads, and storage to achieve the goal of minimizing corporate electricity costs.

[0004] CN117237031A discloses a method and device for intelligently guiding regional energy consumption based on heuristic multi-objective optimization, the method and device comprising: constructing a multi-objective multi-energy collaborative control model for microgrids, deploying energy consumption and energy storage sensing modules on each type of microgrid for each user, collecting real-time data on the generation and storage of various types of energy, using a fusion cooperative collaborative evolution method, a multi-population dynamic reorganization method, and an asynchronous parallel optimization method to solve the multi-objective multi-energy collaborative control model for microgrids, and outputting the optimal price allocation that meets the current constraints and objectives. The present invention supports the power grid to perform price guidance and intelligent microgrid control to avoid the problem of the model falling into local optimality too early, and supports the power grid to perform price guidance and intelligent microgrid control. Among them, the data acquisition unit 202 is used to deploy energy consumption and energy storage sensing modules on each type of microgrid for each user, and collect real-time data on the generation and storage of various types of energy. The unit has a single function and cannot meet the control optimization requirements of the intelligent microgrid. Summary of the invention

[0005] In order to solve the above problems of the prior art solutions, the present invention proposes a data acquisition method, system and storage medium for microgrid energy management to solve the above technical problems.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a data acquisition and monitoring method for microgrid energy management, comprising the following steps:

[0007] S1, data collection and monitoring, collecting but not limited to one or more raw data information including electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume;

[0008] S2, according to the set instruction rules, the above raw data information of data collection and monitoring is obtained according to the instructions, and processed by edge data calculation;

[0009] S3, based on the edge computing results, sends instructions to the control device according to the set control rules to control the microgrid.

[0010] Furthermore, the edge data calculation and processing is performed by an edge data calculation and processing module that is configured closest to the corresponding original data information source device.

[0011] Furthermore, the edge computing: is used to issue or delete all or part of the edge computing instructions of the device; wherein all issuance refers to issuing all the collection instructions of the connected devices at one time, such as multiple meters and multiple instructions for each meter; all deletion refers to deleting all the issued instructions and exiting the polling state; partial issuance refers to additionally issuing instructions for one or more devices, adding them to the edge computing polling queue, merging the returned data into a package and uploading them; partial deletion refers to deleting the instructions of one or more devices from the edge computing polling queue without affecting the polling execution of instructions of other devices.

[0012] Furthermore, the edge computing processing instruction is always valid until the instruction is deleted, and in S2, the following steps are also included:

[0013] Set a unique DTU number for each raw information data source, set the queryFreqSeconds polling time, set the polling interval to issue data information collection commands according to the needs, and obtain the raw data information described in S1;

[0014] When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry;

[0015] If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent.

[0016] cmdPollInterval is in milliseconds. This parameter is the waiting time after the DTU sends the meter command and receives a response. The default value is 0, which means that the next command will be sent immediately without waiting. Among them, num is the DTU number and is a unique value;

[0017] Furthermore, in S2, the devs array corresponding to each original information data source is set, and the original information data source response number sum is detected according to the set rule;

[0018] When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array;

[0019] When sum=-1, only the collection control parameters (queryFreqSeconds, cmdTimeOutSeconds, cmdQueryMaxCount, cmdPollInterval) are updated, and the original information data (such as electricity meter) collection command is not updated;

[0020] When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received;

[0021] The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

[0022] Furthermore, in S2, the code for collecting configuration commands is:

[0023]

[0024]

[0025] Furthermore, in S2, the following steps are also included: transparent transmission commands are issued, and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, and then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting for response state.

[0026]

[0027] Furthermore, in S2, the following steps are also included: collecting data response reports, collecting all the data of the original information data source (such as an electric meter) connected to one or more DTUs, and then packaging and sending them to the server (mqtt server), wherein the data includes but is not limited to one or more of the following type values:

[0028] Real, real-time reporting data collected by edge polling;

[0029] H i story, historical data collected by edge polling, is reported as historical data after the network is connected if real-time reporting fails;

[0030] Change, report changes in collected values;

[0031] cmdResponse; reports data after issuing a command.

[0032] Furthermore, the instruction code for the data collection response report is:

[0033]

[0034]

[0035] The present invention also provides a data acquisition and monitoring device for microgrid energy management, comprising:

[0036] Data acquisition and monitoring device, collecting one or more raw data information including but not limited to electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume;

[0037] The edge data calculation and processing device obtains the above raw data information of data collection and monitoring according to the set instruction rules and performs edge data calculation and processing;

[0038] Based on the edge computing results, the server sends instructions to the control device according to the set control rules to control the microgrid.

[0039] The data acquisition and monitoring device includes: an RS485 or RS232 interface for connecting to the original information data source, the original information data source includes but is not limited to one or more of an electric meter, an inverter, a thermometer and hygrometer, a flow meter, a pressure transmitter, and a water meter, and collects but is not limited to one or more parameter data of electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume and uploads it to a server.

[0040] Furthermore, the edge data computing and processing device includes an edge cluster, which includes several edge data computing modules for receiving the original data information uploaded by the data acquisition and monitoring device, and uploading it to the server after being calculated and processed by the edge data computing module. The server sends instructions to the corresponding control device to realize the control of the microgrid.

[0041] The server is a private MQTT server.

[0042] Furthermore, the edge data computing and processing device performs computing and processing by an edge data computing and processing module that is configured closest to the corresponding original data information source device.

[0043] Furthermore, the edge computing of the edge data computing and processing device is used to issue or delete all or part of the edge computing instructions of the device; wherein all issuance refers to issuing all collection instructions of the connected devices at one time, such as multiple electricity meters and multiple instructions for each electricity meter; all deletion refers to deleting all the issued instructions and exiting the polling state; partial issuance refers to additionally issuing instructions for one or more devices, adding them to the edge computing polling queue, and merging the returned data into a package for uploading; partial deletion refers to deleting instructions for one or more devices from the edge computing polling queue without affecting the polling execution of instructions for other devices.

[0044] Furthermore, the edge computing processing instruction issued by the edge computing processing device is valid until the instruction is deleted, and during the processing, a unique DTU number is set for each original information data source, and the queryFreqSeconds polling time is set. The polling interval is set to issue a data information collection command according to the need to obtain the original data information described in S1;

[0045] When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry;

[0046] If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent.

[0047] cmdPollInterval is in milliseconds. This parameter is the waiting time after the DTU sends the meter command and receives a response. The default value is 0, which means that the next command will be sent immediately without waiting. Among them, num is the DTU number and is a unique value;

[0048] Further, the edge computing processing device sets the devs array corresponding to each original information data source, and detects the original information data source response number sum according to the set rules;

[0049] When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array;

[0050] When sum=-1, only the collection control parameters (queryFreqSeconds, cmdTimeOutSeconds, cmdQueryMaxCount, cmdPollInterval) are updated, and the original information data (such as electricity meter) collection command is not updated;

[0051] When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received;

[0052] The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

[0053] Furthermore, the code for collecting and configuring the command issued by the edge computing processing device is:

[0054]

[0055]

[0056] Furthermore, in S2, the following steps are also included: transparent transmission commands are issued, and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, and then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting for response state.

[0057]

[0058] Furthermore, the edge computing processing device also includes reporting the collected data response, and after all the data of the original information data source (such as an electric meter) connected to one or more DTUs are collected, they are packaged and sent to the server (mqtt server), and the data includes but is not limited to one or more of the following type values:

[0059] Real, real-time reporting data collected by edge polling;

[0060] H i story, historical data collected by edge polling, is reported as historical data after the network is connected if real-time reporting fails;

[0061] Change, report changes in collected values;

[0062] cmdResponse; reports data after issuing a command.

[0063] Furthermore, the instruction code for the edge computing processing device to collect data response and report is:

[0064]

[0065] The present invention also provides a computer-readable storage medium containing a computer program, which, when executed by one or more processors, implements any of the above-mentioned data acquisition and monitoring methods for microgrid energy management.

[0066] The present invention has the following advantages: the system deploys computing resources on local nodes close to the data source through edge computing technology, reduces data transmission delays, realizes real-time monitoring and regulation of source, network, load, and storage equipment, and ensures that the microgrid responds promptly under rapidly changing conditions. The distributed processing mode enables a large amount of data to be preliminarily analyzed locally, reduces transmission pressure, and improves the overall execution response time of the system. The system's edge computing technology also realizes intelligent analysis and scheduling locally, reduces dependence on remote servers through localized processing, and even if the network is interrupted, the system can still operate stably, enhancing the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 Schematic diagram of edge computing technology of a smart microgrid energy management system (i MGEMS) of the present invention.

[0068] Figure 2 This is a topological diagram of a microgrid implementation of the present invention. DETAILED DESCRIPTION

[0069] 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.

[0070] like Figure 1 As shown, a data collection and monitoring method for microgrid energy management includes the following steps:

[0071] S1, data collection and monitoring, collecting but not limited to one or more raw data information including electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume;

[0072] S2, according to the set instruction rules, the above raw data information of data collection and monitoring is obtained according to the instructions, and processed by edge data calculation;

[0073] S3, based on the edge computing results, sends instructions to the control device according to the set control rules to control the microgrid.

[0074] The edge data calculation and processing is performed by an edge data calculation and processing module configured closest to the corresponding original data information source device.

[0075] The edge computing is used to issue or delete all or part of the edge computing instructions of the device; issuing all means issuing all the collection instructions of the connected devices at one time, such as multiple meters and multiple instructions for each meter; deleting all means deleting all the issued instructions and exiting the polling state; issuing partly means adding instructions for one or more devices, adding them to the edge computing polling queue, merging the returned data and packaging them for uploading; deleting partly means deleting the instructions of one or more devices from the edge computing polling queue without affecting the polling execution of instructions of other devices.

[0076] The edge computing processing instruction is valid until the instruction is deleted. In S2, the following steps are also included:

[0077] Set a unique DTU number for each raw information data source, set the queryFreqSeconds polling time, set the polling interval to issue data information collection commands according to the needs, and obtain the raw data information described in S1;

[0078] When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry;

[0079] If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent.

[0080] cmdPollInterval is in milliseconds. This parameter is the waiting time after the DTU sends the meter command and receives a response. The default value is 0, which means that the next command will be sent immediately without waiting. Among them, num is the DTU number and is a unique value;

[0081] In S2, the devs array corresponding to each original information data source is set, and the sum of responses of the original information data source is detected according to the set rules;

[0082] When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array;

[0083] When sum=-1, only the collection control parameters (queryFreqSeconds, cmdTimeOutSeconds, cmdQueryMaxCount, cmdPollInterval) are updated, and the original information data (such as electricity meter) collection command is not updated;

[0084] When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received;

[0085] The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

[0086] In S2, the code for collecting configuration commands can be:

[0087]

[0088]

[0089] In S2, the following steps are also included: transparent transmission commands are issued and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting response state.

[0090]

[0091] In S2, the following steps are also included: collecting data response reports, collecting all the data of the original information data source (such as an electric meter) connected to one or more DTUs, and then packaging and sending them to the server (mqtt server), wherein the data includes but is not limited to one or more of the following type values:

[0092] Real, real-time reporting data collected by edge polling;

[0093] H i story, historical data collected by edge polling, is reported as historical data after the network is connected if real-time reporting fails;

[0094] Change, report changes in collected values;

[0095] cmdResponse; reports data after issuing a command.

[0096] Furthermore, the instruction code for the data collection response report is:

[0097]

[0098] like Figure 1 As shown, the present invention also provides a data acquisition and monitoring device for microgrid energy management, comprising:

[0099] Data acquisition and monitoring device, which is used in Figure 1 The industrial scenarios and corresponding sensor groups shown collect one or more raw data information including but not limited to electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume;

[0100] Edge data computing and processing device, including Figure 1 The edge cluster shown in the figure obtains the above raw data information of data collection and monitoring according to the set instruction rules and the edge data is calculated and processed;

[0101] Based on the edge computing results, the server sends instructions to the control device according to the set control rules to control the microgrid.

[0102] The data acquisition and monitoring device includes: an RS485 or RS232 interface for connecting to the original information data source, the original information data source includes but is not limited to one or more of an electric meter, an inverter, a thermometer and hygrometer, a flow meter, a pressure transmitter, and a water meter, and collects but is not limited to one or more parameter data of electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume and uploads it to a server.

[0103] The edge data computing and processing device includes an edge cluster, which includes several edge data computing modules. These modules are arranged near the corresponding original information data source and are used to receive the original data information uploaded by the data acquisition and monitoring device. After being calculated and processed by the edge data computing module, the original data information is uploaded to the server. The server sends instructions to the corresponding control device to realize the control of the microgrid.

[0104] The server can use a private MQTT server.

[0105] The edge data calculation and processing device performs calculation and processing by an edge data calculation and processing module configured closest to the corresponding original data information source device.

[0106] The edge computing of the edge data computing and processing device is used to issue or delete all or part of the edge computing instructions of the device; wherein all issuance refers to issuing all the collection instructions of the connected devices at one time, such as multiple electricity meters and multiple instructions for each electricity meter; all deletion refers to deleting all the issued instructions and exiting the polling state; partial issuance refers to additionally issuing instructions for one or more devices, adding them to the edge computing polling queue, and merging the returned data for packaging and uploading; partial deletion refers to deleting the instructions of one or more devices from the edge computing polling queue without affecting the polling execution of instructions of other devices.

[0107] The edge computing processing instruction issued by the edge computing processing device is valid until the instruction is deleted. During the processing, a unique DTU number is set for each original information data source, and the queryFreqSeconds polling time is set. The polling interval is set to issue a data information collection command according to the need to obtain the original data information described in S1.

[0108] When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry;

[0109] If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent.

[0110] cmdPollInterval is in milliseconds. This parameter is the waiting time after the DTU sends the meter command and receives a response. The default value is 0, which means that the next command will be sent immediately without waiting. Among them, num is the DTU number and is a unique value;

[0111] The edge computing processing device sets the devs array corresponding to each original information data source, and detects the original information data source response number sum according to the set rules;

[0112] When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array;

[0113] When sum=-1, only the collection control parameters (queryFreqSeconds, cmdTimeOutSeconds, cmdQueryMaxCount, cmdPollInterval) are updated, and the original information data (such as electricity meter) collection command is not updated;

[0114] When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received;

[0115] The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

[0116] The code for collecting configuration and issuing commands in the edge computing processing device may be:

[0117]

[0118] In S2, the following steps are also included: transparent transmission commands are issued, and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, and then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting response state. The command code can be:

[0119]

[0120] The edge computing processing device also includes reporting the collected data response, and after all the data of the original information data source (such as an electric meter) connected to one or more DTUs are collected, they are packaged and sent to the server (mqtt server), and the data includes but is not limited to one or more of the following type values:

[0121] Real, real-time reporting data collected by edge polling;

[0122] H i story, historical data collected by edge polling, is reported as historical data after the network is connected if real-time reporting fails;

[0123] Change, report changes in collected values;

[0124] cmdResponse; reports data after issuing a command.

[0125] The instruction code for the edge computing processing device to collect data and respond to the report can be:

[0126]

[0127]

[0128] The above codes are only examples in some embodiments and can be adjusted accordingly according to actual needs.

[0129] Taking a precision factory as an example, the microgrid implementation topology of the factory is as follows: Figure 2 As shown. Among them, P1 is the real-time total power of the two energy storage devices, P2 is the real-time total power of the two inverters, and P3 is the real-time total power of the factory power load. The working principle of the microgrid is:

[0130] 1. The cloud platform sends the total meter power, energy storage power, and inverter power collection instructions to the edge gateway;

[0131] 2. After receiving the command, the gateway collects data at a frequency of one time per second, stores it locally and reports the data to the cloud platform;

[0132] 3. Cloud platform dynamically calculates and allocates collaborative strategies for photovoltaic power generation, energy storage, and electricity load.

[0133] The details are as follows:

[0134] First, we define the decision variables, decision variables and set constraints, establish the objective function, and quantitatively simulate the microgrid optimization scheduling problem with multiple constraints:

[0135] The objective function is the optimization goal under different energy management strategies, such as minimizing electricity costs, smoothing fluctuations, and orderly charging.

[0136] The decision variables are the unknown variables that need to be solved, that is, the coordination strategy of each device at each moment, such as the charging and discharging capacity of energy storage.

[0137] The constraints are load demand restrictions, the output of the equipment at each moment should meet the power load demand; equipment limitations, such as energy storage constraints to prevent overcharging and over-discharging, climbing constraints, etc.

[0138] Import prediction variables. The characteristics of the source, network, load, and storage in the next period of time are obtained based on the time series prediction algorithm of the long short-term memory network of energy data, such as photovoltaic power generation and load power consumption, real-time electricity prices, and related parameters of each device, such as the rated capacity of energy storage.

[0139] Run the exact algorithm of mixed integer programming / discrete optimization to find the feasible domain of all solutions that satisfy the constraints. The solution that makes the objective function reach the optimal value in the feasible domain is the decision variable for model optimization.

[0140] 4. Prevent reverse Internet access control:

[0141] Set the total forward power of the power load to P 3-1 , the total reverse power of the power load is P 3-2 , the energy storage charging power is P 1-1 , the energy storage discharge power is P 1-2The principle is to monitor P1, P2, and P3 in real time through the gateway device, and continuously adjust the power of photovoltaic and energy storage to ensure that the reverse power is 0.

[0142] Then: When P 3-1 >P 1-2 At +P2, the system uses an algorithm to send energy storage power adjustment instructions from the gateway to the energy storage device to reduce the charging power of the energy storage;

[0143] When P 3-1 >P2-P 1-1 When the power is off, the gateway device sends an inverter adjustment instruction to reduce the power generation;

[0144] When P 3-2 >0, the gateway sends power reduction instructions to the PV inverter and energy storage at the same time until P 3-2 <0.

[0145] The present invention also provides a computer-readable storage medium containing a computer program, which, when executed by one or more processors, implements any of the above-mentioned data acquisition and monitoring methods for microgrid energy management.

[0146] The present invention has the following advantages: the system deploys computing resources on local nodes close to the data source through edge computing technology, reduces data transmission delays, realizes real-time monitoring and regulation of source, network, load, and storage equipment, and ensures that the microgrid responds promptly under rapidly changing conditions. The distributed processing mode enables a large amount of data to be preliminarily analyzed locally, reduces transmission pressure, and improves the overall execution response time of the system. The system's edge computing technology also realizes intelligent analysis and scheduling locally, reduces dependence on remote servers through localized processing, and even if the network is interrupted, the system can still operate stably, enhancing the stability of the system.

[0147] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A data acquisition and monitoring method for microgrid energy management, characterized in that: The following steps are involved: S1, data collection and monitoring, collecting but not limited to one or more raw data information including electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume; S2, according to the set instruction rules, the above raw data information of data collection and monitoring is obtained according to the instructions, and processed by edge data calculation; S3, based on the edge computing results, sends instructions to the control device according to the set control rules to control the microgrid.

2. The data acquisition and monitoring method for microgrid energy management according to claim 1 is characterized in that: The edge data calculation and processing is performed by an edge data calculation and processing module configured closest to the corresponding original data information source device.

3. The data acquisition and monitoring method for microgrid energy management according to claim 2 is characterized in that: The edge computing is used to issue or delete all or part of the edge computing instructions of the device; wherein all the instructions are issued at one time, and all the instructions are deleted, and the polling state is exited; Partial issuance refers to the additional issuance of instructions for one or more devices, adding them to the edge computing polling queue, merging the returned data into a package and uploading them; partial deletion refers to the deletion of instructions for one or more devices from the edge computing polling queue without affecting the polling execution of instructions for other devices.

4. The data acquisition and monitoring method for microgrid energy management according to claim 3 is characterized in that: The edge computing processing instruction is valid until the instruction is deleted. In S2, the following steps are also included: Set a unique DTU number for each raw information data source, set the queryFreqSeconds polling time, set the polling interval to issue data information collection commands according to the needs, and obtain the raw data information described in S1; When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry; If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent.

5. The data acquisition and monitoring method for microgrid energy management according to claim 4 is characterized in that: In S2, the devs array corresponding to each original information data source is set, and the sum of responses of the original information data source is detected according to the set rules; When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array; When sum=-1, only the acquisition control parameters (queryFreqSeconds, cmdTimeOutSeconds, cmdQueryMaxCount, cmdPollInterval) are updated, and the original information data (such as electricity meter) acquisition command is not updated; When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received; The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

6. The data acquisition and monitoring method for microgrid energy management according to claim 5, characterized in that: In S2, the code for collecting configuration commands is:

7. The data acquisition and monitoring method for microgrid energy management according to any one of claims 4 to 6, characterized in that: In S2, the following steps are also included: transparent transmission commands are issued and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting response state.

8. The data acquisition and monitoring method for microgrid energy management according to any one of claims 4 to 6, characterized in that: In S2, the following steps are also included: collecting data response reports, collecting all the data of the original information data source (such as an electric meter) connected to one or more DTUs, and then packaging and sending them to the server (mqtt server), wherein the data includes but is not limited to one or more of the following type values: Real, real-time reporting data collected by edge polling; History: historical data collected by edge polling. If real-time reporting fails, it will be reported as historical data after the network is connected. Change, report changes in collected values; cmdResponse; reports data after issuing a command.

9. The data acquisition and monitoring method for microgrid energy management according to claim 8, characterized in that: The instruction code for the data collection response report is:

10. A data acquisition and monitoring device for microgrid energy management, characterized in that: include: Data acquisition and monitoring device, collecting one or more raw data information including but not limited to electricity, current, voltage, power, temperature, humidity, flow, pressure, and water volume; The edge data calculation and processing device obtains the above raw data information of data collection and monitoring according to the set instruction rules and performs edge data calculation and processing; Based on the edge computing results, the server sends instructions to the control device according to the set control rules to control the microgrid.

11. The data acquisition and monitoring device for microgrid energy management according to claim 10, characterized in that: The edge data computing and processing device includes an edge cluster, which includes several edge data computing modules, which are used to receive the original data information uploaded by the data acquisition and monitoring device, and upload it to the server after being calculated and processed by the edge data computing module. The server sends instructions to the corresponding control device to realize the control of the microgrid.

12. The data acquisition and monitoring device for microgrid energy management according to claim 10, characterized in that: The edge data calculation and processing device performs calculation and processing by an edge data calculation and processing module configured closest to the corresponding original data information source device.

13. The data acquisition and monitoring device for microgrid energy management according to claim 12, characterized in that: The edge computing of the edge data computing and processing device is used to issue or delete all or part of the device edge computing instructions; wherein all issuance refers to issuing all the collection instructions of the connected devices at one time, such as multiple meters and multiple instructions for each meter; all deletion refers to deleting all the issued instructions and exiting the polling state; Partial issuance refers to the additional issuance of instructions for one or more devices, adding them to the edge computing polling queue, merging the returned data into a package and uploading them; partial deletion refers to the deletion of instructions for one or more devices from the edge computing polling queue without affecting the polling execution of instructions for other devices.

14. The data acquisition and monitoring device for microgrid energy management according to claim 13, characterized in that: The edge computing processing instruction issued by the edge computing processing device is valid until the instruction is deleted. During the processing, a unique DTU number is set for each original information data source, and the queryFreqSeconds polling time is set. The polling interval is set to issue a data information collection command according to the need to obtain the original data information described in S1. When a single command times out (cmdTimeOutSeconds), that is, if the corresponding original information data source (such as an electric meter) is not received after the command is issued, the collection command is sent again for a timeout retry; If the number of timeout retries reaches the maximum value cmdQueryMaxCount and no response data is received, the command will no longer be sent. The unit of cmdPollInterval is milliseconds. This parameter is the waiting time after the DTU sends the meter command and receives the response. The default value is 0, which means that there is no need to wait and the next command is sent immediately. Among them, num is the DTU number and it is a unique value.

15. The data acquisition and monitoring device for microgrid energy management according to claim 14, characterized in that: The edge computing processing device sets the devs array corresponding to each original information data source, and detects the original information data source response number sum according to the set rules; When sum>0, it means the number of corresponding original information data sources (such as the number of electricity meters) is consistent with the number of devs array; When sum = -1, only update the acquisition control parameters (queryFreqSeconds,cmdTimeOutSeconds,cmdQueryMaxCount,cmdPollInterval), does not update the original information data (such as electricity meter) collection command; When sum=-2, only the acquisition control parameters are updated, the corresponding acquisition commands are cleared, and the number of the corresponding original information data source (such as the electric meter) is set to 0. The corresponding DTU will stop polling until new electric meter data is received; The devs array includes the acquisition commands of each original information data source, and address is set to the address number of the corresponding original information data source (such as an electricity meter). The cmds is set to be the acquisition binary command list of the specified original information data source (such as an electricity meter).

16. The data acquisition and monitoring device for microgrid energy management according to claim 15, characterized in that: The code for collecting configuration and issuing commands in the edge computing processing device is:

17. The data acquisition and monitoring device for microgrid energy management according to any one of claims 14 to 16, characterized in that: In S2, the following steps are also included: transparent transmission commands are issued and the priority of the transparent transmission commands is set to the highest. When the DTU receives the transparent transmission command from the original information data source (such as the electricity meter), it immediately terminates the current polling task, then sends a transparent transmission command to the original information data source (such as the electricity meter), and enters the waiting response state.

18. The data acquisition and monitoring device for microgrid energy management according to any one of claims 14 to 16, characterized in that: The edge computing processing device also includes reporting the collected data response, and after all the data of the original information data source (such as an electric meter) connected to one or more DTUs are collected, they are packaged and sent to the server (mqtt server), and the data includes but is not limited to one or more of the following type values: Real, real-time reporting data collected by edge polling; History: historical data collected by edge polling. If real-time reporting fails, it will be reported as historical data after the network is connected. Change, report changes in collected values; cmdResponse; reports data after issuing a command.

19. The data acquisition and monitoring device for microgrid energy management according to claim 18, characterized in that: The instruction code for the edge computing processing device to collect data and respond to reports is:

20. A computer-readable storage medium containing a computer program, characterized in that When the computer program is executed by one or more processors, the data collection and monitoring method for microgrid energy management described in any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Regional energy consumption intelligent guiding method and device based on heuristic multi-objective optimization

    CN117237031A