Academic Journal of Science and Technology ISSN: 2771-3032 | Vol. 12, No. 2, 2024 230 Research on Energy Control Strategy based on Improved Hybrid Energy Storage System Zhao Zheng 1, 2, *, Guojun Lin 1, 2, Haodong Ye 1, 2, Jiayu Ma 1, 2 1 Sichuan University of Science & Engineering, School of Automation and Information Engineering, Yibin, 644000, China 2 Artificial Intelligence Key Laboratory of Sichuan Province, Yibin 644000, China * Corresponding author: Zhao Zheng (zzhao175@163.com) Abstract: With the rapid development of globalization, problems such as resource depletion have become increasingly prominent, and new energy technologies will become a new way for humans to alleviate the energy crisis, resulting in a large number of new energy devices. The application of a large number of new energy devices has led to unstable power in the power grid. Therefore, this paper proposes an energy control strategy based on an improved hybrid energy storage system to improve power grid stability. By integrating a traditional single battery energy storage system into a supercapacitor energy storage system and combining it into a battery capacitor hybrid energy storage system, the power of the hybrid energy storage system is distributed to compensate for fluctuating power. Simulation results show that the energy management control strategy of the improved hybrid energy storage system can effectively smooth out the occurrence of power in independent microgrid systems. The issue of power fluctuations, this further proves the feasibility and correctness of the control strategy. Keywords: Battery; Power Fluctuation Suppression; Hybrid Energy Storage; Energy Management; Supercapacitors. 1. Introduction In recent years, with the depletion of energy and the increasing greenhouse effect caused by traditional energy sources, the country has proposed a "dual carbon" policy to achieve carbon neutrality. Therefore, technologies and equipment related to clean energy have developed rapidly. Among them, when distributed power sources are connected to the grid for power generation, power fluctuations may occur, causing equipment damage and reducing power quality. Therefore, a hybrid energy storage system is added to the independent microgrid system to smooth out power fluctuations and improve the stability of power transmission. As a new type of energy storage method, hybrid energy storage system combines the advantages of different types of energy storage devices to achieve efficient management and optimized control of energy. At the same time, it can effectively control the volatility of renewable energy when connected to the grid, effectively solving the interference of intermittency and volatility of renewable energy on the power grid. Scholars from various countries have conducted extensive research on control strategies for hybrid energy storage systems. In reference [3], the innovation of HESS for multiple energy storage systems was introduced, and Eckert et al. proposed coordinated control strategies for multiple HESS systems. Simulation results showed that the coordination between the systems was significantly optimized under various cyclic operating conditions. In reference [4], a detailed study was conducted on the key components of hybrid energy storage and the DC/DC power conversion circuit. An efficient energy management strategy was developed based on the control strategy of the hybrid energy storage system. The feasibility of the proposed energy management control strategy was verified through MATLAB simulation experiments, and it was ultimately concluded that the hybrid energy storage system with the combination of "supercapacitor battery" can effectively achieve the "peak shaving and valley filling" function, while also effectively limiting the battery output current and protecting the energy storage equipment. In reference [5], a hybrid energy storage system consisting of iron aluminum phosphate batteries and supercapacitors was proposed as the energy component of new energy electric vehicles, and fuzzy control strategy and logic gate control strategy were adopted for the control strategy. The effectiveness and feasibility of the proposed control strategy were verified through simulation experiments. A novel control strategy based on model prediction was proposed in reference [6], which does not require PI controllers and filters for frequency division control of batteries and supercapacitors. Compared with traditional control methods, the model prediction control strategy has a faster response and lower computational complexity when the steady-state operating point of the system changes, effectively achieving voltage regulation and power allocation. A hybrid energy storage control strategy based on smooth control was proposed in reference [7], and a method for pre controlling the voltage at the supercapacitor terminal was designed. The charging and discharging power of the supercapacitor and battery can be adjusted according to the remaining electrical energy, achieving the goal of smoothing power fluctuations. Based on the above research, this article proposes a control strategy for a hybrid energy storage system based on an improved "supercapacitor battery" to address the issue of stable integration of distributed power sources into the power grid and avoid damage to grid equipment caused by power fluctuations. An improved hybrid energy storage system has been designed, which can redistribute the system energy based on the remaining electrical energy of the battery and supercapacitor, achieving the goal of smooth grid connection, while effectively protecting the battery and supercapacitor from overcharging and discharging. Finally, a simulation model of a hybrid energy storage system based on "supercapacitor battery" was built in MATLAB/Simulink, and the model was simulated to further verify the feasibility and correctness of the proposed control strategy. 231 2. Independent DC Microgrid System Structure with Hybrid Energy Storage 2.1. Structure of Independent DC Microgrid System with Hybrid Energy Storage The independent DC microgrid in this article adopts a hybrid energy storage system, as shown in Figure 1, which consists of four modules: hybrid energy storage system, distributed power generation, load, and inverter. In Figure 1, PHESS represents the total power provided by the hybrid energy storage system; PWind is the total power provided by the wind power generation system; The total power provided by PPV for photovoltaic power generation systems; PLoad is the total power consumed by independent microgrid loads. The wind power generation system and photovoltaic power generation system used in distributed power sources in independent DC microgrid systems usually operate at the maximum power point. As they obtain natural energy and have the characteristic of real-time changes, hybrid energy storage systems are added to microgrid systems to maintain stable system operation. The main function of supercapacitors is to smooth out high-frequency power fluctuations, and the main function of batteries is to smooth out low-frequency power fluctuations, in order to reduce the number of charging and discharging cycles of batteries and extend their service life. DC DC DC DC storage battery supercapacitor Hybrid energy storage system AC DC DC DC DC DC AC DC DC Load PV Fan PHESS PWind PPV PLoad PLoad AC Load L oa d D is tr ib ut ed G en er at io nDC Bus Figure 1. Independent DC microgrid system structure with hybrid energy storage 2.2. Mathematical Modeling of Batteries (a) Internal resistance model (b)Thevenin model (c) PNGV model (d) Massimo Ceraolo model BI BR BE       BE BI BR 1BR 2BR 1BC 2BC   BU ( )P PNI V    BU      BI BR 1BR 1BC 1BR 1BC 2BR 2BCBC BE   BE BU BU Figure 2. Equivalent circuit model of battery As an efficient energy conversion device, batteries are widely used in various power systems. The basic principle circuit model diagram of commonly used batteries is shown in Figure 2. Due to the complex chemical changes involved inside the battery, the relevant parameters cannot be accurately calculated. After comparing the basic equivalent model circuit diagrams of the other three types of batteries, this paper chooses the second-order RC circuit in Figure (b) as the research object to reduce the computational complexity and improve the accuracy of relevant parameter calculations. Among them, EB is the electromotive force of the battery, IB is the constant pulse discharge current, RB1 and RB2 are the polarization internal resistance, RB is the ohmic resistance of the battery pack, CB, CB1, and CB2 are the polarization capacitance [8]. The mathematical relationship between them is: 1 2 1 1 1 1 2 2 2 2 B B B B B B B B B B B B B B B B B B U E I R I R I R U dU I C R dt U dU I C R dt               (1) Due to the fact that the equivalent model of the battery mentioned above did not consider SOC, it is necessary to optimize the model. Therefore, a universal circuit model was obtained, as shown in Figure 3. Based on the circuit model shown in Figure 3 and combined with Kirchhoff's voltage law, the following mathematical expression can be obtained:  0 exp . bat bat bat bat Q E E K A B i dt Q i dt V E R i           (2)  0 exp bat bat Q E E K A B i dt Q i dt       E .bati t 0 t    batVcontrolled voltage source bati R Figure 3. General Circuit Model for Batteries Among them, E0 is the battery voltage coefficient; E is the no-load voltage; Q is the battery capacity; K is the polarization voltage; B is the reciprocal of the time coefficient of the exponential interval; A is the amplitude of the index interval; ibat is the constant current of the battery; Vbat is the battery voltage; R is the internal resistance of the battery; bati dt is the actual battery level [9]. Based on the above analysis and combined with the discharge characteristic curve of the battery, as shown in curve ab in Figure 4, the terminal voltage of the battery drops rapidly in the initial stage of discharge, and then enters a stable decline stage, as shown in curve bc in the figure, which is the intermediate stage of discharge. After point c, the battery discharge enters the tail stage, and the discharge curve shows a rapid drop. 232 0 0.5 1 1.5 2 2.5 Time (hours) 300 350 400 450 Nominal Current Discharge Characteristic at 0.43478C V ol ta ge Discharge curve Nominal area Exponential area a b c Figure 4. Typical discharge curve of Besti battery From the above analysis, it can be concluded that the relevant parameters of the battery can be calculated through the following mathematical expressions:       3 exp 1 . Full Exp Exp Full Nom nom nom nom A E E B Q E E A BQ Q Q K Q                 (3) In the formula: EFull is the full load voltage of the battery; ENom is the real-time voltage during battery operation; EExp is the terminal voltage at the end of the battery index range; QExp is the total discharge amount of the battery from the cut-off zone to the end of the index zone; Qnom is the total amount of electricity discharged from the battery from the cut-off zone to the end of the normal operating zone[10]. 2.3. Circuit Equivalent Model of Supercapacitors The most important characteristic of a capacitor is that it neither generates nor consumes energy. In the power system, it can both smooth out power fluctuations and improve power quality. Due to the complex discharge characteristics inside supercapacitors, as shown in Figure 5, the classical resistance capacitance model in Figure 5(a) is considered as the research object. Due to its simple structure and easy availability of relevant parameters, it is the primary focus of this article. (a) Classic Resistive Capacitive Equivalent Circuit Model (b) Second order RC equivalent circuit model           (d) Multi branch RC equivalent circuit model             (c) Equivalent circuit model of internal resistance C CU CR CI CI CI CI CR CR CR 1CR 1CR CU CU 1C 1CR 1C 2C 2CR C CU C C Figure 5. Equivalent Circuit Model of Supercapacitors Considering the complex calculation parameters of high- order RC circuit models, this paper adopts the internal resistance model as the equivalent model of capacitors [11]. 2.4. Mathematical Modeling of Hybrid Energy Storage Systems The topology diagram of the hybrid energy storage system circuit used in this article is shown in Figure 6. The circuit topology diagram consists of a front-end circuit and a back- end circuit. The front-end is a bidirectional DC/DC circuit topology diagram, which is used to complement the electrical energy of the battery and supercapacitor in real time; The topology diagram of the downstream circuit is a three-phase voltage type PWM converter, which converts the collected voltage signal into a pulse signal to control the on/off of the IGBT switch. By controlling the entire circuit topology, a hybrid energy storage system combining batteries and supercapacitors can effectively suppress the power generated by renewable energy sources, achieving stable power integration into the grid. A B C L r grid LSC LB Udc C + -st or ag e ba tt er y su pe r ca pa ci to r Bidirectional DC/DC Three phase PWM converter Bidirectional DC/DC Figure 6. Topology of main circuit in hybrid energy storage system Power flow direction L D2 S1 D1 C energy storage inverter (a) Equivalent circuit during discharge iL C S2 D1 D2L rectifier Power flow direction energy storage (b) Equivalent circuit during charging Figure 7. Equivalent circuit of bidirectional DC/DC during charging and discharging In Figure 6, the front-end bidirectional DC/DC converter 233 serves as the interface circuit between the energy storage system and the grid side AC/DC, playing an important role in rectification and inversion, ensuring a more stable and rapid flow of system energy. The structure of the bidirectional DC/DC converter used in this article is shown in Figure 7. When the circuit operates in a discharge state, as shown in Figure 7 (a), electrical energy flows from the energy storage system to the grid, and the amount of power released by the energy storage system is controlled through a feedback mechanism; When the circuit operates in charging mode, as shown in Figure 7 (b), electrical energy flows from the grid to the energy storage system, and the charging power of the energy storage system is controlled through a feedback mechanism [12]. The three-phase PWM converter in this article is provided by the Matlab/Simulink model library, and the coordinate transformation used is also provided by the software model library. The principles of model construction will not be elaborated one by one. 3. Power Allocation Strategy for Hybrid Energy Storage System 3.1. Energy Management Strategy for State of Charge of Supercapacitors The key to energy management strategy in hybrid energy storage systems is to balance the power between the battery and supercapacitor. Usually, a low-pass filter is used to process PHESS, and the filtered power is used as battery power compensation, denoted as Pb1. Its mathematical relationship expression is shown in Equation 4; The remaining power is used as a compensating supercapacitor, denoted as Psc1, and its mathematical expression is: 1 1 1b HESS s P P st    (4) 1 1 1 s sc HESS b HESS s st P P P P st      (5) In the formula: ts is the time constant of the low-pass filter; Pb1 and Psc1 are the compensation power obtained from the initial distribution of batteries and supercapacitors [13]. In a hybrid energy storage system, the battery is a vulnerable consumable. When designing the control strategy for the energy storage system, the charging and discharging power will be limited. By compensating for the low- frequency part of the battery's fluctuating power, the service life of the battery can be extended. Specifically, by adding a filtering time constant adjustment module and redistributing power, the reference compensation power for the battery and supercapacitor is Pb2 and Psc2, whose mathematical relationship is expressed as: 2 1 ( ) 1b HESS s P P s t t      (6) 2 2 ( ) ( ) 1 s sc HESS b HESS s s t t P P P P s t t         (7) In the formula, Δt is the time coefficient adjustment value of the low-pass filtering process. By compensating for low-frequency power fluctuations as described above, it is possible to effectively limit the absorption and release of energy by the battery, thereby effectively extending its service life. 3.2. Coordination Control Strategy for Overcharge and Over Discharge Due to the limited capacity of batteries and supercapacitors, overcharging or overdischarging may occur when the capacity is insufficient, causing equipment damage. Protective mechanisms are added in the design to prevent these phenomena from occurring. Generally, the protection function is achieved by adjusting the discharge power. Specifically, when the supercapacitor and battery are in the discharge warning zone, the mathematical relationship between the adjustment rules is: min dx min ' max 0, x dx low SOC SOC P P SOC SOC        (8) In the formula: 'dxP is the power value after overcharge and overdischarge protection; dxP is the power value without overcharge and over discharge protection. When the state of charge of the battery and supercapacitor is in the charging alert zone, adjust the mathematical relationship as follows: max cx max ' max 0, x cx high SOC SOC P P SOC SOC         (9) In the formula: 'cxP is the power value after overcharge and overdischarge protection; cxP is the power value without overcharge and over discharge protection. According to equations (8) and (9), it can be seen that when the battery or supercapacitor is fully charged, the charging power decreases to 0 and the energy storage component will not continue to charge. The actual compensation power differs from the initial fluctuation power PHESS, and additional coordinated control strategies need to be added to adjust the power distribution between the battery and supercapacitor. The overall power flow of a hybrid energy storage system is generally complex, and the output power between the battery and supercapacitor conflicts with the current total power direction of the system. For ease of analysis, it is simplified into two situations: 1) When the SOC of the supercapacitor does not conflict with the total power compensation direction of the hybrid energy storage system, the mathematical expression of the compensation power value between the battery and the supercapacitor is: 3 3 0b sc HESS P P P    (10) In the formula, Pb3 is the power reference value after coordinated control of battery overcharge and over discharge, and Psc3 is the power reference value after coordinated control of supercapacitor overcharge and over discharge. 2) When the SOC of the supercapacitor conflicts with the total power compensation direction of the hybrid energy storage system, the mathematical expression for the compensation power value between the battery and the supercapacitor is: 3 3 b HESS nsc sc nsc P P P P P     (11) In the equation: Pnsc is the reference power value processed by equations (8) and (9). 234 The program flowchart designed based on the above formula is shown in Figure 8. Through the following program description, it can effectively make the total compensation power of the supercapacitor and the battery close to PHESS, avoiding the problem of overcharging and discharging of the battery and supercapacitor. As shown in Figure 8, Event 1 refers to a conflict between the SOC of only one energy storage device and its current self-power; Event 2 refers to the conflict between the SOC of two energy storage devices and their own reference instructions [14]. Begin 2 2 0?b scP P  Event 1? Event 2? ( , ( ) )nx HESS nxP P P a  2 2( , )b scP P( , )nx HESS nxP P P Event 1? ( , )nx HESS nxP P P Event 2? Remaining power conflicts with SOC of another energy storage device? The SOC of supercapacitors is contradictory to the total power direction? ( ,( ) )nx HESS nxP P P a  ( , ( )nx HESS nxP P P ( , )HESS HESS HESSP a P P a  ( ,0)HESSP 2 2( , )b scP P Y N N N Y Y Y N N N Y N YY Figure 8. Coordination Control Flow Chart for Overcharging and Overdischarging of Hybrid Energy Storage System 3.3. Maximum Power Limit Strategy The control strategy described in the previous section has effectively controlled the power fluctuation problem of hybrid energy storage systems. However, there are still some small power fluctuations in the actual system. Sometimes, the charging and discharging power of the battery and supercapacitor will reach their own limits, resulting in the inability to compensate for power and ultimately leading to phenomena such as overcharging and overdischarging. In order to further optimize the small power fluctuations, the power reference values of the battery and supercapacitor are modified to compensate at the maximum power, while the portion of power above the power limit is compensated by another energy storage device. Table 1. Range of SOCsc and SOCb Values Pe SOCsc SOCb >0 ≥0.3 ≥0.4 <0 ≤0.7 ≤0.6 Make the maximum charging power of the battery Pcbmax and the maximum discharging power Pdbmax; The maximum charging power of the supercapacitor is Pcscmax, and the maximum discharging power is Pdscmax. The logic of maximum power limitation is: when the charging and discharging power of one energy storage device exceeds the limit value, it is operated at maximum power, and the other energy storage device determines whether to compensate for the excess power based on its own state of charge. As shown in Table 1, when the state of charge of the energy storage device meets the conditions of the table, another type of energy storage device can bear the excess power [15]. In Table 1, Pe represents the excess power, and the Pxref when compensating for additional power while meeting its own requirements is: 3xref x eP P P  (12) In the formula, Pxref is the reference power value. Based on the above derivation, an energy control diagram for a hybrid energy storage system can be developed, as shown in Figure 9. storage battery super capacitor Maximum power limit module Overcharge and over discharge protection module Filter time constant adjustment module 1 t 1ss  Figure 9. Energy Management Control Block Diagram of Hybrid Energy Storage System 4. Experimental Simulation In order to verify the feasibility and correctness of the proposed control strategy, a hybrid energy storage system simulation model was built on the MATLAB/Simulink platform for simulation experiments in this paper. Time/s 0.58 0.62 0.66 0.7 -200 -150 -100 -50 0 50 100 150 200 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 -200 -150 -100 -50 0 50 100 C ur re nt a m pl it ud e/ A Ia Ib Ic Figure 10. Grid connected current output waveform diagram 2.25 2.3 2.35 -400 -300 -200 -100 0 100 200 300 400 Time/s V ol ta ge a m pl itu de /V Ua Ub Uc Figure 11. Grid connected voltage output waveform diagram As shown in Figure 10, it is the waveform diagram of the grid connected current output. The amplitude of the output 235 current in the figure is 50A, and the waveform is smooth, achieving the expected design effect. As shown in Figure 11, it is the waveform diagram of the grid connected voltage output. The output voltage in the figure is 300V, and the output waveform is smooth. The control strategy has achieved the expected design effect. 0 1 2 3 4 5 -10000 -5000 0 5000 10000 15000 20000 25000 30000 Pbat Psc Time/s Po w er /W Figure 12. Low pass filter output power As shown in Figure 12, it is the power waveform diagram of the battery and supercapacitor processed by a low-pass filter. 0 1 2 3 4 5 -500000 -400000 -300000 -200000 -100000 0 100000 200000 Q P Time/s Po w er /W Figure 13. Waveform diagram of active and reactive power output As shown in Figure 13, the waveform of active power and reactive power output of the hybrid energy storage system can be obtained. The green color in the figure represents active power, and the red color represents reactive power. The waveform is smooth without burrs, with fast response speed and smaller overshoot compared to traditional control strategies, reflecting the stability and flexibility of the hybrid energy storage system control strategy. Figure 14 shows the FFT analysis waveform of the output current of the hybrid energy storage system after stable output power. After demonstrating the energy management control strategy, the grid connected current quality was good, and the waveform of current distortion was quickly restored to a stable state after the power curve suddenly changed. The figure shows that the THD is 4%, which is less than the national requirement of 5% and meets the grid connected requirements, further demonstrating the correctness and feasibility of the proposed hybrid energy storage system control strategy. Fundamental (50Hz) = 50.79 , THD= 4.00% ` 0 200 400 600 800 1000 Frequency (Hz) 0 0.05 0.1 0.15 0.2 0.25 0.3 M ag (% o f F un da m en ta l) Figure 14. FFT analysis of VSG output current 5. Conclusion Due to the huge scale of China's new energy market, a rich variety of power electronic devices have emerged. The connection and operation of these devices may pose challenges to the safe operation of the power grid. This article uses a hybrid energy storage system as a platform to study the role of batteries and supercapacitors in grid connection. Through the analysis of simulation results, research on energy management and control based on a hybrid energy storage system of batteries and supercapacitors is proposed in this article. The correctness of the proposed control strategy can be obtained through theoretical analysis and simulation experiments of supercapacitors and batteries. At the same time, the effects of adding supercapacitors and batteries are compared during grid connection, and it is concluded that supercapacitors can "peak shaving and valley filling", filter out harmonics, and make new energy power more stable when connected to the grid. References [1] Jiang H, Xu L, Li J, et al. Energy management and component sizing for a fuel cell/battery/supercapacitor hybrid powertrain based on two-dimensional optimization algorithms[J]. Energy, 2019, 177: 386-396. [2] Eldeeb H H, Elsayed A T, Lashway C R, et al. Hybrid energy storage sizing and power splitting optimization for plug-in electric vehicles [J]. IEEE Transactions on Industry Applications, 2019, 55(3): 2252-2262. [3] De Keyser A, Vandeputte M, Crevecoeur G. Convex mapping formulations enabling optimal power split and design of the electric drivetrain in all-electric vehicles[J]. IEEE Transactions on Vehicular Technology, 2017, 66(11): 9702-9711. [4] Shende V, Singh K V, Bansal H O, et al. Sizing scheme of hybrid energy storage system for electric vehicle[J]. Iranian Journal of Science and Technology, Transactions of Electrical Engineering, 2021, 45: 879-894. [5] Wang L, Lu D, Liu Q, et al. State of charge estimation for LiFePO4 battery via dual extended kalman filter and charging voltage curve[J]. Electrochimica Acta, 2019, 296: 1009-1017. [6] He H, Xiong R, Zhao K, et al. Energy management strategy research on a hybrid power system by hardware-in-loop experiments[J]. Applied Energy, 2013, 112: 1311-1317. [7] De Keyser A, Vandeputte M, Crevecoeur G. Convex mapping formulations enabling optimal power split and design of the 236 electric drivetrain in all-electric vehicles[J]. IEEE Transactions on Vehicular Technology, 2017, 66(11): 9702-9711. [8] Yavasoglu H A, Tetik Y E, Ozcan H G. Neural network‐based energy management of multi‐source (battery/UC/FC) powered electric vehicle[J]. International Journal of Energy Research, 2020, 44(15): 12416-12429. [9] Eldeeb H H, Elsayed A T, Lashway C R, et al. Hybrid energy storage sizing and power splitting optimization for plug-in electric vehicles[J]. IEEE Transactions on Industry Applications, 2019, 55(3): 2252-2262. [10] Jiang H, Xu L, Li J, et al. Energy management and component sizing for a fuel cell/battery/supercapacitor hybrid powertrain based on two-dimensional optimization algorithms[J]. Energy, 2019, 177: 386-396. [11] Javorski Eckert J. Corrêa de Alkmin e Silva L, Mazzariol Santiciolli F, et al. Energy storage and control optimization for an electric vehicle[J]. International Journal of Energy Research, 2018, 42(11): 3506-3523. [12] Shi Y, Eberhart R C. Parameter selection in particle swarm optimization[J]. Evolutionary Programming, 1998, 7: 591-600. [13] Mirjalili S, Lewis A. The whale optimization algorithm[J]. Advances in Engineering Software, 2016, 95(5): 51-67. [14] GUO Liang, JIA Yan, KANG Li, et al. A battery and super capacitor composite energy storage system[J]. Energy Storage Science and Technology, 2017, 6(2): 296-301. [15] WANG Jia, WEN Xiaoling, LUO Xinrui. Coordinated control strategy for hybrid energy storage system of battery and supercapacitor[J]. Power Supply Technology, 2022, 46(4): 460-463.