CN116953517A - Battery electric quantity metering method and device and related equipment - Google Patents

Battery electric quantity metering method and device and related equipment Download PDF

Info

Publication number
CN116953517A
CN116953517A CN202210395052.8A CN202210395052A CN116953517A CN 116953517 A CN116953517 A CN 116953517A CN 202210395052 A CN202210395052 A CN 202210395052A CN 116953517 A CN116953517 A CN 116953517A
Authority
CN
China
Prior art keywords
battery
electric quantity
cell
mode
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210395052.8A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202210395052.8A priority Critical patent/CN116953517A/en
Publication of CN116953517A publication Critical patent/CN116953517A/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/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • 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/378Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] specially adapted for the type of battery or accumulator
    • 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
    • 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)

Abstract

The application discloses a battery electric quantity metering method, which comprises the steps of determining a target working mode of a battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode; if the current working mode is different from the target working mode, controlling the battery to be switched from the current working mode to the target working mode; when the target working mode is the battery cell serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained; when the target working mode is the cell parallel mode, electric quantity measurement is carried out according to a parallel mode electric quantity measurement rule, and the current battery electric quantity is obtained; by applying the technical scheme provided by the application, the electric quantity metering requirement of the hybrid battery when the hybrid battery is switched between different working modes can be effectively met. The application also discloses a device, a system and a computer readable storage medium for measuring the electric quantity of the battery, which have the beneficial effects.

Description

Battery electric quantity metering method and device and related equipment
Technical Field
The present application relates to the field of battery technologies, and in particular, to a battery power metering method, and a battery power metering device, system and computer readable storage medium.
Background
The metering display of the battery power in the terminal equipment can effectively help a user to reasonably arrange the use of the terminal equipment, and the influence of shutdown caused by no power of the lithium battery on the user experience is avoided. The lithium battery of the current terminal product is provided with a single battery cell or a plurality of battery cells, the state among the battery cells or battery cell groups cannot change after leaving the factory, namely, the logic state of the battery cells is unchanged no matter charging or discharging. However, with the rapid development of technology, a series-parallel operation mode of the lithium battery appears, that is, a cell series state mode and a cell parallel state mode are supported at the same time, so that when the cell group logic in the series-parallel battery is switched back and forth between the series mode and the parallel mode, the existing fixed-state electric quantity metering method is no longer applicable.
Therefore, how to meter the electric quantity of the series-parallel battery so as to meet the electric quantity metering requirement when the series-parallel battery is switched between different working modes is a problem to be solved by the technicians in the field.
Disclosure of Invention
The application aims to provide a battery electric quantity metering method, which can effectively meet the electric quantity metering requirement when a series-parallel battery is switched between different working modes; it is another object of the present application to provide a battery power metering device, system and computer readable storage medium, which all have the above advantages.
In a first aspect, the present application provides a method for metering battery power, comprising:
determining a target operating mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
if the current working mode is different from the target working mode, controlling the battery to be switched from the current working mode to the target working mode;
when the target working mode is the battery cell serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained;
and when the target working mode is the cell parallel mode, electric quantity measurement is carried out according to a parallel mode electric quantity measurement rule, and the current battery electric quantity is obtained.
Optionally, the performing electric quantity metering according to the serial mode electric quantity metering rule to obtain the current battery electric quantity includes:
acquiring a first cell initial voltage and a first cell current voltage;
determining the current electric quantity of the first battery cell corresponding to the current voltage of the first battery cell according to a first mapping relation;
taking the first initial voltage of the battery cell as a second initial voltage of the battery cell, and determining a second initial electric quantity of the battery cell corresponding to the second initial voltage of the battery cell according to a second mapping relation;
Counting by using a preset variable electric quantity metering algorithm to obtain a second electric core variable electric quantity;
calculating to obtain the current battery electric quantity according to the current electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the second battery cell;
the second battery cell is a battery cell serving as a battery cathode in the battery, and the first battery cell is other battery cells except the second battery cell in the battery;
the first mapping relation is a mapping relation between the first battery cell voltage and the first battery cell electric quantity;
the second mapping relation is a mapping relation between the second battery cell voltage and the second battery cell electric quantity.
Optionally, the performing electric quantity metering according to the parallel mode electric quantity metering rule to obtain the current battery electric quantity includes:
acquiring a first cell initial voltage when the first cell and the second cell are disconnected and connected in parallel;
determining a first initial electric quantity of the first battery cell corresponding to the initial voltage of the first battery cell according to a first mapping relation;
taking the first initial voltage of the battery cell as a second initial voltage of the battery cell, and determining a second initial electric quantity of the battery cell corresponding to the second initial voltage of the battery cell according to a second mapping relation;
counting by using the preset variable electric quantity metering algorithm to obtain the variable electric quantity of the battery;
And calculating according to the initial electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the battery variation electric quantity to obtain the current battery electric quantity.
Optionally, when the current operation mode is the cell series mode and the target operation mode is the cell parallel mode, before the battery is controlled to be switched from the current operation mode to the target operation mode, the method further includes:
acquiring the voltage of each electric core in the battery;
calculating a cell voltage difference value between each two connected cells according to each cell voltage;
and when the voltage difference value of the battery cells exceeds a preset threshold value, carrying out voltage balance on the connected battery cells.
Optionally, before determining the target operation mode of the battery, the method further includes:
acquiring a battery core charging cycle period of the battery;
and when the battery cell charging cycle period is zero, performing battery cell parameter calibration on the battery.
Optionally, after the electric quantity is measured according to the parallel mode electric quantity measurement rule to obtain the current electric quantity of the battery, the method further includes:
acquiring the current working state of the battery;
and when the current working state meets the cell parameter calibration condition, performing cell parameter calibration on the battery.
Optionally, the performing cell parameter calibration on the battery includes:
counting the first change electric quantity of the current battery cell when the first jump voltage changes to the second jump voltage by using the preset change electric quantity metering algorithm;
when a first target voltage is inquired and obtained in a mapping relation corresponding to the current battery cell according to the first jump voltage, and the difference value between the second changing electric quantity and the first changing electric quantity when the current battery cell is changed from the first target voltage to a second target voltage is lower than a preset difference value, the first target voltage is used as the initial voltage of the current chip;
the second target voltage is the sum of the first target voltage and a change voltage, and the change voltage is the difference value between the first jump voltage and the second jump voltage;
the mapping relation is the mapping relation between the current cell voltage and the current cell electric quantity;
the calculation process of the second variation electric quantity comprises the following steps:
determining a first electric quantity corresponding to the first target voltage and a second electric quantity corresponding to the second target voltage according to the mapping relation;
and taking the difference value of the first electric quantity and the second electric quantity as a second variable electric quantity.
In a second aspect, the present application discloses a battery power metering device comprising:
the working mode determining module is used for determining a target working mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
the working mode switching module is used for controlling the battery to be switched from the current working mode to the target working mode if the current working mode is different from the target working mode;
the serial mode electric quantity metering module is used for metering electric quantity according to a serial mode electric quantity metering rule when the target working mode is the battery cell serial mode, so as to obtain the current battery electric quantity;
and the parallel mode electric quantity metering module is used for metering electric quantity according to the parallel mode electric quantity metering rule when the target working mode is the cell parallel mode, so as to obtain the current battery electric quantity.
In a third aspect, the present application discloses a battery power metering system comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the battery metering methods described above when executing the computer program.
In a fourth aspect, the present application also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the battery metering methods described above.
The application provides a battery electric quantity metering method, which comprises the steps of determining a target working mode of a battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode; if the current working mode is different from the target working mode, controlling the battery to be switched from the current working mode to the target working mode; when the target working mode is the battery cell serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained; and when the target working mode is the cell parallel mode, electric quantity measurement is carried out according to a parallel mode electric quantity measurement rule, and the current battery electric quantity is obtained. By applying the technical scheme provided by the application, the series-parallel battery can switch the working modes according to actual requirements, including switching from the battery cell parallel mode to the battery cell serial mode and switching from the battery cell serial mode to the battery cell parallel mode, and correspondingly, presetting corresponding electric quantity metering rules for different battery working modes, namely, the battery cell serial mode corresponds to the serial mode electric quantity metering rules, and the battery cell parallel mode corresponds to the parallel mode electric quantity metering rules, so that after the working mode of the battery is switched to the target working mode, the electric quantity metering can be carried out by adopting the electric quantity metering rules corresponding to the target working mode, thereby effectively meeting the electric quantity metering requirements when the series-parallel battery is switched between different working modes.
The battery electric quantity metering device, the system and the computer readable storage medium provided by the application have the beneficial effects and are not repeated here.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the following will briefly describe the drawings that need to be used in the description of the prior art and the embodiments of the present application. Of course, the following drawings related to embodiments of the present application are only a part of embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any inventive effort, and the obtained other drawings also fall within the scope of the present application.
Fig. 1 is a schematic structural diagram of a multi-cell battery according to an embodiment of the present application;
fig. 2 is a schematic connection diagram of a plurality of battery cells according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a battery power metering method according to an embodiment of the present application;
Fig. 4 is a schematic flow chart of a method for implementing a series-mode electric quantity metering rule according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a method for implementing parallel mode electric quantity metering rule according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for measuring battery power according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a battery power metering device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a battery power metering system according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a multi-section battery cell provided in an embodiment of the present application, where the multi-section battery cell (taking two battery cells as an example) includes a multi-section battery cell management unit, battery cells (battery cell 1 and battery cell 2) and battery cell corresponding electric quantity metering units (electric quantity metering unit 1 and electric quantity metering unit 2), where the multi-section battery cell management unit receives information through a battery communication end, and performs logic combination of serial connection or parallel connection on the battery cell 1 and the battery cell 2 according to requirements, and meanwhile, voltage of the battery cell 1 and the battery cell 2 is acquired to monitor the battery cell; the electric quantity metering unit 1 is used for realizing electric quantity metering parameter collection of the electric core 1, the electric core metering unit 2 is used for realizing electric quantity metering parameter collection of the electric core 2, in a specific realization process, the electric quantity metering unit 1 collects voltage and/or current passing through a first end of the electric core 1, and the electric quantity metering unit 2 collects current passing through a negative end of a battery and performs electric quantity metering through a preset variable electric quantity metering algorithm (such as an open circuit voltage method, an ampere-hour integration method and the like).
Referring to fig. 2, fig. 2 is a schematic connection diagram of a plurality of battery cells according to an embodiment of the present application, where a plurality of battery cell management units and an electric quantity metering unit in the plurality of battery cells communicate with a charging management unit of a terminal device (such as a mobile phone, a tablet, etc.) through a communication bus. On the basis, if the battery electric quantity metering logic is integrated in the charging management unit, the charging management unit communicates with the electric quantity metering unit 1 and the electric quantity metering unit 2 through a communication bus to obtain sampling parameters; if the battery electric quantity metering logic is integrated in the multiple sections of the electric core management units, the multiple sections of the electric core management units are communicated with the electric quantity metering units 1 and 2 through the communication buses and used for acquiring sampling parameters.
Aiming at the battery equipment, the embodiment of the application provides a battery electric quantity metering method.
Referring to fig. 3, fig. 3 is a flow chart of a battery power metering method according to the present application, where the battery power metering method may include:
s101: determining a target operating mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
the step aims at determining a target working mode, wherein the target working mode refers to a currently required battery working mode and comprises a battery cell serial mode and a battery cell parallel mode, the battery cell serial mode refers to serial connection of all battery cells in a battery, and the battery cell parallel mode refers to parallel connection of all battery cells in the battery. The target working mode can be selected by a technician according to actual demands, selection information is sent to a plurality of battery cell management units in the battery equipment through a communication bus, and the battery equipment is controlled by the plurality of battery cell management units to enter the target working mode.
S102: if the current working mode is different from the target working mode, the battery is controlled to be switched from the current working mode to the target working mode;
this step aims to realize the switching of the battery operation modes. Specifically, after determining the target working mode, the current working mode of the battery can be obtained first, the current working mode and the target working mode are compared, if the current working mode and the target working mode are different, the working mode is switched, so that the battery is switched from the current working mode to the target working mode, and if the current working mode and the target working mode are the same, the working mode is not required to be switched. For example, when the target operation mode is a cell series mode and the current operation mode is a cell parallel mode, the battery needs to be switched from the cell parallel mode to the cell series mode; when the target working mode is the battery cell series mode and the current working mode is the battery cell series mode, the working mode is not required to be switched.
S103: when the target working mode is a battery core serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained;
this step aims to achieve battery power metering in the cell series mode. Specifically, a corresponding serial mode electric quantity metering rule can be designed in advance for the battery cell serial mode, so that when the battery enters the battery cell serial mode, electric quantity metering can be performed by adopting the serial mode electric quantity metering rule, and the current battery electric quantity, namely the current residual electric quantity of the battery, is obtained. The electric quantity metering rule of the serial mode is set by a technician according to actual conditions, and the electric quantity metering can be realized.
S104: and when the target working mode is a cell parallel mode, carrying out electric quantity metering according to the electric quantity metering rule of the parallel mode to obtain the current battery electric quantity.
The step aims to realize battery electric quantity metering in a parallel connection mode of the battery cells. Specifically, a corresponding parallel mode electric quantity metering rule can be designed in advance for the parallel mode of the battery cells, so that when the battery enters the parallel mode of the battery cells, the electric quantity metering rule of the parallel mode electric quantity metering rule can be adopted to meter the electric quantity of the current battery, namely the current residual electric quantity of the battery. Similarly, the parallel mode electric quantity metering rule is set by a technician according to actual conditions, and electric quantity metering can be realized, which is not limited by the application.
The series mode electric quantity metering rule and the connection mode electric quantity metering rule can be integrated in the multi-section electric core management unit or the charging management unit, and the multi-section electric core management unit or the charging management unit executes the electric quantity metering rule so as to realize electric quantity metering.
Therefore, according to the battery electric quantity metering method provided by the embodiment of the application, the series-parallel battery can switch the working modes according to actual requirements, including switching from the battery cell parallel mode to the battery cell serial mode and switching from the battery cell serial mode to the battery cell parallel mode, corresponding electric quantity metering rules are preset for different battery working modes, namely, the battery cell serial mode corresponds to the serial mode electric quantity metering rules, and the battery cell parallel mode corresponds to the parallel mode electric quantity metering rules, so that after the working mode of the battery is switched to the target working mode, electric quantity metering can be performed by adopting the electric quantity metering rules corresponding to the target working mode, and the electric quantity metering requirements of the series-parallel battery when switching among different working modes can be effectively met.
Based on the above embodiments:
as a preferred embodiment, please refer to fig. 4, fig. 4 is a flow chart of a method for implementing a series-mode electric quantity measurement rule according to an embodiment of the present application, where the method for implementing the series-mode electric quantity measurement rule may include:
s201: acquiring a first cell initial voltage and a first cell current voltage;
s202: determining the current electric quantity of the first battery cell corresponding to the current voltage of the first battery cell according to the first mapping relation;
s203: taking the first initial voltage of the battery cell as the initial voltage of the second battery cell, and determining the initial electric quantity of the second battery cell corresponding to the initial voltage of the second battery cell according to a second mapping relation;
s204: counting by using a preset variable electric quantity metering algorithm to obtain a second electric core variable electric quantity;
s205: calculating to obtain the current battery electric quantity according to the current electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the second battery cell;
the second battery cell is a battery cell serving as a battery cathode in the battery, and the first battery cell is other battery cells except the second battery cell in the battery;
the first mapping relation is a mapping relation between the first battery cell voltage and the first battery cell electric quantity;
the second mapping relation is a mapping relation between the second battery cell voltage and the second battery cell electric quantity.
The embodiment of the application provides a method for realizing a series mode electric quantity metering rule.
First, for each type of battery cell in the battery device, a mapping relationship between the battery cell voltage and the battery cell power may be created in advance, so as to implement power metering based on the mapping relationship. Specifically, for various types of battery cells in the battery equipment, the battery cells can be charged/discharged at high temperature, low temperature and normal temperature respectively, and the interrelationship of the residual electric quantity, the voltage of the battery cells and the charge and discharge times can be monitored in the charge and discharge process. Taking 3.3V as the shutdown voltage of the battery cell in the terminal product and 4.35V as the charging cut-off voltage of the battery cell as an example, sampling according to the sampling frequency which is more than 2 times of the sampling frequency of the fuel gauge, and obtaining the battery cell parameter mapping relation shown in the table 1:
table 1 mapping relationship of cell parameters
In the Nth charge and discharge period, the capacity of the electric quantity of the battery core is kept unchanged; and, the remaining capacity and the open circuit voltage may be maintained to be consistent during the charge or discharge.
The actual electric quantity of the electric core, that is, the electric core electric quantity capacity, of the electric core in the nth charging from 0% to 100% can be counted by adopting a preset variable electric quantity metering algorithm, wherein the preset variable electric quantity metering algorithm is not unique, and can be an open circuit voltage method, an ampere-hour integration method and the like. In the process of establishing the mapping relationship, the number of charging/discharging times can be determined according to industry standards or requirements, for example, the capacity of the electric core electric quantity when the nth full charge is set to be 80% of the capacity of the electric core electric quantity when the 1 st full charge is set, that is, the charging/discharging in the process of establishing the mapping relationship is not lower than N times. Further, the mapping relationship shown in table 1 in the electric quantity metering algorithm; alternatively, the mapping relationship may be optimized within the error range of the electric capacity of the battery cell according to the electric quantity measurement error requirement, and the optimized battery cell parameter mapping relationship is shown in table 2:
Table 2 optimized cell parameter mapping relationship
In the mapping relation, the electric core electric quantity capacity of the record Y is an average value of the electric core electric quantity capacities from the Nth time to the X time, wherein the change of the electric core electric quantity capacities from the Nth time to the X time is required to be met and is smaller than a first error requirement, and the average value of the electric core electric quantity capacities of the record Y and the record Y-1 is smaller than a second error requirement, so that the accuracy of the electric core parameter mapping relation is effectively ensured. The first error requirement and the second error requirement may be the same or different, and the first error requirement and the second error requirement are specifically set by a technician according to actual requirements.
It should be noted that, the above-mentioned electric core mapping relationship is applicable to both the series mode electric quantity metering rule and the parallel mode electric quantity metering rule.
Further, the electric quantity metering process of the battery equipment in the battery cell serial mode based on the battery cell mapping relation is as follows:
before the parallel mode of the battery cells is switched to the series mode of the battery cells, the first battery cell and the second battery cell are in a parallel state, so that the voltages of the first battery cell and the second battery cell are the same, wherein the second battery cell is a battery cell serving as a battery cathode (the battery cell 2 shown in fig. 1), and the first battery cell is other battery cells except the second battery cell (the battery cell 1 shown in fig. 1). In the battery device, the number of the first electric cores is not unique, the number of the second electric cores is one, and taking the example that the number of the first electric cores and the number of the second electric cores shown in fig. 1 are both one, if the types of the electric cores 1 and 2 are the same, the residual electric quantity C1 of the electric core 1 and the residual electric quantity C2 of the electric core 2 are equal; if the models of the battery cell 1 and the battery cell 2 are different, the residual electric quantity C1 of the battery cell 1 and the residual electric quantity C2 of the battery cell 2 can be determined according to the battery cell mapping hanging relation.
After the battery is switched to the cell series mode, the cells in the battery are in a series state.
When the battery starts to charge, the electric quantity measuring unit 1 monitors the initial voltage V of the battery cell 1 s1(0) Until the charging is completed, the electric quantity metering unit 1 monitors the current voltage V of the battery cell 1 s1(1) . When the charging is finished, the battery cell 1 does not supply power to the system, and the voltage at the moment is equal to the open circuit voltage of the battery cell 1, so that the electric quantity charged by the battery cell 1 can be searched through the mapping relation (namely the first battery cell mapping relation) of the battery cell 1: ΔQ C1 =f(C1(V s1(1) ))-f(C1(V s1(0) ));
Wherein f (C1 (V) s1(1) ) At the current voltage V) s1(1) Corresponding current charge, f (C1 (V s1(0) ) Is the initial voltage V s1(0) Corresponding initial power.
Meanwhile, the current charge recording state of the battery cell 1 can be recorded according to a battery cell charge cycle period recording statistical method.
Since the voltage of the battery cell 1 and the voltage of the battery cell 2 are equal when the battery cells of the battery are switched from parallel connection to series connection, namely the initial voltage V of the battery cell 2 s2(0) The initial voltage V of the battery cell 1 can be used s1(0) Indicating that the corresponding initial charge is f (C2 (V s2(0) ) Simultaneously, the electric quantity metering unit 2 starts to meter the charging of the battery cell 2, and the ampere-hour integration method is utilized to meter the charging electric quantity: ΔQ C2 charger =∫ 0 t charger i(t)·d t
Thus, the current charge of cell 2 is: f (C2 (V) s2(0) ))+ΔQ C2 charger
Meanwhile, the current charge recording state of the battery cell 2 can be recorded according to a battery cell charge cycle period recording statistical method.
Therefore, the total remaining power of the battery in the charging process, that is, the current battery power is: f (C1 (V) s1(1) ))+(f(C2(V s2(0) ))+ΔQ C2 charger )。
If the battery cell 1 is in a discharging state, referring to the charging process, the residual electric quantity of the battery cell 1 at any time can be obtained according to the electric quantity measuring unit 1 to obtain the voltage V s1(2) And obtaining corresponding residual electric quantity from the first battery cell mapping relation by combining the battery cell charging cycle period record, namely the current electric quantity f (C1 (V) s1(2) ) A) is provided; the discharge capacity of the battery cell 2 at any time period is as follows: ΔQ C2 put =∫ 0 t-put i(t)·d t The remaining power is: f (C2 (V) s2(0) ))-ΔQ C2 put . Therefore, the total remaining power of the battery in the discharging process, that is, the current battery power is: f (C1 (V) s1(2) ))+(f(C2(V s2(0) ))-ΔQ C2 charger )。
Furthermore, when the accumulated charge quantity of one cell reaches the rated capacity of the cell, the accumulated charge quantity is recorded as a cell charge cycle period, so that the cell charge cycle period completed by one charge is as follows: t is t Charging method =ΔQ C /C Rated for ,ΔQ C Accumulating the charge power for the battery cell C Rated for For rated capacity, the value can be determined according to table 1 or table 2.
Accumulating the battery core charging cycle period completed by the current charging and the battery core charging cycle period record completed by the previous charging, if the accumulated value exceeds 1, increasing the battery core charging cycle period record by 1, and updating the battery core charging cycle period record: t=t Charging method +t Recording
If t is more than or equal to 1, counting the charge cycle period of the battery cell and adding 1, namely t Recording =t-1;
If t < 1, then t Recording =t。
It should be noted that the above series-mode electric quantity measurement rule is not only applicable to series-parallel batteries, but also applicable to batteries supporting only a cell series mode.
As a preferred embodiment, please refer to fig. 5, fig. 5 is a flow chart of a parallel mode electric quantity measurement rule implementation method provided in an embodiment of the present application, where the parallel mode electric quantity measurement rule implementation method may include:
s301: acquiring a first cell initial voltage when the first cell and the second cell are disconnected and connected in parallel;
s302: determining a first initial electric quantity of the first battery cell corresponding to the initial voltage of the first battery cell according to the first mapping relation;
s303: taking the first initial voltage of the battery cell as the initial voltage of the second battery cell, and determining the initial electric quantity of the second battery cell corresponding to the initial voltage of the second battery cell according to a second mapping relation;
s304: counting by using a preset variable electric quantity metering algorithm to obtain the variable electric quantity of the battery;
s305: and calculating according to the initial electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the battery to obtain the current electric quantity of the battery.
The embodiment of the application provides a method for realizing parallel mode electric quantity metering rules.
Because the electric core 1 and the electric core 2 are in the parallel state, the voltages of the electric core 1 and the electric core 2 are equal, and the total residual capacity of the battery, namely the calculation formula of the current battery capacity is as follows:
and (3) charging: f (C1 (V) p1(0) ))+f(C2(V p1(0) ))+∫ 0 t charger i(t)·d t
The discharging process comprises the following steps: f (C1 (V) p1(0) ))+f(C2(V p1(0) ))-∫ 0 t-put i(t)·d t
Wherein the initial voltage V p1(0) The sampling is performed by the electric quantity measuring unit 1. At the beginning of metering, the cell 1 is temporarily disconnected from parallel connection with the cell 2, and at this time, the cell 1 is not charged eitherThe electric quantity measuring unit 1 collects the voltage of the battery cell 1, namely the open-circuit voltage, and the voltage is the open-circuit voltage of the battery cell 2. Further, the corresponding initial electric quantity f (C1 (V) p1(0) ) And f (C2 (V) p1(0) ))。
When charging is started, the electric quantity measuring unit 1 acquires the voltage of the electric core 1, and the charging is ended or the charging of the electric core 1 is stopped, and the electric quantity measuring unit 1 acquires the voltage V when the electric core 1 is disconnected in parallel p1(1) The mapping relation of the battery cell 1 is combined to determine the residual electric quantity f (C1 (V) p1(1) ) Therefore, the charge amount of the battery cell 1 is: ΔQ C1 =f(C1(V p1(1) ))-f(C1(V p1(0) ));
Meanwhile, the current charge recording state of the battery cell 1 can be recorded according to a battery cell charge cycle period recording statistical method.
The charge quantity of the battery cell 2 is delta Q C2=0 t charger i(t)·d t -ΔQ C1 The method comprises the steps of carrying out a first treatment on the surface of the Meanwhile, the current charge recording state of the battery cell 2 can be recorded according to a battery cell charge cycle period recording statistical method.
When discharging, the electric core 1 is disconnected in parallel with the electric core 2 temporarily, the electric quantity measuring unit 1 acquires the voltage of the electric core 1, the voltage value is the initial open-circuit voltage value of the electric core 1 and the electric core 2, and the corresponding method for calculating the residual electric quantity of the battery is only needed by referring to the discharging process.
Similar to the series-mode metering rules described above, the parallel-mode metering rules are not only applicable to series-parallel cells, but are also applicable to cells that support only the cell parallel mode.
As a preferred embodiment, when the current operation mode is the cell series mode and the target operation mode is the cell parallel mode, before the control battery is switched from the current operation mode to the target operation mode, the method may further include:
acquiring the voltage of each electric core in the battery;
calculating a cell voltage difference value between each two connected cells according to each cell voltage;
and when the voltage difference value of the battery cells exceeds a preset threshold value, carrying out voltage balance on the connected battery cells.
Specifically, when the battery is switched from the battery cell serial mode to the battery cell parallel mode, since the voltages of the battery cells in the parallel state are equal, if the voltage difference between the two connected battery cells is too large, the voltage balance between the two battery cells is needed. As shown in fig. 1, when the cells in the battery need to be switched from the series state to the parallel state, if the voltage difference between the cell 1 and the cell 2 is within a certain range, for example, less than 0.01V (preset threshold), then no voltage balance is required between the cell 1 and the cell 2; if the voltage difference between cell 1 and cell 2 exceeds a certain range, then a voltage balance between cell 1 and cell 2 is required. In the implementation process, when in series charging, the battery cells 2 need to supply power to the system circuit simultaneously in the charging process, therefore, the voltage of the battery cells 1 is not lower than the voltage of the battery cells 2, so the battery cells 1 can be discharged to the battery cells 2 for balanced charging, and it is noted that the balanced charging among the battery cells does not change the electric quantity of the whole battery. The specific value of the preset threshold is set by a technician according to the actual situation, which is not limited by the application.
As a preferred embodiment, before determining the target operation mode of the battery, the method may further include:
Acquiring a battery core charging cycle period of a battery;
and when the charging cycle period of the battery cell is zero, calibrating the battery cell parameters of the battery.
In order to ensure the accuracy of the battery electric quantity metering result, before the battery is charged and discharged for the first time and electric quantity metering is carried out, the battery can be subjected to electric core parameter calibration to obtain accurate electric core initial parameters, and the battery electric quantity metering is carried out based on the electric core initial parameters, so that the accuracy of the battery electric quantity metering result can be effectively ensured. In the specific implementation process, when the battery needs to enter a working state, the battery core charging cycle period of the battery can be acquired first, if the recorded battery core charging cycle period is zero, the current battery is not put into use, and at the moment, the battery core parameter calibration can be performed on the battery. The method for recording the battery charging cycle period may refer to the above embodiments, and the embodiments of the present application are not described herein again.
Of course, the specific implementation method of the cell parameter calibration does not affect the implementation of the technical scheme, and the implementation method is selected by a technician according to actual requirements, so that the implementation method is not limited.
As a preferred embodiment, the foregoing performing electric quantity metering according to the parallel mode electric quantity metering rule may further include, after obtaining the current battery electric quantity: acquiring the current working state of a battery; and when the current working state meets the cell parameter calibration condition, performing cell parameter calibration on the battery.
Besides the calibration of the battery cell parameters when the battery is used for the first time, the calibration of the battery cell parameters at regular/irregular time can be performed according to the service condition of the battery in the actual use process of the battery, so that the accuracy of the electric quantity metering result is further improved. In the specific implementation process, when the battery is in the parallel battery cell mode for charging/discharging and the measurement of the battery electric quantity is completed, the current working state of the battery can be further obtained, and whether the battery needs to be subjected to battery cell parameter calibration or not is determined according to the current working state. The current working state of the battery includes, but is not limited to, a battery charging cycle period, a power supply current, a power supply time and the like, and the battery parameter calibration conditions can be set by a technician according to actual requirements, for example, when the battery is in a battery parallel mode, after the battery passes through a certain number (such as 3) of battery charging cycle periods, and the system power supply current is smaller than a certain set value (such as less than 10mA in 5 hours), so that the current working state of the battery can be determined to meet the battery parameter calibration conditions, and the battery parameter calibration can be started.
As a preferred embodiment, the foregoing calibration of the cell parameters of the battery may include:
Counting the first change electric quantity of the current battery cell when the first jump voltage changes to the second jump voltage by using a preset change electric quantity metering algorithm;
when the first jump voltage is inquired in a mapping relation corresponding to the current battery cell to obtain a first target voltage, and the difference value between the second changing electric quantity and the first changing electric quantity when the current battery cell is changed from the first target voltage to the second target voltage is lower than a preset difference value, the first target voltage is used as the initial voltage of the current battery cell;
the second target voltage is the sum of the first target voltage and the change voltage, and the change voltage is the difference value between the first jump voltage and the second jump voltage;
the mapping relation is the mapping relation between the current cell voltage and the current cell electric quantity;
the calculating process of the second variation electric quantity may include: determining a first electric quantity corresponding to the first target voltage and a second electric quantity corresponding to the second target voltage according to the mapping relation; and taking the difference value of the first electric quantity and the second electric quantity as a second variation electric quantity.
It can be understood that a single fixed voltage acquisition generally cannot accurately map out the actual residual electric quantity, and therefore, the embodiment of the application provides a method for calibrating parameters of a battery cell. Because the voltage change caused by a certain stable current working process is equivalent to the change of the open-circuit voltage, the current I can jump from the cell sampling voltage to V0 (first jump voltage), the electric quantity metering unit 2 is synchronously utilized to carry out electric quantity, and the cell sampling voltage jumps to V1 (second jump voltage) to finish. In this process, the electric quantity measuring unit 2 may calculate the equation q= ≡ 0 t I(t)·d t The amount of change in the time of the voltage jump is measured. At the same time, a first target voltage Vx close to V0 or V1 is queried according to the cell mapping relation, so that the electric quantity of the change voltage DeltaV=V0-V1 changes Q Δv =Q Vx+Δv -Q Vx The difference value between the electric quantity of (Vx+Deltav is the second target voltage) and the electric quantity of Q in the formula is in the allowable error range DeltaQ, at this time, the first target voltage Vx is the accurate initial parameter of the current electric core, namely the initial voltage of the electric core, and meanwhile, the corresponding residual electric quantity of the Vx in the electric core mapping relation is the accurate initial electric quantity.
Based on the above embodiments, please refer to fig. 6, fig. 6 is a flow chart of another battery power metering method according to an embodiment of the present application, wherein the implementation flow of the battery power metering method is as follows:
firstly, because the terminal circuit system of the mobile phone and the like supports single battery voltage, the multi-battery cell defaults to a cell parallel mode, when the battery is installed at the terminal of the mobile phone and the like, the electric quantity metering algorithm starts to meter electric quantity, when the battery is used for the first time, the parameter calibration of the cell is performed once, and then the required working mode is determined and switched. Further, when the required working mode is a battery core serial mode, electric quantity measurement can be performed according to a serial mode electric quantity measurement method; when the required working mode is a cell parallel mode, the electric quantity can be measured according to a parallel mode electric quantity measuring method. When the working mode of the battery is required to be switched from the series mode to the parallel mode, the voltage balance of the battery cells can be performed first, and then the electric quantity measurement is performed. Finally, when the primary electric quantity metering is completed in the parallel mode, whether the electric core parameter calibration is triggered or not can be determined according to the working state of the battery, and the electric core parameter calibration is carried out on the battery when the electric core parameter calibration is triggered, so that more accurate electric quantity metering is realized.
Therefore, according to the battery electric quantity metering method provided by the embodiment of the application, the series-parallel battery can switch the working modes according to actual requirements, including switching from the battery cell parallel mode to the battery cell serial mode and switching from the battery cell serial mode to the battery cell parallel mode, corresponding electric quantity metering rules are preset for different battery working modes, namely, the battery cell serial mode corresponds to the serial mode electric quantity metering rules, and the battery cell parallel mode corresponds to the parallel mode electric quantity metering rules, so that after the working mode of the battery is switched to the target working mode, electric quantity metering can be performed by adopting the electric quantity metering rules corresponding to the target working mode, and the electric quantity metering requirements of the series-parallel battery when switching among different working modes can be effectively met.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a battery power metering device according to an embodiment of the application, where the battery power metering device may include:
an operation mode determining module 1 for determining a target operation mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
the working mode switching module 2 is used for controlling the battery to be switched from the current working mode to the target working mode if the current working mode is different from the target working mode;
The serial mode electric quantity metering module 3 is used for metering electric quantity according to the electric quantity metering rule of the serial mode when the target working mode is the battery core serial mode, so as to obtain the current battery electric quantity;
and the parallel mode electric quantity metering module 4 is used for metering electric quantity according to the parallel mode electric quantity metering rule when the target working mode is the cell parallel mode, so as to obtain the current battery electric quantity.
Therefore, the battery electric quantity metering device provided by the embodiment of the application can switch the working modes according to actual requirements, including switching from the battery cell parallel mode to the battery cell serial mode and switching from the battery cell serial mode to the battery cell parallel mode, and correspondingly, presetting corresponding electric quantity metering rules for different battery working modes, namely, the battery cell serial mode corresponds to the serial mode electric quantity metering rules, and the battery cell parallel mode corresponds to the parallel mode electric quantity metering rules, so that after the working mode of the battery is switched to the target working mode, electric quantity metering can be performed by adopting the electric quantity metering rules corresponding to the target working mode, thereby effectively meeting the electric quantity metering requirements when the hybrid battery is switched between different working modes.
As a preferred embodiment, the series-mode power metering module 3 may be specifically configured to obtain the first initial voltage of the battery cell and the current voltage of the battery cell; determining the current electric quantity of the first battery cell corresponding to the current voltage of the first battery cell according to the first mapping relation; taking the first initial voltage of the battery cell as the initial voltage of the second battery cell, and determining the initial electric quantity of the second battery cell corresponding to the initial voltage of the second battery cell according to a second mapping relation; counting by using a preset variable electric quantity metering algorithm to obtain a second electric core variable electric quantity; calculating to obtain the current battery electric quantity according to the current electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the second battery cell; the second battery cell is a battery cell serving as a battery cathode in the battery, and the first battery cell is other battery cells except the second battery cell in the battery; the first mapping relation is a mapping relation between the first battery cell voltage and the first battery cell electric quantity; the second mapping relation is a mapping relation between the second battery cell voltage and the second battery cell electric quantity.
As a preferred embodiment, the parallel mode power metering module 4 may be specifically configured to obtain the initial voltage of the first battery cell when the first battery cell is disconnected from the second battery cell; determining a first initial electric quantity of the first battery cell corresponding to the initial voltage of the first battery cell according to the first mapping relation; taking the first initial voltage of the battery cell as the initial voltage of the second battery cell, and determining the initial electric quantity of the second battery cell corresponding to the initial voltage of the second battery cell according to a second mapping relation; counting by using a preset variable electric quantity metering algorithm to obtain the variable electric quantity of the battery; and calculating according to the initial electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the battery to obtain the current electric quantity of the battery.
As a preferred embodiment, when the current operation mode is a cell series mode and the target operation mode is a cell parallel mode, the battery electric quantity metering device may further include a voltage balancing module, configured to obtain each cell voltage in the battery before the control battery is switched from the current operation mode to the target operation mode; calculating a cell voltage difference value between each two connected cells according to each cell voltage; and when the voltage difference value of the battery cells exceeds a preset threshold value, carrying out voltage balance on the connected battery cells.
As a preferred embodiment, the battery electric quantity metering device may further include a cell parameter calibration module, configured to obtain a cell charging cycle period of the battery before determining the target operating mode of the battery; and when the charging cycle period of the battery cell is zero, calibrating the battery cell parameters of the battery.
As a preferred embodiment, the above-mentioned cell parameter calibration module may be further configured to obtain a current working state of the battery after performing electric quantity measurement according to the parallel mode electric quantity measurement rule to obtain a current battery electric quantity; and when the current working state meets the cell parameter calibration condition, performing cell parameter calibration on the battery.
As a preferred embodiment, the above-mentioned cell parameter calibration module may be specifically configured to utilize a preset variable power metering algorithm to count a first variable power when a current cell changes from a first jump voltage to a second jump voltage; when the first jump voltage is inquired in a mapping relation corresponding to the current battery cell to obtain a first target voltage, and the difference value between the second changing electric quantity and the first changing electric quantity when the current battery cell is changed from the first target voltage to the second target voltage is lower than a preset difference value, the first target voltage is used as the initial voltage of the current battery cell; the second target voltage is the sum of the first target voltage and the change voltage, and the change voltage is the difference value between the first jump voltage and the second jump voltage; the mapping relation is the mapping relation between the current cell voltage and the current cell electric quantity; the calculation process of the second variation electric quantity comprises the following steps: determining a first electric quantity corresponding to the first target voltage and a second electric quantity corresponding to the second target voltage according to the mapping relation; and taking the difference value of the first electric quantity and the second electric quantity as a second variation electric quantity.
For the description of the device provided by the present application, please refer to the above method embodiment, and the description of the present application is omitted herein.
The embodiment of the application provides a battery electric quantity metering system.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a battery power metering system according to the present application, where the battery power metering system may include:
a memory for storing a computer program;
a processor for implementing the steps of any of the battery metering methods described above when executing a computer program.
As shown in fig. 8, which is a schematic diagram of a component structure of the battery power metering system, the battery power metering system may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 all complete communication with each other through a communication bus 13.
In an embodiment of the present application, the processor 10 may be a central processing unit (Central Processing Unit, CPU), an asic, a dsp, a field programmable gate array, or other programmable logic device, etc. The processor 10 may call a program stored in the memory 11, and in particular, the processor 10 may perform operations in an embodiment of the battery metering method.
The memory 11 is used for storing one or more programs, and the programs may include program codes including computer operation instructions, and in the embodiment of the present application, at least the programs for implementing the following functions are stored in the memory 11:
Determining a target operating mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
if the current working mode is different from the target working mode, the battery is controlled to be switched from the current working mode to the target working mode;
when the target working mode is a battery core serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained;
and when the target working mode is a cell parallel mode, carrying out electric quantity metering according to the electric quantity metering rule of the parallel mode to obtain the current battery electric quantity.
In one possible implementation, the memory 11 may include a storage program area and a storage data area, where the storage program area may store an operating system, and at least one application program required for functions, etc.; the storage data area may store data created during use.
In addition, the memory 11 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage device.
The communication interface 12 may be an interface of a communication module for interfacing with other devices or systems.
Of course, it should be noted that the structure shown in fig. 8 is not limited to the battery power metering system according to the embodiment of the present application, and the battery power metering system may include more or less components than those shown in fig. 8, or may be combined with some components in practical applications.
Embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs steps of a battery metering method as any one of the above.
The computer readable storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
For the description of the computer-readable storage medium provided in the embodiment of the present application, reference is made to the above method embodiment, and the description of the embodiment of the present application is omitted here.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The technical scheme provided by the application is described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that the present application may be modified and practiced without departing from the spirit of the present application.

Claims (10)

1. A method of battery metering, comprising:
determining a target operating mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
if the current working mode is different from the target working mode, controlling the battery to be switched from the current working mode to the target working mode;
when the target working mode is the battery cell serial mode, electric quantity measurement is carried out according to a serial mode electric quantity measurement rule, and the current battery electric quantity is obtained;
and when the target working mode is the cell parallel mode, electric quantity measurement is carried out according to a parallel mode electric quantity measurement rule, and the current battery electric quantity is obtained.
2. The method for measuring battery power according to claim 1, wherein the measuring battery power according to the series mode power measuring rule to obtain the current battery power comprises:
acquiring a first cell initial voltage and a first cell current voltage;
determining the current electric quantity of the first battery cell corresponding to the current voltage of the first battery cell according to a first mapping relation;
taking the first initial voltage of the battery cell as a second initial voltage of the battery cell, and determining a second initial electric quantity of the battery cell corresponding to the second initial voltage of the battery cell according to a second mapping relation;
counting by using a preset variable electric quantity metering algorithm to obtain a second electric core variable electric quantity;
calculating to obtain the current battery electric quantity according to the current electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the changed electric quantity of the second battery cell;
the second battery cell is a battery cell serving as a battery cathode in the battery, and the first battery cell is other battery cells except the second battery cell in the battery;
the first mapping relation is a mapping relation between the first battery cell voltage and the first battery cell electric quantity;
the second mapping relation is a mapping relation between the second battery cell voltage and the second battery cell electric quantity.
3. The method for measuring battery power according to claim 2, wherein the measuring battery power according to the parallel mode power measuring rule to obtain the current battery power comprises:
acquiring a first cell initial voltage when the first cell and the second cell are disconnected and connected in parallel;
determining a first initial electric quantity of the first battery cell corresponding to the initial voltage of the first battery cell according to a first mapping relation;
taking the first initial voltage of the battery cell as a second initial voltage of the battery cell, and determining a second initial electric quantity of the battery cell corresponding to the second initial voltage of the battery cell according to a second mapping relation;
counting by using the preset variable electric quantity metering algorithm to obtain the variable electric quantity of the battery;
and calculating according to the initial electric quantity of the first battery cell, the initial electric quantity of the second battery cell and the battery variation electric quantity to obtain the current battery electric quantity.
4. The battery charge metering method of claim 1, wherein when the current operation mode is the cell series mode and the target operation mode is the cell parallel mode, the controlling the battery before switching from the current operation mode to the target operation mode further comprises:
Acquiring the voltage of each electric core in the battery;
calculating a cell voltage difference value between each two connected cells according to each cell voltage;
and when the voltage difference value of the battery cells exceeds a preset threshold value, carrying out voltage balance on the connected battery cells.
5. The battery gauge method according to any one of claims 1 to 4, further comprising, prior to determining the target operating mode of the battery:
acquiring a battery core charging cycle period of the battery;
and when the battery cell charging cycle period is zero, performing battery cell parameter calibration on the battery.
6. The method for measuring battery power according to claim 5, wherein after the measuring power according to the parallel mode power measuring rule, further comprises:
acquiring the current working state of the battery;
and when the current working state meets the cell parameter calibration condition, performing cell parameter calibration on the battery.
7. The method of claim 6, wherein said calibrating the cell parameters of the battery comprises:
counting the first change electric quantity of the current battery cell when the first jump voltage changes to the second jump voltage by using the preset change electric quantity metering algorithm;
When a first target voltage is inquired and obtained in a mapping relation corresponding to the current battery cell according to the first jump voltage, and the difference value between the second changing electric quantity and the first changing electric quantity when the current battery cell is changed from the first target voltage to a second target voltage is lower than a preset difference value, the first target voltage is used as the initial voltage of the current chip;
the second target voltage is the sum of the first target voltage and a change voltage, and the change voltage is the difference value between the first jump voltage and the second jump voltage;
the mapping relation is the mapping relation between the current cell voltage and the current cell electric quantity;
the calculation process of the second variation electric quantity comprises the following steps:
determining a first electric quantity corresponding to the first target voltage and a second electric quantity corresponding to the second target voltage according to the mapping relation;
and taking the difference value of the first electric quantity and the second electric quantity as a second variable electric quantity.
8. A battery power metering device, comprising:
the working mode determining module is used for determining a target working mode of the battery; the battery working modes comprise a battery cell serial mode and a battery cell parallel mode;
The working mode switching module is used for controlling the battery to be switched from the current working mode to the target working mode if the current working mode is different from the target working mode;
the serial mode electric quantity metering module is used for metering electric quantity according to a serial mode electric quantity metering rule when the target working mode is the battery cell serial mode, so as to obtain the current battery electric quantity;
and the parallel mode electric quantity metering module is used for metering electric quantity according to the parallel mode electric quantity metering rule when the target working mode is the cell parallel mode, so as to obtain the current battery electric quantity.
9. A battery power metering system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the battery metering method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the battery metering method according to any of claims 1 to 7.
CN202210395052.8A 2022-04-14 2022-04-14 Battery electric quantity metering method and device and related equipment Pending CN116953517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210395052.8A CN116953517A (en) 2022-04-14 2022-04-14 Battery electric quantity metering method and device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210395052.8A CN116953517A (en) 2022-04-14 2022-04-14 Battery electric quantity metering method and device and related equipment

Publications (1)

Publication Number Publication Date
CN116953517A true CN116953517A (en) 2023-10-27

Family

ID=88455190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210395052.8A Pending CN116953517A (en) 2022-04-14 2022-04-14 Battery electric quantity metering method and device and related equipment

Country Status (1)

Country Link
CN (1) CN116953517A (en)

Similar Documents

Publication Publication Date Title
CN107991623B (en) Battery ampere-hour integral SOC estimation method considering temperature and aging degree
CN110011374B (en) Control method and system for battery charging and discharging current and terminal equipment
CN106324508B (en) Battery health state detection device and method
CN104698388B (en) The cell degradation detection method and its device of a kind of mobile terminal
CN108574317A (en) Charge-discharge controller and accumulating system
CN110221226B (en) Test method and test system for consistency of battery capacity
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
CN103884991A (en) Test method for single body cell DC internal resistance
CN109148978A (en) Capacity balancing method and system for battery pack
CN112557926B (en) Method and device for calculating residual charging time
CN110133515B (en) Method and device for determining remaining energy of battery
CN105634063A (en) Battery historical data based active equalization method
CN112557928B (en) Method and device for calculating state of charge of battery and power battery
CN110797577A (en) Lithium ion battery charging method and device and computer storage medium
CN116930794A (en) Battery capacity updating method and device, electronic equipment and storage medium
CN115902653A (en) Method and device for determining battery aging degree, storage medium and electronic equipment
CN105974328A (en) Method and apparatus for measuring actual capacity of storage battery, and drone
WO2023122961A1 (en) State calibration method and apparatus for low-voltage battery, and electric vehicle
CN115754736A (en) SOC calibration method and device for charging and discharging tail ends of energy storage system
CN112433156A (en) SOC estimation method
CN114509682B (en) Correction method of lithium battery SOC estimation algorithm and storage medium
CN116953517A (en) Battery electric quantity metering method and device and related equipment
CN114636936A (en) Correction method and device for SOC prediction curve of lead-acid battery in charging stage
CN109298350B (en) Battery consistency detection device
KR20130079751A (en) Method and system for calculating soc of battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication