Method for predicting service life of battery pack and related equipment

By collecting the voltage in the battery pack and calculating the equalization voltage difference, combined with the preset model, the service life of the battery pack is predicted, which solves the problem of the inability to predict the safe service life of the battery pack in the existing technology and improves the safety of battery pack management. and production safety.

CN118584348APending Publication Date: 2024-09-03XIAMEN BEICHENXING ENERGY STORAGE DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410592329.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology cannot directly predict the safe service life of the battery pack based on the balancing effect, resulting in reduced safety of the battery pack and the inability to replace it in time.

Method used

A battery pack service life prediction method is adopted to collect the battery voltage when the preset equalization circuit is not turned on and when it is turned on, and calculate the equalization voltage difference. Combined with the BMS equalization function effect characterization model and the battery pack service life prediction model, the battery pack is predicted of normal service life.

Benefits of technology

It is possible to predict the service life of the battery pack based on the balancing effect, facilitate timely replacement of unsafe battery packs, ensure production safety, and avoid safety accidents or property losses caused by overuse of the battery pack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584348A
    Figure CN118584348A
Patent Text Reader

Abstract

The invention belongs to the technical field of energy storage battery application, is applied to an energy storage battery service life prediction scene, and relates to a battery pack service life prediction method and related equipment, and the method comprises the steps: respectively collecting the cell voltages of all batteries in a target battery pack under the conditions that an equalization circuit is not turned on and turned on; the actual equalization voltage difference before and after the equalization circuit is started is obtained; the equalization effect of the equalization circuit is obtained according to the actual equalization voltage difference; and predicting the normal service life of the target battery pack based on the equalization effect of the equalization circuit. By pre-fitting the model capable of predicting the available service life of the target battery pack through the equalization effect, the available service life of the target battery pack can be predicted only by measuring the equalization effect of the target battery pack subsequently, so that a battery pack manager can replace an unsafe battery pack in time, and the service life of the target battery pack is prolonged. Safe production under the production scene of using the battery pack is ensured, and safety accidents or property loss caused by overuse of the battery pack is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of energy storage battery applications, and is applied to scenarios for predicting the service life of energy storage batteries, and in particular to a method for predicting the service life of a battery pack and related equipment. Background Art

[0002] Energy storage batteries have gained wide attention for their advantages of energy saving, environmental protection and high efficiency. With the promotion and application of new energy electric vehicles, the demand for battery management system (BMS) is increasing. In the daily BMS production test, battery pack assembly production, loading and commissioning, etc., the battery pack will be subject to certain safety performance tests before leaving the factory to ensure that the battery pack can be used normally after leaving the factory.

[0003] At present, with the gradual promotion and application of battery energy storage systems, energy storage systems have gradually developed from early single independent battery stack systems to large-scale distributed box-type cluster systems. A large-scale distributed box-type cluster energy storage system is composed of multiple battery box units, and a battery box is composed of multiple battery stack units. Each battery stack is equipped with an independent battery management system BMS; each BMS monitors and manages the corresponding battery stack and operates independently of each other; with the continuous operation of the battery energy storage system, after a certain number of charge and discharge cycles, the batteries in each battery stack will show different degrees of differentiation. Due to the differences in the self-discharge capacity, operating temperature range, and polarization degree of each single battery, voltage imbalance will gradually appear between the single cells, etc. The existing method mainly uses the equalization voltage and combines the breakdown state of the MOS tube to detect whether the voltage between each battery cell is balanced. However, this method often considers that the battery pack is in an unsafe state after the MOS tube is broken down, and the safe service life of the battery pack cannot be directly predicted based on the equalization effect, resulting in reduced safety in the use of the battery pack and inability to replace the battery pack as soon as possible. Summary of the invention

[0004] The purpose of the embodiments of the present application is to propose a method for predicting the service life of a battery pack and related equipment to solve the problem that the prior art cannot directly predict the safe service life of a battery pack based on the balancing effect, resulting in reduced safety in the use of the battery pack and inability to replace the battery pack as soon as possible.

[0005] In order to solve the above technical problems, the embodiment of the present application provides a method for predicting the service life of a battery pack, which adopts the following technical solution:

[0006] A method for predicting the service life of a battery pack comprises the following steps:

[0007] Step 201, collecting the first cell voltages of all batteries in the target battery pack when the preset equalization circuit is not turned on;

[0008] Step 202, collecting the second cell voltages of all batteries in the target battery pack under the condition that the balancing circuit is turned on;

[0009] Step 203, based on the first battery cell voltage and the second battery cell voltage, calculating and obtaining an actual equalization voltage difference before and after the equalization circuit is turned on;

[0010] Step 204, obtaining the balancing effect of the balancing circuit according to the actual balancing pressure difference and a preset BMS balancing function effect characterization model;

[0011] Step 205: predicting the normal service life of the target battery pack based on the balancing effect of the balancing circuit and a preset battery pack service life prediction model.

[0012] Furthermore, before executing the step of collecting the first cell voltages of all batteries in the target battery pack under the condition that the preset balancing circuit is not turned on, the method further includes:

[0013] According to preset verification scenario conditions, a target number of batteries that need to be balanced are replaced in a preset battery pack, and the replaced battery pack is obtained as the latest target battery pack, wherein the verification scenario conditions include continuously updating the target number, and replacing the sequence position information of the batteries that need to be balanced in the battery pack, the batteries that need to be balanced refer to batteries that are pre-set to have a voltage imbalance with other batteries in the battery pack, and the target number is any positive integer in the interval [1, N], N represents the maximum number of batteries in the battery pack, and N is a positive integer.

[0014] Furthermore, the step of calculating and obtaining the actual equalization voltage difference before and after the equalization circuit is turned on based on the first battery cell voltage and the second battery cell voltage specifically includes:

[0015] Calculating an average value of the first cell voltage to obtain a desired balanced voltage;

[0016] Calculating an average value of the second battery cell voltage to obtain an actual balanced voltage;

[0017] A difference operation is performed on the expected equalizing voltage and the actual equalizing voltage to obtain a first difference operation result as the actual equalizing voltage difference.

[0018] Furthermore, the step of obtaining the balancing effect of the balancing circuit according to the actual balancing pressure difference and the preset BMS balancing function effect characterization model specifically includes:

[0019] Inputting the actual equalization pressure difference into the BMS equalization function effect characterization model, wherein the BMS equalization function effect characterization model presets an expected equalization pressure difference and a difference reference table corresponding to the target battery group;

[0020] calling the expected equalizing pressure difference from the BMS equalizing function effect characterization model, and performing a difference operation on the actual equalizing pressure difference and the expected equalizing pressure difference to obtain a second difference operation result;

[0021] Based on the second difference operation result and the difference reference table, an equalization level corresponding to the equalization circuit is determined as the equalization effect of the equalization circuit, wherein the lower the equalization level is, the smaller the pressure difference between the actual equalization pressure difference equalized by the equalization circuit and the expected equalization pressure difference is, and different equalization levels are preset in the difference reference table according to different second difference operation results.

[0022] Further, after executing the step of obtaining the replaced battery pack as the latest target battery pack, the method further includes:

[0023] After the latest target battery pack is obtained each time, steps 201 to 204 are executed to obtain a plurality of balancing effects corresponding to the balancing circuit;

[0024] Clustering the plurality of balancing effects according to the different target quantities to obtain a first clustering result;

[0025] Based on the first clustering result and the preset screening algorithm, screening is performed to determine the optimal balancing effects corresponding to the replacement of batteries with different target numbers;

[0026] Different target quantities and the corresponding optimal balancing effects when replacing batteries with different target quantities are used as learning parameter values ​​and input into the preset machine learning model to perform the first function fitting to fit the functional relationship between the number of batteries that need to be balanced and the balancing effect.

[0027] Furthermore, the step of screening based on the first clustering result and a preset screening algorithm to determine the best balancing effects corresponding to different target quantities specifically includes:

[0028] Count the balancing levels corresponding to the balancing effects in the same cluster and obtain statistical results;

[0029] Based on the statistical results, a majority screening is performed, and the majority screening result is used as the optimal balance level of the current cluster;

[0030] The target number corresponding to the current cluster is identified, and the best balancing level of the current cluster is used as the best balancing effect corresponding to the target number.

[0031] Further, after executing the step of replacing a target number of batteries that need to be balanced in a preset battery pack according to a preset verification scenario condition and obtaining the replaced battery pack as the latest target battery pack, the method further includes:

[0032] Starting a working circuit of the target battery pack and recording first time information when the work starts;

[0033] When the working circuit is always turned on, second time information corresponding to when the target battery pack reaches an unusable state is obtained through monitoring, wherein the target battery pack reaches an unusable state when the MOS tube is broken down and the balancing circuit is invalid;

[0034] determining a usable life of the target battery pack according to the second time information and the first time information;

[0035] Clustering the usable life according to the different target quantities to obtain a second clustering result;

[0036] Based on the second clustering result and a preset average value algorithm, average value calculation is performed to determine the average service life corresponding to the replacement of different target numbers of batteries;

[0037] Different target quantities and the average service life corresponding to the replacement of different target quantities of batteries are used as learning parameter values ​​and input into the machine learning model to perform a second function fitting to fit the functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack.

[0038] Furthermore, before executing the step of predicting the normal service life of the target battery pack based on the equalization effect of the equalization circuit and a preset battery pack service life prediction model, the method further includes:

[0039] According to the functional relationship between the number of batteries that need to be balanced and the balancing effect, and the functional relationship between the number of batteries that need to be balanced and the service life of the target battery group, function merging is performed to obtain the functional relationship between the balancing effect and the service life of the target battery group;

[0040] Deploying the functional relationship between the balancing effect and the service life of the target battery pack as a prediction function into a preset prediction model to obtain the preset battery pack service life prediction model;

[0041] The step of predicting the normal service life of the target battery pack based on the balancing effect of the balancing circuit and a preset battery pack service life prediction model specifically includes:

[0042] Inputting the balancing effect of the balancing circuit into the battery pack service life prediction model;

[0043] Calling the prediction function in the battery pack service life prediction model to perform result calculation and obtain calculation results;

[0044] The calculation result output by the battery pack service life prediction model is obtained as the normal service life of the target battery pack.

[0045] In order to solve the above technical problems, the embodiment of the present application also provides a battery pack service life prediction device, which adopts the following technical solution:

[0046] A device for predicting the service life of a battery pack, comprising:

[0047] A first acquisition module, used for acquiring the first cell voltages of all batteries in the target battery pack when a preset equalization circuit is not turned on;

[0048] A second acquisition module, used for acquiring the second cell voltages of all batteries in the target battery pack when the balancing circuit is turned on;

[0049] A pressure difference calculation module, used for calculating and obtaining an actual equalization pressure difference before and after the equalization circuit is turned on based on the first battery cell voltage and the second battery cell voltage;

[0050] A balancing effect obtaining module, used to obtain the balancing effect of the balancing circuit according to the actual balancing pressure difference and a preset BMS balancing function effect characterization model;

[0051] The service life prediction module is used to predict the normal service life of the target battery pack based on the equalization effect of the equalization circuit and a preset battery pack service life prediction model.

[0052] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0053] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the above-mentioned method for predicting the service life of a battery pack when executing the computer-readable instructions.

[0054] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0055] A computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the method for predicting the service life of a battery pack as described above.

[0056] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0057] The battery pack service life prediction method described in the present application is to collect the first cell voltage of all batteries in the target battery pack under the condition that the preset equalization circuit is not turned on; collect the second cell voltage of all batteries in the target battery pack under the condition that the equalization circuit is turned on; calculate the actual equalization voltage difference before and after the equalization circuit is turned on based on the first cell voltage and the second cell voltage; obtain the equalization effect of the equalization circuit based on the actual equalization voltage difference and the preset BMS equalization function effect characterization model; predict the normal service life of the target battery pack based on the equalization effect of the equalization circuit and the preset battery pack service life prediction model. By pre-fitting a model that can predict the service life of the target battery pack through the equalization effect, subsequently, it is only necessary to measure the equalization effect of the target battery pack to predict the service life of the target battery pack, which is convenient for battery pack managers to replace unsafe battery packs in time, ensuring safe production in production scenarios where battery packs are used, and avoiding safety accidents or property losses caused by excessive use of battery packs. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0059] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0060] Figure 2 is a flow chart of an embodiment of a method for predicting the service life of a battery pack according to the present application;

[0061] Figure 3 yes Figure 2 A flowchart of a specific embodiment of step 203 is shown;

[0062] Figure 4 yes Figure 2 A flowchart of a specific embodiment of step 204 is shown;

[0063] Figure 5A flowchart of a specific embodiment of the iterative processing method in the method for predicting the service life of a battery pack described in this embodiment is shown;

[0064] Figure 6 yes Figure 5 A flowchart of a specific embodiment of step 503 is shown;

[0065] Figure 7 yes Figure 2 A flowchart of a specific embodiment of step 205 is shown;

[0066] Figure 8 is a structural schematic diagram of an embodiment of a battery pack service life prediction device according to the present application;

[0067] Fig. 9 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0068] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0069] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0070] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0071] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0072] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0073] The terminal devices 101, 102, and 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.

[0074] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0075] It should be noted that the battery pack service life prediction method provided in the embodiment of the present application is generally executed by a terminal device, and accordingly, the battery pack service life prediction device is generally arranged in the terminal device.

[0076] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0077] Continue to refer Figure 2 , shows a flow chart of an embodiment of a method for predicting the service life of a battery pack according to the present application. The method for predicting the service life of a battery pack comprises the following steps:

[0078] Step 201 : Under the condition that a preset equalization circuit is not turned on, first cell voltages of all batteries in a target battery group are collected.

[0079] In this embodiment, before executing the step of collecting the first cell voltage of all batteries in the target battery pack under the condition that the preset balancing circuit is not turned on, the method also includes: according to a preset verification scenario condition, replacing a target number of batteries that need to be balanced in the preset battery pack, and obtaining the replaced battery pack as the latest target battery pack, wherein the verification scenario condition includes continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery pack, the batteries that need to be balanced refer to batteries that are pre-set to be unbalanced in voltage with other batteries in the battery pack, and the target number is any positive integer in the interval [1, N], N represents the maximum number of batteries in the battery pack, and N is a positive integer.

[0080] In this embodiment, the preset verification scenario conditions specifically refer to that when verifying the effect of the battery pack balancing function, in order to verify the predictability of the results, a target number of batteries that need to be balanced are first introduced into the battery pack according to the verification requirements. Assume that the battery pack contains a total of 10 batteries, and the SOC values ​​of the 10 batteries are relatively stable and consistent, that is, the remaining power (SOC, State Of Charge) of the battery is relatively stable, which refers to the ratio of the available power in the battery to the nominal capacity, and is an important monitoring data of the battery management system. When the SOC values ​​of the 10 batteries are relatively stable and consistent, the verification of the effect of the balancing function of the battery pack will fail, and it is necessary to wait until the SOC values ​​of the 10 batteries are unbalanced before verification. Therefore, considering that when verifying the effect of the battery pack balancing function, in order to verify the predictability of the results, 1 to 10 batteries that need to be balanced can be introduced before the verification, and the batteries with relatively stable and consistent SOC values ​​are replaced, so as to ensure the scientific and effective verification results.

[0081] In this embodiment, the target number is continuously updated, and the sequence position information of the battery to be balanced in the battery pack is replaced, and the replaced battery pack is obtained as the latest target battery pack. The specific implementation method is as follows: assuming that 10 batteries are initially set in the battery pack, and the target number is 1, that is, 1 battery can be selected from the 10 batteries, and the battery to be balanced is used to replace the battery, and the replaced battery pack is obtained as the target battery pack. At this time, For example, the target number is 2, that is, 2 batteries can be selected from the 10 batteries at will, and the batteries that need to be balanced are used to replace the above-selected 2 batteries, and the replaced battery group is obtained as the target battery group. At this time, For example, the target number is 3, that is, 3 batteries can be selected from the 10 batteries at will, and the batteries that need to be balanced are used to replace the 3 selected batteries, and the replaced battery group is obtained as the target battery group. At this time, By continuously updating the target quantity and replacing the sequence position information of the battery to be balanced in the battery pack, in the hope of obtaining several target battery packs, it is convenient to use the balanced voltages corresponding to the several target battery packs to obtain the artificial intelligence model, so that the final battery pack service life prediction model has certain data support basis and is more convincing and scientific.

[0082] Step 202: Under the condition that the balancing circuit is turned on, collecting the second cell voltages of all batteries in the target battery group.

[0083] Step 203: Based on the first cell voltage and the second cell voltage, calculate and obtain an actual balancing voltage difference before and after the balancing circuit is turned on.

[0084] Since the first cell voltage is a voltage measured without being in a balancing circuit, the first cell voltages corresponding to the individual batteries in the target battery pack may be inconsistent, that is, there are large differences between the first cell voltages; and the second cell voltage is a voltage measured in a balancing circuit, therefore, the second cell voltages corresponding to the individual batteries in the target battery pack are in a relatively stable state as a whole compared to the first cell voltages corresponding to the individual batteries, that is, the second cell voltages are less different from each other.

[0085] Continue to refer Figure 3 , Figure 3 yes Figure 2 The flowchart of a specific embodiment of step 203 shown includes:

[0086] Step 301, calculating the average value of the first cell voltage to obtain a desired balanced voltage;

[0087] Step 302, calculating an average value of the second cell voltage to obtain an actual balanced voltage;

[0088] Step 303: Perform a difference operation on the expected equalization voltage and the actual equalization voltage to obtain a first difference operation result as the actual equalization voltage difference.

[0089] By adopting average value operation, the average value of the first cell voltages of all the batteries in the target battery pack is calculated to obtain the expected balancing voltage, and the average value of the second cell voltages of all the batteries in the target battery pack is calculated to obtain the actual balancing voltage, and then the difference operation is performed on the expected balancing voltage and the actual balancing voltage to obtain the actual balancing voltage difference, so as to facilitate the subsequent characterization of the balancing effect of the balancing circuit according to the actual balancing voltage difference.

[0090] Step 204: obtaining the balancing effect of the balancing circuit according to the actual balancing pressure difference and the preset BMS balancing function effect characterization model.

[0091] Continue to refer Figure 4 , Figure 4 yes Figure 2 The flowchart of a specific embodiment of step 204 shown includes:

[0092] Step 401, inputting the actual equalization pressure difference into the BMS equalization function effect characterization model, wherein the BMS equalization function effect characterization model is preset with an expected equalization pressure difference and a difference reference table corresponding to the target battery group;

[0093] Step 402, calling the expected equalization pressure difference from the BMS equalization function effect characterization model, and performing a difference operation on the actual equalization pressure difference and the expected equalization pressure difference to obtain a second difference operation result;

[0094] Step 403: Based on the second difference operation result and the difference reference table, determine the equalization level corresponding to the equalization circuit as the equalization effect of the equalization circuit, wherein the lower the equalization level, the smaller the pressure difference between the actual equalization pressure difference equalized by the equalization circuit and the expected equalization pressure difference, and different equalization levels are preset in the difference reference table according to different second difference operation results.

[0095] Specifically, for example, different equalization levels are pre-set in the difference reference table, from the first equalization level to the tenth equalization level, wherein the equalization levels correspond to different second difference operation results from low to high, that is, the value range of the second difference operation result corresponding to the first equalization level is the interval (0, 2], the value range of the second difference operation result corresponding to the second equalization level is the interval (2, 4], and so on. Different equalization levels correspond to different value range intervals, which facilitates the numerical quantification of the equalization effect of the equalization circuit according to the second difference operation result and the equalization level.

[0096] In this embodiment, the expected equalization voltage difference corresponding to the target battery pack is preset in the BMS equalization function effect characterization model. Specifically, it is assumed that the target battery pack contains 10 batteries, of which 8 batteries are batteries that do not need to be voltage-equalized with each other, and the other 2 batteries are replaced batteries, and the first cell voltages of the 2 replaced batteries are known. When the first cell voltage is measured later, the first cell voltages of the 10 batteries are measured. Since 8 of the 10 batteries are batteries that do not need to be voltage-equalized with each other, and the first cell voltages of the 2 replaced batteries are known, the actual equalization voltage is obtained by measuring the first cell voltages of the 10 batteries, and the expected equalization voltage is calculated based on the first cell voltages of the 8 batteries and the first cell voltages of the 2 replaced batteries, to obtain the difference between the expected equalization voltage and the actual equalization voltage, that is, the actual equalization voltage difference. Of course, under ideal conditions, it is hoped that the actual equalization voltage difference is consistent with the expected equalization voltage difference, that is, the difference between the actual equalization voltage difference and the preset expected equalization voltage difference is 0.

[0097] Continue to refer Figure 5 , Figure 5 A flowchart of a specific embodiment of an iterative processing method in the method for predicting the service life of a battery pack described in this embodiment is shown, wherein the iterative processing method includes:

[0098] Step 501, after acquiring the latest target battery pack each time, execute steps 201 to 204 to obtain a plurality of balancing effects corresponding to the balancing circuit;

[0099] Specifically, until a preset iteration termination condition is reached, stop repeating steps 201 to 204, the iteration termination condition includes that the number of times steps 201 to 204 are repeated satisfies a preset number threshold, or that a number of balancing effects corresponding to the balancing circuit meet a set quantity value, or that the termination requirement in the preset verification scenario condition is met. Specifically, the termination requirement in the preset verification scenario condition, for example, according to the replacement method given in the verification scenario condition, an exhaustive method is used to obtain all the latest target battery packs.

[0100] Continuing with the above embodiment, it is obvious that under ideal conditions, when the target number is 1, 10 balancing effects will be generated, when the target number is 2, 45 balancing effects will be generated, and when the target number is 3, 120 balancing effects will be generated. And so on, when the target number is 1 to 10, corresponding numbers of balancing effects will be generated according to different target numbers. Subsequently, the balancing effects are clustered to obtain clustering results corresponding to different target numbers, so as to generate a large amount of data for analyzing the balancing effects.

[0101] Step 502: clustering the plurality of balancing effects according to the different target quantities to obtain a first clustering result;

[0102] Step 503: Screening is performed based on the first clustering result and a preset screening algorithm to determine the best balancing effects corresponding to the replacement of batteries with different target numbers;

[0103] Continue to refer Figure 6 , Figure 6 yes Figure 5 The flowchart of a specific embodiment of step 503 shown includes:

[0104] Step 601, counting the balancing levels corresponding to the balancing effects in the same cluster to obtain statistical results;

[0105] Step 602, based on the statistical results, perform mode screening, and use the mode screening result as the best balance level of the current cluster;

[0106] Step 603: Identify the target number corresponding to the current cluster, and use the best balancing level of the current cluster as the best balancing effect corresponding to the target number.

[0107] In this embodiment, the balancing effects in all clusters are screened by majority screening, so that the most balancing levels corresponding to different target quantities are screened out as the optimal balancing level, thereby ensuring the accuracy and scientificity of the balancing test results.

[0108] In step 504, different target quantities and the best balancing effects corresponding to the replacement of batteries with different target quantities are input as learning parameter values ​​into a preset machine learning model to perform a first function fitting to fit the functional relationship between the number of batteries to be balanced and the balancing effect.

[0109] Specifically, assuming that the number of batteries that need to be balanced, that is, the target number is 1 to N, represented by n, and the balancing effect is represented by the balancing level. Assuming that the balancing level is 1 to M, represented by m, the purpose of step 504 is to perform a first function fitting through the machine learning model to fit the functional relationship between n and m. Of course, under ideal conditions, the smaller the n value, the fewer batteries are replaced, and the smaller the corresponding m value, that is, the lower the corresponding balancing level, that is, the smaller the pressure difference between the actual balanced pressure difference and the expected balanced pressure difference balanced by the balancing circuit. The purpose of machine learning is to fit the functional relationship between n and m and obtain the first function, which is convenient for providing mathematical function guidance when the balancing effect is actually verified in the subsequent process, and is also convenient for secondary use of the first function in the subsequent process.

[0110] In this embodiment, after executing the step of replacing a target number of batteries that need to be balanced in a preset battery pack according to a preset verification scenario condition and obtaining the replaced battery pack as the latest target battery pack, the method further includes: starting the working circuit of the target battery pack and recording the first time information when the work starts; when the working circuit is always in the on state, obtaining the second time information corresponding to when the target battery pack reaches an unusable state by monitoring, wherein the target battery pack reaches an unusable state when the MOS tube is broken down and the balancing circuit is invalid; determining the service life of the target battery pack according to the second time information and the first time information; clustering the service life according to the different target quantities to obtain a second clustering result; performing average value calculation based on the second clustering result and a preset average value algorithm to determine the average service life corresponding to when different target quantities of batteries are replaced; using different target quantities and the average service life corresponding to when different target quantities of batteries are replaced as learning parameter values, inputting them into the machine learning model, performing a second function fitting, and fitting the functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack.

[0111] Specifically, the working circuit refers to a circuit used to convert electrical energy into corresponding mechanical energy or kinetic energy when the target battery pack is discharging. The balancing circuit only refers to a circuit used to balance the voltages between the batteries in the target battery pack when the target battery pack is discharging. When the working circuit is started, the balancing circuit also remains in the started state.

[0112] Specifically, the first cell voltage of all batteries in the target battery pack is completely consistent with the corresponding second cell voltage, which means that the balancing circuit is invalid, the MOS tube in the balancing circuit is broken down, and cannot play a role in voltage balancing. At this time, the target battery pack is in an unsafe state and is likely to burn the connected circuit elements. Therefore, this time point is used as the time information when the target battery pack reaches an unusable state, so as to improve the safety of the target battery pack when used and avoid certain losses.

[0113] By taking different target quantities and the average service life corresponding to the replacement of different target quantities of batteries as learning parameter values ​​and inputting them into the machine learning model, a second function fitting is performed to fit the functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack, so as to facilitate the subsequent construction of the battery pack service life prediction model.

[0114] Specifically, assuming that the number of batteries that need to be balanced, that is, the target number is 1 to N, represented by n, different n values ​​correspond to different average service lives, and the different target numbers and the average service lives corresponding to the replacement of different target numbers of batteries are used as learning parameter values ​​and input into the machine learning model for the purpose of fitting the second function, that is, through the machine learning model, the second function is fitted to fit the functional relationship between n and the average service life. Of course, under ideal conditions, the smaller the n value, the fewer batteries are replaced and the corresponding average service life is greater. At this time, the purpose of machine learning is to fit the functional relationship between n and the average service life to obtain the second function.

[0115] By taking different target quantities and the best balancing effects corresponding to the replacement of batteries with different target quantities as learning parameter values, and inputting them into a preset machine learning model, a first function fitting is performed to fit the functional relationship between the number of batteries that need to be balanced and the balancing effect, and combining the previously fitted functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack, function merging is performed to obtain the functional relationship between the balancing effect and the service life of the target battery pack, so as to facilitate the subsequent combination of the functional relationship between the balancing effect and the service life of the target battery pack. After measuring the balancing effect corresponding to the target battery pack, the service life of the target battery pack can be predicted, so that battery pack users and managers can replace new battery packs in time within the service life period, so as to minimize or avoid unnecessary property losses caused by spontaneous combustion or explosion of the battery pack.

[0116] Step 205: predicting the normal service life of the target battery pack based on the balancing effect of the balancing circuit and a preset battery pack service life prediction model.

[0117] In this embodiment, before executing the step of predicting the normal service life of the target battery group based on the balancing effect of the balancing circuit and the preset battery pack service life prediction model, the method also includes: merging functions according to the functional relationship between the number of batteries that need to be balanced and the balancing effect, and the functional relationship between the number of batteries that need to be balanced and the service life of the target battery group, to obtain the functional relationship between the balancing effect and the service life of the target battery group; deploying the functional relationship between the balancing effect and the service life of the target battery group as a prediction function into the preset prediction model to obtain the preset battery pack service life prediction model.

[0118] Continue to refer Figure 7 , Figure 7 yes Figure 2 The flowchart of a specific embodiment of step 205 shown includes:

[0119] Step 701, inputting the equalization effect of the equalization circuit into the battery pack service life prediction model;

[0120] Step 702, calling the prediction function in the battery pack service life prediction model to perform result calculation and obtain the calculation result;

[0121] Step 703: Obtain the calculation result output by the battery pack service life prediction model as the normal service life of the target battery pack.

[0122] In this embodiment, in combination with preset verification scenario conditions, a target number of batteries that need to be balanced are replaced in a preset battery group, and the replaced battery group is obtained as the target battery group. A large number of target battery groups are generated by continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery group. Afterwards, the first cell voltage of all batteries in the target battery group is measured before the equalization voltage is turned on, and the second cell voltage of all batteries in the target battery group is measured after the equalization voltage is turned on, to obtain a large number of equalization effects corresponding to the target battery groups. In combination with the target number as associated data, a battery group service life prediction model is fitted that can predict the service life of the target battery group through the equalization effect. Subsequently, it is only necessary to measure the equalization effect of the target battery group. According to the equalization effect and the battery group service life prediction model, the service life of the target battery group can be predicted, which is convenient for battery group managers to replace unsafe battery groups in time, ensuring safe production in production scenarios using battery groups, and avoiding safety accidents or property losses caused by excessive use of battery groups.

[0123] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0124] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0125] In an embodiment of the present application, the present application combines preset verification scenario conditions, replaces a target number of batteries that need to be balanced in a preset battery group, obtains the replaced battery group as the target battery group, and generates a large number of target battery groups by continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery group. Afterwards, the first cell voltage of all batteries in the target battery group is measured before the equalization voltage is turned on, and the second cell voltage of all batteries in the target battery group is measured after the equalization voltage is turned on, to obtain a large number of equalization effects corresponding to the target battery groups, and combines the target number as associated data to fit a battery group service life prediction model that can predict the service life of the target battery group through the equalization effect. Subsequently, it is only necessary to measure the equalization effect of the target battery group, and the service life of the target battery group can be predicted according to the equalization effect and the battery group service life prediction model, so that the battery group management personnel can replace unsafe battery groups in time, ensuring safe production in production scenarios where battery groups are used, and avoiding safety accidents or property losses caused by excessive use of battery groups.

[0126] Further references Figure 8 , as a response to the above Figure 2 The present application provides an embodiment of a device for predicting the service life of a battery pack. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0127] like Figure 8 As shown, the battery pack service life prediction device 800 described in this embodiment includes: a first acquisition module 801, a second acquisition module 802, a pressure difference calculation module 803, a balancing effect acquisition module 804 and a service life prediction module 805. Among them:

[0128] The first acquisition module 801 is used to acquire the first cell voltages of all batteries in the target battery pack when the preset equalization circuit is not turned on;

[0129] A second acquisition module 802 is used to acquire the second cell voltages of all batteries in the target battery pack when the balancing circuit is turned on;

[0130] A pressure difference calculation module 803, used for calculating an actual equalization pressure difference before and after the equalization circuit is turned on based on the first battery cell voltage and the second battery cell voltage;

[0131] A balancing effect obtaining module 804 is used to obtain the balancing effect of the balancing circuit according to the actual balancing pressure difference and a preset BMS balancing function effect characterization model;

[0132] The service life prediction module 805 is used to predict the normal service life of the target battery pack based on the equalization effect of the equalization circuit and a preset battery pack service life prediction model.

[0133] The battery pack service life prediction device 800 described in this embodiment further includes an iterative processing module, which includes a battery pack updating unit and an iterative processing unit, wherein:

[0134] A battery pack updating unit, used to replace a target number of batteries that need to be balanced in a preset battery pack according to a preset verification scenario condition, and obtain the replaced battery pack as the latest target battery pack;

[0135] The iterative processing unit is configured to execute steps 201 to 204 each time after acquiring the latest target battery pack, so as to obtain a plurality of equalization effects corresponding to the equalization circuit.

[0136] The battery pack service life prediction device 800 described in this embodiment further includes a first function fitting module, which includes a first clustering unit, a cluster screening unit and a first function fitting unit, wherein:

[0137] A first clustering unit, configured to cluster the plurality of balancing effects according to different target quantities to obtain a first clustering result;

[0138] A cluster screening unit, configured to screen based on the first clustering result and a preset screening algorithm to determine the best balancing effects corresponding to the replacement of batteries with different target numbers;

[0139] The first fitting unit is used to input different target quantities and the best balancing effects corresponding to the replacement of different target quantities of batteries as learning parameter values ​​into a preset machine learning model to perform a first function fitting to fit the functional relationship between the number of batteries to be balanced and the balancing effect.

[0140] The battery pack service life prediction device 800 described in this embodiment further includes a second function fitting module, which includes a first time information recording unit, a second time information recording unit, a service life determination unit, a second clustering unit, an average value calculation unit, and a second fitting unit, wherein:

[0141] A first time information recording unit, used to start the working circuit of the target battery pack and record the first time information when the work starts;

[0142] A second time information recording unit is used to obtain, by monitoring, second time information corresponding to when the target battery pack reaches an unusable state while the working circuit is always on, wherein the target battery pack reaches an unusable state when the MOS tube is broken down and the balancing circuit is invalid;

[0143] a service life determining unit, configured to determine the service life of the target battery pack according to the second time information and the first time information;

[0144] A second clustering unit is used to cluster the serviceable life according to the difference of the target quantity to obtain a second clustering result;

[0145] an average value calculation unit, configured to perform average value calculation based on the second clustering result and a preset average value algorithm, so as to determine average service life corresponding to when different target numbers of batteries are replaced;

[0146] The second fitting unit is used to input different target quantities and the average service life corresponding to the replacement of different target quantities of batteries as learning parameter values ​​into the machine learning model to perform a second function fitting to fit the functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack.

[0147] The present application combines preset verification scenario conditions, replaces a target number of batteries that need to be balanced in a preset battery group, obtains the replaced battery group as the target battery group, and generates a large number of target battery groups by continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery group. Afterwards, the first cell voltage of all batteries in the target battery group is measured before the equalization voltage is turned on, and the second cell voltage of all batteries in the target battery group is measured after the equalization voltage is turned on, to obtain a large number of equalization effects corresponding to the target battery groups, and combines the target number as associated data to fit a battery group service life prediction model that can predict the service life of the target battery group through the equalization effect. Subsequently, it is only necessary to measure the equalization effect of the target battery group, and the service life of the target battery group can be predicted based on the equalization effect and the battery group service life prediction model, so that the battery group management personnel can replace unsafe battery groups in time, ensuring safe production in production scenarios where battery groups are used, and avoiding safety accidents or property losses caused by excessive use of battery groups.

[0148] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0149] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0150] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.

[0151] The computer device 9 includes a memory 9a, a processor 9b, and a network interface 9c that are interconnected through a system bus. It should be noted that the figure only shows a computer device 9 having components 9a-9c, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, etc.

[0152] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0153] The memory 9a includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 9a can be an internal storage unit of the computer device 9, such as a hard disk or memory of the computer device 9. In other embodiments, the memory 9a can also be an external storage device of the computer device 9, such as a plug-in hard disk equipped on the computer device 9, a smart memory card (Smart Med i aCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 9a can also include both the internal storage unit of the computer device 9 and its external storage device. In this embodiment, the memory 9a is generally used to store the operating system and various application software installed on the computer device 9, such as a computer-readable instruction of a battery pack service life prediction method, etc. In addition, the memory 9a can also be used to temporarily store various types of data that have been output or are to be output.

[0154] The processor 9b may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 9b is generally used to control the overall operation of the computer device 9. In this embodiment, the processor 9b is used to run computer-readable instructions or process data stored in the memory 9a, such as computer-readable instructions for running the battery pack service life prediction method.

[0155] The network interface 9c may include a wireless network interface or a wired network interface. The network interface 9c is generally used to establish a communication connection between the computer device 9 and other electronic devices.

[0156] The computer device proposed in this embodiment belongs to the field of energy storage battery application technology and is applied to the energy storage battery service life prediction scenario. In this application, in combination with preset verification scenario conditions, a target number of batteries that need to be balanced are replaced in a preset battery group, and the replaced battery group is obtained as the target battery group, and a large number of target battery groups are generated by continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery group. After that, the first cell voltage of all batteries in the target battery group is measured before the equalization voltage is turned on, and the second cell voltage of all batteries in the target battery group is measured after the equalization voltage is turned on, to obtain a large number of equalization effects corresponding to the target battery groups, and the target number is used as the associated data to fit a battery group service life prediction model that can predict the service life of the target battery group through the equalization effect. Subsequently, only the equalization effect of the target battery group needs to be measured, and the service life of the target battery group can be predicted according to the equalization effect and the battery group service life prediction model, so that the battery group management personnel can replace unsafe battery groups in time, and ensure safe production in the production scenario where the battery group is used, and avoid safety accidents or property losses caused by excessive use of the battery group.

[0157] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by a processor to enable the processor to perform the steps of the battery pack service life prediction method as described above.

[0158] The computer-readable storage medium proposed in this embodiment belongs to the field of energy storage battery application technology and is applied to the energy storage battery service life prediction scenario. In this application, in combination with preset verification scenario conditions, a target number of batteries that need to be balanced are replaced in a preset battery group, and the replaced battery group is obtained as the target battery group, and a large number of target battery groups are generated by continuously updating the target number and replacing the sequence position information of the batteries that need to be balanced in the battery group. After that, the first cell voltage of all batteries in the target battery group is measured before the equalization voltage is turned on, and the second cell voltage of all batteries in the target battery group is measured after the equalization voltage is turned on, to obtain a large number of equalization effects corresponding to the target battery groups, and the target number is used as the associated data to fit a battery group service life prediction model that can predict the service life of the target battery group through the equalization effect. Subsequently, only the equalization effect of the target battery group needs to be measured, and the service life of the target battery group can be predicted according to the equalization effect and the battery group service life prediction model, so that the battery group management personnel can replace the unsafe battery group in time, and ensure the safe production in the production scenario where the battery group is used, and avoid safety accidents or property losses caused by excessive use of the battery group.

[0159] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0160] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for predicting the service life of a battery pack, characterized in that: The steps include: Step 201, collecting the first cell voltages of all batteries in the target battery pack when the preset equalization circuit is not turned on; Step 202, collecting the second cell voltages of all batteries in the target battery pack under the condition that the balancing circuit is turned on; Step 203, based on the first battery cell voltage and the second battery cell voltage, calculating and obtaining an actual equalization voltage difference before and after the equalization circuit is turned on; Step 204, obtaining the balancing effect of the balancing circuit according to the actual balancing pressure difference and a preset BMS balancing function effect characterization model; Step 205: predicting the normal service life of the target battery pack based on the balancing effect of the balancing circuit and a preset battery pack service life prediction model.

2. The method for predicting the service life of a battery pack according to claim 1, characterized in that: Before executing the step of collecting the first cell voltages of all batteries in the target battery pack under the condition that the preset balancing circuit is not turned on, the method further includes: According to preset verification scenario conditions, a target number of batteries that need to be balanced are replaced in a preset battery pack, and the replaced battery pack is obtained as the latest target battery pack, wherein the verification scenario conditions include continuously updating the target number, and replacing the sequence position information of the batteries that need to be balanced in the battery pack, the batteries that need to be balanced refer to batteries that are pre-set to have a voltage imbalance with other batteries in the battery pack, and the target number is any positive integer in the interval [1, N], N represents the maximum number of batteries in the battery pack, and N is a positive integer.

3. The method for predicting the service life of a battery pack according to claim 1, characterized in that: The step of calculating and obtaining the actual equalization voltage difference before and after the equalization circuit is turned on based on the first battery cell voltage and the second battery cell voltage specifically includes: Calculating an average value of the first cell voltage to obtain a desired balanced voltage; Calculating an average value of the second battery cell voltage to obtain an actual balanced voltage; A difference operation is performed on the expected equalizing voltage and the actual equalizing voltage to obtain a first difference operation result as the actual equalizing voltage difference.

4. The method for predicting the service life of a battery pack according to claim 1, characterized in that: The step of obtaining the balancing effect of the balancing circuit according to the actual balancing pressure difference and the preset BMS balancing function effect characterization model specifically includes: Inputting the actual equalization pressure difference into the BMS equalization function effect characterization model, wherein the BMS equalization function effect characterization model presets an expected equalization pressure difference and a difference reference table corresponding to the target battery group; calling the expected equalizing pressure difference from the BMS equalizing function effect characterization model, and performing a difference operation on the actual equalizing pressure difference and the expected equalizing pressure difference to obtain a second difference operation result; Based on the second difference operation result and the difference reference table, an equalization level corresponding to the equalization circuit is determined as the equalization effect of the equalization circuit, wherein the lower the equalization level is, the smaller the pressure difference between the actual equalization pressure difference equalized by the equalization circuit and the expected equalization pressure difference is, and different equalization levels are preset in the difference reference table according to different second difference operation results.

5. The method for predicting the service life of a battery pack according to claim 2, characterized in that: After executing the step of obtaining the replaced battery pack as the latest target battery pack, the method further includes: After the latest target battery pack is obtained each time, steps 201 to 204 are executed to obtain a plurality of balancing effects corresponding to the balancing circuit; Clustering the plurality of balancing effects according to the different target quantities to obtain a first clustering result; Based on the first clustering result and the preset screening algorithm, screening is performed to determine the optimal balancing effects corresponding to the replacement of batteries with different target numbers; Different target quantities and the corresponding optimal balancing effects when replacing batteries with different target quantities are used as learning parameter values ​​and input into the preset machine learning model to perform the first function fitting to fit the functional relationship between the number of batteries that need to be balanced and the balancing effect.

6. The method for predicting the service life of a battery pack according to claim 5, characterized in that: The step of screening based on the first clustering result and the preset screening algorithm to determine the best balancing effects corresponding to different target quantities specifically includes: Count the balancing levels corresponding to the balancing effects in the same cluster and obtain statistical results; Based on the statistical results, a majority screening is performed, and the majority screening result is used as the optimal balance level of the current cluster; The target number corresponding to the current cluster is identified, and the best balancing level of the current cluster is used as the best balancing effect corresponding to the target number.

7. The method for predicting the service life of a battery pack according to claim 5, characterized in that: After executing the step of replacing a target number of batteries that need to be balanced in a preset battery pack according to a preset verification scenario condition and obtaining the replaced battery pack as the latest target battery pack, the method further includes: Starting a working circuit of the target battery pack and recording first time information when the work starts; When the working circuit is always turned on, second time information corresponding to when the target battery pack reaches an unusable state is obtained through monitoring, wherein the target battery pack reaches an unusable state when the MOS tube is broken down and the balancing circuit is invalid; determining a usable life of the target battery pack according to the second time information and the first time information; Clustering the usable life according to the different target quantities to obtain a second clustering result; Based on the second clustering result and a preset average value algorithm, average value calculation is performed to determine the average service life corresponding to the replacement of different target numbers of batteries; Different target quantities and the average service life corresponding to the replacement of different target quantities of batteries are used as learning parameter values ​​and input into the machine learning model to perform a second function fitting to fit the functional relationship between the number of batteries that need to be balanced and the service life of the target battery pack.

8. The method for predicting the service life of a battery pack according to claim 7, characterized in that: Before executing the step of predicting the normal service life of the target battery pack based on the equalization effect of the equalization circuit and a preset battery pack service life prediction model, the method further includes: According to the functional relationship between the number of batteries that need to be balanced and the balancing effect, and the functional relationship between the number of batteries that need to be balanced and the service life of the target battery group, function merging is performed to obtain the functional relationship between the balancing effect and the service life of the target battery group; Deploying the functional relationship between the balancing effect and the service life of the target battery pack as a prediction function into a preset prediction model to obtain the preset battery pack service life prediction model; The step of predicting the normal service life of the target battery pack based on the balancing effect of the balancing circuit and a preset battery pack service life prediction model specifically includes: Inputting the balancing effect of the balancing circuit into the battery pack service life prediction model; Calling the prediction function in the battery pack service life prediction model to perform result calculation and obtain calculation results; The calculation result output by the battery pack service life prediction model is obtained as the normal service life of the target battery pack.

9. A battery pack service life prediction device, characterized in that: include: A first acquisition module, used for acquiring the first cell voltages of all batteries in the target battery pack when a preset equalization circuit is not turned on; A second acquisition module, used for acquiring the second cell voltages of all batteries in the target battery pack when the balancing circuit is turned on; A pressure difference calculation module, used for calculating and obtaining an actual equalization pressure difference before and after the equalization circuit is turned on based on the first battery cell voltage and the second battery cell voltage; A balancing effect obtaining module, used to obtain the balancing effect of the balancing circuit according to the actual balancing pressure difference and a preset BMS balancing function effect characterization model; The service life prediction module is used to predict the normal service life of the target battery pack based on the equalization effect of the equalization circuit and a preset battery pack service life prediction model.

10. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method for predicting the service life of a battery pack according to any one of claims 1 to 8 when executing the computer-readable instructions.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the method for predicting the service life of a battery pack according to any one of claims 1 to 8 are implemented.