Charging and discharging circuit, control method and electronic equipment
By designing a charging and discharging circuit, using the first charging circuit to boost the battery voltage and adjusting the voltage supply through the second charging circuit, the problem of the battery being unable to provide stable power supply when the battery is low is solved, improving battery utilization and simplifying the circuit. sex.
Patent Information
- Application Number
- CN202310912056.3
- 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
In the prior art, the battery cannot supply power stably when the battery is low, resulting in a low utilization rate of the battery.
A charging and discharge circuit is designed. After the voltage of the battery is boasted through the first charging circuit, the battery is powered on the load, and the battery voltage after the second charging circuit is adjusted to the load through the second charging circuit.
When the battery power is low, the load can still be stabilized, the utilization rate of the battery can be improved, and the complexity of the charging and discharge circuit structure is reduced by reuse of the circuit.
Smart Images

Figure CN119362627A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging and discharging technology, and in particular to a charging and discharging circuit, a control method, and an electronic device. Background Art
[0002] Currently, electronic devices rely on batteries to power their loads. The battery voltage must be higher than the load's minimum operating voltage to ensure stable operation. However, when the battery's charge level is low, it cannot stably power the load, leaving a certain amount of charge remaining, resulting in low battery utilization. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a charge and discharge circuit, a control method and an electronic device.
[0004] According to a first aspect of the present disclosure, a charge-discharge circuit is provided, comprising:
[0005] a first charging circuit, the first charging circuit having a first power transmission path for transmitting power from a first terminal of the first charging circuit to a second terminal of the first charging circuit, and a second power transmission path for transmitting power from the second terminal of the first charging circuit to the first terminal of the first charging circuit;
[0006] The first end of the first charging circuit is used to couple with a battery to charge the battery through the second power transmission path; the second end of the first charging circuit is used to couple with a load to boost the voltage of the battery through the first power transmission path to power the load.
[0007] In some embodiments of the present disclosure, the charge and discharge circuit further includes:
[0008] An isolation circuit, wherein a first end of the isolation circuit is coupled to a second end of the first charging circuit, a second end of the isolation circuit is used to couple to a charging interface, and the isolation circuit is used to control the connection between the charging interface and the first charging circuit.
[0009] In some embodiments of the present disclosure, the isolation circuit includes:
[0010] a first transistor, wherein a first end of the first transistor is coupled to the charging interface, a second end of the first transistor is coupled to the second end of the first charging circuit, and a control end of the first transistor is configured to receive a first control signal;
[0011] A unidirectional conductive device is coupled in parallel with the first transistor, and is used to prevent the voltage at the second end of the first charging circuit from being input to the charging interface.
[0012] In some embodiments of the present disclosure, the first transistor is a field effect transistor, and the body diode of the first transistor constitutes the unidirectional conducting device.
[0013] In some embodiments of the present disclosure, the isolation circuit further includes:
[0014] A second transistor, wherein a first terminal of the second transistor is coupled to the second terminal of the first charging circuit, a second terminal of the second transistor is coupled to the second terminal of the first transistor, and a control terminal of the second transistor is used to receive a second control signal.
[0015] In some embodiments of the present disclosure, the control terminal of the second transistor is coupled to the third terminal of the first charging circuit, and the third terminal of the first charging circuit is used to output the second control signal.
[0016] In some embodiments of the present disclosure, the charge and discharge circuit further includes:
[0017] a resistor coupled between the control terminal of the first transistor and the control terminal of the second transistor, so that the second control signal can be input into the control terminal of the first transistor as the first control signal via the resistor;
[0018] a third transistor, wherein a first end of the third transistor is coupled to the resistor and the control end of the first transistor, a second end of the third transistor is used to couple to the ground end, and the control end of the third transistor is used to receive a third control signal so that the signal at the ground end can be input into the control end of the first transistor as the first control signal through the third transistor.
[0019] In some embodiments of the present disclosure, the charge and discharge circuit further includes:
[0020] A second charging circuit, wherein a first end of the second charging circuit is used to couple to the load, a second end of the second charging circuit is coupled to the second end of the first charging circuit, and the second charging circuit is used to adjust the boosted battery voltage and transmit it to the load.
[0021] In some embodiments of the present disclosure, the first charging circuit includes a charge pump or a bidirectional DC conversion circuit; and / or,
[0022] The second charging circuit includes a step-down circuit.
[0023] According to a second aspect of the present disclosure, a control method for the charge-discharge circuit as described above is provided, the control method for the charge-discharge circuit comprising:
[0024] When no charging device is connected and the voltage of the battery is less than or equal to a preset voltage, the first charging circuit is controlled to boost the voltage of the battery via the first power transmission path to supply power to the load.
[0025] In some embodiments of the present disclosure, when the charge-discharge circuit further includes a second charging circuit, controlling the first charging circuit to boost the voltage of the battery via the first power transmission path and then supply power to the load includes:
[0026] controlling the first charging circuit to boost the voltage of the battery via the first power transmission path;
[0027] The second charging circuit is controlled to adjust the boosted battery voltage and transmit it to the load.
[0028] In some embodiments of the present disclosure, when the charge-discharge circuit further includes an isolation circuit, before controlling the first charging circuit to boost the voltage of the battery via the first power transmission path and then supplying power to the load, the method for controlling the charge-discharge circuit further includes:
[0029] The isolation circuit is controlled to be disconnected.
[0030] In some embodiments of the present disclosure, when the isolation circuit further includes a first transistor, controlling the isolation circuit to be disconnected includes:
[0031] controlling the first transistor to be disconnected;
[0032] or,
[0033] When the charge-discharge circuit further includes a third transistor, the control isolation circuit is disconnected, comprising:
[0034] The third transistor is controlled to be turned on to turn off the first transistor.
[0035] In some embodiments of the present disclosure, when the charge-discharge circuit further includes a second charging circuit, the control method of the charge-discharge circuit further includes:
[0036] When the charging device is connected and the output voltage of the charging device is greater than the output voltage of the first charging circuit, the first charging circuit is controlled to be disconnected, the isolation circuit is controlled to be turned on, and the second charging circuit is controlled to charge the battery.
[0037] In some embodiments of the present disclosure, the output voltage of the charging device is greater than the output voltage of the first charging circuit, including:
[0038] The output voltage of the charging device is greater than a first preset voltage and the output voltage of the first charging circuit is less than a second preset voltage;
[0039] Wherein, the first preset voltage is greater than the second preset voltage.
[0040] In some embodiments of the present disclosure, the charge-discharge circuit further includes a second transistor; when the isolation circuit includes a first transistor, the control method of the charge-discharge circuit further includes:
[0041] When the charging device is connected, controlling the second transistor to be turned on;
[0042] controlling the first charging circuit to be disconnected;
[0043] controlling the first transistor to be turned on;
[0044] or,
[0045] When the charge-discharge circuit further includes a third transistor, the control method of the charge-discharge circuit further includes:
[0046] When the charging device is connected, controlling the second transistor to be turned on;
[0047] controlling the first charging circuit to be disconnected;
[0048] The third transistor is controlled to be turned off to turn on the first transistor.
[0049] According to a third aspect of the present disclosure, an electronic device is provided, comprising the charging and discharging circuit as described above.
[0050] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0051] The charge-discharge circuit includes a first charging circuit. A first power transmission path of the first charging circuit is used to boost the battery voltage and supply power to a load, and a second power transmission path is used to charge the battery. Because the first charging circuit can boost the battery voltage via the first power transmission path, it can still provide stable power to the load when the battery charge level is low, releasing the remaining power, thereby improving battery utilization. Furthermore, the first charging circuit implements both battery charging and battery voltage boosting functions through circuit multiplexing, reducing the complexity of the charge-discharge circuit structure.
[0052] 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 disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] 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.
[0054] Figure 1 is a structural diagram of a charge and discharge circuit provided by an exemplary embodiment of the present disclosure;
[0055] Figure 2 is a structural diagram of a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;
[0056] Figure 3 is a structural diagram of a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;
[0057] Figure 4 is a structural diagram of a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;
[0058] Figure 5 is a flow chart of a control method for a charge and discharge circuit provided by an exemplary embodiment of the present disclosure;
[0059] Figure 6 is a flow chart of a control method for a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;
[0060] Figure 7 is a flow chart of a control method for a charge and discharge circuit provided by another exemplary embodiment of the present disclosure;
[0061] Figure 8 is a system block diagram of an electronic device provided by an exemplary embodiment of the present disclosure.
[0062] In the picture:
[0063] 10-first charging circuit; 20-battery; 30-load; 40-isolation circuit; 50-charging interface; 60-second charging circuit; 70-switching circuit; T1-first transistor; T2-second transistor; T3-third transistor; T4-fourth transistor; VD-unidirectional conduction device; R-resistor; Vin-input terminal; Vout-output terminal; GND-ground terminal; Vusb-status sensing terminal; Gate-overvoltage protection terminal; C1-first control signal; C2-second control signal; C3-third control signal; 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
[0064] Exemplary embodiments will be described in detail herein and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of apparatus and methods consistent with some aspects of the present invention as detailed in the appended claims. It will also be understood that the term "and / or" as used herein refers to and encompasses any or all possible combinations of one or more associated listed items. In addition, the term "coupled" is to be understood broadly and can mean a direct or physical connection as well as an indirect or electrical connection.
[0065] Currently, electronic devices use batteries to power their loads. There's a corresponding relationship between battery charge and voltage: the higher the battery charge, the higher the battery voltage. The lower the battery charge, the lower the battery voltage. When the battery charge is high, the battery voltage exceeds the minimum operating voltage required by the load, allowing the load to operate stably. When the battery charge is low, the battery voltage falls below the minimum operating voltage required by the load, causing the load to operate unstably or even cease operation. In this case, a certain amount of charge remains in the battery and cannot be fully utilized, reducing the battery life of the electronic device and resulting in low battery utilization.
[0066] Based on this, the present disclosure provides a charge-discharge circuit that boosts the voltage of a battery via a first charging circuit and supplies power to a load with the boosted voltage. Because the boosted voltage is greater than the minimum operating voltage required by the load, the remaining power in the battery can be fully utilized to extend the battery life of the electronic device, thereby improving battery utilization. Furthermore, the first charging circuit implements both battery charging and battery voltage boosting functions in a circuit-reuse manner, reducing the complexity of the charge-discharge circuit structure.
[0067] like Figure 1 As shown, an exemplary embodiment of the present disclosure provides a charging and discharging circuit, including a first charging circuit 10. The first charging circuit 10 has a first power transmission path for transmitting power from the first end of the first charging circuit 10 to the second end of the first charging circuit 10, and a second power transmission path for transmitting power from the second end of the first charging circuit 10 to the first end of the first charging circuit 10. The first end of the first charging circuit 10 is used to couple with a battery 20 to charge the battery 20 via the second power transmission path. The second end of the first charging circuit 10 is used to couple with a load 30 to boost the voltage of the battery 20 via the first power transmission path and then supply power to the load 30.
[0068] In this embodiment, the charge-discharge circuit includes a first charging circuit. A first power transmission path of the first charging circuit is used to boost the battery voltage and supply power to a load, and a second power transmission path is used to charge the battery. Because the first charging circuit can boost the battery voltage via the first power transmission path, it can still provide stable power to the load when the battery charge level is low, releasing the remaining power, thereby improving battery utilization. Furthermore, the first charging circuit implements both battery charging and battery voltage boosting functions through circuit multiplexing, reducing the complexity of the charge-discharge circuit structure.
[0069] In one embodiment, the first charging circuit 10 includes a charge pump.
[0070] In this embodiment, by using a charge pump as the first charging circuit, the battery can be quickly charged, thereby improving the battery charging speed. Furthermore, because the charge pump can transmit electrical energy bidirectionally, it can achieve both step-down charging and battery voltage boosting, thereby reducing the complexity of the charging and discharging circuit structure.
[0071] In one embodiment, the first charging circuit 10 includes a bidirectional DC conversion circuit.
[0072] In this embodiment, by using a bidirectional DC conversion circuit as the first charging circuit, both the step-down charging function and the battery voltage boosting function can be achieved, thereby reducing the complexity of the charging and discharging circuit structure.
[0073] For example, when the first charging circuit 10 supplies power to the load 30, it transmits power through the first power transmission path, boosting the voltage at the first end and outputting it from the second end. When the first charging circuit 10 charges the battery 20, it transmits power through the second power transmission path, stepping down the voltage at the second end and outputting it from the first end.
[0074] For example, the battery 20 may be a lithium battery, a nickel-cadmium battery, a nickel-metal hydride battery, or the like, which can supply power to the load 30 of the electronic device.
[0075] In one embodiment, when the voltage of the battery 20 is less than or equal to a preset voltage, the first charging circuit 10 boosts the voltage of the battery 20 and supplies power to the load 30 .
[0076] In this embodiment, when the battery voltage is low, the load cannot operate stably. By boosting the battery voltage to supply power to the load when the voltage is low, the load can operate stably to release the remaining power in the battery, thereby improving the battery utilization.
[0077] For example, the value of the preset voltage may be the minimum operating voltage of the load 30, or a voltage close to the minimum operating voltage of the load 30. The value of the preset voltage may be 3.4V, 3.5V, or 3.6V.
[0078] It is understood that when the voltage of the battery 20 is greater than the preset voltage, the voltage of the battery 20 can be boosted by the first charging circuit 10 to supply power to the load 30. In this case, the boosting amplitude of the first charging circuit 10 can be reduced.
[0079] In one embodiment, Figure 2 As shown, the charging and discharging circuit also includes an isolation circuit 40. The first end of the isolation circuit 40 is coupled to the second end of the first charging circuit 10, and the second end is used to couple to the charging interface 50 to control the connection between the charging interface 50 and the first charging circuit 10. The first end of the first charging circuit 10 can be the output end Vout of the first charging circuit 10, and the second end of the first charging circuit 10 can be the input end Vin of the first charging circuit 10. The charging interface 50 is coupled to a charging device. The charging interface 50 can be a Type-C interface, a Micro USB interface, a Lightning interface, etc., or it can be a wireless charging interface including a charging coil.
[0080] In this embodiment, when the battery charge is low, the battery voltage is boosted by the first charging circuit to power the load. When connected to a charging device via the charging port, the voltage at the second terminal of the first charging circuit may be too high, potentially damaging the charging device. By adding an isolation circuit between the charging port and the first charging circuit, the two circuits are isolated to prevent damage to the charging device caused by the voltage output by the first charging circuit, thereby improving the reliability of the charging and discharging circuit.
[0081] In one embodiment, if Figure 3 As shown, the isolation circuit 40 includes a first transistor T1 and a unidirectional conduction device VD. The first transistor T1 has a first terminal coupled to the charging port 50, a second terminal coupled to the second terminal of the first charging circuit 10, and a control terminal for receiving a first control signal C1. The unidirectional conduction device VD is coupled in parallel with the first transistor T1 to prevent the voltage at the second terminal of the first charging circuit 10 from being input to the charging port 50.
[0082] In this embodiment, by controlling the on / off switching of the first transistor, the connection between the charging interface and the first charging circuit can be controlled, thereby isolating the charging device from the first charging circuit and improving the reliability of the charging and discharging circuit. The unidirectional conductivity of the unidirectional conductive device prevents the voltage output by the first charging circuit from damaging the charging device, further improving the reliability of the charging and discharging circuit. Furthermore, during the charging process, a unidirectional conductive device generates a conduction voltage drop. By replacing the unidirectional conductive device with the first transistor for charging, the losses generated by the unidirectional conductive device are eliminated, thereby reducing the power consumption of the charging and discharging circuit.
[0083] In one embodiment, the first transistor T1 is a field-effect transistor, and the body diode of the first transistor T1 constitutes a unidirectional conducting device VD. The anode of the body diode of the first transistor T1 is coupled to the charging port 50, and the cathode is coupled to the second terminal of the first charging circuit 10. Depending on the type of the first transistor T1, the first terminal of the first transistor T1 can be a source or a drain, the second terminal can be a drain or a source, and the control terminal can be a gate.
[0084] In this embodiment, the body diode of the first transistor is used to form a unidirectional conducting device, and no separate unidirectional conducting device is required for isolation, thereby reducing the complexity of the charging and discharging circuit structure.
[0085] It is understandable that, in addition to using the body diode of the first transistor T1 to form the unidirectional conducting device VD, a separate diode or transistor may also be externally connected as the unidirectional conducting device VD.
[0086] In one embodiment, the isolation circuit 40 further includes a second transistor T2. The first terminal of the second transistor T2 is coupled to the second terminal of the first charging circuit 10, the second terminal is coupled to the second terminal of the first transistor T1, and the control terminal is configured to receive a second control signal C2. When the second transistor T2 is a field-effect transistor, depending on the type of the second transistor T2, the first terminal of the second transistor T2 can be a source or a drain, the second terminal can be a drain or a source, and the control terminal can be a gate.
[0087] In this embodiment, the charging device can be further isolated from the first charging circuit by turning the second transistor on and off to prevent the voltage output by the first charging circuit from damaging the charging device, thereby improving the reliability of the charging and discharging circuit.
[0088] In one embodiment, if Figure 4As shown, the control terminal of the second transistor T2 is coupled to the third terminal of the first charging circuit 10, and the third terminal of the first charging circuit 10 is used to output the second control signal C2. The third terminal of the first charging circuit 10 can also be the overvoltage protection terminal Gate of the first charging circuit 10. By outputting the second control signal C2 through the overvoltage protection terminal Gate, the second transistor T2 also has an overvoltage protection function.
[0089] In this embodiment, the second transistor is controlled via the third terminal of the first charging circuit, reducing the complexity of generating the second control signal. Simultaneously, the second control signal is output via the overvoltage protection terminal of the first charging circuit, providing the second transistor with an overvoltage protection function and enabling reuse of the second transistor, thereby reducing the complexity of the charging and discharging circuit structure.
[0090] Exemplarily, the fourth end of the first charging circuit 10 is used to couple with the charging interface 50. The fourth end of the first charging circuit 10 can be the state sensing terminal Vusb of the first charging circuit 10. Through the state sensing terminal Vusb of the first charging circuit 10, it is determined whether the voltage output by the charging device through the charging interface 50 is too large, so as to control the second transistor T2 to implement the overvoltage protection function. When the voltage output by the charging device is too large, the first charging circuit 10 disconnects the second transistor T2. Through the overvoltage protection terminal Gate and the state sensing terminal Vusb of the first charging circuit 10, the second transistor T2 implements the overvoltage protection function, avoids damage to the first charging circuit 10, and thus improves the reliability of the charging and discharging circuit. At the same time, by reusing the second transistor T2 for overvoltage protection, the complexity of the charging and discharging circuit structure is reduced.
[0091] In one embodiment, the charge-discharge circuit further includes a resistor R and a third transistor T3. The resistor R is coupled between the control terminal of the first transistor T1 and the control terminal of the second transistor T2, so that the second control signal C2 can be input into the control terminal of the first transistor T1 as the first control signal C1 via the resistor R. The first terminal of the third transistor T3 is coupled to both the resistor R and the control terminal of the first transistor T1, the second terminal is used to couple to the ground terminal GND, and the control terminal is used to receive the third control signal C3, so that the signal at the ground terminal GND can be input into the control terminal of the first transistor T1 as the first control signal C1 via the third transistor T3. When the third transistor T3 is a field-effect transistor, depending on the type of the third transistor T3, the first terminal of the third transistor T3 can be a source or a drain, the second terminal can be a drain or a source, and the control terminal is a gate.
[0092] In this embodiment, because the resistor is coupled between the control terminals of the first transistor and the second transistor, when isolation between the charging interface and the first charging circuit is not required, the third control signal controls the third transistor to be turned off, causing the signal at the control terminal of the first transistor to follow the second control signal at the control terminal of the second transistor. When isolation between the charging interface and the first charging circuit is required, the third control signal controls the third transistor to be turned on, causing the signal at the control terminal of the first transistor to follow the signal at the ground terminal. By combining the resistor and the third transistor, the second control signal, the third control signal, and the signal at the ground terminal are used to control the on and off of the first transistor, thereby reducing the complexity of the charge and discharge circuit control.
[0093] In one embodiment, if Figures 2 to 4 As shown, the charge-discharge circuit further includes a second charging circuit 60. A first end of the second charging circuit 60 is coupled to the load 30, and a second end is coupled to the second end of the first charging circuit 10. The second charging circuit 60 is configured to adjust the boosted battery 20 voltage and transmit it to the load 30. The first end of the second charging circuit 60 may be the output terminal Vout of the second charging circuit 60, and the second end of the second charging circuit 60 may be the input terminal Vin of the second charging circuit 60. The isolation circuit 40 is further configured to control the connection between the charging interface 50 and the second charging circuit 60. The second transistor T2 is also configured to provide overvoltage protection for the second charging circuit 60.
[0094] In this embodiment, the second charging circuit can adjust the boosted battery voltage and deliver it to the load, preventing damage to the load due to excessive voltage, thereby improving the reliability of the charge-discharge circuit. Furthermore, because the second charging circuit can perform normal battery charging, it prevents damage from overcharging, thereby increasing the battery's service life. By reusing the second charging circuit to adjust the voltage for both powering the load and charging the battery, the complexity of the charge-discharge circuit structure is reduced. Furthermore, because the second terminals of the first and second charging circuits are coupled, the isolation circuit can provide overvoltage protection for the second charging circuit, thereby improving the reliability of the charge-discharge circuit.
[0095] In one embodiment, the second charging circuit 60 includes a step-down circuit. The step-down circuit can be a circuit capable of performing a step-down function, such as a buck circuit. The step-down circuit can step down the voltage output from the charging interface 50 to charge the battery 20 at a constant voltage, and can also step down the voltage output from the second terminal of the first charging circuit 10 to power the load 30.
[0096] In this embodiment, a step-down circuit steps down the voltage output from the charging interface, and uses the stepped-down voltage to charge the battery, preventing overcharging and thereby extending the battery's service life. The step-down circuit steps down the voltage output from the second terminal of the first charging circuit, and uses the stepped-down voltage to power the load, preventing damage to the load. This improves the reliability of the charge-discharge circuit. Furthermore, due to the simple structure of the step-down circuit, using the step-down circuit to charge the battery and power the load reduces the complexity of the charge-discharge circuit structure and control.
[0097] It is understandable that the second charging circuit 60 may include not only a step-down circuit but also a step-up / step-down circuit.
[0098] For example, Figure 3 and Figure 4 As shown, the third terminal of the second charging circuit 60 is used to couple with the charging interface 50. The third terminal of the second charging circuit 60 can be a state sensing terminal Vusb.
[0099] Exemplarily, the first charging circuit 10 is used for fast charging of the battery 20 , and the second charging circuit 60 is used for normal charging of the battery 20 , where the charging speed of fast charging is greater than the charging speed of normal charging.
[0100] In one embodiment, if Figure 2 As shown, the charging and discharging circuit also includes a switch circuit 70. The first end of the switch circuit 70 is used to couple with the battery 20, and the second end is used to couple with the load 30, for controlling the on-off connection between the battery 20 and the load 30. The second end of the switch circuit 70 is also coupled to the first end of the second charging circuit 60, for controlling the on-off connection between the second charging circuit 60 and the battery 20. When the charging device is not connected and the voltage of the battery 20 is less than or equal to the preset voltage, the switch circuit 70 is disconnected to prevent the battery 20 from directly supplying power to the load 30. When the charging device is not connected and the voltage of the battery 20 is greater than the preset voltage, the switch circuit 70 is turned on to allow the battery 20 to directly supply power to the load 30, and the first charging circuit 10 can be disconnected to stop boosting the voltage of the battery 20. When the charging device is connected, the switch circuit 70 is turned on to charge the battery 20 with the second charging circuit 60.
[0101] In this embodiment, the switch circuit is disconnected to prevent direct power supply to the load when the battery voltage is too low, which could result in unstable load operation. By turning the switch circuit on, the load can be directly powered when the battery voltage is higher, thereby reducing the power consumption of the first charging circuit. By turning the switch circuit on and off, the battery can power the load in different ways depending on the battery voltage, thereby improving the stability of the battery power supply. Furthermore, the switch circuit can also control whether the second charging circuit charges the battery, enabling switch circuit reuse and reducing the complexity of the charging and discharging circuit structure.
[0102] For example, Figure 3 and Figure 4 As shown, the switching circuit 70 includes a fourth transistor T4. The first end of the fourth transistor T4 is used to couple with the battery 20, and the second end is used to couple with the load 30. The fourth transistor T4 controls the on-off connection between the battery 20 and the load 30. During the charging process of the battery 20, when the battery 20 needs to be charged by the second charging circuit 60, the fourth transistor T4 is controlled to be turned on. When the battery 20 needs to be charged by the first charging circuit 10, the fourth transistor T4 is controlled to be turned off. During the discharging process of the battery 20, when the battery 20 needs to directly power the load, the fourth transistor T4 is controlled to be turned on. When the battery 20 voltage needs to be boosted to power the load, the fourth transistor T4 is controlled to be turned off.
[0103] In one embodiment, the switch circuit 70 is disposed in the second charging circuit 60 .
[0104] In this embodiment, by placing the switch circuit in the second charging circuit, the volume of the charge-discharge circuit occupied by the switch circuit is reduced. Furthermore, since the switch circuit can be a circuit in the second charging circuit, circuit reuse controls the on / off connection between the battery and the load, thereby reducing the complexity of the charge-discharge circuit structure.
[0105] The second charging circuit 60 is illustratively as follows Figure 3 As shown, the charging and discharging circuit includes a first charging circuit 10, a second charging circuit 60, a first transistor T1, a second transistor T2, a fourth transistor T4, and a unidirectional conductive device VD. The input terminal Vin of the first charging circuit 10 is coupled to the input terminal Vin of the second charging circuit 60 and the first terminal of the second transistor T2. The output terminal Vout is coupled to the first terminal of the fourth transistor T4 and is coupled to the positive electrode of the battery 20. The status sensing terminal Vusb is coupled to a charging device via a charging interface 50. The output terminal Vout of the second charging circuit 60 is coupled to the second terminal of the fourth transistor T4 and is coupled to a load 30. The status sensing terminal Vusb is coupled to a charging device via a charging interface 50. The first terminal of the first transistor T1 is coupled to the first terminal of the unidirectional conductive device VD and is coupled to the charging device via the charging interface 50. The second terminal is coupled to the second terminal of the second transistor T2 and the second terminal of the unidirectional conductive device VD. The control terminal receives a first control signal C1. The control terminal of the second transistor T2 receives a second control signal C2. The negative electrode of the battery 20 is coupled to the ground terminal GND.
[0106] For example, Figure 4As shown, the charging and discharging circuit includes a first charging circuit 10, a second charging circuit 60, a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4, a unidirectional conduction device VD, and a resistor R. The input terminal Vin of the first charging circuit 10 is coupled to the input terminal Vin of the second charging circuit 60 and the first end of the second transistor T2. The output terminal Vout is coupled to the first end of the fourth transistor T4 and is used to couple to the positive electrode of the battery 20. The status sensing terminal Vusb is used to couple to a charging device through the charging interface 50. The overvoltage protection terminal Gate is coupled to the control terminal of the second transistor T2 and the first end of the resistor R. The output terminal Vout of the second charging circuit 60 is coupled to the second end of the fourth transistor T4 and is used to couple to the load 30. The status sensing terminal Vusb is used to couple to the charging device through the charging interface 50. The first terminal of the first transistor T1 is coupled to the first terminal of the unidirectional conductive device VD and is configured to couple to a charging device via the charging port 50. The second terminal of the first transistor T1 is coupled to the second terminal of the second transistor T2 and the second terminal of the unidirectional conductive device VD. The control terminal of the first transistor T1 is coupled to the second terminal of the resistor R and the first terminal of the third transistor T3. The second terminal of the third transistor T3 is configured to couple to the ground terminal GND, and the control terminal receives a third control signal C3. The negative electrode of the battery 20 is coupled to the ground terminal GND.
[0107] 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, and the control method for the charge-discharge circuit includes:
[0108] When no charging device is connected and the battery voltage is less than or equal to a preset voltage, the first charging circuit is controlled to boost the battery voltage via the first power transmission path to supply power to the load.
[0109] In this embodiment, when no charging device is 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 load will cause unstable load operation. The first charging circuit boosts the battery voltage via the first power transmission path. The boosted voltage can stably supply power to the load to release the remaining power, thereby improving battery utilization.
[0110] In one embodiment, if Figure 2 and Figure 5 As shown, when the charge-discharge circuit further includes a second charging circuit, controlling the first charging circuit to boost the voltage of the battery via the first power transmission path and then supplying power to the load includes:
[0111] S100: Control a first charging circuit to boost the voltage of a battery via a first power transmission path.
[0112] S110 , controlling the second charging circuit to adjust the boosted battery voltage and transmit it to the load.
[0113] In this embodiment, because the first charging circuit boosts the battery voltage via the first power transmission path, the output voltage may be excessive, potentially damaging the load. By controlling the second charging circuit to adjust the boosted battery voltage and deliver it to the load, damage to the load caused by excessive voltage is avoided, thereby improving the reliability of the charging and discharging circuit.
[0114] For example, in step S110 , controlling the second charging circuit to adjust the boosted battery voltage and transmit it to the load may be to step down the boosted battery voltage and transmit it to the load.
[0115] In one embodiment, if Figure 2 As shown, when the charge and discharge circuit further includes an isolation circuit, before controlling the first charging circuit to boost the voltage of the battery through the first power transmission path and then supplying power to the load, the control method of the charge and discharge circuit further includes:
[0116] The control isolation circuit is disconnected.
[0117] In this embodiment, if the battery voltage is boosted before being connected to a charging device, the boosted battery voltage could damage the charging device when the isolation circuit is turned on. By disconnecting the isolation circuit before boosting the battery voltage, the boosted battery voltage cannot be input to the charging device, thereby preventing damage to the charging device and improving the reliability of the charging and discharging circuit.
[0118] In one embodiment, if Figure 3 As shown, when the isolation circuit further includes a first transistor, controlling the isolation circuit to be disconnected includes:
[0119] The first transistor is controlled to be turned off.
[0120] In this embodiment, by controlling the first transistor to be disconnected, the charging device is isolated from the first charging circuit, preventing the boosted battery voltage from damaging the charging device, thereby improving the reliability of the charging and discharging circuit. Simultaneously, the complexity of controlling the charging and discharging circuit is reduced due to the simple control of the first transistor.
[0121] In one embodiment, if Figure 4 As shown, when the charge-discharge circuit further includes a third transistor, controlling the isolation circuit to be disconnected includes:
[0122] The third transistor is controlled to be turned on to turn off the first transistor.
[0123] In this embodiment, by controlling the third transistor to conduct and the first transistor to disconnect, the charging device is isolated from the first charging circuit to prevent damage to the charging device by the boosted battery voltage, thereby improving the reliability of the charging and discharging circuit. Furthermore, the simplicity of controlling the third transistor reduces the complexity of the charging and discharging circuit control.
[0124] In one embodiment, if Figure 2 As shown, when the charge-discharge circuit further includes a second charging circuit, the control method of the charge-discharge circuit further includes:
[0125] When a charging device is connected and the output voltage of the charging device is greater than the output voltage of the first charging circuit, the first charging circuit is controlled to be disconnected, the isolation circuit is controlled to be turned on, and the second charging circuit is controlled to charge the battery.
[0126] In this embodiment, after the charging device is connected, the battery needs to be charged using the charging device. When the output voltage of the charging device is lower than the output voltage of the first charging circuit, if the isolation circuit is turned on, the output voltage of the first charging circuit may damage the charging device. Therefore, when the output voltage of the charging device is higher than the output voltage of the first charging circuit, the battery can be charged using the charging device without damaging the charging device. Since the battery voltage is lower than or equal to the preset voltage, charging the battery using the first charging circuit may cause damage to the battery. The first charging circuit is controlled to be disconnected to increase the service life of the battery. The isolation circuit is controlled to be turned on to charge the battery using the charging device. The second charging circuit is controlled to charge the battery so that the battery power gradually increases, thereby increasing the service life of the battery.
[0127] In one embodiment, the output voltage of the charging device is greater than the output voltage of the first charging circuit, including:
[0128] The output voltage of the charging device is greater than a first preset voltage and the output voltage of the first charging circuit is less than a second preset voltage.
[0129] The first preset voltage is greater than the second preset voltage.
[0130] In this embodiment, the output voltage of the charging device and the output voltage of the first charging circuit are compared with two preset voltages, respectively. This serves as the condition for the output voltage of the charging device to be greater than the output voltage of the first charging circuit. A certain voltage difference exists between the output voltage of the charging device and the output voltage of the first charging circuit. This voltage difference prevents damage to the charging device caused by voltage fluctuations in the output voltage of the first charging circuit, thereby improving the reliability of the charging and discharging circuit.
[0131] Exemplarily, the first preset voltage may be 4.9V, 5V, 5.1V, etc., and the second preset voltage may be 4.6V, 4.7V, 4.8V, etc.
[0132] In one embodiment, if Figure 3 and Figure 6 As shown, the charge-discharge circuit further includes a second transistor. When the isolation circuit includes the first transistor, the control method of the charge-discharge circuit further includes:
[0133] S200 : When a charging device is connected, control the second transistor to be turned on.
[0134] S210: Control the first charging circuit to be disconnected.
[0135] S220 , controlling the first transistor to be turned on.
[0136] In this embodiment, when a charging device is connected, the battery needs to be charged by the charging device. Since the first transistor is in the off state, controlling the second transistor to conduct will not damage the charging device. The first charging circuit is controlled to be disconnected to stop boosting the battery voltage. The first transistor is controlled to be turned on to allow the charging device to charge the battery. Since the first transistor is controlled to be turned on after the first charging circuit is disconnected, the output voltage of the first charging circuit is prevented from damaging the charging device, thereby improving the reliability of the charging and discharging circuit.
[0137] In one embodiment, if Figure 4 and Figure 7 As shown, the charge-discharge circuit further includes a second transistor. When the charge-discharge circuit further includes a third transistor, the control method of the charge-discharge circuit further includes:
[0138] S300: When a charging device is connected, control the second transistor to be turned on.
[0139] S310: Control the first charging circuit to be disconnected.
[0140] S320 , controlling the third transistor to be turned off to turn on the first transistor.
[0141] In this embodiment, when a charging device is connected, the battery needs to be charged through the charging device. Since the first transistor is in the off state, controlling the second transistor to conduct will not damage the charging device. The first charging circuit is controlled to be disconnected to stop boosting the battery voltage. The third transistor is controlled to be disconnected, turning on the first transistor, so that the battery can be charged by the charging device. Since the third transistor is controlled to be disconnected after the first charging circuit is disconnected and the first transistor is turned on, the output voltage of the first charging circuit is prevented from damaging the charging device, thereby improving the reliability of the charging and discharging circuit.
[0142] In an exemplary embodiment, an electronic device is provided, such as a mobile phone, a laptop computer, a tablet computer, a wearable device, etc. The electronic device includes the charging and discharging circuit described above.
[0143] refer to Figure 8As 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 .
[0144] 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 operation, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 402 may include one or more modules to facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
[0145] 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.
[0146] The power supply assembly 406 provides power to the various components of the electronic device 400. The power supply assembly 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.
[0147] 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 touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a 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 can receive external multimedia data. Each front camera module and the rear camera module can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0148] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0149] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0150] 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. The sensor assembly 414 can also detect changes in the position 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 temperature changes 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 a light 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.
[0151] 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.
[0152] 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 method.
[0153] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as memory 404 including instructions. The instructions can be executed by processor 420 of electronic device 400 to perform the above-described method. For example, the non-transitory computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and 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-described embodiment.
[0154] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This 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 not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0155] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This 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 not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0156] 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 can 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, the first charging circuit having a first power transmission path for transmitting power from a first end of the first charging circuit to a second end of the first charging circuit, and a second power transmission path for transmitting power from the second end of the first charging circuit to the first end of the first charging circuit; Among them, the first end of the first charging circuit is used to couple with a battery to charge the battery through the second power transmission path; the second end of the first charging circuit is used to couple with a load to boost the voltage of the battery through the first power transmission path to power the load.
2. The charge and discharge circuit according to claim 1, characterized in that: The charging and discharging circuit further comprises: An isolation circuit, wherein a first end of the isolation circuit is coupled to a second end of the first charging circuit, the second end of the isolation circuit is used to couple to a charging interface, and the isolation circuit is used to control the connection between the charging interface and the first charging circuit.
3. The charge and discharge circuit according to claim 2, characterized in that: The isolation circuit comprises: a first transistor, wherein a first end of the first transistor is used to couple to the charging interface, a second end of the first transistor is coupled to a second end of the first charging circuit, and a control end of the first transistor is used to receive a first control signal; A unidirectional conductive device is coupled in parallel with the first transistor, and is used to prevent the voltage at the second end of the first charging circuit from being input to the charging interface.
4. The charge and discharge circuit according to claim 3, characterized in that: The first transistor is a field effect transistor, and the body diode of the first transistor constitutes the unidirectional conducting device.
5. The charge and discharge circuit according to claim 3, characterized in that: The isolation circuit further comprises: A second transistor, wherein a first end of the second transistor is coupled to a second end of the first charging circuit, a second end of the second transistor is coupled to a second end of the first transistor, and a control end of the second transistor is used to receive a second control signal.
6. The charge and discharge circuit according to claim 5, characterized in that: The control terminal of the second transistor is coupled to the third terminal of the first charging circuit, and the third terminal of the first charging circuit is used to output the second control signal.
7. The charge and discharge circuit according to claim 5, characterized in that: The charging and discharging circuit further comprises: a resistor, the resistor being coupled between a control terminal of the first transistor and a control terminal of the second transistor, so that the second control signal can be input into the control terminal of the first transistor as the first control signal via the resistor; a third transistor, wherein a first end of the third transistor is coupled to the resistor and the control end of the first transistor, a second end of the third transistor is used for coupling to a ground end, and the control end of the third transistor is used for receiving a third control signal so that the signal at the ground end can be input into the control end of the first transistor as the first control signal via the third transistor.
8. The charge and discharge circuit according to any one of claims 1 to 7, characterized in that: The charging and discharging circuit further comprises: A second charging circuit, wherein a first end of the second charging circuit is used to couple with the load, a second end of the second charging circuit is coupled with a second end of the first charging circuit, and the second charging circuit is used to adjust the boosted battery voltage and transmit it to the load.
9. The charge and discharge circuit according to claim 8, characterized in that: The first charging circuit includes a charge pump or a bidirectional DC conversion circuit; and / or, The second charging circuit includes a step-down circuit.
10. A control method for a charge and discharge circuit according to any one of claims 1 to 9, 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 first charging circuit is controlled to boost the voltage of the battery via the first power transmission path to supply power to the load.
11. The control method of the charge and discharge circuit according to claim 10, characterized in that: When the charge-discharge circuit further includes a second charging circuit, controlling the first charging circuit to boost the voltage of the battery through the first power transmission path to supply power to the load includes: controlling the first charging circuit to boost the voltage of the battery via the first power transmission path; The second charging circuit is controlled to adjust the boosted battery voltage and transmit it to the load.
12. The control method of the charge and discharge circuit according to claim 10, characterized in that: When the charging and discharging circuit further includes an isolation circuit, before controlling the first charging circuit to boost the voltage of the battery through the first power transmission path to supply power to the load, the control method of the charging and discharging circuit further includes: The isolation circuit is controlled to be disconnected.
13. The control method of the charge and discharge circuit according to claim 12, characterized in that: When the isolation circuit further includes a first transistor, controlling the isolation circuit to be disconnected comprises: Controlling the first transistor to be disconnected; or, When the charging and discharging circuit further includes a third transistor, the controlling isolation circuit is disconnected, comprising: The third transistor is controlled to be turned on to turn off the first transistor.
14. The control method of the charge and discharge circuit according to claim 12, characterized in that: When the charging and discharging circuit further includes a second charging circuit, the control method of the charging and discharging circuit further includes: When the charging device is connected and the output voltage of the charging device is greater than the output voltage of the first charging circuit, the first charging circuit is controlled to be disconnected, the isolation circuit is controlled to be turned on, and the second charging circuit is controlled to charge the battery.
15. The control method of the charge and discharge circuit according to claim 14, characterized in that: The output voltage of the charging device is greater than the output voltage of the first charging circuit, comprising: The output voltage of the charging device is greater than a first preset voltage and the output voltage of the first charging circuit is less than a second preset voltage; Wherein, the first preset voltage is greater than the second preset voltage.
16. The control method of the charge and discharge circuit according to claim 12, characterized in that: The charge-discharge circuit further includes a second transistor; when the isolation circuit includes the first transistor, the control method of the charge-discharge circuit further includes: When the charging device is connected, controlling the second transistor to be turned on; Controlling the first charging circuit to disconnect; Controlling the first transistor to be turned on; or, When the charge-discharge circuit further includes a third transistor, the control method of the charge-discharge circuit further includes: When the charging device is connected, controlling the second transistor to be turned on; Controlling the first charging circuit to disconnect; The third transistor is controlled to be turned off to turn on the first transistor.
17. An electronic device, characterized in that: The electronic device comprises the charging and discharging circuit according to any one of claims 1 to 9.