CN117007980A - Method and device for calibrating electric quantity of battery, computer equipment and storage medium - Google Patents

Method and device for calibrating electric quantity of battery, computer equipment and storage medium Download PDF

Info

Publication number
CN117007980A
CN117007980A CN202311201510.0A CN202311201510A CN117007980A CN 117007980 A CN117007980 A CN 117007980A CN 202311201510 A CN202311201510 A CN 202311201510A CN 117007980 A CN117007980 A CN 117007980A
Authority
CN
China
Prior art keywords
calibration
electric quantity
battery
voltage
current
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.)
Pending
Application number
CN202311201510.0A
Other languages
Chinese (zh)
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.)
Trina Energy Storage Solutions Jiangsu Co Ltd
Original Assignee
Trina Energy Storage Solutions Jiangsu 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 Trina Energy Storage Solutions Jiangsu Co Ltd filed Critical Trina Energy Storage Solutions Jiangsu Co Ltd
Priority to CN202311201510.0A priority Critical patent/CN117007980A/en
Publication of CN117007980A publication Critical patent/CN117007980A/en
Pending legal-status Critical Current

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/374Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with means for correcting the measurement for temperature or ageing
    • 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/396Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery

Landscapes

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

Abstract

The application relates to a method and a device for calibrating electric quantity of a battery, computer equipment and a storage medium. The method comprises the following steps: reading the total current and the single voltage of the battery; determining the current working state of the battery according to the total current and the single voltage; under the condition that the current working state of the battery is a static state, performing static electric quantity calibration processing on the battery; and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery. The application can improve the accuracy of electric quantity calibration.

Description

Method and device for calibrating electric quantity of battery, computer equipment and storage medium
Technical Field
The present application relates to the field of battery management, and in particular, to a method and apparatus for calibrating electric quantity of a battery, a computer device, and a storage medium.
Background
In the use process of the battery, the electric quantity of the battery may deviate or be inaccurate due to the internal resistance change, the aging of the battery, the systematic error and the like. Therefore, it is necessary to calibrate the battery to ensure that the battery charge is accurately displayed.
At present, a calibration table is built in advance to obtain calibration electric quantity in a table look-up mode, and the obtained calibration electric quantity replaces the original electric quantity. However, the specific temperature conditions of the battery, the aging degree of the battery, the standing time of the battery and the like affect the performance of the battery in the use process, and the calibration electric quantity obtained by a table look-up mode is inaccurate.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for calibrating the electric quantity of a battery, which can improve the accuracy of electric quantity calibration.
In a first aspect, the present application provides a method for calibrating the power of a battery, including:
reading the total current and the single voltage of the battery;
determining the current working state of the battery according to the total current and the single voltage;
under the condition that the current working state of the battery is a static state, performing static electric quantity calibration processing on the battery;
and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery.
In a second aspect, the present application provides a power calibration device for a battery, including:
The data reading module is used for reading the total current and the single voltage of the battery;
the state determining module is used for determining the current working state of the battery according to the total current and the single voltage;
the electric quantity calibration module is used for carrying out static electric quantity calibration processing on the battery under the condition that the current working state of the battery is a static state; and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery.
In some embodiments, the battery includes individual cells. The electric quantity calibration module is also used for calibrating each basic calibration electric quantity of the battery according to each voltage value of the battery under the condition that the current working state of the battery is a standing state, so as to obtain each voltage calibration electric quantity; each voltage value is determined according to the voltage value of the corresponding battery cell of each single battery cell; each basic calibration electric quantity is read from a preset calibration table based on each voltage value and each temperature value of the battery; each temperature value is determined according to the corresponding cell temperature value of each single cell; and calibrating the calibration electric quantity of each voltage according to each temperature value to obtain the calibration electric quantity of the battery.
In some embodiments, each temperature value has a corresponding set of base calibration power amounts; different basic calibration electric quantities in the basic calibration electric quantity group are determined by corresponding temperature values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each basic calibration electricity quantity group. The electric quantity calibration module is further used for calibrating the target basic calibration electric quantity in the basic calibration electric quantity group according to the difference value between the basic calibration electric quantities in the basic calibration electric quantity group and the voltage calibration weight corresponding to the basic calibration electric quantity group for each basic calibration electric quantity group under the condition that the current working state of the battery is a standing state, so as to obtain the voltage calibration electric quantity corresponding to the basic calibration electric quantity group; the voltage calibration weights are determined from the voltage values.
In some embodiments, the power calibration module is further configured to calibrate a target voltage calibration power in each voltage calibration power according to a difference value between the voltage calibration power and the temperature calibration weight, so as to obtain a calibration power; the temperature calibration weights are determined from the temperature values.
In some embodiments, the charge-discharge state includes a charge-discharge end state. The electric quantity calibration module is also used for determining the preset tail end calibration electric quantity under each level under the condition that the current working state of the battery is the charge and discharge tail end state; and carrying out corresponding-level smooth electric quantity calibration processing on the battery according to the end calibration electric quantity to obtain corresponding calibration electric quantity of the battery after the battery is subjected to the corresponding-level smooth electric quantity calibration processing.
In some embodiments, the tip calibration charge includes a first tip calibration charge and a second tip calibration charge. The electric quantity calibration module is further used for determining the first end calibration electric quantity as the calibration electric quantity of the battery under the first level after the first preset duration is passed under the condition that the single voltage of the battery reaches the first voltage threshold; and under the condition that the single voltage of the battery reaches a second voltage threshold, determining the second end calibration electric quantity as the calibration electric quantity of the battery at a second level after a second preset time period.
In some embodiments, the charge-discharge state includes a charge-discharge plateau state. The electric quantity calibration module is also used for calibrating each reference calibration electric quantity of the battery according to each voltage value of the battery under the condition that the current working state of the battery is in a stable state of charge and discharge, so as to obtain each voltage calibration electric quantity; each reference calibration electric quantity is read from a preset calibration table based on each voltage value, each temperature value of the battery and each current value of the battery; each current value is determined according to the corresponding cell current value of each single cell; calibrating each voltage calibration electric quantity according to each current value of the battery to obtain each current calibration electric quantity; and calibrating the calibration electric quantity of each current according to each temperature value of the battery to obtain the calibration electric quantity of the battery.
In some embodiments, each temperature value and a different current value together determine a corresponding reference calibration battery; different reference calibration electric quantities in the reference calibration electric quantity group are determined by corresponding temperature values and current values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each reference calibration electricity quantity group. The electric quantity calibration module is further used for calibrating the target reference calibration electric quantity in the reference calibration electric quantity group according to the difference value between the reference calibration electric quantities in the reference calibration electric quantity group and the voltage calibration weight corresponding to the reference calibration electric quantity group for each reference calibration electric quantity group under the condition that the current working state of the battery is in a charge-discharge stable state, so as to obtain the voltage calibration electric quantity corresponding to the reference calibration electric quantity group.
In some embodiments, each of the current calibration electrical quantities includes a current calibration electrical quantity corresponding to each of the voltage calibration electrical quantity sets; the voltage calibration electric quantity group is obtained by grouping each voltage calibration electric quantity. The electric quantity calibration module is further used for calibrating the target voltage calibration electric quantity in the voltage calibration electric quantity group according to the difference value between the voltage calibration electric quantities in the voltage calibration electric quantity group and the current calibration weight corresponding to the voltage calibration electric quantity group for each voltage calibration electric quantity group to obtain the current calibration electric quantity corresponding to the voltage calibration electric quantity group; the current calibration weights are determined from the current values.
In some embodiments, the power calibration module is further configured to calibrate a target current calibration power in each current calibration power according to a difference value between the current calibration power and the temperature calibration weight, so as to obtain the calibration power.
In a third aspect, the application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method described above.
In a fifth aspect, the application provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described above.
The method, the device, the computer equipment, the computer readable storage medium and the computer program product for calibrating the electric quantity of the battery are realized by reading the total current and the single voltage of the battery; and determining the current working state of the battery according to the total current and the single voltage so as to purposefully correct the electric quantity under different working states. Specifically, under the condition that the current working state of the battery is a static state, static electric quantity calibration processing is performed on the battery to obtain the calibrated electric quantity of the battery. And under the condition that the current working state of the battery is a charging and discharging state, carrying out dynamic electric quantity calibration processing on the battery to obtain the calibrated electric quantity of the battery. Through carrying out the electric quantity calibration of pertinence to the battery under different operating conditions, can make the calibration electric quantity more press close to actual electric quantity, improve the accuracy of electric quantity calibration.
Drawings
Fig. 1 is a flow chart of a method for calibrating electric quantity of a battery according to an embodiment of the present application;
fig. 2 is a schematic diagram of voltage and power interval distribution of a battery according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another method for calibrating the electric quantity of a battery according to an embodiment of the present application;
fig. 4 is a block diagram of a battery power calibration device according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an internal architecture of a computer device according to an embodiment of the present application;
fig. 6 is an internal structure diagram of another computer device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In some embodiments, as shown in fig. 1, a method for calibrating the electric quantity of a battery is provided, and this embodiment is applied to a computer device for illustration by using the method. It will be appreciated that the computer device may be a server or a terminal, and the method may be implemented by the server or the terminal alone or by an interaction between the server and the terminal. In this embodiment, the method includes the steps of:
S102, reading the total current and the single voltage of the battery.
The total current of the battery refers to the total current flowing in the whole battery, the total current is the sum of currents after each single cell in the battery is connected in series or in parallel, and the single voltage refers to the voltage of each single cell in the battery.
Specifically, the computer device reads the total current of the battery required to perform electric quantity calibration and the cell voltages corresponding to each cell in the battery.
S104, determining the current working state of the battery according to the total current and the single voltage.
Wherein the current state of the battery comprises at least one of a standing state or a charging and discharging state. The stationary state refers to a state in which the battery is not used or is not charged or discharged. The charge-discharge state refers to a state in which the battery is being charged or discharged.
Specifically, in the case where the total current of the battery is zero, it is indicated that the battery is currently likely to be in a stationary state, and in this case it is necessary to further determine whether the battery is in a stationary state based on the cell voltage and the stationary time of the battery. In the case that the total current of the battery is not zero, it is indicated that the battery is currently in a charge-discharge state, and in this case, it is necessary to further determine which charge-discharge state the battery is currently in according to the positive and negative conditions of the total current and the cell voltage. The standing time of the battery refers to a period of time when the battery remains standing or is idle without being used or being charged or discharged.
In some embodiments, when the total current of the battery is zero, if the cell voltage of the battery is within the preset voltage range and the rest time of the battery is greater than or equal to the rest time threshold, the current working state of the battery is indicated to be the rest state.
In some embodiments, the charge-discharge state includes at least one of a charge-discharge end state or a charge-discharge plateau state, the charge-discharge end state includes a charge end state and a discharge end state, and the charge-discharge plateau state includes a charge plateau state and a discharge plateau state. The charge-discharge end state refers to the final state of the battery in the charge-discharge process, i.e., the state reached when the battery cannot continue to supply or absorb more electric energy. The charge-discharge plateau refers to a state in which the voltage and charge of the battery remain relatively stable during charge-discharge.
In some embodiments, when the total current of the battery is greater than zero, if the lowest cell voltage of the battery is greater than the first voltage threshold, the current operating state of the battery is a discharge end state. And under the condition that the total current of the battery is greater than zero, if the single minimum voltage of the battery is less than or equal to the first voltage threshold value, the current working state of the battery is a discharging stable state. The cell minimum voltage refers to a cell voltage with the lowest voltage value corresponding to each cell of the battery, and the first voltage threshold is determined by an open circuit voltage (Open Circuit Voltage, OCV) corresponding to the battery in a discharging state.
In some embodiments, when the total current of the battery is less than zero, if the highest voltage of the battery is less than the second voltage threshold, the current operating state of the battery is indicated to be a charging steady state. And under the condition that the total current of the battery is smaller than zero, if the highest voltage of the single body of the battery is larger than or equal to the second voltage threshold value, the current working state of the battery is a charging end state. The highest voltage of the single cell refers to the single cell voltage with the highest voltage value corresponding to each single cell of the battery, and the second voltage threshold is determined by the OCV corresponding to the battery in the charging state.
And S106, under the condition that the current working state of the battery is a static state, performing static electric quantity calibration processing on the battery.
The static electricity amount calibration process refers to a process of calibrating the electricity amount of the battery based on the static characteristics of the battery.
Specifically, under the condition that the current working state of the battery is a standing state, the computer equipment calibrates the electric quantity of the battery according to the voltage value and the temperature value corresponding to each single battery core in the battery to obtain the calibrated electric quantity of the battery.
S108, under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery.
The dynamic electric quantity calibration refers to the process of calibrating the electric quantity of the battery based on the dynamic characteristics of the battery in the actual use process.
Specifically, when the current working state of the battery is a charge-discharge state, the computer device may perform multistage smooth electric quantity calibration processing on the battery directly according to the highest voltage or the lowest voltage of the battery. Or, the computer device may calibrate the electric quantity of the battery according to the voltage value, the current value and the temperature value corresponding to each single battery core in the battery, so as to obtain the calibrated electric quantity of the battery.
According to the battery electric quantity calibration method, the total current and the single voltage of the battery are read; and determining the current working state of the battery according to the total current and the single voltage so as to purposefully correct the electric quantity under different working states. Specifically, under the condition that the current working state of the battery is a static state, static electric quantity calibration processing is performed on the battery to obtain the calibrated electric quantity of the battery. And under the condition that the current working state of the battery is a charging and discharging state, carrying out dynamic electric quantity calibration processing on the battery to obtain the calibrated electric quantity of the battery. Through carrying out the electric quantity calibration of pertinence to the battery under different operating conditions, can make the calibration electric quantity more press close to actual electric quantity, improve the accuracy of electric quantity calibration.
In some embodiments, the battery includes individual cells. S106 specifically includes, but is not limited to, including: under the condition that the current working state of the battery is a standing state, calibrating each basic calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity; and calibrating the calibration electric quantity of each voltage according to each temperature value to obtain the calibration electric quantity of the battery.
The voltage values are determined according to the cell voltage values corresponding to the single cells, the basic calibration electric quantity is read from a preset calibration table based on the voltage values and the temperature values of the battery, and the temperature values are determined according to the cell temperature values corresponding to the single cells.
In some embodiments, in the case where the current is zero, the computer device may then read the cell voltage and the rest time of the battery, and determine that the battery is currently in a rest state if the rest time exceeds a rest time threshold, such as the rest time exceeds one hour, and the cell voltage is below a preset maximum voltage or the cell voltage is above a preset minimum voltage.
Specifically, under the condition that the current working state of the battery is a standing state, the computer equipment takes each voltage value of the battery as a calibration weight so as to calibrate each basic calibration electric quantity of the battery and obtain each voltage calibration electric quantity. The computer device uses each temperature value of the battery as another calibration weight to calibrate each voltage calibration electric quantity, and obtains the calibration electric quantity of the battery.
Therefore, in this embodiment, the temperature and the voltage are used as different calibration weights to calibrate the calibration electric quantity obtained by looking up the table, so that the accuracy of the calculated calibration electric quantity under different temperatures and voltages can be ensured.
In some embodiments, each temperature value has a corresponding set of base calibration power amounts; different basic calibration electric quantities in the basic calibration electric quantity group are determined by corresponding temperature values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each basic calibration electricity quantity group. The step of calibrating each basic calibration electric quantity of the battery according to each voltage value of the battery under the condition that the current working state of the battery is a standing state to obtain each voltage calibration electric quantity includes, but is not limited to: under the condition that the current working state of the battery is a standing state, aiming at each basic calibration electric quantity group, calibrating the target basic calibration electric quantity in the basic calibration electric quantity group according to the difference value between basic calibration electric quantities in the basic calibration electric quantity group and the voltage calibration weight corresponding to the basic calibration electric quantity group to obtain the voltage calibration electric quantity corresponding to the basic calibration electric quantity group.
Wherein the voltage calibration weight is determined from each voltage value. The target base calibration charge is one or more base calibration charges determined from the corresponding set of base calibration charges.
Specifically, under the condition that the current working state of the battery is a standing state, the computer equipment multiplies the difference value between the basic calibration electric quantity in the basic calibration electric quantity group and the voltage calibration weight corresponding to the basic calibration electric quantity group for each basic calibration electric quantity group to obtain a corresponding product term. And adding the target basic calibration electric quantity and the product term by the computer equipment to obtain the voltage calibration electric quantity corresponding to the basic calibration electric quantity group.
Therefore, in this embodiment, the voltage calibration weight is used to calibrate the target basic calibration electric quantity, so that the accuracy of the calculated voltage calibration electric quantity under different voltages can be ensured.
In some embodiments, each temperature value includes a first temperature value, a second temperature value, and a third temperature value, and each voltage value includes a first voltage value, a second voltage value, a third voltage value, a fourth voltage value, and a fifth voltage value. The first temperature value is a minimum temperature value corresponding to each single cell, the second temperature value is a maximum temperature value corresponding to each single cell, and the third temperature value is an average temperature value corresponding to each single cell. The first voltage value is the maximum voltage value corresponding to each single cell at the first temperature value, the second voltage value is the minimum voltage value corresponding to each single cell at the first temperature value, the third voltage value is the maximum voltage value corresponding to each single cell at the second temperature value, the fourth voltage value is the minimum voltage value corresponding to each single cell at the second temperature value, and the fifth voltage value is the average voltage value corresponding to each single cell.
In some embodiments, the first temperature value corresponds to a first set of base calibration power amounts, the first base calibration power amounts in the first set of base calibration power amounts being determined together with the first temperature value and the first voltage value, and the second base calibration power amounts in the first set of base calibration power amounts being determined together with the first temperature value and the second voltage value. The second temperature value corresponds to a second set of basic calibration electrical quantities, a third basic calibration electrical quantity in the second set of basic calibration electrical quantities being determined together with the second temperature value and a third voltage value, and a fourth basic calibration electrical quantity in the second set of basic calibration electrical quantities being determined together with the second temperature value and a fourth voltage value. The voltage calibration electric quantity corresponding to the first basic calibration electric quantity group is a first voltage calibration electric quantity, and the voltage calibration electric quantity corresponding to the second basic calibration electric quantity group is a second voltage calibration electric quantity.
In some embodiments, when the current working state of the battery is a rest state, the difference between the first basic calibration electric quantity and the second basic calibration electric quantity in the first basic calibration electric quantity group is multiplied by the voltage calibration weight corresponding to the first basic calibration electric quantity group, and then added to the second basic calibration electric quantity to obtain the first voltage calibration electric quantity. And multiplying the difference between the third basic calibration electric quantity and the fourth basic calibration electric quantity in the second basic calibration electric quantity group by the voltage calibration weight corresponding to the second basic calibration electric quantity group, and then adding the multiplied voltage calibration weight with the fourth basic calibration electric quantity to obtain the second voltage calibration electric quantity.
In practical application, each basic calibration electric quantity is obtained by inquiring the following first calibration table:
wherein T is max For a first temperature value, T min A second temperature value, T is a third temperature value, V max_1 Is of a first voltage value, V min_1 Is of a second voltage value V max_2 Is of a third voltage value, V min_2 A fourth voltage value, a fifth voltage value and an SOC 1_1 Calibrating the electric quantity and SOC for the first foundation 1_2 Calibrating the electric quantity and the SOC for the second basis 2_1 Calibrating the electric quantity and the SOC for the third foundation 2_2 Is the fourth basic calibration power. The first voltage calibration electric quantity and the second voltage calibration electric quantity can be calculated by combining the first calibration table and the following formulas (1) and (2):
wherein,is the first voltage calibration quantity,/->Is the second voltage calibration power,/>Voltage calibration weights corresponding to the first basic calibration battery set,/->And calibrating the voltage calibration weight corresponding to the electric quantity group for the second base calibration.
In some embodiments, the step of calibrating each voltage calibration power according to each temperature value to obtain the calibration power of the battery specifically includes, but is not limited to, including: and calibrating the target voltage calibration electric quantity in the voltage calibration electric quantity according to the difference value between the voltage calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity.
Wherein the temperature calibration weight is determined from each temperature value. The target voltage calibration charge is one or more voltage calibration charges determined from each voltage calibration charge.
Specifically, the computer device multiplies the difference between the voltage calibration electric quantities by the temperature calibration weight to obtain a corresponding product term. The computer device adds the target voltage calibration charge to the product term to obtain the calibration charge for the battery.
Therefore, in this embodiment, the calibration power of the target voltage is calibrated by the temperature calibration weight, so that the accuracy of the calibration power of the battery can be ensured to be calculated under different voltages and temperatures.
In practical application, the target voltage calibration electric quantity is the second voltage calibration electric quantity, and the calibration electric quantity of the battery can be obtained by combining the first calibration table and the following formula (3):
wherein SOC is OCV Is the calibrated charge of the battery,is the first voltage calibration quantity,/->Is the second voltage calibration power,/>Weights are calibrated for temperature.
It should be noted that, the above formula (1), formula (2) and formula (3) need to be calculated separately according to specific charging and discharging requirements of the battery, and the charging requirements or discharging requirements depend on whether the battery is in a charging state or a discharging state before standing, and when calibration is completed, the calibration electric quantity of the battery is output.
In some embodiments, the charge-discharge state includes a charge-discharge end state. S108 specifically includes, but is not limited to, including: under the condition that the current working state of the battery is a charge-discharge end state, determining the preset end calibration electric quantity under each level; and carrying out corresponding-level smooth electric quantity calibration processing on the battery according to the end calibration electric quantity to obtain corresponding calibration electric quantity of the battery after the battery is subjected to the corresponding-level smooth electric quantity calibration processing.
The terminal calibration electric quantity refers to the corresponding calibration electric quantity of the battery during charging and discharging of the terminal.
The smooth power calibration process refers to a capacity estimation method for calibrating a battery by performing a smoothing process on the power actually consumed or generated during the charge and discharge of the battery.
Specifically, under the condition that the current working state of the battery is a charge-discharge end state, the computer equipment determines preset end calibration electric quantity under each level, and performs corresponding-level smooth electric quantity calibration processing on the battery according to each end calibration electric quantity, for example, the electric quantity of the battery is calibrated into the end calibration electric quantity under each level in sequence, so as to obtain corresponding calibration electric quantity of the battery after each level of smooth electric quantity calibration processing.
Therefore, in this embodiment, through the multiple smooth calibration performed in the charge-discharge end state, the accuracy of the calibration electric quantity of the battery in the charge-discharge end state can be ensured, so that the experience of the user is better.
In some embodiments, the tip calibration charge includes a first tip calibration charge and a second tip calibration charge. The step of performing a corresponding level of smooth electric quantity calibration processing on the battery according to the calibration electric quantity of each end to obtain the corresponding calibration electric quantity of the battery after the calibration processing of the smooth electric quantity of each level, specifically includes, but is not limited to, the following steps: under the condition that the single voltage of the battery reaches a first voltage threshold, after a first preset time period, determining the first end calibration electric quantity as the calibration electric quantity of the battery at a first level; and under the condition that the single voltage of the battery reaches a second voltage threshold, determining the second end calibration electric quantity as the calibration electric quantity of the battery at a second level after a second preset time period.
The charging or discharging state of the battery under the second end calibration electric quantity is closer to the charging end or the discharging end than the charging or discharging state of the battery under the first end calibration electric quantity.
The first voltage threshold is determined according to a corresponding voltage value when the battery is at a charge end or a discharge end. The second voltage threshold is also determined from the corresponding voltage value at the charge end or discharge end of the battery. The charge or discharge state of the battery at the second voltage threshold is closer to the charge end or the discharge end than the charge or discharge state of the battery at the first voltage threshold.
In some embodiments, the voltage and the electric quantity relation of the battery may be measured in advance, and a voltage and electric quantity interval distribution curve may be pre-established, so that the voltage and the electric quantity respectively corresponding to the battery at the charging end or the discharging end may be calculated according to the voltage and electric quantity curve, thereby determining the first end electric quantity, the second end electric quantity, the first voltage threshold and the second voltage threshold.
In practical applications, the voltage and power interval distribution curve is shown in fig. 2, and includes a curve between the voltage and the power of the battery in a charged state, a curve between the voltage and the power of the battery in a discharged state, and each distribution area. Wherein the abscissa represents the electric quantity of the battery and the ordinate represents the voltage of the battery. It can be seen that the voltage change is more pronounced at the charge end or discharge end of the battery, and more stable at the charge or discharge end of the battery. The battery may be divided into three regions, I, II, III, respectively, for the above characteristics. From the curve, the electric quantity corresponding to each region is 0-25%, 25-95%, 95-100%, and according to the electric quantity, the appropriate first end electric quantity and the second end electric quantity, such as 2%, 0%, 98%, 100%, can be determined, and according to the voltages corresponding to the electric quantities, the appropriate first voltage threshold and the second voltage threshold, such as 2.55V, 2.5V, 3.63V, and 3.65V, can be determined.
Specifically, in the case that the cell voltage of the battery reaches the first voltage threshold, the computer device determines the first end calibration power amount as the calibration power amount of the battery at the first level after a first preset period of time. And under the condition that the single voltage of the battery reaches a second voltage threshold, after a second preset time period, the computer equipment determines the second end calibration electric quantity as the calibration electric quantity of the battery at a second level, so that the calibration electric quantity is closer to the electric quantity corresponding to the battery at the charge and discharge ends.
Therefore, in this embodiment, the electric quantity of the battery is calibrated for multiple times under each level, so that the electric quantity after multiple times of calibration better accords with the actual voltage and circuit variation trend, and the accuracy of electric quantity calibration is improved.
In some embodiments, when the current is greater than zero, it indicates that the battery is currently in a discharging state, and at this time, the cell minimum voltage and the module average voltage of the battery can be read. Assume that the first voltage threshold is 2.55V and the second voltage threshold is 2.5V. If the cell minimum voltage of the battery is <2.55V and the module average voltage of the battery is <2.7V, it indicates that the battery has been discharged to the end and is in the discharge end state, at which time two-stage smooth SOC calibration, i.e., OCV calibration and Amperes-hour (Ah) integration, may be started. Assume that the first preset duration is 3 minutes, the second preset duration is 3 seconds, the calibration power under the first level is 2%, and the calibration power under the second level is 0%. Wherein the first stage of smoothing SOC calibration comprises: when the cell minimum voltage of the battery reached 2.55V, the charge of the battery was calibrated to 2% after 3 minutes. The second stage of smooth SOC calibration includes: when the cell minimum voltage of the battery reached 2.5V, the charge of the battery was calibrated to 0% after 3 seconds. And after the calibration is completed, outputting the calibration electric quantity of the battery, and ending the flow. The average voltage of the module refers to the average voltage of each single cell in the battery.
In some embodiments, when the current is less than zero, which indicates that the battery is currently in a charged state, the highest cell voltage and the average module voltage of the battery can be read. Assume that the first voltage threshold is 3.63V and the second voltage threshold is 3.65V. If the highest cell voltage of the battery is >3.63V and the average module voltage of the battery is >3.53V, the battery is charged to the end and is in the state of charging end, and at this time, two-stage smooth SOC calibration, that is, OCV calibration and Ah integration, can be started. Assume that the first preset duration is 3 minutes, the second preset duration is 3 seconds, the calibration power under the first level is 98%, and the calibration power under the second level is 100%. Wherein the first stage of smoothing SOC calibration comprises: when the cell maximum voltage of the battery reached 3.63V, the charge of the battery was calibrated to 98% after 3 minutes. The second stage of smooth SOC calibration includes: when the cell maximum voltage of the battery reached 3.65V, the charge of the battery was calibrated to 100% after 3 seconds. And after the calibration is completed, outputting the calibration electric quantity of the battery, and ending the flow.
In some embodiments, the charge-discharge state includes a charge-discharge plateau state. S108 specifically further includes, but is not limited to, including: under the condition that the current working state of the battery is a stable charging and discharging state, calibrating each reference calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity; calibrating each voltage calibration electric quantity according to each current value of the battery to obtain each current calibration electric quantity; and calibrating the calibration electric quantity of each current according to each temperature value of the battery to obtain the calibration electric quantity of the battery.
Wherein each reference calibration electric quantity is read from a preset calibration table based on each voltage value, each temperature value of the battery and each current value of the battery; each current value is determined according to the corresponding cell current value of each single cell.
In some embodiments, when the total current of the battery is >0, it indicates that the battery is in a discharged state, at which time the cell minimum voltage and the module average voltage of the battery can be read. If the cell minimum voltage of the battery is greater than the first voltage threshold, for example, the cell minimum voltage is >2.55V, it indicates that the battery is currently in a discharge plateau state, and at this time, dynamic SOC calibration, that is, ah integration, may be started. When the current is <0, the battery is in a charged state, and the lowest cell voltage and the average module voltage of the battery can be read. If the cell maximum voltage of the battery is less than the second voltage threshold, such as the cell minimum voltage <3.63V, it indicates that the battery is currently in a state of charge plateau, and at this time, dynamic SOC calibration, i.e., ah integration, may be started.
Specifically, under the condition that the current working state of the battery is a stable state of charge and discharge, the computer equipment uses each voltage value of the battery as a calibration weight to calibrate each reference calibration electric quantity of the battery, and each voltage calibration electric quantity is obtained. The computer device uses each current value of the battery as an additional calibration weight to calibrate each voltage calibration electrical quantity to obtain each current calibration electrical quantity. The computer device uses each temperature value of the battery as another calibration weight to calibrate each current calibration electric quantity, and the calibration electric quantity of the battery is obtained.
Therefore, in this embodiment, the power consumption or the discharging condition of the battery is affected to a certain extent by considering the temperature, the current and the voltage, so when the electric quantity of the battery is calibrated, the calibration electric quantity obtained by looking up the table is calibrated by using the temperature, the current and the voltage as different calibration weights, and the accuracy of the calculated calibration electric quantity under different temperatures, currents and voltages can be ensured.
In some embodiments, each temperature value and a different current value together determine a corresponding reference calibration battery; different reference calibration electric quantities in the reference calibration electric quantity group are determined by corresponding temperature values and current values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each reference calibration electricity quantity group. The step of calibrating each reference calibration electric quantity of the battery according to each voltage value of the battery under the condition that the current working state of the battery is a stable state of charge and discharge, and obtaining each voltage calibration electric quantity specifically includes, but is not limited to, the following steps: and under the condition that the current working state of the battery is a stable charging and discharging state, calibrating the target reference calibration electric quantity in the reference calibration electric quantity group according to the difference value between the reference calibration electric quantities in the reference calibration electric quantity group and the voltage calibration weight corresponding to the reference calibration electric quantity group for each reference calibration electric quantity group to obtain the voltage calibration electric quantity corresponding to the reference calibration electric quantity group.
Wherein the target reference calibration charge is one or more reference calibration charges determined from a corresponding set of reference calibration charges.
Specifically, under the condition that the current working state of the battery is a stable charging and discharging state, the computer equipment multiplies the difference value between the reference calibration electric quantity in the reference calibration electric quantity group and the voltage calibration weight corresponding to the reference calibration electric quantity group for each reference calibration electric quantity group to obtain a corresponding product term. And the computer equipment adds the target reference calibration electric quantity and the product term to obtain the voltage calibration electric quantity corresponding to the reference calibration electric quantity group.
Therefore, in this embodiment, the voltage calibration weight is used to calibrate the target reference calibration electric quantity, so that the accuracy of the calculated voltage calibration electric quantity under different voltages can be ensured.
In some embodiments, each of the current calibration electrical quantities includes a current calibration electrical quantity corresponding to each of the voltage calibration electrical quantity sets; the voltage calibration electric quantity group is obtained by grouping each voltage calibration electric quantity. The step of calibrating each voltage calibration electric quantity according to each current value of the battery to obtain each current calibration electric quantity specifically includes, but is not limited to, the following steps: aiming at each voltage calibration electric quantity group, calibrating the target voltage calibration electric quantity in the voltage calibration electric quantity group according to the difference value between the voltage calibration electric quantities in the voltage calibration electric quantity group and the current calibration weight corresponding to the voltage calibration electric quantity group to obtain the current calibration electric quantity corresponding to the voltage calibration electric quantity group; the current calibration weights are determined from the current values.
The target voltage calibration electric quantity is one or more voltage calibration electric quantities determined from corresponding voltage calibration electric quantity groups, and the current calibration weight is determined according to each current value.
Specifically, for each voltage calibration electric quantity group, the computer equipment multiplies the difference value between the voltage calibration electric quantities in the voltage calibration electric quantity group by the current calibration weight corresponding to the voltage calibration electric quantity group to obtain a corresponding product term. And the computer equipment adds the target voltage calibration electric quantity and the product term to obtain the current calibration electric quantity corresponding to the voltage calibration electric quantity group.
Therefore, in this embodiment, the accuracy of the calculated current calibration electric quantity under different voltages and currents can be ensured by calibrating the target voltage calibration electric quantity through the current calibration weight.
In some embodiments, the step of calibrating each current calibration power according to each temperature value of the battery to obtain the calibration power of the battery specifically includes, but is not limited to, including: and calibrating the target current calibration electric quantity in the current calibration electric quantity according to the difference value between the current calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity.
Wherein the target current calibration charge is one or more current calibration charges determined from the respective current calibration charges.
Specifically, the computer device multiplies the difference between the current calibration electric quantities by the temperature calibration weight to obtain a corresponding product term. The computer device adds the target current calibration charge to the product term to obtain the calibration charge for the battery.
Therefore, in this embodiment, the target current calibration electric quantity is calibrated by the temperature calibration weight, so that the accuracy of the calculated calibration electric quantity under different voltages, currents and temperatures can be ensured.
In some embodiments, each temperature value includes a first temperature value, a second temperature value, and a third temperature value, each current value includes a first current value, a second current value, a third current value, a fourth current value, and a fifth current value, and each voltage value includes a first voltage value, a second voltage value, a third voltage value, a fourth voltage value, a fifth voltage value, a sixth voltage value, a seventh voltage value, an eighth voltage value, and a ninth voltage value.
The first temperature value is a minimum temperature value corresponding to each single cell, the second temperature value is a maximum temperature value corresponding to each single cell, and the third temperature value is an average temperature value corresponding to each single cell. The first current value is the maximum current value corresponding to each single cell at the first temperature value, the second current value is the minimum current value corresponding to each single cell at the first temperature value, the third current value is the maximum current value corresponding to each single cell at the second temperature value, the fourth current value is the minimum current value corresponding to each single cell at the second temperature value, and the fifth current value is the average current value corresponding to each single cell. The first voltage value is the maximum voltage value corresponding to each single cell at the first temperature and the first current, the second voltage value is the minimum voltage value corresponding to each single cell at the first temperature and the first current, the third voltage value is the maximum voltage value corresponding to each single cell at the first temperature and the second current, the fourth voltage value is the minimum voltage value corresponding to each single cell at the first temperature and the second current, the fifth voltage value is the maximum voltage value corresponding to each single cell at the second temperature and the third current, the sixth voltage value is the minimum voltage value corresponding to each single cell at the second temperature and the third current, the seventh voltage value is the maximum voltage value corresponding to each single cell at the second temperature and the fourth current, the eighth voltage value is the minimum voltage value corresponding to each single cell at the second temperature and the fourth current, and the ninth voltage value is the average voltage value corresponding to each single cell.
In some embodiments, the first temperature value and the first current value collectively determine a first reference calibration charge set, the first reference calibration charge in the first reference calibration current set being determined collectively by the first temperature value, the first current value, and the first voltage value, and the second reference calibration charge in the first reference calibration current set being determined collectively by the first temperature value, the first current value, and the second voltage value. The first temperature value and the second current value together determine a second set of reference calibration electrical quantities, a third reference calibration electrical quantity in the second set of reference calibration electrical quantities being determined together by the first temperature value, the second current value and the third voltage value, and a fourth reference calibration electrical quantity in the second set of reference calibration electrical quantities being determined together by the first temperature value, the second current value and the fourth voltage value. The second temperature value and the third current value together determine a third set of reference calibration electrical quantities, a fifth reference calibration electrical quantity in the third set of reference calibration electrical quantities being determined together by the second temperature value, the third current value and the fifth voltage value, and a sixth reference calibration electrical quantity in the third set of reference calibration electrical quantities being determined together by the second temperature value, the third current value and the sixth voltage value. The second temperature value and the fourth current value together determine a fourth set of reference calibration electrical quantities, a seventh reference calibration electrical quantity in the fourth set of reference calibration electrical quantities being determined together by the second temperature value, the fourth current value and the seventh voltage value, and an eighth reference calibration electrical quantity in the fourth set of reference calibration electrical quantities being determined together by the second temperature value, the fourth current value and the eighth voltage value.
In some embodiments, when the current working state of the battery is a stable state of charge and discharge, the difference between the first reference calibration electric quantity and the second reference calibration electric quantity in the first reference calibration electric quantity group is multiplied by the voltage calibration weight corresponding to the first reference calibration electric quantity group, and then added to the second reference calibration electric quantity to obtain the first voltage calibration electric quantity. And multiplying the difference between the third reference calibration electric quantity and the fourth reference calibration electric quantity in the second reference calibration electric quantity group by the voltage calibration weight corresponding to the second reference calibration electric quantity group, and then adding the multiplied voltage calibration weight to the fourth reference calibration electric quantity to obtain the second voltage calibration electric quantity. And multiplying the difference between the fifth reference calibration electric quantity and the sixth reference calibration electric quantity in the third reference calibration electric quantity group by the voltage calibration weight corresponding to the third reference calibration electric quantity group, and then adding the multiplied voltage calibration weight to the sixth reference calibration electric quantity to obtain the third voltage calibration electric quantity. And multiplying the difference value between the seventh reference calibration electric quantity and the eighth reference calibration electric quantity in the fourth reference calibration electric quantity group by the voltage calibration weight corresponding to the fourth reference calibration electric quantity group, and then adding the multiplied voltage calibration weight to the eighth reference calibration electric quantity to obtain fourth voltage calibration electric quantity. The first voltage calibration electric quantity and the second voltage calibration electric quantity are the first voltage calibration electric quantity group, and the third voltage calibration electric quantity and the fourth voltage calibration electric quantity are the second voltage calibration electric quantity group.
In some embodiments, the difference between the first voltage calibration electrical quantity and the second voltage calibration electrical quantity is multiplied by a current calibration weight corresponding to the first voltage calibration electrical quantity group, and then added to the second voltage calibration electrical quantity to obtain the first current calibration electrical quantity. And multiplying the difference between the third voltage calibration electric quantity and the fourth voltage calibration electric quantity by the current calibration weight corresponding to the fourth voltage calibration electric quantity group, and then adding the multiplied current calibration weight with the fourth voltage calibration electric quantity to obtain a second current calibration electric quantity.
In some embodiments, the difference between the first current calibration power and the second current calibration power is multiplied by a temperature calibration weight, and then added to the second current calibration power to obtain the calibration power of the battery.
In practical application, each reference calibration electric quantity is obtained by inquiring the following second calibration table:
wherein the current (I max >I>I min ) Voltage (V) max >V>V min ),T max For a first temperature value, T min A second temperature value, T is a third temperature value, I max_1 Is of a first current value, I min_1 Is of a second current value, I max_2 Is of a third current value, I min_2 The fourth current value and I the fifth current value. V (V) max_1_1 Is of a first voltage value, V min_1_1 Is of a second voltage value V max_1_2 Is of a third voltage value, V min_1_2 Is of a fourth voltage value, V max_2_1 Is of a fifth voltage value V min_2_1 Is of a sixth voltage value, V max_2_2 Is of a seventh voltage value, V min_2_2 The eighth voltage value and V the ninth voltage value. SOC (State of Charge) 1_1_1 Calibrating the charge for a first reference, SOC 1_1_2 Calibrating charge, SOC for a second reference 1_2_1 Calibrating charge, SOC for a third reference 1_2_2 Calibrating charge, SOC for fourth reference 2_1_1 Calibrating charge, SOC for a fifth reference 2_1_2 Calibrating charge, SOC for a sixth reference 2_2_1 Calibrating charge, SOC for a seventh reference 2_2_2 The charge is calibrated for the eighth reference. The first voltage calibration electricity quantity, the second voltage calibration electricity quantity, the third voltage calibration electricity quantity and the fourth voltage calibration electricity quantity can be calculated by combining the second calibration table and the following formulas (4) to (7):
wherein,calibrating the charge for the first voltage>Calibrating the charge for the second voltage>Calibrating the charge for the third voltage>The charge is calibrated for the fourth voltage. />Voltage calibration weights corresponding to the first reference calibration battery>Voltage calibration weights corresponding to the second reference calibration battery>Voltage calibration weights corresponding to the third reference calibration battery>And calibrating the weight for the voltage corresponding to the fourth reference calibration electric quantity group.
In some embodiments, the target voltage calibration power is a second voltage calibration power and a fourth voltage calibration power, and the first current calibration power and the second current calibration power may be calculated by combining the second calibration table and the following formulas (8) and (9):
Wherein,calibrating the electrical quantity for the first current,/->Calibrating the electrical quantity for the second current,/->Calibrating the corresponding current calibration weight of the battery pack for the first voltage, +.>And calibrating the current calibration weight corresponding to the electric quantity group for the second voltage.
In some embodiments, the target current calibration power is a second current calibration power, and the calibration power of the battery may be calculated according to the following formula (10) and the second calibration table described above:
wherein, the SOC is the calibration electric quantity of the battery,weights are calibrated for temperature.
It should be noted that, the formulas (4) to (10) need to calculate the calibration electric quantity of the battery in the charged state by taking the highest cell voltage from each cell of the battery according to the specific charge and discharge requirements of the battery, and calculate the calibration electric quantity of the battery in the discharged state by taking the lowest cell voltage from each cell of the battery, and output the calibration electric quantity of the battery after the calibration is completed. According to the embodiment of the application, the battery is judged to be in a static state, a charging state or a discharging state by detecting the total current of the battery, and the SOC value of the battery in different states is corrected by combining the OCV calculation value according to the collected single voltage.
In some embodiments, as shown in fig. 3, the power calibration method of the present application specifically includes: reading the total current of the battery, if the current=0, the battery is in a static state, at this time, the monomer voltage and the static time need to be read, judging whether the static time is more than 1h and whether the monomer voltage is in the interval I or III shown in fig. 2, if so, starting static state SOC correction and OCV correction to complete SOC correction. If the standing time is not more than 1h or the monomer voltage is not in the interval I or III, continuing to read the monomer voltage and the standing time. If the current is >0, the battery is in a discharging state, and the minimum voltage of the single body and the average voltage of the module are required to be read, and if the minimum voltage of the single body is >2.55V, dynamic SOC correction and Ah integration are started to complete SOC correction. If the single minimum voltage is not greater than 2.55V, a two-stage smoothing SOC correction, that is, OCV correction+Ah integration, is performed to complete the SOC correction. If the current is less than 0, the battery is in a charged state, and the highest voltage of the single battery and the average voltage of the module are required to be read, and if the highest voltage of the single battery is less than 3.62V, dynamic SOC correction and Ah integration are started to complete SOC correction. If the single highest voltage is not less than 3.62V, two-stage smoothing SOC correction, that is, OCV correction+Ah integration is performed to complete SOC correction.
It should be noted that, in the embodiment of the application, by performing SOC correction on the battery under different states, the SOC estimation value is more similar to the actual value, so that the accuracy of data estimation is enhanced. In addition, in order to ensure the calculation accuracy of the SOC under the long-period running condition, the SOC can be corrected after the battery is fully charged and discharged according to the period, so that the influence of accumulated errors on the SOC is avoided.
In some embodiments, the method for calibrating the electric quantity of the battery of the present application specifically further includes, but is not limited to, the following steps:
(1) The total current and cell voltage of the battery are read.
(2) And determining the current working state of the battery according to the total current and the single voltage.
(3) And (3) executing the step (4) and the step (5) under the condition that the current working state of the battery is a static state. And (3) executing the step (6), the step (7) and the step (8) under the condition that the current working state of the battery is the charge and discharge end state. And (3) executing the step (9), the step (10) and the step (11) under the condition that the current working state of the battery is the stable state of charge and discharge.
(4) Under the condition that the current working state of the battery is a standing state, aiming at each basic calibration electric quantity group, calibrating the target basic calibration electric quantity in the basic calibration electric quantity group according to the difference value between basic calibration electric quantities in the basic calibration electric quantity group and the voltage calibration weight corresponding to the basic calibration electric quantity group to obtain the voltage calibration electric quantity corresponding to the basic calibration electric quantity group.
(5) And calibrating the target voltage calibration electric quantity in the voltage calibration electric quantity according to the difference value between the voltage calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity.
(6) And under the condition that the current working state of the battery is a charging and discharging end state, determining the preset end calibration electric quantity under each level.
(7) And under the condition that the single voltage of the battery reaches a first voltage threshold, after a first preset time period, determining the first end calibration electric quantity as the calibration electric quantity of the battery at a first level.
(8) And under the condition that the single voltage of the battery reaches a second voltage threshold, determining the second end calibration electric quantity as the calibration electric quantity of the battery at a second level after a second preset time period.
(9) And under the condition that the current working state of the battery is a stable charging and discharging state, calibrating the target reference calibration electric quantity in the reference calibration electric quantity group according to the difference value between the reference calibration electric quantities in the reference calibration electric quantity group and the voltage calibration weight corresponding to the reference calibration electric quantity group for each reference calibration electric quantity group to obtain the voltage calibration electric quantity corresponding to the reference calibration electric quantity group.
(10) And aiming at each voltage calibration electric quantity group, calibrating the target voltage calibration electric quantity in the voltage calibration electric quantity group according to the difference value between the voltage calibration electric quantities in the voltage calibration electric quantity group and the current calibration weight corresponding to the voltage calibration electric quantity group to obtain the current calibration electric quantity corresponding to the voltage calibration electric quantity group.
(11) And calibrating the target current calibration electric quantity in the current calibration electric quantity according to the difference value between the current calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a device for calibrating the electric quantity of the battery. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device for calibrating the electric quantity of one or more batteries provided below may be referred to the limitation of the method for calibrating the electric quantity of the battery hereinabove, and will not be repeated here.
As shown in fig. 4, an embodiment of the present application provides a power calibration device for a battery, including:
a data reading module 402 for reading the total current and the cell voltage of the battery;
the state determining module 404 is configured to determine a current operating state of the battery according to the total current and the voltage of the unit cell;
the electric quantity calibration module 406 is configured to perform static electric quantity calibration processing on the battery when the current working state of the battery is a static state; and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery.
The electric quantity calibration device of the battery is used for reading the total current and the single voltage of the battery; and determining the current working state of the battery according to the total current and the single voltage so as to purposefully correct the electric quantity under different working states. Specifically, under the condition that the current working state of the battery is a static state, static electric quantity calibration processing is performed on the battery to obtain the calibrated electric quantity of the battery. And under the condition that the current working state of the battery is a charging and discharging state, carrying out dynamic electric quantity calibration processing on the battery to obtain the calibrated electric quantity of the battery. Through carrying out the electric quantity calibration of pertinence to the battery under different operating conditions, can make the calibration electric quantity more press close to actual electric quantity, improve the accuracy of electric quantity calibration.
In some embodiments, the battery includes individual cells. The electric quantity calibration module 406 is further configured to calibrate each basic calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity when the current working state of the battery is a static state; each voltage value is determined according to the voltage value of the corresponding battery cell of each single battery cell; each basic calibration electric quantity is read from a preset calibration table based on each voltage value and each temperature value of the battery; each temperature value is determined according to the corresponding cell temperature value of each single cell; and calibrating the calibration electric quantity of each voltage according to each temperature value to obtain the calibration electric quantity of the battery.
In some embodiments, each temperature value has a corresponding set of base calibration power amounts; different basic calibration electric quantities in the basic calibration electric quantity group are determined by corresponding temperature values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each basic calibration electricity quantity group. The electric quantity calibration module 406 is further configured to calibrate, for each basic calibration electric quantity group, a target basic calibration electric quantity in the basic calibration electric quantity group according to a difference value between basic calibration electric quantities in the basic calibration electric quantity group and a voltage calibration weight corresponding to the basic calibration electric quantity group when the current working state of the battery is a rest state, so as to obtain a voltage calibration electric quantity corresponding to the basic calibration electric quantity group; the voltage calibration weights are determined from the voltage values.
In some embodiments, the power calibration module 406 is further configured to calibrate the target voltage calibration power in each voltage calibration power according to the difference between the voltage calibration power and the temperature calibration weight, so as to obtain a calibration power; the temperature calibration weights are determined from the temperature values.
In some embodiments, the charge-discharge state includes a charge-discharge end state. The power calibration module 406 is further configured to determine a preset terminal calibration power under each level when the current working state of the battery is a charge-discharge terminal state; and carrying out corresponding-level smooth electric quantity calibration processing on the battery according to the end calibration electric quantity to obtain corresponding calibration electric quantity of the battery after the battery is subjected to the corresponding-level smooth electric quantity calibration processing.
In some embodiments, the tip calibration charge includes a first tip calibration charge and a second tip calibration charge. The power calibration module 406 is further configured to determine, when the cell voltage of the battery reaches the first voltage threshold, a first end calibration power as a calibration power of the battery at a first level after a first preset period of time elapses; and under the condition that the single voltage of the battery reaches a second voltage threshold, determining the second end calibration electric quantity as the calibration electric quantity of the battery at a second level after a second preset time period.
In some embodiments, the charge-discharge state includes a charge-discharge plateau state. The electric quantity calibration module 406 is further configured to calibrate each reference calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity when the current working state of the battery is a steady state of charge and discharge; each reference calibration electric quantity is read from a preset calibration table based on each voltage value, each temperature value of the battery and each current value of the battery; each current value is determined according to the corresponding cell current value of each single cell; calibrating each voltage calibration electric quantity according to each current value of the battery to obtain each current calibration electric quantity; and calibrating the calibration electric quantity of each current according to each temperature value of the battery to obtain the calibration electric quantity of the battery.
In some embodiments, each temperature value and a different current value together determine a corresponding reference calibration battery; different reference calibration electric quantities in the reference calibration electric quantity group are determined by corresponding temperature values and current values and different voltage values respectively; the voltage calibration electricity quantity comprises voltage calibration electricity quantity corresponding to each reference calibration electricity quantity group. The electric quantity calibration module 406 is further configured to calibrate, for each reference calibration electric quantity set, a target reference calibration electric quantity in the reference calibration electric quantity set according to a difference value between reference calibration electric quantities in the reference calibration electric quantity set and a voltage calibration weight corresponding to the reference calibration electric quantity set, so as to obtain a voltage calibration electric quantity corresponding to the reference calibration electric quantity set, when the current working state of the battery is in a charge-discharge steady state.
In some embodiments, each of the current calibration electrical quantities includes a current calibration electrical quantity corresponding to each of the voltage calibration electrical quantity sets; the voltage calibration electric quantity group is obtained by grouping each voltage calibration electric quantity. The power calibration module 406 is further configured to calibrate, for each voltage calibration power group, a target voltage calibration power in the voltage calibration power group according to a difference value between voltage calibration power in the voltage calibration power group and a current calibration weight corresponding to the voltage calibration power group, to obtain a current calibration power corresponding to the voltage calibration power group; the current calibration weights are determined from the current values.
In some embodiments, the power calibration module 406 is further configured to calibrate the target current calibration power in each current calibration power according to the difference between the current calibration power and the temperature calibration weight, so as to obtain the calibration power.
In some embodiments, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store data related to the calibration of the charge of the battery. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to implement the steps in the battery charge calibration method described above.
In some embodiments, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input device. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement the steps in the battery charge calibration method described above. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen; the input device of the computer equipment can be a touch layer covered on a display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 5 or 6 are merely block diagrams of portions of structures associated with aspects of the application and are not intended to limit the computer device to which aspects of the application may be applied, and that a particular computer device may include more or fewer components than those shown, or may combine certain components, or may have a different arrangement of components.
In some embodiments, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the method embodiments described above when the computer program is executed.
In some embodiments, a computer readable storage medium is provided, the computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In some embodiments, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described embodiment methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (13)

1. A method for calibrating the charge of a battery, comprising:
reading the total current and the single voltage of the battery;
determining the current working state of the battery according to the total current and the single voltage;
under the condition that the current working state of the battery is a static state, performing static electric quantity calibration processing on the battery;
and under the condition that the current working state of the battery is a charging and discharging state, carrying out dynamic electric quantity calibration processing on the battery.
2. The method of claim 1, wherein the battery comprises individual cells; and under the condition that the current working state of the battery is a static state, performing static electric quantity calibration processing on the battery, wherein the static electric quantity calibration processing comprises the following steps:
under the condition that the current working state of the battery is a standing state, calibrating each basic calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity; each voltage value is determined according to the corresponding cell voltage value of each single cell; the basic calibration electric quantity is read from a preset calibration table based on the voltage values and the temperature values of the battery; each temperature value is determined according to the corresponding cell temperature value of each single cell;
and calibrating the voltage calibration electric quantity according to the temperature values to obtain the calibration electric quantity of the battery.
3. The method of claim 2, wherein each of the temperature values has a corresponding set of base calibration charges; different basic calibration electric quantities in the basic calibration electric quantity group are determined by corresponding temperature values and different voltage values respectively; the voltage calibration electric quantity comprises voltage calibration electric quantity corresponding to each basic calibration electric quantity group respectively;
Under the condition that the current working state of the battery is a standing state, calibrating each basic calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity, wherein the method comprises the following steps:
under the condition that the current working state of the battery is a standing state, aiming at each basic calibration electric quantity group, calibrating target basic calibration electric quantity in the basic calibration electric quantity group according to the difference value between basic calibration electric quantities in the basic calibration electric quantity group and the voltage calibration weight corresponding to the basic calibration electric quantity group to obtain voltage calibration electric quantity corresponding to the basic calibration electric quantity group; the voltage calibration weights are determined according to the voltage values.
4. The method of claim 2, wherein calibrating the voltage calibration power based on the temperature values to obtain the battery calibration power comprises:
calibrating target voltage calibration electric quantity in the voltage calibration electric quantity according to the difference value between the voltage calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity; the temperature calibration weight is determined according to the temperature values.
5. The method of claim 1, wherein the charge-discharge state comprises a charge-discharge end state; and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery, wherein the dynamic electric quantity calibration processing comprises the following steps:
under the condition that the current working state of the battery is a charging and discharging terminal state, determining terminal calibration electric quantity under each preset level;
and carrying out corresponding-level smooth electric quantity calibration processing on the battery according to the end calibration electric quantity to obtain corresponding calibration electric quantity of the battery after the battery is subjected to the corresponding-level smooth electric quantity calibration processing.
6. The method of claim 5, wherein the end calibration charge comprises a first end calibration charge and a second end calibration charge; and performing corresponding-level smooth electric quantity calibration processing on the battery according to the end calibration electric quantity to obtain corresponding calibration electric quantity of the battery after the battery is subjected to the corresponding-level smooth electric quantity calibration processing, wherein the method comprises the following steps:
under the condition that the single voltage of the battery reaches a first voltage threshold, after a first preset time period, determining the first end calibration electric quantity as the calibration electric quantity of the battery at a first level;
And under the condition that the single voltage of the battery reaches a second voltage threshold, after a second preset time period, determining the second end calibration electric quantity as the calibration electric quantity of the battery at a second level.
7. The method according to any one of claims 1 to 6, wherein the charge-discharge state includes a charge-discharge plateau state; and under the condition that the current working state of the battery is a charging and discharging state, performing dynamic electric quantity calibration processing on the battery, wherein the dynamic electric quantity calibration processing comprises the following steps:
under the condition that the current working state of the battery is a stable charging and discharging state, calibrating each reference calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity; the reference calibration electric quantity is read from a preset calibration table based on the voltage values, the temperature values and the current values of the battery; the current values are determined according to the cell current values corresponding to the single cells respectively;
calibrating the voltage calibration electric quantity according to the current values of the battery to obtain the current calibration electric quantity;
and calibrating the current calibration electric quantity according to the temperature values of the battery to obtain the calibration electric quantity of the battery.
8. The method of claim 7, wherein each temperature value and a different current value together determine a corresponding reference calibration battery; different reference calibration electric quantities in the reference calibration electric quantity group are determined by corresponding temperature values and current values respectively with different voltage values; the voltage calibration electric quantity comprises voltage calibration electric quantity corresponding to each reference calibration electric quantity group respectively;
under the condition that the current working state of the battery is a stable charging and discharging state, calibrating each reference calibration electric quantity of the battery according to each voltage value of the battery to obtain each voltage calibration electric quantity, wherein the method comprises the following steps:
and under the condition that the current working state of the battery is a charge-discharge stable state, calibrating the target reference calibration electric quantity in the reference calibration electric quantity group according to the difference value between the reference calibration electric quantities in the reference calibration electric quantity group and the voltage calibration weight corresponding to the reference calibration electric quantity group for each reference calibration electric quantity group to obtain the voltage calibration electric quantity corresponding to the reference calibration electric quantity group.
9. The method of claim 7, wherein each of the current calibration electrical quantities comprises a respective corresponding current calibration electrical quantity for each voltage calibration electrical quantity set; the voltage calibration electric quantity group is obtained by grouping the voltage calibration electric quantities;
Calibrating the voltage calibration electric quantity according to the current values of the battery to obtain the current calibration electric quantity, including:
aiming at each voltage calibration electric quantity group, calibrating target voltage calibration electric quantity in the voltage calibration electric quantity group according to the difference value between the voltage calibration electric quantities in the voltage calibration electric quantity group and the current calibration weight corresponding to the voltage calibration electric quantity group to obtain the current calibration electric quantity corresponding to the voltage calibration electric quantity group; the current calibration weights are determined from the current values.
10. The method of claim 7, wherein calibrating the respective current calibration amounts according to the respective temperature values of the battery to obtain the calibration amount of the battery comprises:
and calibrating the target current calibration electric quantity in the current calibration electric quantities according to the difference value between the current calibration electric quantities and the temperature calibration weight to obtain the calibration electric quantity.
11. A power calibration device for a battery, comprising:
the data reading module is used for reading the total current and the single voltage of the battery;
the state determining module is used for determining the current working state of the battery according to the total current and the single voltage;
The electric quantity calibration module is used for carrying out static electric quantity calibration processing on the battery under the condition that the current working state of the battery is a static state; and under the condition that the current working state of the battery is a charging and discharging state, carrying out dynamic electric quantity calibration processing on the battery.
12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 10 when the computer program is executed.
13. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 10.
CN202311201510.0A 2023-09-15 2023-09-15 Method and device for calibrating electric quantity of battery, computer equipment and storage medium Pending CN117007980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311201510.0A CN117007980A (en) 2023-09-15 2023-09-15 Method and device for calibrating electric quantity of battery, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311201510.0A CN117007980A (en) 2023-09-15 2023-09-15 Method and device for calibrating electric quantity of battery, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117007980A true CN117007980A (en) 2023-11-07

Family

ID=88576397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311201510.0A Pending CN117007980A (en) 2023-09-15 2023-09-15 Method and device for calibrating electric quantity of battery, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117007980A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117406114A (en) * 2023-12-14 2024-01-16 深圳智慧动锂电子股份有限公司 SOC calibration method and system based on small current

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117406114A (en) * 2023-12-14 2024-01-16 深圳智慧动锂电子股份有限公司 SOC calibration method and system based on small current

Similar Documents

Publication Publication Date Title
CN103250066B (en) The system and method for sensing battery capacity
CN110146816B (en) Method, device and equipment for determining remaining charging time of battery and storage medium
CN102119338B (en) Apparatus and method for estimating state of health of battery based on battery voltage variation pattern
US20100085009A1 (en) Cell balancing apparatus and method
US9041405B2 (en) Condition estimation device and method of generating open circuit voltage characteristic
Chen et al. Modeling of lithium-ion battery for energy storage system simulation
CN111812531A (en) Battery state detection method, device and storage medium
CN109856542B (en) Calibration method of lithium battery SOC-OCV curve cluster, SOC correction method and device
TW201007191A (en) Apparatus and method for estimating resistance characteristics of battery based on open circuit voltage estimated by battery voltage variation
CN117007980A (en) Method and device for calibrating electric quantity of battery, computer equipment and storage medium
CN104880673A (en) Method for measuring battery electric quantity and mobile terminal
CN110456273A (en) A kind of battery SOC evaluation method, estimating system, electrokinetic cell system
CN113359044A (en) Method, device and equipment for measuring residual capacity of battery
CN115902628A (en) Method, device and equipment for calculating internal resistance of battery and storage medium
CN113009360A (en) Lithium battery SOC-OCV testing method and device and terminal equipment
WO2024120502A1 (en) Method and device for testing state of health of battery, and storage medium
CN112213649B (en) Method and system for constructing open-circuit voltage curve
CN116299006A (en) Method, device, equipment and storage medium for predicting health condition of battery pack
CN116430242A (en) Method and device for estimating capacity of battery cell, server and storage medium
CN113748438B (en) Electric quantity prediction method and equipment
CN115808636A (en) Battery capacity loss test method and device, computer equipment and storage medium
CN117092524B (en) Capacity calibration method, terminal equipment and readable storage medium
CN117648899B (en) Battery modeling method, device, electronic equipment and storage medium
CN117761554A (en) Method and device for determining charge state of battery pack and computer equipment
CN116759004B (en) Model correction method, device, computer equipment and storage medium

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