Battery protection circuit, battery protection system, electronic device and control method

By introducing a fault detection unit and a reference voltage adjustment module into the battery protection circuit, combined with the comparison of current sampling and overcurrent reference voltage, accurate and timely detection of system circuit faults is achieved, and the problem of untimely fault detection in the existing technology is solved. , improving the effectiveness of battery protection.

CN118748445APending Publication Date: 2024-10-08WUXI WINSEMI MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410762144.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

It is difficult for the existing battery protection circuit to accurately and timely determine whether the system circuit has failed, resulting in serious damage when the failure occurs.

Method used

A battery protection circuit including a main control unit, a main switch unit, a fault detection unit and a reference voltage adjustment module is designed. Through the comparison of the current sampling voltage and the overcurrent reference voltage, the fault condition of the system circuit is detected in real time and the processor is used Locate the faulty load branch.

Benefits of technology

It achieves accurate and timely detection of system circuit faults, reduces the burden on the system circuit, avoids false alarms of faults, and improves the effectiveness of battery protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748445A_ABST
    Figure CN118748445A_ABST
Patent Text Reader

Abstract

The invention provides a battery protection circuit which comprises a main control unit and a main switch unit, the battery protection circuit further comprises a fault detection unit, a first input end of the fault detection unit is connected with current sampling voltage, the current sampling voltage is used for representing current flowing through the main switch unit, and a second input end of the fault detection unit is connected with a second input end of the fault detection unit. An overcurrent reference voltage is connected to the second input end of the fault detection unit, when the voltage of the first input end of the fault detection unit is larger than or equal to the voltage of the second input end of the fault detection unit, a fault short circuit signal is output, and the fault short circuit signal is used for indicating that a system circuit breaks down; wherein the battery protection circuit is used for being connected with a system circuit, at least part of the overcurrent reference voltage is controlled by a first signal output by the system circuit, and the first signal is used for corresponding to the conduction condition of a load branch of the system circuit. The embodiment of the invention further provides a battery protection system, an electronic device and a control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery protection, and in particular to a battery protection circuit, a battery protection system, an electronic device and a control method. Background Art

[0002] Battery components are widely used in electronic devices, such as mobile phones and tablet computers, to provide a more flexible use environment for electronic devices without being limited by the range of sockets and power supply cables. Generally speaking, a battery component includes a battery and a battery protection circuit electrically connected to the battery. The battery is used to provide energy to the electronic device, and the battery protection circuit is used to protect the battery from abnormal situations such as overcharging or over-discharging.

[0003] The electronic device also includes a system circuit. The battery supplies power to the system circuit via the battery protection circuit. The system circuit includes various loads to realize various functions of the electronic device. When a load has a short circuit fault, the current in the main circuit of the electronic device will be relatively large. When the current in the main circuit is greater than a certain value, the battery protection circuit will perform overcurrent protection, and the main circuit of the battery supplying power to the system circuit will be cut off, thereby protecting the battery and the system circuit. At this time, the user will know that a fault has occurred. At this time, the fault is already quite serious and may have caused relatively serious damage to the system circuit. Summary of the invention

[0004] The technical problem to be solved by the embodiments of the present application is to provide a battery protection circuit, a battery protection system, an electronic device and a control method to address the deficiencies of the prior art, which can accurately and timely determine whether a system circuit is faulty.

[0005] In order to solve the above technical problems, the first aspect of the embodiment of the present application provides a battery protection circuit, including: a main control unit and a main switch unit, wherein the main control unit is connected to the control end of the main switch unit, and the main switch unit is used to control whether the battery supplies power to the system circuit;

[0006] The battery protection circuit further includes a fault detection unit, a first input terminal of the fault detection unit is connected to a current sampling voltage, the current sampling voltage is used to characterize the current flowing through the main switch unit, a second input terminal of the fault detection unit is connected to an overcurrent reference voltage, and when the voltage at the first input terminal of the fault detection unit is greater than or equal to the voltage at the second input terminal thereof, the fault detection unit outputs a fault short-circuit signal, and the fault short-circuit signal is used to indicate that a fault occurs in the system circuit;

[0007] The battery protection circuit is used to be connected to the system circuit, and at least part of the overcurrent reference voltage is controlled by a first signal output by the system circuit, and the first signal is used to correspond to the conduction status of the load branch of the system circuit.

[0008] Optionally, all of the overcurrent reference voltages are controlled by the first signal.

[0009] Optionally, the overcurrent reference voltage includes an initial voltage, wherein a voltage of the overcurrent reference voltage other than the initial voltage is controlled by the first signal, and the initial voltage is used to output to a second input terminal of the fault detection unit when the battery protection circuit is powered on.

[0010] Optionally, the battery protection circuit includes a discharge overcurrent protection unit, a first input terminal of the discharge overcurrent protection unit is connected to a current sampling voltage, a second input terminal of the discharge overcurrent protection unit is connected to an overcurrent protection threshold, and an output terminal of the discharge overcurrent protection unit is connected to the main control unit. When the voltage of the first input terminal of the discharge overcurrent protection unit is greater than or equal to the voltage of its second input terminal and lasts for a first preset time, it outputs an overcurrent protection signal, and the main control unit receives the overcurrent protection signal and controls the main switch unit to disconnect and cut off, wherein the overcurrent reference voltage is less than the overcurrent protection threshold.

[0011] Optionally, the first signal is used to correspond to the sum of theoretical current information of currently turned-on load branches, wherein the theoretical current information is preset in the system circuit.

[0012] Optionally, the battery protection circuit includes a reference voltage regulation module, which receives the first signal and generates an overcurrent reference voltage to the second input terminal of the fault detection unit based on the first signal, wherein different overcurrent reference voltages are generated in response to different first signals.

[0013] Optionally, the reference voltage adjustment module includes a reference voltage source, a first voltage-dividing resistor, a second voltage-dividing resistor and a reference voltage control unit, wherein one end of the first voltage-dividing resistor is connected to the reference voltage source, the first voltage-dividing resistor and the second voltage-dividing resistor are connected in series, one end of the second voltage-dividing resistor is connected to the power ground terminal, the connection point between the first voltage-dividing resistor and the second voltage-dividing resistor is used to output the overcurrent reference voltage, the first voltage-dividing resistor or the second voltage-dividing resistor is also connected to the reference voltage control unit, the reference voltage control unit is used to receive the first signal, and the reference voltage control unit adjusts the resistance value of the first voltage-dividing resistor or the resistance value of the second voltage-dividing resistor according to the first signal to output multiple different overcurrent reference voltages.

[0014] Optionally, the battery protection circuit is located on the same chip; or,

[0015] The components of the battery protection circuit except the main switch unit are located on one chip, and the main switch unit is located on another chip.

[0016] A second aspect of an embodiment of the present application provides a battery protection system, including:

[0017] The battery protection circuit mentioned above;

[0018] A system circuit, comprising a processor and a plurality of parallel load branches, wherein the processor is used to control the on or off of the plurality of load branches, and the processor stores theoretical current information of each load branch;

[0019] The processor is connected to the battery protection circuit, the processor obtains the conduction branch information of the load branch that is currently conducting, and the processor outputs a corresponding first signal to the battery protection circuit based on the conduction branch information and corresponding theoretical current information.

[0020] Optionally, the processor locates a faulty load branch among currently conducting load branches based on the short-circuit fault signal output by the fault detection unit.

[0021] Optionally, when the processor receives a signal corresponding to a fault short-circuit signal, the processor controls a part of the currently turned-on load branch to be turned on and another part to be turned off, and outputs a first signal to the battery protection circuit based on theoretical current information of the part of the turned-on load branch. The battery protection circuit outputs a corresponding overcurrent reference voltage to the second input terminal of the fault detection unit based on the received first signal. When the processor receives a signal corresponding to the fault short-circuit signal again, the processor repeats the previous steps for the part of the turned-on load branch. When the processor does not receive a signal corresponding to the fault short-circuit signal, the processor repeats the previous steps for the other part of the turned-off load branch until the processor locates the faulty load branch.

[0022] A third aspect of an embodiment of the present application provides an electronic device, including:

[0023] Battery;

[0024] The battery protection circuit or the battery protection system mentioned above, wherein the battery protection circuit is connected to the battery.

[0025] A fourth aspect of an embodiment of the present application provides a method for controlling a battery protection circuit, comprising:

[0026] receiving a first signal, wherein the first signal is used to correspond to a conduction status of a load branch of a system circuit;

[0027] adjusting an overcurrent reference voltage according to the first signal, wherein the overcurrent reference voltage is output to a second input terminal of the fault detection unit;

[0028] Determine whether the current sampling voltage is greater than or equal to the overcurrent reference voltage, wherein the current sampling voltage is output to the first input terminal of the fault detection unit, and the current sampling voltage is used to characterize the current flowing through the main switch unit of the battery protection circuit;

[0029] If the judgment result is yes, a fault short circuit signal is output, wherein the fault short circuit signal is used to indicate that a fault occurs in the system circuit, and the fault short circuit signal or a signal corresponding thereto is output to the system circuit.

[0030] In this embodiment, the first input terminal of the fault detection unit is connected to the current sampling voltage, and the second input terminal is connected to the overcurrent reference voltage, and at least part of the overcurrent reference voltage is controlled by the first signal output by the system circuit, and the first signal is used to correspond to the conduction status of the load branch of the system circuit. Since at least part of the overcurrent reference voltage is associated with the first signal, the overcurrent reference voltage will be greater than the sum of the theoretical current information of the load branch currently being conducted. When the fault detection unit outputs a fault short-circuit signal, it means that the load branch currently being conducted must have a fault, so the fault detection unit of this embodiment will make a very accurate judgment. After receiving the signal corresponding to the fault short-circuit signal, the system circuit does not need to check again, and can also give a prompt more accurately. Moreover, this embodiment takes advantage of the battery protection circuit itself to obtain the current sampling voltage in real time, and does not need to add additional current detection circuits, which is conducive to reducing costs; and the system circuit does not need to intervene in the real-time detection process of the short-circuit fault, which is conducive to reducing the burden of the system circuit. In addition, since at least part of the overcurrent reference voltage is associated with the first signal, the first signal is used to correspond to the conduction status of the load branch of the system circuit. Therefore, relative to the fixed overcurrent reference voltage, the present application will not cause false alarms and can also take into account the more timely detection of faults. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 is a circuit module diagram of an electronic device according to an embodiment of the present application;

[0033] Figure 2 is a detailed circuit module diagram of an electronic device according to an embodiment of the present application;

[0034] Figure 3 It is a partial circuit module diagram of a system circuit according to an embodiment of the present application;

[0035] Figure 4a is a schematic diagram of the first grouping of load branches according to an embodiment of the present application;

[0036] Figure 4b is a schematic diagram of a second grouping of load branches according to an embodiment of the present application;

[0037] Figure 4c is a schematic diagram of the kth grouping of load branches according to an embodiment of the present application;

[0038] Figure 5a is a schematic diagram of a reference voltage adjustment module according to an embodiment of the present application;

[0039] Figure 5b is a schematic diagram of a reference voltage adjustment module according to another embodiment of the present application;

[0040] Figure 5c is a schematic diagram of a reference voltage adjustment module according to another embodiment of the present application;

[0041] Figure 5d is a schematic diagram of a reference voltage adjustment module according to yet another embodiment of the present application;

[0042] Figure 6 It is a flow chart of a control method of a battery protection circuit according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The terms "including" and "having" and any variations thereof appearing in the specification, claims and drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units that are inherent to these processes, methods, products or devices. In addition, the terms "first", "second" and "third" are used to distinguish different objects, rather than to describe a specific order. The connection of this application includes direct connection and indirect connection. Indirect connection means that other electronic components, pins, etc. may exist between the two connected components. The XX pin mentioned in this application may be an actual pin, or it may not be an actual pin, for example, it is only a pin of a component or a pin of a wire. The three situations mentioned and / or included in this application, such as A and / or B, include the three situations of A, B, A and B.

[0045] The present application embodiment provides an electronic device, such as a mobile phone, a tablet computer, etc. Figure 1 The electronic device includes a battery 100 and a battery protection system, the battery protection system is connected to the battery 100, and the battery 100 is used to power the battery protection system. In an embodiment, the number of the battery 100 is one or more, preferably one, and when there are multiple batteries 100, the multiple batteries 100 can be connected in parallel, in series, or in a mixture of series and parallel. The battery 100 is preferably a lithium battery 100, and the capacity of the battery 100 is, for example, 1000mAH-15000mAH, for example, 1000mAH, 2000mAH, 3000mAH, 4000mAH, 5000mAH, 6000mAH, 7000mAH, 8000mAH, 9000mAH, 10000mAH, 11000mAH, 12000mAH, 13000mAH, 14000mAH, 15000mAH, etc.

[0046] In the present embodiment, the battery protection system includes a battery protection circuit 200 and a system circuit 300. The battery protection circuit 200 is electrically connected to the positive and negative electrodes of the battery 100, the system circuit 300 is electrically connected to the battery protection circuit 200, and the battery 100 supplies power to the battery protection circuit 200. The battery protection circuit 200 is generally used in conjunction with the battery 100 to protect the battery 100, for example, when the battery 100 is discharged with an overcurrent, it is protected. Since how the battery protection circuit 200 protects the battery 100 from discharge overcurrent is a common technical means in the field, it is not repeated here. In the present embodiment, a fifth resistor R5 and a first capacitor C1 are also provided between the battery 100 and the battery protection circuit 200, and the fifth resistor R5 and the first capacitor C1 are provided for filtering. In addition, in other embodiments of the present application, other circuits or electronic components may also be provided between the battery 100 and the battery protection circuit 200. In addition, in other embodiments of the present application, the fifth resistor R5 and the first capacitor C1 may not be provided.

[0047] In this embodiment, please refer to Figure 1 and Figure 2 The battery protection circuit 200 includes a power supply terminal VDD, a power ground terminal GND, a battery protection unit 220, a main control unit 230, and a main switch unit 240.

[0048] In this embodiment, the power supply terminal VDD and the power ground terminal GND are used to electrically connect to the positive and negative poles of the battery 100, so that the battery 100 can supply power to the battery protection circuit 200. At the same time, the battery 100 forms a main loop through the battery protection circuit 200 and the system circuit 300 to supply power to the system circuit 300.

[0049] In the present embodiment, the battery protection unit 220 is used to control the battery 100 to stop charging and discharging when abnormal charging and discharging of the battery 100 is detected during the charging and discharging process of the battery 100, so as to protect the battery 100. In the present embodiment, the battery protection circuit 200 protects the battery 100 from overcharging, overdischarging, and overcurrent discharge of the battery 100, for example, to prevent permanent damage to the battery 100. In the present embodiment, the battery protection unit 220 includes a discharge overcurrent protection unit 221. However, the present application is not limited thereto. In other embodiments of the present application, the battery protection unit 220 also includes an overcharge protection unit, an overdischarge protection unit, a charge overcurrent protection unit, and the like.

[0050] The discharge overcurrent protection unit 221 is used to protect the battery 100 when a discharge current is detected to be too large during the discharge process of the battery 100, for example, the battery 100 stops discharging, etc., to prevent the excessive discharge current from causing permanent damage to the battery 100 or causing safety problems.

[0051] The overcharge protection unit is used to protect the battery 100 when it is detected that the voltage of the battery 100 is too high during the charging process of the battery 100, such as stopping the charging of the battery 100, so as to prevent the battery 100 from being damaged or causing safety problems.

[0052] The over-discharge protection unit is used to protect the battery 100 when it is detected that the voltage of the battery 100 is too low during the discharge process of the battery 100, for example, controlling the battery 100 to discharge only to the minimum extent, generally stopping the power supply to the system circuit 300 to prevent the battery 100 from being over-discharged and causing permanent damage to the battery 100.

[0053] The charging overcurrent protection unit is used to protect the battery 100 when it detects that the charging current is too large during the charging process of the battery 100, for example, the battery 100 stops charging, etc., to prevent the excessive charging current from causing permanent damage to the battery 100 or safety problems. The charging overcurrent protection unit and the discharging overcurrent protection unit 221 can be the same unit or different units.

[0054] In this embodiment, the first end of the main switch unit 240 is connected to the negative electrode (using this as an example in the figure) or the positive electrode of the battery 100, the second end of the main switch unit 240 is connected to the system circuit 300 via the system terminal VM, the control end of the main switch unit 240 is connected to the main control unit 230, the main control unit 230 is connected to the battery protection unit 220, and the main control unit 230 controls the conduction or shutdown of the main switch unit 240 to control the battery 100 to supply power to the system circuit 300 or stop supplying power to the system circuit 300. In this embodiment, the main switch unit 240 includes a switch tube and a substrate control circuit, the switch tube is a MOS tube, the control end of the switch tube is electrically connected to the main control unit 230, the substrate control circuit is electrically connected to the main control unit 230, and the substrate control circuit is used to achieve the correct bias of the substrate of the switch tube. However, the present application is not limited thereto. In other embodiments of the present application, the main switch unit 240 may further include a charging switch and a discharging switch, wherein the charging switch and the discharging switch are connected in series, both the charging switch and the discharging switch are MOS tubes, and the control end of the charging switch and the control end of the discharging switch are respectively electrically connected to the main control unit 230. In addition, in other embodiments of the present application, the main switch unit 240 may also be implemented in other forms, such as including only one switch tube.

[0055] In this embodiment, the battery protection circuit 200 includes a current detection terminal JC, which is used to connect to the second end of the detection resistor Rj. The first end of the detection resistor Rj is connected to the negative electrode of the battery 100. The first end of the detection resistor Rj is also connected to the battery protection circuit 200, which is connected to the power ground terminal GND here. The second end of the detection resistor Rj is also connected to one end of the main switch unit 240. In this embodiment, the main switch unit 240 is connected to the negative electrode of the battery 100 via the detection resistor Rj. Therefore, the detection resistor Rj is located in the main loop formed by the battery 100, the battery protection circuit 200, and the system circuit 300. Since the detection resistor The first end of Rj is connected to the negative electrode of the battery 100 and the power ground terminal GND, so that the voltage of the current detection terminal JC is the voltage on the detection resistor Rj, which is the product of the resistance value of the detection resistor Rj and the current flowing through it. Since the resistance value of the detection resistor Rj is determined, the voltage of the current detection terminal JC can represent the current flowing through the detection resistor Rj. The current flowing through the detection resistor Rj is equal to the current flowing through the main switch unit 240, and both are currents of the main circuit. Therefore, the voltage of the current detection terminal JC can also represent the current of the main circuit. The voltage of the current detection terminal JC is called the current sampling voltage V1 in this embodiment, and the current sampling voltage V1 represents the current of the main circuit in real time. In addition, in other embodiments of the present application, the first end of the detection resistor Rj is connected to the positive electrode of the battery 100, the first end of the detection resistor Rj is also connected to the power supply terminal VDD, the second end of the detection resistor Rj is connected to the current detection terminal JC, the detection resistor Rj is connected in series with the main switch unit 240, the voltage on the detection resistor Rj is the difference between the voltage of the power supply terminal VDD and the voltage of the current detection terminal JC, and the voltage on the detection resistor Rj is the current sampling voltage V1. In addition, in other embodiments of the present application, the detection resistor Rj can also be located at other positions, as long as the detection resistor Rj is located in the main loop, that is, the detection resistor Rj is connected in series with the main switch unit 240, and both ends of the detection resistor Rj are connected to the battery protection circuit 200, and the battery protection circuit 200 subtracts the voltages at both ends of the detection resistor Rj to obtain the current sampling voltage V1. In addition, in other embodiments of the present application, the current sampling voltage V1 can also be obtained in other ways, for example, the first end of the main switch unit 240 is connected to the negative electrode or the positive electrode of the battery 100, the first end of the main switch unit 240 is also correspondingly connected to the power ground terminal GND or the power supply terminal VDD, the current detection terminal JC (which coincides with the system terminal VM at this time) is connected to the second end of the main switch unit 240, and the voltage difference between the two ends of the main switch unit 240 is the current sampling voltage V1, and the current sampling voltage V1 is used to characterize the current flowing through the main switch unit 240. In this embodiment, the current sampling voltage V1 is the voltage on the detection resistor Rj or the main switch unit 240 or the voltage on the detection resistor Rj or the main switch unit 240 is obtained by, for example, voltage division processing, and the current sampling voltage V1 is used to characterize the current flowing through the main circuit.

[0056] In this embodiment, the first input terminal of the discharge overcurrent protection unit 221 is connected to the current sampling voltage V1. Specifically, the first input terminal is directly or indirectly connected to the current sampling terminal. In this embodiment, it is directly connected. The first input terminal of the discharge overcurrent protection unit 221 can obtain the current sampling voltage V1 in real time. The second input terminal of the discharge overcurrent protection unit 221 is connected to the overcurrent protection threshold Vcc1. In this embodiment, the overcurrent protection threshold Vcc1 is a voltage. When the current sampling voltage V1 of the first input terminal of the discharge overcurrent protection unit 221 is greater than or equal to the overcurrent protection threshold Vcc1 and lasts for a first preset time, the discharge overcurrent protection unit 221 outputs an overcurrent protection signal to the main control unit 230. The main control unit 230 controls the main switch unit 240 to disconnect and cut off, and the battery 100 stops supplying power to the system circuit 300. The discharge overcurrent protection unit 221 in this embodiment includes a voltage comparator and a delay unit.

[0057] In order to detect whether the system circuit 300 has a fault and discover the fault in time, in the present embodiment, the battery protection circuit 200 also includes a fault detection unit 260. The first input terminal of the fault detection unit 260 is connected to the current sampling voltage V1. Specifically, the first input terminal is directly or indirectly connected to the current sampling terminal. In the present embodiment, it is directly connected. The first input terminal of the fault detection unit 260 can obtain the current sampling voltage V1 in real time. The second input terminal of the fault detection unit 260 is connected to the overcurrent reference voltage Vcc2. The overcurrent reference voltage Vcc2 is variable. When the current sampling voltage V1 of the first input terminal of the fault detection unit 260 is greater than or equal to the overcurrent reference voltage Vcc2, the fault detection unit 260 outputs a fault short-circuit signal. The fault short-circuit signal is used to indicate that the system circuit 300 has a fault. In this embodiment, the overcurrent reference voltage Vcc2 is less than the overcurrent protection threshold Vcc1. The overcurrent reference voltage Vcc2 and the setting of the fault detection unit 260 indicate that a fault has occurred in the system circuit 300. The fault has a small impact on the battery 100, and no serious fault (having a relatively large impact on the battery 100) has occurred. At this time, the fault detection unit 260 outputs a fault short-circuit signal, which is used for the system circuit 300 to judge the fault and for the system circuit 300 to prompt the occurrence of a fault. When a relatively serious fault (having a relatively large impact on the battery 100) occurs, the fault detection unit 260 will output a fault short-circuit signal, and the discharge overcurrent protection unit 221 will output an overcurrent protection signal. The main control unit 230 will control the main switch unit 240 to disconnect and stop, and the battery 100 stops discharging to protect the battery 100. After that, the system circuit 300 is powered off and the system circuit 300 will not work. In this embodiment, the fault detection unit 260 includes a voltage comparator.

[0058] Please refer to Figure 2 and Figure 3 In this embodiment, the system circuit 300 includes a processor 310 and multiple load branches, the multiple load branches are connected in parallel, the processor 310 and the load branches are connected to the battery 100 via the main switch unit 240, in this embodiment, the first end of the processor 310 and the first end of the load branch are connected to the positive electrode of the battery 100, and the second end of the processor 310 and the second end of the load branch are connected to the negative electrode of the battery 100 via the main switch unit 240 and the detection resistor Rj. In this embodiment, the processor 310 can control the conduction or disconnection of multiple load branches. In the figure, for example, n load branches are included, namely a first load branch 321, a second load branch 322, ..., and an nth load branch 32n. Each load branch includes a switch and a corresponding sub-load. The switch is connected in series with the corresponding load. The control end of the switch is connected to the processor 310. Specifically, the first load branch 321 includes a first load switch K31 and a first sub-load R31 connected in series. The second load branch 322 includes a second load switch K32 and a second sub-load R32 connected in series. ..., the nth load branch 32n includes a first load switch K31 and a first sub-load R31 connected in series. The load branch 32n includes an nth load switch K1n and an nth sub-load R3n connected in series, the first sub-load R31 is, for example, a radio frequency unit, the second sub-load R32 is, for example, an audio unit, ..., the nth sub-load R3n is, for example, an acceleration sensor, the first load switch K31, the second load switch K32, ..., and the nth load switch K1n are, for example, MOS tubes, triodes, etc., and the control ends of the first load switch K31, the second load switch K32, ..., and the nth load switch K1n are all connected to the processor 310. In this embodiment, the processor 310 can control a load branch to be turned on or off as needed. When a load branch is turned on, the load branch works and current flows through it; when a load branch is not turned on, the load branch does not work, no current flows through it, and the current is 0; when part of the load of a load branch is short-circuited, the current on the load branch will not be too large (there are other loads that limit the current of the load branch), and the fault is not serious and will not trigger the discharge overcurrent protection; when the sub-load of a load branch is completely short-circuited, the current on the load branch will be very large, and the fault is serious, which will trigger the discharge overcurrent protection.

[0059] In order to prevent false fault alarms or failure to report faults in a timely manner, in this embodiment, the processor 310 stores theoretical current information of n load branches. The theoretical current information of the corresponding load branch represents the maximum current that may flow through the corresponding load branch when it is working normally. The theoretical current information is, for example, voltage. The theoretical current information of each load branch can be obtained in advance through experimental testing or calculated through a theoretical model. In this embodiment, the processor 310 obtains the conduction branch information of the load branch that is currently conducting, and calculates and sums the total theoretical current information based on the conduction branch information and the corresponding theoretical current information, and outputs a corresponding first signal based on the total theoretical current information. For example, the processor 310 obtains that m load branches are conducting based on the conduction branch information, m≤n, the processor 310 obtains the theoretical current information of each of the m load branches, and sums the m theoretical current information to obtain the total theoretical current information, and outputs a corresponding first signal based on the total theoretical current information, wherein different total theoretical current information corresponds to different first signals, and the conduction branch information includes identification information of the load branch that is conducting, and the processor 310 can obtain the corresponding theoretical current information based on the identification information.

[0060] In this embodiment, the battery protection circuit 200 is connected to the processor 310 of the system circuit 300. The processor 310 sends a first signal to the battery protection circuit 200. After the battery protection circuit 200 receives the first signal, the battery protection circuit 200 generates a corresponding overcurrent reference voltage Vcc2 and outputs it to the second input end of the fault detection unit 260, so that the second input end of the fault detection unit 260 is connected to the corresponding overcurrent reference voltage Vcc2.

[0061] The first input terminal of the fault detection unit 260 of this embodiment is connected to the current sampling voltage V1, and the second input terminal is connected to the overcurrent reference voltage Vcc2, and at least part of the overcurrent reference voltage Vcc2 is controlled by the first signal output by the system circuit 300, and the first signal is used to correspond to the conduction status of the load branch of the system circuit 300. Since at least part of the overcurrent reference voltage Vcc2 is associated with the first signal, the overcurrent reference voltage Vcc2 will be greater than the sum of the theoretical current information of the load branch currently being conducted. When the fault detection unit 260 outputs a fault short-circuit signal, it means that the load branch currently being conducted must have a fault, so the fault detection unit 260 of this embodiment will make a very accurate judgment. After receiving the signal corresponding to the fault short-circuit signal, the system circuit 300 does not need to check again, and can also give a prompt more accurately. Moreover, this embodiment takes advantage of the battery protection circuit 200 itself to obtain the current sampling voltage V1 in real time, and does not need to add an additional current detection circuit, which is conducive to reducing costs; and the system circuit 300 does not need to intervene in the real-time detection process of the short-circuit fault, which is conducive to reducing the burden of the system circuit 300. In addition, since at least part of the overcurrent reference voltage Vcc2 is associated with the first signal, the first signal is used to correspond to the conduction status of the load branch of the system circuit 300. Therefore, relative to the fixed manner of the overcurrent reference voltage Vcc2 (the fixed overcurrent reference voltage Vcc2 will either be set too large or too small), the present application will not cause false alarms and can also take into account the more timely detection of faults.

[0062] In this embodiment, all overcurrent reference voltages Vcc2 are controlled by the first signal, that is, the number of overcurrent reference voltages Vcc2 is multiple, the number of first signals is also multiple, different first signals correspond to different overcurrent reference voltages Vcc2, and different total theoretical current information corresponds to different first signals. In this embodiment, the first signal may be the same as the corresponding total theoretical current information or may be different. The overcurrent reference voltage Vcc2 must be greater than the total theoretical current information. Preferably, the total theoretical current information is the same as the corresponding first signal, and the overcurrent reference voltage Vcc2 is 10% larger than the total theoretical current information. In this case, when the battery protection circuit 200 starts to power on, since the output of the total theoretical current information and the first signal takes time, the second input end of the fault detection unit 260 may not have time to input the effective voltage, resulting in signal confusion or error when powering on. In order to solve this problem, in other embodiments of the present application, the overcurrent reference voltage Vcc2 includes an initial voltage, and the voltage of the overcurrent reference voltage Vcc2 other than the initial voltage is controlled by the first signal. The initial voltage is used to output to the second input end of the fault detection unit 260 when the battery protection circuit 200 is powered on. When the total theoretical current information and the first signal react, the overcurrent reference voltage Vcc2 controlled by the first signal will replace the initial voltage; here, the initial voltage is greater than or equal to the maximum value of other overcurrent reference voltages Vcc2, the initial voltage is less than the overcurrent protection threshold Vcc1, and the initial voltage is greater than the sum of the theoretical current information of all load branches, preferably 10% greater than the sum of the theoretical current information of all load branches. By setting the initial voltage, the fault can be judged more accurately when powering on, and a prompt can also be given in time.

[0063] In this embodiment, the system circuit 300 is connected to the battery protection circuit 200. When the fault detection unit 260 outputs a fault short-circuit signal and the discharge overcurrent protection unit 221 does not output an overcurrent protection signal, that is, the current sampling voltage V1 is greater than or equal to the current overcurrent reference voltage Vcc2 and less than the overcurrent protection threshold Vcc1, the main switch unit 240 remains turned on, the processor 310 is powered and works normally, and the processor 310 receives a fault indication signal. The fault indication signal and the fault short-circuit signal are the same signal or the fault indication signal is a signal corresponding to the fault short-circuit signal. When the processor 310 receives the fault indication signal, the processor 310 learns that a short-circuit fault or a weak short-circuit fault occurs in the load branch.

[0064] After learning that a short circuit fault occurs in a load branch, in order to automatically and accurately locate the load branch with the short circuit fault and facilitate subsequent maintenance, in this embodiment, the processor 310 locates the load branch with the short circuit fault by binary division. Figure 2-Figure 4a, the processor 310 randomly divides the load branches being turned on into two groups according to the turned-on branch information or according to a preset rule, which are referred to as the first group of load branches Z11 and the first second group of load branches Z12 herein. The number of load branches included in the two groups of load branches may be the same or different. Preferably, the number included in the two groups is similar or equal. For example, the first group of load branches Z11 includes m / 2 load branches rounded down, and the first second group of load branches Z12 includes the remaining load branches. The processor 310 turns on one of the first group of load branches Z11 and the first second group of load branches Z12, and disconnects the other group. For example, the processor 310 controls the first group of load branches Z11 to be turned on completely, and the first second group of load branches Z12 to be disconnected completely. At the same time, the processor 310 learns the turned-on load branches Z11 of the first group of load branches based on the turned-on branch information. The theoretical current information of the first group of load branches Z11 is obtained by summing the theoretical current information of the first group of total theoretical current information, and outputting the corresponding first signal to the battery protection circuit 200 based on the total theoretical current information of the first group of total theoretical current information. After receiving the first signal, the battery protection circuit 200 outputs the corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260 according to the corresponding relationship between the first signal and the overcurrent reference voltage Vcc2. Thereafter, the fault detection unit 260 determines whether the voltage of the first input terminal is greater than or equal to the voltage of its second input terminal. If the processor 310 receives the fault indication signal, the processor 310 knows that the faulty load branch is located in the first group of load branches Z11. If the processor 310 does not output the fault indication signal, the processor 310 knows that the faulty load branch is located in the first group of load branches Z12. In this embodiment, the first signal and the overcurrent reference voltage Vcc2 are in a one-to-one correspondence relationship, and can also be a many-to-one relationship, for example, the first signal within an interval corresponds to an overcurrent reference voltage Vcc2, and different intervals correspond to different overcurrent reference voltages Vcc2.

[0065] After the processor 310 determines that the faulty load branch is located in the first group of load branches Z11 or the first second group of load branches Z12, please refer to Figure 2 , Figure 3 and Figure 4b, assuming that it is determined that the faulty load branch is located in the first two groups of load branches Z12, the processor 310 then randomly or according to a preset rule divides the first two groups of load branches Z12 into two groups, which are referred to as the second one group of load branches Z21 and the second two group of load branches Z22. The processor 310 turns on all of the second one group of load branches Z21 and the second two group of load branches Z22, and turns off all of the other group. For example, the processor 310 controls the second one group of load branches Z21 to be turned on, and the second two group of load branches Z22 to be turned off. At the same time, the processor 310 obtains the theoretical current information of the turned-on second one group of load branches Z21 based on the turned-on branch information, and sums the theoretical current information of the second one group of load branches Z21 to obtain the second A group of total theoretical current information is received, and based on the second group of total theoretical current information, the corresponding first signal is output to the battery protection circuit 200. After receiving the first signal, the battery protection circuit 200 outputs the corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260 according to the corresponding relationship between the first signal and the overcurrent reference voltage Vcc2. Thereafter, the fault detection unit 260 determines whether the voltage at the first input terminal is greater than or equal to the voltage at its second input terminal. If the processor 310 receives a fault indication signal, the processor 310 knows that the faulty load branch is located in the second group of load branches Z21. If the processor 310 does not output a fault indication signal, the processor 310 knows that the faulty load branch is located in the second group of load branches Z22.

[0066] Similarly, after the k-1th grouping, assuming that the faulty load branch is located in the (k-1)th group of load branches, please refer to Figure 2 , Figure 3 and Figure 4c, when the kth grouping is reached, the processor 310 randomly or according to a preset rule divides the (k-1)th group of load branches into two groups, which are referred to as the kth group of load branches Zk1 and the kth group of load branches Zk2. At this time, the kth group of load branches Zk1 includes one load branch, and the kth group of load branches Zk2 includes one load branch or two load branches. The processor 310 turns on one of the kth group of load branches Zk1 and the kth group of load branches Zk2, and disconnects the other group. For example, the processor 310 controls the kth group of load branches Zk1 to be turned on and the kth group of load branches Zk2 to be turned off. At the same time, the processor 310 obtains the theoretical current information of the turned-on kth group of load branches Zk1 based on the turned-on branch information, and sums the theoretical current information of the kth group of load branches Zk1 to obtain the total theoretical current information of the kth group (since only one branch is turned on, the total theoretical current information of the kth group is The theoretical current information is the theoretical current information of the load branch that is turned on), and based on the kth group of total theoretical current information, the corresponding first signal is output to the battery protection circuit 200. After receiving the first signal, the battery protection circuit 200 outputs the corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. Thereafter, the fault detection unit 260 determines whether the voltage at the first input terminal is greater than or equal to the voltage at its second input terminal. If the processor 310 receives the fault indication signal, the processor 310 knows that the faulty load branch is the load branch that is turned on. If the processor 310 does not output the fault indication signal, the processor 310 knows that the faulty load branch is located in the kth group of load branches Zk2. If there is only one load branch Zk2 in the kth group, the faulty branch is the load branch. If there are two load branches Zk2 in the kth group, the faulty load branch can be obtained after another grouping. After accurately locating which load branch has a short circuit fault, the processor 310 gives an indication of which load branch has a short circuit fault, so that maintenance personnel can repair or replace the corresponding load branch according to the indication. In this embodiment, k is an integer and the minimum value is log2m rounded down.

[0067] In addition, in other embodiments of the present application, the processor 310 may not locate the load branch with a short circuit fault through the binary search method. The processor 310 may also locate the load branch with a short circuit fault through other methods, such as locating the load branch with a short circuit fault through the three-way search method. The three-way search method is similar to the binary search method. The main difference is that each grouping is divided into three groups, two of which are turned on in sequence. Similarly, the theoretical current information of the turned-on load branch is obtained based on the turned-on branch information, and then a first signal is generated. The battery protection circuit 200 generates a corresponding overcurrent reference voltage Vcc2 to the fault detection unit 260 according to the first signal. The processor 310 finds the group with the faulty load branch from the three groups according to the received signal, and then continues to divide into three groups, ..., until the specific faulty load branch is located. This method is also relatively efficient. In addition, in other embodiments of the present application, the processor 310 can also control the load branches that are turned on when a fault short-circuit signal is received to be turned on one by one to locate the faulty load branch, and similarly obtain theoretical current information of the turned-on load branch based on the turned-on branch information, and then generate a first signal. The battery protection circuit 200 generates a corresponding overcurrent reference voltage Vcc2 to the fault detection unit 260 according to the first signal, and the processor 310 locates the load branch with the fault according to the received signal.

[0068] In order to realize the generation of the corresponding overcurrent reference voltage Vcc2 according to the first signal, please continue to refer to Figure 2 In the present embodiment, the battery protection circuit 200 further includes a reference voltage regulating module 210. The reference voltage regulating module 210 is used to receive the first signal and generate different overcurrent reference voltages Vcc2 according to different first signals to output to the second input terminal of the fault detection unit 260. The reference voltage regulating module 210 can generate various overcurrent reference voltages Vcc2 by digital circuit mode or by analog circuit mode. The present embodiment is described by taking the generation of overcurrent reference voltage Vcc2 by analog circuit mode as an example. The digital circuit mode can refer to the analog circuit mode and will not be described in detail here.

[0069] Specifically, the reference voltage adjustment module 210 is connected to the power supply terminal VDD and the power ground terminal GND respectively, and the reference voltage adjustment module 210 is used to generate various overcurrent reference voltages Vcc2 according to the first signal. Figure 2 and Figure 5aIn this embodiment, the reference voltage regulation module 210 includes a reference voltage source 212, which is used to generate and output a stable reference voltage. The reference voltage source 212 includes, for example, a bandgap reference source (Bandgap) or an LDO (Low Dropout Regulaor, low dropout linear regulator), etc. The reference voltage regulating module 210 also includes a first voltage-dividing resistor R1, a second voltage-dividing resistor R2 and a reference voltage control unit 211, wherein the first voltage-dividing resistor R1 is connected in series with the second voltage-dividing resistor R2, the first voltage-dividing resistor R1 is connected to the output end of the reference voltage source 212, the second voltage-dividing resistor R2 is connected to the power ground terminal GND, the connection point between the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 is used to output an overcurrent reference voltage Vcc2, the reference voltage control unit 211 is connected to the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2, the reference voltage control unit 211 is also used to receive a first signal, and the reference voltage control unit 211 receives different first signals and controls the resistance of the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 based on the first signal, thereby generating different overcurrent reference voltages Vcc2. In this embodiment, the resistance values ​​of the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 are relatively large, thereby reducing power consumption. In addition, in this embodiment, other elements, such as other resistors, may exist between the first voltage-dividing resistor R1 and the reference voltage source 212 , between the second voltage-dividing resistor R2 and the power ground GND, and between the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 .

[0070] In order to adjust the resistance of the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 to change the overcurrent reference voltage Vcc2, an implementation method of this embodiment is shown in Figure 5a, here the resistance value of the first voltage-dividing resistor R1 is adjustable, and the resistance value of the second voltage-dividing resistor R2 remains unchanged. Specifically, the first voltage-dividing resistor R1 includes A first voltage-dividing sub-resistors and A first switches, the A first voltage-dividing sub-resistors are respectively the first-one voltage-dividing sub-resistor R11, the first-two voltage-dividing sub-resistor R12, ..., the first-a voltage-dividing sub-resistor R1a, the A first switches are respectively the first-one switch K11, the first-two switch K12, ..., the first-a switch K1a, wherein the first-one voltage-dividing sub-resistor R11 is connected in series with the first-one switch K11 to form a first branch, the first-two voltage-dividing sub-resistor R12 is connected in series with the first-two switch K12 to form a first-two branch, the first-three voltage-dividing sub-resistor R13 is connected in series with the first-three switch to form a first-three branch, ..., the first-a voltage-dividing sub-resistor R1 The sub-resistor R1a is connected in series with the first a switch K1a to form a first a branch. The first branch, the first second branch, the first third branch, ... the first a branch are connected in parallel to form a first voltage dividing resistor R1. The control end of the first-first switch K11, the control end of the first-second switch K12, ..., and the control end of the first-a switch K1a are all connected to the reference voltage control unit 211. The reference voltage control unit 211 can control the conduction and cutoff of the first-first switch K11, the first-second switch K12, ..., and the first-a switch K1a. Among them, the first-first switch K11, the first-second switch K12, ..., and the first-a switch K1a are, for example, triodes, field effect transistors, etc. In this embodiment, the first voltage-dividing sub-resistor R11>the first voltage-dividing sub-resistor R12>...>the first voltage-dividing sub-resistor a R1a. By setting the first voltage-dividing sub-resistor R11, the first voltage-dividing sub-resistor R12, ..., and the first voltage-dividing sub-resistor a R1a, and then adjusting the corresponding first switch conduction based on the first signal, the desired overcurrent reference voltage Vcc2 can be obtained. For example, the resistance value of the first voltage-dividing sub-resistor R11 is R1, and the resistance value of the first voltage-dividing sub-resistor R12 is R1*(1-1 / 2 a ), the resistance of the first three-phase resistor R13 is R1*(1-1 / 2 a-1 ), ..., the resistance of the first voltage divider resistor R1a is R1*(1-1 / 2 2), when the battery protection circuit 200 is just powered on, the first switch K11, the first second switch K12, ..., the first a switch K1a are all turned off, and before the processor 310 outputs the first signal, the processor 310 ignores the signal of the fault detection unit 260. After outputting the first signal to the reference voltage control unit 211, the processor 310 processes the signal of the fault detection unit 260. In addition, in other embodiments of the present application, when the battery protection circuit 200 is just powered on, the reference voltage control unit 211 controls the first a switch K1a to be turned on, and the other switches are turned off. At this time, the first a voltage-dividing resistor R1a is connected in series with the second voltage-dividing resistor R2. At this time, the overcurrent reference voltage Vcc2 is the maximum, which is the default value, that is, the initial voltage, and the processor 310 reacts to the signal of the fault detection unit 260 in real time. As the processor 310 obtains the total theoretical current information according to the information of the conducting branch, and obtains the corresponding first signal according to the total theoretical current information, the processor 310 then outputs the first signal to the reference voltage control unit 211, and the reference voltage control unit 211 controls the conduction and cutoff of the first switch K11, the first switch K12, ..., and the first switch K1a, for example, according to the first signal, a certain switch or some switches are controlled to be turned on (in parallel at this time), and other switches are turned off and cut off, thereby obtaining the first voltage-dividing resistor R1 with different resistance values. Since the resistance value of the second voltage-dividing resistor R2 remains unchanged, according to the series voltage-dividing principle, the corresponding overcurrent reference voltage Vcc2 can be obtained. In this embodiment, the total theoretical current information corresponds to the first signal, and the first signal corresponds to the overcurrent reference voltage Vcc2. In this embodiment, a is an integer greater than or equal to 3, preferably greater than or equal to 5.

[0071] In order to adjust the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 to change the overcurrent reference voltage Vcc2, another implementation of this embodiment is shown in FIG. Figure 5b, here the resistance of the first voltage-dividing resistor R1 is adjustable, and the resistance of the second voltage-dividing resistor R2 remains unchanged. Specifically, the first voltage-dividing resistor R1 includes A first voltage-dividing sub-resistors and A first switches, the A first voltage-dividing sub-resistors are respectively the first-one voltage-dividing sub-resistors R11, the first-two voltage-dividing sub-resistors R12, ..., the first-a voltage-dividing sub-resistors R1a, the A first switches are respectively the first-one switch K11, the first-two switches K12, ..., the first-a switch K1a, wherein the first-one voltage-dividing sub-resistors R11 and the first-one switch K11 are connected in parallel, the first-two voltage-dividing sub-resistors R12 and the first-two switches K12 are connected in parallel, and the first-three voltage-dividing sub-resistors R13 and The first three switches are connected in parallel, ..., the first a voltage-dividing sub-resistor R1a is connected in parallel with the first a switch K1a, the first one voltage-dividing sub-resistor R11, the first two voltage-dividing sub-resistor R12, ..., and the first n voltage-dividing sub-resistor are connected in series, and the control end of the first one switch K11, the control end of the first two switch K12, ..., and the control end of the first a switch K1a are all connected to the reference voltage control unit 211, and the reference voltage control unit 211 can control the conduction and cutoff of the first one switch K11, the first two switch K12, ..., and the first a switch K1a. In this embodiment, the first one voltage-dividing sub-resistor R11>the first two voltage-dividing sub-resistor R12>...>the first a voltage-dividing sub-resistor R1a, and the desired overcurrent reference voltage Vcc2 can be obtained by setting the size of the first one voltage-dividing sub-resistor R11, the first two voltage-dividing sub-resistor R12, ..., and the first a voltage-dividing sub-resistor R1a, and then adjusting the corresponding first switch conduction based on the first signal. For example, the resistance of the first voltage-dividing resistor R11 is R1, and the resistance of the first voltage-dividing resistor R12 is R1*(1-1 / 2 a ), the resistance of the first three-phase resistor R13 is R1*(1-1 / 2 a-1 ), ..., the resistance of the first n voltage divider resistor is R1*(1-1 / 2 2), when the battery protection circuit 200 is just powered on, the first switch K11, the first second switch K12, ..., and the first a switch K1a are all turned off by default. Before the processor 310 outputs the first signal, the processor 310 ignores the signal of the fault detection unit 260. After outputting the first signal to the reference voltage control unit 211, the processor 310 processes the signal of the fault detection unit 260. In addition, in other embodiments of the present application, when the battery protection circuit 200 is just powered on, the reference voltage control unit 211 controls the first switch K11, the first second switch K12, ..., and the first a switch K1a to be turned on. At this time, the resistance value of the first voltage-dividing resistor R1 is 0, and the second voltage-dividing resistor R2 is connected to the reference voltage source 212. At this time, the overcurrent reference voltage Vcc2 is the output voltage of the reference voltage source 212, which is the maximum at this time, and is the default value, that is, the initial voltage. The processor 310 reacts to the signal of the fault detection unit 260 in real time. As the processor 310 obtains the total theoretical current information according to the conducting branch information, and obtains the corresponding first signal according to the total theoretical current information, the processor 310 then outputs the first signal to the reference voltage control unit 211, and the reference voltage control unit 211 controls the conduction and cutoff of the first switch K11, the first second switch K12, ..., and the first a switch K1a, for example, according to the first signal, controls a certain switch or some switches to be disconnected and cutoff (in a series relationship at this time), and other switches to be turned on and turned on, thereby obtaining the first voltage-dividing resistor R1 with different resistance values. Since the resistance value of the second voltage-dividing resistor R2 remains unchanged, according to the series voltage-dividing principle, the corresponding overcurrent reference voltage Vcc2 can be obtained. In this embodiment, the total theoretical current information corresponds to the first signal, and the first signal corresponds to the overcurrent reference voltage Vcc2.

[0072] In order to adjust the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 to change the overcurrent reference voltage Vcc2, another implementation of this embodiment is shown in FIG. Figure 5c, where the resistance of the second voltage-dividing resistor R2 is adjustable, and the resistance of the first voltage-dividing resistor R1 remains unchanged. Specifically, the second voltage-dividing resistor R2 includes B second voltage-dividing sub-resistors and B second switches, the B second voltage-dividing sub-resistors are respectively a second-first voltage-dividing sub-resistor R21, a second-second voltage-dividing sub-resistor R22, ..., a second-b voltage-dividing sub-resistor R2b, the B second switches are respectively a second-first switch K21, a second-second switch K22, ..., a second-b switch K2b, wherein the second-first voltage-dividing sub-resistor R21 is connected in series with the second-first switch K21 to form a second branch, the second-second voltage-dividing sub-resistor R22 is connected in series with the second-second switch K22 to form a second-second branch, and the second-third voltage-dividing sub-resistor R23 is connected in series with the second-first switch K21 to form a second branch. The second third switch is connected in series to form the second third branch, ..., the second b voltage-dividing sub-resistor R2b is connected in series with the second b switch K2b to form the second b branch, the second branch, the second second branch, the second third branch, ... the second b branch are connected in parallel to form the second voltage-dividing resistor R2, the control end of the second first switch K21, the control end of the second second switch K22, ..., the control end of the second b switch K2b are all connected to the reference voltage control unit 211, and the reference voltage control unit 211 can control the conduction and cutoff of the second first switch K21, the second second switch K22, ..., and the second b switch K2b. In this embodiment, the second first voltage-dividing sub-resistor R21<the second second voltage-dividing sub-resistor R22<...<the second b voltage-dividing sub-resistor R2b, by setting the size of the second first voltage-dividing sub-resistor R21, the second second voltage-dividing sub-resistor R22, ..., and the second b voltage-dividing sub-resistor R2b, and then adjusting the corresponding second switch conduction based on the first signal, the desired overcurrent reference voltage Vcc2 can be obtained. For example, the resistance value of the second voltage divider resistor R21 is R2, and the resistance value of the second voltage divider resistor R22 is R2*

[0073] (1+1 / 2 b ), the resistance of the second three-stage resistor R23 is R2*(1+1 / 2 b-1 ), ..., the resistance of the second voltage divider resistor R2b is R2*(1+1 / 2 2). When the battery protection circuit 200 is just powered on, the second-first switch K21, the second-second switch K22, ..., and the second b-switch K2b are all turned off or turned on. Before the processor 310 outputs the first signal, the processor 310 ignores the signal of the fault detection unit 260. After outputting the first signal to the reference voltage control unit 211, the processor 310 processes the signal of the fault detection unit 260. In addition, in other embodiments of the present application, when the battery protection circuit 200 is just powered on, the reference voltage control unit 211 controls the second-first switch K21, the second-second switch K22, ..., and the second b-switch K2b to be turned off. At this time, the resistance value of the second voltage-dividing resistor R2 is infinite. At this time, the overcurrent reference voltage Vcc2 is the output voltage of the reference voltage source 212, which is the maximum at this time, the default value, that is, the initial voltage, and the processor 310 responds to the signal of the fault detection unit 260 in real time. As the processor 310 obtains the total theoretical current information according to the information of the conducting branch, and obtains the corresponding first signal according to the total theoretical current information, the processor 310 then outputs the first signal to the reference voltage control unit 211, and the reference voltage control unit 211 controls the conduction and cutoff of the second-first switch K21, the second-second switch K22, ..., and the second-b switch K2b, for example, according to the first signal, a certain switch or some switches are controlled to be turned on (in parallel at this time), and other switches are turned off and cut off, thereby obtaining a second voltage-dividing resistor R2 with different resistance values. Since the resistance value of the first voltage-dividing resistor R1 remains unchanged, according to the series voltage-dividing principle, the corresponding overcurrent reference voltage Vcc2 can be obtained. In this embodiment, the total theoretical current information corresponds to the first signal, and the first signal corresponds to the overcurrent reference voltage Vcc2. In this embodiment, b is an integer greater than or equal to 3, preferably greater than or equal to 5.

[0074] In order to adjust the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 to change the overcurrent reference voltage Vcc2, another implementation of this embodiment is shown in FIG. Figure 5d, here the resistance value of the second voltage-dividing resistor R2 is adjustable, and the resistance value of the first voltage-dividing resistor R1 remains unchanged. Specifically, the second voltage-dividing resistor R2 includes B second voltage-dividing sub-resistors and B second switches, the B second voltage-dividing sub-resistors are respectively a second-first voltage-dividing sub-resistor R21, a second-second voltage-dividing sub-resistor R22, ..., a second-b voltage-dividing sub-resistor R2b, the B second switches are respectively a second-first switch K21, a second-second switch K22, ..., a second-b switch K2b, wherein the second-first voltage-dividing sub-resistor R21 is connected in parallel with the second-first switch K21, the second-second voltage-dividing sub-resistor R22 is connected in parallel with the second-second switch K22, and the second-third voltage-dividing sub-resistor R2 3 is connected in parallel with the second third switch, ..., the second b voltage-dividing sub-resistor R2b is connected in parallel with the second b switch K2b, the second first voltage-dividing sub-resistor R21, the second second voltage-dividing sub-resistor R22, ..., and the second b voltage-dividing sub-resistor R2b are connected in series, and the control end of the second first switch K21, the control end of the second second switch K22, ..., and the control end of the fourth b switch are all connected to the reference voltage control unit 211, and the reference voltage control unit 211 can control the conduction and cutoff of the second first switch K21, the second second switch K22, ..., and the second m switch. In this embodiment, the second first voltage-dividing sub-resistor R21<the second second voltage-dividing sub-resistor R22<...<the second m voltage-dividing sub-resistor, by setting the size of the second first voltage-dividing sub-resistor R21, the second second voltage-dividing sub-resistor R22, ..., and the second b voltage-dividing sub-resistor R2b, and then adjusting the corresponding second switch conduction based on the first signal, the desired overcurrent reference voltage Vcc2 can be obtained. For example, the resistance of the second voltage divider resistor R21 is R2, and the resistance of the second voltage divider resistor R22 is R2*(1+1 / 2 b ), the resistance of the second three-stage resistor R23 is R2*(1+1 / 2 b-1 ), ..., the resistance of the second voltage divider resistor R2b is R2*(1+1 / 2 2 ). When the battery protection circuit 200 is just powered on, the second-first switch K21, the second-second switch K22, ..., and the second b switch K2b are all turned off or turned on by default. Before the processor 310 outputs the first signal, the processor 310 ignores the signal of the fault detection unit 260. After outputting the first signal to the reference voltage control unit 211, the processor 310 processes the signal of the fault detection unit 260. In addition, in other embodiments of the present application, when the battery protection circuit 200 is just powered on, the reference voltage control unit 211 controls the second-first switch K21, the second-second switch K22, ..., and the second b switch K2b to be turned off. At this time, the resistance value of the second voltage-dividing resistor R2 is the largest, and the second voltage-dividing resistor R2 is connected in series with the first voltage-dividing resistor R1. At this time, the overcurrent reference voltage Vcc2 is the largest and is the default value.

[0075] That is, the initial voltage, and the processor 310 reacts to the signal of the fault detection unit 260 in real time. As the processor 310 obtains the total theoretical current information according to the conduction branch information, and obtains the corresponding first signal according to the total theoretical current information, the processor 310 then outputs the first signal to the reference voltage control unit 211, and the reference voltage control unit 211 controls the conduction and cutoff of the second-first switch K21, the second-second switch K22, ..., and the second-b switch K2b, for example, according to the first signal, a certain switch or some switches are turned off and cut off (in a series relationship at this time), and other switches are turned on and turned on, thereby obtaining a second voltage-dividing resistor R2 with different resistance values. Since the resistance value of the first voltage-dividing resistor R1 remains unchanged, according to the series voltage-dividing principle, the corresponding overcurrent reference voltage Vcc2 can be obtained. In this embodiment, the total theoretical current information corresponds to the first signal, and the first signal corresponds to the overcurrent reference voltage Vcc2.

[0076] In addition, in other embodiments of the present application, the battery protection circuit 200 can also adjust the overcurrent reference voltage Vcc2 according to the first signal in other ways, such as variations of the above-described methods, which will not be repeated here. For example, one of the ways is to adjust the overcurrent reference voltage Vcc2 through a digital circuit.

[0077] Please continue to see Figure 2 In this embodiment, the battery protection circuit 200 includes a first communication terminal TX1, the processor 310 includes a second communication terminal TX2, the first communication terminal TX1 is connected to the second communication terminal TX2, the fault short-circuit signal is output to the processor 310 via the first communication terminal TX1 and the second communication terminal TX2, and the first signal is output to the battery protection circuit 200 via the second communication terminal TX2 and the first communication terminal TX1. In addition, in other embodiments of the present application, the battery protection circuit 200 includes two communication terminals, the processor 310 includes two communication terminals, the fault short-circuit signal is output to the processor 310 via the two communication terminals, and the first signal is output to the battery protection circuit 200 via the other two communication terminals.

[0078] In this embodiment, the battery protection circuit 200 is made on the same semiconductor substrate, that is, located on the same chip. At this time, the power supply terminal VDD is the power supply pin, and the power ground terminal GND is the power ground pin. However, the present application is not limited to this. In other embodiments of the present application, the components of the battery protection circuit 200 except the main switch unit 240 are located on the first integrated circuit chip, and the main switch unit 240 is located on the second integrated circuit chip, that is, the first integrated circuit chip is made on one semiconductor substrate, and the second integrated circuit chip is made on another semiconductor substrate. Here, the first integrated circuit chip and the second integrated circuit chip are packaged into one product.

[0079] Based on the above embodiments, this application also provides corresponding methods, please refer to Figure 2 and Figure 6 The embodiment of the present application further provides a control method of a battery protection circuit 200, comprising the following steps:

[0080] S110: receiving a first signal, wherein the first signal is used to correspond to a conduction status of a load branch of the system circuit 300;

[0081] S120: adjusting the overcurrent reference voltage Vcc2 according to the first signal, wherein the overcurrent reference voltage Vcc2 is output to the second input terminal of the fault detection unit 260;

[0082] S130: determining whether the current sampling voltage V1 is greater than or equal to the overcurrent reference voltage Vcc2, wherein the current sampling voltage V1 is output to the first input terminal of the fault detection unit 260, and the current sampling voltage V1 is used to characterize the current flowing through the main switch unit 240 of the battery protection circuit 200;

[0083] S140: If the judgment result is yes, a fault short circuit signal is output, wherein the fault short circuit signal is used to indicate that a fault occurs in the system circuit 300, and the fault short circuit signal or a signal corresponding thereto is output to the system circuit 300;

[0084] If the judgment result is no, then continue to perform the judgment in step S130.

[0085] The above method of this embodiment can be referred to the previous related description, and will not be repeated here.

[0086] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0087] It should be understood that the "plurality" mentioned in this article refers to two or more. Those skilled in the art will easily think of other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application. The specification and examples are only regarded as exemplary, and the true scope and spirit of the present application are indicated by the following claims.

[0088] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0089] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A battery protection circuit, characterized in that: include: A main control unit and a main switch unit, wherein the main control unit is connected to a control end of the main switch unit, and the main switch unit is used to control whether the battery supplies power to the system circuit; The battery protection circuit further includes a fault detection unit, a first input terminal of the fault detection unit is connected to a current sampling voltage, the current sampling voltage is used to characterize the current flowing through the main switch unit, a second input terminal of the fault detection unit is connected to an overcurrent reference voltage, and when the voltage at the first input terminal of the fault detection unit is greater than or equal to the voltage at the second input terminal thereof, the fault detection unit outputs a fault short-circuit signal, and the fault short-circuit signal is used to indicate that a fault occurs in the system circuit; The battery protection circuit is used to be connected to the system circuit, and at least part of the overcurrent reference voltage is controlled by a first signal output by the system circuit, and the first signal is used to correspond to the conduction status of the load branch of the system circuit.

2. The battery protection circuit according to claim 1, characterized in that: All of the overcurrent reference voltages are controlled by the first signal.

3. The battery protection circuit according to claim 1, characterized in that: The overcurrent reference voltage includes an initial voltage, wherein a voltage of the overcurrent reference voltage other than the initial voltage is controlled by the first signal, and the initial voltage is used to be output to a second input terminal of the fault detection unit when the battery protection circuit is powered on.

4. The battery protection circuit according to any one of claims 1 to 3, characterized in that: The battery protection circuit includes a discharge overcurrent protection unit, a first input end of the discharge overcurrent protection unit is connected to a current sampling voltage, a second input end of the discharge overcurrent protection unit is connected to an overcurrent protection threshold, an output end of the discharge overcurrent protection unit is connected to the main control unit, and when the voltage of the first input end of the discharge overcurrent protection unit is greater than or equal to the voltage of its second input end and lasts for a first preset time, the discharge overcurrent protection unit outputs an overcurrent protection signal, the main control unit receives the overcurrent protection signal and controls the main switch unit to disconnect and cut off, wherein the overcurrent reference voltage is less than the overcurrent protection threshold.

5. The battery protection circuit according to any one of claims 1 to 3, characterized in that: The first signal is used to correspond to the sum of theoretical current information of the currently conducting load branches, wherein the theoretical current information is preset in the system circuit.

6. The battery protection circuit according to any one of claims 1 to 3, characterized in that: The battery protection circuit includes a reference voltage regulation module, which receives the first signal and generates an overcurrent reference voltage to the second input terminal of the fault detection unit based on the first signal, wherein different overcurrent reference voltages are generated in response to different first signals.

7. The battery protection circuit according to claim 6, characterized in that: The reference voltage adjustment module includes a reference voltage source, a first voltage-dividing resistor, a second voltage-dividing resistor and a reference voltage control unit, wherein one end of the first voltage-dividing resistor is connected to the reference voltage source, the first voltage-dividing resistor and the second voltage-dividing resistor are connected in series, one end of the second voltage-dividing resistor is connected to the power ground terminal, the connection point between the first voltage-dividing resistor and the second voltage-dividing resistor is used to output the overcurrent reference voltage, the first voltage-dividing resistor or the second voltage-dividing resistor is also connected to the reference voltage control unit, the reference voltage control unit is used to receive the first signal, and the reference voltage control unit adjusts the resistance value of the first voltage-dividing resistor or the resistance value of the second voltage-dividing resistor according to the first signal to output multiple different overcurrent reference voltages.

8. The battery protection circuit according to any one of claims 1 to 3, characterized in that: The battery protection circuit is located on the same chip; or, The components of the battery protection circuit except the main switch unit are located on one chip, and the main switch unit is located on another chip.

9. A battery protection system, characterized in that: include: The battery protection circuit according to any one of claims 1 to 8; A system circuit, comprising a processor and a plurality of parallel load branches, wherein the processor is used to control the on or off of the plurality of load branches, and the processor stores theoretical current information of each load branch; The processor is connected to the battery protection circuit, the processor obtains the conduction branch information of the load branch that is currently conducting, and the processor outputs a corresponding first signal to the battery protection circuit based on the conduction branch information and corresponding theoretical current information.

10. The battery protection system according to claim 9, characterized in that: The processor locates a faulty load branch among currently conducting load branches based on the short-circuit fault signal output by the fault detection unit.

11. The battery protection system according to claim 9, characterized in that: When the processor receives a signal corresponding to a fault short-circuit signal, the processor controls a part of the currently turned-on load branch to be turned on and another part to be turned off, and outputs a first signal to the battery protection circuit based on the theoretical current information of the part of the turned-on load branch. The battery protection circuit outputs a corresponding overcurrent reference voltage to the second input terminal of the fault detection unit based on the received first signal. When the processor receives a signal corresponding to the fault short-circuit signal again, the processor repeats the previous steps for the part of the turned-on load branch. When the processor does not receive a signal corresponding to the fault short-circuit signal, the processor repeats the previous steps for the other part of the turned-off load branch until the processor locates the faulty load branch.

12. An electronic device, characterized in that: include: Battery; The battery protection circuit according to any one of claims 1 to 8 or the battery protection system according to any one of claims 9 to 11, wherein the battery protection circuit is connected to the battery.

13. A control method for a battery protection circuit, characterized in that: include: receiving a first signal, wherein the first signal is used to correspond to a conduction status of a load branch of a system circuit; adjusting an overcurrent reference voltage according to the first signal, wherein the overcurrent reference voltage is output to a second input terminal of the fault detection unit; Determine whether the current sampling voltage is greater than or equal to the overcurrent reference voltage, wherein the current sampling voltage is output to the first input terminal of the fault detection unit, and the current sampling voltage is used to characterize the current flowing through the main switch unit of the battery protection circuit; If the judgment result is yes, a fault short circuit signal is output, wherein the fault short circuit signal is used to indicate that a fault occurs in the system circuit, and the fault short circuit signal or a signal corresponding thereto is output to the system circuit.