Power supply circuit and power supply device

The unified power circuit and device integrate a controller, AC-DC converter, and switch circuit to address the compatibility and cost issues of existing charging solutions, enabling dual-direction charging and power supply, thus meeting diverse electronic device needs with a single, adaptable unit.

CN222620702UActive Publication Date: 2025-03-14SHENZHEN LANHE TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420650043.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2025-03-14
Estimated Expiration
2034-03-29

AI Technical Summary

Technical Problem

Current charging solutions, including chargers and portable power sources, are costly and lack compatibility, requiring users to carry both chargers and portable power sources to meet the diverse charging needs of electronic devices, as they are designed for specific voltage outputs and cannot simultaneously charge or power devices during use.

Method used

A unified power circuit and device that integrates a controller, AC-DC converter, and switch circuit, enabling dual-direction charging and power supply through a shared control unit, forming power supply, battery supply, and charging circuits, allowing for adaptable voltage conversion and simultaneous operation as both a charger and power source.

Benefits of technology

This solution provides a cost-effective, highly compatible charging solution that meets various electronic device needs by enabling dual-direction charging and power supply, ensuring reliable operation across different scenarios without the need for multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222620702U_ABST
    Figure CN222620702U_ABST
Patent Text Reader

Abstract

The utility model discloses a power supply circuit and power supply equipment. The power supply circuit comprises a controller, an AC-DC conversion circuit, a buck-boost conversion circuit and a switching circuit. The AC-DC conversion circuit is connected with the controller and is used for converting an AC power supply into a target DC voltage; the buck-boost conversion circuit is connected with the controller and is used for being connected with a battery and performing buck conversion or boost conversion according to a battery charging demand and a battery discharging demand; the AC-DC conversion circuit and the buck-boost conversion circuit are respectively connected with the output end by the switching circuit; the switching circuit comprises a first on-off state in which a power supply loop is formed between the AC-DC conversion circuit and the output end, and a second on-off state in which a battery power supply loop is formed between the buck-boost conversion circuit and the output end. And forming a third on-off state of the battery charging loop between the AC-DC conversion circuit and the buck-boost conversion circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of power supply charging, in particular to a power supply circuit and a power supply device. Background Art

[0002] At present, the main products for charging electronic devices on the market include chargers and mobile power supplies. The charger is connected to the mains power supply, which usually corresponds to the type of electronic device one by one. The mains power supply is converted from AC to DC and stepped down according to the charging voltage required by the corresponding electronic device. The design of matching the charger with the electronic device one by one is costly and has poor compatibility. Mobile power supplies usually have a fixed output voltage of a specified size, and the mobile power supply must ensure that it is fully charged before it can be used. It cannot meet the power supply needs of electronic devices during the charging process. As a result, users often need to carry chargers and mobile power supplies with them when they go out to meet the needs of using electronic devices in different scenarios. Utility Model Content

[0003] In order to solve the existing technical problems, the present application provides an integrated charger and power supply device and a power supply circuit thereof with strong compatibility and lower cost.

[0004] In a first aspect of the present application, a power supply circuit is provided, including a controller, an AC-DC conversion circuit, a buck-boost conversion circuit, and a switch circuit;

[0005] The AC-DC conversion circuit is connected to the controller and is used to convert the AC power supply into a target DC voltage;

[0006] The buck-boost conversion circuit is connected to the controller and is used to connect to the battery and perform buck conversion or boost conversion according to the battery charging requirement and battery discharging requirement;

[0007] The switch circuit connects the AC-DC conversion circuit and the buck-boost conversion circuit to the output end respectively, and the switch circuit includes a first on-off state that forms a power supply circuit between the AC-DC conversion circuit and the output end, a second on-off state that forms a battery power supply circuit between the buck-boost conversion circuit and the output end, and a third on-off state that forms a battery charging circuit between the AC-DC conversion circuit and the buck-boost conversion circuit.

[0008] In a second aspect, a power supply device integrating a charger and a mobile power supply is provided, comprising a housing, a battery disposed in the housing, and a power supply circuit as described in any embodiment of the present application;

[0009] The housing is provided with an output interface corresponding to the output end, and the type of the output interface includes a type-C interface.

[0010] The power supply circuit provided in the above embodiment includes a controller, an AC / DC conversion circuit, a buck-boost conversion circuit and a switch circuit. The AC / DC conversion circuit and the buck-boost conversion circuit are respectively connected to the output end through the switch circuit. The switch circuit includes a first on-off state of forming a power supply circuit between the AC / DC conversion circuit and the output end, a second on-off state of forming a battery power supply circuit between the buck-boost conversion circuit and the output end, and a third on-off state of forming a battery charging circuit between the AC / DC conversion circuit and the buck-boost conversion circuit. The power supply circuit, the battery power supply circuit and the battery charging circuit are formed by sharing the controller and the switch circuit. The buck-boost conversion circuit can perform buck conversion or boost conversion in different scenarios of forming the battery power supply circuit and the battery charging circuit, so that the battery can complete the charging and discharging process in both directions, thereby realizing the two-in-one function of the charger and the mobile power supply at the same time. While outputting voltage to the outside as a charger, the battery can be charged according to the battery charging demand to ensure that the power demand of electronic equipment in various application scenarios can be met.

[0011] The power supply device integrating a charger and a mobile power supply provided in the above-mentioned embodiments has the same technical concept as the corresponding power supply circuit embodiments, and thus has at least the same technical effect as each power supply circuit embodiment, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 4 is a principle block diagram of a power supply circuit in one embodiment.

[0013] Figure 2 FIG. 4 is a circuit diagram of a controller in one embodiment.

[0014] Figure 3 FIG. 4 is a circuit diagram of a buck-boost converter circuit and a switch circuit in an embodiment.

[0015] Figure 4 FIG. 4 is a circuit diagram of an AC-DC conversion circuit in an embodiment. DETAILED DESCRIPTION

[0016] The technical solution of the utility model is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification.

[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the technical field of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the implementation of the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0018] In the description of the present invention, it should be understood that the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0019] It should be noted that in the following description, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this utility model can be understood according to specific circumstances.

[0020] In the following description, the expression "some embodiments" is involved, which describes a subset of all possible embodiments. It should be noted that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.

[0021] In the following description, the terms "first, second, third" are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first, second, third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0022] See also Figure 1 , a power supply circuit provided in an embodiment of the present application, includes a controller 10, an AC / DC conversion circuit 11, a buck-boost conversion circuit 12, and a switch circuit 13. The AC / DC conversion circuit 11 is connected to the controller 10, and is used to convert the AC power supply into a target DC voltage; the buck-boost conversion circuit 12 is connected to the controller 10, and is used to connect to the battery, and perform buck conversion or boost conversion according to the battery charging demand and the battery discharging demand. The switch circuit 13 connects the AC / DC conversion circuit 11 and the buck-boost conversion circuit 12 to the output terminal 15, respectively. The switch circuit 13 includes a first on-off state that forms a power supply circuit between the AC / DC conversion circuit 11 and the output terminal 15, a second on-off state that forms a battery power supply circuit between the buck-boost conversion circuit 12 and the output terminal 15, and a third on-off state that forms a battery charging circuit between the AC / DC conversion circuit 11 and the buck-boost conversion circuit 12.

[0023] Among them, the AC power source refers to the mains power source. When the power circuit is connected to the mains and used as a charger, the AC-DC conversion circuit 11 converts the AC mains into DC, and converts it into the target DC voltage according to the output voltage required by the output terminal 15, that is, the voltage required by the electronic device connected to the output terminal 15. The buck-boost conversion circuit 12 is arranged on the side of the battery control circuit, and mainly completes the boost conversion or buck conversion between DC and DC, so as to convert the battery output into the output voltage required by the output terminal 15, that is, the target DC output of the voltage required by the electronic device connected to the output terminal 15, through boosting in the battery power supply circuit, and convert the output voltage of the AC-DC conversion circuit 11 into the charging voltage required by the battery during the charging process in the battery charging circuit. The switch circuit 13 may include the on-off state of a multi-way switch device to switch the conduction or disconnection between the AC-DC conversion circuit 11 and the output terminal 15, and switch the conduction or disconnection between the buck-boost conversion circuit 12 and the output terminal 15 to form each corresponding loop, and the switch device may include a transistor, a field effect transistor, etc.

[0024] In the above embodiment, the power supply circuit forms a power supply circuit, a battery power supply circuit and a battery charging circuit through a common controller 10 and a switch circuit 13. The buck-boost conversion circuit 12 can perform buck conversion or boost conversion in different scenarios of forming a battery power supply circuit and a battery charging circuit, so that the battery can complete the charging and discharging process in both directions, thereby realizing the two-in-one function of a charger and a mobile power supply at the same time. While outputting voltage to the outside as a charger, the battery can be charged according to the battery charging requirements to ensure that the power requirements of electronic equipment in various application scenarios can be met.

[0025] Please refer to Figure 2 In some embodiments, the output terminal 15 includes a first output terminal C1 and a second output terminal C2; the controller 10 includes a device detection terminal, which detects a detection signal that the first output terminal C1 and / or the second output terminal C2 are connected to an electronic device, and controls the AC-DC conversion circuit 11 to output a matching power supply output voltage according to the detection signal when the power supply is powered, and controls the buck-boost conversion circuit 12 to output a matching power supply output voltage according to the detection signal when the battery is powered. In this embodiment, the device detection terminal includes detection terminals C1 EN2 and V C1 corresponding to whether the first output terminal C1 is connected to an electronic device; detection terminals C2 EN2 and V C2 corresponding to whether the second output terminal C2 is connected to an electronic device; and port protocol detection terminals DP1 and DM1 for detecting the charging protocol of the electronic device, so as to respectively obtain charging detection signals such as whether the first output terminal C1 or the second output terminal C2 is connected to an electronic device and the device charging protocol.

[0026] The power supply state refers to the state of being connected to the mains power supply. Optionally, the controller 10 includes a mains detection terminal ACIN, which detects whether the mains detection terminal AC IN is connected to the mains power supply and determines the current power supply state. The controller 10 determines whether there is AC mains input according to whether there is AC mains input at the mains detection terminal AC IN, and confirms the power supply state. When the first output terminal C1 and / or the second output terminal C2 have a power demand of the electronic device, it is confirmed that it is in the battery-powered state. The first output terminal C1 and the second output terminal C2 can output output voltages of different sizes according to different charging protocols supported by the corresponding connected electronic devices. For example, in the fast charging mode, the output voltage is a relatively high first output voltage, and in the slow charging mode, the output voltage is a relatively low second output voltage. If only one of the first output terminal C1 and the second output terminal C2 is connected to an electronic device and the electronic device supports the fast charging protocol, the corresponding output terminal connected to the electronic device outputs the first output voltage, or if the electronic devices respectively connected to the first output terminal C1 and the second output terminal C2 both support the fast charging protocol, the first output terminal C1 and the second output terminal C2 both output the first output voltage. For another example, if only one of the first output terminal C1 and the second output terminal C2 is connected to an electronic device and the electronic device supports the slow charging protocol, the corresponding output terminal connected to the electronic device outputs the second output voltage, or if the electronic devices respectively connected to the first output terminal C1 and the second output terminal C2 both support the slow charging protocol, the first output terminal C1 and the second output terminal C2 both output the second output voltage. This can be used to meet the needs of electronic devices with different power requirements, so as to further improve the application performance of the power supply circuit.

[0027] Optionally, the first output terminal C1 and the second output terminal C2 respectively generate a fast charge detection signal or a slow charge detection signal according to the type of charging protocol supported by the corresponding electronic device connected thereto, for example, when the first output terminal C1 and / or the second output terminal is connected to an electronic device supporting the fast charge protocol, a fast charge detection signal is generated accordingly, and when the first output terminal C1 and / or the second output terminal C2 is connected to an electronic device supporting the slow charge protocol, a slow charge detection signal is generated accordingly; the controller 10 controls the AC-DC conversion circuit 11 or the buck-boost conversion circuit 12 according to the current state of power supply or battery power supply and the fast charge detection signal. The corresponding output terminal (i.e., the first output terminal C1 and / or the second output terminal C2 of the electronic device currently connected to the fast charging protocol) outputs the first output voltage; according to the slow charging detection signal, the AC-DC conversion circuit 11 or the buck-boost conversion circuit 12 is controlled to output the second output voltage through the corresponding output terminal (i.e., the first output terminal C1 and / or the second output terminal C2 of the electronic device supporting the slow charging protocol is connected); and according to the fast charging detection signal and the slow charging detection signal, the AC-DC conversion circuit 11 or the buck-boost conversion circuit 12 is controlled to output the second output voltage through the first output terminal C1 and the second output terminal C2. In this embodiment, the first output terminal C1 and the second output terminal C2 can be used as fast charging output terminals or slow charging output terminals in different charging modes. Here, the first and the second do not represent a limitation on the number of output terminals 15, that is, the number of the first output terminal C1 and the second output terminal C2 can also include multiple ones, which is not limited here. The controller 10 detects through the device detection end whether the first output terminal C1 and the second output terminal C2 are connected to an electronic device and the type of charging protocol supported by the connected electronic device, and accordingly obtains a separate fast charging detection signal, a separate slow charging detection signal, or both a fast charging detection signal and a slow charging detection signal.

[0028] In the state of AC power supply, the controller 10 controls the corresponding output of the AC-DC conversion circuit 11, specifically, outputs the fast charge voltage through the corresponding output terminal according to a separate fast charge detection signal, outputs the slow charge voltage through the corresponding output terminal according to a separate slow charge detection signal, and outputs the slow charge voltage through the first output terminal C1 and the second output terminal C2 simultaneously according to the simultaneous fast charge detection signal and the slow charge detection signal. In the state of battery power supply, the controller 10 controls the corresponding output of the buck-boost conversion circuit 12, specifically, outputs the fast charge voltage through the corresponding output terminal according to a separate fast charge detection signal, outputs the slow charge voltage through the corresponding output terminal according to a separate slow charge detection signal, and outputs the slow charge voltage through the first output terminal C1 and the second output terminal C2 simultaneously according to the simultaneous fast charge detection signal and the slow charge detection signal. In the case where the first output terminal C1 and the second output terminal C2 are simultaneously connected to electronic devices, and the electronic devices support the fast charge protocol and the slow charge protocol respectively, the simultaneous output of the slow charge voltage shall prevail, so as to ensure the power safety of the electronic device supporting the slow charge protocol.

[0029] Please refer to Figure 3 In some embodiments, the switch circuit 13 includes two groups of first switches S1 connected to the first output terminal C1 and two groups of second switches S2 connected to the second output terminal C2; one of the first switches S1 is connected to the AC-DC conversion circuit 11, and the other is connected to the buck-boost conversion circuit 12; one of the second switches S2 is connected to the AC-DC conversion circuit 11, and the other is connected to the buck-boost conversion circuit 12. In the state of AC power supply, the AC-DC conversion circuit 11 is the output of the AC power supply, and in the state of battery power supply, the AC-DC conversion circuit 11 is the output of the battery. The first switch S1 refers to a switch for controlling the on-off state between the AC power supply and the battery and the first output terminal C1, and the second switch S2 refers to a switch for controlling the on-off state between the AC power supply and the battery and the second output terminal C2. Among them, the first switch S1 and the second switch S2 refer to the switch types that respectively control the on-off status between the AC-DC conversion circuit 11 and the buck-boost conversion circuit 12 and the corresponding first output terminal C1 and second output terminal C2. Here, the first and the second do not represent a limitation on the number of switches, that is, the number of the first switch S1 and the second switch S2 can also include multiple ones, which is not limited here.

[0030] In some embodiments, the buck-boost conversion circuit 12 includes a charging management circuit 121; the controller 10 includes a battery detection terminal, which detects the battery charging demand. When the power supply is connected to the mains, the charging management circuit 121 is controlled to buck the output voltage of the AC-DC conversion circuit 11 and output the charging output voltage to the battery. The battery detection terminal can detect the remaining battery power in real time. When the remaining battery power is detected to be lower than the preset value when the power supply is connected to the mains, the battery charging demand is obtained. At this time, the AC-DC conversion circuit 11 is the output of the mains power supply, and the switch circuit 13 is connected to the buck-boost conversion circuit 12 to form a battery power supply circuit. The buck-boost conversion circuit 12 is used to convert the output of the AC-DC conversion circuit 11 into the charging voltage required by the battery. It should be noted that the charging management circuit 121 here can be selected from various known battery charging pipeline circuits to realize charging management functions such as battery charging protection and overvoltage detection. Optionally, the charging management circuit 121 includes a charging management controller with a reverse boost discharge function. In this embodiment, the charging management controller is a synchronous charging control chip with a reverse boost discharge function of model SC8934.

[0031] Optionally, in the battery-powered state, the controller 10 determines the battery discharge demand based on the state of the output terminal 15 being connected to the electronic device, controls the charging management circuit 121 to perform a step-up conversion on the battery output voltage to obtain the output voltage of the required magnitude, and outputs it through the output terminal 15. The AC IN detection terminal can detect whether the AC power supply is connected, and the device detection terminal can detect whether the output terminal 15 is connected to the electronic device. When the AC power supply is not connected and the output terminal 15 is connected to the electronic device, it can be determined that there is a battery discharge demand at present. The step-up / step-down conversion circuit 12 is connected to the output terminal 15 through the switch circuit 13 to form a battery discharge loop, and the DC power output by the battery is stepped up and converted by the step-up / step-down conversion circuit 12 to obtain the output voltage required by the output terminal 15. In this way, the switch circuit 13 is connected between the buck-boost conversion circuit 12 and the AC-DC conversion circuit 11, and the buck-boost conversion circuit 12 is designed with a boost discharge function. Through the on-off state of the switch circuit 13, a power supply circuit that can be used as a charger in different power usage scenarios of the electronic device, a battery power supply circuit used as a mobile power supply, and a battery charging circuit for intelligent charging management of the mobile power supply are formed. The purpose of one charge for multiple uses is achieved through the reuse of the controller 10, the switch circuit 13, and the buck-boost conversion circuit 12. The cost is low and the compatibility is strong, which greatly improves the flexibility and reliability of meeting the power usage scenarios of various electronic equipment.

[0032] Please refer to Figure 4In some embodiments, the AC-DC conversion circuit 11 includes a voltage converter T1, a rectifier filter circuit 113 and a PWM control circuit 114 connected to the voltage converter T1, and a feedback detection circuit 115; the controller 10 includes a feedback control terminal ACDC FB, and the feedback detection circuit 115 is used to sample the current output voltage of the rectifier filter circuit 113 to form a feedback signal and output it to the controller 10. The controller 10 outputs a voltage control adjustment signal to the PWM control circuit 114 through the feedback control terminal ACDC FB according to the feedback signal, and controls the PWM control circuit 114 to synchronously adjust the output voltage Vout of the rectifier filter circuit 113 according to the voltage control adjustment signal. Among them, the PWM control circuit 114 can control the duty cycle of the PWM signal according to the size of the voltage required by the output terminal 15, so as to adjust the output voltage of the required size, and output it to the output terminal 15 through the rectifier filter circuit 113. The controller 10 includes a feedback control terminal ACDC FB. The AC-DC conversion circuit 11 samples the current output voltage through the feedback detection circuit 115 to form a feedback signal and send it to the controller 10. The controller 10 determines the deviation between the real-time output voltage and the voltage required by the output terminal 15 according to the feedback signal, and then outputs a voltage control adjustment signal to the PWM control circuit 114 through the feedback control terminal ACDC FB, so that the PWM control circuit 114 can adjust according to the voltage control adjustment signal, eliminate the deviation between the real-time output voltage Vout and the voltage required by the output terminal 15, and ensure the accuracy of the output voltage.

[0033] On the other hand, the embodiment of the present application further provides a power supply device integrating a charger and a mobile power supply, including a housing, a battery disposed in the housing, and a power supply circuit of any embodiment of the present application; the housing is provided with an output interface corresponding to the output terminal 15, and the type of the output interface includes a type-C interface. Among them, the output interface can also include a common standard interface type, which is not limited by the present application.

[0034] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A power supply circuit, characterized in that: It includes a controller, an AC-DC conversion circuit, a buck-boost conversion circuit and a switch circuit; The AC-DC conversion circuit is connected to the controller and is used to convert the AC power supply into a target DC voltage; The buck-boost conversion circuit is connected to the controller and is used to connect to the battery and perform buck conversion or boost conversion according to the battery charging requirement and battery discharging requirement; The switch circuit connects the AC-DC conversion circuit and the buck-boost conversion circuit to the output end respectively, and the switch circuit includes a first on-off state that forms a power supply circuit between the AC-DC conversion circuit and the output end, a second on-off state that forms a battery power supply circuit between the buck-boost conversion circuit and the output end, and a third on-off state that forms a battery charging circuit between the AC-DC conversion circuit and the buck-boost conversion circuit.

2. The power supply circuit according to claim 1, characterized in that The output end includes a first output end and a second output end; The controller includes a device detection end, which detects a detection signal that the first output end and / or the second output end is connected to an electronic device, and controls the AC-DC conversion circuit to output a matching power supply output voltage according to the detection signal when powered by a power supply, and controls the buck-boost conversion circuit to output a matching power supply output voltage according to the detection signal when powered by a battery.

3. The power supply circuit according to claim 2, characterized in that: When the first output end and / or the second output end is connected to an electronic device supporting the fast charging protocol, a fast charging detection signal is generated accordingly; when the first output end and / or the second output end is connected to an electronic device supporting the slow charging protocol, a slow charging detection signal is generated accordingly; The controller controls the AC-DC conversion circuit or the buck-boost conversion circuit to output the first output voltage through the corresponding output terminal according to the current state of power supply or battery power supply and the fast charging detection signal; and controls the AC-DC conversion circuit or the buck-boost conversion circuit to output the second output voltage through the corresponding output terminal according to the slow charging detection signal.

4. The power supply circuit according to claim 3, characterized in that: According to the fast charge detection signal and the slow charge detection signal, the AC-DC conversion circuit or the buck-boost conversion circuit is controlled accordingly to output a second output voltage through both the first output terminal and the second output terminal; the first output voltage is greater than the second output voltage.

5. The power supply circuit according to claim 1, characterized in that: The controller comprises a mains power detection terminal, which detects whether the mains power detection terminal is connected to a mains power source to determine a current power supply status.

6. The power supply circuit according to claim 2, characterized in that: The switch circuit comprises two groups of first switches connected to the first output terminal, one of the first switches is connected to the AC-DC conversion circuit, and the other is connected to the buck-boost conversion circuit; and / or, The switch circuit includes two groups of second switches connected to the second output end, one of the second switches is connected to the AC-DC conversion circuit, and the other is connected to the buck-boost conversion circuit.

7. The power supply circuit according to claim 1, characterized in that: The buck-boost conversion circuit includes a charging management circuit; The controller includes a battery detection terminal for detecting the battery charging demand and, when powered by a power supply, controlling the charging management circuit to step down the output voltage of the AC-DC conversion circuit and output a charging output voltage to the battery.

8. The power supply circuit according to claim 7, characterized in that: When the battery is powered, the controller determines the battery discharge requirement based on the state of the output terminal being connected to the electronic device, controls the charging management circuit to boost the battery output voltage to obtain the output voltage of the required magnitude, and outputs it through the output terminal.

9. The power supply circuit according to claim 7, characterized in that: The charging management circuit includes a charging management controller with a reverse boost discharge function.

10. The power supply circuit according to claim 1, wherein: The AC-DC conversion circuit includes a voltage converter, a rectifier filter circuit and a PWM control circuit connected to the voltage converter, and a feedback detection circuit; The controller includes a feedback control terminal, and the feedback detection circuit is used to sample the current output voltage of the rectifier and filter circuit to form a feedback signal and output it to the controller. The controller outputs a voltage control adjustment signal to the PWM control circuit through the feedback control terminal according to the feedback signal, and controls the PWM control circuit to synchronously adjust the output voltage of the rectifier and filter circuit according to the voltage control adjustment signal.

11. A power supply device, characterized in that: A device comprising a housing, a battery arranged in the housing, and a power supply circuit as claimed in any one of claims 1 to 10; The housing is provided with an output interface corresponding to the output end, and the type of the output interface includes a type-C interface.