Charging circuit and battery
By introducing a mode selection circuit and controller into the lithium battery charging circuit, the switching of the lithium battery protection mode is realized, which solves the problem of poor compatibility of the lithium battery protection mode, improves compatibility and reduces costs.
Patent Information
- Application Number
- CN202323395724.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2033-12-12
AI Technical Summary
The lithium battery protection mode has poor compatibility, which makes it unable to meet the needs in different scenarios and increases the cost.
Design a charging circuit, including a mode selection circuit, a controller, an on-off circuit, a battery protection circuit and a charging interface. The first protection mode or the second protection mode is selected through the mode selection circuit. The controller controls the power of the on-off circuit. The connection is disconnected or connected to realize the switching of the charging circuit between the two protection modes, improving the compatibility of lithium battery protection.
Through mode selection, the charging circuit can reduce costs while meeting the needs of different scenarios, improve the compatibility of lithium battery protection, and ensure effective protection in different scenarios.
Smart Images

Figure CN221597469U
Abstract
Description
Technical Field
[0001] The present application relates to the field of batteries, and in particular to a charging circuit and a battery. Background Art
[0002] Lithium batteries are widely used in various electronic devices due to their high energy density, long service life, high rated voltage, and environmental protection. In order to protect lithium batteries, a lithium battery protection mode is usually set, which includes a 0V chargeable mode or a 0V charge-forbidden mode.
[0003] In the related art, lithium battery protection usually includes only one protection mode, which has the problem of poor compatibility. Utility Model Content
[0004] The present application discloses a charging circuit and a battery, which can solve the problem of poor protection compatibility of lithium batteries.
[0005] In a first aspect, an embodiment of the present application discloses a charging circuit, comprising: a mode selection circuit, a controller, an on-off circuit, a battery protection circuit, a charging interface and a battery cell, wherein: the mode selection circuit is electrically connected to a first end of the controller, a second end of the controller is electrically connected to a control end of the on-off circuit, and a first end of the on-off circuit is electrically connected to a positive electrode of the battery cell; a control end of a first on-off switch in the battery protection circuit is electrically connected to a charging protection end of a protection chip in the battery protection circuit and a second end of the on-off circuit, respectively, a first end of the first on-off switch is electrically connected to the charging interface, and the first on-off switch the second end of the on-off circuit is electrically connected to the negative electrode of the battery cell; the positive power input terminal of the protection chip is electrically connected to the positive electrode of the battery cell; when the first protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip; when the second protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be turned on, the electrical connection between the first end and the second end of the first on-off switch is turned on, and the charging circuit is in the second protection mode.
[0006] In a second aspect, an embodiment of the present application discloses a battery, comprising the charging circuit described in the first aspect.
[0007] An embodiment of the present application provides a charging circuit, which includes a mode selection circuit, a controller, an on-off circuit, a battery protection circuit, a charging interface and a battery cell. The mode selection circuit is electrically connected to a first end of the controller, the second end of the controller is electrically connected to a control end of the on-off circuit, the first end of the on-off circuit is electrically connected to a positive electrode of the battery cell, the control end of a first on-off switch in the battery protection circuit is electrically connected to a charging protection end of a protection chip in the battery protection circuit and a second end of the on-off circuit, respectively, the first end of the first on-off switch is electrically connected to the charging interface, the second end of the first on-off switch is electrically connected to a negative electrode of the battery cell, and the positive power input end of the protection chip is electrically connected to the positive electrode of the battery cell. When the first protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be disconnected, and the charging circuit is in a first protection mode corresponding to the protection chip. When the second protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be turned on, the electrical connection between the first end and the second end of the first on-off switch is turned on, and the charging circuit is in the second protection mode. The charging circuit disclosed in the present application can be selected through a mode selection circuit, and then a controller controls the electrical connection between the first end and the second end of the on-off circuit to be disconnected or connected, so that the charging circuit is in a first protection mode or a second protection mode. That is, the charging circuit of the present application can switch between the first protection mode and the second protection mode, which can improve the compatibility of lithium battery protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A schematic diagram of the structure of a charging circuit disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0010] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0011] The present application discloses a charging circuit. Figure 1 A schematic diagram of the structure of a charging circuit disclosed in an embodiment of the present application.
[0012] like Figure 1 As shown, the charging circuit disclosed in the present application includes a mode selection circuit 110, a controller 120, an on-off circuit 130, a battery protection circuit 140, a charging interface 150 and a battery cell 160, wherein: the mode selection circuit 110 is electrically connected to a first end of the controller 120, a second end of the controller 120 is electrically connected to a control end of the on-off circuit 130, and a first end of the on-off circuit 130 is electrically connected to a positive electrode of the battery cell 160; a control end of a first on-off switch Q1 in the battery protection circuit 140 is electrically connected to a charging protection end of a protection chip in the battery protection circuit 140 and a second end of the on-off circuit 130, respectively, a first end of the first on-off switch Q1 is electrically connected to the charging interface 150, and a second end of the first on-off switch Q1 is electrically connected to a negative electrode of the battery cell 160; a positive power input end VDD of the protection chip is electrically connected to a positive electrode of the battery cell 160.
[0013] When the first protection mode is selected by the mode selection circuit 110 , the controller 120 controls the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip.
[0014] When the second protection mode is selected by the mode selection circuit 110, the controller 120 controls the electrical connection between the first end and the second end of the on-off circuit 130 to be turned on, the electrical connection between the first end and the second end of the first on-off switch Q1 is turned on, and the charging circuit is in the second protection mode.
[0015] In the present application, the mode selection circuit 110 is used to select whether the charging circuit is in the first protection mode or the second protection mode. After the protection mode selection is completed through the mode selection circuit 110, the controller 120 receives a selection signal corresponding to the selected protection mode, and sends a control signal to the control end of the on-off circuit 130 according to the received selection signal, so as to control the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected or turned on.
[0016] Exemplarily, the first protection mode may be a 0V charging prohibited mode, and the second protection mode may be a 0V charging enabled mode.
[0017] When the first protection mode is selected by the mode selection circuit 110, the controller 120 receives a selection signal corresponding to the first protection mode, and sends a first control signal to the control end of the on-off circuit 130 according to the received selection signal, so as to control the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected. At this time, the control end of the first on-off switch Q1 in the battery protection circuit 140 is only controlled by the protection chip ( Figure 1 The charging protection terminal CHG of the lithium battery protection IC in the charging circuit is controlled, that is, the charging circuit is in the first protection mode corresponding to the protection chip. In this case, the protection chip detects the battery cell voltage through the positive electrode of the battery cell 160. When it is detected that the battery cell voltage is less than the 0V charging prohibition threshold, the charging protection terminal of the protection chip controls the electrical connection between the first end and the second end of the first on-off switch Q1 to be disconnected, that is, the electrical connection between the charging interface 150 and the negative electrode of the battery cell 160 is disconnected.
[0018] When the second protection mode is selected by the mode selection circuit 110, the controller 120 receives a selection signal corresponding to the second protection mode, and sends a second control signal to the control end of the on-off circuit 130 according to the received selection signal, so as to control the electrical connection between the first end and the second end of the on-off circuit 130 to be turned on, thereby making the electrical connection between the first end and the second end of the first on-off switch Q1 turned on, and the charging circuit is in the second protection mode. In this case, even if the battery cell voltage is less than the 0V charging prohibition threshold, the electrical connection between the charging interface 150 and the negative pole of the battery cell 160 remains turned on.
[0019] The embodiment of the present application provides a charging circuit, which includes a mode selection circuit 110, a controller 120, an on-off circuit 130, a battery protection circuit 140, a charging interface 150 and a battery cell 160, wherein the mode selection circuit 110 is electrically connected to a first end of the controller 120, a second end of the controller 120 is electrically connected to a control end of the on-off circuit 130, a first end of the on-off circuit 130 is electrically connected to a positive electrode of the battery cell 160, a control end of a first on-off switch in the battery protection circuit 140 is electrically connected to a charging protection end of a protection chip in the battery protection circuit 140 and a second end of the on-off circuit 130, and a first end of the first on-off switch is electrically connected to the charging interface 150. 0 is electrically connected, the second end of the first on-off switch is electrically connected to the negative electrode of the battery cell 160, and the positive power input end of the protection chip is electrically connected to the positive electrode of the battery cell 160. When the first protection mode is selected by the mode selection circuit 110, the controller 120 controls the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip. When the second protection mode is selected by the mode selection circuit 110, the controller 120 controls the electrical connection between the first end and the second end of the on-off circuit 130 to be turned on, and the electrical connection between the first end and the second end of the first on-off switch is turned on, and the charging circuit is in the second protection mode. The charging circuit disclosed in the present application can be selected by the mode selection circuit 110, and then the controller 120 controls the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected or turned on, so that the charging circuit is in the first protection mode or the second protection mode, that is, the charging circuit of the present application can be switched between the first protection mode and the second protection mode, which can improve the compatibility of lithium battery protection.
[0020] By adopting the charging circuit disclosed in the present application, it is possible to reduce costs while meeting the needs of different scenarios.
[0021] In the embodiments of the present application, Figure 1As shown, the mode selection circuit 110 may include a mode selection switch S1, a voltage source VCC, a first resistor R1 and a second resistor R2, and the first end of the controller 120 includes a first sub-connection end and a second sub-connection end, wherein: the fixed end of the mode selection switch S1 is electrically connected to the ground end, the first protection mode selection end of the mode selection switch S1 is electrically connected to the first sub-connection end, and the second protection mode selection end of the mode selection switch S1 is electrically connected to the second sub-connection end; the first end of the first resistor R1 is electrically connected to the voltage source VCC, and the second end of the first resistor R1 is electrically connected to the first sub-connection end; the first end of the second resistor R2 is electrically connected to the voltage source VCC, and the second end of the second resistor R2 is electrically connected to the second sub-connection end; when the fixed end is connected to the first protection mode selection end, the mode selection circuit 110 selects the first protection mode; when the fixed end is connected to the second protection mode selection end, the mode selection circuit 110 selects the second protection mode.
[0022] In the present application, the fixed end of the mode selection switch S1 is electrically connected to the ground end, and a pull-up voltage (high-level signal) is provided to the first sub-connection end and the second sub-connection end of the controller 120 through the voltage source VCC. When the fixed end of the mode selection switch S1 is turned on with the first protection mode selection end, the high-level signal connected to the first sub-connection end of the controller 120 is pulled low, and the controller 120 determines that the mode selection circuit 110 selects the first protection mode, and controls the electrical connection between the first end and the second end of the on-off circuit 130 to be disconnected. When the fixed end of the mode selection switch S1 is turned on with the second protection mode selection end, the high-level signal connected to the second sub-connection end of the controller 120 is pulled low, and the controller 120 determines that the mode selection circuit 110 selects the second protection mode, and controls the electrical connection between the first end and the second end of the on-off circuit 130 to be turned on.
[0023] It should be noted that the first resistor R1 and the second resistor R2 play a current limiting role to prevent the voltage source VCC from being directly pulled to the ground when the protection mode is selected.
[0024] In one implementation, the mode selection switch S1 may include a single-pole double-throw switch. In addition, the mode selection switch may also be other devices capable of achieving the above functions, which is not specifically limited in the present application.
[0025] In one possible implementation, the on-off circuit 130 may include a second on-off switch and a third resistor, wherein: the control end of the second on-off switch is electrically connected to the second end of the controller 120, the first end of the second on-off switch is electrically connected to the positive electrode of the battery cell 160, and the second end of the second on-off switch is electrically connected to the control end of the first on-off switch Q1; the first end of the third resistor is electrically connected to the control end of the second on-off switch, and the second end of the third resistor is electrically connected to the first end of the second on-off switch.
[0026] When the first protection mode is selected through the mode selection circuit 110, the controller 120 sends a first control signal to the control end of the second on-off switch to control the electrical connection between the first end and the second end of the second on-off switch to be disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip. When the second protection mode is selected through the mode selection circuit 110, the controller 120 sends a second control signal to the control end of the second on-off switch to control the electrical connection between the first end and the second end of the second on-off switch to be turned on, and the charging circuit is in the second protection mode.
[0027] It should be noted that the third resistor in the on-off circuit 130 here plays a current limiting role.
[0028] Further, the on-off circuit 130 may also include a first diode, and the second end of the second on-off switch is electrically connected to the control end of the first on-off switch, including: the second end of the second on-off switch is electrically connected to the anode of the first diode, and the cathode of the first diode is electrically connected to the control end of the first on-off switch Q1. By connecting the first diode between the second end of the second on-off switch and the control end of the first on-off switch Q1, an isolation effect can be achieved to prevent the charging protection end CHG of the protection chip from back-feeding to the second end of the second on-off switch when the charging protection end CHG outputs a high level.
[0029] In another possible implementation, Figure 1 As shown, the on-off circuit 130 includes a third on-off switch Q2, a fourth on-off switch Q3 and a fourth resistor R3, wherein: the control end of the third on-off switch Q2 is electrically connected to the second end of the controller 120, the first end of the third on-off switch Q2 is electrically connected to the first end of the fourth resistor R3, and the second end of the third on-off switch Q2 is electrically connected to the ground; the second end of the fourth resistor R3 is electrically connected to the first end of the fourth on-off switch Q3; the control end of the fourth on-off switch Q3 is electrically connected to the first end of the third on-off switch Q2, the first end of the fourth on-off switch Q3 is electrically connected to the positive electrode of the battery cell 160, and the second end of the fourth on-off switch Q3 is electrically connected to the control end of the first on-off switch Q1.
[0030] In the case where the first protection mode is selected by the mode selection circuit 110, the controller 120 sends a first control signal to the control end of the third on-off switch Q2 to control the electrical connection between the first end and the second end of the third on-off switch to be disconnected, and the electrical connection between the first end and the second end of the fourth on-off switch Q3 is also disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip. In the case where the second protection mode is selected by the mode selection circuit 110, the controller 120 sends a second control signal to the control end of the third on-off switch Q2 to control the electrical connection between the first end and the second end of the third on-off switch Q2 to be turned on, and the electrical connection between the first end and the second end of the fourth on-off switch Q3 is also turned on, so that the electrical connection between the first end and the second end of the first on-off switch Q1 is turned on, and the charging circuit is in the second protection mode. Exemplarily, the first control signal here can be a low level, and the second control signal can be a high level.
[0031] It should be noted that the fourth resistor R3 in the on-off circuit 130 here plays a current limiting role.
[0032] By adopting the on-off circuit 130 disclosed in this embodiment, a larger number of battery cells can be connected to the charging circuit.
[0033] Furthermore, if Figure 1 As shown, the on-off circuit 130 may also include a second diode, and the second end of the fourth on-off switch Q3 is electrically connected to the control end of the first on-off switch Q1, including: the second end of the fourth on-off switch Q3 is electrically connected to the anode of the second diode, and the cathode of the second diode is electrically connected to the control end of the first on-off switch Q1. By connecting the second diode between the second end of the fourth on-off switch Q3 and the control end of the first on-off switch Q1, an isolation effect can be achieved to prevent the charging protection end CHG of the protection chip from back-feeding to the second end of the fourth on-off switch Q3 when the charging protection end CHG outputs a high level.
[0034] In the embodiments of the present application, Figure 1 As shown, the above-mentioned charging circuit may also include a fifth resistor R4, a fifth on-off switch Q4 and a comparator, wherein: the second end of the controller 120 is electrically connected to the control end of the on-off circuit 130, including: the second end of the controller 120 is electrically connected to the first end of the fifth resistor R4, and the second end of the fifth resistor R4 is electrically connected to the control end of the on-off circuit 130; the first input end of the comparator is electrically connected to the positive electrode of the battery cell 160, the second input end of the comparator is connected to the comparison voltage, and the output end of the comparator is electrically connected to the control end of the fifth on-off switch Q4; the first end of the fifth on-off switch Q4 is electrically connected to the second end of the fifth resistor R4, and the second end of the fifth on-off switch Q4 is electrically connected to the ground.
[0035] It should be noted that the fifth resistor R4 here plays a current limiting role.
[0036] When the cell voltage connected to the first input terminal of the comparator is greater than the comparison voltage, the output signal of the comparator controls the electrical connection between the first terminal and the second terminal of the fifth on-off switch Q4 to be turned on, pulls down the level signal of the control terminal of the on-off circuit 130, controls the electrical connection between the first terminal and the second terminal of the on-off circuit 130 to be turned off, and controls the electrical connection between the first terminal and the second terminal of the first on-off switch Q1 to be turned on by the charging protection terminal CHG of the protection chip, and continues to charge the cell 160. It should be noted that the comparison voltage here can be the undervoltage recovery threshold of the protection chip, and illustratively, the undervoltage recovery threshold of the protection chip can be a reference voltage of 3V.
[0037] By adopting the solution disclosed in the embodiment of the present application, when the cell voltage is greater than the comparison voltage, the charging protection terminal CHG of the protection chip independently controls the electrical connection between the first end and the second end of the first on-off switch Q1, so that the protection function of the protection chip can continue to be used.
[0038] In one implementation, Figure 1 As shown, the charging circuit may further include a charging subcircuit 170 ( Figure 1 The charging subcircuit 170 is electrically connected to the charging interface 150, the third terminal of the controller 120, and the positive electrode of the battery cell 160, respectively. The controller 120 can control the magnitude of the charging current of the battery cell 160 by the charging subcircuit 170 according to the battery cell voltage obtained by the charging subcircuit 170. For example, when the battery cell voltage is too low, the controller 120 can control the charging subcircuit 170 to implement trickle charging to ensure that the charging current does not exceed the safety specification of the battery cell.
[0039] In one implementation, the protection chip may be a 0V charging prohibition chip. When the protection chip is a 0V charging prohibition chip and the charging circuit is in a 0V charging prohibition mode (i.e., a first protection mode) corresponding to the protection chip, the protection chip detects the cell voltage through the positive electrode of the cell 160. When it is detected that the cell voltage is less than the 0V charging prohibition threshold, the charging protection terminal CHG of the protection chip controls the electrical connection between the first end and the second end of the first on-off switch Q1 to be disconnected, that is, the electrical connection between the charging interface 150 and the negative electrode of the cell 160 is disconnected. Exemplarily, the value of the 0V charging prohibition threshold can be a value between 1.2 and 1.5V, and the 0V charging prohibition chip can be a chip of models such as S-8261DAC-M6T1U, S-8261DAN-M6T1U, S-8254AAUFT-TB-x, CW1244ALAS, CW1244ALAQ, CW1244ALBS, CW1244ALBQ, CW1244ALDS, CW1244ALJQ, and CW1244ALKS. It should be noted that only some models of 0V charging prohibition chips are listed. The 0V charging prohibition chip in this application can also be other models of chips that can realize the functions of the above-mentioned protection chip, and this application does not make any specific restrictions on this.
[0040] It should be noted that the on-off switches described above can all be field effect transistors. In addition, the on-off switches described above can also be other control elements that can achieve the above functions, such as transistors, etc. This application does not make specific limitations on this.
[0041] In the present application, the controller 120 may be a microcontroller unit (MCU).
[0042] In the present application, the charging interface 150 is used to connect to a charger. Exemplarily, the charging interface 150 may be a Type-C interface.
[0043] In addition, the charging interface 150 may also be electrically connected to a communication interface on the controller 120 , and a control program may be input into the controller 120 through the charging interface 150 .
[0044] The present application also discloses a battery, comprising the charging circuit described above.
[0045] The above embodiments of the present application focus on describing the differences between the various embodiments. As long as the different optimization features between the various embodiments are not contradictory, they can be combined to form a better embodiment. Considering the simplicity of the text, they will not be repeated here.
[0046] The above is only the embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A charging circuit, characterized in that: include: Mode selection circuit, controller, on-off circuit, battery protection circuit, charging interface and battery cell, wherein: The mode selection circuit is electrically connected to a first end of the controller, a second end of the controller is electrically connected to a control end of the on-off circuit, and a first end of the on-off circuit is electrically connected to a positive electrode of the battery cell; The control end of the first on-off switch in the battery protection circuit is electrically connected to the charging protection end of the protection chip in the battery protection circuit and the second end of the on-off circuit respectively, the first end of the first on-off switch is electrically connected to the charging interface, and the second end of the first on-off switch is electrically connected to the negative electrode of the battery cell; The positive power input terminal of the protection chip is electrically connected to the positive electrode of the battery cell; When the first protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be disconnected, and the charging circuit is in the first protection mode corresponding to the protection chip; When the second protection mode is selected by the mode selection circuit, the controller controls the electrical connection between the first end and the second end of the on-off circuit to be turned on, the electrical connection between the first end and the second end of the first on-off switch is turned on, and the charging circuit is in the second protection mode.
2. The charging circuit according to claim 1, characterized in that: The mode selection circuit includes a mode selection switch, a voltage source, a first resistor and a second resistor, and the first end of the controller includes a first sub-connection end and a second sub-connection end, wherein: The fixed end of the mode selection switch is electrically connected to the ground end, the first protection mode selection end of the mode selection switch is electrically connected to the first sub-connection end, and the second protection mode selection end of the mode selection switch is electrically connected to the second sub-connection end; A first end of the first resistor is electrically connected to the voltage source, and a second end of the first resistor is electrically connected to the first sub-connection end; A first end of the second resistor is electrically connected to the voltage source, and a second end of the second resistor is electrically connected to the second sub-connection end; When the fixed terminal is connected to the first protection mode selection terminal, the mode selection circuit selects the first protection mode; When the fixed terminal is conductively connected to the second protection mode selection terminal, the mode selection circuit selects the second protection mode.
3. The charging circuit according to claim 2, characterized in that: The mode selection switch includes a single-pole double-throw switch.
4. The charging circuit according to claim 1, characterized in that: The on-off circuit comprises a second on-off switch and a third resistor, wherein: The control end of the second on-off switch is electrically connected to the second end of the controller, the first end of the second on-off switch is electrically connected to the positive electrode of the battery cell, and the second end of the second on-off switch is electrically connected to the control end of the first on-off switch; A first end of the third resistor is electrically connected to the control end of the second on-off switch, and a second end of the third resistor is electrically connected to the first end of the second on-off switch.
5. The charging circuit according to claim 4, characterized in that: The on-off circuit further includes a first diode, The second end of the second on-off switch is electrically connected to the control end of the first on-off switch, including: the second end of the second on-off switch is electrically connected to the anode of the first diode, and the cathode of the first diode is electrically connected to the control end of the first on-off switch.
6. The charging circuit according to claim 1, characterized in that: The on-off circuit comprises a third on-off switch, a fourth on-off switch and a fourth resistor, wherein: The control end of the third on-off switch is electrically connected to the second end of the controller, the first end of the third on-off switch is electrically connected to the first end of the fourth resistor, and the second end of the third on-off switch is electrically connected to the ground; The second end of the fourth resistor is electrically connected to the first end of the fourth on-off switch; The control end of the fourth on-off switch is electrically connected to the first end of the third on-off switch, the first end of the fourth on-off switch is electrically connected to the positive electrode of the battery cell, and the second end of the fourth on-off switch is electrically connected to the control end of the first on-off switch.
7. The charging circuit according to claim 6, characterized in that: The on-off circuit further includes a second diode, The second end of the fourth on-off switch is electrically connected to the control end of the first on-off switch, including: the second end of the fourth on-off switch is electrically connected to the anode of the second diode, and the cathode of the second diode is electrically connected to the control end of the first on-off switch.
8. The charging circuit according to claim 1, characterized in that: Also includes a fifth resistor, a fifth on-off switch and a comparator, wherein: The second end of the controller is electrically connected to the control end of the on-off circuit, including: the second end of the controller is electrically connected to the first end of the fifth resistor, and the second end of the fifth resistor is electrically connected to the control end of the on-off circuit; The first input terminal of the comparator is electrically connected to the positive electrode of the battery cell, the second input terminal of the comparator is connected to the comparison voltage, and the output terminal of the comparator is electrically connected to the control terminal of the fifth on-off switch; The first end of the fifth on-off switch is electrically connected to the second end of the fifth resistor, and the second end of the fifth on-off switch is electrically connected to the ground.
9. The charging circuit according to claim 1, characterized in that: It also includes a charging subcircuit, which is electrically connected to the charging interface, the third terminal of the controller and the positive electrode of the battery cell respectively.
10. A battery, characterized in that: The charging circuit comprises the charging circuit according to any one of claims 1 to 9.
