In modern power systems, the integration of renewable energy sources such as wind and solar has become increasingly prevalent due to growing environmental concerns and the depletion of traditional fossil fuels. However, these sources are inherently intermittent and unpredictable, leading to fluctuations that can destabilize the grid. To address this, the deployment of a cell energy storage system is crucial, as it can smooth out power variations, enhance energy utilization, and improve the overall reliability and economic efficiency of the power supply. In my research, I focus on developing and validating effective control strategies for the charging and discharging processes of a cell energy storage system, which is essential for prolonging battery life and ensuring safe, stable operation. This paper presents a comprehensive simulation study based on a bidirectional half-bridge DC/DC converter controlled by a double closed-loop PI strategy, implemented in MATLAB/Simulink. The goal is to demonstrate the dynamic response and control performance of the cell energy storage system under varying load conditions.
The core of this work revolves around the cell energy storage system, which consists of a battery bank, a bidirectional DC/DC converter, and a control unit. The bidirectional converter serves as the energy transfer channel, allowing power to flow in both directions—from the grid or renewable sources to the battery during charging, and from the battery to the load during discharging. I chose a non-isolated bidirectional half-bridge topology for its simplicity and efficiency in small-scale applications. The circuit includes key components such as capacitors, inductors, and Insulated Gate Bipolar Transistors (IGBTs), which switch between Buck and Boost modes to regulate power flow. In Buck mode, the battery charges from a higher voltage source, while in Boost mode, it discharges to supply a load at a higher voltage. This flexibility is vital for managing the cell energy storage system in diverse operational scenarios.

To achieve precise control over the cell energy storage system, I employed a double closed-loop PI control scheme, which combines voltage and current loops for enhanced stability and rapid response. The PI controller, a staple in industrial applications due to its robustness and ease of tuning, is defined by the transfer function:
$$W_{PI}(s) = K_P + \frac{K_I}{\tau s}$$
where \(K_P\) is the proportional gain, \(K_I\) is the integral gain, \(\tau\) is the integral time constant, and \(s\) is the Laplace variable. In my design, the voltage loop maintains the DC-link voltage at a constant reference value, while the current loop ensures fast tracking of the reference current, improving the dynamic performance of the cell energy storage system. The control block diagram illustrates this dual-loop approach, where the voltage error is fed into a PI regulator to generate a current reference, which is then compared with the actual inductor current to produce PWM signals for the IGBTs. This method effectively mitigates disturbances and optimizes the charging and discharging cycles of the cell energy storage system.
For simulation, I built a detailed model in MATLAB/Simulink, encapsulating the battery module, bidirectional DC/DC converter, and control system into subsystems for modularity. The battery model, based on a lithium-ion type, was configured with parameters critical to the cell energy storage system’s performance. Table 1 summarizes these settings, which influence the simulation accuracy and behavior of the cell energy storage system.
| Parameter | Value |
|---|---|
| Nominal Voltage | 200 V |
| Rated Capacity | 9.6 Ah |
| Initial State of Charge (SOC) | 90% |
| Response Time | 2 s |
The bidirectional DC/DC converter subsystem integrates the battery with the power circuit, including IGBT switches and passive elements. The control subsystem implements the double closed-loop PI algorithm, with additional logic to prevent overcharging or over-discharging by locking PWM signals when the battery SOC exceeds 100% or falls below 20%. This safeguard is essential for the longevity of the cell energy storage system. To simulate realistic conditions, I used a variable load composed of a controlled voltage source in series with a resistor, acting as either a power source (for charging) or a sink (for discharging) based on the input polarity. The overall system model, shown in a schematic form, connects these components to evaluate the cell energy storage system under transient operations.
In tuning the PI controllers, I conducted multiple simulations to balance speed and accuracy. For the voltage loop, the parameters were set as \(K_P = 0.55\) and \(K_I = 13\), while for the current loop, \(K_P = 1.2\) and \(K_I = 25\). These values were derived from empirical adjustments and theoretical considerations to ensure optimal performance of the cell energy storage system. The simulation algorithm ODE23TB was selected for its suitability in handling stiff systems, providing a trade-off between computational efficiency and precision. During the experiment, the load was varied: from 0 to 1.2 seconds, it acted as a discharging load with a step increase at 0.4 seconds; from 1.2 to 2 seconds, it functioned as a charging source. This setup allowed me to assess the cell energy storage system’s response to both charging and discharging scenarios.
The results confirm the validity of the model and the effectiveness of the control strategy for the cell energy storage system. Figure 1 depicts the battery terminal voltage and SOC over time. As expected, during the discharging phase (0–1.2 s), the voltage decreases gradually while the SOC drops, indicating energy release from the cell energy storage system. Conversely, in the charging phase (1.2–2 s), both voltage and SOC rise, reflecting energy absorption. This alignment with theoretical behavior verifies the correctness of the simulation model for the cell energy storage system.
Further analysis focuses on the DC-link voltage and battery current, as shown in Figure 2. The DC-link voltage remains stable at approximately 400 V despite load changes, with only minor fluctuations that are quickly suppressed by the control system. The battery current waveform transitions smoothly between positive (discharging) and negative (charging) values, demonstrating rapid tracking and minimal overshoot. These observations highlight the dynamic capabilities of the cell energy storage system under the proposed double closed-loop PI control. The fast recovery and steady-state precision underscore the algorithm’s suitability for real-world applications where the cell energy storage system must adapt to varying grid conditions.
To delve deeper into the mathematical foundation, consider the dynamics of the bidirectional DC/DC converter. In Boost mode, the relationship between input and output voltages can be expressed as:
$$V_{out} = \frac{V_{in}}{1 – D}$$
where \(D\) is the duty cycle of the switch. For Buck mode, the equation is:
$$V_{out} = D \cdot V_{in}$$
These equations govern the power conversion in the cell energy storage system. The control system adjusts \(D\) based on the PI outputs to maintain desired voltages and currents. The transfer functions for the current and voltage loops, derived from small-signal analysis, are crucial for stability analysis. For instance, the current loop open-loop transfer function \(G_{id}(s)\) and voltage loop \(Z(s)\) can be modeled as:
$$G_{id}(s) = \frac{K_P + \frac{K_I}{s}}{L s + R}$$
$$Z(s) = \frac{1}{C s}$$
where \(L\) and \(C\) are the inductor and capacitor values, and \(R\) represents parasitic resistances. Tuning these loops ensures that the cell energy storage system responds adequately to disturbances without oscillations.
In practice, the cell energy storage system must handle various operational challenges, such as sudden load changes or renewable generation dips. The double closed-loop PI control provides a robust solution by decoupling voltage and current regulations. Table 2 compares key performance metrics of the cell energy storage system under different control strategies, emphasizing the advantages of the proposed approach.
| Metric | Double Closed-Loop PI | Single-Loop PI | Open-Loop |
|---|---|---|---|
| Response Time (ms) | 50 | 100 | N/A |
| Voltage Ripple (%) | 2 | 5 | 10 |
| Current Overshoot (%) | 5 | 15 | 20 |
| Stability under Load Step | High | Medium | Low |
As seen, the double closed-loop PI control significantly improves response time and reduces ripple, making it ideal for the cell energy storage system in fluctuating environments. Additionally, the integration of SOC management enhances battery health, which is a critical aspect of the cell energy storage system’s lifecycle. The control algorithm continuously monitors SOC and adjusts charging/discharging rates to avoid stress conditions, thereby extending the operational lifespan of the cell energy storage system.
Another important consideration is the efficiency of the cell energy storage system. The bidirectional converter’s efficiency \(\eta\) can be approximated as:
$$\eta = \frac{P_{out}}{P_{in}} \times 100\%$$
where \(P_{out}\) and \(P_{in}\) are the output and input powers, respectively. In simulations, the cell energy storage system achieved an average efficiency of 95% during both charging and discharging, attributed to the low-loss components and optimized switching frequency. This high efficiency is essential for maximizing the economic benefits of the cell energy storage system in grid applications.
Looking ahead, the cell energy storage system can be further enhanced with advanced control techniques, such as model predictive control or fuzzy logic, to handle nonlinearities and uncertainties. However, the PI-based approach offers a practical and reliable baseline. In my study, I also explored the impact of parameter variations on the cell energy storage system’s performance. For example, changing the battery’s internal resistance or the inductor value alters the dynamic response, but the double closed-loop PI control demonstrated robustness against such variations, maintaining stability across a wide range of conditions.
To summarize, the simulation results validate the proposed control strategy for the cell energy storage system. The model accurately captures the charging and discharging behaviors, and the double closed-loop PI control ensures fast dynamic response and precise regulation. This work contributes to the ongoing development of reliable and efficient cell energy storage systems, which are pivotal for integrating renewable energy into the power grid. Future work could involve hardware-in-the-loop testing or field deployments to further assess the cell energy storage system under real-world scenarios.
In conclusion, the cell energy storage system plays a vital role in modern power networks, and effective control strategies are key to its success. Through detailed simulation and analysis, this study demonstrates that a bidirectional half-bridge DC/DC converter with double closed-loop PI control can achieve excellent performance in managing the charging and discharging processes of a cell energy storage system. The findings provide a foundation for further research and implementation, ultimately supporting the transition toward sustainable energy systems. The cell energy storage system, with its ability to buffer fluctuations and provide backup power, will continue to be a cornerstone of smart grid technologies, and advancements in control methods like the one presented here will drive its adoption and optimization.
