Coordinated Topology and Virtual Synchronous Generator Control for Frequency Regulation in Reconfigurable Battery Energy Storage

Grid frequency regulation is increasingly a power-electronics problem as much as an energy-management problem. Wind and solar generation vary on timescales that conventional turbine governors cannot fully cover, while lithium-ion battery storage can change active power within milliseconds and has high power density, high energy density, and round-trip efficiency suitable for fast regulation. The limitation is usually not the electrochemical cell itself but the fixed series–parallel connection of cells and modules. Manufacturing spread, temperature gradients, and aging cause state-of-charge (SOC) and voltage differences; the weakest module constrains the whole string, and continued operation can produce overcharge, overdischarge, and reduced cycle life. Reconfigurable energy battery storage addresses this limitation by turning a fixed string into a switched network in which modules can be inserted, bypassed, or isolated.

Containerized lithium-ion battery energy storage system
Grid-scale battery storage provides the energy buffer; the control problem is to make its modular connections behave as a smooth, grid-compatible frequency-regulation resource.

The reconfigurable architecture creates a control conflict. The battery network changes output in discrete steps through fast power-electronic switches, while the grid-side inverter must produce a continuous, damped frequency response. If the topology is reconfigured after every fast virtual synchronous generator (VSG) command, switching events, current transients, and switching losses can disturb the very frequency support the storage is intended to provide. The practical solution is a two-timescale coordination: the VSG and inverter current loops handle fast inertia and droop response, while topology reconfiguration is event-driven and used mainly for power capacity and SOC management.

Switched battery network and grid interface

The battery network consists of \(N\) series-connected groups. Each group has a series control switch \(S_{1i}\) and a parallel bypass switch \(S_i\). When group \(i\) is inserted, \(S_{1i}\) is closed and \(S_i\) is open; when the group is bypassed, \(S_{1i}\) is open and \(S_i\) is closed. A diode in series with each switch blocks circulating current that could arise from unequal switch response times. This switch-bypass arrangement allows the number of active series groups to change without interrupting the DC path.

The battery network connects to a bidirectional DC–DC converter and then to a grid-connected inverter through an LCL filter. The DC–DC stage regulates battery current, while the inverter uses VSG control plus voltage and current dual-loop control to regulate active and reactive power. The LCL filter attenuates switching harmonics and reduces grid-side distortion. Because the groups are in series, inserting or removing a group changes the DC voltage level; at an approximately constant battery current, this also changes output power. This is fundamentally different from a fixed-string battery storage system, where output power is changed mainly by varying current at a nearly fixed DC voltage.

Control layers: current regulation, VSG response, and topology coordination

DC–DC current control. The DC–DC converter maintains constant-current charge or discharge. Its duty ratio is generated by a proportional–integral controller acting on the battery current error:

$$
d=\left(k_p+\frac{k_i}{s}\right)\left(I_{\mathrm{bat}}^{*}-I_{\mathrm{bat}}\right)
$$

where \(d\) is the duty ratio, \(k_p\) and \(k_i\) are proportional and integral gains, \(s\) is the Laplace variable, \(I_{\mathrm{bat}}^{*}\) is the reference battery current, and \(I_{\mathrm{bat}}\) is the measured current. The current loop provides a controlled battery-side operating point, while the inverter and VSG determine the grid-side power exchange.

VSG frequency response. The VSG emulates the inertia and droop behavior of a synchronous machine. Combining the rotor swing equation with a active-power–frequency droop gives the transfer relation between active-power mismatch and angular-speed deviation:

$$
\frac{\Delta\omega}{P-P_{\mathrm{ref}}}
=-\frac{1}{J\omega_0 s+D\omega_0+K_\omega}
$$

where \(\Delta\omega\) is the angular-speed deviation from the rated speed, \(P\) is the inverter active-power output, \(P_{\mathrm{ref}}\) is the reference power, \(J\) is the virtual rotor inertia, \(D\) is the damping coefficient, \(\omega_0\) is the rated angular speed, and \(K_\omega\) is the active-power–frequency droop coefficient. The VSG therefore provides a fast, continuous response to frequency deviations. It does not, by itself, decide how many battery groups should be connected.

Topology coordination. The battery network output is the sum of the active group outputs:

$$
P_{\mathrm{bat}}=\sum_{i=1}^{N}P_{\mathrm{bat},i}
$$

where \(P_{\mathrm{bat},i}\) is the output of group \(i\). To avoid overdischarge and preserve cycle life, each active group must satisfy

$$
\lambda_{\mathrm{SOC},i}>\lambda_{\mathrm{SOC,min}}
$$

where \(\lambda_{\mathrm{SOC},i}\) is the SOC of group \(i\) and \(\lambda_{\mathrm{SOC,min}}\) is the lower discharge limit. Group SOC is estimated from measured group voltages using an extended Kalman filter. The power error between load demand and battery output is

$$
P_{\mathrm{diff}}=P_{\mathrm{load}}-P_{\mathrm{bat}}
$$

and the system treats the output as acceptable when

$$
-\alpha\le P_{\mathrm{diff}}\le \alpha
$$

where \(\alpha\) is the allowed power-error threshold. At each sampling instant \(k\), the topology update is

$$
P_{\mathrm{bat}}(k+1)=
\begin{cases}
P_{\mathrm{bat}}(k)+P_{\mathrm{bat},i}, & P_{\mathrm{diff}}(k)>\alpha,\\[4pt]
P_{\mathrm{bat}}(k)-P_{\mathrm{bat},j}, & P_{\mathrm{diff}}(k)<-\alpha,\\[4pt]
P_{\mathrm{bat}}(k), & |P_{\mathrm{diff}}(k)|\le \alpha.
\end{cases}
$$

When output power is below demand, one available group with the highest SOC is inserted. When output power exceeds demand, one connected group with the lowest SOC is removed. When the error remains inside the deadband, no topology change is made and the VSG continues to regulate the inverter. This rule serves two purposes: it reduces unnecessary switching events, and it preferentially uses high-SOC groups during discharge, which gradually reduces SOC spread. The deadband width \(\alpha\) is therefore a design variable that trades steady-state power accuracy against switching frequency and transient current stress.

Simulation setup and reference case

The control behavior is illustrated with a 6 s MATLAB/Simulink model. The conventional fixed-string case uses three series groups. The reconfigurable case uses four series groups with switch-bypass topology, giving one additional group as a dispatch reserve. Each group has a terminal voltage of 434.73 V and a capacity of 5.82 kWh. The initial SOCs are 90%, 89%, and 85% for the conventional case, and 90%, 89%, 88%, and 85% for the reconfigurable case.

Table 1. Main parameters of the simulated storage systems
Parameter Conventional fixed string Reconfigurable bypass network
Series battery groups 3 4
Group terminal voltage 434.73 V 434.73 V
Group capacity 5.82 kW·h 5.82 kW·h
Initial SOC, group 1 90% 90%
Initial SOC, group 2 89% 89%
Initial SOC, group 3 85% 88%
Initial SOC, group 4 — 85%
Simulation duration 6 s 6 s

Step-load response and current stress

In the step-load case, the initial load is 20 kW. At \(t=2\) s the load rises to 40 kW, and at \(t=4\) s it falls to 30 kW. The conventional system shows a frequency excursion to 49.97 Hz at the load increase and to 50.007 Hz at the load decrease, recovering to 50 Hz in each case. The reconfigurable system reaches the same extrema—49.97 Hz and 50.007 Hz—and also recovers to 50 Hz, but its initial transient oscillation is smaller. The important result is that inserting and bypassing battery groups does not add a new frequency excursion beyond the VSG response. The discrete topology action and the continuous VSG loop remain decoupled in the frequency band that matters for regulation.

The DC-side behavior reveals the different power-control mechanisms. In the conventional system, the initial current rises to about 300 A and then settles near 12 A. At the load increase, the DC voltage dips by about 50 V and the current rises from 12 A to 27 A; at the load decrease, the current falls from 27 A to 20 A. The fixed string therefore changes power mainly by changing current. In the reconfigurable system, the initial current transient is about 100 A and settles near 20 A. At the load increase, the DC voltage moves from about 1.0 kV to 2.1 kV, the current briefly reaches 150 A, and then returns to 20 A. At the load decrease, the voltage falls from 2.1 kV to 1.6 kV and the current recovers to 20 A after a transient. Here, power is changed mainly by the number of series groups and the resulting DC voltage level, while the steady battery current remains near 20 A.

The comparison should not be reduced to a single “lower current” claim. The reconfigurable case has a lower initial inrush than the conventional case (about 100 A versus 300 A), but its 150 A insertion transient at 2 s is larger than the conventional steady current. That transient is a direct consequence of connecting an additional group and is important for switch rating, current limiting, protection coordination, and electromagnetic compatibility. The coordination strategy reduces the number of switching events, but it does not eliminate the need to manage the transient itself.

SOC evolution and module utilization

The SOC trajectories show how the topology logic distributes discharge among groups. In the conventional system, all three groups supply current, so their SOCs fall by approximately 0.45 percentage points over the 6 s case. The maximum-to-minimum SOC difference remains 5.00 percentage points. In the reconfigurable system, the high-SOC groups are used preferentially. Group 1 falls from 90.00% to 89.52%, group 2 from 89.00% to 88.52%, group 3 from 88.00% to 87.71%, and group 4 from 85.00% to 84.75%. The SOC spread falls from 5.00 to 4.77 percentage points.

Table 2. Group SOC values at different times
System Group 0 s 2 s 4 s 6 s
Conventional 1 90.00% 89.80% 89.66% 89.55%
2 89.00% 88.80% 88.66% 88.55%
3 85.00% 84.80% 84.66% 84.55%
Reconfigurable 1 90.00% 89.81% 89.56% 89.52%
2 89.00% 88.81% 88.56% 88.52%
3 88.00% 88.00% 87.75% 87.71%
4 85.00% 85.00% 84.75% 84.75%
Table 3. Maximum-to-minimum SOC difference
Time Conventional Reconfigurable
0 s 5.00% 5.00%
2 s 5.00% 4.81%
4 s 5.00% 4.81%
6 s 5.00% 4.77%

The improvement is modest within a 6 s window, but the direction is consistent: preferential insertion of high-SOC groups and removal of low-SOC groups slows the divergence that fixed parallel operation would otherwise preserve. This is an energy-management effect, not a replacement for a dedicated cell equalizer. Longer cycling would be needed to determine whether the reduced spread translates into measurable cycle-life gains.

Continuous load changes and scalability

In the continuous-load case, the initial load is 10 kW. At 3 s and again at 6 s, a continuously varying load is applied for 1 s, after which the load returns to 10 kW. The conventional system keeps frequency within 49.988–50.005 Hz, a band of about 0.017 Hz. The reconfigurable system stays within 49.99–50.00 Hz, a band of about 0.010 Hz. The narrower band is the clearest evidence in the case study that event-driven topology coordination reduces the frequency disturbance associated with continuous switching action.

Scalability was tested with reconfigurable systems containing four, five, and six series groups under the same step-load profile. The frequency waveforms were highly consistent across the three configurations. This indicates that the coordination logic does not depend on a particular group count within the tested range. It also suggests a practical modular-design path: additional groups can provide redundancy and finer power steps without changing the VSG structure. The result should not be generalized to arbitrary \(N\), because more groups also mean more switches, more commutation events, and a larger set of possible fault states.

Engineering implications and limits

The main architectural value of the scheme is the separation of timescales. The VSG provides inertia, damping, and fast droop response at the inverter. The topology controller acts as a slower, discrete energy-management layer that keeps the battery network within its SOC limits and adjusts the available power level. The deadband \(\alpha\) prevents switch chatter: inside the band, the inverter alone handles small frequency deviations; outside the band, one group is inserted or removed. A larger \(\alpha\) reduces switching activity but allows a larger steady-state power error. A smaller \(\alpha\) improves power accuracy but increases commutation frequency and transient current events.

The switch-bypass network also changes the nature of DC-side design. Because output power can be adjusted by changing series voltage, the battery current can remain near a controlled value, which may simplify current-loop operation and reduce continuous current variation. However, group insertion produces current transients—150 A in the reported 2 s event—and these transients must be handled by switch ratings, snubbers, pre-insertion logic, or current-limiting control. The series diodes block circulating current during unequal switch response, but they do not remove the need for careful commutation sequencing and fault detection.

The evidence is limited to a 6 s simulation at the 20–40 kW load scale, with specified group parameters and initial SOCs. It does not quantify switching losses, thermal aging, long-term cycle life, protection coordination, or grid-code compliance. The SOC spread reduction is small over the tested horizon. Field or hardware-in-the-loop validation would be necessary before treating the topology controller as a substitute for module-level balancing or for conventional frequency-regulation assets. Within its intended role—coordinating modular battery capacity with a fast VSG interface—the approach offers a coherent way to use reconfigurable energy battery storage for frequency regulation without letting high-frequency switching dominate the grid response.

Conclusion

A reconfigurable battery storage system can provide grid frequency regulation through a VSG-controlled inverter while using switch-bypass topology to manage SOC and power capacity. The key control principle is coordination rather than continuous reconfiguration: the VSG handles fast frequency dynamics, and the topology controller changes the number of active groups only when the load–generation power error exceeds a deadband. In the simulated step-load case, the reconfigurable system reached the same frequency extrema as the conventional system—49.97 Hz and 50.007 Hz—and recovered to 50 Hz, while avoiding additional frequency excursions from topology changes. Under continuous load variation, its frequency band was narrower, 49.99–50.00 Hz versus 49.988–50.005 Hz. SOC-aware group selection reduced the maximum-to-minimum SOC difference from 5.00% to 4.77% over 6 s, and four-, five-, and six-group configurations produced consistent frequency waveforms. The principal design trade-offs are the deadband power error and the current transient produced by group insertion, both of which require explicit attention in switch rating and protection design.

Scroll to Top