A dual-stage lithium battery protection circuit and lock control method

By using a dual-stage lithium battery protection circuit and a lock-up control method, and by storing the lock-up flag using a non-volatile storage unit, the problem of lithium battery protection circuits being unable to effectively lock up under abnormal conditions in existing technologies is solved, thus achieving safe and reliable charging and discharging of the battery.

CN123144338APending Publication Date: 2026-11-20深圳市沃莱特电子有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611580773.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-13
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing lithium battery protection circuits are prone to unlocking when abnormalities occur continuously or repeatedly, as the protection output returns to normal or power is restored, leading to repeated charging and discharging of the battery. This cannot effectively prevent lock-up in abnormal states.

Method used

A dual-level lithium battery protection circuit is adopted, including first and second protection units, status acquisition unit, drive unit, non-volatile storage unit and main control unit. By detecting the battery status and lock-up conditions, the non-volatile storage unit saves the lock-up flag to ensure that the switching transistor group is blocked from charging and discharging under abnormal conditions, and allows conduction after verifying the lock-up flag after power-on.

Benefits of technology

It achieves effective locking under abnormal conditions, preventing the lock from being released due to the recovery of the protection output or re-powering, ensuring battery safety and reliability, and reducing the risk of repeated charging and discharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144338A_ABST
    Figure CN123144338A_ABST
Patent Text Reader

Abstract

The application discloses a two-stage lithium battery protection circuit and a lock control method, which comprises a first lithium battery protection chip, a second lithium battery protection chip, a first switch tube group, a second switch tube group, a state acquisition unit, a driving unit, a main control unit and a nonvolatile storage unit. Two groups of switch tubes are connected in series in a charging and discharging main circuit, the first protection chip controls the first switch tube group, and the main control unit controls the second switch tube group according to the output state of the second protection chip. When the protection duration or the trigger times reach the lock condition, the main control unit prohibits the charging and discharging and saves the lock flag. The driving unit sets an off bias, and after power-on, the driving unit first keeps off and verifies the lock record, and only when it is confirmed that the lock is not locked and the recovery condition is met, the driving unit allows conduction. The application reduces the lock failure caused by abnormal recovery or re-powering by means of nonvolatile record and default off control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of lithium battery charge and discharge protection technology, specifically to a two-stage lithium battery protection circuit and a lock-up control method. Background Technology

[0002] The lithium battery protection circuit uses a protection chip to detect the battery voltage and related electrical states of charging and discharging, and controls the switching devices connected in series in the main circuit to limit charging or discharging when protection conditions are met. For protection circuits that can automatically recover, the main circuit can be reconnected after the abnormality is cleared, which is beneficial for handling occasional abnormalities.

[0003] When the abnormality persists for an extended period or occurs repeatedly, restoring conduction solely based on the current detection value may cause the battery to repeatedly undergo protection and recovery cycles. Even with two protection units, if the state requiring disabling is not saved, charging and discharging may still be permitted again after the controller is reset or the power is reconnected.

[0004] Therefore, it is necessary to combine the control and protection status duration or occurrence count of the two sets of main circuit switches with the non-volatile records, and coordinate the power-on default state of the switches with the record verification sequence, so as to avoid the abnormality that has reached the lockout condition being cleared simply because the protection output returns to normal or is re-energized. Summary of the Invention

[0005] 1. A two-stage lithium battery protection circuit, characterized in that it comprises:

[0006] The first protection unit includes a first lithium battery protection chip and a first switching transistor group. The detection terminal of the first lithium battery protection chip is connected to the battery-side circuit, and its protection output terminal is connected to the control terminal of the first switching transistor group, which is used to control the first switching transistor group according to the detected battery status.

[0007] The second protection unit includes a second lithium battery protection chip and a second switch group. The voltage detection terminal of the second lithium battery protection chip is connected to the positive and negative terminals of the battery. The first switch group and the second switch group are respectively connected to the main charging and discharging circuit between the battery and the charging and discharging interface, so that the charging and discharging current in the main circuit flows through the two switch groups.

[0008] The status acquisition unit is connected to the charging protection output terminal and the discharging protection output terminal of the second lithium battery protection chip, and is used to output detection signals that characterize the corresponding protection output status.

[0009] The drive unit is connected to the two control terminals of the second switch group and is provided with a cut-off bias branch to control the second switch group to allow or block the current in the corresponding direction, and to keep the second switch group off when no conduction control signal is received.

[0010] Non-volatile memory units are used to store lock flags;

[0011] The main control unit is connected to the status acquisition unit, the drive unit and the non-volatile storage unit respectively. It is used to control the second switch group according to the detection signal, and when the duration of the protection output state or the number of protection triggers within the set time window meets the preset lockout condition, the drive unit blocks the charging and discharging of the second switch group and writes the lockout flag into the non-volatile storage unit.

[0012] The main control unit is configured to read and verify the lockout flag after power-on and before issuing the conduction control signal. It will only allow the second switch group to conduct when it is confirmed that the lockout is not triggered and the current protection status meets the recovery conditions. When the lockout flag is valid, it will keep charging and discharging blocked and will not automatically unlock due to the protection output status returning to normal or power-on.

[0013] 2. The dual-stage lithium battery protection circuit according to claim 1, characterized in that the first switching transistor group is disposed between the negative terminal of the battery and the negative terminal of the charging / discharging interface, and includes two N-channel MOS transistors connected by common drain; the second switching transistor group is disposed between the positive terminal of the battery and the positive terminal of the charging / discharging interface, and includes two P-channel MOS transistors connected by common source; the body diodes of the two MOS transistors in each switching transistor group are arranged in opposite directions along the series connection direction of their respective branches.

[0014] 3. The dual-level lithium battery protection circuit according to claim 1, characterized in that the state acquisition unit includes two N-channel detection MOS transistors and two pull-up resistors; the gates of the two N-channel detection MOS transistors are respectively connected to the charging protection output terminal and the discharging protection output terminal of the second lithium battery protection chip via resistors, the sources of both are connected to the negative terminal of the battery, and the drains are respectively connected to the two detection input terminals of the main control unit, and respectively connected to the control side logic power supply via the pull-up resistors.

[0015] 4. The dual-stage lithium battery protection circuit according to claim 2, characterized in that the driving unit includes two N-channel driving switches and two gate bias resistors; the drains of the two N-channel driving switches are respectively connected to the gates of the two P-channel MOS transistors of the second switching transistor group, and the sources are both connected to the negative terminal of the battery; the gates are respectively connected to the two control output terminals of the main control unit through resistors, and respectively connected to the negative terminal of the battery through pull-down resistors; the two gate bias resistors are respectively connected between the gate of the corresponding P-channel MOS transistor and the common source node of the second switching transistor group.

[0016] 5. The dual-stage lithium battery protection circuit according to claim 1, characterized in that it further includes a voltage detection unit and a temperature detection unit; the voltage detection unit includes a voltage divider resistor connected in series between the positive and negative terminals of the battery, and its voltage divider node is connected to the voltage sampling input terminal of the main control unit; the temperature detection unit includes an NTC thermistor thermally coupled to the battery and a bias resistor connected between the control-side logic power supply and the NTC thermistor, the other end of the NTC thermistor is connected to the negative terminal of the battery, and its temperature sampling node is connected to the temperature sampling input terminal of the main control unit; the main control unit is further configured to determine the preset lock-up condition based on voltage data or temperature data.

[0017] 6. The dual-stage lithium battery protection circuit according to claim 1, characterized in that it further includes a control power supply unit, the input terminal of which is connected to the positive and negative terminals of the battery, and the output terminal of which supplies power to the main control unit and the non-volatile storage unit, wherein the power supply branch of the control power supply unit does not pass through two switching transistor groups; the control power supply unit includes a voltage regulator circuit and a reverse blocking branch, and its output side is connected to a holding capacitor for maintaining the power supply required for locking record writing and verification when the input power supply is interrupted.

[0018] 7. The dual-level lithium battery protection circuit according to claim 1, wherein the non-volatile storage unit is an EEPROM or Flash inside the main control unit, or an external EEPROM connected to the main control unit; the non-volatile storage unit has at least two storage areas for storing lock records containing lock flags, record numbers and verification information respectively, and the main control unit writes and reads back to verify the lock records when the second switch group is disabled from conducting.

[0019] 8. A lock-up control method for a dual-stage lithium battery protection circuit, the dual-stage lithium battery protection circuit comprising a first lithium battery protection chip, a second lithium battery protection chip, a first switching transistor group, a second switching transistor group, a main control unit, and a non-volatile memory unit, wherein both switching transistor groups are located in the main charging and discharging circuit between the battery and the charging and discharging interface, and the first switching transistor group is controlled by the first lithium battery protection chip, characterized in that the method comprises:

[0020] After power-on, the second switch group is kept off by using the off bias branch. Before issuing the turn-on control signal, the lock-up record in the non-volatile memory unit is read and verified. If a valid lock-up flag exists, the switch is kept off. Turn-on is only allowed when it is confirmed that the switch is not locked and the current protection status meets the recovery conditions.

[0021] When not in a locked state, the charging protection output state and discharging protection output state of the second lithium battery protection chip are obtained, the second switching transistor group is controlled according to the protection output state, and the protection duration or the number of protection triggers within a set time window is determined.

[0022] When the protection duration or the number of protection triggers meets the preset lockout condition, the conduction permission of the second switch group is revoked to block charging and discharging, and the lockout record containing the lockout flag is written to the non-volatile storage unit.

[0023] The shutdown control remains active while the lockout flag is active, and the lockout is not automatically released when the protection output status returns to normal or when power is restored.

[0024] 9. The lockout control method according to claim 8, characterized in that, when determining the number of protection triggers, the stability of the collected protection output state is confirmed, and the conversion of the confirmed normal state into the protection state is counted as one protection event. The number of events is not repeated during the duration of the same protection state. The next protection event is counted only when the protection state is re-entered after the confirmation of recovery to normal. The number of valid protection events within the set time window is compared with the preset number threshold.

[0025] 10. The lockout control method according to claim 8, characterized in that the lockout records are written into at least two storage areas and read back for verification; during power-on verification, if any valid lockout record exists, the lockout is maintained; if there is a record conflict or verification failure and it cannot be confirmed that the lockout is not present, the conduction is prohibited; the valid lockout flag is cleared only after passing the preset authorization verification, and the current protection output status is rechecked after clearing, and conduction is allowed only when the recovery conditions are met. Attached Figure Description

[0026] Figure 1 This is a schematic diagram of the charging and discharging main circuit and control connection of the present invention;

[0027] Figure 2 The circuit schematic diagram shows the first lithium battery protection chip and the first switching transistor group.

[0028] Figure 3 The circuit schematic diagram is for the second switching transistor group and its driving unit.

[0029] Figure 4 The circuit diagram shows the second lithium battery protection chip and status acquisition unit.

[0030] Figure 5 A connection diagram of the control power supply unit, main control unit, and non-volatile memory unit;

[0031] Figure 6The circuit schematics are for the voltage detection unit and the temperature detection unit.

[0032] Figure 7 This is a flowchart illustrating the lockout control method.

[0033] The component reference numbers and network names in the attached diagram are as follows: U11 is the first lithium battery protection chip; P2 is the first switching transistor group, with P2A and P2B being two N-channel MOSFETs; U8 is the second lithium battery protection chip; P1 is the second switching transistor group, with P1A and P1B being two P-channel MOSFETs; Q10 and Q8 are detection MOSFETs; Q11 and Q12 are drive switching transistors; U9 is the main control unit; U12 is the control power supply unit; U13 is the non-volatile memory unit; I1 is the thermal protector; RT1 is the NTC thermistor; C90 is the holding capacitor. R is the resistor reference number, and C is the capacitor reference number.

[0034] B+ and B− represent the positive and negative terminals of the battery, respectively; B0 is the node between the thermal protector I1 and the first switching transistor group P2; VBAT and GND represent the positive and negative terminals of the charging and discharging interface, respectively; S_P is the common source node of the second switching transistor group P1; D_N is the common drain node of the first switching transistor group P2; 3V3 is the control-side logic power supply; CO and DO are the charging protection output and discharging protection output, respectively; LI_CO and LI_DO are the detection signal networks; IO_CO and IO_DO are the control signal networks; ADC_VBAT and BAT_NTC are the voltage and temperature sampling networks, respectively; PF is the input power-down detection signal. Networks with the same name are electrically connected in the diagram, and solid dots indicate wire connections. Detailed Implementation

[0035] The following is combined with Figures 1 to 7 This invention describes the implementation of its embodiments. This embodiment uses a single-cell lithium-ion battery. The terms "first" and "second" are used to distinguish protection units and do not limit the order of actions under all abnormal conditions. In this context, "lock-up" refers to storing a state where charging and discharging are prohibited in a non-volatile memory unit, and maintaining this state after the abnormality is cleared, the controller is reset, or power is restored; when setting up maintenance functions, this can be released through authorized operations.

[0036] I. Charging / Discharging Main Circuit and Reference Potential

[0037] like Figure 1As shown, the battery positive terminal B+ is connected to the positive terminal VBAT of the charge / discharge interface via the second switch group P1, and the battery negative terminal B− is connected to the negative terminal GND of the charge / discharge interface via the thermal protector I1 and the first switch group P2. The node between I1 and P2 is denoted as B0. In the discharge direction, the main current flows sequentially through B+, P1, VBAT, external load, GND, P2, and I1 back to B−; the charging direction is the opposite. Although P1 and P2 are located in the positive and negative branches respectively, they are still connected in series in the complete charge / discharge main circuit.

[0038] B− and GND are different networks, connected only through the main circuit branches containing I1 and P2. The main control unit U9, the second lithium battery protection chip U8, the detection MOSFETs Q10 and Q8, the drive switches Q11 and Q12, and the voltage and temperature detection units all use B− as a reference potential. The control power supply unit U12 draws power from B+ and B−, not through P1, P2, or I1. Therefore, the shutdown of P1 or P2 and the operation of I1 do not directly cut off the power supply branch of the control circuit; the main control unit can continue to detect and maintain the locked state when the battery voltage is within the control power supply range.

[0039] I1 is thermally coupled to the battery and connected in series in the negative terminal main circuit. It disconnects when the sensing temperature reaches the operating temperature of the selected device. I1 can be a resettable temperature switch. Even if I1 is reset after cooling, the written lock-up flag is still retained by the main control unit and is not cleared when I1 is reset.

[0040] II. First Protection Unit

[0041] like Figure 2 As shown, P2 is composed of N-channel MOSFETs P2A and P2B, with their drains connected to a common drain node D_N. The source of P2A is connected to B0, and the source of P2B is connected to GND. The body diodes of both transistors point from their respective sources to the common drain, forming an inverse relationship along the series path from B0 to GND. This common drain connection matches the low-side N-channel MOSFET drive of the first lithium battery protection chip U11.

[0042] U11's VDD terminal is connected to B+ via R84, its VSS terminal is connected to B0, and C80 is connected between VDD and VSS; its VM terminal is connected to GND via R89; its DO terminal is connected to the gate of P2A, and its CO terminal is connected to the gate of P2B. Under normal conditions, U11 outputs the gate voltage that turns on P2A and P2B. During overcharge protection, CO turns off P2B to block the charging return current from B0 to GND; during over-discharge, overcurrent discharge, or short-circuit protection, DO turns off P2A to block the discharging return current from GND to B0.

[0043] U11 detects the battery voltage based on the voltage between VDD and VSS, and performs corresponding current-related protection based on the voltage difference between VM and VSS. When P2 is on, this difference is related to the current flowing through P2 and its on-resistance. R89 is used for current limiting at the detection end; the current threshold is matched with the threshold of the selected protection chip and the on-resistance of P2. In this embodiment, U11 directly drives P2, and its protection action does not need to wait for the software judgment of the main control unit.

[0044] U11 can be a single-cell lithium battery protection chip with CO, DO, and VM terminals; R84, C80, and R89 can be 100Ω, 0.1μF, and 1kΩ, respectively. P2 is an N-channel device with sufficient gate drive margin at the required battery voltage, and its rated current, withstand voltage, and on-resistance are matched to the battery and load.

[0045] III. Second Protection Chip and Status Acquisition

[0046] like Figure 4 As shown, the VDD terminal of U8 is connected to B+ via R80, and the VSS terminal is connected to B−. C76 is connected between VDD and VSS; the VM terminal is connected to B− via R70. In this embodiment, the voltage protection output of U8 is utilized, and VM and VSS are at the same reference potential; the current-related protection of the main circuit is handled by U11.

[0047] The CO terminal of U8 is connected to the gate of Q10 via R66, and the DO terminal is connected to the gate of Q8 via R69. Q10 and Q8 are N-channel MOSFETs with their sources connected to B−. The drain of Q10 is connected to 3V3 via R33 and is also connected to the LI_CO input of U9. The drain of Q8 is connected to 3V3 via R97 and is also connected to the LI_DO input of U9. R80 and R70 can be 100Ω and 1kΩ respectively, C76 can be 0.1μF, R66 and R69 can be 1kΩ, and R33 and R97 can be 47kΩ.

[0048] U8 is configured such that CO and DO are high under normal conditions, and the corresponding outputs are low under protection conditions. Under normal conditions, Q10 and Q8 are on, and LI_CO and LI_DO are both low. When CO goes low, Q10 is off, and LI_CO is pulled high by R33; when DO goes low, Q8 is off, and LI_DO is pulled high by R97. The status acquisition unit converts the protection output in the battery voltage domain into a detection signal in the 3V3 logic domain, and U9 interprets the input according to the aforementioned inverse relationship.

[0049] Two detection signals are used to characterize whether the corresponding protection output is effective. For events whose cause cannot be uniquely identified by the existing sampling signals, the controller records them as charging protection events or discharging protection events, along with valid voltage and temperature data, and does not directly equate changes in protection output with the failure of another protection chip.

[0050] In a parameter configuration example using a battery cell with a rated charging termination voltage of 4.2V, the overcharge and over-discharge detection thresholds for U11 can be 4.28V and 2.80V respectively, and for U8, they can be 4.35V and 2.50V respectively, forming different levels of voltage anomaly detection. The detection delay and recovery thresholds are selected according to the allowable conditions of the corresponding battery cell and the chip configuration. The above values ​​illustrate the threshold levels. The main control lockout judgment is still based on the actual obtained protection state of U8 and the sampled value, and is not based on the premise that the two chips must be triggered sequentially.

[0051] IV. Second Switch Bank and Turn-Off Bias

[0052] like Figure 3 As shown, P1 includes two P-channel MOSFETs, P1A and P1B. The drain of P1A is connected to B+, and the drain of P1B is connected to VBAT. The sources of both MOSFETs are connected to S_P. The body diode of P1A points from B+ to S_P, and the body diode of P1B points from VBAT to S_P, forming a common-source back-to-back structure.

[0053] Q11 and Q12 are N-channel drive switches, with their sources connected to B− and their drains connected to the gates of P1A and P1B, respectively. The gate of Q11 is connected to the IO_CO output of U9 via R104 and to B− via R107; the gate of Q12 is connected to the IO_DO output of U9 via R106 and to B− via R108. R73 is connected between the gate of P1A and S_P, and R75 is connected between the gate of P1B and S_P. Both R73 and R75 are biased with the common source S_P as the reference.

[0054] R73, R75, R107, and R108 can be 47kΩ and 100kΩ respectively, while R104 and R106 can be 1kΩ. When IO_CO outputs a high level, Q11 conducts, pulling the gate of P1A low towards B−, making its gate-source voltage negative and thus turning it on. When IO_CO is low or in a high-impedance state, Q11 is off, and R73 pulls the gate of P1A to S_P, making its gate-source voltage approach zero and turning it off. IO_DO, Q12, and R75 control P1B in the same way. The gate-source withstand voltage of the MOSFET should cover the voltage range that the connected battery and matching charger may generate at this node.

[0055] When P1A is turned off, it blocks the charging current flowing from VBAT through S_P to B+; when P1B is turned off, it blocks the discharging current flowing from B+ through S_P to VBAT. When both P-channel MOSFETs are turned off simultaneously, within the normal operating voltage range, the reverse series connection of the body diodes blocks the main circuit current in both directions. In unidirectional protection, the other direction can form a recovery path through the still-conducting MOSFET and the body diode of the turned-off MOSFET.

[0056] During normal operation of U9, IO_CO and IO_DO can both be set to high level; when LI_CO becomes an active protection state, IO_CO is set to low level; when LI_DO becomes an active protection state, IO_DO is set to low level; when the lock-up condition is met, both outputs are set to low level. During master control reset and power failure, R107 and R108 cause Q11 and Q12 to be cut off by default, and R73 and R75 cause P1A and P1B to be turned off by default. The startup program first writes a low level to the output register, then configures the output direction, and does not set the above outputs high until the record verification is completed.

[0057] Therefore, U11 to P2 forms a direct hardware protection path, while U8, via the status acquisition unit, U9, and the drive unit, forms a second protection path managed by the main controller to P1. Non-volatile lockout is executed in the second path, and normal protection status recovery only generates a recovery request; it cannot bypass the lockout verification and directly connect P1.

[0058] V. Power Supply Control and Data Retention

[0059] like Figure 5 As shown, the input of U12 is connected to B+ and B−, and its regulated output is powered to 3V3 via a reverse blocking branch. Holding capacitor C90 is connected between 3V3 and B−. The reverse blocking branch prevents C90 from flowing back to the input side of U12 after the input is powered down. U9, U13, and the pull-up resistor for the detection signal are powered by 3V3 and share the B− reference potential. External loads are connected between VBAT and GND and are not connected to this holding power supply branch.

[0060] U12 can be constructed by connecting a single-cell battery buck-boost regulator circuit and an ideal diode circuit on the output side in series; for example, a 3.3V output buck-boost regulator can be used in conjunction with an ideal diode device with reverse current blocking function. The input voltage detection circuit samples from B+ relative to B− and outputs a PF signal to U9; this detection circuit is powered by 3V3, so it can provide a power-down indication when the input disappears but C90 still has power.

[0061] Once the power-down state is active, U9 immediately revokes the enable permissions for IO_CO and IO_DO, stops unnecessary communication and periodic sampling, and prioritizes completing the writing and verification of records that have met the lockout conditions. A simple normal power outage is not automatically recorded as a serious battery failure; valid protection event records that have not yet been completed can be saved simultaneously. The undervoltage reset threshold of U9 is set above the voltage required for memory to guarantee writing and reading back.

[0062] The effective capacitance of C90 is selected based on the maximum load current I, the maximum recording time t, and the allowable voltage drop ΔV, satisfying C90 ≥ I × t / ΔV, while allowing margins for capacitance deviation, leakage current, and equivalent series resistance. For example, if the initial power supply is not lower than 3.2V, the controller and memory can operate at 2.7V or higher, the load current does not exceed 10mA, and the total writing and verification time for two short records does not exceed 20ms, the ideal lower limit is 400μF. Using a holding capacitor with a nominal value of 1000μF and an effective value of not less than 800μF after considering deviation can cover the above-mentioned design holding time. This value is a design example; the write time is calculated using the upper limit of the selected memory and communication timing.

[0063] U13 can be an external EEPROM, or it can be implemented using the internal EEPROM of U9 or Flash. When using an external EEPROM, U9 and U13 are connected via I2C, and the data and clock lines are connected to 3V3 via pull-up resistors; both operate together within the power supply range of C90. When using Flash, the latched recording area is separated from the program area, and the pre-erase time, write time, and lifetime are incorporated into the storage arrangement.

[0064] U13 sets up storage areas A and B. Each record includes a format identifier, record number, lock flag, optional event data, and verification information. During production initialization, valid, non-locked records are written and verified; during operation, normal records are not automatically replaced by erased states or all-zero values. After a lock is triggered, P1 remains off. Storage area A is written to and verified first, then storage area B is written to and verified; if any valid locked record exists, it is treated as locked. If records are inconsistent or fail verification and cannot be confirmed as non-locked, conduction remains disabled.

[0065] After the write operation is complete, U9 can enter a low-power state. A normal main circuit interruption will not cause record loss; when the control power supply is completely lost, P1 remains off due to the off bias, and U13 retains the saved records. Upon power-on, record reading and verification are completed first, and then a determination is made as to whether a conduction permission can be issued.

[0066] VI. Voltage and Temperature Detection

[0067] like Figure 6 As shown, R74 and R71 are connected in series between B+ and B−, with their connection point at ADC_VBAT. C77 is connected across ADC_VBAT and B−. ADC_VBAT is connected to the voltage sampling input of U9. R74 and R71 can be 100kΩ and 100kΩ respectively, and C77 can be 0.1μF. At this time, the voltage division ratio is 1 / 2, and U9 calculates the battery voltage based on the ADC reference voltage, resolution, and voltage division ratio. The sampling reference potential is directly B−, and turning off P2 will not change this reference relationship.

[0068] RT1 is positioned close to the battery cell to form thermal coupling, with one end connected to B− and the other end connected to BAT_NTC. R96 is connected between 3V3 and BAT_NTC, and C1 is connected between BAT_NTC and B−. BAT_NTC is connected to the temperature sampling input terminal of U9. R96 can be 100kΩ, and RT1 can be an NTC thermistor with a nominal resistance of 100kΩ at 25℃. U9 obtains the resistance value of RT1 based on the voltage divider result and determines the temperature according to the resistance-temperature table of the selected thermistor or the corresponding calculation formula. The return line of RT1 is connected to B− on the battery side and not to GND on the interface side.

[0069] Voltage and temperature sampling provide supplementary lockout criteria. For example, lockout can be triggered when the voltage continuously exceeds the set voltage range or the temperature continuously exceeds the set temperature value for a specified confirmation time. The voltage and temperature thresholds and confirmation time are configured according to the allowable range of the battery cells used. When the temperature input is close to the power supply terminal or reference ground and exceeds the normal sampling range of the thermistor, the sampling branch is considered abnormal and conduction is prohibited; open-circuit or short-circuit values ​​are not directly converted into normal temperatures.

[0070] VII. Lockdown Detection and Recovery Control

[0071] like Figure 7 As shown, after power-on or reset, it first enters the default shutdown state, reads and verifies storage areas A and B. If a valid locked record is found, it enters locked-in hold; if it cannot confirm that it is not locked, it enters recorded abnormal hold; P1 is only allowed to conduct when a consistent, valid non-locked record is obtained and the current protection state meets the recovery conditions. Both recorded abnormal hold and locked-in hold prohibit the normal protection recovery process from issuing a conduction signal.

[0072] During normal monitoring, U9 reads LI_CO and LI_DO at a fixed period, for example, sampling once every 5ms. The corresponding direction's conduction permission is revoked upon the first valid protection level sample. Event counting also uses stability confirmation; for example, a protection event is confirmed only after three consecutive valid samples. This ensures that event debouncing does not delay the first control that disables conduction. Recovery confirmation can be achieved by combining several consecutive normal samples with the recovery status of U8, avoiding repeated switching during the recovery process.

[0073] In the duration criterion, timing variables are set for both charging and discharging protection states. Once the corresponding state is confirmed to be valid, the timing begins, and lockout is triggered when the preset time T is reached. In one control parameter example, T is set to 30 seconds. After a protection state is confirmed to be restored, its duration is reset to zero; while the other state remains valid, its duration continues to accumulate. During the lockout determination process, current in the corresponding direction is already prohibited; protection is not initiated only after T is reached.

[0074] In the frequency criterion, the transition from a confirmed normal state to a protection state is counted as a valid event, and the occurrence time is saved. The same state is not counted repeatedly while it persists; a new event is generated only when the protection state reappears after the normal state has been confirmed. If counting is done separately for the two outputs, their corresponding time queues are used separately to avoid arbitrarily accumulating the two outputs within the same sampling period into multiple similar events.

[0075] In a frequency configuration example, the time window W is 24 hours, and the frequency threshold N is 4. Lockout is triggered when the number of valid events of the same type in the current window reaches 4. The window uses a monotonic running timer based on U9, removing records already determined to be earlier than the window's start time each time a new event occurs. The time base runs continuously during the period of effective power supply control; when crossing a complete power outage retention event, the cumulative power-on runtime of each event up to the time of power outage is saved, and this accumulation continues after restarting. Unknown power outage durations are not counted as expired time, thus forming a conservative cumulative power-on time window.

[0076] Duration and frequency criteria can be configured separately or enabled in parallel; locking is executed when any enabled criterion is met. When voltage and temperature criteria are enabled, they participate in the judgment as additional trigger conditions. In the same control process that meets the lock-up condition, IO_CO and IO_DO are first set low and normal recovery branches are prevented from setting them high again, and then the lock-up record is persisted.

[0077] During a sustained lockout, the protection chip's output returning to normal only updates the status record, without clearing the lockout flag. Pressing a normal button, reconnecting the charger, resetting the controller, and powering on again do not unlock the device. The controller can report the lockout flag, the number of events, and the sampled data at the time of triggering via the communication interface; reading these data through communication does not change the lockout state.

[0078] In implementations providing authorized maintenance functionality, U9 receives maintenance commands and verifies preset authorization information. After successful verification, P1 remains off, and the updated unlocked records are sequentially written to both storage areas and verified. The protection output and current voltage and temperature status are then rechecked. A conduction permission is issued only when both storage areas are effectively updated and their status allows for recovery. If power is lost during the update process, residual valid lock-up records or inconsistent records will cause the system to remain off upon the next startup. Implementations without maintenance functionality do not provide an interface for clearing the lock-up flag.

[0079] The aforementioned circuit separates the recoverable control and non-volatile lock-up of the protection chip, and maintains consistent shutdown through common-source gate bias, pull-down of the driver transistor, and a verification-before-conduction startup sequence. The control circuit directly draws power and samples from the battery terminals, allowing status recording to continue even after the main circuit switch is disconnected; the reverse blocking and holding capacitors during input power loss provide sustaining time for recording. Its technical advantage lies in reducing lock-up failures caused by protection output recovery or power-on, while retaining normal recovery capabilities when lock-up conditions are not met.

[0080] Each switching transistor group can use discrete MOSFETs or dual-transistor integrated packages. Non-volatile memory can be integrated inside the main control unit. The status acquisition unit can use circuits with the same level conversion function. During implementation, the above control relationship between protection output, main circuit switch, shutdown bias and lock-up record is maintained.

Claims

1. A two-stage lithium battery protection circuit, characterized in that, include: The first protection unit includes a first lithium battery protection chip (U11) and a first switch group (P2). The detection terminal of the first lithium battery protection chip (U11) is connected to the battery-side circuit, and its protection output terminal is connected to the control terminal of the first switch group (P2) to control the first switch group (P2) according to the detected battery status. The second protection unit includes a second lithium battery protection chip (U8) and a second switch group (P1). The voltage detection terminal of the second lithium battery protection chip (U8) is connected to the positive and negative terminals of the battery. The first switch group (P2) and the second switch group (P1) are respectively connected to the main charging and discharging circuit between the battery and the charging and discharging interface, so that the charging and discharging current in the main circuit flows through the two switch groups. The status acquisition unit is connected to the charging protection output terminal and the discharging protection output terminal of the second lithium battery protection chip (U8) and is used to output detection signals that characterize the corresponding protection output status. The drive unit is connected to the two control terminals of the second switch group (P1), and is provided with a cut-off bias branch to control the second switch group (P1) to allow or block the current in the corresponding direction, and to keep the second switch group (P1) off when no conduction control signal is received; Non-volatile memory unit (U13) is used to store the lock flag; The main control unit (U9) is connected to the status acquisition unit, the drive unit, and the non-volatile storage unit (U13) respectively. It is used to control the second switch group (P1) according to the detection signal. When the duration of the protection output state or the number of protection triggers within the set time window meets the preset lockout condition, the drive unit blocks the charging and discharging of the second switch group (P1) and writes the lockout flag into the non-volatile storage unit (U13). The main control unit (U9) is configured to read and verify the lockout flag after power-on and before issuing the conduction control signal. It will only allow the second switch group (P1) to conduct when it is confirmed that the lockout is not locked and the current protection status meets the recovery conditions. When the lockout flag is valid, it will keep the charging and discharging blocked and will not automatically unlock due to the protection output status returning to normal or power-on.

2. The dual-stage lithium battery protection circuit according to claim 1, characterized in that, The first switch group (P2) is located between the negative terminal of the battery and the negative terminal of the charge / discharge interface, and includes two N-channel MOSFETs connected by common drain; the second switch group (P1) is located between the positive terminal of the battery and the positive terminal of the charge / discharge interface, and includes two P-channel MOSFETs connected by common source; the body diodes of the two MOSFETs in each switch group are arranged in opposite directions along the series connection direction of their respective branches.

3. The dual-stage lithium battery protection circuit according to claim 1, characterized in that, The status acquisition unit includes two N-channel detection MOSFETs (Q10, Q8) and two pull-up resistors (R33, R97). The gates of the two N-channel detection MOSFETs (Q10, Q8) are connected to the charging protection output terminal and the discharging protection output terminal of the second lithium battery protection chip (U8) via resistors, respectively. The sources of both are connected to the negative terminal of the battery, and the drains are connected to the two detection input terminals of the main control unit (U9) and respectively connected to the control side logic power supply via the pull-up resistors (R33, R97).

4. The dual-stage lithium battery protection circuit according to claim 2, characterized in that, The driving unit includes two N-channel driving switches (Q11, Q12) and two gate bias resistors (R73, R75). The drains of the two N-channel driving switches (Q11, Q12) are respectively connected to the gates of the two P-channel MOS transistors of the second switching transistor group (P1), and the sources of both are connected to the negative terminal of the battery. The gates are respectively connected to the two control output terminals of the main control unit (U9) through resistors, and respectively connected to the negative terminal of the battery through pull-down resistors (R107, R108). The two gate bias resistors (R73, R75) are respectively connected between the gate of the corresponding P-channel MOS transistor and the common source node of the second switching transistor group (P1).

5. The dual-stage lithium battery protection circuit according to claim 1, characterized in that, It also includes a voltage detection unit and a temperature detection unit; the voltage detection unit includes a voltage divider resistor (R74, R71) connected in series between the positive and negative terminals of the battery, and its voltage divider node is connected to the voltage sampling input terminal of the main control unit (U9); the temperature detection unit includes an NTC thermistor (RT1) thermally coupled to the battery and a bias resistor (R96) connected between the control-side logic power supply and the NTC thermistor (RT1), the other end of the NTC thermistor (RT1) is connected to the negative terminal of the battery, and its temperature sampling node is connected to the temperature sampling input terminal of the main control unit (U9); the main control unit (U9) is also used to determine the preset lock-up condition based on voltage data or temperature data.

6. The dual-stage lithium battery protection circuit according to claim 1, characterized in that, It also includes a control power supply unit (U12), whose input terminal is connected to the positive and negative terminals of the battery, and whose output terminal supplies power to the main control unit (U9) and the non-volatile storage unit (U13). The power supply branch of the control power supply unit (U12) does not pass through the two switching transistor groups. The control power supply unit (U12) includes a voltage regulator circuit and a reverse blocking branch, and its output side is connected to a holding capacitor (C90) to maintain the power supply required for locking record writing and verification when the input power supply is interrupted.

7. The dual-stage lithium battery protection circuit according to claim 1, characterized in that, The non-volatile storage unit (U13) is an EEPROM or Flash inside the main control unit (U9), or an external EEPROM connected to the main control unit (U9); the non-volatile storage unit (U13) has at least two storage areas for storing lock records containing lock flags, record numbers and verification information respectively; the main control unit (U9) writes and reads back to verify the lock records when the second switch group (P1) is disabled.

8. A lock-up control method for a dual-stage lithium battery protection circuit, the dual-stage lithium battery protection circuit comprising a first lithium battery protection chip, a second lithium battery protection chip, a first switching transistor group, a second switching transistor group, a main control unit, and a non-volatile memory unit, wherein both switching transistor groups are located in the main charging and discharging circuit between the battery and the charging and discharging interface, and the first switching transistor group is controlled by the first lithium battery protection chip, characterized in that, The method includes: After power-on, the second switch group is kept off by using the off bias branch. Before issuing the turn-on control signal, the lock-up record in the non-volatile memory unit is read and verified. If a valid lock-up flag exists, the switch is kept off. Turn-on is only allowed when it is confirmed that the switch is not locked and the current protection status meets the recovery conditions. When not in a locked state, the charging protection output state and discharging protection output state of the second lithium battery protection chip are obtained, the second switching transistor group is controlled according to the protection output state, and the protection duration or the number of protection triggers within a set time window is determined. When the protection duration or the number of protection triggers meets the preset lockout condition, the conduction permission of the second switch group is revoked to block charging and discharging, and the lockout record containing the lockout flag is written to the non-volatile storage unit. The shutdown control remains active while the lockout flag is active, and the lockout is not automatically released when the protection output status returns to normal or when power is restored.

9. The lock-up control method according to claim 8, characterized in that, When determining the number of protection triggers, the stability of the collected protection output state is confirmed. A confirmed normal state turning into a protection state is counted as one protection event. The number of events is not repeated during the duration of the same protection state. The next protection event is counted only when the protection state is entered again after the normal state is confirmed. The number of valid protection events within the set time window is compared with the preset number threshold.

10. The lock-up control method according to claim 8, characterized in that, The locked records are written to at least two storage areas and read back for verification. During power-on verification, if any valid locked record exists, the lock is maintained. If there is a record conflict or the verification fails and it cannot be confirmed that the lock is not locked, the conduction is prohibited. The valid locked flag is cleared only after passing the preset authorization verification, and the current protection output status is rechecked after clearing. The conduction is only allowed if the recovery conditions are met.