Method and system for estimating electric quantity of lithium battery of low-power-consumption electronic product and related equipment
By combining the A-time Integration method and the open circuit voltage method, combined with the battery impedance and polarization pressure difference compensation value, the problem of large deviation in the battery capacity estimation process of low-power electronic products is solved, and higher battery estimation accuracy and lower power consumption are achieved.
Patent Information
- Application Number
- CN202311541227.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
The prior art has a problem of large deviations in the estimation process of lithium batteries for low-power electronic products, especially in the process of charging and discharging, which leads to the accumulation of integral errors.
A low-power electronic product lithium battery power estimation method combining the A-time integral method and the open circuit voltage method is proposed. By obtaining the charging voltage and current, calculating the initial power, and combining the battery impedance and polarization pressure difference compensation value, weighted average is performed to improve the estimation accuracy.
During the charging and discharging process of lithium batteries, the battery internal resistance is updated through weighted average and short-term stop charging, which improves the estimated accuracy of the battery capacity and reduces the power consumption consumed by open-circuit voltage measurement.
Smart Images

Figure CN120020576A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applicable to the technical field of lithium batteries, and particularly relates to a method, a system and related devices for estimating the power of a lithium battery of a low-power electronic product. Background Art
[0002] Low-power electronic products such as wearable devices are characterized by small battery power, small average system power consumption, small standby power consumption, high requirements for low power consumption of circuits, and often intermittent operation with large power consumption fluctuations during the working state. Therefore, during the use of low-power electronic products, it is necessary to calculate the power state of low-power electronic products in detail.
[0003] Related technologies often use the open-circuit voltage method to calculate the remaining power (State of Charge, abbreviated as SOC) of a lithium battery during charging and discharging. However, due to the polarization effect of the battery and the influence of the battery internal resistance, it is difficult to accurately measure the open-circuit voltage, resulting in large deviations in the estimation of SOC by the open-circuit voltage method.
[0004] Another common method is to use the current integration method to calculate the SOC of a lithium battery during charging and discharging. However, during the discharge stage of the lithium battery, due to the small and fluctuating average power consumption, it is difficult to accurately measure the current, resulting in the integration error being prone to accumulate more and more. Moreover, the integration method requires continuous current detection, and the excessive power consumption of the detection circuit itself will also affect the standby time of the electronic product.
[0005] Therefore, it is necessary to propose a new method for estimating the power of a lithium battery of a low-power electronic product to solve the above problems. Summary of the Invention
[0006] The present invention provides a method, a system and related devices for estimating the power of a lithium battery of a low-power electronic product, aiming to solve the problem of large deviation in the estimation process of the power of a lithium battery of a low-power electronic product in the prior art.
[0007] To solve the above technical problems, in a first aspect, the present invention provides a method for estimating the power of a lithium battery of a low-power electronic product, and the estimation method includes the following steps:
[0008] S1. Obtain the charging voltage and charging current when the low-power electronic product is charging;
[0009] S2. Calculate the current power level according to the charging voltage and the charging current, and determine whether the current power level meets the preset starting estimation condition. If so:
[0010] Stop charging, calculate the initial battery power of the low-power electronic product, and then continue charging;
[0011] S3. Combine the initial battery power and calculate the first estimated battery power of the low-power electronic product according to the ampere-hour integration method; at the same time, calculate the second estimated battery power of the low-power electronic product according to the open-circuit voltage method, where the first real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S3 is calculated according to the polarization voltage difference compensation value.
[0012] S4. Adjust the preset estimated ratio according to the first estimated battery power and the second estimated battery power, calculate the real-time estimated battery power according to the first estimated battery power, the second estimated battery power and the preset estimated ratio, and output it.
[0013] Furthermore, before the current power level does not meet the preset starting estimation condition, steps S1 and S2 are performed every first preset time period.
[0014] When the current power level in step S2 meets the preset starting estimation condition and charging stops, calculate the initial battery power after the second preset time period.
[0015] Furthermore, step S3 includes the following sub-steps:
[0016] S31. Calculate the battery impedance of the low-power electronic product once every third preset time period.
[0017] S32. Calculate the real-time current integral of the low-power electronic product once every fourth preset time period, and calculate the current first estimated battery power according to the real-time current integral and the initial battery power according to the ampere-hour integration method.
[0018] S33. Calculate the polarization voltage difference compensation value and the first real-time open-circuit voltage of the low-power electronic product once every fourth preset time period, and calculate the current second estimated battery power according to the first real-time open-circuit voltage, the battery impedance and the polarization voltage difference compensation value according to the open-circuit voltage method.
[0019] Furthermore, step S32 is specifically:
[0020] Within the fourth preset time period, obtain the current values of M charges, calculate the average charging current value according to the obtained M current values, and calculate the first estimated battery power according to the average charging current value and the initial battery power according to the ampere-hour integration method.
[0021] Furthermore, the polarization voltage difference compensation value is specifically:
[0022] Obtain the real-time current value, calculate the average current per minute of the low-power electronic product within the preset compensation time, calculate the weighted average current within the entire preset compensation time based on the average current and in the time order of each minute, and obtain the polarization voltage difference compensation value according to the weighted average current.
[0023] Further, step S33 is specifically:
[0024] At the end of the fourth preset duration, obtain the real-time charging voltage, real-time charging current and the battery impedance of the low-power electronic product, and calculate the polarization voltage difference compensation value according to the real-time charging current;
[0025] Calculate the corresponding first real-time open-circuit voltage according to the real-time charging voltage, the real-time charging current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the second estimated battery power according to the open-circuit voltage method.
[0026] Further, the estimation method further includes the following steps:
[0027] S5. Obtain the real-time discharge voltage and real-time discharge current when the low-power electronic product is discharging;
[0028] S6. Every fourth preset duration, calculate the real-time estimated battery power of the low-power electronic product according to the real-time discharge voltage, the real-time discharge current, and the battery impedance according to the open-circuit voltage method, and output it, wherein the second real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S6 is calculated according to the polarization voltage difference compensation value.
[0029] Further, step S6 is specifically:
[0030] At the end of the fourth preset duration, calculate the polarization voltage difference compensation value according to the real-time discharge current;
[0031] Calculate the corresponding second real-time open-circuit voltage according to the real-time discharge voltage, the real-time discharge current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the real-time estimated battery power according to the open-circuit voltage method.
[0032] Further, when the low-power electronic product is in a charging state, steps S3 - S4 are executed in a loop.
[0033] Further, when the low-power electronic product is in a discharging state, steps S5 - S6 are executed in a loop.
[0034] In a second aspect, the present invention further provides an estimation system for the lithium battery power of a low-power electronic product, including:
[0035] A starting data acquisition module, configured to acquire a charging voltage and a charging current when a low-power electronic product is being charged;
[0036] An estimation and judgment module, configured to calculate a current battery level according to the charging voltage and the charging current, and judge whether the current battery level meets a preset starting estimation condition. If so:
[0037] Stop charging, calculate an initial battery power of the low-power electronic product, and then continue charging;
[0038] A calculation module, configured to calculate a first estimated battery power of the low-power electronic product by combining the initial battery power according to the ampere-hour integration method; at the same time, calculate a second estimated battery power of the low-power electronic product according to the open-circuit voltage method, wherein a first real-time open-circuit voltage used in the open-circuit voltage method calculation in the calculation module is calculated according to a polarization voltage difference compensation value;
[0039] An estimation module, configured to adjust a preset estimation ratio according to the first estimated battery power and the second estimated battery power, calculate a real-time estimated battery power according to the first estimated battery power, the second estimated battery power and the preset estimation ratio, and output the real-time estimated battery power.
[0040] In a third aspect, the present invention further provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps in the estimation method of the lithium battery power of the low-power electronic product described in any one of the above embodiments are implemented.
[0041] In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the estimation method of the lithium battery power of the low-power electronic product described in any one of the above embodiments are implemented.
[0042] The beneficial effects achieved by the present invention are as follows: An estimation method for the lithium battery power of a low-power electronic product is proposed by combining the ampere-hour integration method and the open-circuit voltage method. This method can, when the battery is charging, perform a weighted average on the battery power estimated by the current integration method and the open-circuit voltage method combined with internal resistance and polarization voltage difference compensation, and perform a short-time charging stop to update the battery internal resistance, improving the estimation accuracy of the battery power; and when the battery is discharging, combine the battery internal resistance and discharge current data, compensate the polarization voltage difference and then calculate the open-circuit voltage, and use the open-circuit voltage method to estimate the battery power, improving the calculation accuracy and reducing the power consumption consumed by the open-circuit voltage measurement. Description of the Drawings
[0043] Figure 1It is the step flow block diagram of the method for estimating the battery power of a lithium battery in a low-power electronic product provided by an embodiment of the present invention;
[0044] Figure 2 It is the loop step flow block diagram of the method for estimating the battery power of a lithium battery in a low-power electronic product provided by an embodiment of the present invention;
[0045] Figure 3 It is the structural schematic diagram of the system for estimating the battery power of a lithium battery in a low-power electronic product provided by an embodiment of the present invention;
[0046] Figure 4 It is the structural schematic diagram of a computer device provided by an embodiment of the present invention. Detailed implementation manners
[0047] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0048] Please refer to Figure 1 , Figure 1 It is the step flow block diagram of the method for estimating the battery power of a lithium battery in a low-power electronic product provided by an embodiment of the present invention. The estimation method includes the following steps:
[0049] S1. Obtain the charging voltage and charging current when the low-power electronic product is charging.
[0050] S2. Calculate the current battery level according to the charging voltage and the charging current, and determine whether the current battery level meets a preset starting estimation condition. If so:
[0051] Stop charging, and calculate the initial battery power of the low-power electronic product, and then continue charging.
[0052] In the embodiment of the present invention, before the current battery level does not meet the preset starting estimation condition, steps S1 and S2 are performed once every first preset duration. When the current battery level meets the preset starting estimation condition and charging stops in step S2, the initial battery power is calculated after a second preset duration. The first preset duration is 100 ms, and the second preset duration is 1 s.
[0053] The preset starting estimation condition in step S2 is specifically:
[0054] Calculate the current battery level according to the charging voltage and the charging current, in combination with the original internal resistance of the low-power electronic product, and the current battery level is not less than a preset starting estimation value.
[0055] In an embodiment of the present invention, after setting the preset starting estimation condition, if the battery voltage starts charging from a very low level and has not reached the calculation starting point of the battery power, the estimation process does not start temporarily. Instead, it returns to step S1 to obtain data again after a certain time interval. In an embodiment of the present invention, the preset starting estimation value is the gear with a preset power of 0 for low-power electronic products.
[0056] When the battery voltage reaches the starting point estimation condition, it is necessary to temporarily stop charging to obtain the initial open-circuit voltage, and calculate the corresponding initial battery power based on the initial open-circuit voltage. After determining the initial battery power, the battery power estimation starts from step S3.
[0057] S3. Combine the initial battery power and calculate the first estimated battery power of the low-power electronic product according to the ampere-hour integration method; at the same time, calculate the second estimated battery power of the low-power electronic product according to the open-circuit voltage method, where the first real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S3 is calculated according to the polarization voltage difference compensation value.
[0058] Step S3 includes the following sub-steps:
[0059] S31. Calculate the battery impedance of the low-power electronic product once every third preset time period.
[0060] In an embodiment of the present invention, once every third preset time period, the charging process of the low-power electronic product that lasts for the second preset time period is stopped, and the battery impedance is calculated according to the voltage difference and current difference before and after the low-power electronic product stops charging. In an embodiment of the present invention, the second preset time period is 1 s, and the third preset time period is 5 min. In an embodiment of the present invention, the time for updating the battery impedance is set to 5 min. However, the update period of the battery impedance can be adjusted according to the impedance change of the battery during the actual charging process. In actual use, setting a longer impedance update period (the third preset time period) as needed is beneficial to shortening the overall battery charging time.
[0061] S32. Calculate the real-time current integration of the low-power electronic product once every fourth preset time period, and calculate the current first estimated battery power according to the real-time current integration and the initial battery power according to the ampere-hour integration method.
[0062] Step S32 is specifically:
[0063] Within the fourth preset time period, obtain the current values of M charges, calculate the average charging current value according to the obtained M current values, and calculate the first estimated battery power according to the average charging current value and the initial battery power according to the ampere-hour integration method.
[0064] In the embodiment of the present invention, the fourth preset duration is 1 min. The ampere-hour integration method is a method of integrating the current charged into or discharged from the battery with time and calculating the remaining power in the battery at the current moment based on the SOC value of the battery at the initial moment. During the implementation process, for the convenience of calculation, the value of M can be a value that can divide the fourth preset duration evenly. In the embodiment of the present invention, the fourth preset duration is set to 1 min, so the value of M can be 10 to obtain 1 current value every 6 s within the fourth preset duration.
[0065] The polarization voltage difference compensation value is specifically:
[0066] Obtain the real-time current value, calculate the average current per minute of the low-power electronic product within the preset compensation time, calculate the weighted average current within the entire preset compensation time based on the average current and in the time order of each minute, and obtain the polarization voltage difference compensation value according to the weighted average current.
[0067] S33. Calculate the polarization voltage difference compensation value and the first real-time open-circuit voltage of the low-power electronic product every fourth preset duration, and calculate the current second estimated battery power according to the first real-time open-circuit voltage, the battery impedance, and the polarization voltage difference compensation value by the open-circuit voltage method.
[0068] Step S33 is specifically:
[0069] At the end of the fourth preset duration, obtain the real-time charging voltage, real-time charging current, and the battery impedance of the low-power electronic product, and calculate the polarization voltage difference compensation value according to the real-time charging current and the charging duration of the low-power electronic product; the real-time charging current at this time is equivalent to the real-time current value used when calculating the polarization voltage difference compensation value;
[0070] Calculate the corresponding first real-time open-circuit voltage according to the real-time charging voltage, the real-time charging current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the second estimated battery power by the open-circuit voltage method.
[0071] The polarization voltage difference compensation value set in the embodiment of the present invention is used in the calculation process of the open-circuit voltage method, aiming to reduce the power consumption influence of the charging duration on the battery during the calculation of the open-circuit voltage method. The open-circuit voltage method is a common measurement technique for measuring physical quantities, and the open-circuit voltage value of the object to be measured is determined by measuring the voltage in the circuit when the positive and negative ends of the object to be measured are disconnected.
[0072] S4. Adjust the preset estimation ratio according to the first estimated battery power and the second estimated battery power, calculate the real-time estimated battery power according to the first estimated battery power, the second estimated battery power, and the preset estimation ratio, and output it.
[0073] In the embodiments of the present invention, the defined first estimated battery power and the second estimated battery power can be designed according to the proportion as required. The first estimated battery power and the second estimated battery power are weighted and added according to the preset estimated proportion to obtain the final estimated battery power. In the embodiments of the present invention, the preset estimated proportion is selected according to the mean value of the first estimated battery power and the second estimated battery power. Since the ampere-hour integration method and the open-circuit voltage method may obtain different values under the influence of polarization effect and battery self-power consumption, the embodiments of the present invention use the method of weighted proportion to calculate the final battery power, which can balance the deviation that may be caused by the ampere-hour integration method and the open-circuit voltage method at different power stages, thereby improving the accuracy of power estimation.
[0074] In the embodiments of the present invention, steps S1-S4 are used to perform circuit estimation on the charging process of low-power electronic products. For the discharging process of low-power electronic products (or the state of neither charging nor discharging), the estimation method of the embodiments of the present invention further includes the following steps:
[0075] S5. Obtain the real-time discharge voltage and real-time discharge current when the low-power electronic product is discharging;
[0076] S6. Every fourth preset time period, calculate the real-time estimated battery power of the low-power electronic product according to the real-time discharge voltage, the real-time discharge current, and the battery impedance by using the open-circuit voltage method, and output it. Among them, the second real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S6 is calculated according to the polarization voltage difference compensation value.
[0077] The battery impedance used in step S6 can be the data obtained by using the method of step S31, or recalculated according to the method of step S31.
[0078] Step S6 is specifically:
[0079] At the end of the fourth preset time period, calculate the polarization voltage difference compensation value according to the real-time discharge current; the real-time discharge current at this time is equivalent to the real-time current value used in the calculation of the polarization voltage difference compensation value;
[0080] Calculate the corresponding second real-time open-circuit voltage according to the real-time discharge voltage, the real-time discharge current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the real-time estimated battery power by using the open-circuit voltage method.
[0081] In the embodiments of the present invention, the difference between the calculation method of the polarization voltage difference compensation value in step S6 and that in step S3 is only that different current data are used. In step S3, the real-time charging current is used for calculation, and in step S6, the real-time discharge current is used for calculation.
[0082] In the above steps, the step loop can be performed according to the charging or discharging state of the low-power electronic product. For example, when the low-power electronic product is in the charging state and the current battery level does not meet the preset starting estimation condition, steps S1-S2 can be repeatedly executed to continuously evaluate whether the battery power estimation can be started; when the current battery level meets the preset starting estimation condition, steps S3-S4 can be repeatedly executed to perform the power estimation process in the charging state in real time; when the low-power electronic product is in the discharging state or not charging, steps S5-S6 can be repeatedly executed to perform the power estimation process in the discharging state; when the low-power electronic product remains in the charging or discharging state, it can be repeatedly executed between steps S3-S4 or steps S5-S6 to achieve real-time estimation of the battery power, as Figure 2 shown.
[0083] In the embodiment of the present invention, the charging stop step of step S2 is used to obtain the starting point of the power accumulation required for the ampere-hour integration method. During the loop process, in order to optimize the calculation process, the power can be judged once before step S2. If the power has reached the accumulation starting point and the current integration step has started (that is, there has been a process of executing the estimation method previously), then step S2 can no longer be executed, but the determined initial power can be used to execute the step of calculating the estimated power using the ampere-hour integration method in step S3.
[0084] The beneficial effect achieved by the present invention is to propose an estimation method for the lithium battery power of a low-power electronic product by combining the ampere-hour integration method and the open-circuit voltage method. This method can, when the battery is charging, perform a weighted average of the battery power estimated by the current integration method and the open-circuit voltage method combined with internal resistance and polarization voltage difference compensation, and perform a short-term charging stop to update the battery internal resistance, improving the estimation accuracy of the battery power; when the battery is discharging, it combines the battery internal resistance and discharge current data, compensates the polarization voltage difference and then calculates the open-circuit voltage, and uses the open-circuit voltage method to estimate the battery power, improving the calculation accuracy and reducing the power consumption of open-circuit voltage measurement.
[0085] The embodiment of the present invention also provides an estimation system 200 for the lithium battery power of a low-power electronic product. Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of the estimation system for the lithium battery power of a low-power electronic product provided by the embodiment of the present invention, and it includes:
[0086] A starting data acquisition module 201, configured to acquire the charging voltage and charging current when the low-power electronic product is charging;
[0087] The estimation and judgment module 202 is configured to calculate the current battery level based on the charging voltage and the charging current, and determine whether the current battery level meets a preset starting estimation condition. If so:
[0088] Stop charging, calculate the initial battery power of the low-power electronic product, and then continue charging;
[0089] The calculation module 203 is configured to calculate the first estimated battery power of the low-power electronic product according to the ampere-hour integration method in combination with the initial battery power; at the same time, calculate the second estimated battery power of the low-power electronic product according to the open-circuit voltage method, wherein the first real-time open-circuit voltage used in the open-circuit voltage method calculation in the calculation module 203 is calculated according to the polarization voltage difference compensation value;
[0090] The estimation module 204 is configured to adjust a preset estimation ratio according to the first estimated battery power and the second estimated battery power, calculate the real-time estimated battery power according to the first estimated battery power, the second estimated battery power and the preset estimation ratio, and output it.
[0091] The estimation system 200 for the lithium battery power of the low-power electronic product can implement the steps in the estimation method for the lithium battery power of the low-power electronic product in the above-mentioned embodiment, and can achieve the same technical effects. Refer to the description in the above-mentioned embodiment, and details are not described herein again.
[0092] An embodiment of the present invention further provides a computer device. Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of the computer device provided by the embodiment of the present invention. The computer device 300 includes: a memory 302, a processor 301, and a computer program stored on the memory 302 and executable on the processor 301.
[0093] The processor 301 calls the computer program stored in the memory 302 and executes the steps in the estimation method for the lithium battery power of the low-power electronic product provided by the embodiment of the present invention. Please refer to Figure 1 ,which specifically includes the following steps:
[0094] S1. Obtain the charging voltage and charging current when the low-power electronic product is charging.
[0095] S2. Calculate the current battery level according to the charging voltage and the charging current, and determine whether the current battery level meets a preset starting estimation condition. If so:
[0096] Stop charging, calculate the initial battery power of the low-power electronic product, and then continue charging.
[0097] Before the current battery level does not meet the preset starting estimation condition, steps S1 and S2 are performed every first preset time interval.
[0098] When the current battery level in step S2 meets the preset starting estimation condition and charging stops, calculate the initial battery power after a second preset time interval.
[0099] S3. Combine the initial battery power and calculate the first estimated battery power of the low-power electronic product according to the ampere-hour integration method; at the same time, calculate the second estimated battery power of the low-power electronic product according to the open-circuit voltage method, where the first real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S3 is calculated according to the polarization voltage difference compensation value.
[0100] Step S3 includes the following sub-steps:
[0101] S31. Calculate the battery impedance of the low-power electronic product every third preset time interval.
[0102] S32. Calculate the real-time current integration of the low-power electronic product every fourth preset time interval, and accumulate the calculated real-time current integration into the initial battery power, and calculate the current first estimated battery power according to the ampere-hour integration method.
[0103] S33. Calculate the polarization voltage difference compensation value and the first real-time open-circuit voltage of the low-power electronic product every fourth preset time interval, and calculate the current second estimated battery power according to the open-circuit voltage method according to the first real-time open-circuit voltage, the battery impedance, and the polarization voltage difference compensation value.
[0104] Step S32 is specifically:
[0105] Within the fourth preset time interval, obtain the current values of M charges, calculate the average charging current value according to the obtained M current values, and calculate the first estimated battery power according to the average charging current value and the initial battery power according to the ampere-hour integration method.
[0106] The polarization voltage difference compensation value is specifically:
[0107] Obtain the real-time current value, calculate the average current per minute of the low-power electronic product within the preset compensation time, calculate the weighted average current within the entire preset compensation time based on the average current according to the time sequence of each minute, and obtain the polarization voltage difference compensation value according to the weighted average current.
[0108] Step S33 is specifically:
[0109] At the end of the fourth preset duration, obtain the real-time charging voltage, real-time charging current of the low-power electronic product, and the battery impedance, and calculate the polarization voltage difference compensation value according to the real-time charging current and the charging duration of the low-power electronic product;
[0110] Calculate the corresponding first real-time open-circuit voltage according to the real-time charging voltage, the real-time charging current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the second estimated battery power according to the open-circuit voltage method.
[0111] S4. Adjust the preset estimated ratio according to the first estimated battery power and the second estimated battery power, calculate the real-time estimated battery power according to the first estimated battery power, the second estimated battery power, and the preset estimated ratio, and output it.
[0112] The estimation method further includes the following steps:
[0113] S5. Obtain the real-time discharge voltage and real-time discharge current when the low-power electronic product is discharging;
[0114] S6. Every fourth preset duration, calculate the real-time estimated battery power of the low-power electronic product according to the real-time discharge voltage, the real-time discharge current, and the battery impedance according to the open-circuit voltage method, and output it, wherein the second real-time open-circuit voltage used in the calculation of the open-circuit voltage method in step S6 is calculated according to the polarization voltage difference compensation value.
[0115] Step S6 is specifically:
[0116] At the end of the fourth preset duration, calculate the polarization voltage difference compensation value according to the real-time discharge current;
[0117] Calculate the corresponding second real-time open-circuit voltage according to the real-time discharge voltage, the real-time discharge current, the battery impedance, and the polarization voltage difference compensation value; then, calculate the real-time estimated battery power according to the open-circuit voltage method.
[0118] When the low-power electronic product remains in the charging state, steps S3 - S4 are executed in a loop.
[0119] When the low-power electronic product remains in the discharging state, steps S5 - S6 are executed in a loop.
[0120] The computer device 300 provided by the embodiment of the present invention can implement the steps in the estimation method of the lithium battery power of the low-power electronic product in the above embodiment, and can achieve the same technical effect. Refer to the description in the above embodiment, and details are not described herein again.
[0121] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each process and step in the method for estimating the battery power of a low-power electronic product provided by the embodiment of the present invention, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0122] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0123] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including that element.
[0124] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0125] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiments of the present invention. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can make many equivalent changes in form without departing from the purpose and scope protected by the claims of the present invention, and all belong to the protection scope of the present invention.
Claims
1. A method for estimating the power of a lithium battery of a low-power electronic product, characterized in that: The estimation method comprises the following steps: S1. Obtain the charging voltage and charging current of the low-power electronic product when it is being charged; S2. Calculate the current power level according to the charging voltage and the charging current, and determine whether the current power level meets the preset starting estimation condition. If so: Stop charging and calculate the initial battery capacity of low-power electronic products, and then continue charging; S3, combining the initial battery power, calculating the first estimated battery power of the low-power electronic product according to the ampere-hour integration method; at the same time, calculating the second estimated battery power of the low-power electronic product according to the open circuit voltage method, wherein the first real-time open circuit voltage used in the open circuit voltage method calculation in step S3 is calculated according to the polarization voltage difference compensation value; S4. Adjust a preset estimated ratio according to the first estimated battery power and the second estimated battery power, calculate a real-time estimated battery power according to the first estimated battery power, the second estimated battery power and the preset estimated ratio, and output the calculated real-time estimated battery power.
2. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 1, characterized in that: Before the current power level does not meet the preset starting estimation condition, steps S1 and S2 are performed once every first preset time period; When the current power level in step S2 satisfies the preset starting estimation condition and charging is stopped, the initial battery power is calculated after a second preset time period.
3. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 1, characterized in that: Step S3 includes the following sub-steps: S31, calculating the battery impedance of the low-power electronic product once every third preset time period; S32, calculating the real-time current integral of the low-power electronic product once every fourth preset time period, and calculating the first estimated battery power according to the real-time current integral and the initial battery power according to the ampere-hour integration method; S33. Calculate the polarization pressure difference compensation value and the first real-time open circuit voltage of the low-power electronic product once every fourth preset time period, and calculate the current second estimated battery power according to the open circuit voltage method based on the first real-time open circuit voltage, the battery impedance and the polarization pressure difference compensation value.
4. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 3, characterized in that: Step S32 is specifically as follows: Within the fourth preset time period, current values of M charges are obtained, and an average charging current value is calculated based on the obtained M current values. The first estimated battery power is calculated based on the average charging current value and the initial battery power according to the ampere-hour integration method.
5. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 4, characterized in that: The polarization pressure difference compensation value is specifically: Acquire the real-time current value, and calculate the average current per minute of the low-power electronic product within the preset compensation time, calculate the weighted average current within the entire preset compensation time based on the average current and according to the time sequence of each minute, and obtain the polarization voltage difference compensation value according to the weighted average current.
6. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 5, characterized in that: Step S33 is specifically as follows: At the end of the fourth preset time, obtaining the real-time charging voltage, the real-time charging current and the battery impedance of the low-power electronic product, and calculating the polarization voltage difference compensation value according to the real-time charging current; The first real-time open circuit voltage corresponding to the real-time charging voltage, the real-time charging current, the battery impedance, and the polarization voltage difference compensation value is calculated; then, the second estimated battery power is calculated according to the open circuit voltage method.
7. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 5, characterized in that: The estimation method further comprises the following steps: S5, obtaining the real-time discharge voltage and the real-time discharge current of the low-power electronic product when it is discharging; S6. Calculate the real-time estimated battery power of the low-power electronic product once every fourth preset time according to the discharge voltage, the real-time discharge current, and the battery impedance according to the open circuit voltage method, and output it, wherein the second real-time open circuit voltage used in the open circuit voltage method calculation in step S6 is calculated according to the polarization pressure difference compensation value.
8. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 7, characterized in that: Step S6 is specifically as follows: At the end of the fourth preset time period, calculating the polarization voltage difference compensation value according to the real-time discharge current; The corresponding second real-time open circuit voltage is calculated according to the real-time discharge voltage, the real-time discharge current, the battery impedance, and the polarization voltage difference compensation value; then, the real-time estimated battery power is calculated according to the open circuit voltage method.
9. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 1, characterized in that: When the low-power electronic product remains in a charging state, steps S3-S4 are executed cyclically.
10. The method for estimating the power of a lithium battery of a low-power electronic product as claimed in claim 7, characterized in that: When the low-power electronic product remains in the discharge state, steps S5-S6 are executed cyclically.
11. A system for estimating the power of lithium batteries of low-power electronic products, characterized in that: include: A starting data acquisition module is used to obtain the charging voltage and charging current of the low-power electronic product when it is being charged; The estimation judgment module is used to calculate the current power level according to the charging voltage and the charging current, and judge whether the current power level meets the preset starting estimation condition. If so: Stop charging and calculate the initial battery capacity of low-power electronic products, and then continue charging; a calculation module, configured to calculate a first estimated battery power of the low-power electronic product according to an ampere-hour integration method in combination with the initial battery power; and at the same time, calculate a second estimated battery power of the low-power electronic product according to an open circuit voltage method, wherein a first real-time open circuit voltage used in the calculation by the open circuit voltage method in the calculation module is calculated according to a polarization voltage difference compensation value; The estimation module is used to adjust the preset estimated proportion according to the first estimated battery power and the second estimated battery power, calculate the real-time estimated battery power according to the first estimated battery power, the second estimated battery power and the preset estimated proportion, and output it.
12. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the method for estimating the power level of a lithium battery of a low-power electronic product as described in any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps in the method for estimating the power level of a lithium battery of a low-power electronic product as described in any one of claims 1 to 10 are implemented.