Charging and discharging circuit, control method and electronic equipment

By introducing the voltage circuit in the charging and discharge circuit, the voltage of the battery is boasted and power supply, which solves the problem of unable to stable power supply when the battery is low, and improves the battery utilization.

CN119362626APending Publication Date: 2025-01-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310911681.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, the battery cannot supply power stably when the battery power is low, resulting in low battery utilization.

Method used

A charging and discharging circuit is designed, which includes a first charging circuit and a boost circuit. The voltage of the battery is boosted through the boost circuit to supply power to the system load.

Benefits of technology

By the voltage function of the boost circuit, the power supply can still be stabilized when the battery power is low, the remaining power is released, and the battery utilization rate is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119362626A_ABST
    Figure CN119362626A_ABST
Patent Text Reader

Abstract

The invention relates to a charging and discharging circuit, a control method of the charging and discharging circuit and electronic equipment, and the charging and discharging circuit comprises a first charging circuit which is used for being coupled with a battery and charging the battery; and the booster circuit is used for being coupled with the battery and a system load, and the booster circuit is used for boosting the voltage of the battery and then supplying power to the system load. The battery can be charged through the first charging circuit. Through the boost circuit, the voltage of the battery can be boosted to supply power to the system load. Since the boost circuit can boost the voltage of the battery, when the electric quantity of the battery is low, the system load can still be stably supplied with power to release the residual electric quantity, so that the utilization rate of the battery is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of charge and discharge technology, and in particular to a charge and discharge circuit, a control method and an electronic device. Background Art

[0002] At present, electronic devices use batteries to power system loads, and the battery voltage must be higher than the minimum operating voltage of the system load to ensure stable operation of the system load. However, when the battery power is low, it cannot stably supply power to the system load and a certain amount of power remains, resulting in low battery utilization. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a charging and discharging circuit, a control method and an electronic device.

[0004] According to a first aspect of the present disclosure, a charge-discharge circuit is provided, the charge-discharge circuit comprising:

[0005] A first charging circuit, wherein the first charging circuit is used to couple with a battery, and the first charging circuit is used to charge the battery;

[0006] A boost circuit is used to be coupled to the battery and the system load, and the boost circuit is used to boost the voltage of the battery to supply power to the system load.

[0007] In some embodiments of the present disclosure, the charging and discharging circuit further includes:

[0008] A first switch circuit, wherein a first end of the first switch circuit is used to couple with the battery, a second end of the first switch circuit is used to couple with the system load, and the first switch circuit is used to control the on / off connection between the battery and the system load.

[0009] In some embodiments of the present disclosure, the first switch circuit is disposed in the first charging circuit.

[0010] In some embodiments of the present disclosure, the charging and discharging circuit further includes:

[0011] A second switch circuit, wherein a first end of the second switch circuit is coupled to the boost circuit, a second end of the second switch circuit is used to couple to the system load, and the second switch circuit is used to control the on-off between the boost circuit and the system load.

[0012] In some embodiments of the present disclosure, the boost circuit includes a bypass unit, the bypass unit is coupled between an input terminal and an output terminal of the boost circuit, and the boost circuit has a bypass mode and a boost mode.

[0013] In some embodiments of the present disclosure, the charging and discharging circuit further includes:

[0014] a second charging circuit, wherein a first end of the second charging circuit is coupled to a first end of the first charging circuit, and a second end of the second charging circuit is coupled to a second end of the first charging circuit;

[0015] The first end of the first charging circuit and the first end of the second charging circuit are used to receive an input voltage, and the second end of the first charging circuit and the second end of the second charging circuit are used to output a charging voltage to the battery; the first charging circuit and the second charging circuit have different charging speeds for the battery.

[0016] According to a second aspect of the present disclosure, a control method for the charging and discharging circuit as described above is provided, and the control method for the charging and discharging circuit includes:

[0017] When no charging device is connected and the voltage of the battery is less than or equal to a preset voltage, the boost circuit is controlled to boost the voltage of the battery to supply power to the system load.

[0018] In some embodiments of the present disclosure, when the charging and discharging circuit further includes a first switch circuit, controlling the boost circuit to boost the voltage of the battery to supply power to the system load includes:

[0019] Controlling the boost circuit to operate in bypass mode;

[0020] Controlling the first switch circuit to disconnect;

[0021] The boost circuit is controlled to switch from the bypass mode to the boost mode to boost the voltage of the battery.

[0022] In some embodiments of the present disclosure, when the charging and discharging circuit further includes a first switch circuit and a second switch circuit, the control boost circuit boosts the voltage of the battery to supply power to the system load, including:

[0023] Controlling the boost circuit to boost the voltage of the battery;

[0024] Controlling the first switch circuit to disconnect;

[0025] The second switch circuit is controlled to be turned on.

[0026] In some embodiments of the present disclosure, the control method of the charge and discharge circuit further includes:

[0027] When the voltage of the battery is greater than the preset voltage, the boost circuit is controlled to stop running.

[0028] According to a third aspect of the present disclosure, a control method for the charging and discharging circuit as described above is provided, and the control method for the charging and discharging circuit includes:

[0029] When a charging device is connected, controlling the first charging circuit to supply power to the system load;

[0030] reducing the output voltage of the boost circuit;

[0031] The first charging circuit is controlled to charge the battery.

[0032] In some embodiments of the present disclosure, controlling the first charging circuit to supply power to the system load includes:

[0033] The output voltage of the first charging circuit is set to be greater than the output voltage of the boosting circuit.

[0034] In some embodiments of the present disclosure, the step of reducing the output voltage of the boost circuit includes:

[0035] The boost circuit is controlled to stop operating.

[0036] In some embodiments of the present disclosure, when the charging and discharging circuit further includes a first switching circuit, controlling the first charging circuit to charge the battery includes:

[0037] The first switch circuit is controlled to be turned on.

[0038] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising the charging and discharging circuit as described above.

[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0040] The charge and discharge circuit includes a first charging circuit and a boost circuit, wherein the first charging circuit is used to couple with a battery, and the boost circuit is used to couple with both the battery and the system load. The battery can be charged by the first charging circuit. The boost circuit can boost the voltage of the battery and then supply power to the system load. Since the boost circuit can boost the voltage of the battery, when the battery power is low, the system load can still be stably supplied with power to release the remaining power, thereby improving the utilization rate of the battery.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] Figure 1 is a structural schematic diagram of a charging and discharging circuit provided by an exemplary embodiment of the present disclosure;

[0044] Figure 2 is a structural schematic diagram of a charging and discharging circuit provided by another exemplary embodiment of the present disclosure;

[0045] Figure 3 is a structural schematic diagram of a charging and discharging circuit provided by another exemplary embodiment of the present disclosure;

[0046] Figure 4 is a structural schematic diagram of a charging and discharging circuit provided by another exemplary embodiment of the present disclosure;

[0047] Figure 5 is a structural schematic diagram of a charging and discharging circuit provided by another exemplary embodiment of the present disclosure;

[0048] Figure 6 is a structural schematic diagram of a boost circuit provided by an exemplary embodiment of the present disclosure;

[0049] Figure 7 is a flow chart of a control method for a charge and discharge circuit provided by an exemplary embodiment of the present disclosure;

[0050] Figure 8 is a flow chart of a control method for a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;

[0051] Fig. 9 is a flow chart of a control method for a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;

[0052] Fig.10 is a flow chart of a control method for a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;

[0053] Fig.11 is a system block diagram of an electronic device provided by an exemplary embodiment of the present disclosure.

[0054] In the figure:

[0055] 10-first charging circuit; 20-boosting circuit; 30-battery; 40-system load; 50-first switching circuit; 60-second switching circuit; 70-second charging circuit; 80-overvoltage protection circuit; 90-interface; T1-first transistor; T2-second transistor; T3-third transistor; T4-fourth transistor; S1-first switch tube; S2-second switch tube; S3-third switch tube; L-filter inductor; C-filter capacitor; Vin-input end; Vout-output end; GND-ground end; Vusb-status sensing end; Gate-overvoltage protection end; 400-electronic device; 402-processing component; 404-memory; 406-power supply component; 408-multimedia component; 410-audio component; 412-input and output interface; 414-sensor component; 416-communication component; 420-processor. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items. In addition, the term "coupled" should be understood in a broad sense and can be a direct or physical connection, or an indirect or electrical connection.

[0057] At present, electronic devices use batteries to power system loads. There is a corresponding relationship between the battery power and voltage: the higher the battery power, the greater the battery voltage. The lower the battery power, the lower the battery voltage. When the battery power is high, the battery voltage is greater than the minimum operating voltage required by the system load, and the system load can operate stably. When the battery power is low, the battery voltage is lower than the minimum operating voltage required by the system load, and the system load cannot operate stably or stops operating. At this time, there is still a certain amount of power left in the battery and it cannot be fully utilized, which reduces the battery life of the electronic device and leads to low battery utilization.

[0058] Based on this, the present disclosure provides a charging and discharging circuit, which boosts the voltage of the battery through a boost circuit, and supplies power to the system load with the boosted voltage. Since the boosted voltage is greater than the minimum operating voltage required by the system load, the remaining power in the battery can be fully utilized to increase the battery life of the electronic device, thereby improving the utilization rate of the battery.

[0059] like Figure 1As shown, an exemplary embodiment of the present disclosure provides a charging and discharging circuit, including a first charging circuit 10 and a boost circuit 20. The first charging circuit 10 is used to couple with a battery 30, and is used to charge the battery 30. The boost circuit 20 is used to couple with both the battery 30 and a system load 40, and is used to boost the voltage of the battery 30 and then supply power to the system load 40.

[0060] In this embodiment, the charge and discharge circuit includes a first charging circuit and a boost circuit, wherein the first charging circuit is used to couple with a battery, and the boost circuit is used to couple with both the battery and the system load. The battery can be charged by the first charging circuit. The boost circuit can boost the voltage of the battery and then supply power to the system load. Since the boost circuit can boost the voltage of the battery, when the battery power is low, the system load can still be stably supplied with power to release the remaining power, thereby improving the utilization rate of the battery.

[0061] Exemplarily, the battery 30 may be a lithium battery, a nickel-cadmium battery, a nickel-metal hydride battery, or the like, which is capable of supplying power to the system load 40 of the electronic device.

[0062] In one embodiment, when the voltage of the battery 30 is less than or equal to a preset voltage, the boost circuit 20 boosts the voltage of the battery 30 to supply power to the system load 40 .

[0063] In this embodiment, when the battery voltage is low, the system load cannot run stably. By boosting the battery voltage to supply power to the system load when the voltage is low, the system load runs stably to release the remaining power in the battery, thereby improving the battery utilization.

[0064] Exemplarily, the value of the preset voltage may be the lowest working voltage of the system load 40, or may be a voltage close to the lowest working voltage of the system load 40. The value of the preset voltage may be 3.4V, 3.5V, or 3.6V, etc.

[0065] It is understandable that when the voltage of the battery 30 is greater than the preset voltage, the voltage of the battery 30 can also be boosted by the boost circuit 20 to supply power to the system load 40. At this time, the boosting amplitude of the boost circuit 20 can be reduced.

[0066] In one embodiment, the first charging circuit 10 includes a step-down circuit. The step-down circuit may be a circuit capable of implementing a step-down function, such as a Buck circuit. The step-down circuit may step down the voltage output by the charging device to charge the battery 30 at a constant voltage.

[0067] In this embodiment, the voltage output by the charging device is stepped down by a step-down circuit, and the battery is charged with the stepped-down voltage to prevent overcharging of the battery, thereby increasing the service life of the battery. At the same time, since the step-down circuit has a simple structure, the step-down circuit is used to charge the battery, reducing the complexity of the charging and discharging circuit structure and control.

[0068] Exemplarily, the first charging circuit 10 may be a power management IC (PMIC). The first charging circuit 10 may step down the voltage at the input end and output it to the battery 30 and the system load 40, or may step up the voltage of the battery 30 and output it from the input end to the load external to the electronic device.

[0069] It is understandable that the first charging circuit 10 may include not only a buck circuit but also a buck-boost circuit.

[0070] Exemplarily, the voltage boost circuit 20 may be a circuit capable of implementing a voltage boost function, such as a Boost circuit, or may be a circuit capable of implementing a voltage boost and voltage step-up function.

[0071] By way of example, the system load 40 may be a load in an electronic device.

[0072] In one embodiment, if Figure 2 As shown, the charge and discharge circuit also includes a first switch circuit 50. The first end of the first switch circuit 50 is used to couple with the battery 30, and the second end is used to couple with the system load 40, and is used to control the on and off between the battery 30 and the system load 40. The second end of the first switch circuit 50 is also coupled to the first charging circuit 10, and is used to control the on and off between the first charging circuit 10 and the battery 30. When the charging device is not connected and the voltage of the battery 30 is less than or equal to the preset voltage, the first switch circuit 50 is disconnected to prevent the battery 30 from directly supplying power to the system load 40, and to prevent the input terminal Vin and the output terminal Vout of the boost circuit 20 from being short-circuited and unable to boost. When the charging device is not connected and the voltage of the battery 30 is greater than the preset voltage, the first switch circuit 50 is turned on so that the battery 30 directly supplies power to the system load 40. When the charging device is connected, the first switch circuit 50 is turned on to charge the battery 30 with the first charging circuit 10.

[0073] In this embodiment, the first switch circuit is disconnected to prevent the battery from directly supplying power to the system load when the voltage is too low, thereby preventing the system load from being unable to operate stably, and to prevent the input and output ends of the boost circuit from being short-circuited and unable to boost the voltage. By turning on the first switch circuit, the battery can directly supply power to the system load, avoiding the operation of the boost circuit and thus reducing the power consumption generated by the boost circuit. By turning on and off the first switch circuit, the battery can supply power to the system load in different ways when the battery voltage is different, thereby improving the stability of the battery power supply. At the same time, the first switch circuit can also control whether the first charging circuit charges the battery, thereby realizing the reuse of the first switch circuit, thereby reducing the complexity of the charge and discharge circuit structure.

[0074] For example, Figure 3 As shown, the first switch circuit 50 includes a first transistor T1, and the first transistor T1 is used to control the connection between the battery 30 and the system load 40. When the first transistor T1 is a field effect transistor, according to different types of the first transistor T1, the first end of the first transistor T1 can be a source or a drain, the second end can be a drain or a source, and the control end is a gate.

[0075] In one embodiment, the first switch circuit 50 is disposed in the first charging circuit 10 .

[0076] In this embodiment, by setting the first switch circuit in the first charging circuit, the volume of the charging and discharging circuit occupied by the first switch circuit is reduced. At the same time, since the first switch circuit can be a circuit in the first charging circuit, the on-off between the battery and the system load is controlled by circuit reuse, thereby reducing the complexity of the charging and discharging circuit structure.

[0077] In one embodiment, if Figure 4 As shown, the charge and discharge circuit further includes a second switch circuit 60. The first end of the second switch circuit 60 is coupled to the boost circuit 20, and the second end is used to couple to the system load 40 to control the on-off between the boost circuit 20 and the system load 40.

[0078] In this embodiment, since the input and output ends of the boost circuit are short-circuited, the boost circuit cannot realize the boost function, and the remaining power cannot be released when the battery power is low. The boost circuit is isolated from the system load by the second switch circuit, and the boost circuit is disconnected from the system load when boost is not required. When boost is required, the boost circuit is connected to the system load and the battery is disconnected from the system load by the first switch circuit. By controlling the on-off between the boost circuit and the system load with the second switch circuit, the problem of short-circuiting the input and output ends of the boost circuit is avoided, thereby improving the reliability of the operation of the charge and discharge circuit.

[0079] For example, Figure 5As shown, the second switch circuit 60 includes a second transistor T2, and the second transistor T2 is used to control the on-off between the boost circuit 20 and the system load 40. When the second transistor T2 is a field effect transistor, according to the type of the second transistor T2, the first end of the second transistor T2 can be a source or a drain, the second end can be a drain or a source, and the control end is a gate.

[0080] In one embodiment, if Figure 2 As shown, the boost circuit 20 includes a bypass unit, which is coupled between the input terminal Vin and the output terminal Vout of the boost circuit 20. The boost circuit 20 has a bypass mode and a boost mode. When the boost circuit 20 operates in the bypass mode, the boost circuit 20 does not boost the voltage, but short-circuits the input terminal Vin and the output terminal Vout through the bypass unit so that the voltages of the input terminal Vin and the output terminal Vout are the same. When the boost circuit 20 operates in the boost mode, the bypass unit of the boost circuit 20 disconnects the input terminal Vin and the output terminal Vout, and the boost circuit 20 boosts the voltage of the input terminal Vin and outputs it through the output terminal Vout.

[0081] In this embodiment, the boost circuit with the bypass unit is used to short-circuit the input and output ends of the boost circuit in the bypass mode, and avoid the problem of the boost circuit failing to boost voltage during the switching process between the bypass mode and the boost mode. Since the boost circuit with the bypass unit can avoid the problem of the boost circuit failing to boost voltage, and there is no need to add a second switch circuit between the boost circuit and the system load, the complexity of the charge and discharge circuit structure and control is reduced.

[0082] For example, Figure 6As shown, the boost circuit 20 includes a filter inductor L, a filter capacitor C, a first switch tube S1, a second switch tube S2 and a bypass unit. The bypass unit includes a third switch tube S3. The first end of the filter inductor L is used as the input terminal Vin of the boost circuit 20 for coupling with the battery 30, and the second end is coupled to the first end of the first switch tube S1 and the first end of the second switch tube S2. The second end of the first switch tube S1 is coupled to the ground terminal GND. The second end of the second switch tube S2 is used as the output terminal Vout of the boost circuit 20 for coupling with the system load 40. The first end of the third switch tube S3 is coupled to the first end of the filter inductor L, and the second end is coupled to the second end of the second switch tube S2. The first end of the filter capacitor C is used as the output terminal Vout of the boost circuit, and is coupled to the second end of the second switch tube S2 and the second end of the third switch tube S3, and the second end is coupled to the ground terminal GND. When the boost circuit 20 operates in the bypass mode, the third switch tube S3 is turned on to short-circuit the input terminal Vin and the output terminal Vout of the boost circuit 20. When the boost circuit 20 operates in the boost mode, the third switch tube S3 is turned off, and the voltage of the input terminal Vin is boosted by the first switch tube S1 and the second switch tube S2 and then output through the output terminal Vout.

[0083] In one embodiment, if Figure 2 and Figure 4 As shown, the charge and discharge circuit also includes a second charging circuit 70. The first end of the second charging circuit 70 is coupled to the first end of the first charging circuit 10 and is used to couple with the charging device, and the second end is coupled to the second end of the first charging circuit 10. The first end of the first charging circuit 10 and the first end of the second charging circuit 70 are used to receive the input voltage, and the second end of the first charging circuit 10 and the second end of the second charging circuit 70 are used to output the charging voltage to the battery 30. The first charging circuit 10 and the second charging circuit 70 have different charging speeds for the battery 30. The first end of the first charging circuit 10 can be the input end Vin of the first charging circuit 10, and the second end can be the output end Vout of the first charging circuit 10. The first end of the second charging circuit 70 can be the input end Vin of the second charging circuit 70, and the second end can be the output end Vout of the second charging circuit 70. The input voltage received by the first charging circuit 10 and the second charging circuit 70 can be the voltage output by the charging device.

[0084] In this embodiment, by adding a second charging circuit on the basis of the first charging circuit, the battery is charged with different charging circuits at different power levels, thereby accelerating the battery charging speed while increasing the battery life.

[0085] Exemplarily, the second charging circuit 70 includes a charge pump. The charging device can quickly charge the battery through the charge pump. It is understandable that the second charging circuit 70 can also be a DC conversion circuit capable of realizing the fast charging function other than the charge pump, including a boost circuit, a buck circuit, etc.

[0086] Exemplarily, the first charging circuit 10 is used for normal charging of the battery 30 , and the second charging circuit 70 is used for fast charging of the battery 30 , and the charging speed of the fast charging is greater than the charging speed of the normal charging.

[0087] Exemplarily, the third terminal of the second charging circuit 70 is used to couple with a charging device. The third terminal of the second charging circuit 70 may be a state sensing terminal Vusb of the second charging circuit 70 .

[0088] In one embodiment, the charge and discharge circuit further includes an overvoltage protection circuit 80. A first end of the overvoltage protection circuit 80 is coupled to a first end of the first charging circuit 10 and a first end of the second charging circuit 70, and a second end is used to couple with a charging device. The overvoltage protection circuit 80 is used to protect the first charging circuit 10 and the second charging circuit 70 from overvoltage.

[0089] In this embodiment, when the voltage output by the charging device is too high, the overvoltage protection circuit can protect the first charging circuit and the second charging circuit to avoid damage to the first charging circuit and the second charging circuit, thereby improving the reliability of the operation of the charging and discharging circuits.

[0090] For example, Figure 3 and Figure 5 As shown, the overvoltage protection circuit 80 includes a third transistor T3 and a fourth transistor T4. The first end of the third transistor T3 is used to couple with a charging device. The first end of the fourth transistor T4 is coupled to the first end of the first charging circuit 10 and the first end of the second charging circuit 70, and the second end is coupled to the second end of the third transistor T3. The control ends of the third transistor T3 and the fourth transistor T4 are coupled to the fourth end of the second charging circuit 70. The fourth end of the second charging circuit 70 can be the overvoltage protection end Gate of the second charging circuit 70. When the third transistor T3 and the fourth transistor T4 are field effect transistors, according to the different types of the third transistor T3 and the fourth transistor T4, the first ends of the third transistor T3 and the fourth transistor T4 are the same source or the same drain, the second ends are the same drain or the same source, and the control ends are the same gate.

[0091] Exemplarily, the positive electrode of the battery 30 is coupled to the boost circuit 20 , the first switch circuit 50 , and the second charging circuit 70 , and the negative electrode of the battery 30 is coupled to the common terminal GND.

[0092] Exemplarily, the second charging circuit 70 and the overvoltage protection circuit 80 in the charging and discharging circuit are coupled to the charging device through an interface 90 in the electronic device.

[0093] For example, Figure 3 As shown, the charge and discharge circuit includes a first charging circuit 10, a boost circuit 20, a second charging circuit 70, a first transistor T1, a third transistor T3 and a fourth transistor T4. The input terminal Vin of the first charging circuit 10 is coupled to the input terminal Vin of the second charging circuit 70 and the first end of the fourth transistor T4, and the output terminal Vout is coupled to the output terminal Vout of the boost circuit 20 and the second end of the first transistor T1 and is used to couple with the system load 40. The input terminal of the boost circuit 20 is coupled to the first end of the first transistor T1 and the output terminal Vout of the second charging circuit 70 and is used to couple with the positive electrode of the battery 30, and the boost circuit 20 includes a bypass unit. The state sensing terminal Vusb of the second charging circuit 70 is used to couple with the charging device through the interface 90, and the overvoltage protection terminal Gate is coupled with the control terminals of the third transistor T3 and the fourth transistor T4. The first transistor T1 is arranged in the first charging circuit 10. The first end of the third transistor T3 is used to couple with the charging device through the interface 90, and the second end is coupled with the second end of the fourth transistor T4. A negative electrode of the battery 30 is coupled to the ground terminal GND.

[0094] An exemplary embodiment of the present disclosure further provides a control method for a charge-discharge circuit. The control method can be applied to the above-mentioned circuit structure, for example. The control method for a charge-discharge circuit includes:

[0095] When no charging device is connected and the battery voltage is less than or equal to a preset voltage, the boost circuit is controlled to boost the battery voltage to supply power to the system load.

[0096] In this embodiment, when the charging device is not connected and the battery voltage is less than or equal to the preset voltage, the battery power is low, and directly supplying power to the system load will cause the system load to operate unstably. By controlling the boost circuit to boost the battery voltage, the boosted voltage can stably supply power to the system load to release the remaining power, thereby improving the battery utilization.

[0097] In one embodiment, if Figure 2 and Figure 7 As shown, when the charge and discharge circuit further includes a first switch circuit, controlling the boost circuit to boost the voltage of the battery to supply power to the system load includes:

[0098] S110, controlling the boost circuit to operate in bypass mode.

[0099] S120, controlling the first switch circuit to be disconnected.

[0100] S130, controlling the boost circuit to switch from the bypass mode to the boost mode to boost the voltage of the battery.

[0101] In this embodiment, in the process of controlling the boost circuit to boost the voltage of the battery and then supply power to the system load, the boost circuit is controlled to operate in the bypass mode, so that the boost circuit and the first switch circuit are in a parallel coupling state. The first switch circuit is controlled to be disconnected, so that the battery supplies power to the system load through the bypass unit of the boost circuit. The boost circuit is controlled to switch from the bypass mode to the boost mode, and the battery voltage is boosted to supply power to the system load, so as to avoid the system load from being unable to operate stably due to a low voltage. By controlling the first switch circuit to be disconnected in the bypass mode and then switching to the boost mode, the boost circuit is prevented from being unable to boost the battery voltage, thereby improving the reliability of the operation of the charging and discharging circuit.

[0102] Exemplarily, controlling the first switch circuit to be disconnected in step S120 may be achieved by controlling the first transistor to be disconnected.

[0103] In one embodiment, if Figure 4 and Figure 8 As shown, when the charge and discharge circuit further includes a first switch circuit and a second switch circuit, controlling the boost circuit to boost the voltage of the battery to supply power to the system load includes:

[0104] S140, controlling the boost circuit to boost the voltage of the battery.

[0105] S150, controlling the first switch circuit to be disconnected.

[0106] S160, controlling the second switch circuit to be turned on.

[0107] In this embodiment, in the process of controlling the boost circuit to boost the voltage of the battery and then supplying power to the system load, since the first switch circuit is in the on state and the second switch circuit is in the off state, the input and output ends of the boost circuit are not short-circuited, and the boost circuit can be controlled to boost the voltage of the battery. After the first switch circuit is turned off, the second switch circuit is controlled to be turned on, and the boosted battery voltage is provided to the system load to avoid unstable operation of the system load, thereby improving the reliability of the operation of the charging and discharging circuit. At the same time, since the second switch circuit is controlled to be turned on after the first switch circuit is turned off, the input and output ends of the boost circuit are prevented from being short-circuited and the remaining power of the battery cannot be released, thereby improving the utilization rate of the battery.

[0108] In one embodiment, the control method of the charge and discharge circuit further includes:

[0109] When the voltage of the battery is greater than the preset voltage, the boost circuit is controlled to stop running and the first switch circuit is controlled to be turned on.

[0110] In this embodiment, the boost circuit is controlled to stop running when the battery voltage is greater than the preset voltage, so as to avoid power consumption when the boost circuit is running, thereby reducing the power consumption of the charge and discharge circuit. By controlling the first switch circuit to be turned on, the battery directly supplies power to the system load, thereby reducing the complexity of the charge and discharge circuit control.

[0111] An exemplary embodiment of the present disclosure further provides a control method for a charge and discharge circuit, which can be applied to the above-mentioned circuit structure, such as Figure 2 and Fig. 9 As shown, the control method of the charge and discharge circuit includes:

[0112] S200: When a charging device is connected, control the first charging circuit to supply power to a system load.

[0113] S210, reducing the output voltage of the boost circuit.

[0114] S220: Control the first charging circuit to charge the battery.

[0115] In this embodiment, before the charging device is connected, the system load is powered by the boosted battery voltage. When the charging device is connected, the first charging circuit is controlled to power the system load to replace the battery power supply. The output voltage of the boost circuit is reduced to gradually consume the energy stored in the boost circuit to avoid sudden disconnection that causes the energy in the boost circuit to be unable to be released and damage the charging and discharging circuit. Since the battery power is low, the first charging circuit is controlled to charge the battery so that the battery power gradually increases to increase the battery life. By replacing the battery boost power supply with the first charging circuit during the charging process, the power consumption generated by the boost circuit is reduced, thereby reducing the power consumption of the charging and discharging circuit.

[0116] In one embodiment, controlling the first charging circuit to supply power to the system load in step S200 includes:

[0117] The output voltage of the first charging circuit is set to be greater than the output voltage of the boost circuit.

[0118] In this embodiment, by setting the output voltage of the first charging circuit to be greater than the output voltage of the boost circuit, the power supply of the system load is provided by the first charging circuit to reduce the power consumption generated by the boost circuit, thereby reducing the power consumption of the charging and discharging circuit.

[0119] In one embodiment, reducing the output voltage of the boost circuit in step S210 includes:

[0120] Control the boost circuit to stop running.

[0121] In this embodiment, the boost circuit is controlled to stop running, so as to reduce the output voltage of the boost circuit and the power consumption of the boost circuit, thereby reducing the power consumption of the charge and discharge circuit.

[0122] It can be understood that controlling the boost circuit to stop running may be performed when the output voltage of the boost circuit drops to a certain level, or may be performed after controlling the first charging circuit to supply power to the system load.

[0123] In one embodiment, if Figure 2 As shown, when the charging and discharging circuit further includes a first switching circuit, controlling the first charging circuit to charge the battery in step S220 includes:

[0124] The first switch circuit is controlled to be turned on.

[0125] In this embodiment, by controlling the first switch circuit to be turned on, the first charging circuit can charge the battery, thereby reducing the complexity of controlling the charging and discharging circuit.

[0126] In one embodiment, if Figure 4 and Fig.10 As shown, when the charging and discharging circuit further includes a first switch circuit and a second switch circuit, controlling the first charging circuit to charge the battery in step S220 includes:

[0127] S221, controlling the second switch circuit to disconnect.

[0128] S222, controlling the first switch circuit to be turned on.

[0129] In this embodiment, by controlling the second switch circuit to be disconnected, the input and output ends of the boost circuit are prevented from being short-circuited and failing, so that the boost circuit can be normally shut down to reduce the power consumption of the charge and discharge circuit. By controlling the first switch circuit to be turned on, the first charging circuit can charge the battery, thereby reducing the complexity of the charge and discharge circuit control.

[0130] In an exemplary embodiment, an electronic device is provided, and the electronic device is, for example, a mobile phone, a laptop computer, a tablet computer, a wearable device, etc. The electronic device includes the charging and discharging circuit as described above.

[0131] refer to Fig.11 As shown, electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0132] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0133] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0134] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0135] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module may receive external multimedia data. Each front camera module and the rear camera module may be a fixed optical lens system or have a focal length and optical zoom capability.

[0136] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0137] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0138] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0139] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other terminals. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0140] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-described methods.

[0141] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by the processor 420 of the electronic device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage terminal. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method shown in the above embodiment.

[0142] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0143] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0144] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A charging and discharging circuit, characterized in that: The charging and discharging circuit comprises: A first charging circuit, wherein the first charging circuit is used to couple with a battery, and the first charging circuit is used to charge the battery; A boost circuit is used to be coupled to the battery and the system load, and the boost circuit is used to boost the voltage of the battery to supply power to the system load.

2. The charge and discharge circuit according to claim 1, characterized in that: The charging and discharging circuit further comprises: A first switch circuit, wherein a first end of the first switch circuit is used to couple with the battery, a second end of the first switch circuit is used to couple with the system load, and the first switch circuit is used to control the on / off connection between the battery and the system load.

3. The charge and discharge circuit according to claim 2, characterized in that: The first switch circuit is disposed in the first charging circuit.

4. The charge and discharge circuit according to claim 1, characterized in that: The charging and discharging circuit further comprises: A second switch circuit, wherein a first end of the second switch circuit is coupled to the boost circuit, a second end of the second switch circuit is used to couple to the system load, and the second switch circuit is used to control the on-off between the boost circuit and the system load.

5. The charge and discharge circuit according to claim 1, characterized in that: The boost circuit comprises a bypass unit, wherein the bypass unit is coupled between an input terminal and an output terminal of the boost circuit, and the boost circuit has a bypass mode and a boost mode.

6. The charge and discharge circuit according to any one of claims 1 to 5, characterized in that: The charging and discharging circuit further comprises: a second charging circuit, wherein a first end of the second charging circuit is coupled to a first end of the first charging circuit, and a second end of the second charging circuit is coupled to a second end of the first charging circuit; The first end of the first charging circuit and the first end of the second charging circuit are used to receive an input voltage, and the second end of the first charging circuit and the second end of the second charging circuit are used to output a charging voltage to the battery; the first charging circuit and the second charging circuit have different charging speeds for the battery.

7. A control method for a charge and discharge circuit according to any one of claims 1 to 6, characterized in that: The control method of the charging and discharging circuit comprises: When no charging device is connected and the voltage of the battery is less than or equal to a preset voltage, the boost circuit is controlled to boost the voltage of the battery to supply power to the system load.

8. The control method of the charge and discharge circuit according to claim 7, characterized in that: When the charging and discharging circuit further includes a first switch circuit, controlling the boost circuit to boost the voltage of the battery to supply power to the system load includes: Controlling the boost circuit to operate in bypass mode; Controlling the first switch circuit to disconnect; The boost circuit is controlled to switch from the bypass mode to the boost mode to boost the voltage of the battery.

9. The control method of the charge and discharge circuit according to claim 7, characterized in that: When the charging and discharging circuit further includes a first switch circuit and a second switch circuit, the control boost circuit boosts the voltage of the battery to supply power to the system load, including: Controlling the boost circuit to boost the voltage of the battery; Controlling the first switch circuit to disconnect; The second switch circuit is controlled to be turned on.

10. The control method of the charge and discharge circuit according to any one of claims 7 to 9, characterized in that: The control method of the charging and discharging circuit further includes: When the voltage of the battery is greater than the preset voltage, the boost circuit is controlled to stop running.

11. A control method for a charge and discharge circuit according to any one of claims 1 to 6, characterized in that: The control method of the charging and discharging circuit comprises: When a charging device is connected, controlling the first charging circuit to supply power to the system load; reducing the output voltage of the boost circuit; The first charging circuit is controlled to charge the battery.

12. The control method of the charge and discharge circuit according to claim 11, characterized in that: The controlling the first charging circuit to supply power to the system load includes: The output voltage of the first charging circuit is set to be greater than the output voltage of the boosting circuit.

13. The control method of the charge and discharge circuit according to claim 11, characterized in that: The step of reducing the output voltage of the boost circuit comprises: The boost circuit is controlled to stop operating.

14. The control method of the charge and discharge circuit according to any one of claims 11 to 13, characterized in that: When the charging and discharging circuit further includes a first switch circuit, controlling the first charging circuit to charge the battery includes: The first switch circuit is controlled to be turned on.

15. An electronic device, characterized in that: The electronic device comprises the charging and discharging circuit according to any one of claims 1 to 6.