Battery protection system, electronic device and control method
By designing a battery protection system in an electronic device, using current sampling voltage and overcurrent reference voltage to detect faults, and combining the processor to control the load branch, the problems of low fault location efficiency and high cost in the existing technology are solved, and a fast, Automatic and efficient fault location.
Patent Information
- Application Number
- CN202410762173.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-27
AI Technical Summary
The existing technology has low efficiency and high cost in locating faulty load branches in electronic devices, making it difficult to quickly and efficiently identify short circuit faults.
Design a battery protection system, including battery protection circuit and system circuit. Through the fault detection unit, main control unit and main switch unit, the current sampling voltage and overcurrent reference voltage are used for fault detection, and the processor controls the load branch. Turn on and off, and gradually locate the faulty load branch.
It achieves fast, automatic and efficient positioning of faulty load branches, reduces costs, reduces the operating burden on the processor, and simplifies the communication process.
Smart Images

Figure CN118713013A
Abstract
Description
Technical Field
[0001] The present application relates to the field of batteries, and in particular to 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 conditions such as over-discharge, over-charge or over-discharge, so as to protect the battery.
[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 discharge 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.
[0004] When short circuit faults occur in some loads of electronic devices before leaving the factory or during use, the existing fault detection method is for maintenance personnel to check all loads of the system circuit one by one. Since there are many loads in the system circuit and their types are complicated, fault location is relatively troublesome and inefficient, and the cost is high. Summary of the invention
[0005] The technical problem to be solved by the embodiments of the present application is to provide a battery protection system, an electronic device and a control method to address the deficiencies of the prior art, so as to quickly and efficiently locate the faulty load branch.
[0006] In order to solve the above technical problems, a first aspect of an embodiment of the present application provides a battery protection system for locating a load fault, including a battery protection circuit and a system circuit;
[0007] The battery protection circuit comprises a fault detection unit, a main control unit and a main switch unit, wherein the 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, the second input terminal of the fault detection unit is connected to an overcurrent reference voltage, and a fault short circuit signal is output when the voltage of the first input terminal of the fault detection unit is greater than or equal to the voltage of the second input terminal thereof; the main control unit is connected to the control terminal of the main switch unit, and the main switch unit is used to control whether the battery supplies power to the system circuit;
[0008] The system circuit includes a processor and a plurality of parallel load branches, the processor is used to control the conduction or shutoff of the plurality of load branches, the processor stores theoretical current information of each load branch, and the processor also stores a plurality of current level signals, and different current level signals correspond to different conduction load branches;
[0009] Wherein, the battery protection circuit is connected to the processor, and the processor controls at least part of the load branches to be turned on. The processor determines the corresponding current level signal based on the currently turned-on load branch and theoretical current information, and the overcurrent reference voltage is determined based on the current level signal, and the overcurrent reference voltage is greater than the sum of the theoretical current information of the currently turned-on load branches; when the processor receives a short-circuit indication signal corresponding to the short-circuit signal, the processor outputs the current level signals lower than the current current level signal to the battery protection circuit one by one to change the overcurrent reference voltage accordingly, and the overcurrent reference voltage is correspondingly reduced step by step. The processor controls the turned-on load branches based on the current level signals and theoretical current information output to the battery protection circuit one by one, and during the control process, the processor gradually locates the faulty load branch based on the short-circuit indication signal.
[0010] Optionally, the multiple current level signals correspond to multiple overcurrent reference voltages, wherein the overcurrent reference voltage corresponding to a current level signal of a higher level is greater than the overcurrent reference voltage corresponding to a current level signal of a lower level.
[0011] Optionally, from high level to low level, the difference between the overcurrent reference voltages generated by two adjacent current level signals gradually decreases, and the difference between the overcurrent reference voltages generated by the two current level signals with the highest level is the largest.
[0012] Optionally, the number of the current level signals is M, wherein M is a positive integer greater than or equal to 2, the M current level signals correspond to M overcurrent reference voltages, the M current level signals are a first current level signal, a second current level signal, ..., an m-th current level signal, the m-th current level signal having the highest level, the M overcurrent reference voltages are a first overcurrent reference voltage, a second overcurrent reference voltage, ..., an m-th overcurrent reference voltage, the first overcurrent reference voltage corresponds to the first current level signal, the second overcurrent reference voltage corresponds to the second current level signal, ..., the m-th overcurrent reference voltage corresponds to the m-th current level signal;
[0013] The processor outputs the bth current level signal to the battery protection circuit for the first time, where b is a positive integer less than or equal to m, and the battery protection circuit outputs the corresponding bth overcurrent reference voltage to the second input end of the fault detection unit. When the processor receives the short circuit indication signal for the first time, the processor outputs the (b-1)th current level signal to the battery protection circuit, and the battery protection circuit generates the (b-1)th overcurrent reference voltage to the second input end of the fault detection unit. The processor divides the currently conducting load branches into two groups based on the (b-1)th current level signal and theoretical current information, one of which is turned on and the other is turned off, wherein the sum of the theoretical current information of the load branches of the one group being turned on is less than the (b-1)th overcurrent reference voltage. When the processor receives the short circuit indication signal for the second time, the processor outputs the (b-2)th current level signal to the battery protection circuit, and the The battery protection circuit generates a (b-2)th overcurrent reference voltage to the second input terminal of the fault detection unit, and the processor divides the load branches currently being conducted into two groups based on the (b-2)th current level signal, one of which is conducted and the other is shut down, wherein the sum of theoretical current information of the load branches in the one group being conducted is less than the (b-2)th overcurrent reference voltage; ...; When the processor receives the short circuit indication signal for the (b-1)th time, the processor outputs a first current level signal to the battery protection circuit, the battery protection circuit generates a first overcurrent reference voltage to the second input terminal of the fault detection unit, and the processor divides the load branches currently being conducted into two groups based on the first current level signal, one of which is conducted and the other is shut down, wherein the sum of theoretical current information of the load branches in the one group being conducted is less than the first overcurrent reference voltage, and the processor locates the faulty load branch based on the received information.
[0014] Optionally, the battery protection circuit includes a reference voltage regulation module, which is connected to the processor and generates an overcurrent reference voltage to the second input terminal of the fault detection unit according to a current level signal output by the processor.
[0015] Optionally, the reference voltage adjustment module includes a reference voltage source, a first voltage divider resistor, a second voltage divider resistor and a reference voltage control unit, wherein one end of the first voltage divider resistor is connected to the reference voltage source, the first voltage divider resistor and the second voltage divider resistor are connected in series, one end of the second voltage divider resistor is connected to the power ground terminal, the connection point between the first voltage divider resistor and the second voltage divider resistor is used to output the overcurrent reference voltage or the overcurrent reference voltage, the first voltage divider resistor or the second voltage divider resistor is also connected to the reference voltage control unit, the reference voltage control unit is used to connect to the processor, and the reference voltage control unit adjusts the resistance value of the first voltage divider resistor or the resistance value of the second voltage divider resistor according to the current level signal output by the processor to change the overcurrent reference voltage output to the second input terminal of the fault detection unit.
[0016] Optionally, the battery protection circuit is located on the same chip; or,
[0017] 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; or,
[0018] When the battery protection circuit is just powered on, the initial value connected to the second input terminal of the fault detection unit is the overcurrent reference voltage corresponding to the highest level signal among the M current level signals.
[0019] Optionally, the battery protection circuit also includes a discharge overcurrent protection unit, one input end of the discharge overcurrent protection unit is connected to the current sampling voltage, the other input end is connected to a preset overcurrent protection threshold, and the output end is connected to the main control unit. When the current sampling voltage is greater than or equal to the overcurrent protection threshold and lasts for a first preset time, the overcurrent protection signal is output to the main control unit, and the main control unit controls the main switch unit to disconnect and cut off, wherein the overcurrent reference voltage is less than the overcurrent protection threshold.
[0020] A second aspect of an embodiment of the present application provides an electronic device, including:
[0021] Battery;
[0022] The battery protection system mentioned above is connected to the battery.
[0023] A third aspect of an embodiment of the present application provides a control method for a battery protection system for locating a load fault, comprising:
[0024] The processor controls at least part of the load branches to be turned on, and determines a corresponding current level signal based on the currently turned-on load branches and theoretical current information;
[0025] The battery protection circuit receives the current level signal, and outputs a corresponding overcurrent reference voltage to the second input terminal of the fault detection unit based on the current level signal, and the first input terminal of the fault detection unit is connected to the current sampling voltage;
[0026] 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 battery protection circuit outputs a short circuit indication signal;
[0027] The processor receives the short circuit indication signal;
[0028] The processor outputs the current level signals lower than the current current level signal to the battery protection circuit one by one;
[0029] The battery protection circuit changes the voltage of the second input terminal of the fault detection unit 260 accordingly;
[0030] The processor also controls the turned-on load branches based on the current level signals and theoretical current information output to the battery protection circuit 200 one by one;
[0031] The processor gradually locates a load branch where a fault occurs based on the received short-circuit indication signal.
[0032] The battery protection circuit of this embodiment collects the current of the main circuit in real time to obtain the current sampling voltage, and adds a fault detection unit in the battery protection circuit. The fault detection unit compares the current sampling voltage with the overcurrent reference voltage in real time to determine whether a short circuit fault occurs in the load branch of the system circuit. The overcurrent reference voltage matches the currently turned-on load branch. When the fault detection unit outputs a fault short circuit signal, the processor receives a corresponding short circuit indication signal. The processor confirms that a short circuit fault occurs in the load branch. The processor outputs the current level signals lower than the current current level signal to the battery protection circuit one by one. The battery protection circuit outputs the corresponding overcurrent reference voltage to the second input terminal of the fault detection unit to correspondingly change the overcurrent reference voltage. The overcurrent reference voltage decreases step by step. At the same time, the processor controls the turned-on load branch based on the current level signal and theoretical current information output to the battery protection circuit. During the control process, the processor gradually locates the faulty load branch in the turned-on load branch based on the short circuit indication signal. Therefore, this embodiment takes advantage of the fact that the battery protection circuit itself can obtain the current sampling voltage in real time, and does not need to add additional current detection circuits, which is beneficial to reducing costs; moreover, the overcurrent reference voltage of this embodiment matches the load branch that is currently conducting, and is larger than the sum of the theoretical current information of the load branch that is currently conducting, but not much larger, which is beneficial to timely and accurate fault detection. In addition, when the short-circuit fault does not occur, the battery protection circuit 200 performs real-time detection, and the processor of the system circuit intervenes less, which is conducive to reducing the burden of the processor and reducing the operating burden of the processor. At this time, the processor can handle other things; moreover, when the fault detection unit determines that a short-circuit fault occurs and sends a short-circuit signal, the processor can intervene quickly after receiving the corresponding signal; in addition, the battery protection circuit of this embodiment only needs to output a short-circuit indication signal corresponding to the short-circuit signal, and does not need to output other signals to the processor. The signal output by the battery protection circuit to the processor is relatively simple, which reduces the cost of the battery protection circuit; in addition, the processor controls the turned-on load branch according to the stored current level signal and theoretical current information, and gradually locates the faulty load branch in the turned-on load branch according to the output signal of the fault detection unit, so as to realize fast, automatic and efficient positioning of the faulty load branch, which is convenient for subsequent maintenance personnel to handle. Moreover, the processor stores multiple current level signals. When a fault occurs, the processor sequentially outputs current level signals lower than the previous level to the battery protection circuit, and the processor controls the conducting load branch based on the current level signal and theoretical current information. Such processing is conducive to the subsequent process and simplification of the load branch fault location. Moreover, since the number of current level signals is fixed, the communication between the battery protection circuit and the processor can be well agreed upon, and there is no need to set too many signals or analyze them through complex circuits. Therefore, the communication will be simpler and less complicated, which is conducive to reducing the communication cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] 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.
[0034] Figure 1 is a circuit module diagram of an electronic device according to an embodiment of the present application;
[0035] Figure 2 is a detailed circuit module diagram of an electronic device according to an embodiment of the present application;
[0036] Figure 3 It is a partial circuit module diagram of a system circuit according to an embodiment of the present application;
[0037] Figure 4 is the corresponding relationship between the current level signal and the overcurrent reference voltage in 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 6 It is a flow chart of a control method of a battery protection system according to an embodiment of the present application. DETAILED DESCRIPTION
[0041] 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.
[0042] 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.
[0043] 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 (dashed box in the figure). The battery protection system is connected to the battery 100, and the battery 100 is used to power the battery protection system. In this embodiment, the number of batteries 100 is one or more, preferably one. 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. The capacity of the battery 100 is, for example, 1000mAH-15000mAH, for example, 1000mAH, 2000mAH, 3000mAH, 4000mAH,
[0044] 5000mAH, 6000mAH, 7000mAH, 8000mAH, 9000mAH, 10000mAH, 11000mAH, 12000mAH, 13000mAH, 14000mAH, 15000mAH, etc.
[0045] 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, and the system circuit 300 is electrically connected to the battery protection circuit 200. The battery 100 supplies power to the battery protection circuit 200 and the system circuit 300. 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 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. The fifth resistor R5 and the first capacitor C1 are provided for filtering, and the resistance value of the fifth resistor R5 is relatively small. In addition, in other embodiments of the present application, other circuits or electronic components may 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.
[0046] 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.
[0047] In this embodiment, the power supply terminal VDD and the power ground terminal GND are used to electrically connect to the positive and negative electrodes 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 loop through the battery protection circuit 200 and the system circuit 300 to supply power to the system circuit 300.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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 also 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 processing, and the current sampling voltage V1 is used to characterize the current flowing through the main circuit.
[0055] 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 first switch to be disconnected and cut off, and the battery 100 stops supplying power to the system circuit 300. In this embodiment, the discharge overcurrent protection unit 221 includes a voltage comparator.
[0056] In order to detect whether a fault occurs in the system circuit 300, in the present embodiment, the battery protection circuit 200 further includes a fault detection unit 260, wherein a first input terminal of the fault detection unit 260 is connected to a current sampling voltage V1, and specifically, the first input terminal is directly or indirectly connected to the current sampling terminal, and is directly connected in the present embodiment. The first input terminal of the fault detection unit 260 can obtain the current sampling voltage V1 in real time, and a second input terminal of the fault detection unit 260 is connected to an overcurrent reference voltage Vcc2, wherein the overcurrent reference voltage Vcc2 matches the conduction status of the system circuit 300, and when the voltage at the first input terminal of the fault detection unit 260 is greater than or equal to the voltage at the second input terminal thereof, the fault detection unit 260 outputs a fault short circuit signal. 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, and the fault short-circuit signal is used for the system circuit 300 to judge the fault. When a relatively serious fault (having a relatively large impact on the battery 100) occurs, the current will be large. At this time, 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 cut off, 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. At this time, the fault short-circuit signal output to the system circuit 300 will not work. In this embodiment, the fault detection unit 260 includes a voltage comparator.
[0057] Please refer to Figure 2-Figure 4In 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, a second load branch, ..., and an nth load branch. Each load branch includes a switch and a corresponding sub-load. The switch is connected in series with the corresponding sub-load, and the control end of the switch is connected to the processor 310. Specifically, the first load branch includes a third-first switch K31 and a first sub-load R31 connected in series, the second load branch includes a third-second switch K32 and a second sub-load R32 connected in series, ..., the nth load branch includes a third-n switch K3n 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 number of loads included in each sub-load is not limited to one, and can be multiple. The third-first switch K31, the third-second switch K32, ..., and the third-n switch K3n are, for example, controllable switches such as MOS tubes and triodes, and the control ends of the third-first switch K31, the third-second switch K32, ..., and the third-n switch K3n are all connected to the processor 310. In this embodiment, the processor 310 can control a switch as needed to make the corresponding load branch conductive or non-conductive. When a load branch is conductive, the load branch works and current flows through it; when a load branch is not conductive, the load branch does not work, no current flows through it, and the current is 0; when a load branch works and part of the load 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 or the short-circuit is serious, the current on the load branch will be very large, and the fault is serious, which will trigger the discharge overcurrent protection.
[0058] In order to accurately locate which load branch has a fault and match the overcurrent reference voltage Vcc2, in this embodiment, the processor 310 stores theoretical current information of N load branches, and 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 tested in advance through experiments or calculated through theoretical models. In this embodiment, the processor 310 also stores multiple current level signals, and different current level signals correspond to different conductive load branches. The multiple current level signals are, for example, M current level signals, M is a positive integer greater than or equal to 3, and the M current level signals are a first current level signal, a second current level signal, ..., an mth current level signal, for example, M is 2, 3, 4, 5, 6 or more, and the M current level signals are graded, for example, the mth current level signal has the highest level, and the first current level signal has the lowest level (this embodiment is taken as an example), or vice versa, correspondingly, the processor 310 and the battery protection circuit 200 is agreed in advance, the battery protection circuit 200 can identify M current level signals, and generate M overcurrent reference voltages Vcc2 accordingly, the M overcurrent reference voltages Vcc2 are the first overcurrent reference voltage Vcc2, the second overcurrent reference voltage Vcc2, ..., the mth overcurrent reference voltage Vcc2, the first overcurrent reference voltage Vcc2 corresponds to the first current level signal, the second overcurrent reference voltage Vcc2 corresponds to the second current level signal, ..., the mth overcurrent reference voltage Vcc2 corresponds to the mth current level signal, corresponding to the level, the mth overcurrent reference voltage Vcc2 is the largest, and the first overcurrent reference voltage Vcc2 is the smallest. The battery protection circuit 200 outputs the corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260, the overcurrent reference voltage Vcc2 can be the same as the corresponding current level signal, or different, and the two correspond one to one. In this embodiment, all overcurrent reference voltages Vcc2 are lower than the overcurrent protection threshold Vcc1, that is, the first overcurrent reference voltage Vcc2, the second overcurrent reference voltage Vcc2, the third overcurrent reference voltage Vcc2, ..., the mth overcurrent reference voltage Vcc2 are all lower than the overcurrent protection threshold Vcc1.
[0059] In this embodiment, when the battery protection circuit 200 is just powered on, the second input terminal of the fault detection unit 260 is connected to a default value, and the default value is the voltage with the largest voltage value among the multiple overcurrent reference voltages Vcc2, such as the mth overcurrent reference voltage Vcc2. The setting of the default value prevents false alarm fault signals and timely detects faults at the beginning. After the battery protection circuit 200 and the system circuit 300 are powered on or the processor 310 changes the conduction status of the load branch (for example, from 10 conductive load branches to 9 conductive load branches, or although the number of conductive load branches remains unchanged but the type of load branch changes), the processor 310 controls at least part of the load branches to be turned on. The processor 310 controls the conduction of the load branches based on the conductive load branches and the conductive load branches. The corresponding current level signal is determined based on the current information. The battery protection circuit 200 receives the current level signal, and generates a corresponding overcurrent reference voltage Vcc2 based on the current level signal and replaces the original overcurrent reference voltage Vcc2. The overcurrent reference voltage Vcc2 at this time is greater than the sum of theoretical current information of the load branches currently turned on, and the difference between the overcurrent reference voltage Vcc2 at this time and the sum of theoretical current information of the load branches currently turned on is the smallest, that is, the overcurrent reference voltage Vcc2 at this time is closest to the sum of theoretical current information of the load branches currently turned on relative to overcurrent reference voltages Vcc2 of other levels. Such processing is conducive to accurately controlling whether a fault occurs, preventing processing only after a more serious fault occurs, and the calculation amount of the processor 310 is small.
[0060] In this embodiment, when the processor 310 receives the short-circuit indication signal for the first time, the processor 310 confirms that a short-circuit fault occurs in the load branch. The processor 310 outputs current level signals that are lower than the current current level signal to the battery protection circuit 200 one by one to change the overcurrent reference voltage Vcc2 accordingly. The overcurrent reference voltage Vcc2 decreases step by step, that is, as the current level signal becomes lower and lower, the corresponding overcurrent reference voltage Vcc2 becomes smaller and smaller. The processor 310 controls the turned-on load branch based on the current level signals and theoretical current information output to the battery protection circuit 200 one by one. During the control process, the processor 310 gradually locates the load branch with a fault based on the short-circuit indication signal. After locating the load branch with a fault, the faulty load branch is processed, and the fault detection at this stage is completed. If a new short-circuit indication signal (the first short-circuit indication signal) is received thereafter, the fault detection of the load branch is performed again.
[0061] Specifically, after the system circuit 300 is powered on, or after the processor 310 replaces the turned-on load branch, or after the previous fault processing is completed, assuming that the number of turned-on load branches is d, the processor 310 starts to output the b-th current level signal to the battery protection circuit 200 based on the sum of the theoretical current information of the d load branches and the d load branches, where b is a positive integer less than or equal to m. The battery protection circuit 200 outputs the corresponding b-th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260, wherein the sum of the theoretical current information of the d load branches is less than the b-th overcurrent reference voltage Vcc2, and the fault detection unit 260 performs real-time or periodic monitoring. When the processor 310 receives the short circuit indication signal for the first time, that is, the voltage at the first input terminal of the fault detection unit 260 is greater than or equal to the voltage at its second input terminal, the processor 310 outputs current level signals that are lower than the current current level signal to the battery protection circuit 200 one by one, that is, the processor 310 outputs the (b-1)th current level signal, the (b-2)th current level signal, ..., the first current level signal to the battery protection circuit 200 in sequence.Specifically, the processor 310 outputs the (b-1)th current level signal to the battery protection circuit 200, and the battery protection circuit 200 generates the (b-1)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. At the same time or before being replaced by the (b-1)th overcurrent reference voltage Vcc2, the processor 310 also divides the load branches that are currently conducting, that is, the d load branches, into two groups based on the (b-1)th current level signal and the theoretical current information of the d load branches. The two groups are, for example, divided into the (b-1)th group of load branches and the (b-1)th group of load branches. All of the (b-1)th group of load branches are turned on, and all of the (b-1)th group of load branches are turned off, and the sum of the theoretical current information of the (b-1)th group of load branches is less than the (b-1)th overcurrent reference voltage Vcc2. Thereafter, if the voltage of the first input terminal of the fault detection unit 260 is still greater than or equal to the voltage of its second terminal, the fault detection unit 260 continues to output. A fault short-circuit signal is output, and the processor 310 will receive a second short-circuit indication signal at this time, indicating that the faulty load branch is located in the first (b-1) group of load branches; if the voltage at the first input terminal of the fault detection unit 260 is less than the voltage at its second terminal, the fault detection unit 260 does not output a fault short-circuit signal, and the processor 310 will not receive a short-circuit indication signal within a preset time, indicating that the faulty load branch is located in the second (b-1) group of load branches. At this time, the processor 310 resumes outputting the bth current level signal to the battery protection circuit 200, and the battery protection circuit 200 outputs the bth overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. Thereafter, the processor 310 controls the second (b-1) group of load branches to be turned on one by one on the basis of controlling all the first (b-1) group of load branches to be turned on, until the fault detection unit 260 outputs a fault short-circuit signal, and the processor 310 receives a short-circuit indication signal accordingly. At this time, the load branch that has just been turned on is the faulty load branch.
[0062] When the processor 310 continues to receive the second fault short-circuit signal, the processor 310 outputs the (b-2)th current level signal to the battery protection circuit 200, and the battery protection circuit 200 correspondingly outputs the (b-2)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. The battery protection circuit 200 no longer generates the (b-1)th overcurrent reference voltage Vcc2, that is, the voltage at the second input terminal of the fault detection unit 260 is replaced by the (b-2)th overcurrent reference voltage Vcc2, and at the same time or after being replaced by the (b-2)th overcurrent reference voltage Vcc2. Before the overcurrent reference voltage Vcc2 is reached, the processor 310 obtains the corresponding theoretical current information of the first (b-1) group of load branches, and divides the first (b-1) group of load branches into two groups based on the theoretical current information, for example, into the first (b-2) group of load branches and the first (b-2) second group of load branches. The processor 310 controls the first (b-2) group of load branches to be all turned on, controls the first (b-2) second group of load branches to be all turned off, and the sum of the theoretical current information of the first (b-2) group of load branches is less than the first (b-2) overcurrent reference voltage Vcc2. Thereafter, if the fault If the voltage at the first input terminal of the detection unit 260 is greater than or equal to the voltage at the second terminal thereof, the fault detection unit 260 continues to output the fault short-circuit signal, and the processor 310 receives the third short-circuit indication signal within the preset time, indicating that the faulty load branch is located in the first (b-2) group of load branches; if the voltage at the first input terminal of the fault detection unit 260 is less than the voltage at the second terminal thereof, the fault detection unit 260 does not output the fault short-circuit signal, and at this time the processor 310 does not receive the short-circuit indication signal within the preset time, indicating that the faulty load branch is located in the second (b-2) group of load branches. In the branch, at this time, the processor 310 resumes outputting the (b-1) current level signal to the battery protection circuit 200, and the battery protection circuit 200 resumes outputting the (b-1) overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. Thereafter, the processor 310 controls the (b-2) second group of load branches to be turned on one by one on the basis of controlling all of the (b-2) groups of load branches to be turned on, until the fault detection unit 260 outputs a fault short-circuit signal, and the processor 310 receives a short-circuit indication signal in response. At this time, the load branch that has just been turned on is the faulty load branch.
[0063] Continue to process in the same way as before. When the processor 310 continues to receive the (b-1)th fault short-circuit signal, the processor 310 outputs the first current level signal to the battery protection circuit 200. The battery protection circuit 200 correspondingly outputs the first overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. The battery protection circuit 200 no longer generates the second overcurrent reference voltage Vcc2. That is, the voltage at the second input terminal of the fault detection unit 260 is replaced by the first overcurrent reference voltage Vcc2. At the same time or before being replaced by the first overcurrent reference voltage Vcc2, the processor 310 obtains the corresponding theoretical current information of the second group of load branches, and divides the second group of load branches into two groups based on the theoretical current information, for example, into the first group of load branches and the first second group of load branches. The processor 310 controls all the first group of load branches to be turned on. The first group of load branches only includes one load branch. The processor 310 controls The first and second groups of load branches are all disconnected and cut off. The first and second groups of load branches include one load branch or multiple load branches, and the sum of the theoretical current information of the first group of load branches (at this time, it is the theoretical current information of the turned-on load branch) is less than the first overcurrent reference voltage Vcc2. Thereafter, if the voltage of the first input terminal of the fault detection unit 260 is greater than or equal to the voltage of its second terminal, the fault detection unit 260 continues to output a fault short-circuit signal. At this time, the processor 310 will receive a short-circuit indication signal, indicating that the faulty load branch is the load branch of the first group of load branches; if the voltage of the first input terminal of the fault detection unit 260 is less than the voltage of its second terminal, the fault detection unit 260 does not output a fault short-circuit signal. At this time, the processor 310 will not receive a short-circuit indication signal within a preset time, indicating that the faulty load branch is the load branch of the first and second groups of load branches (in the case of only one load branch) or is located in the first and second groups of load branches (in the case of multiple load branches).
[0064] In the above manner, the processor 310 can locate the faulty load branch, and then the processor 310 can control the faulty load branch to be shut down, reduce the impact of the faulty load branch on the normal load branch, and provide a prompt to facilitate subsequent precise maintenance. After locating the faulty load branch, the battery protection circuit 200 re-obtains the current level signal output by the processor 310, the current level signal corresponds to the currently turned-on load branch, and outputs the corresponding overcurrent reference voltage Vcc2 to the second input end of the fault detection unit 260 according to the current level signal, so as to be used for the judgment of the new short circuit fault of the system circuit 300. In addition, in other embodiments of the present application, the current level signals stored in the processor 310 are not limited to M, and can also be more or less, which can be set according to actual needs, and the number of overcurrent reference voltages Vcc2 is the same as the number of current level signals. In this embodiment, when the processor 310 receives the short circuit indication signal, the battery protection system will complete the detection of the faulty load branch within the first preset time period.
[0065] The battery protection circuit 200 of this embodiment collects the current of the main circuit in real time to obtain the current sampling voltage V1, and adds a fault detection unit 260 in the battery protection circuit 200. The fault detection unit 260 compares the current sampling voltage V1 with the overcurrent reference voltage Vcc2 in real time to determine whether a short circuit fault occurs in the load branch of the system circuit 300. The overcurrent reference voltage Vcc2 matches the currently turned-on load branch. When the fault detection unit 260 outputs a fault short-circuit signal, the processor 310 receives the corresponding short-circuit indication signal. The processor 310 confirms that a short circuit fault occurs in the load branch, and processes the fault detection unit 260. The processor 310 outputs the current level signals lower than the current current level signals to the battery protection circuit 200 one by one, and the battery protection circuit 200 outputs the corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260, so as to change the overcurrent reference voltage Vcc2 accordingly. The overcurrent reference voltage Vcc2 is correspondingly reduced step by step. At the same time, the processor 310 controls the conducting load branch based on the current level signal and the theoretical current information output to the battery protection circuit 200. During the control process, the processor 310 gradually locates the faulty load branch in the conducting load branch based on the short-circuit indication signal. Thus, this embodiment takes advantage of the fact that the battery protection circuit 200 itself can obtain the current sampling voltage V1 in real time, and does not need to add additional current detection circuits, which is conducive to reducing costs; moreover, the overcurrent reference voltage Vcc2 of this embodiment matches the currently conducting load branch, and is larger than the sum of the theoretical current information of the currently conducting load branch, but not too much larger, which is conducive to timely and accurate detection of faults. In addition, when the short-circuit fault does not occur, the battery protection circuit 200 performs real-time detection, and the processor 310 of the system circuit 300 intervenes less, which is conducive to reducing the burden of the processor 310 and reducing the operating burden of the processor 310. At this time, the processor 310 can handle other things; moreover, when the fault detection unit 260 determines that a short-circuit fault occurs and sends a short-circuit signal, the processor 310 can quickly intervene after receiving the corresponding signal; in addition, the battery protection circuit 200 of this embodiment only needs to output a short-circuit indication signal corresponding to the short-circuit signal, and does not need to output other signals. The signal is given to the processor 310. For example, there is no need to output a more complex real-time current sampling voltage V1. The signal output by the battery protection circuit 200 to the processor 310 is relatively simple, which reduces the cost of the battery protection circuit 200 and the recognition cost of the processor 310. In addition, the processor 310 controls the turned-on load branch according to the stored current level signal and theoretical current information, and gradually locates the faulty load branch in the turned-on load branch according to the output signal of the fault detection unit 260, so as to realize fast, automatic and efficient positioning of the faulty load branch, which is convenient for subsequent maintenance personnel to handle.Moreover, the processor stores multiple current level signals. When a fault occurs, the processor sequentially outputs current level signals lower than the previous level to the battery protection circuit, and the processor controls the conducting load branch based on the current level signal and theoretical current information. Such processing is conducive to the subsequent process and simplification of the load branch fault location. Moreover, since the number of current level signals is fixed, the communication between the battery protection circuit and the processor can be well agreed, and there is no need to set too many signals or analyze through complex circuits, so that the communication will be relatively simple and uncomplicated, which is conducive to reducing communication costs. The processor 310 of this embodiment is also relatively simple to operate and has a low cost.
[0066] In this embodiment, the M current level signals are differentiated in level, and the overcurrent reference voltage Vcc2 corresponding to the current level signal of the higher level is greater than the overcurrent reference voltage Vcc2 corresponding to the current level signal of the lower level. In this embodiment, the mth current level signal has the highest level, and the first current level signal has the lowest level. The first overcurrent reference voltage Vcc2<the second overcurrent reference voltage Vcc2<the third overcurrent reference voltage Vcc2...<the mth overcurrent reference voltage Vcc2, and the voltage at the second input terminal of the fault detection unit 260 gradually decreases after the fault occurs. This processing reduces the number of load branches that are turned on step by step after the fault occurs, which is conducive to quickly locating the load branch with the fault step by step. Preferably, the difference between two overcurrent reference voltages Vcc2 that are adjacent in generation time gradually decreases, that is, the difference between the mth overcurrent reference voltage Vcc2 and the (m-1)th overcurrent reference voltage Vcc2 is greater than the difference between the (m-1)th overcurrent reference voltage Vcc2 and the (m-2)th overcurrent reference voltage Vcc2, ..., the difference between the third overcurrent reference voltage Vcc2 and the second overcurrent reference voltage Vcc2 is greater than the difference between the second overcurrent reference voltage Vcc2 and the first overcurrent reference voltage Vcc2, that is, the later the difference between two adjacent overcurrent reference voltages Vcc2 in time, the smaller it is. After confirming that a short circuit fault has occurred in the load branch, by such processing, the load branch with a larger current consumption can be disconnected and cut off first, and the load branch with a smaller current consumption can be disconnected and cut off later. Such processing is beneficial to reducing the power consumption in the process of locating the faulty load branch, and is also beneficial to reducing the current size in the main circuit, reducing heat, and reducing secondary damage to the load branch.
[0067] In order to realize the voltage adjustment of the second input terminal of the fault detection unit 260, that is, to realize the overcurrent reference voltage Vcc2 adjustment, please refer to Figure 2 , Figure 5aIn this embodiment, the battery protection circuit 200 further includes a reference voltage regulating module 210. The reference voltage regulating module 210 is connected to the second input terminal of the fault detection unit 260 to provide a plurality of overcurrent reference voltages Vcc2. In this embodiment, the reference voltage regulating module 210 is also connected to the processor 310 to receive a current level signal. After receiving the current level signal, the reference voltage regulating module 210 determines the voltage output to the second input terminal of the fault detection unit 260. In this embodiment, the reference voltage regulating module 210 can generate various overcurrent reference voltages Vcc2 by digital circuit mode, or can generate various overcurrent reference voltages Vcc2 by analog circuit mode. This 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, which will not be described in detail here.
[0068] Specifically, the reference voltage regulation module 210 includes a reference voltage source 222, a first voltage-dividing resistor R1, a second voltage-dividing resistor R2 and a reference voltage control unit 221. The reference voltage source 222 is used to generate a stable reference voltage. The reference voltage source 222, for example, includes a bandgap reference source (Bandgap) or an LDO (Low Dropout Regulaor, low voltage difference linear regulator), etc. The output end of the reference voltage source 222 is connected to one end of the first voltage-dividing resistor R1, the other end of the first voltage-dividing resistor R1 is connected to one end of the second voltage-dividing resistor R2, the other end of the second voltage-dividing resistor R2 is connected to the power ground GND, and the connection point between the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 is used to output a voltage to the second input end of the fault detection unit 260.
[0069] In order to achieve the adjustable voltage of the second input terminal of the fault detection unit 260, here, the resistance of the first voltage-dividing resistor R1 or the second voltage-dividing resistor R2 can be changed through the control of the reference voltage control unit 221 to achieve the adjustable voltage. For example, the resistance of the first voltage-dividing resistor R1 can be increased or the resistance of the second voltage-dividing resistor R2 can be reduced through the control of the reference voltage control unit 221 to achieve the downward adjustment of the voltage (overcurrent reference voltage Vcc2) of the second input terminal of the fault detection unit 260, or the resistance of the first voltage-dividing resistor R1 can be reduced or the resistance of the second voltage-dividing resistor R2 can be increased through the control of the reference voltage control unit 221 to achieve the upward adjustment of the voltage (overcurrent reference voltage Vcc2) of the second input terminal of the fault detection unit 260. The reference voltage control unit 221 is used to directly or indirectly receive the current level signal. In addition, in this embodiment, other elements, such as other resistors, may also exist between the first voltage-dividing resistor R1 and the reference voltage source 222, between the second voltage-dividing resistor R2 and the power ground terminal GND, and between the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2.
[0070] In this embodiment, when the battery protection circuit 200 is just powered on, the overcurrent reference voltage Vcc2 is the largest, for example, the mth overcurrent reference voltage Vcc2. This process is conducive to discovering faults that occur when the battery protection circuit 200 is just powered on, and is conducive to reducing the number of overcurrent reference voltages Vcc2. In order to increase the resistance of the first voltage-dividing resistor R1 or decrease the resistance of the second voltage-dividing resistor R2 to reduce the voltage at the second input terminal of the fault detection unit 260, an implementation method of this embodiment is shown in Figure 5a , here the resistance value of the first voltage-dividing resistor R1 is increased, and the resistance value of the second voltage-dividing resistor R2 remains unchanged. Specifically, the first voltage-dividing resistor R1 includes K first voltage-dividing sub-resistors and K first switches, K is an integer greater than or equal to 3, K is greater than or equal to M, preferably K is equal to M, the K 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-k voltage-dividing sub-resistor R1k, the K first switches are respectively the first-one switch K11, the first-two switch K12, ..., the first-k switch K1k, 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, and 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 k voltage-dividing resistor R1k is connected in series with the first k switch K1k to form a first k branch. The first branch, the first second branch, the first third branch, ... the first k 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 k switch K1k are all connected to the reference voltage control unit 221. The reference voltage control unit 221 can control the conduction and cutoff of the first-first switch K11, the first-second switch K12, ..., and the first k switch K1k. The first-first switch K11, the first-second switch K12, ..., and the first k switch K1k are, for example, controllable switches such as triodes and field effect transistors. In this embodiment, the first voltage-dividing sub-resistor R11 is less than the first voltage-dividing sub-resistor R12 is less than ... is less than the first k voltage-dividing sub-resistor R1k. By setting the first voltage-dividing sub-resistor R11, the first voltage-dividing sub-resistor R12, ..., and the first k voltage-dividing sub-resistor R1k, and then controlling the corresponding first switch to be turned on based on the received current level signal reference voltage control unit 221, 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 2 1 *R1, the resistance of the first three-stage resistor R13 is 2 2 *R1, ..., the resistance of the first k voltage divider resistor R1k is 2 (k-1)*R1, the specific value can be set or selected according to actual needs. When powered on, the reference voltage control unit 221 controls the first switch K11 to be turned on by default, and the other first switches are turned off and cut off. At this time, the first voltage-dividing sub-resistor R11 is connected in series with the second voltage-dividing sub-resistor R2, and the resistance value of the second voltage-dividing sub-resistor R2 is, for example, equal to the resistance value of the first voltage-dividing sub-resistor R11. At this time, the overcurrent reference voltage Vcc2 output by the reference voltage adjustment module 210 is the maximum, which is the mth overcurrent reference voltage Vcc2, corresponding to the mth current level signal. After power-on is completed, the fault detection unit 260 does not output a fault short-circuit signal. At this time, the processor 310 controls at least part of the load branches to be turned on. The processor 310 determines the corresponding current level signal based on the currently turned-on load branches and the theoretical current information. For example, the corresponding current level signal is the (m-1)th current level signal. The reference voltage control unit 221 will receive the (m-1)th current level signal output from the processor 310. The reference voltage control unit 221 controls the first and second switches K12 to be turned on, and the other first switches are turned off. At this time, the first and second voltage-dividing resistors R12 are connected in series with the second voltage-dividing resistor R2. At this time, the reference voltage adjustment module 210 outputs the (m-1)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. In this embodiment, when the reference voltage regulating module 210 receives the (m-2)th current level signal output from the processor 310, the reference voltage control unit 221 controls the first three switches to be turned on, and the other first switches to be turned off. At this time, the first three voltage-dividing sub-resistors R13 are connected in series with the second voltage-dividing resistor R2. At this time, the reference voltage regulating module 210 outputs the (m-2)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. ...When the reference voltage regulating module 210 receives the first current level signal output from the processor 310, the reference voltage control unit 221 controls the first m switch to be turned on, and the other first switches to be turned off. At this time, the first m voltage-dividing sub-resistors are connected in series with the second voltage-dividing resistor R2. At this time, the reference voltage regulating module 210 outputs the first overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260.
[0071] In order to increase the resistance value of the first voltage-dividing resistor R1 or decrease the resistance value of the second voltage-dividing resistor R2, another implementation method of this embodiment is shown in Figure 5b, here the resistance value of the second voltage-dividing resistor R2 is adjusted down, and the resistance value of the first voltage-dividing resistor R1 remains unchanged. Specifically, the second voltage-dividing resistor R2 includes J second voltage-dividing sub-resistors and J second switches, J is an integer greater than or equal to 3, J is greater than or equal to M, preferably J is equal to M, the J second voltage-dividing sub-resistors are respectively the second-first voltage-dividing sub-resistor R21, the second-second voltage-dividing sub-resistor R22, ..., the second j-voltage-dividing sub-resistor R2j, the J second switches are respectively the second-first switch K21, the second-second switch K22, ..., the second j-switch K2j, 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, the second-third voltage-dividing sub-resistor R23 is connected in parallel with the second-third switch, ... , the second j voltage-dividing sub-resistor R2j is connected in parallel with the second j switch K2j, the second-first voltage-dividing sub-resistor R21, the second-second voltage-dividing sub-resistor R22, ..., and the second j voltage-dividing sub-resistor R2j are connected in series, the control end of the second-first switch K21, the control end of the second-second switch K22, ..., and the control end of the second j switch K2j are all connected to the reference voltage control unit 221, and the reference voltage control unit 221 can control the conduction and cutoff of the second-first switch K21, the second-second switch K22, ..., and the second j switch K2j, wherein the second-first switch K21, the second-second switch K22, ..., and the second j switch K2j are, for example, controllable switches such as triodes and field effect transistors. In this embodiment, the second-first voltage-dividing sub-resistor R21>the second-second voltage-dividing sub-resistor R22>...>the second-j voltage-dividing sub-resistor R2j, by setting the resistance values of the second-first voltage-dividing sub-resistor R21, the second-second voltage-dividing sub-resistor R22,..., and the second-j voltage-dividing sub-resistor R2j, and then controlling the corresponding second switch to be turned on based on the received current level signal reference voltage control unit 221, the desired overcurrent reference voltage Vcc2 can be obtained. For example, the resistance value of the second-first voltage-dividing sub-resistor R21 is R2, and the resistance value of the second-second voltage-dividing sub-resistor R22 is R2*1 / 2 1 The resistance of the second three-stage resistor R23 is R2*1 / 2 2 , ..., the resistance of the second voltage divider resistor R2j is R2*1 / 2 (j-1)When powered on, the reference voltage control unit 221 controls the second-first switch K21 to be disconnected and cut off by default, and the other second switches are all turned on and turned on. At this time, the second-first voltage-dividing sub-resistor R21 is connected in series with the first voltage-dividing sub-resistor R1, and the resistance value of the second-first voltage-dividing sub-resistor R21 is, for example, equal to the resistance value of the first voltage-dividing resistor R1. At this time, the voltage output by the reference voltage adjustment module 210 is the maximum overcurrent reference voltage Vcc2, which is the mth overcurrent reference voltage Vcc2, corresponding to the mth current level signal. After power-on is completed, the fault detection unit 260 does not output a fault short-circuit signal. At this time, the processor 310 controls at least part of the load branches to be turned on. The processor 310 determines the corresponding current level signal based on the currently turned-on load branches and theoretical current information. For example, the corresponding current level signal is the (m-1)th current level signal. The reference voltage control unit 221 controls the second second switch K22 to be turned off and the other second switches to be turned on. At this time, the second second voltage divider resistor R22 is connected in series with the first voltage divider resistor R1. At this time, the reference voltage adjustment module 210 outputs the (m-1)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. When the current level signal received by the reference voltage adjustment module 210 is the (m-2)th current level signal, the reference voltage control unit 221 controls the second third switch to be turned off and the other second switches to be turned on. At this time, the second third voltage divider resistor R23 is connected in series with the first voltage divider resistor R1. At this time, the reference voltage adjustment module 210 outputs the (m-2)th overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260. ...When the reference voltage regulating module 210 receives the first current level signal output from the processor 310, the reference voltage control unit 221 controls the second m switch to be disconnected and cut off, and the other second switches are all turned on and turned on. At this time, the second m voltage dividing resistor is connected in series with the first voltage dividing resistor R1. At this time, the reference voltage regulating module 210 outputs the first overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260.
[0072] In addition, in other embodiments of the present application, in order to adjust the resistance of the first voltage-dividing resistor R1, reference may also be made to Figure 5b In the manner shown, K first voltage-dividing sub-resistors are connected in series, and K first switches are connected in parallel with the K first voltage-dividing sub-resistors accordingly. The magnitude relationship of the K first voltage-dividing sub-resistors can be seen in Figure 5a In this way, multiple overcurrent reference voltages Vcc2 can also be output. The specific situation can be seen in the previous description, which will not be repeated here. In addition, in other embodiments of the present application, in order to reduce the resistance value of the second voltage-dividing resistor R2, it is also possible to refer to Figure 5a The J second voltage-dividing sub-resistors are connected in series with the J second switches in a corresponding manner, and the J branches formed by the series connection are then connected in parallel. The magnitude relationship of the J second voltage-dividing sub-resistors can be seen in Figure 5bIn this way, it is also possible to output multiple overcurrent reference voltages Vcc2. The specific situation can be seen in the previous description and will not be repeated here.
[0073] 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, the first communication terminal TX1 is connected to the second communication terminal, the battery protection circuit 200 outputs a short circuit indication signal to the processor 310 through the first communication terminal TX1 and the second communication terminal, and the processor 310 outputs a current level signal to the battery protection circuit 200 through the second communication terminal and the first communication terminal TX1. In addition, in other embodiments of the present application, the battery protection circuit 200 outputs a short circuit indication signal to the processor 310 through one communication terminal, and the battery protection circuit 200 receives the current level signal output by the processor 310 through another communication terminal, that is, two different communication terminals are provided. In this embodiment, the output ends of the reference voltage control unit 221 and the fault detection unit 260 are connected to the main control unit 230, so that the fault detection unit 260 can output a fault short-circuit signal to the main control unit 230, and the main control unit 230 outputs a short-circuit indication signal to the processor 310; similarly, the processor 310 outputs a current level signal to the main control unit 230, and the main control unit 230 outputs a corresponding signal to the reference voltage control unit 221 to control the corresponding first switch or second switch. However, the present application is not limited to this. In other embodiments of the present application, the reference voltage control unit 221 can also directly receive the current level signal output by the processor 310, and the fault detection unit 260 can directly output a fault short-circuit signal to the processor 310. At this time, the short-circuit indication signal is the fault short-circuit signal.
[0074] 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, the power ground terminal GND is the power ground pin, and the first communication terminal TX1 is the first communication 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 other than 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.
[0075] Based on the above embodiments, this application also provides corresponding methods, please refer to Figure 2 and Figure 6 The present application also provides a method for controlling a battery protection system, comprising the following steps:
[0076] S110: The processor 310 controls at least part of the load branches to be turned on, and determines a corresponding current level signal based on the currently turned-on load branches and theoretical current information;
[0077] S120: the battery protection circuit 200 receives the current level signal, and outputs a corresponding overcurrent reference voltage Vcc2 to the second input terminal of the fault detection unit 260 based on the current level signal, and the first input terminal of the fault detection unit 260 is connected to the current sampling voltage;
[0078] S130: When the voltage at the first input terminal of the fault detection unit 260 is greater than or equal to the voltage at the second input terminal thereof, the battery protection circuit 200 outputs a short circuit indication signal;
[0079] S140: The processor 310 receives the short circuit indication signal;
[0080] S150: The processor 310 outputs the current level signals lower than the current current level signal to the battery protection circuit 200 one by one;
[0081] S160: the battery protection circuit 200 changes the voltage of the second input terminal of the fault detection unit 260 accordingly;
[0082] S170: The processor 310 further controls the turned-on load branches based on the current level signals and theoretical current information output to the battery protection circuit 200 one by one;
[0083] S180: The processor 310 gradually locates the faulty load branch based on the received short circuit indication signal.
[0084] The above method of this embodiment can refer to the previous related description and will not be repeated here.
[0085] 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.
[0086] 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.
[0087] 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.
[0088] 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 system for locating load faults, characterized in that: Including battery protection circuit and system circuit; The battery protection circuit comprises a fault detection unit, a main control unit and a main switch unit, wherein the 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, the second input terminal of the fault detection unit is connected to an overcurrent reference voltage, and a fault short circuit signal is output when the voltage of the first input terminal of the fault detection unit is greater than or equal to the voltage of the second input terminal thereof; the main control unit is connected to the control terminal of the main switch unit, and the main switch unit is used to control whether the battery supplies power to the system circuit; The system circuit includes a processor and a plurality of parallel load branches, the processor is used to control the conduction or shutoff of the plurality of load branches, the processor stores theoretical current information of each load branch, and the processor also stores a plurality of current level signals, and different current level signals correspond to different conduction load branches; Wherein, the battery protection circuit is connected to the processor, and the processor controls at least part of the load branches to be turned on. The processor determines the corresponding current level signal based on the currently turned-on load branch and theoretical current information, and the overcurrent reference voltage is determined based on the current level signal, and the overcurrent reference voltage is greater than the sum of the theoretical current information of the currently turned-on load branches; when the processor receives a short-circuit indication signal corresponding to the short-circuit signal, the processor outputs the current level signals lower than the current current level signal to the battery protection circuit one by one to change the overcurrent reference voltage accordingly, and the overcurrent reference voltage is correspondingly reduced step by step. The processor controls the turned-on load branches based on the current level signals and theoretical current information output to the battery protection circuit one by one, and during the control process, the processor gradually locates the faulty load branch based on the short-circuit indication signal.
2. The battery protection system according to claim 1, characterized in that: The multiple current level signals correspond to multiple overcurrent reference voltages, wherein the overcurrent reference voltage corresponding to the current level signal of a higher level is greater than the overcurrent reference voltage corresponding to the current level signal of a lower level.
3. The battery protection system according to claim 2, characterized in that: From high level to low level, the difference between the overcurrent reference voltages generated by two adjacent current level signals gradually decreases, and the difference between the overcurrent reference voltages generated by the two current level signals with the highest level is the largest.
4. The battery protection system according to any one of claims 1 to 3, characterized in that: The number of the current level signals is M, wherein M is a positive integer greater than or equal to 2, the M current level signals correspond to M overcurrent reference voltages, the M current level signals are a first current level signal, a second current level signal, ..., an mth current level signal, the mth current level signal having the highest level, the M overcurrent reference voltages are a first overcurrent reference voltage, a second overcurrent reference voltage, ..., an mth overcurrent reference voltage, the first overcurrent reference voltage corresponds to the first current level signal, the second overcurrent reference voltage corresponds to the second current level signal, ..., the mth overcurrent reference voltage corresponds to the mth current level signal; The processor outputs the bth current level signal to the battery protection circuit for the first time, where b is a positive integer less than or equal to m, and the battery protection circuit outputs the corresponding bth overcurrent reference voltage to the second input end of the fault detection unit. When the processor receives the short circuit indication signal for the first time, the processor outputs the (b-1)th current level signal to the battery protection circuit, and the battery protection circuit generates the (b-1)th overcurrent reference voltage to the second input end of the fault detection unit. The processor divides the currently conducting load branches into two groups based on the (b-1)th current level signal and theoretical current information, one of which is turned on and the other is turned off, wherein the sum of the theoretical current information of the load branches of the one group being turned on is less than the (b-1)th overcurrent reference voltage. When the processor receives the short circuit indication signal for the second time, the processor outputs the (b-2)th current level signal to the battery protection circuit, and the The battery protection circuit generates a (b-2)th overcurrent reference voltage to the second input terminal of the fault detection unit, and the processor divides the load branches currently being conducted into two groups based on the (b-2)th current level signal, one of which is conducted and the other is shut down, wherein the sum of theoretical current information of the load branches in the one group being conducted is less than the (b-2)th overcurrent reference voltage; ...; When the processor receives the short circuit indication signal for the (b-1)th time, the processor outputs a first current level signal to the battery protection circuit, the battery protection circuit generates a first overcurrent reference voltage to the second input terminal of the fault detection unit, and the processor divides the load branches currently being conducted into two groups based on the first current level signal, one of which is conducted and the other is shut down, wherein the sum of theoretical current information of the load branches in the one group being conducted is less than the first overcurrent reference voltage, and the processor locates the faulty load branch based on the received information.
5. The battery protection system according to any one of claims 1 to 3, characterized in that: The battery protection circuit includes a reference voltage regulating module, which is connected to the processor and generates an overcurrent reference voltage to the second input terminal of the fault detection unit according to a current level signal output by the processor.
6. The battery protection system according to claim 5, 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 or 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 connect to the processor, 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 current level signal output by the processor to change the overcurrent reference voltage output to the second input terminal of the fault detection unit.
7. The battery protection system 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; or, When the battery protection circuit is just powered on, the initial value connected to the second input terminal of the fault detection unit is the overcurrent reference voltage corresponding to the highest level signal among the M current level signals.
8. The battery protection system according to any one of claims 1 to 3, characterized in that: The battery protection circuit also includes a discharge overcurrent protection unit, one input end of the discharge overcurrent protection unit is connected to a current sampling voltage, the other input end thereof is connected to a preset overcurrent protection threshold, and an output end thereof is connected to the main control unit. When the current sampling voltage is greater than or equal to the overcurrent protection threshold and lasts for a first preset time, the overcurrent protection signal is output to the main control unit, and the main control unit controls the main switch unit to be disconnected and cut off, wherein the overcurrent reference voltage is less than the overcurrent protection threshold.
9. An electronic device, characterized in that: include: Battery; The battery protection system according to any one of claims 1 to 8, wherein the battery protection system is connected to the battery.
10. A control method for a battery protection system for locating a load fault, characterized in that: include: The processor controls at least part of the load branches to be turned on, and determines a corresponding current level signal based on the currently turned-on load branches and theoretical current information; The battery protection circuit receives the current level signal, and outputs a corresponding overcurrent reference voltage to the second input terminal of the fault detection unit based on the current level signal, and the first input terminal of the fault detection unit is connected to the current sampling voltage; 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 battery protection circuit outputs a short circuit indication signal; The processor receives the short circuit indication signal; The processor outputs the current level signals lower than the current current level signal to the battery protection circuit one by one; The battery protection circuit changes the voltage of the second input terminal of the fault detection unit accordingly; The processor also controls the turned-on load branches based on the current level signals and theoretical current information output to the battery protection circuit one by one; The processor gradually locates a load branch where a fault occurs based on the received short-circuit indication signal.
