Battery equalization method, electronic equipment and storage medium
By extracting the battery pack's operating data to calculate the cell's SOC and SOH data, the battery cell's balanced charge is dynamically adjusted, solving the energy loss and accelerated charge degradation problems caused by battery balancing in existing technologies, and achieving more efficient battery balancing and extended lifespan.
Patent Information
- Application Number
- CN202511146812.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2025-11-21
AI Technical Summary
Current technologies rely solely on adjusting the SOC percentage or voltage difference for dynamic balancing, which may lead to loss of usable energy in the cells or even incorrect balancing, resulting in accelerated battery degradation.
By extracting the battery pack's operating data, calculating the State of Charge (SOC) feature set and State of Health (SOH) data for each cell, determining the balanced charge, and discharging based on the balanced charge, the target SOC value of the cells is dynamically adjusted to eliminate capacity differences and avoid overcharging or over-discharging.
It improves battery balancing efficiency, extends battery life, reduces power waste, and enhances the overall performance and safety of the battery system.
Smart Images

Figure CN120999825A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery management, and in particular to a battery equalization method, an electronic device, and a storage medium. BACKGROUND
[0002] In order to improve the overall performance and life of the battery pack, it is necessary to dynamically equalize each single battery cell in the battery pack, so that the voltage, capacity or state of charge (SOC) of each single battery cell tends to be consistent. The battery equalization strategy in the related art mainly depends on the static matching of voltage or state of charge. However, the capacity consistency difference between battery cells or the state of health (SOH) difference of different battery cells may also cause the imbalance of the battery capacity between battery cells. Therefore, if only the SOC percentage or the pressure difference relationship is adjusted for dynamic equalization, the available energy of the battery cell may still be lost, and even the battery capacity may be accelerated to decline due to the error equalization. SUMMARY
[0003] In view of the above, it is necessary to provide a battery equalization method, an electronic device, and a storage medium to solve the problem that the available energy of the battery cell may still be lost due to the error equalization caused by only adjusting the SOC percentage or the pressure difference relationship for dynamic equalization, and the battery capacity may be accelerated to decline.
[0004] In a first aspect, an embodiment of the present application provides a battery equalization method applied to an electronic device, and the method comprises the following steps: extracting a state of charge (SOC) feature set from running data of a battery pack, wherein the SOC feature set comprises SOC feature data corresponding to each battery cell in the battery pack and a preset feature point; calculating health state (SOH) data of each battery cell based on the SOC feature set; calculating equalization capacity of any battery cell based on SOC values and SOH data of all battery cells; discharging the any battery cell based on the equalization capacity.
[0005] In a possible implementation manner, the preset feature point comprises at least two of a relaxation point, a static point, a characteristic voltage point, a full discharge point, and a full charge point.
[0006] In a possible implementation manner, the step of extracting the SOC feature set from the running data of the battery pack comprises the following steps: extracting the SOC feature set from running data of the battery pack in a preset period, wherein the SOC feature data corresponding to the preset feature point comprises an SOC value, accumulated charging capacity, and accumulated total discharging capacity.
[0007] In a possible implementation, the calculating the state of health SOH data of each battery cell based on the SOC feature set comprises: calculating an actual capacity change amount and an SOC change amount of each battery cell based on the SOC feature data of each battery cell; calculating SOH data of each battery cell based on the actual capacity change amount and the SOC change amount of each battery cell.
[0008] In a possible implementation, the calculating the SOC change amount of each battery cell based on the SOC feature data of each battery cell comprises: calculating an absolute difference value between an SOC value of each battery cell at any preset feature point and an SOC value of another battery cell at the any preset feature point, to obtain a plurality of SOC difference values; determining a maximum SOC difference value in the plurality of SOC difference values as the SOC change amount of each battery cell.
[0009] In a possible implementation, the calculating the actual capacity change amount of each battery cell based on the SOC feature data of each battery cell comprises: calculating a first capacity difference value between a cumulative charging capacity of each battery cell at the any preset feature point and a cumulative charging capacity of a battery cell corresponding to a maximum SOC difference value at the any preset feature point; calculating a second capacity difference value between a cumulative total discharging capacity of each battery cell at the any preset feature point and a cumulative total discharging capacity of the battery cell corresponding to the maximum SOC difference value at the any preset feature point; calculating an absolute difference value between the first capacity difference value and the second capacity difference value, to obtain the actual capacity change amount of each battery cell.
[0010] In a possible implementation, the calculating the SOH data of each battery cell based on the actual capacity change amount and the SOC change amount of each battery cell comprises: calculating SOH data corresponding to the any preset feature point of each battery cell based on the actual capacity change amount and the SOC change amount of each battery cell corresponding to the any preset feature point; calculating an average value of SOH data corresponding to all preset feature points, to obtain the SOH data of each battery cell.
[0011] In a possible implementation, the calculating the equalization capacity of any battery cell based on the SOC value and the SOH data of all battery cells comprises: calculating a product between an SOC value of the any battery cell at any feature point and the SOH data of the any battery cell, to obtain a first capacity; calculate a product between the SOC value of each other battery cell at the any feature point and the SOH data of each other battery cell, to obtain a plurality of second electric quantities; calculate a difference between the first electric quantity and the minimum second electric quantity in the plurality of second electric quantities, to obtain the equalization electric quantity of the any battery cell.
[0012] In a second aspect, an embodiment of the present application provides an electronic device, which comprises a memory and a processor, wherein the memory is configured to store program instructions; and the processor is configured to read and execute the program instructions stored in the memory, so that the electronic device executes the battery equalization method described above when the program instructions are executed by the processor.
[0013] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores program instructions, and when the program instructions are executed on an electronic device, the processor of the electronic device executes the battery equalization method described above.
[0014] The battery equalization method, the electronic device and the storage medium provided by the embodiments of the present application can accurately determine the health state data of the battery cell based on the historical running data of the battery, estimate the actual electric quantity of the battery cell in combination with the state of charge data and the health state data, determine the equalization electric quantity of the any battery cell based on the actual electric quantity of each battery cell, and discharge based on the equalization electric quantity, so as to dynamically equalize the electric quantity of each battery cell in the battery, effectively improve the equalization efficiency of the battery, and further effectively improve the performance of the battery. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only embodiments of the present application, and those skilled in the art can obtain other drawings according to the provided drawings without any creative effort.
[0016] Figure 1 is a flowchart of the battery equalization method provided by an embodiment of the present application.
[0017] Figure 2 is a schematic diagram of the SOC feature set provided by an embodiment of the present application.
[0018] Figure 3 is a relationship curve diagram of SOC and OCV provided by an embodiment of the present application.
[0019] Figure 4 is a voltage differential curve schematic diagram provided by an embodiment of the present application.
[0020] Figure 5 is a flowchart of calculating SOH data provided by an embodiment of the present application.
[0021] Figure 6 is a structural schematic diagram of a battery equalization device provided by an embodiment of the present application.
[0022] Figure 7 is a hardware structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0023] In the embodiments of the present application, the terms "first", "second" are only used for descriptive purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. In fact, the words "exemplary" or "for example" are used in the sense of presenting related concepts in a specific manner.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It is to be understood that the use of "may" herein includes "shall" or "will" and the use of "can" includes "shall" or "will". It is to be understood that the use of "first" and "second" in the present application is only for descriptive purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. In fact, the words "exemplary" or "for example" are used in the sense of presenting related concepts in a specific manner.
[0025] To improve the overall performance and lifespan of a battery pack, dynamic balancing of individual cells is necessary to ensure consistency in voltage, capacity, and state of charge (SOC). While current battery balancing strategies primarily rely on static matching of voltage or SOC, differences in capacity consistency or varying rates of capacity decay between cells can lead to imbalances, especially in aging battery packs or secondary use scenarios where the actual usable capacity of different cells differs significantly. Therefore, simply adjusting the SOC percentage or voltage differential for dynamic balancing can still result in energy loss or even incorrect balancing, leading to a decrease in the system's usable energy. This forces the system to use the lowest-capacity cell as the charging / discharging limit, causing some cells to remain in overcharged or over-discharged states for extended periods. This accelerates overall battery pack degradation and can result in balancing failure in the voltage plateau region (e.g., for lithium iron phosphate batteries), severely impacting battery system lifespan and safety.
[0026] To address the aforementioned issues, this application provides a battery balancing method. The battery balancing method, electronic device, and storage medium provided in this application can accurately determine the health status data of the battery cells based on the battery's historical operating data, estimate the actual charge of the battery cells by combining the state of charge data and the health status data, determine the balanced charge of any battery cell based on the actual charge of each battery cell, and discharge the battery based on the balanced charge, thereby dynamically balancing the charge of each battery cell in the battery, effectively improving the battery balancing efficiency, and thus effectively improving the battery performance.
[0027] See Figure 1 The diagram shown is a flowchart of a battery balancing method provided in an embodiment of this application. The battery balancing method is applied in an electronic device and includes: S101, Extract the State of Charge (SOC) feature set from the battery pack's operating data. The SOC feature set includes SOC feature data for each cell in the battery pack corresponding to a preset feature point.
[0028] In one embodiment of this application, a State of Charge (SOC) feature set is extracted from the battery pack's operating data over a preset period. The SOC feature data for each cell in the SOC feature set includes the SOC value, accumulated charging capacity, and accumulated total discharging capacity. The battery pack comprises multiple cells; the SOC value is the ratio between the cell's current remaining capacity and its rated capacity; the accumulated charging capacity is the total amount of charge accumulated by the cell from initial use to the current moment; and the accumulated total discharging capacity is the total amount of charge accumulated by the cell from initial use to the current moment. For example, the preset period can be 5 days, 7 days, 10 days, or other time periods, and the number of cells in the battery pack can be 5, 7, 9, or other values.
[0029] See Figure 2As shown in the figure, the SOC feature set provided by an embodiment of the present application includes 24 groups of SOC feature data, each group of SOC feature data corresponding to a preset feature point. Figure 2 The SOC feature data of a cell in a battery pack at 24 preset feature points is shown. In fact, each cell has SOC feature data at the 24 preset feature points.
[0030] In an embodiment of the present application, the preset feature points include at least two of the relaxation point, the static point, the characteristic voltage point, the full discharge point, and the full charge point. The SOC of the relaxation point is the SOC of the single cell after a total current of 0.1 A or less under working conditions for a first preset time (for example, 10 minutes). The SOC of the static point is the SOC of the single cell obtained based on the open circuit voltage of the single cell and the SOC-OCV (open circuit voltage) relationship graph at the instant of power-on of an electronic device (for example, a vehicle) using the battery pack. The judgment condition for the instant of power-on is that the cumulative charging and discharging electric quantity, vehicle mileage, etc. between the current power-on time and the last power-off time do not change, and the continuous power-off time is greater than or equal to a second preset time (for example, 30 minutes). See Figure 3 As shown in the figure, the relationship graph of SOC and OCV provided by an embodiment of the present application.
[0031] The SOC of the characteristic voltage point is the SOC of the single cell corresponding to a special voltage point identified based on the voltage differential curve (i.e., the capacity increment curve) under the alternating current charging condition. Wherein, dAh = dQ / dV, dAh is the charge amount change rate corresponding to the unit voltage change, dQ is the differential of the cumulative charging electric quantity with respect to the voltage in the alternating current charging process, and dV is the voltage change in the alternating current charging process. The differential calculation result is shown in Figure 4 As shown in the figure, different curves represent different cumulative travel distances, and a specific curve feature represents an electrochemical reaction occurring at a specific voltage, and the corresponding SOC is relatively fixed and can be used as an anchor point for SOC. For example, the specific curve feature is the peak point (i.e., the highest point) of each curve, the voltage change corresponding to the peak point is determined, and then the SOC corresponding to the peak point voltage change is determined.
[0032] The SOC acquisition process of the full discharge point includes: recording the SOC of the single cell that first reaches the cut-off voltage as 0 at the full discharge time, and the SOC of the other cells as the SOC identified by the battery management system based on the equivalent circuit model at the full discharge time. For example, the equivalent circuit model includes the internal resistance Rint model, the Thevenin model (first-order RC), the double polarization (second-order RC), etc., which are used to describe the nonlinear relationship of voltage-current-time.
[0033] The SOC acquisition process of the full-charge point includes: based on the full-charge time, recording the SOC of the single battery cell that first reaches the cut-off voltage as 100, and recording the SOCs of other battery cells as the SOCs of the battery management system based on the equivalent circuit model at the full-charge time.
[0034] In S102, the SOH data of each battery cell is calculated based on the SOC feature set.
[0035] In an embodiment of the present application, the actual capacity change amount and the SOC change amount of each battery cell are determined based on the SOC feature data of each battery cell, and the SOH data of each battery cell is calculated based on the actual capacity change amount and the SOC change amount of each battery cell.
[0036] Referring to Figure 5 FIG. 1 shows a flowchart of calculating SOH data provided by an embodiment of the present application.
[0037] In S1021, the actual capacity change amount and the SOC change amount of each battery cell are calculated based on the SOC feature data of each battery cell.
[0038] In an embodiment of the present application, the absolute difference between the SOC value of each battery cell at any preset feature point and the SOC value of other battery cells at the any preset feature point is calculated to obtain a plurality of SOC difference values, and the maximum SOC difference value in the plurality of SOC difference values is determined as the SOC change amount ΔSOC of each battery cell. The calculation formula (1) of the SOC change amount is: ΔSOC = max[abs[SOC i –SOC j ]] (j=1, 2,..., m) (1).
[0039] In the above calculation formula (1), i is the serial number of any preset feature point, j is the serial number of another feature point, i can be equal to or different from j, and m is the number of feature points in the SOC feature set, for example, m is 24.
[0040] In an embodiment of the present application, the difference between the cumulative charging capacity of each battery cell at the any preset feature point and the cumulative charging capacity of the battery cell corresponding to the maximum SOC difference value at the any preset feature point is calculated to obtain a first capacity difference value, the difference between the cumulative total discharging capacity of each battery cell at the any preset feature point and the cumulative total discharging capacity of the battery cell corresponding to the maximum SOC difference value at the any preset feature point is calculated to obtain a second capacity difference value, and the absolute difference between the first capacity difference value and the second capacity difference value is calculated to obtain the actual capacity change amount ΔAh of each battery cell. The calculation formula (2) of the actual capacity change amount is: ΔAh=abs[(tot_chrgcap_i-tot_chrgcap_k)-(tot_dischacap_i-tot_dischacap_k)] (2).
[0041] In the above calculation formula (2), k is the feature point number corresponding to the maximum SOC difference, tot_chrgcap_i represents the cumulative charging capacity corresponding to the i-th feature point, tot_chrgcap_k represents the cumulative charging capacity corresponding to the k-th feature point, tot_dischacap_i represents the cumulative discharging capacity corresponding to the i-th feature point, and tot_dischacap_k represents the cumulative discharging capacity corresponding to the k-th feature point.
[0042] S1022, calculate the SOH data for each cell based on the actual change in charge and the change in SOC for each cell.
[0043] In one embodiment of this application, SOH data for each battery cell corresponding to any preset feature point is calculated based on the actual change in charge and the change in SOC corresponding to each battery cell and any preset feature point. Specifically, the actual change in charge corresponding to each battery cell and any preset feature point is divided by the change in SOC corresponding to that preset feature point to obtain the SOH data for each battery cell and that preset feature point. The formula (3) for calculating the SOH data is as follows: SOH i =ΔAh / ΔSOC (3).
[0044] In one embodiment of this application, the average value of the SOH data corresponding to all preset feature points is calculated to obtain the SOH data for each battery cell. Specifically, for Figure 2 The SOC feature set shown contains 24 preset feature points. Thus, 24 SOH data points can be calculated for each individual cell in the battery pack. The average of these 24 SOH data points is then calculated to obtain the final SOH data for each individual cell. The SOH data of a cell represents its usable capacity.
[0045] This application embodiment utilizes the SOC characteristic data of the battery cell under multiple characteristic operating conditions (i.e., preset characteristic points) to directly calculate the real-time capacity by ΔAh (actual power change) / ΔSOC (SOC change), thereby realizing online updates of the available capacity of the battery cell and effectively improving the accuracy and robustness of SOH calculation.
[0046] S103 calculates the balanced charge of any cell based on the SOC and SOH data of all cells.
[0047] In an embodiment of the present application, a product of a current SOC value of any battery cell at any feature point and SOH data of any battery cell is calculated to obtain a first electric quantity. The SOH data of any battery cell is SOH data of the any battery cell in a previous preset period.
[0048] In an embodiment of the present application, a product of a current SOC value of each other battery cell at the any feature point and SOH data of each other battery cell is calculated to obtain a plurality of second electric quantities. The SOH data of each other battery cell is SOH data of each other battery cell in a previous preset period.
[0049] In an embodiment of the present application, a difference between the first electric quantity and a minimum second electric quantity in the plurality of second electric quantities is calculated to obtain an equalization electric quantity of any battery cell. The calculation formula (4) of the equalization electric quantity is: CB_i_a = SOC_i_a × SOH_A - min[ SOC_i_b × SOH_B ] (b = 1, 2,..., q) (4).
[0050] In the above calculation formula (4), CB_i_a represents an electric quantity that needs to be equalized at the i-th feature point of the battery cell a; SOC_i_a represents an SOC value of the battery cell a at the i-th feature point; SOC_i_b represents an SOC value of any battery cell b at the i-th feature point, where b is (1, 2,..., q), indicating that the battery pack includes q battery cells; SOH_A represents SOH data of the battery cell a calculated in a previous period of a current time period; SOH_B represents SOH data of any battery cell b calculated in the previous period of the current time period. a can be equal to or different from b.
[0051] In the embodiments of the present application, the product of the SOC (percentage) and the SOH (capacity attenuation ratio) is taken as the equalization target, the SOC target value of each battery cell is dynamically adjusted, the actual electric quantity of all battery cells is ensured to be consistent, and the energy waste caused by the capacity difference is eliminated. For example, a low-capacity battery cell can be allowed to have a higher SOC (such as 90%), and a high-capacity battery cell can be allowed to have a lower SOC (such as 72%), so as to realize electric quantity matching and avoid overcharging or overdischarging risks.
[0052] S104, discharging any battery cell based on the equalization electric quantity.
[0053] In an embodiment of the present application, the battery pack adopts a passive balancing mode to perform dynamic balancing on the actual electric quantity among the battery cells. The passive balancing mode is to discharge the high-capacity battery cell and dissipate the energy through a resistor. The balancing electric quantity is the electric quantity that needs to be discharged by any battery cell. For example, a resistor and a MOSFET switch are connected in parallel with each battery cell. When the MOSFET switch is turned on, a discharging loop is formed to discharge the battery cell.
[0054] Referring to Figure 6 FIG. 2 shows a structural schematic diagram of a battery balancing device according to an embodiment of the present application. In an embodiment of the present application, the battery balancing device 200 can include a plurality of function modules composed of computer program segments. The computer program segments in the battery balancing device 200 can be stored in the memory of an electronic device and executed by at least one processor to perform the battery balancing function.
[0055] In an embodiment of the present application, the battery balancing device 200 can be divided into a plurality of function modules according to the functions performed thereby. The function modules of the battery balancing device 200 can include an extraction module 201, a calculation module 202, and a balancing module 203. The modules in the embodiment of the present application refer to a series of computer program segments that can be executed by at least one processor and can complete a fixed function, which are stored in the memory.
[0056] The extraction module 201 is configured to extract a state of charge (SOC) feature set from the operation data of the battery pack. The SOC feature set includes the SOC feature data corresponding to each battery cell in the battery pack and a preset feature point.
[0057] The calculation module 202 is configured to calculate the state of health (SOH) data of each battery cell based on the SOC feature set.
[0058] The calculation module 202 is further configured to calculate the balancing electric quantity of any battery cell based on the SOC values and the SOH data of all the battery cells.
[0059] The balancing module 203 is configured to discharge any battery cell based on the balancing electric quantity.
[0060] The electronic device 10 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an Ultra-mobile Personal Computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a wearable device, an in-vehicle device, a vehicle, a smart home device, and / or a smart city device, and the specific type of the electronic device 10 is not specially limited in the embodiments of the present application.
[0061] Referring to Figure 7 FIG. 1 shows a hardware structure schematic diagram of an electronic device provided by an embodiment of the present application. The battery balancing method provided by the embodiments of the present application is applied to the electronic device 10, and the electronic device 10 includes, but is not limited to, a processor 110, a memory 120, and a battery pack 140 connected through a communication bus 130. The battery pack 140 includes a plurality of battery cells 150. Figure 7 The electronic device shown is only an example and does not constitute a corresponding limitation. In other embodiments, the electronic device can include more components than shown.
[0062] The memory 120 can include one or more Random Access Memories (RAMs) and one or more Non-Volatile Memories (NVMs). The Random Access Memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other programs running, and can also be used to store data of users and applications, etc. The Random Access Memory can include Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM), etc.
[0063] The non-volatile memory can also store executable programs and data of users and applications, and the like, which can be loaded in advance into the random access memory for direct reading and writing by the processor 110. The non-volatile memory can include a disk storage device, a flash memory.
[0064] The memory 120 is configured to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 110. The one or more computer programs include a plurality of instructions, which, when executed by the processor 110, implement the battery balancing method performed on the electronic device 10.
[0065] In other embodiments, the electronic device 10 further includes an external memory interface configured to connect an external memory, so as to expand the storage capability of the electronic device 10.
[0066] The processor 110 can include one or more processing units. For example, the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0067] The processor 110 provides computing and control capabilities. For example, the processor 110 is configured to execute the computer programs stored in the memory 120, so as to implement the battery balancing method described above.
[0068] The communication bus 130 is at least configured to provide a communication channel between the memory 120 and the processor 110 in the electronic device 10.
[0069] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 can include more or fewer components than those illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0070] The embodiment of the present application further provides a computer storage medium, which stores computer instructions. When the computer instructions run on the electronic device 10, the electronic device 10 executes the related method steps to implement the battery balancing method in the above embodiment.
[0071] The embodiment of the present application further provides a computer program product. When the computer program product runs on a computer, the computer executes the related steps to implement the battery balancing method in the above embodiment.
[0072] In addition, the embodiment of the present application further provides a device, which can be a chip, a component or a module. The device can include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device runs, the processor can execute the computer execution instructions stored in the memory to enable the chip to execute the battery balancing method in the above method embodiments.
[0073] The electronic device, the computer storage medium, the computer program product or the chip provided by the embodiment of the present application are used to execute the corresponding method provided above, and thus the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be described herein again.
[0074] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity, only the division of the above functional modules is taken as an example for description. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0075] In the several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only schematic. The division of the modules or units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.
[0076] The units described as separate components can or can not be physically separate, and the components displayed as units can be one physical unit or multiple physical units, that is, can be located in one place, or can be distributed to multiple different places. According to actual needs, some or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0077] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0078] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application or the essential part or all or part of the technical solutions that contribute to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and not to limit it. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application can be modified or replaced equivalently without departing from the spirit and scope of the technical solutions of the present application.
Claims
1. A battery equalization method applied to an electronic device, characterized by, The method comprises: extracting a state of charge (SOC) feature set from operation data of a battery pack, the SOC feature set comprising SOC feature data corresponding to each cell in the battery pack and a preset feature point; calculating state of health (SOH) data of each cell based on the SOC feature set; calculating equalization power of any cell based on SOC values and SOH data of all cells; and discharging the any cell based on the equalization power.
2. The battery equalization method of claim 1, wherein, The preset feature point comprises at least two of a relaxation point, a static point, a characteristic voltage point, a full discharge point, and a full charge point.
3. The battery equalization method of claim 1, wherein, The extracting of the SOC feature set from the operation data of the battery pack comprises: extracting the SOC feature set from operation data of the battery pack in a preset period, and the SOC feature data corresponding to the preset feature point comprises an SOC value, accumulated charging power, and accumulated total discharging power.
4. The battery equalization method according to claim 3, wherein The calculating of the SOH data of each cell based on the SOC feature set comprises: calculating an actual power change amount and an SOC change amount of each cell based on SOC feature data of the each cell; calculating SOH data of the each cell based on the actual power change amount and the SOC change amount of the each cell.
5. The battery equalization method according to claim 4, wherein The calculating of the SOC change amount of each cell based on the SOC feature data of the each cell comprises: calculating an absolute difference value between an SOC value of the each cell at any preset feature point and an SOC value of another cell at the any preset feature point, to obtain a plurality of SOC difference values; and determining a maximum SOC difference value in the plurality of SOC difference values as the SOC change amount of the each cell.
6. The battery equalization method of claim 4, wherein, The calculating of the actual power change amount of each cell based on the SOC feature data of the each cell comprises: calculating a first power difference value between accumulated charging power of the each cell at the any preset feature point and accumulated charging power of a cell corresponding to the maximum SOC difference value at the any preset feature point; calculating a second power difference value between accumulated total discharging power of the each cell at the any preset feature point and accumulated total discharging power of the cell corresponding to the maximum SOC difference value at the any preset feature point; and calculating an absolute difference value between the first power difference value and the second power difference value, to obtain the actual power change amount of the each cell.
7. The battery equalization method of claim 4, wherein, The calculating of the SOH data of each cell based on the actual power change amount and the SOC change amount of the each cell comprises: calculating SOH data corresponding to the any preset feature point of the each cell based on the actual power change amount and the SOC change amount of the each cell and the any preset feature point; and calculating an average value of SOH data corresponding to all preset feature points, to obtain the SOH data of the each cell.
8. The battery equalization method of claim 4, wherein, The calculating of equalization power of any cell based on SOC values and SOH data of all cells comprises: calculating a product between an SOC value of the any cell at any feature point and SOH data of the any cell, to obtain first power; and calculating a product between the first power and a preset coefficient, to obtain the equalization power of the any cell. a product between an SOC value of each other battery cell at the any feature point and SOH data of the each other battery cell is calculated, to obtain a plurality of second electric quantities; a difference between the first electric quantity and a minimum second electric quantity in the plurality of second electric quantities is calculated, to obtain an equalization electric quantity of the any battery cell.
9. An electronic device, comprising: The electronic device comprises a memory and a processor: The memory is configured to store program instructions. The processor is configured to read and execute the program instructions stored in the memory, and when the program instructions are executed by the processor, the electronic device executes the battery equalization method in any one of claims 1 to 8.
10. A computer storage medium, characterized in that, The computer storage medium stores program instructions, and when the program instructions are executed on the electronic device, the processor of the electronic device executes the battery equalization method in any one of claims 1 to 8.