CN115291120A - Battery metering system, electronic equipment and control method - Google Patents

Battery metering system, electronic equipment and control method Download PDF

Info

Publication number
CN115291120A
CN115291120A CN202211005224.2A CN202211005224A CN115291120A CN 115291120 A CN115291120 A CN 115291120A CN 202211005224 A CN202211005224 A CN 202211005224A CN 115291120 A CN115291120 A CN 115291120A
Authority
CN
China
Prior art keywords
control signal
chip
fuel gauge
power
driving circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211005224.2A
Other languages
Chinese (zh)
Inventor
徐超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211005224.2A priority Critical patent/CN115291120A/en
Publication of CN115291120A publication Critical patent/CN115291120A/en
Priority to PCT/CN2023/113284 priority patent/WO2024041427A1/en
Pending legal-status Critical Current

Links

Images

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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/4207Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M10/4257Smart batteries, e.g. electronic circuits inside the housing of the cells or batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/482Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M2010/4271Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Sources (AREA)

Abstract

The application discloses battery measurement system, electronic equipment and control method of battery measurement system, battery measurement system includes: the electricity meter chip comprises a protection driving circuit, a power supply module, a control circuit and a functional component; the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit; the second output end of the power supply module is connected with one end of the control circuit, and the other end of the control circuit is connected with the functional component; the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip; and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.

Description

Battery metering system, electronic equipment and control method
Technical Field
The present application relates to the field of battery technologies, and in particular, to a battery metering system, an electronic device, and a control method.
Background
Along with the development of scientific technology, the variety of electronic products is more and more abundant, and the user also is higher and higher to the requirement of electronic product, and wherein, good electric quantity experience has great promotion to electronic product's competitiveness. The independent electricity meter chip arranged in the battery metering system of the electronic product can accurately provide the electric quantity of the battery and can also accurately calculate and early warn the reliability and safety of the battery. The electricity meter chip comprises a power supply module, a system clock, a communication module, a processor, a high-end protection driving module and the like. The power supply module supplies power to other modules in the electricity meter chip, and after the power supply module supplies power to other modules in the electricity meter chip, the electricity meter chip converts the analog quantity of the acquired battery information into digital quantity and communicates with a Central Processing Unit (CPU) of the whole machine.
In practical application, when the electricity meter chip is abnormal such as communication hang-up and memory bit upset, can seriously influence the normal work of electricity meter chip and complete machine, among the correlation technique, adopt load switch directly to reset whole electricity meter chip after for the power module outage again, protection drive circuit in the electricity meter chip also can turn off after the power module outage to cause the power off of electronic equipment complete machine, electronic equipment battery metering system's reliability is lower, influences user experience and feels.
Disclosure of Invention
An object of the embodiments of the present application is to provide a battery metering system, an electronic device, and a control method, which can solve the problem of low reliability of the battery metering system of the electronic device.
In a first aspect, an embodiment of the present application provides a battery metering system, which includes a fuel gauge chip, where the fuel gauge chip includes a protection driving circuit, a power supply module, a control circuit, and a functional component; the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit; the second output end of the power supply module is connected with one end of the control circuit, and the other end of the control circuit is connected with the functional component; the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip; and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.
Therefore, the rest functional components in the electricity meter chip except the protection driving circuit are controlled to lose electricity and reset through the control circuit according to the indication of the central processing unit, the power supply module directly supplies power to the protection driving circuit, and the protection driving circuit is always powered on and is not turned off in the process of losing electricity and resetting the functional components in the electricity meter chip, so that the complete machine power failure of the electronic equipment cannot be caused, the reliability of a battery metering system is improved, and the user experience is improved.
In a second aspect, an embodiment of the present application provides an electronic device, including: the electric quantity meter comprises a battery, an electric quantity meter chip and a central processing unit, wherein the electric quantity meter chip comprises a protection driving circuit, a power supply module, a control circuit and a functional component; the output end of the battery is connected with the input end of the power supply module, and the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit; the second output end of the power supply module is connected with one end of the control circuit, and the other end of the control circuit is connected with the functional component; the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip; and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.
In a third aspect, an embodiment of the present application provides a control method of a battery metering system, including: acquiring state data of the fuel gauge chip; when the state data is abnormal, sending a control signal to the fuel gauge chip; controlling functional components except for the protection driving circuit in the electricity meter chip to lose power and reset through a control circuit of the electricity meter chip according to the indication of the control signal; the protection driving circuit is connected with a first output end of a power supply module of the fuel gauge chip, and the power supply module is used for continuously supplying power to the protection driving circuit.
It can be seen that when the state data of the fuel gauge chip is abnormal, the rest functional components in the fuel gauge chip except the protection driving circuit are controlled to lose power and reset through the control circuit according to the indication of the central processing unit, the protection driving circuit is directly powered by the power supply module, and in the process that the functional components in the fuel gauge chip lose power and reset, the protection driving circuit is powered on all the time and cannot be turned off, so that the power failure of the whole electronic equipment cannot be caused, the reliability of a battery metering system is improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram illustrating a battery metering system according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an internal structure of an electricity meter chip according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a level sequence of a control signal provided in an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 shows a schematic flowchart of a control method of a battery metering system according to an embodiment of the present application.
Reference numerals:
an electricity meter chip: 10; protecting the driving circuit: 100, respectively; a power supply module: 101; the control circuit: 102; functional parts: 103; resetting the interface: 104;
a central processing unit: 11; an input/output interface: 110;
a battery: 12.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a battery metering system, an electronic device, and a control method of the battery metering system according to the embodiments of the present application with reference to fig. 1 to 6 through specific embodiments and application scenarios thereof.
As shown in fig. 1, the electricity metering system includes: the fuel gauge chip 10 comprises a protection driving circuit 100, a power supply module 101, a control circuit 102 and a functional component 103, a first output end of the power supply module 101 is connected with the protection driving circuit 100 and used for supplying power to the protection driving circuit 100, a second output end of the power supply module 101 is connected with one end of the control circuit 102, the other end of the control circuit 102 is connected with the functional component 103, the central processing unit 11 is connected with the fuel gauge chip 10 and used for sending a control signal to the fuel gauge chip 10, and the control circuit 102 is used for controlling the functional component 103 to lose power and reset according to the indication of the control signal.
As shown in fig. 2, which illustrates the internal structure of the fuel gauge chip 10, the fuel gauge chip 10 includes a protection driving circuit 100, a power supply module 101, a control circuit 102, and a functional component 103, wherein the functional component 103 includes, but is not limited to, a system clock, a processor, a memory, a communication module, a coulomb counter, and a composite ADC.
Specifically, the power supply module 101 supplies power to the functional component 103 in the fuel gauge chip 10 through the control circuit 102, the protection driving circuit 100 is directly and continuously supplied with power from the power supply module 101, that is, the protection driving circuit 100 is continuously connected with the path between the first output end of the power supply module 101, when the fuel gauge chip 10 is abnormal, the central processing unit 11 sends a control signal to the fuel gauge chip 10, the control circuit 102 cuts off the connection path between the second output end of the fuel gauge chip 10 and the control circuit 102 according to the instruction of the control signal, or the connection path between the control circuit 102 and the functional component 103, then the central processing unit 11 sends the control signal to allow the fuel gauge chip 10 to be powered on and reset again, and the protection driving circuit 100 is not turned off, after the fuel gauge chip 10 receives the control signal, the control circuit 102 re-runs the program according to the instruction of the control signal, and in the process that the fuel gauge chip 10 is powered off and reset, the protection driving circuit 100 is not powered off without being powered off, so as to avoid the whole fuel gauge end (central processing unit) being directly turned off due to the reset again.
The central processing unit 11 is provided with an I2C interface, the fuel gauge chip 10 is provided with an I2C interface, the central processing unit 11 and the fuel gauge chip 10 can communicate with each other through an I2C bus, and the state data of the fuel gauge chip 10 includes I2C communication state data, such as an I2C communication response signal to monitor whether there is an abnormality of communication hanging between the central processing unit 11 and the fuel gauge chip 10; the status data of the fuel gauge chip 10 further includes: the method comprises the following steps of measuring the quantity of electricity by using a quantity meter chip 10, wherein the quantity meter parameters comprise at least one of register state data of the quantity meter chip 10, working mode data of the quantity meter chip 10, battery voltage, current and battery temperature and parameters of each functional unit 103 in the quantity meter chip 10, the register state data comprise the current state of a register to determine whether the abnormality of memory turnover exists, the working mode data comprise the current working mode of the quantity meter chip 10 to determine whether the abnormality of the quantity meter chip 10 exists, and the abnormality of firmware locking non-execution can be determined according to the parameters of each functional unit 103 of the quantity meter through the battery voltage, the current and the battery temperature to determine whether the abnormality of the battery exists.
In one possible implementation, the fuel gauge chip 10 is provided with a reset interface, the central processing unit is provided with an input/output interface, the reset interface is connected with the input/output interface, and the control signal is transmitted through the reset interface and the input/output interface.
Specifically, a reset interface is provided on the fuel gauge chip 10, the control circuit 102 is provided inside the fuel gauge chip 10, an input/output interface (I/O pin) is provided on the central processor 11, the central processor 11 sends a control signal to the fuel gauge chip 10 through the input/output interface and the reset interface, and the control circuit 102 in the fuel gauge chip 10 controls each functional component 103 in the fuel gauge chip 10 according to the instruction of the control signal.
In a possible implementation manner, the control signal includes a first control signal and a second control signal, in the case that the state data of the fuel gauge chip 10 is abnormal, the central processing unit 11 sends the first control signal to the fuel gauge chip 10, the control circuit 102 controls the power-off of the functional component 103 in the fuel gauge chip 10 according to the instruction of the first control signal, the central processing unit 11 sends the second control signal to the fuel gauge chip 10, and the control circuit 102 controls the power-on reset of the functional component 103 in the fuel gauge chip 10 according to the instruction of the second control signal.
Specifically, the first control signal is a signal indicating that the functional component 103 in the fuel gauge chip 10 is powered off, and the second control signal is a power-on reset indicating that the functional component 103 in the fuel gauge chip 10 is powered off. The central processing unit 11 sends a first control signal to the fuel gauge chip 10, the control circuit 102 cuts off a connection path between the second output end of the fuel gauge chip 10 and the control circuit 102 according to an instruction of the first control signal, that is, the second output end of the power supply module 101 of the fuel gauge chip 10 is controlled to be closed, or a connection path between the control circuit 102 and the functional component 103 is controlled to be closed, or an input/output interface 110 of the central processing unit 11 is pulled down to be at a low level, so that the functional component 103 in the fuel gauge chip 10 loses power, and then the central processing unit 11 sends a second control signal to allow the functional component 103 which loses power in the fuel gauge chip 10 to be powered on and reset again. Therefore, in the process of powering down and resetting the fuel gauge chip 10, the protection driving circuit 100 is still not powered off and is not turned off, so that the direct shutdown of the whole end (such as the central processing unit 11) due to the resetting of the fuel gauge chip 10 is avoided, the reliability of the fuel gauge chip 10 is improved, and the user experience is improved.
For the central processing unit 11, if a high level signal is directly output to the reset interface 104 of the fuel gauge chip 10 to reset the fuel gauge chip 10, there may be two risks, one of which is: if the battery metering chip has the DSG switch off action, when the power supply voltage of the host end is lower than the lowest working voltage, the input/output interface 110 of the host end cannot ensure a certain output low level, which may cause the fuel gauge chip 10 to be in a reset state all the time, resulting in the overcharge being unable to be protected and potential safety hazard, and the fuel gauge chip 10 may have the reset action each time the DSG switch is off; secondly, when the central processing unit 11 at the host end is damaged or the program of the central processing unit 11 at the host end is run away, the level signal output to the battery metering chip may be always high, so that the fuel gauge chip 10 is always in a reset state, the battery is overcharged and cannot be protected, the battery has a risk of being overcharged and exploded, and potential safety hazards exist.
In a possible implementation manner, in order to solve the above problem, the control signal provided by the embodiment of the present application is a level sequence composed of at least one high level signal and at least one low level signal.
Specifically, a high level signal or a low level signal may last for a predetermined time, so that a level sequence of at least one of the high level signal and the low level signal is a certain time level sequence. The control signal may be defined as an Xms high level + Yms low level + Zms high level, such as a level sequence of various control signals shown in fig. 3, where X, Y and Z may take any values, which is not limited herein in this embodiment of the present application, for example, X takes 100ms, Y takes 200ms, and Z takes 100ms. In addition, the first control signal and the second control signal may adopt different level sequences to realize different functions.
It should be noted that the level sequence may also be in other combinations, and the embodiment of the present application is not limited herein.
Therefore, through a certain time level sequence, the problem of false triggering caused by a single high level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
In a possible implementation manner, the power supply module 101 is configured to continuously supply power to the protection driving circuit 100, and the protection driving circuit 100 is configured to drive an NMOS switching tube connected to the central processing unit to be disconnected when the central processing unit 11 is abnormal.
Specifically, the power supply module 101 continuously supplies power to the protection drive circuit 100, and therefore, the protection drive circuit 100 does not lose power when an abnormality occurs in the fuel gauge chip. When the central processing unit 11 has an abnormal condition such as overcurrent or overvoltage, the protection driving circuit 100 can drive the NMOS switch tube connected to the central processing unit to be disconnected, so as to disconnect the power supply path of the central processing unit, and no matter the fuel gauge chip is in an abnormal state or a normal state, since the power supply module 101 continuously supplies power to the protection driving circuit 100, the protection driving circuit 100 is still in a normal working state, and drives the NMOS switch tube to be disconnected when the central processing unit 11 is abnormal. Therefore, the reliability of the protection driving circuit is higher, and the safety performance of the whole battery metering system is improved.
According to the technical scheme disclosed by the embodiment of the application, the rest functional components in the electric quantity meter chip except the protection driving circuit are controlled to lose power and reset through the control circuit according to the indication of the central processing unit, the protection driving circuit is directly powered by the power supply module, and in the process that the functional components in the electric quantity meter chip lose power and reset, the protection driving circuit is always powered on and cannot be turned off, so that the power failure of the whole electronic equipment cannot be caused, the reliability of the battery metering system is improved, and the user experience is improved.
As shown in fig. 4, a schematic structural diagram of an electronic device provided in an embodiment of the present application is shown, and the electronic device includes an electricity meter chip 10, a central processing unit 11, and a battery 12, as shown in fig. 2, the electricity meter chip 10 includes a protection driving circuit 100, a power supply module 101, a control circuit 102, and a functional component 103, an output end of the battery is connected to an input end of the power supply module, a first output end of the power supply module 101 is connected to the protection driving circuit 100 and is configured to supply power to the protection driving circuit 100, a second output end of the power supply module 101 is connected to one end of the control circuit 102, another end of the control circuit 102 is connected to the functional component 103, the central processing unit 11 is connected to the electricity meter chip 10 and is configured to send a control signal to the electricity meter chip 10, and the control circuit 102 is configured to control the functional component 103 to be powered off and reset according to an instruction of the control signal.
Specifically, the electricity meter chip is provided with a reset interface, and the central processing unit is provided with an input and output interface; the reset interface is connected with the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
As shown in fig. 5, a reset interface 104 (por pin) is provided on the fuel gauge chip 10, a control circuit 102 is provided inside the fuel gauge chip 10, an input/output interface 110 (I/O pin) is provided on the host side (central processing unit 11), the central processing unit 11 sends a control signal to the fuel gauge chip 10 through the input/output interface 110 and the reset interface 104, and the control circuit 102 in the fuel gauge chip 10 controls each functional component 103 in the fuel gauge chip 10 according to the instruction of the control signal.
The power supply pin (VDD pin) and the voltage acquisition pin (VBAT pin) of the fuel gauge chip 10 are connected to the positive electrode of the battery, the charge drive switch (CHG switch) and the discharge drive switch (DSG switch) of the protection drive circuit 100 of the fuel gauge chip 10 are connected between the battery and the central processing unit 11, the common connection pin (VSS pin) of the fuel gauge chip 10 is connected to the negative electrode of the battery, the current sampling pin (SRN pin) and the SRP pin of the fuel gauge chip 10 are connected between the negative electrode of the battery and the central processing unit 11, the I2C interface of the fuel gauge chip 10 is connected to the I2C interface of the central processing unit 11, and the reset interface 104 of the fuel gauge chip 10 is connected to the input/output interface 110 of the central processing unit 11. The VDD pin represents the operating voltage inside the fuel gauge chip 10, the VBAT pin represents the function of storing the contents of a register inside the backup fuel gauge chip 10 and maintaining a Real-time clock (RTC) when the VDD pin is powered off, VSS represents the common connection, which refers to the voltage of the common ground terminal of the circuit, the CHG switch is used to turn on and off a charging switch tube in the protection driving circuit 100 in the fuel gauge chip 10, the DSG switch represents the turn on and off of a discharging switch tube in the protection driving circuit 100 in the fuel gauge chip 10, the SRN pin is the negative terminal of the input control signal, the SRP is the positive terminal of the input control signal, the TEMP interface is used to monitor the temperature of the battery, and when the temperature of the battery is too high or too low, the charging is stopped.
In a possible implementation manner, the control signal includes a first control signal and a second control signal, in the case that the state data of the fuel gauge chip 10 is abnormal, the central processing unit 11 sends the first control signal to the fuel gauge chip 10, the control circuit 102 controls the power-off of the functional component 103 in the fuel gauge chip 10 according to the instruction of the first control signal, the central processing unit 11 sends the second control signal to the fuel gauge chip 10, and the control circuit 102 controls the power-on reset of the functional component 103 in the fuel gauge chip 10 according to the instruction of the second control signal.
Specifically, the first control signal is a signal indicating that the functional component 103 in the fuel gauge chip 10 is powered off, and the second control signal is a power-on reset indicating that the functional component 103 in the fuel gauge chip 10 is powered off. The central processing unit 11 sends a first control signal to the fuel gauge chip 10, the control circuit 102 cuts off a connection path between the second output end of the fuel gauge chip 10 and the control circuit 102 according to an instruction of the first control signal, that is, the second output end of the power supply module 101 of the fuel gauge chip 10 is controlled to be closed, or a connection path between the control circuit 102 and the functional component 103 is controlled to be closed, or an input/output interface 110 of the central processing unit 11 is pulled down to be at a low level, so that the functional component 103 in the fuel gauge chip 10 loses power, and then the central processing unit 11 sends a second control signal to allow the functional component 103 which loses power in the fuel gauge chip 10 to be powered on and reset again. Therefore, in the process of power failure and reset of the fuel gauge chip 10, the protection driving circuit 100 is still not powered off and is not turned off, so that direct shutdown of the whole fuel gauge end (such as the central processing unit 11) due to resetting of the fuel gauge chip 10 is avoided, the reliability of the fuel gauge chip 10 is improved, and the user experience is improved.
For the central processing unit 11, if a high level signal is directly output to the reset interface 104 of the fuel gauge chip 10 to reset the fuel gauge chip 10, there may be two risks, one of which is: if the battery metering chip has the DSG switch off action, when the power supply voltage of the host end is lower than the lowest working voltage, the input/output interface 110 of the host end cannot ensure a certain output low level, which may cause the fuel gauge chip 10 to be in a reset state all the time, resulting in the overcharge being unable to be protected and potential safety hazard, and the fuel gauge chip 10 may have the reset action each time the DSG switch is off; secondly, when the central processing unit 11 at the host end is damaged or the program of the central processing unit 11 at the host end is run away, the level signal output to the battery metering chip may be always high, so that the fuel gauge chip 10 is always in a reset state, the battery is overcharged and cannot be protected, the battery has a risk of being overcharged and exploded, and potential safety hazards exist.
In a possible implementation manner, in order to solve the above problem, the control signal provided by the embodiment of the present application is a level sequence composed of at least one high level signal and at least one low level signal.
Specifically, a high level signal or a low level signal may last for a predetermined time, so that a level sequence of at least one of the high level signal and the low level signal is a certain time level sequence. The control signal may be defined as an Xms high level + Yms low level + Zms high level, such as a level sequence of various control signals shown in fig. 3, where X, Y and Z may take any values, which is not limited herein in this embodiment of the present application, for example, X takes 100ms, Y takes 200ms, and Z takes 100ms. In addition, the first control signal and the second control signal may adopt different level sequences to realize different functions.
It should be noted that the level sequence may also be in other combinations, and the embodiment of the present application is not limited herein.
Therefore, through a certain time level sequence, the problem of false triggering caused by a single high level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
In a possible implementation manner, the central processing unit is connected with the battery through an NMOS switch tube, the power supply module is configured to continuously supply power to the protection driving circuit, and the protection driving circuit is configured to drive the NMOS switch tube connected with the central processing unit to be disconnected when the central processing unit is abnormal.
Specifically, the power supply module 101 continuously supplies power to the protection drive circuit 100, and therefore, the protection drive circuit 100 does not lose power when an abnormality occurs in the fuel gauge chip. When the central processing unit 11 has an abnormal condition such as overcurrent or overvoltage, the protection driving circuit 100 can drive the NMOS switch tube connected with the central processing unit to be disconnected, so as to disconnect the power supply path between the battery and the central processing unit, and no matter the fuel gauge chip is in an abnormal state or a normal state, because the power supply module 101 continuously supplies power to the protection driving circuit 100, the protection driving circuit 100 is still in a normal working state, and drives the NMOS switch tube to be disconnected when the central processing unit 11 is abnormal, so as to cut off the power supply path between the battery and the central processing unit 11. Therefore, the reliability of the protection driving circuit is higher, and the safety performance of the whole battery metering system is improved.
As shown in fig. 6, an embodiment of the present application provides a control method of a battery metering system, which is applied to an electronic device, that is, which may be executed by hardware or software of the electronic device, and the control method includes the following steps:
step S601: acquiring state data of the fuel gauge chip.
The protection driving circuit is connected with a first output end of a power supply module of the fuel gauge chip, and the power supply module is used for continuously supplying power to the protection driving circuit.
Specifically, the fuel gauge chip communicates with the central processor through an I2C bus, and the status data of the fuel gauge chip includes at least one of I2C communication status data of the fuel gauge chip and the central processor, register status data of the fuel gauge chip, and operation mode data of the fuel gauge chip.
Further, the state data of the electricity meter chip comprises I2C communication state data, such as an I2C communication response signal to monitor whether the communication between the central processing unit and the electricity meter chip is hung up; the status data of the fuel gauge chip further includes: and the fuel gauge parameters comprise at least one of register state data of the fuel gauge chip, working mode data of the fuel gauge chip, battery voltage, current and battery temperature and parameters of various functional components in the fuel gauge chip, the register state data comprise the current state of the register to determine whether the abnormality of memory turnover exists, the working mode data comprise the current working mode of the fuel gauge chip to determine whether the abnormal working mode exists in the fuel gauge chip, and whether the abnormality of firmware locking non-execution exists in the fuel gauge chip can be determined according to the parameters of various functional components of the fuel gauge by determining whether the battery is abnormal according to the battery voltage, the current and the battery temperature.
Step S603: and when the state data is abnormal, sending a control signal to the fuel gauge chip.
Specifically, when the electricity meter chip is abnormal, the central processing unit sends control signals to the electricity meter chip, the control signals comprise a first control signal and a second control signal, the first control signal is a signal indicating that a functional unit in the electricity meter chip is power-off, and the second control signal is a functional unit indicating that the functional unit in the electricity meter chip is power-off and reset again.
Step S605: and controlling functional parts except for the protection driving circuit in the fuel gauge chip to lose power and reset according to the indication of the control signal by the control circuit of the fuel gauge chip.
The protection driving circuit is connected with a first output end of a power supply module of the fuel gauge chip, and the power supply module is used for continuously supplying power to the protection driving circuit. Specifically, as above, the fuel gauge chip includes, but is not limited to, a protection drive circuit, a power supply module, a control circuit, and functional components, wherein the functional components include, but are not limited to, a system clock, a processor, a memory, a communication module, a coulometer, and a composite ADC; the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit, the second output end of the power supply module is connected with one end of the control circuit, the other end of the control circuit is connected with the functional component, the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip, and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.
Furthermore, the control circuit cuts off a connection path between the second output end of the fuel gauge chip and the control circuit or a connection path between the control circuit and the functional component according to the indication of the control signal, then the central processing unit sends the control signal to enable the fuel gauge chip to be powered on and reset again, meanwhile, the protection driving circuit is not turned off, after the fuel gauge chip receives the control signal, the control circuit operates the program again according to the indication of the control signal, in the power failure and reset process of the fuel gauge chip, the protection driving circuit cannot be turned off due to power failure, and the direct shutdown of the whole machine end (the central processing unit) due to the reset of the fuel gauge chip is avoided.
According to the technical scheme disclosed by the embodiment of the application, when the state data of the electric quantity meter chip is abnormal, the rest functional components except the protection driving circuit in the electric quantity meter chip are controlled to lose power and reset according to the indication of the central processing unit through the control circuit, the protection driving circuit is directly powered by the power supply module, and in the process that the functional components in the electric quantity meter chip lose power and reset, the protection driving circuit is always powered on and cannot be turned off, so that the power failure of the whole electronic equipment cannot be caused, the reliability of a battery metering system is improved, and the user experience is improved.
In one possible implementation, step S405 includes: under the condition that the control signal is an effective control signal, controlling functional components except for a protection driving circuit in the electricity meter chip to lose power and reset through a control circuit; the active control signal includes a level sequence of at least one high level signal and at least one low level signal.
Specifically, a high level signal or a low level signal in the active control signal may last for a predetermined time, so that a level sequence of at least one of the high level signal and the low level signal is a certain time level sequence. The control signal may be defined as an Xms high level + Yms low level + Zms high level, such as a level sequence of various control signals shown in fig. 3, where X, Y and Z may take any values, which is not limited herein in this embodiment of the present application, for example, X takes 100ms, Y takes 200ms, and Z takes 100ms. In addition, the first control signal and the second control signal may adopt different level sequences to realize different functions.
It should be noted that the level sequence may also be in other combinations, and the embodiment of the present application is not limited herein.
Therefore, through a certain time level sequence, the problem of false triggering caused by a single high-level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
In one possible implementation, step S405 includes: sending a first control signal to the fuel gauge chip, and controlling a functional component in the fuel gauge chip to lose power through a control circuit according to the indication of the first control signal; and sending a second control signal to the fuel gauge chip, and controlling the power-on reset of the power-off functional component in the fuel gauge chip through the control circuit according to the indication of the second control signal.
Specifically, the control signal comprises a first control signal and a second control signal, the central processing unit sends the first control signal to the fuel gauge chip, the control circuit cuts off a connection path between a second output end of the fuel gauge chip and the control circuit according to the indication of the first control signal, namely, the control circuit controls a second output end of a power supply module in the fuel gauge chip to be closed or the connection path between the control circuit and a functional component according to the indication of the first control signal, or pulls down an input/output interface of the central processing unit to be at a low level, so that the functional component in the fuel gauge chip is powered off, and then the central processing unit sends the second control signal to enable the functional component powered off in the fuel gauge chip to be powered on and reset again. Therefore, in the process of power failure and resetting of the electricity meter chip, the protection driving circuit is still not powered off and closed, the direct shutdown of the whole machine end (such as a central processing unit) due to the resetting of the electricity meter chip is avoided, the reliability of the electricity meter chip is improved, and the user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A battery metering system, comprising:
the electricity meter chip comprises a protection driving circuit, a power supply module, a control circuit and a functional component;
the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit;
the second output end of the power supply module is connected with one end of the control circuit, and the other end of the control circuit is connected with the functional component;
the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip;
and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.
2. The battery metering system of claim 1, wherein the fuel gauge chip is provided with a reset interface, and the central processing unit is provided with an input and output interface;
the reset interface is connected with the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
3. The battery metering system of claim 1, wherein the control signals comprise a first control signal and a second control signal, the central processing unit sends the first control signal to the fuel gauge chip in case of abnormal state data of the fuel gauge chip, and the control circuit controls the power loss of the functional components in the fuel gauge chip according to the indication of the first control signal;
the central processing unit sends a second control signal to the fuel gauge chip, and the control circuit controls the power-on reset of the power-off functional component in the fuel gauge chip according to the indication of the second control signal.
4. The battery metering system of claim 1, wherein the control signal is a sequence of levels of at least one high level signal and at least one low level signal.
5. The battery metering system of claim 1, wherein the power supply module is configured to continuously supply power to the protection driving circuit, and the protection driving circuit is configured to drive an NMOS switching tube connected to the central processing unit to be disconnected when the central processing unit is abnormal.
6. An electronic device, comprising: the electric quantity meter comprises a battery, an electric quantity meter chip and a central processing unit, wherein the electric quantity meter chip comprises a protection driving circuit, a power supply module, a control circuit and a functional component;
the output end of the battery is respectively connected with the input end of the power supply module and the central processing unit, and the first output end of the power supply module is connected with the protection driving circuit and used for supplying power to the protection driving circuit;
the second output end of the power supply module is connected with one end of the control circuit, and the other end of the control circuit is connected with the functional component;
the central processing unit is connected with the electricity meter chip and used for sending a control signal to the electricity meter chip;
and the control circuit is used for controlling the functional component to lose power and reset according to the indication of the control signal.
7. The electronic device of claim 6, wherein the fuel gauge chip is provided with a reset interface, and the central processor is provided with an input-output interface;
the reset interface is connected with the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
8. The electronic device according to claim 6, wherein the control signal comprises a first control signal and a second control signal, the central processing unit sends the first control signal to the fuel gauge chip when the state data of the fuel gauge chip is abnormal, and the control circuit controls the functional component in the fuel gauge chip to lose power according to the indication of the first control signal;
the central processing unit sends a second control signal to the fuel gauge chip, and the control circuit controls the power-on reset of the power-off functional component in the fuel gauge chip according to the indication of the second control signal.
9. The electronic device of claim 6, wherein the control signal is a sequence of levels of at least one high level signal and at least one low level signal.
10. The electronic device of claim 6, wherein the cpu is connected to the battery through an NMOS switch, the power supply module is configured to continuously supply power to the protection driving circuit, and the protection driving circuit is configured to drive the NMOS switch connected to the cpu to be turned off when the cpu is abnormal.
11. A method of controlling a battery gauge system, comprising:
acquiring state data of a fuel gauge chip;
when the state data is abnormal, sending a control signal to the fuel gauge chip;
controlling functional components except for the protection driving circuit in the electricity meter chip to lose power and reset through a control circuit of the electricity meter chip according to the indication of the control signal;
the protection driving circuit is connected with a first output end of a power supply module of the fuel gauge chip, and the power supply module is used for continuously supplying power to the protection driving circuit.
12. The control method of the battery metering system according to claim 11, wherein the controlling, by the control circuit of the electricity meter chip, the electricity meter chip to lose power and reset the functional components other than the protection driving circuit comprises:
under the condition that the control signal is an effective control signal, controlling the functional components except the protection driving circuit in the electricity meter chip to lose power and reset through the control circuit;
the active control signal comprises a level sequence of at least one high level signal and at least one low level signal.
13. The control method of the battery metering system according to claim 11, wherein the controlling, by the control circuit of the electricity meter chip, the power loss and reset of the functional components of the electricity meter chip other than the protection drive circuit includes:
sending a first control signal to the electricity meter chip, and controlling the power loss of a functional component in the electricity meter chip through the control circuit according to the indication of the first control signal;
and sending a second control signal to the fuel gauge chip, and controlling the power-off functional component in the fuel gauge chip to be powered on and reset through the control circuit according to the indication of the second control signal.
CN202211005224.2A 2022-08-22 2022-08-22 Battery metering system, electronic equipment and control method Pending CN115291120A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211005224.2A CN115291120A (en) 2022-08-22 2022-08-22 Battery metering system, electronic equipment and control method
PCT/CN2023/113284 WO2024041427A1 (en) 2022-08-22 2023-08-16 Battery metering system, electronic device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211005224.2A CN115291120A (en) 2022-08-22 2022-08-22 Battery metering system, electronic equipment and control method

Publications (1)

Publication Number Publication Date
CN115291120A true CN115291120A (en) 2022-11-04

Family

ID=83829474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211005224.2A Pending CN115291120A (en) 2022-08-22 2022-08-22 Battery metering system, electronic equipment and control method

Country Status (2)

Country Link
CN (1) CN115291120A (en)
WO (1) WO2024041427A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041427A1 (en) * 2022-08-22 2024-02-29 维沃移动通信有限公司 Battery metering system, electronic device and control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014465A (en) * 2000-08-18 2002-02-25 김형벽ㅂ IGBT drive control circuit
CN107860955A (en) * 2017-11-03 2018-03-30 华立科技股份有限公司 The reset circuit and ammeter of ammeter
CN109471749A (en) * 2018-11-06 2019-03-15 北京四方继保自动化股份有限公司 Reset count power-off restarting circuit
KR20200069677A (en) * 2018-12-07 2020-06-17 현대오트론 주식회사 Apparatus for driving warning light and method for driving the same
CN210894629U (en) * 2019-10-28 2020-06-30 维沃移动通信有限公司 Electric meter assembly and electronic equipment
CN210894497U (en) * 2019-10-28 2020-06-30 华立科技股份有限公司 Ammeter system
CN112994179A (en) * 2021-04-16 2021-06-18 上海维安电子有限公司 Lithium iron phosphate battery management system applied to garden tool
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114784913A (en) * 2022-05-13 2022-07-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack, electronic device and electronic pack
CN114488914A (en) * 2022-03-06 2022-05-13 西安平阳科技发展有限公司 Intelligent solenoid valve driver with state monitoring function
CN115291120A (en) * 2022-08-22 2022-11-04 维沃移动通信有限公司 Battery metering system, electronic equipment and control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014465A (en) * 2000-08-18 2002-02-25 김형벽ㅂ IGBT drive control circuit
CN107860955A (en) * 2017-11-03 2018-03-30 华立科技股份有限公司 The reset circuit and ammeter of ammeter
CN109471749A (en) * 2018-11-06 2019-03-15 北京四方继保自动化股份有限公司 Reset count power-off restarting circuit
KR20200069677A (en) * 2018-12-07 2020-06-17 현대오트론 주식회사 Apparatus for driving warning light and method for driving the same
CN210894629U (en) * 2019-10-28 2020-06-30 维沃移动通信有限公司 Electric meter assembly and electronic equipment
CN210894497U (en) * 2019-10-28 2020-06-30 华立科技股份有限公司 Ammeter system
CN112994179A (en) * 2021-04-16 2021-06-18 上海维安电子有限公司 Lithium iron phosphate battery management system applied to garden tool
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024041427A1 (en) * 2022-08-22 2024-02-29 维沃移动通信有限公司 Battery metering system, electronic device and control method

Also Published As

Publication number Publication date
WO2024041427A1 (en) 2024-02-29

Similar Documents

Publication Publication Date Title
US5811890A (en) Battery operated information processing apparatus
CN1794001B (en) Method for verifying smart battery failures by measuring input charging voltage and associated systems
CN101443778B (en) Communication system, authentication method, information processing device, information processing method, and battery
EP3623197B1 (en) Power-down detection circuit and control method
CN104604078B (en) Method and system for collapse of voltage protection
US20100270981A1 (en) Power source apparatus and secondary battery charge control method
CN110739661A (en) overcurrent protection device and board card
CN101796469A (en) Method and system for managing electrical power supply outages on board an aircraft
CN109596989A (en) Display methods, device and the electronic equipment of electric quantity for electronic equipment
CN115291120A (en) Battery metering system, electronic equipment and control method
WO2013169493A1 (en) Methods and systems for battery management and charger control
US20230022867A1 (en) Smart battery device, and electronic device thereof
EP0913906B1 (en) Electrical disconnection and automatic re-engagement of battery monitoring circuits
CN111837290A (en) Control device for lithium ion secondary battery and control method thereof
CN102298435A (en) Battery module and management method for the same
CN110875610A (en) Electronic equipment power supply method and device, electronic equipment and storage medium
US20230148678A1 (en) Electrical System for an Aerosol Generating Device
CN111596148B (en) Test method, device and equipment for starting diesel engine in case of power failure of emergency bus of nuclear power station
CN209282342U (en) A kind of battery system and mobile terminal detecting state in place
CN114156971A (en) Energy storage charging and discharging control method, device and equipment and energy storage system
CN113535755A (en) Battery data monitoring and inquiring system
CN103178600A (en) Power source management system and method
Hsu et al. On the implemenation of CAN buses to battery management systems
WO2024093035A1 (en) Master-slave linkage capacity expansion method and apparatus for mobile battery
CN105515076B (en) The method and device of adjusting parameter

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