CN113933717A - Method and device for acquiring electric quantity of battery, battery and electronic equipment - Google Patents
Method and device for acquiring electric quantity of battery, battery and electronic equipment Download PDFInfo
- Publication number
- CN113933717A CN113933717A CN202010674764.4A CN202010674764A CN113933717A CN 113933717 A CN113933717 A CN 113933717A CN 202010674764 A CN202010674764 A CN 202010674764A CN 113933717 A CN113933717 A CN 113933717A
- Authority
- CN
- China
- Prior art keywords
- battery
- electric quantity
- acquiring
- current
- battery cell
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005611 electricity Effects 0.000 claims abstract description 51
- 238000007599 discharging Methods 0.000 claims abstract description 30
- 230000008859 change Effects 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 20
- 239000000446 fuel Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012937 correction Methods 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/389—Measuring internal impedance, internal conductance or related variables
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
Abstract
The disclosure relates to a method and a device for acquiring electric quantity of a battery, the battery and electronic equipment. A method for acquiring the battery power comprises the following steps: when the connection states of the at least two battery cells are switched, acquiring the charge and discharge current of each battery cell in the current connection state; acquiring the electric quantity variable quantity of each battery cell according to the charging and discharging current; and acquiring the electric quantity of the battery according to the electric quantity variable quantity of each electric core. In this embodiment, the electric quantity of the battery can be obtained by using one electricity meter, which is beneficial to reducing the volume of the battery or the volume of the electronic device and reducing the cost.
Description
Technical Field
The present disclosure relates to the field of battery technologies, and in particular, to a method and an apparatus for acquiring battery power, a battery, and an electronic device.
Background
At present, along with the development of the quick charging technology, batteries of electronic equipment are more and more designed by adopting a double-battery-cell design, and the quick charging is realized by controlling the working state of the double battery cells in series connection or in parallel connection. In consideration of the working state of the double electric cores, in the related art, an electric quantity meter needs to be arranged for each electric core, and electric quantity detection and management are performed on each electric core. For example, each electricity meter detects the electricity quantity of a battery cell, and then adds the electricity quantities of the two battery cells to obtain the electricity quantity of the battery.
However, as the number of battery cells in the battery increases, the solution of providing one electricity meter for each battery cell in the related art may not only increase the volume of the battery or the volume of the electronic device, but also increase the cost of the electronic device.
Disclosure of Invention
The present disclosure provides a method and an apparatus for obtaining battery power, a battery, and an electronic device, so as to solve the deficiencies of the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for obtaining a battery capacity, where the battery includes at least two battery cells and a fuel gauge, the method is applied to the fuel gauge, and includes:
when the connection states of the at least two battery cells are switched, acquiring the charge and discharge current of each battery cell in the current connection state;
acquiring the electric quantity variable quantity of each battery cell according to the charging and discharging current;
and acquiring the electric quantity of the battery according to the electric quantity variable quantity of each electric core.
Optionally, acquiring a charge and discharge current of each battery cell in a current connection state includes:
when the connection state of the at least two battery cells is a series connection state, acquiring the current of any battery cell as the charging and discharging current of each battery cell in the current connection state; and the number of the first and second groups,
and when the connection state of the at least two battery cells is a parallel connection state, acquiring the charge and discharge current of each battery cell.
Optionally, when the connection state is a series connection state, acquiring the electric quantity of the battery according to the electric quantity variation of each electric core, including:
obtaining the product of the quantity of the electric cores and the electric quantity variation quantity, and taking the product as the electric quantity variation total quantity of at least two electric cores;
acquiring the sum of the initial electric quantity of each electric core to obtain the initial total quantity;
and acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
Optionally, when the connection state is a parallel state, acquiring the electric quantity of the battery according to the electric quantity variation of each electric core, including:
acquiring the sum of the electric quantity variation of each electric core to obtain the electric quantity variation total of the at least two electric cores;
acquiring the sum of the initial electric quantity of each electric core to obtain the initial total quantity;
and acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
Optionally, the method further comprises:
acquiring actual internal resistance and detection voltage of each battery cell;
acquiring actual voltage of each battery cell according to actual internal resistance, charging and discharging current and detection voltage of each battery cell;
and obtaining the electric quantity of the battery according to the actual voltage of each electric core based on a preset corresponding curve of the voltage and the electric quantity.
Optionally, obtaining the internal resistance of each battery cell includes:
within a preset time period when the connection state of the at least two battery cells is switched to the parallel connection state, acquiring voltage variation and predicted charging and discharging current caused before and after the connection state of each battery cell is switched; the predicted charging and discharging current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
obtaining the difference between the charge-discharge current and the predicted charge-discharge current of each battery cell to obtain the current variation;
and obtaining the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for obtaining a battery capacity, where the battery includes at least two battery cells and a fuel gauge, the apparatus is adapted to the fuel gauge and includes:
the current acquisition module is used for acquiring the charging and discharging current of each battery cell in the current connection state after the connection states of the at least two battery cells are switched;
the variable quantity acquisition module is used for acquiring the electric quantity variable quantity of each battery cell according to the charge and discharge current;
and the electric quantity acquisition module is used for acquiring the electric quantity of the battery according to the electric quantity variation of each electric core.
Optionally, the current obtaining module includes:
the series current acquisition unit is used for acquiring the current of any one battery cell as the charging and discharging current of each battery cell in the current connection state when the connection state of the at least two battery cells is the series state; and the number of the first and second groups,
and the parallel current acquisition unit is used for acquiring the charge and discharge current of each battery cell when the connection state of the at least two battery cells is the parallel state.
Optionally, when the connection state is a series connection state, the electric quantity obtaining module includes:
the electric quantity change acquiring unit is used for acquiring the product of the quantity of the electric cores and the electric quantity change quantity, and taking the product as the electric quantity change total quantity of at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
Optionally, when the connection state is a parallel state, the electric quantity obtaining module includes:
the electric quantity change obtaining unit is used for obtaining the sum of the electric quantity change quantities of all the electric cores to obtain the electric quantity change total quantity of the at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
Optionally, the apparatus further comprises:
the actual internal resistance acquisition module is used for acquiring actual internal resistance and detection voltage of each battery cell;
the battery cell voltage acquisition module is used for acquiring the actual voltage of each battery cell according to the actual internal resistance, the charging and discharging current and the detection voltage of each battery cell;
and the battery electric quantity correction module is used for obtaining the electric quantity of the battery according to the actual voltage of each electric core based on a preset corresponding curve of voltage and electric quantity.
Optionally, the actual internal resistance obtaining module includes:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charging and discharging current caused before and after the connection state of each battery cell is switched within a preset time period when the connection state of the at least two battery cells is switched into the parallel connection state; the predicted charging and discharging current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquiring unit is used for acquiring the difference between the charge-discharge current and the predicted charge-discharge current of each battery cell to obtain the current change amount;
and the actual internal resistance obtaining unit is used for obtaining the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell.
According to a third aspect of the embodiments of the present disclosure, there is provided a battery, including at least two battery cells and one electricity meter; the electricity meter includes a controller and a memory storing a computer program executable by the controller;
the controller is configured to execute a computer program in the memory to implement the steps of the method of any of the first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
the battery of the third aspect;
a processor; the processor is electrically connected with at least two battery cells in the battery respectively and is used for controlling the connection state of the at least two battery cells, and the connection comprises a series connection state or a parallel connection state.
According to a fifth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon an executable computer program which, when executed, performs the steps of the method of any one of the first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
it can be known from the foregoing embodiment that, in the embodiment of the present disclosure, by setting one electricity meter and at least two electric cores in a battery, after a connection state of the at least two electric cores is switched, the electricity meter may acquire a charge and discharge current of each electric core in a current connection state, then may acquire an electricity quantity variation of each electric core according to the charge and discharge current, and then may acquire an electricity quantity of the battery according to the electricity quantity variation of each electric core. Therefore, in the embodiment, the electric quantity of the battery can be acquired by using one electricity meter, so that the volume of the battery or the volume of the electronic equipment is reduced, and the cost is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of acquiring battery charge in accordance with an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a connection state as a series state and a parallel state according to an exemplary embodiment, in which (a) illustrates the series state and (b) an image illustrates the parallel state in fig. 2.
FIG. 3 is a flow chart illustrating correcting internal resistance according to an example embodiment.
Fig. 4 is a flow chart illustrating correcting battery charge according to an example embodiment.
Fig. 5 is a diagram illustrating a corresponding curve of preset voltage and quantity of electricity according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus for obtaining battery charge according to an exemplary embodiment
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
In the related art, a scheme of providing one electricity meter for each battery cell increases the volume of the battery or the volume of the electronic device along with the increase of the number of the battery cells in the battery, and also increases the cost of the electronic device.
In order to solve the foregoing technical problem, an embodiment of the present disclosure provides a method for obtaining an electric quantity of a battery, where the battery includes at least two electric cores and a fuel gauge, and the battery may be applied to electronic devices such as a smart phone, a tablet computer, a personal computer, a server, and the like. The method can be applied to the electricity meter, and the invention has the conception that the electricity quantity of the battery is obtained by using the charging and discharging current of each battery core through one electricity meter, so that the number of the electricity meters in the battery can be reduced, the volume of the battery is reduced, and the production cost is reduced.
Fig. 1 is a flowchart illustrating a method of acquiring battery power according to an exemplary embodiment, and referring to fig. 1, a method of acquiring battery power includes steps 11 to 13, in which:
in step 11, after the connection states of the at least two battery cells are switched, the charging and discharging current of each battery cell in the current connection state is obtained.
In this embodiment, at least two battery cells in the battery include a switching circuit, and the switching circuit may switch the connection state of the at least two battery cells to a series state or a parallel state after receiving the control signal, that is, all the battery cells are connected in series or the battery cells are connected in parallel. The control signal may be sent by an electricity meter or a processor of an electronic device provided with a battery, which is not limited herein.
It should be noted that, when a plurality of battery cells are provided, the connection state may further include a state in which the serial connection and the parallel connection are mixed, in this case, the serial connection battery cells and the parallel connection battery cells may be separately calculated, that is, the connection state may be split into the serial connection state and the parallel connection state, and for convenience of understanding, each embodiment is described in the following with the serial connection state and the parallel connection state.
In this embodiment, the electricity meter may obtain a control signal, and the control signal may be from itself, a processor, or a battery management chip, and is not limited herein. After receiving the control signal, the electricity meter determines the connection state of the battery cell.
In another embodiment, the electricity meter may not need to acquire the control signal, in this case, the electricity meter may acquire the terminal voltages of the battery cells according to a set period or in real time, and if the terminal voltages of the battery cells are equal or similar (the voltage difference is within a preset range, such as 0.5V), it indicates that the connection state of the battery cells is the parallel connection state; if the terminal voltage of one of any two adjacent battery cells is about 2 times of that of the other battery cell or has a large difference (e.g., 3-4V), the connection state of each battery cell is a series connection state.
In this embodiment, after the electricity meter determines the connection state, the charge and discharge current in the current connection state may be acquired. For example, when the connection state is the series connection state shown in fig. 2(a), the current of any one of the cells is collected as the charge and discharge current of each cell, for example, the current of the precision resistor 1 is collected as the charge and discharge current of the cell 1 and the cell 2; for another example, when the connection state is the parallel state shown in fig. 2(b), the current of each cell is collected as the respective charge/discharge current, and for example, the current of the precision resistor 1 is collected as the charge/discharge current of the cell 1, and the current of the precision resistor 2 is collected as the charge/discharge current of the cell 2.
In step 12, the electric quantity variation of each battery cell is obtained according to the charge and discharge current.
In this embodiment, the electricity meter may obtain the electricity quantity variation of each electric core according to the charge and discharge current. Taking one of the battery cells as an example, the electricity meter may integrate the charge and discharge current according to the time for obtaining the charge and discharge current this time and the time for obtaining the charge and discharge current last time, so as to obtain the electricity quantity variation of the battery cell.
In step 13, the electric quantity of the battery is obtained according to the electric quantity variation of each electric core.
In this embodiment, the electricity meter may obtain, from the memory, the electric quantity obtained by each electric core in the previous detection, which is referred to as an initial electric quantity hereinafter; then, the electricity meter can obtain the initial electric quantity and the electric quantity variable quantity of each electric core, and the actual electric quantity obtained by each electric core in the current detection process is obtained. It should be noted that, when the actual electric quantity of each electric core is obtained, if the battery is in a charging state, the actual electric quantity is equal to the sum of the initial electric quantity and the electric quantity variation; if the battery is in a discharging state, the actual electric quantity is equal to the difference between the initial electric quantity and the electric quantity variation. Wherein the charged state or the discharged state is obtained according to whether the charge and discharge current flows into or out of the battery. Then, the electricity meter can obtain the sum of the electric quantity of each electric core to obtain the electric quantity of the battery; alternatively, the electricity meter may obtain an electricity ratio between the electricity of each cell and the maximum electricity, and use an average value of the electricity ratios as the capacitance of the battery, or use the minimum electricity ratio in the cell as the electricity of the battery. Therefore, in the embodiment, the electric quantity of the battery can be acquired by using one electricity meter, so that the volume of the battery or the volume of the electronic equipment is reduced, and the cost is reduced.
Considering that the battery is charged and/or discharged, and the usage environment of the battery changes (e.g., temperature changes), the internal resistance of each cell may change dynamically, resulting in a certain error in the acquired electric quantity of the battery. The cumulative error will increase with time. Thus, in one embodiment, the fuel gauge may correct the charge of the battery. Before correcting the electric quantity, the fuel gauge may first correct the internal resistance of the battery, see fig. 3, including steps 31 to 33:
in step 31, within a preset time period (e.g., 1-50ms, which is adjustable) when the connection state of the battery cells is switched to the parallel state, the fuel gauge may obtain the charge and discharge current, the detected voltage, the initial internal resistance, the voltage variation caused before and after the connection state is switched, and the predicted charge and discharge current of each battery cell. Wherein, the voltage detection means that the voltage can be detected for the first time after the series connection state is switched to the parallel connection stateTo the voltage of the capacitor. The initial internal resistance refers to the internal resistance obtained last time. The voltage variation before and after the switching of the connection state is the difference between the last voltage U1-1 detected in the series state before the switching and the first voltage U1-2 detected in the parallel state after the switching, for example, the voltage variation of the cell 1 is U1-1-U1-2. The predicted charge and discharge current is obtained based on the detected voltage of the cell and the initial internal resistance. In step 32, the electricity meter may obtain a difference between the charge and discharge current of each battery cell and the predicted charge and discharge current, so as to obtain a current variation. For example, the predicted charge-discharge current of the battery cell 1 is I1-1The charging and discharging current is I1-2The current variation is I1-1-I1-2. In step 33, the electricity meter may obtain the actual internal resistance of each cell according to the voltage variation and the current variation of each cell. For example, the actual internal resistance R1' of the battery cell 1 is (U)1-1-U1-2)/(I1-1-I1-2)。
It should be noted that, in this embodiment, the actual internal resistance may be adjusted according to a set period (for example, a value range is between 5 and 10 minutes, and is adjustable); in a scene from standby (a cell current is about several to several tens of milliamperes) to use (a cell current is about several tens to several hundreds of milliamperes), that is, a sudden change of a cell output current is large, if a terminal voltage of a cell changes, for example, drops from 4.25V to 4V, at this time, an internal resistance of the cell needs to be corrected. The technician can set an appropriate correction time or correction scenario according to a specific scenario, and the corresponding scheme falls into the scope of the present disclosure.
In this embodiment, the electricity meter may store the acquired actual internal resistance in a designated storage area. In an example, the electricity meter is further compared with the internal resistance corrected last time, when the difference value between the actual internal resistance of this time and the internal resistance of the last time is within a preset difference value range (for example, the resistance value changes by less than 10%), the actual internal resistance of this time is determined to be an effective value, the effective value can be stored into a specified storage area, and if the difference value exceeds the difference value range, the actual internal resistance is determined to be an invalid value and is directly discarded.
After the actual internal resistance of each battery cell is obtained, the electric quantity of the battery may be corrected, referring to fig. 4, including steps 41 to 43:
in step 41, the fuel gauge may obtain the actual internal resistance and the detection voltage. It should be noted that the actual internal resistance may be a resistance obtained in the current power correction process, or may be an internal resistance obtained before (that is, may be understood as an initial internal resistance). The former is taken as an example for explanation in this embodiment. In step 42, the electricity meter may obtain an actual voltage of each cell according to an actual internal resistance, a charge-discharge current, and a detected voltage of each cell. For example, the actual voltage U1 ' of the cell 1 is U1+ I R1 ', where U1 refers to the detected voltage of the cell 1, i.e., the actually detected voltage, I refers to the charge and discharge current of the cell 1, and R1 ' refers to the actual internal resistance of the cell 1. In step 43, based on the preset corresponding curves of voltage and electric quantity shown in fig. 5, the electricity meter may obtain the electric quantity of each cell according to the actual voltage of the cell. For example, when the voltage of one cell is 3.8V, the capacity thereof may be 40% in proportion. Then, the electricity meter may determine the electricity quantity of the battery according to the electricity quantity of each battery cell. Taking the electric quantity adoption proportion as an example, in the charging process, the proportion of the battery core with the largest electric quantity proportion can be used as the electric quantity of the battery; in the discharging process, the proportion of the battery cell with the minimum proportion of the electric quantity can be used as the electric quantity of the battery.
It can be understood that, in this embodiment, by correcting the internal resistance of each battery cell, the internal resistance of the battery cell can be more matched with the connection state or the use environment, and the actual internal resistance of the battery cell can be reflected. Furthermore, the corrected internal resistor is used for correcting the electric quantity of the battery, so that the electric quantity of the battery can be more accurate, and the accumulative error can be reduced.
On the basis of the above method for acquiring battery power, an embodiment of the present disclosure further provides an apparatus for acquiring battery power, where the battery includes at least two battery cores and a power meter, and the apparatus is suitable for the power meter, and fig. 6 is a block diagram illustrating an apparatus for acquiring battery power according to an exemplary embodiment. Referring to fig. 6, an apparatus for acquiring a battery level includes:
the current obtaining module 61 is configured to obtain a charge and discharge current of each battery cell in a current connection state after the connection states of the at least two battery cells are switched;
a variation obtaining module 62, configured to obtain an electric quantity variation of each battery cell according to the charge and discharge current;
and the electric quantity obtaining module 63 is configured to obtain the electric quantity of the battery according to the electric quantity variation of each electric core.
In one embodiment, the current acquisition module comprises:
the series current acquisition unit is used for acquiring the current of any one battery cell as the charging and discharging current of each battery cell in the current connection state when the connection state of the at least two battery cells is the series state; and the number of the first and second groups,
and the parallel current acquisition unit is used for acquiring the charge and discharge current of each battery cell when the connection state of the at least two battery cells is the parallel state.
In an embodiment, when the connection state is a series connection state, the power obtaining module includes:
the electric quantity change acquiring unit is used for acquiring the product of the quantity of the electric cores and the electric quantity change quantity, and taking the product as the electric quantity change total quantity of at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
In an embodiment, when the connection state is a parallel state, the electric quantity obtaining module includes:
the electric quantity change obtaining unit is used for obtaining the sum of the electric quantity change quantities of all the electric cores to obtain the electric quantity change total quantity of the at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
In one embodiment, the apparatus further comprises:
the actual internal resistance acquisition module is used for acquiring actual internal resistance and detection voltage of each battery cell;
the battery cell voltage acquisition module is used for acquiring the actual voltage of each battery cell according to the actual internal resistance, the charging and discharging current and the detection voltage of each battery cell;
and the battery electric quantity correction module is used for obtaining the electric quantity of the battery according to the actual voltage of each electric core based on a preset corresponding curve of voltage and electric quantity.
In one embodiment, the actual internal resistance obtaining module includes:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charging and discharging current caused before and after the connection state of each battery cell is switched within a preset time period when the connection state of the at least two battery cells is switched into the parallel connection state; the predicted charging and discharging current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquiring unit is used for acquiring the difference between the charge-discharge current and the predicted charge-discharge current of each battery cell to obtain the current change amount;
and the actual internal resistance obtaining unit is used for obtaining the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell.
It can be understood that the apparatuses provided in the embodiments of the present disclosure correspond to the embodiments of the methods described above, and specific contents may refer to the contents of the embodiments of the methods, which are not described herein again.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 700 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, a communication component 716, and an image capture component 718.
The processing component 702 generally handles overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute computer programs. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include computer programs for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the electronic device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 700. The power supply 706 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn on or off the switching device, so that the battery supplies power or does not supply power to the motherboard circuit.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the target object. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor component 714 may detect an open/closed state of the electronic device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor component 714 may also detect a change in the position of the electronic device 700 or one of the components, the presence or absence of a target object in contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, a non-transitory readable storage medium is also provided, such as the memory 704 including instructions, that includes an executable computer program that is executable by the processor. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (15)
1. A method for obtaining a charge of a battery, wherein the battery comprises at least two cells and a fuel gauge, and the method is applied to the fuel gauge and comprises:
when the connection states of the at least two battery cells are switched, acquiring the charge and discharge current of each battery cell in the current connection state;
acquiring the electric quantity variable quantity of each battery cell according to the charging and discharging current;
and acquiring the electric quantity of the battery according to the electric quantity variable quantity of each electric core.
2. The method of claim 1, wherein obtaining the charge and discharge current of each cell in the current connection state comprises:
when the connection state of the at least two battery cells is a series connection state, acquiring the current of any battery cell as the charging and discharging current of each battery cell in the current connection state; and the number of the first and second groups,
and when the connection state of the at least two battery cells is a parallel connection state, acquiring the charge and discharge current of each battery cell.
3. The method of claim 2, wherein when the connection state is a series connection state, acquiring the electric quantity of the battery according to the electric quantity variation of each battery cell includes:
obtaining the product of the quantity of the electric cores and the electric quantity variation quantity, and taking the product as the electric quantity variation total quantity of at least two electric cores;
acquiring the sum of the initial electric quantity of each electric core to obtain the initial total quantity;
and acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
4. The method of claim 2, wherein when the connection state is a parallel connection state, acquiring the electric quantity of the battery according to the electric quantity variation of each battery cell includes:
acquiring the sum of the electric quantity variation of each electric core to obtain the electric quantity variation total of the at least two electric cores;
acquiring the sum of the initial electric quantity of each electric core to obtain the initial total quantity;
and acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
5. The method according to any one of claims 1 to 4, further comprising:
acquiring actual internal resistance and detection voltage of each battery cell;
acquiring actual voltage of each battery cell according to actual internal resistance, charging and discharging current and detection voltage of each battery cell;
and obtaining the electric quantity of the battery according to the actual voltage of each electric core based on a preset corresponding curve of the voltage and the electric quantity.
6. The method of claim 5, wherein obtaining the internal resistance of each cell comprises:
within a preset time period when the connection state of the at least two battery cells is switched to the parallel connection state, acquiring voltage variation and predicted charging and discharging current caused before and after the connection state of each battery cell is switched; the predicted charging and discharging current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
obtaining the difference between the charge-discharge current and the predicted charge-discharge current of each battery cell to obtain the current variation;
and obtaining the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell.
7. An apparatus for obtaining the charge of a battery, wherein the battery comprises at least two cells and a fuel gauge, the apparatus being adapted to the fuel gauge comprising:
the current acquisition module is used for acquiring the charging and discharging current of each battery cell in the current connection state after the connection states of the at least two battery cells are switched;
the variable quantity acquisition module is used for acquiring the electric quantity variable quantity of each battery cell according to the charge and discharge current;
and the electric quantity acquisition module is used for acquiring the electric quantity of the battery according to the electric quantity variation of each electric core.
8. The apparatus of claim 7, wherein the current acquisition module comprises:
the series current acquisition unit is used for acquiring the current of any one battery cell as the charging and discharging current of each battery cell in the current connection state when the connection state of the at least two battery cells is the series state; and the number of the first and second groups,
and the parallel current acquisition unit is used for acquiring the charge and discharge current of each battery cell when the connection state of the at least two battery cells is the parallel state.
9. The apparatus of claim 8, wherein when the connection status is a serial status, the power acquisition module comprises:
the electric quantity change acquiring unit is used for acquiring the product of the quantity of the electric cores and the electric quantity change quantity, and taking the product as the electric quantity change total quantity of at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
10. The apparatus of claim 9, wherein when the connection status is a parallel status, the power obtaining module comprises:
the electric quantity change obtaining unit is used for obtaining the sum of the electric quantity change quantities of all the electric cores to obtain the electric quantity change total quantity of the at least two electric cores;
the initial total quantity obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain an initial total quantity;
and the battery electric quantity obtaining unit is used for obtaining the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
11. The apparatus according to any one of claims 7 to 10, further comprising:
the actual internal resistance acquisition module is used for acquiring actual internal resistance and detection voltage of each battery cell;
the battery cell voltage acquisition module is used for acquiring the actual voltage of each battery cell according to the actual internal resistance, the charging and discharging current and the detection voltage of each battery cell;
and the battery electric quantity correction module is used for obtaining the electric quantity of the battery according to the actual voltage of each electric core based on a preset corresponding curve of voltage and electric quantity.
12. The apparatus of claim 11, wherein the actual internal resistance obtaining module comprises:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charging and discharging current caused before and after the connection state of each battery cell is switched within a preset time period when the connection state of the at least two battery cells is switched into the parallel connection state; the predicted charging and discharging current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquiring unit is used for acquiring the difference between the charge-discharge current and the predicted charge-discharge current of each battery cell to obtain the current change amount;
and the actual internal resistance obtaining unit is used for obtaining the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell.
13. A battery is characterized by comprising at least two battery cores and a fuel gauge; the electricity meter includes a controller and a memory storing a computer program executable by the controller;
the controller is configured to execute a computer program in the memory to implement the steps of the method of any of claims 1 to 6.
14. An electronic device, comprising:
the battery of claim 13;
a processor; the processor is electrically connected with at least two battery cells in the battery respectively and is used for controlling the connection state of the at least two battery cells, and the connection comprises a series connection state or a parallel connection state.
15. A readable storage medium having stored thereon an executable computer program, wherein the computer program when executed implements the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010674764.4A CN113933717A (en) | 2020-07-14 | 2020-07-14 | Method and device for acquiring electric quantity of battery, battery and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010674764.4A CN113933717A (en) | 2020-07-14 | 2020-07-14 | Method and device for acquiring electric quantity of battery, battery and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113933717A true CN113933717A (en) | 2022-01-14 |
Family
ID=79274022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010674764.4A Pending CN113933717A (en) | 2020-07-14 | 2020-07-14 | Method and device for acquiring electric quantity of battery, battery and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113933717A (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1536730A (en) * | 2003-04-04 | 2004-10-13 | 京东方科技集团股份有限公司 | Chargeable cell unit whose connection state can be controlled and assembled battery |
CN102472802A (en) * | 2010-03-26 | 2012-05-23 | 松下电器产业株式会社 | Charging state detection circuit, battery power source device, and battery information monitoring device |
WO2013031558A1 (en) * | 2011-08-30 | 2013-03-07 | 三洋電機株式会社 | Battery system, charged state estimation device, electric vehicle, movable body, power storage device, and power supply device |
CN103308865A (en) * | 2013-07-09 | 2013-09-18 | 福州瑞芯微电子有限公司 | Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN205051404U (en) * | 2015-11-03 | 2016-02-24 | 深圳市瀚路新能源汽车有限公司 | Battery charging system |
CN105372595A (en) * | 2014-09-02 | 2016-03-02 | 深圳富泰宏精密工业有限公司 | Battery capacity detection system and method |
WO2016033868A1 (en) * | 2014-09-04 | 2016-03-10 | 中兴通讯股份有限公司 | Method and apparatus for displaying electricity quantity of battery, and electronic device |
CN105548905A (en) * | 2016-01-12 | 2016-05-04 | 浙江德景电子科技有限公司 | Method and system for testing battery electricity quantity |
CN105652210A (en) * | 2016-01-04 | 2016-06-08 | 惠州市蓝微新源技术有限公司 | SOC correction method and system during changing process of battery state quantity |
CN108027396A (en) * | 2015-09-18 | 2018-05-11 | 住友电气工业株式会社 | Internal resistance computing device, computer program and internal resistance computational methods |
US20180309171A1 (en) * | 2017-04-24 | 2018-10-25 | Autel Robotics Co., Ltd. | Series-multiple battery pack management system |
CN109066865A (en) * | 2018-08-21 | 2018-12-21 | 北京小米移动软件有限公司 | The calibration method and terminal of battery capacity |
CN109901082A (en) * | 2017-12-08 | 2019-06-18 | 南京德朔实业有限公司 | Portable electric energy system and its measurement method |
CN110687458A (en) * | 2019-09-29 | 2020-01-14 | 北京四达时代软件技术股份有限公司 | Terminal battery electric quantity determination method and device |
CN110850311A (en) * | 2018-08-01 | 2020-02-28 | 西安中兴新软件有限责任公司 | Method and device for displaying electric quantity by double batteries and computer readable storage medium |
CN110994773A (en) * | 2019-10-18 | 2020-04-10 | 湖南小步科技有限公司 | UPS system and method for estimating residual electric quantity of battery pack of UPS system |
-
2020
- 2020-07-14 CN CN202010674764.4A patent/CN113933717A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1536730A (en) * | 2003-04-04 | 2004-10-13 | 京东方科技集团股份有限公司 | Chargeable cell unit whose connection state can be controlled and assembled battery |
CN102472802A (en) * | 2010-03-26 | 2012-05-23 | 松下电器产业株式会社 | Charging state detection circuit, battery power source device, and battery information monitoring device |
WO2013031558A1 (en) * | 2011-08-30 | 2013-03-07 | 三洋電機株式会社 | Battery system, charged state estimation device, electric vehicle, movable body, power storage device, and power supply device |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN103308865A (en) * | 2013-07-09 | 2013-09-18 | 福州瑞芯微电子有限公司 | Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve |
CN105372595A (en) * | 2014-09-02 | 2016-03-02 | 深圳富泰宏精密工业有限公司 | Battery capacity detection system and method |
WO2016033868A1 (en) * | 2014-09-04 | 2016-03-10 | 中兴通讯股份有限公司 | Method and apparatus for displaying electricity quantity of battery, and electronic device |
CN108027396A (en) * | 2015-09-18 | 2018-05-11 | 住友电气工业株式会社 | Internal resistance computing device, computer program and internal resistance computational methods |
CN205051404U (en) * | 2015-11-03 | 2016-02-24 | 深圳市瀚路新能源汽车有限公司 | Battery charging system |
CN105652210A (en) * | 2016-01-04 | 2016-06-08 | 惠州市蓝微新源技术有限公司 | SOC correction method and system during changing process of battery state quantity |
CN105548905A (en) * | 2016-01-12 | 2016-05-04 | 浙江德景电子科技有限公司 | Method and system for testing battery electricity quantity |
US20180309171A1 (en) * | 2017-04-24 | 2018-10-25 | Autel Robotics Co., Ltd. | Series-multiple battery pack management system |
CN109901082A (en) * | 2017-12-08 | 2019-06-18 | 南京德朔实业有限公司 | Portable electric energy system and its measurement method |
CN110850311A (en) * | 2018-08-01 | 2020-02-28 | 西安中兴新软件有限责任公司 | Method and device for displaying electric quantity by double batteries and computer readable storage medium |
CN109066865A (en) * | 2018-08-21 | 2018-12-21 | 北京小米移动软件有限公司 | The calibration method and terminal of battery capacity |
CN110687458A (en) * | 2019-09-29 | 2020-01-14 | 北京四达时代软件技术股份有限公司 | Terminal battery electric quantity determination method and device |
CN110994773A (en) * | 2019-10-18 | 2020-04-10 | 湖南小步科技有限公司 | UPS system and method for estimating residual electric quantity of battery pack of UPS system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114062957A (en) | Method and device for acquiring remaining battery capacity, electronic equipment and storage medium | |
CN114498786A (en) | Control method, control device, electronic equipment and storage medium | |
CN108539804B (en) | Battery charging control method, battery charging control device and electronic equipment | |
CN108874107B (en) | Control method and device for state of charge | |
CN113451669A (en) | Charging method and device, electronic device and storage medium | |
CN109066865B (en) | Calibration method of battery electric quantity and terminal | |
CN113285499A (en) | Charging control method, electronic device, control device, and storage medium | |
CN113036710A (en) | Method and device for acquiring battery state, battery, electronic equipment and storage medium | |
US11686776B2 (en) | Prediction method and apparatus of battery health, and storage medium | |
CN113933717A (en) | Method and device for acquiring electric quantity of battery, battery and electronic equipment | |
EP4084267A1 (en) | Method and apparatus for charging a battery and terminal | |
CN117318198A (en) | Charging and discharging method and device of terminal, readable storage medium and chip | |
CN112421702B (en) | Lithium battery charging method and device | |
CN112986879B (en) | Fuel gauge correction method and device, electronic equipment and storage medium | |
CN116859248A (en) | Battery cycle life prediction method, device and storage medium | |
CN112448039B (en) | Lithium ion battery and lithium ion battery charging and discharging control method and device | |
CN113346564A (en) | Power management chip control method and device and terminal equipment | |
CN113675902A (en) | Battery charging method, battery charging device and storage medium | |
CN112838626A (en) | Electronic device, charging method thereof and readable storage medium | |
EP3893320B1 (en) | Shutdown method, shutdown apparatus, terminal and storage medium | |
CN220754383U (en) | Electronic equipment | |
CN111864857B (en) | Battery charging method, device and medium | |
CN117368750A (en) | Method and device for monitoring battery residual capacity information, electronic equipment and storage medium | |
CN116774082A (en) | Battery health degree determining method, device and storage medium | |
CN116338475A (en) | Battery electric quantity display method, device 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 |