Controller for power supply circuit, and power supply module and electronic device

By introducing a voltage regulator circuit and a detection module into the power supply circuit, and using the switching between the first and second power supply circuits to control the load switch, the problem of repeated restarts during low-current charging of the adapter is solved, thereby improving cost-effectiveness and user experience.

WO2026031484A1PCT designated stage Publication Date: 2026-02-12HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/073006
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-05
Filing Date
2025-01-17
Publication Date
2026-02-12

AI Technical Summary

Technical Problem

Existing adapters cause repeated device restarts during low-current charging due to the load switch repeatedly opening and closing, affecting user experience. Furthermore, improving current sampling accuracy or increasing resistance loss will increase hardware costs or reduce efficiency.

Method used

By introducing a voltage regulator circuit and a detection module into the power supply circuit, the first power supply circuit can be used to turn off the load switch when the power supply is low current, and the second power supply circuit can be used to turn on the load switch when the power supply is high current, thereby achieving stable control of the load switch and avoiding repeated on/off switching.

Benefits of technology

It reduces hardware costs, avoids repeated on/off switching of load switches, improves user experience, and does not increase board space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025073006_12022026_PF_FP_ABST
    Figure CN2025073006_12022026_PF_FP_ABST
Patent Text Reader

Abstract

A controller applied to a power supply circuit. A detection module of the controller (114) is used for detecting whether a load device is connected to the power supply circuit; a control module is used for: when the detection module detects that the load device has been connected and it is necessary to supply power to the load device in a first mode, controlling a load switch to be in an off state, and supplying power to the load device by means of a first power supply loop; and the control module is further used for: when the detection module detects that the load device has been connected and it is necessary to perform current-based power supply in a second mode, controlling the load switch to be in an on state, so as to supply power to the load device by means of a second power supply loop, wherein the power supply current in the first mode is less than the power supply current in the second mode. In the present application, there is no need to turn on a load switch during low-current power supply, such that the load switch is not repeatedly turned on and off.
Need to check novelty before this filing date? Find Prior Art

Description

Controller of power supply circuit, power supply module and electronic device

[0001] The present application claims priority to the Chinese Patent Application No. 202411070377.4, filed on August 5, 2024, and entitled "Controller of power supply circuit, power supply module and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the field of power electronics, in particular to a controller of a power supply circuit, a power supply module and an electronic device. BACKGROUND

[0003] The adapter can determine whether the device is fully charged by outputting current. When the electric device is in a small current (e.g., less than 20 mA), the charging device considers that the charging is completed, and the load switch is closed. After the load switch is closed, the device is still in a small current state, which triggers another plug-in detection function of the charger (the logic of the plug-in detection is that the load switch is opened when the device is plugged in), which causes the device to restart repeatedly, and some products have a charging prompt sound, which reduces the user experience. SUMMARY

[0004] In a first aspect, the present application provides a controller applied to a power supply circuit, the power supply circuit comprising a load switch located at a load side, the controller comprising: a voltage stabilizing circuit, a detection module and a control module; the load side comprises a secondary side of a transformer, the secondary side passes through the voltage stabilizing circuit and the load switch to form a first power supply loop and a second power supply loop; wherein the detection module is configured to detect whether the power supply circuit is connected with a load device; the control module is configured to control the load switch to be in a closed state when the detection module detects that the load device is connected and needs to be supplied with power in a first mode, and supply power to the load device through the first power supply loop; the control module is further configured to control the load switch to be in an open state when the detection module detects that the load device is connected and needs to be supplied with power in a second mode, so as to supply power to the load device through the second power supply loop; the first mode of power supply current is less than the second mode of power supply current.

[0005] In the present application, during the process of small current power supply, the load switch of the secondary side is maintained in a closed state, and the voltage stabilizing circuit in the controller is used for power supply; during the process of large current power supply, the load switch of the secondary side is maintained in an open state, and the power supply loop in which the load switch is located is used for power supply, so that the load switch does not need to be opened during small current power supply, and the load switch will not be repeatedly opened and closed.

[0006] And, in the implementation process, it does not depend on the accuracy of the comparator, and can be realized by a two-flow device, thereby reducing the cost, and can use the voltage stabilizing circuit device of the original plug detection circuit, without increasing the board area.

[0007] In a possible implementation, the control module is further configured to disconnect the power supply of the first power supply circuit when the detection module detects that the load device is not connected.

[0008] In a possible implementation, the control module is further configured to control the load switch to be in an off state when the detection module detects that the load device is not connected.

[0009] In a possible implementation, the controller further includes a control switch, and the control switch is connected to the first power supply circuit.

[0010] The control module is specifically configured to control the opening and closing of the control switch to disconnect the first power supply circuit or supply power to the load device through the first power supply circuit.

[0011] In a possible implementation, the detection module is configured to detect whether the power supply circuit is connected to the load device in the following manner: whether there is a parasitic capacitance at the output of the load side, whether the current value or voltage value of the output of the load side meets a preset condition, whether there is physical insertion or extraction at the output of the load side, or optical or Q value-based detection.

[0012] In a possible implementation, the control module is specifically configured to: when the load device is switched from being supplied with power in the second mode to being supplied with power in the first mode, control the load switch to be switched from being on to being off, and maintain the first power supply circuit to be on, so as to supply power to the load device through the first power supply circuit.

[0013] In a possible implementation, the control module is specifically configured to: when the load device is switched from being supplied with power in the first mode to being supplied with power in the second mode, control the load switch to be switched from being off to being on, maintain the first power supply circuit to be on, and supply power to the load device through the second power supply circuit.

[0014] In a possible implementation, the control module is specifically configured to: when it is detected that the load device is disconnected from the power supply circuit, control the load switch to be in an off state; and when the output voltage of the load side is reduced to zero, disconnect the first power supply circuit.

[0015] In a possible implementation, the control module is further configured to determine whether the load device needs to be supplied with current in the first mode or the second mode according to the size of the current flowing through the load switch. For example, whether the load device needs to be supplied with current in the first mode or the second mode can be determined by detecting the current flowing through a resistor connected in series with the load switch. For example, when the current flowing through the load switch is less than a threshold value, it can be determined that the load device needs to be supplied with current in the first mode; when the current flowing through the load switch is greater than the threshold value, it can be determined that the load device needs to be supplied with current in the second mode.

[0016] In a second aspect, the present application provides a control method, the method comprising:

[0017] detecting whether the power supply circuit is connected with a load device;

[0018] when the detection module detects that the load device has been connected and needs to be supplied with power in the first mode, controlling the load switch to be in an off state and supplying the load device with power through the first power supply loop;

[0019] when the detection module detects that the load device has been connected and needs to be supplied with current in the second mode, controlling the load switch to be in an on state so as to supply the load device with power through the second power supply loop;

[0020] the power supply current in the first mode is less than the power supply current in the second mode.

[0021] In a possible implementation, the method further comprises:

[0022] when the detection module detects that the load device has not been connected, disconnecting the power supply of the first power supply loop.

[0023] In a possible implementation, the method further comprises:

[0024] when the detection module detects that the load device has not been connected, controlling the load switch to be in an off state.

[0025] In a possible implementation, the detection of whether the power supply circuit is connected with a load device comprises:

[0026] whether the load side output has a parasitic capacitance, whether the current or voltage value of the load side output meets a preset condition, whether the load side output has a physical insertion or extraction, or optical or Q value-based detection.

[0027] whether the load side output has a parasitic capacitance, whether the current or voltage value of the load side output meets a preset condition, whether the load side output has a physical insertion or extraction, or optical or Q value-based detection.

[0028] In a possible implementation, the method further includes:

[0029] controlling the load switch to switch from an on state to an off state when the load device is switched from the power supply of the first mode to the power supply of the second mode, maintaining the first power supply loop in an on state, and supplying power to the load device through the second power supply loop.

[0030] In a possible implementation, the method further includes:

[0031] controlling the load switch to switch from an off state to an on state when the load device is switched from the power supply of the first mode to the power supply of the second mode, maintaining the first power supply loop in an on state, and supplying power to the load device through the second power supply loop.

[0032] In a possible implementation, the method further includes:

[0033] controlling the load switch to be in an off state when the load device is disconnected from the power supply circuit;

[0034] turning off the first power supply loop when the output voltage on the load side is reduced to zero.

[0035] In a possible implementation, the method further includes: determining whether the load device needs to be supplied with current power in the first mode or the second mode according to the size of the current flowing through the load switch.

[0036] In a third aspect, the present application provides a power supply module, including a power supply circuit and the controller of the power supply circuit according to any one of the first aspect.

[0037] The power supply circuit includes a load switch on a load side, and the load side includes a secondary side of a transformer, and the secondary side passes through the voltage stabilizing circuit and the load switch to form a first power supply loop and a second power supply loop.

[0038] In a fourth aspect, the present application provides an electronic device including the controller of the power supply circuit according to any one of the first aspect.

[0039] In a fifth aspect, the present application provides an electronic device including the power supply module according to any one of the third aspect. BRIEF DESCRIPTION OF DRAWINGS

[0040] FIG. 1 is a schematic diagram of an electronic device according to the present application;

[0041] FIG. 2 is another schematic diagram of an electronic device according to the present application;

[0042] FIG. 3 is a schematic diagram of a power module according to an embodiment of the present application;

[0043] FIG. 4 is a schematic diagram of a power module according to an embodiment of the present application;

[0044] FIG. 5 is a schematic diagram of a power module according to an embodiment of the present application;

[0045] FIG. 6 is a schematic diagram of a power module according to an embodiment of the present application;

[0046] FIG. 7 and FIG. 8 are schematic diagrams of a circuit structure of a controller of a power supply circuit;

[0047] FIG. 9 is a schematic diagram of a control method. DETAILED DESCRIPTION

[0048] The embodiments of the present application will be described below in conjunction with the accompanying drawings. The terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0049] The embodiments of the present application will be described below in conjunction with the accompanying drawings. The terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0050] The terms "first", "second", and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a sequence. It should be understood that the terms used in this way can be interchanged, and this is only a way of distinguishing the objects with the same attributes in the description of the embodiments of the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that the processes, methods, systems, products or equipment containing a series of units do not have to be limited to those units, but can include other units not clearly listed or inherent to these processes, methods, products or equipment.

[0051] The terms "substantially," "about," and similar terms as used herein are taken to mean the inherent variation in a manufacturing or measuring process, or device, and / or apparatus that is expected by persons having ordinary skill in the art, to which the disclosure pertains, to be within the scope of practice of the disclosure. Further, the term "may" as used herein means one or more instances of "may" and "may." The terms "use," "using," and "used" as used herein can be taken in their broadest context as synonyms for the terms "utilize," "utilizing," and "utilized." Additionally, the term "exemplary" is intended to mean an example or an illustration.

[0052] FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 1, the electronic device 10 includes a power supply module 11 and a load 12. The power supply module 11 receives an input voltage VI provided by an input power supply 13 and provides an output voltage V2 to power the load 12. In an embodiment, the electronic device 10 can include a plurality of power supply modules 11, which provide a plurality of output voltages V2 to power the load 12. In an embodiment, the electronic device 10 can include a plurality of loads 12, and the power supply module 11 provides a plurality of output voltages V2 to power the plurality of loads 12, respectively. In an embodiment, the electronic device 10 can include a plurality of loads 12 and a plurality of power supply modules 11, and the plurality of power supply modules 11 can power the plurality of loads 12, respectively. In an embodiment, the electronic device 10 can receive output voltages VI of a plurality of input power supplies 13. In an embodiment, the electronic device 10 can include one or more input power supplies 13. In an embodiment, the electronic device 10 can be a mobile phone, a computer, a tablet, or an electronic device of a household appliance. In an embodiment, the load 12 includes an internal circuit of the electronic device 10 or an external electronic device of the electronic device 10.

[0053] Figure 2 is another schematic diagram of an electronic device according to embodiments of the present application. As shown in Figure 2, the electronic device 10 includes a power module 11. The power module 11 receives an input voltage VI provided by an input power 13 and provides an output voltage V2 to power a load 12. In an embodiment, the electronic device 10 includes a plurality of power modules 11, and the plurality of power modules 11 can provide a plurality of output voltages V2 to power the load 12. In an embodiment, the power module 11 in the electronic device 10 can provide a plurality of output voltages V2 to power a plurality of loads 12, respectively. In an embodiment, the electronic device 10 can include a plurality of power modules 11, and the plurality of power modules 11 can provide output voltages V2 to a plurality of loads 12, respectively. In an embodiment, the electronic device 10 can receive a plurality of input powers 13. In an embodiment, the electronic device 10 can include an input power 13. In an embodiment, the electronic device 10 can be an adaptor, a charging post, or the like. Generally, an adaptor can also be referred to as a charger, a charging head, a switch power supply, a power converter, or the like. In an embodiment, the load 12 can be an electronic device such as a mobile phone, a computer, a tablet, a household appliance, or the like. In an embodiment, the load 12 can be other internal circuitry of the electronic device 10.

[0054] Figure 3 is a schematic diagram of a power module according to embodiments of the present application. As shown in Figure 3, the power module 11 includes a direct current (DC) conversion circuit 111, an auxiliary winding circuit 112, a power supply circuit 113, and a controller 114. The DC conversion circuit 111 is configured to receive an input voltage VI provided by an input power 13 and provide an output voltage V2 to a load 12. In addition, the DC conversion circuit 111 is configured to power the power supply circuit 113 of the controller 114 via the auxiliary winding circuit 112. The auxiliary winding circuit 112 is coupled to the DC conversion circuit 111 and generates an auxiliary winding voltage V3 on an auxiliary winding. The auxiliary winding circuit 112 converts the auxiliary winding voltage V3 to an output voltage V4 and provides the output voltage V4 to the power supply circuit 113. The power supply circuit 113 converts the output voltage V4 of the auxiliary winding circuit 112 to an output voltage V5 and provides the output voltage V5 to the controller 114. The controller 114 is configured to control the DC conversion circuit 111. In embodiments of the present application, the DC conversion circuit 111 can include a power supply circuit.

[0055] The adapter can determine whether the device is fully charged by outputting current. When the electrical device is in a small current (e.g., less than 20 mA), the charging device considers that the charging is completed, and the load switch is closed. After the load switch is closed, the device is still in a small current state, which triggers another plug-in detection function of the charger (the logic of the plug-in detection is that the device is plugged in, and the load switch is opened). This causes the device to restart repeatedly, and some products have a charging prompt sound, which reduces the user experience.

[0056] To reduce this effect, the existing solution improves the current sampling accuracy and makes the load switch turn off at the smallest possible current (the smaller the turn-off current, the smaller the load current, and the less likely the plug-in detection function is triggered).

[0057] However, increasing the current sampling accuracy requires using a high-precision operational amplifier, which incurs a high hardware cost. Alternatively, the sampling resistance is increased, which increases the voltage drop across the resistance at the same small current. This improves the detection accuracy of the small current, but increases the loss on the sampling resistance (Rsense) at a large current, which reduces the product efficiency.

[0058] The general adapter block diagram is shown in FIG. 4. The charger is connected to the mains, passes through an EMI, a rectifier circuit, a DCDC conversion transformer, and is output to the load end (from the output to the load can be referred to as the secondary). The main functional modules on the secondary side include a sampling resistance, a load switch, a load switch controller (usually integrated in a protocol controller), and a load (a mobile phone, a PC, a headset, and other electrical devices). The secondary part block diagram is shown in FIG. 5.

[0059] Principle of plug-in detection (device in-place detection) function:

[0060] When the device is in an idle state, the load switch is in a closed state. When the device is plugged in, the LDO circuit charges the parasitic capacitance of the device, forming a charging current. At this time, a voltage drop VR1 is generated on R1: VR1=Iplug*R1.

[0061] Because the LDO circuit output is a fixed value (e.g., 5 V), when the voltage drop VR3 on R2 and R3 is less than the preset VRef voltage, the load switch is opened. VR2+R3=Vldo_out-VR1.

[0062] Principle of inaccurate current detection causing the plug-in detection circuit to be triggered:

[0063] 1. When the output current becomes small, the voltage on Rsense becomes small, reaches the comparator reverse voltage (sampling accuracy, e.g., 20 mA), the comparator is reversed, and the load switch is closed.

[0064] 2, if the device still has charging current (such as 20mA), the device will draw current from the insertion detection circuit, and a voltage drop will be generated on R1, because the LDO circuit output is a fixed value (such as 5V), when the voltage drop generated on R2, R3 is less than the Ref voltage, the load switch will be turned on (the same as the original explanation of the insertion detection function);

[0065] 3, because the device current is less than the comparator reverse voltage, it will close the output load switch again as in the first step;

[0066] The device will repeat the above steps 1, 2, 3, which will cause the product to power on and off repeatedly, and some products have LEDs or sounds, causing bad user experience.

[0067] In order to solve the above problems, the embodiment of the application provides a controller applied to a power supply circuit, and Fig. 6 is a schematic diagram of a power supply module provided by the embodiment of the application. The power supply module shown in Fig. 6 can be applied to the electronic device 10 shown in Fig. 1 or Fig. 2. As shown in Fig. 6, the power supply module includes a secondary side (which can also be referred to as an auxiliary winding), and the secondary side winding is coupled with the primary side winding.

[0068] The power supply circuit includes a load switch on the load side, and the controller includes a voltage stabilizing circuit, a detection module and a control module. The load side includes the secondary side of the transformer, and the secondary side passes through the voltage stabilizing circuit and the load switch to form a first power supply circuit and a second power supply circuit. Referring to Fig. 6, the connection of the load switch to the output of the secondary side winding can be referred to as the second power supply circuit, and the input of the voltage stabilizing circuit is also the secondary side winding. The connection of the voltage stabilizing circuit to the output can be referred to as the first power supply circuit.

[0069] In the embodiment of the application, the controller can include a detection module, wherein the detection module is configured to detect whether the power supply circuit is connected with a load device.

[0070] In a possible implementation, the detection module is configured to detect whether the power supply circuit is connected with a load device in the following manner: whether there is a parasitic capacitance on the output of the load side, whether the current value or voltage value of the output of the load side meets a preset condition, whether there is a physical insertion or extraction on the output of the load side, and optical or Q value-based detection.

[0071] For example, by detecting whether there is a parasitic capacitance in the output of the load side to detect whether the power supply circuit is connected with a load device, referring to FIG. 7 and FIG. 8, which show a specific schematic of a detection module, when the parasitic capacitance of the load Cload does not exist, the output voltage drops rapidly, the current ik is insufficient to maintain the voltage Vck, when the voltage Vck drops to less than the voltage VRef1, the comparator inverts, which is equivalent to detecting that the power supply circuit is not connected with a load device.

[0072] The control module is configured to control the load switch to be in a closed state and supply power to the load device through the first power supply circuit when the detection module detects that the load device has been connected and first mode power supply is required; and control the load switch to be in an open state to supply power to the load device through the second power supply circuit when the detection module detects that the load device has been connected and second mode current supply is required; and the first mode power supply current is less than the second mode power supply current.

[0073] The first mode power supply current can be less than the second mode power supply current, the second mode can be a normal charging process, and the first mode can be a small current charging process after the power is full.

[0074] In the embodiment, in the process of small current power supply, the load switch of the secondary side can be maintained in a closed state, and the power supply circuit in which the voltage stabilizing circuit in the controller is located is used for power supply; and in the process of large current power supply, the load switch of the secondary side is maintained in an open state, and the power supply circuit in which the load switch is located is used for power supply, so that the load switch does not need to be opened in the process of small current power supply, and the load switch will not be repeatedly opened and disconnected.

[0075] In addition, the voltage stabilizing circuit device of the original plug detection circuit can be used, and the board area can not be increased.

[0076] In a possible implementation, the controller includes a control switch connected on the first power supply circuit; and the control module is specifically configured to control the opening and closing of the control switch to disconnect the first power supply circuit or supply power to the load device through the first power supply circuit. For example, the control switch can be S1 in FIG. 6.

[0077] In a possible implementation, the control module is further configured to disconnect the power supply of the first power supply circuit when the detection module detects that the load device is not connected.

[0078] In a possible implementation, the control module is further configured to control the load switch to be in an off state when the detection module detects that the load device is not connected.

[0079] By adding the switch control function of the voltage stabilizing circuit and the detection function of the load device, the load insertion and extraction detection of the original scheme can be realized, and the original circuit function can be restored.

[0080] The embodiment of the present application adds a control switch and a detection function of the load device on the basis of the voltage stabilizing circuit. The load Cload is detected by the device in place detection circuit to control the switch of S1, and the logic function is as follows:

[0081] In a possible implementation, the control module is specifically configured to: when the load device is switched from the second mode of power supply to the first mode of power supply, control the load switch to be switched from on to off, and maintain the first power supply loop to be on, so as to supply power to the load device through the first power supply loop.

[0082] In a possible implementation, the control module is specifically configured to: when the load device is switched from the first mode of power supply to the second mode of power supply, control the load switch to be switched from off to on, maintain the first power supply loop to be on, and supply power to the load device through the second power supply loop.

[0083] In a possible implementation, the control module is specifically configured to: when it is detected that the load device is disconnected from the power supply circuit, control the load switch to be in an off state; and when the output voltage on the load side is reduced to zero, disconnect the first power supply loop.

[0084] The specific implementation is shown in FIG. 9, and the working principle is described in detail as follows:

[0085] Cload in place:

[0086] At t1, the load switch is off, at this time, because the load current is not completely 0, the output voltage will drop, because of the existence of Cload, the voltage drop speed is slow, at t2, because the voltage stabilizing circuit is switched to supply power, the output voltage stops falling, the output is restored, at t3, the load is formally switched to be supplied with power by the voltage stabilizing circuit, the load switch is maintained to be off, and S1 is maintained to be on.

[0087] Cload not in place:

[0088] At the moment of t1', the load switch is closed, at this time, because the load current is not completely to 0, it will cause the output voltage to drop, because there is no Cload, the voltage drops rapidly, the current ik is not enough to maintain the voltage Vck, at the moment of t2', because the voltage Vck drops to less than the voltage VRef1, the comparator inverts, S1 is closed, and the voltage stabilizing circuit is cut off, after which there is no voltage output.

[0089] Thus, the in-situ detection function of Cload is realized.

[0090] The application also provides an electronic device, which comprises the controller 114 provided in any of the embodiments of the application, or comprises the power module provided in any of the embodiments of the application.

[0091] In the foregoing embodiments, the method performed by the controller 114 provided in the embodiments of the present application is introduced, and in order to realize each function in the method provided in the embodiments of the present application, the controller 114 as an execution subject can include a hardware structure and / or a software module to realize each function in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function in each function is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on a specific application of the technical solution and design constraint conditions. It should be noted that it should be understood that the division of each module of the above apparatus is only a logical function division, and all or part of the modules can be integrated into one physical entity, or can be physically separated. Moreover, the modules can all be realized in the form of software called by a processing element; all can be realized in the form of hardware; or part of the modules can be realized in the form of software called by a processing element, and part of the modules can be realized in the form of hardware. A separate processing element can be provided, or can be integrated in a chip of the apparatus, and in addition, the functions of the above determination modules can be stored in the form of program code in a memory of the apparatus, called and executed by a processing element of the apparatus. The implementation of other modules is similar. Moreover, all or part of the modules can be integrated together, or can be independently realized. The processing element described herein can be an integrated circuit having a signal processing capability. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processing element or an instruction in the form of software. For example, the above modules can be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), etc. For another example, when a certain module is realized in the form of a processing element scheduling program code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, the modules can be integrated together to realize in the form of a system on a chip (SOC).

[0092] In the above embodiments, the steps performed by the controller 114 can be implemented by software, hardware, firmware, or any combination thereof, in whole or in part. When implemented by software, the steps can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the steps described in the embodiments of the present application are wholly or partially generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server or data center to another via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, floppy disk, hard disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, solid state disk (SSD)), etc.

[0093] The present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed, the computer instructions can be used to execute the method performed by the controller 114 in any of the foregoing embodiments of the present application.

[0094] The embodiments of the present application also provide a chip for executing instructions, which is used to execute the method performed by the controller 114 in any of the foregoing embodiments of the present application.

[0095] The embodiments of the present application also provide a computer program product, which includes a computer program stored in a storage medium. At least one processor can read the computer program from the storage medium, and when the at least one processor executes the computer program, the method performed by the controller 114 in any of the foregoing embodiments of the present application can be implemented.

[0096] Those skilled in the art can understand that all or part of the steps of the above embodiments can be completed by program instruction related hardware. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned methods are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk, and various media that can store program codes.

[0097] Those skilled in the art can understand that, for the convenience of describing the technical solutions of the present application, the embodiments of the present application are described respectively by function modules in the embodiments of the present application. Circuit devices in each module can have some or all overlaps, which does not limit the protection scope of the present application.

[0098] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A controller applied to a power supply circuit, characterized in that, The power supply circuit includes a load switch located on the load side, and the controller includes: The system includes a voltage regulator circuit, a detection module, and a control module; the load side includes the secondary side of a transformer, which passes through the voltage regulator circuit and the load switch to form a first power supply circuit and a second power supply circuit; wherein... The detection module is used to detect whether the power supply circuit is connected to a load device; The control module is configured to control the load switch to be in a closed state and supply power to the load device through the first power supply circuit when the detection module detects that the load device has been connected and needs to be powered in the first mode. The control module is also configured to control the load switch to be in the on state when the detection module detects that the load device has been connected and needs to be supplied with current in the second mode, so as to supply power to the load device through the second power supply circuit; The supply current of the first mode is less than the supply current of the second mode.

2. The controller according to claim 1, characterized in that, The detection module is used to detect whether a load device is connected to the power supply circuit in one of the following ways: The detection methods include: whether there is parasitic capacitance in the output of the load side; whether the current or voltage value of the output of the load side meets preset conditions; whether there is physical insertion or removal in the output of the load side; and detection based on optics or Q value.

3. The controller according to claim 1 or 2, characterized in that, The control module is also configured to disconnect the power supply of the first power supply circuit when the detection module detects that the load device is not connected.

4. The controller according to any one of claims 1 to 3, characterized in that, The control module is also used to control the load switch to be in the off state when the detection module detects that the load device is not connected.

5. The controller according to any one of claims 1 to 4, characterized in that, The controller further includes: a control switch: the control switch is connected to the first power supply circuit; The control module is specifically used to control the opening and closing of the control switch to disconnect the first power supply circuit or to supply power to the load device through the first power supply circuit.

6. The controller according to any one of claims 1 to 5, characterized in that, The control module is specifically used for: When switching the power supply of the load device from the second mode to the first mode, the load switch is controlled to switch from the on state to the off state, while the first power supply circuit is kept open so that power can be supplied to the load device through the first power supply circuit.

7. The controller according to any one of claims 1 to 6, characterized in that, The control module is specifically used for: When the power supply to the load device is switched from the first mode to the second mode, the load switch is controlled to switch from the off state to the on state, the first power supply circuit is kept open, and power is supplied to the load device through the second power supply circuit.

8. The controller according to any one of claims 1 to 7, characterized in that, The control module is specifically used for: When the load device is detected to be disconnected from the power supply circuit, the load switch is controlled to be in the off state; When the output voltage on the load side drops to zero, the first power supply circuit is disconnected.

9. The controller according to any one of claims 1 to 8, characterized in that, The control module is also used for: Based on the magnitude of the current flowing through the load switch, it is determined whether the load device needs to be supplied with current in either the first mode or the second mode.

10. A control method, characterized in that, The method includes: Detect whether the power supply circuit is connected to a load device; When the detection module detects that the load device has been connected and that the load device needs to be powered in the first mode, it controls the load switch to be in the off state and supplies power to the load device through the first power supply circuit; When the detection module detects that the load device has been connected and requires current supply in the second mode, it controls the load switch to be in the on state so as to supply power to the load device through the second power supply circuit; The supply current of the first mode is less than the supply current of the second mode.

11. The method according to claim 10, characterized in that, The detection of whether the power supply circuit is connected to a load device includes: The power supply circuit can be used to detect whether a load device is connected in one of the following ways: The detection methods include: whether there is parasitic capacitance in the output of the load side; whether the current or voltage value of the output of the load side meets preset conditions; whether there is physical insertion or removal in the output of the load side; and detection based on optics or Q value.

12. The method according to claim 10 or 11, characterized in that, The method further includes: When the detection module detects that the load device is not connected, it disconnects the power supply to the first power supply circuit.

13. The method according to claims 10 to 12, characterized in that, The method further includes: When the detection module detects that the load device is not connected, it controls the load switch to be in the off state.

14. The method according to any one of claims 10 to 13, characterized in that, The method further includes: When switching the power supply of the load device from the second mode to the first mode, the load switch is controlled to switch from the on state to the off state, while the first power supply circuit is kept open so that power can be supplied to the load device through the first power supply circuit.

15. The method according to any one of claims 10 to 14, characterized in that, The method further includes: When the power supply to the load device is switched from the first mode to the second mode, the load switch is controlled to switch from the off state to the on state, the first power supply circuit is kept open, and power is supplied to the load device through the second power supply circuit.

16. The method according to any one of claims 10 to 15, characterized in that, The method further includes: When the load device is detected to be disconnected from the power supply circuit, the load switch is controlled to be in the off state; When the output voltage on the load side drops to zero, the first power supply circuit is disconnected.

17. The method according to any one of claims 10 to 15, characterized in that, The method further includes: Based on the magnitude of the current flowing through the load switch, it is determined whether the load device needs to be supplied with current in either the first mode or the second mode.

18. A power supply module, characterized in that, Includes a power supply circuit and a controller according to any one of claims 1-9; The power supply circuit includes a load switch located on the load side, the load side includes the secondary side of the transformer, and the secondary side passes through the voltage regulator circuit and the load switch to form a first power supply circuit and a second power supply circuit.

19. An electronic device comprising a controller applied to a power supply circuit as described in any one of claims 1-9, or comprising a power module as described in claim 18.

Citation Information

Patent Citations

  • Power supply method, power supply circuit, power supply, and terminal device

    CN103760939A

  • Switch conversion circuit and control method

    CN115549478A

  • Portable type electronic equipment

    CN1917546A

  • Port detection circuit and distribution box

    CN220271542U

  • Power supply circuit

    JP2011024299A