Power supply circuit, control method, power supply, device, storage medium, and program product
By designing a first control circuit and a second control circuit in the charger, the optocoupler is disconnected and the switching circuit is turned on when the power supply voltage drops, which solves the problem of high power consumption in the standby state of the charger, realizes low power consumption operation of the power supply equipment, and improves the user experience.
Patent Information
- Application Number
- CN202510669519.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-24
AI Technical Summary
Existing chargers have a high power consumption problem in standby mode, especially the optocoupler and switching circuits, which have high power consumption, resulting in high energy consumption of power supply equipment in standby mode.
By designing a power supply circuit, including a first control circuit and a second control circuit, and utilizing a combination of optocouplers and switching circuits, the optocouplers are controlled to be disconnected in standby mode to reduce their power consumption. When the power supply voltage drops to the reference voltage, the switching circuit is controlled to be turned on to supply power to the power supply terminal, thus avoiding increased power consumption of the switching circuit caused by frequent switching.
It effectively reduces the overall standby power consumption of the power supply circuit, reduces energy consumption, and improves the user experience.
Smart Images

Figure CN123163394A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of power supply technology, and in particular to a power supply circuit, control method, power supply, electronic device, storage medium, and computer program product. Background Technology
[0002] With the development of technology, more and more electronic devices have emerged, and different electronic devices may have different functions and uses. Electronic devices usually come with corresponding chargers, which can be used to charge the batteries in the electronic devices.
[0003] The charger can also power electronic devices directly when there is no battery in the device. The charger consumes power whether it is in a charging state (charging the battery) or a standby state (not charging the battery) when connected to AC power. Summary of the Invention
[0004] This disclosure provides a power supply circuit, a control method, a power supply, an electronic device, a storage medium, and a computer program product.
[0005] A first aspect of this disclosure provides a power supply circuit, comprising: a power supply circuit including a first input terminal, a first output terminal, a second output terminal, and a controlled terminal, wherein the first input terminal is connected to an AC power source, and the first output terminal serves as the output terminal of the power supply circuit; a switching circuit connected to the controlled terminal for controlling the outputs of the first output terminal and the second output terminal; a first control circuit including a second input terminal and a first feedback terminal, wherein the second input terminal is connected to the first output terminal; a second control circuit including a control terminal, a second feedback terminal, and a power supply terminal, wherein the control terminal is connected to the switching circuit, and the power supply terminal is connected to the second output terminal; and an optocoupler connected between the second feedback terminal and the first feedback terminal; wherein, when the power supply to which the power supply circuit is located is in a standby state, the first control circuit controls the first feedback terminal and the optocoupler to be disconnected; and the second control circuit is used to control the switching circuit to conduct when the voltage at the power supply terminal drops to a first reference voltage, and the second output terminal outputs a first preset voltage to the power supply terminal; and to control the switching circuit to disconnect when the voltage at the power supply terminal is higher than the first reference voltage, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
[0006] In one embodiment, before entering the standby state, the first feedback terminal and the optocoupler form a loop; the first control circuit is further configured to determine the feedback voltage output by the first feedback terminal based on the output of the first output terminal when the power supply is not connected to a load; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of the second feedback terminal; the second control circuit is further configured to determine whether to enter the standby state based on the voltage of the second feedback terminal; wherein the voltage of the second feedback terminal is negatively correlated with the output current of the optocoupler.
[0007] In one embodiment, when the power supply is connected to the load, the first control circuit controls the first feedback terminal and the optocoupler to be in a closed circuit; the second control circuit controls the switching circuit to conduct at a preset frequency, the first output terminal outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
[0008] In one embodiment, the first control circuit is further configured to, upon detecting the power supply connected to the load, control the first feedback terminal and the optocoupler to be in a closed circuit, and control the feedback voltage output by the first feedback terminal; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of the second feedback terminal; the second control circuit is further configured to determine to exit the standby state based on the voltage of the second feedback terminal and a second reference voltage.
[0009] In one embodiment, the first control circuit includes: an operational amplifier circuit, the output of which serves as the first feedback terminal, and one input terminal of the operational amplifier connected to the first output terminal; and a controller connected to the other input terminal of the operational amplifier for controlling the input of the other input terminal; wherein the output of the first feedback terminal is determined based on the inputs of the two input terminals of the operational amplifier.
[0010] In one embodiment, the operational amplifier circuit includes: a first resistor; a second resistor connected in series with the first resistor; the operational amplifier having a non-inverting input connected to the controller, an inverting input connected between the first resistor and the second resistor, a second resistor with its end furthest from the first resistor grounded, and a first resistor with its end furthest from the second resistor connected to the first output terminal; and an optocoupler with its input terminal connected between the first output terminal and the first feedback terminal.
[0011] In one embodiment, the operational amplifier circuit includes: a first resistor; a second resistor connected in series with the first resistor; the operational amplifier having a non-inverting input connected to the controller, an inverting input connected between the first resistor and the second resistor, a end of the second resistor away from the first resistor grounded, and a end of the first resistor away from the second resistor connected to the first output terminal; a first feedback terminal connected to one pin of the input terminal of the optocoupler, and the other pin of the input terminal of the optocoupler grounded.
[0012] In one embodiment, the second control circuit includes: a third resistor, one end of which is connected to a high level and the other end serving as the second feedback terminal; a first comparator connected to the second feedback terminal for outputting a comparison result between the voltage at the second feedback terminal and the second reference voltage; and a trigger connected to the first comparator for being triggered in the standby state when the voltage at the second feedback terminal is less than the second reference voltage, and outputting a signal for controlling the switching circuit to disconnect.
[0013] In one embodiment, the second control circuit further includes: a timer connected to the first comparator, used to determine the duration for which the voltage at the second feedback terminal is less than the second reference voltage; and the trigger, used to be triggered when the duration exceeds a preset duration, and to output a signal for controlling the switching circuit to disconnect.
[0014] In one embodiment, the trigger is further configured to be triggered when the voltage at the second feedback terminal is less than the second reference voltage when the power supply is connected to the load, and to output a signal for controlling the switching circuit to conduct at a preset frequency.
[0015] In one embodiment, the second control circuit further includes: a second comparator connected to the power supply terminal, used to compare whether the voltage of the power supply terminal drops to the first reference voltage and whether the voltage of the power supply terminal is higher than the first reference voltage.
[0016] In one embodiment, the power supply circuit includes: a first rectifier circuit, the input terminal of which serves as the first input terminal; a transformer, including a primary winding, a first secondary winding, and a second secondary winding; the first rectifier circuit, the primary winding, and the switching circuit connected in series; a second rectifier circuit connected between the first secondary winding and the first output terminal; and a third rectifier circuit connected between the second secondary winding and the power supply terminal.
[0017] A second aspect of this disclosure provides a control method for a power supply circuit, applied to a first control circuit, comprising: detecting whether it is connected to a load; and when it is detected that no load is connected and the power supply of the first control circuit is in a standby state, controlling the first feedback terminal and the optocoupler of the first control circuit to be disconnected.
[0018] In one embodiment, the method further includes: determining a feedback voltage output from a first feedback terminal in the first control circuit; and outputting the feedback voltage; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of a second feedback terminal in the second control circuit.
[0019] In one embodiment, the method further includes: upon detecting the power supply connected load, controlling the first feedback terminal and the optocoupler to be in a path, and controlling the feedback voltage output by the first feedback terminal; wherein the feedback voltage is used to determine the current output by the optocoupler to the second feedback terminal, and the current is used to determine the voltage of the second feedback terminal.
[0020] A third aspect of this disclosure provides a control method for a power supply circuit, applied to a second control circuit, comprising: when the power supply of the second control circuit is in a standby state, when the voltage at the power supply terminal drops to a first reference voltage, controlling a switching circuit to turn on, and the second output terminal of the power supply circuit outputs a first preset voltage to the power supply terminal; when the voltage at the power supply terminal is higher than the first reference voltage, controlling the switching circuit to turn off, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
[0021] In one embodiment, the method further includes: determining whether to enter the standby state based on the voltage of the second feedback terminal; wherein the voltage of the second feedback terminal is negatively correlated with the output current of the optocoupler.
[0022] In one embodiment, the method further includes: when the power supply is connected to a load, controlling the switching circuit to conduct at a preset frequency; wherein, the first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
[0023] In one embodiment, the method further includes: when the first control circuit detects the power supply connected to the load, determining to exit the standby state based on the voltage at the second feedback terminal and the second reference voltage.
[0024] A fourth aspect of this disclosure provides a power supply circuit, comprising: a detection module for detecting whether it is connected to a load; and a first control module for controlling the first feedback terminal and the optocoupler of the first control circuit to be disconnected when it is detected that no load is connected and the power supply of the first control circuit is in a standby state.
[0025] In one embodiment, the system further includes: a first determining module for determining a feedback voltage output from a first feedback terminal in the first control circuit; and an output module for outputting the feedback voltage; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage at a second feedback terminal in the second control circuit.
[0026] In one embodiment, the system further includes: a second control module, configured to control the first feedback terminal and the optocoupler to be in a path when the power supply connection load is detected, and to control the feedback voltage output by the first feedback terminal; wherein the feedback voltage is used to determine the current output by the optocoupler to the second feedback terminal, and the current is used to determine the voltage of the second feedback terminal.
[0027] A fifth aspect of this disclosure provides a power supply circuit, comprising: a third control module, configured to control a switch circuit to conduct when the voltage at the power supply terminal drops to a first reference voltage while the power supply of the second control circuit is in a standby state; and a fourth control module, configured to control the switch circuit to disconnect when the voltage at the power supply terminal is higher than the first reference voltage; and the second output terminal to stop outputting the first preset voltage to the power supply terminal.
[0028] In one embodiment, the system further includes a second determining module, configured to determine whether to enter the standby state based on the voltage at the second feedback terminal; wherein the voltage at the second feedback terminal is negatively correlated with the output current of the optocoupler.
[0029] In one embodiment, it further includes: a fifth control module, used to control the switching circuit to conduct at a preset frequency when the power supply is connected to a load; wherein, the first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
[0030] In one embodiment, it further includes: a third determining module, configured to determine, based on the voltage at the second feedback terminal and a second reference voltage, to exit the standby state when the first control circuit detects the power supply connected load.
[0031] A sixth aspect of this disclosure provides a power supply, including: the power supply circuit described in any of the above embodiments.
[0032] In one embodiment, the power source includes a charger.
[0033] A seventh aspect of this disclosure provides an electronic device, comprising: a power supply circuit as described in any of the foregoing embodiments; or, a power supply as described in any of the foregoing embodiments.
[0034] An eighth aspect of this disclosure provides a power supply, including: a processor and a memory for storing a computer program or executable instructions capable of running on the processor, wherein: when the processor runs the computer program or the executable instructions, the executable instructions perform the method described in any of the above embodiments.
[0035] A ninth aspect of this disclosure provides a non-transitory computer-readable storage medium storing a computer program or computer-executable instructions, which, when executed by a processor, implement the method described in any of the above embodiments.
[0036] A tenth aspect of this disclosure provides a computer program product, including a computer program or executable instructions, which, when executed by a processor, implement the method described in any of the above embodiments.
[0037] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0038] In the embodiments of this disclosure, the first control circuit controls the on / off state of the input circuit of the optocoupler. In standby mode, the first control circuit controls the first feedback terminal and the optocoupler to be in an open circuit, thereby reducing the current flowing through the input terminal of the optocoupler, and the optocoupler is no longer energized, thus reducing the power consumption of the optocoupler. The control terminal of the second control circuit is connected to the switching circuit and can control the switching state of the switching circuit according to the voltage of the power supply terminal. When the voltage of the power supply terminal drops to the first reference voltage, the control circuit turns on, and the power supply circuit supplies power to the power supply terminal through the second output terminal, thereby increasing the power supply terminal and maintaining the voltage of the power supply terminal at the first reference voltage, thus ensuring that the voltage of the power supply terminal of the second control circuit is not too low. When the voltage of the power supply terminal is higher than the first reference voltage, the control circuit turns off, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
[0039] Since the power supply voltage needs time to dissipate, the switching circuit does not need to be turned on again during the period from when the second output terminal supplies power to the power supply terminal until the power supply voltage drops to the first reference voltage. This reduces the conduction frequency of the switching circuit, thereby reducing the power consumption of the switching circuit caused by switching from off to on, and thus reducing the power consumption of the switching circuit.
[0040] This solution reduces power consumption from the two aspects mentioned above, thereby reducing the overall standby power consumption of the power supply circuit, which in turn reduces power consumption, saves users money, and improves the user experience.
[0041] 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
[0042] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0043] Figure 1 This is a schematic diagram of a power supply circuit according to an exemplary embodiment;
[0044] Figure 2 This is illustrated according to an exemplary embodiment. Figure 1 A waveform diagram of the power supply circuit shown.
[0045] Figure 3 This is a schematic diagram of another power supply circuit according to an exemplary embodiment;
[0046] Figure 4 This is illustrated according to an exemplary embodiment. Figure 3 A waveform diagram of the power supply circuit shown.
[0047] Figure 5 This is a schematic diagram of another power supply circuit according to an exemplary embodiment;
[0048] Figure 6 This is a waveform diagram illustrating an exit from standby state according to an exemplary embodiment;
[0049] Figure 7 This is a schematic diagram illustrating a control method for a power supply circuit according to an exemplary embodiment;
[0050] Figure 8 This is a schematic diagram illustrating another control method for a power supply circuit according to an exemplary embodiment;
[0051] Figure 9 This is a schematic diagram illustrating another control method for a power supply circuit according to an exemplary embodiment;
[0052] Figure 10 This is a schematic diagram of a power supply circuit according to an exemplary embodiment;
[0053] Figure 11 This is a schematic diagram of another power supply circuit according to an exemplary embodiment;
[0054] Figure 12 This is a block diagram illustrating a power supply according to an exemplary embodiment. Detailed Implementation
[0055] 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 numerals 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 disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.
[0056] A power supply comprises multiple different circuits, each with a different function. Each circuit can contain various electronic components, and the power consumption of each circuit will vary. The power consumption of the power supply can be attributed to the power consumption of each individual circuit; the higher the power consumption of each individual circuit, the higher the overall power consumption of the power supply.
[0057] refer to Figure 1 This is a schematic diagram of a power supply circuit, such as a flyback switching power supply. The entire power supply is divided into a primary section and a secondary section by a transformer and an optocoupler. The primary section includes an AC-DC rectifier, an input capacitor Cin, and a transformer main inductor L. P 1. Main switch MOSFET Q1, primary inductor current sensing resistor R CS Primary control IC, optocoupler filter capacitor C FB Optocoupler receiving circuit. The secondary part includes the transformer secondary inductor L. S Output rectifier diode D1, output capacitor Cout, output path MOSFET Q2, Type-C connector, secondary optocoupler series resistor R b Optocoupler light-emitting circuit, secondary protocol IC, output current sensing resistor R S Traditional flyback switching power supplies communicate with the charging device via a secondary protocol IC and adjust the output voltage according to the device's protocol requirements. The secondary protocol IC samples the output voltage V. OUT Then adjust the optocoupler current I according to the requirements. SFB Optical coupler will I SFB Feedback to Primary I PFB Then we can obtain the steady-state value: V PFB =VCC-I PFB *R FB The primary control IC uses V PFB Adjusting the output power achieves constant voltage output. Similarly, constant current output can be achieved, which will not be detailed here.
[0058] Figure 2 yes Figure 1 The diagram shows key waveforms of the flyback switching power supply in standby mode. In standby mode, Figure 1The feedback loop consisting of the primary control IC and the secondary protocol IC in the power supply circuit shown remains operational, and there will still be Io between the optocoupler's secondary and primary sides. SFB and I PFB When the output voltage V OUT When the voltage increases, according to the principle of negative feedback, the V of the primary control IC... PFB Decrease, when V PFB <V FB When (BURST_IN) is active, the primary control IC enters the BURST state, stops gate opening, and reduces the primary control IC's operating current. When the output voltage V... OUT During the descent, according to the principle of negative feedback, the V of the primary control IC... PFB Rise. When V PFB >V FB( During BURST_OUT, the primary control IC exits the BURST state and begins gate operation, continuing to transfer energy to the secondary side. While this scheme effectively reduces the system operating frequency and thus lowers switching losses by controlling the primary control IC to repeatedly enter and exit the BURST state, the BURST state requires maintaining a high optocoupler secondary current I. SFB and optocoupler primary current I PFB This still adds significant losses to the system.
[0059] refer to Figure 3 This is a schematic diagram of a power supply circuit, combined with... Figure 1 and Figure 3 The power supply circuit includes:
[0060] The power supply circuit 1 includes a first input terminal 101, a first output terminal 102, a second output terminal 103, and a controlled terminal 104. The first input terminal 101 is connected to an AC power supply, and the first output terminal 102 serves as the output terminal of the power supply circuit.
[0061] Switching circuit 2, connected to controlled terminal 104, is used to control the output of first output terminal 102 and second output terminal 103.
[0062] The first control circuit 3 includes a second input terminal 301 and a first feedback terminal 302, with the second input terminal 301 connected to the first output terminal 102.
[0063] The second control circuit 4 includes a control terminal 401, a second feedback terminal 402, and a power supply terminal 403. The control terminal 401 is connected to the switching circuit 2, and the power supply terminal 403 is connected to the second output terminal 103.
[0064] Optical coupler 5 is connected between the second feedback terminal 402 and the first feedback terminal 302.
[0065] In the case where the power supply circuit is in standby mode, the first control circuit 3 controls the first feedback terminal 302 and the optocoupler 5 to be in open circuit.
[0066] The second control circuit 4 is used to control the switch circuit 2 to conduct when the voltage at the power supply terminal 403 drops to the first reference voltage, and the second output terminal 103 outputs the first preset voltage to the power supply terminal 403. When the voltage at the power supply terminal 403 is higher than the first reference voltage, the control switch circuit 2 is turned off, and the second output terminal 103 no longer outputs the first preset voltage to the power supply terminal 403.
[0067] The power supply circuit of this embodiment can be applied to a power source, which may include a charging power source for mobile devices and fixed devices, such as a charger or adapter. Mobile devices may include mobile phones, tablets, in-vehicle central control devices, wearable devices, smart devices, and aircraft, etc. Smart devices may include smart office equipment, smart home equipment, and robots, etc.
[0068] Power supply circuit 1 can be referenced. Figure 1 Not in Figure 3 As shown, power supply circuit 1 can be a circuit that supplies power to the load and a circuit that supplies power to the second control circuit. For example, power supply circuit 1 includes two parallel, independent output sub-circuits. One output sub-circuit (such as the first output sub-circuit) supplies power to the load, and the first output terminal 102 is the output terminal of this output sub-circuit. The other output sub-circuit (such as the second output sub-circuit) supplies power to the second control circuit 4, and the second output terminal 103 is the output terminal of this output sub-circuit. Power supply circuit 1 can be connected to an AC power source or mains power, converting the AC power into DC power required by the load and the second control circuit 4. Here, the load includes the powered device, which is different from the second control circuit 4; that is, the second control circuit 4 is not a load of power supply circuit 1.
[0069] The power supply circuit 1 includes a first input terminal 101, a first output terminal 102, a second output terminal 103, and a controlled terminal 104. The first input terminal 101 is connected to an AC power source and serves as both the input terminal of the power supply circuit and the input terminal of the power supply circuit 1.
[0070] The first output terminal 102 serves as one of the output terminals of the power supply circuit 1, and this output terminal is used to supply power to the load, that is, the first output terminal 102 serves as the output terminal of the power supply circuit.
[0071] The second output terminal 103 serves as another output terminal of the power supply circuit 1, and is used to supply power to the second control circuit 4.
[0072] The controlled terminal 104 serves as one end connecting the power supply circuit 1 and the switching circuit 2, and also acts as the control terminal for the output state of the power supply circuit 1. Through the controlled terminal 104, the power supply circuit 1 can adjust the output state of the first output terminal 102 and the second output terminal 103 according to the switching circuit 2.
[0073] The internal circuit structure of the power supply circuit 1 is not limited. Any circuit that can realize the function of the power supply circuit 1 and has a first input terminal 101, a first output terminal 102, a second output terminal 103 and a controlled terminal 104 can be used as the power supply circuit 1.
[0074] Switching circuit 2 is connected to the controlled terminal 104 in switching circuit 1. Switching circuit 2 is used to control the power supply state of power supply circuit 1, such as the output state, including the output of the first output terminal 102 and the second output terminal 103.
[0075] Switching circuit 2 may include multiple controlled switches, such as transistors, MOSFETs, etc. The circuit structure of switching circuit 2 is not limited, as long as it can control the output state of power supply circuit 1. The number of controlled switches is also not limited and can be determined according to requirements, such as one or more.
[0076] The first control circuit 3 includes a second input terminal 301 and a first feedback terminal 302. The second input terminal 301 serves as an input terminal of the first control circuit 3 and is connected to the first output terminal 102. The voltage output from the first output terminal 102 can be input to the first control circuit 3 through the second input terminal 301, thereby facilitating the first control circuit 3 to perform control, such as controlling the output of the first feedback terminal 302.
[0077] The first feedback terminal 302 serves as the feedback terminal of the first control circuit 3, and is used to provide feedback signals to the second control circuit 4.
[0078] The first feedback terminal 302 is connected to the input terminal of the optocoupler 5. The feedback signal output by the first feedback terminal 302 can control the voltage at the input terminal of the optocoupler 5, thereby controlling the energization of the optocoupler 5. This enables the first control circuit 3 to control the on / off state of the optocoupler 5, including controlling the current flowing through the input terminal of the optocoupler 5. The on / off state includes an on state and an off state, as well as the change in current during the on / off state.
[0079] For example, the first control circuit 3 can be a circuit in the first control chip, such as the control circuit in the secondary protocol IC, and each terminal of the first control circuit 3 is also a connection terminal of the secondary protocol IC.
[0080] The control terminal 401 in the second control circuit 4 serves as the control signal output terminal for outputting control signals. Control terminal 401 is connected to the switching circuit 2, and the switching state of the switching circuit 2 is controlled by the control signal output from control terminal 401. The second control circuit 4 is connected to the output terminal of the optocoupler 5 via the second feedback terminal 402. The current flowing through the output terminal of the optocoupler 5 is positively correlated with the current flowing through the second feedback terminal 402, including cases where they are identical.
[0081] The power supply terminal 403 is connected to the second output terminal 103. The second control circuit 4 receives electrical energy from the power supply circuit 1 through the power supply terminal 403. That is, the second output terminal 103 of the power supply circuit 1 supplies power to the second control circuit 4.
[0082] For example, the second control circuit 4 can be a circuit in the second control chip, such as the control circuit in the primary control IC, and each terminal of the second control circuit 4 is also a connection terminal of the primary control IC.
[0083] Optical coupler 5 is connected between the second feedback terminal 402 and the first feedback terminal 302, serving as the connection medium between the first control circuit 3 and the second control circuit 4, and simultaneously achieving electrical isolation between the first control circuit 3 and the second control circuit 4.
[0084] The first control circuit 3 adjusts the feedback signal output by the first feedback terminal 302 according to the output voltage of the first output terminal 102 of the power supply circuit 1. The feedback signal output by the first feedback terminal 302 affects the current of the optocoupler 5, thereby affecting the current output by the optocoupler 5. The current output by the optocoupler 5 affects the voltage of the second feedback terminal of the second control circuit 4.
[0085] The output of the second output terminal 103 of the first power supply circuit 1 affects the voltage of the power supply terminal 403 of the second control circuit 4. The voltage of the power supply terminal 403 affects the output of the control terminal 401. The output of the control terminal 401 controls the switching state of the switching circuit 2. The switching state of the switching circuit 2 affects the output of the power supply circuit 1, namely the outputs of the first output terminal 102 and the second output terminal 103. In this way, a control loop is formed through the power supply circuit 1, the control circuit 2, the first control circuit 3, the second control circuit 4, and the optocoupler 5.
[0086] The power supply circuit can be in standby mode and charging mode. Standby mode is when no load is connected and no load is being charged. Charging mode is when a load is connected and the load is being charged.
[0087] Whether the power supply is in standby or charging mode can also be determined by the first control circuit 3 and the second control circuit 4. The control method can be referred to the description of the corresponding embodiment in the following section.
[0088] The first reference voltage can be the lowest operating voltage of the second control circuit 4, such as the lowest voltage required to maintain the operation of the second control circuit 4 in sleep mode. Sleep mode can also be referred to as standby mode. When the power supply circuit is in standby mode, if the voltage at the power supply terminal 403 is lower than the first reference voltage, the second control circuit 4 will be unable to maintain standby mode operation, thus preventing the power supply circuit from operating normally in standby mode.
[0089] In this situation, the second control circuit 4 controls the switch circuit 2 to turn on, and the second output terminal 103 outputs a first preset voltage to the power supply terminal 403. The first preset voltage can be the same as the first reference voltage, a voltage greater than the first reference voltage, or a voltage less than the first reference voltage. This provides power to the power supply terminal 403, thereby providing power to the second control circuit 4, causing the power supply terminal 403 to rise to a state higher than the first reference voltage.
[0090] For example, after the second output terminal 103 outputs a first preset voltage to the power supply terminal 403, there is a voltage difference between the voltage at the power supply terminal 403 and the first reference voltage. The larger this voltage difference is, the longer it takes for the power supply terminal 403 to drop to the first reference voltage next time, the lower the frequency at which the second control circuit 4 controls the switching circuit 2 to turn on, and the lower the power consumption of the switching circuit 2.
[0091] For example, the first reference voltage can be the lowest operating voltage of the chip containing the second control circuit. If the power supply of the power supply circuit is in standby mode, then the chip containing the second control circuit is also in standby mode, and the chip containing the first control circuit is also in standby mode. The power supply of the power supply circuit, the chip containing the second control circuit, and the chip containing the first control circuit are all in the same state.
[0092] In standby mode, the first control circuit 3 controls the first feedback terminal 302 and the optocoupler 5 to be disconnected, which reduces the current flowing through the input terminal of the optocoupler 5, and the optocoupler 5 is no longer powered, thereby reducing the power consumption of the optocoupler 5.
[0093] The control terminal 401 of the second control circuit 4 is connected to the switching circuit 2. It controls the switching state of the switching circuit 2 based on the voltage of the power supply terminal 403. When the voltage of the power supply terminal 403 drops to the first reference voltage, the control circuit 2 is turned on, and the power supply circuit 1 supplies power to the power supply terminal 403 through the second output terminal 103, thereby increasing the power supply to the power supply terminal 403 and maintaining its voltage at the first reference voltage. This ensures that the voltage of the power supply terminal 403 of the second control circuit 4 does not drop too low. When the voltage of the power supply terminal 403 is higher than the first reference voltage, the control circuit 1 is turned off, and the second output terminal 103 no longer outputs the first preset voltage to the power supply terminal 403. Since the voltage consumption of the power supply terminal 403 takes time, the switching circuit 2 does not need to be turned on again during the period from when the second output terminal 103 supplies power to the power supply terminal 403 until the voltage of the power supply terminal 403 drops to the first reference voltage again. This reduces the conduction frequency of the switching circuit 2, thus reducing the losses caused by switching the switching circuit 2 from off to on, i.e., reducing the power consumption of the switching circuit 2. This solution reduces power consumption from two aspects: the power consumption of optocoupler 5 and the power consumption of switching circuit 2. This reduces the overall standby power consumption of the power supply circuit, thereby reducing power consumption, saving users money, and improving the user experience.
[0094] refer to Figure 4 , Figure 4 for Figure 3 From the waveform diagram of the power supply circuit in the corresponding embodiment, it can be concluded that after time t5, the circuit is in standby mode, and the switching frequency of switching circuit 2 is significantly reduced, significantly less than [the specified value]. Figure 2 The conduction frequency of the switching circuit is reduced, thus reducing the power consumption of switching circuit 2. Figure 2 and Figure 4 The frequency of GATE is the frequency of the control signal output from the control terminal of the second control circuit 4, which is used to control the switching circuit 2 to turn on. When GATE is at a high level, it means that the switching circuit 2 is turned on once when the control information is output.
[0095] In one embodiment, the first feedback terminal 402 and the optocoupler 5 form a loop before entering the standby state.
[0096] The first control circuit 3 is also used to determine the feedback voltage output by the first feedback terminal 302 based on the output of the first output terminal 102 when the power supply is not connected to the load.
[0097] The feedback voltage is used to power the optocoupler 5, and the output current of the optocoupler 5 is used to determine the voltage of the second feedback terminal 402.
[0098] The second control circuit 4 is also used to determine whether to enter the standby state based on the voltage of the second feedback terminal 402; wherein the voltage of the second feedback terminal 402 is negatively correlated with the output current of the optocoupler 5.
[0099] This embodiment is an example of determining whether to enter standby mode. Through the cooperation of the first control circuit 3, the optocoupler 5 and the second control circuit 4, the second control circuit 4 determines whether to enter standby mode.
[0100] Before entering standby mode, the first feedback terminal 302 and the optocoupler 5 form a loop. There is current in the optocoupler 5, including current at both its input and output terminals. The optocoupler 5 and the second feedback terminal 402 form a loop. This loop allows the first control circuit 3 to provide feedback to the second control circuit 4 via the optocoupler 5, thereby facilitating the second control circuit 4 in determining whether to enter standby mode.
[0101] When the first output terminal 102 of the power supply circuit 1 is disconnected from the load, the first control circuit 3 serves as the control starting point of the control loop. The output of the first output terminal 102 is one of the reference factors for the first control circuit 3 to determine the feedback signal output by the first feedback terminal 302. Based on the output of the first output terminal 102, the first feedback terminal 302 can determine the feedback voltage output by the first feedback terminal 302.
[0102] Since the first feedback terminal 302 is connected to the input terminal of optocoupler 5, and the output terminal of optocoupler 5 is connected to the second feedback terminal 402 of the second control circuit 4, the feedback voltage affects the current at the input terminal of optocoupler 5, the current at the input terminal of optocoupler 5 affects the current at the output terminal of optocoupler 5, and the current at the output terminal of optocoupler 5 affects the current flowing through the second feedback terminal 402, thereby affecting the voltage at the second feedback terminal 402. In other words, the feedback voltage is used to power optocoupler 5, and the output current of optocoupler 5 is used to determine the voltage at the second feedback terminal 402.
[0103] After the first control circuit 3 determines the feedback voltage output from the first feedback terminal 302, the second control circuit 4 is further used to determine whether to enter a standby state based on the voltage of the second feedback terminal 402. The voltage of the second feedback terminal 402 serves as the basis for determining whether to enter a standby state, and the determination of whether to enter a standby state can be made based on the voltage of the second feedback terminal 402 and the second reference voltage.
[0104] For example, if the voltage at the second feedback terminal 402 is less than the second reference voltage, it is determined that the system enters the standby state; if the voltage at the second feedback terminal 402 is greater than or equal to the second reference voltage, it is determined that the system does not enter the standby state.
[0105] For example, the voltage at the second feedback terminal 402 is negatively correlated with the output current of the optocoupler 5; the larger the output current of the optocoupler 5, the smaller the voltage at the second feedback terminal 402. This achieves negative feedback between the feedback voltage at the first feedback terminal 302 and the voltage at the second feedback terminal 402.
[0106] In one embodiment, the first control circuit 3 is further configured to determine whether the power supply is connected to a load, i.e., whether the first output terminal 102 is connected to a load. When the load is connected to the power supply circuit, in addition to being connected to the first output terminal 102, the load is also connected to the first control circuit 3. When the power supply circuit is not connected to a load, neither the first output terminal 102 nor the first control circuit 3 is connected to a load.
[0107] refer to Figure 3 , Figure 3 The first control circuit 3 shown includes connection terminals, such as CC1 and CC2, which are connected to the load. When the load is connected, CC1 and CC2 are in a first state, and when the load is not connected, CC1 and CC2 are in a second state. In this way, the connection of the load can be determined based on the state of CC1 and CC2.
[0108] For example, the first state can be a low-level state, and the second state can be a high-level state.
[0109] In one embodiment, when the power supply is connected to the load, the first control circuit 3 controls the first feedback terminal 302 and the optocoupler 5 to be in a closed circuit.
[0110] The second control circuit 4 controls the switch circuit 2 to conduct according to a preset frequency. The first output terminal 102 outputs a second preset voltage, and the second output terminal 103 outputs a third preset voltage to the power supply terminal 403.
[0111] With the power supply connected to the load, it indicates that the system is not in standby mode. The first control circuit 3 controls the first feedback terminal 302 and the optocoupler 5 to be in a closed loop. This loop allows the first control circuit 3 to communicate with the second control circuit 4 via the optocoupler 5, thereby enabling the second control circuit 4 to output a control signal that controls the switching circuit 2 to conduct at a preset frequency. The switching circuit 2 conducts at the preset frequency according to this control signal, thereby controlling the power supply circuit 1 to output a second preset voltage through the first output terminal 102 and a third preset voltage through the second output terminal 103 to the power supply terminal 403.
[0112] The second preset voltage may include the supply voltage for supplying power to the load. The second preset voltage can be determined according to the charging power of the load, and the second preset voltage may be different for different loads with different charging power.
[0113] The third preset voltage is used to maintain the voltage at the power supply terminal 403 at the voltage required for the second control circuit 4 to operate normally in the charging state. Alternatively, it can be used to maintain the voltage at the power supply terminal 403 at the voltage required for the chip containing the second control circuit 4 to operate normally in the charging state.
[0114] This example demonstrates how, through the combined control of the first control circuit 3 and the second control circuit 4, it is possible to charge the load while maintaining the normal operation of the second control circuit.
[0115] In one embodiment, the first control circuit 3 is further configured to control the first feedback terminal 302 and the optocoupler 5 to be in a closed circuit when a power supply connection load is detected, and to control the feedback voltage output by the first feedback terminal 302.
[0116] The feedback voltage is used to power the optocoupler 5, and the output current of the optocoupler 5 is used to determine the voltage of the second feedback terminal 402.
[0117] The second control circuit 4 is also used to determine whether to exit the standby state based on the voltage of the second feedback terminal 402 and the second reference voltage.
[0118] If the current state is standby, when a load is detected connected to the power supply of the power circuit, the first control circuit 3 controls the first feedback terminal 302 and the optocoupler 5 to be in a closed circuit, and controls the feedback voltage output by the first feedback terminal 302. This enables the first control circuit 3 to provide feedback to the second control circuit 4, thus facilitating the second control circuit to determine whether to exit the standby state.
[0119] The first control circuit 3 controls the feedback voltage output from the first feedback terminal 302 to power the optocoupler 5. The output current of the optocoupler 5 is used to determine the voltage of the second feedback terminal 402. In this way, the feedback voltage output by the first control circuit 3 is fed back to the second feedback terminal 402 through the optocoupler 5, realizing feedback to the second control circuit 4, so that the second control circuit 4 can determine whether to exit the standby state based on the voltage of the second feedback terminal 402.
[0120] The second control circuit 4 can determine to exit the standby state when the voltage at the second feedback terminal 402 is less than the second reference voltage, and determine to maintain the standby state when the voltage at the second feedback terminal 402 is greater than or equal to the second reference voltage.
[0121] This example demonstrates how the system, through the combined control of the first control circuit 3 and the second control circuit 4, achieves the goal of exiting the standby state.
[0122] In one embodiment, reference Figure 3 The first control circuit 3 includes:
[0123] Operational amplifier circuit 3a, the output terminal of the operational amplifier circuit serves as the first feedback terminal 302, and one input terminal of the operational amplifier in operational amplifier circuit 3a is connected to the first output terminal 102;
[0124] The controller 3b is connected to another input terminal of the operational amplifier and is used to control the input of the other input terminal; wherein the output of the first feedback terminal 302 is determined based on the inputs of the two input terminals of the operational amplifier.
[0125] The operational amplifier circuit 3a can be any circuit capable of controlling the output of the first feedback terminal 302 based on the first output terminal 102, and capable of implementing the functions of the first control circuit 3 in the above embodiments in conjunction with the controller 3b. This includes, but is not limited to, non-inverting operational amplifier circuits, inverting operational amplifier circuits, etc.
[0126] The controller 3b can be any type of control device with control functions, such as a microcontroller unit or a programmable logic controller. The controller 3b is used to control the input of the operational amplifier circuit 3a, thereby controlling the output of the first feedback terminal 302 of the first control circuit 3, thus realizing the functions of the first control circuit 3 in the above embodiments.
[0127] For example, such as Figure 3 As shown, the operational amplifier circuit 3a includes:
[0128] First resistor R OA ;
[0129] Second resistor R OB , with the first resistor R OA Series;
[0130] Operational amplifier 3a1 has its non-inverting input connected to controller 3b, and its inverting input connected to the first resistor R. OA Second resistor R OB Between, the second resistor R OB away from the first resistor R OA One end is grounded, and the first resistor R OA away from the second resistor R OB One end is connected to the first output terminal 102.
[0131] The input terminal of the optocoupler 5 is connected between the first output terminal 102 and the first feedback terminal 302.
[0132] For example, refer to Figure 5 This is a schematic diagram of another power supply circuit. The operational amplifier circuit 3a includes:
[0133] First resistor R OA ;
[0134] Second resistor R OB , with the first resistor R OA Series;
[0135] Operational amplifier 3a1 has its non-inverting input connected to controller 3b, and its inverting input connected to the first resistor R. OA Second resistor ROB Between, the second resistor R OB away from the first resistor R OA One end is grounded, and the first resistor R OA away from the second resistor R OB One end is connected to the first output terminal 102.
[0136] The first feedback terminal 302 is connected to one pin of the input terminal of the optocoupler 5, and the other pin of the input terminal of the optocoupler 5 is grounded.
[0137] The two examples above illustrate two different connection methods, both of which enable the controller 3b to control the input of the operational amplifier circuit 3a, thereby controlling the output of the first feedback terminal 302 of the first control circuit 3, thus realizing the function of the first control circuit 3 in the above embodiments.
[0138] In one embodiment, in standby mode Figure 3 The output of the operational amplifier 3a1 shown is used to control the input of the optocoupler 5 to be in a high-impedance state, i.e., an open-circuit state, thereby reducing the current of the optocoupler 5 and reducing its power consumption.
[0139] In one embodiment, in standby mode Figure 5 The output of the operational amplifier 3a1 shown is used to control the voltage at the input of the optocoupler 5 to be zero. The feedback signal output by the first feedback terminal 302 is zero, and no current flows through the input of the optocoupler 5, thereby reducing the current of the optocoupler 5 and reducing the power consumption of the optocoupler 5.
[0140] In one embodiment, reference Figure 3 and Figure 5 The second control circuit 4 includes:
[0141] Third resistor R FB One end is connected to a high level, and the other end serves as the second feedback terminal 402.
[0142] The first comparator 41 is connected to the second feedback terminal 402 and is used to output the comparison result of the voltage at the second feedback terminal 402 and the second reference voltage.
[0143] A trigger 42, connected to a first comparator, is activated in standby mode when the voltage at the second feedback terminal 402 is less than the second reference voltage, and outputs a signal to control the switching circuit 2 to disconnect. The trigger includes... Figure 3 and Figure 4 The RS trigger shown.
[0144] The first comparator may include a non-inverting input and an inverting input. The non-inverting input can be the "+" in the first comparator 41, and the inverting input can be the "-" in the first comparator 41.
[0145] This example provides a circuit structure for a control circuit. This part of the circuit is used to determine whether to output a control signal to control the switching circuit 2 to be turned on based on the voltage of the second feedback terminal 402 in the standby state, thereby realizing the control of the switching state of the switching circuit 2, and further realizing the control of whether the power supply circuit 1 supplies power to the power supply terminal 403.
[0146] In addition, the first comparator can also determine whether to enter the standby state based on the voltage of the second feedback terminal 402, and the first comparator can also determine whether to exit the standby state based on the voltage of the second feedback terminal 402.
[0147] In one embodiment, reference Figure 3 and Figure 5 The second control circuit 4 also includes:
[0148] Timer 43, connected to the first comparator, is used to determine the duration for which the voltage at the second feedback terminal 402 is less than the second reference voltage;
[0149] The trigger is also used to be activated when the duration exceeds a preset duration and to output a signal to control the switching circuit to disconnect.
[0150] The preset duration can be determined according to needs, such as Figure 4 The T shown D .
[0151] In this example, a timer is added to the first comparator. By timing the timer and combining it with the comparison result of the first comparator, the accuracy of determining whether to enter the standby state can be improved.
[0152] In one embodiment, the trigger is also configured to be triggered when the voltage at the second feedback terminal 402 is less than the second reference voltage when the power supply is connected to the load, and to output a signal for controlling the switching circuit to conduct at a preset frequency.
[0153] This example demonstrates how to supply power to the load and to the power supply terminal 403 when the power supply is connected to the load, including after exiting standby mode.
[0154] In one embodiment, the second control circuit 4 further includes:
[0155] The second comparator 44 is connected to the power supply terminal 403 and is used to compare whether the voltage of the power supply terminal 403 has dropped to the first reference voltage and whether the voltage of the power supply terminal 403 is higher than the first reference voltage.
[0156] The second comparator may include a non-inverting input and an inverting input. The non-inverting input can be the "+" in the second comparator 44, and the inverting input can be the "-" in the second comparator 44.
[0157] This example demonstrates how, in standby mode, the voltage at power supply terminal 403 can be used to determine whether to turn on the switching circuit 2, thereby determining whether to supply power to power supply terminal 403.
[0158] For example, the second control circuit 4 may further include a drive circuit 45 connected to the flip-flop 42, for outputting a drive signal according to the output signal of the flip-flop, the drive signal being used to drive the switching circuit 2 to conduct. The drive signal may include a GATE high-level signal.
[0159] In one embodiment, reference Figure 1 , Figure 3 and Figure 5 The power supply circuit 1 includes:
[0160] The first rectifier circuit 1a has its input terminal as the first input terminal.
[0161] Transformer 1b includes a primary winding Lp, a first-stage winding Ls, and a second-stage winding Lax; the first rectifier circuit 1a, the primary winding Lp, and the switching circuit 2 are connected in series;
[0162] The second rectifier circuit 1c is connected between the primary winding Ls and the first output terminal 102;
[0163] The third rectifier circuit 1d is connected between the second stage winding Lax and the power supply terminal 403.
[0164] The first rectifier circuit 1a can be any type of rectifier circuit with rectification function, such as a full-bridge rectifier circuit, a half-bridge rectifier circuit, etc. The second rectifier circuit 1c and the third rectifier circuit 1d can be rectifier diodes.
[0165] The turns ratio of the coils in the primary winding Lp and the second primary winding Ls is different from the turns ratio of the coils in the primary winding Lp and the second primary winding Lax. Different turns ratios can result in different outputs at the first output terminal 102 and the second output terminal 103.
[0166] The primary winding Ls and the secondary winding Lax are two independent windings. The primary winding Ls and the second rectifier circuit 1c form a line for supplying power to the load, while the secondary winding Lax and the third rectifier circuit 1d form a line for supplying power to the power supply terminal 403.
[0167] The controlled terminal 104 can be the end of the primary winding Lp that is away from the first rectifier circuit 1a, that is, the end that is connected to the switching circuit 2.
[0168] Switching circuit 2 is connected in series with primary winding Lp. Thus, the switching circuit 2 can control the switching of primary winding Lp, thereby controlling the output of primary winding Ls and secondary winding Laux, which in turn controls the output of first output terminal 102 and second output terminal 103.
[0169] In one embodiment, reference Figure 3 The first control circuit 3 is also used to detect whether a load is connected. When it detects that the power supply of the power circuit is disconnected from the load, the first control circuit 3 controls the feedback voltage of the first feedback terminal 302 to change, so that the voltage at the input terminal of the optocoupler 5 decreases. This reduces the current flowing through the input terminal of the optocoupler 5, and the current at the output terminal of the optocoupler also decreases. The current flows through the second feedback terminal 402 and the third resistor R. FB The current also decreases, which reduces the resistance of the third resistor R. FB If the power supply at both ends is activated, the voltage at the second feedback terminal 402 will increase.
[0170] For example, the first control circuit 3 can control the voltage input to the non-inverting input terminal of the operational amplifier 3a1 through the controller 3b, thereby increasing the voltage input to the non-inverting input terminal of the operational amplifier 3a1. Figure 4 V during the time interval t1 to t2 OUT_REF The changing trend.
[0171] In this situation, the second control circuit 4 controls the switching circuit 2 to increase the conduction frequency, and the power supply circuit 1 supplies power to the first output terminal 102, causing the voltage of the first output terminal 102 to increase. At the same time, the power supply circuit 1 supplies power to the second output terminal 103, causing the voltage of the second output terminal 103 to increase, which in turn increases the voltage of the power supply terminal 403, thus increasing VDD.
[0172] This can increase the voltage at the power supply terminal 403, reducing the possibility of the second power supply circuit malfunctioning due to the low voltage at the power supply terminal 403 caused by the power consumption of the chip containing the second power supply circuit 4.
[0173] In one embodiment, another example of a power supply circuit control principle is also provided.
[0174] Figure 3 This embodiment presents a schematic diagram of a low standby power flyback fast charger circuit. Without adding any external hardware circuitry, by optimizing the control strategy—specifically, changing the system's no-load BURST operating mode to an intelligent sleep mode—the current I at the optocoupler input is completely shut off. SFB and optocoupler output current I PFBThe purpose is to reduce the standby power consumption of the entire system. The control section of this circuit includes a first control circuit and a second control circuit. The first control circuit includes a secondary protocol IC control circuit, and the second control circuit includes a primary control IC control circuit. The secondary protocol IC control circuit includes V... OUT Sampling bias resistor R OA V OUT Sampling bias resistance R OB The system includes a voltage loop operational amplifier 3a1, a programmable control module, and a controller 3b containing the programmable control module. The primary control IC control circuit includes a built-in power supply VCC and a PFB pull-up resistor R. FB PFB first comparator, PFB first comparator positive terminal input reference voltage V PFB_TH A timer, a second comparator (VDD), and a reference voltage (V) input to the positive terminal of the second comparator (VDD). DD_TH CS comparator 3, CS comparator 3 negative terminal input reference voltage V CS_ref Two AND gates, one OR gate, one NOT gate, one RS flip-flop, and a driver module.
[0175] The first reference voltage includes V. DD_TH The second reference voltage includes V PFB_TH .
[0176] Figure 5 This is a schematic diagram of another flyback fast charger circuit proposed in this embodiment. Figure 5 and Figure 3 The only difference lies in the connection method of the optocoupler driven by the secondary protocol IC. Figure 5 The SFB is connected to the optocoupler via a series resistor Rb on the secondary optocoupler, and then the other end of the optocoupler is connected to the secondary reference ground. The other parts are... Figure 3 same.
[0177] Figure 4 This is a waveform diagram of the flyback fast charger entering intelligent standby mode as proposed in this embodiment. The circuit diagram is shown in the reference diagram. Figure 3 During the time period from t0 to t1, the power supply is connected to the load, including the device maintaining a Type-C connection. The secondary protocol IC regulates the output voltage V through the loop. OUT The target voltage requested by the protocol is reached. The first control circuit detects that the load is disconnected from the first control circuit, including: the secondary protocol IC detects at time t1 that the original pull-down of CC1 or CC2 is suddenly released, determines that the Type-C device is unplugged, the power supply is disconnected from the load, and the system prepares to enter standby mode.
[0178] During the time period from t1 to t2, the controller 3b (such as a programmable controller module) in the secondary protocol IC first gradually increases V. OUT_REFAt this point, the voltage difference between the positive and negative terminals of the op-amp increases, and it takes time for the voltages at the positive and negative terminals to become equal. During this time before they become equal, the output voltage of the first feedback terminal 302 (such as the SFB point) will also increase, and the current I at the input terminal of the optocoupler will also increase. SFB The current I at the output terminal of the optocoupler decreases. PFB It also decreases. The voltage (V) at the second feedback terminal 402 in the second control circuit... PFB As the voltage increases, the second control circuit controls the switching circuit to increase the conduction frequency. For example, the primary IC will output more gate pulses, thus increasing the voltage V at the first output terminal. OUT Increase. When V OUT_REF To V OUT_REFmax Loop regulation output voltage V OUT Rise to the system's maximum value V OUT_MAX At this time, the second output terminal 103 (such as the second stage winding) will also synchronously increase the voltage of the power supply terminal 403 in the second control circuit, such as the VDD voltage of the primary control IC, to ensure that the primary control IC does not lose power during the subsequent adjustment process.
[0179] Then, during the time period from t2 to t3, the first control circuit detects V. OUT Rise to V OUT_REFmax V OUT_REF Switch to the system's minimum setting V OUT_REF_MIN Since at this time: V OUT *(R OA +R OB ) / R OB )>V OUT_REF When the voltage at the first feedback terminal (such as the SFB point) drops, due to the series voltage division, the voltage at the input terminal of the optocoupler increases, and the current I at the input terminal of the optocoupler increases. SFB It begins to increase, corresponding to I PFB As the voltage increases, the voltage at the second feedback terminal 402 begins to decrease, such as the PFB voltage V of the primary control IC. PFB It has begun to descend.
[0180] At time t3, the timer in the first control circuit (such as inside the primary control IC) starts counting and comparator 1 determines whether "VPFB" is satisfied. <V PFB_TH And a timer can determine VPFB <V PFB_TH The duration exceeds t D If the above conditions are met, the secondary protocol IC is considered to have requested to enter smart standby mode. In smart standby mode, the primary control IC does not need to sample V. PFB This adjusts the output power and shuts down most of the internal modules of the IC, reducing the operating current of the IC in intelligent standby mode.
[0181] During the time interval from t4 to t5, the first control circuit (or the secondary protocol IC) shuts down the op-amp, I... SFB Reduced to zero, I PFB Subsequently, it decreases to zero, and the open-loop V of the loop decreases further. PFB Rise to V PFB_TH The above applies, but the primary control IC does not sample V. PFB It also does not output GATE. In this case, the input terminal of the optocoupler is disconnected from the first feedback terminal 302.
[0182] Until time t5, the primary control IC samples that VDD has dropped to V. DD_TH This triggers the forced power-saving logic, resulting in a GATE signal. Specifically, when the power supply voltage drops to the first reference voltage, the second control circuit outputs a control signal to control the conduction of switching circuit 2. The primary winding of the power supply circuit converts energy into the first and second stage windings, increasing the output voltage V. OUT And the primary control IC supply voltage VDD, which is the voltage at the power supply terminal.
[0183] After the demagnetization of the primary and secondary windings is completed, V OUT VDD reaches its highest value during the time period from t5 to t6, then gradually decreases until time t6, when the primary control IC samples that VDD has once again dropped to V. DD_TH This triggers the forced power-saving logic, resulting in a GATE message being displayed, and the entire process from time t5 to t6 is repeated. Subsequent intelligent standby modes continuously repeat this process from time t5 to t6.
[0184] During the period from t5 to t6, the frequency at which the second control circuit controls the switching circuit to conduct is significantly lower than that of the second control circuit. Figure 1 The frequency at which the device is turned on multiple times consecutively within a certain time period during standby mode.
[0185] Figure 6 This is a waveform diagram illustrating the exit of the intelligent standby mode of the flyback fast charger proposed in this embodiment. During the time period from t1 to t2, the system is still in intelligent standby mode, the output constant voltage loop is open, there is no optocoupler current, and the primary control IC samples that VDD has dropped to V. DD_TH This triggers the forced power-saving logic, thereby controlling the switching circuit to conduct. For example, if a GATE signal is issued, energy is converted to the output winding and auxiliary winding, increasing the output voltage V. OUT And the power supply voltage VDD of the primary control IC.
[0186] Until time t3, the secondary protocol IC detects a pull-down switch on either CC1 or CC2, indicating a Type-C device has been inserted. The adapter needs to exit smart standby mode and begin charging the Type-C device. Then, the controller in the first control circuit increases the input voltage at the non-inverting input of the operational amplifier, and the programmable control module of the secondary protocol control IC adjusts V... OUT_REF Switch to the system's maximum setting V OUT_REF_MAX The first control circuit controls the operational amplifier to start running. Because at this time: V OUT *(R OA +R OB ) / R OB <V OUT_REF The first control circuit adjusts the current I at the input terminal of the optocoupler. SFB It begins to increase, corresponding to I PFB As the voltage increases, the voltage at the second feedback terminal begins to decrease, such as the PFB voltage V of the primary control IC. PFB It has begun to descend.
[0187] At time t4, I SFB Increase to the maximum value I SFB_MAX The second control circuit determines V PFB <V PFB_TH The primary control IC determines that the secondary protocol IC is requesting to exit the smart standby mode, and the second control circuit begins to detect V. PFB Furthermore, the output loop changes from an open-loop state to a constant-voltage output loop takeover state by the secondary protocol IC.
[0188] At time t5, the secondary protocol IC will V OUT_REF Switch to the system's minimum setting V OUT_REF_MIN Then gradually increase V OUT_REF To the protocol's initial default value, V PFB The voltage is also gradually increased by the loop, and the primary control IC adjusts according to V. PFB Determine the energy required for the secondary winding and issue a gate. Until time t6, the output voltage V... OUT After being adjusted to the initial default values of the protocol, the protocol control IC pulls VG high, turns on the path MOS, and begins charging the Type-C device.
[0189] In summary, this embodiment proposes an intelligent standby mode for switching power supplies. By cooperating with the primary control IC and the secondary protocol IC, it determines whether to enter the intelligent standby mode, thereby saving standby power consumption while quickly responding to device charging requests and exiting the standby state.
[0190] This embodiment uses a flyback switching power supply as an example to illustrate the implementation principle of intelligent standby mode. The switching power supply can also be any of the following topologies: forward converter, LLC converter, half-bridge converter, full-bridge converter, push-pull converter, etc. This embodiment provides a representative low standby power switching power supply, which is only a preferred implementation example and is not intended to limit this embodiment. Those skilled in the art can make various modifications and variations based on this embodiment. Any modifications, substitutions, or improvements made within the design principles and spirit proposed in this embodiment are within the protection scope of this embodiment.
[0191] In one embodiment, reference Figure 7 This is a schematic diagram of a control method for a power supply circuit. The method is applied to a first control circuit and includes:
[0192] S71 detects whether it is connected to the load.
[0193] S72, when an unconnected load is detected and the power supply of the first control circuit is in standby mode, the first feedback terminal of the first control circuit and the optocoupler are disconnected.
[0194] The description of this method can be found in the description of the corresponding part of the circuit structure above, and will not be repeated here. Generally, subsequent method embodiments can also refer to the description of the embodiments corresponding to the power supply circuit above.
[0195] In one embodiment, reference Figure 8 This is a schematic diagram of another control method for a power supply circuit, which also includes:
[0196] S81, determine the feedback voltage output from the first feedback terminal in the first control circuit.
[0197] S82 outputs feedback voltage; where the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage at the second feedback terminal in the second control circuit.
[0198] In one embodiment, the control method further includes:
[0199] When a power supply connection load is detected, the first feedback terminal and the optocoupler are controlled to be in a closed circuit, and the feedback voltage output by the first feedback terminal is controlled.
[0200] The feedback voltage is used to determine the current output from the optocoupler to the second feedback terminal, and the current is used to determine the voltage at the second feedback terminal.
[0201] In one embodiment, reference Figure 9 This is a schematic diagram of another power supply circuit control method, which is applied to a second control circuit and includes:
[0202] S91, when the power supply of the second control circuit is in standby mode, when the voltage at the power supply terminal drops to the first reference voltage, the control switch circuit is turned on, and the second output terminal of the power supply circuit outputs the first preset voltage to the power supply terminal.
[0203] S92, when the voltage at the power supply terminal is higher than the first reference voltage, the control switch circuit is turned off, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
[0204] In one embodiment, the control method further includes:
[0205] Whether to enter standby mode is determined based on the voltage at the second feedback terminal; wherein, the voltage at the second feedback terminal is negatively correlated with the output current of the optocoupler.
[0206] In one embodiment, the control method further includes:
[0207] When the power supply is connected to the load, the control switching circuit is turned on at a preset frequency;
[0208] The first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
[0209] In one embodiment, the control method further includes:
[0210] When the first control circuit detects that the power supply is connected to the load, it determines to exit the standby state based on the voltage at the second feedback terminal and the second reference voltage.
[0211] In one embodiment, reference Figure 10 Here is a schematic diagram of a power supply circuit, including:
[0212] Detection module 10 is used to detect whether it is connected to the load;
[0213] The first control module 20 is used to control the first feedback terminal and the optocoupler of the first control circuit to be disconnected when an unconnected load is detected and the power supply of the first control circuit is in standby mode.
[0214] In one embodiment, the power supply circuit further includes:
[0215] The first determining module is used to determine the feedback voltage output from the first feedback terminal in the first control circuit;
[0216] An output module is used to output the feedback voltage; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of the second feedback terminal in the second control circuit.
[0217] In one embodiment, the power supply circuit further includes:
[0218] The second control module is used to control the first feedback terminal and the optocoupler to be in a path when the power supply connection load is detected, and to control the feedback voltage output by the first feedback terminal.
[0219] The feedback voltage is used to determine the current output from the optocoupler to the second feedback terminal, and the current is used to determine the voltage at the second feedback terminal.
[0220] In one embodiment, reference Figure 11 Here is a schematic diagram of another power supply circuit, including:
[0221] The third control module 30 is used to control the switch circuit to turn on when the power supply voltage drops to the first reference voltage while the power supply of the second control circuit is in standby mode. The second output terminal of the power supply circuit outputs the first preset voltage to the power supply terminal.
[0222] The fourth control module 40 is used to control the switching circuit to disconnect when the voltage at the power supply terminal is higher than the first reference voltage, and the second output terminal will no longer output the first preset voltage to the power supply terminal.
[0223] In one embodiment, the power supply circuit further includes:
[0224] The second determining module is used to determine whether to enter the standby state based on the voltage of the second feedback terminal; wherein the voltage of the second feedback terminal is negatively correlated with the output current of the optocoupler.
[0225] In one embodiment, the power supply circuit further includes:
[0226] The fifth control module is used to control the switching circuit to conduct at a preset frequency when the power supply is connected to a load.
[0227] The first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
[0228] In one embodiment, the power supply circuit further includes:
[0229] The third determining module is used to determine, based on the voltage at the second feedback terminal and the second reference voltage, to exit the standby state when the first control circuit detects that the power supply is connected to a load.
[0230] In one embodiment, a power supply is also provided, comprising:
[0231] The power supply circuit in any of the above embodiments.
[0232] In one embodiment, the power source includes a charger.
[0233] In one embodiment, an electronic device is also provided, comprising:
[0234] The power supply circuit in any of the above embodiments;
[0235] or,
[0236] The power supply in any of the above embodiments.
[0237] In one embodiment, a power supply is also provided, comprising:
[0238] A processor and a memory for storing computer programs or executable instructions capable of running on the processor, wherein:
[0239] When the processor is used to run the computer program or the executable instructions, the executable instructions perform the control method in any of the above embodiments.
[0240] In one embodiment, a non-transitory computer-readable storage medium is also provided, wherein a computer program or computer-executable instructions are stored in the non-transitory computer-readable storage medium, and the computer program or computer-executable instructions implement the control method in any of the above embodiments when executed by a processor.
[0241] In one embodiment, a computer program product is also provided, including a computer program or executable instructions, which, when executed by a processor, implement the control method in any of the above embodiments.
[0242] It should be noted that the terms "first" and "second" in the embodiments of this disclosure are for ease of description and distinction only, and have no other specific meaning.
[0243] Figure 12 This is a block diagram illustrating a power supply according to an exemplary embodiment. For example, the power supply may be for charging devices such as mobile phones, computers, digital broadcasting terminals, messaging devices, game consoles, tablets, medical devices, fitness equipment, and personal digital assistants.
[0244] Reference Figure 12 The power supply may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input / output (I / O) interface 912, sensor component 914, and communication component 916.
[0245] Processing component 902 typically controls the overall operation of the power supply, such as operations associated with display, data communication, and recording. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components.
[0246] Memory 904 is configured to store various types of data to support operation on power. Examples of this data include instructions for any application or method operating on power. Memory 904 can be implemented by any type of volatile or non-volatile storage device 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, and flash memory.
[0247] Power component 906 provides power to various components of the power source. Power component 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the power source.
[0248] Multimedia component 908 includes a screen that provides an output interface between a power source and a 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 can 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 can sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation.
[0249] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when the power supply is in operation mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0250] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc.
[0251] Sensor assembly 914 includes one or more sensors for providing a state assessment of various aspects of the power supply. Sensor assembly 914 may also detect changes in the position of the power supply or a component of the power supply, the presence or absence of user contact with the power supply, the orientation or acceleration / deceleration of the power supply, and temperature changes of the power supply. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0252] Communication component 916 is configured to facilitate wired or wireless communication between the power supply and other devices. The power supply can access wireless networks based on communication standards, such as Wi-Fi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 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), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0253] In an exemplary embodiment, the power supply may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0254] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention 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 claims.
[0255] 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 power supply circuit, characterized in that, include: The power supply circuit includes a first input terminal, a first output terminal, a second output terminal, and a controlled terminal. The first input terminal is connected to an AC power source, and the first output terminal serves as the output terminal of the power supply circuit. A switching circuit, connected to the controlled terminal, is used to control the outputs of the first output terminal and the second output terminal; The first control circuit includes a second input terminal and a first feedback terminal, wherein the second input terminal is connected to the first output terminal; The second control circuit includes a control terminal, a second feedback terminal, and a power supply terminal. The control terminal is connected to the switching circuit, and the power supply terminal is connected to the second output terminal. An optocoupler is connected between the second feedback terminal and the first feedback terminal; When the power supply circuit is in standby mode, the first control circuit controls the first feedback terminal and the optocoupler to be disconnected. The second control circuit is used to control the switching circuit to turn on when the voltage at the power supply terminal drops to the first reference voltage, and the second output terminal outputs a first preset voltage to the power supply terminal; when the voltage at the power supply terminal is higher than the first reference voltage, the switching circuit is controlled to turn off, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
2. The circuit according to claim 1, characterized in that, Before entering the standby state, the first feedback terminal and the optocoupler form a circuit; The first control circuit is further configured to determine the feedback voltage output by the first feedback terminal based on the output of the first output terminal when the power supply is not connected to a load. The feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage at the second feedback terminal. The second control circuit is further configured to determine whether to enter the standby state based on the voltage of the second feedback terminal; wherein the voltage of the second feedback terminal is negatively correlated with the output current of the optocoupler.
3. The circuit according to claim 1, characterized in that, When the power supply is connected to the load, the first control circuit controls the first feedback terminal and the optocoupler to be in a closed circuit. The second control circuit controls the switching circuit to conduct at a preset frequency, the first output terminal outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
4. The circuit according to claim 1, characterized in that, The first control circuit is further configured to, when the power supply connection load is detected, control the first feedback terminal and the optocoupler to be in a closed circuit, and control the feedback voltage output by the first feedback terminal; The feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage at the second feedback terminal. The second control circuit is also used to determine whether to exit the standby state based on the voltage at the second feedback terminal and the second reference voltage.
5. The circuit according to any one of claims 1 to 4, characterized in that, The first control circuit includes: An operational amplifier circuit, wherein the output terminal of the operational amplifier circuit serves as the first feedback terminal, and one input terminal of the operational amplifier in the operational amplifier circuit is connected to the first output terminal; A controller, connected to another input terminal of the operational amplifier, is used to control the input of the other input terminal; wherein the output of the first feedback terminal is determined based on the inputs of the two input terminals of the operational amplifier.
6. The circuit according to claim 5, characterized in that, The operational amplifier circuit includes: First resistor; The second resistor is connected in series with the first resistor; The operational amplifier has its non-inverting input terminal connected to the controller, its inverting input terminal connected between the first resistor and the second resistor, the end of the second resistor furthest from the first resistor grounded, and the end of the first resistor furthest from the second resistor connected to the first output terminal. The input terminal of the optocoupler is connected between the first output terminal and the first feedback terminal.
7. The circuit according to claim 5, characterized in that, The operational amplifier circuit includes: First resistor; The second resistor is connected in series with the first resistor; The operational amplifier has its non-inverting input terminal connected to the controller, its inverting input terminal connected between the first resistor and the second resistor, the end of the second resistor furthest from the first resistor grounded, and the end of the first resistor furthest from the second resistor connected to the first output terminal. The first feedback terminal is connected to one pin of the input terminal of the optocoupler, and the other pin of the input terminal of the optocoupler is grounded.
8. The circuit according to any one of claims 1 to 4, characterized in that, The second control circuit includes: The third resistor has one end connected to a high level and the other end used as the second feedback terminal. The first comparator is connected to the second feedback terminal and is used to output the comparison result of the voltage at the second feedback terminal and the second reference voltage. A trigger, connected to the first comparator, is used to be triggered in the standby state when the voltage at the second feedback terminal is less than the second reference voltage, and to output a signal for controlling the switching circuit to disconnect.
9. The circuit according to claim 8, characterized in that, The second control circuit also includes: A timer, connected to the first comparator, is used to determine the duration for which the voltage at the second feedback terminal is less than the second reference voltage; The trigger is also used to be triggered when the duration exceeds a preset duration, and to output a signal for controlling the switching circuit to disconnect.
10. The circuit according to claim 8, characterized in that, The trigger is also configured to be triggered when the voltage at the second feedback terminal is less than the second reference voltage when the power supply is connected to the load, and to output a signal for controlling the switching circuit to conduct at a preset frequency.
11. The circuit according to any one of claims 1 to 4, characterized in that, The second control circuit also includes: A second comparator, connected to the power supply terminal, is used to compare whether the voltage at the power supply terminal has dropped to the first reference voltage and whether the voltage at the power supply terminal is higher than the first reference voltage.
12. The circuit according to any one of claims 1 to 4, characterized in that, The power supply circuit includes: A first rectifier circuit, wherein the input terminal of the rectifier circuit is used as the first input terminal; The transformer includes a primary winding, a first secondary winding, and a second secondary winding; the first rectifier circuit, the primary winding, and the switching circuit are connected in series; A second rectifier circuit is connected between the first primary winding and the first output terminal; The third rectifier circuit is connected between the second stage winding and the power supply terminal.
13. A control method for a power supply circuit, characterized in that, Applied to the first control circuit, including: Check if connected to the load; When an unconnected load is detected and the power supply of the first control circuit is in standby mode, the first feedback terminal and optocoupler of the first control circuit are disconnected.
14. The control method according to claim 13, characterized in that, The method further includes: Determine the feedback voltage output from the first feedback terminal in the first control circuit; The feedback voltage is output; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of the second feedback terminal in the second control circuit.
15. The control method according to claim 13, characterized in that, The method further includes: When the power supply connection load is detected, the first feedback terminal and the optocoupler are controlled to be in a closed circuit, and the feedback voltage output by the first feedback terminal is controlled. The feedback voltage is used to determine the current output from the optocoupler to the second feedback terminal, and the current is used to determine the voltage at the second feedback terminal.
16. A control method for a power supply circuit, characterized in that, Applied to the second control circuit, including: When the power supply of the second control circuit is in standby mode, when the voltage at the power supply terminal drops to the first reference voltage, the control switch circuit is turned on, and the second output terminal of the power supply circuit outputs the first preset voltage to the power supply terminal. When the voltage at the power supply terminal is higher than the first reference voltage, the switching circuit is controlled to open, and the second output terminal no longer outputs the first preset voltage to the power supply terminal.
17. The control method according to claim 16, characterized in that, The method further includes: Whether to enter the standby state is determined based on the voltage at the second feedback terminal; wherein, the voltage at the second feedback terminal is negatively correlated with the output current of the optocoupler.
18. The control method according to claim 16, characterized in that, The method further includes: When the power supply is connected to a load, the switching circuit is controlled to conduct at a preset frequency; The first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
19. The control method according to claim 16, characterized in that, The method further includes: When the first control circuit detects that the power supply is connected to a load, it determines to exit the standby state based on the voltage at the second feedback terminal and the second reference voltage.
20. A power supply circuit, characterized in that, include: The detection module is used to detect whether it is connected to the load; The first control module is used to control the first feedback terminal and optocoupler of the first control circuit to be disconnected when an unconnected load is detected and the power supply of the first control circuit is in standby mode.
21. The power supply circuit according to claim 20, characterized in that, Also includes: The first determining module is used to determine the feedback voltage output from the first feedback terminal in the first control circuit; An output module is used to output the feedback voltage; wherein the feedback voltage is used to power the optocoupler, and the output current of the optocoupler is used to determine the voltage of the second feedback terminal in the second control circuit.
22. The power supply circuit according to claim 20, characterized in that, Also includes: The second control module is used to control the first feedback terminal and the optocoupler to be in a path when the power supply connection load is detected, and to control the feedback voltage output by the first feedback terminal. The feedback voltage is used to determine the current output from the optocoupler to the second feedback terminal, and the current is used to determine the voltage at the second feedback terminal.
23. A power supply circuit, characterized in that, include: The third control module is used to control the switch circuit to turn on when the voltage at the power supply terminal drops to the first reference voltage while the power supply of the second control circuit is in standby mode, and the second output terminal of the power supply circuit outputs the first preset voltage to the power supply terminal. The fourth control module is used to control the switching circuit to disconnect when the voltage at the power supply terminal is higher than the first reference voltage, and the second output terminal will no longer output the first preset voltage to the power supply terminal.
24. The power supply circuit according to claim 23, characterized in that, Also includes: The second determining module is used to determine whether to enter the standby state based on the voltage of the second feedback terminal; wherein the voltage of the second feedback terminal is negatively correlated with the output current of the optocoupler.
25. The power supply circuit according to claim 23, characterized in that, Also includes: The fifth control module is used to control the switching circuit to conduct at a preset frequency when the power supply is connected to a load. The first output terminal of the power supply circuit outputs a second preset voltage, and the second output terminal outputs a third preset voltage to the power supply terminal.
26. The power supply circuit according to claim 23, characterized in that, Also includes: The third determining module is used to determine, based on the voltage at the second feedback terminal and the second reference voltage, to exit the standby state when the first control circuit detects that the power supply is connected to a load.
27. A power supply, characterized in that, include: The power supply circuit according to any one of claims 1 to 12.
28. The power supply according to claim 27, characterized in that, The power source includes a charger.
29. An electronic device, characterized in that, include: The power supply circuit according to any one of claims 1 to 12; or, The power supply as described in claim 27 or 28.
30. A power supply, characterized in that, include: A processor and a memory for storing computer programs or executable instructions capable of running on the processor, wherein: When the processor is used to run the computer program or the executable instructions, the executable instructions perform the method according to any one of claims 13 to 15, or any one of claims 16 to 19.
31. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores a computer program or computer-executable instructions, which, when executed by a processor, implement the method described in any one of claims 13 to 15, or any one of claims 16 to 19.
32. A computer program product, comprising a computer program or executable instructions, characterized in that, When the computer program or executable instructions are executed by a processor, they implement the method according to any one of claims 13 to 15, or any one of claims 16 to 19.
