Battery management method and device, intelligent equipment and computer program product
By dynamically updating the battery's discharge full voltage and discharge curve, the problem of unbalanced power display and battery life performance in battery capacity detection is solved, and the balance between battery display and battery life performance is achieved, the battery management process is simplified, and the user experience is improved.
Patent Information
- Application Number
- CN202510511102.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, the battery power detection method causes unbalanced power display and battery life of the device, affecting the user experience.
When the battery changes from a charge state to a discharge state, determine the voltage to be set, and dynamically update the discharge full voltage according to the voltage to be set, the historical voltage to be set and the discharge reference voltage to optimize the discharge curve for power mapping.
It achieves a balance between battery display and battery life, simplifies the battery management process, has a wide range of applications, optimizes the user experience, and takes into account the impact of battery aging and temperature.
Smart Images

Figure CN120376797A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of batteries, and particularly relates to a battery management method, a battery management device, an intelligent device, and a computer program product. Background Art
[0002] Currently, the common battery power detection can adopt the open-circuit voltage method. Its principle is that there is a certain functional relationship between the open-circuit voltage (OCV) of the battery and the state of charge (SOC) of the battery. The charge-discharge curve can be obtained by pre-measuring the battery samples, so generally the current remaining charge of the battery can be estimated according to the open-circuit voltage of the battery. Generally, considering the influence of factors such as device individual differences and battery aging, the full-charge voltage under the charge-discharge curve is set to a slightly lower fixed value, so as to ensure that most devices can reach full charge during charge and discharge.
[0003] However, after the full-discharge voltage is set to a slightly lower fixed value, it may cause the duration of the device showing 100% power during discharge to increase, resulting in an imbalance between the power display and the battery life performance of the device, affecting the user experience. Summary of the Invention
[0004] This application provides a battery management method, a battery management device, an intelligent device, and a computer program product, which can balance the power display and the battery life performance of the device and improve the user experience.
[0005] In a first aspect, this application provides a battery management method. This battery management method is applied to an intelligent device equipped with a rechargeable battery. The battery management method includes:
[0006] When the battery changes from the charging state to the discharging state, determine the voltage to be set, where the voltage to be set is determined according to the current voltage of the battery;
[0007] According to the voltage to be set, the stored historical voltage to be set, and the preset discharge reference voltage, determine the target full-discharge voltage, where the historical voltage to be set refers to: the voltage to be set when the battery last changed from the charging state to the discharging state, and the discharge reference voltage refers to: the full-charge voltage of the reference discharge curve of the battery;
[0008] Update the discharge curve of the battery based on the target full-discharge voltage, so as to perform power mapping in the discharging state according to the updated discharge curve.
[0009] In a second aspect, this application provides a battery management device. This battery management device is applied to an intelligent device equipped with a rechargeable battery. The battery management device includes:
[0010] A first determination module, configured to determine a target voltage to be set when the battery changes from a charging state to a discharging state, where the target voltage to be set is determined according to the current voltage of the battery;
[0011] A second determination module, configured to determine a target full charge voltage for discharging according to the target voltage to be set, the stored historical target voltage to be set, and a preset reference voltage for discharging, where the historical target voltage to be set refers to: the target voltage to be set when the battery last changed from a charging state to a discharging state, and the reference voltage for discharging refers to: the full charge voltage of the reference discharge curve of the battery;
[0012] A first update module, configured to update the discharge curve of the battery based on the target full charge voltage for discharging, so as to perform charge mapping in the discharging state according to the updated discharge curve.
[0013] In a third aspect, the present application provides an intelligent device, where the intelligent device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method in the first aspect are implemented.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the method in the first aspect are implemented.
[0015] In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program. When the computer program is executed by one or more processors, the steps of the method in the first aspect are implemented.
[0016] The beneficial effects of the present application compared with the prior art are as follows: When the battery changes from the charging state to the discharging state, the present application scheme determines the set voltage, where the set voltage is determined according to the current voltage of the battery. Then, based on the set voltage, the stored historical set voltage, and the preset discharge reference voltage, the target full discharge voltage is determined, where the historical set voltage refers to the set voltage determined when the battery last changed from the charging state to the discharging state, and the discharge reference voltage refers to the full charge voltage of the reference discharge curve of the battery. Finally, the discharge curve of the battery is updated based on the target full discharge voltage to perform power mapping in the discharging state according to the updated discharge curve. On the one hand, the present application scheme does not need to ensure knowing whether the battery is fully charged, thus simplifying the management process and expanding the applicable scope of the present application scheme; on the other hand, the present application scheme realizes the dynamic update of the full discharge voltage, optimizes the battery life performance, can achieve the balance between the power display and the battery life performance of the device, and improves the user experience; in addition, when dynamically updating the full discharge voltage, the present application scheme also considers the reference discharge curve, so as to have an adjustment and optimization effect to a certain extent in the case of battery aging, temperature influence, and / or abnormal charging.
[0017] It can be understood that the beneficial effects of the second to fifth aspects above can refer to the relevant descriptions in the first aspect above and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings in the following descriptions are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is a schematic flowchart of the implementation of the battery management method provided by the embodiment of the present application;
[0020] Figure 2 It is a schematic structural diagram of the battery management device provided by the embodiment of the present application;
[0021] Figure 3 It is a schematic structural diagram of the intelligent device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The following will describe in detail the embodiments of the technical solutions of the present application with reference to the drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present application, so they are only examples and cannot be used to limit the protection scope of the present application.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs; the terms used herein are for the purpose of describing specific embodiments only and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.
[0024] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity, specific order or primary-secondary relationship of the indicated technical features.
[0025] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0026] In the description of the embodiments of this application, the term "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.
[0027] In the description of the embodiments of this application, the term "plurality" refers to two or more (including two), unless otherwise specifically and clearly defined.
[0028] The embodiments of this application propose a battery management method. Among them, this battery management method can be applied to intelligent devices equipped with rechargeable batteries. Only as an example, the intelligent device can be a doorbell or a network camera, etc., and the device type of the intelligent device is not limited here. Please refer to Figure 1 , Figure 1 which gives the implementation process of the battery management method applied to the intelligent device, and is specifically described as follows:
[0029] Step 101, when the battery changes from the charging state to the discharging state, determine the set voltage.
[0030] The intelligent device monitors the working state of its battery in real time. Generally speaking, there are two working states of the battery, namely: the charging state and the discharging state. In the embodiments of the present application, the main concern is the performance of the battery when it changes from the charging state to the discharging state, so as to determine the set voltage. Among them, the set voltage can be determined according to the current voltage of the battery when it changes from the charging state to the discharging state. It can be understood that the set voltage is actually the reference voltage at the beginning of the battery discharge, which reflects the state of the battery just after charging, and this voltage is generally the highest voltage that the battery can reach during this discharge process. Usually, since the voltage of the battery does not stabilize immediately after charging, there may be polarization effects and electrochemical hysteresis. Therefore, in order to reduce errors, the set voltage can be determined by the following methods:
[0031] One method is: after the battery changes from the charging state to the discharging state, wait for a short period of time (such as a few seconds), and then measure the current voltage of the battery, and determine the measured current voltage as the set voltage.
[0032] Another method is: when the battery changes from the charging state to the discharging state, immediately measure the current voltage of the battery, and then determine the difference between the current voltage and the preset voltage margin as the set voltage. Among them, the voltage margin can be determined in advance according to the battery type and hardware design.
[0033] Step 102, determine the target full discharge voltage according to the set voltage, the stored historical set voltage and the preset discharge reference voltage.
[0034] The target full discharge voltage is the starting point of the discharge curve used by the battery during discharge, which refers to the voltage corresponding to the full charge state (that is, the SOC of the battery is 100%). Since the voltage of the battery will change with factors such as time, temperature and aging degree, the starting voltage of discharge may be different. Therefore, the embodiments of the present application propose a strategy for dynamically adjusting the target full discharge voltage. This strategy is realized depending on the set voltage, the stored historical set voltage and the preset discharge reference voltage.
[0035] Among them, the historical set voltage refers to: the set voltage determined when the battery changed from the charging state to the discharging state last time; generally speaking, this historical set voltage can be stored locally in the intelligent device. The discharge reference voltage refers to: the full charge voltage of the reference discharge curve of the battery; it can be understood that the reference discharge curve is actually a theoretical value, which comes from the measurement of the battery samples under standard conditions.
[0036] In some embodiments, the smart device can perform weighted calculations on the set voltage, historical set voltage, and discharge reference voltage to obtain the target full discharge voltage. Among them, the weights adopted in this calculation process can be adjusted according to the actual application scenario. For example, since the set voltage is the value obtained recently, the corresponding weight can be set relatively high, which will not be elaborated here.
[0037] In some other embodiments, considering that the discharge reference voltage is the reference data during discharge and can be considered to actually limit the lower limit of the target full discharge voltage, the smart device can first compare the set voltage with the historical set voltage and the discharge reference voltage respectively, and then determine the target full discharge voltage from the set voltage and the discharge reference voltage according to the comparison results. Specifically, the smart device can follow the following logic to determine the target full discharge voltage from the set voltage and the discharge reference voltage:
[0038] When the set voltage is higher than the historical set voltage, it indicates that the smart device can actually be charged to a higher voltage. Therefore, in order to balance the usage duration of the device when the battery level is 100%, it is necessary to update the target full discharge voltage to a relatively high value. On the contrary, when the set voltage is lower than the historical set voltage, it indicates that there may be battery aging or other problems, resulting in the inability to charge to the previous maximum voltage. At this time, it is necessary to update the target full discharge voltage to a relatively low value so that the smart device can still be fully charged, but this lower value should also have a lower limit, which is the discharge reference voltage.
[0039] Based on this, denote the set voltage as V new , denote the historical set voltage as V old , and denote the discharge reference voltage as V fac-set . Then, the comparison results may present the following different situations:
[0040] The first situation: V new >V old . In this case, it is considered that the current smart device can be charged to a higher voltage. To reduce the display time of the smart device when the battery level is 100% and balance the battery life (that is, balance the usage duration of the device when the battery level is 100%) and optimize the user experience, the smart device can update the target full discharge voltage to V new .
[0041] The second situation: V new ≤V old , and V new >V fac-set . In this case, it indicates that although the battery is fully charged in this charging, it has not been charged to a higher voltage, which may be caused by reasons such as short charging time or battery aging. Based on this, to balance the discharge performance of this round, the smart device can still update the target full discharge voltage to Vnew 。
[0042] The third case: V new ≤V old and V new ≤V fac-set In this case, it can be known that V new is relatively low. Considering reasons such as temperature, charging time, and charging scenario, it is necessary to abandon V new ; moreover, to prevent deviations caused by reasons such as battery aging, the intelligent device can update the target full charge voltage for discharging to V fac-set . It can be understood that if the battery of the intelligent device can still be charged to a higher voltage in the future, then in subsequent rounds (that is, in the case where the subsequent battery changes from the charging state to the discharging state), the target full charge voltage for discharging will be updated to a higher value again; that is, based on the above strategy, the subsequent performance of the battery will not be affected by the relatively low set voltage obtained in a certain round.
[0043] Based on the above various cases, when the intelligent device determines the target full charge voltage for discharging from the set voltage and the reference voltage for discharging according to the comparison result, it can be specifically manifested as follows: when the set voltage is higher than the historical set voltage, and / or, when the set voltage is higher than the reference voltage for discharging, the set voltage is determined as the target full charge voltage for discharging; when the set voltage is lower than or equal to the historical set voltage, and, when the set voltage is lower than or equal to the reference voltage for discharging, the reference voltage for discharging is determined as the target full charge voltage for discharging.
[0044] Step 103: Update the discharge curve of the battery based on the target full charge voltage for discharging, so as to perform power mapping in the discharging state according to the updated discharge curve.
[0045] As previously described, the actual discharge curve of the battery should not be constant, but will be affected by factors such as temperature, aging, and discharge rate. Therefore, it is necessary to dynamically adjust the discharge curve to ensure the accuracy of SOC calculation. Based on this, the intelligent device can update the discharge curve of the battery based on the target full charge voltage for discharging, that is, at the position where SOC = 100% of the discharge curve, use the updated target full charge voltage to replace the original voltage. Correspondingly, in this discharge curve, the mapping relationship between SOC and voltage should also be adjusted accordingly. For example, interpolation or smooth correction methods can be used to adjust this discharge curve.
[0046] In some embodiments, in the charging scenario, the intelligent device can be divided into: intelligent devices that can obtain the status of the charging integrated circuit (IC), and intelligent devices that cannot obtain the status of the charging IC.
[0047] Among them, for smart devices that can obtain the charging IC status, they can specifically control the charging current on the hardware; when the charging current decreases to the preset charging cut-off current, the charging IC status can be informed to the smart device through hardware (such as the GPIO interface), so that the smart device can know that the charging is completed at this time, the battery level needs to be displayed as 100%, and the current obtained voltage is the full-charge voltage of the device. Considering the individual differences of devices, this full-charge voltage is actually a dynamic value, which is not determined by software, but by the components of the smart device and the actual charging status. However, the constant-voltage charging stage generally lasts for a long time. Therefore, for devices that support obtaining the charging IC status, certain measures need to be taken to reduce the waiting time of users at 99%. Based on this, for smart devices that can obtain the charging IC status, the embodiments of the present application propose the following solutions:
[0048] Determine the target full-charge voltage according to the preset charging reference voltage, where the target full-charge voltage is higher than the charging reference voltage, and the charging reference voltage refers to: the full-charge voltage of the reference charging curve of the battery; update the charging curve of the battery based on the target full-charge voltage, so as to perform battery level mapping in the charging state according to the updated charging curve.
[0049] The smart device can increase the target full-charge voltage on the software, thereby reducing the residence time when the device is charged to 99%; that is, the smart device can set the target full-charge voltage to a value close to or higher than the battery specification. It can be understood that when the voltage of the battery is below the target full-charge voltage, the voltage of the battery will continue to increase due to charging, and the battery levels of 0%-99% will be mapped and displayed according to the updated charging curve; finally, the smart device can update the battery level in cooperation with the charging IC status obtained on the hardware, that is, when the true full charge is known based on the charging IC status, the battery level of 100% is displayed. In the above process, because the covered voltage span is wider (the full-charge voltage of the charging curve is increased from the original charging reference voltage to the target full-charge voltage), it can be seen by comparing the charging curves before and after the update that the battery level growth rate after the update is slower than that before the update; among them, the battery level growth rate after the update refers to the growth rate of the battery level display under the updated charging curve during the charging process; the battery level growth rate before the update refers to the growth rate of the battery level display under the charging curve before the update during the charging process. Thus, the residence time of the device at 99% battery level during the charging process can be reduced.
[0050] For the convenience of understanding, the following specific examples are used to explain the beneficial effects brought by adopting the above optimization solutions:
[0051] A batch of devices is affected by hardware individual differences, resulting in a maximum charging voltage range of 4.14V - 4.2V detected by their software. Since the initial charging curve (reference charging curve) needs to adapt to most devices, in order for all these devices to show full charge, the full charge voltage is uniformly set to a lower value, such as 4.13V, in their software. That is, in the reference charging curve, the voltage corresponding to 100% battery level is 4.13V. On this basis, it is assumed that in the reference charging curve, the voltage corresponding to 99% battery level is 4.125V.
[0052] When the device can obtain the charging IC status, if the user has relevant requirements, generally the battery level shown by the software can be synchronized with the hardware. That is, when the device obtains full charge based on the charging IC status, 100% is shown on the software, and the highest shown before that is 99%.
[0053] It can be seen from this that when the voltage corresponding to 99% battery level is 4.125V, for the devices in this batch that can be charged up to 4.14V, they may be able to show 100% after a relatively short time; but for the devices in this batch that can be charged up to 4.2V, the duration of showing 99% battery level is the time it takes for the battery to be charged from 4.125V to 4.2V. Since trickle charging is relatively slow, it may generally take several hours to wait.
[0054] In this regard, the embodiments of the present application are adopted to update the charging curve based on the target full-charge voltage that is higher than the overcharge reference voltage. It should be noted that for devices that can obtain the charging IC status, this update operation is not performed in real time during the application process of the device; it can be considered that this update operation is actually similar to a setting operation, that is, after the device obtains the reference charging curve, it does not directly adopt the reference charging curve, but obtains the target full-charge voltage based on the reference charging curve, thereby resetting its charging curve to achieve the update of the charging curve, so that the charging curve of the device is updated from the original reference charging curve to the charging curve set based on the target full-charge voltage. If the subsequent reference charging curve (i.e., the charging reference voltage) is updated, a new target full-charge voltage can be determined based on a similar method and the charging curve of the battery can be updated again; conversely, if the reference charging curve (i.e., the charging reference voltage) is not updated, the target full-charge voltage will not be updated either, and the charging curve set based on this target full-charge voltage can continue to be used. In this way, in the updated charging curve, the voltage corresponding to 99% of the battery charge can be adjusted to a higher value, such as 4.198V. Thus, for the devices in this batch that can be charged to 4.2V, the duration when the battery charge is displayed as 99% is the time for the battery to charge from 4.198V to 4.2V, which greatly shortens the residence time of the device at 99% battery charge during the charging process. For the devices in this batch that can be charged to 4.14V, it is possible that when the battery has been charged to 4.14V, the displayed battery charge is only 90%. In this regard, the subsequent battery charge increase can be assisted and controlled according to the charging duration and relevant software strategies, so as to gradually increase the battery charge display to 99% for the user. Finally, when the charging current decreases to the preset charging cut-off current, it can be confirmed that the battery is fully charged through its charging IC status, so as to finally control the intelligent device to display its battery charge as 100%. In this way, the residence time of all devices when the battery charge is displayed as 99% during charging can be made not too long.
[0055] Among them, for intelligent devices that cannot obtain the charging IC status, their hardware performance is the same as that of intelligent devices that can obtain the charging IC status. The difference is that the intelligent device cannot obtain the charging IC status from the software. Based on this, currently, generally, a voltage value suitable for most devices is set in advance in the software as the full-charge voltage according to the battery specifications and constant voltage characteristics, and this voltage value is set as a fixed value. In this way, as long as the voltage of the battery during charging reaches this full-charge voltage, it can be considered that the battery is fully charged in the software. It can be understood that this method has slightly poor adaptability to individual differences. Based on this, for intelligent devices that cannot obtain the charging IC status, the embodiments of the present application propose the following solution: a charging indicator is set on the intelligent device, and the user is assisted to charge the intelligent device through this charging indicator, so as to ensure that the battery of the intelligent device can be fully charged as much as possible.
[0056] In some examples, the charging indicator light can be a hardware charging indicator light. It can be understood that the hardware charging indicator light is similar to the charging IC state and can both be controlled by the charging current. Specifically, when the charging current reaches the preset charging cut-off current, the hardware charging indicator light automatically lights up a specified color light (such as a green light) to indicate that the battery is fully charged. It can be seen that this hardware charging indicator light can play a reference role during the charging process.
[0057] In other examples, the charging indicator light can be a software charging indicator light. It can be understood that the software charging indicator light is related to the battery power detected by the software. When the power is charged to 100%, the software charging indicator light automatically lights up a specified color light (such as a green light) to indicate that the battery is fully charged; among them, the 100% power is determined by the preset full-charge voltage for charging.
[0058] For easy understanding, the following uses specific examples to explain the differences between the hardware charging indicator light and the software charging indicator light:
[0059] A certain smart device does not support obtaining the charging IC state, and its full-charge voltage for charging is set to 4.15V on the software; that is, when the battery is charging, when its voltage reaches 4.15V, it can be considered fully charged. However, in fact, this battery can be charged up to 4.18V at most.
[0060] If the software charging indicator light is adopted, when the software detects that the battery is charged to 4.15V, the power will be displayed as 100%, and at this time the software charging indicator light will turn on the green light.
[0061] If the hardware charging indicator light is adopted, when the software detects that the battery is charged to 4.15V, the power will be displayed as 100%; however, because it is currently measured on the hardware that the battery is not fully charged and can still be charged to a higher voltage (that is, 4.18V), the hardware charging indicator light will still turn on the red light at this time, and it will not turn on the green light until the charging current meets the hardware requirements.
[0062] It should be noted that the initial discharge curve of the battery is the reference discharge curve; similarly, the initial charging curve of the battery is the reference charging curve.
[0063] In some embodiments, the reference charging curve and the reference discharging curve generally have a good corresponding relationship as a whole. If the entire curve is updated, some of the corresponding relationships may be destroyed; and generally speaking, the risk of updating the entire curve based on one point is relatively high. Based on this, in the embodiments of the present application, the charging curve and the discharging curve can be divided into several power interval segments, so that when updating subsequently, only the specified power interval segments in the discharging curve and the charging curve are updated. That is, based on the target discharging full-charge voltage, only the specified power interval segment in the discharging curve of the battery is updated; similarly, based on the target charging full-charge voltage, only the specified power interval segment in the charging curve of the battery is updated. Among them, the lower power limit value corresponding to the specified power interval segment is the specified power, and the upper power limit value corresponding to the specified power interval segment is the full-charge power.
[0064] Only by way of example, several power interval segments can be specifically: [0, 20%), [20%, 40%), [40%, 60%), [60%, 80%) and [80%, 100%]; on this basis, the specified power interval segment can be specifically: [80%, 100%]. Taking the update of the specified power interval segment in the discharging curve of the battery based on the target discharging full-charge voltage as an example: in the discharging curve, the power within the interval [80%, 100%] can be mapped according to the new voltage; that is, 100% power corresponds to the target discharging full-charge voltage, the voltage corresponding to 80% power is not adjusted, and the mapping relationship between other power and voltage within this interval adopts linear mapping, so as to update the curve corresponding to the specified power interval segment [80%, 100%]. On this basis, the other intervals still maintain the original mapping, that is, the mapping relationship between the power and voltage of [0, 20%), [20%, 40%), [40%, 60%) and [60%, 80%) still remains the same as the reference discharging curve. Finally, the updated entire discharging curve can be obtained. Compared with the reference discharging curve, actually only the mapping relationship of the power interval segment [80%, 100%] has changed.
[0065] In some embodiments, considering that after the battery is used for a long time, its entire charge-discharge curve will show a certain deviation due to reasons such as aging, the reference charge-discharge curve of the battery can be determined by the following method:
[0066] B1. Determine the maximum full-charge voltage of the battery.
[0067] B2. Among at least two pre-set measured voltage curve pairs, determine the measured voltage curve pair corresponding to the maximum full-charge voltage as the reference voltage curve pair. The reference voltage curve pair includes: a reference charging curve and a reference discharging curve.
[0068] As the battery is used, the battery will age to a certain extent, which causes the maximum full charge voltage of the battery to decrease. That is, the maximum full charge voltage of the battery is negatively correlated with the aging degree of the battery. Based on this, the smart device may pre-store at least two measured voltage curve pairs, and the at least two measured voltage curve pairs can be obtained by pre-measuring a battery sample. It can be understood that each measured voltage curve pair corresponds to a different maximum full charge voltage, and each measured voltage curve pair actually includes a measured discharge curve and a measured charge curve. Thus, after learning the maximum full charge voltage of the battery of the current smart device, the measured voltage curve pair corresponding to the maximum full charge voltage can be found among the preset at least two measured voltage curve pairs, so as to determine the measured voltage curve pair as the reference voltage curve pair, and realize the update of the reference charge curve and the reference discharge curve. On this basis, the smart device can continue to apply the various steps proposed in the foregoing embodiments of the present application based on the updated reference charge curve and the updated reference discharge curve, to realize the update of the charge curve used during its charging process, and to realize the update of the discharge curve used during its discharging process.
[0069] As can be seen from the above, on the one hand, the embodiment of the present application does not need to ensure that it is known whether the battery is fully charged, thus simplifying the management process and expanding the applicable scope of the embodiment of the present application; on the other hand, the embodiment of the present application realizes the dynamic update of the discharge full charge voltage, optimizes the battery life performance, can achieve the balance between the power display and the battery life performance of the device, and improves the user experience; in addition, when the embodiment of the present application dynamically updates the discharge full charge voltage, it also considers the reference discharge curve, so as to have an adjustment and optimization effect to a certain extent in the case of battery aging, temperature influence and / or charging abnormality.
[0070] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0071] Corresponding to the battery management method provided above, the embodiment of the present application further provides a battery management device. The battery management device is applied to a smart device equipped with a rechargeable battery. Please refer to Figure 2 , the battery management device 2 in the embodiment of the present application includes:
[0072] A first determination module 201, configured to determine a set voltage when the battery changes from a charging state to a discharging state, where the set voltage is determined according to the current voltage of the battery;
[0073] The second determination module 202 is configured to determine a target full charge voltage for discharging according to a settable voltage, a stored historical settable voltage, and a preset reference discharge voltage, where the historical settable voltage refers to: the settable voltage determined when the battery changed from a charging state to a discharging state last time, and the reference discharge voltage refers to: the full charge voltage of the reference discharge curve of the battery;
[0074] The first update module 203 is configured to update the discharge curve of the battery based on the target full charge voltage for discharging, so as to perform charge mapping in the discharging state according to the updated discharge curve.
[0075] In some embodiments, the first determination module 201 includes:
[0076] A measurement unit, configured to measure the current voltage of the battery when the battery changes from a charging state to a discharging state;
[0077] A first determination unit, configured to determine the difference between the current voltage and a preset voltage margin as the settable voltage.
[0078] In some embodiments, the second determination module 202 includes:
[0079] A comparison unit, configured to compare the settable voltage with the historical settable voltage and the reference discharge voltage respectively;
[0080] A second determination unit, configured to determine the target full charge voltage for discharging from the settable voltage and the reference discharge voltage according to the comparison result.
[0081] In some embodiments, the second determination unit includes:
[0082] A first determination subunit, configured to determine the settable voltage as the target full charge voltage for discharging when the settable voltage is higher than the historical settable voltage, and / or, the settable voltage is higher than the reference discharge voltage;
[0083] A second determination subunit, configured to determine the reference discharge voltage as the target full charge voltage for discharging when the settable voltage is lower than or equal to the historical settable voltage, and the settable voltage is lower than or equal to the reference discharge voltage.
[0084] In some embodiments, the first update module 203 is specifically configured to update a specified charge interval segment in the discharge curve of the battery based on the target full charge voltage for discharging, where the lower charge limit value corresponding to the specified charge interval segment is the specified charge, and the upper charge limit value corresponding to the specified charge interval segment is the full charge.
[0085] In some embodiments, the battery management device 2 further includes:
[0086] A third determination module, configured to determine a target full charge voltage according to a preset charging reference voltage, where the target full charge voltage is higher than the charging reference voltage, and the charging reference voltage refers to: the full charge voltage of the reference charging curve of the battery;
[0087] A second update module, configured to update the charging curve of the battery based on the target full charge voltage, so as to perform power mapping in the charging state according to the updated charging curve.
[0088] In some embodiments, the battery management device 2 further includes:
[0089] A fourth determination module, configured to determine the maximum full charge voltage of the battery;
[0090] A fifth determination module, configured to determine, from at least two preset measured voltage curve pairs, the measured voltage curve pair corresponding to the maximum full charge voltage as the reference voltage curve pair, where the reference voltage curve pair includes: a reference charging curve and a reference discharging curve.
[0091] As can be seen from the above, on the one hand, the battery management device does not need to ensure that it knows whether the battery is fully charged, thus simplifying the management process and expanding the applicable range of the battery management device; on the other hand, the battery management device realizes the dynamic update of the discharging full charge voltage, optimizes the endurance performance, can achieve the balance between the power display and the endurance performance of the device, and improves the user experience; in addition, when dynamically updating the discharging full charge voltage, the battery management device also considers the reference discharging curve, so as to have an adjustment and optimization effect to a certain extent in the case of battery aging, temperature influence and / or charging abnormality.
[0092] Corresponding to the battery management method provided above, an embodiment of the present application further provides an intelligent device. Please refer to Figure 3 , the intelligent device 3 in the embodiment of the present application includes: a memory 301, one or more processors 302( Figure 3 only one is shown in the figure) and a computer program stored on the memory 301 and executable on the processor. When the intelligent device is actually used, it needs to be equipped with a rechargeable battery. Specifically, when the processor 302 runs the above computer program stored in the memory 301, the following steps are implemented:
[0093] When the battery changes from the charging state to the discharging state, determine the voltage to be set, where the voltage to be set is determined according to the current voltage of the battery;
[0094] According to the voltage to be set, the stored historical voltage to be set, and a preset discharging reference voltage, determine the target discharging full charge voltage, where the historical voltage to be set refers to: the voltage to be set determined when the battery last changed from the charging state to the discharging state, and the discharging reference voltage refers to: the full charge voltage of the reference discharging curve of the battery;
[0095] Update the discharge curve of the battery based on the target full charge voltage for discharge, so as to perform charge mapping in the discharge state according to the updated discharge curve.
[0096] Assume the above is the first possible implementation manner. Then, in the second possible implementation manner provided based on the first possible implementation manner, when the battery changes from the charging state to the discharging state, determining the voltage to be set includes:
[0097] When the battery changes from the charging state to the discharging state, measure the current voltage of the battery;
[0098] Determine the difference between the current voltage and the preset voltage margin as the voltage to be set.
[0099] In the third possible implementation manner provided based on the second possible implementation manner, determining the target full charge voltage for discharge according to the voltage to be set, the stored historical voltage to be set, and the preset discharge reference voltage includes:
[0100] Compare the voltage to be set with the historical voltage to be set and the discharge reference voltage respectively;
[0101] According to the comparison result, determine the target full charge voltage for discharge from the voltage to be set and the discharge reference voltage.
[0102] In the fourth possible implementation manner provided based on the third possible implementation manner, determining the target full charge voltage for discharge from the voltage to be set and the discharge reference voltage according to the comparison result includes:
[0103] In the case where the voltage to be set is higher than the historical voltage to be set, and / or, the voltage to be set is higher than the discharge reference voltage, determine the voltage to be set as the target full charge voltage for discharge;
[0104] In the case where the voltage to be set is lower than or equal to the historical voltage to be set, and the voltage to be set is lower than or equal to the discharge reference voltage, determine the discharge reference voltage as the target full charge voltage for discharge.
[0105] In the fifth possible implementation manner provided based on the first possible implementation manner, updating the discharge curve of the battery based on the target full charge voltage for discharge includes:
[0106] Based on the target full charge voltage for discharge, update the specified charge interval segment in the discharge curve of the battery. The lower limit value of the charge corresponding to the specified charge interval segment is the specified charge, and the upper limit value of the charge corresponding to the specified charge interval segment is the full charge.
[0107] In a sixth possible implementation provided based on the first possible implementation described above, or the second possible implementation described above, or the third possible implementation described above, or the fourth possible implementation described above, or the fifth possible implementation described above, when the processor 302 runs the above computer program stored in the memory 301, the following steps are further implemented:
[0108] Determine a target full charge voltage according to a preset charging reference voltage, where the target full charge voltage is higher than the charging reference voltage, and the charging reference voltage refers to: the full charge voltage of the reference charging curve of the battery;
[0109] Update the charging curve of the battery based on the target full charge voltage, so as to perform charge mapping according to the updated charging curve in the charging state.
[0110] In a seventh possible implementation provided based on the sixth possible implementation described above, when the processor 302 runs the above computer program stored in the memory 301, the following steps are further implemented:
[0111] Determine the maximum full charge voltage of the battery;
[0112] Among at least two pairs of measured voltage curves preset, determine the pair of measured voltage curves corresponding to the maximum full charge voltage as the reference voltage curve pair, and the reference voltage curve pair includes: a reference charging curve and a reference discharging curve.
[0113] It should be understood that in the embodiments of the present application, the so-called processor 302 may be a central processing unit (CPU), and this processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0114] The memory 301 may include a read-only memory and a random access memory, and provide instructions and data to the processor 302. A part or all of the memory 301 may also include a non-volatile random access memory. For example, the memory 301 may also store information about the device type.
[0115] As can be seen from the above, on the one hand, the embodiments of the present application do not need to ensure knowing whether the battery is fully charged, thus simplifying the management process and expanding the applicable scope of the embodiments of the present application; on the other hand, the embodiments of the present application realize the dynamic update of the discharge full charge voltage, optimize the battery life performance, can achieve the balance between the power display and the battery life performance of the device, and improve the user experience; in addition, when the embodiments of the present application dynamically update the discharge full charge voltage, they also consider the reference discharge curve, so as to have an adjustment and optimization effect to a certain extent in the case of battery aging, temperature influence and / or charging abnormality.
[0116] The embodiments of the present application also provide a computer program product. When the computer program product runs on an intelligent device, the intelligent device can implement the steps in the above-mentioned method embodiments.
[0117] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned system can refer to the corresponding processes in the foregoing method embodiments and will not be described in detail here.
[0118] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0119] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of external device software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0120] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the above division of modules or units is only a logical function division. In actual implementation, there may be other division methods. 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0121] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0122] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above method embodiments of the present application, it can also be completed by a computer program instructing the relevant hardware. The above computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the above computer program includes computer program code, and the above computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The above computer-readable storage medium can include: any entity or device that can carry the above computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the above computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.
[0123] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included within the protection scope of the present application.
Claims
1. A battery management method, characterized in that, The battery management method is applied to an intelligent device equipped with a rechargeable battery. The battery management method includes: When the battery changes from a charging state to a discharging state, determining a target voltage to be set, where the target voltage to be set is determined according to the current voltage of the battery; According to the target voltage to be set, the stored historical target voltage to be set, and a preset discharging reference voltage, determining a target full charge voltage for discharging, where the historical target voltage to be set refers to: the target voltage to be set when the battery last changed from a charging state to a discharging state, and the discharging reference voltage refers to: the full charge voltage of the reference discharging curve of the battery; Updating the discharging curve of the battery based on the target full charge voltage for discharging, so as to perform power mapping in the discharging state according to the updated discharging curve.
2. The battery management method according to claim 1, characterized in that, The step of determining the target voltage to be set when the battery changes from a charging state to a discharging state includes: When the battery changes from a charging state to a discharging state, measuring the current voltage of the battery; Determining the difference between the current voltage and a preset voltage margin as the target voltage to be set.
3. The battery management method according to claim 1, wherein, The step of determining the target full charge voltage for discharging according to the target voltage to be set, the stored historical target voltage to be set, and the preset discharging reference voltage includes: Comparing the target voltage to be set with the historical target voltage to be set and the discharging reference voltage respectively; According to the comparison result, determining the target full charge voltage for discharging from the target voltage to be set and the discharging reference voltage.
4. The battery management method according to claim 3, wherein The step of determining the target full charge voltage for discharging from the target voltage to be set and the discharging reference voltage according to the comparison result includes: In the case where the target voltage to be set is higher than the historical target voltage to be set, and / or, the target voltage to be set is higher than the discharging reference voltage, determining the target voltage to be set as the target full charge voltage for discharging; In the case where the target voltage to be set is lower than or equal to the historical target voltage to be set, and the target voltage to be set is lower than or equal to the discharging reference voltage, determining the discharging reference voltage as the target full charge voltage for discharging.
5. The battery management method according to claim 1, characterized in that The step of updating the discharging curve of the battery based on the target full charge voltage for discharging includes: Based on the target full charge voltage for discharging, updating a specified power range segment in the discharging curve of the battery, where the lower power limit value corresponding to the specified power range segment is a specified power, and the upper power limit value corresponding to the specified power range segment is the full charge power.
6. The battery management method according to any one of claims 1 to 5, characterized in that The battery management method further includes: According to a preset charging reference voltage, determining a target full charge voltage for charging, where the target full charge voltage for charging is higher than the charging reference voltage, and the charging reference voltage refers to: the full charge voltage of the reference charging curve of the battery; Updating the charging curve of the battery based on the target full charge voltage for charging, so as to perform power mapping in the charging state according to the updated charging curve.
7. The battery management method according to claim 6, characterized in that, The battery management method further includes: Determining the highest full charge voltage of the battery; Among at least two measured voltage curve pairs preset, determining the measured voltage curve pair corresponding to the highest full charge voltage as the reference voltage curve pair, where the reference voltage curve pair includes: the reference charging curve and the reference discharging curve.
8. A battery management device, characterized in that, The battery management device is applied to an intelligent device equipped with a rechargeable battery. The battery management device includes: A first determination module, configured to determine a settable voltage when the battery changes from a charging state to a discharging state, where the settable voltage is determined according to the current voltage of the battery; A second determination module, configured to determine a target full-discharge voltage based on the settable voltage, a stored historical settable voltage, and a preset discharge reference voltage, where the historical settable voltage refers to the settable voltage determined when the battery last changed from a charging state to a discharging state, and the discharge reference voltage refers to the full-charge voltage of the reference discharge curve of the battery; A first update module, configured to update the discharge curve of the battery based on the target full-discharge voltage, so as to perform charge mapping in the discharging state according to the updated discharge curve.
9. An intelligent device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method described in any one of claims 1 to 7 is implemented.
10. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by one or more processors, the method described in any one of claims 1 to 7 is implemented.