Battery protection chip, multi-delay clock chain multiplexing circuit and method thereof

By designing a multi-delay clock chain multiplexing circuit in the lithium battery protection chip, and realizing delay timing of multiple protection items based on the same delay clock link, the problems of power consumption waste and area overhead in the prior art are solved, and the problem of power consumption waste and area overhead is realized. Low power consumption and miniaturization requirements, and improve timing reliability.

CN114448398BActive Publication Date: 2024-11-12SG MICRO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011202360.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-02
Publication Date
2024-11-12
Estimated Expiration
2040-11-02

AI Technical Summary

Technical Problem

The existing lithium battery protection chips have power consumption and area overhead in the delay timing of multiple protection items, and the delay clock chain multiplexing is inflexible, which affects the timing accuracy.

Method used

Design a multi-delay clock chain multiplexing circuit, through the clock selection and reset module and the delay clock chain multiplexing module, the delay timer is realized when multiple protection items are triggered and cancelled based on the same delay clock link. The priority of the protection item is to perform clock chain reset and basic clock selection to ensure timing accuracy.

Benefits of technology

It effectively reduces the power consumption and cost of the chip, reduces area usage, realizes the miniaturization of the chip, and improves the reliability of triggering and releasing protection items.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448398B_ABST
    Figure CN114448398B_ABST
Patent Text Reader

Abstract

The present invention discloses a battery protection chip, a multiple-delay clock chain multiplexing circuit and method thereof, the circuit comprising: a clock selection and reset module, which is used to output a valid reset signal when a new trigger protection item with a higher priority is valid, and selects to output one of multiple basic clock signals according to the corresponding delay requirement; a delay clock chain multiplexing module, which is used to reset the delay clock chain when receiving a valid reset signal, and control the delay clock chain to perform delay timing according to the received basic clock signal, and output an execution signal with a first level state when the timing value reaches a corresponding threshold; a protection detection module, which is used to detect the level states of multiple trigger execution signals and multiple release execution signals, and output multiple protection signals according to the detection results. The present invention can realize delay timing when multiple protection items are triggered and released based on the same delay clock link, which helps to reduce power consumption and realize chip miniaturization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery technology, and in particular to a battery protection chip, a multi-delay clock chain multiplexing circuit and a method thereof. Background Art

[0002] With the development of society and the continuous consumption of fossil energy, people are actively looking for new energy to replace the fossil energy that will be exhausted one day. Electric energy is one of the ideal substitutes for fossil energy, so people's demand for electric energy has been increasing in recent years. With the development and popularization of unmanned electronic equipment, portable digital devices, power tools, electric vehicles, etc., their power core - batteries are receiving more and more attention. Lithium batteries are favored by manufacturers for their high specific energy, long cycle life, low self-discharge, no memory effect and green environmental protection, and are one of the hot spots in power battery research.

[0003] During normal use, a battery (such as a lithium-ion battery) undergoes a positive chemical reaction in which electrical energy and chemical energy are converted into each other. However, under certain conditions, such as overcharging or over-discharging, a chemical side reaction will occur inside the battery. When the side reaction intensifies, it will seriously affect the performance and service life of the battery, and may produce a large amount of gas, causing the internal pressure of the battery to increase rapidly and then explode, leading to safety problems. Therefore, the battery needs to be equipped with a protection circuit to effectively monitor the charging and discharging status of the battery, and shut down the charging and discharging circuits under certain conditions to prevent damage to the battery.

[0004] In lithium battery protection chips, a certain delay time is required for the detection and release of the protection state. In order to ensure the independence of each protection trigger delay, the original clock is generally generated inside the circuit, and the basic clocks of different frequencies are initially divided. Each protection judgment module uses the basic clocks of different frequencies required by each module, and the module performs frequency division delay timing again. Although this method can effectively ensure that the timing of each protection judgment module is separate and does not affect each other, it has a certain degree of area overhead and power consumption waste.

[0005] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention

[0006] In order to solve the above technical problems, the present invention provides a battery protection chip, a multi-delay clock chain multiplexing circuit and a method thereof, which can realize delay timing when triggering and releasing multiple protection items based on the same delay clock chain, which helps to reduce power consumption and achieve chip miniaturization.

[0007] On the one hand, according to the present invention, a multi-delay clock chain multiplexing circuit of a battery protection chip includes: a clock selection and reset module, which receives a protection trigger indication signal, multiple basic clock signals, multiple trigger indication signals corresponding to multiple protection items, and multiple release indication signals, and is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item based on the priority of the multiple protection items when the protection trigger indication signal is valid, and output a reset signal according to the comparison result, and select one of the multiple basic clock signals that meets the delay requirement according to the detection result for output; a delay clock chain multiplexing module, which is connected to the clock selection and reset module, receives the reset signal and one of the multiple basic clock signals, and is used to reset the delay clock chain when receiving the valid reset signal, and select one of the multiple basic clock signals that meets the delay requirement according to the detection result. One of them controls the delay clock chain to perform delay timing, and outputs an execution signal with a first level state when the timing value reaches a corresponding threshold; a protection detection module is respectively connected to the clock selection and reset module and the delay clock chain multiplexing module, receives an enable signal, the protection trigger indication signal, and multiple trigger signals, multiple release signals, multiple trigger execution signals and multiple release execution signals corresponding to the multiple protection items, and is used to detect the level states of the multiple trigger signals, the multiple release signals, the multiple trigger execution signals and the multiple release execution signals when the enable signal and the protection trigger indication signal are valid, and output the multiple trigger indication signals, the multiple release indication signals and the multiple protection signals according to the detection results, wherein the clock selection and reset module outputs a valid reset signal when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item.

[0008] Optionally, the clock selection and reset module is further used to trigger the output of the valid reset signal at a rising edge or falling edge before the protection trigger indication signal is valid.

[0009] Optionally, the clock selection and reset module includes: a first priority judgment subunit, which is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal is valid, and generate an interrupt signal when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item; a pulse generation subunit, which is connected to the first priority judgment subunit, and is used to generate a valid reset signal when the interrupt signal is received; a second priority judgment subunit, which is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal is valid, and generate a selection signal according to the delay requirement corresponding to the newly triggered protection item when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item; a multiple-selector, which is connected to the second priority judgment subunit, and is used to select the basic clock signal corresponding to the delay requirement of the newly triggered protection item for output when the selection signal is received.

[0010] Optionally, the delay clock chain multiplexing module includes: x D flip-flops connected in series, the clock end of each of the x D flip-flops receives one of the multiple basic clock signals that meet the delay requirements, the reset end of each D flip-flop receives the reset signal, and the output end of the i-th D flip-flop among the x D flip-flops outputs the execution signal, wherein x and i are both positive integers, and i is greater than or equal to 1 and less than or equal to x.

[0011] Optionally, among the multiple trigger execution signals and the multiple release execution signals corresponding to the multiple protection items, each execution signal is output at an output end of a different D flip-flop among the x D flip-flops.

[0012] Optionally, among the multiple trigger execution signals and the multiple release execution signals corresponding to the multiple protection items, at least some execution signals are output at the output end of the same D flip-flop among the x D flip-flops.

[0013] Optionally, the protection detection module includes: multiple protection detection units, each protection detection unit receives a trigger signal, a release signal, a trigger execution signal and a release execution signal of a corresponding protection item, and when the enable signal and the protection trigger indication signal are valid, detects the level status of the trigger signal, the release signal, the trigger execution signal and the release execution signal, and outputs the trigger indication signal, the release indication signal and the protection signal of the corresponding protection item according to the detection result.

[0014] On the other hand, a battery protection chip provided according to the present invention includes: a multi-delay clock chain multiplexing circuit of the battery protection chip as described above.

[0015] On the other hand, according to the present invention, a method for multiplexing multiple delay clock chains of a battery protection chip includes: when the battery or chip triggers protection, comparing the priority of the currently enabled protection item and the priority of the newly triggered protection item; when the priority of the newly triggered protection item is lower than the priority of the currently enabled protection item, continuing to delay the timing of the currently enabled protection item based on the delay clock chain; when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, resetting the delay clock chain, selecting the basic clock signal corresponding to the newly triggered protection item, and controlling the reset delay clock chain to delay timing according to the selected basic clock signal; after the timing value reaches the corresponding threshold, controlling the triggering or release of the corresponding protection item.

[0016] Optionally, before triggering the protection, the method further includes: resetting the delay clock chain.

[0017] The beneficial effects of the present invention are as follows: the present invention discloses a battery protection chip, a multiple delay clock chain multiplexing circuit and method thereof, which uses a clock selection and reset module to reset the delay clock chain according to the priority of multiple trigger indication signals and multiple release indication signals in multiple protection items before releasing or triggering switching of different protection items, and selects the corresponding basic clock as needed, and can realize the delay timing when multiple protection items are triggered and released based on the same delay clock chain in the delay clock chain multiplexing module. Since the same delay clock chain is used for the delay timing when multiple protection items are triggered and released, and there is no need to use multiple delay clock chains to perform separate delay timing for triggering and releasing multiple protection items, the number of components required for the chip is effectively reduced, power consumption and cost are reduced, and the chip area occupied is reduced, which is conducive to realizing chip miniaturization and meets the low power consumption requirements and area reduction requirements of lithium battery protection chips.

[0018] Resetting the delay clock chain before the protection trigger indication signal is valid (i.e., there is a protection trigger at present) can avoid inaccurate timing caused by errors in the initial timing position when using the delay clock chain for long-term delay timing, thereby ensuring the reliability of triggering or releasing all protection items.

[0019] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.

[0021] Figure 1 A typical working circuit diagram of a battery protection chip provided according to an embodiment of the present disclosure is shown;

[0022] Figure 2 A structural block diagram of a multi-delay clock chain multiplexing circuit of a battery protection chip provided according to an embodiment of the present disclosure is shown;

[0023] Figure 3 A structural block diagram of a clock selection and reset module in a multi-delay clock chain multiplexing circuit provided according to an embodiment of the present disclosure is shown;

[0024] Figure 4 A schematic diagram of the circuit structure of a delayed clock chain multiplexing module in a multi-delay clock chain multiplexing circuit provided according to an embodiment of the present disclosure is shown;

[0025] Figure 5 A flowchart of a multi-delay clock chain multiplexing method for a battery protection chip provided in accordance with an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0026] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0028] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

[0029] Figure 1 A typical working circuit diagram of a battery protection chip provided according to an embodiment of the present disclosure is shown.

[0030] like Figure 1As shown, the positive electrode of the battery is connected to the positive terminal EB+ of the external charging source, and the positive electrode of the battery is connected to the power pin VDD of the battery protection chip 10 through the first resistor R1 to power the battery protection chip 10; the pin VDD is grounded through the capacitor C1, and the first resistor R1 and the capacitor C1 form a low-pass filter to filter out high-frequency noise in the battery. The negative electrode of the battery is connected to the ground pin VSS of the battery protection chip 10 and then grounded, the negative electrode of the battery is connected to the source of the discharge switch FET1, the drain of the discharge switch FET1 is connected to the drain of the charging switch FET2, the source of the charging switch FET2 is connected to the negative terminal EB- of the external charging source, and the positive terminal EB+ of the external charging source and the negative terminal EB- of the external charging source are also the power supply interface of the external circuit. The discharge switch control pin DO of the battery protection chip 10 is connected to the gate of the discharge switch FET1, and the charging switch control pin CO of the battery protection chip 10 is connected to the gate of the charging switch FET2.

[0031] It is understandable that the battery protection chip 10 also includes other pins such as a voltage detection pin, a current detection pin, etc. The voltage detection pin and the current detection pin are respectively connected to the corresponding positions of the circuit. When the battery protection chip 10 detects that the chip or circuit has a protection trigger or release through the pin, a corresponding control signal is generated according to the protection status to control the conduction or shutoff of the discharge switch FET1 and / or the charging switch FET2.

[0032] Furthermore, in the battery protection chip 10, since a certain delay time is required for triggering and releasing the protection state, a corresponding delay circuit (corresponding to the multi-delay clock chain multiplexing circuit in this article) is also provided inside the battery protection chip 10 to assist in generating the above control signal. The multi-delay clock chain multiplexing circuit is described in detail below in conjunction with a specific embodiment.

[0033] Figure 2 The structure block diagram of the multi-delay clock chain multiplexing circuit of the battery protection chip provided according to the embodiment of the present disclosure is shown. Figure 3 A structural block diagram of a clock selection and reset module in a multi-delay clock chain multiplexing circuit provided according to an embodiment of the present disclosure is shown. Figure 4 A schematic diagram of the circuit structure of a delayed clock chain multiplexing module in a multi-delay clock chain multiplexing circuit provided according to an embodiment of the present disclosure is shown.

[0034] like Figure 2 As shown, in this embodiment, the multi-delay clock chain multiplexing circuit of the battery protection chip (for the convenience of description, referred to as the multi-delay clock chain multiplexing circuit in this article) includes: a clock selection and reset module 110, a delay clock chain multiplexing module 120 and a protection detection module 130.

[0035] The input end of the clock selection and reset module 110 receives a protection trigger indication signal Prot, multiple basic clock signals, multiple trigger indication signals corresponding to multiple protection items, and multiple release indication signals. The clock selection and reset module 110 is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item based on the priorities of the multiple protection items (including the priorities of the multiple trigger indication signals and the multiple release indication signals) when the protection trigger indication signal Prot is valid, and output a reset signal rst at the first output end of the clock selection and reset module 110 according to the comparison result, and select one of the multiple basic clock signals that meet the delay requirement according to the detection result as the target clock signal clk_in to output at the second output end of the clock selection and reset module 110. When the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, the clock selection and reset module 110 outputs a valid reset signal rst.

[0036] In this embodiment, reference Figure 3 The clock selection and reset module 110 includes a reset control unit 111 and a clock selection unit 112. The reset control unit 111 is used to output a valid or invalid reset signal rst at the first output end of the clock selection and reset module 110 based on the comparison result of the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal Prot is valid. And the clock selection unit 112 is used to select and output a basic clock signal that meets the delay requirement as the target clock signal clk_in at the second output end of the clock selection and reset module 110 based on the comparison result of the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal Prot is valid.

[0037] Furthermore, the reset control unit 111 includes a first priority judgment subunit 1111 and a pulse generation subunit 1112. The first priority judgment subunit 1111 is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal Prot is valid, and to generate an interrupt signal when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item. The pulse generation subunit 1112 is connected to the first priority judgment subunit 1111 to generate a valid reset signal when an interrupt signal is received.

[0038] The clock selection unit 112 includes a second priority judgment subunit 1121 and a multiple-choice selector 1122. The second priority judgment subunit 1121 is used to compare the priority of the currently enabled protection item and the priority of the newly triggered protection item when the protection trigger indication signal Prot is valid, and to generate a selection signal according to the delay requirement corresponding to the newly triggered protection item when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item; the multiple-choice selector 1122 is connected to the second priority judgment subunit 1121, and is used to select the basic clock signal corresponding to the delay requirement of the newly triggered protection item for output when receiving the selection signal.

[0039] Specifically, when an external protection item is triggered, the protection trigger indication signal Prot switches to a valid state, and the first priority judgment subunit 1111 determines whether to interrupt the current count by comparing the priority of the currently enabled delayed protection item and the newly triggered protection item. If an interruption is required, an interrupt signal such as a high level is output to the pulse generation subunit 1112, and a valid reset signal rst is generated to reset the delay clock chain and end the delay timing of the enabled delayed protection item. At the same time, the second priority judgment subunit 1121 determines whether the basic clock signal needs to be adjusted by comparing the priority of the currently enabled delayed protection item and the newly triggered protection item. If adjustment is required, a corresponding selection signal is generated to instruct the multiple-select selector 1122 to close the basic clock channel corresponding to the currently enabled protection item, and select the basic clock channel corresponding to the connected protection item with a higher priority. The newly connected basic clock channel selects the target clock signal clk_in that meets the requirements to control the reset delay clock chain to delay the trigger indication signal or release indication signal of the newly triggered protection item with a higher priority. It can be understood that if the priority of the currently enabled delayed protection item is higher than the priority of the newly triggered protection item, the pulse generation subunit 1112 outputs a reset signal rst in an invalid state, and the multiple-selection selector 1122 continues to connect the basic clock channel corresponding to the currently enabled protection item, thereby allowing the delayed clock chain to continue to delay the timing of the currently enabled protection item.

[0040] Furthermore, the reset control unit 111 in the clock selection and reset module 110 is also used to trigger the output of a valid reset signal rst at the previous rising edge or falling edge before the protection trigger indication signal Prot is valid. In other words, whenever all protection items are released and a new protection is triggered, the delay clock chain needs to be reset again, so that the reliability and accuracy of the triggering or releasing of all protection items can be guaranteed.

[0041] For example, for ease of understanding, this article will take three basic clock signals (clk_A, clk_B, clk_C) and five protection items (ovp, uvp, occ, ocd, scp) as examples to illustrate the technical solution of the present disclosure. However, it can be understood that:

[0042] 1) In the present disclosure, multiple basic clock signals include but are not limited to the first basic clock signal clk_A, the second basic clock signal clk_B and the third basic clock signal clk_C. In other embodiments of the present disclosure, two basic clock signals or more than three basic clock signals may also be used, which should be specifically considered comprehensively according to the different delay time requirements of different protection items and the chip design requirements, cost requirements, etc., and the present invention does not limit this. At the same time, the time accuracy corresponding to each basic clock signal in the multiple basic clock signals (that is, the period of each basic clock signal) is different, and the specific period selection of each basic clock should be set according to specific actual needs, and the present invention does not limit this. Furthermore, the multiple basic clock signals can be generated simultaneously by the oscillator inside the chip, or the oscillator can generate one or part of the basic clocks, and then divide the one or part of the basic clocks to generate the remaining basic clocks, and the present invention does not limit this.

[0043] 2) In the present disclosure, multiple protection items include but are not limited to overvoltage protection item OVP, undervoltage protection item UVP, charging overcurrent protection item OCC, discharging overcurrent protection item OCD and short circuit protection item SCP. In other embodiments of the present disclosure, temperature protection items such as minimum temperature protection item and maximum temperature protection item, as well as several protection items such as power and operating time may also be included, and the present invention does not limit this.

[0044] Furthermore, in the present disclosure, the trigger indication signal of the corresponding protection item among the multiple protection items is represented by the X_en signal. When the X_en signal is in the valid level state, it indicates that the protection item is triggered and the trigger delay timing needs to be performed; the release indication signal of the corresponding protection item among the multiple protection items is represented by the X_rls signal. When the X_rls signal is in the valid level state, it indicates that the protection item is released and the release delay timing needs to be performed. Afterwards, after the delay timing reaches the corresponding threshold, the corresponding control signal is triggered to control the Figure 1The corresponding protection is triggered or released by turning on and off the corresponding switches in the discharge switch FET1 and the charging switch FET2 shown in the figure. For example, the trigger indication signal corresponding to the overvoltage protection item ovp is recorded as ovp_en, and the release indication signal corresponding to the overvoltage protection item ovp is recorded as ovp_rls; the trigger indication signal corresponding to the undervoltage protection item uvp is recorded as uvp_en, and the release indication signal corresponding to the undervoltage protection item uvp is recorded as uvp_rls; the trigger indication signal corresponding to the corresponding charging overcurrent protection item occ is recorded as occ_en, and the release indication signal corresponding to the charging overcurrent protection item occ is recorded as occ_rls; the trigger indication signal corresponding to the discharge overcurrent protection item ocd is recorded as ocd_en, and the release indication signal corresponding to the discharge overcurrent protection item ocd is recorded as ocd_rls; the trigger indication signal corresponding to the short-circuit protection item scp is recorded as scp_en, and the release indication signal corresponding to the short-circuit protection item scp is recorded as scp_rls. Similarly, in other embodiments of the present disclosure, similar expressions may be used for trigger indication signals and release indication signals of other protection items. Herein, X represents one of the multiple protection items.

[0045] In the present disclosure, unless otherwise specified, optionally, the effective level state of each signal can be all the first level state or part of the first level state and part of the second level state, and the first level state can be any one of the high level state and the low level state, and the corresponding second level is the other of the high level state and the low level state, and the present invention is not limited to this.

[0046] The delay clock chain multiplexing module 120 is connected to the clock selection and reset module 110, receives a reset signal and one of the multiple basic clock signals, and is used to reset the delay clock chain when a valid reset signal is received, and control the delay clock chain to perform delay timing according to one of the multiple basic clock signals that meet the delay requirements, and output an execution signal with a first level state when the timing value reaches a corresponding threshold.

[0047] refer to Figure 4In this embodiment, the delay clock chain multiplexing module 120 includes: x D flip-flops (U1, U2, ..., Ux-2, Ux-1, Ux) connected in series. The clock terminal CLK of each of the x D flip-flops receives one of the multiple basic clock signals that meet the delay requirements, namely the target clock signal clk_in, the reset terminal RST of each D flip-flop receives the reset signal rst, and the input terminal D of each D flip-flop is connected to the output terminal Q of the previous stage D flip-flop. The input terminal of the first D flip-flop receives the reference signal F0 (the reference signal F0 can be provided by any node voltage or signal that meets the level requirements in the chip), and the output terminal of the i-th D flip-flop Ui among the x D flip-flops outputs the execution signal X_dly. Wherein, x and i are both positive integers, and i is greater than or equal to 1 and less than or equal to x.

[0048] Further, in one embodiment of the present disclosure, among the multiple trigger execution signals and multiple release execution signals corresponding to the multiple protection items, each execution signal is output at the output end of a different D flip-flop among the x D flip-flops. In this way, by reasonably setting the number of D flip-flops and the output node position of the execution signal corresponding to each protection item, the multiple trigger execution signals and multiple release execution signals can be triggered separately, which can reduce the number of required basic clocks.

[0049] In another embodiment of the present invention, among the multiple trigger execution signals and multiple release execution signals corresponding to the multiple protection items, at least some execution signals are output at the output end of the same D flip-flop among the x D flip-flops. In this way, by reasonably setting the number of basic clocks and the cycle length of each basic clock, the multiple trigger execution signals and multiple release execution signals can be triggered separately, which can further reduce the number of required D flip-flops.

[0050] It can be understood that when the delay clock chain multiplexing module 120 delays the timing of the trigger indication signal corresponding to a certain protection item, the execution signal X_dly it outputs is the trigger execution signal X_det_dly corresponding to the protection item; when the delay clock chain multiplexing module 120 delays the timing of the release indication signal corresponding to a certain protection item, the execution signal X_dly it outputs is the release execution signal X_rls_dly corresponding to the protection item. For example, the trigger execution signal corresponding to the overvoltage protection item ovp is recorded as V_det_dly, and the release execution signal corresponding to the overvoltage protection item ovp is recorded as ovp_rls_dly; the trigger execution signal corresponding to the undervoltage protection item uvp is recorded as V_det_dly, and the release execution signal corresponding to the undervoltage protection item uvp is recorded as uvp_rls_dly; the trigger execution signal corresponding to the corresponding charging overcurrent protection item occ is recorded as C_det_dly, and the release execution signal corresponding to the charging overcurrent protection item occ is recorded as occ_rls_dly; the trigger execution signal corresponding to the discharge overcurrent protection item ocd is recorded as C_det_dly, and the release execution signal corresponding to the discharge overcurrent protection item ocd is recorded as ocd_rls_dly; the trigger execution signal corresponding to the short-circuit protection item scp is recorded as scp_det_dly, and the release execution signal corresponding to the short-circuit protection item scp is recorded as scp_rls_dly. Similarly, in other embodiments of the present disclosure, similar expressions may be used for trigger execution signals and release execution signals of other protection items. And when the execution signal X_dly output by the delay clock chain multiplexing module 120 is in the first level state (such as a high level effective state), the target indication signal representing the target protection item has met the delay requirement.

[0051] It should be noted that, in the present disclosure, there is no specific limitation on the number of D flip-flops included in the delay clock chain multiplexing module 120, and the basic requirement is to be able to realize the delay time requirements corresponding to multiple protection items of the actual chip.

[0052] Optionally, in the delayed clock chain multiplexing module 120 , a corresponding logic gate circuit may be provided at the input or output end of the corresponding D flip-flop to control and implement functions such as level flipping, multi-signal triggering, and the like.

[0053] The protection detection module 130 is respectively connected to the clock selection and reset module 110 and the delayed clock chain multiplexing module 120, and receives the enable signal En, the protection trigger indication signal Prot, and multiple trigger signals, multiple release signals, multiple trigger execution signals and multiple release execution signals corresponding to multiple protection items, so as to detect the level states of the multiple trigger signals, the multiple release signals, the multiple trigger execution signals and the multiple release execution signals when the enable signal En and the protection trigger indication signal Prot are valid, and output multiple trigger indication signals, multiple release indication signals and multiple protection signals according to the detection results.

[0054] Furthermore, the protection detection module 130 includes a plurality of protection detection units (including but not limited to an OVP protection detection unit 131, a UVP protection detection unit 132, an OCC protection detection unit 133, an OCD protection detection unit 134, and an SCP protection detection unit 135). Each of the plurality of protection detection units receives a trigger signal, a release signal, a trigger execution signal, and a release execution signal of a corresponding protection item, and when the enable signal En and the protection trigger indication signal Prot are valid, after detecting the level states of the trigger signal, the release signal, the trigger execution signal, and the release execution signal, the trigger indication signal, the release indication signal, and the protection signal of the corresponding protection item are output according to the detection result.

[0055] Specifically, when the trigger signal corresponding to a certain protection item is in a valid state, a valid trigger indication signal corresponding to the protection item is output accordingly; when the release signals corresponding to a certain protection item are all in a valid state, a valid release indication signal corresponding to the protection item is output accordingly; when the trigger signal and the trigger execution signal corresponding to a certain protection item are both in a valid state, a protection signal corresponding to the protection item with a first level state is output accordingly, thereby controlling the following: Figure 1 The corresponding switches in the discharge switch FET1 and the charging switch FET2 shown in the figure are turned off to complete the corresponding protection triggering; when the release signal and the release execution signal corresponding to a certain protection item are both in the valid state, the corresponding protection signal corresponding to the protection item with the second level state is output, thereby controlling as follows Figure 1 The corresponding switches in the discharge switch FET1 and the charge switch FET2 shown in the figure are turned on to complete the corresponding protection release. If, after detection, the trigger signal or release signal corresponding to a protection item is in a valid level state, but the corresponding execution signal is in an invalid level state, it can be determined that the protection item does not meet the delay requirement.

[0056] Therefore, in the protection detection module 130 disclosed in the present invention, a first logic gate circuit and a second logic gate circuit are provided at the input end of each protection detection unit, and the first logic gate circuit is used to trigger the output of a protection signal with a first level state only when the trigger signal and the trigger execution signal corresponding to the protection item are both valid; the second logic gate circuit is used to trigger the output of a protection signal with a second level state only when the release signal and the release execution signal corresponding to the protection item are both valid. In this way, it is possible to avoid false triggering caused by the output of the trigger execution signal or the release execution signal of different protection items at the same output node (i.e., the output end of the same D flip-flop) in the delay clock chain, thereby improving the detection accuracy. The specific circuit structure of the first logic gate circuit and the second logic gate circuit should be set according to the actual effective level state of each signal, and the present invention does not limit this.

[0057] In the present disclosure, the trigger signal and release signal corresponding to the same protection item may be different level states of the same pulse signal; or the trigger signal and release signal corresponding to the same protection item may be different pulse signals with the same or different effective level states. The present invention does not limit this.

[0058] Further, in the present disclosure, the trigger signal of the corresponding protection item in the multiple protection items is represented by the X_t signal, and the release signal of the corresponding protection item in the multiple protection items is represented by the X_r signal (the X_t signal and the X_r signal are both provided by the external detection circuit). For example, the trigger signal corresponding to the overvoltage protection item ovp is recorded as ovp_t, and the release signal corresponding to the overvoltage protection item ovp is recorded as ovp_r; the trigger signal corresponding to the undervoltage protection item uvp is recorded as uvp_t, and the release signal corresponding to the undervoltage protection item uvp is recorded as uvp_r; the trigger signal corresponding to the corresponding charging overcurrent protection item occ is recorded as occ_t, and the release signal corresponding to the charging overcurrent protection item occ is recorded as occ_r; the trigger signal corresponding to the discharge overcurrent protection item ocd is recorded as ocd_t, and the release signal corresponding to the discharge overcurrent protection item ocd is recorded as ocd_r; the trigger signal corresponding to the short-circuit protection item scp is recorded as scp_t, and the release signal corresponding to the short-circuit protection item scp is recorded as scp_r. Similarly, in other embodiments of the present disclosure, similar expressions may be used for the trigger signals and release signals of other protection items. On the other hand, in the present disclosure, for example, the protection signal corresponding to the overvoltage protection item ovp is recorded as OVP, the protection signal corresponding to the undervoltage protection item uvp is recorded as UVP, the protection signal corresponding to the charging overcurrent protection item occ is recorded as OCC, the protection signal corresponding to the discharging overcurrent protection item ocd is recorded as OCD, and the protection signal corresponding to the short-circuit protection item scp is recorded as SCP.

[0059] For example, it is assumed that the priority of the discharge overcurrent protection item ocd of a chip is higher than the priority of the overvoltage protection item ovp, and the delay time required by the trigger indication signal ocd_en corresponding to the discharge overcurrent protection item ocd is 256us, the delay time required by the trigger indication signal ovp_en corresponding to the overvoltage protection item ovp is 128ms, and the clock period of the first basic clock signal clk_A among multiple basic clock signals is 1s, the clock period of the second basic clock signal clk_B is 1ms, and the clock period of the third basic clock signal clk_C is 1us, and each indication signal and execution signal takes the first level state such as the high level state as the valid state.

[0060] If the overvoltage protection of the chip is triggered at a certain moment, that is, at this time, both the signal ovp_t and the signal Prot become high level, the rising edge before the signal Prot becomes high level triggers the clock selection and reset module 110 to output a valid reset signal rst, and resets the delayed clock chain in the delayed clock chain multiplexing module 120. At the same time, the protection detection module 130 outputs a high-level trigger indication signal ovp_en based on the signal ovp_t, and the clock selection and reset module 110 selects the second basic clock signal clk_B as the target clock signal based on the trigger indication signal ovp_en and outputs it to the delayed clock chain multiplexing module 120, and controls the delayed clock chain in the delayed clock chain multiplexing module 120 to perform timing based on the second basic clock signal clk_B. If the signal ocd_t becomes a high level at the 100th ms of timing, the protection detection module 130 outputs a high-level trigger indication signal ocd_en based on the signal ocd_t, and the clock selection and reset module 110 compares the priorities of the protection items corresponding to the signals ocd_en and ovp_en, and outputs a valid reset signal rst based on the signal ocd_en to reset the delayed clock chain in the delayed clock chain multiplexing module 120, and selects the third basic clock signal clk_C as the target clock signal to output to the delayed clock chain multiplexing module 120, controls the delayed clock chain in the delayed clock chain multiplexing module 120 to perform timing based on the third basic clock signal clk_C, and outputs a trigger execution signal C_det_dly to the protection detection module 130 when the timing value reaches 256us, and the OCD protection detection unit 134 in the protection detection module 130 outputs a low-level protection signal OCD when it detects that the signal C_det_dly and the signal ocd_t are both in a valid high-level state, thereby controlling the shutdown of the OCD protection detection module 130. Figure 1 The discharge switch FET1 in the chip completes the discharge overcurrent protection for the chip.

[0061] Based on the above description, the entire chip, based on the original clock generated by the internal oscillator, adopts a simple clock division chain, combined with the selection of the basic clock, the judgment of the priority of multiple protection items, and the reset of the delay clock chain, to complete the triggering and release timing of all protection items. Since the delay clock chain is reset before the triggering or release switching of different protection items, and the corresponding basic clock is selected as needed, the above circuit structure can save a certain amount of power consumption, which meets the low power consumption requirements of the battery protection chip and the requirements of area reduction.

[0062] Figure 5 A flowchart of a multi-delay clock chain multiplexing method for a battery protection chip provided in accordance with an embodiment of the present disclosure is shown.

[0063] like Figure 5 As shown, in this embodiment, the multi-delay clock chain multiplexing method of the battery protection chip includes executing steps S1 to S4.

[0064] Specifically, in step S1, when the protection is triggered, the priority of the currently enabled protection item is compared with the priority of the newly triggered protection item.

[0065] In the case of chip triggering protection, if the chip triggers multiple protection items at the same time, the priority of the currently enabled protection item and the priority of the newly triggered protection item are compared one by one according to the sequence of the triggered protection items and the preset priorities of the multiple protection items. After comparison, if the priority of the newly triggered protection item is lower than the priority of the currently enabled protection item, step S2 is executed; if the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, step S3 is executed. For example, a software program can be used to compare priorities according to the indicators corresponding to different protection items. Amber uses a combination of software and hardware to compare priorities, and the present invention does not limit this.

[0066] Furthermore, before triggering the protection, it also includes: resetting the delay clock chain. That is, the rising edge or falling edge before the protection trigger indication signal is valid triggers the output of a valid reset signal to reset the delay clock chain.

[0067] In step S2, when the priority of the newly triggered protection item is lower than the priority of the currently enabled protection item, the currently enabled protection item continues to be delayed based on the delay clock chain.

[0068] refer to Figure 2 and Figure 3When the priority of the newly triggered protection item is lower than the priority of the currently enabled protection item, the clock selection and reset module 110 outputs an invalid reset signal rst, while maintaining the output channel connectivity of the current basic clock signal, so that the delayed clock chain multiplexing module 120 continues to delay timing of the currently enabled protection item until a higher priority protection item is triggered and the timing is interrupted, or the current timing value reaches the threshold, and then step S4 is executed.

[0069] In step S3, when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, the delay clock chain is reset, and the basic clock signal corresponding to the newly triggered protection item is selected, and the reset delay clock chain is controlled to perform delay timing according to the selected basic clock signal.

[0070] refer to Figure 2 and Figure 3 When the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, the clock selection and reset module 110 outputs a valid reset signal rst to reset the delay clock chain, disconnects the output channel of the current basic clock signal, and connects the output channel of the basic clock signal corresponding to the delay requirement of the newly triggered protection item, and controls the reset delay clock chain to perform delay timing according to the selected basic clock signal. The timing is interrupted after the protection item with a higher priority is triggered, or the current timing value reaches the threshold, and step S4 is executed.

[0071] In step S4, after the timing value reaches the corresponding threshold, the control implements triggering or releasing of the corresponding protection item.

[0072] After the timing value reaches the threshold corresponding to the protection item of the current delay timing, a valid execution signal is output to trigger the on or off of the Figure 1 The discharge switch FET1 and / or the charging switch FET2 in the circuit complete the triggering or releasing of the currently turned-on protection item.

[0073] Based on the same inventive concept, the present disclosure also relates to a battery protection chip, the battery protection chip comprising: Figures 2 to 4 The multi-delay clock chain multiplexing circuit of the described battery protection chip uses the same delay clock chain to realize the timing of different delay times of multiple trigger indication signals and multiple release indication signals based on the current state of the circuit in which the battery protection chip is located, multiple trigger indication signals and multiple release indication signals corresponding to multiple protection items, the priorities of multiple protection items and multiple basic clock signals.

[0074] In summary, the present invention uses a clock selection and reset module to reset the clock according to the priority of multiple protection items before releasing or triggering the switching of different protection items, and selects the corresponding basic clock as needed, so that the delay timing of triggering and releasing multiple protection items can be realized based on the same delay clock chain. Since the same delay clock chain is used for the delay timing when triggering and releasing multiple protection items, and there is no need to use multiple delay clock chains to perform separate delay timing for triggering and releasing multiple protection items, the number of components required for the chip is effectively reduced, power consumption and cost are reduced, and the chip area occupied is reduced, which is conducive to realizing chip miniaturization and meets the low power consumption requirements and area reduction requirements of lithium battery protection chips.

[0075] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0076] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.

Claims

1. A multi-delay clock chain multiplexing circuit for a battery protection chip, wherein: include: A clock selection and reset module receives a protection trigger indication signal, a plurality of basic clock signals, a plurality of trigger indication signals corresponding to a plurality of protection items, and a plurality of release indication signals, and is used to compare the priority of the currently enabled protection item with the priority of the newly triggered protection item based on the priority of the plurality of protection items when the protection trigger indication signal is valid, and output a reset signal according to the comparison result, and select one of the plurality of basic clock signals that meets the delay requirement for output according to the detection result; a delay clock chain multiplexing module, connected to the clock selection and reset module, receiving the reset signal and one of the multiple basic clock signals, for resetting the delay clock chain when receiving the valid reset signal, and controlling the delay clock chain to perform delay timing according to one of the multiple basic clock signals that meet the delay requirement, and outputting an execution signal with a first level state when the timing value reaches a corresponding threshold; a protection detection module, connected to the clock selection and reset module and the delayed clock chain multiplexing module respectively, receiving an enable signal, the protection trigger indication signal, and multiple trigger signals, multiple release signals, multiple trigger execution signals and multiple release execution signals corresponding to the multiple protection items, and used to detect the level states of the multiple trigger signals, the multiple release signals, the multiple trigger execution signals and the multiple release execution signals when the enable signal and the protection trigger indication signal are valid, and output the multiple trigger indication signals, the multiple release indication signals and the multiple protection signals according to the detection results, The clock selection and reset module outputs a valid reset signal when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item.

2. The multi-delay clock chain multiplexing circuit according to claim 1, wherein: The clock selection and reset module is also used to trigger the output of the valid reset signal at the previous rising edge or falling edge of the protection trigger indication signal.

3. The multi-delay clock chain multiplexing circuit according to any one of claims 1 and 2, wherein: The clock selection and reset module comprises: a first priority judgment subunit, for comparing the priority of the currently enabled protection item with the priority of the newly triggered protection item when the protection trigger indication signal is valid, and generating an interrupt signal when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item; a pulse generating subunit, connected to the first priority judging subunit, for generating a valid reset signal upon receiving the interrupt signal; a second priority judgment subunit, for comparing the priority of the currently enabled protection item with the priority of the newly triggered protection item when the protection trigger indication signal is valid, and generating a selection signal according to the delay requirement corresponding to the newly triggered protection item when the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item; A multiple-choice-one selector is connected to the second priority judgment subunit, and is used to select and output a basic clock signal corresponding to the delay requirement of the newly triggered protection item when receiving the selection signal.

4. The multi-delay clock chain multiplexing circuit according to claim 1, wherein: The delayed clock chain multiplexing module includes: x D flip-flops connected in series, the clock end of each of the x D flip-flops receives one of the multiple basic clock signals that meet the delay requirement, the reset end of each D flip-flop receives the reset signal, and the output end of the i-th D flip-flop of the x D flip-flops outputs the execution signal, Wherein, x and i are both positive integers, and i is greater than or equal to 1 and less than or equal to x.

5. The multi-delay clock chain multiplexing circuit according to claim 4, wherein: Among the multiple trigger execution signals and the multiple release execution signals corresponding to the multiple protection items, each execution signal is output at an output terminal of a different D flip-flop among the x D flip-flops.

6. The multi-delay clock chain multiplexing circuit according to claim 4, wherein: Among the multiple trigger execution signals and the multiple release execution signals corresponding to the multiple protection items, at least part of the execution signals are output at the output end of the same D flip-flop among the x D flip-flops.

7. The multi-delay clock chain multiplexing circuit according to claim 1, wherein: The protection detection module comprises: Multiple protection detection units, each protection detection unit receives a trigger signal, a release signal, a trigger execution signal and a release execution signal of a corresponding protection item, and when the enable signal and the protection trigger indication signal are valid, after detecting the level states of the trigger signal, the release signal, the trigger execution signal and the release execution signal, outputs a trigger indication signal, a release indication signal and a protection signal of the corresponding protection item according to the detection result.

8. A battery protection chip, wherein: include: A multi-delay clock chain multiplexing circuit for a battery protection chip as claimed in any one of claims 1 to 7.

9. A method for multiplexing a multi-delay clock chain of a battery protection chip, applied to the multi-delay clock chain multiplexing circuit of the battery protection chip as claimed in claim 1, wherein: The multi-delay clock chain multiplexing method comprises: In the case of triggering protection, compare the priority of the currently enabled protection item with the priority of the newly triggered protection item; When the priority of the newly triggered protection item is lower than the priority of the currently enabled protection item, the currently enabled protection item continues to be delayed based on the delay clock chain; When the priority of the newly triggered protection item is higher than the priority of the currently enabled protection item, the delay clock chain is reset, and the basic clock signal corresponding to the newly triggered protection item is selected, and the reset delay clock chain is controlled to perform delay timing according to the selected basic clock signal; After the timing value reaches the corresponding threshold, the control implements the triggering or releasing of the corresponding protection item.

10. The multi-delay clock chain multiplexing method according to claim 9, wherein: Before triggering the protection, it also includes: Reset the delay clock chain.