Charging and discharging control method, electronic device and storage medium

By detecting the voltage of the battery cluster and the bus voltage, pre-charging and adjusting the charging ratio parameters are performed, solving the problem of large estimation errors in the existing technology. This achieves precise charging and discharging control of the battery cells, extends the service life of the battery cells, and improves the safety and efficiency of the system.

WO2026129502A1PCT designated stage Publication Date: 2026-06-25EVE ENERGY CO LTD +2

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
EVE ENERGY CO LTD
Filing Date
2025-03-18
Publication Date
2026-06-25

AI Technical Summary

Technical Problem

Existing charge and discharge control methods have significant estimation errors, which are not conducive to the precise regulation of the battery cell's charge and discharge process by the BMS.

Method used

By detecting the voltage of the battery cluster and the bus voltage, it is determined whether the power-on conditions are met, and pre-charging is performed. When the battery cell is fully charged, the charging ratio parameter is adjusted to the preset value to avoid excessive charging current affecting charging safety.

Benefits of technology

It enables precise charge and discharge control of the battery cells, extends the lifespan of the cells, and makes the battery energy storage system operate more efficiently and safely.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025083193_25062026_PF_FP_ABST
    Figure CN2025083193_25062026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a charging and discharging control method based on a battery energy storage system, an electronic device and a storage medium. The method comprises: on the basis of the voltages of battery clusters and a busbar voltage in a battery energy storage system, detecting whether each of the battery clusters satisfies a power-on condition; if each of the battery clusters satisfies the power-on condition, pre-charging and powering on each of the battery clusters according to a pre-charging and power-on instruction; charging the pre-charged and powered-on battery clusters, and detecting whether battery cells of the battery clusters satisfy a full-charge condition; and when the battery cells of the battery clusters satisfy the full-charge condition, adjusting a charging ratio parameter of each of the battery clusters to a preset value. The solution can precisely control the charging and discharging of battery cells, thus prolonging the service life of battery cells, and allowing for more efficient and safe operation of the battery energy storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Charge and discharge control methods, electronic devices, and storage media

[0001] This application claims priority to Chinese Patent Application No. 2024118554049, filed with the Chinese Patent Office on December 16, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of battery charging technology, specifically to a charging and discharging control method, electronic device, and storage medium based on a battery energy storage system. Background Technology

[0003] Current charging and discharging control methods mainly fall into two categories: One involves constructing a multivariate logistic regression model based on the relationships between voltage, circuitry, state of charge (SOC), temperature, and output power during the battery pack's charging / discharging process. During actual battery pack operation, real-time collected values ​​are substituted into this model for calculation, thereby achieving battery pack management and control. The other method operates at the lithium-ion battery pack level. During charging and discharging, the model determines the current SOC range of the battery's internal resistance based on the initial SOC state of the lithium-ion battery pack. Based on a model of battery internal resistance changing with SOC, the corresponding charging / discharging current threshold is calculated, and the current is dynamically adjusted according to SOC changes during charging / discharging. However, using a regression model as a reference can lead to significant estimation errors, which is detrimental to the BMS's precise control of the cell's charging and discharging process.

[0004] However, while the above methods can achieve battery pack management and control, they have large estimation errors, which are not conducive to the BMS accurately controlling the charging and discharging process of the cells. Technical issues

[0005] While the relevant technologies can achieve battery pack management and control, they have significant estimation errors, which are not conducive to the BMS accurately regulating the charging and discharging process of the battery cells. Technical solutions

[0006] This application provides a charging and discharging control method based on a battery energy storage system, including:

[0007] Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, it is determined whether each battery cluster meets the power-on conditions.

[0008] If each of the battery clusters meets the power-on conditions, then each of the battery clusters is pre-charged and powered on according to the pre-charge power-on command;

[0009] The pre-charged battery cluster is charged, and the cells of the battery cluster are checked to see if they meet the full charge conditions.

[0010] When the cells of the battery cluster meet the full charge condition, the charging ratio parameter of each battery cluster is adjusted to a preset value.

[0011] Secondly, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program as described in any of the methods above.

[0012] Thirdly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the methods described above. Beneficial effects

[0013] The beneficial effects provided by this application are as follows: Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, the battery clusters are pre-charged to avoid excessive charging current that could affect charging safety due to direct charging. Subsequently, the pre-charged battery clusters are charged, and when the cells of the battery cluster meet the full charge conditions, the charging ratio parameters of each battery cluster are adjusted to a preset value. Thus, the charging and discharging of the cells can be precisely controlled, extending the service life of the cells and making the battery energy storage system operate more efficiently and safely. Attached Figure Description

[0014] Figure 1 is a schematic flowchart of the charging and discharging control method based on a battery energy storage system provided in an embodiment of this application;

[0015] Figure 2 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application.

[0016] Implementation methods of this application

[0017] The technical solutions of the embodiments 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, and 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.

[0018] This application provides a charging and discharging control method, electronic device, and storage medium based on a battery energy storage system.

[0019] Specifically, the charging and discharging control method based on the battery energy storage system can be applied to a server or a terminal. The server may include a standalone server or a distributed server, or a server cluster composed of multiple servers. The terminal may include a tablet computer or a personal computer (PC).

[0020] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0021] A charging and discharging control method based on a battery energy storage system includes: detecting whether each battery cluster meets the power-on conditions based on the voltage of each battery cluster and the bus voltage in the battery energy storage system; if each battery cluster meets the power-on conditions, pre-charging each battery cluster according to a pre-charging power-on command; charging the pre-charged battery clusters and detecting whether the cells of the battery clusters meet the full charge conditions; and adjusting the charging ratio parameters of each battery cluster to a preset value when the cells of the battery clusters do not meet the full charge conditions.

[0022] Please refer to Figure 1, which is a schematic flowchart of the charge / discharge control method based on a battery energy storage system provided in an embodiment of this application. The specific flow of this charge / discharge control method based on a battery energy storage system can be as follows:

[0023] 101. Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, check whether each battery cluster meets the power-on conditions.

[0024] A battery energy storage system is a real-time monitoring system composed of electronic circuitry, also known as a Battery Management System (BMS). It is responsible for monitoring and managing battery energy storage units, ensuring safe use of the battery during charging and discharging. The main functions of a BMS include measuring battery terminal voltage, energy balancing between individual cells, estimating state of charge and state of health, limiting power input and output, limiting charging curves, and isolating the battery pack from the load. A battery cluster refers to a section composed of multiple battery modules. A battery pack may contain multiple battery clusters, each containing a group of cells connected together in series and parallel. Battery clusters typically have the same voltage and capacity, and they can be combined to form a complete battery system.

[0025] For example, among all battery clusters, the battery cluster with the lowest voltage is identified as the first battery cluster. Then, the battery cluster with the lowest voltage other than the first battery cluster is identified as the second battery cluster. Next, the difference between the voltage of the second battery cluster and the bus voltage is calculated. If the difference between the voltage of the second battery cluster and the bus voltage is less than the first voltage value, then the battery cluster is determined to meet the power-on condition. For example, if the first voltage value is set to 0.8V, then the difference of 0.7V is less than 0.8V, therefore the second battery cluster meets the power-on condition. That is, optionally, in some embodiments of this application, the step "detecting whether each battery cluster meets the power-on condition based on the voltage of each battery cluster in the battery energy storage system and the bus voltage" may specifically include:

[0026] In a battery energy storage system, the battery cluster with the lowest voltage is identified as the first battery cluster.

[0027] In the battery energy storage system, identify the second battery cluster with the lowest voltage, excluding the first battery cluster.

[0028] Calculate the difference between the voltage of the second battery cluster and the bus voltage;

[0029] When the difference between the voltage of the second battery cluster and the bus voltage is less than the first voltage value, the battery cluster is determined to meet the power-on conditions.

[0030] For example, specifically, battery cluster 1 (first battery cluster) voltage: 3.2V; battery cluster 2 voltage (second battery cluster): 3.3V; battery cluster 3 voltage: 3.5V; bus voltage: 4.0V; first voltage value (threshold): 0.7V. First, calculate the difference between the second battery cluster voltage and the bus voltage: 4.0V - 3.3V = 0.7V. Since 0.7V is exactly equal to the first voltage value of 0.7V, battery cluster 2 meets the power-on condition.

[0031] Through this process, the BMS can ensure that battery clusters are safely powered on when voltage differences are small, thereby protecting the batteries and extending their lifespan. This method helps reduce voltage differences between battery clusters, lowers the risk of faults such as contactor sticking, and improves system stability and reliability.

[0032] 102. If each battery cluster meets the power-on conditions, then pre-charge and power on each battery cluster according to the pre-charge power-on command.

[0033] For example, once the BMS confirms that all battery clusters meet the power-on conditions, it issues a pre-charge power-on command to initiate the pre-charge power-on process. Pre-charge power-on refers to the process of charging the battery clusters with a small current before formal charging. The purpose is to ensure that the battery clusters are in a relatively balanced state before formal charging, reducing the risks that may arise from high-current charging. During the pre-charge power-on phase, the BMS controls the charging current at a low level to avoid causing excessive voltage surges to the battery clusters.

[0034] Optionally, in some embodiments of this application, the step "if each battery cluster meets the power-on conditions, then pre-charge and power on each battery cluster according to the pre-charge power-on command" may specifically include:

[0035] If each battery cluster meets the power-on conditions, then check whether the difference between the battery cluster voltage and the bus voltage is less than the second voltage value.

[0036] If the difference between the battery cluster and the bus voltage is less than or equal to the second voltage value, the positive relay is closed and the pre-charge relay is opened within a preset time to complete the pre-charge of the battery cluster.

[0037] For each battery cluster that meets the power-on conditions, the BMS detects the difference between its voltage and the bus voltage. If the difference is less than or equal to a second voltage value, the battery cluster is considered suitable for pre-charging. When a battery cluster meets the pre-charging conditions, the BMS closes the positive relay for that cluster, officially initiating the pre-charging process. During the pre-charging phase, the BMS controls a small current to ensure the battery cluster is in a relatively balanced state before formal charging. A preset time is set during the pre-charging process. After the preset time is reached, the BMS disconnects the pre-charging relay, ending the pre-charging phase. Once the pre-charging relay is disconnected, the pre-charging process for the battery cluster is complete, and the battery cluster is ready for the next step of formal charging.

[0038] Optionally, in some embodiments of this application, it may further include:

[0039] If the difference between the battery cluster and the bus voltage is greater than the second voltage value, then it is detected whether the pre-charge time of the battery cluster is greater than the preset time.

[0040] If the pre-charge time of the battery cluster is longer than the preset time, the pre-charge relay and the main negative relay will be disconnected, and all battery clusters will be powered off.

[0041] For example, specifically, if the difference between the total voltage of a battery cluster and the total bus voltage is less than or equal to 20V, the pre-charge relay is closed first to start the pre-charge power-on process. The equalization channel is opened, and the BMS performs inter-cluster equalization until the difference between the total voltage of this cluster and the total bus voltage is less than 5V before the charging equipment can be connected.

[0042] If the pre-charge time of the battery cluster exceeds 5 hours, the BMS will further detect the difference between the total voltage of the battery cluster and the total voltage of the bus. If this difference is greater than 5V, it indicates that the battery cluster has failed to reach a state close to the bus voltage within the specified time, which may mean power-on failure. When it is confirmed that the pre-charge time exceeds 5 hours and the voltage difference is greater than 5V, the BMS will determine that the power-on start-up has failed and report a fault. This fault determination is based on the BMS's internal logic and protection mechanisms to ensure the safety of the battery cluster and the reliability of the system. After determining that the power-on has failed, the BMS will control the disconnection of the pre-charge relay and the main negative relay to cut off the electrical connection between the battery cluster and the bus. This is to protect the battery cluster from damage and prevent possible further faults. At the same time, for the safety of the entire system, the BMS will control all battery clusters to power down, that is, disconnect all battery clusters from the bus.

[0043] 103. Charge the pre-charged battery clusters and check whether the battery cells of the battery clusters meet the full charge conditions.

[0044] For example, specifically, during the charging process, the BMS manages the charging process according to preset charging control parameters, including the maximum allowable single-cell voltage of 3.65V, the maximum allowable total voltage of 175.2V, and the minimum allowable single-cell voltage of 2.2V. During charging, the BMS continuously monitors the cell voltage and determines whether the cell meets the full charge conditions based on the voltage. If the full charge conditions are met, step 104 is executed; if the full charge conditions are not met, corresponding steps are executed, such as continuing charging, etc.

[0045] 104. When the cells of the battery cluster meet the full charge conditions, adjust the charging ratio parameters of each battery cluster to the preset value.

[0046] It should be noted that the conditions for full charging can be: the voltage of a single cell reaches the full charging voltage of 3.5V and remains there for 100ms; or the total voltage reaches the full charging voltage of a single cell multiplied by the number of cells in the series plus 5V and remains there for 100ms. That is, optionally, in some embodiments of this application, the step "when the cells of the battery cluster meet the full charging conditions, adjust the charging ratio parameters of each battery cluster to a preset value" can specifically include:

[0047] If the voltage of a single cell in a battery cluster reaches the first preset voltage and the duration exceeds the preset voltage, the charging ratio parameter of each battery cluster is adjusted to the preset value.

[0048] When any battery cluster is fully charged, the state of charge (SOC) of all battery clusters is calibrated to 100%.

[0049] During the charging process, the data configuration for the charge and discharge control of the battery cell is shown in the table below:

[0050]

[0051] It should be noted that after full charge, the relay is not allowed to disconnect but must remain closed to keep the BMS system circuit unobstructed, allowing the BMS to continuously collect, analyze, and process cell information. Even in the event of a Level 1 or Level 2 fault, the relay remains closed. In the event of a Level 3 fault, the main positive relay and the main negative relay will disconnect.

[0052] Level 1 faults (minor) typically refer to faults that have no impact on battery safety or lifespan, requiring only an alarm response. These include: High temperature faults: When the battery temperature exceeds a preset safety threshold, although it won't immediately affect battery safety, it still requires attention and an alarm; Excessive current faults: If the battery's charging / discharging current exceeds the safe range, a Level 1 fault will trigger an alarm, prompting a check for abnormal current. Level 2 faults refer to faults that have no impact on battery safety or lifespan, requiring an alarm and power limiting response. These include: High-voltage interlock faults: The high-voltage interlock function of the battery system fails, which may require limiting the battery's output power and triggering an alarm; Contactor sticking faults: The contactor in the battery system fails to open or close properly, requiring maintenance and repair, and limiting battery power output. Level 3 faults are the most serious, directly affecting battery safety or lifespan, requiring an alarm and disconnection response. These types of faults include: External short circuit: If an external short circuit is detected, the BMS will perform hardware-level disconnection to protect the battery and system safety; Individual cell voltage too low or too high: When the voltage of a battery cell is abnormal, such as too low or too high, it may indicate a serious problem with the battery, requiring immediate power disconnection to prevent damage.

[0053] Level 1 Fault Handling: When a Level 1 fault is detected, the BMS sends an alert to the host computer (usually a central monitoring system or energy management system). This alert is used to remind operators of potential problems so that preventative measures can be taken.

[0054] Level 2 fault handling: For Level 2 faults, the BMS will send an alarm message to the host computer, indicating that the problem is more serious than Level 1 faults and needs to be checked and handled as soon as possible.

[0055] Level 3 fault handling: When a Level 3 fault is detected, the BMS will not only report the fault to the host computer, but also trigger the high-voltage power-off process of the BMS system, that is, disconnect the high-voltage circuit connected to the battery and issue a protection command to ensure safety.

[0056] Therefore, in the event of Level 1 and Level 2 faults, the BMS will not disconnect the relays. This is done to maintain the continuity of the system's circuitry, ensuring that the BMS can continue to monitor the battery status and perform its management functions. This allows the system to continue operating even with minor issues, while simultaneously monitoring and diagnosing the problems. In the event of a Level 3 fault, the BMS will disconnect the main positive and main negative relays to cut off the battery's charging and discharging path, preventing further deterioration of the fault and protecting the battery and the entire system from damage.

[0057] Optionally, in some embodiments of this application, it may further include:

[0058] When performing constant current charging on a pre-charged battery cluster, it is detected whether the voltage of a single cell in the battery cluster is greater than a second preset voltage.

[0059] If the voltage of a single cell in the battery cluster is greater than the second preset voltage, the battery cluster will be charged with reduced current.

[0060] The detection function checks whether the charging current of the battery cluster during the current reduction charging process is less than or equal to the minimum charging current corresponding to the current reduction charging process.

[0061] If the charging current of the battery cluster is less than or equal to the minimum charging current corresponding to the current reduction charging process, then the battery cluster is charged based on the minimum charging current.

[0062] During constant-current charging of the battery cluster, the BMS monitors the individual cell voltages in real time to ensure the cluster does not exceed safe voltage limits. If an individual cell voltage exceeds a second preset voltage, the BMS activates a reduced-current charging strategy to decrease the charging current and protect the cluster. During reduced-current charging, the BMS continues to monitor the cluster's charging current to ensure it does not fall below the minimum charging current required for the reduced-current charging process, preventing undercharging. If the charging current during reduced-current charging is less than or equal to the minimum charging current, the BMS adjusts the charging current to the minimum to ensure the cluster continues charging without exceeding safety limits.

[0063] Optionally, in some embodiments of this application, it may further include: if the charging current of the battery cluster is greater than the minimum charging current corresponding to the current reduction charging process, then charging is performed with the minimum current after a preset delay.

[0064] For example, specifically during the constant current charging phase, the BMS monitors the individual cell voltages within the battery cluster. If a cell voltage exceeds a second preset voltage, the BMS initiates a current-reducing charging strategy to decrease the charging current and protect the battery cluster. During this process, the BMS continues to monitor the battery cluster's charging current to ensure it does not exceed safety and preset current limits. If the battery cluster's charging current exceeds the corresponding minimum charging current during this process, the BMS will not take immediate action. Instead, it sets a preset delay time, allowing the system additional time to adjust and stabilize. After the preset delay, if the charging current still exceeds the minimum charging current, the BMS adjusts the charging current to the minimum level to ensure the battery cluster can continue charging without exceeding safety limits.

[0065] Therefore, while ensuring that the battery clusters are not damaged by excessive charging current, it also guarantees that the battery clusters can continue to charge at a safe charging rate. In this way, the BMS can balance the charging efficiency and safety of the battery clusters, extend the battery life, and maintain the performance and reliability of the entire battery energy storage system.

[0066] This application embodiment detects whether each battery cluster meets the power-on conditions based on the voltage of each battery cluster and the bus voltage in the battery energy storage system. If each battery cluster meets the power-on conditions, it pre-charges each battery cluster according to the pre-charge power-on command. Then, it charges the pre-charged battery clusters and detects whether the cells of the battery cluster meet the full charge conditions. When the cells of the battery cluster meet the full charge conditions, it adjusts the charging ratio parameters of each battery cluster to a preset value. The charging and discharging control scheme based on the battery energy storage system provided in this application pre-charges the battery clusters according to the voltage of each battery cluster and the bus voltage in the battery energy storage system, avoiding excessive charging current that could affect charging safety due to direct charging. Subsequently, it charges the pre-charged battery clusters and adjusts the charging ratio parameters of each battery cluster to a preset value when the cells of the battery cluster meet the full charge conditions. Thus, it can accurately control the charging and discharging of the cells, extend the service life of the cells, and make the battery energy storage system operate more efficiently and safely.

[0067] Furthermore, this application also provides an electronic device, as shown in FIG2, which illustrates a structural schematic diagram of the electronic device involved in this application embodiment. Specifically:

[0068] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will understand that the electronic device structure shown in FIG2 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0069] The processor 301 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, thereby providing overall monitoring of the electronic device. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 301.

[0070] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and charge / discharge control based on the battery energy storage system by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0071] The electronic device also includes a power supply 303 that supplies power to various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0072] The electronic device may also include an input unit 304, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0073] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 runs the applications stored in the memory 302 to realize various functions, as follows:

[0074] Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, it is detected whether each battery cluster meets the power-on conditions; if each battery cluster meets the power-on conditions, it is pre-charged and powered on according to the pre-charge power-on command; the pre-charged battery cluster is charged, and it is detected whether the cells of the battery cluster meet the full charge conditions; if the cells of the battery cluster meet the full charge conditions, the charging ratio parameters of each battery cluster are adjusted to the preset value.

[0075] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0076] This application embodiment detects whether each battery cluster meets the power-on conditions based on the voltage of each battery cluster and the bus voltage in the battery energy storage system. If each battery cluster meets the power-on conditions, it pre-charges each battery cluster according to the pre-charge power-on command. Then, it charges the pre-charged battery clusters and detects whether the cells of the battery cluster meet the full charge conditions. When the cells of the battery cluster meet the full charge conditions, it adjusts the charging ratio parameters of each battery cluster to a preset value. The charging and discharging control scheme based on the battery energy storage system provided in this application pre-charges the battery clusters according to the voltage of each battery cluster and the bus voltage in the battery energy storage system, avoiding excessive charging current that could affect charging safety due to direct charging. Subsequently, it charges the pre-charged battery clusters and adjusts the charging ratio parameters of each battery cluster to a preset value when the cells of the battery cluster meet the full charge conditions. Thus, it can accurately control the charging and discharging of the cells, extend the service life of the cells, and make the battery energy storage system operate more efficiently and safely.

[0077] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0078] Therefore, embodiments of this application provide a storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the charge / discharge control methods based on a battery energy storage system provided in embodiments of this application. For example, the instructions can execute the following steps:

[0079] Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, it is detected whether each battery cluster meets the power-on conditions; if each battery cluster meets the power-on conditions, it is pre-charged and powered on according to the pre-charge power-on command; the pre-charged battery cluster is charged, and it is detected whether the cells of the battery cluster meet the full charge conditions; if the cells of the battery cluster meet the full charge conditions, the charging ratio parameters of each battery cluster are adjusted to the preset value.

[0080] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0081] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0082] Since the instructions stored in the storage medium can execute the steps of any of the charging and discharging control methods based on battery energy storage systems provided in the embodiments of this application, the beneficial effects that any of the charging and discharging control methods based on battery energy storage systems provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0083] The foregoing has provided a detailed description of a charging and discharging control method, electronic device, and storage medium based on a battery energy storage system provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A charging and discharging control method based on a battery energy storage system, comprising: Based on the voltage of each battery cluster and the bus voltage in the battery energy storage system, it is determined whether each battery cluster meets the power-on conditions. If each of the battery clusters meets the power-on conditions, then each of the battery clusters is pre-charged and powered on according to the pre-charge power-on command; The pre-charged battery cluster is charged, and the cells of the battery cluster are checked to see if they meet the full charge conditions. When the cells of the battery cluster meet the full charge condition, the charging ratio parameter of each battery cluster is adjusted to a preset value.

2. The charging and discharging control method according to claim 1, wherein, The step of detecting whether each battery cluster meets the power-on conditions based on the voltage of each battery cluster in the battery energy storage system and the bus voltage includes: In the battery energy storage system, the battery cluster with the lowest voltage is identified as the first battery cluster. In the battery energy storage system, identify the second battery cluster with the lowest voltage, excluding the first battery cluster. Calculate the difference between the voltage of the second battery cluster and the bus voltage; When the difference between the voltage of the second battery cluster and the bus voltage is less than the first voltage value, it is determined that the battery cluster meets the power-on conditions.

3. The charging and discharging control method according to claim 1, wherein, If each of the battery clusters meets the power-on conditions, then pre-charging and powering on each of the battery clusters according to the pre-charging and power-on command includes: If each of the battery clusters meets the power-on conditions, then it is detected whether the difference between the voltage of the battery cluster and the bus voltage is less than the second voltage value; If the difference between the battery cluster and the bus voltage is less than or equal to the second voltage value, the positive relay is closed and the pre-charge relay is opened within a preset time to complete the pre-charge of the battery cluster.

4. The charging and discharging control method according to claim 3 further includes: If the difference between the battery cluster and the bus voltage is greater than the second voltage value, then it is detected whether the pre-charge time of the battery cluster is greater than the preset time. If the pre-charge time of the battery cluster is longer than the preset time, the pre-charge relay and the main negative relay are disconnected, and all battery clusters are powered down.

5. The charging and discharging control method according to claim 1, wherein, When the cells of the battery cluster meet the full charge condition, adjusting the charging ratio parameter of each battery cluster to a preset value includes: If the voltage of a single cell in the battery cluster reaches a first preset voltage and the duration is greater than the preset voltage, then the charging ratio parameter of each battery cluster is adjusted to a preset value.

6. The charging and discharging control method according to any one of claims 1 to 5, further comprising: When the pre-charged battery cluster is charged with constant current, it is detected whether the voltage of a single cell in the battery cluster is greater than a second preset voltage. If the voltage of a single cell in the battery cluster is greater than the second preset voltage, then the battery cluster is charged with reduced current. Detect whether the charging current of the battery cluster during the current reduction charging process is less than or equal to the minimum charging current corresponding to the current reduction charging process; If the charging current of the battery cluster is less than or equal to the minimum charging current corresponding to the current reduction charging process during the current reduction charging process, then the battery cluster is charged based on the minimum charging current.

7. The charging and discharging control method according to claim 6 further includes: If the charging current of the battery cluster is greater than the minimum charging current corresponding to the current reduction charging process during the current reduction charging process, then charging will be performed with the minimum current after a preset delay.

8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the program, it implements the steps of the charge and discharge control method based on a battery energy storage system as described in any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, It stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the charge and discharge control method based on a battery energy storage system as described in any one of claims 1-7.