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

CN113933717B - Method and device for obtaining electric quantity of battery, battery and electronic equipment - Google Patents

Method and device for obtaining electric quantity of battery, battery and electronic equipment Download PDF

Info

Publication number
CN113933717B
CN113933717B CN202010674764.4A CN202010674764A CN113933717B CN 113933717 B CN113933717 B CN 113933717B CN 202010674764 A CN202010674764 A CN 202010674764A CN 113933717 B CN113933717 B CN 113933717B
Authority
CN
China
Prior art keywords
battery
electric
electric quantity
acquiring
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010674764.4A
Other languages
Chinese (zh)
Other versions
CN113933717A (en
Inventor
高锃
曾耀亿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010674764.4A priority Critical patent/CN113933717B/en
Publication of CN113933717A publication Critical patent/CN113933717A/en
Application granted granted Critical
Publication of CN113933717B publication Critical patent/CN113933717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/389Measuring internal impedance, internal conductance or related variables

Landscapes

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

Abstract

The disclosure relates to a method and a device for acquiring battery power, a battery and electronic equipment. A method of obtaining battery power comprising: after the connection state of the at least two electric cores is switched, acquiring charge and discharge currents of each electric core in the current connection state; acquiring the electric quantity variation of each battery cell according to the charge and discharge current; and acquiring the electric quantity of the battery according to the electric quantity variation of each electric core. In the embodiment, the electric quantity of the battery can be obtained by adopting one electric quantity meter, which is beneficial to reducing the volume of the battery or the volume of the electronic equipment and reducing the cost.

Description

Method and device for obtaining electric quantity of battery, battery and electronic equipment
Technical Field
The disclosure relates to the technical field of batteries, and in particular relates to a method and device for obtaining electric quantity of a battery, the battery and electronic equipment.
Background
At present, with the development of fast charging technology, batteries of electronic devices increasingly adopt a dual-battery-core design, and the fast charging is realized by controlling the working states of the dual-battery-core in series or in parallel. Considering the working state of the double battery cells, in the related technology, an electricity meter needs to be arranged for each battery cell, and the electric quantity detection and management are carried out on each battery cell. For example, each electricity meter detects the electric quantity of the electric core, and then the electric quantity of the two electric cores is added to obtain the electric quantity of the battery.
However, as the number of battery cells increases, the related art scheme of providing one electricity meter for each battery cell increases not only the volume of the battery or the volume of the electronic device, but also the cost of the electronic device.
Disclosure of Invention
The disclosure provides a method and a device for acquiring battery power, a battery and electronic equipment, so as to solve the defects of the related technology.
According to a first aspect of embodiments of the present disclosure, there is provided a method of obtaining a battery charge, the battery including at least two cells and one fuel gauge, the method being adapted for use with the fuel gauge, comprising:
After the connection state of the at least two electric cores is switched, acquiring charge and discharge currents of each electric core in the current connection state;
acquiring the electric quantity variation of each battery cell according to the charge and discharge current;
and acquiring the electric quantity of the battery according to the electric quantity variation of each electric core.
Optionally, obtaining the charge and discharge current of each cell in the current connection state includes:
When the connection state of the at least two electric cores is a serial state, acquiring the current of any electric core as the charge and discharge current of each electric core in the current connection state; and
And when the connection state of the at least two electric cores is a parallel state, acquiring the charge and discharge current of each electric core.
Optionally, when the connection state is a serial state, acquiring the electric quantity of the battery according to the electric quantity variation of each electric core includes:
Obtaining the product of the quantity of the electric cores and the electric quantity variation, and taking the product as the electric quantity variation total quantity of at least two electric cores;
obtaining the sum of initial electric quantity of each electric core to obtain 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 includes:
Obtaining the sum of the electric quantity variation of each electric core to obtain the total electric quantity variation of at least two electric cores;
obtaining the sum of initial electric quantity of each electric core to obtain 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 the actual internal resistance and detection voltage of each battery cell;
Acquiring the actual voltage of each cell according to the actual internal resistance, the charge-discharge current and the detection voltage of each cell;
And obtaining the electric quantity of the battery according to the actual voltage of each battery core based on a preset corresponding curve of the voltage and the electric quantity.
Optionally, obtaining the internal resistance of each cell includes:
Acquiring voltage variation and predicted charge and discharge current caused by the connection state of each battery core before and after switching in a preset time period when the connection state of at least two battery cores is switched to a parallel state; the predicted charge-discharge current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
Obtaining the difference between the charge and discharge current of each cell and the predicted charge and discharge current to obtain the current variation;
And obtaining the actual internal resistance of each cell according to the voltage variation and the current variation of each cell.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for obtaining the charge of a battery, the battery comprising at least two cells and a fuel gauge, the apparatus being adapted for use with the fuel gauge comprising:
The current acquisition module is used for acquiring charge and discharge currents of each battery cell in the current connection state after the connection state of the at least two battery cells is switched;
The variation acquisition module is used for acquiring the electric quantity variation 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 battery cell.
Optionally, the current acquisition module includes:
the series current acquisition unit is used for acquiring the current of any one of the battery cells as the charge and discharge 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
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 a parallel state.
Optionally, when the connection state is a serial state, the power acquisition module includes:
The electric quantity change acquisition 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 amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for 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, the electric quantity acquisition module includes:
The electric quantity change acquisition unit is used for acquiring the sum of the electric quantity change amounts of the electric cores to obtain the total electric quantity change amount of the at least two electric cores;
the initial total amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for acquiring 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 the actual internal resistance and the 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 charge-discharge 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 battery core based on a preset voltage and electric quantity corresponding curve.
Optionally, the actual internal resistance acquisition module includes:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charge and discharge current caused by the switching of the connection states of the at least two electric cores within a preset time period when the connection states of the at least two electric cores are switched to the parallel state; the predicted charge-discharge current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquisition unit is used for acquiring the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain a current change amount;
The actual internal resistance acquisition unit is used for acquiring 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 embodiments of the present disclosure, there is provided a battery comprising at least two cells and an 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 embodiments of the present disclosure, there is provided an electronic device, comprising:
The battery according to the third aspect;
a processor; the processor is electrically connected with at least two electric cores in the battery respectively and is used for controlling the connection state of the at least two electric cores, and the connection comprises a serial state or a parallel 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 implements the steps of the method of any of the first aspects.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
As can be seen from the foregoing embodiments, in the embodiments of the present disclosure, by providing one electricity meter and at least two electric cores in a battery, the electricity meter may obtain charging and discharging currents of each electric core in a current connection state after the connection states of the at least two electric cores are switched, then may obtain an electricity quantity variation of each electric core according to the charging and discharging currents, and then may obtain 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 obtained by adopting one electric quantity meter, which is beneficial to reducing the volume of the battery or the volume of the electronic equipment and reducing the cost.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of harvesting battery power according to an exemplary embodiment.
Fig. 2 is a schematic diagram showing connection states as a series state and a parallel state according to an exemplary embodiment, wherein (a) in fig. 2 shows the series state and (b) the image shows the parallel state.
Fig. 3 is a flow chart illustrating correction of internal resistance according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating correction of battery charge according to an exemplary embodiment.
Fig. 5 is a corresponding graph of preset voltage and charge levels, according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus for harvesting battery power according to an example embodiment
Fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described by way of example below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus consistent with some aspects of the disclosure as detailed in the accompanying claims.
In the related art, a scheme of setting an electricity meter for each electric core increases the volume of the battery or the volume of the electronic device and increases the cost of the electronic device along with the increase of the number of the electric cores in the battery.
In order to solve the above technical problems, 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 an electric quantity meter, 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 fuel gauge, and the invention is characterized in that the fuel gauge utilizes the charge and discharge current of each battery core to obtain the electric quantity of the battery, so that the number of the fuel gauges 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 for obtaining battery power according to an exemplary embodiment, referring to fig. 1, a method for obtaining battery power includes steps 11 to 13, in which:
In step 11, after the connection state of the at least two electric cores is switched, the charge and discharge current of each electric core in the current connection state is obtained.
In this embodiment, at least two electric cores in the battery include a switching circuit, and the switching circuit may switch the connection state of the at least two electric cores to a serial state or a parallel state after receiving the control signal, that is, all the electric cores are connected in series or the electric cores are connected in parallel. The control signal may be sent by an electricity meter or by a processor of the electronic device provided with a battery, without limitation.
It should be noted that, when there are more battery cells, the connection state may also include a state in which series connection and parallel connection are mixed, in which case the series connection battery cells and the parallel connection battery cells may be calculated separately, that is, the connection state may be split into a series connection state and a parallel connection state, and for convenience of understanding, the embodiments are described in the series connection state and the parallel connection state.
In this embodiment, the electricity meter may acquire a control signal, which may be from itself, a processor, or a battery management chip, without limitation. After receiving the control signal, the fuel gauge determines the connection state of the cells.
In another embodiment, the electricity meter may not need to acquire a control signal, in which case the electricity meter may acquire the terminal voltages of the electric cores according to a set period or in real time, and if the terminal voltages of the electric cores are equal or similar (the voltage difference is within a preset range, for example, 0.5V), the connection state of the electric cores is indicated to be a parallel state; if the terminal voltage of one of any two adjacent cells is about 2 times that of the other cell or the difference is larger (for example, 3-4V), the connection state of each cell is a series state.
In this embodiment, after determining the connection state, the fuel gauge may acquire the charge and discharge current in the current connection state. For example, when the connection state is the serial state shown in fig. 2 (a), collecting the current of any one cell as the charge and discharge current of each cell, for example, collecting the current of the precision resistor 1 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 and discharge current, for example, the current of the precision resistor 1 is collected as the charge and discharge current of the cell 1, and the current of the precision resistor 2 is collected as the charge and discharge current of the cell 2.
In step 12, the electric quantity variation of each cell is obtained according to the charge-discharge current.
In this embodiment, the electricity meter may obtain the amount of change of the electricity of each cell according to the charge and discharge current. Taking one of the battery cells as an example, the electricity meter can integrate the charge and discharge current according to the time of acquiring the charge and discharge current this time and the time of acquiring 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 electricity obtained by each cell at the previous detection, which is hereinafter referred to as initial electricity; then, the electricity meter can acquire the initial electricity quantity and the electricity quantity change quantity of each electric core, and the actual electricity quantity of each electric core obtained in the current detection process is obtained. When the actual electric quantity of each battery 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 change quantity. Wherein the charge state or the discharge state is obtained according to whether the charge-discharge current flows into or out of the battery. Then, the electricity meter can obtain the sum of the electricity of each cell to obtain the electricity of the battery; or the electricity meter can obtain the electricity quantity ratio of the electricity quantity of each cell to the maximum electricity quantity, and the average value of the electricity quantity ratio is used as the capacitance of the battery, or the minimum electricity quantity ratio in the cell is used as the electricity quantity of the battery. Therefore, in the embodiment, the electric quantity of the battery can be obtained by adopting one electric quantity meter, which is beneficial to reducing the volume of the battery or the volume of the electronic equipment and reducing the cost.
Considering that the battery is charged and/or discharged and the service environment of the battery is changed (such as temperature change), the internal resistance of each battery cell is dynamically changed, so that a certain error exists in the acquired electric quantity of the battery. The accumulated error becomes larger and larger with time. Thus, in one embodiment, the fuel gauge may correct the charge of the battery. Before correcting the electric quantity, the electric quantity meter may correct the internal resistance of the battery, see fig. 3, including steps 31 to 33:
In step 31, the fuel gauge may obtain the charge and discharge current, the detection 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 cell within a preset time period (e.g., 1-50ms, adjustable) when the connection state of the cells is switched to the parallel state. The detected voltage is a voltage which can be detected for the first time after the series state is switched to the parallel state. The initial internal resistance refers to the internal resistance obtained last time. The voltage change amount caused before and after the switching of the connection state refers to 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 change amount of the cell 1 is U 1-1-U1-2. The predicted charge-discharge current is obtained based on the detected voltage of the battery cell and the initial internal resistance. In step 32, the electricity meter may obtain the difference between the charge and discharge currents of the respective cells and the predicted charge and discharge currents, to obtain the current variation. For example, if the predicted charge/discharge current of the cell 1 is I 1-1 and the charge/discharge current is I 1-2, the current change amount is I 1-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 cell 1= (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, the value range is adjustable between 5 and 10 minutes), so as to adjust the internal resistance of each cell; the internal resistance of the cell may be corrected when the terminal voltage of the cell is changed, for example, from 4.25V to 4V, in a situation from standby (the cell current is about several-tens of milliamperes) to use (the cell current is about several tens to hundreds of milliamperes), that is, when the cell output current suddenly changes greatly. The technician can set proper correction time or correction scene according to specific scene, and corresponding scheme falls into the protection scope of the present disclosure.
In this embodiment, the electricity meter may store the acquired actual internal resistance in the designated storage area. In an example, the fuel gauge is further compared with the last corrected internal resistance, when the difference between the current actual internal resistance and the last internal resistance is within a preset difference range (e.g. the change of the resistance value is less than 10%), the current actual internal resistance is determined to be an effective value, and the current actual internal resistance can be stored in a designated storage area, if the current actual internal resistance exceeds the difference range, the actual internal resistance is determined to be an ineffective value, and the current actual internal resistance is directly discarded.
After the actual internal resistance of each cell is obtained, the electric quantity of the battery can be corrected, see fig. 4, including steps 41 to 43:
In step 41, the fuel gauge may obtain the actual internal resistance and the detected voltage. It should be noted that the actual internal resistance may be the resistance obtained in the current electric quantity correction process, or may be the internal resistance obtained previously (i.e. may be understood as the initial internal resistance). The former is described as an example in this embodiment. In step 42, the electricity meter may obtain the actual voltage of each cell based on the actual internal resistance of each cell, the charge-discharge current, and the detected voltage. For example, the actual voltage U1' =u1+i×r1' of the battery cell 1, where U1 refers to the detected voltage of the battery cell 1, i.e., the actually detected voltage, I refers to the charge-discharge current of the battery cell 1, and R1' refers to the actual internal resistance of the battery cell 1. In step 43, the electricity meter may obtain the electricity of each cell according to the actual voltage of the cell based on the preset voltage and electricity corresponding curve shown in fig. 5. For example, when the voltage of one cell is 3.8V, the power consumption may be 40% as a proportional representation. The electricity meter may then determine the charge of the battery based on the charge of each cell. Taking the electric quantity 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 core with the smallest electric quantity proportion 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 resistance is used for correcting the electric quantity of the battery, so that the electric quantity of the battery can be more accurate, and the accumulated error can be reduced.
On the basis of the method for acquiring the battery power, the embodiment of the disclosure further provides a device for acquiring the battery power, the battery comprises at least two battery cells and one fuel gauge, the device is suitable for the fuel gauge, and fig. 6 is a block diagram of the device for acquiring the battery power according to an exemplary embodiment. Referring to fig. 6, an apparatus for obtaining battery power 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;
the variation obtaining module 62 is configured to obtain an electric quantity variation of each electric core according to the charge and discharge current;
and the electric quantity acquisition module 63 is used for acquiring the electric quantity of the battery according to the electric quantity variation of each electric core.
In one embodiment, the current acquisition module includes:
the series current acquisition unit is used for acquiring the current of any one of the battery cells as the charge and discharge 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
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 a parallel state.
In an embodiment, when the connection state is a serial state, the power acquisition module includes:
The electric quantity change acquisition 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 amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for acquiring 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 power acquisition module includes:
The electric quantity change acquisition unit is used for acquiring the sum of the electric quantity change amounts of the electric cores to obtain the total electric quantity change amount of the at least two electric cores;
the initial total amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
In an embodiment, the device further comprises:
The actual internal resistance acquisition module is used for acquiring the actual internal resistance and the 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 charge-discharge 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 battery core based on a preset voltage and electric quantity corresponding curve.
In an embodiment, the actual internal resistance acquisition module includes:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charge and discharge current caused by the switching of the connection states of the at least two electric cores within a preset time period when the connection states of the at least two electric cores are switched to the parallel state; the predicted charge-discharge current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquisition unit is used for acquiring the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain a current change amount;
The actual internal resistance acquisition unit is used for acquiring 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 apparatus provided in the embodiments of the present disclosure corresponds to the above method embodiments, and specific content may refer to content of each embodiment of the method, which is not described herein again.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment. For example, the electronic device 700 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 7, an 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 acquisition component 718.
The processing component 702 generally processes 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 can 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, contact data, phonebook data, messages, pictures, videos, etc. for any application or method operating on the electronic device 700. The memory 704 may be implemented by any type or combination of volatile or nonvolatile 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 disk.
The power supply component 706 provides power to the various components of the electronic device 700. Power supply components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 700. The power supply assembly 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 to power the motherboard circuit with or without the battery.
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 input signals from a target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding 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 signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further 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 a keyboard, click wheel, buttons, etc.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the electronic device 700. For example, the sensor assembly 714 may detect an on/off state of the electronic device 700, a relative positioning of the components, such as a display and keypad of the electronic device 700, a change in 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, an orientation or acceleration/deceleration of the electronic device 700, and a change in temperature of the electronic device 700.
The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices, either wired or wireless. 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 one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one 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 can 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, microcontrollers, microprocessors, or other electronic elements.
In an exemplary embodiment, a non-transitory readable storage medium is also provided that includes an executable computer program, such as memory 704 including instructions, that is executable by a processor. The readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of harvesting power from a battery, the battery comprising at least two cells and a power meter, the method being adapted to the power meter and comprising:
After the connection state of the at least two electric cores is switched, charging and discharging currents of the electric cores in the current connection state are obtained, wherein the at least two electric cores comprise a switching circuit, and the switching circuit is used for switching the connection state of the at least two electric cores to a serial state or a parallel state;
acquiring the electric quantity variation of each battery cell according to the charge and discharge current;
acquiring the electric quantity of the battery according to the electric quantity variation of each electric core;
Acquiring the actual internal resistance and detection voltage of each battery cell;
Acquiring the actual voltage of each cell according to the actual internal resistance, the charge-discharge current and the detection voltage of each cell;
acquiring the electric quantity of the battery according to the actual voltage of each battery core based on a preset corresponding curve of the voltage and the electric quantity;
wherein, obtain the actual internal resistance of each electric core, include:
Acquiring voltage variation and predicted charge and discharge current caused by the connection state of each battery core before and after switching in a preset time period when the connection state of at least two battery cores is switched to a parallel state; the predicted charge-discharge current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
Obtaining the difference between the charge and discharge current of each cell and the predicted charge and discharge current to obtain the current variation;
Obtaining the actual internal resistance of each cell according to the voltage variation and the current variation of each cell;
the step of obtaining the charge and discharge current of each battery cell in the current connection state comprises the following steps:
When the connection state of the at least two electric cores is a serial state, acquiring the current of any electric core as the charge and discharge current of each electric core in the current connection state; and
And when the connection state of the at least two electric cores is a parallel state, acquiring the charge and discharge current of each electric core.
2. The method according to claim 1, wherein when the connection state is a serial state, obtaining the electric quantity of the battery according to the electric quantity variation amount of each cell, comprises:
Obtaining the product of the quantity of the electric cores and the electric quantity variation, and taking the product as the electric quantity variation total quantity of at least two electric cores;
obtaining the sum of initial electric quantity of each electric core to obtain initial total quantity;
and acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
3. The method according to claim 1, wherein when the connection state is a parallel state, obtaining the electric quantity of the battery according to the electric quantity variation amount of each cell, comprises:
Obtaining the sum of the electric quantity variation of each electric core to obtain the total electric quantity variation of at least two electric cores;
obtaining the sum of initial electric quantity of each electric core to obtain 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. An apparatus for harvesting power from a battery, said battery comprising at least two cells and a power meter, said apparatus adapted for use with said power meter comprising:
The current acquisition module is used for acquiring charge and discharge currents of each battery cell in the current connection state after the connection state of the at least two battery cells is switched, wherein the at least two battery cells comprise a switching circuit, and the switching circuit is used for switching the connection state of the at least two battery cells to a serial state or a parallel state;
The variation acquisition module is used for acquiring the electric quantity variation of each battery cell according to the charge and discharge current;
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;
The actual internal resistance acquisition module is used for acquiring the actual internal resistance and the 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 charge-discharge current and the detection voltage of each battery cell;
the battery electric quantity correction module is used for obtaining the electric quantity of the battery according to the actual voltage of each battery core based on a preset voltage and an electric quantity corresponding curve;
wherein, the actual internal resistance acquisition module includes:
the current and voltage acquisition unit is used for acquiring voltage variation and predicted charge and discharge current caused by the switching of the connection states of the at least two electric cores within a preset time period when the connection states of the at least two electric cores are switched to the parallel state; the predicted charge-discharge current is obtained based on the detection voltage and the initial internal resistance of the battery cell;
the current change acquisition unit is used for acquiring the difference between the charge and discharge current of each battery cell and the predicted charge and discharge current to obtain a current change amount;
the actual internal resistance acquisition unit is used for acquiring the actual internal resistance of each battery cell according to the voltage variation and the current variation of each battery cell;
Wherein, the electric current acquisition module includes:
the series current acquisition unit is used for acquiring the current of any one of the battery cells as the charge and discharge 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
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 a parallel state.
5. The apparatus of claim 4, wherein when the connection state is a serial state, the power acquisition module comprises:
The electric quantity change acquisition 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 amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
6. The apparatus of claim 4, wherein the power harvesting module comprises, when the connected state is a parallel state:
The electric quantity change acquisition unit is used for acquiring the sum of the electric quantity change amounts of the electric cores to obtain the total electric quantity change amount of the at least two electric cores;
the initial total amount obtaining unit is used for obtaining the sum of the initial electric quantity of each battery cell to obtain the initial total amount;
and the battery electric quantity acquisition unit is used for acquiring the electric quantity of the battery according to the electric quantity change total quantity and the initial total quantity.
7. A battery comprising at least two cells and an 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 one of claims 1 to 3.
8. An electronic device, comprising:
the battery of claim 7;
a processor; the processor is electrically connected with at least two electric cores in the battery respectively and is used for controlling the connection state of the at least two electric cores, and the connection comprises a serial state or a parallel state.
9. A readable storage medium having stored thereon an executable computer program, characterized in that the computer program when executed implements the steps of the method according to any of claims 1-3.
CN202010674764.4A 2020-07-14 2020-07-14 Method and device for obtaining electric quantity of battery, battery and electronic equipment Active CN113933717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010674764.4A CN113933717B (en) 2020-07-14 2020-07-14 Method and device for obtaining electric quantity of battery, battery and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010674764.4A CN113933717B (en) 2020-07-14 2020-07-14 Method and device for obtaining electric quantity of battery, battery and electronic equipment

Publications (2)

Publication Number Publication Date
CN113933717A CN113933717A (en) 2022-01-14
CN113933717B true CN113933717B (en) 2024-10-25

Family

ID=79274022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010674764.4A Active CN113933717B (en) 2020-07-14 2020-07-14 Method and device for obtaining electric quantity of battery, battery and electronic equipment

Country Status (1)

Country Link
CN (1) CN113933717B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109901082A (en) * 2017-12-08 2019-06-18 南京德朔实业有限公司 Portable electric energy system and its measurement method

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100359780C (en) * 2003-04-04 2008-01-02 京东方科技集团股份有限公司 Chargeable cell unit whose connection state can be controlled and assembled battery
WO2011118112A1 (en) * 2010-03-26 2011-09-29 パナソニック株式会社 Charging state detection circuit, battery power source device, and battery information monitoring device
JP2014211307A (en) * 2011-08-30 2014-11-13 三洋電機株式会社 Battery system, charge state estimation device, electric vehicle, movable body, electric power storage device and power supply device
CN103901347B (en) * 2012-12-28 2016-11-23 华为终端有限公司 A kind of method showing battery electric quantity and terminal
CN105372595A (en) * 2014-09-02 2016-03-02 深圳富泰宏精密工业有限公司 Battery capacity detection system and method
CN104297689B (en) * 2014-09-04 2017-05-24 中兴通讯股份有限公司 Method and device for displaying electricity amount of battery and electronic device
JP6614007B2 (en) * 2015-09-18 2019-12-04 住友電気工業株式会社 Internal resistance calculation device, computer program, and internal resistance calculation method
CN205051404U (en) * 2015-11-03 2016-02-24 深圳市瀚路新能源汽车有限公司 Battery charging system
CN105652210B (en) * 2016-01-04 2019-07-26 惠州市蓝微新源技术有限公司 One kind carrying out the modified method and system of SOC according to battery status amount change procedure
CN105548905B (en) * 2016-01-12 2019-04-30 浙江德景电子科技有限公司 A kind of test method and system of battery capacity
US10720672B2 (en) * 2017-04-24 2020-07-21 Autel Robotics Co., Ltd Series-multiple battery pack management system
CN107706979A (en) * 2017-10-24 2018-02-16 贝斯拓欧洲控股有限公司 Charge protection method, device and electronic cigarette
CN110850311B (en) * 2018-08-01 2022-04-26 西安中兴新软件有限责任公司 Method and device for displaying electric quantity by double batteries and computer readable storage medium
CN109066865B (en) * 2018-08-21 2021-02-09 北京小米移动软件有限公司 Calibration method of battery electric quantity and terminal
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109901082A (en) * 2017-12-08 2019-06-18 南京德朔实业有限公司 Portable electric energy system and its measurement method

Also Published As

Publication number Publication date
CN113933717A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN114062957B (en) Battery remaining capacity acquisition method and device, electronic equipment and storage medium
CN114498786A (en) Control method, control device, electronic equipment and storage medium
CN117460961A (en) Battery temperature detection circuit and method, battery protection board, battery and mobile terminal
CN113933717B (en) Method and device for obtaining electric quantity of battery, battery and electronic equipment
CN112421702B (en) Lithium battery charging method and device
CN109066865B (en) Calibration method of battery electric quantity and terminal
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
CN112986879B (en) Fuel gauge correction method and device, electronic equipment and storage medium
CN117348710A (en) Equipment control method, device, medium, equipment and chip
CN117318198A (en) Charging and discharging method and device of terminal, readable storage medium and chip
CN220754383U (en) Electronic equipment
CN113346564A (en) Power management chip control method and device and terminal equipment
CN113517727B (en) Shutdown method and device
CN221961627U (en) Electronic equipment
EP4322366A1 (en) Method and apparatus of charging processing and storage medium
CN118801498A (en) Charge-discharge control method and device, electronic equipment and readable storage medium
CN116774082A (en) Battery health degree determining method, device and storage medium
CN118944214A (en) Display electric quantity adjusting method, device, equipment and storage medium
CN118826187A (en) Battery management method, device, electronic equipment and storage medium
CN117368750A (en) Method and device for monitoring battery residual capacity information, electronic equipment and storage medium
CN116338475A (en) Battery electric quantity display method, device and storage medium
CN117538753A (en) Battery electric quantity determining method, device and medium
CN116632950A (en) Battery equalization method, apparatus and readable storage medium
CN113193607A (en) Battery charging method and device, electronic equipment and storage medium
CN118731699A (en) Method, device and storage medium for estimating residual capacity of battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant