WO2016177239A1 - Electric quantity display method and device - Google Patents
Electric quantity display method and device Download PDFInfo
- Publication number
- WO2016177239A1 WO2016177239A1 PCT/CN2016/078479 CN2016078479W WO2016177239A1 WO 2016177239 A1 WO2016177239 A1 WO 2016177239A1 CN 2016078479 W CN2016078479 W CN 2016078479W WO 2016177239 A1 WO2016177239 A1 WO 2016177239A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- battery
- soc
- rbat
- obtaining
- power
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
Definitions
- the present invention relates to the field of terminals, and in particular, to a power display method and apparatus.
- Terminals such as PCs and mobile phones are commonly used tools in daily life and work. Users often need to judge the time that the terminal can be used according to the display power of the terminal, and then decide how long to replenish the terminal. However, due to factors affecting the power of the terminal, such as battery life, temperature, system power consumption, etc., the terminal displays an error between the power and the actual power, which is not conducive to improving the user experience.
- An object of the present invention is to provide a power display method and device, which can reduce the error between the display power and the actual power of the terminal, so that the terminal displays the power more accurately and improves the user experience.
- An embodiment of the present invention provides a power display method, which is applied to a terminal, including: acquiring power parameter information of a battery; and obtaining a corrected power value SOC 1 (State of Charge) according to the battery power parameter information; displaying the correction The electricity value is SOC 1 .
- the acquiring the power parameter information of the terminal includes: acquiring a current battery value SOC2 and an unavailable power value SOC3.
- the obtaining the corrected power value SOC1 according to the power parameter information of the battery includes: determining a power threshold in a sufficient battery state; acquiring a difference between the battery sufficient state power threshold and the SOC3; and acquiring the battery The ratio of SOC2 to the difference gives SOC1.
- the SOC3 includes: acquiring a current system power consumption Isys of the terminal, the battery resistance Rbat, and a voltage V0 when the preset battery power is 0; acquiring the SOC3 according to the Rbat, the Isys, and the V0. .
- acquiring the Rbat includes: acquiring a current battery temperature T, a current power value SOC2, and a battery usage time t; acquiring the Rbat according to the T, the SOC2, and the t.
- acquiring the Rbat according to the T and the SOC2 includes: acquiring the Rbat according to a temperature and battery resistance comparison table; and acquiring the Rbat according to a power and a battery resistance comparison table.
- obtaining the SOC3 according to the Rbat, the Isys, and the preset V0 further includes: obtaining, by using a battery charge and discharge graph, the SOC3 according to a sum of the product of the Rbat and the Isys and the V0.
- Another embodiment of the present invention provides an apparatus for displaying a power quantity, including: an obtaining module, a calculating module, and a display module; the obtaining module is configured to acquire power quantity parameter information of the battery; and the calculating module is configured to be according to the The battery power parameter information obtains the corrected power value SOC 1 ; and the display module is configured to display the corrected power value SOC 1 .
- the acquiring module includes: acquiring a current battery value SOC2 and an unavailable power value SOC3.
- the calculating module includes: determining a power threshold in a sufficient battery state; acquiring a difference between the battery sufficient state power threshold and the SOC3; and acquiring a ratio of the battery SOC2 to the difference, SOC1.
- the SOC3 includes: acquiring a current system power consumption Isys of the terminal, the battery resistance Rbat, and a voltage V0 when the preset battery power is 0; acquiring the SOC3 according to the Rbat, the Isys, and the V0. .
- acquiring the Rbat includes: acquiring a current battery temperature T, a current power value SOC2, and a battery usage time t; acquiring the Rbat according to the T, the SOC2, and the t.
- acquiring the Rbat according to the T and the SOC2 includes: acquiring the Rbat according to a temperature and battery resistance comparison table; and acquiring the Rbat according to a power and a battery resistance comparison table.
- obtaining the SOC3 according to the Rbat, the Isys, and the preset V0 further includes: obtaining, by using a battery charge and discharge graph, the SOC3 according to a sum of the product of the Rbat and the Isys and the V0.
- Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
- the power display method and device provided by the embodiments of the present invention optimize the calculation of the terminal power according to various parameter information that affects the power value of the terminal, and can reduce the error between the display value and the actual value of the terminal power.
- the terminal displays more accurate power and helps improve the user experience.
- FIG. 1 is a flow chart of a method for displaying a power quantity according to an embodiment of the present invention.
- FIG. 2 is a graph showing charge and discharge curves of a battery according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a power display device according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for displaying a power quantity according to an embodiment of the present invention. As shown in FIG. 1 , an embodiment of the present invention includes:
- the acquiring the SOC 3 includes:
- SOC 3 look_up (V 0 + Isys ⁇ Rbat);
- look_up refers to the linear interpolation of the discrete corresponding points on the voltage-electricity curve, and the operation symbol of the corresponding electric quantity value with small error is obtained.
- the SOC 3 can be found by the battery charge and discharge graph.
- the Rbat is related to the current battery temperature T, the current power value SOC 2, and the battery usage time t.
- the temperature and battery internal resistance comparison table obtain Rbat; according to the power and battery internal resistance comparison table, obtain Rbat; according to the battery battery condition and use time t, obtain Rbat;
- the electric quantity and the internal resistance of the battery are statistically analyzed according to experimental values of changes in internal resistance of the battery with changes in electric quantity.
- the preset power battery has a power threshold value of 100%
- SOC 1 SOC 2 ⁇ (100% – SOC 3 ). SOC 1 is obtained according to the correction formula.
- the preset electric quantity correction formula SOC 1 SOC 2 ⁇ (100% - SOC 3 ) is evolved by the following steps:
- SOC 1 (SOC 4 - SOC 3 ) ⁇ (100% – SOC 3 )
- SOC4 is the battery power value in the open state.
- OCV is the open circuit voltage of the battery and Vbat is the current voltage value of the battery.
- look_up (Vbat) is the acquired SOC 2 .
- the preset SOC 1 correction formula in the embodiment of the present invention is:
- SOC 1 SOC 2 ⁇ (100% – SOC 3 )
- the battery internal resistance Rbat is increased by 0.02 ⁇ every 1000 hours, and the battery with a voltage value V0 of 3V when the battery power is 0 is introduced:
- Step S10 obtaining a battery SOC 2 of 20%
- the acquisition terminal Isys is 2000 mA, T is 20 ° C, and t is 2000 hours, so that the SOC 3 is obtained as 5%.
- the steps are:
- the battery is obtained at 25 ° C, the battery is in a sufficient state of electricity 100%, the internal resistance of the battery itself is 0.2 ⁇ ;
- the battery usage time is 2000 hours, and the internal resistance change of the battery is 0.04 ⁇ ;
- the battery is 5% when the battery voltage is 3.6V, that is, SOC 3 is obtained.
- Step S20 Correct the formula according to the preset power amount:
- FIG. 3 is a schematic diagram of an apparatus for displaying a power quantity according to an embodiment of the present invention. As shown in FIG. 3, the apparatus of the embodiment of the present invention includes:
- Obtaining module 1 configured to obtain battery power parameter information
- the calculating module 2 is configured to obtain a corrected power value SOC 1 according to the battery power parameter information
- the display module 3 is arranged to display the corrected power value SOC 1 .
- the acquiring the power parameter information of the terminal by the acquiring module 1 includes:
- the current battery value SOC 2 and the unavailable power value SOC 3 are the current battery value SOC 2 and the unavailable power value SOC 3 .
- the acquisition of SOC 3 includes:
- obtaining the Rbat includes:
- the Rbat is obtained according to the battery life.
- the calculating module 2 obtains the SOC 1 according to the power parameter information, including:
- the preset battery has a power threshold of 100%
- the SOC 1 is obtained according to the preset electric quantity correction formula.
- Embodiments of the present invention also provide a storage medium.
- an execution instruction is stored in the storage medium, and the execution instruction is used to execute the foregoing method.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- the invention provides a power display method and device.
- the electric quantity correction formula is used to acquire and display the electric quantity of the terminal, and the error of the display value and the actual value of the electric quantity of the terminal can be reduced, so that the terminal displays More accurate battery power is beneficial to enhance the user experience.
- the power display method and apparatus provided by the embodiments of the present invention have the following beneficial effects: according to various parameter information affecting the power value of the terminal, the power consumption correction formula is used to optimize the calculation of the terminal power, thereby reducing the power of the terminal. The error between the displayed value and the actual value makes the terminal display more accurate power, which is beneficial to improve the user experience.
Abstract
Disclosed are an electric quantity display method and device, which are applied to a terminal. The method comprises: acquiring electric quantity parameter information about a battery (S10); according to the electric quantity parameter information about the battery, obtaining a corrected electric quantity value SOC1 (S20); and displaying the corrected electric quantity value SOC1 (S30). The method can reduce an error between a displayed value and an actual value of an electric quantity of a terminal, so that the terminal more accurately displays the electric quantity, thereby aiding in improving the user experience.
Description
本发明涉及终端领域,尤其涉及一种电量显示方法和装置。The present invention relates to the field of terminals, and in particular, to a power display method and apparatus.
PC、手机等终端的是日常生活和工作中的普遍使用的工具,用户经常需要根据终端显示电量来判断终端可使用的时间进而决定多久为终端进行电量补充。但是由于影响终端电量的因素较多,例如电池使用时间、温度、系统功耗等,导致终端显示电量与实际电量存在误差,不利于提升用户体验。Terminals such as PCs and mobile phones are commonly used tools in daily life and work. Users often need to judge the time that the terminal can be used according to the display power of the terminal, and then decide how long to replenish the terminal. However, due to factors affecting the power of the terminal, such as battery life, temperature, system power consumption, etc., the terminal displays an error between the power and the actual power, which is not conducive to improving the user experience.
发明内容Summary of the invention
本发明的目的在于提供一种电量显示方法及装置,能够减小终端显示电量与实际电量的误差,使终端显示电量更准确,提高用户的使用体验。An object of the present invention is to provide a power display method and device, which can reduce the error between the display power and the actual power of the terminal, so that the terminal displays the power more accurately and improves the user experience.
本发明实施例提供了一种电量显示方法,应用于终端,包括:获取电池的电量参数信息;根据所述电池的电量参数信息,获取修正电量值SOC1(State of Charge);显示所述修正电量值SOC1。An embodiment of the present invention provides a power display method, which is applied to a terminal, including: acquiring power parameter information of a battery; and obtaining a corrected power value SOC 1 (State of Charge) according to the battery power parameter information; displaying the correction The electricity value is SOC 1 .
可选地,所述获取终端的电量参数信息包括:获取电池当前电量值SOC2和不可用电量值SOC3。Optionally, the acquiring the power parameter information of the terminal includes: acquiring a current battery value SOC2 and an unavailable power value SOC3.
可选地,根据所述电池的电量参数信息,获得修正电量值SOC1包括:预设电池充足状态下电量阈值;获取所述电池充足状态电量阈值与所述SOC3的差值;再获取所述电池SOC2与所述差值的比值,得到SOC1。Optionally, the obtaining the corrected power value SOC1 according to the power parameter information of the battery includes: determining a power threshold in a sufficient battery state; acquiring a difference between the battery sufficient state power threshold and the SOC3; and acquiring the battery The ratio of SOC2 to the difference gives SOC1.
可选地,所述SOC3包括:获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;根据所述Rbat、所述Isys和所述V0获取所述SOC3。Optionally, the SOC3 includes: acquiring a current system power consumption Isys of the terminal, the battery resistance Rbat, and a voltage V0 when the preset battery power is 0; acquiring the SOC3 according to the Rbat, the Isys, and the V0. .
可选地,获取所述Rbat包括:获取当前电池温度T、当前电量值SOC2和电池使用时间t;根据所述T、所述SOC2和所述t获取所述Rbat。Optionally, acquiring the Rbat includes: acquiring a current battery temperature T, a current power value SOC2, and a battery usage time t; acquiring the Rbat according to the T, the SOC2, and the t.
可选地,根据所述T和所述SOC2获取所述Rbat包括:根据温度与电池电阻对照表获取所述Rbat;根据电量与电池电阻对照表获取所述Rbat。Optionally, acquiring the Rbat according to the T and the SOC2 includes: acquiring the Rbat according to a temperature and battery resistance comparison table; and acquiring the Rbat according to a power and a battery resistance comparison table.
可选地,根据所述Rbat、Isys和预设V0获取所述SOC3还包括:根据所述Rbat和Isys的乘积与所述V0之和,利用电池充放电曲线图查找获取到所述SOC3。Optionally, obtaining the SOC3 according to the Rbat, the Isys, and the preset V0 further includes: obtaining, by using a battery charge and discharge graph, the SOC3 according to a sum of the product of the Rbat and the Isys and the V0.
本发明另一实施例提供了一种电量显示的装置,包括:获取模块、计算模块和显示模块;所述获取模块,设置为获取电池的电量参数信息;所述计算模块,设置为根据所述电池的电
量参数信息,获得修正电量值SOC1;所述显示模块,设置为显示所述修正电量值SOC1。Another embodiment of the present invention provides an apparatus for displaying a power quantity, including: an obtaining module, a calculating module, and a display module; the obtaining module is configured to acquire power quantity parameter information of the battery; and the calculating module is configured to be according to the The battery power parameter information obtains the corrected power value SOC 1 ; and the display module is configured to display the corrected power value SOC 1 .
可选地,所述获取模块包括:获取电池当前电量值SOC2和不可用电量值SOC3。Optionally, the acquiring module includes: acquiring a current battery value SOC2 and an unavailable power value SOC3.
可选地,所述计算模块包括:预设电池充足状态下电量阈值;获取所述电池充足状态电量阈值与所述SOC3的差值;再获取所述电池SOC2与所述差值的比值,得到SOC1。Optionally, the calculating module includes: determining a power threshold in a sufficient battery state; acquiring a difference between the battery sufficient state power threshold and the SOC3; and acquiring a ratio of the battery SOC2 to the difference, SOC1.
可选地,所述SOC3包括:获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;根据所述Rbat、所述Isys和所述V0获取所述SOC3。Optionally, the SOC3 includes: acquiring a current system power consumption Isys of the terminal, the battery resistance Rbat, and a voltage V0 when the preset battery power is 0; acquiring the SOC3 according to the Rbat, the Isys, and the V0. .
可选地,获取所述Rbat包括:获取当前电池温度T、当前电量值SOC2和电池使用时间t;根据所述T、所述SOC2和所述t获取所述Rbat。Optionally, acquiring the Rbat includes: acquiring a current battery temperature T, a current power value SOC2, and a battery usage time t; acquiring the Rbat according to the T, the SOC2, and the t.
可选地,根据所述T和所述SOC2获取所述Rbat包括:根据温度与电池电阻对照表获取所述Rbat;根据电量与电池电阻对照表获取所述Rbat。Optionally, acquiring the Rbat according to the T and the SOC2 includes: acquiring the Rbat according to a temperature and battery resistance comparison table; and acquiring the Rbat according to a power and a battery resistance comparison table.
可选地,根据所述Rbat、Isys和预设V0获取所述SOC3还包括:根据所述Rbat和Isys的乘积与所述V0之和,利用电池充放电曲线图查找获取到所述SOC3。Optionally, obtaining the SOC3 according to the Rbat, the Isys, and the preset V0 further includes: obtaining, by using a battery charge and discharge graph, the SOC3 according to a sum of the product of the Rbat and the Isys and the V0.
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述实施例中的方法。Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
本发明实施例所提供的电量显示方法和装置,根据影响终端电量值的各项参数信息,利用电量修正公式对终端电量进行了优化计算,能够减小终端电量显示值和实际值的误差,使终端显示电量更准确,有利于提升用户体验。The power display method and device provided by the embodiments of the present invention optimize the calculation of the terminal power according to various parameter information that affects the power value of the terminal, and can reduce the error between the display value and the actual value of the terminal power. The terminal displays more accurate power and helps improve the user experience.
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例共同用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification, which is used together with the embodiments of the present application to explain the technical solutions of the present invention, and does not constitute a limitation of the technical solutions of the present invention.
图1是本发明实施例一种电量显示方法的流程图。1 is a flow chart of a method for displaying a power quantity according to an embodiment of the present invention.
图2是本发明实施例电池充放电曲线图。2 is a graph showing charge and discharge curves of a battery according to an embodiment of the present invention.
图3是本发明实施例一种电量显示装置的示意图。3 is a schematic diagram of a power display device according to an embodiment of the present invention.
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例一种电量显示方法的流程图,如图1所示,本发明实施例包括:FIG. 1 is a flowchart of a method for displaying a power quantity according to an embodiment of the present invention. As shown in FIG. 1 , an embodiment of the present invention includes:
S10、获取终端的电量参数信息;
S10. Obtain the power parameter information of the terminal.
其中,包括获取电池当前电量值SOC2和不可用电量值SOC3;Wherein, the acquisition of the current battery value SOC 2 and the unavailable power value SOC 3 ;
所述获取SOC3包括:The acquiring the SOC 3 includes:
获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;Obtaining the current system power consumption Isys of the terminal and the battery resistance Rbat and the voltage V 0 when the preset battery power is 0 ;
根据所述Rbat、所述Isys和所述V0获取所述SOC3,According to the Rbat, and the V 0 of the Isys acquires the SOC 3,
即:SOC3=look_up(V0+Isys×Rbat);That is: SOC 3 = look_up (V 0 + Isys × Rbat);
其中,look_up是指对电压-电量曲线上的离散对应点进行线性插值,求出误差较小的对应电量值的运算符号。Among them, look_up refers to the linear interpolation of the discrete corresponding points on the voltage-electricity curve, and the operation symbol of the corresponding electric quantity value with small error is obtained.
通过电池充放电曲线图可查找获取SOC3。The SOC 3 can be found by the battery charge and discharge graph.
其中,所述Rbat与当前电池温度T、当前电量值SOC2和电池使用时间t有关。在本实施例中,根据温度与电池内阻对照表,获取Rbat;根据电量与电池内阻对照表,获取Rbat;根据电池出厂时的电池参数和使用时间t,获取Rbat;Wherein, the Rbat is related to the current battery temperature T, the current power value SOC 2, and the battery usage time t. In this embodiment, according to the temperature and battery internal resistance comparison table, obtain Rbat; according to the power and battery internal resistance comparison table, obtain Rbat; according to the battery battery condition and use time t, obtain Rbat;
其中所述电量与电池内阻对照表根据电池内阻随电量变化而变化的实验值统计分析得出。The electric quantity and the internal resistance of the battery are statistically analyzed according to experimental values of changes in internal resistance of the battery with changes in electric quantity.
S20、根据所述电池的电量参数信息,获得修正电量值SOC1;S20, obtaining a corrected power value SOC 1 according to the battery power parameter information;
本发明实施例中,预设电池充足状态下电量阀值为100%;In the embodiment of the present invention, the preset power battery has a power threshold value of 100%;
预设电量修正公式:SOC1=SOC2÷(100%–SOC3)。根据所述修正公式得到SOC1。Preset power correction formula: SOC 1 = SOC 2 ÷ (100% – SOC 3 ). SOC 1 is obtained according to the correction formula.
所述预设电量修正公式SOC1=SOC2÷(100%–SOC3)是由下述步骤演化得到:The preset electric quantity correction formula SOC 1 = SOC 2 ÷ (100% - SOC 3 ) is evolved by the following steps:
修正电量值经验公式:Correct the empirical formula of the electricity value:
SOC1=(SOC4-SOC3)÷(100%–SOC3)SOC 1 = (SOC 4 - SOC 3 ) ÷ (100% – SOC 3 )
其中,SOC4为开路状态下电池电量值。Among them, SOC4 is the battery power value in the open state.
在本实施例中,In this embodiment,
SOC4=look_up(OCV)=look_up(Vbat+Isys×Rbat);SOC 4 = look_up (OCV) = look_up (Vbat + Isys × Rbat);
SOC3=look_up(V0+Isys×Rbat);SOC 3 = look_up (V 0 + Isys × Rbat);
其中,OCV为电池开路电压值(Open circuit voltage)、Vbat为电池当前电压值。Where OCV is the open circuit voltage of the battery and Vbat is the current voltage value of the battery.
由于,开路状态下与系统运行时look_up(Isys×Rbat)值近似相等,可以抵消。Because the open_up state and the system running look_up (Isys × Rbat) values are approximately equal, can be offset.
经上述电量抵消后,After the above electricity is offset,
SOC1=look_up(Vbat)÷{100%–look_up(V0+Isys×Rbat)};SOC 1 =look_up(Vbat)÷{100%–look_up(V 0 +Isys×Rbat)};
其中,look_up(Vbat)即为获取到的所述SOC2。
Wherein, look_up (Vbat) is the acquired SOC 2 .
所以本发明实施例预设SOC1修正公式为:Therefore, the preset SOC 1 correction formula in the embodiment of the present invention is:
SOC1=SOC2÷(100%–SOC3)SOC 1 = SOC 2 ÷ (100% – SOC 3 )
根据所述预设电量修正公式SOC1=SOC2÷(100%–SOC3),得到SOC1。According to the preset electric quantity correction formula SOC 1 =SOC 2 ÷(100%−SOC 3 ), SOC 1 is obtained.
完成S20,进入S30,显示所述修正电量值SOC1。Upon completion of S20, the process proceeds to S30, and the corrected power value SOC 1 is displayed.
为进一步详细介绍本发明技术方案,本发明实施例选取电池内阻Rbat随使用时间每隔1000小时增加0.02Ω,电池电量为0时的电压值V0为3V的电池进行介绍:In order to further describe the technical solution of the present invention in detail, in the embodiment of the present invention, the battery internal resistance Rbat is increased by 0.02 Ω every 1000 hours, and the battery with a voltage value V0 of 3V when the battery power is 0 is introduced:
步骤S10、获取电池SOC2为20%;Step S10, obtaining a battery SOC 2 of 20%;
获取终端Isys为2000mA、T为20℃、t为2000小时,从而获取SOC3为5%。步骤为:The acquisition terminal Isys is 2000 mA, T is 20 ° C, and t is 2000 hours, so that the SOC 3 is obtained as 5%. The steps are:
由表1温度与电池内阻对照表和电量与表2电池内阻对照表获取所述电池在25℃,电池在充足状态电量100%时,电池自身内阻为0.2Ω;From the temperature and battery internal resistance comparison table and the battery and the internal resistance table of Table 2, the battery is obtained at 25 ° C, the battery is in a sufficient state of electricity 100%, the internal resistance of the battery itself is 0.2 Ω;
由表1温度与电池内阻对照表可获取,相较电池温度为25℃,电池温度当前温度20℃时,电池内阻变化量为0.01Ω;It can be obtained from the table 1 temperature and battery internal resistance comparison table, compared with the battery temperature is 25 ° C, the battery temperature current temperature 20 ° C, the battery internal resistance change is 0.01 Ω;
由表2电量与电池内阻对照表可获取,相较电量为100%未使用,电池当前电量20%时,电池内阻变化量为0.05Ω;It can be obtained from the table 2 battery and battery internal resistance comparison table. When the battery is 100% unused, the battery internal resistance is changed to 0.05Ω.
由电池出厂参数可获取,电池使用时间为2000小时,电池内阻变化量为0.04Ω;It can be obtained from the factory parameters of the battery, the battery usage time is 2000 hours, and the internal resistance change of the battery is 0.04 Ω;
则,Rbat=0.2Ω+0.01Ω+0.05Ω+0.04Ω=0.3ΩThen, Rbat=0.2Ω+0.01Ω+0.05Ω+0.04Ω=0.3Ω
look_up(V0+Isys×Rbat)=look_up(3+2×0.3)=look_up(3.6v)Look_up(V 0 +Isys×Rbat)=look_up(3+2×0.3)=look_up(3.6v)
由电池充放电曲线图2查找获得电池电压为3.6V时电量为5%,即获取到SOC3为5%。From the battery charge and discharge curve 2, the battery is 5% when the battery voltage is 3.6V, that is, SOC 3 is obtained.
步骤S20、按照预设电量修正公式:Step S20: Correct the formula according to the preset power amount:
SOC1=SOC2÷(100%-SOC3)=20%÷(100%-5%)=21%。
SOC 1 = SOC 2 ÷ (100% - SOC 3 ) = 20% ÷ (100% - 5%) = 21%.
步骤S30、将得到的SOC1=21%显示在终端上。In step S30, the obtained SOC 1 = 21% is displayed on the terminal.
图3为本发明实施例一种电量显示方法的装置,如图3所示,本发明实施例的装置包括:FIG. 3 is a schematic diagram of an apparatus for displaying a power quantity according to an embodiment of the present invention. As shown in FIG. 3, the apparatus of the embodiment of the present invention includes:
获取模块1,设置为获取电池的电量参数信息;Obtaining module 1, configured to obtain battery power parameter information;
计算模块2,设置为根据所述电池的电量参数信息,获得修正电量值SOC1;The calculating module 2 is configured to obtain a corrected power value SOC 1 according to the battery power parameter information;
显示模块3,设置为显示所述修正电量值SOC1。The display module 3 is arranged to display the corrected power value SOC 1 .
本发明实施例中,所述获取模块1获取终端的电量参数信息包括:In the embodiment of the present invention, the acquiring the power parameter information of the terminal by the acquiring module 1 includes:
电池当前电量值SOC2和不可用电量值SOC3。The current battery value SOC 2 and the unavailable power value SOC 3 .
其中获取SOC3包括:The acquisition of SOC 3 includes:
获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;Obtaining the current system power consumption Isys of the terminal and the battery resistance Rbat and the voltage V 0 when the preset battery power is 0 ;
根据所述Rbat、所述Isys和所述V0,获取所述SOC3;Obtaining the SOC 3 according to the Rbat, the Isys, and the V 0 ;
即SOC3=look_up(V0+Isys×Rbat)}That is, SOC 3 = look_up (V 0 + Isys × Rbat)}
利用电池充放电曲线图查找获得SOC3。Use the battery charge and discharge graph to find the SOC 3 .
其中,获取所述Rbat包括:Wherein obtaining the Rbat includes:
根据温度与电池电阻对照表获取所述Rbat;Obtaining the Rbat according to a temperature and battery resistance comparison table;
根据电量与电池电阻对照表获取所述Rbat;Obtaining the Rbat according to a battery and a battery resistance comparison table;
根据电池使用时间获取所述Rbat。The Rbat is obtained according to the battery life.
本发明实施例中,所述计算模块2根据所述电量参数信息,获得SOC1包括:In the embodiment of the present invention, the calculating module 2 obtains the SOC 1 according to the power parameter information, including:
预设电池充足状态下电量阀值为100%;The preset battery has a power threshold of 100%;
预设电量修正公式:SOC1=SOC2÷(100%–SOC3)。Preset power correction formula: SOC 1 = SOC 2 ÷ (100% – SOC 3 ).
根据所述预设电量修正公式得到SOC1。The SOC 1 is obtained according to the preset electric quantity correction formula.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有执行指令,该执行指令用于执行上述的方法。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, an execution instruction is stored in the storage medium, and the execution instruction is used to execute the foregoing method.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本发明提供了一种电量显示方法和装置,通过获取对电量有影响的参数信息,利用电量修正公式对终端电量进行获取并显示,能够减小终端电量显示值和实际值的误差,使终端显示电量更准确,有利于提升用户体验。
The invention provides a power display method and device. By obtaining parameter information that has an influence on the electric quantity, the electric quantity correction formula is used to acquire and display the electric quantity of the terminal, and the error of the display value and the actual value of the electric quantity of the terminal can be reduced, so that the terminal displays More accurate battery power is beneficial to enhance the user experience.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例,当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
如上所述,本发明实施例提供的一种电量显示方法和装置具有以下有益效果:根据影响终端电量值的各项参数信息,利用电量修正公式对终端电量进行了优化计算,能够减小终端电量显示值和实际值的误差,使终端显示电量更准确,有利于提升用户体验。
As described above, the power display method and apparatus provided by the embodiments of the present invention have the following beneficial effects: according to various parameter information affecting the power value of the terminal, the power consumption correction formula is used to optimize the calculation of the terminal power, thereby reducing the power of the terminal. The error between the displayed value and the actual value makes the terminal display more accurate power, which is beneficial to improve the user experience.
Claims (15)
- 一种电量显示方法,应用于终端,包括:A power display method is applied to a terminal, including:获取电池的电量参数信息;Obtain the battery power parameter information;根据所述电池的电量参数信息,获得修正电量值SOC1;Obtaining a corrected power value SOC 1 according to the battery power parameter information;显示所述修正电量值SOC1。The corrected power value SOC 1 is displayed.
- 如权利要求1所述方法,其中,所述获取终端的电量参数信息包括:The method of claim 1, wherein the obtaining the power parameter information of the terminal comprises:获取电池当前电量值SOC2和不可用电量值SOC3。The current battery value SOC 2 and the unavailable power value SOC 3 are obtained .
- 如权利要求2所述方法,其中,根据所述电池的电量参数信息,获得修正电量值SOC1包括:The method of claim 2, wherein obtaining the corrected power value SOC 1 according to the battery power parameter information comprises:预设电池充足状态下电量阈值;Presetting the battery threshold in a sufficient state;获取所述电池充足状态电量阈值与所述SOC3的差值;Obtaining a difference between the battery sufficient state power threshold and the SOC 3 ;再获取所述电池SOC2与所述差值的比值,得到SOC1。The ratio of the SOC 2 of the battery to the difference is obtained to obtain SOC 1 .
- 如权利要求2或3所述方法,其中,所述SOC3包括:The method of claim 2 or 3, wherein said SOC 3 comprises:获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;Obtaining the current system power consumption Isys of the terminal and the battery resistance Rbat and the voltage V 0 when the preset battery power is 0 ;根据所述Rbat、所述Isys和所述V0获取所述SOC3。According to the Rbat, and the V 0 of the Isys acquires the SOC 3.
- 如权利要求4所述方法,其中,获取所述Rbat包括:The method of claim 4 wherein obtaining the Rbat comprises:获取当前电池温度T、当前电量值SOC2和电池使用时间t;Obtaining the current battery temperature T, the current power value SOC 2, and the battery usage time t;根据所述T、所述SOC2和所述t获取所述Rbat。The Rbat is obtained according to the T, the SOC 2, and the t.
- 如权利要求5所述方法,其中,根据所述T和所述SOC2获取所述Rbat包括:The method of claim 5 wherein obtaining the Rbat based on the T and the SOC 2 comprises:根据温度与电池电阻对照表获取所述Rbat;Obtaining the Rbat according to a temperature and battery resistance comparison table;根据电量与电池电阻对照表获取所述Rbat。The Rbat is obtained according to a battery and a battery resistance comparison table.
- 如权利要求4所述方法,其中,根据所述Rbat、Isys和预设V0获取所述SOC3还包括:The method as claimed in claim 4, wherein, according to the Rbat, Isys V 0, and acquires the preset SOC 3 further comprising:根据所述Rbat和Isys的乘积与所述V0之和,利用电池充放电曲线图查找获取到所述SOC3。According to the sum of the product of Rbat and Isys and the V 0 , the SOC 3 is obtained by using a battery charge and discharge graph.
- 一种电量显示的装置,应用于终端,包括:获取模块、计算模块和显示模块;A device for displaying a power quantity is applied to a terminal, comprising: an obtaining module, a calculating module and a display module;所述获取模块,设置为获取电池的电量参数信息;The obtaining module is configured to acquire power quantity parameter information of the battery;所述计算模块,设置为根据所述电池的电量参数信息,获得修正电量值SOC1; The calculating module is configured to obtain a corrected power value SOC 1 according to the battery power parameter information;所述显示模块,设置为显示所述修正电量值SOC1。The display module is configured to display the corrected power value SOC 1 .
- 如权利要求8所述装置,其中,所述获取模块包括:The apparatus of claim 8 wherein said obtaining module comprises:获取电池当前电量值SOC2和不可用电量值SOC3。The current battery value SOC 2 and the unavailable power value SOC 3 are obtained .
- 如权利要求9所述装置,其中,所述计算模块包括:The apparatus of claim 9 wherein said computing module comprises:预设电池充足状态下电量阈值;Presetting the battery threshold in a sufficient state;获取所述电池充足状态电量阈值与所述SOC3的差值;Obtaining a difference between the battery sufficient state power threshold and the SOC 3 ;再获取所述电池SOC2与所述差值的比值,得到SOC1。The ratio of the SOC 2 of the battery to the difference is obtained to obtain SOC 1 .
- 如权利要求9或10所述装置,其中,所述SOC3包括:The apparatus of claim 9 or 10, wherein said SOC 3 comprises:获取终端当前系统功耗Isys和所述电池电阻Rbat以及预设电池电量为0时的电压V0;Obtaining the current system power consumption Isys of the terminal and the battery resistance Rbat and the voltage V 0 when the preset battery power is 0 ;根据所述Rbat、所述Isys和所述V0获取所述SOC3。According to the Rbat, and the V 0 of the Isys acquires the SOC 3.
- 如权利要求11所述装置,其中,获取所述Rbat包括:The apparatus of claim 11 wherein obtaining the Rbat comprises:获取当前电池温度T、当前电量值SOC2和电池使用时间t;Obtaining the current battery temperature T, the current power value SOC 2, and the battery usage time t;根据所述T、所述SOC2和所述t获取所述Rbat。The Rbat is obtained according to the T, the SOC 2, and the t.
- 如权利要求12所述装置,其中,根据所述T和所述SOC2获取所述Rbat包括:The apparatus of claim 12, wherein obtaining the Rbat according to the T and the SOC 2 comprises:根据温度与电池电阻对照表获取所述Rbat;Obtaining the Rbat according to a temperature and battery resistance comparison table;根据电量与电池电阻对照表获取所述Rbat。The Rbat is obtained according to a battery and a battery resistance comparison table.
- 如权利要求11所述装置,其中,根据所述Rbat、Isys和预设V0获取所述SOC3还包括:The apparatus as claimed in claim 11, wherein said Rbat, Isys V 0, and acquires the preset SOC based on 3 further comprising:根据所述Rbat和Isys的乘积与所述V0之和,利用电池充放电曲线图查找获取到所述SOC3。According to the sum of the product of Rbat and Isys and the V 0 , the SOC 3 is obtained by using a battery charge and discharge graph.
- 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至7中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510657311.X | 2015-10-13 | ||
CN201510657311.XA CN106569132A (en) | 2015-10-13 | 2015-10-13 | Power display method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016177239A1 true WO2016177239A1 (en) | 2016-11-10 |
Family
ID=57217522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/078479 WO2016177239A1 (en) | 2015-10-13 | 2016-04-05 | Electric quantity display method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106569132A (en) |
WO (1) | WO2016177239A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177171A (en) * | 2019-04-30 | 2019-08-27 | Oppo广东移动通信有限公司 | Mobile terminal and its electric quantity display method and computer readable storage medium |
CN113884916A (en) * | 2020-07-02 | 2022-01-04 | 聚众联合科技股份有限公司 | Electric quantity judging module and electric quantity correcting method thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107290674A (en) * | 2017-05-19 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of calibration method and terminal for showing charge value |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262216A (en) * | 2010-05-29 | 2011-11-30 | 比亚迪股份有限公司 | Electric quantity detection method for chargeable battery and apparatus thereof |
CN102495370A (en) * | 2011-11-15 | 2012-06-13 | 北京百纳威尔科技有限公司 | Mobile terminal and battery remaining capacity measuring method |
CN103364727A (en) * | 2012-03-29 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Electrical quantity detection method and terminal |
CN103675701A (en) * | 2013-11-29 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Battery state-of-charge correction method and device |
CN104375085A (en) * | 2013-08-13 | 2015-02-25 | 中兴通讯股份有限公司 | Method and device for detecting electric quantity of battery and terminal |
CN104714185A (en) * | 2015-03-12 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Automatic battery electricity quantity correction method and system based on mobile terminal |
CN104880673A (en) * | 2015-05-11 | 2015-09-02 | 深圳天珑无线科技有限公司 | Method for measuring battery electric quantity and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685706B (en) * | 2012-09-21 | 2015-10-21 | 中兴通讯股份有限公司 | A kind of method that mobile terminal electricity is revised and mobile terminal |
CN103605093A (en) * | 2013-11-05 | 2014-02-26 | 广东欧珀移动通信有限公司 | Calibration method of display electricity value and system thereof |
-
2015
- 2015-10-13 CN CN201510657311.XA patent/CN106569132A/en not_active Withdrawn
-
2016
- 2016-04-05 WO PCT/CN2016/078479 patent/WO2016177239A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262216A (en) * | 2010-05-29 | 2011-11-30 | 比亚迪股份有限公司 | Electric quantity detection method for chargeable battery and apparatus thereof |
CN102495370A (en) * | 2011-11-15 | 2012-06-13 | 北京百纳威尔科技有限公司 | Mobile terminal and battery remaining capacity measuring method |
CN103364727A (en) * | 2012-03-29 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Electrical quantity detection method and terminal |
CN104375085A (en) * | 2013-08-13 | 2015-02-25 | 中兴通讯股份有限公司 | Method and device for detecting electric quantity of battery and terminal |
CN103675701A (en) * | 2013-11-29 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Battery state-of-charge correction method and device |
CN104714185A (en) * | 2015-03-12 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Automatic battery electricity quantity correction method and system based on mobile terminal |
CN104880673A (en) * | 2015-05-11 | 2015-09-02 | 深圳天珑无线科技有限公司 | Method for measuring battery electric quantity and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177171A (en) * | 2019-04-30 | 2019-08-27 | Oppo广东移动通信有限公司 | Mobile terminal and its electric quantity display method and computer readable storage medium |
CN113884916A (en) * | 2020-07-02 | 2022-01-04 | 聚众联合科技股份有限公司 | Electric quantity judging module and electric quantity correcting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106569132A (en) | 2017-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6488105B2 (en) | Storage battery evaluation apparatus and method | |
WO2019144646A1 (en) | Battery power-level status estimation method, apparatus, and electronic device | |
EP2851700B1 (en) | Method and terminal for displaying capacity of battery | |
EP3190425A1 (en) | Method and apparatus for displaying electricity quantity of battery, and electronic device | |
CN106772091B (en) | Method and device for updating battery capacity value and terminal | |
JP6422481B2 (en) | Secondary battery state detection device and secondary battery state detection method | |
JP6171897B2 (en) | Approximation function creation program, approximation function creation method, approximation function creation device, and charging rate estimation program | |
WO2016177239A1 (en) | Electric quantity display method and device | |
TW201406004A (en) | System and method for compensating an open circuit voltage | |
JP6200359B2 (en) | Secondary battery internal temperature estimation device and secondary battery internal temperature estimation method | |
WO2015143992A1 (en) | Method and apparatus for calculating remaining charging time, and mobile device | |
US20190391210A1 (en) | Method and device for acquiring battery power level and electronic device | |
JP6330605B2 (en) | Estimation program, estimation method, and estimation apparatus | |
US9864015B2 (en) | Scheme applied into electronic device and capable of measuring resistance parameter(s) associated with battery cell | |
JP2015184219A (en) | Estimation program, estimation method, and estimation device | |
JP2015215272A (en) | Secondary battery state detection device and secondary battery state detection method | |
JP6421411B2 (en) | Estimation program for estimating battery charging rate, estimation method for estimating battery charging rate, and estimation device for estimating battery charging rate | |
CN105573458B (en) | Information processing method and electronic equipment | |
CN110501655A (en) | Control method, battery parameter acquisition methods, equipment and the medium of battery work | |
WO2016041398A1 (en) | Method for storing battery level information of mobile terminal and mobile terminal | |
CN111082487B (en) | Charging control method and device and electronic equipment | |
JP6287125B2 (en) | Function creation program, function creation method, function creation device, and charging rate estimation program | |
TW201809713A (en) | Method of estimating battery capacity | |
CN114200315A (en) | Method and device for predicting remaining charging time, electronic equipment and storage medium | |
CN106872758A (en) | A kind of mobile terminal first voltage calculating method and system when starting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16789233 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16789233 Country of ref document: EP Kind code of ref document: A1 |