Method for estimating percentage of residual capacity of battery
Through the separation of model estimation, noise filtering and dynamic correction processes, the simplified observer is designed, which solves the problems of complex logic and high resource utilization in the battery management system, and realizes efficient and accurate estimation of the percentage of remaining battery capacity.
Patent Information
- Application Number
- CN202411129140.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-26
AI Technical Summary
The existing Kalman filtering algorithm is complex in the battery management system and has a lot of resources, making it difficult to effectively apply in large-scale battery cell management, resulting in calculation accuracy and efficiency problems.
Using a battery residual capacity percentage estimation method, by obtaining battery characteristic data, using open-circuit voltage method estimation, noise filtering and dynamic correction operation modules, the model estimation, noise filtering and dynamic correction processes are separated, the calculation complexity is reduced, and the design is simplified. The observer performs the estimate.
It realizes a percentage estimate of the remaining battery capacity with clear logic and low resource occupancy, improves the computing efficiency and accuracy of the battery management system, and is suitable for large-scale battery cell management.
Smart Images

Figure CN119024177A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a method for estimating the percentage of remaining battery capacity. Background Art
[0002] Currently in the field of battery management system (BMS) algorithms, Kalman filtering is a widely used filtering algorithm in the industry when calculating key battery cell states (SOX) such as the battery state of charge (SOC) and the battery remaining energy state (SOE). Kalman filtering is an algorithm that uses the linear system state equation to optimally estimate the system state through system input and output observation data. Since the observation data includes the influence of noise and interference in the system, the optimal estimate can also be regarded as a filtering process. In the BMS algorithm, the Kalman filtering algorithm can be used to reduce the error caused by noise to a minimum through theoretical calculation, thereby improving the calculation accuracy of SOX such as SOC and SOE. The accuracy of SOX such as SOC and SOE estimated by the current Kalman filter in conjunction with the battery model can be guaranteed to a certain extent.
[0003] SOC can be used to directly reflect the remaining capacity of the battery and accurately estimate the state of charge of the lithium battery, which can avoid over-discharge or over-charging of the battery, help protect the battery from explosion or fire, and improve battery performance. When using Kalman filtering to calculate SOC, it is necessary to go through the prediction step and the update step. In the prediction step, the state prior estimation calculation is required, and then the prior state error covariance calculation is performed. In the update step, the state posterior estimation calculation is required, and then the posterior state estimation covariance calculation is performed. In the process, the Kalman gain needs to be calculated to correct the estimation result in real time. It can be seen that the calculation logic of Kalman filtering for SOC estimation is relatively complex, and various parameter calculations are coupled with each other, resulting in the logic of Kalman filtering estimation is not so clear. In addition, more computing resources are required in actual applications. In the field of power batteries (more than 200 cells), it is already quite difficult. In the field of energy storage, a BMS needs to control 400 to 500 cells. If Kalman filtering is required to estimate the SOC of each cell at the same time, it will become more difficult. This is also one of the reasons why Kalman filtering is rarely used in the energy storage industry. Summary of the invention
[0004] The purpose of the present invention is to provide a method for estimating the percentage of remaining battery capacity in order to overcome the defects of the above-mentioned prior art, such as complex logic and high resource occupation.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] A method for estimating the percentage of remaining capacity of a battery, comprising:
[0007] Obtain battery characteristic data and obtain an estimated value of the battery remaining capacity percentage using the open circuit voltage method;
[0008] Performing noise filtering on the estimated value of the battery remaining capacity percentage to obtain a filtered estimated value of the battery remaining capacity percentage for use in a correction process of the battery remaining capacity percentage;
[0009] Based on the acquired battery characteristic data and the filtered estimated value of the battery remaining capacity percentage, a corrected battery remaining capacity percentage is obtained through the calculation and correction process of the established observer;
[0010] The observer includes an ampere-hour integration operation module and a dynamic correction operation module. The ampere-hour integration operation module estimates the battery remaining capacity percentage by using the ampere-hour integration method, and the dynamic correction operation module corrects the battery remaining capacity percentage change in each operation cycle during the operation of the ampere-hour integration operation module.
[0011] Preferably, the process of estimating the percentage of remaining battery capacity by the ampere-hour integration method comprises:
[0012] The initial battery remaining capacity percentage obtained from the battery management system is used as the initial amount, and the corrected battery remaining capacity percentage change in each operation cycle is integrated to obtain the corrected battery remaining capacity percentage.
[0013] Preferably, the percentage change of the remaining battery capacity in each operation cycle is obtained by dividing the current passing through the battery cell in each operation cycle by the battery cell capacity, and then dividing by 3600 seconds.
[0014] Preferably, the correction process of the dynamic correction operation module includes: setting the SOC correction coefficient according to the acquired battery cell voltage and the battery remaining capacity percentage of the previous operation cycle, multiplying the difference between the filtered battery remaining capacity percentage estimate and the battery remaining capacity percentage of the previous operation cycle by the SOC correction coefficient, and obtaining the battery remaining capacity percentage correction amount.
[0015] Preferably, the setting of the SOC correction coefficient according to the acquired cell voltage and the percentage of the remaining battery capacity in the previous operation cycle specifically includes:
[0016] If the battery cell voltage is greater than or equal to the first calibration value, the SOC correction coefficient is the calibration coefficient of full charge correction; if the battery cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is within the first safety range, the SOC correction coefficient is 0; if the battery cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is not within the first safety range, the SOC correction coefficient is obtained by looking up the parameter table.
[0017] Preferably, the first calibration amount is obtained by calibrating different battery cells.
[0018] Preferably, the first safety range is determined according to the range of the platform area in the relationship curve between the open circuit voltage and the percentage of the remaining capacity of the battery.
[0019] Preferably, the noise filtering specifically includes: removing high-frequency noise through low-pass filtering.
[0020] Preferably, the battery characteristic data includes: current passing through the battery cell, battery cell temperature, battery cell voltage, and initial battery remaining capacity percentage.
[0021] Preferably, the parameter table is obtained by testing and calibrating the battery at different battery cell temperatures.
[0022] Compared with the prior art, the present invention has the following advantages:
[0023] 1. The method of the present invention decouples the three functions of model estimation, noise filtering and dynamic correction, calculates their respective results separately, and then performs joint estimation. This has clear logic and is convenient for testing. It is also convenient for upgrading the respective functional modules and improving the practical application scope of the dynamic correction SOC.
[0024] 2. From the perspectives of resource occupancy, interpretability, and decoupling, the observer designed in the present invention is more suitable for engineering implementation than the existing Kalman filtering method. The simplified design of the observer reduces the computational complexity and has the advantages of simple logic and light design while ensuring accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the overall model based on Simulink in an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram of a first-order RC model in an embodiment of the present invention;
[0027] Figure 3 for Figure 1 The Simulink model diagram inside the Observer module;
[0028] Figure 4 for Figure 3 Simulink model diagram in the Zhonganshi integration module;
[0029] Figure 5 for Figure 3 Simulink model diagram within the dynamic correction module.
[0030] in, Figure 1 In the formula, Current is the current value passing through the battery cell, SOC is the percentage of remaining battery capacity, Temp is the temperature, Voltage is the battery cell voltage, U_OCV_Original is the initial steady-state open circuit voltage, SOC_RC_Filter is the estimated value of the remaining battery capacity percentage after filtering, Factor is the SOC correction factor, and SOC_Observer is the corrected percentage of remaining battery capacity; Figure 3 In, AH is the cell capacitance, and IniSOC is the initial battery remaining capacity percentage; Figure 4 In, Ts is the operation cycle; Figure 5 In the figure, SOCdiff is the difference in the percentage of the remaining battery capacity, and SOC_Corr is the correction value of the percentage of the remaining battery capacity. DETAILED DESCRIPTION
[0031] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0032] The present application estimates the battery remaining capacity percentage (SOC) by replacing the Kalman filter with a designed observer, and divides the entire algorithm for estimating the SOC into three parts. A battery remaining capacity percentage estimation method includes:
[0033] Obtain battery characteristic data and obtain an estimated value of the battery remaining capacity percentage using the open circuit voltage method;
[0034] The estimated value of the battery remaining capacity percentage is subjected to noise filtering to obtain a filtered estimated value of the battery remaining capacity percentage, which is used in the correction process of the battery remaining capacity percentage;
[0035] Based on the acquired battery characteristic data and the filtered estimated value of the battery remaining capacity percentage, the final required corrected battery remaining capacity percentage is obtained through the calculation and correction process of the established observer;
[0036] The observer includes an ampere-hour integration operation module and a dynamic correction operation module. The ampere-hour integration operation module estimates the battery remaining capacity percentage by using the ampere-hour integration method, and the dynamic correction operation module corrects the battery remaining capacity percentage change in each operation cycle during the operation of the ampere-hour integration operation module.
[0037] Battery characteristic data include the current passing through the battery cell, battery cell temperature, battery cell voltage, and initial battery remaining capacity percentage.
[0038] The open circuit voltage method is based on the inherent relationship between the open circuit voltage (OCV) and SOC of the battery for estimation. When the battery is in an open circuit state, that is, when no load current flows, the terminal voltage of the battery is called the open circuit voltage. There is usually a specific nonlinear relationship between OCV and SOC, which can be calibrated through experimental data and the OCV-SOC curve can be drawn.
[0039] Noise filtering specifically includes: removing high-frequency noise through low-pass filtering.
[0040] The process of estimating the percentage of remaining battery capacity using the ampere-hour integration method includes:
[0041] The initial battery remaining capacity percentage obtained from the battery management system is used as the initial amount, and the corrected battery remaining capacity percentage change of each operation cycle is integrated to obtain the corrected battery remaining capacity percentage. The battery remaining capacity percentage change of each operation cycle is obtained by dividing the current passing through the battery cell in each operation cycle by the battery cell capacity, and then dividing by 3600 seconds.
[0042] The correction process of the dynamic correction operation module includes: setting the SOC correction coefficient according to the obtained battery cell voltage and the battery remaining capacity percentage of the previous operation cycle, multiplying the difference between the filtered battery remaining capacity percentage estimate and the battery remaining capacity percentage of the previous operation cycle by the SOC correction coefficient to obtain the battery remaining capacity percentage correction amount, and then correcting the battery remaining capacity percentage change amount of each operation cycle by addition. The SOC correction coefficient can be output as a result.
[0043] The SOC correction factor is set according to the obtained cell voltage and the percentage of the remaining battery capacity in the previous operation cycle. Specifically, it includes:
[0044] If the cell voltage is greater than or equal to the first calibration value, the SOC correction coefficient is the calibration coefficient of full charge correction; if the cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is within the first safety range, the SOC correction coefficient is 0; if the cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is not within the first safety range, the SOC correction coefficient is obtained by looking up the parameter table.
[0045] If the SOC correction factor or the difference in percentage of the battery's remaining capacity multiplied by the SOC correction factor is 0, the correction is stopped. The first calibration amount is obtained by calibrating different cells. The first safety range is determined based on the range of the platform area in the curve of the relationship between the open circuit voltage and the percentage of the battery's remaining capacity. For lithium iron phosphate batteries, 65% to 80% is the platform area of the OCV-SOC curve, which is not suitable for dynamic correction, so the first safety range can be set to 65% to 80%. The parameter table is obtained by testing and calibrating the battery at different cell temperatures.
[0046] The conventional Kalman filter estimation method is to couple model estimation, noise filtering and dynamic correction together for estimation. The logic is not very clear, and it is difficult to verify the risk of the logic itself when the software is implemented. The main purpose of this application method is to reduce the computational complexity of the Kalman filter and reduce the computational resource usage of the dynamic correction SOX. At the same time, the dynamic correction logic is designed to be decoupled from each other, which can better upgrade and iterate the functions of each sub-module, and ultimately improve the actual application scope of the dynamic correction SOX.
[0047] Example
[0048] In this embodiment, the method of the present invention is simulated based on Simulink software, and the overall model diagram is as follows: Figure 1 As shown in the figure, the SOC_Observer output by the Observer module is connected to the input ends of the RC_Model module and the OCV_filter module respectively after passing through the first delay module, in order to realize the normal operation of the entire model.
[0049] In this embodiment, the OCV in the open circuit voltage method is estimated by a first-order RC model. The first-order RC model is as follows: Figure 2 shown.
[0050] In the model calculation OCV, the conventional algorithm for the first-order RC model is:
[0051] OCV=UU drop
[0052] U drop =U0+U k
[0053] U0=I·R0
[0054]
[0055] Among them, U is the current voltage, U drop is the real-time pressure drop, U0 is the pressure drop on R0, U k is the voltage drop on the RC model at time k. R0, R1, and C1 are three parameters in the first-order RC model.s It is the operation cycle, such as 1s.
[0056] The above formula can be discretized and simplified as:
[0057]
[0058] in, are the currents passing through R1 at time k and time k-1 respectively, I k is the current passing through R0 at time k. The Simulink model of the discretized calculation formula is encapsulated in Figure 1 In the RC_Model module.
[0059] This embodiment calculates the real-time steady-state open-circuit voltage through a discretized and simplified calculation formula, which can reduce resource usage and speed up calculation.
[0060] Figure 1 The OCV_filter module is used to convert the initial steady-state open-circuit voltage U_OCV_Original output by the RC_Model module into an SOC estimation value and perform filtering to obtain a filtered battery remaining capacity percentage estimation value SOC_RC_Filter.
[0061] Figure 1 The Observer module is an observer, including an ampere-hour integration module and a dynamic correction module, which are used to realize the processing of SOC ampere-hour integration and the real-time correction of SOC. The Simulink model diagram inside the Observer module is as follows: Figure 3 The observer module is the core module of SOC correction, and the final output result is the required accurate SOC estimation result and SOC correction coefficient.
[0062] The ampere-hour integration logic is to divide the current flowing through the battery cell in each operation cycle by AH (battery cell capacity), and then divide it by the number of seconds per hour (3600) and add the SOC correction amount SOC_Corr calculated by the dynamic correction module to obtain the SOC change in each operation cycle, and then integrate the SOC change in each operation cycle (in this embodiment, the initial battery remaining capacity percentage IniSOC input externally is used as the initial amount), and the final corrected SOC calculation result SOC_Observer is obtained, such as Figure 3 shown. Figure 3 The SOC output by the ampere-hour integration module passes through the second delay module to obtain the SOC of the previous operation cycle, and then is input into the subtraction module of the dynamic correction operation to participate in the SOCdiff operation. The Simulink model inside the ampere-hour integration module is as follows: Figure 4 shown.
[0063] The Simulink model inside the dynamic correction module is as follows Figure 5 As shown. The SOC correction calculation logic is to first calculate the SOC correction factor Factor. During the process, the SOC and the cell voltage of the previous operation cycle must be within a specific range to trigger the correction. When the SOC correction factor or SOC_Corr is 0, the correction is stopped. In this embodiment, the first calibration value is 3.45V, and the first safety range is 65% to 80%:
[0064] If the cell voltage is greater than or equal to 3.45V, the SOC correction coefficient is the calibration coefficient K0 of the full charge correction, which is obtained by the first table lookup module; if the cell voltage is less than 3.45V, and the battery remaining capacity percentage of the previous operation cycle is between 65% and 80%, the SOC correction coefficient is 0; if the cell voltage is less than 3.45V, and the battery remaining capacity percentage of the previous operation cycle is not between 65% and 80%, the SOC correction coefficient is obtained by looking up the parameter table K1, which is obtained by the second table lookup module.
[0065] The data in the table lookup module is obtained by testing and calibration at different battery cell temperatures, and the obtained battery cell temperature needs to be input.
[0066] The filtered battery remaining capacity percentage estimation value SOC_RC_Filter is subtracted from the SOC of the previous operation cycle, and the obtained battery remaining capacity percentage difference value SOCdiff is multiplied by the SOC correction coefficient to obtain the battery remaining capacity percentage correction value SOC_Corr.
[0067] In this embodiment, a Simulink simulation model is established to compare the conventional Kalman filter algorithm and the observer algorithm of the present invention. The following simulations are performed respectively: (1) the initial SOC is set to 80% and the operating condition is set; (2) the capacity of the battery cell used in the model is adjusted to a deviation, and the capacity of the battery cell body is adjusted down by 10% to simulate the situation where aging cannot be identified; (3) the capacity of the battery cell used in the model is adjusted to a deviation, and the capacity of the battery cell body is adjusted up by 10% to simulate the situation where aging is judged to be excessive; (4) the capacity of the battery cell used in the model is adjusted to a deviation, and the capacity of the battery cell body is adjusted down by 20% to simulate the situation where aging cannot be identified.
[0068] The simulation results show that the noise removal effect of the observer algorithm of the present invention and the conventional Kalman filter algorithm are both good; when the capacity error is within 20%, the accuracy of SOC estimation is relatively good. In addition, the resource occupancy of the observer algorithm is lower than that of the conventional Kalman filter algorithm, and the decoupling of each sub-function is stronger, so it has the advantages of simple logic and light design while ensuring accuracy.
[0069] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0070] In a typical configuration of the present application, the terminal and the network device each include one or more processors (CPU), input / output interface, network interface and memory.
[0071] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0072] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0073] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.
[0074] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0075] The preferred specific embodiments of the present application are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present application without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art based on the concept of the present application through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for estimating the percentage of remaining battery capacity, characterized in that: include: Obtain battery characteristic data and obtain an estimated value of the battery remaining capacity percentage using the open circuit voltage method; Performing noise filtering on the estimated value of the battery remaining capacity percentage to obtain a filtered estimated value of the battery remaining capacity percentage for use in a correction process of the battery remaining capacity percentage; Based on the acquired battery characteristic data and the filtered estimated value of the battery remaining capacity percentage, a corrected battery remaining capacity percentage is obtained through the calculation and correction process of the established observer; The observer includes an ampere-hour integration operation module and a dynamic correction operation module. The ampere-hour integration operation module estimates the battery remaining capacity percentage by using the ampere-hour integration method, and the dynamic correction operation module corrects the battery remaining capacity percentage change in each operation cycle during the operation of the ampere-hour integration operation module.
2. A method for estimating the percentage of remaining battery capacity according to claim 1, characterized in that: The process of estimating the remaining battery capacity percentage by the ampere-hour integration method includes: The initial battery remaining capacity percentage obtained from the battery management system is used as the initial amount, and the corrected battery remaining capacity percentage change in each operation cycle is integrated to obtain the corrected battery remaining capacity percentage.
3. A method for estimating the percentage of remaining battery capacity according to claim 2, characterized in that: The percentage change of the remaining battery capacity in each operation cycle is obtained by dividing the current passing through the battery cell in each operation cycle by the battery cell capacity, and then dividing by 3600 seconds.
4. A method for estimating the remaining battery capacity percentage according to claim 1, characterized in that: The correction process of the dynamic correction calculation module includes: setting the SOC correction coefficient according to the acquired battery cell voltage and the battery remaining capacity percentage of the previous calculation cycle, multiplying the difference between the filtered battery remaining capacity percentage estimate and the battery remaining capacity percentage of the previous calculation cycle by the SOC correction coefficient, and obtaining the battery remaining capacity percentage correction amount.
5. A method for estimating the percentage of remaining battery capacity according to claim 4, characterized in that: The step of setting the SOC correction coefficient according to the obtained cell voltage and the percentage of the remaining battery capacity in the previous operation cycle specifically includes: If the battery cell voltage is greater than or equal to the first calibration value, the SOC correction coefficient is the calibration coefficient of full charge correction; if the battery cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is within the first safety range, the SOC correction coefficient is 0; if the battery cell voltage is less than the first calibration value, and the battery remaining capacity percentage of the previous operation cycle is not within the first safety range, the SOC correction coefficient is obtained by looking up the parameter table.
6. A method for estimating the percentage of remaining battery capacity according to claim 5, characterized in that: The first calibration amount is obtained by calibrating different battery cells.
7. A method for estimating the percentage of remaining battery capacity according to claim 5 or 6, characterized in that: The first safety range is determined according to the range of the platform area in the relationship curve between the open circuit voltage and the percentage of the remaining capacity of the battery.
8. A method for estimating the percentage of remaining battery capacity according to claim 1, characterized in that: The noise filtering specifically includes: removing high-frequency noise through low-pass filtering.
9. A method for estimating the remaining battery capacity percentage according to claim 1, characterized in that: The battery characteristic data includes: current passing through the battery cell, battery cell temperature, battery cell voltage, and initial battery remaining capacity percentage.
10. A method for estimating the percentage of remaining battery capacity according to claim 5, characterized in that: The parameter table is obtained by testing and calibrating the battery at different battery cell temperatures.
Citation Information
Cited By
Electrode charging battery critical charging early warning method based on ultrasonic monitoring
CN121216683A
