The control strategy for distributed energy storage devices using fully diffusion strategy
Zejian Liu, Ping Yang, Xu Lin, Ziwei Fan, Cencen Hong

TL;DR
This paper introduces a new control method for energy storage units that improves stability and performance using a diffusion strategy.
Contribution
A novel distributed secondary control using diffusion strategy is proposed for managing energy storage units with uncertain initial states.
Findings
Diffusion strategy ensures stability regardless of the network topology.
The proposed method outperforms consensus strategies in convergence rate and mean-square-error.
Simulation results confirm the effectiveness of the diffusion strategy in demand response for distributed energy storage units.
Abstract
The distributed energy storage device units (ESUs) in a DC energy storage power station (ESS) suffer the problems of overcharged and undercharged with uncertain initial state of charge (SOC), which may reduce the service period of ESUs. To address this problem, a distributed secondary control based on diffusion strategy is proposed. In the first layer, each ESUs operates with its local controller by droop control. In the second layer controller, diffusion strategy coordinate the SOC of multiple distributed ESUs with uncertain initial SOC. Compared with centralized control, the proposed method contributes to a higher scalability and reliability. Diffusion strategy allows adjacent nodes to diffuse and cooperate information in real-time, and it includes a stochastic gradient term. Thus, diffusion strategy can achieve a higher convergence rate and lower mean-square-error than consensus…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMicrogrid Control and Optimization · Smart Grid Energy Management · Energy Harvesting in Wireless Networks
Introduction
1
Renewable energy generation systems, such as offshore wind power generation system and photovoltaic power generation system are effective measures to solve the problems of ever-deteriorating environment and impending depletion of fossil fuels [[1], [2], [3], [4]]. For the features of renewable energy, the generated output power is random and intermittent. Thus, to increase the accommodation and the utilization of wind energy, an energy storage power station (ESS) is configured to realize peak shaving for the bulk power grid system [5,6].
Compared with alternating current ESS, direct current ESS offers the advantages of high quality power energy with lower harmonic current, no transformer loss, high transmission capacity, and so on. Thus, an offshore wind farm should be configured with a DC ESS to balance the local power and output power [7,8].
In the DC ESS, the distributed ESUs can apply the centralized control method and decentralized control method [9]. Using the centralized control method, the superior centralized controller is necessary to process massive data, and the data transmission relies on the performance of communication system. The fault of communication system and centralized controller may lead to the entire ESS down, which results in a poor fault tolerant ability [10].
Using the decentralized control method, each ESU is configured with its unique controller, the single individual controller's fault has no influence on the other ESUs. And it only detects the information of local ESU with no need for communication system. Thus, the decentralized control system is more reliable [11,12]. While, in general, the decentralized control system adopts droop control, which results in a steady-state errors of the output voltage [13].
The distributed control method overcomes the shortcomings of both decentralized control system and centralized control system [14]. And the distributed control method only requires the local information and the adjacent nodes' information to implement that the state variables of each ESSs tend to be consistent. Thus, the distributed control method is more scalability, flexibility, and robustness [15]. Among the distributed multi-agent algorithms, the consensus algorithm is widely used, but its convergence rate is small, and the convergence time is long. While the diffusion strategy adopts gradient algorithm to improve convergence rate and reduce the convergence time [16,17].
Micro grid and smart grid have widely used the distributed consensus algorithm in many fields, such as the load power allocation, economic dispatch control, the frequency and voltage control and so on [[18], [19], [20], [21], [22]]. For instance Ref. [20], applies the dominated group search optimization algorithm to achieve the targets in an economic environmental manner of cryogenic energy storage system in microgrids.
For ESS [[23], [24], [25], [26]], introduce a two-level control framework, the first layer controller applies a droop control, the second layer controller applies the distributed consensus algorithm to compensate voltage deviation correction caused by the first layer controller. But the consensus algorithm contains an integration element, the initial value of integration may cause a longer convergence time and steady-state error.
The first layer controller with droop control ensures that ESS can operates with individual controllers. But the traditional droop control strategy always adopts constant droop coefficient, which leads to the unbalanced SOC [19]. Once the initial SOCs of each ESUs are different, and the line impedances are also different, a portion of ESUs may come into being serious problems, such as over-discharging and over -charging. And affected by the line impedances, the output voltages of each ESUs are not the same, which results in a circulating current. With a larger droop coefficient, the influence of line impedances can be neglected, while the steady-state error by droop control is relatively large. And The second layer controller with distributed consensus algorithm can address the problems caused by the different initial SOCs and line impedance.
Thus, in this paper, a two layer control framework is introduced, and the first layer controller adopts an improved droop control with adaptive droop coefficients, which can adjust the SOCs of each ESUs balanced during charging process and discharging process. The second layer controller adopts the distributed diffusion strategy to compensate the voltage error caused by the line impedances and the first layer controller.
Compensating the voltage error is equivalent to an optimization problem. One of the optimization objectives is to minimize the variance of the average output voltages of each ESUs, it is equivalent to compensate the voltage error caused by line impedance. The other one optimization objective is to minimize the variance of the output power of each ESUs, it is equivalent to compensate voltage error caused by droop control. In other words, using the distributed consensus algorithm, one control target is balanced power allocation among each ESUs to achieve equalization SOC, and the other control target is voltage deviation correction caused by droop control to achieve a rated reference DC bus voltage.
Finally, a simulation model is built to verify the effectiveness of proposed two layer control framework.
The topology of distributed ESU
2
The configuration of ESS
2.1
The ESS for offshore wind farm consists of transformer, circuit breaker, bi-direction DC/DC converter, bi-direction AC/DC converter, and battery. Fig. 1 shows the configuration of ESS.Fig. 1. The configuration of ESS.Fig. 1
In Fig. 1, Zline is the line impedance. The battery can use different types of battery with different capacity, such as lithium Battery, super capacitor, flywheel energy storage system and so on. ALL the battery can be with different discharging and charging power. DC/DC converter applies the Buck/Boost converter. An ESU contains a battery and DC/DC converter, and it is plug-and-play. The ESU is shown in Fig. 2.Fig. 2. The ESUFig. 2
In Fig. 2, vout, iout are the output voltage and output current of ESU, L is the inductance, T_1_ and T_2_ are insulated-gate bipolar transistors (IGBT), C is the capacitance. iL is the output current of battery.
The control strategy for ESU
2.2
For any individual ESU, the control strategy contains two control loops, and it is divided into some categories, such as constant voltage control strategy, constant current control strategy, and so on. Using the constant voltage control strategy, the detailed control block diagrams is shown in Fig. 3.where, uout_ref, iout_ref is the reference of output voltage and output current of ESU, d is the duty cycle for IGBT in Buck/Boost converter. Both PI1 and PI2 are proportional-integral controllers. And iout_ref is expressed as Equation (1), d is expressed as Equation (2).Fig. 3. The control block diagram.Fig. 3
As shown in Fig. 3, it consists of two control loops, the input of outer loop controller is the difference value between the output voltage reference and the actual output voltage, and the output of outer loop controller is output current reference. And the input of inner loop controller is the difference value between the output current reference and actual output current, the output of inner loop controller is duty cycle. Iout_ref and d are expressed as
where, kP1 and kI1 are the proportional coefficient and integral coefficient for PI1 controller, kP2 and kI2 are the proportional coefficient and integral coefficient for PI2 controller.
The first layer controller
3
The principle of droop control
3.1
The droop control for ESU is different from the droop control for photovoltaic power generation system and wind power generation system. The two-quadrant working principle of ESU is shown in Fig. 4. In the first quadrant, ESU operates in discharging mode, and ESU outputs the power to DC bus. In the second quadrant, ESU operates in charging mode, and DC bus outputs the power to ESU.Fig. 4. The droop coefficient curve for ESU.Fig. 4
In Fig. 4, uout_H, uout_L is the maximum output voltage and the minimum output voltage of ESU, uout_0 is the no-load output voltage, id_max and ic_max are the maximum discharging current and charging current.
The function expression of droop control is described as Equation (3).
where R is the droop coefficient. Thus, the output power of ESU is inversely proportional to its SOC.
The different initial SOCs of each ESUs may result in that partial ESUs may be overcharged and over discharged.
The improved droop control
3.2
ESUs in the ESS should support plug and play functionality. And the capacities, SOCs and rated powers of multiple distributed ESUs may be different. To adjust the SOCs of each distributed ESUs balanced, an improved droop control with adaptive droop coefficients is proposed.
For the charging process, the droop coefficient is expressed as
For the discharging process, the droop coefficient is expressed as
where, Ri is the constant droop coefficient of the ith ESU, Ric is the adaptive droop coefficient of the ith ESU during the charging period, Rid is the adaptive droop coefficient of the ith ESU during the discharging period. n is the equalizing coefficient of SOC, and it is a positive constant. Cmax is the maximum capacity of ESU among all the distributed ESUs, Ci is the capacity of the ith ESU. SOC_i_ is SOC of the ith ESU.
Based on Equation (4) and Equation (5), the adaptive droop coefficients are related to SOCs of each ESUs. And according to Equation (5), during the discharging period, since n is a positive value, SOC_i^-n^ is a monotone decreasing function of SOCi_. Hence, with the larger initial SOC, the droop coefficient is small, which contributes to a higher discharging current. Conversely, with the smaller initial SOC, the droop coefficient is larger, which contributes to a lower discharging current. Therefore, the SOC of ESU with larger initial SOC falls faster than the SOC of ESU with smaller initial SOC.
Based on Equation (4), during the charging period, SOC_i^n^ is a monotonic increasing function of SOCi_. Hence, with the larger initial SOC, the droop coefficient is large, which contributes to a lower charging current. Conversely, with the smaller initial SOC, the droop coefficient is small, which contributes to a higher charging current. Therefore, the SOC of ESU with larger initial SOC increases more slowly than the SOC of ESU with smaller initial SOC.
That is, with the adaptive droop coefficients, the SOCs of each distributed ESUs are adjusted to be balanced during the discharging and charging process. And the improved droop control of each ESUs only detect its own information without communication with other ESUs. Thus, the communication network system is unessential.
In addition, according to Equation (4) and Equation (5), the balanced speed of SOC is related to n. The larger n contributes to a larger balanced speed. While with a higher n, the initial discharging and charging power of ESU is larger. Thus, n is set according to two aspects: the balanced speed, the maximum discharging and charging power.
The control schematic diagram of proposed droop control is shown in Fig. 5.Fig. 5. The improved droop control.Fig. 5
The technical limitation of improved droop control
3.3
Since the existence of line impedances, the DC bus voltages at each nodes are different, and it cannot be calculated by Equation (3). Fig. 6 shows the equivalent circuit of an example with two ESUs.Fig. 6. The equivalent circuit of two distributed ESUs.Fig. 6
As shown in Fig. 6, the DC bus voltage is expressed as Equation (6).
where udc_bus is the voltage of DC bus, R1_line and R2_line are the line impedance.
According to Equation (6), for the existence of line impedances, there is a circulating current in two ESUs, and the output voltages of ESUs are different, too. Affected by the operation condition and ambient environment, the line impedance changes during the operation period.
With a larger droop coefficient, the influence of line impedance is neglected. While there is a steady-stable error by using droop control, and with a larger droop coefficient, the steady-stable error increases, which results in a DC bus voltage drop. Thus, the droop coefficient is limited by Equation (7).
where is the maximum fluctuation of DC bus voltage, i_iout_max is the maximum charging and discharging current of the ith ESU. Thus, the droop coefficient in Equation (6) is limited by Equation (7).
But with a small droop coefficient, affected by the line impedance, the output voltages of each ESUs are different.
The second layer controller
4
The diffusion strategy
4.1
Suppose there are N nodes in a communication network, each node represents an ESU. By consensus algorithm, the equation for the state variable is expressed as Equation (8).
where i represents the ith node, k represent the kth iteration. aij is the element in adjacent matrix. Ni is the sets of adjacent nodes of the ith node.
For the diffusion strategy, the communication topology is the same as the consensus algorithm. While their adjacent matrix is different. In the diffusion strategy, the adjacent matrix is not symmetrical, and aij is the weight coefficient that each node places on the others.
If the jth node and the ith node are adjacent nodes, aij is a positive value. If the jth node is not the adjacent node of the ith node, aij is equal to 0.
Literature [27] introduces that aij should satisfy Equation (9) to obtain the convergence of distributed optimization.
Equation (10) describes a formula for aij to obtain a stability and convergence of mutative communication topology by using Metropolis rules. And it is expressed as
where ni and nj are the total number of adjacent nodes of the ith node and the jth node.
The diffusion strategy divides into two steps, adapt and combine. In the first step, an intermediate variable is calculated by the gradient of the objective function and the information from the adjacent nodes, it is expressed as Equation (11).
where φi,k is the intermediate variable of the ith node at the ith iteration. μi is step size, and it is a small positive constant. Ji(xi,k-1) is the objective function.
In the second step, the state variable is calculated and expressed as Equation (12).
where, φj,k is renewed by Equation (11).
Fig. 7 shows a typical communications topology of five nodes.Fig. 7A typical communication topology.Fig. 7
For the communication topology shown in Fig. 7, the adjacent matrix of diffusion strategy is expressed as Equation (13), and the adjacent matrix of consensus algorithm is expressed as Equation (14).
The contrast of Equation (8) and Equation (12), and the contrast of Equation (13) and Equation (14) show the essential difference between diffusion strategy and consensus algorithm. Compared with the state variable in consensus algorithm, the diffusion strategy improves the convergence speed by introducing the grant of the objective function. And compared with the adjacent matrix in consensus algorithm, the diffusion strategy introduces a weight factor to reduce the convergence time.
The compensation for line impedance
4.2
Since the line impedance causes an output voltage drop, the output voltages of distributed ESUs are different, which results in a circulating current between different ESUs. One of the control objective in second layer controller is the balanced output voltage. So the control objective is equivalent to achieve the minimum mean square error of average output voltage, and it is expressed as . uavgj is the average output voltage of the jth node, and expressed as Equation (15). is the mean square error of uavgi, and expressed as Equation (16).
Thus, by diffusion strategy, in the first step, the intermediate variable is expressed as Equation (17) based on Equation (11).
where is the first state variable, and expressed as Equation (18). is expressed as Equation (19).
in the second step, the state variable is updated based on Equation (12), and it is expressed as Equation (20).
So by the diffusion strategy, the compensation voltage caused by impedance line is expressed as Equation (21).
where is the compensation of the unbalanced output voltage of distributed ESUs, and expressed as Equation (23). is the compensation of the reference voltage, and expressed as Equation (22). If the ith node can receive the reference voltage, gi is equal to 1. If the ith node cannot receive the reference voltage, gi is equal to 0.
where kPv1, kIv1 are the proportional coefficient and integral coefficient of reference voltage controller. kPv2, kIv2 are the proportional coefficient and integral coefficient of average output voltage controller. is the estimated value of average output voltage of the ith nodes at the kth iteration, and expressed as Equation (24).
The compensation for equalization SOC
4.3
The other objective of the second layer is to allocate the power between distributed ESUs to achieve equalization SOC. The state variable is expressed as Equation (25).
where is the second state variable. Pi is the charging and discharging power of the ith ESU, and expressed as Equation (26). Ci is the capacity of the ith ESU. Si is the remaining SOC of the ith ESU. During the discharging period, Si is expressed as Equation (27). During the charging period, Si is expressed as Equation (28).
where, SOC_min_ and SOC_max_ are the minimum and maximum SOC of each ESUs, typically 20 % and 80 %.
The control objective is equivalent to obtain the minimum mean square error of the state variable, and it is expressed as , and is the minimum mean square error of γi, and is expressed as Equation (29).
where, γavgi is the average value of γj of the adjacent nodes, and expressed as Equation (30).
Thus, by diffusion strategy, in the first step, the intermediate variable is expressed as Equation (31) based on Equation (11).
where is expressed as Equation (32).
in the second step, the state variable is updated and expressed as Equation (33) based on Equation (12).
Thus, the compensation voltage for equalization SOC by diffusion strategy is expressed as Equation (34).
where is the compensation voltage to allocate power to distributed ESUs balanced. is the estimated value of γi at the kth iteration, and expressed as Equation (35). kPγ and kIγ are the proportional coefficient and integral coefficient of γi controller.
The second layer controller
4.4
The control framework of distributed ESUs is divided into two layer, the first layer adopts the improved droop control with adaptive droop coefficients, and the second layer controller applies diffusion strategy. The second layer controller contains two parts, the one part is to compensate the voltage deviation caused by the droop control and line impedance, the other part is to allocate power balanced for equalization SOC.
Fig. 8 shows the two layer controller for distributed ESU.Fig. 8. The two layer controller.Fig. 8
As shown in Fig. 8, the two layer controller requires the communication network system, while once the communication network system is down, with the first layer controller, ESU can still operates with improved droop control.
Results
5
A the improved droop control
5.1
To verify the effectiveness of the improved droop control in the first layer controller, a simulation model with two ESUs is built. The voltage of battery is 200 V, the DC bus voltage is 400 V. The capacity of each ESUs are 1 Ah. The initial SOC of the first ESU is 40 %, the initial SOC of the second ESU is 50 %. At the first stage, the load power is 10 kW, at the second stage, the load power is 25 kW, and the third stage, the load power is 15 kW, the output power of PV is 20 kW. The constant droop coefficient is 5, the equalizing coefficient of SOC is 2. The proportional coefficient and integral coefficient of inner loop are 0.4 and 10, the proportional coefficient and integral coefficient of outer loop are 0.9 and 15, the line impedance is 0.02Ω.
With the improved droop control, Fig. 9(a) shows the charging and discharging current of each ESUs, Fig. 9(b) shows the SOCs of each ESUs, and Fig. 9(c) shows the droop coefficients of each ESUs.Fig. 9. The simulation result of improved control strategy.Fig. 9
As shown in Fig. 9 (c), since the initial SOC of the second ESU is smaller, its droop coefficient is smaller during the charging period, and droop coefficient is larger during the discharging period. Thus, as shown in Fig. 9 (a), for the second ESU, the discharging power is smaller, and the charging power is larger. Conversely, for the first ESU, the discharging power is larger, and the charging power is smaller. And as shown in Fig. 9 (b), the balanced SOC of each ESU is achieved within minutes.
The diffusion strategy
5.2
To verify the effectiveness of diffusion strategy for distributed ESUs in the second layer controller, a simulation model with 3 ESUs is built, and the initial SOC of each ESU is 55 %, 45 % and 33 %. And the communication topology is shown in Fig. 10.Fig. 10. The communication of distributed ESUs.Fig. 10
At 0s–2s, only the improved droop control is used to the control ESU, and at 2s, the second layer controller is introduced. Fig. 11 (a) shows the voltage compensation of output voltage analyzed by diffusion strategy, Fig. 11 (b) shows the SOCs of each ESUs, and Fig. 11 (c) shows the output voltages of each ESUs.
As shown in Fig. 11(a), without the second layer controller, the compensation voltage is equal to 0 V, and with the second layer controller, the compensation voltage is updated with the number of iterations.Fig. 11. The results by diffusion strategy.Fig. 11
Compared Fig. 11, Fig. 10, with the second layer controller, the rate of SOC equalization is higher. Without the second layer controller, it takes about 60s to realize SOC equalization. While with the second layer controller, it takes only about 10s to realize SOC equalization. In other words, the convergence rate of SOC increases, so the convergence time decreases.
As shown in Fig. 11(c), with the second layer, the output voltage of ESU is around 399 V. And without the second layer, the output voltage of ESU is around 394 V. The reference output voltage is set to 400 V. Thus, with the second layer controller, the steady-errors of output voltages of each ESUs are smaller.
The diffusion strategy and decentralized control
5.3
In this simulation model, the parameters of ESUs are the same as the parameters in the second simulation model. At 0s, the impedance is set to 20Ω, and at 2s, the impedance is set to 15Ω. Fig. 12(a) shows the output voltage of ESUs with the decentralized control strategy, and Fig. 12(b) shows the output voltage of ESUs with diffusion strategy.Fig. 12. The output voltage of ESUs with different control strategy.Fig. 12
As shown in Fig. 12(a), with the decentralized control strategy, ESUs can output a stable voltage with a steady state error, and the steady state error increases with the output current. As shown in Fig. 12(b), withe the distributed control strategy, ESUs can also output a stable voltage without steady state error. Thus, with the diffusion strategy, the circulating current between different ESUs decreases.
Conclusions
6
A two layer controller is proposed for the ESS using the distributed diffusion strategy. The first layer controller is an improved droop control with adaptive droop coefficients. And the second layer applies diffusion strategy to compensate the voltage deviation. The voltage deviation compensation contains two parts, one is to compensate the voltage deviation caused by droop control and line impedance. The other one is to allocate the charging and discharging power to achieve a balanced SOC.
In the second controller with diffusion strategy, the control objective is equivalent to an objective function, and the distributed diffusion strategy is used to solve the optimization problem. Compared with consensus algorithm, by introducing the gradient of objective function, the convergence rate increases. And the results shows that the proposed strategy offers a superior performance on the distributed ESUs.
CRediT authorship contribution statement
Zejian Liu: Validation, Methodology, Investigation, Conceptualization. Ping Yang: Resources, Funding acquisition, Conceptualization. Xu Lin: Supervision, Software, Project administration. Ziwei Fan: Visualization, Data curation, Conceptualization. Cencen Hong: Writing – review & editing, Writing – original draft, Methodology, Investigation.
Data availability statement
The material about simulation model related to this article can be found in the supplementary materials. Also, they can be found at https://pan.quark.cn/s/0706b08a06c2.
Funding
Ping Yang reports financial support was provided by The Marine Economic Development (Six Marine Industries) Special Fund Project of Guangdong Province (No. GDNRC[2023]27).
Declaration of competing interest
The authors declare the following financial interests/personal relationships which may be considered as potential competing interests:Ping YANG reports financial support was provided by The Marine Economic Development (Six Marine Industries) Special Fund Project of Guangdong Province. If there are other authors, they declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ayse Kubra Erenoglu Ibrahim Sengor Ozan Erdinc Optimal energy management system for microgrids considering energy storage, demand response and renewable power generation Int. J. Electr. Power Energy Syst.136Mar. 2022107714.1107714.16
- 2Fang Xiaolun Yang Qiang Yan Wenjun Power generation maximization of distributed photovoltaic systems using dynamic topology reconfiguration Protection and Control of Modern Power Systems 732022508522
- 3Manna Saibal Kumar Akella Ashok Singh Deepak Kumar Novel Lyapunov-based rapid and ripple-free MPPT using a robust model reference adaptive controller for solar PV system Protection and Control of Modern Power Systems 812023205229
- 4Qiao Xue Luo Yuyao Xiao Juanxia Optimal scheduling of distribution network incorporating topology reconfiguration, battery energy system and load response CSEE Journal of Power and Energy Systems 83May, 2022743756
- 5Murty V.V.S.N.Kumar Ashwani Multi-objective energy management inmicrogrids with hybrid energy sources and battery energy storage systems Protection and Control of Modern Power Systems 512020120
- 6Malik Sarmad Majeed Sun Yingyun Hu Junjie An adaptive virtual capacitive droop for hybrid energy storage system in DC microgrid J. Energy Storage 70Oct. 20231.11.9
- 7Kumar Rathore Akshay Patil Devendra R.Srinivasan Dipti Non-isolated bidirectional soft-switching current-fed LCL resonant DC/DC converter to interface energy storage in DC microgrid IEEE Trans. Ind. Appl.522Mar./Apr. 201617111722
- 8Cai H.Power tracking and state-of-energy balancing of an energy storage system by distributed control IEEE Access 8Sep. 2020170261170270
