Method, device and equipment for acquiring remaining capacity of battery, medium and program product
By obtaining the real-time terminal voltage and working current of the battery during use, combining the ampere-hour integration method and the voltage integration method, the current detection error is corrected, the error of estimating the power by the ampere-hour integration method is solved, the current detection error is improved, and a more accurate estimation of the remaining battery power is achieved.
Patent Information
- Application Number
- CN202510675274.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-05-23
AI Technical Summary
In the prior art, the estimation of the remaining battery capacity using the ampere-hour integration method has errors, especially the cumulative error problem caused by the current detection error.
By obtaining the real-time terminal voltage and operating current of the battery at preset intervals during battery use, the initial remaining power is calculated using the ampere-hour integration method. Combined with the preset open-circuit voltage and equivalent DC impedance relationship, the voltage integration method is used to correct the current detection error and reduce the cumulative error.
The influence of current detection error on the estimation of remaining battery capacity is effectively reduced, and the estimation accuracy is improved.
Smart Images

Figure CN120669141A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a method, apparatus, device, medium, and program product for obtaining the remaining power of a battery. Background Art
[0002] The remaining capacity of a battery is of great significance to battery status monitoring and vehicle operation. In the prior art, the ampere-hour integration method and the open circuit voltage method are usually used to estimate the SOC (State of Charge).
[0003] However, due to errors in current detection, using the ampere-hour integration method to estimate the remaining battery capacity over a long period of time will result in cumulative errors. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, equipment, medium and program product for obtaining the remaining power, so as to solve the problem existing in the related art that there is an error in estimating the remaining power using the ampere-hour integration method.
[0005] In a first aspect, an embodiment of the present application provides a method for obtaining the remaining battery power, comprising:
[0006] During the use of the battery, the output characteristic parameters of the battery are obtained at preset intervals, wherein the output characteristic parameters include the real-time terminal voltage and operating current of the battery;
[0007] According to the order in which the output characteristic parameters are obtained, perform the following operations for each output characteristic parameter in turn:
[0008] Obtaining a first target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter;
[0009] Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate a first initial remaining capacity corresponding to the output characteristic parameter;
[0010] Using the first target remaining capacity, matching operations are performed in a correspondence between a preset remaining capacity and an estimated open-circuit voltage, and in a correspondence between a preset remaining capacity and an equivalent DC impedance, to obtain a target estimated open-circuit voltage and a target equivalent DC impedance;
[0011] Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter;
[0012] Based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage;
[0013] The first initial remaining capacity is corrected using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter.
[0014] In the above implementation, when obtaining the second target remaining capacity corresponding to the output characteristic parameter, the estimated open circuit voltage and equivalent DC impedance corresponding to the first target remaining capacity can be obtained by matching the preset correspondence between the remaining capacity and the estimated open circuit voltage, and the preset correspondence between the remaining capacity and the equivalent DC impedance, using the first target remaining capacity corresponding to the output characteristic parameter immediately preceding the output characteristic parameter. Because the acquisition time between two consecutive output characteristic parameters is very short, the difference between the estimated open circuit voltages corresponding to the adjacent output characteristic parameters is also very small, and the difference between the equivalent DC impedances corresponding to the adjacent output characteristic parameters is also very small. Therefore, the estimated open circuit voltage corresponding to the first target remaining capacity, i.e., the target estimated open circuit voltage, can be determined as the estimated open circuit voltage corresponding to the output characteristic parameter. Simultaneously, the equivalent DC impedance corresponding to the first target remaining capacity, i.e., the target equivalent DC impedance, can be determined as the equivalent DC impedance corresponding to the output characteristic parameter. The estimated terminal voltage corresponding to the output characteristic parameter is then obtained based on the target estimated open circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter. In a battery, the terminal voltage can be obtained by subtracting the product of the equivalent DC impedance and the operating voltage from the open circuit voltage. Therefore, when the target estimated open circuit voltage, target equivalent DC impedance, and operating current are known, the estimated terminal voltage corresponding to the output characteristic parameter can be obtained. Then, based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage. In this way, the real-time error power caused by the current detection error when obtaining the output characteristic parameter can be obtained. Finally, the real-time error power is used to correct the first initial remaining power calculated based on the ampere-hour integration method, thereby reducing the error in the remaining power estimated using the ampere-hour integration method.
[0015] Furthermore, the first initial remaining power is corrected using the real-time error power to obtain a second target remaining power corresponding to the output characteristic parameter, including: determining the sum of the first initial remaining power and the real-time error power as the second target remaining power corresponding to the output characteristic parameter.
[0016] In the above implementation, the first initial remaining capacity is calculated using the operating current in the output characteristic parameter based on the ampere-hour integration method. The real-time error capacity represents the error capacity caused by the current detection error when obtaining the output characteristic parameter. Therefore, by calculating the sum of the first initial remaining capacity and the real-time error capacity, the error capacity caused by the current detection error when obtaining the output characteristic parameter can be corrected, thereby reducing the remaining capacity calculation error caused by measurement error.
[0017] Furthermore, based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate and obtain a first initial remaining capacity corresponding to the output characteristic parameter, including:
[0018] An estimated power consumption is obtained by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter;
[0019] Obtaining a second initial remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter;
[0020] The difference between the second initial remaining power and the estimated power consumption is determined as the first initial remaining power.
[0021] In the above implementation, by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter, the battery power consumption from the acquisition time of the output characteristic parameter immediately preceding the output characteristic parameter until the acquisition time of the output characteristic parameter can be obtained, i.e., the estimated power consumption. The difference between the second initial remaining power and the estimated power consumption is then obtained to obtain the first initial remaining power corresponding to the output characteristic parameter.
[0022] Furthermore, the first initial remaining power is corrected using the real-time error power to obtain a second target remaining power corresponding to the output characteristic parameter, including:
[0023] Obtaining a cumulative error power, where the cumulative error power represents the sum of real-time error power corresponding to all output characteristic parameters acquired earlier than the output characteristic parameter;
[0024] The sum of the accumulated error power, the first initial remaining power, and the real-time error power corresponding to the output characteristic parameter is determined as the second target remaining power.
[0025] In the above implementation, the cumulative error charge is obtained and the sum of the cumulative error charge, the first initial remaining charge, and the real-time error charge corresponding to the output characteristic parameter is determined as the second target remaining charge. Since each acquisition of the battery's output characteristic parameter involves measurement error, the first initial remaining charge corresponding to the output characteristic parameter depends on the second initial remaining charge corresponding to the previous output characteristic parameter. Therefore, the first initial remaining charge is affected by the measurement accuracy of the previous output characteristic parameter. However, since the cumulative error charge can represent the sum of the real-time error charges corresponding to all output characteristic parameters acquired earlier than the output characteristic parameter, that is, the cumulative error charge can represent the sum of the error charges caused by the measurement error of each acquisition of the battery's output characteristic parameter. Therefore, determining the sum of the cumulative error charge, the first initial remaining charge, and the real-time error charge corresponding to the output characteristic parameter as the second target remaining charge not only corrects for the error charge caused by the measurement error of the output characteristic parameter, but also corrects for the error charges caused by the measurement errors of other output characteristic parameters prior to the measurement of the output characteristic parameter.
[0026] Furthermore, based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate and obtain a first initial remaining capacity corresponding to the output characteristic parameter, including:
[0027] An estimated power consumption is obtained by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter;
[0028] The difference between the first target remaining power and the estimated power consumption is determined as the first initial remaining power.
[0029] In the above implementation, by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter, the battery power consumption from the acquisition time of the output characteristic parameter preceding the output characteristic parameter until the acquisition time of the output characteristic parameter can be obtained, i.e., the estimated power consumption. The difference between the first target remaining power and the estimated power consumption is then determined as the first initial remaining power. Since the first target remaining power is the remaining power after correction, the first initial remaining power can be more accurately obtained by calculating the difference between the first target remaining power and the estimated power consumption.
[0030] Furthermore, obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter includes:
[0031] Multiplying the target equivalent DC impedance by the operating current in the output characteristic parameter to obtain a target equivalent DC impedance voltage;
[0032] The target estimated open-circuit voltage is subtracted from the target equivalent DC impedance voltage to obtain an estimated terminal voltage corresponding to the output characteristic parameter.
[0033] In the above implementation, by calculating the product of the operating current in the output characteristic parameter and the target equivalent DC impedance, the voltage shared by the target equivalent DC impedance can be obtained. This is the target equivalent DC impedance voltage. Thus, if the battery's open-circuit voltage is known, the battery's terminal voltage can be calculated. Specifically, the target estimated open-circuit voltage can be subtracted from the target equivalent DC impedance voltage to obtain the estimated terminal voltage corresponding to the output characteristic parameter.
[0034] Furthermore, obtaining a target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter includes:
[0035] When the output characteristic parameter is obtained for the first time, determining the initial power of the battery as the first target remaining power;
[0036] The initial power level is the power level of the battery before the output characteristic parameters of the battery are obtained for the first time.
[0037] In the above implementation, since this output characteristic parameter is the first output characteristic parameter obtained, no other output characteristic parameters exist before it. However, the acquisition of the second target remaining power of this output characteristic parameter depends on the first target remaining power of the previous output characteristic parameter. Therefore, the initial battery power is used as the first target remaining power corresponding to the previous output characteristic parameter, so that the second target remaining power corresponding to this output characteristic parameter can be successfully obtained.
[0038] In a second aspect, an embodiment of the present application provides a device for obtaining the remaining battery power, including:
[0039] A first acquisition module is configured to acquire output characteristic parameters of the battery at preset intervals during battery use, wherein the output characteristic parameters include the real-time terminal voltage and operating current of the battery;
[0040] The operation module is configured to perform the following operations on each output characteristic parameter in the order in which the output characteristic parameters are obtained:
[0041] Obtaining a first target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter;
[0042] Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate a first initial remaining capacity corresponding to the output characteristic parameter;
[0043] Using the first target remaining capacity, matching operations are performed in a correspondence between a preset remaining capacity and an estimated open-circuit voltage, and in a correspondence between a preset remaining capacity and an equivalent DC impedance, to obtain a target estimated open-circuit voltage and a target equivalent DC impedance;
[0044] Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter;
[0045] Based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage;
[0046] The first initial remaining capacity is corrected using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter.
[0047] In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory and a communication bus; the communication bus is used to realize connection and communication between the processor and the memory; the processor is used to execute one or more programs stored in the memory to implement any of the above-mentioned methods for obtaining the remaining battery power.
[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the above-mentioned methods for obtaining the remaining battery power.
[0049] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements any of the above-mentioned methods for obtaining the remaining battery power. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 A flowchart of a method for obtaining a second target remaining power corresponding to a single output characteristic parameter provided in an embodiment of the present application;
[0052] Figure 2 A schematic structural diagram of an equivalent circuit model of a battery provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the structure of a device for obtaining the remaining battery power provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0056] Example 1:
[0057] To address the problem in the prior art of estimating the remaining battery capacity using the ampere-hour integration method due to errors in current detection, the present invention provides a method for obtaining the remaining battery capacity. First, during battery use, the output characteristic parameters of the battery are obtained at predetermined intervals. The output characteristic parameters include the real-time terminal voltage and operating current of the battery.
[0058] The battery's terminal voltage represents the voltage between the positive and negative terminals of the battery. The real-time terminal voltage of a battery is the terminal voltage measured at a preset interval.
[0059] The operating current of a battery represents the current provided by the battery when it is connected to an external load.
[0060] The battery usage process indicates whether the battery is in the charging or discharging process.
[0061] For example, the output characteristic parameters of the battery during use can be obtained through an ADC (Analog-to-Digital Converter).
[0062] Then, according to the order in which each output characteristic parameter is obtained, the following steps can be performed for each output characteristic parameter: Figure 1 The operation steps shown are to obtain the second target remaining power corresponding to each output characteristic parameter.
[0063] You can also obtain each output characteristic parameter and perform the following operations on the obtained output characteristic parameter: Figure 1 The operation shown is to estimate the second target remaining power corresponding to each output characteristic parameter in real time.
[0064] Alternatively, see Figure 1 The flowchart of the method for obtaining the second target remaining power corresponding to one of the output characteristic parameters is shown. The method for obtaining the second target remaining power corresponding to one of the output characteristic parameters may include the following steps:
[0065] Step S101 : obtaining a first target remaining power corresponding to an output characteristic parameter preceding the output characteristic parameter.
[0066] In some embodiments, if the output characteristic parameter is obtained for the first time, the initial battery power may be determined as the first target remaining power. The initial battery power is the battery power before the output characteristic parameter of the battery is obtained for the first time.
[0067] If the output characteristic parameter is not the first output characteristic parameter obtained, the first target remaining power corresponding to the previous output characteristic parameter of the output characteristic parameter is also calculated according to Figure 1 The method for obtaining the second target remaining power corresponding to one of the output characteristic parameters shown, and the obtained second target remaining power.
[0068] In some embodiments, the second target remaining power corresponding to each output characteristic parameter can be stored in a preset location. In this way, when it is necessary to obtain the second target remaining power corresponding to a subsequent output characteristic parameter, the second target remaining power corresponding to the output characteristic parameter before the output characteristic parameter can be obtained from the preset location.
[0069] Optionally, each time a second target remaining power corresponding to an output characteristic parameter is obtained, the remaining power stored in the preset location is updated with the second target remaining power corresponding to the output characteristic parameter. In this way, when it is necessary to obtain the second target remaining power corresponding to a subsequent output characteristic parameter, the first target remaining power corresponding to the output characteristic parameter preceding the subsequent output characteristic parameter can be directly obtained from the preset location.
[0070] Step S102 : Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate and obtain a first initial remaining capacity corresponding to the output characteristic parameter.
[0071] In an optional implementation of this embodiment, an ampere-hour integral calculation can be performed using the time at which the output characteristic parameter was acquired and the operating current in the output characteristic parameter to obtain the estimated power consumption. A second initial remaining power corresponding to the output characteristic parameter preceding the output characteristic parameter is acquired. The difference between the second initial remaining power and the estimated power consumption is determined as the first initial remaining power. That is, the first initial remaining power corresponding to the output characteristic parameter can be obtained by subtracting the estimated power consumption from the second initial remaining power.
[0072] In some embodiments, when the output characteristic parameter is the output characteristic parameter obtained for the first time, the initial power of the battery may be determined as the second initial remaining power corresponding to the output characteristic parameter preceding the output characteristic parameter.
[0073] When the output characteristic parameter is not the output characteristic parameter obtained for the first time, the second initial remaining power corresponding to the previous output characteristic parameter of the output characteristic parameter is the first initial remaining power calculated based on the ampere-hour integration method using the working current in the previous output characteristic parameter of the output characteristic parameter.
[0074] Similarly, the first initial remaining power corresponding to each output characteristic parameter can be stored, so that it is convenient to calculate the first initial remaining power corresponding to the output characteristic parameter based on the ampere-hour integration method using the first initial remaining power corresponding to the previous output characteristic parameter and the working current in the output characteristic parameter.
[0075] In another optional implementation of this embodiment, the estimated power consumption can be obtained by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter. The difference between the first target remaining power and the estimated power consumption is determined as the first initial remaining power corresponding to the output characteristic parameter. That is, the first initial remaining power corresponding to the output characteristic parameter is obtained by subtracting the estimated power consumption from the first target remaining power.
[0076] In step S103, using the first target remaining power, matching operations are performed in the corresponding relationship between the preset remaining power and the estimated open-circuit voltage, and in the corresponding relationship between the preset remaining power and the equivalent DC impedance, to obtain the target estimated open-circuit voltage and the target equivalent DC impedance.
[0077] In some embodiments, before obtaining the second target remaining power corresponding to the output characteristic parameter, the correspondence between the remaining power and the estimated open circuit voltage can be obtained using the open circuit voltage method. The correspondence between the preset remaining power and the estimated open circuit voltage is thereby obtained. Because different types of batteries have different OCV-SOC (Open Circuit Voltage-State of Charge, open circuit voltage-remaining power) characteristic curves. In addition, the OCV-SOC characteristic curve of the battery does not change over time. Therefore, after obtaining the correspondence between the remaining power and the estimated open circuit voltage in advance, it can be reused in the process of obtaining the second target remaining power corresponding to the output characteristic parameter.
[0078] In some embodiments, the same battery may include OCV-SOC characteristic curves at different ambient temperatures, each of which is measured when the battery is at a different ambient temperature. Therefore, the output characteristic parameter may include the ambient temperature of the battery. A matching operation can be performed using the ambient temperature across multiple OCV-SOC characteristic curves to obtain a correspondence between a preset remaining capacity and an estimated open circuit voltage corresponding to the ambient temperature.
[0079] Similarly, for the same battery, there can be multiple correspondences between the remaining capacity and the equivalent DC impedance, each corresponding relationship corresponding to the battery being at a different ambient temperature. Accordingly, the correspondence between the remaining capacity and the equivalent DC impedance at different ambient temperatures can be matched using the ambient temperature in the output characteristic parameter to obtain the corresponding relationship between the remaining capacity and the equivalent DC impedance at the corresponding ambient temperature.
[0080] In some embodiments, the equivalent circuit model of the battery can be as follows Figure 2 As shown, where U OC Characterizes the open circuit voltage of the battery, U T R1 represents the terminal voltage of the battery. R1 represents the equivalent resistance of the cathode polarization reaction. R2 represents the equivalent resistance of the anode polarization reaction. R0 represents the ohmic internal resistance. The sum of R1, R2, and R0 is collectively referred to as the equivalent DC impedance. C1 represents the equivalent capacitance of the cathode polarization reaction. R2 represents the equivalent capacitance of the anode polarization reaction. U1 represents the equivalent voltage of the cathode polarization reaction, and U2 represents the equivalent voltage of the anode polarization reaction.
[0081] Open circuit voltage U OC , terminal voltage U T , the equivalent voltage U1 of the cathode polarization reaction and the equivalent voltage U2 of the anode polarization reaction satisfy the following formula: U T =U OC -R0I T -U1-U2. Among them, I T Characterizes the working current of the battery. The rate of change of the equivalent voltage U1 of the cathode polarization reaction with time t satisfies the formula: The rate of change of the equivalent voltage U2 of the anodic polarization reaction with time t satisfies the formula:
[0082] The battery's terminal voltage, remaining capacity, and operating current at different times of use are obtained, and calculated based on Ohm's law to obtain the battery's equivalent DC impedance at each remaining capacity. This provides a corresponding relationship between the remaining capacity and the equivalent DC impedance.
[0083] Alternatively, the terminal voltage, open-circuit voltage, and operating current of the battery at different times of use can be identified using the recursive least squares method with a forgetting factor to obtain identification results. These identification results include the identified ohmic resistance, the equivalent resistance of the cathode polarization reaction, the equivalent resistance of the anode polarization reaction, the equivalent capacitance of the cathode polarization reaction, and the equivalent capacitance of the anode polarization reaction.
[0084] In detail, based on the recursive least squares method with a forgetting factor, identifying the terminal voltage, open circuit voltage, and operating current of the battery at different usage times may include the following steps:
[0085] First, the formula U T =U OC -R0I T -U1-U2 is written as an expression in the frequency domain and written in the form of a transfer function to obtain the transfer function Where s represents the complex variable in Laplace transform, E(s) = U OC (s)-U T (s).
[0086] Then the transfer function Perform bilinear transformation and map it to the z plane. Substitute the transfer function Calculate and set τ1 = R1C1 and τ2 = R2C2. The bilinear transformation transfer function can be obtained Where T represents the sampling time and z represents the discrete domain. k1, k2, k3, k4 and k5 are all coefficients. The function expression of k1 is The function expression of k2 is The function expression of k3 is The function expression of k4 is The function expression of k5 is
[0087] Then let a=R0、b=τ1τ2、c=τ1+τ2、d=R0+R1+R2、e=R0τ1+R0τ2+R1τ2+R2τ1. So we can get R2=da-R1. Combining the function expressions of k1, k2, k3, k4 and k5, we can get
[0088] Since k1, k2, k3, k4 and k5 can be obtained by least squares method for parameter identification, on the basis of obtaining k1, k2, k3, k4 and k5, we can use the formula Calculate a and get the ohmic resistance R0. Calculate b, and based on the formula Calculate c, and also based on the formula Calculate d, and based on the formula Calculate e. Then we can R1 is calculated, and R2 is calculated based on the formula R2 = da - R1. Finally, the sum of R0, R1 and R2 is calculated to obtain the equivalent DC impedance.
[0089] Step S104 , obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter.
[0090] The target equivalent DC impedance voltage can be obtained by multiplying the operating current in the output characteristic parameter by the target equivalent DC impedance. The target estimated open-circuit voltage is then subtracted from the target equivalent DC impedance voltage to obtain the estimated terminal voltage corresponding to the output characteristic parameter.
[0091] In step S105 , based on a voltage integration method, a real-time error power quantity is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage.
[0092] Optionally, a first target remaining capacity can be used to match a preset correspondence between the remaining capacity and the integrator gain coefficient to obtain a target integrator gain coefficient. The integrator gain coefficient is used to characterize the rate of change of the battery terminal voltage relative to the remaining capacity. The real-time error capacity is then calculated using the voltage integration method using the difference between the estimated terminal voltage and the real-time terminal voltage and the target integrator gain parameter.
[0093] Similarly, there may be multiple preset correspondences between the remaining power and the integrator gain coefficient, each corresponding relationship corresponding to a different ambient temperature of the battery. Accordingly, the output characteristic parameter may include the ambient temperature of the battery. The ambient temperature is then used to select the correspondence between the remaining power and the integrator gain coefficient corresponding to the ambient temperature from the multiple correspondences between the remaining power and the integrator gain coefficient.
[0094] The corresponding relationship between the preset remaining power and the integrator gain coefficient can be obtained in the following way:
[0095] After obtaining the correspondence between the remaining capacity and the estimated open-circuit voltage, for the correspondence between the remaining capacity of the i-th group and the estimated open-circuit voltage, a first difference value can be obtained by subtracting the remaining capacity of the i-th group from the remaining capacity of the i+1-th group. A second difference value can also be obtained by subtracting the estimated open-circuit voltage of the i-th group from the estimated open-circuit voltage of the i+1-th group. The ratio of the second difference to the first difference is then determined as the integrator gain parameter corresponding to the remaining capacity of the i-th group.
[0096] The integrator gain parameter corresponding to the remaining power of group i satisfies the formula: Among them, α i Characterizes the integrator gain parameter corresponding to the remaining power of group i. i+1 Characterizes the estimated open circuit voltage of group i+1. i Characterizes the estimated open circuit voltage of group i. SOC i+1Indicates the remaining capacity of group i+1. SOC i Represents the remaining power of group i.
[0097] Step S106 , using the real-time error power to correct the first initial remaining power to obtain a second target remaining power corresponding to the output characteristic parameter.
[0098] The real-time error power can be positive or negative.
[0099] In an optional implementation of this embodiment, the sum of the first initial remaining power and the real-time error power may be determined as the second target remaining power corresponding to the output characteristic parameter.
[0100] In an optional implementation of this embodiment, when the first initial remaining power is equal to the difference between the second initial remaining power and the estimated power consumption, a cumulative error power can be obtained, and the sum of the cumulative error power, the first initial remaining power, and the real-time error power corresponding to the output characteristic parameter is determined as the second target remaining power. The cumulative error power represents the sum of the real-time error power corresponding to all output characteristic parameters acquired earlier than the output characteristic parameter.
[0101] The method for obtaining the remaining battery capacity provided in an embodiment of the present application, when obtaining a second target remaining capacity corresponding to an output characteristic parameter, utilizes the first target remaining capacity corresponding to the output characteristic parameter immediately preceding the output characteristic parameter to perform a matching operation between the preset correspondence between the remaining capacity and the estimated open-circuit voltage, and between the preset correspondence between the remaining capacity and the equivalent DC impedance, thereby obtaining the estimated open-circuit voltage and equivalent DC impedance corresponding to the first target remaining capacity. Because the acquisition time of two adjacent output characteristic parameters is very short, the difference between the estimated open-circuit voltages corresponding to adjacent output characteristic parameters is also very small, and the difference between the equivalent DC impedances corresponding to adjacent output characteristic parameters is also very small. Therefore, the estimated open-circuit voltage corresponding to the first target remaining capacity, i.e., the target estimated open-circuit voltage, can be determined as the estimated open-circuit voltage corresponding to the output characteristic parameter. Simultaneously, the equivalent DC impedance corresponding to the first target remaining capacity, i.e., the target equivalent DC impedance, can be determined as the equivalent DC impedance corresponding to the output characteristic parameter. Then, the estimated terminal voltage corresponding to the output characteristic parameter is obtained based on the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter. In a battery, the terminal voltage can be obtained by subtracting the product of the equivalent DC impedance and the operating voltage from the open circuit voltage. Therefore, when the target estimated open circuit voltage, target equivalent DC impedance, and operating current are known, the estimated terminal voltage corresponding to the output characteristic parameter can be obtained. Then, based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage. In this way, the real-time error power caused by the current detection error when obtaining the output characteristic parameter can be obtained. Finally, the real-time error power is used to correct the first initial remaining power calculated based on the ampere-hour integration method, thereby achieving the effect of reducing the error of the remaining power estimated using the ampere-hour integration method.
[0102] Example 2
[0103] This embodiment further illustrates the present application based on the above embodiments.
[0104] The battery is, for example, a lithium-ion battery.
[0105] Before obtaining the output characteristic parameters of the lithium-ion battery for the first time, an initial charge of the lithium-ion battery may be obtained. The initial charge of the lithium-ion battery is determined as a first target remaining charge corresponding to an output characteristic parameter preceding the output characteristic parameter obtained for the first time and a second initial remaining charge corresponding to an output characteristic parameter preceding the output characteristic parameter obtained for the first time.
[0106] Then, during the discharge process of the lithium-ion battery, the output characteristic parameters of the battery are obtained at intervals of a preset time, wherein the preset time ranges from 100 milliseconds to 1 second.
[0107] When each output characteristic parameter is obtained, the corresponding relationship between the remaining power and the estimated open circuit voltage and the corresponding relationship between the remaining power and the equivalent DC impedance can be found using the ambient temperature in the output characteristic parameter.
[0108] Then, using the first target remaining power corresponding to the previous output characteristic parameter of the output characteristic parameter, a matching operation is performed in the correspondence between the remaining power and the estimated open-circuit voltage and the correspondence between the remaining power and the equivalent DC impedance to obtain the target estimated open-circuit voltage and the target equivalent DC impedance.
[0109] Then, the target equivalent DC impedance voltage can be obtained by multiplying the operating current in the output characteristic parameter by the target equivalent DC impedance; and the target estimated open-circuit voltage can be subtracted from the target equivalent DC impedance voltage to obtain the estimated terminal voltage corresponding to the output characteristic parameter.
[0110] Then, the first target remaining power is used to perform a matching operation in the corresponding relationship between the preset remaining power and the integrator gain coefficient to obtain the target integrator gain coefficient.
[0111] Then, the difference between the estimated terminal voltage and the real-time terminal voltage in the output characteristic parameter, as well as the target integrator gain coefficient, are input into the integrator to obtain the real-time error quantity.
[0112] At the same time, based on the ampere-hour integration method, the working current in the output characteristic parameter can be used to calculate the first initial remaining power corresponding to the output characteristic parameter.
[0113] Finally, the real-time error power, the accumulated error power, and the first initial remaining power are summed to obtain a second target remaining power corresponding to the output characteristic parameter.
[0114] Example 3:
[0115] Based on the same inventive concept, the present application also provides a device 300 for obtaining the remaining battery power. Figure 3 As shown. It should be understood that the specific functions of the device 300 can be found in the description above. To avoid repetition, detailed description is omitted here. The device 300 includes at least one software function module that can be stored in the memory in the form of software or firmware or solidified in the operating system of the device 300. Specifically:
[0116] See also Figure 3 As shown, the apparatus 300 is applied to an electronic device and includes: an acquisition module 301 and an operation module 302.
[0117] The acquisition module 301 is configured to acquire the output characteristic parameters of the battery at intervals of a preset time during the use of the battery. The output characteristic parameters include the real-time terminal voltage and operating current of the battery.
[0118] The operation module 302 is configured to perform the following operations for each output characteristic parameter in sequence according to the acquisition order of the output characteristic parameters:
[0119] Obtaining a first target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter;
[0120] Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate a first initial remaining capacity corresponding to the output characteristic parameter;
[0121] Using the first target remaining capacity, matching operations are performed in a correspondence between a preset remaining capacity and an estimated open-circuit voltage, and in a correspondence between a preset remaining capacity and an equivalent DC impedance, to obtain a target estimated open-circuit voltage and a target equivalent DC impedance;
[0122] Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter;
[0123] Based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage;
[0124] The first initial remaining capacity is corrected using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter.
[0125] It should be understood that, for the sake of brevity, some of the contents described in the first embodiment will not be repeated in this embodiment.
[0126] Example 4:
[0127] Based on the same inventive concept, this embodiment provides an electronic device, see Figure 4 As shown, it includes a processor 401 and a memory 402.
[0128] The processor 401 is configured to execute one or more programs stored in the memory 402 to implement the above-mentioned method for obtaining the remaining battery power.
[0129] It is understood that the processor 401 may be a processor core or a processor chip, or other circuit capable of configuring and running programs. The memory 402 may be RAM (Random Access Memory), ROM (Read-Only Memory), flash memory, etc., but is not limited thereto.
[0130] It's understandable. Figure 4 The structure shown is only for illustration, and the electronic device may also include Figure 4 More or fewer components than shown, or with Figure 4 For example, the device may further include an internal communication bus 403 for enabling communication between the processor 401 and the memory 402; another example, the device may further include an external communication interface, such as a USB (Universal Serial Bus) interface, a CAN (Controller Area Network) bus interface, etc.; another example, the device may further include an information display component such as a display screen, but this is not intended to be limiting.
[0131] Based on the same inventive concept, this embodiment further provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash drive, an SD (Secure Digital Memory Card), an MMC (Multimedia Card), etc., in which one or more programs for implementing the above steps are stored. These one or more programs can be executed by one or more processors to implement the above method for obtaining the remaining battery power. This description will not be repeated here.
[0132] Based on the same inventive concept, this embodiment further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method for obtaining the remaining battery power is implemented.
[0133] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0134] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0135] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0136] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.
[0137] As used herein, a plurality refers to two or more than two.
[0138] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for obtaining the remaining power of a battery, characterized in that: include: During the use of the battery, the output characteristic parameters of the battery are obtained at preset intervals, wherein the output characteristic parameters include the real-time terminal voltage and operating current of the battery; According to the order in which the output characteristic parameters are obtained, perform the following operations for each output characteristic parameter in turn: Obtaining a first target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter; Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate a first initial remaining capacity corresponding to the output characteristic parameter; Using the first target remaining capacity, matching operations are performed in a correspondence between a preset remaining capacity and an estimated open-circuit voltage, and in a correspondence between a preset remaining capacity and an equivalent DC impedance, to obtain a target estimated open-circuit voltage and a target equivalent DC impedance; Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter; Based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage; The first initial remaining capacity is corrected using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter.
2. The method according to claim 1, characterized in that Correcting the first initial remaining capacity by using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter includes: The sum of the first initial remaining power and the real-time error power is determined as the second target remaining power corresponding to the output characteristic parameter.
3. The method according to claim 1, characterized in that The first initial remaining capacity corresponding to the output characteristic parameter is calculated using the working current in the output characteristic parameter based on the ampere-hour integration method, including: An estimated power consumption is obtained by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter; Obtaining a second initial remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter; The difference between the second initial remaining power and the estimated power consumption is determined as the first initial remaining power.
4. The method according to claim 3, characterized in that Correcting the first initial remaining capacity by using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter includes: Obtaining a cumulative error power, where the cumulative error power represents the sum of real-time error power corresponding to all output characteristic parameters acquired earlier than the output characteristic parameter; The sum of the accumulated error power, the first initial remaining power, and the real-time error power corresponding to the output characteristic parameter is determined as the second target remaining power.
5. The method according to claim 1, wherein The first initial remaining capacity corresponding to the output characteristic parameter is calculated using the working current in the output characteristic parameter based on the ampere-hour integration method, including: An estimated power consumption is obtained by performing an ampere-hour integral calculation using the acquisition time of the output characteristic parameter and the operating current in the output characteristic parameter; The difference between the first target remaining power and the estimated power consumption is determined as the first initial remaining power.
6. The method according to claim 1, characterized in that Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter, including: Multiplying the target equivalent DC impedance by the operating current in the output characteristic parameter to obtain a target equivalent DC impedance voltage; The target estimated open-circuit voltage is subtracted from the target equivalent DC impedance voltage to obtain an estimated terminal voltage corresponding to the output characteristic parameter.
7. The method according to any one of claims 1 to 6, characterized in that Obtaining the target remaining power corresponding to the previous output characteristic parameter of the output characteristic parameter, including: When the output characteristic parameter is obtained for the first time, determining the initial power of the battery as the first target remaining power; The initial power level is the power level of the battery before the output characteristic parameters of the battery are obtained for the first time.
8. A device for obtaining the remaining battery power, characterized in that: include: an acquisition module configured to acquire output characteristic parameters of the battery at predetermined intervals during battery use, the output characteristic parameters including the real-time terminal voltage and operating current of the battery; The operation module is configured to perform the following operations on each output characteristic parameter in the order in which the output characteristic parameters are obtained: Obtaining a first target remaining power corresponding to a previous output characteristic parameter of the output characteristic parameter; Based on the ampere-hour integration method, the working current in the output characteristic parameter is used to calculate a first initial remaining capacity corresponding to the output characteristic parameter; Using the first target remaining capacity, matching operations are performed in a correspondence between a preset remaining capacity and an estimated open-circuit voltage, and in a correspondence between a preset remaining capacity and an equivalent DC impedance, to obtain a target estimated open-circuit voltage and a target equivalent DC impedance; Obtaining an estimated terminal voltage corresponding to the output characteristic parameter according to the target estimated open-circuit voltage, the target equivalent DC impedance, and the operating current in the output characteristic parameter; Based on the voltage integration method, the real-time error power is calculated using the difference between the estimated terminal voltage and the real-time terminal voltage; The first initial remaining capacity is corrected using the real-time error capacity to obtain a second target remaining capacity corresponding to the output characteristic parameter.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method for obtaining the remaining battery power according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions enable the processor to implement the method for obtaining the remaining battery power according to any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the method for obtaining the remaining battery power according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Voltage integral method based segmentation fitting method for calculating volt-time characteristic curve
CN105184070A
A battery SOC estimation method and system based on dynamic impedance correction
CN105699907A
Battery residual energy capture method, battery management system and electric car
CN106553551A
Battery state-of-charge estimation method based on open-circuit voltage calibration
CN113009361A
Lithium battery remaining capacity metering method and system based on improved model predictive control and voltameter
CN114545266A