Battery branch processing method and device, equipment and storage medium

By acquiring the operating status and identifying anomalies of the battery pack branches, and rationally selecting branches for switching, the problem of poor rationality in branch switching in the prior art is solved, thereby improving the safety and lifespan of the battery system.

CN121246615APending Publication Date: 2026-01-02HEFEI GUOXUAN HIGH TECH POWER ENERGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511685689.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

In existing battery branch switching methods, the selection of branches for switching is often unreasonable, which may have adverse effects on the main circuit.

Method used

By acquiring the operating status of each branch in the battery pack, anomalies are identified, the set of branches that can be connected or disconnected is determined, and the branches are rationally selected for switching based on the voltage or rate difference between the branch status and the reference branch.

Benefits of technology

This improves the rationality of branch circuit integration or disconnection, avoids adverse effects on the main circuit, such as arcing or internal circulating current, and enhances the safety and lifespan of the battery system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121246615A_ABST
    Figure CN121246615A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a battery branch processing method and device, equipment and a storage medium, and relates to the field of batteries. Comprising the steps of obtaining an operation state of each branch; performing anomaly identification on each branch, and determining a first set and a second set; the first set comprises a first branch capable of being connected into the main circuit, and the second set comprises a second branch capable of being separated from the main circuit; for each branch in the first set and the second set, determining a reference branch from all branches according to the operation state of the branch; for each first branch, acquiring a voltage difference between the voltage of the first branch and the voltage of the reference branch, and if the voltage difference is not greater than a first threshold value, merging the first branch into the main circuit; and for each second branch, acquiring a rate difference between the charge-discharge rate of the second branch and the charge-discharge rate of the reference branch, and if the rate difference is greater than a second threshold value, disconnecting the second branch from the main circuit. According to the invention, the rationality of battery branch switching is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and more specifically, to a method, apparatus, device, and storage medium for processing battery branches. Background Technology

[0002] In existing new energy multi-branch power products, users can achieve more functional requirements by coordinating the different branches of the multi-branch system. Different branches in the same battery pack coordinate with each other through switching. Switching refers to connecting or disconnecting the branches in the battery pack from the main circuit by means of control switches, relays, etc.

[0003] However, in the switching methods for related battery branches, there is still a problem of poor rationality in selecting the branches to be switched. Summary of the Invention This application provides a method, apparatus, device, and storage medium for processing battery branches, which addresses the technical problem of poor rationality in battery branch switching.

[0004] According to a first aspect of the embodiments of this application, a method for processing a battery branch is provided, the method comprising: Obtain the current operating status of each branch in the battery pack; the operating status is used to characterize the flow direction and flow velocity of electrical energy in the branch. Anomaly identification is performed on each branch in the battery pack, and a first set and a second set are determined based on the anomaly identification results; the first set includes the first branch that can be incorporated into the main circuit of the battery pack, and the second set includes the second branch that can be disconnected from the main circuit; For each branch in the first set and the second set, the corresponding reference branch is determined from all branches of the battery pack according to the branch's operating status. For each first branch in the first set, obtain the voltage difference between the voltage of the first branch and the voltage of the reference branch. If it is determined that the voltage difference is not greater than the first threshold, then the first branch is incorporated into the main circuit. For each second branch in the second set, obtain the rate difference between the charge / discharge rate of the second branch and the charge / discharge rate of the reference branch. If the rate difference is greater than the second threshold, disconnect the second branch from the main circuit.

[0005] In one possible implementation, the operating state includes at least one of the following: charging state, static charging state, discharging state, and static discharging state; When the branch is in the discharge state or in the static discharge state, the voltage of all branches of the battery pack is obtained, and the branch with the highest voltage value is selected as the reference branch. When the branch is in charging or static charging state, the voltage of all branches of the battery pack is obtained, and the branch with the lowest voltage value is selected as the reference branch.

[0006] In another possible implementation, the first duration between the current time and the time when the first branch last disconnected from the main circuit is obtained; If the first duration is greater than the first threshold, then the first branch will be connected to the main circuit.

[0007] In yet another possible implementation, the reason why the first branch was most recently disconnected from the main circuit is obtained; If the reason is not that the battery cells in the first branch are fully charged, then the first branch will be connected to the main circuit. If the reason is that the battery cells in the first branch are fully charged, and the current time of the first branch is not in the same charging cycle as when the first branch was last disconnected from the main circuit, then the first branch will be connected back to the main circuit.

[0008] In yet another possible implementation, For each branch in the battery pack, multiple operating parameters of the branch are obtained; the parameter value of each operating parameter has a corresponding threshold range; For each branch in the battery pack, if the relay of the branch is in the open state, the branch is designated as the third branch; if the relay of the branch is in the closed state, the branch is designated as the fourth branch. For each third branch, if it is determined that the value of any one of the multiple operating parameters of the third branch is within the threshold range, then the third branch is regarded as the first branch in the first set. For each fourth branch, if it is determined that the value of any one of the multiple operating parameters of the fourth branch is not within the threshold range, then the fourth branch is regarded as the second branch in the second set.

[0009] In yet another possible implementation, If the current operating state of any branch cannot be obtained, then the operating state of the branch at the previous moment shall be taken as the current operating state of the branch. If the current operating state of the branch and the previous operating state of the branch cannot be obtained, the static discharge state is taken as the current operating state of the branch.

[0010] According to a second aspect of the embodiments of this application, a processing apparatus for a battery branch is provided, the apparatus comprising: The acquisition module is used to acquire the current operating status of each branch in the battery pack; the operating status is used to characterize the flow direction and flow speed of electrical energy in the branch. An identification module is used to identify anomalies in each branch of the battery pack and determine a first set and a second set based on the anomaly identification results; the first set includes a first branch that can be incorporated into the main circuit of the battery pack, and the second set includes a second branch that can be disconnected from the main circuit. The determination module is used to determine the corresponding reference branch from all branches of the battery pack for each branch in the first set and the second set, based on the operating status of the branch. The first processing module is used to obtain the voltage difference between the voltage of the first branch and the voltage of the reference branch for each first branch in the first set. If it is determined that the voltage difference is not greater than a first threshold, the first branch is incorporated into the main circuit. The second processing module is used to obtain the rate difference between the charge / discharge rate of the second branch and the charge / discharge rate of the reference branch for each second branch in the second set. If the rate difference is greater than a second threshold, the second branch is disconnected from the main circuit.

[0011] According to a third aspect of the embodiments of this application, an electronic device is provided, the electronic device including a memory, a processor and a computer program stored in the memory, wherein the processor executes the program to implement the steps of the method provided in the first aspect.

[0012] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps of the method provided in the first aspect.

[0013] According to a fifth aspect of the present application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, wherein when a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, causing the computer device to perform steps implementing the method provided in the first aspect.

[0014] The beneficial effects of the technical solutions provided in this application are: The battery branch processing method provided in this application embodiment acquires the operating status of each branch in the battery pack, then performs anomaly identification on each branch. Based on the anomaly identification results, it determines the first branch that can be integrated into the main circuit of the battery pack, thus determining a first set. Based on the anomaly identification results, it determines the second branch that can be disconnected from the main circuit, thus determining a second set. By performing anomaly detection on each branch, it initially filters out the first branch that can be integrated into the main circuit and the second branch that can be disconnected from the main circuit, avoiding the impact of abnormal branches on the main circuit.

[0015] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0016] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch will have an impact on internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the use of different reference branches to determine whether there is any harm in keeping the second branch in the main circuit for second branches in different operating states. If it is determined that there is harm, the second branch is disconnected from the main circuit, which improves the rationality of disconnecting the branch from the main circuit. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0018] Figure 1 A schematic diagram of the system architecture for implementing the battery branch processing method provided in the embodiments of this application; Figure 2 A schematic flowchart illustrating a battery branch processing method provided in an embodiment of this application; Figure 3 A flowchart illustrating the incorporation method of the first branch in a battery branch processing method provided in an embodiment of this application; Figure 4 A schematic diagram of the method for determining the first set and the second set in a battery branch processing method provided in an embodiment of this application; Figure 5 A schematic diagram of the structure of a battery branch processing device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0019] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.

[0020] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”

[0021] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0022] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.

[0023] Figure 1 This is a schematic diagram of the system architecture for implementing the battery branch processing method provided in the embodiments of this application, wherein the system architecture includes: terminal 120, server 140, and battery pack 160.

[0024] Terminal 120 has an application program installed and runs a method for processing battery branches. Terminal 120 is used to control the battery pack to connect the first branch to the main circuit and disconnect the second branch from the main circuit.

[0025] Terminal 120 is connected to server 140 via a wireless network or a wired network.

[0026] Server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Illustratively, server 140 includes a processor 144 and a memory 142, the memory 142 including a display module 1421, a control module 1422, and a receiving module 1423. Server 140 is used to provide background services for the application of the method. Optionally, server 140 undertakes the primary computing work, and terminal 120 undertakes secondary computing work; or, server 140 undertakes secondary computing work, and terminal 120 undertakes primary computing work; or, server 140 and terminal 120 collaborate on computing using a distributed computing architecture.

[0027] The battery pack 160 consists of multiple branches, which are circuit paths formed by connecting multiple battery cells in series or in parallel. Each branch contains one or more battery cells. The main circuit is responsible for connecting the branches together and outputting electrical energy to external loads or charging devices. The terminal 120 connects the branch to the main circuit or disconnects the branch from the main circuit according to the operating status and abnormal results of each branch in the battery pack.

[0028] Optionally, the device type of the terminal includes at least one of the following: smartphone, tablet computer, e-book reader, Moving Picture Experts Group Audio Layer III (MP3) player, Moving Picture Experts Group Audio Layer IV (MP4) player, laptop computer, and desktop computer.

[0029] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.

[0030] This application provides a method for processing a battery branch, such as... Figure 2 As shown, the method includes: S101, obtain the current operating status of each branch in the battery pack.

[0031] In this embodiment, the battery pack consists of multiple branches, which are circuit paths formed by connecting multiple battery cells in series or parallel. Each branch contains one or more battery cells. The main circuit is responsible for connecting the branches together and outputting electrical energy to an external load or charging device.

[0032] In this embodiment of the application, the current operating state of the branch is obtained. The operating state is used to characterize the flow direction and flow speed of the branch's electrical energy. That is, the operating state can characterize the current state of the branch's electrical energy increasing and the rate of increase of electrical energy. The operating state can also characterize the current state of the branch's electrical energy decreasing and the rate of decrease of electrical energy.

[0033] In this embodiment, the operating states include: charging state, discharging state, stationary charging state, and stationary discharging and charging state. When a branch is in the charging state, it indicates that the branch is in the process of charging. When a branch is in the discharging state, it indicates that the branch is in the process of discharging. When a branch is in the stationary charging state, it indicates that the branch is in the charging state, but the current is low. When a branch is in the stationary discharging state, it indicates that the branch is in the discharging state, but it does not provide energy to the external load, that is, the voltage and charge remain unchanged or decrease slowly.

[0034] S102, perform anomaly identification on each branch in the battery pack, and determine the first set and the second set based on the anomaly identification results.

[0035] In this embodiment of the application, the first set includes a first branch that can be incorporated into the main circuit of the battery pack, and the second set includes a second branch that can be disconnected from the main circuit.

[0036] In this embodiment of the application, a portion of the branches in the battery pack belong to the main circuit, that is, the branches directly connected to the load. The number of branches in the main circuit can be changed by adding new branches from the battery pack or disconnecting branches from the main circuit, for example, by connecting them to the motor of an electric vehicle for power supply.

[0037] In the embodiments of this application, the first branch refers to a branch that is not currently in the main circuit but can be incorporated into the main circuit, and the second branch refers to a branch that is currently in the main circuit but can be detached from the main circuit.

[0038] In this embodiment, anomaly identification is performed on each branch, and each branch has a corresponding identification result, i.e., there is an anomaly or there is no anomaly. Since the main circuit is the part directly connected to the load, in order to ensure the normal operation of the main circuit, the first branch that can be connected to the main circuit needs to be a branch without anomalies. In addition, for the same reason as the normal operation of the main circuit, the second branch is a circuit with anomalies. Therefore, the second circuit needs to be disconnected from the main circuit.

[0039] In this embodiment of the application, for a branch that is not in the main circuit, if the identification result of the branch is that there is no abnormality, then the branch is regarded as the first branch in the first set. For a branch that is in the main circuit, if the identification result of the branch is that there is an abnormality, then the branch is regarded as the second branch in the second set.

[0040] In this embodiment of the application, for any branch in any operating state, if it is determined that the branch has at least one of the following faults: single-cell undervoltage level 3 fault, total voltage too low level 3 fault, total voltage too high level 2 fault, cell temperature too high level 3 fault, cell temperature too low level 3 fault, branch internal temperature difference level 3 fault, temperature sensor sampling fault level 3 fault, single-cell voltage sampling fault, master-slave communication fault level 3 fault, or insulation too low level 3 alarm, then the identification result of the branch can be determined to be abnormal. If none of the above faults exist, it means that the identification result of the branch is not abnormal.

[0041] In this embodiment, a single cell undervoltage level 3 fault refers to the voltage of a single battery cell in the branch dropping below the minimum threshold set by the system; a total voltage undervoltage level 3 fault refers to the total voltage of the branch being lower than the preset minimum voltage threshold; a total voltage overvoltage level 2 fault refers to the total voltage of the branch exceeding the set maximum safe voltage threshold; a cell temperature overheat level 3 fault refers to the temperature of a single battery cell in the branch exceeding the set upper limit of safe temperature; a cell temperature underheat level 3 fault refers to the temperature of a single battery cell in the branch being lower than the set lower limit of safe temperature; a branch internal temperature difference level 3 fault refers to the temperature difference between different battery cells in the branch exceeding a predetermined temperature threshold; a temperature sensor sampling failure level 3 fault refers to the temperature sensor being faulty or failing to sample, thus failing to correctly monitor the temperature of the battery cells in the branch; a single cell voltage sampling failure refers to the inability to read the voltage of the battery cells in the branch; a master-slave communication failure level 3 fault refers to the battery management system being unable to obtain relevant data for the branch; and an insulation undervoltage level 3 alarm refers to the insulation resistance value in the branch being lower than the set safety standard.

[0042] In this embodiment, for a branch in the charging state, if at least one of the following faults is determined to exist: equalization short circuit fault, single-cell overvoltage level 2 fault, or charger abnormality level 3 fault, the branch's identification result can be determined to be abnormal. If none of the above faults exist, the branch's identification result is considered normal. In this embodiment, for a branch in the discharging state, if a branch is determined to exist: branch voltage difference fault level 3 fault, the branch's identification result can be determined to be abnormal. If none of the above faults exist, the branch's identification result is considered normal.

[0043] In this embodiment, Level 2 (overvoltage of a single cell) means that the voltage of a single battery cell in a branch exceeds the set maximum safety threshold; Level 3 (charger malfunction) means that the charger malfunctions, causing the charging process to fail; and Level 4 (differential voltage fault) means that the voltage difference between battery pack branches is too large, causing the battery pack to operate unstably.

[0044] S103, for each branch in the first set and the second set, determine the corresponding reference branch from all branches of the battery pack according to the operating status of the branch.

[0045] In this embodiment of the application, the first branch in the first set can be connected to the main circuit of the battery pack. However, in order to avoid adverse effects on the main circuit after the first branch is connected to the main circuit, it is necessary to determine whether the connection of the first branch to the main circuit will have adverse effects before implementing the connection of the first branch to the main circuit. Only when it is determined that no adverse effects will be produced can the first branch be connected.

[0046] In this embodiment of the application, the second branch in the second set is a branch that can be disconnected from the main circuit of the battery pack. However, in order to avoid the second branch from having an adverse effect on the main circuit after being disconnected from the main circuit, it is necessary to determine whether disconnecting the second branch from the main circuit will have an adverse effect on the main circuit before disconnecting the second branch from the main circuit. Therefore, the second branch can only be disconnected from the main circuit when it is determined that no adverse effect will be caused.

[0047] In this embodiment of the application, for each branch in the first set and the second set, a corresponding reference branch is obtained according to the operating state of the branch. For the reference branch corresponding to the first branch in the first set, the reference branch is used together with the first branch to determine whether the first branch can be connected to the main circuit of the battery pack. For the reference branch corresponding to the second branch in the second set, the reference branch is used together with the second branch to determine whether the second branch can be disconnected from the main circuit of the battery pack.

[0048] In the embodiments of this application, different reference branches are selected for different operating states to determine whether they can be incorporated into the main circuit and separated from the main circuit. This ensures that, in different operating states, the branches that are most conducive to the operation of the main circuit are incorporated into the main circuit while avoiding the occurrence of circulating current, and the branches that are least conducive to the operation of the main circuit are separated from the main circuit.

[0049] S104, for each first branch in the first set, obtain the voltage difference between the voltage of the first branch and the voltage of the reference branch. If it is determined that the voltage difference is not greater than the first threshold, then the first branch is incorporated into the main circuit.

[0050] In this embodiment, the voltage of the first branch is obtained, the voltage of the reference branch is obtained, and the absolute value of the voltage difference between the voltage of the first branch and the voltage of the reference branch is taken as the voltage difference between the first branch and the reference branch. The larger the voltage difference between the first branch and the reference branch, the greater the probability of arcing or internal circulating current in the battery pack. Therefore, only the first branch with a voltage difference of no more than a first threshold with the corresponding reference branch is selected and incorporated into the main circuit.

[0051] S105, for each second branch in the second set, obtain the rate difference between the charging and discharging rate of the second branch and the charging and discharging rate of the reference branch. If the rate difference is greater than the second threshold, disconnect the second branch from the main circuit.

[0052] In this embodiment, the charge / discharge rate is obtained by calculating the ratio of the current charge level to the current level. The charge / discharge rate of the second branch and the charge / discharge rate of the reference branch are obtained. The absolute value of the rate difference between the charge / discharge rates of the second branch is taken as the rate difference. If the rate difference is large, it is easy to cause circulating current inside the battery pack, which will affect the battery life. Therefore, only the second branch with a rate difference greater than the second threshold is selected to be disconnected from the main circuit.

[0053] It should be noted that the execution order of S104 and S105 is not limited in this application embodiment. S104 and S105 can be executed simultaneously, or S104 can be executed first and then S105, or S105 can be executed first and then S104.

[0054] The battery branch processing method provided in this application embodiment acquires the operating status of each branch in the battery pack, then performs anomaly identification on each branch. Based on the anomaly identification results, it determines the first branch that can be integrated into the main circuit of the battery pack, thus determining a first set. Based on the anomaly identification results, it determines the second branch that can be disconnected from the main circuit, thus determining a second set. By performing anomaly detection on each branch, it initially filters out the first branch that can be integrated into the main circuit and the second branch that can be disconnected from the main circuit, avoiding the impact of abnormal branches on the main circuit.

[0055] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0056] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch will have an impact on internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the use of different reference branches to determine whether there is any harm in keeping the second branch in the main circuit for second branches in different operating states. If it is determined that there is harm, the second branch is disconnected from the main circuit, which improves the rationality of disconnecting the branch from the main circuit.

[0057] Based on the above embodiments, as an optional embodiment, the operating state includes at least one of the following: charging state, static charging state, discharging state, and static discharging state.

[0058] In this embodiment of the application, when the branch is in a discharge state or a static discharge state, the voltage of all branches of the battery pack is obtained, and the branch with the highest voltage value is selected as the reference branch.

[0059] In this embodiment, when the branch is in a discharge state or a static discharge state, the voltage of all branches of the battery pack is obtained, and the branch with the highest voltage value is selected as the reference branch. This ensures that when calculating whether the first branch can be connected to the main circuit, the branch with more charge can be used first, effectively balancing the output of each branch and avoiding circulating current. At the same time, it also ensures that when calculating whether the second branch can be disconnected from the main circuit, the branch with the highest voltage value is selected as the reference branch, ensuring that the second circuit disconnected from the main circuit is the branch with less charge, effectively balancing the output of each branch and avoiding circulating current.

[0060] In this embodiment of the application, when the branch is in a charging state or a static charging state, the voltage of all branches of the battery pack is obtained, and the branch with the lowest voltage value is selected as the reference branch.

[0061] In this embodiment, when the branch is in a charging state or a static charging state, the voltage of all branches of the battery pack is acquired, and the branch with the lowest voltage value is selected as the reference branch. This ensures that when calculating whether the first branch can be connected to the main circuit, the first branch with the lower charge is preferentially connected, so that the first branch with the lower charge can be charged in time, effectively balancing the power of each branch. This makes the charge of the first branch connected to the main circuit comparable to that of the reference branch, reducing circulating current and enhancing the safety and lifespan of the battery system. At the same time, it also ensures that when calculating whether the second branch can be connected to the main circuit, the branch with the lowest voltage value is selected as the reference branch, ensuring that the second circuit disconnected from the main circuit is a branch that is close to full charge, effectively balancing the power of each branch and reducing circulating current.

[0062] Based on the above embodiments, as an optional embodiment, when the first branch is in the discharge state, the first duration between the current time and the time when the first branch was last disconnected from the main circuit is obtained; if the first duration is greater than the first threshold, the first branch is incorporated into the main circuit.

[0063] In this embodiment, when the first branch is in a discharging state, after determining that the first branch can be connected to the main circuit by comparing voltage differences, it is also necessary to first obtain the time when the first branch was last disconnected from the main circuit. Then, based on the difference between the current time and the time when it was disconnected from the main circuit, a first duration is obtained. If the first duration is greater than a first threshold, it means that it is not very close to the last time it was disconnected from the main circuit, so the first branch can be connected to the main circuit. If the first duration is not greater than the first threshold, it means that it is very close to the last time it was disconnected from the main circuit. Frequent connection and disconnection of the branch to the main circuit will affect the life of the battery pack. Therefore, by setting a first threshold, the first branch that was disconnected from the main circuit in a short period of time is restricted from being connected to the main circuit again.

[0064] In the above scheme, after any branch of the battery pack is disconnected from the main circuit while in a discharging state, it remains disconnected from the main circuit for a preset time period, even if the conditions for reconnection to the main circuit are met. It is prohibited from reconnecting to the main circuit again until the time that the branch is disconnected from the main circuit is longer than the preset time. This avoids the branch that has just been disconnected from the main circuit being reconnected to the main circuit in a short period of time, and solves the problem of abnormal repeated connection and disconnection of branches under specific operating conditions.

[0065] Based on the above embodiments, as an optional embodiment, when the first branch is in a charging state, a method for integrating the first branch is provided, such as... Figure 3 As shown, it specifically includes: S201, Obtain the reason why the first branch was most recently disconnected from the main circuit; S202-1, If ​​the reason is not that the battery cell in the first branch is fully charged, then the first branch is connected to the main circuit. S202-2, if the reason is that the battery cell in the first branch is fully charged, and the current time of the first branch is not in the same charging cycle as the time when the first branch was last disconnected from the main circuit, then the first branch is connected to the main circuit.

[0066] In S201 of this application embodiment, before the first branch is in a charging state and it is determined that the first branch can be connected to the main circuit, it is also necessary to determine the reason why the first branch was most recently disconnected from the main circuit. The reasons for the branch being disconnected from the main circuit usually include: the branch is overloaded, short-circuited, or the voltage is too high or too low, equipment maintenance and inspection, load adjustment, equipment failure, or the battery cells in the branch are fully charged.

[0067] In S202-1 of this application embodiment, if the reason why the first branch was most recently disconnected from the main circuit is not because it was fully charged, that is, when the first branch is in the charging state and is not disconnected from the main circuit because it is fully charged, it means that it will not have an adverse effect on the battery life, and the first branch can be reconnected to the main circuit.

[0068] In S202-2 of this application embodiment, a charging cycle refers to the complete process of a battery cell from full charge to full discharge. If the reason why the first branch was most recently disconnected from the main circuit is that it was fully charged, and it is not appropriate to connect the first branch back into the main circuit within a charging cycle, it will cause the battery cell in the first branch to be overcharged, thereby causing the battery to swell or be damaged. Therefore, the first branch is connected back into the main circuit only when the reason why the first branch was most recently disconnected from the main circuit is that the battery cell was fully charged, and the current time of the first branch is not in the same charging cycle as the time when the first branch was most recently disconnected from the main circuit, thus extending the battery's service life.

[0069] In the above scheme, when a branch circuit is disconnected from the main circuit because the battery cell is fully charged, the branch circuit is allowed to rest within one charging cycle and then reconnected to the main circuit, protecting the battery from overcharging and current overload, thereby improving the battery's lifespan and safety.

[0070] Based on the above embodiments, as an optional embodiment, the method for determining the first set and the second set is as follows: Figure 4 As shown, the specific content is as follows: S301, for each branch in the battery pack, obtains multiple operating parameters of the branch; S302, for each branch in the battery pack, if the relay of the branch is in the open state, the branch is designated as the third branch; if the relay of the branch is in the closed state, the branch is designated as the fourth branch. S303, for each third branch, if it is determined that the value of any one of the multiple operating parameters of the third branch is within the threshold range, then the branch is taken as the first branch in the first set. S304, for each fourth branch, if it is determined that the value of any one of the multiple operating parameters of the fourth branch is not within the threshold range, then the branch is regarded as the second branch in the second set.

[0071] In S301 of this application embodiment, each operating parameter has a corresponding threshold range. When the parameter is within the preset range, it indicates that the branch is in a normal state representing the content of the parameter. When the parameter is not within the preset range, it indicates that the branch is in an abnormal state representing the content of the parameter. Multiple operating parameters of the branch are obtained. The operating parameters can be parameters such as the voltage of the battery cell in the branch, the temperature of the battery cell, the communication status of the battery cell, and the insulation impedance of the battery cell.

[0072] In S302 of this application embodiment, by judging the open / closed state of the relay on the branch, it can be determined whether the branch has been connected to the main circuit or not. When the relay of the branch is in the open state, it is said that the branch is not connected to the main circuit and the branch is designated as the third branch. When the relay of the branch is in the closed state, it is said that the branch has been connected to the main circuit and the branch is designated as the fourth branch.

[0073] In S303 of this application embodiment, for each third branch, that is, for a branch that has not yet been connected to the main circuit, it is necessary to consider whether the third branch can be connected to the main circuit. Therefore, by judging whether multiple operating parameters of the branch are within the threshold range, it is determined whether the third branch is abnormal. When it is determined that the parameter value of any one of the multiple operating parameters of the third branch is within the preset range, that is, the parameter values ​​of all operating parameters are within the preset range, it indicates that the third branch is not abnormal. Therefore, the third branch can be regarded as the first branch in the first set.

[0074] In this embodiment of the application, if it is determined that at least one of the multiple operating parameters of the third branch has a value that is not within the threshold range, it indicates that the third branch is abnormal and cannot be incorporated into the main circuit.

[0075] In S304 of this application embodiment, for each fourth branch, that is, for a branch that is already in the main circuit, it is necessary to consider whether the fourth branch needs to be disconnected from the main circuit. Therefore, by judging whether multiple operating parameters of the branch are not within the threshold range, it is determined whether the fourth branch is abnormal. When it is determined that the parameter value of any operating parameter of the fourth branch is not within the threshold range, it indicates that the third branch is abnormal and the fourth branch needs to be disconnected from the main circuit. Therefore, the fourth branch is regarded as the second branch in the second set.

[0076] In this embodiment of the application, if it is determined that any one of the multiple operating parameters of the fourth branch is within the threshold range, it indicates that there is no abnormality in the fourth branch. Therefore, it is not necessary to disconnect the fourth branch from the main circuit.

[0077] In the above scheme, for branches that have not yet been integrated into the main circuit, the obtained operating parameters are compared with the corresponding threshold range to ensure that branches without abnormalities are selected as the first branch in the first set, and subsequent integration judgments are made. This avoids abnormal branches from affecting the main circuit. For branches that have been integrated into the main circuit, the obtained operating parameters are compared with the corresponding threshold range to ensure that branches with abnormalities are selected as the second branch in the second set. That is, the presence or absence of abnormalities determines whether the branch needs to be disconnected from the main circuit, thus preventing abnormal branches from continuing to have an adverse effect on the main circuit.

[0078] Based on the above embodiments, as an optional embodiment, for any branch, if the current operating state of the branch cannot be obtained, the operating state of the branch at the previous moment is taken as the current operating state of the branch.

[0079] In this embodiment of the application, if the current operating state of the branch and the previous operating state of the branch cannot be obtained, the static discharge state is taken as the current operating state of the branch.

[0080] In this embodiment, if the current running status of a branch cannot be obtained, the running status of the previous time can be used as the running status of the branch. This avoids the inability to obtain the running status of the branch affecting the judgment of whether subsequent branches can be merged or separated, thereby causing the execution process of the solution provided in this application to be interrupted.

[0081] In this embodiment of the application, if the operating state at the current moment and the previous moment cannot be obtained, the static discharge state is directly used as the operating state of the branch, that is, the static discharge state is used as the default state.

[0082] In the above solution, the static discharge state is not used as the default state when the operating status cannot be obtained. This avoids the failure to obtain the operating status of the branch from affecting the judgment of whether the subsequent branch can be connected or disconnected, thus causing the execution process of the solution provided in this application to be interrupted.

[0083] In this embodiment of the application, during the operation status detection of the branch, when the BMS status signal is detected to be in charging mode, it indicates that the operation status is charging. When the BMS status signal is detected to be in discharging mode, it indicates that the operation status is discharging. When the BMS is detected to be in low voltage mode and the wake-up source is A+, CC, CC2 or CC2B, it indicates that the operation status is static charging. When the BMS is detected to be in low voltage mode and the wake-up source is KL15, network wake-up source, RTC wake-up, AFE reverse wake-up or sensor wake-up, the operation status is static discharging.

[0084] In this embodiment, for the first branch in the first set under the discharge state, the first branches are sorted according to their voltage values ​​from high to low. According to the sorting order, the voltage of the first branch is compared with that of the reference branch. Since the branch with the highest voltage value is used as the reference branch under the discharge state, and the condition for allowing the first branch to be connected to the main circuit is that the absolute value of the voltage difference between the first branch and the reference branch is not greater than a first threshold, by comparing the voltage values ​​of the first branch with the reference branch one by one in the order of high to low voltage values, it can be determined that after the first branch that is not allowed to be connected to the main circuit, all first branches after the above-mentioned first branch are not allowed to be connected to the main circuit, that is, it is not necessary to compare each first branch.

[0085] In this embodiment, for the first branch in the charging state in the first set, the first branches are sorted in order of voltage value from low to high. According to the sorting order, the voltage of the first branch is compared with the voltage of the reference branch one by one to determine the voltage difference. Since the branch with the lowest voltage value is used as the reference branch in the charging state, the comparison in order of voltage value from low to high can determine that after the first branch that is not allowed to be connected to the main circuit, the first branches after the first branch are not allowed to be connected to the main circuit. That is, it is not necessary to compare each first branch.

[0086] In this embodiment, for the second branch in the first set, the second branches are sorted in descending order of their charge / discharge rates. The charge / discharge rates of the second branches are compared with those of the reference branches according to the sorting order. Since the condition for allowing disconnection is that the rate difference is greater than a second threshold, for a branch in the charging state, the corresponding reference branch is the circuit with the lowest voltage value. Therefore, when comparing according to the sorting order, the circuit with the highest voltage value is initially compared with the reference branch, resulting in a correspondingly higher charge / discharge rate and a large rate difference, thus allowing disconnection. When the first second branch that is not allowed to disconnect is detected, subsequent second branches are also not allowed to disconnect from the main circuit. For a branch in the discharging state, the corresponding reference branch is the branch with the highest voltage value. When comparing according to the sorting order, the branch with the highest voltage value is initially compared with the reference branch, resulting in a small rate difference, thus allowing disconnection. After the first second branch that is allowed to disconnect is detected, subsequent second branches are allowed to disconnect, meaning it is not necessary to compare each second branch.

[0087] This application provides a battery branch processing device, such as... Figure 5 As shown, the processing device 50 of the battery branch may include: an acquisition module 501, an identification module 502, a determination module 503, a first processing module 504, and a second processing module 505.

[0088] Specifically, the acquisition module 501 is used to acquire the current operating status of each branch in the battery pack; the operating status is used to characterize the flow direction and flow speed of electrical energy in the branch. The identification module 502 is used to identify anomalies in each branch of the battery pack and determine a first set and a second set based on the anomaly identification results; the first set includes a first branch that can be incorporated into the main circuit of the battery pack, and the second set includes a second branch that can be disconnected from the main circuit. The determination module 503 is used to determine the corresponding reference branch from all branches of the battery pack for each branch in the first set and the second set according to the operating status of the branch. The first processing module 504 is used to obtain the voltage difference between the voltage of the first branch and the voltage of the reference branch for each first branch in the first set. If it is determined that the voltage difference is not greater than a first threshold, the first branch is incorporated into the main circuit. The second processing module 505 is used to obtain the rate difference between the charge / discharge rate of the second branch and the charge / discharge rate of the reference branch for each second branch in the second set. If the rate difference is greater than a second threshold, the second branch is disconnected from the main circuit.

[0089] The battery branch processing device provided in this application embodiment acquires the operating status of each branch in the battery pack, then performs anomaly identification on each branch. Based on the anomaly identification results, it determines the first branch that can be integrated into the main circuit of the battery pack, thus determining a first set. Based on the anomaly identification results, it determines the second branch that can be disconnected from the main circuit, thus determining a second set. By performing anomaly detection on each branch, it initially filters out the first branch that can be integrated into the main circuit and the second branch that can be disconnected from the main circuit, avoiding the impact of abnormal branches on the main circuit.

[0090] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0091] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch will have an impact on internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the use of different reference branches to determine whether there is any harm in keeping the second branch in the main circuit for second branches in different operating states. If it is determined that there is harm, the second branch is disconnected from the main circuit, which improves the rationality of disconnecting the branch from the main circuit.

[0092] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0093] Furthermore, in one possible implementation, the operating state includes at least one of the following: charging state, stationary charging state, discharging state, and stationary discharging state; When the branch is in the discharge state or in the static discharge state, the voltage of all branches of the battery pack is obtained, and the branch with the highest voltage value is selected as the reference branch. When the branch is in charging or static charging state, the voltage of all branches of the battery pack is obtained, and the branch with the lowest voltage value is selected as the reference branch.

[0094] In another possible implementation, the first duration between the current time and the time when the first branch last disconnected from the main circuit is obtained; If the first duration is greater than the first threshold, then the first branch will be connected to the main circuit.

[0095] In yet another possible implementation, the reason why the first branch was most recently disconnected from the main circuit is obtained; If the reason is not that the battery cells in the first branch are fully charged, then the first branch will be connected to the main circuit. If the reason is that the battery cells in the first branch are fully charged, and the current time of the first branch is not in the same charging cycle as when the first branch was last disconnected from the main circuit, then the first branch will be connected back to the main circuit.

[0096] In yet another possible implementation, For each branch in the battery pack, multiple operating parameters of the branch are obtained; the parameter value of each operating parameter has a corresponding threshold range; For each branch in the battery pack, if the relay of the branch is in the open state, the branch is designated as the third branch; if the relay of the branch is in the closed state, the branch is designated as the fourth branch. For each third branch, if it is determined that the value of any one of the multiple operating parameters of the third branch is within the threshold range, then the third branch is regarded as the first branch in the first set. For each fourth branch, if it is determined that the value of any one of the multiple operating parameters of the fourth branch is not within the threshold range, then the fourth branch is regarded as the second branch in the second set.

[0097] In yet another possible implementation, If the current operating state of any branch cannot be obtained, then the operating state of the branch at the previous moment shall be taken as the current operating state of the branch. If the current operating state of the branch and the previous operating state of the branch cannot be obtained, the static discharge state is taken as the current operating state of the branch.

[0098] This application provides an electronic device (computer device / equipment / system) including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of a battery branch processing method. Compared with related technologies, this method can achieve the following: by acquiring the operating status of each branch in the battery pack, then performing anomaly identification on each branch, determining the first branch that can be integrated into the main circuit of the battery pack based on the anomaly identification result, thereby determining a first set; and determining the second branch that can be disconnected from the main circuit based on the anomaly identification result, thereby determining a second set. By performing anomaly detection on each branch, the first branch that can be integrated into the main circuit and the second branch that can be disconnected from the main circuit are initially screened, avoiding the impact of abnormal branches on the main circuit.

[0099] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0100] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch will have an impact on internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the use of different reference branches to determine whether there is any harm in keeping the second branch in the main circuit for second branches in different operating states. If it is determined that there is harm, the second branch is disconnected from the main circuit, which improves the rationality of disconnecting the branch from the main circuit.

[0101] In one alternative embodiment, an electronic device is provided, such as Figure 6 As shown, Figure 6The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.

[0102] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0103] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0104] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.

[0105] The memory 4003 stores computer programs that execute embodiments of this application, and its execution is controlled by the processor 4001. The processor 4001 executes the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.

[0106] The electronic device package may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0107] This application provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program can implement the steps and corresponding content of the aforementioned method embodiments. Compared with the prior art, it can achieve the following: by acquiring the operating status of each branch in the battery pack, and then performing anomaly identification on each branch, the first branch that can be integrated into the main circuit of the battery pack is determined based on the anomaly identification result, thereby determining a first set; and the second branch that can be disconnected from the main circuit is determined based on the anomaly identification result, thereby determining a second set. By performing anomaly detection on each branch, the first branch that can be integrated into the main circuit and the second branch that can be disconnected from the main circuit are initially screened, avoiding the impact of abnormal branches on the main circuit.

[0108] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0109] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch will have an impact on internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the use of different reference branches to determine whether there is any harm in keeping the second branch in the main circuit for second branches in different operating states. If it is determined that there is harm, the second branch is disconnected from the main circuit, which improves the rationality of disconnecting the branch from the main circuit.

[0110] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium, a computer-readable medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0111] This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments. Compared with the prior art, it can achieve: By acquiring the operating status of each branch in the battery pack and then identifying anomalies in each branch, the system determines the first branch that can be integrated into the main circuit of the battery pack, thus forming the first set. Similarly, it determines the second branch that can be disconnected from the main circuit, thus forming the second set. This anomaly detection process for each branch initially filters out the first branch that can be integrated into the main circuit and the second branch that can be disconnected, preventing abnormal branches from affecting the main circuit.

[0112] For each branch in the first and second sets, a reference branch is selected from all branches of the battery pack based on the branch's operating status. For each first branch, the voltage of the first branch is compared with the voltage of the reference branch to obtain the voltage difference. If the voltage difference is not greater than a first threshold, it indicates that the difference between the voltage and the reference voltage is not significant. Integrating this branch into the main circuit will not cause arcing or internal circulating current damage to the main circuit, thus avoiding adverse effects on the main circuit. Therefore, integrating the first branch into the main circuit allows for the judgment of whether there is any harm after integrating the first branch into the main circuit for different operating states using different reference branches. If there is no harm, the first branch is integrated into the main circuit, improving the rationality of integrating branches into the main circuit.

[0113] For each second branch, the rate difference between the charging / discharging rate of the second branch and the charging / discharging rate of the corresponding reference branch is obtained. If the rate difference is greater than a second threshold, it indicates that the current second branch may cause internal circulating current. Therefore, the second branch is disconnected from the main circuit. This allows for the determination of whether the second branch remaining in the main circuit poses a hazard for second branches in different operating states using different reference branches. If a hazard is determined, the second branch is disconnected from the main circuit, improving the rationality of disconnecting the branch from the main circuit. The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that shown in the figures or text.

[0114] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0115] The above are only optional implementation methods for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application, without departing from the technical concept of this application, also fall within the protection scope of the embodiments of this application.

Claims

1. A method for processing a battery branch, characterized in that, include: Obtain the current operating status of each branch in the battery pack; The operating status is used to characterize the direction and velocity of electrical energy flow in the branch. Anomaly identification is performed on each branch in the battery pack, and a first set and a second set are determined based on the anomaly identification results; the first set includes a first branch that can be incorporated into the main circuit of the battery pack, and the second set includes a second branch that can be disconnected from the main circuit; For each branch in the first set and the second set, a corresponding reference branch is determined from all branches of the battery pack according to the operating status of the branch. For each first branch in the first set, the voltage difference between the voltage of the first branch and the voltage of the reference branch is obtained. If it is determined that the voltage difference is not greater than a first threshold, the first branch is incorporated into the main circuit. For each second branch in the second set, the rate difference between the charge / discharge rate of the second branch and the charge / discharge rate of the reference branch is obtained. If the rate difference is greater than a second threshold, the second branch is disconnected from the main circuit.

2. The method according to claim 1, characterized in that, The operating state includes at least one of the following: charging state, static charging state, discharging state, and static discharging state; The step of determining the corresponding reference branch from all branches of the battery pack based on the operating status of the branch includes: When the branch is in a discharge state or a static discharge state, the voltage of all branches of the battery pack is obtained, and the branch with the highest voltage value is selected as the reference branch of the branch. When the branch is in charging state or static charging state, the voltage of all branches of the battery pack is obtained, and the branch with the lowest voltage value is selected as the reference branch.

3. The method according to claim 1, characterized in that, When the first branch is in a discharging state, the step of merging the first branch into the main circuit includes: Obtain the first duration between the current time and the time when the first branch was most recently disconnected from the main circuit; If the first duration is greater than the first threshold, then the first branch is incorporated into the main circuit.

4. The method according to claim 1, characterized in that, When the first branch is in a charging state, the step of incorporating the first branch into the main circuit includes: Find the reason why the first branch was most recently disconnected from the main circuit; If the reason is not that the battery cell in the first branch is fully charged, then the first branch is connected to the main circuit. If the reason is that the battery cell in the first branch is fully charged, and the current time of the first branch is not in the same charging cycle as the time when the first branch was last disconnected from the main circuit, then the first branch is incorporated into the main circuit.

5. The method according to claim 1, characterized in that, The step of identifying anomalies in each branch of the battery pack and determining a first set and a second set based on the anomaly identification results includes: For each branch in the battery pack, multiple operating parameters of the branch are obtained; the parameter value of each operating parameter has a corresponding threshold range; For each branch in the battery pack, if the relay of the branch is in the open state, the branch is designated as the third branch; if the relay of the branch is in the closed state, the branch is designated as the fourth branch. For each third branch, if it is determined that the value of any one of the multiple operating parameters of the third branch is within the threshold range, then the third branch is regarded as the first branch in the first set. For each fourth branch, if it is determined that the value of any one of the multiple operating parameters of the fourth branch is not within the threshold range, then the fourth branch is regarded as the second branch in the second set.

6. The method according to claim 1, characterized in that, The method of obtaining the current operating status of each branch in the battery also includes: If the current operating state of any branch cannot be obtained, then the operating state of the branch at the previous moment shall be taken as the current operating state of the branch. If the current operating state of the branch and the previous operating state of the branch cannot be obtained, the static discharge state is taken as the current operating state of the branch.

7. A battery branch processing device, characterized in that, include: The acquisition module is used to acquire the current operating status of each branch in the battery pack; The operating status is used to characterize the flow direction and flow velocity of electrical energy in the branch circuit; An identification module is used to identify anomalies in each branch of the battery pack and determine a first set and a second set based on the anomaly identification results; the first set includes a first branch that can be incorporated into the main circuit of the battery pack, and the second set includes a second branch that can be disconnected from the main circuit; The determination module is used to determine the corresponding reference branch from all branches of the battery pack for each branch in the first set and the second set according to the operating status of the branch. The first processing module is configured to, for each first branch in the first set, obtain the voltage difference between the voltage of the first branch and the voltage of the reference branch, and if it is determined that the voltage difference is not greater than a first threshold, then incorporate the first branch into the main circuit. The second processing module is used to obtain the rate difference between the charge / discharge rate of the second branch and the charge / discharge rate of the reference branch for each second branch in the second set, and if the rate difference is greater than a second threshold, disconnect the second branch from the main circuit.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the method according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-6.