CN107884718B - Battery remaining capacity calculation method, mobile terminal and storage device - Google Patents

Battery remaining capacity calculation method, mobile terminal and storage device Download PDF

Info

Publication number
CN107884718B
CN107884718B CN201710960853.3A CN201710960853A CN107884718B CN 107884718 B CN107884718 B CN 107884718B CN 201710960853 A CN201710960853 A CN 201710960853A CN 107884718 B CN107884718 B CN 107884718B
Authority
CN
China
Prior art keywords
mobile terminal
value
temperature
battery
acceleration
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710960853.3A
Other languages
Chinese (zh)
Other versions
CN107884718A (en
Inventor
江慧波
谭艺江
余成永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yibin Tianlong Communication Co.,Ltd.
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710960853.3A priority Critical patent/CN107884718B/en
Publication of CN107884718A publication Critical patent/CN107884718A/en
Application granted granted Critical
Publication of CN107884718B publication Critical patent/CN107884718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]
    • G01R31/3644Constructional arrangements
    • G01R31/3648Constructional arrangements comprising digital calculation means, e.g. for performing an algorithm
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Secondary Cells (AREA)

Abstract

The invention relates to the technical field of mobile terminals, and discloses a method for calculating the residual battery capacity of a mobile terminal, the mobile terminal and a storage device. The method comprises the following steps: acquiring motion state information of the mobile terminal; acquiring an effective voltage value of a mobile terminal battery according to the motion state information; and calculating the residual capacity of the mobile terminal battery according to the effective voltage value. Through the mode, the accuracy of the calculation result of the residual electric quantity of the mobile terminal battery can be improved.

Description

Battery remaining capacity calculation method, mobile terminal and storage device
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method for calculating a remaining battery capacity of a mobile terminal, and a storage device.
Background
The mobile terminal or called mobile communication terminal refers to a computer device which can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most often refer to cell phones or smart phones and tablets with multiple application functions. With the development of networks and technologies towards increasingly broader bands, the mobile communications industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing capability of the mobile terminal has already possessed strong processing capability, and the mobile terminal is changing from a simple conversation tool to an integrated information processing platform. This also adds more development space to mobile terminals.
The battery State Of Charge (SOC) refers to the ratio Of the remaining capacity to the capacity thereof in a fully charged State. At present, in the charging and discharging process of a mobile terminal, due to the existence of errors, the difference between the display capacity of the mobile terminal and the actual capacity is large, especially for the mobile terminal with a detachable battery, if the mobile terminal has large vibration or falls, the battery may have the conditions of deviation, displacement, poor contact and the like with a battery connector on the mobile terminal, which causes the contact resistance of the battery and the mobile terminal to change, the voltage detection deviation of the mobile terminal is large, and the large deviation of the calculation of an electricity meter is caused, thereby causing much inconvenience for the user of the mobile terminal and seriously affecting the user experience.
Disclosure of Invention
In view of the above, the present invention provides a method for calculating a remaining battery capacity of a mobile terminal, a mobile terminal and a storage device, which can improve accuracy of a calculation result of the remaining battery capacity of the mobile terminal.
In order to solve the technical problems, the invention adopts a technical scheme that: provided is a method for calculating a remaining battery capacity of a mobile terminal, the method including: acquiring motion state information of the mobile terminal; acquiring an effective voltage value of a mobile terminal battery according to the motion state information; and calculating the residual capacity of the mobile terminal battery according to the effective voltage value.
In order to solve the technical problem, the invention adopts another technical scheme that: the mobile terminal comprises a processor, a detection circuit and a first sensing device, wherein the processor is respectively connected with the detection circuit and the first sensing device, the detection circuit is used for acquiring a voltage value of a battery of the mobile terminal, the first sensing device is used for acquiring motion state information of the mobile terminal, and the processor can execute a program to realize the method for calculating the residual electric quantity of the battery of the mobile terminal, which is explained in the embodiment, and the method comprises the following steps:
acquiring motion state information of the mobile terminal; acquiring an effective voltage value of a mobile terminal battery according to the motion state information; and calculating the residual capacity of the mobile terminal battery according to the effective voltage value.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a storage device storing program data that can be executed to implement the battery remaining capacity calculation method of a mobile terminal set forth in the above embodiment, the method including:
acquiring motion state information of the mobile terminal; acquiring an effective voltage value of a mobile terminal battery according to the motion state information; and calculating the residual capacity of the mobile terminal battery according to the effective voltage value.
The invention has the beneficial effects that: compared with the prior art that the mobile terminal vibrates greatly or the motion state of the mobile terminal changes greatly, so that the contact between the mobile terminal battery and the battery connector is poor, and the calculation result of the residual electric quantity of the mobile terminal battery has larger errors.
Drawings
Fig. 1 is a flowchart illustrating a method for calculating a remaining battery capacity of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for calculating remaining battery power of a mobile terminal according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a memory device according to an embodiment of the invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for calculating a remaining battery capacity of a mobile terminal according to an embodiment of the present invention.
S101: acquiring motion state information of the mobile terminal;
in the embodiment, the motion state information of the mobile terminal is obtained by obtaining the acceleration of the mobile terminal at different moments and analyzing the acceleration of the mobile terminal at different moments, and the validity of the parameter for calculating the residual capacity of the mobile terminal battery is judged according to the motion state of the mobile terminal, so that the residual capacity of the mobile terminal battery is accurately calculated.
S102: acquiring an effective voltage value of a mobile terminal battery according to the motion state information;
in this embodiment, according to the obtained motion state information of the mobile terminal, the validity of the parameter collected by the mobile terminal and used for calculating the remaining power of the battery of the mobile terminal is determined, for example, the validity of the voltage value collected by the mobile terminal and used for calculating the remaining power of the battery of the mobile terminal is determined, so as to obtain the valid voltage value used by the mobile terminal for calculating the remaining power of the battery of the mobile terminal.
S103: calculating the residual electric quantity of the mobile terminal battery according to the effective voltage value;
in this embodiment, after obtaining the effective voltage value used by the mobile terminal to calculate the remaining battery capacity of the mobile terminal, the remaining battery capacity of the mobile terminal is calculated by using a current integration method, and according to the obtained effective voltage value used by the mobile terminal to calculate the remaining battery capacity of the mobile terminal, the current magnitude of the mobile terminal at each time is calculated, and then the current magnitude is substituted into a current integration method formula to calculate the remaining battery capacity of the mobile terminal, or by using an open-circuit voltage method, according to the obtained effective voltage value used by the mobile terminal to calculate the remaining battery capacity of the mobile terminal, the remaining battery capacity corresponding to the effective voltage value is correspondingly found out from an open-circuit voltage-remaining battery capacity relation curve, so as to obtain the remaining battery capacity of the mobile terminal.
Of course, as will be understood by those skilled in the art, the method for calculating the remaining battery capacity of the mobile terminal includes, but is not limited to, the above two methods, and the method for calculating the remaining battery capacity of the mobile terminal using the voltage of the battery of the mobile terminal can be the method for calculating the remaining battery capacity of the mobile terminal described in the embodiment, and is not limited herein.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for calculating remaining battery power of a mobile terminal according to another embodiment of the present invention.
S201: acquiring motion state information of the mobile terminal;
in the embodiment, the motion state information of the mobile terminal is obtained by obtaining the acceleration of the mobile terminal at different moments and analyzing the acceleration of the mobile terminal at different moments, and the validity of the parameter for calculating the residual capacity of the mobile terminal battery is judged according to the motion state of the mobile terminal, so that the residual capacity of the mobile terminal battery is accurately calculated.
Optionally, a first preset time is taken as an interval, a first acceleration and a second acceleration of the mobile terminal are obtained, and the motion state of the mobile terminal is analyzed by obtaining a vector difference value between the first acceleration and the second acceleration, however, as understood by those skilled in the art, multiple sets of acceleration values of the mobile terminal may be obtained at the interval for analyzing the motion state of the mobile terminal, where the greater the number of sets of acceleration values of the mobile terminal obtained, the more accurate the analysis result is, the more the acceleration values of the two sets of mobile terminals are used for analysis in the present embodiment, which is only by way of example, and not limited to the number of sets of acceleration values of the mobile terminal obtained in the present embodiment.
Optionally, the first preset time may be 1 millisecond, 2 millisecond, 3 millisecond, and the like, in order to implement real-time monitoring of the acceleration of the mobile terminal, the first preset time is in the order of milliseconds, and the shorter the first preset time is, the shorter the cycle interval for acquiring the acceleration of the mobile terminal is, the closer the cycle interval is to the specific motion state of the mobile terminal, the more accurate the analysis result is, and the like, which is not limited herein.
S202: analyzing the motion state of the mobile terminal;
in this embodiment, a first preset time is taken as an interval, a first acceleration and a second acceleration of the mobile terminal are obtained, a vector difference between the first acceleration and the second acceleration is obtained, if the vector difference between the first acceleration and the second acceleration is greater than a preset acceleration difference, the mobile terminal is in an abnormal motion state, and if the vector difference between the first acceleration and the second acceleration is not greater than the preset acceleration difference, the mobile terminal is in a normal motion state.
Optionally, the vector difference between the first acceleration and the second acceleration is obtained by taking a three-dimensional coordinate system as a reference system, that is, a vector subtraction operation is performed on the first acceleration and the second acceleration, the preset acceleration difference includes a preset acceleration absolute value difference and a preset acceleration direction difference, after the vector subtraction operation is performed on the first acceleration and the second acceleration, the absolute value of the obtained vector difference is compared with the preset acceleration absolute value difference, and the acceleration direction change of the obtained vector difference is compared with the preset acceleration direction difference (mainly comparing the angle of the change of the acceleration direction), after the vector subtraction operation is performed on the first acceleration and the second acceleration, the absolute value of the obtained vector difference is greater than the preset acceleration absolute value difference and/or the acceleration direction change of the obtained vector difference is greater than the preset acceleration direction difference, for example, the first acceleration is 9m/s, after the first preset time, the acceleration of the mobile terminal is a second acceleration of-6 m/s, the absolute value of the vector difference is 15m/s, which is greater than the preset acceleration absolute value difference, and the acceleration direction change of the first acceleration and the second acceleration is greater than 90 degrees, which is greater than the preset acceleration direction difference, then the mobile terminal is determined to be in an abnormal motion state, otherwise, the mobile terminal is determined to be in a normal motion state.
Optionally, the preset acceleration difference includes a preset acceleration absolute value difference and a preset acceleration direction difference, the preset acceleration absolute value difference may be 10m/s, 15m/s, 20m/s, and the like, and the preset acceleration direction difference may be 90 degrees, 100 degrees, 120 degrees, and the like, as will be understood by those skilled in the art, the preset acceleration absolute value difference and the preset acceleration direction difference include, but are not limited to, the above situations, and can be used to determine that the mobile terminal has abnormal motion, and both the preset acceleration absolute value difference and the preset acceleration direction difference described in this embodiment can be, but are not limited to, the preset acceleration absolute value difference and the preset acceleration direction difference described in this embodiment.
S203: obtaining an effective voltage value of a mobile terminal battery;
in this embodiment, a first voltage value and a second voltage value of the mobile terminal battery are obtained at a second preset time interval, and validity of the obtained first voltage value and second voltage value of the mobile terminal battery is determined in combination with a motion state of the mobile terminal at a corresponding moment, so as to obtain an effective voltage value of the mobile terminal battery for subsequent calculation of the remaining power of the mobile terminal battery.
Optionally, with a second preset time as an interval, obtaining a first voltage value and a second voltage value of the mobile terminal battery, obtaining a first difference value between the first voltage value and the second voltage value, obtaining a first absolute value of the first difference value, and determining whether the first absolute value is greater than the preset voltage difference value: if the first absolute value is larger than the preset voltage difference value and the mobile terminal is in an abnormal motion state, the abnormal conditions such as large-amplitude vibration or drop of the mobile terminal occur, the battery and the mobile terminal battery connector are separated for a short time or have poor contact, the pressure difference is increased, and the current voltage value is not adopted for calculating the residual electric quantity of the battery, so that the first voltage value is taken as an effective voltage value for calculating the residual electric quantity of the battery subsequently; if the first insulation value does not exceed the preset voltage difference value, the motion state of the mobile terminal is combined, the mobile terminal can be judged to be in a normal motion state, the first insulation value is within a normal error range and can be ignored, and therefore the first voltage value and the second voltage value can be effective voltage values. It should be noted that, the mobile terminal is in a normal motion state, and the mobile terminal battery and the battery connector are in a stable connection state, so that the condition of increasing the voltage difference is not generated, that is, the first absolute value does not exceed the preset voltage difference value.
Of course, as will be understood by those skilled in the art, the voltage values of the plurality of sets of mobile terminals may be obtained at intervals of the second preset time, and used for analyzing the motion state of the mobile terminal, so as to obtain the effective voltage value of the battery of the mobile terminal, where the more the voltage values of the mobile terminals are obtained, the more accurate the analysis result is, the voltage values of the two sets of mobile terminals are used for analysis in the present embodiment, which is only an example, and thus, the number of the voltage values of the mobile terminals obtained in the present embodiment is not limited.
Optionally, the second preset time may be 1 millisecond, 2 milliseconds, 3 milliseconds, and the like, in order to implement real-time monitoring on the battery voltage of the mobile terminal, the second preset time is in the order of milliseconds, and the shorter the second preset time is, the shorter the cycle interval for acquiring the battery voltage of the mobile terminal is, the closer the cycle interval is to the specific voltage change condition of the mobile terminal is, the more accurate the analysis result is, and the method is not limited herein.
Optionally, the preset voltage difference may be 70mV, 80mV, 90mV, or the like, which is not limited herein, and the preset voltage difference may include but is not limited to the above situation, and the determination of the preset voltage difference needs to reflect that the mobile terminal generates abnormal motion, which causes abnormal rise and fall of the voltage at two ends of the battery, so as to determine the validity of the voltage at two ends of the battery of the mobile terminal, and further obtain the valid voltage value of the battery of the mobile terminal.
S204: acquiring temperature curve information of a mobile terminal battery;
in this embodiment, the resistance of the mobile terminal battery has a linear relationship with the temperature, and the relationship curves of the resistance of the mobile terminal battery and the temperature are different at different temperatures, so that the mobile terminal battery can have multiple sets of resistance-temperature relationship curves, find the corresponding resistance-temperature relationship curve, i.e., the temperature curve information, according to the temperature of the mobile terminal battery, and obtain the resistance of the mobile terminal battery at the moment by combining the current temperature. And taking a third preset time as an interval, acquiring a first temperature value and a second temperature value of the mobile terminal, and judging the effectiveness of the acquired first temperature value and the second temperature value of the mobile terminal battery by combining the motion state of the mobile terminal at the corresponding moment, so as to acquire temperature curve information of the mobile terminal battery for calculating the residual electric quantity of the mobile terminal battery subsequently.
Optionally, the first temperature value and the second temperature value of the mobile terminal are obtained at a periodic interval of a third preset time, a second difference value between the first temperature value and the second temperature value is obtained, and a second absolute value of the second difference value is obtained. Judging whether the second absolute value is larger than a preset temperature difference value: if the second absolute value is greater than the preset temperature difference value and the mobile terminal is in a normal motion state, it is indicated that the temperature rise of the mobile terminal is caused by heat generated by the mobile terminal during operation, and therefore a temperature curve at a corresponding temperature needs to be selected as temperature curve information of the mobile terminal, that is, the temperature curve corresponding to the second temperature value is the temperature curve information of the mobile terminal; if the second absolute value is larger than the preset temperature difference value and the mobile terminal is in an abnormal motion state, the abnormal situation such as large-amplitude vibration or falling of the mobile terminal is caused, so that the temperature of the mobile terminal is abnormally increased, and therefore, a temperature curve corresponding to the first temperature value is selected as temperature curve information of the mobile terminal; if the second absolute value does not exceed the preset temperature difference value, the second difference value can be considered as the normal temperature rise of the mobile terminal, and therefore the temperature curves corresponding to the first temperature value and the second temperature value can be both used as the temperature curve information of the mobile terminal.
Of course, as will be understood by those skilled in the art, a plurality of sets of temperature values of the mobile terminal may be obtained at intervals of a third preset time, and are used for analyzing the motion state of the mobile terminal, so as to obtain the temperature curve information of the battery of the mobile terminal, where the more the sets of temperature values of the mobile terminal are obtained, the more accurate the analysis result is, and the present embodiment analyzes the temperature values of the two sets of mobile terminals, which is only an example, and does not limit the sets of temperature values of the mobile terminal obtained in the present embodiment.
Optionally, the third preset time may be 1 millisecond, 2 milliseconds, 3 milliseconds, and the like, in order to implement real-time monitoring of the temperature of the battery of the mobile terminal, the third preset time is in the order of milliseconds, and the shorter the third preset time is, the shorter the cycle interval for acquiring the temperature of the battery of the mobile terminal is, the closer the cycle interval is to the specific temperature change condition of the mobile terminal, the more accurate the analysis result is, and the method is not limited herein.
Optionally, the preset temperature difference may be 1 ℃, 2 ℃, 3 ℃, and the like, and certainly, as understood by those skilled in the art, the preset temperature difference includes but is not limited to the above situations, and the determination of the preset temperature difference needs to reflect that the mobile terminal has abnormal conditions such as large amplitude vibration or drop, and the temperature of the battery of the mobile terminal is abnormally increased, and the preset temperature difference satisfying the above conditions may be the preset temperature difference set forth in this embodiment, and is not limited herein.
S205: calculating the residual capacity of the mobile terminal battery;
in this embodiment, the remaining battery capacity of the mobile terminal is calculated according to the obtained effective voltage value and the temperature curve information of the mobile terminal. The remaining capacity of the battery of the mobile terminal can be calculated by adopting a current integration method, an open-circuit voltage method or the like. Of course, the calculation method using the battery voltage and the temperature curve information of the mobile terminal can be a calculation method for calculating the remaining power of the battery of the mobile terminal in the embodiment, and is not limited herein.
Alternatively, the remaining capacity of the battery of the mobile terminal is calculated by a current integration method, which essentially calculates the remaining capacity of the battery by accumulating the charged or discharged capacity while the battery of the mobile terminal is charged or discharged, while compensating the calculation result according to the discharge rate and the temperature of the battery. Setting the residual capacity of the battery in the initial charge-discharge state as SOC0Setting the residual battery capacity of the mobile terminal at a certain time as SOC, SOC and SOC0The functional relationship between the two is
Figure BDA0001431246370000081
And i is the current of the battery at the moment, the current resistance value of the battery of the mobile terminal is determined according to the obtained effective voltage value of the mobile terminal and the temperature curve information of the mobile terminal, so that the current i of the battery at the moment is calculated, and the residual electric quantity of the battery of the mobile terminal is further calculated.
Optionally, the remaining capacity of the mobile terminal battery is calculated by using an open-circuit voltage method, which is essentially to indirectly fit a one-to-one correspondence relationship between the open-circuit voltage of the mobile terminal battery and the remaining capacity of the mobile terminal battery according to a variation relationship between the open-circuit voltage of the mobile terminal battery and the lithium ion concentration inside the battery. The method comprises the steps of discharging the battery of the mobile terminal at a fixed discharge rate (which can be 1C) after the battery is fully charged, stopping discharging until the voltage of the battery is reduced to the cut-off voltage of the battery, obtaining a relation curve between the open-circuit voltage and the residual capacity of the battery according to the discharging process, and obtaining the residual capacity of the battery corresponding to the current effective voltage value according to the obtained effective voltage values at two ends of the battery and the relation curve between the open-circuit voltage and the residual capacity of the battery when the battery is in an actual working state, thereby calculating the residual capacity of the battery of the mobile terminal.
S206: compensating the calculation result of the residual electric quantity of the mobile terminal battery;
in this embodiment, the method for calculating the remaining power of the mobile terminal in the above embodiment ignores the influence of the self-discharge rate, the aging degree and the charge-discharge rate of the battery on the remaining power of the battery to a certain extent, and the internal resistance of the battery at different temperatures or different life periods is greatly different, which may cause a large error to the calculation result of the remaining power of the battery of the mobile terminal in the past for a long time.
S207: displaying the residual electric quantity of the mobile terminal battery;
in this embodiment, the calculation result is displayed on the user interface of the mobile terminal according to the calculated remaining power of the battery of the mobile terminal, and may be displayed in a percentage form, a bar graph form, or a combination form of the two, which is not limited herein.
In summary, the present invention obtains the motion state information of the mobile terminal according to the motion state of the mobile terminal, obtains the effective voltage value and the temperature curve information of the mobile terminal according to the motion state information of the mobile terminal, and further calculates the remaining power of the battery of the mobile terminal, and introduces a correction coefficient to the calculation result according to the obtained effective voltage value and the temperature curve information of the mobile terminal, so as to improve the accuracy of the calculation result of the remaining power of the battery of the mobile terminal.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
In this embodiment, the mobile terminal 300 includes a processor 301, a detection circuit 302 and a first sensing device 303, the processor 301 is respectively connected to the detection circuit 302 and the first sensing device 303, the detection circuit 302 is used for collecting a voltage value of a battery 304 of the mobile terminal 300, for example, the current voltage value of the battery 304 of the mobile terminal 300 is obtained through a circuit and a DC converter, the first sensing device 303 is used for collecting motion state information of the mobile terminal 300, the mobile terminal 300 further includes a battery connector 305 that can be connected to a circuit board of the mobile terminal 300 through a pin or an FPC, and is electrically connected to the battery 304 of the mobile terminal 300 for supplying power to the mobile terminal 300, the mobile terminal 300 further includes a display device 306 for displaying a calculation result of the remaining power of the battery 304 of the mobile terminal 300, the processor 301 can execute a program to implement the method for calculating the remaining power of the battery of the mobile terminal as described in the above embodiments, and will not be described in detail herein.
Optionally, the first sensing device 303 may be an acceleration sensor, such as a gravitational acceleration sensor, a direction sensor, an angle sensor, etc., which can monitor the change of the acceleration of the mobile terminal 300 in real time, and all of the first sensing devices 303 are the first sensing device 303 described in this embodiment, which is not limited herein.
Optionally, the mobile terminal 300 further includes a second sensing device 307, where the second sensing device 307 may be a temperature sensor and is configured to collect a temperature value of the battery 304 of the mobile terminal 300, different temperature values of the battery 304 of the mobile terminal 300 correspond to different temperature curve information, and the processor 301 may calculate a charging state or a discharging state of the battery 304 of the mobile terminal 300 according to the motion state information, the effective voltage value, and the temperature curve information of the mobile terminal 300, so as to calculate the remaining power of the battery 304 of the mobile terminal 300.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a memory device according to an embodiment of the invention.
In the embodiment, the storage device 400 stores the program data 401, and the program data 401 can be executed to implement the method for calculating the remaining battery power of the mobile terminal described in the above embodiment, which will not be described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are illustrative, and for example, the division of the modules or units into one logical functional division may be implemented in practice in another logical functional division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for calculating the residual capacity of a battery of a mobile terminal is characterized by comprising the following steps:
acquiring motion state information of the mobile terminal;
acquiring the effective voltage value and temperature curve information of the mobile terminal battery according to the motion state information; wherein, obtaining temperature profile information comprises: acquiring a first temperature value and a second temperature value of the mobile terminal at an interval of a third preset time; acquiring a second difference value between the first temperature value and the second temperature value, and acquiring a second absolute value of the second difference value according to the second difference value; judging whether the second absolute value is larger than a preset temperature difference value: if the second absolute value is larger than the preset temperature difference value and the mobile terminal is in a normal motion state, taking a temperature curve corresponding to the second temperature value as the temperature curve information; if the second absolute value is larger than the preset temperature difference value and the mobile terminal is in an abnormal motion state, taking a temperature curve corresponding to the first temperature value as the temperature curve information; if the second absolute value does not exceed the preset temperature difference value, the temperature curves corresponding to the first temperature value and the second temperature value can be the temperature curve information;
determining the resistance value of the current mobile terminal battery according to the effective voltage value and the temperature curve information, and calculating the residual electric quantity of the mobile terminal battery; wherein, determining the resistance value of the current mobile terminal battery comprises: if the temperature curve information is a temperature curve corresponding to the first temperature value, finding the corresponding current resistance value of the mobile terminal battery through the first temperature value in the temperature curve corresponding to the first temperature value; and if the temperature curve information is the temperature curve corresponding to the second temperature value, finding the corresponding current resistance value of the mobile terminal battery through the second temperature value in the temperature curve corresponding to the second temperature value.
2. The method according to claim 1, wherein the step of obtaining the motion state information of the mobile terminal specifically includes:
acquiring a first acceleration and a second acceleration of the mobile terminal at intervals of a first preset time;
and acquiring a vector difference value of the first acceleration and the second acceleration, wherein if the vector difference value of the first acceleration and the second acceleration is greater than a preset acceleration difference value, the mobile terminal is in an abnormal motion state, and if the vector difference value of the first acceleration and the second acceleration is not greater than the preset acceleration difference value, the mobile terminal is in a normal motion state.
3. The method according to claim 2, wherein the step of obtaining the effective voltage value of the mobile terminal battery specifically comprises:
acquiring a first voltage value and a second voltage value of the mobile terminal battery at intervals of a second preset time;
acquiring a first difference value between the first voltage value and the second voltage value, and acquiring a first absolute value of the first difference value according to the first difference value;
judging whether the first absolute value is larger than a preset voltage difference value: if the first absolute value is larger than the preset voltage difference value and the mobile terminal is in an abnormal motion state, taking the first voltage value as the effective voltage value; if the first absolute value does not exceed the preset voltage difference value, both the first voltage value and the second voltage value can be the effective voltage value.
4. The method of claim 1, further comprising: and compensating the calculation result of the residual electric quantity of the mobile terminal battery according to the effective voltage value and the temperature curve information of the mobile terminal battery.
5. A mobile terminal is characterized in that the mobile terminal comprises a processor, a detection circuit, a first sensing device and a second sensing device, the processor is respectively connected with the detection circuit, the first sensing device and the second sensing device, the detection circuit is used for collecting the voltage value of the mobile terminal battery, the first sensing device is used for collecting the motion state information of the mobile terminal, the second sensing device is a temperature sensor, is used for collecting the temperature value of the mobile terminal battery, different temperature values of the mobile terminal battery correspond to different temperature curve information, the processor can calculate the charging state or the discharging state of the mobile terminal battery according to the motion state information, the effective voltage value and the temperature curve information, and further calculate the residual electric quantity of the mobile terminal battery; the processor can execute a program to realize the method for calculating the residual capacity of the battery of the mobile terminal according to any one of claims 1 to 4.
6. The mobile terminal of claim 5, wherein the first sensing device is an acceleration sensor.
7. A storage device, wherein the storage device stores program data, the program data being executable to implement the mobile terminal battery remaining capacity calculation method according to any one of claims 1 to 4.
CN201710960853.3A 2017-10-11 2017-10-11 Battery remaining capacity calculation method, mobile terminal and storage device Active CN107884718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710960853.3A CN107884718B (en) 2017-10-11 2017-10-11 Battery remaining capacity calculation method, mobile terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710960853.3A CN107884718B (en) 2017-10-11 2017-10-11 Battery remaining capacity calculation method, mobile terminal and storage device

Publications (2)

Publication Number Publication Date
CN107884718A CN107884718A (en) 2018-04-06
CN107884718B true CN107884718B (en) 2021-02-19

Family

ID=61781479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710960853.3A Active CN107884718B (en) 2017-10-11 2017-10-11 Battery remaining capacity calculation method, mobile terminal and storage device

Country Status (1)

Country Link
CN (1) CN107884718B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109031130B (en) * 2018-05-31 2021-04-09 轻客小觅机器人科技(成都)有限公司 Electric quantity calibration method and device
CN110646740A (en) * 2018-06-27 2020-01-03 东莞新能德科技有限公司 Monitoring method and monitoring device for battery pack
CN110109021B (en) * 2019-06-20 2024-04-09 珠海优特电力科技股份有限公司 Battery electric quantity acquisition system, method and device
CN112952225B (en) * 2019-12-11 2023-05-23 中车时代电动汽车股份有限公司 SOC correction method and device for battery system
CN113608138B (en) * 2021-07-30 2024-06-14 东风汽车有限公司东风日产乘用车公司 Storage battery power shortage risk monitoring method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540081A (en) * 2010-12-29 2012-07-04 上海汽车集团股份有限公司 Method for determining charge state of vehicle-mounted storage battery
CN105007356A (en) * 2015-07-30 2015-10-28 Tcl移动通信科技(宁波)有限公司 Method and system for preventing battery output current from being hopped and mobile terminal
CN105403835A (en) * 2014-08-29 2016-03-16 展讯通信(深圳)有限公司 System and method for measuring battery level
CN106054085A (en) * 2016-07-11 2016-10-26 四川普力科技有限公司 Method for estimating SOC of battery on the basis of temperature
CN106341545A (en) * 2016-09-28 2017-01-18 上海斐讯数据通信技术有限公司 Method for displaying time of mobile terminal under power-off state and system using method
CN106450535A (en) * 2016-10-27 2017-02-22 乐视控股(北京)有限公司 Method and device for charging mobile terminal and charging system
CN107064608A (en) * 2017-03-09 2017-08-18 广州小鹏汽车科技有限公司 Method and system for diagnosing cell voltage wrong report

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3016218B1 (en) * 2014-01-03 2016-01-01 Commissariat Energie Atomique METHOD, DEVICE AND SYSTEM FOR ESTIMATING THE HEALTH CONDITION OF A BATTERY OF AN ELECTRIC OR HYBRID VEHICLE WHEN USED, AND METHOD FOR CONSTRUCTING A MODEL FOR SUCH ESTIMATION

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540081A (en) * 2010-12-29 2012-07-04 上海汽车集团股份有限公司 Method for determining charge state of vehicle-mounted storage battery
CN105403835A (en) * 2014-08-29 2016-03-16 展讯通信(深圳)有限公司 System and method for measuring battery level
CN105007356A (en) * 2015-07-30 2015-10-28 Tcl移动通信科技(宁波)有限公司 Method and system for preventing battery output current from being hopped and mobile terminal
CN106054085A (en) * 2016-07-11 2016-10-26 四川普力科技有限公司 Method for estimating SOC of battery on the basis of temperature
CN106341545A (en) * 2016-09-28 2017-01-18 上海斐讯数据通信技术有限公司 Method for displaying time of mobile terminal under power-off state and system using method
CN106450535A (en) * 2016-10-27 2017-02-22 乐视控股(北京)有限公司 Method and device for charging mobile terminal and charging system
CN107064608A (en) * 2017-03-09 2017-08-18 广州小鹏汽车科技有限公司 Method and system for diagnosing cell voltage wrong report

Also Published As

Publication number Publication date
CN107884718A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN107884718B (en) Battery remaining capacity calculation method, mobile terminal and storage device
CN109586373B (en) Battery charging method and device
CN106324508B (en) Battery health state detection device and method
CN111448468B (en) Method, device and system for detecting consistency of battery pack
CN108369258B (en) State estimation device and state estimation method
CN108089133B (en) Battery pack consistency detection method and detection device for energy storage system
EP2851700B1 (en) Method and terminal for displaying capacity of battery
CN112578298B (en) Battery temperature estimation method, device, electronic equipment and storage medium
US10564223B2 (en) Power storage system, control system of secondary battery, and control method of secondary battery
CN111463513B (en) Method and device for estimating full charge capacity of lithium battery
CN110376536B (en) SOH detection method and device for battery system, computer equipment and storage medium
CN114035096B (en) SOH evaluation method for electrochemical device, electronic equipment and battery system
CN110244233A (en) A kind of detection method of battery, electronic equipment and computer storage medium
JP2018054371A (en) Battery device and method of setting parameter
WO2018012151A1 (en) Information processing device, control method, and program
CN113189495A (en) Method and device for predicting health state of battery and electronic equipment
CN108594117B (en) Method and device for determining battery capacity, terminal equipment and computer storage medium
CN115214424A (en) Temperature determination method and device of battery thermal management system and electronic equipment
CN115575842A (en) Battery management method, device, electronic equipment and storage medium
CN111740464A (en) Battery power compensation method, device, equipment and readable storage medium
EP4202458A1 (en) Battery diagnosis device, battery system, and battery diagnosis method
CN117214728B (en) Method and device for determining degradation degree of battery, electronic equipment and storage medium
CN115566287A (en) Monitoring device, system, method and storage medium
CN112098879A (en) Method and device for analyzing problem battery cell based on battery voltage and storage device
CN113507154A (en) Charging method and device, charger and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210929

Address after: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee after: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

Patentee after: Tinno Mobile Technology Corp.

Patentee after: Yibin Tianlong Communication Co.,Ltd.

Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

Patentee before: Tinno Mobile Technology Corp.

TR01 Transfer of patent right