CN113687248B - Battery capacity determining method and device, electronic equipment and storage medium - Google Patents

Battery capacity determining method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113687248B
CN113687248B CN202110996274.0A CN202110996274A CN113687248B CN 113687248 B CN113687248 B CN 113687248B CN 202110996274 A CN202110996274 A CN 202110996274A CN 113687248 B CN113687248 B CN 113687248B
Authority
CN
China
Prior art keywords
charge
battery
discharge
capacity
voltage
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
CN202110996274.0A
Other languages
Chinese (zh)
Other versions
CN113687248A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110996274.0A priority Critical patent/CN113687248B/en
Publication of CN113687248A publication Critical patent/CN113687248A/en
Application granted granted Critical
Publication of CN113687248B publication Critical patent/CN113687248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current 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/389Measuring internal impedance, internal conductance or related variables

Landscapes

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

Abstract

The application discloses a battery capacity determining method, a battery capacity determining device, electronic equipment and a storage medium. The method comprises the following steps: determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; determining at least one first parameter in a setting information table according to the first voltage and the second voltage; and determining a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature and the at least one first parameter.

Description

Battery capacity determining method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of battery management technologies, and in particular, to a method and apparatus for determining battery capacity, an electronic device, and a storage medium.
Background
In the related art, in the process of battery charging, time delay exists in the calculation of the battery capacity, so that the battery capacity cannot be updated in time, and in the process of calculating the battery capacity, too many random errors are introduced, so that the calculated battery capacity is inaccurate.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for determining a battery capacity, so as to at least solve the problems of untimely battery capacity update and inaccurate battery capacity calculation in the related art.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a battery capacity determining method, which comprises the following steps:
determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; the first current characterizes a charge/discharge current of the battery during the first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery during the first charge/discharge;
determining at least one first parameter in a setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting moment of the first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge process; the setting information table records Charge/discharge data of the battery in at least two set states of Charge (SOC)/depths of discharge (DOD, depth of Discharge); the first parameter characterizes charge/discharge data of the battery at a first SOC/DOD; the first SOC/DOD characterizes an SOC/DOD at which the battery is at a start time of the first charge/discharge process at the at least two SOC/DOD;
Determining a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
In the above-mentioned scheme, at least one of the following charge/discharge data corresponding to the at least two SOC/DODs is recorded in the setting information table:
a charge/discharge voltage;
charge/discharge current;
internal resistance of the battery;
the capacity of the battery and the SOC/DOD corresponding to the capacity of the battery;
the temperature of the environment in which the battery is located during charge/discharge and the corresponding calibration factor.
In the above solution, the determining at least one first parameter in the setting information table according to the first voltage and the second voltage includes:
correcting the first voltage and the second voltage according to the first internal resistance and the first current; the first internal resistance characterizes the internal resistance of the battery during a first charge/discharge process;
and determining at least one first parameter in the setting information table according to the corrected first voltage and the corrected second voltage.
In the above scheme, the correcting the first voltage and the second voltage according to the first internal resistance and the first current includes:
Determining a first image according to a set calculation method; the first image represents a relation image between internal resistances, charge/discharge currents and correction voltages corresponding to the charge/discharge voltages of at least two groups of batteries in at least two SOC/DODs recorded in the setting information table;
and determining a correction voltage of the first voltage and a correction voltage of the second voltage on the first image according to the first internal resistance and the first current.
In the above scheme, the method further comprises:
updating the capacity corresponding to the second SOC/DOD in the setting information table according to the second capacity; the second SOC/DOD represents the SOC/DOD corresponding to the first ratio; the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
In the above scheme, the method further comprises:
outputting the electric quantity percentage of the battery according to a first ratio; wherein,
the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
In the above scheme, the duration of the first charge/discharge process is longer than a set duration.
The embodiment of the application also provides a battery capacity determining device, which comprises:
a first determining unit for determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; the first current characterizes a charge/discharge current of the battery during the first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery during the first charge/discharge;
the second determining unit is used for determining at least one first parameter in the setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting moment of the first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge; the setting information table records charge/discharge data of the battery in at least two set SOC/DODs; the first parameter characterizes charge/discharge data of the battery at a first SOC/DOD; the first SOC/DOD characterizes an SOC/DOD of the at least two SOC/DOD at which the battery is at a start time of the first charge/discharge process;
a third determining unit, configured to determine a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature, and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
Embodiments of the present application also provide an electronic device, a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of any of the methods described above when the computer program is run.
The present application also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
In the embodiment of the application, the capacity of the battery at the termination time of the charging/discharging process is determined by determining the charging capacity or the discharging capacity of the battery in the charging/discharging process and utilizing the charging/discharging data corresponding to the SOC/DOD at the start time of the charging/discharging process of the battery recorded in the setting information table, so that the capacity of the battery can be monitored in real time through the setting information table, and the cost for monitoring the capacity of the battery is reduced.
Drawings
Fig. 1 is a schematic implementation flow chart of a battery capacity determining method according to an embodiment of the present application;
fig. 2 is a schematic implementation flow chart of a battery capacity determining method according to another embodiment of the present application;
fig. 3 is a schematic implementation flow chart of a battery capacity determining method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart of determining battery capacity according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of the present application;
fig. 6 is a schematic structural view of a battery capacity determining apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware composition structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will now be described in further detail with reference to the accompanying drawings and specific examples.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical solutions described in the embodiments of the present application may be arbitrarily combined without any conflict.
In addition, in the embodiments of the present application, "first," "second," and the like are used to distinguish similar objects, and are not necessarily used to describe a particular order or sequence.
In the embodiment of the present application, a method for determining a battery capacity is provided, and fig. 1 is a schematic flow chart of the method for determining a battery capacity in the embodiment of the present application. As shown in fig. 1, the method includes:
s101: determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; the first current characterizes a charge/discharge current of the battery during the first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery in the first charge/discharge process.
Here, when the battery is in the first charge/discharge process, the capacity of the battery may change, when the battery is in the first charge process, the first capacity represents the capacity charged in the first charge process, and when the battery is in the first discharge process, the first capacity represents the capacity discharged by the battery in the first discharge process, one charge/discharge of the battery corresponds to one charge/discharge process, and taking charge as an example, inputting a charge current to the battery represents starting charging the battery, stopping inputting a charge current to the battery represents stopping charging the battery, and charging from starting charging to stopping charging the battery represents finishing one charge of the battery, and charging from inputting a charge current to stopping inputting a charge current to the battery is one charge process. And obtaining the charge/discharge current of the battery in the first charge/discharge process and the duration corresponding to the first charge/discharge process of the battery, namely the charge/discharge duration, by integrating the charge/discharge duration and the first current, and calculating the first capacity, wherein the duration corresponding to the first charge process is the duration from the time of switching on the battery to the time of switching off the battery, and the duration corresponding to the first discharge process is the duration from the time of starting discharging the battery to the time of stopping discharging.
In an embodiment, the duration of the first charge/discharge process is longer than a set duration.
Here, in order to ensure that the first charge/discharge process of the battery is an effective charge/discharge process, it is necessary to determine whether the duration of the first charge/discharge process is longer than a set duration, for example, for the first charge process, when the presence of the charge current is detected, a timer is started, when the charge current is detected to be longer than or equal to the set duration t 1 When the charging current is still present, the first charging process can be determined to be a valid charging process, and for the first discharging process, when the discharging current is detected to be present, the timing is started, when the charging current is greater than or equal to the set time period t 2 When the discharge current is still present, the first discharge process can be determined to be an effective discharge process, thereby avoiding the acquisition of ineffective dischargeCharge/discharge data of the charge/discharge process, such that the capacity of the battery cannot be accurately acquired.
S102: determining at least one first parameter in a setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting moment of the first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge process; the setting information table records charge/discharge data of the battery in at least two set SOC/DODs; the first parameter characterizes charge/discharge data of the battery at a first SOC/DOD; the first SOC/DOD characterizes an SOC/DOD of the at least two SOC/DOD at which the battery is at a start time of the first charge/discharge process.
Here, the setting information table is used to record charge/discharge data of the battery in at least two SOC/DODs set, and as shown in table 1, table 1 shows the charge/discharge data recorded by one setting information table.
TABLE 1
In practical applications, table 1 shows charge/discharge data of different SOC/DOD in the last charge/discharge process before the first charge/discharge process, for example, the first charge/discharge process is the nth charge/discharge of the battery, and table 1 shows charge/discharge data of different SOC/DOD in the nth-1 charge/discharge of the battery. The SOC in table 1 can determine the remaining capacity of the battery, the duration of the battery can be predicted by the SOC, the DOD is used for measuring the amount of charge released by the battery, and the degree of use of the battery capacity can be determined by the DOD. In the setting information table, by dividing the different charge/discharge conditions of the battery during charge/discharge of the SOC and DOD, for example, when soc=1%, it represents the charge condition when the battery is charged to 1% during charge, when dod=1%, it represents the discharge condition when the battery is discharged to 1% during discharge, in practical application, for SOC/DOD divided in table 1, it is not By way of limitation, in this example, the SOC/DOD is divided into 0%, 1%, 2%, … …%, 99% and 100%. The setting table also records the calibration coefficient F A charger Calibration coefficient F A charger Can pass throughObtained by, among others, Q 0,Ta For standard charge/discharge capacity of battery at temperature Ta, Q 0, T standard For a standard charge/discharge capacity of the battery at standard temperature, it is therefore possible to obtain, according to Table 1, a corresponding calibration factor F when the ambient temperature at which the battery is located is Ta DEG C A charger When the SOC of the battery is 100%, the capacity of the battery is Q Filling n The internal resistance of the battery is R Filling n The input voltage of the battery is V Filling n The charging current of the battery is I b0 . When at least one first parameter is obtained from the setting information table according to the first voltage and the second voltage, the first voltage is the voltage at the starting time of the first charge/discharge process, the second voltage is the voltage at the ending time of the first charge/discharge process, and the relevant charge/discharge data of the SOC/DOD corresponding to the starting time of the first charge/discharge process of the battery can be obtained from the setting information table by the first voltage, for example, the first voltage is V 1n The first voltage V in the n-1 th charge can be obtained from the setting information table 1n The remaining charge capacity of the corresponding SOC is denoted as Q n-1,V1n The first voltage V1n and the second voltage V2n can be obtained from the setting information table during the (n-1) th charging 1n The total capacity of the battery of the SOC corresponding to the second voltage V2n is denoted as Q n-1,V1n~V2n . Further, the temperature Ta of the SOC/DOD capable environment is set in the information table n-1 DEG C, and the temperature Ta of the environment of the first SOC/DOD n-1 Calibration coefficient Fa corresponding to DEG C n-1
In an embodiment, the setting information table records at least one of the following charge/discharge data corresponding to the at least two SOCs/DODs:
a charge/discharge voltage;
charge/discharge current;
internal resistance of the battery;
the capacity of the battery and the SOC/DOD corresponding to the capacity of the battery;
the temperature of the environment in which the battery is located during charge/discharge and the corresponding calibration factor.
Here, the setting information table records at least a charge/discharge voltage, a charge/discharge current, an internal resistance of the battery, a capacity of the battery, and a temperature of an environment in which the battery is located and a corresponding calibration coefficient corresponding to at least two SOC/DODs. In practical application, the initial setting information table is generated after the charge/discharge test is completed before the factory and stored on the corresponding terminal, wherein the initial setting information table is constructed by the charge/discharge data obtained by the charge/discharge test of the battery before the factory. The battery is tested for charge and discharge at different temperatures, for example, a group of temperature data and b group of charging current I are obtained in total Filling material Group c discharge current I Put and put Finally, a group a, b and c of charge/discharge data can be generated, wherein a, b and c are natural numbers. Based on the charge/discharge data of group a, b, c obtained by the charge/discharge test, the battery capacity is calculated, for example, the temperature is Ta, and the charge current I Charger b Discharge current I Put c For example, the rated charge capacity Q of the battery can be determined 0 charge And rated discharge capacity Q of battery Put 0 In practical application, the initialization coefficient d is used for Q 0 charge And Q is equal to Put 0 Correction is performed, wherein d is an empirical factor, d ranges from 0.8 to 1.2, d can be adjusted according to different types of batteries, for example, for a battery with a specification of 4.45V and 1.5C system, assuming that the discharge current is 0.2C, the battery discharges from 4.45V to 3.0V, and the rated discharge capacity Q corresponding to the battery Put 0 When the battery with the same specification has the use condition of 4.4V of charge cut-off voltage and 3.7V of discharge cut-off voltage, the discharged capacity Q=3800 can be obtained To the corresponding correction coefficient isQ corrected by correction coefficient d 0 charge And Q is equal to Put 0 The N data grid points are distributed according to different charge/discharge voltages V and corresponding SOC and DOD, wherein the SOC and DOD are expressed as common percentages. In practical application, the DC internal resistance R in the charge/discharge test is also recorded 0 ,R 0 Calculated by charge/discharge current at the same temperature Ta DEG and the same SOC or DOD, wherein +.>The initial setting information table also records the corresponding calibration coefficients of different temperatures, the calibration coefficients +.>Wherein,for standard charge/discharge capacity at standard temperature, Q 0,Ta Is the standard charge/discharge capacity at temperature Ta. In practical applications, the initial setting information table may also record the number of times the battery is charged/discharged.
In one embodiment, as shown in fig. 2, the determining at least one first parameter in the setting information table according to the first voltage and the second voltage includes:
s201: correcting the first voltage and the second voltage according to the first internal resistance and the first current; the first internal resistance characterizes an internal resistance of the battery during a first charge/discharge process.
Here, when the battery is charged/discharged, the first voltage and the second voltage are affected by the dc internal resistance of the battery, and thus, the first voltage and the second voltage need to be corrected. In practical application, the relationship between the internal resistance of the battery and the voltage and current of the battery can be expressed as Thereby obtaining the correction voltage V n’ =V n -(I bn -I b0 ) X R, wherein R represents the internal resistance of the battery, V n Indicating the voltage before correction, I b Indicating the charge/discharge current of the battery, I 0 Since the original charge/discharge current of the battery is represented, the first voltage and the second voltage can be corrected by the first internal resistance and the first current in accordance with the relationship between the correction voltage, the current, and the resistance.
In one embodiment, as shown in fig. 3, the correcting the first voltage and the second voltage according to the first internal resistance and the first current includes:
s301: determining a first image according to a set calculation method; the first image represents a relation image between internal resistances, charge/discharge currents and correction voltages corresponding to the charge/discharge voltages of at least two groups of batteries in at least two SOC/DODs recorded in the setting information table.
Here, the setting information table records different charge/discharge data in at least two SOC/DODs, and based on the relation between the correction voltage, current and internal resistance, the data is recorded by V n-1’ =V n-1 -(I bn-1 -I b0 ) X R, from the internal resistance and charge/discharge current of at least two groups of batteries in at least two SOC/DODs recorded in the setting information table, a correction voltage corresponding to the charge/discharge voltage can be obtained, wherein V n-1’ Representing the corrected voltage corresponding to the second voltage, V n-1 Representing the second voltage to be corrected, I bn-1 Representing the second current, I b0 The original charging current is represented, the obtained correction voltages corresponding to at least two groups of charging/discharging voltages, the internal resistance of the battery and the charging/discharging current are used as an X axis, the correction voltages corresponding to the charging/discharging voltages are used as a Y axis, the internal resistance of the battery is used as a Z axis, a first image of (Vn', I and R) is obtained through drawing, and the correction voltages of the charging/discharging voltages under different charging/discharging currents and the internal resistances of different batteries can be recorded on the first image.
S302: and determining a correction voltage of the first voltage and a correction voltage of the second voltage on the first image according to the first internal resistance and the first current.
Here, correction voltages of charge/discharge voltages under internal resistances of different charge/discharge currents and different batteries are recorded in the first image, the correction voltages of the first voltage and the correction voltages of the second voltage are searched on the first image through the first internal resistance and the first current, and in practical application, other coordinate points conforming to the existing coordinate arrangement rule of the relational image can be obtained through curve fitting or interpolation, so that the correction voltages of the first voltage and the correction voltages of the second voltage can be determined.
S202: and determining at least one first parameter in the setting information table according to the corrected first voltage and the corrected second voltage.
Here, the at least one first parameter corresponding to the first SOC/DOD can be accurately determined in the setting information table by the corrected first voltage and the second voltage, specifically, Q can be acquired in the setting information table by the corrected first voltage and the second voltage n-1,V1n Q and n-1,V1n~V2n thereby enabling to improve the accuracy of the battery capacity.
S103: determining a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
Here, the second capacity of the battery at the termination time of the first charge/discharge process can be determined by the first capacity, the calibration coefficient corresponding to the first temperature, and at least one first parameter, specifically, assuming that the first charge process corresponds to the nth charge of the battery as an example, the second capacity can be obtained
Wherein Ta is n C represents the first charge Temperature, Q of the environment in which the battery is located during the electrical process n-1,V1n C for remaining charge capacity after the n-1 th charge is completed n,V1~V2 For the first capacity of the nth charge by current integration detection,/th charge> After the n-th charge is completed, at a temperature Ta n Estimated chargeable capacity at C,/->Is a stepwise correction of the battery capacity, wherein +.>In practical application, the calibration coefficient corresponding to the first temperature can be obtained by setting the temperatures in at least two SOC/DODs in the information table and the corresponding calibration coefficients, specifically, the temperatures in at least two SOC/DODs in the information table are taken as X-axis, the corresponding calibration coefficients are taken as Y-axis, a corresponding relation image can be generated, the first temperature is searched through the relation image, so that the calibration coefficient corresponding to the first temperature is determined, in practical application, other coordinates conforming to the existing coordinate arrangement rule of the relation image can be obtained through a curve fitting or interpolation method, and the calibration coefficient corresponding to the first temperature is determined.
In an embodiment, the method further comprises:
updating the capacity corresponding to the second SOC/DOD in the setting information table according to the second capacity; the second SOC/DOD represents the SOC/DOD corresponding to the first ratio; the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
Here, according to the second capacity, a first ratio can be determined, where the first ratio is a ratio of the second capacity to the third capacity, and the third capacity is a rated charge/discharge capacity of the battery, and in the first charging process, the first ratio corresponds to the SOC, and it can be characterized as to the remaining capacity at the termination time of the first charging process, for example, by the first ratio, it can be determined whether the battery is fully charged at the termination time of the first charging process, etc., reflecting the state of charge of the battery, and in the first discharging process, the first ratio corresponds to the DOD, and it can be characterized as to the depth of discharge at the termination time of the first discharging process, for example, by the first ratio, it can be determined as to whether the battery is fully discharged at the termination time of the first discharging process, reflecting the state of discharge of the battery. The capacity of the second SOC/DOD corresponding to the first ratio in the setting information table is updated, for example, in the first charging process, the second capacity is Qn, the rated charging capacity is Q0, the calculated first ratio is 80%, that is, the second SOC is 80%, and the capacity of the SOC under the setting information table is 80% is changed to Qn, so that the capacity of the battery can be corrected gradually, and the capacity of the battery can be accurately determined.
In an embodiment, the method further comprises:
outputting the electric quantity percentage of the battery according to a first ratio; wherein,
the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
Here, after the second capacity is determined, the first ratio is obtained by a ratio of the second capacity to a third capacity, which is a rated charge/discharge capacity of the battery, which can be read from the setting information table. In practical applications, for the first charging process, the first ratio corresponds to SOC, for the second charging process, the first ratio corresponds to DOD, wherein SOC may represent the remaining charge, and thus the percentage of charge of the battery can be displayed by outputting SOC, while for DOD, DOD represents the discharged charge, when dod=100% represents no charge of the battery, and when dod=0% represents full charge of the battery, and thus when the first ratio represents DOD, the percentage of charge of the battery displayed corresponds to=1—the first ratio, and for example, the first ratio is 80%, and the percentage of charge of the battery corresponds to the existing charge of the battery, and thus the percentage of charge of the battery displayed is 20%. Therefore, the electric quantity of the current battery can be determined through the first ratio, and then the electric quantity percentage of the battery is output on the terminal, so that the electric quantity of the battery can be updated in real time without depending on the battery electric quantity meter, and the electric quantity display control can be smoother.
In the above embodiment, by detecting the parameters of the battery during the charge/discharge process and combining the charge/discharge parameters related to the SOC/DOD of the battery at the start time of the charge/discharge process stored in the setting information table, the electric quantity of the battery at the end time of the charge/discharge process is determined, so that the capacity change of the battery can be monitored in real time, the error caused by the calculation of the capacity of the battery is reduced, the accuracy of the calculation of the capacity of the battery is improved, and the electric quantity can be accurately and smoothly displayed.
An application embodiment is also provided, as shown in fig. 4, and a flowchart of a battery capacity determination is shown in fig. 4.
S401: a setting information table is generated. Before the battery leaves the factory, the battery is subjected to set charge/discharge test, and a set information table is generated according to charge/discharge data of different SOC/DODs in the charge/discharge test.
S402: in the actual working process of the battery, whether the battery is in an effective charge/discharge process is judged.
S403: when the battery is in an effective charge/discharge process, charge/discharge data of the battery in the charge/discharge process is acquired.
S404: the capacity of the battery at the termination time of the charge/discharge process is determined. The capacity of the battery at the termination time of the charge/discharge process is based on the charge/discharge data of the battery during the charge/discharge process and the charge/discharge data of the SOC/DOD at the start time of the charge/discharge process in the setting information table.
S405: and updating the battery capacity under the corresponding SOC/DOD in the setting information table. Specifically, the battery capacity at the corresponding SOC/DOD in the updated setting information table is updated to the capacity of the battery at the termination time of the charge/discharge process according to the capacity of the battery at the termination time of the charge/discharge process.
The application further provides another application embodiment, fig. 5 shows a structure diagram, the structure diagram shown in fig. 5 includes a detection layer, a processing layer and an output layer, wherein the detection layer includes a hardware detection module, the hardware detection module is used for detecting charge/discharge data of a battery in a charge/discharge process, the hardware detection module is composed of different detection interfaces, the current detection interface is used for detecting charge/discharge current of the battery in the charge/discharge process, in practical application, the current detection interface can be a current detection resistor, the voltage detection interface is used for detecting charge/discharge voltage of the battery in the charge/discharge process, the temperature detection interface is used for detecting temperature of an environment where the battery is located in the charge/discharge process, and in practical application, the temperature detection interface can be a thermistor. The processing layer comprises a data conversion/storage module, an output conversion module and a data processing module, wherein the data conversion/storage module is used for storing charge/discharge data of the battery in the charge/discharge process detected by the hardware detection module, storing a setting information table recorded with the charge/discharge data of the battery in different SOC/DODs and storing the updated setting information table. The data processing module is responsible for calling the charge/discharge data of the battery in the charge/discharge process, which is detected by the hardware detection module, and obtaining relevant data of the battery in the charge/discharge process, such as internal resistance of the battery, correction voltage of the battery, charge/discharge electric quantity of the battery and the like, through data processing, so that corresponding charge/discharge data in the setting information table is updated according to the obtained relevant data. The output conversion module is used for processing and converting the stored setting information table, smoothly outputting the electric quantity information of the battery, for example, the SOC and the voltage belong to a progressive relation, the SOC displayed in the charging process should also keep progressive change, the electric quantity information of the battery is smoothly output, and the condition that the displayed SOC is reduced in the charging process is avoided. The output interaction module in the output layer is used for carrying out data interaction with other external equipment, and the external equipment can call related information such as SOC, current or voltage in the charging/discharging process of the battery and the like through the output interaction module.
In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a battery capacity determining device, as shown in fig. 6, where the device includes:
a first determining unit 601, configured to determine a first capacity corresponding to a first charging/discharging process of the battery according to a first current; the first current characterizes a charge/discharge current of the battery during a first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery during the first charge/discharge;
a second determining unit 602, configured to determine at least one first parameter in the setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting time of a first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge; the setting information table records charge/discharge data of the battery in at least two set SOC/DODs; the first parameter characterizes charge/discharge data of the battery at a first SOC/DOD; the first charge SOC/DOD characterizes an SOC/DOD of the battery at a starting time of the first charge/discharge process among the at least two SOC/DODs;
A third determining unit 603, configured to determine a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature, and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
In an embodiment, the setting information table records at least one of the following charge/discharge data corresponding to the at least two SOCs/DODs:
a charge/discharge voltage;
charge/discharge current;
internal resistance of the battery;
the capacity of the battery and the SOC/DOD corresponding to the capacity of the battery;
the temperature of the environment in which the battery is located during charge/discharge and the corresponding calibration factor.
In an embodiment, the second determining unit 602 is further configured to, when determining at least one first parameter in the setting information table according to the first voltage and the second voltage:
correcting the first voltage and the second voltage according to the first internal resistance and the first current; the first internal resistance characterizes the internal resistance of the battery during a first charge/discharge process;
and determining at least one first parameter in the setting information table according to the corrected first voltage and the corrected second voltage.
In an embodiment, the second determining unit 602 is further configured to, when correcting the first voltage and the second voltage according to the first internal resistance and the first current:
determining a first image according to a set calculation method; the first image represents a relation image between internal resistances, charge/discharge currents and correction voltages corresponding to the charge/discharge voltages of at least two groups of batteries in at least two SOC/DODs recorded in the setting information table;
and determining a correction voltage of the first voltage and a correction voltage of the second voltage on the first image according to the first internal resistance and the first current.
In an embodiment, the device is further configured to:
updating the capacity corresponding to the second SOC/DOD in the setting information table according to the second capacity; the second SOC/DOD represents the SOC/DOD corresponding to the first ratio; the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
In an embodiment, the device is further configured to:
outputting the electric quantity percentage of the battery according to a first ratio; wherein,
the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
In an embodiment, the duration of the first charge/discharge process is longer than a set duration.
In practical use, the first determining unit 601, the second determining unit 602, and the third determining unit 603 may be implemented by a processor in the battery capacity determining device. Of course, the processor needs to execute the program stored in the memory to realize the functions of the program modules.
It should be noted that, in the battery capacity determining apparatus provided in the embodiment of fig. 6, only the division of the program modules is used for illustration, and in practical application, the process allocation may be performed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the processes described above. In addition, the battery capacity determining device provided in the above embodiment and the battery capacity determining method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not repeated here.
Based on the hardware implementation of the program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an electronic device, fig. 7 is a schematic diagram of a hardware composition structure of the electronic device of the embodiment of the present application, and as shown in fig. 7, the electronic device includes:
A communication interface 1 capable of information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other devices, and is used for executing the battery capacity determining method provided by one or more of the technical schemes when running the computer program. And the computer program is stored on the memory 3.
Of course, in practice, the various components in the electronic device are coupled together by a bus system 4. It will be appreciated that the bus system 4 is used to enable connected communications between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. But for clarity of illustration the various buses are labeled as bus system 4 in fig. 7.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory 3 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to the processor 2 or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 2 or by instructions in the form of software. The processor 2 described above may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium in the memory 3 and the processor 2 reads the program in the memory 3 to perform the steps of the method described above in connection with its hardware.
The processor 2 implements corresponding flows in the methods of the embodiments of the present application when executing the program, and for brevity, will not be described in detail herein.
In an exemplary embodiment, the present application also provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory 3 storing a computer program executable by the processor 2 for performing the steps of the method described above. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method may be implemented in other manners. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, and the computer software product may be stored in a storage medium, and include several instructions to cause an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A battery capacity determining method, characterized by comprising:
determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; the first current characterizes a charge/discharge current of the battery during the first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery during the first charge/discharge;
determining at least one first parameter in a setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting moment of the first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge process; the setting information table records charge/discharge data of the battery in at least two set states of charge/discharge depths; the first parameter characterizes charge/discharge data of the battery at a first state of charge/depth of discharge; the first state of charge/depth of discharge characterizes a state of charge/depth of discharge in which the battery is at a starting instant of the first charge/discharge process among the at least two states of charge/depths of discharge;
Determining a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
2. The method of claim 1, wherein the set information table records therein at least one of the following charge/discharge data corresponding to the at least two states of charge/depths of discharge:
a charge/discharge voltage;
charge/discharge current;
internal resistance of the battery;
the capacity of the battery and the state of charge/depth of discharge corresponding to the capacity of the battery;
the temperature of the environment in which the battery is located during charge/discharge and the corresponding calibration factor.
3. The method of claim 2, wherein determining at least one first parameter in the set information table based on the first voltage and the second voltage comprises:
correcting the first voltage and the second voltage according to the first internal resistance and the first current; the first internal resistance characterizes the internal resistance of the battery during a first charge/discharge process;
And determining at least one first parameter in the setting information table according to the corrected first voltage and the corrected second voltage.
4. The method of claim 3, wherein modifying the first voltage and the second voltage based on the first internal resistance and the first current comprises:
determining a first image according to a set calculation method; the first image represents a relation image between internal resistances, charge/discharge currents and correction voltages corresponding to the charge/discharge voltages of at least two groups of batteries in at least two charge states/discharge depths recorded in the setting information table;
and determining a correction voltage of the first voltage and a correction voltage of the second voltage on the first image according to the first internal resistance and the first current.
5. The method according to claim 1, wherein the method further comprises:
updating the capacity corresponding to the second state of charge/depth of discharge in the setting information table according to the second capacity; the second state of charge/depth of discharge characterizes a state of charge/depth of discharge corresponding to the first ratio; the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
6. The method according to claim 1, wherein the method further comprises:
outputting the electric quantity percentage of the battery according to a first ratio; wherein,
the first ratio is the ratio of the second capacity to the third capacity; the third capacity characterizes a rated charge/discharge capacity of the battery.
7. The method of claim 1, wherein the duration of the first charge/discharge process is greater than a set duration.
8. A battery capacity determining apparatus, characterized by comprising:
a first determining unit for determining a first capacity corresponding to a first charge/discharge process of the battery according to the first current; the first current characterizes a charge/discharge current of the battery during the first charge/discharge process; the first capacity characterizes a capacity charged to the battery or a capacity discharged from the battery during the first charge/discharge;
the second determining unit is used for determining at least one first parameter in the setting information table according to the first voltage and the second voltage; the first voltage characterizes a voltage of the battery at a starting moment of the first charge/discharge process; the second voltage characterizes a voltage of the battery at a termination time of the first charge/discharge; the setting information table records charge/discharge data of the battery in at least two set states of charge/discharge depths; the first parameter characterizes charge/discharge data of the battery at a first state of charge/depth of discharge; the first state of charge/depth of discharge characterizes a state of charge/depth of discharge in which the battery is at a starting instant of the first charge/discharge process among the at least two states of charge/depths of discharge;
A third determining unit, configured to determine a second capacity according to the first capacity, the calibration coefficient corresponding to the first temperature, and the at least one first parameter; the second capacity characterizes a capacity of the battery at a termination time of the first charge/discharge process; the first temperature is indicative of a temperature of an environment in which the battery is located during the first charge/discharge process.
9. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any of claims 1 to 7 when the computer program is run.
10. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1 to 7.
CN202110996274.0A 2021-08-27 2021-08-27 Battery capacity determining method and device, electronic equipment and storage medium Active CN113687248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110996274.0A CN113687248B (en) 2021-08-27 2021-08-27 Battery capacity determining method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110996274.0A CN113687248B (en) 2021-08-27 2021-08-27 Battery capacity determining method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113687248A CN113687248A (en) 2021-11-23
CN113687248B true CN113687248B (en) 2024-03-22

Family

ID=78583440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110996274.0A Active CN113687248B (en) 2021-08-27 2021-08-27 Battery capacity determining method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113687248B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009052975A (en) * 2007-08-24 2009-03-12 Panasonic Corp Circuit for calculating residual battery capacity, and battery pack using the same
CN107153165A (en) * 2017-07-11 2017-09-12 珠海市魅族科技有限公司 Battery capacity metering method and device, computer installation and storage medium
CN110376536A (en) * 2019-08-05 2019-10-25 桑顿新能源科技(长沙)有限公司 Battery system SOH detection method, device, computer equipment and storage medium
CN110618386A (en) * 2018-06-19 2019-12-27 中兴通讯股份有限公司 Battery electric quantity proportion detection method, equipment and computer readable storage medium
KR20210067227A (en) * 2019-11-29 2021-06-08 주식회사 민테크 Apparatus and method to estimate state-of-charge for battery
CN112946496A (en) * 2019-06-24 2021-06-11 宁德时代新能源科技股份有限公司 Battery state of charge determining method, device, management system and storage medium
CN112986842A (en) * 2019-12-17 2021-06-18 比亚迪股份有限公司 Method, device and equipment for estimating state of charge of battery

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI316609B (en) * 2006-12-26 2009-11-01 Shun Hsing Wang A method of calculating remaining capacity of rechargeable battery

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009052975A (en) * 2007-08-24 2009-03-12 Panasonic Corp Circuit for calculating residual battery capacity, and battery pack using the same
CN107153165A (en) * 2017-07-11 2017-09-12 珠海市魅族科技有限公司 Battery capacity metering method and device, computer installation and storage medium
CN110618386A (en) * 2018-06-19 2019-12-27 中兴通讯股份有限公司 Battery electric quantity proportion detection method, equipment and computer readable storage medium
CN112946496A (en) * 2019-06-24 2021-06-11 宁德时代新能源科技股份有限公司 Battery state of charge determining method, device, management system and storage medium
CN110376536A (en) * 2019-08-05 2019-10-25 桑顿新能源科技(长沙)有限公司 Battery system SOH detection method, device, computer equipment and storage medium
KR20210067227A (en) * 2019-11-29 2021-06-08 주식회사 민테크 Apparatus and method to estimate state-of-charge for battery
CN112986842A (en) * 2019-12-17 2021-06-18 比亚迪股份有限公司 Method, device and equipment for estimating state of charge of battery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
锂离子电池组可用剩余容量计算方法的研究;李练兵等;电池工业;20101025;第15卷(第5期);259-262 *

Also Published As

Publication number Publication date
CN113687248A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN110967636B (en) Battery state of charge correction method, device and system and storage medium
CN111239624B (en) Battery capacity calibration method and device, electronic equipment and storage medium
CN107576915B (en) battery capacity estimation method and device
CN109991554B (en) Battery electric quantity detection method and device and terminal equipment
JP2020508442A (en) Battery state of charge estimation apparatus and method
CN112051504B (en) Battery capacity prediction method, device, terminal and computer readable storage medium
CN109991545B (en) Battery pack electric quantity detection method and device and terminal equipment
CN112216886A (en) Method and device for predicting battery charging time
US10573936B2 (en) Remaining battery life prediction device and battery pack
JPWO2016038873A1 (en) Control device, control method, and program
WO2023197939A1 (en) Ocv-soc calibration method and apparatus, ocv-soc estimation method and apparatus, and medium and vehicle
CN112698218A (en) Battery health state acquisition method and device and storage medium
CN115616421A (en) Battery state of health estimation method, system, equipment and medium
CN112946482A (en) Battery voltage estimation method, device, equipment and storage medium based on model
CN117420463B (en) Method and device for updating chemical capacity of battery, electronic equipment and storage medium
CN113687248B (en) Battery capacity determining method and device, electronic equipment and storage medium
CN113777398A (en) Electric energy meter electric quantity recording method, electric energy meter and readable storage medium
CN116670524A (en) Method and device for determining state of charge (SOC) of battery pack
CN106970328B (en) SOC estimation method and device
CN110646742A (en) Power battery SOH acquisition method, system and related assembly
CN111124811A (en) Method, system and device for acquiring SSD data retention time
CN115792665A (en) Method and device for determining residual capacity of battery, electronic equipment and storage medium
CN115139829A (en) Charging heating control method and device, electronic equipment and storage medium
CN114295954A (en) Method and device for measuring thermal resistance of diode pulse current and terminal equipment
CN115219872A (en) Thyristor voltage detection circuit and method thereof

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