Nothing Special   »   [go: up one dir, main page]

CN112763925B - Method and device for determining remaining service time of battery - Google Patents

Method and device for determining remaining service time of battery Download PDF

Info

Publication number
CN112763925B
CN112763925B CN202011604552.5A CN202011604552A CN112763925B CN 112763925 B CN112763925 B CN 112763925B CN 202011604552 A CN202011604552 A CN 202011604552A CN 112763925 B CN112763925 B CN 112763925B
Authority
CN
China
Prior art keywords
battery
target
time length
remaining
output power
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
CN202011604552.5A
Other languages
Chinese (zh)
Other versions
CN112763925A (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.)
Shenzhen Aitushi Innovation Technology Co ltd
Original Assignee
Aputure Imaging Industries 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 Aputure Imaging Industries Co Ltd filed Critical Aputure Imaging Industries Co Ltd
Priority to CN202011604552.5A priority Critical patent/CN112763925B/en
Publication of CN112763925A publication Critical patent/CN112763925A/en
Application granted granted Critical
Publication of CN112763925B publication Critical patent/CN112763925B/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/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
    • 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/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

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

Abstract

The invention discloses a method and a device for determining the remaining service life of a battery, comprising the following steps: after determining the target battery type of the target battery currently used by the target device, matching a remaining use time length calculation mode corresponding to the determination mode of the target battery type according to the determination mode of the target battery type, wherein the remaining use time length calculation mode is used for calculating the remaining use time length of the target battery currently used by the target device, and the target device is any device needing to calculate the remaining use time length of the battery; and according to the residual use time length calculation mode, acquiring a target calculation parameter corresponding to the target equipment, and calculating the residual use time length of the target battery according to the acquired target calculation parameter. Therefore, the method and the device can calculate the remaining service life of the battery used by the equipment according to the remaining service life calculation mode corresponding to the determination mode of the battery type, so that a user can know the duration of the battery of the equipment in time, and the method and the device are beneficial to improving the use experience of the user.

Description

Method and device for determining remaining service time of battery
Technical Field
The invention relates to the technical field of illumination, in particular to a method and a device for determining the remaining use time of a battery.
Background
In lighting scenes such as videos, advertisements, movie shows and the like, a long electric power duration is required to be configured for a lamp to provide continuous lighting, one method is to connect to a fixed power supply (such as a commercial power) through a fixed cable, an adapter and the like, and due to mobility and variability of the lighting scenes, the other method is to configure a corresponding rechargeable battery for the lamp, and the battery can be an internal battery or an external battery, so that the mobility of the whole lamp system can be effectively improved by the configured battery, and sufficient duration can be provided.
It is found in practice that, in order to improve the use experience of the user, most lighting fixtures currently only display the remaining power, voltage, etc. of the battery. However, for the battery used on the lamp, the user can only estimate the remaining service life of the battery through the remaining power and past experience, and the method relies on experience and is too subjective, and the remaining service life of the battery is not easy to be accurately obtained, so that the subsequent shooting is easy to be affected. It can be seen how to intelligently determine the remaining service life of the battery is a current urgent problem to be solved.
Disclosure of Invention
The invention provides a method and a device for determining the remaining use time length of a battery, which can calculate the remaining use time length of the battery used by equipment according to the determined remaining use time length calculation mode, so that a user can know the duration of the battery of the equipment in time, and the use experience of the user can be improved.
The first aspect of the invention discloses a method for determining the remaining service life of a battery, which comprises the following steps:
acquiring a residual use time length calculation mode corresponding to a target device, wherein the residual use time length calculation mode is used for calculating the residual use time length of a target battery currently used by the target device, and the target device is any device needing to calculate the residual use time length of the battery;
acquiring a target calculation parameter corresponding to the target equipment according to the residual use time length calculation mode, and calculating the residual use time length of the target battery according to the target calculation parameter;
the method for obtaining the remaining use time length calculation mode corresponding to the target device comprises the following steps:
and after determining the target battery type of the target battery currently used by the target device, matching the remaining use time length calculation mode corresponding to the determination mode of the target battery type according to the determination mode of the target battery type, and taking the remaining use time length calculation mode as the remaining use time length calculation mode corresponding to the target device.
The second aspect of the present invention discloses a remaining use time length determining apparatus of a battery, the apparatus comprising:
the device comprises an acquisition module, a calculation module and a calculation module, wherein the acquisition module is used for acquiring a residual use time length calculation mode corresponding to target equipment, the residual use time length calculation mode is used for calculating the residual use time length of a target battery currently used by the target equipment, and the target equipment is any equipment which needs to calculate the residual use time length of the battery;
The first calculation module is used for acquiring a target calculation parameter corresponding to the target equipment according to the residual use time length calculation mode and calculating the residual use time length of the target battery according to the target calculation parameter;
the specific mode of the obtaining module for obtaining the residual using time length calculation mode corresponding to the target equipment is as follows:
and after determining the target battery type of the target battery currently used by the target device, matching the remaining use time length calculation mode corresponding to the determination mode of the target battery type according to the determination mode of the target battery type, and taking the remaining use time length calculation mode as the remaining use time length calculation mode corresponding to the target device.
A third aspect of the present invention discloses another remaining use time length determining apparatus of a battery for performing part or all of the steps of the remaining use time length determining method of a battery disclosed in the first aspect of the present invention.
A fourth aspect of the present invention discloses another remaining-use-time length determining apparatus of a battery, the apparatus including:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform some or all of the steps in the remaining use time length determination method for a battery disclosed in the first aspect of the present invention.
A fifth aspect of the present invention discloses a computer storage medium storing computer instructions which, when called, are used to perform part or all of the steps in the remaining use length determination method of a battery disclosed in the first aspect of the present invention.
Compared with the prior art, the invention has the following beneficial effects:
the invention can obtain the target calculation parameters corresponding to the equipment according to the residual use time length calculation mode corresponding to the determination mode of the battery type and further calculate the residual use time length of the battery, namely: the method and the device can calculate the remaining use time of the battery used by the equipment so that a user can know the duration of the battery of the equipment in time, the use experience of the user can be improved, in addition, the matched remaining use time calculation mode is selected through the determination mode of the battery type in the process of calculating the remaining use time of the battery, the calculation of the remaining use time of the battery is realized, and the flexibility of calculating the remaining use time of the battery can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for determining remaining use time of a battery according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for determining remaining use time of a battery according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for determining remaining use time of a battery according to an embodiment of the present invention;
fig. 4 is a schematic view showing a structure of a remaining use time length determining apparatus of a battery according to an embodiment of the present invention;
fig. 5 is a schematic view showing a structure of a remaining use time length determining apparatus of another battery according to an embodiment of the present invention;
fig. 6 is a schematic view showing a structure of a remaining use time length determining apparatus of another battery according to an embodiment of the present invention;
fig. 7 is a schematic view showing a structure of a remaining use time length determining apparatus of another battery according to an embodiment of the present invention;
fig. 8 is a schematic structural view of a remaining-use-time length determining apparatus of another battery according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, port, or end that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, port, or end.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a method and a device for determining the remaining use time length of a battery, which can calculate the remaining use time length of the battery used by equipment, so that a user can know the duration of the battery of the equipment in time, the method and the device are beneficial to improving the use experience of the user, and the matched remaining use time length calculation mode is selected by a battery type determination mode in the process of calculating the remaining use time length of the battery to realize the calculation of the remaining use time length of the battery, thereby being beneficial to improving the flexibility of calculating the remaining use time length of the battery. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for determining a remaining service life of a battery according to an embodiment of the invention. The method described in fig. 1 may be applied to a determining device, where the determining device is used to determine a remaining usage time (i.e. a duration of a journey) of a battery used by a device, and the determining device may exist independently of the device, or may be installed or integrated in the device, and embodiments of the present invention are not limited. Further, the device may be a lighting device, and in some application scenarios, a plurality of types of batteries may be connected to the lighting device, or a plurality of types of batteries may be connected to a control box connected to the lighting device, where the device may, of course, also be a lighting device charging box, a charging battery box, a recording device, a shooting device, a mobile terminal (such as a mobile phone, a tablet), and the embodiment of the invention is not limited. Further, the battery used by the device may be a battery of the device itself or an external battery used by the device, and it should be specifically noted that the external battery is relative to the battery of the device itself, and is not limited to a positional relationship, a connection manner, and the like of the device and the external battery, and the external battery may be externally hung on the device, or may be packaged or connected in a housing of the device, so as to realize power supply to the device. As shown in fig. 1, the remaining use time length determining method of the battery may include the operations of:
101. The determining device obtains a remaining use time length calculation mode corresponding to the target equipment.
In the embodiment of the invention, the remaining use time length calculation mode is used for calculating the remaining use time length of any target battery currently used by the target device, and the target device is any device which can use the battery and needs to calculate the remaining use time length of the battery.
102. The determining device obtains the target calculation parameters corresponding to the target equipment according to the residual use time length calculation mode, and calculates the residual use time length of the target battery according to the target calculation parameters.
In the embodiment of the invention, the determining device can pre-store the parameter types of the calculation parameters required by different residual using time-length calculation modes, and after the residual using time-length calculation modes are acquired, the determining device can acquire the target calculation parameters corresponding to the target equipment according to the parameter types required by the residual using time-length calculation modes; or after the remaining usage time length calculation mode is obtained, the determining device may also obtain a parameter type required by the remaining usage time length calculation mode from a corresponding server (such as a cloud server), and obtain a target calculation parameter corresponding to the target device according to the required parameter type. The target calculation parameters corresponding to the target device may be the working parameters of the target battery currently used by the target device, which are measured, detected or collected, or parameters obtained by inquiring and calculating, or a combination of the two, and the embodiment of the invention is not limited.
Therefore, the embodiment of the invention can calculate the remaining use time of the battery used by the equipment, so that a user can know the duration of the battery of the equipment in time, and the use experience of the user can be improved.
In an optional embodiment, the determining means may obtain a remaining usage time length calculation manner corresponding to the target device, which may include:
after determining the target battery type of the target battery currently used by the target device, the determining device matches the remaining use time length calculation mode corresponding to the determining mode of the target battery type according to the determining mode of the target battery type, and the remaining use time length calculation mode is used as the remaining use time length calculation mode corresponding to the target device.
Therefore, the optional embodiment can select the matched remaining use time length calculation mode through the determination mode of the battery type in the process of calculating the remaining use time length of the battery to realize the calculation of the remaining use time length of the battery, and is beneficial to improving the flexibility of calculating the remaining use time length of the battery.
In this optional embodiment, further optionally, before the determining means obtains the remaining usage time length calculation mode corresponding to the target device, the method may further include the following operations:
The determining means determines a target battery type of a target battery currently used by the target device.
Wherein the determining means determining the target battery type of the target battery currently used by the target device may include:
after the target device is powered on, the determining device determines the default battery type as the target battery type of the target battery currently used by the target device, wherein the determining mode of the target battery type is the default determining mode; or,
after determining the initial battery type of a target battery currently used by the target device, determining a calibration battery type as the target battery type of the target battery by the determining device, wherein the calibration battery type is obtained after calibrating the initial battery type, and the determining mode of the target battery type is a calibration determining mode; or,
after the target device is electrified, the determining device collects the identification information of the target battery currently used by the target device, and determines the target battery type of the target battery according to the identification information of the target battery, wherein the determination mode of the target battery type is a direct determination mode, and optionally, the identification information of the target battery can be a code diagram identification or an RFID electronic tag carrying battery type information.
It should be noted that the direct determination method and the calibration determination method may be collectively referred to as a non-default determination method.
Optionally, the initial battery type of the target battery may be a default battery type, or may be one battery type selected randomly from multiple battery types, which is not limited in the embodiment of the present invention.
It can be seen that the optional embodiment can also select a corresponding determination mode to determine the battery type of the battery according to the specific condition of the battery currently used by the device, that is, a diversified battery type determination mode and a corresponding remaining use time length calculation mode are provided, calculation of remaining use time lengths of different battery types is realized, flexibility of a remaining use time length determination method of the battery can be improved, and accuracy of the calculated remaining use time length can also be improved.
Therefore, the method described by the embodiment of the invention can calculate the remaining use time of the battery used by the equipment, so that a user can know the duration of the battery of the equipment in time, and the use experience of the user can be improved. In addition, the method can also select the matched remaining use time length calculation mode through the determination mode of the battery type in the process of calculating the remaining use time length of the battery, so that the calculation of the remaining use time length of the battery is realized, and the flexibility of calculating the remaining use time length of the battery is improved. In addition, the battery type of the battery can be determined by selecting a corresponding determination mode according to the specific condition of the battery currently used by the device, namely, a diversified battery type determination mode and a corresponding residual use time length calculation mode are provided, calculation of residual use time lengths of different battery types is realized, flexibility of a residual use time length determination method of the battery can be improved, and accuracy of the calculated residual use time length can also be improved.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for determining a remaining service life of a battery according to an embodiment of the invention. The method described in fig. 2 may be applied to a determining device, where the determining device is used to determine a remaining usage time (i.e., a duration) of a battery used by a device, and the determining device may exist independently of the device, or may be installed or integrated in the device, where the embodiment of the invention is not limited, further, the device may be a lighting device, in some application scenarios, a plurality of types of batteries may be connected to the lighting device, or a control box connected to the lighting device may be connected to a plurality of types of batteries, and of course, the device may also be a charging box of the lighting device, a charging battery box, a recording device, a shooting device, a mobile terminal (for example, a mobile phone, a tablet, etc., where the embodiment of the invention is not limited. Further, the battery used by the device may be a battery of the device itself or an external battery used by the device, and it should be specifically noted that the external battery is relative to the battery of the device itself, and is not limited to a positional relationship, a connection manner, and the like of the device and the external battery, and the external battery may be externally hung on the device, or may be packaged or connected in a housing of the device, so as to realize power supply to the device. It should be noted that the method described in fig. 2 is applicable to a scenario in which the battery type of the battery used by the device cannot be directly determined. As shown in fig. 2, the remaining use time length determining method of the battery may include the operations of:
201. After the target device is powered on, the determining means determines the default battery type as the target battery type of the target battery currently used by the target device.
In the embodiment of the present invention, the determination manner of the target battery type described in step 201 is a default determination manner. The default battery type may be a specific battery type, or may be one selected from a plurality of battery types.
202. The determining means matches the remaining use time length calculation means corresponding to the determination means of the target battery type according to the determination means of the target battery type.
In the embodiment of the present invention, the remaining usage time length calculation mode corresponding to the determination mode of the target battery type is a remaining usage time length calculation mode corresponding to the default determination mode, specifically, a first time length calculation formula corresponding to the default determination mode, where the first time length calculation formula is used to calculate an initial remaining usage time length of the target battery.
203. The determination device acquires a current battery voltage and a current output power of the target battery.
204. The determining means screens the matching output power of the present output power from the predetermined plurality of output powers, and screens the matching battery voltage of the present battery voltage from the predetermined plurality of battery voltages.
The selected matching output power of the current output power may be the matching output power which is equal to the current output power and is selected from a plurality of predetermined output powers or the matching output power which has a difference value smaller than or equal to a preset power threshold value with the current output power, or may be the maximum output power smaller than the current output power and the minimum output power larger than the current output power in the plurality of predetermined output powers. The selected matching battery voltage of the current battery voltage may be the matching battery voltage which is equal to the current battery voltage or the matching battery voltage which is smaller than or equal to a preset voltage threshold value and is selected from a plurality of battery voltages, or may be the maximum battery voltage which is smaller than the current battery voltage and the minimum battery voltage which is larger than the current battery voltage among the plurality of battery voltages which are determined in advance.
205. The determining device calculates initial remaining use duration of the target battery under the current output power and the current battery voltage according to the queried fixed remaining use duration, the current output power, the matched output power and a first time duration calculation formula.
The fixed remaining use duration is the queried remaining use duration of the battery of the target battery type under the conditions of matching output power and matching battery voltage.
When the matching output power is a matching output power equal to the current output power or a matching output power having a difference from the current output power equal to or smaller than a preset power threshold value, which is selected from a plurality of predetermined output powers, and the matching battery voltage is a matching battery voltage equal to or smaller than a preset voltage threshold value, which is selected from a plurality of battery voltages, the determining means may directly determine the queried fixed remaining use time period as the initial remaining use time period of the target battery.
In an embodiment of the present invention, as an optional implementation manner, the determining device filters the matched output power of the current output power from a plurality of predetermined output powers, which may include:
the determining means screens, from among the plurality of output powers determined in advance, the maximum output power smaller than the current output power as a first matching output power of the current output power, and screens the minimum output power larger than the current output power as a second matching output power of the current output power.
In this alternative embodiment, the first time length calculation formula is:
T d =T 2 +(T 1 -T 2 )*(P d -P 1 )/(P 2 -P 1 );
wherein T is d To calculate the initial remaining use time of the target battery, P d For the current output power, T 1 For a first fixed remaining use period, T, of the queried battery of the target battery type at a first matched output power and matched battery voltage 2 For a second fixed remaining use period, P, of the queried battery of the target battery type at a second matched output power and matched battery voltage 1 For the first matched output power, P 2 And outputting power for the second match.
In this alternative embodiment, the determining means may directly query the required fixed remaining usage time period from the pre-generated remaining usage time period data corresponding to the batteries of different battery types at different battery voltages and different output powers. The remaining usage time length data corresponding to the batteries of different battery types under different battery voltages and different output powers may be generated in advance by the determining device or may be generated in advance by other devices or apparatuses, which is not limited in the embodiment of the present invention.
It should be further noted that, when the matched battery voltage includes a predetermined maximum battery voltage (i.e., a first matched battery voltage) less than the current battery voltage and a predetermined minimum battery voltage (i.e., a second matched battery voltage) greater than the current battery voltage, the determining device may query two sets of first fixed remaining usage periods and second fixed remaining usage periods, and the determining device may calculate the first initial remaining usage period and the second initial remaining usage period of the target battery by combining the first time period calculation formula and each set of first fixed remaining usage period and second fixed remaining usage period respectively. After that, the determination means can finally calculate the initial remaining use time length of the target battery by:
The determining device takes the average value of the first initial remaining use duration and the second initial remaining use duration as the final calculated initial remaining use duration of the target battery; or,
the determining device respectively determines a first weight value corresponding to the first matched battery voltage and a second weight value corresponding to the second matched battery voltage, and calculates the product of the first weight value and the first initial residual use duration and the product of the second weight value and the second initial residual use duration;
the determining means calculates the sum of the product of the first weight value and the first initial remaining usage period and the product of the second weight value and the second initial remaining usage period as the final calculated initial remaining usage period of the target battery.
Optionally, the weight value corresponding to the matched battery voltage may be determined by matching the voltage difference between the battery voltage and the current battery voltage, where the smaller the battery difference is, the larger the corresponding weight value is, and the larger the voltage difference is, the smaller the corresponding weight value is.
The first fixed residual use duration of the first group is obtained by inquiring the first matched battery voltage, the first matched output power and the target battery type, and the second fixed residual use duration of the first group is obtained by inquiring the first matched battery voltage, the second matched output power and the target battery type; the first fixed remaining use duration of the second group is obtained by inquiring the second matched battery voltage, the first matched output power and the target battery type, and the second fixed remaining use duration of the second group is obtained by inquiring the second matched battery voltage, the second matched output power and the target battery type.
Therefore, under the condition that the battery type of the battery cannot be directly determined, the method can determine the battery type of the battery as the default battery type and calculate the remaining service life of the battery according to the duration calculation formula corresponding to the default battery type, and the method provides a calculation mode of the remaining service life of the battery under the condition that the battery type of the battery cannot be directly determined, and the calculation of the remaining service life only requires the current parameter of the battery, the matched fixed parameter and the queried fixed parameter, thereby being beneficial to improving the calculation efficiency.
In an alternative embodiment, the method may further comprise the operations of:
206. the determining means records a target period of time for which the battery voltage of the target battery is used by the first battery voltage threshold value, which is predetermined by the decrease in the current battery voltage, at the current output power.
In this alternative embodiment, the predetermined first battery voltage threshold may be determined by a predetermined interval voltage value V gap And the number of intervals N is determined, and the first battery voltage threshold is equal to N gap For example 6*V gap . It should be noted that, if the battery voltage value of the current battery voltage drop has not reached the first battery voltage threshold, the recording is continued and the battery voltage drop is waited until the current battery voltage drop reaches the first battery voltage threshold determined in advance, and the target duration may be specifically recorded by the associated timing module.
207. The determining device calculates the theoretical duration used by the first battery voltage threshold value of the current battery voltage drop under the current output power of the battery voltage of each battery type in the plurality of battery types, and obtains the theoretical duration corresponding to each battery type.
It should be noted that, the theoretical duration used by the battery voltage of each battery type of the plurality of battery types to be reduced by the first battery voltage threshold value under the current output power may be calculated by substituting the relevant parameter corresponding to the battery voltage of each battery type to be reduced by the first battery voltage threshold value under the current output power into the first duration calculation formula.
208. The determining device compares the difference value between the theoretical time lengths corresponding to all kinds of battery types and the target time length to obtain the battery type corresponding to the theoretical time length with the smallest difference value, and the battery type is used as the calibration battery type.
209. The determining means calibrates the target battery type of the target battery from the default battery type to a calibrated battery type.
It should be noted that, the current battery voltage may be the initial battery voltage of the target battery.
It can be seen that, in this alternative embodiment, after the initial battery type of the battery is determined by the default determining manner, the determined initial battery type is further calibrated by comparing the recorded actual duration with the calculated difference value of the plurality of theoretical durations, which improves the accuracy of the finally determined battery type and is beneficial to further improving the accuracy of calculating the remaining use duration of the battery according to the accurate battery type.
In another alternative embodiment, after performing the finishing step 209, the method may further include the operations of:
210. when the remaining use time of the target battery at the target battery voltage and the target output power needs to be calculated, the determining device calculates a corresponding remaining use time long calibration value of the target battery.
The target battery voltage may be any battery voltage obtained after each predetermined second battery voltage threshold value is reduced from the initial battery voltage, and the target output power may be the current output power, where the second battery voltage threshold value may be equal to the first battery voltage threshold value.
211. The determining device calculates the actual remaining use duration of the target battery under the target battery voltage and the target output power according to the theoretical remaining use duration calculated by calibrating the battery type, the target battery voltage and the target output power and the corresponding remaining use duration calibration value of the target battery.
In this alternative embodiment, further alternatively, the target battery corresponds to the remaining in-use long calibration value R type Equal to the ratio of the actual in-use time length t_real at which the battery voltage of the target battery drops by a predetermined second battery voltage threshold value to the target battery voltage at the target output power to the theoretical in-use time length t_type at which the battery voltage of the target battery drops by the second battery voltage threshold value to the target battery voltage at the target output power, that is: long-time remaining-period-of-use calibration value R corresponding to target battery type =T_real/T_type。
In this alternative embodiment, further alternatively, the actual remaining usage period t_real_remaining of the target battery at the target battery voltage and the target output power is equal to the theoretical remaining usage period t_remaining calculated by calibrating the battery type, the target battery voltage, and the target output power and the remaining usage period long calibration value R corresponding to the target battery type I.e.: t_real_domain=t_domain×r type
It should be noted that, the principle of "calibrating the calculated theoretical remaining use time length according to the remaining use time length calibration value to obtain the actual remaining use time length" described in the above steps 210-211 may also be applied to calculating the actual remaining use time lengths of other batteries of the calibrated battery type or batteries of other battery types, so as to implement continuous calibration of the remaining use time length of the battery, which is beneficial to further improving the accuracy and stability of the calculated remaining use time length of the battery.
It can be seen that, after the battery type of the battery is calibrated, the alternative embodiment can calibrate the calculated theoretical remaining use time length through the calculated remaining use time length calibration value, so as to obtain the actual remaining use time length of the battery, and improve the accuracy and stability of the calculated remaining use time length of the battery after the battery type is calibrated. In addition, the method can also realize the calibration of the remaining use time length of other batteries with the same battery type as the calibration battery type, and is beneficial to further improving the accuracy and stability of the calculated remaining use time length of the battery through continuous calibration.
In yet another alternative embodiment, before the target calculation parameters corresponding to the target device are obtained according to the remaining usage time length calculation mode, and the remaining usage time length of the target battery is calculated according to the target calculation parameters, preferably, before determining the target battery type of the target battery currently used by the target device, the method may further include the operation of:
the determining means determines a plurality of kinds of battery types, a plurality of output powers, a battery voltage range, and an interval voltage value (e.g., V gap );
The determining device samples the battery voltage range according to the interval voltage value to obtain a plurality of battery voltages, and the difference value or the absolute value of the difference value of any two adjacent battery voltages is equal to the interval voltage value;
For each battery type, the determining means calculates a length of time that the battery of that battery type is used by each remaining battery voltage to drop to a minimum battery voltage at each output power as a fixed remaining use length of the battery of that battery type at each output power and each remaining battery voltage.
Wherein all remaining battery voltages include all battery voltages except the minimum battery voltage among all battery voltages.
Optionally, for any battery type, the determining means calculates, as the fixed remaining usage period of the battery type at each output power and each remaining battery voltage, a period of time for which the battery of the battery type is used by each remaining battery voltage to drop to the minimum battery voltage, and may include:
the determining means acquires or records the battery voltage of the battery type at each output power every 1V decrease from the initial battery voltage gap And the used duration is obtained, the corresponding use duration of each battery voltage interval is obtained, and the sum of the corresponding use durations of all battery voltage intervals smaller than each residual battery voltage is calculated and used as the fixed residual use duration of the battery type under each output power and each residual battery voltage.
It can be seen that the optional embodiment can also calculate in advance the fixed remaining usage time length of the battery type under each output power and each remaining battery voltage of the battery of different types, so that the required calculation data can be queried relatively quickly and accurately when the theoretical remaining usage time length or the theoretical time length of the battery is calculated, and the efficiency of the remaining usage time length of the battery of the computing device is improved.
Therefore, under the condition that the battery type of the battery cannot be directly determined, the method can determine the battery type of the battery as the default battery type and calculate the remaining service life of the battery according to the duration calculation formula corresponding to the default battery type, and the method provides a calculation mode of the remaining service life of the battery under the condition that the battery type of the battery cannot be directly determined, and the calculation of the remaining service life only requires the current parameter of the battery, the matched fixed parameter and the queried fixed parameter, thereby being beneficial to improving the calculation efficiency. In addition, after the initial battery type of the battery is determined in a default determination mode, the determined initial battery type is further calibrated by comparing the recorded actual time length with the calculated difference value of a plurality of theoretical time lengths, the accuracy of the finally determined battery type is improved, and the accuracy of calculating the residual use time length of the battery according to the accurate battery type is further improved. In addition, after the battery type of the battery is calibrated, the calculated theoretical remaining use time length is calibrated through the calculated remaining use time length calibration value, so that the actual remaining use time length of the battery is obtained, and the accuracy and stability of the calculated remaining use time length of the battery after the battery type is calibrated are improved. In addition, the method can also realize the calibration of the remaining service time of other batteries with the same battery type as the calibration battery type and the batteries with other battery types, and is beneficial to further improving the accuracy and stability of the calculated remaining service time of the batteries through continuous calibration. In addition, the fixed residual use time of the battery type under each output power and each residual battery voltage of the battery of different types can be calculated in advance, so that the required calculation data can be queried more quickly and accurately when the theoretical residual use time or the theoretical time of the battery is calculated, and the efficiency of the residual use time of the battery of the calculating equipment can be improved. In addition, the calculation and calibration of the remaining use time length of the batteries with different battery types can be realized, and the applicability of the method described by the embodiment of the invention is improved.
For embodiment two, 3 types including the same battery voltage range but different battery capacities are included in the battery typeBattery type, battery voltage in the range of 12V-16.8V (i.e., 12000mV-16800 mV), voltage value V at intervals gap For 50mV, a plurality of output powers of 60W maximum and 6 output powers at 10W intervals are exemplified as follows:
the 3 battery types include bat_a (maximum capacity), bat_b (center capacity), and bat_c (minimum capacity), respectively;
according to the interval voltage value V gap The cell voltage range (12000 mV-16800 mV) was sampled to obtain 97 cell voltages, specifically 12000mV, 12050mV, 12100mV, 12150mV, 16750mV, and 16800mV;
the batteries of each battery type need to collect basic data at 6 output powers, and form a time curve based on the basic data collected at each output power, that is: power_1=10w, the corresponding curve is cut_1; power_2=20w, the corresponding curve is curve_2; power_3=30w, the corresponding curve is cut_3; power_4=40w, the corresponding curve is cut_4; power_5=50w, the corresponding curve is cut_5; power_6=60W, and the corresponding curve is cut_6.
The basic data is a data table, and specifically, the time duration that a battery can be used under specific output power and specified battery voltage is one type of battery. For example: the set of base data may be expressed as: base_data [97] = {0,50,150,..10000 }.
Specific: calculating the remaining service time of each type of battery at the specified output power and the specified battery voltage, and recording each drop of the battery voltage from the highest battery voltage by V at the specified output power gap The duration of time used until the battery voltage drops to a minimum battery voltage shutdown, every drop of V gap A cell voltage interval is formed and each cell voltage interval is usedThe used time length is recorded, and under the specified output power, the remaining used time length of each battery voltage obtained by sampling is equal to the sum of the used time lengths of all battery voltage intervals lower than the battery voltage, for example, the remaining used time length of the battery voltage of 16800mV is the sum of the used time lengths of all battery voltage intervals; the remaining duration of the cell voltage of 12050mV is the duration of the cell voltage interval 12050mV to 12000 mV. By this procedure, a fixed remaining use period of each type of battery at each output power and each battery voltage can be obtained, wherein the fixed remaining use period of each type of battery at each output power includes a remaining use period of the battery at each battery voltage, for example, 18 sets of remaining use periods are obtained in total for 6 types of output power and 3 types of batteries.
In practical applications, when the device is powered on, the device cannot directly determine the battery type of the battery it uses, so the device defaults to the default battery type for the battery mounted, taking the bat_a type as an example. If the current battery voltage is volt, the current output power is power, and the current output power is between power_4 and power_5, i.e. the duration curve of the current output power is between curve_4 and curve_5. At the current battery voltage volt, the residual use time lengths corresponding to the curve of cut_4 and the curve of cut_5 are t4 and t5, wherein t4> t5 and t4 and t5 are obtained by querying the obtained data table, and at this time, the residual use time length t at the current output power and the current battery voltage volt can be calculated according to a linear formula. The linear calculation formula is as follows: t=t5+ (t 4-t 5)/(power_4)/(power_5-power_4), the device may use the calculated t value as the initial remaining use period of the battery.
After the device has been used for a period of time, the battery voltage of the battery drops by 6V gap The time period used was t_real, while 3 types (BAT_ A, BAT _B and BAT_C) of batteries were used in this case (6V drops gap ) The corresponding theoretical time periods are t_ A, t _b and t_c, respectively, wherein t_ A, t _b and t_c are calculated by the linear calculation formula. The device will t_real and pass through the aboveComparing t_ A, t _b and t_c calculated by the linear calculation formula, who is closer to t_real, the battery type of the currently used battery is closer to t_real, for example, t_a is closer to t_real, the current battery type is BAT_A, and the subsequent algorithm calculates the remaining use duration according to the basic data corresponding to BAT_A. This process can be understood as a calibration process for the battery type, and by this process the device can obtain that the actual use time of the battery at this stage is t_real, while the theoretical use time is t_a, the ratio of the actual use time to the theoretical use time is rate, and rate=t_real/t_a. At the battery voltage reduced by 6V gap The theoretical remaining usage duration of the battery voltage is t_real_domain, and the actual remaining usage duration is t_real_domain, and t_real_domain=t_domain.
After the battery type of the battery is accurately identified, the corresponding algorithm can continuously calibrate the time length so as to ensure that no great deviation exists between the theoretical residual using time length and the actual residual using time length. The specific calibration method is as follows: the device was recently lowered by 6V according to the battery gap The ratio rate=t_real/t_a of the actual use duration corresponding to the composed battery voltage interval to the theoretical use duration calculated by the above-mentioned linear calculation formula, and the actual remaining use duration t_real_domain is calculated by the ratio and the calculated theoretical remaining use duration of the current battery voltage, where t_real_domain=t_domain. Such as: the current battery voltage is 14000mV, and the values of t_real and t_A are the actual use duration and the calculated theoretical use duration when the battery voltage is reduced from 14300mV to 14000 mV; if the battery voltage drops to the next battery voltage 13950mV, the corresponding battery voltage interval is the battery voltage interval indicated by 14250mV dropping to 13950 mV.
Example III
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for determining a remaining service life of a battery according to another embodiment of the present invention. The method described in fig. 3 may be applied to a determining device, where the determining device is used to determine a remaining usage time (i.e., a duration) of a battery used by a device, and the determining device may exist independently of the device, may also be installed or integrated in the device, and the embodiment of the present invention is not limited, further, the device may be a lighting device, in some application scenarios, a plurality of types of batteries may be connected to the lighting device, or a plurality of types of batteries may be connected to a control box connected to the lighting device, and of course, the device may also be a charging box of the lighting device, a charging battery box, a recording device, a photographing device, a mobile terminal (for example, a mobile phone, a tablet, etc., where the embodiment of the present invention is not limited. Further, the battery used by the device may be a battery of the device itself or an external battery used by the device, and it should be specifically noted that the external battery is relative to the battery of the device itself, and is not limited to a positional relationship, a connection manner, and the like of the device and the external battery, and the external battery may be externally hung on the device, or may be packaged or connected in a housing of the device, so as to realize power supply to the device. It should be noted that the method described in fig. 3 is applicable to a scenario in which the battery type of the battery used by the device can be directly determined, or to a scenario in which the battery type of the battery used by the device is calibrated from the initial battery type to the correct battery type by means of calibration. As shown in fig. 3, the remaining use time length determining method of the battery may include the operations of:
301. After determining the target battery type of the target battery currently used by the target device by a non-default determination mode, the determining device obtains the current output power and the current battery voltage of the target battery.
The non-default determination mode may be a calibration determination mode or a direct determination mode.
302. The determining means calculates a remaining in-use time long calibration value corresponding to the target battery at the current output power and the current battery voltage.
303. The determining means calculates a theoretical remaining use period of the target battery at the current battery voltage and the current output power based on the current output power, the current battery voltage, and the target battery type.
304. The determining device calculates the remaining use duration of the target battery under the current output power and the current battery voltage according to a second duration calculation formula, a corresponding remaining use time length calibration value of the target battery under the current output power and the current battery voltage and a theoretical remaining use duration of the target battery under the current output power and the current battery voltage.
Wherein, the residual time length of use of the target battery is equal to the R 'value' type Equal to the ratio of the actual use time period T '_real when the battery voltage of the target battery drops by a predetermined second battery voltage threshold value to the current battery voltage at the current output power to the theoretical use time period T' _type when the battery voltage of the target battery drops by the second battery voltage threshold value to the current battery voltage at the current output power, that is: long calibration value R 'corresponding to the remaining use time of the target battery' type =t '_real/T' _type. Wherein the actual remaining use duration T '_real_domain of the target battery under the current battery voltage and the current output power is equal to a theoretical remaining use duration T' _domain calculated by the target battery type, the current battery voltage and the current output power and a remaining use time length calibration value R 'corresponding to the target battery' type I.e.: the actual remaining usage period T '_real_domain=t' _domain_r 'of the target battery at the current battery voltage and the current output power' type
In an alternative embodiment, before performing step 302, preferably, before performing step 301, the method may further comprise the following operations:
the determining device determines a plurality of kinds of battery types, a plurality of output powers, a battery voltage range and interval voltage values;
the determining device samples the battery voltage range according to the interval voltage value to obtain a plurality of battery voltages, and the difference value or the absolute value of the difference value of any two adjacent battery voltages is equal to the interval voltage value;
for each battery type, the determining means calculates a length of time that the battery of that battery type is used by each remaining battery voltage to drop to a minimum battery voltage at each output power as a fixed remaining use length of the battery of that battery type at each output power and each remaining battery voltage.
Wherein all remaining battery voltages include all battery voltages except the minimum battery voltage among all battery voltages.
It can be seen that the optional embodiment can also calculate the fixed remaining usage time length of the battery type under each output power and each remaining battery voltage of the battery of different types in advance, so that the matched required calculation data can be quickly and accurately queried when the remaining usage time length of the battery is calculated, and the accuracy and the efficiency of the remaining usage time length of the battery of the calculating device are improved.
Therefore, after the battery type of the battery is accurately determined, the calculated remaining use time length calibration value is used for calibrating the calculated theoretical remaining use time length to obtain the remaining use time length of the battery, and the accuracy of the calculated remaining use time length of the battery is improved. In addition, the efficiency of calculating the remaining use period of the battery can be improved.
Example IV
The embodiment of the invention discloses a method for determining the battery type of a battery, which is used for a scene that the battery type of the battery used by equipment cannot be directly determined, and can be applied to a determining device which can exist independently of the equipment or can be integrated or installed in the determining device. Wherein the method may comprise the operations of:
Determining a target duration used by a device for recording a first battery voltage threshold value of a battery currently used by the equipment, wherein the first battery voltage threshold value is determined in advance by the reduction of the current battery voltage under the current output power;
the determining device calculates the theoretical duration of the battery voltage of the battery of each battery type in the plurality of battery types, which is used by the first battery voltage threshold value of the current battery voltage drop under the current output power, so as to obtain the theoretical duration corresponding to each battery type;
the determining device compares the difference value between the theoretical time lengths corresponding to all kinds of battery types and the target time length to obtain the battery type corresponding to the theoretical time length with the smallest difference value, and determines the battery type obtained through comparison as the battery type of the battery of the device.
In an alternative embodiment, before determining that the apparatus records the target duration used by the first battery voltage threshold value, which is predetermined by the current battery voltage drop at the current output power, of the battery currently used by the device, the method may further include the operations of:
the determining device determines a plurality of kinds of battery types, a plurality of output powers, a battery voltage range and interval voltage values;
The determining device samples the battery voltage range according to the interval voltage value to obtain a plurality of battery voltages, and the difference value or the absolute value of the difference value of any two adjacent battery voltages is equal to the interval voltage value;
for each battery type, the determining means calculates a length of time that the battery of that battery type is used by each remaining battery voltage to drop to a minimum battery voltage at each output power as a fixed remaining use length of the battery of that battery type at each output power and each remaining battery voltage.
Wherein all remaining battery voltages include all battery voltages except the minimum battery voltage among all battery voltages.
Therefore, under the condition that the battery type of the battery of the equipment cannot be directly determined, the battery type of the battery currently used by the equipment can be determined by comparing the recorded actual time length with the calculated difference value of the corresponding theoretical time length of different battery types under the same conditions (namely the same output power and the same battery voltage drop), and the battery type determining mode of the battery with high determining efficiency and high determining accuracy is provided. In addition, the fixed remaining use time of the battery of different types of battery types under each output power and each remaining battery voltage can be calculated in advance, the calculation efficiency of calculating the corresponding theoretical duration can be improved in practical application, and an effective data reference basis can be provided for determining the battery type of the battery.
Example five
The embodiment of the invention discloses a device for determining the remaining use time length of a battery, which is used for executing part or all of the steps in the method for determining the remaining use time length of the battery described in any one of the first embodiment to the third embodiment.
Example six
Referring to fig. 4, fig. 4 is a schematic structural diagram of a remaining service life determining apparatus for a battery according to an embodiment of the present invention. The apparatus described in fig. 4 is used to determine the remaining service life (i.e. duration) of the battery used by the device, and the apparatus may exist independently of the device, or may be installed or integrated in the device, which is not limited by the embodiment of the present invention. Further, the device may be a lighting device, and in some application scenarios, a plurality of types of batteries may be connected to the lighting device, or a plurality of types of batteries may be connected to a control box connected to the lighting device, where the device may, of course, also be a lighting device charging box, a charging battery box, a recording device, a shooting device, a mobile terminal (such as a mobile phone, a tablet), and the embodiment of the invention is not limited. Further, the battery used by the device may be a battery of the device itself or an external battery used by the device, and it should be specifically noted that the external battery is relative to the battery of the device itself, and is not limited to a positional relationship, a connection manner, and the like of the device and the external battery, and the external battery may be externally hung on the device, or may be packaged or connected in a housing of the device, so as to realize power supply to the device. As shown in fig. 4, the remaining use time length determining apparatus of the battery may include:
The obtaining module 401 is configured to obtain a remaining usage time length calculation manner corresponding to the target device, where the remaining usage time length calculation manner is used to calculate a remaining usage time length of a target battery currently used by the target device, and the target device is any device that needs to calculate the remaining usage time length of the battery.
The first calculating module 402 is configured to obtain a target calculation parameter corresponding to the target device according to the remaining usage time duration calculating manner, and calculate a remaining usage time duration of the target battery according to the target calculation parameter.
Therefore, the device described in fig. 4 can calculate the remaining service life of the battery used by the device, so that the user can know the duration of the battery of the device in time, which is beneficial to improving the user experience.
In an alternative embodiment, the specific manner of acquiring the remaining usage time length calculation manner corresponding to the target device by the acquiring module 401 may be:
after the target battery type of the target battery currently used by the target device is determined, matching the remaining use time length calculation mode corresponding to the determination mode of the target battery type according to the determination mode of the target battery type, and taking the remaining use time length calculation mode as the remaining use time length calculation mode corresponding to the target device.
Therefore, the optional embodiment can also select the matched remaining use time length calculation mode through the determination mode of the battery type in the process of calculating the remaining use time length of the battery so as to calculate the remaining use time length of the battery, and the method is beneficial to improving the flexibility of calculating the remaining use time length of the battery.
In another alternative embodiment, as shown in fig. 5, the apparatus may further include:
a determining module 403, configured to determine a target battery type of a target battery currently used by the target device before the obtaining module 401 obtains a remaining usage time length calculation mode corresponding to the target device.
The specific manner in which the determining module 403 determines the target battery type of the target battery currently used by the target device may be:
after the target device is powered on, determining the default battery type as the target battery type of the target battery currently used by the target device, wherein the determination mode of the target battery type is a default determination mode; or,
after determining the initial battery type of a target battery currently used by the target device, determining a calibration battery type as the target battery type of the target battery, wherein the calibration battery type is obtained after calibrating the initial battery type, and the determination mode of the target battery type is a calibration determination mode; or,
After the target device is powered on, acquiring identification information of a target battery currently used by the target device, and determining a target battery type of the target battery according to the identification information of the target battery, wherein the determination mode of the target battery type is a direct determination mode.
It can be seen that the optional embodiment can also select a corresponding determination mode to determine the battery type of the battery according to the specific condition of the battery currently used by the device, that is, a diversified battery type determination mode and a corresponding remaining use time length calculation mode are provided, calculation of remaining use time lengths of different battery types is realized, flexibility of a remaining use time length determination method of the battery can be improved, and accuracy of the calculated remaining use time length can also be improved. In addition, the method can be suitable for calculating the residual service life of the battery of various battery types, and is beneficial to improving the applicability of the residual service life determining device of the battery.
In yet another alternative embodiment, the determining module 403 is further configured to determine a plurality of types of battery types, a plurality of output powers, a battery voltage range, and an interval voltage value. As shown in fig. 5, the apparatus further includes:
The sampling module 404 is configured to sample the battery voltage range according to the interval voltage value, so as to obtain a plurality of battery voltages, where the difference value or the absolute value of the difference value of any two adjacent battery voltages is equal to the interval voltage value.
A third calculation module 405 for calculating, for each battery type, a duration of time that the battery of that battery type is used by each remaining battery voltage to drop to a minimum battery voltage at each output power, as a fixed remaining use duration of the battery of that battery type at each output power and each remaining battery voltage.
Wherein all remaining battery voltages include all battery voltages except the minimum battery voltage among all battery voltages.
It can be seen that the alternative embodiment can also calculate in advance the fixed remaining usage time of the battery type under each output power and each remaining battery voltage of the battery of different types, so as to relatively quickly and accurately query the required calculation data when calculating the theoretical remaining usage time or theoretical time of the battery, and be beneficial to improving the efficiency of calculating the remaining usage time of the battery of the device.
As an alternative embodiment, as shown in fig. 6, the first computing module 402 may include:
The first obtaining submodule 4021 is configured to obtain a current battery voltage and a current output power of the target battery when the determination mode of the target battery type is a default determination mode;
a screening sub-module 4022 configured to screen a matching output power of the current output power from a plurality of predetermined output powers, and screen a matching battery voltage of the current battery voltage from a plurality of predetermined battery voltages;
the first calculating submodule 4023 is configured to calculate an initial remaining usage period of the target battery under the current output power and the current battery voltage according to the queried fixed remaining usage period, the current output power, the matched output power and the first period calculation formula, where the fixed remaining usage period is the queried remaining usage period of the target battery type of the battery under the matched output power and the matched battery voltage.
Alternatively, the specific manner of screening the matching output power of the current output power from the predetermined multiple output powers by the screening submodule 4022 may be:
from the predetermined plurality of output powers, a maximum output power smaller than the current output power is screened as a first matched output power of the current output power, and a minimum output power larger than the current output power is screened as a second matched output power of the current output power.
And, the first time length calculation formula is:
T d =T 2 +(T 1 -T 2 )*(P d -P 1 )/(P 2 -P 1 );
wherein T is d To calculate the initial remaining use time of the target battery, P d For the current output power, T 1 For a first fixed remaining use period, T, of the queried battery of the target battery type at a first matched output power and matched battery voltage 2 For a second fixed remaining use period, P, of the queried battery of the target battery type at a second matched output power and matched battery voltage 1 For the first matched output power, P 2 And outputting power for the second match.
It can be seen that, in this optional embodiment, the battery type of the battery can be determined as the default battery type and the remaining service time of the battery is calculated according to the time length calculation formula corresponding to the default battery type under the condition that the battery type of the battery cannot be directly determined, so that a calculation mode of the remaining service time of the battery under the condition that the battery type of the battery cannot be directly determined is provided, and the remaining service time is calculated only by the current parameter of the battery, the matched fixed parameter and the queried fixed parameter, which is beneficial to improving the calculation efficiency.
Still further alternatively, as shown in fig. 6, the apparatus may further include:
The recording module 406 is configured to record, when the determination mode of the target battery type is a default determination mode, and when the first computing module 402 obtains a target computing parameter corresponding to the target device according to the remaining usage time period computing mode, and calculates the remaining usage time period of the target battery according to the target computing parameter, a target time period for using a first battery voltage threshold value, where the battery voltage of the target battery is predetermined by a current battery voltage drop under the current output power.
The second calculating module 407 is configured to calculate a theoretical duration used by the current battery voltage to drop by the first battery voltage threshold under the current output power for the battery voltage of each battery type in the plurality of battery types, so as to obtain a theoretical duration corresponding to each battery type.
The second calculating module 407 may replace the calculation parameters (the queried fixed remaining usage time length, the current output power and the matched output power) corresponding to the first battery voltage threshold value of the current battery voltage drop under the current output power of the battery of each battery type into the first time length calculation formula to calculate the theoretical time length corresponding to each battery type.
The comparison module 408 is configured to compare the differences between the theoretical durations corresponding to all kinds of battery types and the target duration to obtain the battery type corresponding to the theoretical duration with the smallest difference, as the calibration battery type.
A calibration module 409, configured to calibrate the target battery type of the target battery from the default battery type to a calibrated battery type.
Still further alternatively, as shown in fig. 6, the apparatus may further include:
the second calculating module 407 is further configured to calculate a remaining usage time length calibration value corresponding to the target battery after the calibration module 409 calibrates the target battery type of the target battery from the default battery type to the calibrated battery type and when the remaining usage time length of the target battery at the target battery voltage and the target output power needs to be calculated, and calculate the actual remaining usage time length of the target battery at the target battery voltage and the target output power according to the theoretical remaining usage time length calculated by calibrating the battery type, the target battery voltage, and the target output power and the remaining usage time length calibration value corresponding to the target battery.
The calculated theoretical remaining use time length is specifically obtained by substituting the target output power, the queried fixed remaining use time length and the matched output power of the screened target output power into the first time length calculation formula.
Still further alternatively, the remaining in-use time length calibration value corresponding to the target battery is equal to a ratio of an actual in-use time length when the battery voltage of the target battery drops by a predetermined second battery voltage threshold value to the target battery voltage at the target output power to a theoretical in-use time length when the battery voltage of the target battery drops by the second battery voltage threshold value to the target battery voltage at the target output power.
Still further alternatively, the actual remaining usage time length of the target battery at the target battery voltage and the target output power is equal to a product of the theoretical remaining usage time length calculated by calibrating the battery type, the target battery voltage, and the target output power and the remaining usage time length calibration value corresponding to the target battery.
It can be seen that, in this alternative embodiment, after the initial battery type of the battery is determined by the default determining manner, the determined initial battery type is further calibrated by comparing the recorded actual duration with the calculated difference value of the plurality of theoretical durations, which improves the accuracy of the finally determined battery type and is beneficial to further improving the accuracy of calculating the remaining service duration of the battery according to the accurate battery type. In addition, after the battery type of the battery is calibrated, the calculated theoretical remaining use time length is calibrated through the calculated remaining use time length calibration value, so that the actual remaining use time length of the battery is obtained, and the accuracy and stability of the calculated remaining use time length of the battery after the battery type is calibrated are improved.
As another alternative embodiment, as shown in fig. 7, the first computing module 402 may include:
the second obtaining sub-module 4024 is configured to obtain the current output power and the current battery voltage of the target battery when the determination mode of the type of the target battery is the calibration determination mode or the direct determination mode.
A second calculation submodule 4025, configured to calculate a long calibration value corresponding to a remaining usage time of the target battery at the current output power and the current battery voltage; and calculating the theoretical remaining use duration of the target battery under the current battery voltage and the current output power according to the current output power, the current battery voltage and the target battery type.
The theoretical remaining use duration of the target battery under the current battery voltage and the current output power can be specifically calculated by substituting corresponding calculation parameters into the first time duration calculation formula.
The second calculating submodule 4025 is further configured to calculate a remaining usage duration of the target battery at the current output power and the current battery voltage according to a second duration calculation formula, a remaining usage duration of the target battery at the current output power and the current battery voltage, and a theoretical remaining usage duration of the target battery at the current output power and the current battery voltage.
It can be seen that, after the battery type of the battery is accurately determined, the device described in fig. 7 can also calibrate the calculated theoretical remaining use time length by using the calculated remaining use time length calibration value, so as to obtain the remaining use time length of the battery, and improve the accuracy of the calculated remaining use time length of the battery. In addition, the efficiency of calculating the remaining use period of the battery can be improved. In addition, the method can be suitable for calculating the residual service life of the battery of various battery types, and is beneficial to improving the applicability of the residual service life determining device of the battery.
Example seven
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a remaining-use-time determining apparatus of a battery according to another embodiment of the present invention. The apparatus described in fig. 8 is used to determine the remaining service life (i.e. duration) of the battery used by the device, and the apparatus may exist independently of the device, or may be installed or integrated in the device, which is not limited by the embodiment of the present invention. As shown in fig. 8, the remaining use time length determining apparatus of the battery may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the memory 501;
The processor 502 invokes executable program codes stored in the memory 501 to perform some or all of the steps in the remaining use time length determination method of the battery disclosed in any one of the first to third embodiments of the present invention.
Example eight
The embodiment of the invention discloses equipment which can use a battery. The device may be used to perform some or all steps in the remaining use time length determining method of the battery described in any one of the first to third embodiments, or the device may include a remaining use time length determining apparatus of any one of the batteries described in the fourth embodiment, and reference is made to the detailed description of the corresponding embodiment for the detailed description of the device, which is not repeated herein.
Example nine
The embodiment of the invention discloses a computer storage medium which stores computer instructions for executing part or all of the steps in the method for determining the remaining use time length of a battery disclosed in any one of the first to third embodiments of the invention when the computer instructions are called.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the method and the device for determining the remaining service life of the battery disclosed by the embodiment of the invention are disclosed as the preferred embodiment of the invention, and are only used for illustrating the technical scheme of the invention, but are not limited to the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (9)

1. A method for determining remaining usable time length of a battery, the method comprising:
acquiring a residual use time length calculation mode corresponding to a target device, wherein the residual use time length calculation mode is used for calculating the residual use time length of a target battery currently used by the target device, and the target device is any device needing to calculate the residual use time length of the battery;
acquiring a target calculation parameter corresponding to the target equipment according to the residual use time length calculation mode, and calculating the residual use time length of the target battery according to the target calculation parameter;
The method for obtaining the remaining use time length calculation mode corresponding to the target device comprises the following steps:
after determining the target battery type of a target battery currently used by target equipment, matching a remaining use time length calculation mode corresponding to the determination mode of the target battery type according to the determination mode of the target battery type, and taking the remaining use time length calculation mode as the remaining use time length calculation mode corresponding to the target equipment;
and before the target calculation parameters corresponding to the target device are obtained according to the remaining use time length calculation mode and the remaining use time length of the target battery is calculated according to the target calculation parameters, the method further comprises:
determining a plurality of types of battery, a plurality of output powers, a battery voltage range and an interval voltage value;
sampling the battery voltage range according to the interval voltage value to obtain a plurality of battery voltages, wherein the difference value or the absolute value of the difference value of any two adjacent battery voltages is equal to the interval voltage value;
calculating, for each of the battery types, a time period for which the battery of the battery type is used by each remaining battery voltage to drop to a minimum battery voltage at each of the output powers, as a fixed remaining use time period for the battery of the battery type at each of the output powers and each of the remaining battery voltages, the fixed remaining use time periods for the different types of batteries being used to calculate a remaining use time period corresponding to the use time period for the corresponding type of battery;
Wherein all of the remaining battery voltages include all of the battery voltages except the minimum battery voltage.
2. The method for determining a remaining usage time length of a battery according to claim 1, wherein before the method for calculating the remaining usage time length corresponding to the target device is obtained, the method further comprises:
determining a target battery type of a target battery currently used by the target device;
and determining a target battery type of a target battery currently used by the target device, including:
after the target device is powered on, determining a default battery type as a target battery type of a target battery currently used by the target device, wherein the determination mode of the target battery type is a default determination mode; or,
after determining the initial battery type of a target battery currently used by target equipment, determining a calibrated battery type as the target battery type of the target battery, wherein the calibrated battery type is obtained after calibrating the initial battery type, and the determination mode of the target battery type is a calibration determination mode; or,
after the target equipment is electrified, acquiring identification information of a target battery currently used by the target equipment, and determining a target battery type of the target battery according to the identification information of the target battery, wherein the determination mode of the target battery type is a direct determination mode.
3. The method for determining a remaining usage time length of a battery according to claim 2, wherein when the determination mode of the target battery type is the default determination mode, the obtaining a target calculation parameter corresponding to the target device according to the remaining usage time length calculation mode, and calculating the remaining usage time length of the target battery according to the target calculation parameter, includes:
acquiring the current battery voltage and the current output power of the target battery;
screening the matched output power of the current output power from a plurality of predetermined output powers, and screening the matched battery voltage of the current battery voltage from a plurality of predetermined battery voltages;
and calculating the initial remaining use time of the target battery under the current output power and the current battery voltage according to the fixed remaining use time obtained by inquiry, the current output power, the matched output power and a first time calculation formula, wherein the fixed remaining use time is the remaining use time of the battery of the target battery type under the matched output power and the matched battery voltage.
4. The remaining use time length determining method of a battery according to claim 3, wherein said screening the matching output power of the current output power from among a plurality of output powers determined in advance comprises:
screening a maximum output power smaller than the current output power from a plurality of predetermined output powers as a first matched output power of the current output power, and screening a minimum output power larger than the current output power as a second matched output power of the current output power;
and, the first time length calculation formula is:
T d =T 2 +(T 1 -T 2 )*(P d -P 1 )(P 2 -P 1 );
wherein T is d To calculate the initial residual using time length of the target battery, P d For the current output power, T 1 For a first fixed remaining use period, T, of the queried battery of the target battery type at the first matched output power and the matched battery voltage 2 For a second fixed remaining use period, P, of the queried battery of the target battery type at the second matched output power and the matched battery voltage 1 For the first matched output power, P 2 And outputting power for the second matching.
5. The method for determining a remaining usage time length of a battery according to claim 3, wherein when the determination mode of the target battery type is the default determination mode, the method further comprises, after obtaining a target calculation parameter corresponding to the target device according to the remaining usage time length calculation mode and calculating the remaining usage time length of the target battery according to the target calculation parameter:
Recording a target duration of use of a first battery voltage threshold value of the target battery, which is predetermined by the current battery voltage drop at the current output power;
calculating the theoretical duration of the battery voltage of each battery type in a plurality of battery types, which is used by the current battery voltage to drop the first battery voltage threshold value under the current output power, so as to obtain the theoretical duration corresponding to each battery type;
comparing the difference value between the theoretical time lengths corresponding to all kinds of battery types and the target time length to obtain the battery type corresponding to the theoretical time length with the smallest difference value, and using the battery type as a calibration battery type;
calibrating the target battery type of the target battery from the default battery type to the calibrated battery type.
6. The remaining use time length determination method of a battery according to claim 5, wherein after said calibrating the target battery type of the target battery from the default battery type to the calibrated battery type, the method further comprises:
when the residual use time length of the target battery under the target battery voltage and the target output power is required to be calculated, calculating a corresponding residual use time length calibration value of the target battery;
And calculating the actual remaining use duration of the target battery under the target battery voltage and the target output power according to the theoretical remaining use duration calculated by the calibration battery type, the target battery voltage and the target output power and the remaining use duration calibration value corresponding to the target battery.
7. The remaining use time length determination method of a battery according to claim 6, wherein the remaining use time length calibration value corresponding to the target battery is equal to a ratio of an actual use time length when the battery voltage of the target battery drops by a second battery voltage threshold value determined in advance to the target battery voltage at the target output power to a theoretical use time length when the battery voltage of the target battery drops by the second battery voltage threshold value to the target battery voltage at the target output power;
and the actual remaining use time length of the target battery under the target battery voltage and the target output power is equal to the product of the theoretical remaining use time length calculated by the calibration battery type, the target battery voltage and the target output power and the remaining use time length calibration value corresponding to the target battery.
8. The remaining usage time length determining method of a battery according to claim 2, wherein when the determination mode of the target battery type is the calibration determination mode or the direct determination mode, the obtaining a target calculation parameter corresponding to the target device according to the remaining usage time length calculation mode, and calculating the remaining usage time length of the target battery according to the target calculation parameter, comprises:
acquiring the current output power and the current battery voltage of the target battery;
calculating a residual use time length calibration value corresponding to the target battery under the current output power and the current battery voltage;
calculating theoretical remaining use duration of the target battery under the current battery voltage and the current output power according to the current output power, the current battery voltage and the target battery type;
calculating the residual use time length of the target battery under the current output power and the current battery voltage according to a second time length calculation formula, a residual use time length calibration value corresponding to the target battery under the current output power and the current battery voltage and a theoretical residual use time length of the target battery under the current output power and the current battery voltage;
And, the second duration calculation formula is: t, real_domain=t, R, type
where t_real_remain is the remaining usage period of the target battery at the current output power and the current battery voltage, R, type for a long calibration value of the corresponding remaining usage time of the target battery at the current output power and the current battery voltage, T_remain is the theoretical remaining of the target battery at the current output power and the current battery voltageThe time period is used.
9. A remaining-use-time length determining apparatus of a battery, characterized in that the apparatus is adapted to perform the remaining-use-time length determining method of a battery according to any one of claims 1 to 8.
CN202011604552.5A 2020-12-29 2020-12-29 Method and device for determining remaining service time of battery Active CN112763925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011604552.5A CN112763925B (en) 2020-12-29 2020-12-29 Method and device for determining remaining service time of battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011604552.5A CN112763925B (en) 2020-12-29 2020-12-29 Method and device for determining remaining service time of battery

Publications (2)

Publication Number Publication Date
CN112763925A CN112763925A (en) 2021-05-07
CN112763925B true CN112763925B (en) 2023-05-23

Family

ID=75697440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011604552.5A Active CN112763925B (en) 2020-12-29 2020-12-29 Method and device for determining remaining service time of battery

Country Status (1)

Country Link
CN (1) CN112763925B (en)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH095410A (en) * 1995-06-22 1997-01-10 Hitachi Denshi Ltd Electronic apparatus enabling selective use of battery of different kind
US20040027249A1 (en) * 2002-08-07 2004-02-12 Heiser Arthur J. Battery capacity and usage system
JP4827443B2 (en) * 2005-06-24 2011-11-30 Hoya株式会社 Battery check device
TWI274891B (en) * 2006-01-17 2007-03-01 Benq Corp Systems, methods and machine-readable storage media for battery power management of electronic systems
JP4677416B2 (en) * 2007-01-30 2011-04-27 オリジン電気株式会社 Storage battery discharge remaining time prediction apparatus, method and program
CN102385660A (en) * 2010-09-03 2012-03-21 湘潭大学 Evaluation method for system on chip (SOC) of charging station battery
US9921271B2 (en) * 2014-01-14 2018-03-20 Fresenius Vial Sas Method and device for determining the remaining run time of a battery
CN104502856B (en) * 2014-12-26 2015-09-30 骐俊通联(厦门)科技有限公司 A kind of method and system detecting the vehicle life of storage battery
CN105938183B (en) * 2016-05-06 2018-11-02 思创数码科技股份有限公司 A kind of intelligent monitor system in prediction UPS battery service life
JP2018179733A (en) * 2017-04-12 2018-11-15 日立化成株式会社 Battery life diagnostic device and battery life diagnostic method
CN108072848B (en) * 2018-01-31 2020-12-01 胡继业 Analysis method for estimating discharge time of storage battery
CN108303658B (en) * 2018-03-01 2020-06-02 杭州高特新能源技术有限公司 Method for acquiring different charging and discharging curves of lead-acid battery
DE102018217009A1 (en) * 2018-10-04 2020-04-09 Robert Bosch Gmbh Method and device for remaining battery life display for battery-operated devices
CN110275115B (en) * 2019-07-24 2021-02-05 振德医疗用品股份有限公司 Method for detecting electric quantity of disposable battery
CN111308354A (en) * 2020-03-11 2020-06-19 深圳易马达科技有限公司 Method and device for detecting state of health of battery, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112763925A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US11152806B2 (en) User identification from battery characteristics
JP6648698B2 (en) Energy storage element state estimation device and energy storage element state estimation method
CN108663621B (en) Charge state calculation method and system for power battery pack
US8639460B2 (en) Apparatus for estimating open circuit voltage of battery, apparatus for estimating state of charge of battery, and method for controlling the same
US5587924A (en) Automatic system for handling batteries
US9754329B2 (en) Management system, smart meter, server, operation method and management method
EP3433628B1 (en) An energy storage device monitoring technique
JP5279199B2 (en) Charging apparatus and charging control method
US20070046261A1 (en) Method and apparatus for temperature, conductance and/or impedance testing in remote application of battery monitoring systems
CN110687468A (en) Method and device for estimating state of charge of battery
EP3889626A1 (en) Battery management controllers capable of estimating state of charge
CN103154670B (en) For identifying the decomposer Sum decomposition method of the customer in electrical network
CN111562505B (en) Battery identification method, electronic equipment and storage medium
CN112763925B (en) Method and device for determining remaining service time of battery
US11415634B2 (en) Battery performance assessment method and apparatus
CN110297192B (en) Method for estimating electric quantity during charging and discharging of battery and electric quantity correction method during starting
KR100911315B1 (en) Apparatus and method for estimating battery's resistance characteristics based on open circuit voltage estimated by battery voltage variation pattern
CN111263078B (en) Method and device for determining image pickup mode, storage medium and electronic device
CN1125349C (en) Voltage indicator for indicating that voltage of battery passes given value
CN110618307A (en) Current sensor
CN111707948A (en) Endurance time evaluation method and device of external battery power supply system
CN110850304A (en) Full charge detection method and device and storage medium
CN114778946A (en) Method, device, equipment and medium for measuring battery impedance
CN210894488U (en) Current sensor and compressed gas network
CN109656345B (en) Portable mobile energy storage battery management system

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 floor 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Aitushi Innovation Technology Co.,Ltd.

Address before: 518000 floor 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: APUTURE IMAGING INDUSTRIES Co.,Ltd.