Equalization control methods, energy storage systems, electronic devices and storage media

By controlling the main charging and discharging switch of the battery module in a time-sharing manner, and managing the modules differently according to their working status, the voltage difference and circulating current problems between parallel modules are solved, thereby improving the charging and discharging efficiency and safety of the battery pack.

CN123121744APending Publication Date: 2026-11-17FOSHAN SICHANGCHANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611230769.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

When multiple battery modules are connected in parallel, voltage differences due to variations in internal resistance, capacity, state of charge, and temperature can create circulating currents, affecting charging and discharging efficiency. Furthermore, high-voltage modules can backflow current into low-voltage modules, leading to false protection or thermal runaway in the battery management system.

Method used

By acquiring battery module voltage data, the main charging and discharging switch is controlled in a time-sharing manner. The waiting and target modules are determined according to the differences in working status. The modules are independently controlled to connect to the charger or load, actively leveling the voltage difference and avoiding circulating current and reverse current.

Benefits of technology

It effectively solves the problems of voltage difference and circulating current between parallel modules, improves the utilization rate of battery pack capacity, avoids unnecessary switching actions and energy loss, and ensures the stability and safety of the charging and discharging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121744A_ABST
    Figure CN123121744A_ABST
Patent Text Reader

Abstract

This application relates to the field of battery equalization control technology, providing an equalization control method, an energy storage system, an electronic device, and a storage medium. The equalization control method is applied to an energy storage system, which includes multiple battery modules connected in parallel, each battery module having a charge / discharge main switch. The equalization control method includes: S100, acquiring voltage data of all battery modules; S200, determining the maximum voltage difference between different battery modules based on the voltage data; S300, when the maximum voltage difference is greater than a threshold, determining a waiting battery module and a target battery module based on the voltage data and the operating state of the energy storage system, wherein the operating state includes charging and discharging states; S400, controlling the disconnection of the charge / discharge main switch of the waiting battery module and controlling the closure of the charge / discharge main switch of the target battery module; S500, when the maximum voltage difference is less than a threshold, controlling the closure of the charge / discharge main switch of the waiting battery module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery equalization control technology, and in particular to equalization control methods, energy storage systems, electronic devices and storage media. Background Technology

[0002] With the increasing prevalence of electric vehicles and energy storage systems, users' demand for battery capacity is constantly increasing. To ensure compatibility with existing equipment battery compartment sizes and reduce replacement costs, the industry often uses standard-sized modules for assembly. However, a single module is limited by internal space, resulting in a limited capacity. When a large capacity is required, multiple modules must be connected in parallel.

[0003] However, directly connecting multiple battery modules in parallel presents the following technical problems: differences in internal resistance, capacity, state of charge, and temperature among the modules can lead to voltage differences between them. In a direct parallel architecture, high-voltage modules can flow back current into low-voltage modules, forming a circulating current. Especially at the end of charging or when a large load is suddenly cut off, the transient circulating current may exceed the rated charge / discharge rate of the battery cell, causing local overheating and false protection of the battery management system, and in severe cases, thermal runaway of the battery cell. Simultaneously, during charging, modules with higher voltage will reach the full charge threshold first, causing the charging process to terminate prematurely, preventing low-voltage modules from fully charging; during discharging, modules with lower voltage will reach the undervoltage threshold first, causing the discharging process to terminate prematurely, preventing the high-voltage modules from releasing their remaining charge. Summary of the Invention

[0004] This application aims to address at least one of the technical problems existing in related technologies. To this end, this application proposes an equalization control method, an energy storage system, an electronic device, and a storage medium.

[0005] The equalization control method according to the first aspect of this application is applied to an energy storage system, the energy storage system including multiple battery modules connected in parallel, each battery module being provided with a charge / discharge main switch; the equalization control method includes:

[0006] S100: Obtain voltage data for all battery modules;

[0007] S200: Determine the maximum voltage difference between different battery modules based on the voltage data;

[0008] S300. When the maximum voltage difference is greater than the threshold, the waiting battery module and the target battery module are determined based on the voltage data and the working state of the energy storage system, wherein the working state includes charging state and discharging state.

[0009] S400: Control the disconnection of the charging / discharging main switch of the waiting battery module, and control the closure of the charging / discharging main switch of the target battery module;

[0010] S500: When the maximum voltage difference is less than the threshold, control the closing of the main charging / discharging switch of the waiting battery module.

[0011] According to one embodiment of this application, the step of determining the waiting battery module and the target battery module based on the voltage data and the operating state of the energy storage system includes:

[0012] When the working state is charging state, one or more battery modules with a voltage less than a first preset value are identified as the target battery module, and one or more battery modules with a voltage not less than the first preset value are identified as the waiting battery module.

[0013] When the operating state is the discharge state, one or more battery modules with a voltage greater than the second preset value are identified as the target battery modules, and one or more battery modules with a voltage not greater than the second preset value are identified as the waiting battery modules.

[0014] According to one embodiment of this application, when the working state is a charging state, the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closure of the charging / discharging main switch of the target battery module include:

[0015] Control the disconnection of the main charging and discharging switches for all battery modules;

[0016] The main switch for charging and discharging of the waiting battery module is disconnected, and the main switch for charging and discharging of the target battery module is closed, so that the target battery module can be connected to the charger for charging.

[0017] According to one embodiment of this application, when the working state is a discharge state, the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closure of the charging / discharging main switch of the target battery module include:

[0018] Control the disconnection of the charge / discharge switch of the waiting battery module, and control the charge / discharge switch of the target battery module to remain closed.

[0019] According to one embodiment of this application, after the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closing of the charging / discharging main switch of the target battery module, the method further includes:

[0020] When the duration for which the main charging / discharging switch of the target battery module is in the closed state is equal to a preset duration, the main charging / discharging switch of the target battery module is disconnected.

[0021] Repeat the steps of obtaining voltage data of all battery modules until the steps of controlling the disconnection of the main charging / discharging switch of the waiting battery module and controlling the closure of the main charging / discharging switch of the target battery module are executed, until the maximum voltage difference is less than the threshold.

[0022] According to one embodiment of this application, when performing the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closing of the charging / discharging main switch of the target battery module to switch the currently connected battery module, the method further includes:

[0023] The main switch for controlling the charging and discharging of the next target battery module is closed.

[0024] Based on the fact that the closing time of the main charging / discharging switch of the next target battery module reaches a preset delay time, the main charging / discharging switch of the current target battery module is controlled to open.

[0025] According to one embodiment of this application, the threshold includes a preset start threshold and a preset exit threshold, wherein the preset start threshold is greater than the preset exit threshold;

[0026] When the maximum voltage difference is greater than the preset start threshold, the steps of controlling the disconnection of the charging and discharging main switch of the waiting battery module and controlling the closure of the charging and discharging main switch of the target battery module are executed.

[0027] When the maximum voltage difference is less than the preset exit threshold, the step of controlling the closing of the charging and discharging main switch of the waiting battery module is executed.

[0028] An energy storage system according to a second aspect of this application includes a control component for performing the equalization control method described above.

[0029] An electronic device according to a third aspect of this application includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described equalization control method.

[0030] According to a fourth aspect of this application, a non-transitory computer-readable storage medium includes a computer program that, when executed by the processor, implements the above-described equalization control method.

[0031] According to a fifth aspect of this application, the computer program product includes a computer program that, when executed by the processor, implements the above-described equalization control method.

[0032] The beneficial effects of the embodiments of this application are as follows:

[0033] In the embodiments of this application, firstly, by controlling each battery module to be individually connected to the charger or load through time-sharing rotation, the voltage difference between parallel modules is actively leveled, eliminating the conditions for circulating current generation from both physical circuit and electrical state dimensions, rather than simply passively blocking reverse current. This effectively solves the problems of voltage difference and circulating current between parallel modules caused by differences in internal resistance, capacity, state of charge, and temperature among the modules. Secondly, by differentiating the waiting battery module and the target battery module according to the working state of the energy storage system (charging state or discharging state), and executing corresponding balancing strategies under different working states, the balancing control can adapt to the different needs under the two working conditions of charging and discharging—prioritizing the charging of low-voltage modules during charging and pausing the discharging of low-voltage modules during discharging—thereby actively reducing the voltage difference between parallel modules under all charging and discharging conditions. Furthermore, by independently controlling the on / off state of the main charging and discharging switches of each battery module, the parallel circuit of some modules is physically disconnected when balancing is required. This fundamentally prevents backflow current from high-voltage modules to low-voltage modules. Simultaneously, it allows low-voltage modules to be fully charged independently during charging and prevents them from reaching the undervoltage threshold prematurely during discharging, effectively improving the utilization rate of the battery pack's usable capacity. In addition, this method only activates balancing control when the voltage difference between parallel modules exceeds a threshold, and restores all parallel connections when the voltage difference returns to below the threshold, achieving on-demand balancing and avoiding unnecessary switching actions and energy loss.

[0034] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating the equalization control method provided by the present invention;

[0037] Figure 2 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] The following is combined Figures 1 to 2 This application describes the equalization control method, energy storage system, electronic device, and storage medium.

[0040] According to the embodiments of the first aspect of this application, see [link / reference]. Figure 1 This paper provides a balancing control method for energy storage systems. The energy storage system includes multiple battery modules connected in parallel. Each battery module is equipped with a charge / discharge main switch, which independently controls the connection or disconnection between the corresponding battery module and the main bus. The balancing control method includes the following steps:

[0041] S100. Acquire voltage data for all battery modules. Specifically, the energy storage system also includes a main BMS module and multiple slave BMS modules. Each battery module has a corresponding slave BMS module, which is used to collect voltage data for its corresponding battery module. Each slave BMS module reports the collected voltage data to the main BMS module via a communication bus (e.g., an isolated CAN bus). The main BMS module obtains voltage data for all battery modules through this communication bus, which serves as the basis for subsequent judgments and decisions.

[0042] S200. Determine the maximum voltage difference between different battery modules based on the voltage data. Specifically, the main BMS module processes the acquired voltage data of all battery modules, filters out the highest and lowest voltage values ​​from all battery module voltage values, and calculates the difference between the two to obtain the maximum voltage difference between different battery modules. This maximum voltage difference is used to characterize the degree of voltage dispersion among all currently parallel battery modules and is the basis for determining whether to start or stop equalization control.

[0043] S300. When the maximum voltage difference exceeds a threshold, the standby battery modules and target battery modules are determined based on the voltage data and the operating status of the energy storage system. The operating status includes charging and discharging states. Specifically, when the maximum voltage difference exceeds a preset threshold, the main BMS module determines the balancing strategy based on the current operating status of the energy storage system. If the energy storage system is charging, the main BMS module determines one or more battery modules with the lowest current voltage as target battery modules, and the remaining battery modules as standby battery modules. If the energy storage system is discharging, the main BMS module determines one or more battery modules with the lowest current voltage as standby battery modules, and the remaining battery modules as target battery modules.

[0044] S400: Controls the disconnection of the main charging / discharging switch for the waiting battery module and controls the closure of the main charging / discharging switch for the target battery module. Specifically, the main BMS module sends switch control commands to each slave BMS module. In charging mode, the main BMS module first disconnects the main charging / discharging switches for all battery modules to physically cut off the parallel connection between all modules. Then, it closes the main charging / discharging switch for only the target battery module (i.e., one or more modules with the lowest current voltage), allowing it to be connected to the charger for charging alone. In discharging mode, the main BMS module disconnects the main charging / discharging switch for the waiting battery module (i.e., one or more modules with the lowest current voltage) to prevent it from participating in discharging, thus avoiding further voltage drops. Other target battery modules continue to supply power to the load normally.

[0045] S500: When the maximum voltage difference is less than the threshold, the main BMS module controls the closing of the main charge / discharge switch for the waiting battery modules. Specifically, during the time-sharing process in the charging state, the main BMS module re-evaluates the voltage of each battery module after each time slice, redetermines the new module with the lowest voltage, and repeats the above steps until the maximum voltage difference of all battery modules drops below the threshold. When the maximum voltage difference is less than the threshold, the main BMS module sends a closing command to each slave BMS module, controlling the closing of the main charge / discharge switch for all battery modules, restoring normal parallel operation. In the discharging state, the main BMS module continuously monitors the voltage of the online modules. When the voltage difference between the lowest voltage of the online module and the voltage of the disconnected module shrinks to within the threshold, the main BMS module controls the re-closing of the main charge / discharge switch for the waiting battery modules, restoring all parallel discharge.

[0046] The beneficial effects of this implementation method are significant. First, by controlling each battery module to be individually connected to the charger or load through time-sharing rotation, the voltage difference between parallel modules is actively leveled out. This eliminates the conditions for circulating current generation from both the physical circuit and electrical state dimensions, rather than simply passively blocking reverse current. This effectively solves the problems of voltage difference and circulating current between parallel modules caused by differences in internal resistance, capacity, state of charge, and temperature among the modules. Second, by differentiating the waiting battery module and the target battery module according to the working state of the energy storage system (charging or discharging state), and executing corresponding balancing strategies under different working states, the balancing control can adapt to the different needs under both charging and discharging conditions—prioritizing the charging of low-voltage modules during charging and pausing the discharging of low-voltage modules during discharging—thereby actively reducing the voltage difference between parallel modules under all charging and discharging conditions. Furthermore, by independently controlling the on / off state of the main charging and discharging switches of each battery module, the parallel circuit of some modules is physically disconnected when balancing is required. This fundamentally prevents backflow current from high-voltage modules to low-voltage modules. Simultaneously, it allows low-voltage modules to be fully charged independently during charging and prevents them from reaching the undervoltage threshold prematurely during discharging, effectively improving the utilization rate of the battery pack's usable capacity. In addition, this method only activates balancing control when the voltage difference between parallel modules exceeds a threshold, and restores all parallel connections when the voltage difference returns to below the threshold, achieving on-demand balancing and avoiding unnecessary switching actions and energy loss.

[0047] In some examples, the energy storage system may be a golf cart, a low-speed electric vehicle, or a battery pack for an energy storage system. The battery module may be a standard-sized (e.g., GC2 size) lithium iron phosphate or ternary lithium module. The main charge / discharge switch may consist of back-to-back dual MOSFETs or a single GaN power device and be placed in the negative or positive circuit of the battery module. The threshold value can be set according to the electrochemical characteristics of the battery module and system safety requirements.

[0048] In some embodiments, step S300, which determines the waiting battery module and the target battery module based on voltage data and the operating status of the energy storage system, specifically includes the following steps:

[0049] When the operating state is charging, one or more battery modules with voltages lower than a first preset value are identified as target battery modules, and one or more battery modules with voltages not lower than the first preset value are identified as waiting battery modules. Specifically, in charging mode, the main BMS module compares the voltage value of each battery module with the first preset value based on the acquired voltage data of all battery modules. Battery modules with voltage values ​​lower than the first preset value are determined to have relatively low current voltages and are identified as target battery modules; battery modules with voltage values ​​not lower than the first preset value are determined to have relatively high current voltages and are identified as waiting battery modules. In subsequent equalization control, only the charging / discharging main switch of the target battery module is closed, allowing it to be connected to the charger alone for charging, thereby increasing its voltage level.

[0050] When the operating state is discharge mode, one or more battery modules with a voltage greater than a second preset value are identified as target battery modules, and one or more battery modules with a voltage less than the second preset value are identified as standby battery modules. Specifically, in discharge mode, the main BMS module compares the voltage value of each battery module with the second preset value. Battery modules with a voltage value higher than the second preset value are determined to have a relatively high current voltage and are identified as target battery modules, and their charge / discharge main switches remain closed to continue supplying power to the load; battery modules with a voltage value less than the second preset value are determined to have a relatively low current voltage and are identified as standby battery modules, and their charge / discharge main switches are opened to prevent them from participating in discharge and to avoid further voltage drop.

[0051] The beneficial effects of this embodiment are significant. First, by employing different target module determination logics based on the charging and discharging states, the equalization control strategy can adapt to different operating conditions of the energy storage system. During charging, low-voltage modules with voltages below a first preset value are prioritized for charging, giving them priority and actively reducing the voltage difference between them and high-voltage modules. During discharging, high-voltage modules with voltages above a second preset value are designated as the target modules for continued power supply, while low-voltage modules are designated as waiting modules and disconnected to prevent their voltage from further dropping to the undervoltage threshold. This also achieves the active reduction of the voltage difference between parallel modules during discharging. Second, the determination logics for charging and discharging work together to ensure that the equalization control covers all charging and discharging conditions. This solves both the problem of high-voltage modules fully charging first, preventing low-voltage modules from fully charging, and the problem of low-voltage modules becoming undervoltage first, preventing the release of remaining charge from high-voltage modules during discharging. This improves the utilization rate of the battery pack's usable capacity from both charging and discharging perspectives. Furthermore, the first and second preset values ​​can be set separately according to the actual operating status of the system, making the triggering and exit of the equalization control more flexible and adaptable to the characteristics of different battery modules.

[0052] In some examples, the first and second preset values ​​can be the same, or they can be set to different values ​​depending on the different requirements of charging and discharging conditions. During charging, the main BMS module can use the average voltage of all current battery modules as the first preset value, and modules with voltages lower than the average voltage are identified as target battery modules. Similarly, during discharging, the main BMS module can use the average voltage of all current battery modules as the second preset value, and modules with voltages higher than the average voltage are identified as target battery modules.

[0053] In some embodiments, when the working state is charging state, step S400 involves controlling the disconnection of the main switch for charging and discharging the waiting battery module and controlling the closure of the main switch for charging and discharging the target battery module, specifically including the following steps:

[0054] First, the main charging and discharging switches of all battery modules are disconnected. Specifically, during charging, when the main BMS module determines that the maximum voltage difference between parallel modules exceeds a threshold and equalization control is required, the main BMS module simultaneously sends a "disconnect main switch" command to all slave BMS modules via the communication bus. Upon receiving the command, each slave BMS module controls its corresponding charging and discharging main switch to disconnect, physically cutting off the parallel connection between all battery modules and the main bus.

[0055] Then, the main BMS module controls the disconnection of the charging / discharging main switch of the standby battery module and controls the closure of the charging / discharging main switch of the target battery module, so that the target battery module can be connected to the charger for charging. Specifically, after the main switches of all battery modules are disconnected, the main BMS module sends selective switch control commands to each slave BMS module according to the target battery module and the standby battery module determined in step S300. For the slave BMS module corresponding to the target battery module (i.e., the module with a voltage lower than the first preset value), the main BMS module sends a "close main switch" command to close the charging / discharging main switch of the target battery module, thereby connecting the module to the charger for charging alone; for the slave BMS module corresponding to the standby battery module (i.e., the module with a voltage not lower than the first preset value), the main BMS module sends a "keep disconnected" command to keep its charging / discharging main switch in the disconnected state.

[0056] The beneficial effects of this embodiment are significant. First, by disconnecting all module main switches before selectively closing the target module, the parallel connection between all modules is physically and completely severed. This ensures that only the target battery module is connected to the charger during the equalization process, while other modules are completely isolated. This fundamentally eliminates the risk of circulating current from high-voltage modules to low-voltage modules, improving the safety of the equalization operation. Second, the sequence of disconnecting all modules before selectively closing them ensures that the states of each module are synchronized and consistent during the equalization startup, avoiding the instantaneous parallel connection between the undisconnected module and the target module that may occur during direct selective closing. Third, these two steps are uniformly controlled by the main BMS module, with each slave BMS module responding synchronously. This enables refined and independent management of multiple parallel modules during the charging equalization process, allowing modules with lower voltages to receive priority charging and effectively reducing the voltage difference between parallel modules.

[0057] In some embodiments, when the working state is the discharge state in step S400, controlling the disconnection of the main switch for charging and discharging of the waiting battery module and controlling the closure of the main switch for charging and discharging of the target battery module specifically includes: controlling the disconnection of the main switch for charging and discharging of the waiting battery module and controlling the closure of the main switch for charging and discharging of the target battery module.

[0058] Specifically, during discharge, when the main BMS module determines that the maximum voltage difference between parallel modules exceeds a threshold and requires equalization control, the main BMS module sends selective switching control commands to each slave BMS module based on the waiting battery module and target battery module determined in step S300 (i.e., during discharge, battery modules with voltages not exceeding a second preset value are determined as waiting battery modules, and battery modules with voltages exceeding the second preset value are determined as target battery modules). For slave BMS modules corresponding to those determined as waiting battery modules (i.e., modules with currently lower voltage), the main BMS module sends a "disconnect main switch" command to control its charging / discharging main switch to disconnect, causing the module to disconnect from the main bus and no longer participate in discharge; for slave BMS modules corresponding to those determined as target battery modules (i.e., modules with currently higher voltage), the main BMS module does not send a disconnect command, keeping its charging / discharging main switch in its original closed state and continuing to supply power to the load normally.

[0059] The beneficial effects of this implementation method are significant. First, in the discharge state, only the lower-voltage standby battery module is disconnected, preventing it from participating in the discharge and avoiding a further drop in voltage to the undervoltage threshold during discharge. This prevents the entire battery pack from terminating its discharge prematurely due to reaching the undervoltage threshold. Simultaneously, the higher-voltage target battery module continues to discharge, gradually decreasing its voltage and actively narrowing the voltage difference with the standby module, achieving voltage balance among the parallel modules. Second, compared to the charging state, which requires disconnecting all modules before selectively closing them, the discharge state only requires disconnecting the standby module while keeping the target module closed. This simplifies the operation process, reduces the number of switching actions, lowers wear and power consumption of switching devices, and avoids the risk of momentary power outages on the busbar that might result from disconnecting and then closing all modules, ensuring continuous power supply to the load during discharge. Furthermore, this discharge equalization strategy effectively releases the remaining charge of the high-voltage module, avoiding the capacity loss problem caused by the low-voltage module prematurely triggering undervoltage protection, which leads to the premature termination of the entire battery pack's discharge and the inability to release the remaining capacity of the high-voltage module, thus further improving the battery pack's capacity utilization rate.

[0060] In some embodiments, after controlling the disconnection of the main charging / discharging switch of the standby battery module and controlling the closure of the main charging / discharging switch of the target battery module, the following step is further included:

[0061] When the main charging / discharging switch of the target battery module remains closed for a preset duration, the main BMS module controls the main charging / discharging switch of the target battery module to open. Specifically, the main BMS module sends a closing command to the target battery module while simultaneously starting an internal timer. When the timer reaches the preset duration (e.g., 30 to 60 seconds), the main BMS module sends a disconnect command to the slave BMS module corresponding to the target battery module, controlling its charging / discharging main switch to open and ending the single charging cycle of that module.

[0062] Then, the steps of acquiring voltage data for all battery modules are repeated until the main switch for charging / discharging the waiting battery module is disconnected, and the main switch for charging / discharging the target battery module is closed, until the maximum voltage difference is less than a threshold. Specifically, after disconnecting the current target battery module, the main BMS module executes step S100 again to acquire voltage data for all battery modules, redetermines the target battery module with the lowest current voltage based on the updated voltage data, and performs the corresponding switch control operation. This process is repeated, with only one module with the lowest voltage connected to the charger for a preset charging time each time, and then switching to the next module with the lowest voltage, until the maximum voltage difference between all battery modules drops below a threshold (e.g., an exit threshold).

[0063] The beneficial effects of this embodiment are significant. First, by setting a preset duration, each target battery module receives the same charging time in a single cycle, avoiding overcharging caused by a single module monopolizing charging resources for an extended period, while also ensuring that other modules can obtain charging opportunities in turn. Second, by reacquiring the voltage data of all modules after each preset duration, the main BMS module can dynamically adjust the target modules for the next round based on the voltage changes of each module. This ensures that each switch in the time-sharing cycle is based on the latest voltage distribution, improving the accuracy and adaptability of the equalization control and avoiding over-equalization or ineffective equalization caused by continuing to charge the original target module after voltage changes. Third, by cyclically executing the above steps, closing the main switch of only one module for individual charging each time, each module obtains charging opportunities in turn. The voltage difference between modules gradually decreases through multiple cycles until the voltages of all modules tend to be consistent, realizing a gradual equalization process from "large voltage difference" to "voltage difference meeting requirements".

[0064] In some examples, the preset duration can be set according to the battery module capacity, balancing current, and voltage difference. For example, in an embodiment with four 30Ah modules connected in parallel and a balancing current of 20A, the preset duration can be set to 60 seconds. During the switching process, a "connect first, disconnect later" strategy can be adopted. After closing the charging / discharging main switch of the module to be connected, a preset time delay (e.g., 50ms) is applied before disconnecting the main switch of the current module. This ensures that at least one module is always powered on the bus, preventing the load from being reset or damaged due to a momentary interruption of the bus. This time-sharing rotation cycle step, together with the aforementioned target module determination and charging balancing control steps, constitutes a complete charging state time-sharing cyclic balancing control link.

[0065] In some embodiments, when performing the steps of controlling the disconnection of the main charging / discharging switch of the waiting battery module and controlling the closure of the main charging / discharging switch of the target battery module to switch the currently connected battery module, the following steps are further included:

[0066] First, the main BMS module controls the closing of the charging / discharging main switch for the next target battery module. Specifically, after the preset time slot of the current target battery module ends, the main BMS module determines the new target battery module based on the newly acquired voltage data of all battery modules, and sends a "close main switch" command to the slave BMS module corresponding to the next target battery module to control its charging / discharging main switch to close, so that the module is connected to the main bus.

[0067] Then, based on the fact that the closing time of the charging / discharging main switch of the next target battery module reaches a preset delay time, the charging / discharging main switch of the current target battery module is controlled to open. Specifically, before the main BMS module sends a disconnect command to the current target battery module, a preset delay time (e.g., 50 milliseconds) is waited to ensure that the main switch of the next target battery module has been fully closed and its voltage has been stably connected to the bus. After the preset delay time expires, the main BMS module sends a "disconnect main switch" command to the slave BMS module corresponding to the current target battery module, controlling its charging / discharging main switch to open, so that the module is disconnected from the main bus. This switching sequence can be summarized as "on first, off later": during the switching process, at least one battery module is always in the on state on the main bus, and there will be no instant when all modules are disconnected at the same time.

[0068] The beneficial effects of this embodiment are significant. First, by closing the main switch of the next target battery module before opening the main switch of the current module, it ensures that the bus is always powered by a battery module during the switching process. This avoids the bus voltage from dropping to zero instantaneously due to the simultaneous disconnection of all modules, thus preventing impact or reset on the load (especially loads sensitive to voltage interruptions such as motor controllers), improving the system's engineering reliability and compatibility with sensitive loads. Second, the preset delay time provides sufficient electrical setup time for the next module to connect, ensuring that its output voltage has stabilized to a range matching the bus before connection. This avoids the impact of voltage surges or instantaneous drops caused by disconnecting the current module before the next module is fully stable, protecting other equipment on the bus from voltage fluctuations. Third, this switching strategy eliminates the dead zone in bus power supply during the switching process, making the time-sharing balancing process "seamless" for the load, significantly improving the power supply quality of the energy storage system during the balancing process.

[0069] In some examples, the preset delay time can be set based on the switching response time of each module and the charging and discharging time of the bus capacitor, for example, 50 milliseconds. This switching strategy is executed every time the currently connected battery module is switched, ensuring that the load always receives a continuous power supply during the time-sharing cyclic balancing process.

[0070] In some examples, the next target battery module is the target battery module that is re-determined based on the updated voltage data.

[0071] In some embodiments, the threshold includes a preset start threshold and a preset exit threshold, wherein the preset start threshold is greater than the preset exit threshold. When the maximum voltage difference is greater than the preset start threshold, the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closure of the charging / discharging main switch of the target battery module are executed. When the maximum voltage difference is less than the preset exit threshold, the step of controlling the closure of the charging / discharging main switch of the waiting battery module is executed.

[0072] Specifically, the preset start-up threshold and the preset exit threshold are set to different values, with the preset start-up threshold being greater than the preset exit threshold. The main BMS module compares the calculated maximum voltage difference with both the preset start-up threshold and the preset exit threshold. When the maximum voltage difference is greater than the higher preset start-up threshold, the main BMS module determines that the voltage difference between the current parallel modules is too large and needs to enter the equalization mode, triggering the switch control operation in step S400, i.e., disconnecting the main switch of the waiting battery module and closing the main switch of the target battery module. When the maximum voltage difference is less than the lower preset exit threshold, the main BMS module determines that the voltage difference between the current parallel modules has been reduced to an acceptable range, triggering the execution of step S500, i.e., closing the main switches of all waiting battery modules and restoring the normal parallel operation of all modules. When the maximum voltage difference is between the preset start-up threshold and the preset exit threshold (i.e., greater than or equal to the preset exit threshold and less than or equal to the preset start-up threshold), the main BMS module maintains the current control state and does not execute a new switch switching action.

[0073] The beneficial effects of this embodiment are significant. First, by setting a preset start threshold greater than a preset exit threshold, a hysteresis comparison logic is formed, creating a buffer zone that does not trigger switch switching during the change of the maximum voltage difference. When the maximum voltage difference fluctuates near the start threshold, the system will not frequently send switching commands due to voltage measurement noise or instantaneous load fluctuations causing the voltage difference to briefly exceed or fall below the threshold. This effectively avoids repeated on / off switching of the charging and discharging main switch, prevents the switching devices from overheating and being damaged due to frequent operation, and improves the stability and reliability of the system. Second, this hysteresis comparison logic gives the start and exit of equalization control different judgment criteria—entering equalization requires a larger voltage difference, while exiting equalization only requires a smaller voltage difference. This ensures that once the equalization action is started, it will continue until the voltage difference is sufficiently reduced to a low level before exiting. This avoids the inefficient oscillation of equalization repeatedly starting and stopping in the critical voltage difference region, improving the effectiveness of the equalization effect and energy utilization efficiency.

[0074] In some examples, the preset start threshold can be set to 50mV, and the preset exit threshold can be set to 20mV. When the maximum voltage difference between parallel modules exceeds 50mV, the system initiates equalization control; when the maximum voltage difference drops below 20mV, the system exits equalization and resumes parallel operation of all modules. This hysteresis comparison logic can be integrated into the control program of the main BMS module, performing the corresponding comparison and decision after each acquisition of voltage data and calculation of the maximum voltage difference.

[0075] In some embodiments, in step S300, based on the maximum voltage difference being greater than a preset start-up threshold, it is determined whether the duration for which the maximum voltage difference is continuously greater than the preset start-up threshold has reached a preset de-jittering time; based on the duration reaching the preset de-jittering time, the steps of controlling the disconnection of the charging and discharging main switch of the waiting battery module and controlling the closure of the charging and discharging main switch of the target battery module are executed.

[0076] Specifically, when the main BMS module determines that the maximum voltage difference between the currently parallel modules is greater than the preset start threshold, it does not immediately trigger equalization control. Instead, it starts an internal timer to continuously monitor whether the maximum voltage difference remains greater than the preset start threshold within a preset debouncing time (e.g., 5 seconds). If, at any sampling moment within the preset debouncing time, the maximum voltage difference falls below the preset start threshold, the timer is reset and monitoring restarts, waiting for the next maximum voltage difference to exceed the preset start threshold before restarting the timer. Only when the duration for which the maximum voltage difference is continuously greater than the preset start threshold reaches the preset debouncing time does the main BMS module determine that the current voltage difference is a real, stable deviation, rather than a temporary spike caused by voltage measurement noise or instantaneous load fluctuations, and then executes the equalization control operation in step S400.

[0077] The beneficial effects of this embodiment are significant. First, by using a preset de-jittering time determination mechanism, it effectively filters out transient voltage difference exceeding signals caused by voltage measurement noise, communication jitter, or instantaneous load fluctuations. This prevents the main BMS module from frequently triggering equalization control due to these non-realistic deviations, avoids ineffective switching of the charging and discharging main switch, and reduces wear on switching devices and system energy consumption. Second, this de-jittering time makes the activation conditions for equalization control more reliable, performing equalization operation only after the voltage difference has stably exceeded the limit. This improves the system's ability to distinguish between normal load fluctuations and the true voltage difference, avoiding wasted equalization resources and potential system instability caused by false triggering. Third, this de-jittering time can be flexibly configured through software parameters, facilitating adaptive adjustments based on different application scenarios and battery characteristics.

[0078] In some examples, the preset debouncing time can be set to 5 seconds. After each acquisition of the maximum voltage difference, the main BMS module determines the duration according to the above logic. This debouncing logic, combined with the aforementioned hysteresis comparison logic of preset start threshold and preset exit threshold, constructs a robust triggering condition for equalization control from both amplitude and time dimensions, further improving the system's anti-interference capability and operational reliability.

[0079] In some embodiments, the equalization control method further includes a current limiting step and a recovery step.

[0080] The current limiting procedure is as follows: Based on the fact that the main charging / discharging switches of all battery modules are open, before closing the main charging / discharging switch of the target battery module, a current limiting command is sent to the charger via the communication interface to limit the charger's output current to a preset safe equalization current. Specifically, during charging, when the main BMS module determines that the maximum voltage difference exceeds a preset start-up threshold and prepares to execute equalization control, the main BMS module first sends a disconnect command to the slave BMS modules of all battery modules via the communication bus (e.g., an isolated CAN bus), controlling all charging / discharging main switches to open. Subsequently, before closing the main charging / discharging switch of the target battery module, the main BMS module sends a current limiting command to the external smart charger via the communication interface (e.g., a CAN communication interface). This current limiting command includes a preset safe equalization current value (e.g., 0.1C to 0.3C, i.e., 10A to 30A). After receiving the current limiting command, the charger limits its output current from the rated full-power current to this preset safe equalization current value.

[0081] The recovery process is as follows: Based on the maximum voltage difference being less than a preset voltage difference threshold, before closing the main charging / discharging switches of all battery modules, a recovery command is sent to the charger to release the current limitation. Specifically, after time-sharing equalization, when the main BMS module detects that the maximum voltage difference between all battery modules has dropped below a preset exit threshold, before sending the command to close the main charging / discharging switches of all battery modules, the main BMS module first sends a recovery command to the charger via the communication interface, instructing the charger to release the current limitation and restore the full-power output current. After receiving the recovery command, the charger restores the output current to the rated full-power value. Subsequently, the main BMS module sends a closing command to each slave BMS module, controlling the main charging / discharging switches of all battery modules to close, restoring normal parallel charging.

[0082] The beneficial effects of this embodiment are significant. First, by using a current-limiting step, the charger's output current is limited to a preset safe equalization current during the charging equalization process. This avoids instantaneous overcharging or overheating caused by excessive current when the target module is connected to the charger alone, ensuring the safety and stability of the target module during individual charging. This is particularly suitable for situations where the target module's voltage is low at the beginning of charging, which may result in a large charging current surge. Second, the current limit value is set to a low rate current of 0.1C to 0.3C, allowing the target module to smoothly and safely increase its voltage during time-sharing charging, while avoiding excessive temperature rise and accelerated battery aging caused by high-current charging. Third, the current limit is lifted after equalization is completed and before closing the main switches of all modules, allowing all modules to be quickly charged at full power current after reconnecting in parallel. This ensures both the accuracy and safety of the equalization process and the overall charging efficiency after equalization, avoiding excessively prolonged charging time due to current limiting during equalization. The current limiting and recovery steps, together with the aforementioned charging equalization, time-sharing rotation, and lag comparison steps, constitute a complete charging state equalization control scheme.

[0083] In some embodiments, the equalization control method further includes a fault isolation step. When any slave BMS module reports a single-cell overvoltage fault, undervoltage fault, or overtemperature fault in its module, the master BMS module immediately sends a permanent disconnect command to that slave BMS module. Upon receiving the permanent disconnect command, the slave BMS module controls its independent charge / discharge main switch to open and locks the switch in the open state, physically isolating the faulty module from the main bus and preventing it from participating in the system's charge / discharge operation. Simultaneously, the master BMS module sends an external alarm for the fault information (e.g., via audible and visual alarms or communication reporting). The remaining normal battery modules that have not reported faults continue to operate in parallel, and the system operates at a reduced derating rate. This fault isolation step enables the energy storage system to quickly physically isolate the faulty module when an internal micro-short circuit or severe cell inconsistency occurs in a single module, while the remaining healthy modules continue to supply power to the load, preventing the entire battery pack from shutting down and significantly improving the system's availability and fault tolerance.

[0084] In some embodiments, the balancing control method further includes a periodic full balancing step. Every preset period (e.g., 30 days), when the energy storage system is idle, the main BMS module actively initiates a full balancing process. The main BMS module first controls the charger to charge all battery modules to full voltage, then sends a passive balancing start command to each slave BMS module. Each slave BMS module responds to this command by activating its internal passive balancing circuit, discharging the higher-voltage cells within the module through a discharge resistor, continuously balancing until the voltage difference between the cells within each module is less than a preset voltage difference setting (e.g., 10mV). After balancing, the main BMS module controls the battery pack to discharge to a preset maintenance voltage (e.g., 70% SOC) and records the balancing log (including balancing time and cell voltage distribution data before and after balancing). This periodic full balancing step is used to eliminate the accumulation of inconsistencies between the cells within each module over long-term use, making the cell states within each module more consistent, slowing down the capacity decay of the battery pack, and extending its overall service life.

[0085] According to an embodiment of the second aspect of this application, this application provides an energy storage system. The energy storage system includes a control component for performing an equalization control method.

[0086] In some embodiments, the energy storage system includes a main BMS module and multiple slave BMS modules. The main BMS module includes a main controller, a total current sampling unit, a total voltage sampling unit, and a communication interface. The main BMS module is used to monitor the total current and total voltage of the system and communicate with each slave BMS module. Each battery module has a corresponding slave BMS module, which includes a cell voltage acquisition unit, a temperature acquisition unit, a passive balancing circuit, an independent charge / discharge main switch, and a communication interface. The cell voltage acquisition unit is used to monitor the voltage of each string of cells in the module, the temperature acquisition unit is used to monitor the temperature of the cells in the module, the passive balancing circuit is used for balancing the cells within the module, the independent charge / discharge main switch is connected in series in the power circuit of the module and is used to independently control the connection or disconnection between the module and the main bus, and the communication interface is used for data exchange with the main BMS module. The master BMS module is connected to each slave BMS module via a communication bus (e.g., an isolated CAN bus). The master BMS module sends switching control commands to each slave BMS module through this communication bus and receives voltage and temperature data reported by each slave BMS module. The master BMS module also includes a total current sampling unit and a total voltage sampling unit, used to sample the total current and total voltage of the system, respectively. This master-slave BMS architecture enables fine-grained independent management of multiple parallel modules, providing the hardware foundation for time-sharing cyclic equalization control.

[0087] In some examples, the main BMS can serve as the control unit.

[0088] In some embodiments, the BMS module further includes an independent charge / discharge main switch and an anti-circulating current auxiliary unit. The independent charge / discharge main switch is connected in series in the power circuit of the module and is composed of a bidirectional semiconductor switching device, used to independently control the connection or disconnection between the module and the main bus. Preferably, the independent charge / discharge main switch uses two N-MOSFETs connected at their sources to form a bidirectional switch, placed in the negative circuit of the battery module, and controlled by a gate driver IC to achieve 100% duty cycle conduction. As an alternative embodiment, the independent charge / discharge main switch can also be placed in the positive circuit and use a high-side driver with a charge pump, or a bidirectional gallium nitride power device. The BMS module also includes an anti-circulating current auxiliary unit, which is connected in series or parallel with the independent charge / discharge main switch, used to prevent reverse current flow when the independent charge / discharge main switch is disconnected. The anti-circulating current auxiliary unit is preferably an ideal diode controller. When the main switch is in the open state and the module voltage is lower than the bus voltage, the ideal diode controller automatically cuts off the reverse path, providing hardware-level anti-reverse current protection. This forms a dual safety mechanism with the active balancing algorithm executed by the main BMS module. The cooperative structure of this independent charging and discharging main switch and the anti-circulating current auxiliary unit allows each module to be independently controlled to connect to or disconnect from the main bus, and anti-reverse current protection is implemented by hardware when the main switch is open.

[0089] In some embodiments, the communication bus between the master BMS module and each slave BMS module employs electrical isolation technology. This electrical isolation technology includes using isolated CAN transceivers (e.g., ISO1050) or isolated RS485 transceivers. An electrical isolation barrier is provided between the power supply side and the bus side of the isolated CAN transceiver to eliminate ground loop interference that may occur in the parallel system, improving communication reliability. The communication-side power supply of each slave BMS module is drawn from the total voltage of the corresponding battery module and supplied after conversion by an isolated DC-DC converter, thus creating electrical isolation between the communication bus and the battery module power circuit. Through this electrical isolation design, the communication signals and power circuits between modules and between modules and the master BMS are isolated from each other, effectively avoiding communication errors and signal distortion caused by ground loop interference, and ensuring the stability and reliability of communication even when there are voltage differences among the modules in the parallel system.

[0090] In some embodiments, the energy storage system is a 48V 100Ah golf cart battery pack, comprising four GC2-sized lithium iron phosphate modules, each containing 16 cells in series, with a single module capacity of 30Ah and a total nominal capacity of 120Ah after parallel connection. The main BMS module uses an STM32F405RGT6 MCU for control, a 0.1mΩ shunt with an INA226 for total current sampling, a resistor divider with an isolated operational amplifier AMC1200 for total voltage sampling, and an isolated CAN transceiver ISO1050 for communication. The slave BMS module uses a Zhongying SH367309 AFE chip and an STM32G030F6P6 MCU for slave operation. The independent charge / discharge main switch uses two AONS66916 (100V / 1.2mΩ) back-to-back connected chips in the module's negative circuit, driven by an IR2101. The anti-circulating current auxiliary unit uses an LM74700-Q1 ideal diode controller. The BMS module's communication-side power supply is obtained from the module's total voltage via an isolated DC-DC module. The external charger is a smart charger that supports CAN communication and adjusts the output current. The preset start-up equalization voltage difference threshold is 50mV, the preset exit equalization voltage difference threshold is 20mV, the debouncing time is 5 seconds, the charging equalization current limit is 0.2C (i.e., 20A), the single charging time slice is 60 seconds, the on-off overlap time is 50ms, and the periodic full equalization cycle is 30 days. In a 25℃ environment, four parallel modules with an initial average voltage difference of 150mV were tested. After equalization, the average voltage difference decreased to 18mV, and the system capacity utilization reached 98.5%. In a simulated fault isolation test, one module's slave BMS was artificially induced to report a single-unit over-temperature fault. The master BMS sent a disconnect command to the slave BMS within 50ms. The module's main switch immediately disconnected and it was isolated, while the other three modules continued to discharge normally. The system operated at 75% derating and issued an alarm.

[0091] According to the embodiments of the third aspect of this application, such as Figure 2 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 can call logic instructions in the memory 330 to execute an equalization control method, which includes:

[0092] S100: Obtain voltage data for all battery modules;

[0093] S200: Determine the maximum voltage difference between different battery modules based on voltage data;

[0094] S300. When the maximum voltage difference is greater than the threshold, the waiting battery module and the target battery module are determined based on the voltage data and the working status of the energy storage system. The working status includes charging status and discharging status.

[0095] S400: Controls the disconnection of the main switch for charging and discharging the waiting battery module, and controls the closure of the main switch for charging and discharging the target battery module;

[0096] S500: When the maximum voltage difference is less than the threshold, control the closing of the main switch for waiting for the battery module to charge and discharge.

[0097] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0098] On the other hand, this application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer is able to execute the equalization control method provided by the above methods. The method includes:

[0099] S100: Obtain voltage data for all battery modules;

[0100] S200: Determine the maximum voltage difference between different battery modules based on voltage data;

[0101] S300. When the maximum voltage difference is greater than the threshold, the waiting battery module and the target battery module are determined based on the voltage data and the working status of the energy storage system. The working status includes charging status and discharging status.

[0102] S400: Controls the disconnection of the main switch for charging and discharging the waiting battery module, and controls the closure of the main switch for charging and discharging the target battery module;

[0103] S500: When the maximum voltage difference is less than the threshold, control the closing of the main switch for waiting for the battery module to charge and discharge.

[0104] According to an embodiment of the fifth aspect of this application, the application further includes a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the equalization control methods provided above, the method comprising:

[0105] S100: Obtain voltage data for all battery modules;

[0106] S200: Determine the maximum voltage difference between different battery modules based on voltage data;

[0107] S300. When the maximum voltage difference is greater than the threshold, the waiting battery module and the target battery module are determined based on the voltage data and the working status of the energy storage system. The working status includes charging status and discharging status.

[0108] S400: Controls the disconnection of the main switch for charging and discharging the waiting battery module, and controls the closure of the main switch for charging and discharging the target battery module;

[0109] S500: When the maximum voltage difference is less than the threshold, control the closing of the main switch for waiting for the battery module to charge and discharge.

[0110] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate this application and are not intended to limit this application. Although this application has been described in detail with reference to the embodiments, those skilled in the art should understand that various combinations, modifications, or equivalent substitutions of the technical solutions of this application do not depart from the spirit and scope of the technical solutions of this application and should be covered within the scope of the claims of this application.

Claims

1. A balanced control method applied to an energy storage system, characterized in that, The energy storage system includes multiple battery modules connected in parallel, and each battery module is equipped with a main charge / discharge switch; the equalization control method includes: S100: Obtain voltage data for all battery modules; S200: Determine the maximum voltage difference between different battery modules based on the voltage data; S300. When the maximum voltage difference is greater than the threshold, the waiting battery module and the target battery module are determined based on the voltage data and the working state of the energy storage system, wherein the working state includes charging state and discharging state. S400: Control the disconnection of the charging / discharging main switch of the waiting battery module, and control the closure of the charging / discharging main switch of the target battery module; S500: When the maximum voltage difference is less than the threshold, control the closing of the main charging / discharging switch of the waiting battery module.

2. The equalization control method according to claim 1, characterized in that, The step of determining the waiting battery module and the target battery module based on the voltage data and the operating status of the energy storage system includes: When the working state is charging state, one or more battery modules with a voltage less than a first preset value are identified as the target battery module, and one or more battery modules with a voltage not less than the first preset value are identified as the waiting battery module. When the operating state is the discharge state, one or more battery modules with a voltage greater than the second preset value are identified as the target battery modules, and one or more battery modules with a voltage not greater than the second preset value are identified as the waiting battery modules.

3. The equalization control method according to claim 2, characterized in that, When the operating state is charging state, the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closure of the charging / discharging main switch of the target battery module include: Control the disconnection of the main charging and discharging switches for all battery modules; The main switch for charging and discharging of the waiting battery module is disconnected, and the main switch for charging and discharging of the target battery module is closed, so that the target battery module can be connected to the charger for charging.

4. The equalization control method according to claim 2, characterized in that, When the operating state is the discharge state, the steps of controlling the disconnection of the charging / discharging main switch of the waiting battery module and controlling the closure of the charging / discharging main switch of the target battery module include: Control the disconnection of the charge / discharge switch of the waiting battery module, and control the charge / discharge switch of the target battery module to remain closed.

5. The equalization control method according to any one of claims 1 to 4, characterized in that, After the steps of controlling the disconnection of the main charging / discharging switch of the waiting battery module and controlling the closing of the main charging / discharging switch of the target battery module, the method further includes: When the duration for which the main charging / discharging switch of the target battery module is in the closed state is equal to a preset duration, the main charging / discharging switch of the target battery module is disconnected. Repeat the steps of obtaining voltage data of all battery modules until the steps of controlling the disconnection of the main charging / discharging switch of the waiting battery module and controlling the closure of the main charging / discharging switch of the target battery module are executed, until the maximum voltage difference is less than the threshold.

6. The equalization control method according to claim 5, characterized in that, When performing the steps of controlling the disconnection of the main charging / discharging switch of the waiting battery module and controlling the closing of the main charging / discharging switch of the target battery module to switch the currently connected battery module, the method further includes: The main switch for controlling the charging and discharging of the next target battery module is closed. Based on the fact that the closing time of the main charging / discharging switch of the next target battery module reaches a preset delay time, the main charging / discharging switch of the current target battery module is controlled to open.

7. The equalization control method according to claim 1, characterized in that, The threshold includes a preset start threshold and a preset exit threshold, wherein the preset start threshold is greater than the preset exit threshold; When the maximum voltage difference is greater than the preset start threshold, the steps of controlling the disconnection of the charging and discharging main switch of the waiting battery module and controlling the closure of the charging and discharging main switch of the target battery module are executed. When the maximum voltage difference is less than the preset exit threshold, the step of controlling the closing of the charging and discharging main switch of the waiting battery module is executed.

8. An energy storage system, characterized in that, It includes a control component for performing the equalization control method as described in any one of claims 1 to 7.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the engraving machine control method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the equalization control method according to any one of claims 1 to 7.