Control method and control device of energy storage device and energy storage device

Through the EtherCAT bus and particle swarm optimization algorithm, the charging and discharging strategy of the energy storage device is optimized, and the operation efficiency and stability of the energy storage device in complex system environments are solved, achieving efficient and reliable dynamic response and state management.

CN119010150AInactive Publication Date: 2024-11-22HANGZHOU WEIMU TECH CO LTD

Patent Information

Application Number
CN202411479728.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing energy storage devices are difficult to ensure operating efficiency and stability in complex system environments, and traditional control methods are insufficient in flexibility and adaptability, making it difficult to respond to dynamic changes in distributed power supply and grid structure or load requirements in real time and accurately.

Method used

Real-time operation data of energy storage devices are obtained through the EtherCAT bus, filter, normalize and outlier value removal, optimize charge and discharge strategies with particle swarm optimization algorithm, dynamically adjust charge and discharge power, coordinate distributed power output, continuously monitor and re-optimize the strategy .

Benefits of technology

It realizes efficient and reliable operation of energy storage devices, extends service life, can respond to dynamic changes in distributed power supply, power grid structure or load requirements in real time and accurately, and effectively responds to the state fluctuations of energy storage devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010150A_ABST
    Figure CN119010150A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of an energy storage device and the energy storage device, and relates to the technical field of power supplies, and the control method of the energy storage device comprises the steps: obtaining the real-time operation data of the energy storage device, the residual capacity of the energy storage device and the health state of the energy storage device through an EtherCAT bus, carrying out filtering, normalization and abnormal value elimination on the collected real-time operation data so as to generate operation state information of the energy storage device; based on the operation state information, a particle swarm optimization algorithm is adopted to optimize a charging and discharging strategy of the energy storage device, and charging and discharging power of the energy storage device is dynamically adjusted, so that the energy storage device and the multiple distributed power supplies output corresponding power to a load in a coordinated mode; and continuously monitoring the real-time operation data, the residual capacity and the health state to generate a corresponding monitoring result, and re-optimizing the charging and discharging strategy of the energy storage device according to the monitoring result. According to the invention, efficient and reliable operation of the energy storage device can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supply technology, and in particular to a control method, a control device and an energy storage device. Background Art

[0002] At present, the control methods adopted for energy storage devices in microgrids generally tend to adopt traditional control strategies. However, when faced with complex system environments, these traditional strategies may be difficult to ensure that the devices achieve optimal operating efficiency and stability. Given the widespread application trend of renewable energy, the control complexity of energy storage devices has increased significantly, and it is urgent to introduce more advanced control strategies to effectively deal with the intermittent and uncertain characteristics inherent in renewable energy.

[0003] Among them, traditional control methods are often limited by their lack of flexibility and adaptability, making it difficult to respond to dynamic changes in distributed power sources, grid structure or load demand in real time and accurately, and it is also difficult to effectively manage possible state fluctuations in energy storage devices. Summary of the invention

[0004] The main purpose of the present invention is to provide a control method for an energy storage device, aiming to achieve the operating efficiency and stability of the energy storage device so as to respond to the dynamic changes of distributed power sources, grid structure or load demand in real time and accurately.

[0005] To achieve the above object, the present invention provides a control method for an energy storage device, wherein the energy storage device is applied to a microgrid, the energy storage device is used to access a total power input end of multiple distributed power sources and loads, and the energy storage device and the multiple distributed power sources are connected via an EtherCAT bus. The control method comprises: Acquire the real-time operation data of the energy storage device, the remaining capacity of the energy storage device, and the health status of the energy storage device through the EtherCAT bus, and filter, normalize, and remove outliers on the collected real-time operation data to generate the operation status information of the energy storage device; Based on the operation status information, a particle swarm optimization algorithm is used to optimize the charging and discharging strategy of the energy storage device, and the charging and discharging power of the energy storage device is dynamically adjusted so that the energy storage device and the plurality of distributed power sources coordinately output corresponding power to the load; The real-time operation data, the remaining capacity and the health status are continuously monitored to generate corresponding monitoring results, and the charging and discharging strategy of the energy storage device is re-optimized according to the monitoring results.

[0006] Optionally, based on the operating status information, a particle swarm optimization algorithm is used to optimize the charging and discharging strategy of the energy storage device, and the charging and discharging power of the energy storage device is dynamically adjusted so that the energy storage device and the plurality of distributed power sources coordinately output corresponding power to the load, including: Obtain the current peak and valley period of the power grid, the first power output range of each distributed power source, the current total power demand of the load, and the priority corresponding to each load; Determining a current second power output range of the energy storage device according to the operating status information; Constructing an objective function including a plurality of constraints to minimize the power output value of the second power output range according to the peak and valley periods, wherein the constraints include the peak period or valley period of the power grid, the power output limit of the energy storage device, the minimum power demand of the load, and the stable range of the output voltage; Solving the objective function based on a particle swarm optimization algorithm, and determining the power value of the energy storage device allocated to each of the loads according to the output power in the first power output range, so as to determine the optimal power output configuration of the output power of the power grid, the output power of each of the distributed power sources, and the output power of the energy storage device; The optimal power output configuration is compared with a preset configuration-instruction mapping relationship to generate a control instruction to adjust the power output of the power grid, the power output of each of the distributed power sources, and the power output of the energy storage device.

[0007] Optionally, constructing an objective function including a plurality of constraints to minimize the power output value in the second power output range according to the difference between the peak and valley periods includes: Acquire a first power output limit of each of the distributed power sources and a second power output limit of the energy storage device; The corresponding power output limits of the energy storage device during the peak and valley periods of the power grid are respectively set, and the stable range of the output voltage is set, and the minimum power demand of the load within the voltage stable range is determined, wherein the minimum power demand of the load is the minimum power required for the load to operate normally; The peak and valley positions corresponding to the power grid, the first power output limit, the second power output limit, the voltage stability range and the minimum power demand of the load are used as constraints to construct an objective function to minimize the power output value of the second power output range.

[0008] Optionally, respectively setting the corresponding power output limits of the energy storage device during the peak period and the valley period of the power grid, setting the stable range of the output voltage, and determining the minimum power demand of the load within the voltage stable range, comprises: Obtain historical load operation data, analyze the load operation characteristics corresponding to the peak period and valley period of the power grid, and determine the rated voltage and rated frequency of each load; setting the power output limit according to the operating characteristics and the rated voltage; According to the rated voltage and rated frequency, set the voltage stability range and frequency stability range; Monitor real-time voltage data and real-time frequency data, and compare them with the voltage stability range and the frequency stability range, respectively, to determine whether the current voltage and frequency are within the stable range; If the real-time voltage data and / or the real-time frequency data are outside the stable range, obtain the current load type and the priority corresponding to each load, adjust the weight coefficient of each load demand, and adjust the power output of each distributed power source and the energy storage device corresponding to the weight coefficient to keep the voltage and frequency within the stable range.

[0009] Optionally, the method for constructing the preset configuration-instruction mapping relationship is specifically as follows: At least one set of preset power output configurations is set, wherein each of the preset power output configurations sets the energy storage device to output a power that matches the operating state according to the peak and valley periods of the power grid, and is combined in a one-to-one correspondence with the load demand; Based on the particle swarm optimization algorithm, simulate the operation of each of the preset power output configurations to determine the operating state of the energy storage device and the degree of satisfaction of the load under the corresponding configuration; Determining an operating state deviation according to the operating state and a preset operating state; Determine the satisfaction degree deviation according to the satisfaction degree of the load and the optimal satisfaction degree of the load; According to the operating state deviation and the satisfaction degree deviation, the power output of the energy storage device is adjusted, and communication is performed with each of the distributed power sources based on EtherCAT to adjust the power output of each of the distributed power sources until the operating state deviation and the satisfaction degree deviation are both within a preset threshold value, and the corresponding power output of the energy storage device is determined when the operating state deviation and the satisfaction degree deviation are both within the preset threshold value to generate a corresponding power configuration result; The power configuration result is used to generate a corresponding control instruction, and is associated with the corresponding preset power output configuration to generate a corresponding preset configuration-instruction mapping relationship.

[0010] Optionally, solving the objective function based on the particle swarm optimization algorithm and determining the power value of the energy storage device allocated to each of the loads according to the output power in the first power output range to determine the optimal power output configuration of the output power of the power grid, the output power of each of the distributed power sources and the output power of the energy storage device include: Particleizing the objective function based on the particle swarm optimization algorithm to generate a corresponding power particle swarm, wherein each power particle is a group of possible power output configurations; Initialize the power particle group to set an initial position and an initial speed for each of the power particles, wherein the initial position is a set of possible power output configurations, and the initial speed is the moving direction and step length of the power particle in the search space; After the power particle group is initialized, the fitness value of each power particle is calculated, and the fitness value is used to evaluate the pros and cons of the power output configuration of each power particle; According to the fitness value, update the individual optimal solution and the global optimal solution in the particle swarm, wherein the individual optimal solution is the best position encountered by each particle in its historical search process, and the global optimal solution is the best individual optimal solution among all particles; adjusting the speed of the power particle and the position of the power particle according to the individual optimal solution and the global optimal solution to guide the particle to move to a better search area; Repeat the steps of calculating the fitness value, updating the individual optimal solution, updating the global optimal solution, and adjusting the speed of the power particle and the position of the power particle until a preset number of iterations is reached or the fitness value converges, so as to determine a target individual optimal solution and a target global optimal solution; The power output configurations corresponding to the target individual optimal solution and the target global optimal solution are determined to determine the optimal power output configurations of the output power of the power grid, the output power of each of the distributed power sources, and the output power of the energy storage device.

[0011] Optionally, the microgrid includes a host computer, the host computer is set as an EtherCAT master station, the energy storage device is electrically connected to the host computer through an EtherCAT bus; the host computer is electrically connected to the multiple distributed power sources and the multiple loads through the EtherCAT bus; The control method of the energy storage device also includes: Establishing an EtherCAT network topology structure so that the energy storage device, each of the distributed power sources and each of the loads are nodes in the EtherCAT network; the host computer manages and controls the EtherCAT network; Assigning a unique address to each of the nodes based on a random algorithm to generate an identity identification code corresponding to each of the nodes; According to the identification code, a configuration command is sent to each of the nodes through the EtherCAT master station to initialize the operating parameters corresponding to each node; Setting a corresponding collection period of real-time operation data, sending a data collection request to each node through the EtherCAT master station during the collection period, and receiving the current operation data returned by each node, so as to summarize and analyze the data in the EtherCAT master station and generate corresponding data results; According to the data results, the real-time operating data of the energy storage device, the real-time operating data of each of the distributed power sources, and the real-time operating data of each of the loads are determined.

[0012] Optionally, the continuously monitoring the real-time operation data, the remaining capacity, and the health status to generate corresponding monitoring results, and re-optimizing the charging and discharging strategy of the energy storage device according to the monitoring results, includes: Based on the EtherCAT bus, the voltage data, frequency data, phase data, remaining capacity and health status of the energy storage device are collected in real time, and compared with the preset voltage, preset frequency, preset phase, preset capacity and preset health status respectively; When it is detected that one or more of the voltage data, the frequency data, the phase data, the remaining capacity or the health status exceeds a preset range, dynamically adjusting the power output of the energy storage device according to the degree and direction of the excess; The above monitoring and adjustment process is repeated to continuously optimize the charging and discharging strategy of the energy storage device.

[0013] In addition, to achieve the above-mentioned purpose, the present invention also provides a control device, which includes: a memory, a processor, and a microgrid control program stored in the memory and executable on the processor, wherein the microgrid control program is configured to implement the control method of the energy storage device as described above.

[0014] In addition, to achieve the above-mentioned purpose, the present invention also provides a microgrid, including the control device as described above.

[0015] The embodiment of the present invention obtains the real-time operation data of the energy storage device, the remaining capacity of the energy storage device and the health status of the energy storage device through the EtherCAT bus, and filters, normalizes and removes outliers on the collected real-time operation data to generate the operation status information of the energy storage device, and then optimizes the charging and discharging strategy of the energy storage device in combination with the particle swarm optimization algorithm, and dynamically adjusts the charging and discharging power of the energy storage device so that the energy storage device and multiple distributed power sources coordinate to output the corresponding power to the load. After the coordination is completed, the real-time operation data, the remaining capacity and the health status are continuously monitored to generate the corresponding monitoring results, and the charging and discharging strategy of the energy storage device is re-optimized according to the monitoring results to ensure the efficient and reliable operation of the energy storage device and extend its service life, and can respond to the dynamic changes of the distributed power source, the grid structure or the load demand in real time and accurately and effectively deal with the possible state fluctuations of the energy storage device. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] Figure 1 is a flow chart of a control method for an energy storage device according to an embodiment of the present invention; Figure 2 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 3 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 4 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 5 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 6 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 7 A schematic flow chart of a control method for an energy storage device according to another embodiment of the present invention; Figure 8 The figure is a flow chart of a control method for an energy storage device according to another embodiment of the present invention.

[0019] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] 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, and the well-known modules, units and their connections, links, communications or operations are not shown or described in detail. In addition, the described features, architectures or functions can be combined in any way in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only used for illustration and are not used to limit the scope of protection of the present invention. It can also be easily understood that the modules or units or processing methods in each embodiment shown in this article and the drawings can be combined and designed according to various different configurations. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0021] The limitations of various nouns or methods referred to in the following embodiments, except for those that are logically untenable, are generally based on the broad concepts that can be implemented under the premise of the disclosure in the embodiments. Under such understanding, the various specific subordinate specific limitations of the nouns or methods should be regarded as the inventive content of the present invention, and should not be understood narrowly or interpreted in a biased manner on the grounds that the specification does not disclose the specific limitations. Similarly, under the premise that it can be implemented logically, the order of the steps in the method is flexible and changeable, and the specific subordinate specific limitations in the broad concepts of various nouns or methods all fall within the scope of protection of the present invention.

[0022] The main solution of the embodiment of the present application is: to obtain the real-time operation data of the energy storage device, the remaining capacity of the energy storage device and the health status of the energy storage device through the EtherCAT bus, and to filter, normalize and remove outliers on the collected real-time operation data to generate the operation status information of the energy storage device, and then optimize the charging and discharging strategy of the energy storage device in combination with the particle swarm optimization algorithm, and dynamically adjust the charging and discharging power of the energy storage device so that the energy storage device and multiple distributed power sources coordinate to output the corresponding power to the load. After the coordination is completed, the real-time operation data, remaining capacity and health status are continuously monitored to generate corresponding monitoring results, and the charging and discharging strategy of the energy storage device is re-optimized according to the monitoring results.

[0023] In this embodiment, for the convenience of description, the following description is made with the control device as the execution subject.

[0024] In the existing technology, when energy storage devices used in microgrids face complex system environments, these traditional strategies may not be able to ensure that the devices achieve optimal operating efficiency and stability. In addition, traditional control methods are often limited by their lack of flexibility and adaptability, making it difficult to respond to dynamic changes in distributed power sources, grid structures or load demands in real time and accurately, and it is also difficult to effectively manage possible state fluctuations in energy storage devices.

[0025] The present application provides a solution to ensure efficient and reliable operation of the energy storage device and extend its service life, and can respond in real time and accurately to dynamic changes in distributed power sources, grid structure or load demand and effectively cope with possible state fluctuations of the energy storage device.

[0026] To this end, the present invention proposes a control method for an energy storage device; it can be understood that a control device for storing and executing the following method is provided in the energy storage device, and the control device can be implemented by a main controller, such as MCU (Microcontroller Unit), DSP (Digital Signal Process), FPGA (Field Programmable Gate Array), SOC (System On Chip), etc.

[0027] The energy storage device is applied to the microgrid. The energy storage device is used to access the total power input terminal of multiple distributed power sources and loads. The energy storage device and multiple distributed power sources are connected through the EtherCAT bus.

[0028] Reference Figure 1 In one embodiment of the present invention, the control method of the energy storage device includes steps S100-S300, wherein: S100, acquiring the real-time operation data of the energy storage device, the remaining capacity of the energy storage device, and the health status of the energy storage device through the EtherCAT bus, and filtering, normalizing, and removing outliers on the collected real-time operation data to generate operation status information of the energy storage device; S200, based on the operation status information, using a particle swarm optimization algorithm to optimize the charging and discharging strategy of the energy storage device, and dynamically adjust the charging and discharging power of the energy storage device, so that the energy storage device and multiple distributed power sources coordinate to output corresponding power to the load; S300, continuously monitor the real-time operation data, remaining capacity and health status to generate corresponding monitoring results, and re-optimize the charging and discharging strategy of the energy storage device according to the monitoring results.

[0029] In this embodiment, the EtherCAT bus is a high-performance industrial Ethernet communication protocol with high real-time performance and high data throughput. Through the EtherCAT bus, the control device can efficiently collect real-time data from the energy storage device, thereby achieving precise control of the energy storage device.

[0030] Among them, the real-time operating data of the energy storage device may include parameters such as voltage, current, temperature, and humidity. These parameters are crucial for evaluating the operating status of the energy storage device. For example, real-time monitoring of voltage and current can ensure that the energy storage device operates within a safe operating range, avoiding overcharging or over-discharging, thereby extending the service life of the energy storage device. Temperature monitoring can prevent the energy storage device from being damaged due to overheating, especially when operating in a high temperature environment. Humidity monitoring is also important for preventing electrical components inside the energy storage device from short-circuiting or corroding due to moisture.

[0031] Among them, the remaining capacity of the energy storage device can include the current percentage of battery power, the number of recharges, and the health status assessment of the battery. This information is crucial for predicting the performance and life of the energy storage device. For example, the current percentage of battery power can indicate the length of time the energy storage device can support the load operation in the current state, which is very important for the power scheduling and load management of the microgrid when the energy storage device is operating in the microgrid. The number of recharges can reflect the cycle life of the battery, that is, how many complete charge and discharge cycles the battery can undergo without significantly reducing its performance. The health status assessment of the battery can be based on the battery's voltage, internal resistance, temperature and other parameters, and a specific algorithm is used to evaluate the battery's health status and predict potential failures and performance degradation.

[0032] Among them, a digital filter such as a low-pass filter, a high-pass filter, a band-pass filter or a band-stop filter can be set at the output end of the energy storage device; or by using a moving average filter to smooth the time series data and reduce random noise. For example, a simple arithmetic moving average or a weighted moving average can be used; or a median filter can be used, in which the median filter uses the median in the data sequence to replace the original data point, which can effectively suppress outliers and noise; or a wavelet transform can be used, which can decompose the signal into components of different frequencies and scales, thereby allowing the noise within a specific frequency range to be suppressed; or a Fourier transform can be used, which converts the time domain signal into a frequency domain signal through a Fourier transform, and then filters the noise component of a specific frequency; or an adaptive filter can be used, which can automatically adjust its parameters according to the characteristics of the input signal to adapt to the changing environment and noise conditions.

[0033] Among them, normalization is to eliminate the influence of different dimensions and orders of magnitude on data processing, so that the data can be compared and analyzed on a unified scale. Outlier elimination is to eliminate outlier data caused by equipment failure, measurement error or other abnormal conditions to ensure the accuracy and reliability of the data.

[0034] In the process of optimizing power output, the particle swarm optimization algorithm (PSO) is an optimization technology based on swarm intelligence, which simulates the predation behavior of bird flocks to find the optimal solution. Among them, the PSO algorithm dynamically adjusts the charging and discharging power of the energy storage device according to the real-time operating status and load demand of the energy storage device to achieve the optimal operating efficiency and stability.

[0035] In this embodiment, the charge and discharge strategy of the energy storage device can be periodically re-optimized based on the operating status information and health status evaluation to adapt to changes in the microgrid operating conditions. For example, when the load demand changes, or when the health status of the energy storage device changes, the control device will automatically adjust the charge and discharge strategy to ensure the efficient operation of the energy storage device and extend its service life.

[0036] In addition, the control device can also predict the load demand and health status of the energy storage device in the future based on the real-time operation data of the energy storage device, so as to adjust the charging and discharging strategy in advance. For example, by analyzing historical data and current operation status, the control device can predict the increase in load demand in the next few hours and increase the charging capacity of the energy storage device in advance to meet the expected load demand.

[0037] The control method of the energy storage device also includes optimizing the charging and discharging efficiency of the energy storage device. The control device can calculate the charging and discharging efficiency based on the real-time operating data of the energy storage device, and adjust the charging and discharging strategy based on the efficiency data to improve the overall operating efficiency of the energy storage device. For example, when it is found that the charging and discharging efficiency is lower than a preset threshold, the control device will adjust the charging and discharging power, or adjust the operating temperature of the energy storage device to improve the charging and discharging efficiency.

[0038] In practical applications, assuming that the energy storage device is connected to distributed power supply A, distributed power supply B, distributed power supply C, load A, load B, load C and load D, and the energy storage device is connected to distributed power supply A, distributed power supply B, distributed power supply C, load A, load B, load C and load D respectively through the EtherCAT bus, the control device first collects the operation data of the energy storage device, the remaining capacity of the energy storage device and the health status of the energy storage device in real time through the EtherCAT bus. The operation data of the energy storage device includes parameters such as voltage, current, temperature, and humidity. The real-time operation data is filtered, normalized, and outliers are eliminated, and the processed real-time operation data, remaining capacity, and health status are merged together to form operation status information.

[0039] Subsequently, the control device uses the particle swarm optimization algorithm (PSO) to analyze the operating status information of the energy storage device and determine the current optimal charging and discharging strategy. The PSO algorithm uses real-time operating data, remaining capacity and health status as input parameters, and through iterative calculation, it searches for a set of optimal charging and discharging power values ​​to achieve efficient operation of the energy storage device and extend its service life.

[0040] After determining the optimal charging and discharging strategy, the control device will send corresponding control instructions to the energy storage device through the EtherCAT bus to guide it to perform charging and discharging operations. During the discharge process, according to the needs of each load among A load, B load, C load and D load and the priority of the four loads, for example, A load is greater than B load, C load is greater than D load, the control device will give priority to meeting the needs of high-priority loads. For example, when the demand of A load is large, the control device will give priority to allocating more energy of the energy storage device to A load to ensure the stable operation of the critical load. And according to the demand of each load, determine the minimum power required by the load, so as to coordinate the output power of the energy storage device and A distributed power supply, B distributed power supply and C distributed power supply to ensure the stability and efficiency of the entire microgrid system. During the charging process, the control device will reasonably allocate the charging power from A distributed power supply, B distributed power supply and C distributed power supply according to the health status and remaining capacity of the energy storage device to avoid overcharging or uneven charging, thereby extending the service life of the energy storage device.

[0041] This embodiment obtains the real-time operation data of the energy storage device, the remaining capacity of the energy storage device, and the health status of the energy storage device through the EtherCAT bus, and filters, normalizes, and removes outliers on the collected real-time operation data to generate the operation status information of the energy storage device, and then optimizes the charging and discharging strategy of the energy storage device in combination with the particle swarm optimization algorithm, and dynamically adjusts the charging and discharging power of the energy storage device so that the energy storage device and multiple distributed power sources coordinate to output corresponding power to the load. After the coordination is completed, the real-time operation data, remaining capacity, and health status are continuously monitored to generate corresponding monitoring results, and the charging and discharging strategy of the energy storage device is re-optimized according to the monitoring results to ensure the efficient and reliable operation of the energy storage device and extend its service life, and can respond to the dynamic changes of distributed power sources, power grid structure or load demand in real time and accurately and effectively deal with possible state fluctuations of the energy storage device.

[0042] Optionally, refer to Figure 2 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 1The embodiment shown, based on the operation status information, uses a particle swarm optimization algorithm to optimize the charging and discharging strategy of the energy storage device, and dynamically adjusts the charging and discharging power of the energy storage device, so that the energy storage device and multiple distributed power sources coordinate to output corresponding power to the load, including steps S210-S250, wherein: S210, obtaining the current peak and valley period of the power grid, the first power output range of each distributed power source, the current total power demand of the load, and the priority corresponding to each load; S220, determining a current second power output range of the energy storage device according to the operating status information; S230, constructing an objective function including multiple constraints to minimize the power output value in the second power output range according to different peak and valley periods, wherein the constraints include the peak period or valley period of the power grid, the power output limit of the energy storage device, the minimum power demand of the load, and the stable range of the output voltage; S240, solving the objective function based on a particle swarm optimization algorithm, and determining the power value of the energy storage device allocated to each load according to the output power in the first power output range, so as to determine the optimal power output configuration of the output power of the power grid, the output power of each distributed power source, and the output power of the energy storage device; S250, comparing the optimal power output configuration with the preset configuration-instruction mapping relationship to generate control instructions to adjust the power output of the power grid, the power output of each distributed power source, and the power output of the energy storage device.

[0043] In this embodiment, the current peak and valley period of the power grid can be determined by obtaining public power information in the area to determine the corresponding peak and valley period of the power grid, and combined with the historical power supply data in the area to predict the peak and valley period change trend of the power grid in the future.

[0044] Among them, the first power output range of each distributed power source can be determined by real-time monitoring of the operating status and performance parameters of each distributed power source to ensure that the distributed power source can provide stable power output under different operating conditions. The current total power demand of the load and the priority corresponding to each load can be predicted by analyzing the historical power consumption data and current operating status of the load, thereby providing an accurate basis for the power allocation of the energy storage device.

[0045] In the process of determining the second power output range of the energy storage device, the control device will comprehensively consider the health status, remaining capacity and current operating environment of the energy storage device, such as temperature and humidity, to ensure that the energy storage device outputs power under the premise of safety and efficiency.

[0046] The objective function is constructed based on multiple constraints such as the peak and valley periods of the power grid, the power output limit of the energy storage device, the minimum power demand of the load, and the stable range of the output voltage, so as to optimize the power output of the energy storage device.

[0047] The objective function is solved by the particle swarm optimization algorithm, which simulates the predation behavior of bird flocks and searches for the optimal solution through iteration. In each iteration, each particle in the particle swarm represents a set of possible power output configurations. The particles determine their pros and cons by evaluating the value of the objective function, and update their positions and velocities based on their own and the group's experience, and finally converge to the optimal solution to obtain the optimal power value of the energy storage device allocated to each load, thereby determining the optimal power output configuration of the output power of the power grid, the output power of each distributed power source, and the output power of the energy storage device.

[0048] Among them, the generation of control instructions will be based on the comparison results of the optimal power output configuration and the preset configuration-instruction mapping relationship. If the control instruction is consistent with the preset mapping relationship, it will be executed directly; if it is inconsistent, adjustment is required to ensure that the control instruction can correctly adjust the power output of each distributed power source and energy storage device, so as to achieve precise control of the power output of the power grid, each distributed power source and energy storage device, and can effectively respond to the dynamic changes of distributed power sources, power grid structure or load demand, ensure the efficient and reliable operation of the energy storage device and extend its service life.

[0049] Optionally, refer to Figure 3 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 2 The embodiment shown constructs an objective function including multiple constraints to minimize the power output value in the second power output range according to the peak and valley periods, including steps S221-S223, wherein: S221, obtaining a first power output limit of each distributed power source and a second power output limit of the energy storage device; S222, respectively setting the corresponding power output limit of the energy storage device during the peak period and the valley period of the power grid, setting the stable range of the output voltage, and determining the minimum power demand of the load within the voltage stable range, the minimum power demand of the load being the minimum power required for the load to operate normally; S223, taking the peak and valley positions corresponding to the power grid, the first power output limit, the second power output limit, the voltage stability range and the minimum power demand of the load as constraints, constructing an objective function to minimize the power output value in the second power output range.

[0050] In this embodiment, the first power output limit and the second power output limit are used to ensure that the energy storage device and the distributed power source can provide stable power output that meets the power grid requirements during the peak and valley periods of the power grid. By setting these limits, the overload or underload of the power grid can be effectively avoided, while ensuring the safety and efficiency of the energy storage device under different operating conditions.

[0051] The construction of the objective function not only takes into account the peak and valley periods of the power grid, but also the health status of the energy storage device, the remaining capacity, the current operating environment, the minimum power demand of the load, and the stable range of the output voltage. These factors work together to ensure that the energy storage device can operate efficiently and reliably while meeting the needs of the power grid and the load, and extend its service life.

[0052] In practical applications, the control method of the energy storage device also includes real-time monitoring of the health status and remaining capacity of the energy storage device. By monitoring these parameters, the control device can timely understand the operating status of the energy storage device and dynamically adjust the charging and discharging strategy of the energy storage device according to the monitoring results. For example, when the health status of the energy storage device decreases or the remaining capacity is lower than the preset threshold, the control device will automatically adjust the charging and discharging power of the energy storage device to avoid further damage to the energy storage device and ensure that it can continue to provide services to the power grid and loads in a stable manner.

[0053] The first power output limit can be the power output limit during the peak and valley periods of the power grid, and the second power output limit of the energy storage device can be dynamically adjusted based on the health status and remaining capacity of the energy storage device. For example, when the power grid is at its peak, in order to reduce the load on the power grid, the second power output limit of the energy storage device can be set relatively high to increase the discharge power of the energy storage device, while during the valley period, the energy storage device can make full use of the valley electricity price and increase the charging power of the energy storage device, thereby improving the economic benefits of the energy storage device while meeting the needs of the power grid.

[0054] In addition, the stable range of the output voltage is crucial to ensure the stable operation of the power grid and the load. In this embodiment, the stable range of the output voltage can be set to a narrow range to ensure the stability of the voltage and avoid affecting the normal operation of the load due to excessive voltage fluctuations. The minimum power requirement of the load is determined according to the type and operating characteristics of the load to ensure that even when the power output of the energy storage device is limited, the load can obtain the minimum power to meet its basic operating requirements.

[0055] When constructing the objective function, in addition to considering the peak and valley period of the power grid, the power output limit of the energy storage device, the voltage stability range and the minimum power demand of the load, other factors such as the charging and discharging efficiency of the energy storage device, ambient temperature, humidity, etc. can also be considered to optimize the charging and discharging strategy of the energy storage device. By comprehensively considering these factors, the objective function can more accurately reflect the optimal power output configuration of the energy storage device under different operating conditions.

[0056] Optionally, refer to Figure 4 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 3 The embodiment shown, respectively setting the corresponding power output limit of the energy storage device during the peak period and the valley period of the power grid, setting the stable range of the output voltage, and determining the minimum power demand of the load under the voltage stable range, includes steps S2221-S2225, wherein: S2221. Obtain historical load operation data, and analyze the operation characteristics of the loads during the peak period and the valley period of the power grid, and determine the rated voltage and rated frequency of each load; S2222. Setting a power output limit of the energy storage device according to operating characteristics and rated voltage; S2223. Setting a voltage stability range and a frequency stability range according to the rated voltage and the rated frequency; S2224, monitoring the real-time voltage data and the real-time frequency data, and comparing them with the voltage stability range and the frequency stability range respectively to determine whether the current voltage and frequency are within the stable range; S2225. If the real-time voltage data and / or real-time frequency data are outside the stable range, obtain the current load type and the priority level of each load, adjust the weight coefficient of each load demand, and adjust the power output of each distributed power source and energy storage device corresponding to the weight coefficient to keep the voltage and frequency within the stable range.

[0057] In this embodiment, the historical load operation data may include information such as the power consumption of the load in different time periods, the load type, and the operating characteristics of the load. By analyzing these historical load operation data, the load demand during the peak and valley periods of the power grid can be more accurately predicted, thereby providing a basis for limiting the power output of the energy storage device. For example, for some loads with periodic operating characteristics, such as industrial production equipment, their operating cycles can be analyzed through historical data to predict the power demand in a specific time period, thereby optimizing the charging and discharging strategy of the energy storage device.

[0058] Among them, by calculating the operating characteristics and rated voltage to set the power output limit of the energy storage device, it can ensure that the energy storage device provides appropriate power output under different load requirements, while avoiding adverse effects on the power grid due to excessive or insufficient power output. For example, for some loads with high requirements for voltage and frequency stability, such as precision instruments, the energy storage device needs to provide a more stable power output to ensure the normal operation of these devices.

[0059] In addition, by setting the voltage stability range and frequency stability range, the stability and reliability of the power grid can be improved. In actual operation, the control method of the energy storage device also includes real-time monitoring of the voltage and frequency of the power grid and comparing them with the set stability range. When it is detected that the voltage or frequency exceeds the stability range, the control device will automatically adjust the power output of the energy storage device to quickly respond to changes in the power grid and restore the stability of the voltage and frequency.

[0060] When determining the minimum power requirement of a load, in addition to considering the load type and operating characteristics, the priority of the load can also be considered. For example, when the grid is heavily loaded, the minimum power requirement of critical loads can be prioritized, while for non-critical loads, their power requirements can be appropriately reduced to ensure the overall stability of the grid. In this way, the control method of the energy storage device can more flexibly respond to the peak and valley changes of the grid while maximizing the satisfaction of the load requirements.

[0061] Among them, by monitoring the real-time voltage data and real-time frequency data, and then comparing and determining whether the current voltage and frequency are within the stable range, the real-time monitoring of the power grid status can be achieved. When the voltage or frequency of the power grid fluctuates, the control device will dynamically adjust the output power of the energy storage device according to the real-time monitored data to quickly respond to changes in the power grid and ensure the stable operation of the power grid.

[0062] For example, when the grid voltage or frequency exceeds the preset stable range, the control device will reduce the output power of the energy storage device to avoid further impact on the grid; conversely, when the grid voltage or frequency returns to the stable range, the control device will gradually increase the output power of the energy storage device to fully utilize the capacity of the energy storage device and support the stable operation of the grid.

[0063] In addition, the control method of the energy storage device also includes real-time monitoring of the health status and remaining capacity of the energy storage device. By monitoring these parameters, the control device can timely understand the operating status of the energy storage device and dynamically adjust the charging and discharging strategy of the energy storage device according to the monitoring results. For example, when the health status of the energy storage device decreases or the remaining capacity is lower than the preset threshold, the control device will automatically adjust the charging and discharging power of the energy storage device to avoid further damage to the energy storage device and ensure that it can continue to provide services to the power grid and loads in a stable manner.

[0064] Optionally, refer to Figure 5 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 4 In the embodiment shown, the method for constructing the preset configuration-instruction mapping relationship is specifically steps S400-S900, wherein: S400, setting at least one set of preset power output configurations, wherein each preset power output configuration sets the power output of the energy storage device to match the operating state according to the peak and valley periods of the power grid, and the preset power output configurations correspond one-to-one with the load demand; S500, performing simulation operation on each preset power output configuration based on a particle swarm optimization algorithm to determine the operating state of the energy storage device and the degree of load satisfaction under the corresponding configuration; S600, determining an operating state deviation according to the operating state and a preset operating state; S700, determining a satisfaction degree deviation according to a satisfaction degree of the load and an optimal satisfaction degree of the load; S800, according to the operation state deviation and the satisfaction degree deviation, adjust the power output of the energy storage device, and communicate with each distributed power source based on EtherCAT to adjust the power output of each distributed power source until the operation state deviation and the satisfaction degree deviation are both within the preset threshold value, and determine the corresponding power output of the energy storage device when the operation state deviation and the satisfaction degree deviation are both within the preset threshold value, so as to generate a corresponding power configuration result; S900: Generate a corresponding control instruction from the power configuration result, and associate it with the corresponding preset power output configuration to generate a corresponding preset configuration-instruction mapping relationship.

[0065] In this embodiment, the preset power output configuration is based on the output power configuration of the energy storage device during the peak and valley periods of the power grid, aiming to optimize the operating efficiency and load satisfaction of the energy storage device. Through the simulation operation of the particle swarm optimization algorithm, the impact of different power output configurations on the stability of the power grid and load demand can be evaluated, so as to select the best operation strategy.

[0066] Among them, the simulation operation of each preset power output configuration based on the particle swarm optimization algorithm can evaluate the operating status of the energy storage device and the degree of load satisfaction under a specific configuration. The results of the simulation operation help to understand the impact of different configurations on the performance of the energy storage device, so as to select the optimal power output configuration.

[0067] Among them, the operating state deviation is determined according to the operating state and the preset operating state, and the satisfaction degree deviation is determined according to the load satisfaction degree and the optimal load satisfaction degree. These two deviation values ​​reflect the gap between the current configuration and the ideal state, and are important indicators for evaluating the operating efficiency of the energy storage device. By adjusting the power output of each distributed power source and the power output of the energy storage device, the operating state deviation and satisfaction degree deviation can be gradually adjusted until they are within the preset threshold range. At this time, the operating efficiency of the energy storage device is optimal.

[0068] Optionally, by generating corresponding control instructions from the power configuration results and associating them with the corresponding preset power output configuration, a preset configuration-instruction mapping relationship can be constructed. This mapping relationship provides a fast response mechanism for the control device. When a specific operating state and load demand are detected, the control device can quickly call the corresponding control instruction to achieve efficient and accurate power output adjustment. In this way, the control device can not only cope with real-time changes in load demand and fluctuations in renewable energy, but also achieve fast and accurate power management through the preset configuration-instruction mapping relationship.

[0069] Optionally, refer to Figure 6 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 2 The embodiment shown in the figure solves the objective function based on the particle swarm optimization algorithm, and determines the power value of the energy storage device allocated to each load according to the output power in the first power output range, so as to determine the optimal power output configuration of the output power of the power grid, the output power of each distributed power source and the output power of the energy storage device, including steps S231-S237, wherein: S231, particle-izing the objective function based on a particle swarm optimization algorithm to generate a corresponding power particle swarm, wherein each power particle is a group of possible power output configurations; S232, initializing the power particle group to set an initial position and an initial speed for each power particle, wherein the initial position is a set of possible power output configurations, and the initial speed is the moving direction and step length of the power particle in the search space; S233, after the power particle group is initialized, the fitness value of each power particle is calculated, and the fitness value is used to evaluate the pros and cons of the power output configuration of each power particle; S234, according to the fitness value, updating the individual optimal solution and the global optimal solution in the particle swarm, wherein the individual optimal solution is the best position encountered by each particle in its historical search process, and the global optimal solution is the best individual optimal solution among all particles; S235, adjusting the speed and position of the power particle according to the individual optimal solution and the global optimal solution to guide the particle to move to a better search area; S236, repeatedly executing the steps of calculating the fitness value, updating the individual optimal solution, updating the global optimal solution, and adjusting the speed of the power particle and the position of the power particle until a preset number of iterations is reached or the fitness value converges, so as to determine the target individual optimal solution and the target global optimal solution; S237. Determine the power output configuration corresponding to the target individual optimal solution and the target global optimal solution to determine the optimal power output configuration of the output power of the power grid, the output power of each distributed power source, and the output power of the energy storage device.

[0070] In this embodiment, the objective function is solved using the particle swarm optimization algorithm, which can effectively find the optimal solution in a complex search space. The particle swarm optimization algorithm is an optimization technology based on swarm intelligence, which simulates the foraging behavior of bird flocks to find the optimal solution. Each particle represents a possible solution. The particle swarm continuously updates its position and speed through the sharing of individual experience and group experience, and finally converges to the optimal solution.

[0071] Among them, the objective function is usually related to factors such as the operating efficiency, cost, and reliability of the energy storage device, as well as the power generation efficiency of the distributed power source and the cost of using the power grid. By particle-izing the objective function, each power particle represents a set of possible power output configurations, and the particle swarm optimization algorithm can evaluate and optimize these configurations.

[0072] After initializing the power particle swarm, calculating the fitness value of each power particle is a key step. The fitness value is calculated based on the objective function and reflects the quality of the power output configuration. By comparing the fitness values ​​of different particles, the individual optimal solution of each particle and the global optimal solution of the entire particle swarm can be determined.

[0073] During the iteration process, the speed and position of the particles are adjusted according to the individual optimal solution and the global optimal solution to guide the particles to move to a better search area. This process is repeated until the preset number of iterations or fitness value convergence conditions are met, thus ensuring that the optimal solution is found.

[0074] Finally, the power output configuration corresponding to the determined target individual optimal solution and the target global optimal solution provides a basis for the optimal power output configuration of each distributed power source and energy storage device in the microgrid. This solution method based on the particle swarm optimization algorithm not only improves the operating efficiency of the microgrid, but also can effectively cope with the fluctuation of renewable energy and ensure the stable and efficient operation of the microgrid.

[0075] It can be understood that the microgrid includes a host computer, which is set as an EtherCAT master station. The energy storage device is electrically connected to the host computer through the EtherCAT bus; the host computer is electrically connected to multiple distributed power sources and multiple loads through the EtherCAT bus.

[0076] Optionally, refer to Figure 7 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figures 1 to 6 In any of the embodiments shown, the control method of the energy storage device further includes steps S1000-S1400, wherein: S1000. Establish an EtherCAT network topology structure so that the energy storage device, each distributed power source and each load are a node in the EtherCAT network; the host computer manages and controls the EtherCAT network; S1100, assigning a unique address to each node based on a random algorithm to generate an identity identification code corresponding to each node; S1200, according to the identification code, send a configuration command to each node through the EtherCAT master station to initialize the corresponding operating parameters of each node; S1300, setting a corresponding collection period of real-time operation data, sending a data collection request to each node through the EtherCAT master station during the collection period, and receiving the current operation data returned by each node, so as to summarize and analyze the data in the EtherCAT master station and generate corresponding data results; S1400. Determine the real-time operating data of the energy storage device, the real-time operating data of each distributed power source, and the real-time operating data of each load according to the data results.

[0077] In this embodiment, the EtherCAT bus is used to achieve efficient communication and data exchange between the energy storage device, each distributed power source, and each load, ensuring that the microgrid control system can monitor and manage the operating status of the entire network in real time. EtherCAT bus technology has become an indispensable part of the microgrid control system with its high speed, high precision, and high reliability.

[0078] After the EtherCAT network topology is established, the host computer, as the EtherCAT master, is responsible for managing and controlling the entire network. By assigning a unique address to each node, the identity of each component in the network and the accuracy of data transmission are ensured. And due to the introduction of the random algorithm, the address allocation process is more flexible and efficient, avoiding the possibility of address conflicts.

[0079] The random algorithm may be a random algorithm based on a hash function, which generates a unique address by taking the physical characteristics or serial number of the node as input. The hash function has good anti-collision properties, ensuring that each node can obtain a unique address even in a large-scale network.

[0080] Optionally, initializing the operating parameters of each node is a key step to ensure the stable operation of the energy storage device and distributed power supply. By sending configuration commands, the host computer can perform initial settings for each distributed power supply, energy storage device and load to ensure that they operate according to the predetermined parameters. This process not only improves the startup efficiency of the system, but also lays the foundation for subsequent real-time monitoring and adjustment.

[0081] Optionally, a collection cycle of real-time operation data is set so that the host computer can obtain the operation data of each node regularly. By sending data collection requests, the host computer can collect the power generation of each distributed power source, the charging and discharging status of each energy storage device, and the power consumption of each load. After these data are aggregated and analyzed, the generated data results provide an important basis for real-time monitoring and optimization of the microgrid.

[0082] Optionally, the collection of real-time operation data is not limited to voltage, current and power, but also includes other key parameters such as temperature and frequency. Real-time monitoring of these data helps to detect abnormal situations in a timely manner and take corresponding measures to ensure the safe and stable operation of the microgrid. For example, when the output voltage of a distributed power source is detected to be abnormal, the system can quickly adjust the output of other power sources to compensate for the voltage fluctuation and ensure stable power supply to the load.

[0083] In addition, through the analysis of real-time data, the control device can also perform predictive maintenance and optimize scheduling. For example, based on historical data and current operating status, the control device can predict the power generation trend of renewable energy and adjust the charging and discharging strategy of the energy storage device in advance to maximize the use of renewable energy and reduce dependence on traditional energy. This not only improves the efficiency of data collection and processing, but also enhances the stability and reliability of the system.

[0084] Optionally, refer to Figure 8 Another embodiment of the present invention provides a control method for an energy storage device, based on the above Figure 1 The embodiment shown in the figure continuously monitors the real-time operation data, the remaining capacity and the health status to generate corresponding monitoring results, and re-optimizes the charging and discharging strategy of the energy storage device according to the monitoring results, including steps S310-S330, wherein: S310, collecting voltage data, frequency data, phase data, remaining capacity and health status of the energy storage device in real time based on the EtherCAT bus, and comparing them with the preset voltage, preset frequency, preset phase, preset capacity and preset health status respectively; S320, when it is detected that one or more of the voltage data, frequency data, phase data, remaining capacity or health status exceeds a preset range, dynamically adjust the power output of the energy storage device according to the degree and direction of the excess; S330, repeat the above monitoring and adjustment process to continuously optimize the charging and discharging strategy of the energy storage device.

[0085] In this embodiment, by real-time monitoring of the key parameters of the energy storage device, the control device can quickly respond to various changes to ensure the stable operation of the entire control device. When the voltage, frequency or phase of the control device deviates, the control device will automatically adjust the power output and frequency and other parameters of the energy storage device according to the size and direction of the deviation. This dynamic adjustment mechanism can not only cope with the volatility of renewable energy, but also effectively cope with the impact of load changes.

[0086] For example, when the voltage of the energy storage device is lower than the preset range, the control device will reduce the discharge power of the energy storage device and charge the energy storage device during the grid valley period and when the power output of the distributed power source meets the minimum load demand. On the contrary, if the voltage of the energy storage device is too high, the power output of some distributed power sources will be reduced to reduce the voltage level. Similarly, the adjustment of frequency and phase is also achieved by dynamically adjusting the power output.

[0087] In addition, by collecting historical operation data and real-time monitoring data, the control device can establish a prediction model to predict the operation status of the energy storage device in the future. Based on the prediction results, the control device can adjust the power output strategy of the distributed power supply and energy storage device in advance to cope with the volatility of distributed energy and the uncertainty of load.

[0088] For example, if the prediction model shows that wind power generation will decrease in the future, the control device can increase the power output of other distributed power sources in advance, or adjust the charging and discharging strategy of the energy storage device to ensure the stable power supply output of the energy storage device. Through this predictive optimization scheduling, the operating efficiency and reliability of the control device have been greatly improved.

[0089] The present invention also proposes a control device, which includes: the control device includes: a memory, a processor, and a microgrid control program stored in the memory and executable on the processor, the microgrid control program is configured to implement the above energy storage device control method.

[0090] It is worth noting that since the control device of the present invention is based on the control method of the energy storage device mentioned above, the embodiments of the control device of the present invention include all technical solutions of all embodiments of the control method of the energy storage device mentioned above, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0091] The present invention also provides a microgrid, which includes the control device as described in the above embodiment.

[0092] It is worth noting that since the microgrid of the present invention is based on the above-mentioned control device, the embodiments of the microgrid of the present invention include all technical solutions of all embodiments of the above-mentioned control device, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0093] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0094] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0096] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A control method for an energy storage device, wherein the energy storage device is applied to a microgrid, the energy storage device is used to access a total power input end of multiple distributed power sources and loads, and the energy storage device and the multiple distributed power sources are connected via an EtherCAT bus, characterized in that: The control method comprises: Acquire the real-time operation data of the energy storage device, the remaining capacity of the energy storage device, and the health status of the energy storage device through the EtherCAT bus, and filter, normalize, and remove outliers on the collected real-time operation data to generate the operation status information of the energy storage device; Based on the operation status information, a particle swarm optimization algorithm is used to optimize the charging and discharging strategy of the energy storage device, and the charging and discharging power of the energy storage device is dynamically adjusted so that the energy storage device and the plurality of distributed power sources coordinately output corresponding power to the load; The real-time operation data, the remaining capacity and the health status are continuously monitored to generate corresponding monitoring results, and the charging and discharging strategy of the energy storage device is re-optimized according to the monitoring results.

2. The control method of the energy storage device according to claim 1, characterized in that: Based on the operation status information, the particle swarm optimization algorithm is used to optimize the charging and discharging strategy of the energy storage device, and the charging and discharging power of the energy storage device is dynamically adjusted so that the energy storage device and the plurality of distributed power sources coordinately output corresponding power to the load, including: Obtain the current peak and valley period of the power grid, the first power output range of each distributed power source, the current total power demand of the load, and the priority corresponding to each load; Determining a current second power output range of the energy storage device according to the operating status information; Constructing an objective function including a plurality of constraints to minimize the power output value of the second power output range according to the peak and valley periods, wherein the constraints include the peak period or valley period of the power grid, the power output limit of the energy storage device, the minimum power demand of the load, and the stable range of the output voltage; Solving the objective function based on a particle swarm optimization algorithm, and determining the power value of the energy storage device allocated to each of the loads according to the output power in the first power output range, so as to determine the optimal power output configuration of the output power of the power grid, the output power of each of the distributed power sources, and the output power of the energy storage device; The optimal power output configuration is compared with a preset configuration-instruction mapping relationship to generate a control instruction to adjust the power output of the power grid, the power output of each of the distributed power sources, and the power output of the energy storage device.

3. The control method of the energy storage device according to claim 2, characterized in that: The constructing an objective function including a plurality of constraints to minimize the power output value in the second power output range according to the difference between the peak and valley periods includes: Obtaining a first power output limit of each of the distributed power sources and a second power output limit of the energy storage device; The corresponding power output limits of the energy storage device during the peak and valley periods of the power grid are respectively set, and the stable range of the output voltage is set, and the minimum power demand of the load within the voltage stable range is determined, wherein the minimum power demand of the load is the minimum power required for the load to operate normally; The peak and valley positions corresponding to the power grid, the first power output limit, the second power output limit, the voltage stability range and the minimum power demand of the load are used as constraints to construct an objective function to minimize the power output value of the second power output range.

4. The control method of the energy storage device according to claim 3, characterized in that: The corresponding power output limits of the energy storage device during the peak period and the valley period of the power grid are set respectively, and the stable range of the output voltage is set, and the minimum power demand of the load under the voltage stable range is determined, including: Obtain historical load operation data, analyze the load operation characteristics corresponding to the peak period and valley period of the power grid, and determine the rated voltage and rated frequency of each load; setting the power output limit according to the operating characteristics and the rated voltage; According to the rated voltage and rated frequency, set the voltage stability range and frequency stability range; Monitor real-time voltage data and real-time frequency data, and compare them with the voltage stability range and the frequency stability range, respectively, to determine whether the current voltage and frequency are within the stable range; If the real-time voltage data and / or the real-time frequency data are outside the stable range, obtain the current load type and the priority corresponding to each load, adjust the weight coefficient of each load demand, and adjust the power output of each distributed power source and the energy storage device corresponding to the weight coefficient to keep the voltage and frequency within the stable range.

5. The control method of the energy storage device according to claim 4, characterized in that: The method for constructing the preset configuration-instruction mapping relationship is specifically as follows: At least one set of preset power output configurations is set, wherein each of the preset power output configurations sets the energy storage device to output a power that matches the operating state according to the peak and valley periods of the power grid, and is combined in a one-to-one correspondence with the load demand; Based on the particle swarm optimization algorithm, simulate the operation of each of the preset power output configurations to determine the operating state of the energy storage device and the degree of satisfaction of the load under the corresponding configuration; Determining an operating state deviation according to the operating state and a preset operating state; Determine the satisfaction degree deviation according to the satisfaction degree of the load and the optimal satisfaction degree of the load; According to the operating state deviation and the satisfaction degree deviation, the power output of the energy storage device is adjusted, and communication is performed with each of the distributed power sources based on EtherCAT to adjust the power output of each of the distributed power sources until the operating state deviation and the satisfaction degree deviation are both within a preset threshold value, and the corresponding power output of the energy storage device is determined when the operating state deviation and the satisfaction degree deviation are both within the preset threshold value to generate a corresponding power configuration result; The power configuration result is used to generate a corresponding control instruction, and is associated with the corresponding preset power output configuration to generate a corresponding preset configuration-instruction mapping relationship.

6. The control method of the energy storage device according to claim 2, characterized in that: The objective function is solved based on the particle swarm optimization algorithm, and the power value allocated to each load by the energy storage device is determined according to the output power in the first power output range, so as to determine the optimal power output configuration of the output power of the power grid, the output power of each distributed power source and the output power of the energy storage device, including: Particleizing the objective function based on the particle swarm optimization algorithm to generate a corresponding power particle swarm, wherein each power particle is a group of possible power output configurations; Initialize the power particle group to set an initial position and an initial speed for each of the power particles, wherein the initial position is a set of possible power output configurations, and the initial speed is the moving direction and step length of the power particle in the search space; After the power particle group is initialized, the fitness value of each power particle is calculated, and the fitness value is used to evaluate the quality of the power output configuration of each power particle; According to the fitness value, update the individual optimal solution and the global optimal solution in the particle swarm, wherein the individual optimal solution is the best position encountered by each particle in its historical search process, and the global optimal solution is the best individual optimal solution among all particles; adjusting the speed of the power particle and the position of the power particle according to the individual optimal solution and the global optimal solution to guide the particle to move to a better search area; Repeat the steps of calculating the fitness value, updating the individual optimal solution, updating the global optimal solution, and adjusting the speed of the power particle and the position of the power particle until a preset number of iterations is reached or the fitness value converges, so as to determine a target individual optimal solution and a target global optimal solution; The power output configurations corresponding to the target individual optimal solution and the target global optimal solution are determined to determine the optimal power output configurations of the output power of the power grid, the output power of each of the distributed power sources, and the output power of the energy storage device.

7. The control method of the energy storage device according to any one of claims 1 to 6, characterized in that: The microgrid includes a host computer, which is set as an EtherCAT master station, and the energy storage device is electrically connected to the host computer through an EtherCAT bus; the host computer is electrically connected to multiple distributed power sources and multiple loads through the EtherCAT bus; The control method of the energy storage device also includes: Establishing an EtherCAT network topology structure so that the energy storage device, each of the distributed power sources and each of the loads are nodes in the EtherCAT network; the host computer manages and controls the EtherCAT network; Assigning a unique address to each of the nodes based on a random algorithm to generate an identity identification code corresponding to each of the nodes; According to the identification code, a configuration command is sent to each of the nodes through the EtherCAT master station to initialize the operating parameters corresponding to each node; Setting a corresponding collection period of real-time operation data, sending a data collection request to each node through the EtherCAT master station during the collection period, and receiving the current operation data returned by each node, so as to summarize and analyze the data in the EtherCAT master station and generate corresponding data results; According to the data results, the real-time operating data of the energy storage device, the real-time operating data of each of the distributed power sources, and the real-time operating data of each of the loads are determined.

8. The control method of the energy storage device according to claim 7, characterized in that: The continuously monitoring the real-time operation data, the remaining capacity, and the health status to generate corresponding monitoring results, and re-optimizing the charging and discharging strategy of the energy storage device according to the monitoring results, includes: Based on the EtherCAT bus, the voltage data, frequency data, phase data, remaining capacity and health status of the energy storage device are collected in real time, and compared with the preset voltage, preset frequency, preset phase, preset capacity and preset health status respectively; When it is detected that one or more of the voltage data, the frequency data, the phase data, the remaining capacity or the health status exceeds a preset range, dynamically adjusting the power output of the energy storage device according to the degree and direction of the excess; The above monitoring and adjustment process is repeated to continuously optimize the charging and discharging strategy of the energy storage device.

9. A control device, characterized in that: The control device comprises: a memory, a processor, and a control program of the energy storage device stored in the memory and executable on the processor, wherein the control program of the energy storage device is configured to implement the control method of the energy storage device according to any one of claims 1 to 8.

10. An energy storage device, characterized in that: Comprising a control device as claimed in claim 9.

Citation Information

Patent Citations

  • Monitoring method of micro-grid system capable of automatically realizing energy balance

    CN104701882A

  • Method for realizing microgrid control system based on high-speed Ethernet industrial bus

    CN105306327A

  • Considering the coordinated optimization scheduling method of multiple microgrids containing new energy electric vehicles

    CN110138006B

  • Optimization method and system for participation of energy storage power station group in power system AGC

    CN112838604A

  • Distributed energy storage locating and sizing method and system based on improved wolf pack algorithm

    CN118134018A

Cited By

  • Method, device and equipment for generating dispatching optimization information of sending-end power grid and storage medium

    CN119765307A