WO2024041427A1 - Battery metering system, electronic device and control method - Google Patents

Battery metering system, electronic device and control method Download PDF

Info

Publication number
WO2024041427A1
WO2024041427A1 PCT/CN2023/113284 CN2023113284W WO2024041427A1 WO 2024041427 A1 WO2024041427 A1 WO 2024041427A1 CN 2023113284 W CN2023113284 W CN 2023113284W WO 2024041427 A1 WO2024041427 A1 WO 2024041427A1
Authority
WO
WIPO (PCT)
Prior art keywords
fuel gauge
control signal
gauge chip
power
chip
Prior art date
Application number
PCT/CN2023/113284
Other languages
French (fr)
Chinese (zh)
Inventor
徐超
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024041427A1 publication Critical patent/WO2024041427A1/en

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
    • 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

Definitions

  • the present application relates to the field of battery technology, and in particular, to a battery metering system, electronic equipment and control method.
  • the fuel gauge chip includes a power supply module, system clock, communication module, processor and high-end protection driver module.
  • the power supply module supplies power to other modules in the fuel gauge chip.
  • the fuel gauge chip converts the analog quantity of the collected battery information into a digital quantity and communicates with the central processor of the whole machine. (Central Processing Unit, CPU) communicates.
  • CPU Central Processing Unit
  • a load switch is used to directly power off the power supply module and then reset it.
  • the entire fuel gauge chip, the protection drive circuit in the fuel gauge chip will also be shut down after the power supply module is powered off, causing the entire electronic device to be powered off.
  • the reliability of the battery metering system of the electronic device is low, affecting the user experience.
  • the purpose of the embodiments of this application is to provide a battery metering system, electronic equipment and control method, It can solve the problem of low reliability of the battery metering system of electronic equipment.
  • inventions of the present application provide a battery metering system and a fuel gauge chip.
  • the fuel gauge chip includes a protection drive circuit, a power supply module, a control circuit and functional components; the first output end of the power supply module is connected to the The protection drive circuit is connected to supply power to the protection drive circuit; the second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit is connected to the functional component; the central processing unit
  • the central processor is connected to the fuel gauge chip and is used to send a control signal to the fuel gauge chip; the control circuit is used to control the functional component to lose power and reset according to the instructions of the control signal. .
  • the remaining functional components in the fuel gauge chip are controlled by the control circuit to lose power and reset according to the instructions of the central processor, while the protection drive circuit is directly powered by the power supply module.
  • the protection drive circuit is always powered and will not shut down, which will not cause the entire electronic device to be powered off, improving the reliability of the battery metering system and improving the efficiency of the battery metering system. User experience.
  • embodiments of the present application provide an electronic device, including: a battery, a fuel gauge chip and a central processor.
  • the fuel gauge chip includes a protection drive circuit, a power supply module, a control circuit and functional components; the battery The output end is connected to the input end of the power supply module, the first output end of the power supply module is connected to the protection drive circuit, and is used to supply power to the protection drive circuit; the second output end of the power supply module is connected to the protection drive circuit.
  • control circuit One end of the control circuit is connected, and the other end of the control circuit is connected to the functional component; the central processor is connected to the fuel gauge chip, and is used to send a control signal to the fuel gauge chip; the control circuit , used to control the functional component to lose power and reset according to the instructions of the control signal.
  • embodiments of the present application provide a control method for a battery metering system, which includes: obtaining status data of a fuel gauge chip; when the status data is abnormal, sending a control signal to the fuel gauge chip; through the The control circuit of the fuel gauge chip controls the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset according to the instructions of the control signal; wherein, the first link between the protection drive circuit and the power supply module of the fuel gauge chip The output end is connected, and the power supply module is used to continuously supply power to the protection drive circuit.
  • Figure 1 shows a schematic structural diagram of a battery metering system provided by an embodiment of the present application
  • Figure 2 shows a schematic diagram of the internal structure of a fuel gauge chip provided by an embodiment of the present application
  • Figure 3 shows a schematic diagram of the level sequence of a control signal provided by an embodiment of the present application
  • Figure 4 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application
  • Figure 5 shows a specific structural schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 shows a schematic flowchart of a control method for a battery metering system provided by an embodiment of the present application.
  • Fuel gauge chip 10; protection drive circuit: 100; power supply module: 101; control circuit: 102; Functional components: 103; Reset interface: 104; Central processing unit: 11; input and output interface: 110; Batteries: 12.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,”"second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • the fuel metering system includes: a fuel gauge chip 10 and a central processor 11.
  • the fuel gauge chip 10 includes a protection drive circuit 100, a power supply module 101, a control circuit 102 and a functional component 103.
  • the first output of the power supply module 101 The second output end of the power supply module 101 is connected to one end of the control circuit 102, and the other end of the control circuit 102 is connected to the functional component 103.
  • the central processing unit 11 is connected to the protection drive circuit 100.
  • the fuel gauge chip 10 is connected to send a control signal to the fuel gauge chip 10, and the control circuit 102 is used to control the functional component 103 to lose power and reset according to the instructions of the control signal.
  • the fuel gauge chip 10 includes a protection drive circuit 100, a power supply module 101, a control circuit 102 and a functional component 103.
  • the functional component 103 includes but is not limited to a system. Clocks, processors, memories, communication modules, coulomb counters, and composite ADCs.
  • the power supply module 101 supplies power to the functional components 103 in the fuel gauge chip 10 through the control circuit 102.
  • the protection drive circuit 100 is directly and continuously powered by the power supply module 101, that is, the protection drive circuit 100 and the first output of the power supply module 101 The path between the terminals continues to be conductive.
  • the central processor 11 sends a control signal to the fuel gauge chip 10, and the control circuit 102 cuts off the second output terminal of the fuel gauge chip 10 according to the instructions of the control signal.
  • the central processor 11 can monitor the status data of the fuel gauge chip 10 to determine whether the fuel gauge chip 10 is abnormal.
  • the central processor 11 is provided with an I2C interface
  • the fuel gauge chip 10 is provided with an I2C interface.
  • the central processor 11 It can communicate with the fuel gauge chip 10 through the I2C bus.
  • the status data of the fuel gauge chip 10 includes I2C communication status data, such as the I2C communication response signal to monitor whether there is a communication failure between the central processor 11 and the fuel gauge chip 10.
  • the status data of the fuel gauge chip 10 also includes: fuel gauge parameters, the fuel gauge parameters include but are not limited to the register status data of the fuel gauge chip 10, the working mode data of the fuel gauge chip 10, battery voltage, Current and battery temperature, as well as at least one of the parameters of each functional component 103 in the fuel gauge chip 10 , the register status data includes the current state of the register to determine whether there is an abnormality of memory flip, and the working mode data includes the current state of the fuel gauge chip 10
  • the working mode of the fuel gauge chip 10 is used to determine whether there is an abnormal working mode problem of the fuel gauge chip 10.
  • the battery voltage, current and battery temperature are used to determine whether the battery is abnormal.
  • the parameters of each functional component 103 of the fuel gauge can be used to determine whether the fuel gauge chip 10 exists.
  • the firmware is locked and does not execute.
  • the fuel gauge chip 10 is provided with a reset interface
  • the central processing unit is provided with an input and output interface
  • the reset interface is connected to the input and output interface
  • the control signal is transmitted through the reset interface and the input and output interface.
  • a reset interface is provided on the fuel gauge chip 10
  • a control circuit 102 is provided inside the fuel gauge chip 10
  • an input and output interface I/O pin
  • the central processor 11 inputs
  • the output interface and the reset interface send control signals to the fuel gauge chip 10
  • the control circuit 102 in the fuel gauge chip 10 controls each functional component 103 in the fuel gauge chip 10 according to the instructions of the control signal.
  • the control signal includes a first control signal and a second control signal.
  • the central processor 11 sends the first control signal to the fuel gauge chip 10.
  • the control circuit 102 controls the functional components 103 in the fuel gauge chip 10 to lose power according to the instructions of the first control signal.
  • the central processor 11 sends a second control signal to the fuel gauge chip 10.
  • the control circuit 102 controls the power quantity according to the instructions of the second control signal.
  • the functional components 103 that lose power in the meter chip 10 are powered on and reset.
  • the first control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power
  • the second control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power to be powered on and reset.
  • the central processing unit 11 sends a first control signal to the fuel gauge chip 10, and 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 instructions of the first control signal, that is, controls the fuel gauge chip.
  • the second output end of the power supply module 101 of 10 is closed, or the connection path between the control circuit 102 and the functional component 103 is lowered, or the input and output interface 110 of the central processor 11 is lowered to a low level, so that the fuel gauge chip 10
  • the functional component 103 loses power, and then the central processor 11 sends a second control signal to power on and reset the functional component 103 in the fuel gauge chip 10 that loses power. Therefore, when the fuel gauge chip 10 is powered off and reset, the protection drive circuit 100 will still not be shut down due to power loss, preventing the entire machine (such as the central processor 11) from shutting down directly due to the fuel gauge chip 10 being reset again, thus improving the This improves the reliability of the fuel gauge chip 10 and improves user experience.
  • 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 the following two risks.
  • the fuel gauge chip 10 may be reset; secondly, when the host-side central processor 11 is damaged or the host-side central processor 11 program runs away, other The level signal output to the battery metering chip may always be high, causing the fuel meter chip 10 to always be in a reset state, causing the battery to be overcharged and unable to be protected. There is a risk of the battery being charged and exploded, posing a safety hazard.
  • 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.
  • a high-level signal or a low-level signal can last for a preset time.
  • at least a level sequence composed of a high-level signal and a low-level signal is a certain time level sequence.
  • the control signal can be defined as Xms high level + Yms low level + Zms high level.
  • the level sequence of various control signals is shown in Figure 3.
  • X, Y and Z can take any values.
  • This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms.
  • the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
  • the power supply module 101 is used to continuously supply power to the protection driving circuit 100, and the protection driving circuit 100 is used to drive the NMOS switch connected to the central processing unit to disconnect when the central processing unit 11 is abnormal.
  • the power supply module 101 continuously supplies power to the protection driving circuit 100. Therefore, when an abnormality occurs in the fuel gauge chip, the protection driving circuit 100 will not lose power.
  • the protection driving circuit 100 can drive the N MOS switch connected to the central processing unit to disconnect, thereby disconnecting the power supply path of the central processing unit, regardless of the state of the fuel gauge chip.
  • the abnormal state is still a normal state. Since the power supply module 101 continues to supply power to the protection drive circuit 100, Therefore, the protection driving circuit 100 is still in a normal working state and drives the NMOS switch to turn off when the CPU 11 is abnormal. In this way, the reliability of the protection drive circuit is higher and the safety performance of the entire battery metering system is improved.
  • the remaining functional components in the fuel gauge chip except the protection drive circuit are controlled by the control circuit to lose power and reset according to the instructions of the central processor, while the protection drive circuit is controlled by the power supply module Direct power supply, when the functional components in the fuel gauge chip lose power and are reset, the protection drive circuit is always powered and will not be shut down, which will not cause the entire electronic device to be powered off, improving the reliability of the battery metering system. Reliability and improved user experience.
  • the fuel gauge chip 10 includes Protection drive circuit 100, power supply module 101, control circuit 102 and functional component 103, the output end of the battery is connected to the input end of the power supply module, the first output end of the power supply module 101 is connected to the protection drive circuit 100, for To supply power to the protection drive circuit 100, the second output end of the power supply module 101 is connected to one end of the control circuit 102, the other end of the control circuit 102 is connected to the functional component 103, and the central processing unit 11 is connected to the fuel gauge chip 10 for supplying power to the protection drive circuit 100.
  • the meter chip 10 sends a control signal to the control circuit 102, which is used to control the functional component 103 to lose power and reset according to the instructions of the control signal.
  • the fuel gauge chip is provided with a reset interface
  • the central processor is provided with an input and output interface
  • the reset interface is connected to the input and output interface
  • the control signal passes through the reset interface and the input and output interface. transmission.
  • 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 and output interface 110 I /O pin
  • the central processing unit 11 sends a control signal to the fuel gauge chip 10 through the input and output interface 110 and the reset interface 104.
  • the control circuit 102 in the fuel gauge chip 10 controls each of the components in the fuel gauge chip 10 according to the instructions of the control signal.
  • Functional component 103 performs control.
  • the power supply pin (VDD pin) and voltage acquisition pin (VBAT pin) of the fuel gauge chip 10 are connected to the positive electrode of the battery, and the charge drive switch (CHG switch) and discharge switch of the protection drive circuit 100 of the fuel gauge chip 10
  • the drive switch (DSG switch) is connected between the battery and the central processor 11
  • the common connection pin (VSS pin) of the fuel gauge chip 10 is connected to the negative pole of the battery
  • the current sampling pin (SRN pin) of the fuel gauge chip 10 ) and the SRP pin are connected between the negative electrode of the battery and the central processor 11.
  • the I2C interface of the fuel gauge chip 10 is connected to the I2C interface of the central processor 11.
  • the power The reset interface 104 of the computer chip 10 is connected to the input and output interface 110 of the central processing unit 11 .
  • the VDD pin represents the internal working voltage of the fuel gauge chip 10
  • the VBAT pin represents that when the VDD pin is powered off, the contents of the register inside the backup fuel gauge chip 10 can be saved and the real-time clock (RTC) can be maintained.
  • VSS means public connection, which refers to the voltage of the common ground terminal of the circuit
  • the CHG switch is used to turn on and off the charging switch tube in the protection drive circuit 100 in the fuel gauge chip 10
  • the DSG switch means to switch on and off the charge switch tube 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. When the temperature of the battery is too high or too low, it will Stop charging.
  • the control signal includes a first control signal and a second control signal.
  • the central processor 11 sends the first control signal to the fuel gauge chip 10.
  • the control circuit 102 controls the functional components 103 in the fuel gauge chip 10 to lose power according to the instructions of the first control signal.
  • the central processor 11 sends a second control signal to the fuel gauge chip 10.
  • the control circuit 102 controls the power quantity according to the instructions of the second control signal.
  • the functional components 103 that lose power in the meter chip 10 are powered on and reset.
  • the first control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power
  • the second control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power to be powered on and reset.
  • the central processing unit 11 sends a first control signal to the fuel gauge chip 10, and 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 instructions of the first control signal, that is, controls the fuel gauge chip.
  • the second output end of the power supply module 101 of 10 is closed, or the connection path between the control circuit 102 and the functional component 103 is lowered, or the input and output interface 110 of the central processor 11 is lowered to a low level, so that the fuel gauge chip 10
  • the functional component 103 loses power, and then the central processor 11 sends a second control signal to power on and reset the functional component 103 in the fuel gauge chip 10 that loses power. Therefore, when the fuel gauge chip 10 is powered off and reset, the protection drive circuit 100 will still not be shut down due to power loss, preventing the entire machine (such as the central processor 11) from shutting down directly due to the fuel gauge chip 10 being reset again, thus improving the This improves the reliability of the fuel gauge chip 10 and improves user experience.
  • 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 the following two risks.
  • the fuel gauge chip 10 may be reset; Secondly, when the host-side central processor 11 is damaged or the host-side central processor 11 program runs away, the level signal it outputs to the battery metering chip may always be high, causing the fuel meter chip 10 to be in a reset state all the time, causing the battery to fail. If the battery is overcharged and cannot be protected, there is a risk of the battery exploding, posing a safety hazard.
  • 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.
  • a high-level signal or a low-level signal can last for a preset time.
  • at least a level sequence composed of a high-level signal and a low-level signal is a certain time level sequence.
  • the control signal can be defined as Xms high level + Yms low level + Zms high level.
  • the level sequence of various control signals is shown in Figure 3.
  • X, Y and Z can take any values.
  • This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms.
  • the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
  • the central processing unit is connected to the battery through an NMOS switch
  • the power supply module is used to continuously supply power to the protection driving circuit
  • the protection driving circuit is used to operate the central processing unit when the central processing unit When abnormal, the NMOS switch connected to the central processing unit is disconnected.
  • the power supply module 101 continuously supplies power to the protection driving circuit 100. Therefore, when an abnormality occurs in the fuel gauge chip, the protection driving circuit 100 will not lose power.
  • the protection drive circuit 100 can drive the NMOS switch connected to the central processor to disconnect, thereby disconnecting the power supply path between the battery and the central processor, regardless of the fuel gauge chip.
  • the protection drive circuit 100 is still in a normal working state, and drives the NMOS switch to open when the central processor 11 is abnormal, thereby cutting off the battery. and the central processing unit 11. In this way, the reliability of the protection drive circuit is higher and the safety performance of the entire battery metering system is improved.
  • the embodiment of the present application provides a control method for a battery metering system, which should For electronic equipment, that is to say, it can be executed by hardware or software of the electronic equipment, the control method includes the following steps:
  • Step S601 Obtain status data of the fuel gauge chip.
  • the protection driving circuit is connected to the first output end of the power supply module of the fuel gauge chip, and the power supply module is used to continuously supply power to the protection driving circuit.
  • the fuel gauge chip communicates with the central processor through the I2C bus.
  • the status data of the fuel gauge chip includes the I2C communication status data of the fuel gauge chip and the central processor, the register status data of the fuel gauge chip and the working mode of the fuel gauge chip. At least one of the data.
  • the status data of the fuel gauge chip includes I2C communication status data, such as the I2C communication response signal to monitor whether there is an abnormal communication hangup between the central processor and the fuel gauge chip;
  • the status data of the fuel gauge chip also includes: fuel gauge Parameters, fuel gauge parameters include but are not limited to register status data of the fuel gauge chip, working mode data of the fuel gauge chip, battery voltage, current and battery temperature, and at least one of the parameters of each functional component in the fuel gauge chip, register status data Including the current state of the register to determine whether there is an abnormality in memory flipping.
  • the working mode data includes the current working mode of the fuel gauge chip to determine whether there is an abnormal working mode problem in the fuel gauge chip. Through the battery voltage, current and battery temperature In order to determine whether there is an abnormality in the battery, each functional component parameter of the fuel gauge can be used to determine whether there is an abnormality in the firmware of the fuel gauge chip that is locked and does not execute.
  • Step S603 When the status data is abnormal, send a control signal to the fuel gauge chip.
  • the central processor sends a control signal to the fuel gauge chip.
  • the control signal includes a first control signal and a second control signal.
  • the first control signal indicates that a functional component in the fuel gauge chip has failed.
  • the second control signal is an electrical signal, and the second control signal is for instructing the power-off functional components in the fuel gauge chip to be powered on and reset again.
  • Step S605 Use the control circuit of the fuel gauge chip to control the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset according to the instructions of the control signal.
  • the protection driving circuit is connected to the first output end of the power supply module of the fuel gauge chip, and the power supply module is used to continuously supply power to the protection driving circuit.
  • the fuel gauge chip includes but is not limited to protection drive circuit, power supply module, control circuit and functional components.
  • functional components include but are not limited to system clock, processor, memory, communication module, coulomb counter and composite ADC; the first output end of the power supply module is connected to the protection drive circuit for supplying power to the protection drive circuit, the second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit Connected to the functional components, the central processing unit is connected to the fuel gauge chip and used to send control signals to the fuel gauge chip; the control circuit is used to control the functional components to lose power and reset according to the instructions of the control signal.
  • control circuit cuts off the connection path between the second output terminal of the fuel gauge chip and the control circuit, or the connection path between the control circuit and the functional component according to the instruction of the control signal, and then the central processor sends the control signal to let the power
  • the meter chip is powered on and reset without turning off the protection drive circuit.
  • the control circuit re-runs the program according to the instructions of the control signal.
  • the drive circuit is protected. It will still not shut down due to power loss, preventing the entire machine (central processing unit) from shutting down directly due to the resetting of the fuel gauge chip.
  • the remaining functional components in the fuel gauge chip except the protection drive circuit are controlled by the control circuit to lose power according to the instructions of the central processor. And reset, and the protection drive circuit is directly powered by the power supply module.
  • the protection drive circuit is always powered and will not shut down, which will not cause damage to the electronic equipment. The entire machine is powered off, which improves the reliability of the battery metering system and improves the user experience.
  • step S605 includes: when the control signal is a valid control signal, controlling the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset through the control circuit; the valid control signal includes at least A level sequence consisting of a high-level signal and at least one low-level signal.
  • a high-level signal or a low-level signal in the effective control signal can last for a preset time.
  • the level sequence composed of at least one high-level signal and a low-level signal is a certain time level sequence.
  • the control signal can be defined as Xms high level + Yms low level + Zms high level.
  • the level sequence of various control signals is shown in Figure 3.
  • X, Y and Z can take any values. This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms.
  • the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
  • step S405 includes: sending a first control signal to the fuel gauge chip, and controlling the functional components in the fuel gauge chip through the control circuit according to the instructions of the first control signal. Loss of power; sending a second control signal to the fuel gauge chip, and controlling the power-on reset of the functional components of the fuel gauge chip that lose power according to the instructions of the second control signal through the control circuit.
  • the control signal includes a first control signal and a second control signal.
  • the central processor sends the first control signal to the fuel gauge chip, and the control circuit cuts off the second output terminal of the fuel gauge chip and the control circuit according to the instructions of the first control signal.
  • the connection path between the circuits that is, the control circuit controls the second output end of the power supply module in the fuel gauge chip to close according to the instructions of the first control signal, or controls the connection path between the circuit and the functional component, or pulls down the central processing unit
  • the input and output interface of the device is at a low level, causing the functional components in the fuel gauge chip to lose power, and then the central processor sends a second control signal to power on and reset the functional components in the fuel gauge chip that have lost power.
  • the protection drive circuit will still not shut down due to loss of power, preventing the entire machine (such as the central processor) from shutting down directly due to the fuel gauge chip being reset again, thus improving the efficiency of the fuel gauge chip.
  • the reliability improves the user experience.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.

Abstract

A battery metering system, an electronic device, and a control method for the battery metering system. The battery metering system comprises: a power metering chip (10), which comprises a protective driving circuit (100), a power supply module (101), a control circuit (102), and a functional component (103), wherein a first output terminal of the power supply module (101) is connected to the protective driving circuit (100) and is used for supplying power to the protective driving circuit (100), a second output terminal of the power supply module (101) is connected to one terminal of the control circuit (102), and the other terminal of the control circuit (102) is connected to the functional component (103); a central processing unit (11) which is connected to the power metering chip (10) and used for sending a control signal to the power metering chip (10); and a control circuit (102) which is used for controlling the functional component (103) to be powered off and reset according to the instruction of the control signal.

Description

电池计量系统、电子设备及控制方法Battery metering system, electronic device and control method
交叉引用cross reference
本申请要求在2022年08月22日提交中国专利局、申请号为202211005224.2、名称为“电池计量系统、电子设备及控制方法”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on August 22, 2022, with application number 202211005224.2 and titled "Battery Metering System, Electronic Device and Control Method". The entire content of this application is incorporated by reference in in this application.
技术领域Technical field
本申请涉及电池技术领域,尤其涉及一种电池计量系统、电子设备及控制方法。The present application relates to the field of battery technology, and in particular, to a battery metering system, electronic equipment and control method.
背景技术Background technique
随着科学技术的发展,电子产品的种类越来越丰富,用户对电子产品的要求也越来越高,其中,良好的电量体验是对电子产品的竞争力有较大的提升。电子产品的电池计量系统中设置独立的电量计芯片不仅可以精准的提供电池的电量,还可以对电池的可靠性和安全性做出准确的计算和预警。其中,电量计芯片内包括供电模块、系统时钟、通讯模块、处理器以及高端保护驱动模块等。供电模块向电量计芯片中的其他模块供电,在供电模块向电量计芯片中的其他模块供电后,电量计芯片将采集到的电池信息的模拟量转换为数字量,与整机的中央处理器(Central Processing Unit,CPU)进行通讯。With the development of science and technology, the types of electronic products are becoming more and more abundant, and users have higher and higher requirements for electronic products. Among them, a good power experience greatly improves the competitiveness of electronic products. Setting up an independent fuel gauge chip in the battery metering system of electronic products can not only accurately provide the battery's power, but also make accurate calculations and early warnings about the reliability and safety of the battery. Among them, the fuel gauge chip includes a power supply module, system clock, communication module, processor and high-end protection driver module. The power supply module supplies power to other modules in the fuel gauge chip. After the power supply module supplies power to other modules in the fuel gauge chip, the fuel gauge chip converts the analog quantity of the collected battery information into a digital quantity and communicates with the central processor of the whole machine. (Central Processing Unit, CPU) communicates.
在实际应用中,在电量计芯片出现通讯挂掉以及存储器位翻转等异常时,会严重影响电量计芯片和整机的正常工作,相关技术中,采用负载开关直接给供电模块断电后再复位整个电量计芯片,在供电模块断电后电量计芯片中的保护驱动电路也会关断,从而造成电子设备整机断电,电子设备电池计量系统的可靠性较低,影响用户体验感。In practical applications, when the fuel gauge chip encounters abnormalities such as communication failure and memory bit flipping, it will seriously affect the normal operation of the fuel gauge chip and the entire machine. In related technologies, a load switch is used to directly power off the power supply module and then reset it. The entire fuel gauge chip, the protection drive circuit in the fuel gauge chip will also be shut down after the power supply module is powered off, causing the entire electronic device to be powered off. The reliability of the battery metering system of the electronic device is low, affecting the user experience.
发明内容Contents of the invention
本申请实施例的目的是提供一种电池计量系统、电子设备及控制方法, 能够解决电子设备的电池计量系统的可靠性较低的问题。The purpose of the embodiments of this application is to provide a battery metering system, electronic equipment and control method, It can solve the problem of low reliability of the battery metering system of electronic equipment.
第一方面,本申请实施例提供了一种电池计量系统,电量计芯片,所述电量计芯片包括保护驱动电路、供电模块、控制电路和功能部件;所述供电模块的第一输出端与所述保护驱动电路连接,用于向所述保护驱动电路供电;所述供电模块的第二输出端与所述控制电路的一端连接,所述控制电路的另一端与所述功能部件连接;中央处理器,所述中央处理器与所述电量计芯片连接,用于向所述电量计芯片发送控制信号;所述控制电路,用于按照所述控制信号的指示控制所述功能部件失电并复位。In a first aspect, embodiments of the present application provide a battery metering system and a fuel gauge chip. The fuel gauge chip includes a protection drive circuit, a power supply module, a control circuit and functional components; the first output end of the power supply module is connected to the The protection drive circuit is connected to supply power to the protection drive circuit; the second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit is connected to the functional component; the central processing unit The central processor is connected to the fuel gauge chip and is used to send a control signal to the fuel gauge chip; the control circuit is used to control the functional component to lose power and reset according to the instructions of the control signal. .
可以看出,电量计芯片中的除了保护驱动电路外的其余的功能部件是通过控制电路按照中央处理器的指示控制功能部件失电并复位,而保护驱动电路是由供电模块直接供电,在电量计芯片中的功能部件失电并复位的过程中,保护驱动电路一直得电,并不会关断,也就不会造成电子设备整机断电,提高了电池计量系统的可靠性,提高了用户体验感。It can be seen that, except for the protection drive circuit, the remaining functional components in the fuel gauge chip are controlled by the control circuit to lose power and reset according to the instructions of the central processor, while the protection drive circuit is directly powered by the power supply module. When the functional components in the meter chip lose power and are reset, the protection drive circuit is always powered and will not shut down, which will not cause the entire electronic device to be powered off, improving the reliability of the battery metering system and improving the efficiency of the battery metering system. User experience.
第二方面,本申请实施例提供了一种电子设备,包括:电池,电量计芯片和中央处理器,所述电量计芯片包括保护驱动电路、供电模块、控制电路和功能部件;所述电池的输出端与所述供电模块的输入端连接,所述供电模块的第一输出端与所述保护驱动电路连接,用于向所述保护驱动电路供电;所述供电模块的第二输出端与所述控制电路的一端连接,所述控制电路的另一端与所述功能部件连接;所述中央处理器与所述电量计芯片连接,用于向所述电量计芯片发送控制信号;所述控制电路,用于按照所述控制信号的指示控制所述功能部件失电并复位。In a second aspect, embodiments of the present application provide an electronic device, including: a battery, a fuel gauge chip and a central processor. The fuel gauge chip includes a protection drive circuit, a power supply module, a control circuit and functional components; the battery The output end is connected to the input end of the power supply module, the first output end of the power supply module is connected to the protection drive circuit, and is used to supply power to the protection drive circuit; the second output end of the power supply module is connected to the protection drive circuit. One end of the control circuit is connected, and the other end of the control circuit is connected to the functional component; the central processor is connected to the fuel gauge chip, and is used to send a control signal to the fuel gauge chip; the control circuit , used to control the functional component to lose power and reset according to the instructions of the control signal.
第三方面,本申请实施例提供了一种电池计量系统的控制方法,包括:获取电量计芯片的状态数据;在所述状态数据异常时,向所述电量计芯片发送控制信号;通过所述电量计芯片的控制电路按照所述控制信号的指示控制所述电量计芯片中除保护驱动电路外的功能部件失电并复位;其中,所述保护驱动电路与电量计芯片的供电模块的第一输出端连接,所述供电模块用于向所述保护驱动电路持续供电。In a third aspect, embodiments of the present application provide a control method for a battery metering system, which includes: obtaining status data of a fuel gauge chip; when the status data is abnormal, sending a control signal to the fuel gauge chip; through the The control circuit of the fuel gauge chip controls the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset according to the instructions of the control signal; wherein, the first link between the protection drive circuit and the power supply module of the fuel gauge chip The output end is connected, and the power supply module is used to continuously supply power to the protection drive circuit.
可以看出,在电量计芯片的状态数据异常时,电量计芯片中的除了保护驱动电路外的其余的功能部件是通过控制电路按照中央处理器的指示控制功能部件失电并复位,而保护驱动电路是由供电模块直接供电,在电量计芯片中的功能部件失电并复位的过程中,保护驱动电路一直得电,并不会关断, 也就不会造成电子设备整机断电,提高了电池计量系统的可靠性,提高了用户体验感。It can be seen that when the status data of the fuel gauge chip is abnormal, the remaining functional components in the fuel gauge chip except the protection drive circuit are controlled by the control circuit to lose power and reset according to the instructions of the central processor, while the protection drive circuit The circuit is directly powered by the power supply module. When the functional components in the fuel gauge chip lose power and are reset, the protection drive circuit is always powered and will not shut down. This will prevent the entire electronic device from losing power, improve the reliability of the battery metering system, and improve the user experience.
附图说明Description of drawings
图1示出本申请实施例提供的一种电池计量系统的结构示意图;Figure 1 shows a schematic structural diagram of a battery metering system provided by an embodiment of the present application;
图2示出本申请实施例提供的一种电量计芯片的内部结构示意图;Figure 2 shows a schematic diagram of the internal structure of a fuel gauge chip provided by an embodiment of the present application;
图3示出本申请实施例提供的一种控制信号的电平序列示意图;Figure 3 shows a schematic diagram of the level sequence of a control signal provided by an embodiment of the present application;
图4示出本申请实施例提供的一种电子设备的结构示意图;Figure 4 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5示出本申请实施例提供的一种电子设备的具体结构示意图;Figure 5 shows a specific structural schematic diagram of an electronic device provided by an embodiment of the present application;
图6示出本申请实施例提供的一种电池计量系统的控制方法的流程示意图。FIG. 6 shows a schematic flowchart of a control method for a battery metering system provided by an embodiment of the present application.
附图标记:
电量计芯片:10;保护驱动电路:100;供电模块:101;控制电路:102;
功能部件:103;复位接口:104;
中央处理器:11;输入输出接口:110;
电池:12。
Reference signs:
Fuel gauge chip: 10; protection drive circuit: 100; power supply module: 101; control circuit: 102;
Functional components: 103; Reset interface: 104;
Central processing unit: 11; input and output interface: 110;
Batteries: 12.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。 The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,""second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图1至6,通过具体的实施例及其应用场景对本申请实施例提供的电池计量系统、电子设备及电池计量系统的控制方法进行详细地说明。The battery metering system, the electronic device and the control method of the battery metering system provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings 1 to 6 through specific embodiments and application scenarios.
如图1所示,电量计量系统包括:电量计芯片10和中央处理器11,电量计芯片10包括保护驱动电路100、供电模块101、控制电路102和功能部件103,供电模块101的第一输出端与保护驱动电路100连接,用于向保护驱动电路100供电,供电模块101的第二输出端与控制电路102的一端连接,控制电路102的另一端与功能部件103连接,中央处理器11与电量计芯片10连接,用于向电量计芯片10发送控制信号,控制电路102,用于按照控制信号的指示控制功能部件103失电并复位。As shown in Figure 1, the fuel metering system includes: a fuel gauge chip 10 and a central processor 11. The fuel gauge chip 10 includes a protection drive circuit 100, a power supply module 101, a control circuit 102 and a functional component 103. The first output of the power supply module 101 The second output end of the power supply module 101 is connected to one end of the control circuit 102, and the other end of the control circuit 102 is connected to the functional component 103. The central processing unit 11 is connected to the protection drive circuit 100. The fuel gauge chip 10 is connected to send a control signal to the fuel gauge chip 10, and the control circuit 102 is used to control the functional component 103 to lose power and reset according to the instructions of the control signal.
如图2所示,示出了电量计芯片10的内部的结构,电量计芯片10包括保护驱动电路100、供电模块101、控制电路102和功能部件103,其中,功能部件103包括但不限于系统时钟、处理器、存储器、通讯模块、库仑计以及复合ADC。As shown in Figure 2, the internal structure of the fuel gauge chip 10 is shown. The fuel gauge chip 10 includes a protection drive circuit 100, a power supply module 101, a control circuit 102 and a functional component 103. The functional component 103 includes but is not limited to a system. Clocks, processors, memories, communication modules, coulomb counters, and composite ADCs.
具体来讲,供电模块101通过控制电路102后向电量计芯片10中的功能部件103供电,保护驱动电路100是由供电模块101直接持续供电,即保护驱动电路100与供电模块101的第一输出端之间的通路持续导通,在电量计芯片10出现异常时,中央处理器11向电量计芯片10发送控制信号,控制电路102按照控制信号的指示切断电量计芯片10的第二输出端与控制电路102之间的连接通路,或者控制电路102与功能部件103之间的连接通路,然后中央处理器11发送控制信号让电量计芯片10重新上电复位,同时不关断保护驱动电路100,电量计芯片10接收到控制信号后,控制电路102按照控制信号的指示重新运行程序,在电量计芯片10掉电并复位的过程中,保护驱动电路100仍不会失电而关闭,避免整机端(中央处理器)由于电量计芯片10重新复位而直接关机。Specifically, the power supply module 101 supplies power to the functional components 103 in the fuel gauge chip 10 through the control circuit 102. The protection drive circuit 100 is directly and continuously powered by the power supply module 101, that is, the protection drive circuit 100 and the first output of the power supply module 101 The path between the terminals continues to be conductive. When an abnormality occurs in the fuel gauge chip 10, the central processor 11 sends a control signal to the fuel gauge chip 10, and the control circuit 102 cuts off the second output terminal of the fuel gauge chip 10 according to the instructions of the control signal. The connection path between the control circuits 102, or the connection path between the control circuit 102 and the functional component 103, and then the central processor 11 sends a control signal to re-power on the fuel gauge chip 10 and reset it without turning off the protection drive circuit 100, After the fuel gauge chip 10 receives the control signal, the control circuit 102 re-runs the program according to the instructions of the control signal. When the fuel gauge chip 10 loses power and is reset, the protection drive circuit 100 still does not lose power and shut down, preventing the entire machine from being shut down. The terminal (central processing unit) is directly shut down due to the fuel gauge chip 10 being reset again.
其中,可以通过中央处理器11监测电量计芯片10的状态数据来判断电量计芯片10是否出现异常,具体是中央处理器11设有I2C接口,电量计芯片10设有I2C接口,中央处理器11和电量计芯片10之间可以通过I2C总线通讯,电量计芯片10的状态数据包括I2C的通讯状态数据,如I2C通讯应答信号以监测中央处理器11与电量计芯片10之间是否有通讯挂掉的异常;电量计芯片10的状态数据还包括:电量计参数,电量计参数包括但不限于电量计芯片10的寄存器状态数据、电量计芯片10的工作模式数据、电池电压、 电流和电池温度以及电量计芯片10中各个功能部件103参数中的至少一者,寄存器状态数据包括寄存器当前所处的状态以确定是否存在存储器翻转的异常,工作模式数据包括电量计芯片10当前所处的工作模式以确定电量计芯片10是否存在异常工作模式的问题,通过电池电压、电流和电池温度以确定电池是否出现异常,通过电量计的各个功能部件103参数可以确定电量计芯片10是否存在固件锁死不执行的异常。Among them, the central processor 11 can monitor the status data of the fuel gauge chip 10 to determine whether the fuel gauge chip 10 is abnormal. Specifically, the central processor 11 is provided with an I2C interface, and the fuel gauge chip 10 is provided with an I2C interface. The central processor 11 It can communicate with the fuel gauge chip 10 through the I2C bus. The status data of the fuel gauge chip 10 includes I2C communication status data, such as the I2C communication response signal to monitor whether there is a communication failure between the central processor 11 and the fuel gauge chip 10. abnormality; the status data of the fuel gauge chip 10 also includes: fuel gauge parameters, the fuel gauge parameters include but are not limited to the register status data of the fuel gauge chip 10, the working mode data of the fuel gauge chip 10, battery voltage, Current and battery temperature, as well as at least one of the parameters of each functional component 103 in the fuel gauge chip 10 , the register status data includes the current state of the register to determine whether there is an abnormality of memory flip, and the working mode data includes the current state of the fuel gauge chip 10 The working mode of the fuel gauge chip 10 is used to determine whether there is an abnormal working mode problem of the fuel gauge chip 10. The battery voltage, current and battery temperature are used to determine whether the battery is abnormal. The parameters of each functional component 103 of the fuel gauge can be used to determine whether the fuel gauge chip 10 exists. The firmware is locked and does not execute.
在一种可能的实现方式中,电量计芯片10设有复位接口,中央处理器设有输入输出接口,复位接口与输入输出接口连接,控制信号通过复位接口和输入输出接口传输。In a possible implementation, the fuel gauge chip 10 is provided with a reset interface, the central processing unit is provided with an input and output interface, the reset interface is connected to the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
具体来讲,在电量计芯片10上设置一个复位接口,电量计芯片10内部设置控制电路102,在中央处理器11上设置一个输入输出接口(I/O引脚),中央处理器11通过输入输出接口和复位接口发送控制信号至电量计芯片10,电量计芯片10中的控制电路102按照控制信号的指示对电量计芯片10中的各个功能部件103进行控制。Specifically, a reset interface is provided on the fuel gauge chip 10, a control circuit 102 is provided inside the fuel gauge chip 10, and an input and output interface (I/O pin) is provided on the central processor 11. The central processor 11 inputs The output interface and the reset interface send control signals to the fuel gauge chip 10 , 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 instructions of the control signal.
在一种可能的实现方式中,控制信号包括第一控制信号和第二控制信号,在电量计芯片10的状态数据异常的情况下,中央处理器11向电量计芯片10发送第一控制信号,控制电路102根据第一控制信号的指示控制电量计芯片10内的功能部件103失电,中央处理器11向电量计芯片10发送第二控制信号,控制电路102根据第二控制信号的指示控制电量计芯片10内失电的功能部件103上电复位。In a possible implementation, the control signal includes a first control signal and a second control signal. When the status data of the fuel gauge chip 10 is abnormal, the central processor 11 sends the first control signal to the fuel gauge chip 10, The control circuit 102 controls the functional components 103 in the fuel gauge chip 10 to lose power according to the instructions of the first control signal. The central processor 11 sends a second control signal to the fuel gauge chip 10. The control circuit 102 controls the power quantity according to the instructions of the second control signal. The functional components 103 that lose power in the meter chip 10 are powered on and reset.
具体来讲,第一控制信号为指示电量计芯片10内的功能部件103失电的信号,第二控制信号为指示电量计芯片10内失电的功能部件103重新上电复位。中央处理器11向电量计芯片10发送第一控制信号,控制电路102按照第一控制信号的指示切断电量计芯片10的第二输出端与控制电路102之间的连接通路,即控制电量计芯片10的供电模块101的第二输出端关闭,或者控制电路102与功能部件103之间的连接通路,或者拉低中央处理器11的输入输出接口110为低电平,使得电量计芯片10内的功能部件103失电,然后中央处理器11发送第二控制信号让电量计芯片10内失电的功能部件103重新上电复位。因此,在电量计芯片10掉电并复位的过程中,保护驱动电路100仍不会失电而关闭,避免整机端(如中央处理器11)由于电量计芯片10重新复位而直接关机,提高了电量计芯片10的可靠性,提升了用户体验感。 Specifically, the first control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power, and the second control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power to be powered on and reset. The central processing unit 11 sends a first control signal to the fuel gauge chip 10, and 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 instructions of the first control signal, that is, controls the fuel gauge chip. The second output end of the power supply module 101 of 10 is closed, or the connection path between the control circuit 102 and the functional component 103 is lowered, or the input and output interface 110 of the central processor 11 is lowered to a low level, so that the fuel gauge chip 10 The functional component 103 loses power, and then the central processor 11 sends a second control signal to power on and reset the functional component 103 in the fuel gauge chip 10 that loses power. Therefore, when the fuel gauge chip 10 is powered off and reset, the protection drive circuit 100 will still not be shut down due to power loss, preventing the entire machine (such as the central processor 11) from shutting down directly due to the fuel gauge chip 10 being reset again, thus improving the This improves the reliability of the fuel gauge chip 10 and improves user experience.
对于中央处理器11而言,如果直接输出高电平信号给电量计芯片10的复位接口104以复位电量计芯片10,可能会存在以下两种风险,其一:若电池计量芯片存在DSG开关关闭的动作,在主机端的供电电压低于其最低工作电压时,主机端的输入输出接口110并不能保证一定输出低电平,有可能导致电量计芯片10一直处于复位状态,导致过充电不能保护,存在安全隐患,且每次有DSG开关关闭的动作时,电量计芯片10都可能会存在复位的动作;其二,当主机端的中央处理器11损坏或主机端中央处理器11程序跑飞时,其输出给电池计量芯片的电平信号可能一直为高,导致电量计芯片10一直处于复位状态,导致电池过充电而不能保护,电池存在充爆的风险,存在安全隐患。For the central processor 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 the following two risks. One: if the DSG switch of the battery metering chip is turned off. action, when the power supply voltage of the host is lower than its minimum operating voltage, the input and output interface 110 of the host cannot guarantee a certain output low level, which may cause the fuel gauge chip 10 to be in a reset state all the time, causing overcharge protection to fail. There is a safety risk, and every time the DSG switch is turned off, the fuel gauge chip 10 may be reset; secondly, when the host-side central processor 11 is damaged or the host-side central processor 11 program runs away, other The level signal output to the battery metering chip may always be high, causing the fuel meter chip 10 to always be in a reset state, causing the battery to be overcharged and unable to be protected. There is a risk of the battery being charged and exploded, posing a safety hazard.
在一种可能的实现方式中,针对上述的问题,本申请实施例提供的控制信号为至少一个高电平信号和至少一个低电平信号组成的电平序列。In a possible implementation manner, to address the above problems, 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.
具体来讲,一个高电平信号或低电平信号可以持续预设时间,如此,至少一个高电平信号和低电平信号组成的电平序列是一定的时间电平序列。控制信号可以定义为Xms高电平+Yms低电平+Zms高电平,如图3所示的各种控制信号的电平序列,其中,X、Y和Z可以取任意数值,本申请实施例在此并不作限定,如X取值100ms、Y取值200ms以及Z取值100ms。另外,上述的第一控制信号和第二控制信号可以采用不同的电平序列以此实现不同的功能。Specifically, a high-level signal or a low-level signal can last for a preset time. In this way, at least a level sequence composed of a high-level signal and a low-level signal is a certain time level sequence. The control signal can be defined as Xms high level + Yms low level + Zms high level. The level sequence of various control signals is shown in Figure 3. Among them, X, Y and Z can take any values. This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms. In addition, the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
值得注意的是,电平序列还可以为其他组合,本申请实施例在此并不作限定。It is worth noting that the level sequence can also be other combinations, which are not limited in the embodiments of the present application.
如此,通过一定的时间电平序列,有效避免了单纯的一个高电平信号带来误触发的问题,消除安全隐患,进一步提高了电池计量系统的可靠性。In this way, through a certain time level sequence, the problem of false triggering caused by a simple high-level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
在一种可能的实现方式中,供电模块101用于向保护驱动电路100持续供电,保护驱动电路100用于在中央处理器11异常时,驱动与中央处理器连接的NMOS开关管断开。In one possible implementation, the power supply module 101 is used to continuously supply power to the protection driving circuit 100, and the protection driving circuit 100 is used to drive the NMOS switch connected to the central processing unit to disconnect when the central processing unit 11 is abnormal.
具体来讲,供电模块101持续向保护驱动电路100供电,因此,在电量计芯片出现异常时,保护驱动电路100并不会失电。在中央处理器11出现过流、过压等异常情况时,保护驱动电路100能够驱动与中央处理器连接的N MOS开关管断开,从而断开中央处理器的供电通路,不论电量计芯片处于异常状态还是正常状态,由于供电模块101持续向保护驱动电路100供电,因 此,保护驱动电路100仍旧处于正常的工作状态,并在中央处理器11异常时驱动NMOS开关管断开。如此,保护驱动电路的可靠性更高,提高了整个电池计量系统的安全性能。Specifically, the power supply module 101 continuously supplies power to the protection driving circuit 100. Therefore, when an abnormality occurs in the fuel gauge chip, the protection driving circuit 100 will not lose power. When an abnormal situation such as overcurrent or overvoltage occurs in the central processing unit 11, the protection driving circuit 100 can drive the N MOS switch connected to the central processing unit to disconnect, thereby disconnecting the power supply path of the central processing unit, regardless of the state of the fuel gauge chip. The abnormal state is still a normal state. Since the power supply module 101 continues to supply power to the protection drive circuit 100, Therefore, the protection driving circuit 100 is still in a normal working state and drives the NMOS switch to turn off when the CPU 11 is abnormal. In this way, the reliability of the protection drive circuit is higher and the safety performance of the entire battery metering system is improved.
通过本申请实施例公开的技术方案,电量计芯片中除了保护驱动电路外的其余的功能部件是通过控制电路按照中央处理器的指示控制功能部件失电并复位,而保护驱动电路是由供电模块直接供电,在电量计芯片中的功能部件失电并复位的过程中,保护驱动电路一直得电,并不会关断,也就不会造成电子设备整机断电,提高了电池计量系统的可靠性,提高了用户体验感。Through the technical solutions disclosed in the embodiments of this application, the remaining functional components in the fuel gauge chip except the protection drive circuit are controlled by the control circuit to lose power and reset according to the instructions of the central processor, while the protection drive circuit is controlled by the power supply module Direct power supply, when the functional components in the fuel gauge chip lose power and are reset, the protection drive circuit is always powered and will not be shut down, which will not cause the entire electronic device to be powered off, improving the reliability of the battery metering system. Reliability and improved user experience.
如图4所示,示出本申请实施例提供的一种电子设备的结构示意图,包括电量计芯片10、中央处理器11和电池12,如上述图2所示出的,电量计芯片10包括保护驱动电路100、供电模块101、控制电路102和功能部件103,所述电池的输出端与所述供电模块的输入端连接,供电模块101的第一输出端与保护驱动电路100连接,用于向保护驱动电路100供电,供电模块101的第二输出端与控制电路102的一端连接,控制电路102的另一端与功能部件103连接,中央处理器11与电量计芯片10连接,用于向电量计芯片10发送控制信号,控制电路102,用于按照控制信号的指示控制功能部件103失电并复位。As shown in FIG. 4 , a schematic structural diagram of an electronic device provided by an embodiment of the present application is shown, including a fuel gauge chip 10 , a central processing unit 11 and a battery 12 . As shown in FIG. 2 above, the fuel gauge chip 10 includes Protection drive circuit 100, power supply module 101, control circuit 102 and functional component 103, the output end of the battery is connected to the input end of the power supply module, the first output end of the power supply module 101 is connected to the protection drive circuit 100, for To supply power to the protection drive circuit 100, the second output end of the power supply module 101 is connected to one end of the control circuit 102, the other end of the control circuit 102 is connected to the functional component 103, and the central processing unit 11 is connected to the fuel gauge chip 10 for supplying power to the protection drive circuit 100. The meter chip 10 sends a control signal to the control circuit 102, which is used to control the functional component 103 to lose power and reset according to the instructions of the control signal.
具体来讲,电量计芯片设有复位接口,所述中央处理器设有输入输出接口;所述复位接口与所述输入输出接口连接,所述控制信号通过所述复位接口和所述输入输出接口传输。Specifically, the fuel gauge chip is provided with a reset interface, and the central processor is provided with an input and output interface; the reset interface is connected to the input and output interface, and the control signal passes through the reset interface and the input and output interface. transmission.
如图5所示的,在电量计芯片10上设置一个复位接口104(por脚),电量计芯片10内部设置控制电路102,在主机端(中央处理器11)设置一个输入输出接口110(I/O引脚),中央处理器11通过输入输出接口110和复位接口104发送控制信号至电量计芯片10,电量计芯片10中的控制电路102按照控制信号的指示对电量计芯片10中的各个功能部件103进行控制。As shown in Figure 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, and an input and output interface 110 (I /O pin), the central processing unit 11 sends a control signal to the fuel gauge chip 10 through the input and output interface 110 and the reset interface 104. The control circuit 102 in the fuel gauge chip 10 controls each of the components in the fuel gauge chip 10 according to the instructions of the control signal. Functional component 103 performs control.
其中,电量计芯片10的供电引脚(VDD引脚)和电压采集引脚(VBAT引脚)接入电池的正极,电量计芯片10的保护驱动电路100的充电驱动开关(CHG开关)和放电驱动开关(DSG开关)接入电池和中央处理器11之间,电量计芯片10的公共连接引脚(VSS引脚)接入电池的负极,电量计芯片10的电流采样引脚(SRN引脚)和SRP引脚接入电池的负极和中央处理器11之间,电量计芯片10的I2C接口与中央处理器11的I2C接口连接,电量 计芯片10的复位接口104与中央处理器11的输入输出接口110连接。其中,VDD引脚表示电量计芯片10内部的工作电压,VBAT引脚表示在VDD引脚断电时,可以保存备份电量计芯片10内部的寄存器的内容和维持实时时钟(Real-time clock,RTC)的功能,VSS表示公共连接,其指的是电路公共接地端的电压,CHG开关用于对电量计芯片10中保护驱动电路100中充电开关管的通断,DSG开关表示对电量计芯片10中保护驱动电路100中放电开关管的通断,SRN引脚为输入控制信号负端,SRP为输入控制信号正端,TEMP接口用于监测电池的温度,当电池的温度过高或过低时会停止充电。Among them, the power supply pin (VDD pin) and voltage acquisition pin (VBAT pin) of the fuel gauge chip 10 are connected to the positive electrode of the battery, and the charge drive switch (CHG switch) and discharge switch of the protection drive circuit 100 of the fuel gauge chip 10 The drive switch (DSG switch) is connected between the battery and the central processor 11, the common connection pin (VSS pin) of the fuel gauge chip 10 is connected to the negative pole of the battery, and the current sampling pin (SRN pin) of the fuel gauge chip 10 ) and the SRP pin are connected between the negative electrode of the battery and the central processor 11. The I2C interface of the fuel gauge chip 10 is connected to the I2C interface of the central processor 11. The power The reset interface 104 of the computer chip 10 is connected to the input and output interface 110 of the central processing unit 11 . Among them, the VDD pin represents the internal working voltage of the fuel gauge chip 10, and the VBAT pin represents that when the VDD pin is powered off, the contents of the register inside the backup fuel gauge chip 10 can be saved and the real-time clock (RTC) can be maintained. ) function, VSS means public connection, which refers to the voltage of the common ground terminal of the circuit, the CHG switch is used to turn on and off the charging switch tube in the protection drive circuit 100 in the fuel gauge chip 10, and the DSG switch means to switch on and off the charge switch tube in the fuel gauge chip 10 To protect the on and off of the discharge switch tube in the drive circuit 100, the SRN pin is the negative terminal of the input control signal, and the SRP is the positive terminal of the input control signal. The TEMP interface is used to monitor the temperature of the battery. When the temperature of the battery is too high or too low, it will Stop charging.
在一种可能的实现方式中,控制信号包括第一控制信号和第二控制信号,在电量计芯片10的状态数据异常的情况下,中央处理器11向电量计芯片10发送第一控制信号,控制电路102根据第一控制信号的指示控制电量计芯片10内的功能部件103失电,中央处理器11向电量计芯片10发送第二控制信号,控制电路102根据第二控制信号的指示控制电量计芯片10内失电的功能部件103上电复位。In a possible implementation, the control signal includes a first control signal and a second control signal. When the status data of the fuel gauge chip 10 is abnormal, the central processor 11 sends the first control signal to the fuel gauge chip 10, The control circuit 102 controls the functional components 103 in the fuel gauge chip 10 to lose power according to the instructions of the first control signal. The central processor 11 sends a second control signal to the fuel gauge chip 10. The control circuit 102 controls the power quantity according to the instructions of the second control signal. The functional components 103 that lose power in the meter chip 10 are powered on and reset.
具体来讲,第一控制信号为指示电量计芯片10内的功能部件103失电的信号,第二控制信号为指示电量计芯片10内失电的功能部件103重新上电复位。中央处理器11向电量计芯片10发送第一控制信号,控制电路102按照第一控制信号的指示切断电量计芯片10的第二输出端与控制电路102之间的连接通路,即控制电量计芯片10的供电模块101的第二输出端关闭,或者控制电路102与功能部件103之间的连接通路,或者拉低中央处理器11的输入输出接口110为低电平,使得电量计芯片10内的功能部件103失电,然后中央处理器11发送第二控制信号让电量计芯片10内失电的功能部件103重新上电复位。因此,在电量计芯片10掉电并复位的过程中,保护驱动电路100仍不会失电而关闭,避免整机端(如中央处理器11)由于电量计芯片10重新复位而直接关机,提高了电量计芯片10的可靠性,提升了用户体验感。Specifically, the first control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power, and the second control signal is a signal instructing the functional component 103 in the fuel gauge chip 10 to lose power to be powered on and reset. The central processing unit 11 sends a first control signal to the fuel gauge chip 10, and 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 instructions of the first control signal, that is, controls the fuel gauge chip. The second output end of the power supply module 101 of 10 is closed, or the connection path between the control circuit 102 and the functional component 103 is lowered, or the input and output interface 110 of the central processor 11 is lowered to a low level, so that the fuel gauge chip 10 The functional component 103 loses power, and then the central processor 11 sends a second control signal to power on and reset the functional component 103 in the fuel gauge chip 10 that loses power. Therefore, when the fuel gauge chip 10 is powered off and reset, the protection drive circuit 100 will still not be shut down due to power loss, preventing the entire machine (such as the central processor 11) from shutting down directly due to the fuel gauge chip 10 being reset again, thus improving the This improves the reliability of the fuel gauge chip 10 and improves user experience.
对于中央处理器11而言,如果直接输出高电平信号给电量计芯片10的复位接口104以复位电量计芯片10,可能会存在以下两种风险,其一:若电池计量芯片存在DSG开关关闭的动作,在主机端的供电电压低于其最低工作电压时,主机端的输入输出接口110并不能保证一定输出低电平,有可能导致电量计芯片10一直处于复位状态,导致过充电不能保护,存在安全隐患,且每次有DSG开关关闭的动作时,电量计芯片10都可能会存在复位的动作; 其二,当主机端的中央处理器11损坏或主机端中央处理器11程序跑飞时,其输出给电池计量芯片的电平信号可能一直为高,导致电量计芯片10一直处于复位状态,导致电池过充电而不能保护,电池存在充爆的风险,存在安全隐患。For the central processor 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 the following two risks. One: if the DSG switch of the battery metering chip is turned off. action, when the power supply voltage of the host is lower than its minimum operating voltage, the input and output interface 110 of the host cannot guarantee a certain output low level, which may cause the fuel gauge chip 10 to be in a reset state all the time, causing overcharge protection to fail. There is a safety risk, and every time the DSG switch is turned off, the fuel gauge chip 10 may be reset; Secondly, when the host-side central processor 11 is damaged or the host-side central processor 11 program runs away, the level signal it outputs to the battery metering chip may always be high, causing the fuel meter chip 10 to be in a reset state all the time, causing the battery to fail. If the battery is overcharged and cannot be protected, there is a risk of the battery exploding, posing a safety hazard.
在一种可能的实现方式中,针对上述的问题,本申请实施例提供的控制信号为至少一个高电平信号和至少一个低电平信号组成的电平序列。In a possible implementation manner, to address the above problems, 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.
具体来讲,一个高电平信号或低电平信号可以持续预设时间,如此,至少一个高电平信号和低电平信号组成的电平序列是一定的时间电平序列。控制信号可以定义为Xms高电平+Yms低电平+Zms高电平,如图3所示的各种控制信号的电平序列,其中,X、Y和Z可以取任意数值,本申请实施例在此并不作限定,如X取值100ms、Y取值200ms以及Z取值100ms。另外,上述的第一控制信号和第二控制信号可以采用不同的电平序列以此实现不同的功能。Specifically, a high-level signal or a low-level signal can last for a preset time. In this way, at least a level sequence composed of a high-level signal and a low-level signal is a certain time level sequence. The control signal can be defined as Xms high level + Yms low level + Zms high level. The level sequence of various control signals is shown in Figure 3. Among them, X, Y and Z can take any values. This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms. In addition, the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
值得注意的是,电平序列还可以为其他组合,本申请实施例在此并不作限定。It is worth noting that the level sequence can also be other combinations, which are not limited in the embodiments of the present application.
如此,通过一定的时间电平序列,有效避免了单纯的一个高电平信号带来误触发的问题,消除安全隐患,进一步提高了电池计量系统的可靠性。In this way, through a certain time level sequence, the problem of false triggering caused by a simple high-level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
在一种可能的实现方式中,中央处理器通过NMOS开关管与所述电池连接,所述供电模块用于向所述保护驱动电路持续供电,所述保护驱动电路用于在所述中央处理器异常时,驱动与所述中央处理器连接的NMOS开关管断开。In a possible implementation, the central processing unit is connected to the battery through an NMOS switch, the power supply module is used to continuously supply power to the protection driving circuit, and the protection driving circuit is used to operate the central processing unit when the central processing unit When abnormal, the NMOS switch connected to the central processing unit is disconnected.
具体来讲,供电模块101持续向保护驱动电路100供电,因此,在电量计芯片出现异常时,保护驱动电路100并不会失电。在中央处理器11出现过流、过压等异常情况时,保护驱动电路100能够驱动与中央处理器连接的NMOS开关管断开,从而断开电池和中央处理器的供电通路,不论电量计芯片处于异常状态还是正常状态,由于供电模块101持续向保护驱动电路100供电,因此,保护驱动电路100仍旧处于正常的工作状态,并在中央处理器11异常时驱动NMOS开关管断开,从而切断电池和中央处理器11之间的供电通路。如此,保护驱动电路的可靠性更高,提高了整个电池计量系统的安全性能。Specifically, the power supply module 101 continuously supplies power to the protection driving circuit 100. Therefore, when an abnormality occurs in the fuel gauge chip, the protection driving circuit 100 will not lose power. When the central processor 11 encounters an abnormal situation such as overcurrent or overvoltage, the protection drive circuit 100 can drive the NMOS switch connected to the central processor to disconnect, thereby disconnecting the power supply path between the battery and the central processor, regardless of the fuel gauge chip. Whether in an abnormal state or a normal state, since the power supply module 101 continues to supply power to the protection drive circuit 100, the protection drive circuit 100 is still in a normal working state, and drives the NMOS switch to open when the central processor 11 is abnormal, thereby cutting off the battery. and the central processing unit 11. In this way, the reliability of the protection drive circuit is higher and the safety performance of the entire battery metering system is improved.
如图6所示的,本申请实施例提供了一种电池计量系统的控制方法,应 用于电子设备,也就是说,其可以由电子设备的硬件或软件执行,该控制方法包括以下步骤:As shown in Figure 6, the embodiment of the present application provides a control method for a battery metering system, which should For electronic equipment, that is to say, it can be executed by hardware or software of the electronic equipment, the control method includes the following steps:
步骤S601:获取电量计芯片的状态数据。Step S601: Obtain status data of the fuel gauge chip.
其中,保护驱动电路与电量计芯片的供电模块的第一输出端连接,供电模块用于向保护驱动电路持续供电。Wherein, the protection driving circuit is connected to the first output end of the power supply module of the fuel gauge chip, and the power supply module is used to continuously supply power to the protection driving circuit.
具体来讲,电量计芯片与中央处理器通过I2C总线通信,电量计芯片的状态数据包括电量计芯片与中央处理器的I2C通讯状态数据、电量计芯片的寄存器状态数据和电量计芯片的工作模式数据中的至少一者。Specifically, the fuel gauge chip communicates with the central processor through the I2C bus. The status data of the fuel gauge chip includes the I2C communication status data of the fuel gauge chip and the central processor, the register status data of the fuel gauge chip and the working mode of the fuel gauge chip. At least one of the data.
进一步,电量计芯片的状态数据包括I2C的通讯状态数据,如I2C通讯应答信号以监测中央处理器与电量计芯片之间是否有通讯挂掉的异常;电量计芯片的状态数据还包括:电量计参数,电量计参数包括但不限于电量计芯片的寄存器状态数据、电量计芯片的工作模式数据、电池电压、电流和电池温度以及电量计芯片中各个功能部件参数中的至少一者,寄存器状态数据包括寄存器当前所处的状态以确定是否存在存储器翻转的异常,工作模式数据包括电量计芯片当前所处的工作模式以确定电量计芯片是否存在异常工作模式的问题,通过电池电压、电流和电池温度以确定电池是否出现异常,通过电量计的各个功能部件参数可以确定电量计芯片是否存在固件锁死不执行的异常。Further, the status data of the fuel gauge chip includes I2C communication status data, such as the I2C communication response signal to monitor whether there is an abnormal communication hangup between the central processor and the fuel gauge chip; the status data of the fuel gauge chip also includes: fuel gauge Parameters, fuel gauge parameters include but are not limited to register status data of the fuel gauge chip, working mode data of the fuel gauge chip, battery voltage, current and battery temperature, and at least one of the parameters of each functional component in the fuel gauge chip, register status data Including the current state of the register to determine whether there is an abnormality in memory flipping. The working mode data includes the current working mode of the fuel gauge chip to determine whether there is an abnormal working mode problem in the fuel gauge chip. Through the battery voltage, current and battery temperature In order to determine whether there is an abnormality in the battery, each functional component parameter of the fuel gauge can be used to determine whether there is an abnormality in the firmware of the fuel gauge chip that is locked and does not execute.
步骤S603:在状态数据异常时,向电量计芯片发送控制信号。Step S603: When the status data is abnormal, send a control signal to the fuel gauge chip.
具体来讲,在电量计芯片出现异常时,中央处理器向电量计芯片发送控制信号,控制信号包括第一控制信号和第二控制信号,第一控制信号为指示电量计芯片内的功能部件失电的信号,第二控制信号为指示电量计芯片内失电的功能部件重新上电复位。Specifically, when an abnormality occurs in the fuel gauge chip, the central processor sends a control signal to the fuel gauge chip. The control signal includes a first control signal and a second control signal. The first control signal indicates that a functional component in the fuel gauge chip has failed. The second control signal is an electrical signal, and the second control signal is for instructing the power-off functional components in the fuel gauge chip to be powered on and reset again.
步骤S605:通过电量计芯片的控制电路按照控制信号的指示控制电量计芯片中除保护驱动电路外的功能部件失电并复位。Step S605: Use the control circuit of the fuel gauge chip to control the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset according to the instructions of the control signal.
其中,所述保护驱动电路与电量计芯片的供电模块的第一输出端连接,所述供电模块用于向所述保护驱动电路持续供电。具体来讲,如上的,电量计芯片包括但不限于保护驱动电路、供电模块、控制电路和功能部件,其中,功能部件包括但不限于系统时钟、处理器、存储器、通讯模块、库仑计以及复合ADC;供电模块的第一输出端与保护驱动电路连接,用于向保护驱动电路供电,供电模块的第二输出端与控制电路的一端连接,控制电路的另一端 与功能部件连接,中央处理器与电量计芯片连接,用于向电量计芯片发送控制信号,控制电路,用于按照控制信号的指示控制功能部件失电并复位。Wherein, the protection driving circuit is connected to the first output end of the power supply module of the fuel gauge chip, and the power supply module is used to continuously supply power to the protection driving circuit. Specifically, as mentioned above, the fuel gauge chip includes but is not limited to protection drive circuit, power supply module, control circuit and functional components. Among them, functional components include but are not limited to system clock, processor, memory, communication module, coulomb counter and composite ADC; the first output end of the power supply module is connected to the protection drive circuit for supplying power to the protection drive circuit, the second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit Connected to the functional components, the central processing unit is connected to the fuel gauge chip and used to send control signals to the fuel gauge chip; the control circuit is used to control the functional components to lose power and reset according to the instructions of the control signal.
更进一步的,控制电路按照控制信号的指示切断电量计芯片的第二输出端与控制电路之间的连接通路,或者控制电路与功能部件之间的连接通路,然后中央处理器发送控制信号让电量计芯片重新上电复位,同时不关断保护驱动电路,电量计芯片接收到控制信号后,控制电路按照控制信号的指示重新运行程序,在电量计芯片掉电并复位的过程中,保护驱动电路仍不会失电而关闭,避免整机端(中央处理器)由于电量计芯片重新复位而直接关机。Furthermore, the control circuit cuts off the connection path between the second output terminal of the fuel gauge chip and the control circuit, or the connection path between the control circuit and the functional component according to the instruction of the control signal, and then the central processor sends the control signal to let the power The meter chip is powered on and reset without turning off the protection drive circuit. After the fuel meter chip receives the control signal, the control circuit re-runs the program according to the instructions of the control signal. When the fuel meter chip is powered off and reset, the drive circuit is protected. It will still not shut down due to power loss, preventing the entire machine (central processing unit) from shutting down directly due to the resetting of the fuel gauge chip.
通过本申请实施例公开的技术方案,在电量计芯片的状态数据异常时,电量计芯片中的除了保护驱动电路外的其余的功能部件是通过控制电路按照中央处理器的指示控制功能部件失电并复位,而保护驱动电路是由供电模块直接供电,在电量计芯片中的功能部件失电并复位的过程中,保护驱动电路一直得电,并不会关断,也就不会造成电子设备整机断电,提高了电池计量系统的可靠性,提高了用户体验感。Through the technical solutions disclosed in the embodiments of the present application, when the status data of the fuel gauge chip is abnormal, the remaining functional components in the fuel gauge chip except the protection drive circuit are controlled by the control circuit to lose power according to the instructions of the central processor. And reset, and the protection drive circuit is directly powered by the power supply module. When the functional components in the fuel gauge chip lose power and are reset, the protection drive circuit is always powered and will not shut down, which will not cause damage to the electronic equipment. The entire machine is powered off, which improves the reliability of the battery metering system and improves the user experience.
在一种可能的实现方式中,步骤S605包括:在控制信号为有效控制信号的情况下,通过控制电路控制电量计芯片中除保护驱动电路外的功能部件失电并复位;有效控制信号包括至少一个高电平信号和至少一个低电平信号组成的电平序列。In a possible implementation, step S605 includes: when the control signal is a valid control signal, controlling the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset through the control circuit; the valid control signal includes at least A level sequence consisting of a high-level signal and at least one low-level signal.
具体来讲,有效控制信号中一个高电平信号或低电平信号可以持续预设时间,如此,至少一个高电平信号和低电平信号组成的电平序列是一定的时间电平序列。控制信号可以定义为Xms高电平+Yms低电平+Zms高电平,如图3所示的各种控制信号的电平序列,其中,X、Y和Z可以取任意数值,本申请实施例在此并不作限定,如X取值100ms、Y取值200ms以及Z取值100ms。另外,上述的第一控制信号和第二控制信号可以采用不同的电平序列以此实现不同的功能。Specifically, a high-level signal or a low-level signal in the effective control signal can last for a preset time. In this way, the level sequence composed of at least one high-level signal and a low-level signal is a certain time level sequence. The control signal can be defined as Xms high level + Yms low level + Zms high level. The level sequence of various control signals is shown in Figure 3. Among them, X, Y and Z can take any values. This application implements For example, there is no limit here, for example, X takes a value of 100ms, Y takes a value of 200ms, and Z takes a value of 100ms. In addition, the above-mentioned first control signal and second control signal may adopt different level sequences to achieve different functions.
值得注意的是,电平序列还可以为其他组合,本申请实施例在此并不作限定。It is worth noting that the level sequence can also be other combinations, which are not limited in the embodiments of the present application.
如此,通过一定的时间电平序列,有效避免了单纯的一个高电平信号带来误触发的问题,消除安全隐患,进一步提高了电池计量系统的可靠性。In this way, through a certain time level sequence, the problem of false triggering caused by a simple high-level signal is effectively avoided, potential safety hazards are eliminated, and the reliability of the battery metering system is further improved.
在一种可能的实现方式中,步骤S405包括:向电量计芯片发送第一控制信号,通过控制电路根据第一控制信号的指示控制电量计芯片中的功能部件 失电;向电量计芯片发送第二控制信号,通过控制电路根据第二控制信号的指示控制电量计芯片中失电的功能部件上电复位。In a possible implementation, step S405 includes: sending a first control signal to the fuel gauge chip, and controlling the functional components in the fuel gauge chip through the control circuit according to the instructions of the first control signal. Loss of power; sending a second control signal to the fuel gauge chip, and controlling the power-on reset of the functional components of the fuel gauge chip that lose power according to the instructions of the second control signal through the control circuit.
具体来讲,控制信号包括第一控制信号和第二控制信号,中央处理器向电量计芯片发送第一控制信号,控制电路按照第一控制信号的指示切断电量计芯片的第二输出端与控制电路之间的连接通路,即通过控制电路根据第一控制信号的指示控制电量计芯片中的供电模块的第二输出端关闭,或者控制电路与功能部件之间的连接通路,或者拉低中央处理器的输入输出接口为低电平,使得电量计芯片内的功能部件失电,然后中央处理器发送第二控制信号让电量计芯片内失电的功能部件重新上电复位。因此,在电量计芯片掉电并复位的过程中,保护驱动电路仍不会失电而关闭,避免整机端(如中央处理器)由于电量计芯片重新复位而直接关机,提高了电量计芯片的可靠性,提升了用户体验感。Specifically, the control signal includes a first control signal and a second control signal. The central processor sends the first control signal to the fuel gauge chip, and the control circuit cuts off the second output terminal of the fuel gauge chip and the control circuit according to the instructions of the first control signal. The connection path between the circuits, that is, the control circuit controls the second output end of the power supply module in the fuel gauge chip to close according to the instructions of the first control signal, or controls the connection path between the circuit and the functional component, or pulls down the central processing unit The input and output interface of the device is at a low level, causing the functional components in the fuel gauge chip to lose power, and then the central processor sends a second control signal to power on and reset the functional components in the fuel gauge chip that have lost power. Therefore, when the fuel gauge chip is powered off and reset, the protection drive circuit will still not shut down due to loss of power, preventing the entire machine (such as the central processor) from shutting down directly due to the fuel gauge chip being reset again, thus improving the efficiency of the fuel gauge chip. The reliability improves the user experience.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上 述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above. The above-described specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art, inspired by this application, can do so without departing from the purpose of this application and the scope protected by the claims. , many forms can also be made, all of which fall within the protection of this application.

Claims (13)

  1. 一种电池计量系统,包括:A battery metering system including:
    电量计芯片,所述电量计芯片包括保护驱动电路、供电模块、控制电路和功能部件;A fuel gauge chip, which includes a protection drive circuit, a power supply module, a control circuit and functional components;
    所述供电模块的第一输出端与所述保护驱动电路连接,用于向所述保护驱动电路供电;The first output end of the power supply module is connected to the protection driving circuit and is used to supply power to the protection driving circuit;
    所述供电模块的第二输出端与所述控制电路的一端连接,所述控制电路的另一端与所述功能部件连接;The second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit is connected to the functional component;
    中央处理器,所述中央处理器与所述电量计芯片连接,用于向所述电量计芯片发送控制信号;Central processor, the central processor is connected to the fuel gauge chip and used to send control signals to the fuel gauge chip;
    所述控制电路,用于按照所述控制信号的指示控制所述功能部件失电并复位。The control circuit is used to control the functional component to lose power and reset according to the instructions of the control signal.
  2. 根据权利要求1所述的电池计量系统,其中,所述电量计芯片设有复位接口,所述中央处理器设有输入输出接口;The battery metering system according to claim 1, wherein the fuel gauge chip is provided with a reset interface, and the central processor is provided with an input and output interface;
    所述复位接口与所述输入输出接口连接,所述控制信号通过所述复位接口和所述输入输出接口传输。The reset interface is connected to the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
  3. 根据权利要求1所述的电池计量系统,其中,所述控制信号包括第一控制信号和第二控制信号,在所述电量计芯片的状态数据异常的情况下,所述中央处理器向所述电量计芯片发送第一控制信号,所述控制电路根据所述第一控制信号的指示控制所述电量计芯片内的功能部件失电;The battery metering system according to claim 1, wherein the control signal includes a first control signal and a second control signal, and when the status data of the fuel gauge chip is abnormal, the central processor sends a signal to the battery meter chip. The fuel gauge chip sends a first control signal, and the control circuit controls the functional components in the fuel gauge chip to lose power according to the instructions of the first control signal;
    所述中央处理器向所述电量计芯片发送第二控制信号,所述控制电路根据所述第二控制信号的指示控制所述电量计芯片内失电的功能部件上电复位。The central processor sends a second control signal to the fuel gauge chip, and the control circuit controls the power-on reset of the power-off functional components in the fuel gauge chip according to the instructions of the second control signal.
  4. 根据权利要求1所述的电池计量系统,其中,所述控制信号为至少一个高电平信号和至少一个低电平信号组成的电平序列。The battery metering system according to claim 1, wherein the control signal is a level sequence composed of at least one high-level signal and at least one low-level signal.
  5. 根据权利要求1所述的电池计量系统,其中,所述供电模块用于向所述保护驱动电路持续供电,所述保护驱动电路用于在所述中央处理器异常时,驱动与所述中央处理器连接的NMOS开关管断开。 The battery metering system according to claim 1, wherein the power supply module is used to continuously supply power to the protection driving circuit, and the protection driving circuit is used to drive the communication with the central processing unit when the central processing unit is abnormal. The NMOS switch tube connected to the controller is disconnected.
  6. 一种电子设备,包括:电池,电量计芯片和中央处理器,An electronic device, including: battery, fuel gauge chip and central processing unit,
    所述电量计芯片包括保护驱动电路、供电模块、控制电路和功能部件;The fuel gauge chip includes a protection drive circuit, a power supply module, a control circuit and functional components;
    所述电池的输出端分别与所述供电模块的输入端和中央处理器连接,所述供电模块的第一输出端与所述保护驱动电路连接,用于向所述保护驱动电路供电;The output end of the battery is connected to the input end of the power supply module and the central processor respectively, and the first output end of the power supply module is connected to the protection drive circuit for supplying power to the protection drive circuit;
    所述供电模块的第二输出端与所述控制电路的一端连接,所述控制电路的另一端与所述功能部件连接;The second output end of the power supply module is connected to one end of the control circuit, and the other end of the control circuit is connected to the functional component;
    所述中央处理器与所述电量计芯片连接,用于向所述电量计芯片发送控制信号;The central processing unit is connected to the fuel gauge chip and is used to send control signals to the fuel gauge chip;
    所述控制电路,用于按照所述控制信号的指示控制所述功能部件失电并复位。The control circuit is used to control the functional component to lose power and reset according to the instructions of the control signal.
  7. 根据权利要求6所述的电子设备,其中,所述电量计芯片设有复位接口,所述中央处理器设有输入输出接口;The electronic device according to claim 6, 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 to the input and output interface, and the control signal is transmitted through the reset interface and the input and output interface.
  8. 根据权利要求6所述的电子设备,其中,所述控制信号包括第一控制信号和第二控制信号,在所述电量计芯片的状态数据异常的情况下,所述中央处理器向所述电量计芯片发送第一控制信号,所述控制电路根据所述第一控制信号的指示控制所述电量计芯片内的功能部件失电;The electronic device according to claim 6, wherein the control signal includes a first control signal and a second control signal, and when the status data of the fuel gauge chip is abnormal, the central processor sends a signal to the power meter chip. The meter chip sends a first control signal, and the control circuit controls the functional components in the fuel meter chip to lose power according to the instructions of the first control signal;
    所述中央处理器向所述电量计芯片发送第二控制信号,所述控制电路根据所述第二控制信号的指示控制所述电量计芯片内失电的功能部件上电复位。The central processor sends a second control signal to the fuel gauge chip, and the control circuit controls the power-on reset of the power-off functional components in the fuel gauge chip according to the instructions of the second control signal.
  9. 根据权利要求6所述的电子设备,其中,所述控制信号为至少一个高电平信号和至少一个低电平信号组成的电平序列。The electronic device according to claim 6, wherein the control signal is a level sequence composed of at least one high-level signal and at least one low-level signal.
  10. 根据权利要求6所述的电子设备,其中,所述中央处理器通过NMOS开关管与所述电池连接,所述供电模块用于向所述保护驱动电路持续供电,所述保护驱动电路用于在所述中央处理器异常时,驱动与所述中央处理器连接的NMOS开关管断开。 The electronic device according to claim 6, wherein the central processor is connected to the battery through an NMOS switch, the power supply module is used to continuously supply power to the protection drive circuit, and the protection drive circuit is used to When the central processor is abnormal, the NMOS switch connected to the central processor is driven to disconnect.
  11. 一种电池计量系统的控制方法,包括:A control method for a battery metering system, including:
    获取电量计芯片的状态数据;Get the status data of the fuel gauge chip;
    在所述状态数据异常时,向所述电量计芯片发送控制信号;When the status data is abnormal, send a control signal to the fuel gauge chip;
    通过所述电量计芯片的控制电路按照所述控制信号的指示控制所述电量计芯片中除保护驱动电路外的功能部件失电并复位;The control circuit of the fuel gauge chip controls the functional components of the fuel gauge chip except the protection drive circuit to lose power and reset according to the instructions of the control signal;
    其中,所述保护驱动电路与电量计芯片的供电模块的第一输出端连接,所述供电模块用于向所述保护驱动电路持续供电。Wherein, the protection driving circuit is connected to the first output end of the power supply module of the fuel gauge chip, and the power supply module is used to continuously supply power to the protection driving circuit.
  12. 根据权利要求11所述的电池计量系统的控制方法,其中,所述通过所述电量计芯片的控制电路控制所述电量计芯片除保护驱动电路外的功能部件失电并复位包括:The control method of a battery metering system according to claim 11, wherein the controlling the functional components of the fuel gauge chip except the protection drive circuit to lose power and reset through the control circuit of the fuel gauge chip includes:
    在所述控制信号为有效控制信号的情况下,通过所述控制电路控制所述电量计芯片中除所述保护驱动电路外的功能部件失电并复位;When the control signal is a valid control signal, the control circuit controls the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset;
    所述有效控制信号包括至少一个高电平信号和至少一个低电平信号组成的电平序列。The effective control signal includes a level sequence composed of at least one high-level signal and at least one low-level signal.
  13. 根据权利要求11所述的电池计量系统的控制方法,其中,所述通过所述电量计芯片的控制电路控制所述电量计芯片中除保护驱动电路外的功能部件失电并复位包括:The control method of a battery metering system according to claim 11, wherein the controlling the functional components in the fuel gauge chip except the protection drive circuit to lose power and reset through the control circuit of the fuel gauge chip includes:
    向所述电量计芯片发送第一控制信号,通过所述控制电路根据所述第一控制信号的指示控制所述电量计芯片中的功能部件失电;Send a first control signal to the fuel gauge chip, and use the control circuit to control the functional components in the fuel gauge chip to lose power according to the instructions of the first control signal;
    向所述电量计芯片发送第二控制信号,通过所述控制电路根据所述第二控制信号的指示控制所述电量计芯片中失电的功能部件上电复位。 A second control signal is sent to the fuel gauge chip, and the control circuit controls the power-on reset of the power-off functional components in the fuel gauge chip according to the instructions of the second control signal.
PCT/CN2023/113284 2022-08-22 2023-08-16 Battery metering system, electronic device and control method WO2024041427A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2024041427A1 true WO2024041427A1 (en) 2024-02-29

Family

ID=83829474

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Citations (11)

* 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
CN210894497U (en) * 2019-10-28 2020-06-30 华立科技股份有限公司 Ammeter system
CN210894629U (en) * 2019-10-28 2020-06-30 维沃移动通信有限公司 Electric meter assembly and electronic equipment
CN112994179A (en) * 2021-04-16 2021-06-18 上海维安电子有限公司 Lithium iron phosphate battery management system applied to garden tool
CN114488914A (en) * 2022-03-06 2022-05-13 西安平阳科技发展有限公司 Intelligent solenoid valve driver with state monitoring function
CN114784913A (en) * 2022-05-13 2022-07-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack, electronic device and electronic pack
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method
CN115291120A (en) * 2022-08-22 2022-11-04 维沃移动通信有限公司 Battery metering system, electronic equipment and control method

Patent Citations (11)

* 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
CN210894497U (en) * 2019-10-28 2020-06-30 华立科技股份有限公司 Ammeter system
CN210894629U (en) * 2019-10-28 2020-06-30 维沃移动通信有限公司 Electric meter assembly and electronic equipment
CN112994179A (en) * 2021-04-16 2021-06-18 上海维安电子有限公司 Lithium iron phosphate battery management system applied to garden tool
CN114488914A (en) * 2022-03-06 2022-05-13 西安平阳科技发展有限公司 Intelligent solenoid valve driver with state monitoring function
CN114784913A (en) * 2022-05-13 2022-07-22 西安稳先半导体科技有限责任公司 Battery protection circuit, battery pack, electronic device and electronic pack
CN114844179A (en) * 2022-06-30 2022-08-02 荣耀终端有限公司 Electronic device and electricity meter resetting method
CN115291120A (en) * 2022-08-22 2022-11-04 维沃移动通信有限公司 Battery metering system, electronic equipment and control method

Also Published As

Publication number Publication date
CN115291120A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
TWI427892B (en) Power supply system for power saving and method thereof
WO2024041427A1 (en) Battery metering system, electronic device and control method
CN110739661B (en) Overcurrent protection device and board card
CN104035892A (en) Server system and cluster system
CN101127608A (en) Wireless network adapter over current protection method and device
CN101567556A (en) Over-voltage charge protective device and method used for charging cell phone
WO2022042708A1 (en) System-on-chip, battery assembly, electronic device, battery protection circuit, test subsystem, test system, bluetooth earphone, shipping mode setting method, and computer readable storage medium
EP4002545A1 (en) Charging/discharging protection circuit, terminal device, and battery discharging control method
CN210074082U (en) Battery equipment
EP2648068B1 (en) Method and terminal for starting universal serial bus state machine
WO2020042715A1 (en) Electronic device power supply method and apparatus, electronic device, and storage medium
CN217388303U (en) Embedded system power-down protection device based on super capacitor
US20230022867A1 (en) Smart battery device, and electronic device thereof
CN202394174U (en) System and abnormal power failure protection device thereof
CN102298435A (en) Battery module and management method for the same
WO2018133409A1 (en) Power management circuit, electronic device, and method for controlling electronic device
CN210573747U (en) CMOS data fault clearing circuit, system and computer host
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN108879587B (en) Protection circuit and mobile terminal
US20200064899A1 (en) Battery pack control system
CN113141050A (en) Electronic device
CN211554676U (en) Computer remote control assembly
CN110932379A (en) Redundant power management system and method
CN218414729U (en) Switch control circuit of battery and battery protection device
CN105515076B (en) The method and device of adjusting parameter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23856517

Country of ref document: EP

Kind code of ref document: A1