WO2020024800A1 - Method and device for displaying electric quantities of dual batteries - Google Patents

Method and device for displaying electric quantities of dual batteries Download PDF

Info

Publication number
WO2020024800A1
WO2020024800A1 PCT/CN2019/096480 CN2019096480W WO2020024800A1 WO 2020024800 A1 WO2020024800 A1 WO 2020024800A1 CN 2019096480 W CN2019096480 W CN 2019096480W WO 2020024800 A1 WO2020024800 A1 WO 2020024800A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
power
current
capacity
total
Prior art date
Application number
PCT/CN2019/096480
Other languages
French (fr)
Chinese (zh)
Inventor
葛磊
Original Assignee
西安中兴新软件有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Publication of WO2020024800A1 publication Critical patent/WO2020024800A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/371Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with remote indication, e.g. on external chargers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements

Definitions

  • the present invention relates to the technical field of mobile communications, and in particular, to a method, a device, and a computer-readable storage medium for displaying electric power with dual batteries.
  • a larger battery capacity means a larger and thicker battery. If it becomes larger, it limits the size and location layout of the mobile terminal circuit board and components, which affects the design of mobile terminals such as mobile phones; if it becomes thicker, it increases the overall thickness of the mobile phone and affects the appearance of the mobile phone.
  • Dual batteries can be implemented in series or in parallel.
  • the use of two batteries in parallel mode is more complicated.
  • the two batteries can be powered alternately or both batteries can be powered simultaneously.
  • the alternate power supply of the two batteries is relatively simple on the power display, as long as the current battery power is displayed, but the two batteries cannot be exactly the same, so the power indicator on the LCD will jump, and the user may think that the battery The power display is abnormal; the power display of two batteries supplying power at the same time is more complicated.
  • the power of both batteries can be displayed, but this method has a poor user experience. To ensure the user experience, you can choose one of them. A battery level is displayed on the LCD, but the battery level indication is not accurate. It can be seen that the user experience and the accuracy of the display cannot be balanced.
  • embodiments of the present invention provide a method, a device, and a computer-readable storage medium for displaying the power of a dual battery.
  • An embodiment of the present invention provides a method for determining a display capacity of a dual battery.
  • the method includes:
  • the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
  • An embodiment of the present invention further provides a device for determining a display capacity of a dual battery.
  • the device includes:
  • a power acquisition unit configured to acquire the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
  • the first determining unit is configured to determine the current capacity of the first battery based on the total capacity C1 of the first battery C1, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, respectively.
  • the second determining unit is configured to obtain a combined display power of the two batteries based on a percentage of the current power Q1 of the first battery in the total power and a percentage of the current power Q2 of the second battery in the total power.
  • An embodiment of the present invention further provides a dual-battery device for displaying power.
  • the device includes a processor and a memory for storing a computer program capable of running on the processor.
  • An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • the method, device and computer-readable storage medium for displaying battery power provided by embodiments of the present invention respectively obtain current battery power Q1 of the first battery and current battery power Q2 of the second battery; based on the total capacity of the first battery C1, the second The total capacity C2 of the battery and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery determine the percentage of the current capacity Q1 of the first battery in the total capacity and the current capacity Q2 of the second battery in the total capacity, respectively.
  • the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery; based on the percentage of the current capacity Q1 of the first battery in the total capacity and the second
  • the current battery power Q2 is a percentage of the total power, and the combined display power of the two batteries is obtained.
  • power collection is performed on each of the dual batteries separately to obtain accurate power, and the combined display power of the two batteries is finally obtained, which can solve the power supply of dual batteries in the existing parallel situation. Indication of problems, with the advantages of accurate power indication and good user experience, can be used in subsequent dual battery-powered projects.
  • the embodiments of the present invention can realize other power display modes other than the one-in-one display, which is applicable in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability. .
  • FIG. 1 is a first schematic flowchart of a method for displaying battery power according to an embodiment of the present invention
  • FIG. 2 is a second schematic flowchart of a method for displaying power of a dual battery according to an embodiment of the present invention
  • FIG. 3 is a third schematic flowchart of a method for displaying a battery power according to an embodiment of the present invention.
  • FIG. 4 is a first schematic structural diagram of a dual-battery display device according to an embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of a structure of a dual-battery display device according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a dual-battery display device according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of determining an initial power amount in a combined power display mode according to an embodiment of the scenario of the present invention.
  • FIG. 8 is a flowchart of determining a power amount during a use period of a combined power display mode according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for displaying power of a dual battery. As shown in FIG. 1, the method includes:
  • Step 101 Obtain the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, respectively.
  • Step 102 Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the current capacity Q1 of the first battery at the total capacity, respectively. And the current capacity Q2 of the second battery as a percentage of the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
  • Step 103 Obtain a combined display capacity of the two batteries based on a percentage of the current capacity Q1 of the first battery and a percentage of the current capacity Q2 of the second battery.
  • the embodiment of the present invention is applicable to a case where two or more batteries are connected in parallel (the method for determining multiple batteries is similar to the two batteries, see the subsequent description); the combined display of the power is to combine the current power of the two batteries into one. Display the total power.
  • the electric quantity (Q1, Q2) is a reference index of the available capacity of the battery. For the user, it is the percentage of the electric quantity displayed on the screen. It means that the battery is out of power and the system will shut down.
  • the corresponding professional concept is called the relative charge state (SOC) of the battery, which refers to the ratio of the remaining capacity to the full capacity of the battery.
  • SOC relative charge state
  • the method further includes:
  • Step 104a display the current display power of the first battery and the current display power of the second battery at the same time;
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is a percentage of the current power Q2 of the second battery in the total power.
  • the method further includes:
  • Step 104b Display the current display capacity of the first battery or the first display battery separately based on a preset condition (such as displaying a larger value or a smaller value of the current display capacity of the first battery and the current display capacity of the second battery). Current display power of two batteries;
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • the embodiments of the present invention can realize other power display modes other than the one-in-one display, which can be applied in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability .
  • the determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
  • the determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
  • the combined display capacity of the two batteries is expressed as Q, and is obtained by the following formula:
  • an embodiment of the present invention further provides a dual-battery displaying power device.
  • the device includes:
  • a power acquisition unit 401 configured to acquire the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
  • the first determining unit 402 is configured to determine the current capacity of the first battery respectively based on the total capacity C1 of the first battery C1, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery Q1.
  • the second determining unit 403 is configured to obtain a combined display power of the two batteries based on a percentage of the current power Q1 of the first battery in the total power and a percentage of the current power Q2 of the second battery in the total power.
  • the device further includes:
  • a display unit 404 configured to simultaneously display the current display power of the first battery and the current display power of the second battery;
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • the display unit 404 is further configured to separately display the current display power of the first battery or the current display power of the second battery based on a preset condition;
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • An embodiment of the present invention further provides a dual-battery device for displaying power.
  • the device includes a processor and a memory for storing a computer program capable of running on the processor.
  • the processor when the processor is used to run the computer program, the processor executes:
  • the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
  • the processor is further configured to, when running the computer program, execute:
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • the processor is further configured to, when running the computer program, execute:
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
  • the determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
  • the combined display capacity of the two batteries is expressed as Q, which is obtained by the following formula:
  • the device provided by the above embodiment only uses the division of the above-mentioned program modules as an example for the determination of the dual-battery display power.
  • the above processing can be allocated to different program modules according to needs. Finished, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the devices provided in the foregoing embodiments belong to the same concept as the corresponding method embodiments. For specific implementation processes, refer to the method embodiments, and details are not described herein again.
  • an embodiment of the present invention further provides a computer-readable storage medium, which may be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, Or CD-ROM and other storage; it can also be various devices including one or any combination of the above storages, such as mobile phones, computers, tablet devices, personal digital assistants, and so on.
  • a computer-readable storage medium which may be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, Or CD-ROM and other storage; it can also be various devices including one or any combination of the above storages, such as mobile phones, computers, tablet devices, personal digital assistants, and so on.
  • An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon.
  • the computer program executes:
  • the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • the current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power
  • the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  • determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
  • the determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
  • the combined display capacity of the two batteries is expressed as Q, which is obtained by the following formula:
  • FIG. 6 A structural block diagram of a dual-battery display device according to an embodiment of the present invention is shown in FIG. 6 and includes: a charging module / power management module, a power supply control unit, a battery 1 and a battery 2, a power detection module 1 and a power detection module 2, a control and Data processing module, storage unit and display unit.
  • the charging module, the power supply control unit, the battery 1 and the battery 2 constitute a charging part;
  • the battery 1, the battery 2, the power supply control unit and the power management module form a system power supply part, and the battery supplies power to the power management module through the power supply control unit, and the power management module Output each voltage for system work;
  • the power supply control unit is composed of a logic controller, a load switch and a transistor, and is determined by the actual circuit configuration;
  • the power detection module 1 includes a voltage, current acquisition unit, and a communication unit, which are used to collect voltage and current data of the battery 1 to obtain the power information of the battery 1 and communicate with the control and data processing module; the power detection module 2 functions and The power detection module 1 is the same;
  • the calculation method of the battery power is called a fuel gauge.
  • the fuel gauge can be completely implemented by a hardware chip, which can be a pure software algorithm or a combination of a hardware chip and a software algorithm.
  • Different fuel gauges work on the principle Also different, the common ways are:
  • the remaining capacity can be estimated by measuring the battery terminal voltage. Therefore, the earliest method of power detection was obtained by monitoring the battery open circuit voltage The remaining capacity.
  • This power detection method needs to monitor the amount of charge flowing in and out, and calculate the remaining power through a certain algorithm, so it is called the coulomb measurement method.
  • This method has a higher accuracy in the calculation of the amount of electricity.
  • the learning algorithm of the charging-discharging process can show the actual capacity change of the battery. This is also a commonly used fuel gauge method.
  • the control and data processing module serves as the overall control and data processing module, and its functions are as follows: controlling the work of the power detection modules 1 and 2, reading the data of the power detection module, including the total capacity (nominal capacity) of the battery 1, the battery The total capacity of 2 (nominal capacity), the current power of battery 1, the current power of battery 2; data interaction with the storage unit; data processing: according to the current power and total capacity of battery 1 and battery 2 read, to achieve different
  • the power display of the mode includes not limited to the display of two battery powers at the same time; only the display of a single battery power, such as the display of high battery power or the display of low battery power; the two battery powers are combined as a power display through data processing ;
  • the storage unit is used for storing data, including, but not limited to, "Voltage-Electricity Correspondence Table", data generated in the data processing of the control and data processing module;
  • the display unit is used to display the power information provided by the control and data processing module.
  • the determination process of the initial capacity of the dual-battery combined display mode (the battery has not yet completed a full charging phase) is shown in FIG. 7.
  • Step 701 After the initial installation of the two batteries is completed, the power detection modules 1 & 2 respectively obtain the voltages of the batteries 1 & 2, and query the current battery power from the "voltage-power correspondence table" according to the voltage value;
  • the “Voltage-Electricity Correspondence Table” is obtained from battery cell charging and discharging experiments, and the table indicates the battery information such as the correspondence between battery voltage and electricity, and the nominal capacity of the battery;
  • Step 702 the power detection module 1 & 2 reports the current power to the control and data processing module;
  • Step 703 the control and data processing module stores the current power of the two batteries to the storage unit;
  • Step 704 the control and data processing module queries the nominal capacity of battery 1 & battery 2 from the "voltage-electricity correspondence table" in the storage unit;
  • Step 705 The control and data processing module performs data processing on the current power and the nominal capacity of the two batteries that have been read, and calculates the integrated power (the integrated display power Q); the processing process is as follows:
  • the total capacity (nominal capacity) of battery 1 is C1
  • the total capacity of battery 2 is C2
  • the current capacity of battery 1 is Q1
  • the current capacity of battery 2 is Q2
  • the final unified display capacity is Q;
  • the combined display power Q may be: Q1 * C1 / (C1 + C2 + ... + Ci) * 100% + Q2 * C2 / (C1 + C2 + ... + Ci) * 100% + ... + Qi * Ci / (C1 + C2 + ... + Ci) * 100%, where i is a positive integer greater than 2.
  • Step 706 The combined power is displayed on the display unit.
  • the dual-battery-in-one-display mode is used in the determination phase of the battery when the battery changes, such as mobile phone charging, mobile phone use, etc.
  • the determination process is shown in Figure 8. The following describes the specific implementation process in detail with reference to the flowchart, including :
  • Step 801 When the power of any battery changes (increases or decreases) while the mobile phone is being charged or using the mobile phone, its corresponding power detection module reports the latest power Q1 or Q2 to the control and data processing module;
  • Step 802 the control and data processing module stores the reported battery power in a storage unit
  • Step 803 the control and data processing module reads the maximum available capacity (equivalent to the nominal capacity) of the corresponding battery from the power detection module that reports the power, and stores it in the storage unit;
  • Step 804 the control and data processing module reads the current battery capacity of the corresponding battery and the maximum available capacity of the battery from another power detection module;
  • Step 805 The control and data processing module performs data processing on the current power and the maximum available capacity of the two batteries, and calculates the combined power; the processing process is as follows:
  • the total capacity of battery 1 (the above maximum available capacity, that is, the nominal capacity) is C1
  • the total capacity of battery 2 is C2
  • the current capacity of battery 1 is Q1
  • the current capacity of battery 2 is Q2
  • the final combined display capacity is For Q;
  • Step 806 The combined power is displayed on the display unit.
  • power collection is performed for each of the dual batteries separately to obtain accurate power, and the combined display power of the two batteries is finally obtained in combination with the nominal capacity, which can solve the dual battery power supply in the existing parallel situation
  • the power indication problem has the advantages of accurate power indication and good user experience, and can be used in subsequent dual-battery powered projects.
  • the embodiments of the present invention can realize other power display modes other than the one-in-one display, which is applicable in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability. .
  • the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, magnetic disk memory, optical memory, etc.) containing computer-usable program code.
  • a computer-usable storage media including, but not limited to, magnetic disk memory, optical memory, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

A method and device for displaying the electric quantities of dual batteries, the method comprising: acquiring the current electric quantity Q1 of a first battery and the current electric quantity Q2 of a second battery respectively (101); determining the percentages of the current electric quantity Q1 of the first battery and the current electric quantity Q2 of the second battery in a total electric quantity respectively on the basis of the total capacity C1 of the first battery, the total capacity C2 of the second battery, the current electric quantity Q1 of the first battery and the current electric quantity Q2 of the second battery (102), wherein the total electric quantity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery; and obtaining a combined display electric quantity of the two batteries on the basis of the percentages of the current electric quantity Q1 of the first battery and the current electric quantity Q2 of the second battery in the total electric quantity (103).

Description

双电池显示电量的方法和装置Method and device for displaying power of dual batteries
本申请要求享有2018年08月01日提交的名称为“双电池显示电量的方法、装置和计算机可读存储介质”的中国专利申请CN201810866103.4的优先权,其全部内容通过引用并入本文中。This application claims priority from Chinese patent application CN201810866103.4 entitled "Method, Device and Computer-readable Storage Medium for Displaying Electric Power by Dual Battery", filed on August 01, 2018, the entire contents of which are incorporated herein by reference. .
技术领域Technical field
本发明涉及移动通信技术领域,尤其涉及一种双电池显示电量的方法、装置和计算机可读存储介质。The present invention relates to the technical field of mobile communications, and in particular, to a method, a device, and a computer-readable storage medium for displaying electric power with dual batteries.
背景技术Background technique
随着手机等移动终端应用的增多,其产生的功耗逐渐变大,因此要求电池的容量就越来越大。在现有的电池技术下,电池容量变大,就意味着电池变大变厚。如果变大,则限制移动终端电路板和部件的大小和位置布局,影响着手机等移动终端设计;如果变厚,则增加手机整体厚度,影响手机外观。With the increase of mobile terminal applications such as mobile phones, the power consumption generated by them gradually increases, so the capacity of the battery is required to increase. Under the existing battery technology, a larger battery capacity means a larger and thicker battery. If it becomes larger, it limits the size and location layout of the mobile terminal circuit board and components, which affects the design of mobile terminals such as mobile phones; if it becomes thicker, it increases the overall thickness of the mobile phone and affects the appearance of the mobile phone.
基于目前单电池方案在手机设计中的矛盾,结合双屏机这种机型的面世,采用双电池方案的设计越来越成为可能。双电池可有串联和并联两种实现方式,并联方式下两个电池的使用情况比较复杂,可以两电池交替供电,也可以两电池同时供电。其中,两电池交替供电在电量显示上比较简单,只要显示当前电池的电量即可,但是两块电池电量不可能完全相同,所以LCD上的电量指示会出现跳变的情况,用户可能会认为电池电量显示发生异常;两电池同时供电的电量显示就复杂些,为保证显示的准确性,可以把两个电池的电量都显示出来,但是这个方法用户体验不好,为保证用户体验,可以选择其中一个电池电量在LCD显示,但是这样一来电量指示就不太准。可见,用户体验和显示的准确性不能兼顾。Based on the contradiction in the current single-battery solution in the design of mobile phones, combined with the advent of dual-screen models, the design of dual-battery solutions has become increasingly possible. Dual batteries can be implemented in series or in parallel. The use of two batteries in parallel mode is more complicated. The two batteries can be powered alternately or both batteries can be powered simultaneously. Among them, the alternate power supply of the two batteries is relatively simple on the power display, as long as the current battery power is displayed, but the two batteries cannot be exactly the same, so the power indicator on the LCD will jump, and the user may think that the battery The power display is abnormal; the power display of two batteries supplying power at the same time is more complicated. In order to ensure the accuracy of the display, the power of both batteries can be displayed, but this method has a poor user experience. To ensure the user experience, you can choose one of them. A battery level is displayed on the LCD, but the battery level indication is not accurate. It can be seen that the user experience and the accuracy of the display cannot be balanced.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种双电池显示电量的方法、装置和计算机可读存储介质。In order to solve the existing technical problems, embodiments of the present invention provide a method, a device, and a computer-readable storage medium for displaying the power of a dual battery.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the foregoing objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种双电池显示电量的确定方法,该方法包括:An embodiment of the present invention provides a method for determining a display capacity of a dual battery. The method includes:
分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;Obtaining the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。Based on the percentage of the current power Q1 of the first battery in the total power and the percentage of the current power Q2 of the second battery in the total power, a combined display power of the two batteries is obtained.
本发明实施例还提供了一种双电池显示电量的确定装置,该装置包括:An embodiment of the present invention further provides a device for determining a display capacity of a dual battery. The device includes:
电量获取单元,用于分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;A power acquisition unit, configured to acquire the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
第一确定单元,用于基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;The first determining unit is configured to determine the current capacity of the first battery based on the total capacity C1 of the first battery C1, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, respectively. A percentage of Q1 in the total power and a percentage of the current power of the second battery Q2 in the total power; wherein the total power is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
第二确定单元,用于基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。The second determining unit is configured to obtain a combined display power of the two batteries based on a percentage of the current power Q1 of the first battery in the total power and a percentage of the current power Q2 of the second battery in the total power.
本发明实施例还提供了一种双电池显示电量的装置,该装置包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present invention further provides a dual-battery device for displaying power. The device includes a processor and a memory for storing a computer program capable of running on the processor.
其中,所述处理器用于运行所述计算机程序时,执行上述方法的步骤。Wherein, when the processor is used to run the computer program, execute the steps of the foregoing method.
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法的步骤。An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the foregoing method are implemented.
本发明实施例提供的双电池显示电量的方法、装置和计算机可读存储介质,分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。本发明实施例对双电池中的每个电池分别进行电量采集,以获取准确的电量,结合总容量最终得到两个电池的合一显示电 量,可解决现有存在的并联情况下双电池供电电量指示问题,具有电量指示准确,用户体验好的优点,在后续双电池供电项目中可以得到运用。The method, device and computer-readable storage medium for displaying battery power provided by embodiments of the present invention respectively obtain current battery power Q1 of the first battery and current battery power Q2 of the second battery; based on the total capacity of the first battery C1, the second The total capacity C2 of the battery and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery determine the percentage of the current capacity Q1 of the first battery in the total capacity and the current capacity Q2 of the second battery in the total capacity, respectively. The total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery; based on the percentage of the current capacity Q1 of the first battery in the total capacity and the second The current battery power Q2 is a percentage of the total power, and the combined display power of the two batteries is obtained. In the embodiment of the present invention, power collection is performed on each of the dual batteries separately to obtain accurate power, and the combined display power of the two batteries is finally obtained, which can solve the power supply of dual batteries in the existing parallel situation. Indication of problems, with the advantages of accurate power indication and good user experience, can be used in subsequent dual battery-powered projects.
另外,本发明实施例可实现除合一显示之外的其他电量显示方式,在双电池充电、分别供电和同时供电场景中都可适用,无需关注电池充电、供电电路拓扑结构,应用适用性高。In addition, the embodiments of the present invention can realize other power display modes other than the one-in-one display, which is applicable in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability. .
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例所述双电池显示电量的方法流程示意图一;FIG. 1 is a first schematic flowchart of a method for displaying battery power according to an embodiment of the present invention; FIG.
图2为本发明实施例所述双电池显示电量的方法流程示意图二;FIG. 2 is a second schematic flowchart of a method for displaying power of a dual battery according to an embodiment of the present invention; FIG.
图3为本发明实施例所述双电池显示电量的方法流程示意图三;FIG. 3 is a third schematic flowchart of a method for displaying a battery power according to an embodiment of the present invention; FIG.
图4为本发明实施例所述双电池显示电量的装置结构示意图一;FIG. 4 is a first schematic structural diagram of a dual-battery display device according to an embodiment of the present invention; FIG.
图5为本发明实施例所述双电池显示电量的装置结构示意图二;FIG. 5 is a second schematic diagram of a structure of a dual-battery display device according to an embodiment of the present invention; FIG.
图6为本发明场景实施例所述双电池显示电量的装置结构框图;6 is a structural block diagram of a dual-battery display device according to an embodiment of the present invention;
图7为本发明场景实施例所述电量合一显示方式初始电量判定流程图;FIG. 7 is a flow chart of determining an initial power amount in a combined power display mode according to an embodiment of the scenario of the present invention; FIG.
图8为本发明场景实施例所述电量合一显示方式使用阶段电量判定流程图。FIG. 8 is a flowchart of determining a power amount during a use period of a combined power display mode according to an embodiment of the present invention.
具体实施方式detailed description
下面结合具体实施例对本发明进行详细描述。The present invention is described in detail below with reference to specific embodiments.
本发明实施例提供了一种双电池显示电量的方法,如图1所示,该方法包括:An embodiment of the present invention provides a method for displaying power of a dual battery. As shown in FIG. 1, the method includes:
步骤101:分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;Step 101: Obtain the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, respectively.
步骤102:基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;Step 102: Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the current capacity Q1 of the first battery at the total capacity, respectively. And the current capacity Q2 of the second battery as a percentage of the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
步骤103:基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。Step 103: Obtain a combined display capacity of the two batteries based on a percentage of the current capacity Q1 of the first battery and a percentage of the current capacity Q2 of the second battery.
本发明实施例适用于两个或多个电池并联的情况(多个电池的确定方法与两个电池类似,见后续描述);所述合一显示电量即:将两个电池的当前电量合成一体进行显示的总电量。The embodiment of the present invention is applicable to a case where two or more batteries are connected in parallel (the method for determining multiple batteries is similar to the two batteries, see the subsequent description); the combined display of the power is to combine the current power of the two batteries into one. Display the total power.
本发明实施例对双电池中的每个电池分别进行电量采集,以获取准确的电量,结合总容量最终得到两个电池的合一显示电量,可解决现有存在的并联情况下双电池供电电量指示问题,具有电量指示准确,用户体验好的优点,在后续双电池供电项目中可以得到运用。In the embodiment of the present invention, power collection is performed on each of the dual batteries separately to obtain accurate power, and the combined display power of the two batteries is finally obtained, which can solve the power supply of dual batteries in the existing parallel situation. Indication of problems, with the advantages of accurate power indication and good user experience, can be used in subsequent dual battery-powered projects.
另外,本发明实施例中,所述电量(Q1、Q2)是电池可用容量的参考指标,对用户而言,就是屏幕上显示的电量百分比,如100%表示电池满电,无需充电,0%表示电池没电,系统将关机,对应的专业概念叫电池相对充电状态(SOC),是指剩余容量与电池满容量的比,通过百分比的形式显示当前电池可用容量。In addition, in the embodiment of the present invention, the electric quantity (Q1, Q2) is a reference index of the available capacity of the battery. For the user, it is the percentage of the electric quantity displayed on the screen. It means that the battery is out of power and the system will shut down. The corresponding professional concept is called the relative charge state (SOC) of the battery, which refers to the ratio of the remaining capacity to the full capacity of the battery. The current battery capacity is displayed as a percentage.
一个实施例中,如图2所示,该方法还包括:In one embodiment, as shown in FIG. 2, the method further includes:
步骤104a:同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量; Step 104a: display the current display power of the first battery and the current display power of the second battery at the same time;
其中,所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is a percentage of the current power Q2 of the second battery in the total power.
一个实施例中,如图3所示,该方法还包括:In one embodiment, as shown in FIG. 3, the method further includes:
步骤104b:基于预设条件(如显示第一电池的当前显示电量和第二电池的当前显示电量中的较大值或较小值)单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量; Step 104b: Display the current display capacity of the first battery or the first display battery separately based on a preset condition (such as displaying a larger value or a smaller value of the current display capacity of the first battery and the current display capacity of the second battery). Current display power of two batteries;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
可见,本发明实施例可实现除合一显示之外的其他电量显示方式,在双电池充电、分别供电和同时供电场景中都可适用,无需关注电池充电、供电电路拓扑结构,应用适用性高。It can be seen that the embodiments of the present invention can realize other power display modes other than the one-in-one display, which can be applied in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability .
本发明实施例中,In the embodiment of the present invention,
所述确定第一电池的当前电量Q1在总电量中的百分比,表示为:Q1*C1/(C1+C2)*100%;The determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
所述确定第二电池的当前电量Q2在总电量中的百分比,表示为:Q2*C2/(C1+C2)*100%。The determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
本发明实施例中,所述两个电池的合一显示电量表示为Q,通过如下公式获得:In the embodiment of the present invention, the combined display capacity of the two batteries is expressed as Q, and is obtained by the following formula:
Q=Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%。Q = Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%.
为了实现上述方法,本发明实施例还提供了一种双电池显示电量的装置,如图4所示,该装置包括:In order to implement the above method, an embodiment of the present invention further provides a dual-battery displaying power device. As shown in FIG. 4, the device includes:
电量获取单元401,用于分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;A power acquisition unit 401, configured to acquire the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
第一确定单元402,用于基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1、第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;The first determining unit 402 is configured to determine the current capacity of the first battery respectively based on the total capacity C1 of the first battery C1, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery Q1. The percentage of the power Q1 in the total power and the percentage of the current power Q2 of the second battery in the total power; wherein the total power is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
第二确定单元403,用于基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。The second determining unit 403 is configured to obtain a combined display power of the two batteries based on a percentage of the current power Q1 of the first battery in the total power and a percentage of the current power Q2 of the second battery in the total power.
本发明实施例中,如图5所示,该装置还包括:In the embodiment of the present invention, as shown in FIG. 5, the device further includes:
显示单元404,用于同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量;A display unit 404, configured to simultaneously display the current display power of the first battery and the current display power of the second battery;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
一个实施例中,所述显示单元404,还用于基于预设条件单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量;In one embodiment, the display unit 404 is further configured to separately display the current display power of the first battery or the current display power of the second battery based on a preset condition;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
本发明实施例还提供了一种双电池显示电量的装置,该装置包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present invention further provides a dual-battery device for displaying power. The device includes a processor and a memory for storing a computer program capable of running on the processor.
其中,所述处理器用于运行所述计算机程序时,执行:Wherein, when the processor is used to run the computer program, the processor executes:
分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;Obtaining the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。Based on the percentage of the current power Q1 of the first battery in the total power and the percentage of the current power Q2 of the second battery in the total power, a combined display power of the two batteries is obtained.
所述处理器还用于运行所述计算机程序时,执行:The processor is further configured to, when running the computer program, execute:
同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量;Display the current display power of the first battery and the current display power of the second battery at the same time;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
所述处理器还用于运行所述计算机程序时,执行:The processor is further configured to, when running the computer program, execute:
基于预设条件单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量;Separately displaying the current display power of the first battery or the current display power of the second battery based on a preset condition;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
其中,所述确定第一电池的当前电量Q1在总电量中的百分比,表示为:Q1*C1/(C1+C2)*100%;Wherein, determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
所述确定第二电池的当前电量Q2在总电量中的百分比,表示为:Q2*C2/(C1+C2)*100%。The determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
其中,所述两个电池的合一显示电量表示为Q,通过如下公式获得:The combined display capacity of the two batteries is expressed as Q, which is obtained by the following formula:
Q=Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%。Q = Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%.
需要说明的是:上述实施例提供的装置在进行双电池显示电量的确定时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将设备的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的装置与相应方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the device provided by the above embodiment only uses the division of the above-mentioned program modules as an example for the determination of the dual-battery display power. In practical applications, the above processing can be allocated to different program modules according to needs. Finished, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the devices provided in the foregoing embodiments belong to the same concept as the corresponding method embodiments. For specific implementation processes, refer to the method embodiments, and details are not described herein again.
在示例性实施例中,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。In an exemplary embodiment, an embodiment of the present invention further provides a computer-readable storage medium, which may be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, Or CD-ROM and other storage; it can also be various devices including one or any combination of the above storages, such as mobile phones, computers, tablet devices, personal digital assistants, and so on.
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,执行:An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program executes:
分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;Obtaining the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及 第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量Q。Based on the percentage of the first battery ’s current power Q1 in the total power and the second battery ’s current power Q2 in the total power, a combined display power Q of the two batteries is obtained.
所述计算机程序被处理器运行时,还执行:When the computer program is executed by a processor, it also executes:
同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量;Display the current display power of the first battery and the current display power of the second battery at the same time;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
所述计算机程序被处理器运行时,还执行:When the computer program is executed by a processor, it also executes:
基于预设条件单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量;Separately displaying the current display power of the first battery or the current display power of the second battery based on a preset condition;
所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
其中,所述确定第一电池的当前电量Q1在总电量中的百分比,表示为:Q1*C1/(C1+C2)*100%;Wherein, determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
所述确定第二电池的当前电量Q2在总电量中的百分比,表示为:Q2*C2/(C1+C2)*100%。The determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
其中,所述两个电池的合一显示电量表示为Q,通过如下公式获得:The combined display capacity of the two batteries is expressed as Q, which is obtained by the following formula:
Q=Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%。Q = Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%.
下面结合场景实施例再对本发明进行描述。The present invention will be described below with reference to a scenario embodiment.
本发明场景实施例双电池显示电量的装置结构框图如图6所示,包括:充电模块/电源管理模块、供电控制单元、电池1和电池2、电量检测模块1和电量检测模块2、控制与数据处理模块、存储单元和显示单元。A structural block diagram of a dual-battery display device according to an embodiment of the present invention is shown in FIG. 6 and includes: a charging module / power management module, a power supply control unit, a battery 1 and a battery 2, a power detection module 1 and a power detection module 2, a control and Data processing module, storage unit and display unit.
其中,充电模块、供电控制单元,电池1和电池2构成充电部分;电池1、电池2、供电控制单元和电源管理模块构成系统供电部分,电池通过供电控制单元给电源管理模块供电,电源管理模块输出各电压用于系统工作;Among them, the charging module, the power supply control unit, the battery 1 and the battery 2 constitute a charging part; the battery 1, the battery 2, the power supply control unit and the power management module form a system power supply part, and the battery supplies power to the power management module through the power supply control unit, and the power management module Output each voltage for system work;
所述供电控制单元由逻辑控制器、负载开关和晶体管等组成,由实际电路构成决定;The power supply control unit is composed of a logic controller, a load switch and a transistor, and is determined by the actual circuit configuration;
所述电量检测模块1包含电压、电流采集单元、通信单元,用于对电池1进行电压电流数据采集,以获取电池1电量信息,并与控制与数据处理模块进行通信;电量检测模块2作用与电量检测模块1相同;The power detection module 1 includes a voltage, current acquisition unit, and a communication unit, which are used to collect voltage and current data of the battery 1 to obtain the power information of the battery 1 and communicate with the control and data processing module; the power detection module 2 functions and The power detection module 1 is the same;
关于电池电量的计算方法称为电量计,从实现方式看,电量计可以完全由硬件芯片实现,可以是纯软件算法,也可以是硬件芯片和软件算法的结合体,不同电量计,其工作原理也不同,常见的方式有:The calculation method of the battery power is called a fuel gauge. From the perspective of the implementation method, the fuel gauge can be completely implemented by a hardware chip, which can be a pure software algorithm or a combination of a hardware chip and a software algorithm. Different fuel gauges work on the principle Also different, the common ways are:
1、电池开路电压检测方式1.Battery open circuit voltage detection method
以目前常用的锂离子电池为例,电池端电压和剩余容量之间有一个确定的关系,测量电池端电压即可估算其剩余容量,因此最早采用的电量检测方法是通过监测电池开路电压来获得剩余容量。Taking the current commonly used lithium-ion battery as an example, there is a definite relationship between the battery terminal voltage and the remaining capacity. The remaining capacity can be estimated by measuring the battery terminal voltage. Therefore, the earliest method of power detection was obtained by monitoring the battery open circuit voltage The remaining capacity.
2、库仑量检测方式2.Coulomb detection method
这种电量检测方法需要监测流入、流出的电荷量,并通过一定的算法计算出剩余电量,因此称之为库伦量测方式。此法电量计算的精确度较高,通过充电-放电过程的学习算法可以显示电池实际的容量变化。这也是常用的电量计方法。This power detection method needs to monitor the amount of charge flowing in and out, and calculate the remaining power through a certain algorithm, so it is called the coulomb measurement method. This method has a higher accuracy in the calculation of the amount of electricity. The learning algorithm of the charging-discharging process can show the actual capacity change of the battery. This is also a commonly used fuel gauge method.
所述控制与数据处理模块作为总控制和数据处理模块,其作用如下:控制电量检测模块1和2的工作,读取电量检测模块的数据,包括电池1的总容量(标称容量),电池2的总容量(标称容量),电池1的当前电量,电池2的当前电量;与存储单元进行数据交互;数据处理:根据读取到电池1和电池2的当前电量和总容量,实现不同方式的电量显示,包括不限于两电池电量同时显示;只显示单个电池电量,如显示电量高的电池电量或显示电量低的电池电量;通过数据处理把两个电池电量合一,作为一个电量显示;The control and data processing module serves as the overall control and data processing module, and its functions are as follows: controlling the work of the power detection modules 1 and 2, reading the data of the power detection module, including the total capacity (nominal capacity) of the battery 1, the battery The total capacity of 2 (nominal capacity), the current power of battery 1, the current power of battery 2; data interaction with the storage unit; data processing: according to the current power and total capacity of battery 1 and battery 2 read, to achieve different The power display of the mode includes not limited to the display of two battery powers at the same time; only the display of a single battery power, such as the display of high battery power or the display of low battery power; the two battery powers are combined as a power display through data processing ;
所述存储单元用于存储数据,包括不限于《电压—电量对应表》、控制与数据处理模块数据处理中产生的数据;The storage unit is used for storing data, including, but not limited to, "Voltage-Electricity Correspondence Table", data generated in the data processing of the control and data processing module;
所述显示单元用于显示控制与数据处理模块给出的电量信息。The display unit is used to display the power information provided by the control and data processing module.
本实施例中,双电池电量合一显示方式初始电量(电池初装尚未完成一次完整充电阶段)判定流程如图7所示,下面结合流程图对具体实施过程进行详细说明,包括:In this embodiment, the determination process of the initial capacity of the dual-battery combined display mode (the battery has not yet completed a full charging phase) is shown in FIG. 7. The following describes the specific implementation process in detail with reference to the flowchart, including:
步骤701:两块电池初始装机完成后,电量检测模块1&2分别获取电池1&2电压,根据电压值从《电压—电量对应表》查询当前电池电量;Step 701: After the initial installation of the two batteries is completed, the power detection modules 1 & 2 respectively obtain the voltages of the batteries 1 & 2, and query the current battery power from the "voltage-power correspondence table" according to the voltage value;
所述《电压—电量对应表》为电池单体充放电实验所得,表中标明了电池电压与电量的对应关系、电池的标称容量等电池信息;The "Voltage-Electricity Correspondence Table" is obtained from battery cell charging and discharging experiments, and the table indicates the battery information such as the correspondence between battery voltage and electricity, and the nominal capacity of the battery;
步骤702:电量检测模块1&2把当前电量上报给控制与数据处理模块;Step 702: the power detection module 1 & 2 reports the current power to the control and data processing module;
步骤703:控制与数据处理模块把两个电池的当前电量存储到存储单元;Step 703: the control and data processing module stores the current power of the two batteries to the storage unit;
步骤704:控制与数据处理模块从存储单元中的《电压—电量对应表》查询电池1&电池2的标称容量;Step 704: the control and data processing module queries the nominal capacity of battery 1 & battery 2 from the "voltage-electricity correspondence table" in the storage unit;
步骤705:控制与数据处理模块对读取到两个电池的当前电量和标称容量进行数据处理,计算出合一电量(合一显示电量Q);处理过程如下:Step 705: The control and data processing module performs data processing on the current power and the nominal capacity of the two batteries that have been read, and calculates the integrated power (the integrated display power Q); the processing process is as follows:
假设电池1的总容量(标称容量)为C1,电池2的总容量为C2,电池1的当前电量为Q1,电池2的当前电量为Q2,最终的合一显示电量为Q;Assume that the total capacity (nominal capacity) of battery 1 is C1, the total capacity of battery 2 is C2, the current capacity of battery 1 is Q1, the current capacity of battery 2 is Q2, and the final unified display capacity is Q;
通过Q1*C1/(C1+C2)*100%算出电池1当前电量在总电量中的百分比,通过Q2*C2/(C1+C2)*100%算出电池2当前电量在总电量中的百分比;Use Q1 * C1 / (C1 + C2) * 100% to calculate the current battery's percentage of the total power, and Q2 * C2 / (C1 + C2) * 100% to calculate the current battery's current percentage of the total power;
通过Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%算出最终的合一显示电量Q,实际计算值可能会有小数,按照四舍五入的方法取整数作为最后的电量显示。Calculate the final unified display power Q through Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%. The actual calculated value may have decimals. Take the integer as the rounding method. The last battery level is displayed.
对于多个电池的情况,所述合一显示电量Q可为:Q1*C1/(C1+C2+…+Ci)*100%+Q2*C2/(C1+C2+…+Ci)*100%+…+Qi*Ci/(C1+C2+…+Ci)*100%,所述i为大于2的正整数。For the case of multiple batteries, the combined display power Q may be: Q1 * C1 / (C1 + C2 + ... + Ci) * 100% + Q2 * C2 / (C1 + C2 + ... + Ci) * 100% + ... + Qi * Ci / (C1 + C2 + ... + Ci) * 100%, where i is a positive integer greater than 2.
步骤706:合一电量在显示单元上显示。Step 706: The combined power is displayed on the display unit.
本实施例中,双电池电量合一显示方式使用阶段在电量变化情况下,如手机充电,手机使用等情况的判定流程如图8所示,下面结合流程图对具体实施过程进行详细说明,包括:In this embodiment, the dual-battery-in-one-display mode is used in the determination phase of the battery when the battery changes, such as mobile phone charging, mobile phone use, etc. The determination process is shown in Figure 8. The following describes the specific implementation process in detail with reference to the flowchart, including :
步骤801:当手机充电或者使用手机时任意一块电池电量发生变化(增加或降低)时,其对应的电量检测模块把最新电量Q1或Q2上报给控制与数据处理模块;Step 801: When the power of any battery changes (increases or decreases) while the mobile phone is being charged or using the mobile phone, its corresponding power detection module reports the latest power Q1 or Q2 to the control and data processing module;
步骤802:控制与数据处理模块把上报的电池电量存储到存储单元;Step 802: the control and data processing module stores the reported battery power in a storage unit;
步骤803:控制与数据处理模块从上报电量的电量检测模块中读取其对应电池的最大可用容量(相当于标称容量),并存储到存储单元;Step 803: the control and data processing module reads the maximum available capacity (equivalent to the nominal capacity) of the corresponding battery from the power detection module that reports the power, and stores it in the storage unit;
步骤804:控制与数据处理模块从另一个电量检测模块读取其对应电池的当前电池电量和电池最大可用容量;Step 804: the control and data processing module reads the current battery capacity of the corresponding battery and the maximum available capacity of the battery from another power detection module;
步骤805:控制与数据处理模块对读取到两个电池的当前电量和最大可用容量进行数据处理,计算出合一电量;处理过程如下:Step 805: The control and data processing module performs data processing on the current power and the maximum available capacity of the two batteries, and calculates the combined power; the processing process is as follows:
假设电池1的总容量(上述最大可用容量,即标称容量)为C1,电池2的总容量为C2,电池1的当前电量为Q1,电池2的当前电量为Q2,最终的合一显示电量为Q;Assume that the total capacity of battery 1 (the above maximum available capacity, that is, the nominal capacity) is C1, the total capacity of battery 2 is C2, the current capacity of battery 1 is Q1, and the current capacity of battery 2 is Q2, and the final combined display capacity is For Q;
通过Q1*C1/(C1+C2)*100%算出电池1当前电量在总电量中的百分比,通过Q2*C2/(C1+C2)*100%算出电池2当前电量在总电量中的百分比;Use Q1 * C1 / (C1 + C2) * 100% to calculate the current battery's percentage of the total power, and Q2 * C2 / (C1 + C2) * 100% to calculate the current battery's current percentage of the total power;
通过Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%算出最终的合一显示电量Q,实际计算值可能会有小数,按照四舍五入的方法取整数作为最后的电量显示。Calculate the final unified display power Q through Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%. The actual calculated value may have decimals. Take the integer as the rounding method. The last battery level is displayed.
步骤806:合一电量在显示单元上显示。Step 806: The combined power is displayed on the display unit.
本发明实施例对双电池中的每个电池分别进行电量采集,以获取准确的电量,结合标称容量最终得到两个电池的合一显示电量,可解决现有存在的并联情况下双电池供电电量指示问题,具有电量指示准确,用户体验好的优点,在后续双电池供电项目中可以得到运用。In the embodiment of the present invention, power collection is performed for each of the dual batteries separately to obtain accurate power, and the combined display power of the two batteries is finally obtained in combination with the nominal capacity, which can solve the dual battery power supply in the existing parallel situation The power indication problem has the advantages of accurate power indication and good user experience, and can be used in subsequent dual-battery powered projects.
另外,本发明实施例可实现除合一显示之外的其他电量显示方式,在双电池充电、分别供电和同时供电场景中都可适用,无需关注电池充电、供电电路拓扑结构,应用适用性高。In addition, the embodiments of the present invention can realize other power display modes other than the one-in-one display, which is applicable in the scenarios of dual battery charging, separate power supply and simultaneous power supply, without paying attention to the battery charging and power supply circuit topology, and has high applicability. .
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, magnetic disk memory, optical memory, etc.) containing computer-usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above description is only the preferred embodiments of the present invention, and is not intended to limit the protection scope of the present invention.

Claims (9)

  1. 一种双电池显示电量的确定方法,其中,该方法包括:A method for determining a display capacity of a dual battery, wherein the method includes:
    分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;Obtaining the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
    基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;Based on the total capacity C1 of the first battery, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, determine the percentage of the current capacity Q1 of the first battery in the total capacity, respectively. And the percentage of the current capacity Q2 of the second battery in the total capacity; wherein the total capacity is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
    基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。Based on the percentage of the current power Q1 of the first battery in the total power and the percentage of the current power Q2 of the second battery in the total power, a combined display power of the two batteries is obtained.
  2. 根据权利要求1所述的方法,其中,该方法还包括:The method according to claim 1, further comprising:
    同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量;Display the current display power of the first battery and the current display power of the second battery at the same time;
    所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  3. 根据权利要求1所述的方法,其中,该方法还包括:The method according to claim 1, further comprising:
    基于预设条件单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量;Separately displaying the current display power of the first battery or the current display power of the second battery based on a preset condition;
    所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  4. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein:
    所述确定第一电池的当前电量Q1在总电量中的百分比,表示为:Q1*C1/(C1+C2)*100%;The determining the percentage of the current power Q1 of the first battery in the total power is expressed as: Q1 * C1 / (C1 + C2) * 100%;
    所述确定第二电池的当前电量Q2在总电量中的百分比,表示为:Q2*C2/(C1+C2)*100%。The determining the percentage of the current power Q2 of the second battery in the total power is expressed as: Q2 * C2 / (C1 + C2) * 100%.
  5. 根据权利要求4所述的方法,其中,所述两个电池的合一显示电量表示为Q,通过如下公式获得:The method according to claim 4, wherein the combined display capacity of the two batteries is expressed as Q, which is obtained by the following formula:
    Q=Q1*C1/(C1+C2)*100%+Q2*C2/(C1+C2)*100%。Q = Q1 * C1 / (C1 + C2) * 100% + Q2 * C2 / (C1 + C2) * 100%.
  6. 一种双电池显示电量的确定装置,其中,该装置包括:A device for determining a display capacity of a dual battery, wherein the device includes:
    电量获取单元,用于分别获取第一电池的当前电量Q1和第二电池的当前电量Q2;A power acquisition unit, configured to acquire the current power Q1 of the first battery and the current power Q2 of the second battery, respectively;
    第一确定单元,用于基于第一电池的总容量C1、第二电池的总容量C2以及所述第一电池的当前电量Q1和第二电池的当前电量Q2,分别确定第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比;其中,所述总电量为所述第一电池的总容量C1与第二电池的总容量C2之和;The first determining unit is configured to determine the current capacity of the first battery based on the total capacity C1 of the first battery C1, the total capacity C2 of the second battery, and the current capacity Q1 of the first battery and the current capacity Q2 of the second battery, respectively. A percentage of Q1 in the total power and a percentage of the current power of the second battery Q2 in the total power; wherein the total power is the sum of the total capacity C1 of the first battery and the total capacity C2 of the second battery;
    第二确定单元,用于基于所述第一电池的当前电量Q1在总电量中的百分比以及第二电池的当前电量Q2在总电量中的百分比,得到两个电池的合一显示电量。The second determining unit is configured to obtain a combined display power of the two batteries based on a percentage of the current power Q1 of the first battery in the total power and a percentage of the current power Q2 of the second battery in the total power.
  7. 根据权利要求6所述的装置,其中,该装置还包括:The apparatus according to claim 6, wherein the apparatus further comprises:
    显示单元,用于同时显示所述第一电池的当前显示电量以及所述第二电池的当前显示电量;A display unit, configured to simultaneously display the current display power of the first battery and the current display power of the second battery;
    所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  8. 根据权利要求7所述的装置,其中,所述显示单元,还用于基于预设条件单独显示所述第一电池的当前显示电量或所述第二电池的当前显示电量;The device according to claim 7, wherein the display unit is further configured to separately display the current display power of the first battery or the current display power of the second battery based on a preset condition;
    所述第一电池的当前显示电量为第一电池的当前电量Q1在总电量中的百分比,所述第二电池的当前显示电量为第二电池的当前电量Q2在总电量中的百分比。The current display power of the first battery is a percentage of the current power Q1 of the first battery in the total power, and the current display power of the second battery is the percentage of the current power Q2 of the second battery in the total power.
  9. 一种双电池显示电量的装置,其中,该装置包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,A dual-battery device for displaying power, wherein the device includes a processor and a memory for storing a computer program capable of running on the processor,
    其中,所述处理器用于运行所述计算机程序时,执行权利要求1-5中任一项所述方法的步骤。Wherein, when the processor is used to run the computer program, execute the steps of the method according to any one of claims 1-5.
PCT/CN2019/096480 2018-08-01 2019-07-18 Method and device for displaying electric quantities of dual batteries WO2020024800A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810866103.4A CN110850311B (en) 2018-08-01 2018-08-01 Method and device for displaying electric quantity by double batteries and computer readable storage medium
CN201810866103.4 2018-08-01

Publications (1)

Publication Number Publication Date
WO2020024800A1 true WO2020024800A1 (en) 2020-02-06

Family

ID=69232359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096480 WO2020024800A1 (en) 2018-08-01 2019-07-18 Method and device for displaying electric quantities of dual batteries

Country Status (2)

Country Link
CN (1) CN110850311B (en)
WO (1) WO2020024800A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113933717A (en) * 2020-07-14 2022-01-14 北京小米移动软件有限公司 Method and device for acquiring electric quantity of battery, battery and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201323228Y (en) * 2008-12-22 2009-10-07 深圳华为通信技术有限公司 Multi-cell mobile terminal
EP2282494A1 (en) * 2009-07-08 2011-02-09 Lg Electronics Inc. Mobile terminal with multiple batteries
CN202197340U (en) * 2011-09-07 2012-04-18 深圳市金立通信设备有限公司 Double-battery power management system for mobile phone
CN202772653U (en) * 2012-05-15 2013-03-06 深圳凯虹移动通信有限公司 Dual battery mobile phone
CN103226184A (en) * 2013-03-20 2013-07-31 东莞宇龙通信科技有限公司 Method for acquiring cell information in multicell terminal and multicell terminal
CN206041619U (en) * 2016-07-28 2017-03-22 大唐终端技术有限公司 Double cell controlling means and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111426B (en) * 2013-07-05 2017-10-27 广东美的制冷设备有限公司 A kind of remote control detection method of quantity of electricity and device
CN104999920B (en) * 2014-04-16 2017-11-03 上海通用汽车有限公司 A kind of double cell management system on the automatic start-stop vehicle of engine
CN104375088A (en) * 2014-11-06 2015-02-25 惠州Tcl移动通信有限公司 Mobile terminal battery voltage displaying method and system
CN107271908A (en) * 2014-12-18 2017-10-20 青岛海信移动通信技术股份有限公司 A kind of terminal residual electric quantity display method and device
US20170227607A1 (en) * 2016-02-04 2017-08-10 Mediatek Inc. Schemes capable of efficiently and accurately estimating and/or predicting available battery capacity and battery aging factor
US10436852B2 (en) * 2016-08-04 2019-10-08 Infineon Technologies Ag Battery monitoring using a redundant neighbor measurement

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201323228Y (en) * 2008-12-22 2009-10-07 深圳华为通信技术有限公司 Multi-cell mobile terminal
EP2282494A1 (en) * 2009-07-08 2011-02-09 Lg Electronics Inc. Mobile terminal with multiple batteries
CN202197340U (en) * 2011-09-07 2012-04-18 深圳市金立通信设备有限公司 Double-battery power management system for mobile phone
CN202772653U (en) * 2012-05-15 2013-03-06 深圳凯虹移动通信有限公司 Dual battery mobile phone
CN103226184A (en) * 2013-03-20 2013-07-31 东莞宇龙通信科技有限公司 Method for acquiring cell information in multicell terminal and multicell terminal
CN206041619U (en) * 2016-07-28 2017-03-22 大唐终端技术有限公司 Double cell controlling means and mobile terminal

Also Published As

Publication number Publication date
CN110850311A (en) 2020-02-28
CN110850311B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN103308865B (en) Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve
CN105143898B (en) Estimate the method and system of battery SOC
CN104698388B (en) The cell degradation detection method and its device of a kind of mobile terminal
CN107436418B (en) Method, terminal and device for calibrating electric quantity attenuation of battery
CN102854471B (en) Battery meter metering method and measuring apparatus
JP2015505956A (en) Battery remaining capacity estimation apparatus and method
WO2014101807A1 (en) Method and terminal for displaying capacity of battery
WO2016145621A1 (en) Electrical power estimating method and terminal
TW200824169A (en) Method for predicting remaining capacity of a battery
TW201403105A (en) Method and system for calculating capacities of battery
CN105548905A (en) Method and system for testing battery electricity quantity
CN111490304A (en) Battery equalization enabling method and device, storage medium and battery pack
CN108061863A (en) Method and device for detecting battery, computer readable storage medium and battery management system
CN104866058A (en) Method and apparatus for determining battery endurance of electronic device
CN103460063B (en) Battery voltage measurement
US12050252B2 (en) State-of-charge cut-off control method, apparatus and system, and storage medium
CN110687458A (en) Terminal battery electric quantity determination method and device
CN113009360A (en) Lithium battery SOC-OCV testing method and device and terminal equipment
Zine et al. Estimation of battery SOC for hybrid electric vehicle using coulomb counting method
US20140100802A1 (en) Method and computer system for measuring remaining battery capacity
WO2020024800A1 (en) Method and device for displaying electric quantities of dual batteries
WO2024183285A1 (en) Method for determining state of charge of power battery, and related device
CN116819335A (en) Battery life prediction method, device, computer equipment and storage medium
CN116243189A (en) Battery remaining capacity determining method and device, electronic equipment and storage medium
WO2023024624A1 (en) Method and apparatus for displaying charging capacity of battery, and electrical terminal and storage medium

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: 19844440

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: 19844440

Country of ref document: EP

Kind code of ref document: A1