Charging and discharging circuit and electronic equipment

By introducing a first voltage conversion circuit and a second voltage conversion circuit into the charging and discharging circuit, the functions of step-down and step-up are realized respectively, which solves the problem of complex charging and discharging circuit structure caused by series-connected batteries and achieves the effects of simplifying the circuit structure and improving power supply reliability.

CN223797929UActive Publication Date: 2026-01-13BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423108279.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2026-01-13
Estimated Expiration
2034-12-16

AI Technical Summary

Technical Problem

Existing charging and discharging circuits have complex structures due to the high voltage of the series-connected battery cells, requiring multiple devices for voltage conversion.

Method used

The charging and discharging circuit design includes a first voltage conversion circuit and a second voltage conversion circuit. The first voltage conversion circuit is used for step-down, and the second voltage conversion circuit is used for step-up. This reduces the number of transistors in the step-up and step-down circuits and uses a charge pump circuit to achieve bidirectional voltage conversion.

Benefits of technology

It reduces the structural complexity of the charging and discharging circuit, improves the reliability and stability of the circuit, and meets the power supply requirements of different loads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223797929U_ABST
    Figure CN223797929U_ABST
Patent Text Reader

Abstract

The utility model relates to a charging and discharging circuit and electronic equipment. The charging and discharging circuit comprises a first voltage conversion circuit, the first end of the first voltage conversion circuit is used for receiving input voltage, and the second end of the first voltage conversion circuit is used for being coupled with a first load; the first end of the second voltage conversion circuit is coupled with the second end of the first voltage conversion circuit and the first load, and the second end of the second voltage conversion circuit is coupled with the second load and the battery; wherein the battery comprises at least two battery cells which are coupled in series; the first voltage conversion circuit is used for reducing input voltage to supply power to a first load, and the second voltage conversion circuit is used for increasing output voltage of the first voltage conversion circuit to supply power to a second load and charge a battery. As only the first voltage conversion circuit is needed to realize a voltage reduction function and the second voltage conversion circuit is used to boost, the number of devices is reduced, and the complexity of the charging and discharging circuit structure is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of charging and discharging technology, and in particular to a charging and discharging circuit and electronic device. Background Technology

[0002] With the development of electronic devices, the power supply voltage required by the loads in these devices has gradually increased. By incorporating batteries with cells connected in series within the electronic device, the higher power supply voltage requirements of the load can be met. However, because the voltage of batteries with cells connected in series is relatively high, the charging and discharging circuit requires numerous components for voltage conversion to charge the battery and supply power to the load, resulting in a complex charging and discharging circuit structure. Utility Model Content

[0003] To overcome the problems existing in related technologies, this disclosure provides a charging and discharging circuit and an electronic device.

[0004] According to a first aspect of this disclosure, a charging and discharging circuit is provided, the charging and discharging circuit comprising:

[0005] A first voltage conversion circuit, wherein a first terminal of the first voltage conversion circuit is used to receive an input voltage, and a second terminal of the first voltage conversion circuit is used to be coupled to a first load;

[0006] The second voltage conversion circuit has a first terminal coupled to the second terminal of the first voltage conversion circuit and the first load, and a second terminal coupled to the second load and the battery.

[0007] The battery includes at least two cells connected in series; the first voltage conversion circuit is used to reduce the input voltage to supply power to the first load, and the second voltage conversion circuit is used to increase the output voltage of the first voltage conversion circuit to supply power to the second load and charge the battery.

[0008] In some embodiments of this disclosure, the first voltage conversion circuit includes a buck circuit.

[0009] In some embodiments of this disclosure, the step-down circuit includes:

[0010] A first switching unit, wherein a first terminal of the first switching unit is used to receive the input voltage;

[0011] The second switching unit has a first end coupled to the second end of the first switching unit, and the second end of the second switching unit is used to be coupled to the ground terminal.

[0012] An inductor, wherein a first end of the inductor is coupled to a second end of both the first switching unit and the second switching unit, and a second end of the inductor is coupled to both the first load and the first end of the second voltage conversion circuit.

[0013] In some embodiments of this disclosure, the step-down circuit further includes:

[0014] A third switching unit is coupled between the second terminal of the inductor and the first terminal of the second voltage conversion circuit.

[0015] In some embodiments of this disclosure, the second voltage conversion circuit includes a charge pump circuit.

[0016] In some embodiments of this disclosure, the charge pump circuit includes:

[0017] The fourth switching unit, wherein the first terminal of the fourth switching unit is coupled to both the battery and the second load;

[0018] The fifth switching unit, wherein the first end of the fifth switching unit is coupled to the second end of the fourth switching unit;

[0019] The sixth switching unit, wherein the first terminal of the sixth switching unit is coupled to the second terminal of the fifth switching unit and the second terminal of the first voltage conversion circuit;

[0020] A seventh switch unit, wherein the first end of the seventh switch unit is coupled to the second end of the sixth switch unit, and the second end of the seventh switch unit is used to be coupled to the ground terminal;

[0021] A first capacitor, the first end of which is coupled to the second end of the fourth switching unit and the first end of the fifth switching unit, and the second end of which is coupled to the second end of the sixth switching unit and the first end of the seventh switching unit.

[0022] The second capacitor has its first end coupled to the second end of the first voltage conversion circuit, the second end of the fifth switching unit, and the first end of the sixth switching unit. The second end of the second capacitor is used to couple to the ground terminal.

[0023] In some embodiments of this disclosure, the voltage ratio of the voltage at the first terminal of the second voltage conversion circuit to the voltage at the second terminal of the second voltage conversion circuit is 1:2; and / or, the operating voltage of the first load is less than the operating voltage of the second load.

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

[0025] The eighth switching unit is coupled between the battery and the second terminal of the second voltage conversion circuit.

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

[0027] The control circuit has a first terminal coupled to the third terminal of the first voltage conversion circuit, and a second terminal coupled to the third terminal of the second voltage conversion circuit.

[0028] In some embodiments of this disclosure, the second voltage conversion circuit is further configured to reduce the voltage of the battery to supply power to the first load.

[0029] According to a second aspect of this disclosure, an electronic device is provided, the electronic device including the charging and discharging circuit described above.

[0030] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0031] The charging / discharging circuit includes a first voltage conversion circuit and a second voltage conversion circuit. The first voltage conversion circuit receives the input voltage and is coupled to both the first load and the second voltage conversion circuit. The second voltage conversion circuit is coupled between the first voltage conversion circuit, the battery, and the second load. Because only the first voltage conversion circuit is needed to perform the step-down function, and the second voltage conversion circuit is used to perform the step-up function, the number of components in the charging / discharging circuit can be reduced while simultaneously charging the battery and supplying power to the first and second loads, thus reducing the complexity of the charging / discharging circuit structure.

[0032] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0034] Figure 1 This is a schematic diagram of a charging and discharging circuit.

[0035] Figure 2 This is a schematic diagram of the structure of a charging and discharging circuit provided in an exemplary embodiment of the present disclosure;

[0036] Figure 3 This is a schematic diagram of the structure of a charging and discharging circuit provided in another exemplary embodiment of this disclosure;

[0037] Figure 4This is a schematic diagram of the structure of a charging and discharging circuit provided in another exemplary embodiment of this disclosure;

[0038] Figure 5 This is a schematic diagram of the structure of a charging and discharging circuit provided in another exemplary embodiment of this disclosure;

[0039] Figure 6 This is a schematic diagram of the structure of a charging and discharging circuit provided in another exemplary embodiment of this disclosure;

[0040] Figure 7 This is a system block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.

[0041] In the picture:

[0042] 1-Controller; 2-High-voltage load; 3-Low-voltage load; 10-First voltage conversion circuit; 20-Second voltage conversion circuit; 30-First load; 40-Second load; 50-First control circuit; 60-Second control circuit; 400-Electronic device; 402-Processing component; 404-Memory; 406-Power supply component; 408-Multimedia component; 410-Audio component; 412-Input / output interface; 414-Sensor component; 416-Communication component; 420-Processor; Q1-First transistor; Q2-Second transistor Q3 - Third transistor; Q4 - Fourth transistor; Q5 - Fifth transistor; Q6 - Sixth transistor; Q7 - Seventh transistor; Q8 - Eighth transistor; Q9 - Ninth transistor; T1 - First switching unit; T2 - Second switching unit; T3 - Third switching unit; T4 - Fourth switching unit; T5 - Fifth switching unit; T6 - Sixth switching unit; T7 - ​​Seventh switching unit; T8 - Eighth switching unit; C1 - First capacitor; C2 - Second capacitor; L - Inductor; Bat - Battery; GND - Ground; Vbus - Input voltage. Detailed Implementation

[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this invention as detailed in the appended claims. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0044] With the development of electronic devices, the power supply voltage required by the loads in these devices has gradually increased. For example, power supply chips for screens and driver chips for speakers require higher power supply voltages to improve their output power and efficiency. By replacing single-cell batteries with multi-cell batteries connected in series in electronic devices, the higher power supply voltage requirements of the loads can be met.

[0045] In related technologies, a charging and discharging circuit is provided, such as... Figure 1As shown, the charging / discharging circuit includes a buck-boost circuit, a charge pump circuit, and a controller 1. The buck-boost circuit includes a first transistor Q1, a second transistor Q2, a third transistor Q3, a fourth transistor Q4, a fifth transistor Q5, and an inductor L. The charge pump circuit includes a sixth transistor Q6, a seventh transistor Q7, an eighth transistor Q8, a ninth transistor Q9, a first capacitor C1, and a second capacitor C2. The first terminal of the first transistor Q1 is coupled to the charging interface to receive the input voltage Vbus. The second terminal of the first transistor Q1 is coupled to the first terminal of the second transistor Q2 and the first terminal of the inductor L. The second terminal of the second transistor Q2 is coupled to the ground terminal GND. The first terminal of the third transistor Q3 is coupled to the second terminal of the inductor L and the first terminal of the fourth transistor Q4. The second terminal of the third transistor Q3 is also coupled to the ground terminal GND. The second terminal of the fourth transistor Q4 is coupled to the first terminals of the fifth transistor Q5, the sixth transistor Q6, and the high-voltage load 2. The second terminal of the fifth transistor Q5 is coupled to the positive terminal of the battery Bat. The negative terminal of the battery Bat is coupled to the ground terminal GND. The second terminal of the sixth transistor Q6 is coupled to the first terminal of the seventh transistor Q7 and the first terminal of the first capacitor C1. The second terminal of the seventh transistor Q7 is coupled to the first terminal of the eighth transistor Q8, the first terminal of the second capacitor C2, and the low-voltage load 3. The second terminal of the eighth transistor Q8 is coupled to the first terminal of the ninth transistor Q9 and the second terminal of the first capacitor C1. The second terminal of the ninth transistor Q9 and the second terminal of the second capacitor C2 are both used to be coupled to the ground terminal GND. The controller 1 is coupled to the control terminals of the first transistor Q1, the second transistor Q2, the third transistor Q3, the fourth transistor Q4, the fifth transistor Q5, the sixth transistor Q6, the seventh transistor Q7, the eighth transistor Q8, and the ninth transistor Q9, as well as the first terminal of the sixth transistor Q6. When the charging device is not charging the battery Bat through the charging interface, the controller 1 controls the first transistor Q1, the second transistor Q2, the third transistor Q3, and the fourth transistor Q4 in the buck-boost circuit to be turned off, and controls the fifth transistor Q5 to be turned on, so that the battery Bat supplies power to the high-voltage load 2. Simultaneously, controller 1 controls the switching on and off of the sixth transistor Q6, seventh transistor Q7, eighth transistor Q8, and ninth transistor Q9 in the charge pump circuit, causing the battery Bat to supply power to the low-voltage load 3 through the charge pump circuit at a reduced voltage. When the charging device charges the battery Bat through the charging interface, if the input voltage Vbus is higher than the supply voltage of the high-voltage load 2 and the charging voltage of the battery Bat, controller 1 controls the third transistor Q3 to turn off, the fourth transistor Q4 and the fifth transistor Q5 to turn on, and controls the first transistor Q1 and the second transistor Q2 to alternately turn on, so as to reduce the input voltage Vbus to charge the battery Bat and supply power to the high-voltage load 2.Simultaneously, controller 1 controls the switching on and off of the sixth transistor Q6, seventh transistor Q7, eighth transistor Q8, and ninth transistor Q9 in the charge pump circuit to reduce the output voltage of the buck-boost circuit to supply power to the low-voltage load 3. When the input voltage Vbus is lower than the supply voltage of the high-voltage load 2 and the charging voltage of the battery Bat, controller 1 controls the first transistor Q1 and the fifth transistor Q5 to turn on, the second transistor Q2 to turn off, and controls the third transistor Q3 and the fourth transistor Q4 to alternately turn on, to increase the input voltage Vbus to charge the battery Bat and supply power to the high-voltage load 2. Simultaneously, controller 1 controls the switching on and off of the sixth transistor Q6, seventh transistor Q7, eighth transistor Q8, and ninth transistor Q9 in the charge pump circuit to reduce the output voltage of the buck-boost circuit to supply power to the low-voltage load 3. However, because the buck-boost circuit needs to perform both boost and buck functions, it has a large number of transistors, resulting in a complex structure for the charging and discharging circuit.

[0046] Based on this, the present disclosure provides a charging and discharging circuit that utilizes the boost function of the second voltage conversion circuit so that the buck-boost circuit does not need to have a boost function, thereby reducing the number of transistors forming the boost circuit in the buck-boost circuit and thus reducing the complexity of the charging and discharging circuit structure.

[0047] An exemplary embodiment of this disclosure provides a charging and discharging circuit, such as Figure 2 As shown, the charging and discharging circuit includes a first voltage conversion circuit 10 and a second voltage conversion circuit 20. The first terminal of the first voltage conversion circuit 10 receives the input voltage Vbus, and the second terminal is coupled to a first load 30. The first terminal of the second voltage conversion circuit 20 is coupled to both the second terminal of the first voltage conversion circuit 10 and the first load 30, and the second terminal is coupled to both a second load 40 and a battery Bat. The battery Bat comprises at least two cells connected in series. The first voltage conversion circuit 10 reduces the input voltage Vbus to supply power to the first load 30, and the second voltage conversion circuit 20 increases the output voltage of the first voltage conversion circuit 10 to supply power to the second load 40 and charge the battery Bat.

[0048] In this embodiment, the charging and discharging circuit includes a first voltage conversion circuit and a second voltage conversion circuit. The first voltage conversion circuit receives the input voltage and is coupled to the first load and the second voltage conversion circuit. The second voltage conversion circuit is coupled between the first voltage conversion circuit, the battery, and the second load. Since only the first voltage conversion circuit needs to perform the step-down function and the second voltage conversion circuit is used to perform the step-up function, the number of components in the charging and discharging circuit can be reduced while charging the battery and supplying power to the first and second loads, thereby reducing the complexity of the charging and discharging circuit structure.

[0049] Exemplarily, the charging and discharging circuit includes a first operating mode and a second operating mode. In the first operating mode, the first voltage conversion circuit 10 reduces the input voltage Vbus to supply power to the first load 30, and the second voltage conversion circuit 20 increases the output voltage of the first voltage conversion circuit 10 to supply power to the second load 40 and charge the battery Bat. In the second operating mode, the second voltage conversion circuit 20 reduces the voltage of the battery Bat to supply power to the first load 30, and the battery Bat also supplies power to the second load 40.

[0050] For example, the first operating mode of the charging and discharging circuit is a charging mode, where the charging device is coupled to the charging interface to provide an input voltage Vbus to the charging and discharging circuit through the charging interface. In this mode, the charging device charges the battery Bat through the charging and discharging circuit, while simultaneously supplying power to the first load 30 and the second load 40. The second operating mode of the charging and discharging circuit is a discharging mode, where the charging device is not coupled to the charging interface, and the charging interface does not receive the input voltage Vbus. In this mode, the battery Bat supplies power to the first load 30 and the second load 40 through the charging and discharging circuit.

[0051] In one embodiment, the first voltage conversion circuit 10 includes a buck circuit.

[0052] In this embodiment, since the buck circuit only has a buck function and not a boost function, the number of components in the buck circuit is small, thereby reducing the complexity of the charging and discharging circuit structure.

[0053] For example, the step-down circuit can be a Buck circuit.

[0054] In one embodiment, such as Figure 3 As shown, the step-down circuit includes a first switching unit T1, a second switching unit T2, and an inductor L. The first terminal of the first switching unit T1 receives the input voltage Vbus. The first terminal of the second switching unit T2 is coupled to the second terminal of the first switching unit T1, and the second terminal of the second switching unit T2 is coupled to the ground terminal GND. The first terminal of the inductor L is coupled to both the second terminals of the first switching unit T1 and the second switching unit T2, and the second terminal of the inductor L is coupled to both the first load 30 and the first terminal of the second voltage conversion circuit 20.

[0055] In this embodiment, the switching on and off of the first and second switching units enables the inductor to charge and discharge. This charging and discharging of the inductor reduces the input voltage, thereby improving the reliability of the charging and discharging circuit. Furthermore, since the buck circuit contains only two transistors, it reduces the number of transistors compared to a buck-boost circuit, thus lowering the complexity of the charging and discharging circuit structure.

[0056] For example, the first switching unit T1 and the second switching unit T2 can be either P-type or N-type field-effect transistors. When both the first switching unit T1 and the second switching unit T2 are N-type field-effect transistors, the drain of the first switching unit T1 is used to receive the input voltage Vbus, and the source of the first switching unit T1 is coupled to both the first terminal of the inductor L and the drain of the second switching unit T2. The source of the second switching unit T2 is coupled to the ground terminal GND.

[0057] In one embodiment, the step-down circuit further includes a third switching unit T3, which is coupled between the second terminal of the inductor L and the first terminal of the second voltage conversion circuit 20.

[0058] In this embodiment, because the battery requires a smaller charging current when the battery voltage is low, a third switching unit can be added to the buck circuit to provide a smaller charging current to the battery, thereby improving the battery's lifespan.

[0059] For example, the first terminal of the third switching unit T3 is coupled to the second terminal of the inductor L, and the second terminal of the third switching unit T3 is coupled to the first terminal of the second voltage conversion circuit 20. The second terminal of the first voltage conversion circuit 10 includes a first sub-terminal and a second sub-terminal. The first sub-terminal of the second terminal of the first voltage conversion circuit 10 is the second terminal of the inductor L, and the second sub-terminal is the second terminal of the third switching unit T3.

[0060] For example, the third switching unit T3 can be a P-type field-effect transistor or an N-type field-effect transistor. When the third switching unit T3 is an N-type field-effect transistor, the drain of the third switching unit T3 is coupled to the second terminal of the inductor L and the first load 30, and the source of the third switching unit T3 is coupled to the first terminal of the second voltage conversion circuit 20.

[0061] In one embodiment, the second voltage conversion circuit 20 includes a charge pump circuit.

[0062] In this embodiment, since the charge pump circuit has high voltage conversion efficiency and can perform bidirectional voltage boosting and deboosting, the output voltage of the first voltage conversion circuit can be increased and the battery voltage can be decreased in different operating modes, thereby improving the reliability of the charging and discharging circuit.

[0063] In one embodiment, such as Figure 4As shown, the charge pump circuit includes a fourth switching unit T4, a fifth switching unit T5, a sixth switching unit T6, a seventh switching unit T7, a first capacitor C1, and a second capacitor C2. The first terminal of the fourth switching unit T4 is coupled to both the battery (Bat) and the second load 40. The first terminal of the fifth switching unit T5 is coupled to the second terminal of the fourth switching unit T4. The first terminal of the sixth switching unit T6 is coupled to both the second terminal of the fifth switching unit T5 and the second terminal of the first voltage conversion circuit 10. The first terminal of the seventh switching unit T7 is coupled to the second terminal of the sixth switching unit T6, and the second terminal of the seventh switching unit T7 is used to couple to the ground terminal GND. The first terminal of the first capacitor C1 is coupled to both the second terminal of the fourth switching unit T4 and the first terminal of the fifth switching unit T5, and the second terminal of the first capacitor C1 is coupled to both the second terminal of the sixth switching unit T6 and the first terminal of the seventh switching unit T7. The first terminal of the second capacitor C2 is coupled to the second terminal of the first voltage conversion circuit 10, the second terminal of the fifth switching unit T5, and the first terminal of the sixth switching unit T6. The second terminal of the second capacitor C2 is used to be coupled to the ground terminal GND.

[0064] In this embodiment, when the charging device is charging the battery, the output voltage of the first voltage conversion circuit can be increased by turning on and off the fourth, fifth, sixth, and seventh switching units to supply power to the second load and charge the battery. When the charging device is not charging the battery, the battery voltage can be decreased by turning on and off the fourth, fifth, sixth, and seventh switching units to supply power to the first load. By using the fourth, fifth, sixth, and seventh switching units, the first capacitor, and the second capacitor to form a charge pump circuit, all components in the charge pump circuit can perform their corresponding functions in different operating modes, thereby reducing the complexity of the charging and discharging circuit structure.

[0065] For example, the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6, and the seventh switching unit T7 can be either P-type field-effect transistors or N-type field-effect transistors. When all four switching units are N-type field-effect transistors, the drain of the fourth switching unit T4 is coupled to both the battery Bat and the second load 40; the source of the fourth switching unit T4 is coupled to both the drain of the fifth switching unit T5 and the first terminal of the first capacitor C1; the source of the fifth switching unit T5 is coupled to the second terminal of the first voltage conversion circuit 10, the drain of the sixth switching unit T6, and the first terminal of the second capacitor C2; the source of the sixth switching unit T6 is coupled to both the drain of the seventh switching unit T7 and the second terminal of the first capacitor C1; and the source of the seventh switching unit T7 is coupled to the ground terminal GND.

[0066] It is understood that the second voltage conversion circuit 20 may include a charge pump circuit or a bidirectional buck-boost circuit, which is not limited here.

[0067] In one embodiment, the voltage ratio of the voltage at the first terminal of the second voltage conversion circuit 20 to the voltage at the second terminal of the second voltage conversion circuit 20 is 1:2.

[0068] In this embodiment, since the battery typically consists of two cells connected in series, the battery voltage is doubled. Therefore, the required charging voltage is doubled when charging the battery. When discharging the battery, the voltage needs to be reduced to half. By setting the voltage ratio of the first terminal and the second terminal of the second voltage conversion circuit to 1:2, reliable charging and discharging of the battery can be achieved, thereby improving the reliability of the charging and discharging circuit.

[0069] In one embodiment, the operating voltage of the first load 30 is lower than the operating voltage of the second load 40.

[0070] In this embodiment, since the operating voltage of the first load is lower than that of the second load, the battery can directly supply power to the second load and needs to step down the voltage before supplying power to the first load. The first voltage conversion circuit can directly supply power to the first load and needs to step up the voltage before supplying power to the second load. Because the charging and discharging circuit can supply power to both the first and second loads with different operating voltages, it can meet the needs of different electronic devices, thereby improving the reliability of the charging and discharging circuit.

[0071] In one embodiment, such as Figure 5 As shown, the charging and discharging circuit also includes an eighth switching unit T8. The eighth switching unit T8 is coupled between the battery Bat and the second terminal of the second voltage conversion circuit 20.

[0072] In this embodiment, when the battery is not fully charged, the eighth switch unit can be turned on to continuously charge the battery. When the battery is fully charged, the eighth switch unit can be turned off to stop charging the battery. When not coupled to a charging device, the battery can supply power to the first and second loads by turning on the eighth switch unit. By setting the eighth switch unit to control the charging and discharging of the battery, overcharging of the battery can be prevented and power supply can be stopped in case of load failure, thereby improving the reliability of the charging and discharging circuit.

[0073] For example, when the charging device is coupled, when the difference between the voltage of the battery Bat and the supply voltage of the second load 40 is greater than a preset value, the battery Bat supplies power to the second load 40 through the eighth switching unit T8.

[0074] For example, when the battery Bat is fully charged, the eighth switch unit T8 is disconnected, and the battery Bat stops charging. The charging device supplies power to the first load 30 and the second load 40 through the first voltage conversion circuit 10 and the second voltage conversion circuit 20, respectively.

[0075] For example, the eighth switching unit T8 can be a P-type field-effect transistor or an N-type field-effect transistor. When the eighth switching unit T8 is an N-type field-effect transistor, the drain of the eighth switching unit T8 is coupled to the second terminal of the second voltage conversion circuit 20, and the source of the eighth switching unit T8 is coupled to the battery Bat.

[0076] In one embodiment, the charging and discharging circuit further includes a control circuit. A first terminal of the control circuit is coupled to a third terminal of the first voltage conversion circuit 10, and a second terminal of the control circuit is coupled to a third terminal of the second voltage conversion circuit 20.

[0077] In this embodiment, by coupling the control circuit to both the first and second voltage conversion circuits, in the first operating mode of the charging / discharging circuit, the control circuit can control the first voltage conversion circuit to perform a step-down function to reduce the voltage of the charging interface to supply power to the first load, and can control the second voltage conversion circuit to perform a step-up function to increase the output voltage of the first voltage conversion circuit to supply power to the second load and charge the battery. In the second operating mode of the charging / discharging circuit, the control circuit controls the first voltage conversion circuit to disconnect, and controls the second voltage conversion circuit to perform a step-down function to reduce the battery voltage to supply power to the first load. By controlling the first and second voltage conversion circuits according to the operating mode of the charging / discharging circuit, the control circuit can effectively charge and discharge the battery, thereby improving the reliability of the charging / discharging circuit.

[0078] For example, the control circuit includes a first control circuit 50 and a second control circuit 60. The first control circuit 50 is coupled to the third terminal of the first voltage conversion circuit 10, and the second control circuit 60 is coupled to the third terminal of the second voltage conversion circuit 20. Since the control circuit includes the first control circuit 50 and the second control circuit 60, it is convenient to integrate the first control circuit 50 with the first voltage conversion circuit 10 and the second control circuit 60 with the second voltage conversion circuit 20.

[0079] For example, the second control circuit 60 is coupled to both the source and drain of the eighth switching unit T8.

[0080] For example, when the charging and discharging circuit includes a first switching unit T1, a second switching unit T2, a third switching unit T3, a fourth switching unit T4, a fifth switching unit T5, a sixth switching unit T6, a seventh switching unit T7, and an eighth switching unit T8, the first control circuit 50 is coupled to the control terminals of the first switching unit T1, the second switching unit T2, and the third switching unit T3, and the second control circuit 60 is coupled to the control terminals of the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6, the seventh switching unit T7, and the eighth switching unit T8.

[0081] In one embodiment, the second voltage conversion circuit 20 is also used to reduce the voltage of the battery Bat to supply power to the first load 30.

[0082] In this embodiment, the second conversion circuit can reduce the battery voltage to the operating voltage of the first load, thereby improving the reliability of power supply to the first load. Moreover, by reusing the second voltage conversion circuit, the boost and buck functions can be implemented separately, eliminating the need for an additional buck circuit in the charging and discharging circuit and reducing the complexity of the charging and discharging circuit structure.

[0083] An exemplary embodiment of this disclosure provides a charging and discharging circuit, such as Figure 6As shown, the charging and discharging circuit includes a first switching unit T1, a second switching unit T2, a third switching unit T3, a fourth switching unit T4, a fifth switching unit T5, a sixth switching unit T6, a seventh switching unit T7, an eighth switching unit T8, an inductor L, a first capacitor C1, a second capacitor C2, a first control circuit 50, and a second control circuit 60. The first terminal of the first switching unit T1 is used to receive the input voltage Vbus, and the second terminal of the first switching unit T1 is coupled to the first terminal of the second switching unit T2 and the first terminal of the inductor L. The second terminal of the second switching unit T2 is coupled to the ground terminal GND. The first terminal of the third switching unit T3 is coupled to the second terminal of the inductor L and the first load 30, and the second terminal of the third switching unit T3 is coupled to the second terminal of the fifth switching unit T5, the first terminal of the sixth switching unit T6, and the first terminal of the second capacitor C2. The first terminal of the fourth switching unit T4 is coupled to the first terminal of the eighth switching unit T8 and the second load 40, and the second terminal of the fourth switching unit T4 is coupled to the first terminal of the fifth switching unit T5 and the first terminal of the first capacitor C1. The second terminal of the sixth switching unit T6 is coupled to the first terminal of the seventh switching unit T7 and the second terminal of the first capacitor C1. The second terminal of the seventh switching unit T7 is coupled to the ground terminal GND. The second terminal of the eighth switching unit T8 is coupled to the first terminal of the battery Bat. The second terminal of the battery Bat and the second terminal of the second capacitor C2 are both coupled to the ground terminal GND. The first control circuit 50 is coupled to the control terminals of the first switching unit T1, the second switching unit T2, and the third switching unit T3. The second control circuit 60 is coupled to the control terminals of the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6, the seventh switching unit T7, and the eighth switching unit T8. The second control circuit 60 is also coupled to both the first and second terminals of the eighth switching unit T8. The battery Bat comprises two cells connected in series.

[0084] When the charging device is coupled to the charging interface and the battery Bat is not fully charged, the first control circuit 50 controls the first switching unit T1 and the second switching unit T2 to turn on and off, reducing the input voltage Vbus to supply power to the first load 30. The second control circuit 60 controls the eighth switching unit T8 to turn on, and controls the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6 and the seventh switching unit T7 to turn on and off, increasing the output voltage of the first voltage conversion circuit 10 to supply power to the second load 40 and charge the battery Bat.

[0085] When the charging device is coupled to the charging interface and the battery Bat is fully charged, the first control circuit 50 controls the switching of the first switching unit T1 and the second switching unit T2 to reduce the input voltage Vbus, thereby supplying power to the first load 30. The second control circuit 60 controls the eighth switching unit T8 to open and controls the switching of the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6, and the seventh switching unit T7 to increase the output voltage of the first voltage conversion circuit 10, thereby supplying power to the second load 40.

[0086] Specifically, when the second control circuit 60 detects that the voltage difference between the second terminal and the first terminal of the eighth switching unit T8 is greater than a preset difference, if the battery Bat is fully charged, the second control circuit 60 turns on the eighth switching unit T8 to supply power to the second load 40. If the battery Bat is not fully charged, the battery Bat also supplies power to the second load 40 through the eighth switching unit T8.

[0087] When the charging device is not coupled to the charging interface, the first control circuit 50 controls the first switching unit T1 and the second switching unit T2 to disconnect. The second control circuit 60 controls the eighth switching unit T8 to conduct, and controlling the conduction and disconnection of the fourth switching unit T4, the fifth switching unit T5, the sixth switching unit T6, and the seventh switching unit T7 can reduce the voltage of the battery Bat to supply power to the first load 30. The battery Bat supplies power to the second load 40 through the eighth switching unit T8.

[0088] An exemplary embodiment of this disclosure provides an electronic device including the charging and discharging circuit described above.

[0089] refer to Figure 7 As shown, the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply 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.

[0090] Processing component 402 typically controls the overall operation of electronic device 400, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.

[0091] Memory 404 is configured to store various types of data to support the operation of electronic device 400. Examples of this data include instructions for any application or method operating on electronic device 400, contact data, phonebook data, messages, pictures, videos, etc. 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 storage, flash memory, magnetic disk, or optical disk.

[0092] Power supply component 406 provides power to various components of electronic device 400. 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 electronic device 400.

[0093] Multimedia component 408 includes a screen that provides an output interface between electronic device 400 and 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera module and / or a rear-facing camera module. When electronic device 400 is in an operating mode, such as shooting mode or video mode, the front-facing camera module and / or rear-facing camera module may receive external multimedia data. Each front-facing camera module and rear-facing camera module may be a fixed optical lens system or have focal length and optical zoom capabilities.

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

[0095] 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, home buttons, volume buttons, power buttons, and lock buttons.

[0096] Sensor assembly 414 includes one or more sensors for providing state assessments of various aspects of electronic device 400. For example, sensor assembly 414 may detect the on / off state of electronic device 400, the relative positioning of components such as the display and keypad of electronic device 400, changes in position of electronic device 400 or a component of electronic device 400, the presence or absence of user contact with electronic device 400, orientation or acceleration / deceleration of electronic device 400, and temperature changes of electronic device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. 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, sensor assembly 414 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0097] Communication component 416 is configured to facilitate wired or wireless communication between electronic device 400 and other terminals. Electronic device 400 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0098] 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.

[0099] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0100] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0101] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the utility models disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0102] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A charge-discharge circuit characterized by comprising: The charging and discharging circuit comprises: a first voltage conversion circuit, a first end of the first voltage conversion circuit being configured to receive an input voltage, and a second end of the first voltage conversion circuit being configured to be coupled with a first load; a second voltage conversion circuit, a first end of the second voltage conversion circuit being coupled with the second end of the first voltage conversion circuit and the first load, and a second end of the second voltage conversion circuit being coupled with a second load and a battery; wherein the battery comprises at least two battery cells coupled in series, the first voltage conversion circuit is configured to reduce the input voltage to supply power to the first load, and the second voltage conversion circuit is configured to increase an output voltage of the first voltage conversion circuit to supply power to the second load and charge the battery.

2. The charge and discharge circuit according to claim 1, characterized by, The first voltage conversion circuit comprises a buck circuit.

3. The charge and discharge circuit according to claim 2, wherein The buck circuit comprises: a first switch unit, a first end of the first switch unit being configured to receive the input voltage; a second switch unit, a first end of the second switch unit being coupled with a second end of the first switch unit, and a second end of the second switch unit being configured to be coupled with a ground terminal; an inductor, a first end of the inductor being coupled with the second end of the first switch unit and the first end of the second switch unit, and a second end of the inductor being coupled with the first load and a first end of the second voltage conversion circuit.

4. The charge and discharge circuit according to claim 3, wherein The buck circuit further comprises: a third switch unit, the third switch unit being coupled between the second end of the inductor and the first end of the second voltage conversion circuit.

5. The charge and discharge circuit according to claim 1, wherein The second voltage conversion circuit comprises a charge pump circuit.

6. The charge and discharge circuit according to claim 5, wherein The charge pump circuit comprises: a fourth switch unit, a first end of the fourth switch unit being coupled with the battery and the second load; a fifth switch unit, a first end of the fifth switch unit being coupled with a second end of the fourth switch unit; a sixth switch unit, a first end of the sixth switch unit being coupled with a second end of the fifth switch unit and the second end of the first voltage conversion circuit; a seventh switch unit, a first end of the seventh switch unit being coupled with a second end of the sixth switch unit, and a second end of the seventh switch unit being configured to be coupled with the ground terminal; a first capacitor, a first end of the first capacitor being coupled with the second end of the fourth switch unit and a first end of the fifth switch unit, and a second end of the first capacitor being coupled with the second end of the sixth switch unit and a first end of the seventh switch unit; a second capacitor, a first end of the second capacitor being coupled with the second end of the first voltage conversion circuit, a second end of the fifth switch unit, and a first end of the sixth switch unit, and a second end of the second capacitor being configured to be coupled with the ground terminal.

7. The charge and discharge circuit according to claim 1, wherein A voltage ratio of a voltage at the first end of the second voltage conversion circuit to a voltage at the second end of the second voltage conversion circuit is 1:2; and / or, a working voltage of the first load is less than a working voltage of the second load.

8. The charge and discharge circuit according to any one of claims 1 to 7, wherein The charging and discharging circuit further comprises: an eighth switch unit, the eighth switch unit being coupled between the battery and the second end of the second voltage conversion circuit.

9. The charge and discharge circuit according to any one of claims 1 to 7, wherein The charging and discharging circuit further comprises: a control circuit, a first end of the control circuit being coupled with a third end of the first voltage conversion circuit, and a second end of the control circuit being coupled with a third end of the second voltage conversion circuit.

10. The charge and discharge circuit according to any one of claims 1 to 7, characterized by, The second voltage conversion circuit is further configured to reduce the voltage of the battery to supply power to the first load.

11. An electronic device, comprising: The electronic device comprises the charging and discharging circuit according to any one of claims 1 to 10.