Introduction
In the context of carbon peak and carbon neutrality, the increasing penetration of renewable energy into the power grid has led to a reduction in system inertia, posing challenges to frequency stability. Battery energy storage systems (battery energy storage system) have emerged as a promising solution for primary frequency regulation due to their fast response and flexibility. However, conventional control strategies often fail to effectively suppress frequency deterioration, limiting the performance of the battery energy storage system in frequency regulation. This paper proposes a comprehensive adaptive primary frequency control strategy for the battery energy storage system to address these limitations. The strategy integrates trend control with inertia and droop control, adaptively adjusts control coefficients based on grid frequency dynamics, and enhances state of charge (SOC) estimation accuracy to prevent overcharging and overdischarging.
The main contributions are summarized as follows. First, we combine trend control with inertia and droop control, defining the trend output of the battery energy storage system and the grid frequency acceleration. The relationship among frequency acceleration, rate of change of frequency (ROCOF), and frequency deviation is explained. Second, we implement adaptive control for the output coefficients of the battery energy storage system. The trend coefficient varies with frequency acceleration, the inertia coefficient varies with ROCOF, and the droop coefficient varies with frequency deviation. This improves the adaptability of the battery energy storage system. Third, to prevent overcharging and overdischarging, we propose a multi-variable adaptive SOC estimation method that combines ampere-hour integration and Kalman filtering, significantly reducing estimation errors. Simulation results under step and continuous load disturbances validate the effectiveness of the proposed strategy.

Primary Frequency Control Model with Battery Energy Storage System
The battery energy storage system participates in primary frequency control together with thermal power units. The system model is shown in the following block diagram, where \( G_p(s) \), \( G_E(s) \), and \( G_L(s) \) represent the output of thermal power units, battery energy storage system output, and load disturbance, respectively. The transfer functions of the thermal reheat steam turbine and governor are denoted \( G_{en}(s) \) and \( G_g(s) \). The governor transfer function is
$$
G_g(s) = \frac{1}{1 + s T_g}
$$
where \( T_g \) is the governor time constant. The thermal reheat steam turbine transfer function is
$$
G_{en}(s) = \frac{1 + s F_{HP} T_{RH}}{(1 + s T_{CH})(1 + s T_{RH})}
$$
where \( F_{HP} \) is the reheater gain, \( T_{RH} \) is the reheat time constant, and \( T_{CH} \) is the steam chest time constant. The battery energy storage system is modeled as a first-order lag with time constant \( T_E \):
$$
G_E(s) = \frac{1}{1 + s T_E}
$$
The grid frequency deviation \( \Delta f(s) \) is determined by the swing equation with inertia constant \( M \) and damping coefficient \( D \). The thermal power unit droop coefficient is \( K_g \). When load disturbances occur, the battery energy storage system rapidly responds to reduce frequency deviation.
| Parameter | Symbol | Value |
|---|---|---|
| Governor time constant | \( T_g \) | 0.08 s |
| Reheater gain | \( F_{HP} \) | 0.5 |
| Reheat time constant | \( T_{RH} \) | 10 s |
| Steam chest time constant | \( T_{CH} \) | 0.3 s |
| Thermal unit droop coefficient | \( K_g \) | 20 |
| Grid inertia constant | \( M \) | 10 |
| Damping coefficient | \( D \) | 1 |
| Battery time constant | \( T_E \) | 0.1 s |
Proposed Comprehensive Adaptive Primary Frequency Control Strategy
Trend, Inertia, and Droop Combined Control
Traditional inertia and droop control only use ROCOF and frequency deviation. To further suppress frequency deterioration, we introduce a trend control term that responds to the acceleration of the frequency. The total output power of the battery energy storage system is given by
$$
P_E = M_b \frac{d\Delta f}{dt} + K_b \Delta f + a
$$
where \( M_b \) is the inertia coefficient, \( K_b \) is the droop coefficient, and \( a \) is the trend compensation term. The trend output is defined as
$$
a = T_b \frac{d^2 f}{dt^2}
$$
where \( T_b \) is the trend coefficient and \( \frac{d^2 f}{dt^2} \) is the frequency acceleration. The trend control helps to slow down the initial deterioration and accelerate recovery. The relationships among frequency acceleration, ROCOF, and frequency deviation are illustrated conceptually: the slope of frequency deviation is ROCOF, and the slope of ROCOF is frequency acceleration. During frequency drop, trend control provides additional discharging power; during frequency rise, it provides charging power. The sign of the trend coefficient is adaptively determined to avoid opposing the required action.
Adaptive Control of Output Coefficients
Instead of fixed coefficients, we make them adaptive to the real-time grid conditions. The trend coefficient \( T_b \) is
$$
T_b = \begin{cases}
T_0 + T_a P_c, & f > 50\,\text{Hz} \\
T_0 + T_a P_d, & f < 50\,\text{Hz}
\end{cases}
$$
where \( T_0 \) is a fixed base value, \( T_a \) is the adaptive term proportional to frequency acceleration:
$$
T_a = T_1 \frac{d^2 f}{dt^2}
$$
Similarly, the inertia coefficient \( M_b \) is
$$
M_b = \begin{cases}
M_0 + M_a P_c, & f > 50\,\text{Hz} \\
M_0 + M_a P_d, & f < 50\,\text{Hz}
\end{cases}
$$
with adaptive term
$$
M_a = M_1 \frac{d f}{d t}
$$
The droop coefficient \( K_b \) is
$$
K_b = \begin{cases}
K_0 + K_a P_c, & f > 50\,\text{Hz} \\
K_0 + K_a P_d, & f < 50\,\text{Hz}
\end{cases}
$$
with adaptive term
$$
K_a = K_1 \Delta f
$$
Here \( P_c \) and \( P_d \) are charging and discharging constraint factors based on SOC, defined by logistic curves to prevent overcharging and overdischarging:
$$
P_c = \begin{cases}
1, & S_{OC} \le 0.7 \\
\frac{e^{n(S_{OC}-0.8)/0.1}}{1+e^{n(S_{OC}-0.8)/0.1}}-1, & 0.7 < S_{OC} < 0.8 \\
0, & S_{OC} \ge 0.8
\end{cases}
$$
$$
P_d = \begin{cases}
0, & S_{OC} \le 0.2 \\
\frac{e^{n(0.2 – S_{OC})/0.1}}{1+e^{n(0.2 – S_{OC})/0.1}}-1, & 0.2 < S_{OC} < 0.3 \\
1, & S_{OC} \ge 0.3
\end{cases}
$$
where \( P_0 \) is the initial factor (0.01), \( n \) controls the steepness (15). These logistic curves smoothly reduce output when SOC approaches dangerous zones.
The SOC zones are redefined to allow more active participation: for discharging, safe zone \( S_{OC}>0.3 \), warning zone \( 0.2 \le S_{OC} \le 0.3 \), danger zone \( S_{OC}<0.2 \); for charging, safe zone \( S_{OC}<0.7 \), warning zone \( 0.7 \le S_{OC} \le 0.8 \), danger zone \( S_{OC}>0.8 \). When frequency deviation exceeds 0.2 Hz, the battery energy storage system operates at full power in an emergency zone.
Multi-Variable Adaptive SOC Estimation
Accurate SOC estimation is critical to prevent overcharging and overdischarging. We combine ampere-hour integration and Kalman filtering through adaptive weight adjustment. The battery is modeled using a second-order RC equivalent circuit:
$$
U_t = U_{oc} – I_t R_0 – U_1 – U_2
$$
where \( U_1 \) and \( U_2 \) are polarization voltages. The ampere-hour integration gives:
$$
S_{ah} = S_0 – \frac{\eta \int I_t dt}{S_{rated} \cdot S_{OH}}
$$
where \( S_{OH} \) is the state of health. The unscented Kalman filter (UKF) provides another estimate \( S_{ukf} \). The combined SOC estimate is:
$$
S_{OC} = \begin{cases}
b S_{ah} + c S_{ukf} + \Delta U_{ah} – \Delta U_{ukf}, & \text{if } \Delta U_{ah} \text{ and } \Delta U_{ukf} \text{ have opposite signs} \\
b S_{ah} + c S_{ukf} – \Delta U_{ah} + \Delta U_{ukf}, & \text{if } \Delta U_{ah} \text{ and } \Delta U_{ukf} \text{ have same sign}
\end{cases}
$$
where \( \Delta U_{ah} \) and \( \Delta U_{ukf} \) are voltage residuals corresponding to each method. The weights \( b \) and \( c \) satisfy \( b+c=1 \) and \( c = \Delta t/60 \) (with \( \Delta t \) starting from the disturbance onset). This strategy initially favors the accurate ampere-hour method and gradually transitions to the Kalman filter, reducing the large initial error of the filter.
Simulation Results and Discussion
We built a Simulink model with a 1000 MW thermal unit (frequency regulation limit 60 MW) and a 30 MW/10 MWh battery energy storage system. The deadband for the thermal unit is 0.033 Hz, and for the battery it is 0.6 times that (0.0198 Hz). We compared four approaches: no energy storage, variable K method, adaptive logistic method, and the proposed comprehensive adaptive method.
Step Load Disturbance
A 60 MW step increase was applied at t=10 s. The frequency deviations are summarized in the table below.
| Method | Maximum Deviation (Hz) | Steady-State Deviation (Hz) |
|---|---|---|
| No energy storage | -0.096 | -0.063 |
| Variable K method | -0.082 | -0.058 |
| Adaptive logistic method | -0.067 | -0.053 |
| Proposed method | -0.061 | -0.049 |
Compared to the adaptive logistic method, the proposed method reduced the maximum frequency deviation by 9% and the steady-state deviation by 8%. The trend control helped to slow the initial frequency drop and accelerate recovery, while adaptive coefficients further improved performance.
The SOC estimation accuracy was evaluated. The table below shows the errors of different methods.
| Method | Maximum Error (%) | Average Error (%) |
|---|---|---|
| Ampere-hour integration | 0.42 | 0.21 |
| Unscented Kalman filter | 0.88 | 0.13 |
| Neural network method | 0.13 | 0.04 |
| Proposed multi-variable adaptive | 0.09 | 0.01 |
The proposed SOC estimation method achieved the smallest maximum and average errors, effectively preventing overcharging and overdischarging.
Short-Term Continuous Load Disturbance (10 min)
A 10-minute continuous load disturbance was applied. The initial SOC was 0.5. The results are summarized below.
| Method | Mean Freq. Dev. (Hz) | Peak-to-Peak Freq. (Hz) | Mean SOC | SOC Peak-to-Peak |
|---|---|---|---|---|
| No energy storage | 0.048 | 0.197 | — | — |
| Variable K method | 0.044 | 0.170 | 0.490 | 0.021 |
| Adaptive logistic method | 0.041 | 0.140 | 0.482 | 0.037 |
| Proposed method | 0.038 | 0.126 | 0.474 | 0.052 |
The proposed method achieved the smallest mean frequency deviation (0.038 Hz) and the smallest peak-to-peak deviation (0.126 Hz), representing improvements of 7% and 10% over the adaptive logistic method. However, due to increased power output from trend control, the SOC consumption was higher, indicated by a larger SOC peak-to-peak value (0.052) and lower mean SOC (0.474). This trade-off is acceptable for better frequency performance.
Long-Term Continuous Load Disturbance (30 min)
A 30-minute continuous disturbance was simulated. The frequency deviation metrics are given below.
| Method | Mean Freq. Dev. (Hz) | Peak-to-Peak Freq. (Hz) |
|---|---|---|
| No energy storage | 0.044 | 0.205 |
| Variable K method | 0.041 | 0.172 |
| Adaptive logistic method | 0.038 | 0.140 |
| Proposed method | 0.035 | 0.126 |
Again, the proposed method outperformed all other methods, reducing mean frequency deviation by 8% and peak-to-peak deviation by 10% compared to the adaptive logistic method. The long-term results confirm the robustness of the comprehensive adaptive strategy.
Conclusion
This paper has presented a comprehensive adaptive primary frequency control strategy based on the battery energy storage system. By combining trend control with inertia and droop control, and by adaptively adjusting output coefficients according to grid frequency dynamics, the proposed strategy effectively suppresses frequency deterioration and accelerates recovery. The trend control slows down the initial frequency drop and speeds up restoration, while adaptive coefficient tuning reduces both maximum and steady-state frequency deviations. The multi-variable adaptive SOC estimation method, which blends ampere-hour integration and Kalman filtering with adaptive weights, significantly improves SOC accuracy, with a maximum error of only 0.09% and an average error of 0.01%. Simulation under step, short-term continuous, and long-term continuous load disturbances verified that the proposed method achieves the best frequency regulation performance among the compared methods, with mean frequency deviation reductions of 7%–8% and peak-to-peak reductions of 10%–40% relative to the adaptive logistic method. The battery energy storage system plays a crucial role in modern power grids, and the proposed control strategy enhances its effectiveness in primary frequency regulation.
