Grouping Control Strategy for Battery Energy Storage Systems Balancing SOC and SOH

In this thesis, I focus on a battery energy storage system (energy storage system) integrated into a microgrid, aiming at developing a grouping control strategy that simultaneously balances state-of-charge (SOC) and state-of-health (SOH). The work is motivated by the fact that microgrids possess low inertia and weak anti-disturbance capability, so random and rapidly fluctuating distributed generation and load power can easily break the internal supply-demand balance. A battery energy storage system with fast charging/discharging capability is a common tool for smoothing unbalanced power. However, the energy storage system is costly and has a limited lifespan. Therefore, it is essential to design a reasonable and effective control strategy that can not only quickly mitigate the unbalanced power of the microgrid, but also reduce the lifespan loss of the energy storage system, maintain sufficient adjustable capability, and ensure the healthy operation of the whole system.

This thesis investigates the grouping method, power distribution model, and control strategy of the battery energy storage system. The main contributions are organized as follows: first, an adaptive dynamic grouping method for the energy storage system considering both SOC and SOH balance is proposed; second, a low-loss balanced grouping power distribution model based on a competition-cooperation mechanism is designed; third, an improved bipartite consensus algorithm (IBCA) is developed and used in the energy storage system control strategy. The proposed methods are validated through simulation studies on a typical microgrid platform.

1. Research Background and Literature Review

Under the national strategic goals of “carbon peak and carbon neutrality” and the construction plan of new power systems, the application of renewable energy generation and supporting energy storage technologies is developing on a large scale. Microgrids, due to their flexible networking characteristics, are becoming an important component of the modern energy system. However, the stochastic and rapidly fluctuating power from distributed sources and loads can easily break the internal supply-demand balance of a microgrid, threatening its safe and stable operation. A battery energy storage system with fast charging/discharging capability is widely used to smooth unbalanced power. Nevertheless, the energy storage system is expensive and has a limited lifespan. Hence, designing a reasonable control strategy that can quickly smooth unbalanced power while reducing lifespan loss and maintaining sufficient adjustable capability is a key research topic.

In the existing literature, grouping methods for the energy storage system are mainly based on capacity and SOC. Some methods sort the SOC of cells and divide them into charging and discharging groups. However, these methods often have rigid grouping models and fail to consider the state-of-health (SOH) of cells, leading to sub-healthy operation and shortened lifespan. To overcome these drawbacks, some researchers have included SOH in the grouping criteria, either by directly grouping based on SOC and SOH or by using intermediate variables such as response capability. Nevertheless, the intrinsic relationship between SOC and SOH is not thoroughly explored, and the grouping model often ignores the dynamic nature of power commands.

For power distribution, traditional methods tend to adopt SOC equalization as the sole objective. When the power command exceeds the capacity of one group, both groups are activated and share the power equally. This may lead to all cells converging to the same SOC, violating the original intention of grouping technology. Moreover, frequent switching of charging/discharging states causes large power shocks and accelerates battery degradation. To reduce the shock loss, some studies have proposed differentiated response mechanisms or segmented control, but they often do not consider both SOC and SOH balance simultaneously.

For the control method, centralized control requires a powerful central controller and suffers from single-point failure and computation burden. Decentralized control is difficult to analyze and control. Distributed control, where each cell communicates with neighbors to achieve a global objective, offers advantages in robustness, scalability, and cost. Distributed consensus algorithms, especially the bipartite consensus algorithm (BCA), are suitable for grouping because they can naturally divide agents into two subgroups with opposite steady-state values. However, BCA has slow convergence, weak anti-interference ability, and high memory usage. To overcome these issues, I propose an improved bipartite consensus algorithm (IBCA) by introducing a canonical transformation matrix, a state feedback matrix, a weight matrix, and single-value predictive control.

2. Adaptive Dynamic Grouping Method for the Energy Storage System

2.1 Fundamental Grouping Model and Its Limitations

The two-group model is the most typical grouping model for the energy storage system. In this model, the energy storage system is divided into two variable-capacity battery groups. One group is assigned to charge and the other to discharge. When the batteries are fully charged or fully discharged, the roles of the two groups are exchanged. This approach has three advantages: reducing the number of charging/discharging switches, synchronizing the cycle numbers of the two groups, and avoiding over-charge/over-discharge. However, existing grouping models mostly rely on SOC only, leading to unbalanced SOH among cells. Therefore, a grouping model that simultaneously considers SOC and SOH is needed.

2.2 BESS Semi-Empirical Life Model and Aging Rate Model

To establish the connection between SOC and SOH, I start from the semi-empirical life model of the energy storage system. The capacity loss can be expressed as:

$$
E_{\text{loss}} = \beta_1 e^{-\frac{E_a + \beta_2 \Gamma_{\text{eff}}}{RT}}
$$

where $E_a$ is the activation energy, $R$ is the gas constant, $T$ is the temperature, and $\Gamma_{\text{eff}}$ is the effective energy throughput. The effective energy throughput is:

$$
\Gamma_{\text{eff}} = E_N u_0 e^{u_1 (D_A / D_R – 1)} (P_A \Delta t) / E_A
$$

where $E_N$ and $E_A$ are the rated and actual capacities, $D_A$ and $D_R$ are the actual and rated depths of discharge, $u_0$ and $u_1$ are fitting coefficients, $P_A$ is the actual power, and $\Delta t$ is the time slot.

Since the depth of discharge is linearly related to SOC for a short time slot, I can derive the aging rate by differentiating the effective energy throughput with respect to time. For charging, the aging rate $v_{\text{loss}}^c$ is obtained as:

$$
v_{\text{loss}}^c = k_0^c e^{u_1 u( S(t-1)) / D_R} \left[ u_0 u_1 \Delta S(t) + u_0 \right] \Delta t
$$

with $\Delta S(t) = S(t) – S(t-1)$. Similarly, for discharging, I obtain $v_{\text{loss}}^d$. These aging rates are proportional to the rate of change of SOC and SOH, as shown by:

$$
v_{\text{loss}} = \gamma \frac{dS_{\text{SOC}}}{dt} = \gamma’ \frac{dS_{\text{SOH}}}{dt}
$$

This indicates that adjusting the aging rate balance can simultaneously adjust the change rates of SOC and SOH, proving the feasibility of coordinated balance.

2.3 Cell-level Aging Rate Evaluation Model

To apply the aging rate concept to individual cells, I further transform the model into a cell-level evaluation model. For cell $i$, the aging rate under charging is:

$$
v_{\text{loss},i}^c = k_0 \left[ k_1 \Delta S_i(t) + k_2 \right] \eta_i^c \left( 1 – S_i(t-1) \right) e^{k_3} \left(1 – S_i(t-1)\right) + k_4
$$

and under discharging:

$$
v_{\text{loss},i}^d = k_0 \left[ k_1 \Delta S_i(t) – k_2 \right] \eta_i^d \left( S_i(t-1) \right) e^{k_5} \left(1 – S_i(t-1)\right) + k_4
$$

where $S_i(t-1)$ and $S_i^{\text{SOH}}(t-1)$ are the SOC and SOH of cell $i$ at the previous time step, $\eta_i^c$ and $\eta_i^d$ are the charging and discharging efficiencies, and $k_0, k_1, k_2, k_3, k_4, k_5$ are constants that can be derived from the original life model. This model directly links the aging rate to the SOC and SOH of each cell.

2.4 Adaptive Dynamic Grouping Model and Method

Based on the cell-level aging rate, I construct an adaptive dynamic grouping model. The optimization objective is to minimize the difference between the sum of aging rates of cells in the charging group and those in the discharging group at each grouping instant:

$$
f = \min \left| \sum_{i=1}^{N_c} v_{\text{loss},i}^{c} (t_{m+1}^s) – \sum_{j=1}^{N_d} v_{\text{loss},j}^{d} (t_{m+1}^s) \right|
$$

where $t_{m+1}^s$ is the $(m+1)$-th grouping instant, $N_c$ and $N_d$ are the numbers of cells in the charging and discharging groups. The constraints include SOC limits:

$$
S_{\min}^c \le S_i \le S_{\max}^c
$$

and the energy balance constraint:

$$
\int_{t_m^s}^{t_{m+1}^s} P(t) dt = E_m^c + E_m^d
$$

where $E_m^c$ and $E_m^d$ are the capacities of the charging and discharging groups in the $m$-th grouping interval. The grouping method performs the following steps: at each grouping instant, the cells are sorted by aging rate, the capacities of the two groups are determined by solving the optimization problem, and the cells are assigned to the charging or discharging group accordingly. During the grouping interval, if the SOC of the charging group becomes too high or the discharging group becomes too low, the roles of the two groups are exchanged without changing the cell members. This adaptive dynamic grouping method ensures that the grouping configuration follows the power command and promotes balanced SOC and SOH.

2.5 Simulation Verification of the Grouping Method

I simulate a microgrid with a 250 kW / 0.5 MWh battery energy storage system composed of 10 battery cells, each rated at 25 kW / 50 kWh. The power command is derived from the actual unbalanced power of a typical day using a low-pass filter and the power limit. Table 1 lists the initial SOC and SOH values of the cells.

Table 1: Initial SOC, SOH, and efficiencies of battery cells
Cell SOC SOH ηc/ηd
1 0.39 1.000000 0.90/0.95
2 0.42 0.999998 0.95/0.92
3 0.43 0.999996 0.93/0.95
4 0.48 0.999994 0.90/0.92
5 0.51 0.999993 0.93/0.95
6 0.53 0.999991 0.95/0.92
7 0.54 0.999990 0.93/0.95
8 0.57 0.999988 0.95/0.95
9 0.60 0.999987 0.90/0.93
10 0.62 0.999986 0.90/0.95

The grouping result over the dispatch horizon is shown in Figure 2 (in the original thesis). It can be seen that at the initial instant, cells 1-5 are assigned to the charging group and cells 6-10 to the discharging group. At 246 min, the two groups exchange roles. At 450 min, the second grouping instant occurs, and the cells are re-assigned based on the adaptive grouping model: cells 1,6,7,8,9 form the charging group and the others form the discharging group. At 1358 min, the third grouping instant occurs, and the group sizes change from 5/5 to 4/6. These results demonstrate that the proposed grouping method can dynamically adjust grouping instants and group capacities according to the power command.

To quantify the SOC and SOH balancing effect, I compare the proposed method with three existing methods: Method 1 (SOC-based grouping), Method 2 (directly using SOC and SOH for grouping), and Method 3 (using response capability as an intermediate variable). The simulation results show that the proposed method achieves better SOC and SOH balance than the other methods. Specifically, the proposed method can adjust group capacities to match the power command, avoiding the situation where one group has insufficient capacity and the other group must respond with a large power shock. The SOH curves of the two groups converge more closely under the proposed method.

3. Low-Loss Balanced Grouping Power Distribution Model Based on Competition-Cooperation Mechanism

3.1 Analysis of Traditional Power Distribution Principles

In the traditional grouping power distribution principle, the energy storage system is equally divided into a charging group and a discharging group. The charging group handles charging and the discharging group handles discharging. When the power command is within the capacity of a single group, that group responds alone. When the power command exceeds the capacity of a single group, both groups respond together. However, this traditional principle has three major conflicts with the original intention of grouping:

Table 2: Conflicts between traditional power distribution and grouping concept
Aspect Traditional principle Grouping concept
All cells SOC converge to the same value SOC equalization objective Maintain group differences to enhance adjustable capacity
Frequent state switching Cells switch charging/discharging state according to power demand Cells should complete full charge/discharge cycles
Large power shocks during switching Cells bear large power changes Reduce switching loss and prolong battery life

These conflicts lead to premature aging and reduced adjustable capacity. To solve these problems, I introduce a competition-cooperation mechanism.

3.2 Competition-Cooperation Mechanism Design

The “cooperation” mechanism refers to the joint response of both battery groups when the power command exceeds the capacity of a single group. The “competition” mechanism is inspired by the “dominant object priority” principle. When both groups respond to a charging command, the charging group should be the dominant group and take a larger proportion of the power, while the discharging group, which must switch from discharging to charging, should take a smaller proportion to reduce the power shock. This design achieves dual goals: reducing the impact loss during state switching and maintaining sufficient power support.

The mechanism logic is illustrated as follows: if $P_{\mathrm{ref}}(t) > 0$ and $0 < P_{\mathrm{ref}} \le P_N^c$, the charging group responds alone. If $P_N^c < P_{\mathrm{ref}} \le P_N$, both groups respond, but the charging group is the dominant group. Similarly, for discharging commands, the discharging group is dominant when both groups respond.

3.3 Multi-Mode BESS Low-Loss Balanced Grouping Power Distribution Model

Based on the competition-cooperation mechanism, I divide the power distribution modes into four categories, as shown in Table 3.

Table 3: Four power distribution modes of the energy storage system
Mode Condition Responding groups
① $0 < P_{\mathrm{ref}}(t) \le P_N^c$ Charging group alone
② $P_N^c < P_{\mathrm{ref}}(t) \le P_N$ Charging group (dominant) + discharging group
③ $-P_N^d \le P_{\mathrm{ref}}(t) < 0$ Discharging group alone
④ $-P_N \le P_{\mathrm{ref}}(t) < -P_N^d$ Discharging group (dominant) + charging group

In modes ② and ④, the competition weight is introduced to ensure the dominant group responds with a larger proportion. The objective functions for each mode are formulated to minimize the standard deviation of aging rates within the group(s), which effectively balances both SOC and SOH. For mode ①:

$$
f_1 = \min \delta_{v_{\text{loss},i}^c}(t+1)
$$

For mode ②:

$$
f_2 = \min \left( \omega_c \delta_{v_{\text{loss},i}^c}(t+1) + \omega_d \delta_{v_{\text{loss},i}^d}(t+1) \right)
$$

with $\omega_c > 1$ and $\omega_d < 1$. For mode ③:

$$
f_3 = \min \delta_{v_{\text{loss},i}^d}(t+1)
$$

For mode ④:

$$
f_4 = \min \left( \omega_d \delta_{v_{\text{loss},i}^d}(t+1) + \omega_c \delta_{v_{\text{loss},i}^c}(t+1) \right)
$$

with $\omega_d > 1$ and $\omega_c < 1$. The constraints include SOC limits and power limits for each cell:

$$
-P_{\max} \le P_{b,i}(t) \le P_{\max}
$$

This multi-mode power distribution model ensures that the dominant group maintains its advantage, thereby reducing switching shock and promoting complete charge/discharge cycles.

3.4 Simulation Verification of the Power Distribution Model

I compare the proposed method with three existing schemes: Scheme 1 (SOC-based only), Scheme 2 (competition-cooperation with SOC equalization), and Scheme 3 (SOC and SOH balancing without competition-cooperation). The power distribution results show that the proposed method maintains the dominant group advantage during cooperative response. The lifespan loss of the energy storage system is calculated and compared in Table 4.

Table 4: Lifespan loss comparison
Scheme Proposed No grouping Scheme 1 Scheme 2 Scheme 3
Lifespan loss (kWh) 0.019 0.040 0.031 0.024 0.022

The results show that the proposed method reduces lifespan loss by 52.5% compared with no grouping, 38.71% compared with Scheme 1, 20.83% compared with Scheme 2, and 13.64% compared with Scheme 3. The expected service life is 14.21 years, significantly longer than the other schemes.

I also evaluate the SOC and SOH balance performance. Table 5 gives the standard deviations of SOC and SOH at the end of the dispatch horizon, along with the SOC recovery average difference.

Table 5: SOC and SOH balance indicators at the end of dispatch
Indicator Proposed Scheme 1 Scheme 2 Scheme 3
$\delta_{\text{SOC}}$ 5.83×10⁻³ 6.71×10⁻³ 6.26×10⁻³ 13.42×10⁻³
$\delta_{\text{SOH}}$ 2.73×10⁻⁶ 6.12×10⁻⁶ 4.75×10⁻⁶ 4.31×10⁻⁶
$\psi$ 0.0888 0.0937 0.0853 0.0916

The proposed method achieves the best SOC and SOH balance while keeping a good SOC recovery performance. This confirms the effectiveness of the competition-cooperation mechanism and the aging-rate-based power distribution model.

4. BESS Control Strategy Based on IBCA and Grouping Power Distribution Model

4.1 Graph Theory and BESS Representation

In the control strategy, I adopt a distributed control approach. The battery cells are represented as nodes in a graph $G = (V, E, A)$, where $V$ is the set of cells, $E$ is the set of communication links, and $A = [a_{ij}]$ is the adjacency matrix. Since the power distribution involves two competitive groups, the graph is a bipartite graph, where the communication weights between cells within the same group are non-negative, and those between different groups are non-positive. The Laplacian matrix $L_n$ is defined as:

$$
L_n = D_n – A_n
$$

where $D_n$ is the degree matrix. The communication topology of the energy storage system is usually an undirected fully connected graph. However, communication delays exist between cells, which affect the convergence speed and stability of the algorithm.

4.2 Bipartite Consensus Algorithm and Its Limitations

The classic BCA with communication delay is described by:

$$
x_i(k+1) = x_i(k) – \varepsilon \sum_{j=1}^n a_{ij}(k) \left[ x_i(k-\tau_{ij}) – \operatorname{sgn}(a_{ij}(k)) x_j(k-\tau_{ij}) \right]
$$

where $x_i$ is the state variable of cell $i$, $\varepsilon$ is the iteration step, and $\tau_{ij}$ is the communication delay. After sufficient iterations, the states converge to two opposite steady-state values:

$$
\lim_{k \to \infty} x_i(k) = \frac{1}{n} \sum_{j=1}^n a_{ij}(k) x_j(0), \quad \lim_{k \to \infty} x_i(k) = -\frac{1}{n} \sum_{j=1}^n a_{ij}(k) x_j(0)
$$

This property is suitable for grouping, but the opposite steady-state values conflict with the actual power allocation requirements where the sum of absolute powers must equal the command. Moreover, BCA suffers from slow convergence, weak robustness, and high memory usage.

4.3 Improved Bipartite Consensus Algorithm (IBCA)

4.3.1 Canonical Transformation Matrix

To resolve the conflict between the opposite steady-state values and the power allocation requirement, I introduce a canonical transformation matrix $\mathbf{D}$ to transform the state variables:

$$
\mathbf{x}(k) = \mathbf{D} \mathbf{x}(k), \quad \mathbf{D} = \operatorname{diag}(\sigma_1, \sigma_2, \ldots, \sigma_n)
$$

where $\sigma_i \in \{1, -1\}$. After this transformation, the transformed system matrix $\mathbf{M}$ is non-positive definite, and the bipartite consensus problem is converted into a standard consensus problem. The state-space equation becomes:

$$
\mathbf{x}(k+1) = \mathbf{M} \mathbf{x}(k)
$$

$$
\mathbf{M} = \mathbf{I}_n – \varepsilon \mathbf{D} \mathbf{L}_n \mathbf{D} / \mathbf{W}
$$

where $\mathbf{W}$ is the power allocation weighting matrix.

4.3.2 State Feedback Matrix and Weight Matrix

To enhance robustness and stability, I introduce a state feedback mechanism inspired by state feedback predictive control (SFPC). The iterative equation is modified as:

$$
\mathbf{x}(k+1) = \mathbf{M} \mathbf{x}(k) + \mathbf{W} \mathbf{u}(k)
$$

and the output feedback correction is:

$$
\mathbf{y}^c(k+j) = \mathbf{y}^b(k+j) + \mathbf{y}^b(k) – \mathbf{y}(k)
$$

The weight matrix $\mathbf{W}$ is introduced to accelerate convergence. The steady-state value becomes:

$$
\lim_{k \to \infty} x_i(k) = \frac{\sum_{j=1}^n w_j a_{ij}(k) x_j(0)}{\sum_{j=1}^n w_j}
$$

The convergence condition is that the eigenvalues of $\mathbf{M}$ lie within the unit circle, and the iteration step should satisfy:

$$
0 < \varepsilon < \frac{2}{\rho(\mathbf{W} \mathbf{D} \mathbf{L}_n \mathbf{D})}
$$

where $\rho(\cdot)$ is the spectral radius.

4.3.3 Optimal State Feedback Based on Single-Value Predictive Control

To reduce the memory usage, I adopt single-value predictive control, where the control input is constant after the initial step. The output of the algorithm is defined as the state difference between cells:

$$
\Delta \mathbf{x}^c(k+1) = \mathbf{E}^T \mathbf{x}(k+1) + \mathbf{E}^T \mathbf{x}(k)
$$

where $\mathbf{E}^T$ is a transformation matrix that computes pairwise differences. The objective function for the rolling optimization is:

$$
J = \Delta \mathbf{x}^{cT} \mathbf{Q} \Delta \mathbf{x}^c + \mathbf{u}^T \mathbf{R} \mathbf{u}
$$

with $\mathbf{Q} = q \mathbf{I}_{n(n-1)/2}$ and $\mathbf{R} = r \mathbf{W}$. By setting the derivative of $J$ with respect to $\mathbf{u}$ to zero, I obtain the optimal control input:

$$
\mathbf{u}(k) = -\left( \mathbf{R} + \mathbf{E}^T \mathbf{Q} \mathbf{E} \right)^{-1} \mathbf{E}^T \mathbf{Q} \mathbf{E} \left( \mathbf{M} \mathbf{x}(k) – \mathbf{x}_p(k) \right)
$$

This approach eliminates the need to store multiple matrices over repeated iterations, thereby reducing the memory footprint.

4.4 Performance Analysis of IBCA

4.4.1 Robustness Analysis

To analyze robustness, I introduce an interference vector $\boldsymbol{\lambda}(k)$ and matrix $\mathbf{S}$ into the system equation. After Z-transform, the interference appears in the state feedback term, allowing the control loop to compensate for the interference. Therefore, IBCA has strong robustness.

4.4.2 Stability Analysis

I construct a Lyapunov function $V = \frac{1}{2} \mathbf{x}^T \mathbf{x}$. Its derivative is:

$$
\dot{V} = \mathbf{x}^T \mathbf{x} = \mathbf{x}^T \left( -\mathbf{L}_n \mathbf{x} + \mathbf{W} \mathbf{k}_1 \mathbf{x}_p + \mathbf{k}_2 \mathbf{x} \right)
$$

Under normal iteration, $\mathbf{x}_p$ is zero, so $\dot{V} = \mathbf{x}^T (-\mathbf{L}_n + \mathbf{W} \mathbf{k}_2) \mathbf{x}$. Since the matrix $-\mathbf{L}_n + \mathbf{W} \mathbf{k}_2$ is negative definite, $V > 0$ and $\dot{V} < 0$, proving that IBCA is asymptotically stable.

4.4.3 Rapidity Analysis

Taking a two-node system as an example, the convergence speed is derived as $v = 1 – \varepsilon (w_1 + w_2)$. To guarantee convergence, $w_i \ge 1$ and the closer $w_i$ is to 1, the faster the convergence. The weight matrix can be designed to be close to 1 while still ensuring the dominant group advantage, thus accelerating convergence.

4.4.4 Low Memory Usage Analysis

Without single-value predictive control, the state feedback matrix requires storing matrices $\mathbf{E}, \mathbf{Q}, \mathbf{R}$ over all iterations, leading to $O(n^2)$ space complexity. By using single-value predictive control, these matrices are only used once to compute the optimal control input, and the storage requirement is reduced significantly.

4.5 Design and Implementation of the BESS Control Strategy

4.5.1 Generation of the Power Allocation Weighting Matrix

Based on the low-loss balanced power distribution model from Section 3, I design the elements of the weight matrix $\mathbf{W} = \operatorname{diag}(w_1(t), w_2(t), \ldots, w_n(t))$. For the case where the charging group responds alone:

$$
w_i^{(1)}(t) = \frac{\xi_1}{v_{\text{loss},i}^c}
$$

where $\xi_1$ is a coefficient. For the case where both groups respond to charging, the weight is multiplied by the sign of the adjacency weight relative to the charging group:

$$
w_i^{(2)}(t) = w_i^{(1)}(t) \cdot \alpha^{\operatorname{sgn}(a_{i,c})}
$$

with the competition coefficient $\alpha = 1 + \frac{S_c^c(t)}{S_d^c(t)}$. Here, $S_c^c(t)$ and $S_d^c(t)$ are the average SOC of charging and discharging groups, respectively. This design ensures that when cell $i$ belongs to the charging group, $a_{i,c} > 0$, so the weight is greater than 1, giving the charging group an advantage. When cell $i$ belongs to the discharging group, $a_{i,c} < 0$, so the weight is less than 1, reducing its power proportion. Similarly, for discharging response, I use:

$$
w_i^{(3)}(t) = \frac{\xi_2}{v_{\text{loss},i}^d}
$$

$$
w_i^{(4)}(t) = w_i^{(3)}(t) \cdot \alpha^{\operatorname{sgn}(a_{i,d})}
$$

To ensure convergence, the weights are normalized by dividing by the minimum weight:

$$
w_i(t) \leftarrow \frac{w_i(t)}{\min\{w_1(t), w_2(t), \ldots, w_n(t)\}}
$$

The coefficients $\xi_1$ and $\xi_2$ must satisfy certain inequalities to guarantee the dominant group advantage, as derived in the thesis.

4.5.2 Implementation of the Control Strategy

The control strategy follows the flowchart shown in Figure 4 (in the original thesis). At time $t$, the power command $P_{\mathrm{ref}}(t)$ is received. Initially, the cells are grouped according to the adaptive dynamic grouping method. Then, the initial power values are randomly assigned to the cells, and the initial state variables are computed as:

$$
\mathbf{x}_0 = \mathbf{D}^{-1} \mathbf{W} \mathbf{P}_0(t)
$$

where $\mathbf{P}_0(t)$ is the vector of initial power values. After that, the IBCA is iterated until the state deviations between any two cells are less than $10^{-4}$. The final state values are then transformed back to power values:

$$
\mathbf{P}_{\mathrm{end}}(t) = \mathbf{D} \mathbf{W} \mathbf{x}_{\mathrm{end}}
$$

and each cell obtains its power command $P_{b,i}(t)$. The constraints on cell power and SOC are enforced:

$$
\left| P_{b,i}(t) \right| \le P_{\max}, \quad S_{\min}^c \le S_i(t) \le S_{\max}^c
$$

During the iteration, the communication delays between cells must satisfy the stability bound:

$$
0 < \tau_{\max} < \frac{\operatorname{atan}\left( \frac{\operatorname{Re}(\lambda_n)}{\operatorname{Im}(\lambda_n)} \right)}{\lambda_n}
$$

where $\lambda_n$ is the eigenvalue of the Laplacian matrix.

4.6 Simulation Verification of IBCA and Control Strategy

4.6.1 Convergence Speed

I simulate a single iteration at a time when the power command is 174.776 kW. The initial SOC, SOH, efficiencies, initial power allocation, and initial delays are listed in Table 1 (same as before). The convergence curves of the proposed IBCA and three comparison algorithms (algorithm 1: BCA with canonical transform; algorithm 2: DCA with SOC weight matrix; algorithm 3: DCA with state feedback but without single-value predictive control) are compared. The proposed algorithm converges in 0.42 s, while algorithm 1, 2, and 3 require 0.636 s, 0.549 s, and 0.57 s, respectively. Over the entire dispatch horizon, the total iteration time of the proposed algorithm is 605 s, which is 33.96% shorter than algorithm 1, 22.95% shorter than algorithm 2, and 26.32% shorter than algorithm 3.

4.6.2 Robustness

When an interference vector is introduced during iteration, all algorithms can still converge, but the steady-state deviation increases. The proposed algorithm has a steady-state deviation of 0.017 kW, while algorithms 1, 2, and 3 have deviations of 0.111 kW, 0.091 kW, and 0.03 kW, respectively. The increase in iteration time under interference is only 8.71% for the proposed algorithm, compared with 20.75%, 18.60%, and 14.74% for the other algorithms. This demonstrates the superior robustness of IBCA.

4.6.3 Stability under Different Communication Delays

I test IBCA under different communication delays: 0.01 s, 0.054 s, 0.1 s, and the critical delay 0.51 s. The convergence time increases with the delay, but the algorithm remains convergent even at the critical delay. The steady-state values are identical under different delays, indicating strong stability. Under interference, the convergence time increases by only 7%-13% for different delays, again confirming the robustness.

4.6.4 Memory Usage

Memory usage is measured by the number of stored data elements during a single power allocation process. The proposed algorithm stores fewer data elements than the other algorithms. Compared with algorithm 1, the memory usage is reduced by 37%; compared with algorithm 2, it is reduced by 21%; and compared with algorithm 3, it is reduced by 63%. The reduction is attributed to the single-value predictive control, which avoids storing multiple high-dimensional matrices over repeated iterations.

4.7 Overall Control Effect

The power tracking performance of the proposed control strategy is shown in Figure 10 (in the original thesis). The actual response of the energy storage system almost coincides with the reference power command. The tracking accuracy reaches 99.8%, which is higher than the centralized control strategy (98.2%) and the distributed control based on DCA (99.2%). This high tracking accuracy is due to the effective cooperation of the two battery groups, which enhances the power support capability. The proposed control strategy ensures fast and accurate power tracking, thereby effectively smoothing the unbalanced power of the microgrid.

5. Conclusion and Future Work

In this thesis, I have proposed a comprehensive control strategy for a battery energy storage system (energy storage system) to balance SOC and SOH while ensuring low-loss, fast, and stable operation. The main contributions are summarized as follows:

(1) An adaptive dynamic grouping method is proposed based on an aging rate evaluation model. This method reveals the intrinsic coupling between SOC and SOH, and uses the aging rate as a key indicator for grouping. Simulation results show that the method can dynamically adjust group capacities and grouping instants according to the power command, effectively improving the SOC and SOH balance of the energy storage system.

(2) A competition-cooperation mechanism is designed to handle the cooperation of two battery groups when the power command exceeds the capacity of a single group. The mechanism ensures the dominant group advantage, reduces the power shock during state switching, and promotes complete charge/discharge cycles. Based on this mechanism, a multi-mode low-loss balanced power distribution model is established. Simulation results show that the energy storage system lifetime can be extended to 14.21 years with significantly reduced SOC and SOH imbalances.

(3) An improved bipartite consensus algorithm (IBCA) is developed by introducing a canonical transformation matrix, a state feedback matrix, a weight matrix, and single-value predictive control. The algorithm achieves faster convergence (over 30% improvement), lower memory usage (37% reduction), and superior robustness and stability compared with existing algorithms. Based on the IBCA and the proposed grouping power distribution model, a control strategy is designed for the energy storage system. The strategy achieves a power tracking accuracy of 99.8%, ensuring fast and accurate compensation of microgrid unbalanced power.

In future work, I plan to investigate control methods that can actively mitigate the negative effects of communication delays, and to incorporate the economic benefits of the energy storage system into the control strategy to further improve its practical value.

Scroll to Top