A distributed energy storage intelligent management method and system of a micro-grid

By identifying and generating unique protocol identifiers for energy storage devices, constructing communication routing tables, and setting channel priorities, the interoperability problem of different communication protocols in microgrids is solved, and efficient collaborative response of energy storage devices is achieved.

CN120546295BActive Publication Date: 2025-12-05ZHEJIANG COMM SERVICES
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511025733.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2025-12-05
Estimated Expiration
2045-07-24

AI Technical Summary

Technical Problem

In microgrid systems, energy storage devices from different manufacturers or of different types use different communication protocols, which leads to communication barriers and makes it difficult to achieve unified scheduling and efficient interoperability. Existing technologies rely on additional hardware support and have poor scalability, making it difficult to meet the requirements of real-time performance and flexibility.

Method used

Adopting a modular design, a unique protocol identifier is generated by identifying the communication protocol type of the energy storage device, a communication routing table based on the identifier is established, channel priorities and dynamic scheduling sequences are set, and cross-protocol collaborative response is achieved. This includes modules for encoding generation, network partitioning, priority configuration and scheduling sequence generation.

Benefits of technology

No additional protocol conversion device is required, which improves system interoperability, flexibility and response speed, and enables efficient collaboration of energy storage devices in heterogeneous communication protocol environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120546295B_ABST
    Figure CN120546295B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of energy storage intelligent management, and particularly relates to a micro-grid distributed energy storage intelligent management method and system, which identifies the communication protocol type of each energy storage device and generates a corresponding protocol identification code; establishes a communication routing table based on the protocol identification code, classifies the energy storage devices into a network according to the protocol; selects a unified transmission channel according to the network structure, sets the priority order of the channel; allocates data interaction time slots according to the priority of the channel, and generates a dynamic scheduling sequence; controls the action of the energy storage device according to the scheduling sequence, realizes cross-protocol collaborative response, and realizes efficient collaborative response between cross-protocol devices. This method does not need to rely on additional protocol conversion devices, improves the system interoperability, flexibility and response speed, and effectively solves the technical problem that energy storage devices are difficult to efficiently collaborate in a heterogeneous communication protocol environment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of energy storage intelligent management, and particularly relates to a distributed energy storage intelligent management method and system for a micro-grid. BACKGROUND

[0002] In a micro-grid system, the collaborative management of distributed energy storage devices is of great significance to improving energy scheduling efficiency and system stability. However, in actual applications, different manufacturers or types of energy storage devices usually adopt different communication protocols, such as Modbus, CAN, MQTT, etc., resulting in communication barriers between devices and making it difficult to achieve unified scheduling and efficient interoperation.

[0003] In the prior art, a protocol conversion gateway or a unified communication middleware is usually used to realize the interconnection between heterogeneous protocol devices. Although such methods can realize data interconnection to a certain extent, they often rely on additional hardware support, have high deployment complexity, poor scalability, and are difficult to dynamically adapt to changing network environments and device access conditions. In addition, traditional centralized scheduling mechanisms also cannot meet the real-time and flexibility requirements of distributed energy storage systems. SUMMARY

[0004] The purpose of the present application is to provide a distributed energy storage intelligent management method and system for a micro-grid, which does not rely on additional protocol conversion devices, improves system interoperability, flexibility and response speed, and effectively solves the technical problem of difficulty in efficient collaboration of energy storage devices in a heterogeneous communication protocol environment.

[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solution: a distributed energy storage intelligent management method for a micro-grid, which adopts modular design to improve the flexibility and scalability of the distributed energy storage intelligent management system, realizes local control and global optimization between the distributed energy storage intelligent management system and the micro-grid through hierarchical control, and establishes a real-time monitoring system to collect system operation data and provide feedback for the optimization of the distributed energy storage intelligent management system, including the following steps:

[0006] Identify the communication protocol type of each energy storage device and generate a corresponding protocol identification code; establish a communication routing table based on the protocol identification code to network the energy storage devices by protocol classification; select a unified transmission channel according to the network structure and set the priority order of the channel; allocate data interaction time slots according to the priority of the channel and generate a dynamic scheduling sequence; control the action of the energy storage device according to the scheduling sequence to realize cross-protocol collaborative response.

[0007] Preferably, identifying the communication protocol type of each energy storage device and generating a corresponding protocol identification code comprises:

[0008] Detecting the initial handshake signal when the energy storage device is connected, extracting the signal waveform features;

[0009] The waveform features are compared with pre-stored feature templates, similarity values are calculated, and the protocol type corresponding to the maximum similarity is selected as the recognition result;

[0010] A unique protocol identification code is generated according to the recognition result, and the identification code is composed of a protocol type code and a device address.

[0011] Preferably, the initial handshake signal when the energy storage device is accessed is detected, and the signal waveform features are extracted, including:

[0012] The signal capture unit is started at the moment of device access to obtain the original handshake waveform, and the original handshake waveform is normalized to obtain a standardized waveform;

[0013] The data segment in the first duration of the standardized waveform is intercepted as a feature segment;

[0014] The energy density distribution of the feature segment is calculated, and the square of the standardized waveform value is added and multiplied by the sampling interval as the waveform feature parameter.

[0015] Preferably, a unique protocol identification code is generated according to the recognition result, including:

[0016] The protocol type code is extracted from the recognition result, and the protocol type code is a pre-set binary string;

[0017] The physical address of the access device is read, and the protocol type code and the physical address are spliced bit by bit to generate a combined field;

[0018] The XOR check operation is performed on the combined field to generate a check code, and the combined field and the check code are spliced to form a complete protocol identification code by XORing all bit data in the combined field in sequence.

[0019] Preferably, a communication routing table based on the protocol identification code is established, and the energy storage devices are classified and networked according to the protocol, including:

[0020] The protocol identification codes of all access devices are collected and arranged in the order of access nodes;

[0021] The protocol type code segment in each identification code is extracted as the classification basis;

[0022] Devices with the same protocol type code are classified into one category, and a protocol grouping set is constructed, which contains devices with matching device number and protocol type;

[0023] For each protocol grouping, a corresponding communication routing path is generated.

[0024] Preferably, the uniform transmission channel is selected according to the networking structure, and the channel priority order is set, including:

[0025] The number of devices in each protocol packet is counted, and the channel load index is calculated in combination with the total weight of the communication routing path in the protocol packet;

[0026] The protocol packets are sorted according to the channel load index, and the high-bandwidth channel is preferentially allocated to the group with a high index;

[0027] Each protocol packet is allocated a corresponding transmission channel number, and a mapping relationship between the channel number and the physical transmission link is established;

[0028] The priority sequence is generated according to the channel number, which is used for subsequent data scheduling timing control.

[0029] Preferably, the protocol packets are sorted according to the channel load index, including:

[0030] The channel load index of each protocol packet is obtained, the load index is arranged in descending order to generate a sorting sequence;

[0031] For two groups with the same load index, the maximum communication distance difference of devices is introduced as an auxiliary sorting basis;

[0032] The priority order of the final protocol packet is determined according to the sorting sequence and the auxiliary basis.

[0033] Preferably, the data interaction time slot is allocated according to the channel priority, and a dynamic scheduling sequence is generated, including:

[0034] According to the channel priority sequence, the basic time slot width is allocated to the high-priority channel, and the time slot width is reduced in proportion for the subsequent channels;

[0035] The amount of data required for interaction of each channel is counted, and the number of complete interactions that can be accommodated in a single cycle is calculated;

[0036] The interaction number and the channel number are combined to generate a cyclic scheduling sequence, realizing the ordered communication of multiple protocol energy storage devices.

[0037] Preferably, the action of the energy storage device is controlled according to the scheduling sequence, realizing the cross-protocol collaborative response, including:

[0038] The dynamic scheduling sequence is loaded at the beginning of the scheduling cycle, and the execution pointer is initialized;

[0039] According to the channel number of the i-th bit in the scheduling sequence, the corresponding physical transmission link is activated, and the data interaction window is entered;

[0040] The control instruction is sent in the data interaction window, and the corresponding protocol group energy storage device is triggered to perform the charging and discharging operation synchronously according to the control instruction, and one collaborative response cycle is completed.

[0041] In another aspect, the present application provides a distributed energy storage intelligent management system of a micro-grid, comprising the following steps:

[0042] The coding generation module is used for identifying the communication protocol types of the energy storage devices and generating corresponding protocol identification codes;

[0043] The networking division module is used for establishing a communication routing table based on the protocol identification codes and classifying the energy storage devices into networks according to the protocols;

[0044] The priority configuration module is used for selecting a unified transmission channel according to the networking structure and setting the priority order of the channel;

[0045] The scheduling sequence generation module is used for allocating data interaction time slots according to the priority of the channel and generating a dynamic scheduling sequence;

[0046] The action execution module is used for controlling the actions of the energy storage devices according to the scheduling sequence, so as to realize the cross-protocol collaborative response.

[0047] The technical effects and advantages of the present application are as follows:

[0048] By identifying the communication protocol types of the energy storage devices and generating unique protocol identification codes, a communication routing table based on the identification codes is constructed, the transmission priority is set according to the channel load characteristics, the data interaction time slots are dynamically allocated, and finally the actions of the energy storage devices are controlled according to the scheduling sequence, so as to realize the efficient collaborative response between the cross-protocol devices. The method does not need to rely on additional protocol conversion devices, and the system interoperability, flexibility and response speed are improved, and the technical problem that the energy storage devices are difficult to efficiently collaborate in the heterogeneous communication protocol environment is effectively solved. BRIEF DESCRIPTION OF DRAWINGS

[0049] Figure 1 The flowchart of the distributed energy storage intelligent management method of the micro-grid of the present application;

[0050] Figure 2 The block diagram of the distributed energy storage intelligent management system of the micro-grid of the present application. DETAILED DESCRIPTION

[0051] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described, obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The specific embodiments described herein are only used to explain the present application, and are not used to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0052] The present application provides a kind of micro-grid distributed energy storage intelligent management method as shown in Figure 1 The method uses modular design to improve the flexibility and scalability of the distributed energy storage intelligent management system, realizes local control and global optimization between the distributed energy storage intelligent management system and micro-grid through hierarchical control, and establishes real-time monitoring system to collect system operation data, provides feedback for the optimization of distributed energy storage intelligent management system, including the following steps:

[0053] Step one: identify the communication protocol type of each energy storage device, and generate corresponding protocol identification code; specifically including the following steps:

[0054] Detect the initial handshake signal when the energy storage device is accessed, and extract the signal waveform feature; specifically including: starting signal capture unit at the moment of device access, obtaining original handshake waveform v(t), which reflects the physical layer signal characteristics sent by the device in the initialization stage, including voltage amplitude, frequency change and pulse width, etc.; normalize the original waveform to eliminate the risk of misjudgment caused by signal intensity difference of different devices, and obtain the standardized waveform Through normalization, the signals of different devices are comparable.

[0055] The formula is used to normalize the original handshake signal, and the purpose is to eliminate the identification deviation caused by the signal intensity difference of different energy storage devices in the communication initialization stage. By dividing the original signal v(t) by its maximum absolute value In the whole sampling time period, the amplitude range of output signal s(t) is limited to [-1, 1] interval, so as to realize the standardization of signal feature, which is convenient for subsequent feature extraction and protocol type comparison.

[0056] The data segment in the first duration τ of the standardized waveform is intercepted as a feature segment; this time period usually contains the key information of device identity and communication capability. The energy density distribution of the feature segment is calculated , Δt is the sampling interval, as a waveform feature parameter. The formula represents the integral of signal square, which is used to measure the energy concentration degree of signal, and is an important quantitative index of waveform feature.

[0057] The system internally pre-stores a characteristic template library corresponding to multiple communication protocols, each template containing key parameters such as energy density distribution, frequency characteristics and waveform shape of standard waveforms. The waveform characteristics are compared with the pre-stored characteristic templates one by one, and a similarity value is calculated wherein is the measured characteristic value, is the template characteristic value, and m is the total number of characteristics; the similarity calculation is based on a vector space model, which regards the characteristic data as a vector in a high-dimensional space, and measures the cosine value of the included angle between two vectors through dot product operation, so as to judge the similarity of the two. The higher the value, the closer it is to a certain protocol type.

[0058] The system compares the similarity values of all protocol types, selects the one with the largest value as the final recognition result, and determines the communication protocol type used by the energy storage device. For example, if the similarity of the Modbus template is the highest, it is determined that the device uses the Modbus protocol.

[0059] A unique protocol identification code is generated according to the recognition result, which is composed of protocol type code and device address; specifically including: extracting the protocol type code P from the recognition result, the protocol type code is a pre-set binary string, such as "0001" representing Modbus, "0010" representing CAN, etc.

[0060] Reading the physical address A of the access device, the physical address is the unique identification fixed at the factory of the device; concatenating the protocol type code P and the physical address A bit by bit to generate a combination field C=P||A; performing an exclusive or check operation on the combination field C to generate a check code wherein is the data at the nth position in the combination field, and n is the total number of bits; the exclusive or operation can detect whether a single bit error has occurred in the combination field, improving the reliability of the identification code.

[0061] Concatenating the combination field and the check code to form a complete protocol identification code T=C||K. The exclusive or check is a simple and efficient error detection mechanism, which is suitable for quickly verifying the integrity of the identification code. By combining the protocol type and the device address and adding the check code, it is ensured that the identification code has both uniqueness and anti-interference ability.

[0062] Step two: establishing a communication routing table based on the protocol identification code, and networking the energy storage devices according to the protocol; including the following steps:

[0063] Collecting the protocol identification codes of all access devices ​, and the identification codes contain the protocol type and unique physical address information of the devices. The system sorts the protocol identification codes of all the accessed devices according to the time or topological order of their access nodes to form an ordered list for subsequent processing and grouping.

[0064] Extract the protocol type code segment in each identification code , and use it as the classification basis; specifically, each protocol identification code T contains a fixed protocol type code field , which is located at a specific position in the identification code and represents the communication protocol type used by the device (such as Modbus, CAN, MQTT, etc.). The system extracts the protocol type code of each device by analyzing the identification code structure, which serves as the core basis for device classification.

[0065] Group devices with the same protocol type code into a class and construct a protocol grouping set , where is the device number and k is the protocol type; for example, all devices using the Modbus protocol are grouped into , devices using the CAN protocol are grouped into , and so on; finally, the protocol grouping set is constructed.

[0066] For each protocol grouping , generate the corresponding communication routing path , where is the control center, represents the communication distance weight value between the device and the control center, which can be a comprehensive reflection of physical transmission distance, signal delay, link quality, etc.

[0067] Step three: select a unified transmission channel according to the networking structure and set the priority order of the channel; including the following steps:

[0068] Count the number of devices in each protocol grouping , and combine the total weight of the communication routing path to calculate the channel load index ; this formula integrates the number of devices and the communication path overhead into two dimensions, quantifying the overall demand of a protocol grouping for communication resources. A large number of devices or a long communication path will increase the communication pressure, so their multiplication can reflect the actual occupation degree of the communication bandwidth by this group.

[0069] Sort the protocol groupings according to the channel load index, with the groups with high index being allocated high-bandwidth channels first; specifically, obtain the channel load index of each protocol grouping ; arrange the load indices in descending order to generate a sorting sequence​ For two groups with the same load index, the difference in the maximum communication distance between the devices is introduced. This serves as an auxiliary sorting criterion; the final priority order of protocol packets is determined according to the sorting sequence Q and the auxiliary criterion. .in, For protocol grouping Weight value of the maximum communication distance from the device to the control center; For protocol grouping The weight value of the maximum communication distance from the device to the control center.

[0070] Assign a corresponding transmission channel number to each protocol packet And establish a mapping relationship between channel numbers and physical transmission links; specifically, this includes: assigning unique channel numbers to each protocol packet in order of priority. Starting with number 1; retrieve the set of currently available physical transmission links. And record the status parameters of each link. (e.g., bandwidth, latency, bit error rate, etc.); number the channel. Match the physical links sequentially to generate mapping pairs. By establishing a mapping relationship between channel numbers and physical links, the system achieves the binding between virtual channels and actual communication resources, enabling scheduling strategies to be precisely applied to specific physical links, thus improving the flexibility and accuracy of communication control. A global mapping table is constructed based on the mapping pairs. It is used for subsequent transmission path selection and control.

[0071] Generate a priority sequence based on the channel number. This sequence is used for subsequent data scheduling and timing control. It represents channel numbers arranged from highest to lowest priority, guiding the allocation and scheduling order of subsequent data interaction time slots to ensure that devices with high loads, long distances, or important protocol types have priority in obtaining communication opportunities.

[0072] Step 4: Allocate data interaction time slots based on channel priority and generate a dynamic scheduling sequence; including the following steps:

[0073] According to the channel priority sequence Allocate base time slot width to high priority channels The higher the priority (i.e., the earlier it appears), the greater its importance in communication scheduling. The system first allocates the highest priority channels. Allocate a base time slot width This serves as the benchmark value for subsequent channel time slot allocation.

[0074] The time slot width is reduced proportionally for subsequent channels to meet the requirements. where b is the attenuation coefficient and 0 < b < 1; this formula is an exponential attenuation model, as the channel priority decreases, its allocable communication time shows a decreasing trend, but it will not completely deprive low-priority channels of communication opportunities. This mechanism not only guarantees high-priority communication, but also takes into account fairness and resource utilization in a multi-protocol environment.

[0075] Statistics of the amount of interaction data required by each channel and calculate the number of complete interactions that can be accommodated in a single cycle , which is the total scheduling period; this formula is based on the matching relationship between time resources and communication needs, reflecting how many effective communication operations a channel can perform in a limited time. This provides a quantitative basis for the construction of the scheduling sequence.

[0076] Combine the number of interactions and channel numbers to generate a cyclic scheduling sequence Repeat the execution to achieve orderly communication of multi-protocol energy storage devices. The design of the scheduling sequence takes into account channel priority, communication capacity and communication frequency, and through the cyclic execution mechanism, all protocol types of energy storage devices can complete the communication task in their appropriate time window, achieving orderly cooperation.

[0077] Step five: control the action of the energy storage device according to the scheduling sequence to achieve cross-protocol collaborative response; including the following steps:

[0078] Load the dynamic scheduling sequence at the beginning of the scheduling period and initialize the execution pointer i = 1; the sequence is arranged in priority order, indicating the execution order of each protocol group in this round of communication. At the same time, the system initializes an execution pointer i, whose initial value is 1, to indicate the current channel number position to be activated.

[0079] According to the channel number in the i-th bit of the scheduling sequence , activate the corresponding physical transmission link , enter the data interaction window; by binding the virtual channel number with the actual physical link, the system can accurately control the communication path to ensure that the control information reaches the target protocol type of energy storage device accurately, avoiding communication conflicts and resource waste.

[0080] Send control instructions in the data interaction window where E is the reference energy scheduling value, is the channel efficiency factor, reflecting the quality of the communication path (such as signal stability, error rate, delay, etc.), which is obtained by real-time evaluation or historical records by the system.

[0081] According to the control instruction, the corresponding protocol group energy storage device is triggered to synchronously perform the charging and discharging operation, and one collaborative response cycle is completed; specifically, the energy storage device receiving the control instruction vi analyzes the instruction content according to the protocol type to which the energy storage device belongs, and performs the corresponding charging and discharging operation under the coordination of the local controller. The devices of the same protocol type complete the action at the same time or within a very short time, forming a “synchronous response”; the devices of different protocol types are executed in turn according to the scheduling sequence, and finally a complete collaborative response cycle is completed.

[0082] In another aspect, the present application provides a distributed energy storage intelligent management system for a microgrid, comprising the following steps:

[0083] The coding generation module is used to identify the communication protocol type of each energy storage device and generate a corresponding protocol identification code;

[0084] The networking division module is used to establish a communication routing table based on the protocol identification code, and to network the energy storage devices according to the protocol;

[0085] The priority configuration module is used to select a unified transmission channel according to the networking structure and set the priority order of the channel;

[0086] The scheduling sequence generation module is used to allocate data interaction time slots according to the channel priority and generate a dynamic scheduling sequence;

[0087] The action execution module is used to control the action of the energy storage device according to the scheduling sequence to realize cross-protocol collaborative response.

[0088] In addition, each of the above modules is also used to implement other steps of the above-mentioned method for intelligent management of distributed energy storage of a microgrid, as shown in the following example:

[0089] Suppose an industrial park has deployed a microgrid system containing various energy storage devices, including: 5 lithium battery energy storage units using Modbus protocol (physical addresses A01-A05); 3 lead-acid battery energy storage devices using CAN protocol (physical addresses B01-B03); 2 supercapacitor energy storage systems supporting MQTT protocol (physical addresses C01-C02);

[0090] When the first lithium battery energy storage unit using Modbus protocol is connected to the system, the signal capture unit detects its initial handshake signal. The original handshake waveform v(t) shows that the voltage amplitude changes in the range of ±12V, the sampling frequency is 1kHz, and the duration τ=50ms.

[0091] The original signal is normalized: The amplitude range of the processed signal s(t) is limited to the interval [-1, 1].

[0092] The first 50 ms of the normalized waveform is taken as the feature segment, and its energy density distribution is calculated: The calculated energy density of the device is e=0.68, the frequency characteristics are concentrated at 100 Hz and 300 Hz, and the waveform is approximately sinusoidal.

[0093] The extracted features are compared with the pre-stored templates, and the similarity value is calculated The results show that the similarity with the Modbus template is the highest (ρ=0.92), and it is determined that the device uses the Modbus protocol.

[0094] Protocol type code P="0001" (Modbus), physical address A="A01"; combined field C=P||A="0001A01"; check code ; Complete protocol identification code T=C||K="0001A011100".

[0095] Collect the protocol identification codes of all access devices, extract the protocol type code segment for classification: .

[0096] Assume that the control center is , and the communication distance weight of each device is as follows:

[0097] The average distance of Modbus devices w=3, so ;

[0098] The average distance of CAN devices w=2, so ;

[0099] The average distance of MQTT devices w=5, so =10.

[0100] Channel load index calculation: ;

[0101] ;

[0102] ;

[0103] .

[0104] Arrange in descending order according to the load index, and determine the final priority order after considering the auxiliary factors: .

[0105] Assign channel numbers to each group and establish a mapping relationship:

[0106] → Optical fiber link (bandwidth 100 Mbps, delay <1 ms);

[0107] → 5GHz Wi-Fi (bandwidth 50 Mbps, delay 5 ms);

[0108] → CAN bus (bandwidth 1 Mbps, delay 50 ms).

[0109] Generating a global mapping table Priority sequence ;

[0110] Data scheduling and time slot allocation: time slot width setting: basic time slot width , attenuation coefficient .

[0111] Interaction frequency calculation: assuming total scheduling period times; times; times.

[0112] Dynamic scheduling sequence generation: cyclic scheduling sequence Repeated execution ensures orderly communication of various protocol devices.

[0113] Load sequence S at the beginning of the scheduling period, initialize execution pointer i = 1. After activating the corresponding physical link, send control instructions: Assuming the reference energy scheduling value E = 100 kW, and the efficiency factors of each channel are respectively: = 0.95 (optical fiber link quality is excellent); = 0.85 (Wi-Fi is disturbed); = 0.7 (CAN bus loss is large).

[0114] Then the sent control instructions are respectively: .

[0115] In summary, each protocol group of energy storage devices synchronously performs charging and discharging operations according to the received instructions, completes orderly cooperative response in one scheduling period, and realizes efficient unified management of cross-protocol, multi-type energy storage devices.

[0116] In specific embodiments of the present application, Kafka message queue technology is also introduced to realize real-time monitoring and data reporting of distributed energy storage devices. By deploying a message listener named KafkaTwoReceiver, the system can efficiently receive data streams from different energy storage devices and further analyze and process these data.

[0117] 1. Data reception and analysis

[0118] Message Listening: The system configures a dedicated Kafka consumer group to subscribe to messages under specific topics. Whenever a storage device (e.g., a storage cabinet) sends a status update or an alarm message, these messages are listened to by KafkaTwoReceiver.

[0119] Message Parsing: Received messages are first converted into an internally defined MessageHolder object, from which key information such as site code, tenant ID, device type, etc. is extracted.

[0120] 2. Device Status Management and Alarm Notification

[0121] Status Update: When receiving messages about device online or offline, the system automatically updates the corresponding device status record. For example, when an inverter or other critical component is online, its status will be marked as online; vice versa.

[0122] Alarm Handling: If the received data is of the alarm type, the system not only creates an alarm information entity in the database, but also attempts to send an alarm notification to the relevant person of responsibility through WeChat template messages, ensuring that problems can be promptly addressed and resolved.

[0123] 3. Data Storage and Analysis

[0124] Data Persistence: According to different device types (such as storage cabinets, solar components, etc.), the system calls corresponding methods to convert received data into corresponding entity objects and saves them to the database. This helps subsequent queries and analysis of historical data.

[0125] Data Analysis: In addition to basic data storage, the system can also conduct in-depth analysis based on collected data, such as evaluating the efficiency of energy storage devices, predicting future energy demand, etc.

[0126] By integrating the Kafka message processing mechanism, the distributed energy storage intelligent management system proposed in this invention not only realizes efficient monitoring of energy storage devices, but also enhances the system's scalability and flexibility, making it better suited to various application scenarios that may arise in the future.

[0127] Finally, it should be noted that the above description is only a preferred embodiment of the invention and is not intended to limit the invention. Although the invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the invention shall be included within the scope of protection of the invention.

Claims

1. A distributed energy storage intelligent management method of a microgrid, characterized in that, The method adopts a modular design to improve the flexibility and scalability of the distributed energy storage intelligent management system, realizes local control and global optimization between the distributed energy storage intelligent management system and the microgrid through hierarchical control, and establishes a real-time monitoring system to collect system operation data to provide feedback for the optimization of the distributed energy storage intelligent management system, and specifically comprises the following steps: identifying the communication protocol type of each energy storage device and generating a corresponding protocol identification code; establishing a communication routing table based on the protocol identification code, networking the energy storage devices according to the protocol; selecting a unified transmission channel according to the networking structure and setting the priority order of the channel; allocating data interaction time slots according to the channel priority and generating a dynamic scheduling sequence; controlling the action of the energy storage device according to the scheduling sequence to realize cross-protocol collaborative response; Among them, identifying the communication protocol type of each energy storage device and generating a corresponding protocol identification code comprises: Detecting the initial handshake signal when the energy storage device is accessed, and extracting the signal waveform feature; Compare the waveform feature with the pre-stored feature template one by one, calculate the similarity value, and select the protocol type corresponding to the maximum similarity as the identification result; Generate a unique protocol identification code according to the identification result, which is composed of protocol type code and device address. 2.The method of claim 1, wherein Detecting the initial handshake signal when the energy storage device is accessed, and extracting the signal waveform feature, comprises: Starting the signal capture unit at the moment of device access to obtain the original handshake waveform, normalizing the original handshake waveform to obtain the standardized waveform; Intercept the data segment in the first duration of the standardized waveform as a feature segment; Calculate the energy density distribution of the feature segment, which is the square of the standardized waveform value multiplied by the sampling interval, as the waveform feature parameter. 3.The method of claim 1, wherein Generating a unique protocol identification code according to the identification result comprises: Extract the protocol type code from the identification result, which is a pre-set binary string; Read the physical address of the accessed device, and concatenate the protocol type code and the physical address bit by bit to generate a combined field; Perform an exclusive or check operation on the combined field to generate a check code, and concatenate the combined field and the check code to form a complete protocol identification code by sequentially exclusive or all bit data in the combined field. 4.The method of claim 1, wherein, Establishing a communication routing table based on the protocol identification code and networking the energy storage devices according to the protocol comprises: Collect the protocol identification codes of all accessed devices and arrange them in the order of access nodes; Extract the protocol type code segment in each identification code as the classification basis; Group devices with the same protocol type code into a class to construct a protocol grouping set, which contains devices with matching device number and protocol type; Generate a corresponding communication routing path for each protocol grouping.

5. The method of claim 1, wherein, Selecting a unified transmission channel according to the networking structure and setting the priority order of the channel comprises: Statistical the number of devices in each protocol grouping, and calculate the channel load index combining the total weight of the communication routing path in the protocol grouping; Sort the protocol groupings according to the channel load index, and allocate high-bandwidth channels to high-index groupings first; Assign a corresponding transmission channel number to each protocol packet, and establish a mapping relationship between the channel number and the physical transmission link; Generate a priority sequence according to the channel number, which is used for subsequent data scheduling timing control.

6. The method of claim 5, wherein, Sort the protocol packets according to the channel load index, including: Obtain the channel load index of each protocol packet, arrange the load index in descending order, and generate a sorting sequence; For two packets with the same load index, introduce the maximum communication distance difference of the device as an auxiliary sorting basis; Determine the priority order of the final protocol packet according to the sorting sequence and the auxiliary basis. 7.The method of claim 1, wherein, Allocate data interaction time slots according to the channel priority, and generate a dynamic scheduling sequence, including: According to the channel priority sequence, allocate a basic time slot width to the high priority channel, and proportionally reduce the time slot width for subsequent channels; Statistical each channel required interaction data volume, and calculate the complete interaction times that can be accommodated in a single cycle; Combine the interaction times and channel numbers to generate a cyclic scheduling sequence, and realize the ordered communication of multi-protocol energy storage devices. 8.The method of claim 1, wherein, Control the action of the energy storage device according to the scheduling sequence to realize cross-protocol collaborative response, including: Load the dynamic scheduling sequence at the beginning of the scheduling cycle, and initialize the execution pointer; According to the channel number of the i-th bit in the scheduling sequence, activate the corresponding physical transmission link and enter the data interaction window; Send control instructions in the data interaction window, and trigger the corresponding protocol group energy storage device to perform charging and discharging operations synchronously according to the control instructions, to complete a collaborative response cycle.

9. A distributed energy storage intelligent management system for implementing the microgrid of any one of claims 1-8, characterized in that, Including: The encoding generation module is used to identify the communication protocol type of each energy storage device and generate a corresponding protocol identification code, specifically including: detecting the initial handshake signal when the energy storage device is connected, extracting the signal waveform feature; Compare the waveform features with the pre-stored feature templates one by one, calculate the similarity value, and select the protocol type corresponding to the maximum similarity as the identification result; Generate a unique protocol identification code according to the identification result, which is composed of protocol type encoding and device address splicing; The networking division module is used to establish a communication routing table based on the protocol identification code, and to network the energy storage devices according to the protocol; The priority configuration module is used to select a unified transmission channel according to the network structure and set the channel priority order; The scheduling sequence generation module is used to allocate data interaction time slots according to the channel priority, and generate a dynamic scheduling sequence; The action execution module is used to control the action of the energy storage device according to the scheduling sequence to realize cross-protocol collaborative response.

Citation Information

Patent Citations

  • Control equipment networking communication method and device, equipment and storage medium

    CN119906667A