Power correction method and device, computer readable medium and electronic device

CN117192387BActive Publication Date: 2026-10-30GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210603092.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2026-10-30
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

[0004]本公开的目的在于提供一种电量校正方法、电量校正装置、计算机可读介质和电子设备,进而至少在一定程度上避免仅依赖绝对量测量结果计算剩余电量导致的剩余电量不准确的问题

Benefits of technology

[0009]本公开的一种实施例所提供的电量校正方法,通过获取电子设备当前时刻的剩余电量,并根据当前时刻的充电属性值在预设映射关系曲线上确定目标数据点,在该目标数据点为预设映射关系曲线的变化率转折点或电量极值点时,可以根据目标数据点确定目标剩余电量,并利用目标剩余电量对当前时刻的剩余电量进行校正。在当前时刻的充电属性值在预设映射关系曲线上对应的目标数据点为预设映射关系曲线的变化率转折点或电量极值点时,可以利用充电过程中表现出来的充电属性进行特征因素转换,对原本使用的电量计算方式计算的剩余电量进行校正,避免仅依赖绝对测量结果计算剩余电量导致的误差或误差的累积。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117192387B_ABST
    Figure CN117192387B_ABST
Patent Text Reader

Abstract

The present disclosure provides a power correction method, a power correction device, a computer readable medium and an electronic device, and relates to the technical field of charging. The method comprises: obtaining the residual power of the electronic device at the current time; determining a target data point on a preset mapping relationship curve according to the charging attribute value at the current time; when the target data point is a change rate turning point or a power extreme point of the preset mapping relationship curve, determining a target residual power according to the target data point, and correcting the residual power at the current time by using the target residual power. When the target data point corresponding to the charging attribute value at the current time on the preset mapping relationship curve is the change rate turning point or the power extreme point of the preset mapping relationship curve, the present disclosure can use the charging attribute shown in the charging process for feature factor conversion, correct the residual power calculated by the originally used power calculation method, and avoid the error or accumulation of error caused by relying only on the absolute measurement result to calculate the residual power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of charging technology, and specifically to a power correction method, a power correction device, a computer-readable medium, and an electronic device. Background Technology

[0002] Common battery capacity estimation algorithms include the charge accumulation method and the open-circuit voltage method. The charge accumulation method measures the battery's main circuit current in real time and integrates the current over time to obtain the charge or discharge capacity. It then calculates the current capacity by adding to or subtracting from the initial capacity. The open-circuit voltage method utilizes the explicit and monotonic correspondence between the battery's open-circuit voltage and its remaining capacity to estimate the current capacity by obtaining an accurate open-circuit voltage.

[0003] In related technologies, when a new battery is activated, the point at which charging stops when both the cutoff voltage and cutoff current are simultaneously reached is typically considered the full charge endpoint. However, after repeated charge-discharge cycles, the battery undergoes aging and degradation. At this point, due to increased internal resistance from battery aging, if the same cutoff voltage and cutoff current are used as the full charge endpoint, the open-circuit voltage of the battery after a sufficiently long period of inactivity will be lower than the open-circuit voltage of the new battery at the full charge endpoint, and the actual charge level at the full charge endpoint will be less than the actual charge level of the new battery at the full charge endpoint. In this situation, it can lead to rapid decreases in battery charge after full charge (e.g., jumping from 100% to 97%), or sudden shutdowns due to the actual charge level being lower than the remaining charge displayed on electronic devices (e.g., shutdown at 5% charge). Summary of the Invention

[0004] The purpose of this disclosure is to provide a power correction method, power correction device, computer-readable medium, and electronic device, thereby at least to some extent avoiding the problem of inaccurate remaining power calculations caused by relying solely on absolute measurement results.

[0005] According to a first aspect of this disclosure, a power correction method is provided, applied to an electronic device, comprising: acquiring the remaining power of the electronic device at a current moment; determining a target data point on a preset mapping curve based on the charging attribute value at the current moment; wherein the preset mapping curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power; when the target data point is a rate-of-change inflection point or a power extreme point of the preset mapping curve, determining a target remaining power based on the target data point, and using the target remaining power to correct the remaining power at the current moment.

[0006] According to a second aspect of this disclosure, a power correction device is provided, applied to an electronic device, comprising: a data acquisition module for acquiring the remaining power of the electronic device at a current moment; a target determination module for determining a target data point on a preset mapping curve based on the charging attribute value at the current moment; wherein the preset mapping curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power; and a power correction module for determining a target remaining power based on the target data point when the target data point is a turning point of the rate of change of the preset mapping curve or a power extreme point, and using the target remaining power to correct the remaining power at the current moment.

[0007] According to a third aspect of this disclosure, a computer-readable medium is provided that stores a computer program thereon, which, when executed by a processor, implements the method described above.

[0008] According to a fourth aspect of this disclosure, an electronic device is provided, characterized in that it includes: a processor; and a memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method described above.

[0009] One embodiment of this disclosure provides a power correction method that obtains the remaining power of an electronic device at the current moment and determines a target data point on a preset mapping curve based on the charging attribute value at the current moment. When the target data point is an inflection point of the rate of change of the preset mapping curve or a power extreme point, the target remaining power can be determined based on the target data point, and the remaining power at the current moment can be corrected using the target remaining power. When the target data point corresponding to the charging attribute value at the current moment on the preset mapping curve is an inflection point of the rate of change of the preset mapping curve or a power extreme point, the charging attributes exhibited during the charging process can be used for feature factor conversion to correct the remaining power calculated by the original power calculation method, avoiding errors or error accumulation caused by relying solely on absolute measurement results to calculate the remaining power.

[0010] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0011] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0012] Figure 1A schematic diagram of an exemplary charging system to which embodiments of the present disclosure can be applied is shown;

[0013] Figure 2 A flowchart illustrating a power correction method in an exemplary embodiment of the present disclosure is shown schematically.

[0014] Figure 3 This diagram illustrates a preset mapping relationship curve between charging time and remaining power in an exemplary embodiment of the present disclosure.

[0015] Figure 4 This schematic diagram illustrates the composition of a power correction device in an exemplary embodiment of the present disclosure.

[0016] Figure 5 A schematic diagram of an electronic device to which embodiments of the present disclosure may be applied is shown. Detailed Implementation

[0017] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0018] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0019] Figure 1 A schematic diagram of a charging system according to an embodiment of this disclosure is shown. (Reference) Figure 1 The charging system 100 includes a power supply device 110 and an electronic device 120.

[0020] The power supply device 110 is, for example, a power adapter, a power bank, or other similar equipment.

[0021] Electronic device 120 can be a mobile terminal such as a mobile phone, game console, tablet computer, e-book reader, smart wearable device, MP4 (Moving Picture Experts Group Audio Layer IV) player, smart home device, AR (Augmented Reality) device, VR (Virtual Reality) device, etc. It can also be a rechargeable electronic device with charging function such as a power bank (such as a portable charger or travel charger), e-cigarette, wireless mouse, wireless keyboard, wireless headphones, Bluetooth speaker, etc. Alternatively, it can be a personal computer (PC), such as a laptop computer and a desktop computer.

[0022] Electronic device 120 connects to charging interface 111 in power supply device 110 via charging interface 121 to charge battery 122. Charging interface 121 can be, for example, a female connector of USB 2.0, USB 3.0, Micro USB, or USB Type-C. In some embodiments, charging interface 121 can also be a female connector of Lightning, or any other type of parallel or serial port capable of charging. Correspondingly, charging interface 111 can be a male connector of USB 2.0, USB 3.0, Micro USB, USB Type-C, or Lightning that is compatible with charging interface 121.

[0023] If the power supply device 110 can communicate with the electronic device 120 via charging interfaces 111 and 121, neither party needs to provide additional communication interfaces or other wireless communication modules. If charging interfaces 111 and 121 are USB interfaces, the power supply device 110 and the electronic device 120 can communicate using data lines (such as D+ and / or D- lines) within the USB interface. Alternatively, if charging interfaces 111 and 121 are USB interfaces supporting the Power Transfer (PD) communication protocol (such as USB Type-C), the power supply device 110 and the electronic device 120 can communicate based on the PD communication protocol. Furthermore, the power supply device 110 and the electronic device 120 can also communicate via other communication methods besides charging interfaces 111 and 121. For example, the power supply device 110 and the electronic device 120 can communicate wirelessly, such as via Near Field Communication (NFC).

[0024] Battery 122 may be a single cell or a lithium battery comprising multiple cells connected in series. Alternatively, battery 122 may also comprise multiple battery cells connected in series, each battery cell being a lithium battery comprising a single cell or multiple cells. When battery 131 comprises multiple cells or multiple battery cells, each battery cell or cell may be charged individually, or the multiple battery cells or multiple battery cells may be charged as a whole.

[0025] The following example, using battery 122, which includes two battery cells connected in series and each battery cell contains a single cell, illustrates how using multiple battery cells connected in series can both increase charging speed and reduce heat generation in electronic devices during high-current charging.

[0026] For electronic devices containing a single battery cell, the heat generated can be significant when charging that single cell with a large charging current. To ensure charging speed and alleviate heat generation during charging, the battery structure can be modified to use multiple battery cells connected in series, allowing for direct charging of these cells. This means directly applying the adapter's output voltage to each of the multiple battery cells. Compared to a single-cell solution (assuming the capacity of the single cell before the improvement is the same as the total capacity of the series-connected cells after the improvement), to achieve the same charging speed, the charging current applied to each of the multiple battery cells is approximately 1 / N of the charging current required for a single cell (where N is the number of series-connected battery cells). In other words, while maintaining the same charging speed, connecting multiple battery cells in series can significantly reduce the charging current, thereby further reducing heat generation during charging. Therefore, to improve charging speed and reduce heat generation during charging, electronic devices can utilize multiple series-connected battery cells.

[0027] In addition, the battery 122 may be, for example, a lithium battery comprising multiple cells connected in parallel, or may comprise multiple battery cells connected in parallel, each battery cell being a lithium battery comprising one or more cells.

[0028] In addition, the electronic device 120 also includes a control unit 123 for controlling the charging process of the battery 122. The control unit 123 may be implemented, for example, by a micro control unit (MCU), or by an application processor (AP) within the electronic device 120.

[0029] In related technologies, constant current constant voltage (CCCV) charging is commonly used to charge electronic devices. Specifically, the battery is first charged at a constant current until a cutoff voltage is reached, then charged at a constant voltage until a cutoff current is reached, at which point it is considered fully charged. Other similar charging methods typically consider the battery fully charged once both voltage and current reach certain values. For example, during battery charging, a battery is considered fully charged when the charging voltage reaches 4.4V and the charging current reaches 200mA simultaneously. However, after repeated charge-discharge cycles, the battery will experience aging and degradation.

[0030] In an exemplary embodiment, if the current is estimated using the open-circuit voltage method, due to the increase in internal resistance as the battery ages, if the same cutoff voltage and cutoff current are used as the charging node, the open-circuit voltage of the battery after being left to stand for a sufficiently long time will be less than the open-circuit voltage of the charging node of the new battery, and the actual charge at the charging node will be less than the actual charge at the charging node of the new battery. That is, the estimated remaining charge is 100%, but it does not actually reach 100%.

[0031] In an exemplary embodiment, for the method of estimating remaining charge using the charge accumulation method combined with the open-circuit voltage method, the remaining charge SOC (state of charge) = RM (Remaining capacity) / FCC (Full charge capacity) is used for estimation, where SOC is the remaining charge and FCC is the full charge capacity, which can be calculated as FCC = Qstart + ΔQ + RM.

[0032] Specifically, Qstart is the difference between the battery capacity at the initial discharge and the battery's maximum capacity. This value is typically 0 under full charge conditions. ΔQ is the amount of electricity discharged within a certain time period t. RM is the remaining capacity, i.e., the capacity value corresponding to the discharge from the current voltage to the shutdown voltage. Assuming the depth of discharge at the current voltage is DOD1, and the depth of discharge to the shutdown voltage at the current state is DOD0, then RM = Qmax * (DoD0 - DOD3). Here, Qmax is the battery's maximum capacity value, which can be calculated using Qmax = ΔQ / (DOD2 - DOD3). Specifically, ΔQ is the amount of electricity discharged within a certain time period t, DOD1 is the depth of discharge before discharge, and DOD2 is the depth of discharge after discharge time t. The depth of discharge (DoD) represents the percentage of battery discharge to the battery's rated capacity.

[0033] However, after the battery ages, if the same cutoff voltage and cutoff current are used as the full charge node, Qstart may not actually be 0, but will be set to 0 because the current node is at full charge. This will cause FCC to be smaller than the actual capacity, ultimately resulting in the calculated remaining capacity being greater than the actual value, i.e., the estimated remaining capacity is 100%, but the actual remaining capacity is less than 100%.

[0034] In the above embodiments, aging batteries may experience situations where the estimated remaining charge is 100%, but the actual charge level is less than 100%. In this case, because the battery is not actually fully charged, the charge may decrease rapidly after full charging (e.g., jumping from 100% to 97%), or the actual charge level may be lower than the remaining charge displayed on the electronic device, leading to a sudden shutdown (e.g., shutting down when the charge level is 5%).

[0035] Furthermore, for battery systems with particularly flat voltage changes during charging, such as lithium iron phosphate batteries, the voltage remains relatively unchanged even after significant changes in remaining charge. In such cases, estimating remaining charge based on charge accumulation or open-circuit voltage methods will result in substantial errors. For battery systems that expand significantly during charging, such as silicon anode systems, the open-circuit voltage generated during charging and discharging is different, leading to relaxation phenomena that also affect the accuracy of remaining charge estimation.

[0036] To address one or more of the aforementioned problems, this exemplary embodiment provides a power correction method. This power correction method can be applied to scenarios such as estimating the remaining power of electronic devices. (Reference) Figure 2 As shown, the power calibration method may include the following steps S210 to S230:

[0037] Step S210: Obtain the remaining battery power of the electronic device at the current moment.

[0038] Step S220: Determine the target data point on the preset mapping curve based on the charging attribute value at the current moment; wherein, the preset mapping curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power.

[0039] Step S230: When the target data point is the inflection point of the rate of change of the preset mapping relationship curve or the extreme value point of the power, the target remaining power is determined according to the target data point, and the remaining power at the current moment is corrected using the target remaining power.

[0040] In the power correction method provided in this example embodiment, when the target data point corresponding to the current charging attribute value on the preset mapping relationship curve is the inflection point of the rate of change of the preset mapping relationship curve or the power extreme point, the characteristic factor conversion can be performed by using the charging attribute exhibited during the charging process to correct the remaining power calculated by the original power calculation method, thereby avoiding the error or error accumulation caused by relying solely on absolute measurement results to calculate the remaining power.

[0041] The steps described above in this example implementation will now be explained in more detail.

[0042] In step S210, the remaining battery power of the electronic device at the current moment is obtained.

[0043] In one exemplary embodiment, when obtaining the remaining battery power of the electronic device at the current moment, the remaining battery power can first be calculated based on the battery's original remaining battery power calculation method. This original remaining battery power calculation method can be, for example, the ampere-hour integration method, the open-circuit voltage method, or the Kalman filter method, and this disclosure does not impose any specific limitations on it. It should be noted that when calculating the remaining battery power, it is necessary to collect the data required for calculating the remaining battery power during the charging process, such as the data used in the original remaining battery power calculation method.

[0044] In step S220, the target data point is determined on the preset mapping curve based on the charging attribute value at the current moment.

[0045] The charging attribute values ​​can include at least one corresponding value from among the charging attributes that change during charging, such as battery temperature, battery pressure, battery thickness, battery capacity, charging time, and charging voltage. Specifically, the charging attribute values ​​can include values ​​corresponding to two or more charging attributes. For example, the charging attribute values ​​can include values ​​corresponding to two charging attributes: battery temperature and battery pressure; or, for another example, the charging attribute values ​​can include values ​​corresponding to four charging attributes: battery temperature, battery pressure, battery thickness, and charging voltage. Battery pressure refers to the pressure exerted on the battery walls due to factors such as gas generated during charging and discharging; battery thickness refers to the distance between the inner and outer walls of the battery in the direction of expansion or contraction during charging and discharging.

[0046] The preset mapping curve includes multiple data points, each corresponding to a charging attribute value and a remaining battery capacity. In other words, the preset mapping curve is pre-defined and used to characterize the mapping relationship between the charging attribute value and the remaining battery capacity. Typically, the preset mapping curve can be either a curve representing the change in the remaining battery capacity of a standard battery with changes in charging attributes, or a curve representing the change in the charging attributes of a standard battery with changes in remaining battery capacity.

[0047] In an exemplary embodiment, after obtaining the charging attribute value at the current moment, the target data point corresponding to the charging attribute value can be directly determined on the curve representing the mapping relationship between the charging attribute value and the remaining power. Since each data point on the preset mapping relationship curve corresponds to a charging attribute value and a remaining power, after determining the charging attribute value at the current moment, a target data point can be determined on the preset mapping relationship curve for that charging attribute. Similarly, if multiple charging attributes correspond to different charging attribute values, a target data point can be determined on the preset mapping relationship curve for the corresponding charging attribute for a single charging attribute value. That is, the number of target data points can be determined as many times as there are values ​​corresponding to the current charging attribute value.

[0048] In one exemplary embodiment, before determining the target data point on the preset mapping curve, the preset mapping curve needs to be acquired in advance and stored in the electronic device for direct access during use. Specifically, a standard battery can be used to power the electronic device. During the charging process of the standard battery, multiple mapping relationships between the remaining power of the standard battery and its charging attributes are acquired, and then the preset mapping curve is obtained based on these multiple mapping relationships.

[0049] Specifically, a standard battery can be charged from a certain initial remaining charge level until the standard remaining charge reaches its maximum value, i.e., the actual remaining charge reaches 100%. Multiple charging attribute values ​​exhibited by the standard battery and the corresponding remaining charge levels are measured. Then, a preset mapping relationship curve is obtained based on these multiple charging attribute values ​​and their corresponding remaining charges. For example, a standard battery can be charged from a certain initial remaining charge level. For charging attributes such as battery temperature, n mapping relationships can be obtained: battery temperature 1 - remaining charge 1, battery temperature 2 - remaining charge 2, ..., battery temperature n - remaining charge n, for a total of n. Then, a preset mapping relationship curve is obtained based on these n mapping relationships.

[0050] In an exemplary embodiment, when obtaining a preset mapping relationship curve based on multiple mapping relationships, the preset mapping relationship can be obtained by fitting multiple mapping relationships. For example, after obtaining the n mapping relationships between battery temperature and remaining power in the example above, a coordinate system can be established with charging attribute (battery temperature) and remaining power as the horizontal and vertical axes, respectively. The n mapping relationships can be marked in the coordinate system to obtain n data points. Then, a series of data points can be fitted with a polynomial or other functional relationship curve to obtain the preset mapping relationship curve.

[0051] The standard battery typically includes batteries that have not experienced a situation where the estimated remaining charge is 100% but the actual charge is not 100%, i.e., new batteries that have not experienced aging or increased internal resistance; the obtained preset mapping curve typically includes at least one rate of change inflection point or charge extreme point.

[0052] Specifically, a rate-of-change inflection point refers to a data point on a pre-defined mapping curve where the direction of the rate of change of the mapping curve changes in the opposite direction before and after that point. For example, in a pre-defined mapping curve, if before a certain data point the rate of change of remaining battery power with charging attribute, or charging attribute with remaining battery power, gradually increases, and after that data point the rate of change of remaining battery power with charging attribute, or charging attribute with remaining battery power, gradually decreases, then that data point can be determined as satisfying the characteristic condition.

[0053] In an exemplary embodiment, when a polynomial function or similar function is used as a preset mapping curve, the inflection point of the rate of change can be determined on the mapping curve by performing mathematical operations on the function. When performing mathematical operations, methods such as differentiation can be used for calculation.

[0054] Specifically, the extreme point of the power consumption refers to the data point on the preset mapping relationship curve where the remaining power consumption is at its maximum and / or minimum value.

[0055] It should be noted that when the preset mapping curve represents the relationship between remaining battery capacity and charging attributes, or the relationship between charging attributes and remaining battery capacity, the first minimum value of the remaining battery capacity usually occurs at the start of charging, since the standard remaining battery capacity typically increases continuously during charging. However, because this minimum value is only related to the initial remaining battery capacity selected when establishing the preset mapping curve, the minimum value at the initial remaining battery capacity time can be excluded from the data point where the remaining battery capacity is at its minimum, to avoid incorrect correction.

[0056] Furthermore, when obtaining the current charging attribute value and multiple mapping relationships between the remaining capacity of the standard battery and charging attributes during the charging process, the measurement method for the charging attribute value should be consistent. For example, if charging attributes include battery temperature, battery pressure, battery thickness, etc., and among the multiple mapping relationships obtained, the charging attribute is the result obtained by measuring the battery surface, then the corresponding current charging attribute value obtained should also be the result obtained by measuring the battery surface. For example, measuring the temperature of the battery surface. Conversely, if among the multiple mapping relationships obtained, the charging attribute is the result obtained by measuring the battery interior, then the corresponding current charging attribute value obtained should also be the result obtained by measuring the battery interior. For example, measuring the temperature of the battery interior.

[0057] It should be noted that when obtaining the preset mapping curve in advance, the charging rate used to charge the standard battery can be a constant rate, for example, charging at a constant rate ≤ 1C; or it can be a variable rate, which is not specifically limited in this disclosure. Preferably, charging can be performed according to the charging strategy used when the battery is actually in use, that is, the charging strategy corresponding to the real-time charging data, so that the preset mapping curve is more closely matched with the actual usage scenario.

[0058] Furthermore, when obtaining the preset mapping curve, the initial remaining charge of the standard battery can be any value, such as 0%, 20%, or 45%. It should be noted that to adapt the preset mapping curve to more practical usage scenarios, corresponding preset mapping curves need to be established for different initial remaining charges. For example, if the current remaining charge of the electronic device is calculated based on 20%, meaning that the electronic device has 20% unused charge before this charging, then the obtained preset mapping curve can be based on the initial remaining charge of the standard battery at 20%.

[0059] For example, regarding charging time, when the initial charge level is 45%, a preset mapping curve can be obtained to characterize the relationship between charging time and remaining charge (assuming this mapping curve is as follows). Figure 3 The curve shown is used to obtain the target data point (the data point with 63% remaining power) on the preset mapping curve corresponding to a charging time of 10 minutes, based on the current charging time (assumed to be 10 minutes).

[0060] In an exemplary embodiment, when there are multiple charging attributes, a corresponding preset mapping curve can be established for each charging attribute. It should be noted that when charging with the same initial remaining power, the remaining power and the values ​​of various charging attributes have a one-to-one correspondence. Therefore, multiple two-dimensional curves can be used to represent the mapping relationship between each charging attribute and the remaining power; alternatively, a preset mapping curve established in a multi-dimensional space can simultaneously represent the mapping relationship between multiple charging attributes and the remaining power. This disclosure does not impose any special limitations on this approach.

[0061] In step S230, when the target data point is the inflection point of the rate of change of the preset mapping relationship curve or the extreme value point of the power, the target remaining power is determined according to the target data point, and the remaining power at the current moment is corrected using the target remaining power.

[0062] In an exemplary embodiment, if the target data point determined based on the charging attribute value at the current moment is a rate-of-change inflection point or a power extreme point of a preset mapping relationship curve, the remaining power corresponding to the rate-of-change inflection point or power extreme point in the preset mapping relationship curve can be directly used as the target remaining power, and the target remaining power can be directly used as the remaining power at the current moment. This allows subsequent calculations of the remaining power to be based on the corrected remaining power and continue the calculation using the battery's original remaining power calculation method. For example, at time t1, if the target data point determined by the charging attribute value at time t1 on the preset mapping relationship curve corresponding to the charging attribute is a rate-of-change inflection point or a power extreme point of the preset mapping relationship curve, then the remaining power corresponding to the target data point on the preset mapping relationship curve is used as the target remaining power to correct the remaining power at the current moment.

[0063] In an exemplary embodiment, when there are multiple charging attributes, when determining the target data point on the preset mapping relationship curve based on the charging attribute value at the current moment, for each charging attribute, the target data point corresponding to the charging attribute value at the current moment can be obtained on the preset mapping relationship curve corresponding to the charging attribute, and then the multiple data points determined according to the preset mapping relationship curves corresponding to the multiple charging attributes are all used as target data points.

[0064] Specifically, when there are multiple charging attributes, the current charging attribute value also corresponds to values ​​for multiple charging attributes. In this case, for each charging attribute, the target data point corresponding to the current charging attribute value can be determined on a preset mapping curve representing the mapping relationship between that charging attribute and the remaining power. For example, for a charging attribute like charging time, if the current charging time is 36 minutes, then the target data point corresponding to the current charging attribute value can be determined on a preset mapping curve representing the mapping relationship between that charging attribute and the remaining power. Figure 3 The data point with a horizontal axis value of 36 minutes on the preset mapping curve showing the mapping relationship between charging time and remaining power is determined as the target data point (the data point with 98% remaining power) corresponding to the charging attribute value of the current charging time.

[0065] It should be noted that when using a pre-defined mapping curve in a multi-dimensional space to represent the mapping relationship between various charging attributes and remaining power, if it is necessary to determine the target data point corresponding to a certain charging attribute, only the mapping relationship between that charging attribute and the remaining power needs to be considered. Representing the mapping relationship between various charging attributes and remaining power using a pre-defined mapping curve in a multi-dimensional space avoids redundant storage, thereby reducing the storage space occupied by the pre-defined mapping curve.

[0066] In an exemplary embodiment, when there are multiple charging attributes, the number of target data points determined is also multiple. In this case, it is very likely that one or more target data points are the inflection points of the rate of change of the corresponding preset mapping relationship curve or the extreme points of the battery capacity. Therefore, one or more of the target data points that are the inflection points of the rate of change of the corresponding preset mapping relationship curve or the extreme points of the battery capacity can be used as the filtered target data points, and then the target remaining battery capacity can be determined based on the filtered target data points. For example, for the two charging attributes of battery temperature and charging time, target data point 1 can be determined based on the current battery temperature on the preset mapping relationship curve corresponding to battery temperature, and target data point 2 can be determined based on the current charging time on the preset mapping relationship curve corresponding to charging time. At this point, the following situations may occur: Target data point 1 is the inflection point of the rate of change of the preset mapping relationship curve corresponding to battery temperature or the extreme point of battery capacity, while target data point 2 is not the inflection point of the rate of change of the preset mapping relationship curve corresponding to charging time or the extreme point of battery capacity. In this case, it can be determined that there is only one target data point after screening, namely target data point 1; or data point 1 is the inflection point of the rate of change of the preset mapping relationship curve corresponding to battery temperature or the extreme point of battery capacity, and data point 2 is also the inflection point of the rate of change of the preset mapping relationship curve corresponding to charging time or the extreme point of battery capacity. In this case, it can be determined that there are two target data points after screening, namely target data point 1 and target data point 2.

[0067] In one exemplary embodiment, after determining one or more target data points after filtering, the remaining power with the smallest absolute difference from the remaining power at the current moment among the remaining power corresponding to the one or more target data points can be taken as the target remaining power. Here, the absolute difference refers to the absolute value of the difference between the remaining power corresponding to the filtered target data point and the remaining power at the current moment.

[0068] Specifically, after determining one or more target data points after filtering, since each data point on the preset mapping curve corresponds to a charging attribute value and a remaining battery level, the remaining battery level corresponding to each filtered target data point can be obtained. At this point, the absolute difference between the remaining battery level corresponding to each filtered target data point and the remaining battery level at the current moment can be calculated, and the remaining battery level with the smallest absolute difference is taken as the target remaining battery level. Since even if the battery ages, the difference between the remaining battery level and the actual battery level is usually not too large; and since the preset mapping curve is determined based on a standard battery, the closest remaining battery level can be directly used as the target remaining battery level. This ensures the accuracy of the target remaining battery level while avoiding problems such as jumps in the displayed remaining battery level due to excessive correction.

[0069] Furthermore, in some embodiments, since the difference between the remaining capacity and the actual capacity is usually not too large even if the battery ages, an absolute difference threshold can be set for the aforementioned absolute difference. During the calibration process, the number of times the absolute difference between the remaining capacity determined based on a certain charging attribute value on a preset mapping curve and the remaining capacity corresponding to the current data point is greater than the absolute value threshold is recorded. If this number is greater than a preset number, it can be considered that the charging attribute is no longer applicable to the current scenario, or that the preset mapping curve corresponding to the charging attribute is incorrect. Therefore, the status of the charging attribute can be reported to update the setting of the preset mapping curve corresponding to the charging attribute, or to disable calibration based on the charging attribute.

[0070] Furthermore, in an exemplary embodiment, if the target remaining battery level is less than the current remaining battery level, directly using the target remaining battery level as the current remaining battery level might cause the displayed remaining battery level on the electronic device to suddenly decrease. To avoid this, the current remaining battery level can be displayed on the electronic device's display first. Then, using the target remaining battery level as the actual current battery level, the first real-time battery level of the electronic device is calculated using the battery's original remaining battery level calculation method. During this process, the displayed remaining battery level remains unchanged at the current remaining battery level until the calculated first real-time battery level equals the current remaining battery level. After this, the displayed remaining battery level is adjusted according to the battery's original remaining battery level calculation method, i.e., the first real-time battery level is displayed. By keeping the displayed remaining battery level constant, sudden drops in the displayed remaining battery level can be avoided.

[0071] Furthermore, in an exemplary embodiment, if the target remaining battery power is greater than the current remaining battery power, directly using the target remaining battery power as the current remaining battery power might cause the remaining battery power displayed on the electronic device to change abruptly. To avoid this, a second real-time battery power of the electronic device can be calculated on the display device based on the current remaining battery power, and a third real-time battery power can be calculated based on the target remaining battery power. Then, when the display device of the electronic device is turned off, the display on the display device will switch from the second real-time battery power to the third real-time battery power.

[0072] It should be noted that the process of switching from the second real-time battery level to the third real-time battery level can also be performed at any time when the display device of the electronic device is in the off state. In this case, it is only necessary to continue to calculate the second and third real-time battery levels of the electronic device based on the original remaining battery level calculation method, and then perform the above-mentioned process of switching from the second real-time battery level to the third real-time battery level at any time when the device is in the off state.

[0073] Furthermore, when the battery included in the electronic device is a battery of a specific battery system, the standard battery used to obtain the preset mapping curve should also be a standard battery of that specific battery system to ensure that the target remaining power used to correct the remaining power matches the system.

[0074] Specifically, common battery systems include lithium cobalt oxide, nickel-cobalt-manganese, nickel-cobalt-aluminum, lithium manganese oxide, lithium iron phosphate, graphite, silicon anode, hard carbon, sodium-ion, potassium-ion, metal-air, fuel cell, and lithium metal systems. When the remaining charge at the current moment corresponds to the remaining charge of a battery within one of these systems, a preset mapping curve for that system (e.g., the nickel-cobalt-aluminum system) needs to be obtained. This preset mapping curve is then used to determine the target data point. For example, when the battery in an electronic device is a lithium cobalt oxide system, the preset mapping curve needed should characterize the mapping relationship between the remaining charge and charging properties of a standard battery within the lithium cobalt oxide system. This ensures that the target remaining charge used for correcting the remaining charge matches the system.

[0075] In summary, this exemplary embodiment establishes a preset mapping curve between the charging attributes exhibited by a standard battery during charging and the remaining capacity. When the target data point on the preset mapping curve at the current moment corresponds to an inflection point of the rate of change of the preset mapping curve or a capacity extreme point, the target remaining capacity is determined based on this target data point. Furthermore, the remaining capacity at the current moment is corrected using this target remaining capacity. This ensures that the calculation of the remaining capacity does not depend on the absolute measurement results, avoiding errors caused by calculating the remaining capacity based on absolute measurement results and the accumulation of such errors. Moreover, this solution can be applied to various battery systems and various methods of calculating remaining capacity, demonstrating a wide range of applications.

[0076] It should be noted that the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0077] Further reference Figure 4 As shown, an exemplary embodiment of this disclosure provides a power correction device 400, applied to an electronic device, including a data acquisition module 410, a target determination module 420, and a power correction module 430. Wherein:

[0078] The data acquisition module 410 can be used to acquire the remaining battery power of the electronic device at the current moment.

[0079] The target determination module 420 can be used to determine a target data point on a preset mapping curve based on the charging attribute value at the current moment; wherein, the preset mapping curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power.

[0080] The power correction module 430 can be used to determine the target remaining power based on the target data point when the target data point is the inflection point of the rate of change of the preset mapping relationship curve or the extreme point of power, and use the target remaining power to correct the remaining power at the current moment.

[0081] In an exemplary embodiment, when there are multiple charging attributes, the target determination module 420 can be used to obtain multiple mapping relationships between the remaining power of the standard battery and the charging attribute value during the charging process when the electronic device is powered by a standard battery; and obtain a preset mapping relationship curve based on the multiple mapping relationships; wherein the preset mapping relationship curve includes at least one rate of change inflection point or power extreme point.

[0082] In one exemplary embodiment, the charging attribute value is a value corresponding to at least one of the following charging attributes: battery temperature, battery pressure, battery thickness, battery capacity, charging time, and charging voltage.

[0083] In an exemplary embodiment, when the charging attribute value includes values ​​corresponding to multiple charging attributes, each charging attribute corresponds to a preset mapping relationship curve. In this case, the target determination module 420 can be used to determine a target data point on the preset mapping relationship curve corresponding to each charging attribute, based on the charging attribute value at the current moment; when the target data point is not a rate-of-change inflection point or a power extreme point of the preset mapping relationship curve corresponding to the charging attribute, the target data point is deleted to obtain filtered target data points; the remaining power with the smallest absolute difference between the remaining power corresponding to one or more filtered target data points and the remaining power at the current moment is taken as the target remaining power. In an exemplary embodiment, when the target remaining power is less than the remaining power at the current moment, the power correction module 430 can be used to display the remaining power at the current moment on the display device of the electronic device; calculate the first real-time power of the electronic device based on the target remaining power; keep the display on the display device unchanged until the first real-time power is equal to the remaining power at the current moment, and then display the first real-time power on the display device.

[0084] In an exemplary embodiment, when the target remaining power is greater than the remaining power at the current moment, the power correction module 430 can be used to calculate the second real-time power of the electronic device based on the remaining power at the current moment and display the second real-time power on the display device of the electronic device; calculate the third real-time power of the electronic device based on the target remaining power; and when the display device of the electronic device is turned off, switch the display on the display device from the second real-time power to the third real-time power.

[0085] The specific details of each module in the above-mentioned device have been described in detail in the method section of the implementation. For any undisclosed details, please refer to the implementation content of the method section, and therefore will not be repeated here.

[0086] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0087] An exemplary embodiment of this disclosure also provides an electronic device for implementing a power correction method, which may be... Figure 1 Electronic device 120. The electronic device includes at least a processor and a memory, the memory for storing executable instructions of the processor, the processor being configured to perform a power correction method by executing the executable instructions.

[0088] The following is based on Figure 5 Taking a mobile terminal 500 as an example, the construction of the electronic device in this disclosure embodiment will be described by way of example. Those skilled in the art will understand that, apart from components specifically designed for mobile purposes, Figure 5 The structure shown can also be applied to fixed-type devices. In other embodiments, the mobile terminal 500 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The components illustrated can be implemented in hardware, software, or a combination of software and hardware. The interface connections between the components are only schematic and do not constitute a limitation on the structure of the mobile terminal 500. In other embodiments, the mobile terminal 500 may also adopt a similar design to... Figure 5 Different interface connection methods, or combinations of multiple interface connection methods.

[0089] like Figure 5As shown, the mobile terminal 500 may specifically include: a processor 510, internal memory 521, external memory interface 522, Universal Serial Bus (USB) interface 530, charging management module 540, power management module 541, battery 542, antenna 1, antenna 2, mobile communication module 550, wireless communication module 560, audio module 570, speaker 571, receiver 572, microphone 573, headphone jack 574, sensor module 580, display screen 590, camera module 591, indicator 592, motor 593, buttons 594, and subscriber identification module (SIM) card interface 595, etc. The sensor module 580 may include a depth sensor 5801, a pressure sensor 5802, a gyroscope sensor 5803, etc.

[0090] The charging management module 540 receives charging input from the charger. The power management module 541 connects the battery 542, the charging management module 540, and the processor 510. The power management module 541 receives input from the battery 542 and / or the charging management module 540 to power the processor 510, internal memory 521, display screen 590, camera module 591, and wireless communication module 560, etc.

[0091] The mobile terminal 500 implements display functions through a GPU, a display screen 590, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 590 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. The processor 510 may include one or more GPUs, which execute program instructions to generate or modify display information. In some embodiments, the remaining battery power of the mobile terminal can be displayed through the aforementioned display functions.

[0092] Furthermore, exemplary embodiments of this disclosure also provide a computer-readable storage medium storing a program product capable of implementing the methods described above. In some possible embodiments, various aspects of this disclosure can also be implemented as a program product including program code, which, when run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure, such as executing... Figure 2 Any one or more steps in the process.

[0093] It should be noted that the computer-readable medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0094] In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.

[0095] Furthermore, program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0096] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0097] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.

Claims

1. A power calibration method, applied to electronic devices, characterized in that, include: Obtain the remaining battery power of the electronic device at the current moment; Based on the charging attribute value at the current moment, a target data point is determined on a preset mapping relationship curve; wherein, the preset mapping relationship curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power; the preset mapping relationship curve is obtained and stored in the electronic device based on multiple mapping relationships between the remaining power and charging attribute value of the standard battery during the charging process when the electronic device is powered by a standard battery; the preset mapping relationship curve includes at least one rate of change inflection point or power extreme point; When the target data point is the inflection point of the rate of change of the preset mapping relationship curve or the extreme point of the power, the target remaining power is determined according to the remaining power corresponding to the target data point in the preset mapping relationship curve, and the target remaining power is used to correct the remaining power at the current moment. When the charging attribute value includes values ​​corresponding to multiple charging attributes, each charging attribute corresponds to a preset mapping relationship curve. For each charging attribute, based on the charging attribute value at the current moment, a target data point is determined on the preset mapping relationship curve corresponding to that charging attribute. When the target data point is not a rate of change inflection point or a power extreme point of the preset mapping relationship curve corresponding to that charging attribute, the target data point is deleted to obtain filtered target data points. Among the remaining power corresponding to the filtered target data points, the remaining power with the smallest absolute difference from the remaining power at the current moment is taken as the target remaining power.

2. The method according to claim 1, characterized in that, The charging attribute value is a value corresponding to at least one of the following charging attributes: Battery temperature, battery pressure, battery thickness, battery capacity, charging time, and charging voltage.

3. The method according to claim 1, characterized in that, When the target remaining battery power is less than the remaining battery power at the current time, the method includes: The remaining battery power at the current moment is displayed on the display device of the electronic device; Calculate the first real-time battery level of the electronic device based on the target remaining battery level; The display on the display device remains unchanged until the first real-time battery level equals the remaining battery level at the current moment, after which the first real-time battery level is displayed on the display device.

4. The method according to claim 1, characterized in that, When the target remaining battery power is greater than the remaining battery power at the current moment, the method includes: The second real-time battery level of the electronic device is calculated based on the remaining battery level at the current moment, and the second real-time battery level is displayed on the display device of the electronic device. Calculate the third real-time battery level of the electronic device based on the target remaining battery level; When the display device of the electronic device is turned off, the display on the display device is switched from the second real-time power level to the third real-time power level.

5. A power correction device, applied to electronic equipment, characterized in that, include: The data acquisition module is used to acquire the remaining battery power of the electronic device at the current moment; The target determination module is used to determine a target data point on a preset mapping curve based on the charging attribute value at the current moment; wherein, the preset mapping curve includes multiple data points, and each data point corresponds to a charging attribute value and a remaining power; the preset mapping curve is obtained and stored in the electronic device based on multiple mapping relationships between the remaining power and charging attribute value of the standard battery during the charging process when the electronic device is powered by a standard battery; the preset mapping curve includes at least one rate-of-change inflection point or power extreme point; The power correction module is used to determine the target remaining power based on the remaining power corresponding to the target data point in the preset mapping relationship curve when the target data point is the inflection point of the rate of change of the preset mapping relationship curve or the power extreme point, and to correct the remaining power at the current moment using the target remaining power. When the charging attribute value includes values ​​corresponding to multiple charging attributes, each charging attribute corresponds to a preset mapping relationship curve. For each charging attribute, based on the charging attribute value at the current moment, a target data point is determined on the preset mapping relationship curve corresponding to that charging attribute. When the target data point is not a rate of change inflection point or a power extreme point of the preset mapping relationship curve corresponding to that charging attribute, the target data point is deleted to obtain filtered target data points. Among the remaining power corresponding to the filtered target data points, the remaining power with the smallest absolute difference from the remaining power at the current moment is taken as the target remaining power.

6. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 4.

7. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 4 by executing the executable instructions.

Citation Information

Patent Citations

  • Method for estimating charge states of lithium ion battery

    CN102074757A

  • Battery pack state-of-charge correction method and device

    CN110888065A