Polling detection circuit and method based on battery protection chip and battery protection chip

By adopting a priority polling detection circuit in the battery protection chip, the problems of waste of polling resources and high power consumption are solved, and efficient and low-energy battery status monitoring is achieved.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the existing battery protection technology, the polling detection method has problems of resource waste and high power consumption, especially when the detection items increase, the polling resource waste is more obvious.

Method used

A polling detection circuit based on a battery protection chip is adopted to generate polling signals through the priority of multiple detection items, and polling detection is selectively performed to ensure polling timeliness and improve polling efficiency and reduce resource waste.

Benefits of technology

During a long polling cycle, detection time and resources are allocated as needed, improving polling efficiency, reducing energy losses, enhancing detection accuracy and sensitivity, rationally making use of resources, and reducing loss of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114487761B_ABST
    Figure CN114487761B_ABST
Patent Text Reader

Abstract

The present invention discloses a polling detection circuit, method and battery protection chip based on a battery protection chip, the circuit comprising: a polling signal generating module, which generates a first selection signal and a second selection signal based on a basic clock signal, multiple state signals and the priority of multiple detection items; an input array selection module, which is used to select one of multiple reference signals and one of multiple feedback signals based on the first selection signal to output to a comparator; the comparator is used to compare the received feedback signal and the reference signal, and output a corresponding indication signal; and an output sampling module, which is used to sample the indication signal according to the second selection signal, and update multiple state signals according to the sampling results. The present invention can allocate time and resources for effective polling detection as needed within a longer polling cycle based on the priority of multiple detection items, thereby improving the polling efficiency of key performance parameters on the basis of ensuring the timeliness of polling.
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 polling detection circuit and method based on a battery protection chip, and a battery protection chip. Background Art

[0002] With the continuous development and widespread popularity of mobile terminals, batteries, as power supply components of mobile terminals, are becoming more and more important. Therefore, how to take corresponding measures to protect the battery when a mobile terminal fails will directly affect the stability of the mobile terminal.

[0003] The existing battery protection technology generally monitors the electrical parameters of the circuit where the battery is located in real time, such as the current value, voltage value, instantaneous power and other electrical parameters of the circuit in real time. However, this method requires a fixed interval to traverse and poll each detection item. In some cases, some polling is meaningless, resulting in waste of power consumption and polling resources. As the number of items to be detected increases, the power consumption and polling resource waste caused by this polling method will become more obvious.

[0004] 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

[0005] In order to solve the above technical problems, the present invention provides a polling detection circuit, method and battery protection chip based on a battery protection chip, which performs polling detection based on the priority of multiple detection items, and can allocate time and resources for effective polling detection as needed within a longer polling cycle, thereby improving the polling efficiency of key performance parameters while ensuring the timeliness of polling.

[0006] On the one hand, a polling detection circuit based on a battery protection chip provided by the present invention includes: a polling signal generating module, receiving a basic clock signal and a plurality of status signals representing the triggering status of each detection item in a plurality of detection items of the battery protection chip, for generating a first selection signal and a second selection signal based on the basic clock signal, the plurality of status signals and the priority of the plurality of detection items, wherein the first selection signal and the second selection signal represent the same item to be detected within the validity period of the next polling detection; an input array selecting module, connected to the polling signal generating module, receiving a plurality of reference signals and a plurality of feedback signals corresponding to the plurality of detection items, for selecting one of the plurality of reference signals and one of the plurality of feedback signals for output based on the first selection signal; a comparator, connected to the input array selecting module, for comparing the received feedback signal and the reference signal, and outputting a corresponding indication signal; and an output sampling module, respectively connected to the comparator and the polling signal generating module, receiving the second selection signal and the indication signal, for sampling the indication signal according to the second selection signal, and updating the plurality of status signals according to the sampling results.

[0007] Optionally, the polling signal generating module includes: a polling clock generating unit, which receives the basic clock signal and is used to generate multiple polling clock signals, multiple enable signals and a reference clock signal based on the basic clock signal; a polling object selection unit, which is connected to the polling clock generating unit, receives the multiple polling clock signals, the multiple status signals and several first enable signals among the multiple enable signals, and is used to detect the multiple status signals based on the multiple polling clock signals, the several first enable signals and the priorities of the multiple detection items, so as to generate the first selection signal according to the detection result; a detection enable unit, which is respectively connected to the polling clock generating unit and the polling object selection unit, and is used to generate the second selection signal based on the second enable signal among the multiple enable signals, the first selection signal and the reference clock signal.

[0008] Optionally, the multiple polling clock signals include: a first polling clock signal, used to trigger the generation of a reference signal within a validity period; a second polling clock signal, used to trigger the detection of status signals corresponding to a first category of detection items among the multiple detection items according to the priority within a validity period; and a third polling clock signal, used to trigger the cross-detection of status signals corresponding to a second category of detection items among the multiple detection items according to the priority within a validity period.

[0009] Optionally, the validity period of the first polling clock signal in each cycle is equal to the sum of a preset delay period, the validity period of the second polling clock signal in one cycle, and the validity period of the third polling clock signal in one cycle.

[0010] Optionally, the polling object selection unit includes: a first priority processing subunit, receiving a status signal corresponding to the first category of detection items, and detecting the status signal corresponding to the first category of detection items according to the priority and the reference voltage within the validity period of the second polling clock signal, and generating the first selection signal according to the detection result; a second priority processing subunit, receiving a status signal corresponding to the second category of detection items, and detecting the status signal corresponding to the second category of detection items according to the priority and the reference voltage within the validity period of the third polling clock signal, and generating the first selection signal according to the detection result; a counting and clock adjustment subunit, counting the number of cycles of the second polling clock signal, so as to indicate that a large detection cycle is completed and re-counted when the count value reaches a threshold, and to adjust the preset delay period and the threshold, wherein the validity period of the third polling clock signal is after the validity period of the second polling clock signal.

[0011] Optionally, the circuit further includes: a storage module connected to the output sampling module, for latching a state signal corresponding to the first category of detection items after a preset time period.

[0012] Optionally, the preset duration is equal to the sum of multiple cycles of the second polling clock signal, and the delay duration is equal to the duration of one large detection cycle.

[0013] Optionally, the first category of detection items includes multiple voltage threshold detection items and multiple temperature detection items, and the second category of detection items includes multiple current threshold detection items.

[0014] Optionally, the detection of the multiple voltage threshold detection items and the multiple temperature detection items in the initial detection large cycle is performed in sequence according to the priority, and the detection in each non-initial detection large cycle is performed by selecting some detection items for detection based on the latch results of the previous detection large cycle.

[0015] On the other hand, a battery protection chip provided according to the present invention includes: a polling detection circuit based on the battery protection chip as described above, which is used to poll and detect multiple detection items according to the priorities of the multiple detection items, and generate multiple status signals according to the polling detection results; and a protection circuit, connected to the polling detection circuit based on the battery protection chip, which is used to control the on and off of the battery charging and discharging path according to the multiple status signals.

[0016] On the other hand, according to a polling detection method based on a battery protection chip provided by the present invention, the polling detection method can be applied to a polling detection circuit based on a battery protection chip as described in any embodiment of the present application, and the method includes: generating a first selection signal and a second selection signal based on a basic clock signal, multiple status signals and the priority of multiple detection items, the first selection signal and the second selection signal representing the same item to be detected within the validity period of the next polling detection; selecting one of the multiple reference signals corresponding to the multiple detection items and one of the multiple feedback signals for comparison based on the first selection signal; sampling the comparison result according to the second selection signal, and updating the multiple status signals according to the sampling result.

[0017] Optionally, the multiple detection items include first-category detection items and second-category detection items, wherein the first-category detection items include multiple voltage threshold detection items and multiple temperature detection items, and the second-category detection items include multiple current threshold detection items.

[0018] Optionally, generating the first selection signal and the second selection signal based on the basic clock signal, multiple state signals and the priority of multiple detection items includes: generating multiple polling clock signals, multiple enable signals and a reference clock signal based on the basic clock signal; triggering the generation of a reference voltage within the validity period of a first polling clock signal among the multiple polling clock signals; detecting the state signal corresponding to the first type of detection item according to the priority within the validity period of a second polling clock signal among the multiple polling clock signals, and generating the first selection signal according to the detection result; detecting the state signal corresponding to the second type of detection item according to the priority within the validity period of a third polling clock signal among the multiple polling clock signals, and generating the first selection signal according to the detection result; generating the second selection signal according to the first selection signal, the reference clock signal and the second enable signal among the multiple enable signals, wherein the validity period of each cycle of the first polling clock signal is equal to the sum of the preset delay period, the validity period of one cycle of the second polling clock signal and the validity period of one cycle of the third polling clock signal.

[0019] Optionally, detecting the status signal corresponding to the first category of detection items according to the priority within the validity period of the second polling clock signal among the multiple polling clock signals includes: counting the number of cycles of the second polling clock signal, and indicating that a large detection cycle is completed and recounting when the count value reaches a threshold; in the initial detection large cycle, detecting the status signals corresponding to the first category of detection items in turn according to the priority; in each non-initial detection large cycle, selecting some detection items in the first category of detection items for detection according to the detection results of the previous detection large cycle.

[0020] Optionally, the multiple voltage threshold detection items include a minimum charge and discharge voltage threshold detection item, an overvoltage threshold detection item and an undervoltage threshold detection item; the multiple temperature detection items include: a minimum protection temperature detection item, a maximum protection temperature detection item, a first intermediate temperature detection item and a second intermediate temperature detection item, wherein the first intermediate temperature is lower than the second intermediate temperature.

[0021] Optionally, the priority of the minimum charge and discharge voltage threshold detection item is higher than the priority of the minimum protection temperature detection item, the priority of the minimum protection temperature detection item is higher than the priority of the maximum protection temperature detection item, the priority of the maximum protection temperature detection item is higher than the priority of the first intermediate temperature detection item, the priority of the first intermediate temperature detection item is higher than the priority of the second intermediate temperature detection item, and the priority of the second intermediate temperature detection item is higher than the priority of the overvoltage threshold detection item and the priority of the undervoltage threshold detection item.

[0022] Optionally, in the initial detection large cycle, when the status signal of any one of the minimum charge and discharge voltage threshold detection item, the overvoltage threshold detection item, the undervoltage threshold detection item, the minimum protection temperature detection item and the maximum protection temperature detection item is detected as a trigger state, the current trigger item is continuously detected until the trigger state is released or the count value reaches the threshold; or in the initial detection large cycle, when the status signal of any one of the first intermediate temperature detection item and the second intermediate temperature detection item is detected as a trigger state, only the undervoltage threshold detection item is detected until the trigger state is released or the count value reaches the threshold.

[0023] Optionally, in each non-initial detection large cycle, some detection items in the first category of detection items are selected for detection according to the detection results of the previous detection large cycle, including: if the undervoltage threshold detection item in the detection results of the previous detection large cycle is in a triggered state, then the minimum charge and discharge voltage threshold detection item is detected, otherwise, the undervoltage threshold detection item is detected; if the minimum protection temperature detection item in the detection results of the previous detection large cycle is in a triggered state or the first intermediate temperature detection item is in a triggered state, then the minimum protection temperature detection is detected, otherwise, the overvoltage threshold detection item is detected; if the second intermediate temperature detection item in the detection results of the previous detection large cycle is in a triggered state or the maximum protection temperature detection item is in a triggered state, then the maximum protection temperature detection item is detected, otherwise, the undervoltage threshold detection item is detected; if the first intermediate temperature detection item in the detection results of the previous detection large cycle is in a triggered state or the multiple If all temperature detection items are in an untriggered state, then the first intermediate temperature detection item is detected. If the lowest protection temperature detection item in the detection result of the previous detection cycle is in a triggered state or the second intermediate temperature detection item is in a triggered state, then the undervoltage threshold detection item is detected; if the multiple temperature detection items in the detection result of the previous detection cycle are all in an untriggered state or the second intermediate temperature detection item is in a triggered state, then the second intermediate temperature detection item is detected. If the highest protection temperature detection item is in a triggered state or the lowest protection temperature detection item is in a triggered state or the first intermediate temperature detection item is in a triggered state, then the undervoltage threshold detection item is detected; the overvoltage threshold detection item and the undervoltage threshold detection item are alternately detected. When it is detected that any one of the overvoltage threshold detection item and the undervoltage threshold detection item is in a triggered state, the current trigger item is continuously detected until the trigger state is released, and the cross detection is restored.

[0024] Optionally, detecting the status signal corresponding to the second type of detection item according to the priority within the validity period of the third polling clock signal among the multiple polling clock signals includes: within the validity period of the third polling clock signal, cross-detecting the status signals of the multiple current threshold detection items, and when it is detected that the status signal corresponding to a certain detection item among the status signals of the multiple current threshold detection items is in a triggered state, continuously detecting the current triggered item until the trigger state is released, and resuming the cross-detection.

[0025] Optionally, after each large detection cycle is completed, the current detection result is latched.

[0026] The beneficial effects of the present invention are as follows: the present invention discloses a polling detection circuit, method and battery protection chip based on a battery protection chip, which adopts a polling signal generating module to determine the items to be detected within the validity period of the next polling detection based on a basic clock signal, multiple status signals and the priority of multiple detection items, and continuously updates multiple status signals according to the determined items to be detected. It can make priority and combination judgments according to the characteristics of different items to be detected and their mutual conditional relationships, combined with the circuit state of the previous polling cycle (corresponding to the previous large detection cycle) and the current state, which is helpful to allocate time and resources for effective polling detection as needed within a longer polling cycle, and then on the basis of ensuring the timeliness of polling, it can improve the polling efficiency of key performance parameters and effectively reduce the waste of polling resources.

[0027] Using multiple polling clock signals as window signals to trigger the processing of reference voltage, voltage threshold and temperature detection items and current threshold detection items respectively can avoid mutual interference, improve detection accuracy and polling efficiency. And only processing within the validity period of the polling signal can also reduce energy loss.

[0028] After a large detection cycle is completed, various detection results, namely status signals, are latched, which helps to provide a basis for priority judgment of the next large detection cycle and avoid the loss of detection results from having an adverse effect on subsequent polling detection.

[0029] Different priority processing methods are used in the initial detection large cycle and the non-initial detection large cycle to select and detect multiple detection items including multiple voltage threshold detection items and multiple temperature detection items, so that the slower changing temperature signal can be polled in a large cycle and with a basis, and the relatively faster changing signal can be polled more efficiently in a small cycle, which can make more reasonable use of polling resources and effectively reduce the power consumption of polling.

[0030] During polling detection, if a detection item is detected as a trigger state, continuous and uninterrupted detection of the trigger item can effectively improve the sensitivity and state recovery speed of the circuit.

[0031] 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

[0032] 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.

[0033] Figure 1 A structural block diagram of a polling detection circuit based on a battery protection chip provided according to an embodiment of the present disclosure is shown;

[0034] Figure 2A structural block diagram of a polling signal generating module in a polling detection circuit provided according to an embodiment of the present disclosure is shown;

[0035] Figure 3 A timing waveform diagram of a polling detection circuit based on a battery protection chip provided according to an embodiment of the present disclosure is shown;

[0036] Figure 4 A flowchart of a polling detection method based on a battery protection chip provided according to an embodiment of the present disclosure is shown;

[0037] Figure 5 A flow chart showing a method for generating a first selection signal and a second selection signal in a polling detection method provided according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0038] 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.

[0039] 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.

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

[0041] Figure 1 FIG. 1 shows a structural block diagram of a polling detection circuit based on a battery protection chip provided according to an embodiment of the present disclosure. Figure 2 FIG. 1 shows a structural block diagram of a polling signal generating module in a polling detection circuit provided according to an embodiment of the present disclosure. Figure 3 A timing waveform diagram of a polling detection circuit based on a battery protection chip provided according to an embodiment of the present disclosure is shown.

[0042] In this embodiment, Figure 1As shown, the polling detection circuit based on the battery protection chip (hereinafter referred to as the polling detection circuit) comprises: an input array selection module 100, a polling signal generating module 200, a comparator 300 and an output sampling module 400. Among them, the first input end of the input array selection module 100 receives multiple reference signals and multiple feedback signals corresponding to multiple detection items, the second input end of the input array selection module 100 is connected to the first output end of the polling signal generating module 200, and the output end of the input array selection module 100 is connected to the input end of the comparator 300. The first input end of the polling signal generating module 200 receives the basic clock signal clk, the second input end of the polling signal generating module 200 receives multiple state signals corresponding to the trigger state of each detection item in the multiple detection items of the battery protection chip, and the second output end of the polling signal generating module 200 is connected to the second input end of the output sampling module 400. The first input terminal of the output sampling module 400 is connected to the output terminal of the comparator 300 , and the output terminal of the output sampling module 400 is directly or indirectly connected to the second input terminal of the polling signal generating module 200 .

[0043] In this embodiment, the multiple detection items of the battery protection chip include first-category detection items and second-category detection items, wherein the first-category detection items include multiple voltage threshold detection items and multiple temperature detection items, and the second-category detection items include multiple current threshold detection items.

[0044] Specifically, multiple voltage threshold detection items include: minimum charge and discharge voltage threshold detection item Nochg (used to determine whether the current battery voltage is lower than the minimum allowable working charge and discharge voltage. When the battery voltage is lower than the minimum allowable charge and discharge voltage, the circuit turns off the main transmission transistor and enters the charge and discharge prohibition mode), overvoltage threshold detection item ovp (used to determine whether the battery exceeds the maximum allowable voltage under normal temperature working conditions) and undervoltage threshold detection item uvp (used to determine whether the battery is lower than the minimum allowable voltage under normal temperature working conditions).

[0045] Multiple temperature detection items include: minimum protection temperature detection item v_n10 (used to determine whether the current chip temperature is compared with the minimum protection temperature (such as minus 10 degrees Celsius). When it is lower than the minimum protection temperature, the chip is considered to be too low in temperature, the circuit shuts down the main transmission transistor, and enters the prohibition of charging and discharging mode), maximum protection temperature detection item v_60 (used to determine whether the current chip temperature is compared with the maximum protection temperature (such as zero plus 60 degrees Celsius). When it is higher than the maximum protection temperature, the chip is considered to be too high in temperature, the circuit shuts down the main transmission transistor, and enters the prohibition of charging and discharging mode. formula), the first intermediate temperature detection item v_0 (used to judge the temperature of the current chip compared with the first intermediate temperature (such as 0 degrees Celsius). When the temperature is between the first intermediate temperature and the lowest protection temperature (such as 0 degrees Celsius-minus 10 degrees Celsius), the circuit allows discharging and prohibits charging), and the second intermediate temperature detection item v_45 (used to judge the temperature of the current chip compared with the second intermediate temperature (such as 45 degrees Celsius). When the temperature is between the second intermediate temperature and the highest protection temperature (such as 45 degrees Celsius-60 degrees Celsius), the circuit allows discharging and prohibits charging).

[0046] Multiple current threshold detection items include: a maximum charging current threshold detection item OCC (used to determine whether the charging current is higher than the maximum allowable charging current under normal temperature working conditions) and a maximum discharge current threshold detection item OCD (used to determine whether the discharge current is lower than the maximum allowable discharge current under normal temperature working conditions). Classifying multiple detection items and then performing polling detection can avoid mutual interference and improve detection accuracy and polling efficiency. It should be understood that the above examples of numerical values ​​in this embodiment are only for the sake of ease of understanding and explanation, and do not constitute a limitation on the technical solution disclosed in the present invention. In practice, the above numerical values ​​of different battery protection chips may be other numerical values, which may be the same or different, and no further explanation is given here.

[0047] It is understandable that the above description of the types, quantities and related threshold ranges of multiple detection items is only exemplary. The technical solution disclosed in the present invention can actually adapt to include but not limited to the multiple voltage threshold detection items, protection temperature detection items and multiple current threshold detection items described above, and can also include several detection items such as power, time, etc. As long as the detection items that change slowly over time are detected based on a longer large cycle, and the detection items that change quickly over time are detected based on a smaller small cycle, they should be within the protection scope of the present invention. At the same time, the types and quantities of the basic detection items contained in the various detection items described in this article are not limited to this, and the present invention does not make specific restrictions.

[0048] It should also be noted that the description of the temperature values ​​in the above-mentioned protection temperature detection items is only exemplary. In practice, for different chips and different application environments, the required detection value range is also different, and the present invention does not limit this.

[0049] Further, the polling signal generating module 200 is used to generate a first selection signal and a second selection signal based on a basic clock signal clk, a plurality of state signals and the priority of a plurality of detection items. Optionally, the first selection signal is marked as a det signal, and the second selection signal is marked as a sen signal. That is to say, the polling signal generating module 200 selects one of the det signals corresponding to the plurality of detection items as the first selection signal output within each polling validity period, and simultaneously selects one of the sen signals corresponding to the plurality of detection items as the output, wherein the first selection signal and the second selection signal are both polling signals, and are used to represent the same item to be detected within the next polling detection validity period.

[0050] Further, the multiple status signals include: a status signal nochg corresponding to the lowest charge and discharge voltage threshold detection item, a status signal T_abv_n10 corresponding to the lowest protection temperature detection item, a status signal T_abv_0 corresponding to the first intermediate temperature detection item, a status signal T_abv_45 corresponding to the second intermediate temperature detection item, a status signal T_abv_60 corresponding to the highest protection temperature detection item, a status signal ovp_t corresponding to the overvoltage threshold detection item, a status signal uvp_t corresponding to the undervoltage threshold detection item, a status signal occ_t corresponding to the highest charging current threshold detection item, and a status signal ocd_t corresponding to the highest discharge current threshold detection item.

[0051] The det signals corresponding to multiple detection items include: a det_nochg signal corresponding to the first detection item Nochg, a det_ovp signal corresponding to the second detection item ovp, a det_uvp signal corresponding to the third detection item uvp, a det_abv_n10 signal corresponding to the fourth detection item v_n10, a det_abv_60 signal corresponding to the fifth detection item v_60, a det_abv_0 signal corresponding to the sixth detection item v_0, a det_abv_45 signal corresponding to the seventh detection item v_45, a det_occ signal corresponding to the eighth detection item occ, and a det_ocd signal corresponding to the ninth detection item ocd.

[0052] The sen signals corresponding to multiple detection items include: a sen_nochg signal corresponding to the first detection item Nochg, a sen_ovp signal corresponding to the second detection item ovp, a sen_uvp signal corresponding to the third detection item uvp, a sen_abv_n10 signal corresponding to the fourth detection item v_n10, a sen_abv_60 signal corresponding to the fifth detection item v_60, a sen_abv_0 signal corresponding to the sixth detection item v_0, a sen_abv_45 signal corresponding to the seventh detection item v_45, a sen_occ signal corresponding to the eighth detection item occ, and a det_ocd signal corresponding to the ninth detection item ocd.

[0053] refer to Figure 2 and Figure 3 In this embodiment, the polling signal generating module 200 includes: a polling clock generating unit 210, a polling object selecting unit 220 and a detection enabling unit 230.

[0054] The polling clock generating unit 210 receives a basic clock signal clk and a basic enable signal en at its input end, and is used to generate a plurality of polling clock signals Phase<2:0>, a plurality of enable signals and a reference clock signal ck_det based on the basic clock signal clk and the basic enable signal en.

[0055] refer to Figure 3 , the plurality of polling clock signals Phase<2:0> include a first polling clock signal Phase <0> , Second polling clock signal Phase <1> And the third polling clock signal Phase <2> The first polling clock signal Phase <0> Used to trigger the bandgap reference circuit to generate a reference signal during the validity period; the second polling clock signal Phase <1> Used to trigger the detection of the status signal of the first type of detection items in the corresponding multiple detection items according to the priority within the validity period; the third polling clock signal Phase <2> It is used to trigger the cross detection of the state signal of the second type of detection items in the corresponding multiple detection items according to the priority within the validity period. At the same time, the multiple enable signals include a plurality of first enable signals sen<2:0> and a second enable signal sen_det, and the plurality of first enable signals sen<2:0> are used to respectively control the start and stop of each subunit in the polling object selection unit 220. Optionally, in this embodiment, the plurality of polling clock signals Phase<2:0> are all high level valid.

[0056] Furthermore, the second polling clock signal Phase <1> And the third polling clock signal Phase <2> Only in the first polling clock signal Phase <0> Valid within the validity period, and the first polling clock signal Phase <0> The validity period of each cycle (corresponding to Figure 3The time period between t0 and t3 is equal to the preset delay period (corresponding to Figure 3 The time period between time t0 and time t1), the second polling clock signal Phase <1> The validity period within a cycle (corresponding to Figure 3 The time period between time t1 and time t2) and the third polling clock signal Phase <2> The validity period within a cycle (corresponding to Figure 3 The sum of the time period between t2 and t3).

[0057] It should be understood that the above division of multiple polling clock signals is only exemplary. In other embodiments of the present invention, it can also be divided into including the first to fourth polling clock signals, and then the voltage, temperature and current polling detections are respectively performed during the valid period of the second to fourth polling clock signals; or it can also be divided into including more polling clock signals, and then one detection item is respectively performed during the valid period of each polling clock signal, and so on. As long as the relationship between the multiple polling clock signals and the multiple detection items is the same or similar to the priority processing method disclosed in the present invention, it should be within the protection scope of the present invention. Accordingly, among the multiple polling clock signals, the effective period of each cycle of the first polling clock signal used to trigger the generation of the reference signal should be equal to the sum of the effective periods of one cycle of all the remaining polling clock signals.

[0058] Furthermore, the third polling clock signal Phase <2> The validity period is in the second polling clock signal validity period Phase <1> After that, the third polling clock signal Phase <2> The rising edge of the second polling clock signal Phase <1> The falling edge of the second polling clock signal is at the same time or at the second polling clock signal Phase <1> In this embodiment, only the third polling clock signal Phase <2> The rising edge of the second polling clock signal Phase <1> The falling edge of is taken as an example at the same time.

[0059] At time t0, the first polling clock signal phase <0> The internal bandgap reference circuit is triggered to generate a reference signal. Since the bandgap reference circuit needs a certain amount of setup time to start, the second polling clock signal Phase is controlled at time t1 after waiting for the preset delay. <1> Valid and controls the third polling clock signal Phase at time t2 <2> After the current polling detection is completed, the bandgap reference circuit and the detection circuit are turned off, and the next polling is started after waiting for a certain polling interval. <0> During the validity period, that is, the interval, the internal bandgap reference circuit is controlled to generate a reference signal, and polling detection of each detection item is performed during this period, which helps to reduce energy loss.

[0060] In the present disclosure, several second polling clock signals Phase <1> The period of the second polling clock signal is recorded as a detection large period. <1> And the third polling clock signal Phase <2> Each high level period of is the valid period of polling detection.

[0061] The first input terminal of the polling object selection unit 220 is connected to the output terminal of the polling clock generation unit 210 to receive multiple polling clock signals Phase<2:0> and multiple first enable signals sen<2:0> among multiple enable signals. The second input terminal of the polling object selection unit 220 receives multiple state signals corresponding to multiple detection items. The polling object selection unit 220 detects the multiple state signals based on the multiple polling clock signals Phase<2:0>, the multiple first enable signals sen<2:0> and the priorities of the multiple detection items to generate a first selection signal det_X according to the detection result. Wherein, X represents one of the multiple detection items.

[0062] Furthermore, the polling object selection unit 220 includes a first priority processing subunit 221, a timing and clock adjustment subunit 222, and a second priority processing subunit 223. The first priority processing subunit 221 receives a state signal corresponding to the first type of detection item, and is used to select the second polling clock signal Phase according to the priority and the reference voltage. <1> The state signal corresponding to the first type of detection item is detected within the validity period, and a first selection signal det_X is generated according to the detection result.

[0063] In this embodiment, when a first enable signal among the plurality of first enable signals sen<2:0> controls the first priority processing subunit 221 to be turned on, the first priority processing subunit 221 uses a plurality of second polling clock signals Phase <1> The cycle is a large detection cycle to poll the first type of detection items of the battery protection chip (or circuit). In each large detection cycle, a second polling clock signal Phase <1> The cycle is a unit, in each second polling clock signal Phase <1> During the high level period in the cycle, the detection result of the previous detection cycle (i.e., the state signal corresponding to the first category of detection items after the previous detection cycle) is compared with the reference voltage in turn according to the priority of the first category of detection items (or the state signal corresponding to the first category of detection items) to detect and identify the trigger state of the first category of detection items in the previous detection cycle, and then select one of the first category of detection items as the item to be detected according to the identification result, and output its corresponding det signal as the first selection signal det_X.

[0064] Furthermore, in the initial detection cycle after the circuit is initialized (it can be assumed that all detection items are in an untriggered state before the circuit is initialized), the det_nochg signal, det_abv_n10 signal, det_abv_60 signal, det_abv_0 signal and det_abv_45 signal are output as the first selection signal det_X in sequence according to the priority (the detection item corresponding to the output first selection signal det_X is recorded as the item to be detected). Among them, after the first selection signal det_X is output, the input array selection module 100, the comparator 300 and the output sampling module 400 detect and compare the signal parameters in the battery protection chip (or circuit) corresponding to the item to be detected based on the first selection signal det_X output by the polling signal generation module 200, obtain the state signal corresponding to the item to be detected in the current detection cycle, and transmit it to the first priority processing subunit 221 to identify the trigger state of the item to be detected. When it is identified that the item to be detected is in a triggered state, in the subsequent second polling clock signal Phase <1> The same first selection signal det_X is continuously output during the cycle to continuously detect the item to be detected until the trigger state is released or the current detection cycle ends; when the item to be detected is identified as a non-triggered state, the next det signal is sequentially output as the first selection signal det_X. Further, when it is identified that the detection item corresponding to the det_abv_45 signal is not in the triggered state, in the subsequent second polling clock signal Phase <1> The det_ovp signal and the det_uvp signal are alternately output as the first selection signal det_X during the cycle. Similarly, when the detection item corresponding to the det_ovp signal or the det_uvp signal is identified as a trigger state, the second polling clock signal Phase <1> The same first selection signal det_X is continuously outputted within the cycle to continuously detect the item to be detected until the trigger state is released or the current detection cycle ends.

[0065] In each subsequent non-initial detection cycle, the detection of the first category of detection items (or the state signals corresponding to the first category of detection items) mainly involves selecting some detection items for detection based on the detection results of the previous detection cycle. After a new round of non-initial detection large cycle is started, the state signal of the undervoltage threshold detection item uvp in the previous detection large cycle is first identified and detected based on the reference voltage, and the det_nochg signal or the det_uvp signal is selected as the first selection signal det_X output according to the trigger state of the undervoltage threshold detection item uvp; then, the state signals of multiple protection temperature detection items in the previous detection large cycle are identified and detected based on the reference voltage, so as to select two of the det_abv_n10 signal, det_abv_60 signal, det_abv_0 signal and det_abv_45 signal (to further determine the trigger state of multiple protection temperature detection items in the current detection large cycle and update the corresponding state signal), the det_ovp signal and the det_uvp signal as a small cycle (a small cycle corresponds to a second polling clock signal Phase <1> Finally, in the remaining small cycles of the current initial detection large cycle, the det_ovp signal and the det_uvp signal are alternately output as the first selection signal det_X. At the same time, as in the initial detection large cycle, when it is recognized that the detection item corresponding to the output first selection signal det_X is in the trigger state, in the subsequent second polling clock signal Phase <1> The same first selection signal det_X is continuously outputted within the cycle to continuously detect the item to be detected until the trigger state is released or the current detection cycle ends.

[0066] In summary, according to the above intelligent polling method and the second polling clock signal phase <1> The priority judgment method within the validity period can make the temperature signal that changes slowly be polled in a large cycle, while the voltage signal that changes relatively quickly can be polled more efficiently in a small cycle, which can make more reasonable use of polling resources and effectively reduce the power consumption of polling. In addition, the continuous and uninterrupted detection of a certain trigger item can also effectively improve the sensitivity of the circuit and the speed of state recovery.

[0067] The second priority processing subunit 223 receives the state signal corresponding to the second type of detection item, and processes the state signal according to the priority and the reference voltage in the third polling clock signal Phase <2> The state signal corresponding to the second type of detection item is detected within the validity period, and a first selection signal det_X is generated according to the detection result.

[0068] In the third polling clock signal Phase <2> After turning on, in the third polling clock signal Phase <2> The det_occ signal and the det_ocd signal are output as the first selection signal det_X during the validity period (that is, the priority of the highest charging current threshold detection item occ and the priority of the highest discharging current threshold detection item ocd can be regarded as a level relationship). It should be understood that in each third polling clock signal Phase <2> During the high level period of the cycle, only one of the det_occ signal and the det_ocd signal is output, and when the detection item corresponding to the output first selection signal det_X is identified as a trigger state in a certain cycle, the third polling clock signal Phase <2> The same first selection signal det_X is continuously outputted within the period to continuously detect the item to be detected until the trigger state is released and the cross detection state is restored.

[0069] Based on the above description, according to the priority, the characteristics of different items to be detected, the mutual conditional relationship, combined with the circuit state of the previous polling cycle and the current state, in each first polling clock signal Phase <0> During the cycle, a combination of a first-category detection item and a second-category detection item is selected for detection respectively, so as to allocate time and resources for effective polling detection as needed within a longer polling cycle, thereby improving the polling efficiency of key performance parameters and effectively reducing the waste of polling resources.

[0070] The counting and clock adjustment subunit 222 is used to count the number of cycles of the second polling clock signal, to indicate that a large detection cycle is completed and to re-count when the count value reaches a threshold, and to adjust the preset delay period and threshold.

[0071] In the embodiments of the present disclosure, reference Figure 3 , each first polling clock signal Phase <0> And each second polling clock signal Phase <1> The interval time of the rising edge of the detection period (i.e., the preset delay period, t0~t1), and the second polling clock signal Phase contained in each detection large cycle <1> The number of cycles can be adjusted in real time by the counting and clock adjustment subunit 222, thereby improving the applicability of the circuit.

[0072] The detection enable unit 230 is connected to the polling clock generation unit 210 and the polling object selection unit 220 respectively, and is used to generate a second selection signal sen_X based on the second enable signal sen_det, the first selection signal det_X and the reference clock signal ck_det among the plurality of enable signals.

[0073] In this embodiment, when the polling object selection unit 220 outputs a first selection signal det_X, it triggers the detection enable unit 230 to output a second selection signal sen_X representing the same item to be detected. The second selection signal sen_X is used to trigger sampling of the detection result of the current item to be detected.

[0074] The input array selection module 100 is used to select one of a plurality of reference signals and one of a plurality of feedback signals for output based on a first selection signal.

[0075] A number of corresponding sampling circuits are provided in the battery protection chip (or circuit), and the number of sampling circuits are used to sample the signal parameters of the corresponding detection items of the battery, and then obtain a number of feedback signals corresponding to a number of detection items (including a feedback signal Nochg corresponding to the lowest charge and discharge voltage threshold detection item, a feedback signal v_n10 corresponding to the lowest protection temperature detection item, a feedback signal v_0 corresponding to the first intermediate temperature detection item, a feedback signal v_45 corresponding to the second intermediate temperature detection item, a feedback signal v_60 corresponding to the highest protection temperature detection item, a feedback signal vfb_ovp corresponding to the overvoltage threshold detection item, a feedback signal vfb_uvp corresponding to the undervoltage threshold detection item, a feedback signal vfb_occ corresponding to the highest charging current threshold detection item, and a feedback signal vfb_ocd corresponding to the highest discharge current threshold detection item). After receiving the first selection signal det_X, the input array selection module 100 selects the feedback signal corresponding to the item to be detected based on the item to be detected corresponding to the first selection signal det_X and outputs it.

[0076] Optionally, in the present disclosure, the number of sampling circuits in the battery protection chip (or circuit) is one, and the input array selection module 100 is used to trigger the sampling circuit based on the first selection signal det_X to sample the signal parameters of the corresponding detection items of the battery (for example, including the battery voltage and the battery temperature) to obtain a corresponding feedback signal. In this way, it is helpful to save detection resources and reduce chip costs. Alternatively, the number of sampling circuits in the battery protection chip (or circuit) is multiple, and the input array selection module 100 is used to trigger a sampling circuit of the corresponding detection item in the multiple sampling circuits based on the first selection signal det_X to work to sample the corresponding signal parameters of the battery and obtain a corresponding feedback signal. In this way, it is helpful to save detection resources and improve sampling accuracy. Alternatively, the number of sampling circuits in the battery protection chip (or circuit) is multiple, and the multiple sampling circuits work simultaneously and output multiple feedback signals. The input array selection module 100 receives multiple feedback signals at the same time and selects one of the multiple feedback signals for output based on the first selection signal det_X. In this way, real-time sampling of chip parameters can be achieved, the polling detection speed can be improved, the protection of the chip can be enhanced, and the sampling accuracy can also be improved.

[0077] The multiple reference signals received by the input array selection module 100 include a first reference signal vref corresponding to multiple voltage threshold detection items and multiple current threshold detection items, and a second reference signal vbe corresponding to multiple protection temperature detection items. The first reference signal vref may correspond to a voltage signal generated by a voltage divider circuit dividing a certain node voltage in a battery protection chip (or circuit), and the second reference signal vbe may correspond to a voltage signal across a diode (including but not limited to one) in the battery protection chip (or circuit).

[0078] The comparator 300 is used to compare the received feedback signal and the reference signal, and output a corresponding indication signal. The output end of the input array selection module 100 outputs one of the multiple reference signals (such as Vinp) and one of the multiple feedback signals (such as Vinn). The in-phase input end and the inverting input end of the comparator 300 respectively receive the feedback signal Vinn and the reference signal Vinp output by the input array selection module 100, and output the indication signal Vout after performing a voltage comparison on the two signals to represent the trigger state of the current item to be detected in the chip.

[0079] The output sampling module 400 is used for sampling the indication signal according to the second selection signal, and updating a plurality of state signals according to the sampling result.

[0080] The output sampling module 400 receives the indication signal Vout and the second selection signal sen_X at the same time. When the second selection signal sen_X becomes high level, the output sampling module 400 samples the level state of the received indication signal Vout, thereby obtaining the state signal of the item to be detected within the current polling detection validity period. In each detection large cycle, the output sampling module 400 repeats this action to obtain the state signals corresponding to multiple detection items in the current detection large cycle, that is, to update multiple state signals in the previous detection large cycle.

[0081] In the present disclosure, the polling detection circuit based on the battery protection chip also includes: a storage module. The storage module is connected to the output sampling module 400, and is used to latch the state signal corresponding to the first type of detection item after a preset time length to avoid data loss and to serve as a basis for the polling priority judgment in the next detection cycle. The preset time length is equal to a plurality of second polling clock signals Phase <1> The delay time is equal to the length of a large detection cycle.

[0082] It is understandable that the multiple status signals output by the output sampling module 400 or the latched signals of the storage module are also output to the subsequent circuits of the battery protection chip, such as the protection circuit, to control and implement the chip protection function.

[0083] Figure 4 A flowchart of a polling detection method based on a battery protection chip provided according to an embodiment of the present disclosure is shown. Figure 5 A flow chart showing a method for generating a first selection signal and a second selection signal in a polling detection method provided according to an embodiment of the present disclosure is shown.

[0084] like Figure 4 As shown, in this embodiment, the polling detection method based on the battery protection chip can be applied to the above Figures 1 to 3 The polling detection circuit based on the battery protection chip described in the above description is based on the polling detection circuit based on the battery protection chip described in the above description. Figures 1 to 3 The method includes executing steps S1 to S3.

[0085] Specifically, in step S1 , a first selection signal and a second selection signal are generated based on a basic clock signal, a plurality of state signals, and priorities of a plurality of detection items.

[0086] In this embodiment, the first selection signal and the second selection signal represent the same item to be detected within the validity period of the next polling detection. And the multiple detection items include first-category detection items and second-category detection items, wherein the first-category detection items include multiple voltage threshold detection items and multiple protection temperature detection items, and the second-category detection items include multiple current threshold detection items. For details, please refer to the above-mentioned related description, which will not be repeated here.

[0087] Furthermore, if Figure 5 As shown, generating the first selection signal and the second selection signal based on the basic clock signal, multiple state signals and the priority of multiple detection items includes executing steps S11 to S15. In step S11, multiple polling clock signals, multiple enable signals and a reference clock signal are generated based on the basic clock signal.

[0088] The polling clock signal generating unit 210 can perform operations such as frequency division and delay on the basic clock signal clk to generate multiple polling clock signals (including first to third polling clock signals), multiple enable signals (including several first enable signals and second enable signals) and a reference clock signal.

[0089] Among the multiple polling clock signals, the second polling clock signal Phase <1> And the third polling clock signal Phase <2> Only in the first polling clock signal Phase <0> Valid within the validity period, and the first polling clock signal Phase <0> The validity period of each cycle (corresponding to Figure 3 The time period between t0 and t3 is equal to the preset delay period (corresponding to Figure 3The time period between time t0 and time t1), the second polling clock signal Phase <1> The validity period within a cycle (corresponding to Figure 3 The time period between time t1 and time t2) and the third polling clock signal Phase <2> The validity period within a cycle (corresponding to Figure 3 The sum of the time period between t2 and t3).

[0090] In step S12, generating a reference voltage is triggered during the valid period of a first polling clock signal among the plurality of polling clock signals.

[0091] In the first polling clock signal Phase <0> During the high level period of the first polling clock signal Phase, the bandgap reference circuit in the startup circuit is triggered, and the bandgap reference circuit generates a reference voltage. <0> During the low level period, the bandgap reference circuit in the shutdown circuit is triggered.

[0092] In step S13, the state signal corresponding to the first category of detection items is detected according to the priority within the validity period of the second polling clock signal among the multiple polling clock signals, and the first selection signal is generated according to the detection result.

[0093] This step specifically includes: counting the number of cycles of the second polling clock signal, and indicating that a detection large cycle is completed and recounting when the count value reaches a threshold; in the initial detection large cycle, detecting the status signals corresponding to the first category of detection items in sequence according to priority; in each non-initial detection large cycle, selecting some detection items in the first category of detection items for detection based on the detection results of the previous detection large cycle.

[0094] In this embodiment, the priority of the first type of detection items (or the state signal corresponding to the first type of detection items) is determined according to the detection result of the previous detection cycle and the current circuit state. In the initial detection cycle after the circuit is initialized (it can be assumed that all detection items before the circuit is initialized are in an untriggered state), the priority of the first type of detection items (or the state signal corresponding to the first type of detection items) includes: the priority of the lowest charge and discharge voltage threshold detection item nochg is higher than the priority of the lowest protection temperature detection item v_n10, the priority of the lowest protection temperature detection item v_n10 is higher than the priority of the highest protection temperature detection item v_60, the priority of the highest protection temperature detection item v_60 is higher than the priority of the first intermediate temperature detection item v_0, the priority of the first intermediate temperature detection item v_0 is higher than the priority of the second intermediate temperature detection item v_45, and the priority of the second intermediate temperature detection item v_45 is higher than the priority of the overvoltage threshold detection item ovp and the priority of the undervoltage threshold detection item uvp. After completing a query test for each detection item, the circuit sequentially and alternately detects the overvoltage threshold detection item ovp and the undervoltage threshold detection item uvp until the protection is triggered or the current detection cycle ends.

[0095] That is to say, in the initial detection cycle, when any of the state signals of the minimum charge and discharge voltage threshold detection item nochg, the overvoltage threshold detection item ovp, the undervoltage threshold detection item uvp, the minimum protection temperature detection item v_n10 and the maximum protection temperature detection item v_60 are detected as being in a trigger state, the current trigger item is continuously detected until the trigger state is released or the count value reaches the threshold value (the current detection cycle ends); or in the initial detection cycle, when any of the state signals of the first intermediate temperature detection item v_0 and the second intermediate temperature detection item v_45 are detected as being in a trigger state, only the undervoltage threshold detection item uvp is detected until the trigger state is released or the count value reaches the threshold value. Specifically, 1) the detection item nochg is detected first. If the detection item nochg is triggered, the circuit turns off the main transmission transistor, prohibits charging and discharging, and in the next second polling clock signal phase <1> In the case of a malfunction, only the detection item nochg is detected until the state is cleared;

[0096] 2) If the detection item nochg is not triggered, the circuit sequentially detects the detection item V_n10. When it is detected that the chip temperature is lower than the minimum protection temperature (such as minus 10 degrees Celsius), the circuit turns off the main transmission transistor and prohibits charging and discharging. In the next second polling clock signal phase <1> In the process, only the detection item V_n10 is detected until the state is released;

[0097] 3) If the detection item V_n10 is not triggered, the circuit sequentially detects the detection item V_60. When it is detected that the chip temperature is higher than the maximum protection temperature (such as 60 degrees Celsius), the circuit turns off the main transmission transistor and prohibits charging and discharging. In the next second polling clock signal phase <1> In the process, only the detection item V_60 is detected until the state is released;

[0098] 4) If the detection item V_60 is not triggered, the circuit sequentially detects the detection item V_0. When the temperature is lower than the first intermediate temperature (such as 0 degrees Celsius), the circuit allows discharge but prohibits charging, and in the next second polling clock signal phase <1> In the state, only the detection item uvp is detected until the state is released;

[0099] 5) If the detection item V_0 is not triggered, that is, the chip temperature is higher than the first intermediate temperature, the circuit sequentially detects the detection item V_45. When it is detected that the chip temperature is higher than the second intermediate temperature (such as 45 degrees Celsius), the circuit allows discharge but prohibits charging, and in the next second polling clock signal phase <1> In the state, only the detection item uvp is detected until the state is released;

[0100] 6) If the detection item V_45 is not triggered, that is, the chip temperature is lower than the second intermediate temperature, the circuit sequentially detects the detection items ovp and uvp alternately until the protection is triggered, or the second polling clock signal phase of the polling is calculated by the counting module <1> The number of cycles is repeated until a large detection cycle ends.

[0101] Further, in each non-initial detection large cycle, some detection items in the first category of detection items are selected for detection according to the detection result of the previous detection large cycle, including: 1) if the undervoltage threshold detection item uvp is in a trigger state in the detection result of the previous detection large cycle, then the minimum charge and discharge voltage threshold detection item nochg is detected, otherwise, the undervoltage threshold detection item uvp is detected;

[0102] 2) If the minimum protection temperature detection item V_n10 is in a triggered state or the first intermediate temperature detection item V_0 is in a triggered state in the detection result of the previous detection cycle, the minimum protection temperature detection item V_n10 is detected, otherwise, the overvoltage threshold detection item ovp is detected;

[0103] 3) If the second intermediate temperature detection item V_45 is in the trigger state or the maximum protection temperature detection item V_60 is in the trigger state in the detection result of the previous detection cycle, the maximum protection temperature detection item V_60 is detected, otherwise, the undervoltage threshold detection item uvp is detected;

[0104] 4) If the first intermediate temperature detection item V_0 is in a triggered state or multiple temperature detection items are in a non-triggered state in the detection result of the previous detection cycle, the first intermediate temperature detection item V_0 is detected; if the lowest protection temperature detection item V_n10 is in a triggered state or the second intermediate temperature detection item V_45 is in a triggered state in the detection result of the previous detection cycle, the undervoltage threshold detection item uvp is detected;

[0105] 5) If multiple temperature detection items in the detection results of the previous detection cycle are in the untriggered state or the second intermediate temperature detection item V_45 is in the triggered state, then the second intermediate temperature detection item V_45 is detected; if the highest protection temperature detection item V_60 is in the triggered state or the lowest protection temperature detection item V_n10 is in the triggered state or the first intermediate temperature detection item V_0 is in the triggered state, then the undervoltage threshold detection item uvp is detected;

[0106] 6) Alternately detect the overvoltage threshold detection item ovp and the undervoltage threshold detection item uvp. When it is detected that either the overvoltage threshold detection item ovp or the undervoltage threshold detection item uvp is in a trigger state, continue to detect the current trigger item until the trigger state is released and resume cross detection.

[0107] That is to say, in each non-initial detection large cycle, firstly, the state signal of the undervoltage threshold detection item uvp in the previous detection large cycle is identified and detected based on the reference voltage, and the det_nochg signal or the det_uvp signal is selected as the first selection signal det_X output according to the trigger state of the undervoltage threshold detection item uvp; then, the state signals of multiple protection temperature detection items in the previous detection large cycle are identified and detected based on the reference voltage, so as to select two of the det_abv_n10 signal, the det_abv_60 signal, the det_abv_0 signal and the det_abv_45 signal (to further determine the trigger state of multiple protection temperature detection items in the current detection large cycle and update the corresponding state signal), the det_ovp signal and the det_uvp signal as a small cycle (a small cycle corresponds to a second polling clock signal Phase <1> Finally, in the remaining small cycles of the current initial detection large cycle, the det_ovp signal and the det_uvp signal are alternately output as the first selection signal det_X. At the same time, as in the initial detection large cycle, when it is recognized that the detection item corresponding to the output first selection signal det_X is in the trigger state, in the subsequent second polling clock signal Phase <1> The same first selection signal det_X is continuously outputted within the cycle to continuously detect the item to be detected until the trigger state is released or the current detection cycle ends.

[0108] Furthermore, after each large detection cycle is completed, the current detection result is latched.

[0109] In step S14, the state signal corresponding to the second category detection item is detected according to the priority within the validity period of the third polling clock signal among the multiple polling clock signals, and a first selection signal is generated according to the detection result.

[0110] The step further includes: in the third polling clock signal Phase <2> During the validity period, the status signals of multiple current threshold detection items are cross-detected. When it is detected that the status signal of a detection item among the status signals of multiple current threshold detection items is in the trigger state, the current trigger item is continuously detected until the trigger state is released and the cross-detection is restored.

[0111] That is to say, in the third polling clock signal Phase <2> After turning on, in the third polling clock signal Phase <2> The det_occ signal and the det_ocd signal are output as the first selection signal det_X during the validity period (that is, the priority of the highest charging current threshold detection item occ and the priority of the highest discharging current threshold detection item ocd can be regarded as a level relationship). It should be understood that in each third polling clock signal Phase <2> During the high level period of the cycle, only one of the det_occ signal and the det_ocd signal is output, and when the detection item corresponding to the output first selection signal det_X is identified as a trigger state in a certain cycle, the third polling clock signal Phase <2> The same first selection signal det_X is continuously outputted within the period to continuously detect the item to be detected until the trigger state is released and the cross detection state is restored.

[0112] In step S15 , a second selection signal is generated according to the first selection signal, the reference clock signal, and a second enable signal among the plurality of enable signals.

[0113] When the polling object selection unit 220 outputs a first selection signal det_X, the detection enable unit 230 is triggered to output a second selection signal sen_X representing the same item to be detected based on the second enable signal sen_det in the multiple enable signals and the reference clock signal ck_det. The second selection signal sen_X is used to trigger sampling of the detection result of the current item to be detected.

[0114] In step S2, one of the reference signals corresponding to the detection items and one of the feedback signals are selected for comparison based on the first selection signal.

[0115] The signal parameters of the corresponding detection items in the chip are sampled by several sampling circuits set in the battery protection chip (or circuit), thereby obtaining multiple feedback signals corresponding to the multiple detection items. And multiple reference signals are generated by the front-stage circuit of the battery protection chip. When the input array selection module 100 receives the first selection signal det_X, the feedback signal and the reference signal corresponding to the detection item are selected based on the detection item corresponding to the first selection signal det_X and output to the comparator 300, and the comparator 300 compares the received feedback signal and the reference signal.

[0116] In step S3, the comparison result is sampled according to the second selection signal, and a plurality of state signals are updated according to the sampling result.

[0117] In this embodiment, when the second selection signal sen_X received by the output sampling module 400 becomes a high level, the level state of the output signal of the comparator 300 is sampled, thereby obtaining the state signal of the item to be detected within the current polling detection validity period. In each detection large cycle, the output sampling module 400 repeats this action to obtain the state signals corresponding to multiple detection items in the current detection large cycle, that is, to update multiple state signals in the previous detection large cycle.

[0118] In the present disclosure, several second polling clock signals Phase <1> The period of the second polling clock signal is recorded as a detection large period. <1> And the third polling clock signal Phase <2> Each high level period of is the valid period of polling detection.

[0119] For example, with 32 second polling clock signal Phase <1> cycle (each second polling clock signal Phase <1> The following example is used to illustrate that the minimum protection temperature of a battery protection chip is -10 degrees Celsius, the first intermediate protection temperature is 0 degrees Celsius, the second intermediate protection temperature is 45 degrees Celsius, and the maximum protection temperature is 60 degrees Celsius. Assume that in the initial detection large cycle, the battery voltage value is normal, multiple voltage threshold detection items will not be triggered, and the battery temperature is -2 degrees Celsius.

[0120] Then, in the initial detection cycle, in the first small cycle, the lowest charge and discharge voltage threshold detection item nochg is detected, and the detection result is not triggered; in the second small cycle, the lowest protection temperature detection item v_n10 is detected, and the detection result is not triggered; in the third small cycle, the highest protection temperature detection item v_60 is detected, and the detection result is not triggered; in the fourth small cycle, the first intermediate temperature detection item v_0 is detected, and the detection result is that the detection item is triggered, then the circuit allows discharging but prohibits charging, and in the next first polling clock signal phase <1> In the process, only the undervoltage threshold detection item uvp is detected until the trigger state of the first intermediate temperature detection item v_0 is released, that is, the battery temperature is higher than the first intermediate temperature, such as 0 degrees Celsius; in a small cycle after the trigger state of the first intermediate temperature detection item v_0 is released, the second intermediate temperature detection item v_45 is detected, and the detection result is not triggered; in all small cycles after this small cycle to the end of the 32nd small cycle, the overvoltage threshold detection item ovp and the undervoltage threshold detection item uvp are detected alternately in sequence, and the detection result in each small cycle is not triggered. When the 32 small cycles end, the last detection result corresponding to each detection item in the 32 small cycles is latched.

[0121] In the second detection cycle (this detection cycle is not the initial detection cycle), it is assumed that the battery voltage is normal and the battery temperature is 15 degrees Celsius. In each small cycle, the detection of the state signal is to detect the level state of the state signal of the corresponding detection item latched in the previous detection cycle based on the reference voltage, and it is assumed that the high-level state signal represents the triggered state, and the low-level state signal represents the untriggered state.

[0122] Therefore, in the second detection large cycle, in the first small cycle, the level state of the status signal uvp_t is detected, and the detection result is that the undervoltage threshold detection item uvp is not triggered, then the current small cycle detects the undervoltage threshold detection item uvp; in the second small cycle, the status signal T_abv_n10 and the status signal T_abv_0 are detected, and the detection result is that the lowest protection temperature detection item v_n10 is not triggered, and the first intermediate temperature detection item v_0 is not triggered, then the current small cycle detects the overvoltage threshold detection item ovp; in the third small cycle, the status signal T_abv_60 and the status signal T_abv_45 are detected, and the detection result is that the highest protection temperature detection item v_60 is not triggered, and the second intermediate temperature detection item v_45 is not triggered, then the current small cycle detects the undervoltage threshold detection item uvp; in the fourth small cycle, due to the previous small cycles If the detection results of the state signals of all corresponding protection temperature detection items in the period are all not triggered, the current small cycle detects the first intermediate temperature detection item v_0, and the detection result of the current small cycle is not triggered; in the fifth small cycle, since the detection results of the state signals of all corresponding protection temperature detection items in the previous small cycles are all not triggered and the first intermediate temperature detection item v_0 is detected in the fourth small cycle, the current small cycle detects the second intermediate temperature detection item v_45, and the detection result of the current small cycle is not triggered. Therefore, it can be determined that the battery temperature in the current detection large cycle is between the first intermediate temperature and the second intermediate temperature; in all small cycles after this small cycle to the end of the 32nd small cycle, the overvoltage threshold detection item ovp and the undervoltage threshold detection item uvp are detected alternately in sequence, and the detection results in each small cycle are not triggered. When 32 small cycles end, the last detection result corresponding to each detection item in the 32 small cycles is latched.

[0123] From the third detection cycle to all subsequent detection cycles, each detection item is polled and detected using a polling detection method similar to the second detection cycle. Furthermore, in each non-initial detection cycle, only part of the protection temperature detection items are detected to determine the battery temperature range and temperature triggering conditions in the current detection cycle, thereby improving the polling efficiency of key performance parameters and effectively reducing the waste of polling resources.

[0124] Based on the same aspect, the present disclosure also relates to a battery protection chip. The battery protection chip includes several sampling circuits, as described above Figures 1 to 3The polling detection circuit and protection circuit based on the battery protection chip described in the invention are respectively connected to a plurality of sampling circuits and a protection circuit, and are used to perform polling detection on a plurality of detection items according to the priority of the plurality of detection items, and generate a plurality of status signals according to the polling detection results; the protection circuit is used to control the on and off of the battery charging and discharging path according to the plurality of status signals, so as to realize the protection of the battery protection chip.

[0125] In summary, the present invention adopts a polling signal generating module to determine the items to be detected within the validity period of the next polling detection based on the basic clock signal, multiple status signals and the priority of multiple detection items, and continuously updates multiple status signals according to the determined items to be detected. It can make priority and combination judgments based on the characteristics of different items to be detected and their mutual conditional relationships, combined with the circuit state of the previous polling cycle (corresponding to the previous large detection cycle) and the current state, which is helpful to allocate time and resources for effective polling detection as needed within a longer polling cycle, and further, on the basis of ensuring the timeliness of polling, it can improve the polling efficiency of key performance parameters and effectively reduce the waste of polling resources.

[0126] On the other hand, different priority processing methods are used in the initial detection large cycle and the non-initial detection large cycle to select and detect multiple detection items including multiple voltage threshold detection items and multiple temperature detection items. This can enable the slower changing temperature signal to be polled in a large cycle and with a basis, and the relatively faster changing signal to be polled more efficiently in a small cycle. This can make more reasonable use of polling resources and effectively reduce the power consumption of polling.

[0127] 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.

[0128] 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 polling detection circuit based on a battery protection chip, wherein: include: A polling signal generating module receives a basic clock signal and a plurality of status signals representing the triggering status of each detection item in a plurality of detection items of the battery protection chip, and is used to generate a first selection signal and a second selection signal based on the basic clock signal, the plurality of status signals and the priority of the plurality of detection items, wherein the first selection signal and the second selection signal represent the same item to be detected within the validity period of the next polling detection; an input array selection module, connected to the polling signal generation module, receiving a plurality of reference signals and a plurality of feedback signals corresponding to the plurality of detection items, and configured to select one of the plurality of reference signals and one of the plurality of feedback signals for output based on the first selection signal; A comparator connected to the input array selection module, used to compare the received feedback signal with the reference signal and output a corresponding indication signal; as well as The output sampling module is connected to the comparator and the polling signal generating module respectively, receives the second selection signal and the indication signal, samples the indication signal according to the second selection signal, and updates the multiple status signals according to the sampling result.

2. The polling detection circuit according to claim 1, wherein: The polling signal generating module comprises: A polling clock generating unit receives the basic clock signal and is used to generate a plurality of polling clock signals, a plurality of enable signals and a reference clock signal based on the basic clock signal; a polling object selection unit connected to the polling clock generating unit, receiving the plurality of polling clock signals, the plurality of state signals and a plurality of first enable signals among the plurality of enable signals, and detecting the plurality of state signals based on the plurality of polling clock signals, the plurality of first enable signals and the priorities of the plurality of detection items, so as to generate the first selection signal according to the detection result; A detection enable unit is connected to the polling clock generating unit and the polling object selecting unit respectively, and is used to generate the second selection signal based on the second enable signal among the multiple enable signals, the first selection signal and the reference clock signal.

3. The polling detection circuit according to claim 2, wherein: The plurality of polling clock signals include: A first polling clock signal is used to trigger the generation of a reference voltage within a valid period; a second polling clock signal, used to trigger detection of a status signal corresponding to a first category of detection items among the plurality of detection items according to the priority within a validity period; The third polling clock signal is used to trigger, within a valid period, cross detection of the status signals corresponding to the second category of detection items among the multiple detection items according to the priority.

4. The polling detection circuit according to claim 3, wherein: The validity period of each cycle of the first polling clock signal is equal to the sum of the preset delay period, the validity period of one cycle of the second polling clock signal, and the validity period of one cycle of the third polling clock signal.

5. The polling detection circuit according to claim 4, wherein: The polling object selection unit comprises: a first priority processing subunit, receiving a state signal corresponding to the first type of detection item, for detecting the state signal corresponding to the first type of detection item within the validity period of the second polling clock signal according to the priority and the reference voltage, and generating the first selection signal according to the detection result; a second priority processing subunit, receiving a state signal corresponding to the second type of detection item, for detecting the state signal corresponding to the second type of detection item within the validity period of the third polling clock signal according to the priority and the reference voltage, and generating the first selection signal according to the detection result; A counting and clock adjustment subunit is used to count the number of cycles of the second polling clock signal, to indicate that a large detection cycle is completed and to re-count when the count value reaches a threshold, and to adjust the preset delay period and the threshold. The validity period of the third polling clock signal is later than the validity period of the second polling clock signal.

6. The polling detection circuit according to claim 5, wherein: The circuit further comprises: A storage module is connected to the output sampling module and is used to latch the state signal corresponding to the first category of detection items after a preset time period.

7. The polling detection circuit according to claim 6, wherein: The preset duration is equal to the sum of multiple cycles of the second polling clock signal, and the preset duration is equal to the duration of one large detection cycle.

8. The polling detection circuit according to claim 7, wherein: The first category of detection items includes a plurality of voltage threshold detection items and a plurality of temperature detection items, and the second category of detection items includes a plurality of current threshold detection items.

9. The polling detection circuit according to claim 8, wherein: The detection of the multiple voltage threshold detection items and the multiple temperature detection items in the initial detection cycle is carried out in sequence according to the priority, and the detection in each non-initial detection cycle is carried out by selecting some detection items for detection according to the latch results of the previous detection cycle.

10. A battery protection chip, wherein: include: A polling detection circuit based on a battery protection chip as claimed in any one of claims 1 to 9, configured to perform polling detection on a plurality of detection items according to the priorities of the plurality of detection items, and to generate a plurality of status signals according to the polling detection results; as well as The protection circuit is connected to the polling detection circuit based on the battery protection chip, and is used to control the on and off of the battery charging and discharging path according to the multiple status signals.

11. A polling detection method based on a battery protection chip, wherein: The polling detection method can be applied to the polling detection circuit based on the battery protection chip as described in any one of claims 1 to 9, and the method comprises: Generate a first selection signal and a second selection signal based on a basic clock signal, a plurality of state signals, and priorities of a plurality of detection items, wherein the first selection signal and the second selection signal represent the same item to be detected within a valid period of a next polling detection; Selecting one of the plurality of reference signals corresponding to the plurality of detection items and one of the plurality of feedback signals for comparison based on the first selection signal; The comparison result is sampled according to the second selection signal, and the plurality of state signals are updated according to the sampling result.

12. The polling detection method according to claim 11, wherein: The multiple detection items include first-category detection items and second-category detection items, The first type of detection items includes a plurality of voltage threshold detection items and a plurality of temperature detection items, and the second type of detection items includes a plurality of current threshold detection items.

13. The polling detection method according to claim 12, wherein: Generating a first selection signal and a second selection signal based on a basic clock signal, a plurality of state signals, and priorities of a plurality of detection items includes: generating a plurality of polling clock signals, a plurality of enable signals and a reference clock signal based on the basic clock signal; triggering generation of a reference voltage within a valid period of a first polling clock signal among the plurality of polling clock signals; within the validity period of a second polling clock signal among the multiple polling clock signals, detecting the state signal corresponding to the first category of detection items according to the priority, and generating the first selection signal according to the detection result; within the validity period of a third polling clock signal among the plurality of polling clock signals, detecting a state signal corresponding to the second category of detection items according to the priority, and generating the first selection signal according to the detection result; generating the second selection signal according to the first selection signal, the reference clock signal and a second enable signal among the plurality of enable signals, The validity period of each cycle of the first polling clock signal is equal to the sum of the preset delay period, the validity period of one cycle of the second polling clock signal and the validity period of one cycle of the third polling clock signal.

14. The polling detection method according to claim 13, wherein: The step of detecting the status signal corresponding to the first category of detection items according to the priority within the validity period of the second polling clock signal among the multiple polling clock signals includes: Counting the number of cycles of the second polling clock signal, and indicating that a large detection cycle is completed and recounting when the count value reaches a threshold; In the initial detection cycle, the status signals corresponding to the first category of detection items are detected in sequence according to the priority; In each non-initial detection macrocycle, some detection items in the first category of detection items are selected for detection according to the detection results of the previous detection macrocycle.

15. The polling detection method according to claim 14, wherein: The multiple voltage threshold detection items include a minimum charge and discharge voltage threshold detection item, an overvoltage threshold detection item, and an undervoltage threshold detection item; The plurality of temperature detection items include: a minimum protection temperature detection item, a maximum protection temperature detection item, a first intermediate temperature detection item, and a second intermediate temperature detection item, Wherein, the first intermediate temperature is lower than the second intermediate temperature.

16. The polling detection method according to claim 15, wherein: The priority of the minimum charge and discharge voltage threshold detection item is higher than the priority of the minimum protection temperature detection item, the priority of the minimum protection temperature detection item is higher than the priority of the maximum protection temperature detection item, the priority of the maximum protection temperature detection item is higher than the priority of the first intermediate temperature detection item, the priority of the first intermediate temperature detection item is higher than the priority of the second intermediate temperature detection item, and the priority of the second intermediate temperature detection item is higher than the priority of the overvoltage threshold detection item and the priority of the undervoltage threshold detection item.

17. The polling detection method according to claim 15, wherein: In the initial detection large cycle, when it is detected that any one of the state signals of the minimum charge and discharge voltage threshold detection item, the overvoltage threshold detection item, the undervoltage threshold detection item, the minimum protection temperature detection item and the maximum protection temperature detection item is in a trigger state, the current trigger item is continuously detected until the trigger state is released or the count value reaches the threshold; or In the initial detection large cycle, when it is detected that the state signal of any one of the first intermediate temperature detection item and the second intermediate temperature detection item is in a trigger state, only the undervoltage threshold detection item is detected until the trigger state is released or the count value reaches the threshold.

18. The polling detection method according to claim 13, wherein: The step of detecting the status signal corresponding to the second category of detection items according to the priority within the validity period of the third polling clock signal among the multiple polling clock signals includes: During the validity period of the third polling clock signal, the status signals of the multiple current threshold detection items are cross-checked. When it is detected that the status signal of a certain detection item among the status signals of the multiple current threshold detection items is in a triggered state, the current trigger item is continuously detected until the trigger state is released, and the cross-check is resumed.

19. The polling detection method according to claim 14, wherein: After each large detection cycle is completed, the current detection result is latched.