Electric quantity calculation method and device, terminal equipment and storage medium

By obtaining and analyzing multiple battery information, determining the charging cutoff information of the terminal equipment battery module, the problem of poor accuracy of the battery meter during charging is solved, and more accurate and flexible power calculation is achieved, ensuring that the battery meter and battery module are used. Stop charging simultaneously, extend battery life and improve accuracy of power reporting.

CN119001483APending Publication Date: 2024-11-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310560807.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

During the charging process of the terminal device battery module, it is difficult for the meter to accurately predict the charging cutoff information, resulting in poor accuracy of power calculation.

Method used

By obtaining multiple battery information, determine the charging cutoff information of the battery module, and calculate the current power based on this information, including selecting the target cutoff level, calculating the charging cutoff voltage and power, establishing an integrated circuit bus connection between the processor and the battery meter, in real time Adjust the battery meter to suit different charging scenarios.

Benefits of technology

It improves the accuracy and flexibility of power calculation, ensures that the charge meter and battery module are consistent when charging stops, reduces the situation where the power is not rated or overcharged, extends the battery life and improves the accuracy of rated power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001483A_ABST
    Figure CN119001483A_ABST
Patent Text Reader

Abstract

The invention relates to an electric quantity calculation method and device, terminal equipment and a storage medium. The electric quantity calculation method is applied to the terminal equipment, and at least comprises the following steps: acquiring multiple pieces of battery information associated with a battery module of the terminal equipment; based on the multiple pieces of battery information, determining charging cut-off information of the battery module; and determining the current electric quantity of the battery module based on the charging cut-off information. According to the embodiment of the invention, the accuracy of electric quantity calculation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of consumer terminal equipment, and in particular to a power calculation method and device, terminal equipment, and storage medium. Background Art

[0002] During the charging process of the battery module of the terminal device, the charging control circuit of the battery module and the fuel gauge calculate the power of the battery module independently. The fuel gauge calculation depends on the firmware setting value, while the charging control circuit depends on the set charging cut-off information. Therefore, when the charging control circuit adjusts the battery cycle charging according to different charging cut-off information in different temperature ranges, it is difficult for the fuel gauge to predict the charging cut-off information, and there will be a problem of poor accuracy in the fuel gauge's power calculation. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method and apparatus for calculating power consumption, a terminal device, and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a power calculation method is provided, which is applied to a terminal device and at least includes:

[0005] Acquire multiple battery information associated with the battery module of the terminal device;

[0006] Based on the multiple battery information, determining the charging cut-off information of the battery module; the charging cut-off information is used to determine whether to stop charging the battery module;

[0007] Based on the charging cut-off information, the current power level of the battery module is determined.

[0008] In some embodiments, determining the charging cutoff information of the battery module based on the multiple battery information includes:

[0009] Determining a target cutoff level of the battery module based on the plurality of battery information;

[0010] The charging cut-off voltage in the charging cut-off information is determined based on the target cut-off level and the initial cut-off voltage of the battery module.

[0011] In some embodiments, determining the target cutoff level of the battery module based on the plurality of battery information includes:

[0012] Acquire multiple charging cutoff levels respectively corresponding to the multiple battery information; wherein the multiple battery information at least includes: location information of the battery module, temperature duration information of the battery module, voltage duration information of the battery module, and current cycle number of the battery module;

[0013] The largest charge cutoff level is selected from among the plurality of charge cutoff levels as the target cutoff level.

[0014] In some embodiments, determining the charging cutoff voltage in the charging cutoff information based on the target cutoff level and the initial cutoff voltage of the battery module includes:

[0015] Based on the target cutoff level and the voltage reduction coefficient of the battery module, obtaining the voltage reduction amplitude of the battery module;

[0016] The charging cut-off voltage is obtained based on the difference between the initial cut-off voltage and the voltage reduction amplitude.

[0017] In some embodiments, determining the current power of the battery module based on the charging cut-off information includes:

[0018] Obtaining the current voltage of the battery module during charging;

[0019] When the current voltage is equal to the charging cut-off voltage in the charging cut-off information, determining that the current power of the battery module is fully charged;

[0020] When the current voltage is less than the charging cut-off voltage, the power of the battery module is calculated to obtain a first power and a second power, and the current power of the battery module is determined based on the first power and the second power.

[0021] In some embodiments, determining the current power of the battery module based on the first power and the second power includes:

[0022] When an absolute value of a difference between the first power level and the second power level is greater than a power threshold, determining a current power level of the battery module based on the difference;

[0023] When the absolute value of the difference is less than or equal to the power threshold, the first power or the second power is used as the current power of the battery module.

[0024] In some embodiments, the calculating the power of the battery module to obtain the first power and the second power includes: obtaining a loop current of the battery module, and integrating the loop current over time to obtain the first power;

[0025] The actual battery capacity of the battery module is obtained, and the second power is obtained based on a ratio between the remaining capacity of the battery module and the actual battery capacity.

[0026] In some embodiments, determining the current power of the battery module based on the charging cut-off information includes:

[0027] Establishing an integrated circuit bus connection between a processor of the terminal device and a power meter of the terminal device;

[0028] Based on the integrated circuit bus connection, the charging cutoff information determined by the processor is sent to the fuel gauge, so that the fuel gauge can determine the current power of the battery module based on the charging cutoff information.

[0029] According to a second aspect of an embodiment of the present disclosure, there is provided an electric quantity calculation device, which is applied to a terminal device, and the device includes:

[0030] A battery acquisition module, configured to acquire multiple battery information associated with a battery module of the terminal device;

[0031] A cut-off information determination module is configured to determine charging cut-off information of the battery module based on the plurality of battery information; the charging cut-off information is used to determine whether the battery module stops charging;

[0032] The power determination module is configured to determine the current power of the battery module based on the charging cut-off information.

[0033] According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, comprising at least:

[0034] processor;

[0035] a memory for storing processor-executable instructions;

[0036] Wherein, the processor is configured to execute the power calculation method as described in the first aspect above.

[0037] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

[0038] When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device is enabled to execute the power calculation method as described in the first aspect above.

[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0040] The disclosed embodiment can timely adjust the power meter to calculate the current power of the battery module when the charging cut-off information changes in different charging scenarios, so as to adapt the power calculation to different charging scenarios of the battery module, which not only improves the accuracy of the power calculation but also makes the power calculation more flexible. On the other hand, when the charging cut-off information is used to determine whether to stop charging the battery module, the judgment on stopping charging and the power calculation can be made based on the acquired charging cut-off information. In this way, the power meter reporting 100% and the battery module stopping charging can be kept consistent, which can reduce the situation of the power not reporting 100% or overcharging, and can not only extend the battery life but also improve the accuracy of the power reporting 100%.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] Figure 1 A schematic diagram of a power calculation process according to an exemplary embodiment is shown Figure 1 .

[0044] Figure 2 A schematic diagram of an electric quantity calculation interaction in a terminal device according to an exemplary embodiment Figure 1 .

[0045] Figure 3 A schematic diagram of an electric quantity calculation interaction in a terminal device according to an exemplary embodiment Figure 2 .

[0046] Figure 4 A schematic diagram of a power calculation process according to an exemplary embodiment is shown Figure 2 .

[0047] Figure 5 The figure is a schematic diagram of a power calculation device according to an exemplary embodiment.

[0048] Figure 6 The present invention is a block diagram of a terminal device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0050] The disclosed embodiment provides a power calculation method, which is applied to the charging scenario of a terminal device. For example, during the charging process of a battery module of the terminal device, the current power of the battery module can be calculated according to the charging cut-off information of the battery module, which can improve the accuracy of the power calculation.

[0051] Figure 1 A schematic diagram of a power calculation process according to an exemplary embodiment is shown Figure 1 .like Figure 1 As shown, the terminal device may perform the power calculation method by the following steps:

[0052] S101, obtaining multiple battery information associated with the battery module of the terminal device;

[0053] S102, determining charging cutoff information of the battery module based on the multiple battery information; the charging cutoff information is used to determine whether to stop charging the battery module;

[0054] S103: Determine the current power level of the battery module based on the charging cut-off information.

[0055] In the disclosed embodiment, the power calculation method is used to calculate the current power of the battery module, which is the state of charge (SOC) of the battery module. After determining the current power, the current power can be directly displayed on the display interface of the terminal device to prompt the user of the current charging status. For example, when it is determined that the current power is 100%, a 100% prompt can be output to prompt the user that charging is complete and charging can be stopped.

[0056] The power calculation method is applied to a terminal device. The terminal device may include a mobile terminal or a wearable electronic device; the mobile terminal includes a smart phone, a tablet computer, and a notebook; the wearable electronic device includes a smart watch or a smart bracelet, which is not limited in the embodiments of the present disclosure.

[0057] In step S101, the battery information is information associated with the battery module. The battery information can be used to characterize the usage and location of the battery module. In other words, the battery information can be both usage information of the battery module itself and location information of the battery module.

[0058] In some embodiments, the battery module may be battery usage information associated with the battery module. For example, the battery information may include temperature duration information during the use of the battery module, voltage duration information during the use of the battery module, and the current number of cycles of the battery module. In other embodiments, the battery module may also be location information associated with the battery module. For example, the battery information may also include location information of the battery module.

[0059] It should be noted that multiple battery information can be obtained through the detection module on the terminal device. For example, the detection module includes a positioning module, and the location information of the battery module, that is, the location information of the terminal device, can be obtained through the positioning module of the terminal device. For another example, the detection module may include a thermometer, and the temperature duration information of the battery module can be obtained through the thermometer and timer of the terminal device. Here, the battery information can be obtained through the power meter on the terminal device. For example, the current number of cycles of the battery module can be obtained through the power meter.

[0060] Here, the processor of the terminal device can obtain the battery information by establishing a communication connection with different detection modules. For example, the power meter of the terminal device can send the voltage and duration information of the battery module to the processor, or the positioning module can send the location information of the battery module to the processor. The embodiments of the present disclosure are not limited to this.

[0061] In the embodiment of the present disclosure, the terminal device can obtain multiple battery information at preset time intervals. The preset time can be 4 hours, 8 hours or one day, which is not limited in the embodiment of the present disclosure.

[0062] In step S102, after acquiring multiple battery information, the processor of the terminal device can determine the charging end information of the battery module based on the multiple battery information. During the charging process, the terminal device will determine that charging is complete and stop charging when it detects that the charging information of the battery module meets the charging end condition.

[0063] In the disclosed embodiment, the charging cut-off information is the indicator information of the battery module stopping charging during the charging process, which can be used to determine whether the battery module should stop charging and form the corresponding charging cut-off condition. For example, the charging cut-off information includes the charging cut-off voltage, and the corresponding charging cut-off condition may include stopping charging if the current voltage of the battery module increases to the charging cut-off voltage. For another example, the charging cut-off information includes the charging cut-off current, and the corresponding charging cut-off condition may include stopping charging if the current current of the battery module increases to the charging cut-off current.

[0064] It should be noted that the battery information of the battery module is associated with the charging cut-off information at which the battery module stops charging, that is, if the battery information is different, the corresponding charging cut-off information will also be different.

[0065] For example, the charging cut-off voltage corresponding to the battery module in the subtropical region is lower than the charging cut-off voltage corresponding to the battery module in the frigid region. Alternatively, the charging cut-off voltage corresponding to the battery module with 100 cycles is higher than the charging cut-off voltage corresponding to the battery module with 800 cycles.

[0066] In the embodiments of the present disclosure, the terminal device can determine the charging cut-off information based on different battery information. When there is only one battery information, the charging cut-off information can be obtained directly based on the battery information and the mapping relationship between the preset battery information and the charging cut-off information; when there are multiple battery information, one battery information can be selected from the multiple battery information to determine the charging cut-off information; or, based on the multiple battery information, multiple charging cut-off information can be determined respectively; one charging cut-off information can be selected from the multiple charging cut-off information to determine whether the battery module stops charging. Here, the embodiments of the present disclosure do not limit the method for determining the charging cut-off information based on the battery information.

[0067] In step S103, after determining the charging cut-off information, the terminal device can determine the current power of the battery module based on the charging cut-off information. Here, after the processor of the terminal device determines the charging cut-off information, on the one hand, the charging cut-off information is sent to the charging control circuit to determine whether to stop charging the battery module based on the charging cut-off information, and on the other hand, the charging cut-off information is sent to the power meter so that the power meter can calculate the current power of the battery module based on the charging cut-off information to provide a power report prompt when fully charged.

[0068] It can be seen that in the process of determining the current power level of the battery module, the embodiment of the present disclosure can directly determine the current power level based on the determined charging cut-off information, and can timely adjust the power meter to calculate the current power level of the battery module when the charging cut-off information changes, so that the power calculation can adapt to different charging scenarios of the battery module, thereby improving the accuracy of the power calculation.

[0069] In the disclosed embodiment, determining the current power of the charging module based on the charging cutoff information may include: determining that the current power of the charging module is 100% based on the charging cutoff information, that is, the current power is fully charged; it may also include: determining the current power based on the charging cutoff information, the temperature of the battery module and the open circuit voltage of the battery module.

[0070] Among them, determining the current power based on the charging cut-off information, the temperature of the battery module and the open circuit voltage of the battery module may include: when the current voltage of the battery module is less than the charging cut-off voltage, determining the current power based on the current temperature, the current open circuit voltage and the calibration relationship; wherein the calibration relationship corresponds to the correspondence between the open circuit voltage and the power at multiple different calibration temperatures.

[0071] In the embodiment of the present disclosure, a communication connection is established between the fuel gauge and the processor (Central Processing Unit, CPU). In some embodiments, the current power of the battery module is determined based on the charging cut-off information, including: establishing an integrated circuit bus connection between the processor of the terminal device and the fuel gauge of the terminal device; based on the integrated circuit bus connection, sending the charging cut-off information determined by the processor to the fuel gauge, so that the fuel gauge can determine the current power of the battery module based on the charging cut-off information.

[0072] Here, the fuel gauge can send the detected battery information such as the number of cycles to the processor through the integrated circuit bus connection, so that the processor can determine the charging cut-off information based on the number of cycles; when the fuel gauge calculates the current power, the processor can send the charging cut-off information determined by the processor to the fuel gauge through the integrated circuit bus connection to realize the current power calculation. In this way, by establishing an integrated circuit bus connection between the processor and the fuel gauge, the information coordination between the processor and the fuel gauge can be realized.

[0073] For example, in the related art, the reporting conditions of different cycles are realized by setting a fixed number of cycles and voltage threshold in advance, so as to meet the update of the fuel gauge parameters under different charging conditions; at the same time, the charging control circuit of the battery module also needs to set the charging cut-off conditions related to the reporting conditions in advance, so as to stop charging the battery module when the fuel gauge reports 100. It can be seen that not only is it inflexible to coordinate the fuel gauge and the charging control circuit at the same time, but there is also the problem that if there is a problem on one side, the power will not report 100 or overcharge.

[0074] Based on this, the embodiment of the present disclosure proposes to determine the charging cut-off information based on multiple battery information, and determine the current power of the battery module based on the charging cut-off information. It can be seen that, on the one hand, the embodiment of the present disclosure can timely adjust the power meter to calculate the current power of the battery module when the charging cut-off information changes in different charging scenarios, so that the power calculation can adapt to different charging scenarios of the battery module, which not only improves the accuracy of the power calculation, but also makes the power calculation more flexible; on the other hand, when the charging cut-off information is used to determine whether the battery module stops charging, the charging stop judgment and power calculation can be made based on the obtained charging cut-off information. In this way, the power meter report and the battery module stop charging can be kept consistent, which can reduce the situation of not reporting the power or overcharging, and can not only extend the battery life but also improve the accuracy of the power report.

[0075] In some embodiments, determining the charging cutoff information of the battery module based on the multiple battery information includes: determining a target cutoff level of the battery module based on the multiple battery information; and determining a charging cutoff voltage in the charging cutoff information based on the target cutoff level and an initial cutoff voltage of the battery module.

[0076] In the embodiment of the present disclosure, different battery information corresponds to different target cut-off levels, and thus corresponds to different charging cut-off information. That is, the embodiment of the present disclosure can adjust the initial cut-off voltage according to different target cut-off levels to obtain charging cut-off information in different charging scenarios.

[0077] It can be seen that the embodiment of the present disclosure improves the method of obtaining the charging cut-off voltage according to different battery information, and proposes to obtain different target cut-off levels based on different battery information, and then adjust the initial cut-off voltage according to the voltage reduction amplitude corresponding to the target cut-off level of the battery module to obtain the charging cut-off voltage. In this way, the embodiment of the present disclosure can fine-grain the regulation of the charging cut-off voltage based on the target cut-off level, can adapt to the changes of the battery module in different charging scenarios, and improve the accuracy of determining the charging cut-off voltage. Here, the target cut-off level of the battery module is the level at which the initial cut-off voltage is regulated according to different battery information. It should be noted that the target cut-off level is positively correlated with the voltage reduction amplitude for regulating the initial cut-off voltage, that is, the higher the target cut-off level, the greater the corresponding voltage reduction amplitude.

[0078] In some embodiments, determining the target cutoff level of the battery module based on the multiple battery information includes: acquiring multiple charging cutoff levels corresponding to the multiple battery information respectively; and selecting the maximum charging cutoff level from the multiple charging cutoff levels as the target cutoff level.

[0079] In the disclosed embodiment, the multiple battery information includes at least: the location information of the battery module, the temperature duration information of the battery module, the voltage duration information of the battery module, and the number of cycles of the battery module. Here, one battery information corresponds to one charging cut-off level, and then multiple battery information respectively corresponds to multiple charging cut-off levels.

[0080] In the embodiment of the present disclosure, obtaining multiple charging cut-off levels corresponding to multiple battery information respectively includes:

[0081] Based on the location information of the battery module and the mapping relationship between the preset location and the charging cut-off level, determining the charging cut-off level corresponding to the location information;

[0082] Determine the charging cutoff level corresponding to the temperature duration information based on the temperature duration information of the battery module and the temperature level mapping relationship between the preset temperature duration and the charging cutoff level;

[0083] Determine the charging cut-off level corresponding to the voltage duration information based on the voltage duration information of the battery module and the voltage level mapping relationship between the preset voltage duration and the charging cut-off level;

[0084] Based on the cycle number of the battery module and the mapping relationship between the preset cycle number and the charging cut-off level, the charging cut-off level corresponding to the cycle number is determined.

[0085] Here, the location information of the battery module is determined based on the longitude and latitude of the battery module. The location information of the battery module may include: tropical area, subtropical area, temperate area, subarctic area or arctic area. Correspondingly, the mapping relationship between the preset position and the charging cutoff level may include: the charging cutoff level corresponding to the tropical area is 5, the charging cutoff level corresponding to the subtropical area is 4, the charging cutoff level corresponding to the temperate area is 3, the charging cutoff level corresponding to the subarctic area is 2, and the charging cutoff level corresponding to the arctic area is 1.

[0086] The above-mentioned current cycle number is the current discharge cycle number of the battery module. The mapping relationship between the preset cycle number and the charging cut-off level may include: the charging cut-off level corresponding to the cycle number 100 is 1; the charging cut-off level corresponding to the cycle number 300 is 2; the charging cut-off level corresponding to the cycle number 500 is 3; the charging cut-off level corresponding to the cycle number 800 is 4; the charging cut-off level corresponding to the cycle number 1000 is 15.

[0087] The above temperature level mapping relationship and voltage level mapping relationship can be referred to Table 1 and Table 2.

[0088] Table 1 is the temperature level mapping table

[0089]

[0090] Table 2 is the voltage level mapping table

[0091]

[0092] In the disclosed embodiment, after acquiring multiple charging cut-off levels, the terminal device may select the maximum charging cut-off level from the multiple charging cut-off levels as the target cut-off level.

[0093] Exemplarily, when the charging cut-off level corresponding to the position information is 1, the charging cut-off level corresponding to the temperature duration information is 0; the charging cut-off level corresponding to the voltage duration information is 2; when the charging cut-off level corresponding to the voltage duration information is 1, the charging cut-off level corresponding to the voltage duration information of 2 can be selected as the target cut-off level.

[0094] In the disclosed embodiment, the terminal device can take into account the different effects of different battery information on the charging of the battery module. Therefore, based on the maximum charging cutoff level as the target cutoff level, the target cutoff level can be made more in line with the usage of the battery module, thereby improving the accuracy of determining the target cutoff level.

[0095] In some embodiments, determining the charging cutoff voltage in the charging cutoff information based on the target cutoff level and the initial cutoff voltage of the battery module includes:

[0096] Based on the target cutoff level and the voltage reduction coefficient of the battery module, obtaining the voltage reduction amplitude of the battery module;

[0097] The charging cut-off voltage is obtained based on the difference between the initial cut-off voltage and the voltage reduction amplitude.

[0098] In the embodiment of the present disclosure, the voltage reduction coefficient of the battery module can be set according to actual conditions. For example, the voltage reduction coefficient can be set within the range of 3 mV to 10 mV, and the preferred voltage reduction coefficient is 5 mV.

[0099] Obtaining the voltage reduction range of the battery module based on the target cutoff level and the voltage reduction coefficient of the battery module may include: obtaining the voltage reduction range based on the product of the target cutoff level and the voltage reduction coefficient.

[0100] Here, the calculation of the voltage reduction amplitude F can refer to formula (1). Wherein, the target cutoff level is N and the reduction coefficient is K.

[0101] F=N×K (1)

[0102] In the embodiment of the disclosure, after obtaining the reduction amplitude, the terminal device can obtain the charging cut-off voltage according to the difference between the initial cut-off voltage and the voltage reduction amplitude. It can be seen that the embodiment of the disclosure can adjust the initial cut-off voltage according to the target cut-off level to obtain a charging cut-off voltage that adapts to charging changes, so that the charging cut-off voltage is more accurate.

[0103] For example, if the initial cut-off voltage is 5V, the target cut-off level is 4, and the voltage reduction coefficient is 5mV, then the corresponding voltage reduction amplitude can be calculated to be 20mV, and then the charging cut-off voltage is 4.98V based on the difference between the initial cut-off voltage and the voltage reduction amplitude.

[0104] In some embodiments, determining the current power of the battery module based on the charging cut-off information includes:

[0105] Obtaining the current voltage of the battery module during charging;

[0106] When the current voltage is equal to the charging cut-off voltage in the charging cut-off information, determining that the current power of the battery module is fully charged;

[0107] When the current voltage is less than the charging cut-off voltage, the power of the battery module is calculated to obtain a first power and a second power, and the current power of the battery module is determined based on the first power and the second power.

[0108] In the embodiment of the present disclosure, during the charging process of the terminal device, when the current voltage increases to be equal to the charging cut-off voltage, the fuel meter can determine that the battery module is fully charged. At this time, the charging control circuit stops charging the battery module, and the fuel meter outputs a fuel meter report prompt, which can make the fuel meter report and the battery module stop charging consistent, that is, the terminal device can stop charging and the fuel meter report prompts, which can reduce the situation of no power report or overcharging, not only prolonging the battery life but also improving the accuracy of the power report.

[0109] The above-mentioned obtaining of the current voltage of the battery module during the charging process may include: obtaining the load voltage based on the product of the current internal resistance of the battery module and the loop current of the battery module; and obtaining the current voltage based on the difference between the battery open circuit voltage and the load voltage.

[0110] Here, the current voltage can be calculated by referring to formula (2). now is the current voltage; OCV is the open circuit voltage of the battery; I is the loop current; R now is the current internal resistance.

[0111] V now =OCV-IR now (2)

[0112] It should be noted that if the current voltage is less than the charging cut-off voltage, it indicates that the terminal device being charged is not fully charged and needs to continue charging. During the charging process, the embodiment of the present disclosure can calculate the first power and the second power based on different calculation rules, and determine the current power by comparing the first power and the second power. In this way, the embodiment of the present disclosure can dynamically calibrate the first power and the second power to obtain the current power, reduce power calculation errors, and improve the accuracy of power calculation.

[0113] Here, obtaining the first power and the second power based on different calculation rules may include: obtaining the first power by the ampere-hour integral calculation rule and obtaining the second power by the open circuit voltage calculation rule. Wherein, obtaining the second power by the open circuit voltage calculation rule may include: obtaining the open circuit voltage of the battery module, and obtaining the second power based on the mapping relationship between the open circuit voltage and the preset open circuit voltage and power. Here, the open circuit voltage values ​​at different temperatures and different power levels may be measured offline to form the mapping relationship.

[0114] In some embodiments, calculating the power of the battery module to obtain the first power and the second power includes:

[0115] Acquiring a loop current of the battery module, and integrating the loop current with respect to time to obtain the first electrical quantity;

[0116] The actual battery capacity of the battery module is obtained, and the second power is obtained based on a ratio between the remaining capacity of the battery module and the actual battery capacity.

[0117] In the disclosed embodiment, the first electric quantity is obtained by integrating the loop current with respect to time, which may correspond to the first electric quantity calculated by the ampere-hour integration calculation rule. The process of calculating the first electric quantity may refer to formula (3).

[0118]

[0119] Among them, SOC now1 The first charge; SOC past is the amount of electricity at the historical moment; C bat is the total capacity of the battery module; t is the time; I is the loop current.

[0120] In the disclosed embodiment, obtaining the actual battery capacitance of the battery module may include: obtaining the capacity difference based on a calibrated historical discharge depth, a calibrated current discharge depth and the total capacity of the battery module; integrating the capacity difference over time to obtain the cumulative capacity; and obtaining the actual battery capacitance of the battery module based on the sum of the cumulative capacity and the remaining capacity.

[0121] Here, the capacity difference can be calculated by referring to formula (4).now The current discharge depth calibrated; DOD past is the calibrated historical discharge depth; △Q is the capacity difference.

[0122]

[0123] The actual capacity of the battery can be calculated by referring to formula (5) and formula (6), where RCM is the cumulative capacity and FCC is the actual capacity of the battery.

[0124] RCM=∫△Q(5)

[0125] FCC=RCM+RM(6)

[0126] The second power SOC can be calculated by referring to formula (7): now2 .

[0127]

[0128] In the embodiment of the present disclosure, after obtaining the first power and the second power, the current power can be determined by calculating the difference between the first power and the second power, and based on the absolute value of the difference. In some embodiments, determining the current power of the battery module based on the first power and the second power includes:

[0129] When an absolute value of a difference between the first power level and the second power level is greater than a power threshold, determining a current power level of the battery module based on the difference;

[0130] When the absolute value of the difference is less than or equal to the power threshold, the first power or the second power is used as the current power of the battery module.

[0131] In the embodiment of the present disclosure, the absolute value of the difference between the first power level and the second power level is greater than the power threshold, indicating that there is an abnormality in the power calculation (for example, a large error), and the first power level and the second power level need to be combined based on the difference to obtain the current power level.

[0132] Here, determining the current power of the battery module based on the difference may include: obtaining the current power based on the difference and the first power; and may also include: obtaining the current power based on the difference and the second power. Here, determining the current power based on the difference may reduce calculation errors.

[0133] In the embodiment of the present disclosure, the absolute value of the difference between the first power level and the second power level is less than or equal to the power level threshold, indicating that the power level calculation is normal, and the first power level or the second power level can be directly used as the current power level and displayed until the current voltage calculated by the power level reaches the charging cut-off voltage and an alarm prompt is output.

[0134] It can be seen that the current power calculation of the embodiment of the present disclosure can obtain the first power and the second power through different calculation rules, and dynamically calibrate the possible errors in the power calculation based on the first power and the second power, thereby reducing the power calculation error and improving the accuracy of the power calculation.

[0135] In order to better understand the power calculation method in one or more of the above embodiments, the present disclosure provides the following examples:

[0136] like Figure 2 and Figure 3 As shown, the processor 101 and the fuel meter 103 of the terminal device establish an integrated circuit bus connection; the battery module 102 supplies power to the processor 101 and the detection module 104; the fuel meter 103 can send the number of cycles in the battery information to the processor 101; the processor determines the charging cutoff information based on the received number of cycles and battery information such as the location information of the battery module 102 sent by the detection module 104, the temperature duration information of the battery module 102, and the voltage duration information of the battery module 102; and sends the charging cutoff information to the fuel meter 103, so that the fuel meter 103 can calculate the current power of the battery module based on the charging cutoff information.

[0137] like Figure 4 As shown, the embodiment of the present disclosure charges the battery module through the charging cut-off information, including the following steps:

[0138] S201, obtaining multiple battery information associated with a battery module of a terminal device;

[0139] S202, determining charging cutoff information for stopping charging of the battery module based on the multiple battery information;

[0140] S203, sending the charging cut-off information to the charging control circuit so that the charging control circuit can determine whether to stop charging the battery module based on the charging cut-off information;

[0141] S204: Send the charge cutoff information to the power meter, and determine that the current power of the battery module is fully charged when the current voltage of the battery module reaches the charge cutoff voltage, and output a power meter prompt.

[0142] Thus, in the embodiment of the present disclosure, during the charging process based on the charging cut-off information, when the charging cut-off information is used to determine whether the battery module stops charging, the terminal device can make a judgment on stopping charging and calculate the power according to the acquired charging cut-off information. In this way, the power meter report and the battery module stop charging can be kept consistent, which can reduce the situation of power failure or overcharging, and can not only extend the battery life but also improve the accuracy of power report. In addition, the embodiment of the present disclosure can realize the power meter to calculate the current power based on the charging cut-off information without adding hardware devices by fully coordinating the resources of the processor and the power meter, making the power calculation more accurate and simplifying the structure of the terminal device.

[0143] The present disclosure also provides a power calculation device, such as Figure 5 As shown, the power calculation device may include:

[0144] The battery acquisition module 1001 is configured to acquire multiple battery information associated with the battery module of the terminal device;

[0145] The cut-off information determination module 1002 is configured to determine the charging cut-off information of the battery module based on the multiple battery information; the charging cut-off information is used to determine whether to stop charging the battery module;

[0146] The power determination module 1003 is configured to determine the current power of the battery module based on the charging cut-off information.

[0147] In some embodiments, the cutoff information determination module 1002 includes:

[0148] a level determination module configured to determine a target cutoff level of the battery module based on the plurality of battery information;

[0149] The cut-off voltage determination module is configured to determine the charging cut-off voltage in the charging cut-off information based on the target cut-off level and the initial cut-off voltage of the battery module.

[0150] In some embodiments, the level determination module is further configured to obtain multiple charging cutoff levels corresponding to the multiple battery information respectively; wherein the multiple battery information includes at least: location information of the battery module, temperature duration information of the battery module, voltage duration information of the battery module and current cycle number of the battery module; and select the largest charging cutoff level from the multiple charging cutoff levels as the target cutoff level.

[0151] In some embodiments, the cutoff voltage determination module is further configured to obtain the voltage reduction amplitude of the battery module based on the target cutoff level and the voltage reduction coefficient of the battery module; and obtain the charging cutoff voltage based on the difference between the initial cutoff voltage and the voltage reduction amplitude.

[0152] In some embodiments, the power determination module 1003 includes:

[0153] A voltage acquisition module is configured to acquire the current voltage of the battery module during charging;

[0154] A first power module is configured to determine that the current power of the battery module is fully charged when the current voltage is equal to the charging cut-off voltage in the charging cut-off information;

[0155] The second power module is configured to calculate the power of the battery module to obtain a first power and a second power when the current voltage is less than the charging cut-off voltage, and determine the current power of the battery module based on the first power and the second power.

[0156] In some embodiments, the second power module is further configured to determine the current power of the battery module based on the difference between the first power and the second power when the absolute value of the difference is greater than a power threshold; and to use the first power or the second power as the current power of the battery module when the absolute value of the difference is less than or equal to the power threshold.

[0157] In some embodiments, the second power module is further configured to obtain the loop current of the battery module and integrate the loop current over time to obtain the first power; obtain the actual capacity of the battery of the battery module, and obtain the second power based on the ratio between the remaining capacity of the battery module and the actual capacity of the battery.

[0158] In some embodiments, the cut-off voltage determination module is also configured to establish an integrated circuit bus connection between the processor of the terminal device and the fuel meter of the terminal device; based on the integrated circuit bus connection, the charging cut-off information determined by the processor is sent to the fuel meter, so that the fuel meter can determine the current power of the battery module based on the charging cut-off information.

[0159] The specific manner in which each module in the device of the above embodiment performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0160] Figure 6800 is a block diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0161] Reference Figure 6 The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0162] The processing component 802 generally controls the overall operation of the terminal device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0163] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0164] The power supply component 806 provides power to various components of the terminal device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 800.

[0165] The multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0166] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0167] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0168] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of the components, such as the display and keypad of the terminal device 800, and the sensor assembly 814 can also detect the position change of the terminal device 800 or a component of the terminal device 800, the presence or absence of contact between the user and the terminal device 800, the orientation or acceleration / deceleration of the terminal device 800, and the temperature change of the terminal device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0169] The communication component 816 is configured to facilitate wired or wireless communication between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on a communication standard, such as WiFi, 3G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0170] In an exemplary embodiment, the terminal device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.

[0171] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of a terminal device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0172] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal device, enables the terminal device to perform a power calculation method, the method comprising: obtaining multiple battery information associated with a battery module of the terminal device; based on the multiple battery information, determining the charging cutoff information of the battery module; based on the charging cutoff information, determining the current power of the battery module.

[0173] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0174] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for calculating electric quantity, characterized in that: Applied to terminal equipment, including: Acquire multiple battery information associated with the battery module of the terminal device; Based on the multiple battery information, determining the charging cut-off information of the battery module; the charging cut-off information is used to determine whether to stop charging the battery module; Based on the charging cut-off information, the current power level of the battery module is determined.

2. The method according to claim 1, characterized in that The step of determining charging cutoff information of the battery module based on the plurality of battery information includes: Determining a target cutoff level of the battery module based on the plurality of battery information; The charging cut-off voltage in the charging cut-off information is determined based on the target cut-off level and the initial cut-off voltage of the battery module.

3. The method according to claim 2, characterized in that The step of determining a target cutoff level of the battery module based on the plurality of battery information includes: Acquire multiple charging cutoff levels respectively corresponding to the multiple battery information; wherein the multiple battery information at least includes: location information of the battery module, temperature duration information of the battery module, voltage duration information of the battery module, and current cycle number of the battery module; The largest charge cutoff level is selected from among the plurality of charge cutoff levels as the target cutoff level.

4. The method according to claim 2, characterized in that: The determining the charging cut-off voltage in the charging cut-off information based on the target cut-off level and the initial cut-off voltage of the battery module includes: Based on the target cutoff level and the voltage reduction coefficient of the battery module, obtaining the voltage reduction amplitude of the battery module; The charging cut-off voltage is obtained based on the difference between the initial cut-off voltage and the voltage reduction amplitude.

5. The method according to any one of claims 1 to 4, characterized in that: The determining the current power of the battery module based on the charging cut-off information includes: Obtaining the current voltage of the battery module during charging; When the current voltage is equal to the charging cut-off voltage in the charging cut-off information, determining that the current power of the battery module is fully charged; When the current voltage is less than the charging cut-off voltage, the power of the battery module is calculated to obtain a first power and a second power, and the current power of the battery module is determined based on the first power and the second power.

6. The method according to claim 5, characterized in that The determining the current power of the battery module based on the first power and the second power includes: When an absolute value of a difference between the first power level and the second power level is greater than a power threshold, determining a current power level of the battery module based on the difference; When the absolute value of the difference is less than or equal to the power threshold, the first power or the second power is used as the current power of the battery module.

7. The method according to claim 5, characterized in that The calculating the power of the battery module to obtain the first power and the second power includes: Acquiring a loop current of the battery module, and integrating the loop current with respect to time to obtain the first electrical quantity; The actual battery capacity of the battery module is obtained, and the second power is obtained based on a ratio between the remaining capacity of the battery module and the actual battery capacity.

8. The method according to any one of claims 1 to 4, characterized in that: The determining the current power of the battery module based on the charging cut-off information includes: Establishing an integrated circuit bus connection between a processor of the terminal device and a power meter of the terminal device; Based on the integrated circuit bus connection, the charging cutoff information determined by the processor is sent to the fuel gauge, so that the fuel gauge can determine the current power of the battery module based on the charging cutoff information.

9. An electric quantity calculation device, characterized in that: Applied to a terminal device, the device comprises: A battery acquisition module, configured to acquire multiple battery information associated with a battery module of the terminal device; A cut-off information determination module is configured to determine charging cut-off information of the battery module based on the plurality of battery information; the charging cut-off information is used to determine whether the battery module stops charging; The power determination module is configured to determine the current power of the battery module based on the charging cut-off information.

10. A terminal device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the power calculation method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal device, the terminal device is enabled to execute the power calculation method as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Electric Vehicle Power Calculation System and Method

    TWI919842B