Battery pack equalization method and device, computer equipment and storage medium
By dividing the single cells in the battery pack into the first battery pack and the second battery pack, and dynamically replacing the single cells with abnormal performance, the battery pack equalization method in the prior art cannot effectively solve the problems of high maintenance costs and short service life caused by abnormal single battery packs, and achieve efficient equalization of the battery pack and extend service life.
Patent Information
- Application Number
- CN202510291544.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-10
AI Technical Summary
The existing battery pack equalization method cannot effectively solve the problems of high maintenance costs and short battery pack service life caused by abnormal single battery cells.
By dividing the single cells in the battery pack into the first battery pack and the second battery pack, and dynamically replacing the single cells with abnormal performance, the battery pack is balanced and extended service life.
It improves the overall energy utilization rate of the battery pack, extends the service life of the battery pack, reduces maintenance costs, avoids energy waste, and improves the consistency of single cells in the battery pack.
Smart Images

Figure CN120127243A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technologies, and in particular, to a battery pack balancing method, device, computer device, and storage medium. Background Art
[0002] In the field of battery technologies, the consistency of each single cell in a battery pack is crucial for the performance and service life of the battery pack. Due to factors such as manufacturing process differences, different usage conditions, and aging characteristics, over time, the single cells in the battery pack will gradually show differences in state of charge (SOC), state of health (SOH), and other parameters.
[0003] In the prior art, there are various battery pack balancing methods. For example, passive balancing is when the voltage of a certain single cell exceeds a set threshold, the passive balancing circuit will divert the excess current through a shunt resistor and dissipate the extra energy in the form of heat, but this causes waste of energy. Active balancing is to transfer energy from single cells with a higher state of charge to single cells with a lower state of charge, rather than simply dissipating the excess energy. However, active balancing only makes the performance of each single cell battery approach by means of energy transfer, and cannot fundamentally improve the consistency of the single cell batteries in the battery pack and extend the service life of the battery pack. Moreover, whether it is active balancing or passive balancing, once a performance anomaly occurs in the single cell batteries in the battery pack, it cannot be directly solved and can only rely on replacement or repair. This leads to a significant increase in cost during the use of the battery pack (especially in some common civilian scenarios, such as the use of household energy storage cabinets and mobile energy storage cabinets), and insufficient consumer confidence in using it.
[0004] Therefore, there is an urgent need to propose a more optimized battery pack balancing method. Summary of the Invention
[0005] Based on this, in view of the problems of high maintenance cost and short service life of the battery pack caused by only being able to solve the problem by replacement or repair when a single cell battery in the existing battery pack has an anomaly, a battery pack balancing method, device, computer device, and storage medium are proposed.
[0006] The first aspect of the present invention discloses a battery pack balancing method, which is applied to a battery pack, and the battery pack includes a plurality of single cell batteries. The method includes:
[0007] Dividing the single cell batteries in the battery pack into a first battery group or a second battery group, where the number of single cell batteries in the first battery group is greater than the number of single cell batteries in the second battery group;
[0008] When receiving a battery charge and discharge instruction, execute the charge and discharge instruction through the first battery group, and update the usage count of each single cell battery in the first battery group;
[0009] Determine whether a switching instruction is received;
[0010] If so, select a number of single cells from within the first battery pack as the batteries to be replaced, and select a number of single cells from the second battery pack as the replacement batteries;
[0011] Replace the batteries to be replaced with the replacement batteries for electrical connection to obtain a first battery pack with an updated single cell combination;
[0012] When a new battery charge and discharge instruction is received, execute the charge and discharge instruction through the first battery pack with the updated single cell combination.
[0013] Further, the step of selecting a number of single cells from within the first battery pack as the batteries to be replaced includes:
[0014] Continuously monitor and record the current values of the predefined performance of each single cell in the first battery pack;
[0015] Compare the current values of the predefined performance of each single cell with the normal threshold range of the predefined performance respectively to determine whether it is within the normal threshold range;
[0016] If not, use the single cells that are not within the threshold range as the batteries to be replaced, and deactivate the batteries to be replaced that are not within the threshold range.
[0017] Further, after the step of comparing the current values of the predefined performance of each single cell with the normal threshold range of the predefined performance respectively to determine whether it is within the normal threshold range, it further includes:
[0018] If all are within the normal threshold range, randomly select a number of single cells from the first battery pack as the batteries to be replaced;
[0019] And after the step of replacing the batteries to be replaced with the replacement batteries for electrical connection to obtain a first battery pack with an updated single cell combination, it further includes:
[0020] Place the randomly selected batteries to be replaced into the second battery pack for later use to obtain a second battery pack with an updated single cell combination.
[0021] Further, the switching instruction is triggered according to one of the following scenarios, and the scenarios include:
[0022] A switching requirement command sent manually;
[0023] The preset time limit has been reached since the last triggering of the switching instruction;
[0024] It is monitored that there is a single battery with abnormal performance in the first battery pack;
[0025] The average usage count of the single batteries in the first battery pack and the average usage count of the single batteries in the second battery pack exceed a preset count range.
[0026] Further, the step of selecting several single batteries from the second battery pack as replacement batteries includes:
[0027] Obtain the usage count of each single battery in the second battery pack;
[0028] Select several single batteries as replacement batteries starting from the single battery with the smallest usage count in the second battery pack in ascending order of the usage count.
[0029] Further, the step of selecting several single batteries as replacement batteries starting from the single battery with the smallest usage count in the second battery pack in ascending order of the usage count includes:
[0030] Select several single batteries as standby batteries starting from the single battery with the smallest usage count in the second battery pack in ascending order of the usage count;
[0031] Obtain the average voltage of the single batteries in the first battery pack;
[0032] Adjust the voltage of each standby battery to the average voltage respectively, and use the standby battery adjusted to the average voltage as the replacement battery.
[0033] Further, the step of selecting several single batteries from the second battery pack as replacement batteries includes:
[0034] Obtain the average voltage of the single batteries in the first battery pack;
[0035] Judge whether there is a single battery in the second battery pack whose difference from the average voltage is less than a preset threshold;
[0036] If so, use the single battery whose difference from the average voltage is less than the preset threshold as the replacement battery.
[0037] The second aspect of the present invention discloses a battery pack balancing device, which is arranged in a battery pack. The battery pack includes a plurality of single batteries. The device includes:
[0038] A grouping module, configured to divide the single batteries in the battery pack into the first battery pack or the second battery pack. The number of single batteries in the first battery pack is greater than the number of single batteries in the second battery pack;
[0039] The first charge and discharge module is configured to execute the charge and discharge instruction through the first battery pack and update the usage count of each single battery in the first battery pack when receiving a battery charge and discharge instruction;
[0040] The judgment module is configured to judge whether a switching instruction is received;
[0041] The selection module is configured to, if a switching instruction is received, select a plurality of single batteries from the first battery pack as the batteries to be replaced, and select a plurality of single batteries from the second battery pack as the replacement batteries;
[0042] The replacement module is configured to replace the batteries to be replaced with the replacement batteries for electrical connection to obtain a first battery pack with the single battery combination updated;
[0043] The second charge and discharge module is configured to execute the charge and discharge instruction through the first battery pack with the updated single battery combination when receiving a new battery charge and discharge instruction.
[0044] A third aspect of the present invention discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute the steps of the above battery pack balancing method.
[0045] A fourth aspect of the present invention discloses a computer device, which includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to execute the steps of the above battery pack balancing method.
[0046] The battery pack balancing method, device, computer device and storage medium of the present invention improve the overall energy utilization rate of the battery pack by grouping single batteries and dynamically replacing single batteries. The single batteries in the second battery pack are used as backups and are put into use in subsequent switching steps, extending the service life of the battery pack and avoiding energy waste. At the same time, it can effectively improve the consistency of the single batteries in the battery pack. When a single battery in the first battery pack has abnormal performance, by switching and connecting the single batteries in the second battery pack, the first battery pack of the battery pack can be kept in a stable and healthy state without replacing or repairing the entire battery pack, reducing the usage cost and enhancing the consumer's confidence in using it. Description of the Drawings
[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0048] Among them:
[0049] Figure 1 It is a flowchart of a battery pack balancing method in an embodiment;
[0050] Figure 2 It is a structural block diagram of a battery pack balancing device in an embodiment;
[0051] Figure 3 It is a structural block diagram of a computer device in an embodiment. Detailed implementation manners
[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0053] As Figure 1 shown, in an embodiment, a battery pack balancing method is provided. This method is applied to a battery pack, and the battery pack includes multiple single cells. The battery pack balancing method specifically includes the following steps:
[0054] S1: Divide the single cells in the battery pack into the first battery group or the second battery group, and the number of single cells in the first battery group is greater than the number of single cells in the second battery group;
[0055] S2: When receiving a battery charge and discharge instruction, execute the charge and discharge instruction through the first battery group, and update the usage count of each single cell in the first battery group;
[0056] S3: Determine whether a switching instruction is received;
[0057] S4: If so, select several single cells from the first battery group as the replaced batteries, and select several single cells from the second battery group as the replacement batteries;
[0058] S5: Replace the replaced batteries with the replacement batteries for electrical connection to obtain a first battery group with the single cell combination updated;
[0059] S6: When a new battery charge and discharge instruction is received, execute the charge and discharge instruction through the first battery pack updated by the monomer battery combination.
[0060] In this embodiment, in the above step S1, the grouping of the monomer batteries in the battery pack can be carried out according to a preset rule. The preset rule can include, for example, according to the position of the monomer battery, according to the serial number order of the monomer battery, according to the nominal capacity sorting of the monomer battery, etc.; it can also be randomly allocated when initially used. Among them, when the battery pack is in use, the monomer batteries in the first battery pack participate in the charge and discharge, and the monomer batteries in the second battery pack are in a standby state as a backup and do not perform charge and discharge. Therefore, the number of monomer batteries in the first battery pack should be much larger than that in the second battery pack. For example, the ratio of the number of monomer batteries in the first battery pack to the number of monomer batteries in the second battery pack is greater than 95:5.
[0061] In the above step S2, when the battery pack receives a battery charge and discharge instruction, only let the first battery pack execute the charge and discharge instruction. At the same time, when the battery pack is first put into use, an initial usage count is set for each monomer battery in the battery pack. Whenever the monomer battery participates in a charge and discharge, its usage count will increase by 1. Since only the monomer batteries in the first battery pack execute the charge and discharge instruction, only the usage count of the current monomer batteries in the first battery pack needs to be updated. When the monomer battery is switched to the second battery pack, no update is required. And when the monomer battery is switched from the second battery pack to the first battery pack, the cumulative usage count update continues. In some specific embodiments, the counting can be carried out according to the number of times the monomer batteries in the first battery pack are fully charged or charged to a preset state of charge.
[0062] In the above steps S3 - S5, continuously monitor whether a switching instruction is received. The switching instruction can be automatically triggered or manually triggered.
[0063] Once a switching instruction is received, select several monomer batteries from the first battery pack as the batteries to be replaced. Several includes the situation of one or more. In some embodiments, randomly select several monomer batteries as the batteries to be replaced. In other embodiments, select several monomer batteries with higher usage counts from the first battery pack as the batteries to be replaced. In still other embodiments, select several monomer batteries with relatively poor performance from the first battery pack as the batteries to be replaced.
[0064] At the same time, select the same number of monomer batteries from the second battery pack as the replacement batteries. Then, disconnect the batteries to be replaced in the first battery pack from the circuit, and connect the replacement batteries in the second battery pack to the circuit of the first battery pack, so as to obtain a first battery pack with an updated monomer battery combination.
[0065] Exemplarily, the replacement operation of a single cell can be completed through a relay and a controller. The positive and negative electrodes of each single cell are respectively connected to two contacts of a normally open relay. When the relay is not powered on, the contacts are disconnected, and the battery is disconnected from the circuit; when the relay is powered on, the contacts are closed, and the battery is connected to the circuit. The controller is used to control the disconnection or connection of each relay contact, thereby realizing the replacement of the single cell.
[0066] In the above step S6, when a new battery charge and discharge instruction is received, at this time, the first battery pack updated by the combination of single cells executes the charge and discharge instruction. During the new charge and discharge process, the usage count of each single cell in the new first battery pack is also updated.
[0067] After the above step S6, if a switching instruction is received again, the process of executing the above step S4 is entered again.
[0068] The battery pack equalization method of this embodiment improves the overall energy utilization rate of the battery pack by grouping single cells and dynamically replacing single cells. The single cells in the second battery pack are used as spares and will be put into use in subsequent switching steps, extending the service life of the battery pack and avoiding energy waste; at the same time, it can effectively improve the consistency of single cells in the battery pack. When the performance of a single cell in the first battery pack is abnormal, by switching and connecting the single cells in the second battery pack, the first battery pack of the battery pack can be kept in a stable and healthy state, without the need to replace or repair the battery pack as a whole, reducing the usage cost and enhancing the consumer's confidence in using it.
[0069] In some embodiments, the step S4 of selecting several single cells from the first battery pack as the replaced batteries includes:
[0070] S401: Continuously monitor and record the current values of the predefined performance of each single cell in the first battery pack;
[0071] S402: Compare the current values of the predefined performance of each single cell with the normal threshold range of the predefined performance respectively to determine whether it is within the normal threshold range;
[0072] S403: If not, the single cell not within the threshold range is used as the replaced battery, and the replaced battery not within the threshold range is deactivated.
[0073] In this embodiment, in the above step S401, the above predefined performance can be one or more parameters for reflecting the battery state, such as battery voltage, internal resistance, state of charge (SOC), etc. Through the BMS system of the battery pack, the real-time data of the predefined performance of each single cell can be continuously collected and recorded.
[0074] In the above step S402, the above normal threshold range can be a reasonable range determined in advance according to the type of the battery pack, design standards, actual usage requirements, etc. for a certain state of the battery pack (such as fully charged, 50% SOC, etc.). It can also be the dynamic mean value at the current moment of the predefined performance of each single battery in the first battery pack, such as average voltage, average internal resistance, average state of charge, etc.
[0075] In the above step S403, when the current value of the predefined performance of a certain single battery is not within the normal threshold range, it is determined that the performance of this single battery has decayed, and this single battery is identified as the battery to be replaced. For the single battery with decaying performance, it is deactivated and no longer participates in the subsequent charge and discharge or switching process.
[0076] Furthermore, the above deactivated single battery is separately charged or discharged to a pre-set safe storage voltage range. Since the deactivated single battery will not be directly taken out, but is equivalent to being in a storage state in the battery pack all the time, if this single battery is in an overcharged or over-discharged state, it is not conducive to its long-term safe storage.
[0077] In this embodiment, by identifying the single battery with abnormal performance in the first battery pack and introducing the healthy single battery in the second battery pack, the good performance state of the first battery pack can be quickly restored, and the stability, reliability and service life of the entire battery pack can be improved. At the same time, the single battery with abnormal performance is deactivated to avoid potential safety hazards caused by the continuous use of abnormal batteries.
[0078] In some embodiments, after the step S402 of respectively comparing the current value of the predefined performance of each single battery with the normal threshold range of the predefined performance to determine whether it is within the normal threshold range, it further includes:
[0079] S404: If all are within the normal threshold range, several single batteries are randomly selected from the first battery pack as the batteries to be replaced;
[0080] And after the step S5 of replacing the battery to be replaced with the replacement battery for electrical connection to obtain the first battery pack with the single battery combination updated, it further includes:
[0081] S7: The randomly selected batteries to be replaced are placed in the second battery pack for standby to obtain the second battery pack with the single battery combination updated.
[0082] In this embodiment, in step S404 above, after comparing the current values of the predefined performances of all the single cells in the first battery pack with the normal threshold range, if the relevant values of all the single cells are within the normal threshold range, several cells are randomly selected for replacement. Exemplarily, in the first battery pack, each single cell is assigned a unique number. When randomly selecting the cells to be replaced, random numbers are generated within the range of the single cell numbers in the first battery pack, and the single cells corresponding to these random numbers are the selected cells to be replaced. By randomly selecting some cells for replacement, on the one hand, the battery combination in the first battery pack can be updated regularly, so that the actual cycle times of each single cell are less than the cycle times of the entire battery pack, thereby improving the service life of the entire battery pack; on the other hand, the single cells in the second battery pack can be kept in a performance state close to that of the single cells in the first battery pack (such as cycle times, capacity attenuation rate, resistance growth, etc.), so that in the subsequent steps, the replacement cells selected from the second battery pack can be directly replaced into the first battery pack, ensuring the consistency between the single cell groups and the single cells in the updated first battery pack. It can be understood that if a new unused battery is used for replacement, it will lead to a large difference in the single cells in the first battery pack, increasing the inconsistency of the single cells in the first battery pack and causing deterioration of the battery pack performance.
[0083] In step S7 above, for the cells to be replaced randomly selected in step S404, they are still healthy single cells, so they will be placed in the second battery pack for standby. That is, when a switching instruction is received again later, these healthy single cells may still be selected again and enter the first battery pack to participate in charging and discharging. This also enables the second battery pack to always have a certain number of available battery reserves, greatly extending the service life of the battery pack. The present invention creatively uses two-way battery switching to keep the performance of the single cells between the two battery packs in dynamic balance, so that replacement can be carried out as needed and the consistency of the first battery pack can be well maintained, optimizing the battery pack performance and extending the battery pack life.
[0084] In some embodiments, the switching instruction is triggered according to one of the following scenarios, and the scenarios include:
[0085] A switching requirement command sent manually;
[0086] The preset time limit has been reached since the last switching instruction was triggered;
[0087] It is monitored that there are single cells with abnormal performance in the first battery pack;
[0088] The average usage count of the single cells in the first battery pack and the average usage count of the single cells in the second battery pack exceed the predefined count range.
[0089] In this embodiment, the above-mentioned switching requirement command sent manually can be actively applied by the user. For example, a switching button or an instruction input port is set on the operation interface of the battery management system. When the user determines that the battery pack needs to perform single-cell switching, such as based on their own observation of the usage of the battery pack or due to the planned arrangement for the maintenance of the battery pack, a switching requirement command is sent to the battery management system by clicking the button or inputting a specific command. After receiving this command, it is converted into a switching instruction to start the battery switching process.
[0090] The above-mentioned reaching the preset time limit since the trigger of the previous switching instruction can be automatically executed regularly by the battery pack balancing device. For example, a timing module is built into the battery management system. Each time a switching instruction is triggered, the timing module starts timing. The above-mentioned preset time limit can be preset according to factors such as the type of the battery pack, the usage environment, and the expected service life. When the time recorded by the timing module reaches the preset time limit, a switching instruction is automatically generated to trigger the subsequent battery switching process. By switching the batteries regularly, the combination of single cells in the battery pack is updated periodically, effectively balancing the usage frequencies of each single cell. This avoids excessive aging of some single cells due to long-term continuous use and extends the service life of the entire battery pack.
[0091] For the above-mentioned case where a single cell with abnormal performance is monitored in the first battery pack, the abnormal battery can be replaced in time to avoid the overall performance of the battery pack from deteriorating due to the performance deterioration of individual batteries, and even to prevent safety problems. Specifically, as in the aforementioned steps S401 - S403, each single cell in the first battery pack is continuously monitored for predefined performance (such as voltage, internal resistance, state of charge, etc.). When it is determined that one or some single cells have abnormal performance according to the preset performance threshold range, a switching instruction is immediately generated. Subsequently, the single cells with abnormal performance are selected from the first battery pack as the batteries to be replaced, and healthy single cells are selected from the second battery pack as the replacement batteries for subsequent switching operations.
[0092] In the scenario where the average usage count of the single cells in the first battery pack exceeds the pre-set count range compared to that of the single cells in the second battery pack, a switching instruction is triggered, which can ensure that the usage frequencies of the single cells in the first battery pack and the second battery pack are relatively balanced. On the one hand, it can evenly utilize the single cells in the two battery packs, improve the overall energy utilization efficiency of the battery pack, and extend the service life of the entire battery pack system; on the other hand, it can ensure that the battery used for replacement has performance equivalent to that of the battery in the first battery pack currently in use, thus ensuring the consistency among the single cells in the first battery pack. Specifically, usage count records are set for each single cell in the first battery pack and the second battery pack respectively. Each time a single cell participates in a charge-discharge process, its usage count increases by 1. The average usage counts of the single cells in the first battery pack and the second battery pack are calculated at regular time intervals or after each charge-discharge cycle. The above pre-set count range can be manually pre-set according to the expected usage of the battery pack. For example, it is set that the difference in the average usage counts of the single cells in the first battery pack and the second battery pack should be within 20 times. When the calculated difference in the average usage counts of the two battery packs exceeds this pre-set count range, a switching instruction is immediately generated. Then, according to the switching process, some single cells with higher usage counts are selected from the first battery pack as the batteries to be replaced, and single cells with lower usage counts are selected from the second battery pack as the replacement batteries for battery switching operation.
[0093] In some embodiments, step S4 of selecting several single cells from the second battery pack as replacement batteries includes:
[0094] S411: Obtain the usage count of each single cell in the second battery pack;
[0095] S412: Starting from the single cell with the smallest usage count in the second battery pack, select several single cells as replacement batteries in ascending order of usage count.
[0096] In this embodiment, in step S411 above, each time a single cell participates in a charge-discharge process, its usage count is automatically increased by 1. When it is necessary to select replacement batteries from the second battery pack, the battery management system issues a data reading instruction to read the usage count data of the corresponding single cell.
[0097] In step S412 above, after receiving the usage count data of all single cells in the second battery pack, these single cells are arranged in ascending order of usage count through a sorting algorithm. Then, according to the number of replacement batteries to be selected, the corresponding number is sequentially selected starting from the single cell with the smallest usage count after sorting.
[0098] In this embodiment, the single cell with a smaller usage count is preferentially selected as the replacement battery, which can ensure that the batteries supplemented to the first battery pack have relatively fewer usage times, and their performance is more stable and reliable. At the same time, the usage balance of each single cell in the second battery pack is further optimized, avoiding the situation where some single cells are overly idle while some are overly used.
[0099] In some embodiments, the step S412 of selecting several single cells as replacement batteries starting from the single cell with the smallest usage count in the second battery pack in ascending order of usage count includes:
[0100] S4121: Select several single cells as standby batteries starting from the single cell with the smallest usage count in the second battery pack in ascending order of usage count;
[0101] S4122: Obtain the average voltage of the single cells in the first battery pack;
[0102] S4123: Adjust the voltage of each standby battery to the average voltage respectively, and use the standby battery adjusted to the average voltage as the replacement battery.
[0103] In this embodiment, in the above step S4121, after receiving the usage count data of all single cells in the second battery pack, these single cells are arranged in ascending order of usage count through a sorting algorithm. Then, according to the number of replacement batteries to be selected, the corresponding number of single cells are sequentially selected as standby batteries starting from the single cell with the smallest usage count after sorting.
[0104] In the above step S4122, the voltage value of each single cell is measured in real time through the voltage sensors distributed on each single cell in the first battery pack, and then these voltage values are summed up and divided by the total number of single cells in the first battery pack, thereby calculating the average voltage of the single cells in the first battery pack. Preferably, in order to improve the accuracy, when switching the batteries, it is executed when the battery pack is in a static state, and the average voltage in the static state is more accurate.
[0105] When the voltage of the standby battery is close to the average voltage of the first battery pack, after connecting it to the first battery pack, the voltage difference inside the battery pack can be reduced, and the consistency and stability of the battery pack can be improved.
[0106] In the above step S4123, according to the average voltage value of the first battery pack, the voltage of each standby battery is adjusted to be equal to the average voltage of the first battery pack by charging or discharging. Specifically, if the voltage of a standby battery is lower than the average voltage, the voltage regulation circuit will charge it; if it is higher than the average voltage, a discharging operation will be performed. Adjusting the voltage of the standby battery to the average voltage of the first battery pack enables the replacement battery to quickly cooperate with other batteries after being connected to the first battery pack, avoiding the problem of uneven charge and discharge between batteries caused by voltage differences, thereby further extending the service life of the battery pack.
[0107] In some embodiments, step S4 of selecting several single cells from the second battery pack as replacement batteries includes:
[0108] S421: Obtain the average voltage of the single cells in the first battery pack;
[0109] S422: Determine whether there are single cells in the second battery pack whose voltage difference from the average voltage is less than a preset threshold;
[0110] S423: If so, use the single cells with a voltage difference less than the preset threshold as the replacement batteries.
[0111] In this embodiment, in the above step S421, the voltage sensors distributed on each single cell of the first battery pack are used to measure the voltage value of each single cell in real time, then these voltage values are summed up and divided by the total number of single cells in the first battery pack, thereby calculating the average voltage of the single cells in the first battery pack.
[0112] In the above step S422, the voltage of each single cell in the second battery pack is compared with the above average voltage to determine whether it exceeds the preset threshold. The above preset threshold can be artificially preset according to specific scenarios, such as 0.5V, 0.3V, 0.1V, etc. By determining whether the voltage difference between each single cell in the second battery pack and the average voltage of the first battery pack is less than the preset threshold, single cells with a voltage level close to that of the first battery pack can be screened out.
[0113] In the above step S423, when it is determined that there are single cells in the second battery group whose voltage difference with the average voltage of the first battery group is less than a preset threshold, these single cells that meet the conditions are marked as replacement batteries. When performing battery replacement operations later, these marked replacement batteries are preferentially selected to be connected to the first battery group to update the single cell combination of the first battery group, thereby effectively reducing the voltage imbalance inside the first battery group after replacement. If there are no single cells whose difference is less than the preset threshold, the method of the above steps S4121-S4123 can be used to adjust the voltage of the single cell, or a number of single cells with a smaller voltage difference from the average voltage can be selected from the second battery group and used as replacement batteries after voltage adjustment.
[0114] like Figure 2 As shown, in one embodiment, a battery pack balancing device is provided. The device is arranged in a battery pack, the battery pack includes a plurality of single cells, and the device includes:
[0115] A grouping module 10, used to group the single cells in the battery group into a first battery group or a second battery group, wherein the number of single cells in the first battery group is greater than the number of single cells in the second battery group;
[0116] The first charge and discharge module 20 is used to execute the charge and discharge instruction through the first battery pack when receiving the battery charge and discharge instruction, and update the usage count of each single battery in the first battery pack;
[0117] A determination module 30, used to determine whether a switching instruction is received;
[0118] A selection module 40, configured to select a number of single cells from the first battery group as replacement batteries and a number of single cells from the second battery group as replacement batteries if a switching instruction is received;
[0119] A replacement module 50, used to replace the replaced battery with the replacement battery for electrical connection, so as to obtain a first battery pack with an updated single battery combination;
[0120] The second charge and discharge module 60 is used for, when receiving a new battery charge and discharge instruction, executing the charge and discharge instruction through the first battery pack whose single battery combination is updated.
[0121] In some embodiments, the selection module 40 includes:
[0122] A monitoring unit, configured to continuously monitor and record a current value of a predefined performance of each single battery in the first battery pack;
[0123] A performance comparison unit is configured to compare, respectively, the current values of the predefined performance of each single battery with the normal threshold range of the predefined performance to determine whether it is within the normal threshold range;
[0124] A first replacement unit is configured to, if it is within the normal threshold range, use the single battery that is not within the threshold range as the battery to be replaced, and deactivate the battery to be replaced that is not within the threshold range.
[0125] In some embodiments, the selection module 40 further includes:
[0126] A second replacement unit is configured to, if all are within the normal threshold range, randomly select several single batteries from the first battery pack as the batteries to be replaced;
[0127] And the battery pack balancing device further includes:
[0128] A standby module is configured to place the randomly selected batteries to be replaced into the second battery pack for standby use, so as to obtain a second battery pack with an updated combination of single batteries.
[0129] In some embodiments, the switching instruction is triggered according to one of the following scenarios, and the scenarios include:
[0130] A switching requirement command sent manually;
[0131] Reaching a preset time limit since the last triggering of the switching instruction;
[0132] Detecting a single battery with abnormal performance in the first battery pack;
[0133] The average usage count of the single batteries in the first battery pack and the average usage count of the single batteries in the second battery pack exceed a predefined count range.
[0134] In some embodiments, the selection module 40 includes:
[0135] A usage count acquisition unit is configured to acquire the usage count of each single battery in the second battery pack;
[0136] A first selection unit is configured to select several single batteries as replacement batteries starting from the single battery with the smallest usage count in the second battery pack in ascending order of the usage count.
[0137] In some embodiments, the first selection unit includes:
[0138] A first selection subunit is configured to select several single batteries as standby batteries starting from the single battery with the smallest usage count in the second battery pack in ascending order of the usage count;
[0139] An acquisition subunit, configured to acquire the average voltage of the single cells in the first battery pack;
[0140] A voltage regulation subunit, configured to regulate the voltage of each of the standby batteries to the average voltage respectively, and use the standby battery whose voltage is regulated to the average voltage as the replacement battery.
[0141] In some embodiments, the selection module 40 includes:
[0142] An average voltage acquisition unit, configured to acquire the average voltage of the single cells in the first battery pack;
[0143] A judgment unit, configured to judge whether there is a single cell in the second battery pack whose voltage difference from the average voltage is less than a preset threshold;
[0144] A second selection unit, configured to use the single cell whose voltage difference from the average voltage is less than the preset threshold as the replacement battery if there is a single cell in the second battery pack whose voltage difference from the average voltage is less than the preset threshold.
[0145] The battery pack balancing device in this embodiment improves the overall energy utilization rate of the battery pack by grouping the single cells and dynamically replacing the single cells. The single cells in the second battery pack are used as backups and will be put into use in subsequent switching steps, prolonging the service life of the battery pack and avoiding energy waste. At the same time, it can effectively improve the consistency of the single cells in the battery pack. When the single cells in the first battery pack show abnormal performance, by switching and connecting the single cells in the second battery pack, the first battery pack of the battery pack can be kept in a stable and healthy state without the need to replace or repair the battery pack as a whole, reducing the use cost and enhancing the consumer's confidence in using.
[0146] Figure 3 shows the internal structure diagram of a computer device in an embodiment. The computer device can specifically be a terminal or a server. As Figure 3 shown, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and can also store a computer program. When the computer program is executed by the processor, the processor can implement the battery pack balancing method. The internal memory can also store a computer program. When the computer program is executed by the processor, the processor can execute the battery pack balancing method. Those skilled in the art can understand, Figure 3The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0147] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor is caused to perform the following steps:
[0148] Divide the single cells in the battery pack into a first battery group or a second battery group, where the number of single cells in the first battery group is greater than the number of single cells in the second battery group;
[0149] When a battery charge and discharge instruction is received, execute the charge and discharge instruction through the first battery group, and update the usage count of each single cell in the first battery group;
[0150] Determine whether a switching instruction is received;
[0151] If so, select a number of single cells from the first battery group as the replaced batteries, and select a number of single cells from the second battery group as the replacement batteries;
[0152] Replace the replaced batteries with the replacement batteries for electrical connection to obtain a first battery group with an updated single cell combination;
[0153] When a new battery charge and discharge instruction is received, execute the charge and discharge instruction through the first battery group with the updated single cell combination.
[0154] In this embodiment, by grouping single cells and dynamically replacing single cells, the overall energy utilization rate of the battery pack is improved. The single cells in the second battery group are used as backups and will be put into use in subsequent switching steps, extending the service life of the battery pack and avoiding energy waste. At the same time, it can effectively improve the consistency of the single cells in the battery pack. When the single cells in the first battery group have performance anomalies, by switching and connecting the single cells in the second battery group, the first battery group of the battery pack can be kept in a stable and healthy state without the need to replace or repair the entire battery pack, reducing the usage cost and enhancing the consumer's confidence in using it.
[0155] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the processor is caused to perform the following steps:
[0156] Divide the single cells in the battery pack into the first battery group or the second battery group, where the number of single cells in the first battery group is greater than that in the second battery group;
[0157] When receiving a battery charge / discharge instruction, execute the charge / discharge instruction through the first battery group and update the usage count of each single cell in the first battery group;
[0158] Judge whether a switching instruction is received;
[0159] If so, select several single cells from the first battery group as the replaced batteries, and select several single cells from the second battery group as the replacement batteries;
[0160] Replace the replaced batteries with the replacement batteries for electrical connection to obtain a first battery group with an updated single cell combination;
[0161] When receiving a new battery charge / discharge instruction, execute the charge / discharge instruction through the first battery group with the updated single cell combination.
[0162] In this embodiment, by grouping the single cells and dynamically replacing the single cells, the overall energy utilization rate of the battery pack is improved. The single cells in the second battery group are used as backups and will be put into use in subsequent switching steps, extending the service life of the battery pack and avoiding energy waste. At the same time, it can effectively improve the consistency of the single cells in the battery pack. When the single cells in the first battery group show abnormal performance, by switching and connecting the single cells in the second battery group, the first battery group of the battery pack can be kept in a stable and healthy state without the need to replace or repair the entire battery pack, reducing the usage cost and enhancing the consumer's confidence in using it.
[0163] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0164] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0165] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A battery pack balancing method, characterized in that: Applied to a battery pack, the battery pack includes a plurality of single cells, the method includes: Divide the single cells in the battery group into a first battery group or a second battery group, wherein the number of single cells in the first battery group is greater than the number of single cells in the second battery group; When receiving a battery charge and discharge instruction, the charge and discharge instruction is executed by the first battery pack, and the usage count of each single battery in the first battery pack is updated; Determining whether a switching instruction is received; If yes, select a number of cells from the first battery pack as replacement batteries, and select a number of cells from the second battery pack as replacement batteries; Replacing the replaced battery with the replacement battery for electrical connection to obtain a first battery pack in which the monomer battery combination is updated; When receiving a new battery charge and discharge instruction, the first battery pack whose single battery combination is updated executes the charge and discharge instruction.
2. The battery pack balancing method according to claim 1, characterized in that: The step of selecting a plurality of single cells from the first battery pack as batteries to be replaced comprises: Continuously monitoring and recording the current value of the predefined performance of each single battery in the first battery group; Comparing the current value of the predefined performance of each single battery with the normal threshold range of the predefined performance to determine whether it is within the normal threshold range; If not, the single battery that is not within the threshold range is used as the replaced battery, and the replaced battery that is not within the threshold range is disabled.
3. The battery pack balancing method according to claim 2, characterized in that: After the step of comparing the current value of the predefined performance of each single battery with the normal threshold range of the predefined performance to determine whether it is within the normal threshold range, the method further includes: If all of them are within the normal threshold range, randomly selecting a number of single cells from the first battery group as the replaced batteries; After the step of replacing the replaced battery with the replacement battery for electrical connection to obtain a first battery pack with an updated single battery combination, the method further includes: The randomly selected replaced batteries are placed in the second battery pack for standby use, so as to obtain a second battery pack with an updated combination of single cells.
4. The battery pack balancing method according to claim 1, characterized in that: The switching instruction is triggered according to one of the following scenarios, the scenarios including: The switching demand command sent manually; The preset time limit has been reached since the last switching instruction was triggered; Monitoring that there are single cells with abnormal performance in the first battery group; An average usage count of the single cells in the first battery group and an average usage count of the single cells in the second battery group exceed a preset count range.
5. The battery pack balancing method according to claim 1, characterized in that: The step of selecting a plurality of single cells from the second battery pack as replacement batteries comprises: Obtaining a usage count of each single battery in the second battery group; In order of usage count from small to large, a number of single cells are selected as replacement batteries, starting from the single cell with the smallest usage count in the second battery group.
6. The battery pack balancing method according to claim 5, characterized in that: The step of selecting a plurality of single cells as replacement batteries in the order of usage count from the single cell with the smallest usage count in the second battery pack comprises: In the order of usage count from small to large, a number of single cells are selected as standby batteries, starting from the single cell with the smallest usage count in the second battery group; Obtaining an average voltage of the single cells in the first battery group; The voltage of each of the standby batteries is adjusted to the average voltage, and the standby batteries adjusted to the average voltage are used as the replacement batteries.
7. The battery pack balancing method according to claim 1, characterized in that: The step of selecting a plurality of single cells from the second battery pack as replacement batteries comprises: Obtaining an average voltage of the single cells in the first battery group; Determining whether there is a single battery in the second battery group whose voltage difference with the average voltage is less than a preset threshold; If so, the single battery whose difference is less than the preset threshold is used as the replacement battery.
8. A battery pack balancing device, characterized in that: The device is provided in a battery pack, wherein the battery pack includes a plurality of single cells, and the device includes: A grouping module, used to group the single cells in the battery group into a first battery group or a second battery group, wherein the number of single cells in the first battery group is greater than the number of single cells in the second battery group; A first charge and discharge module, configured to, upon receiving a battery charge and discharge instruction, execute the charge and discharge instruction through the first battery pack and update a usage count of each single battery in the first battery pack; A judging module, used to judge whether a switching instruction is received; A selection module, configured to select a number of single cells from the first battery group as replacement batteries and a number of single cells from the second battery group as replacement batteries if a switching instruction is received; A replacement module, used to replace the replaced battery with the replacement battery for electrical connection, so as to obtain a first battery pack with an updated single battery combination; The second charging and discharging module is used for executing the charging and discharging instruction through the first battery pack whose single battery combination is updated when receiving the new battery charging and discharging instruction.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the battery pack balancing method according to any one of claims 1 to 7.
10. A computer device, characterized in that: The device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the battery pack balancing method according to any one of claims 1 to 7.