Standby method for switching power supply, switching power supply, and primary-side and secondary-side control circuits

By detecting the power supply demand of the load device and turning off the bias current of the optocoupler circuit, and using the driving pulse signal to control the output of the switching power supply, the problem of high standby power consumption in the prior art is solved, and a lower standby power consumption is achieved.

WO2024244219A1PCT designated stage expired Publication Date: 2024-12-05BCD (SHANGHAI) MICRO ELECTRONICS LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/119962
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-26
Filing Date
2023-09-20
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In the standby state, the existing switching power supply has a large standby power consumption due to the bias current of the photoelectric coupling element and is difficult to further reduce.

Method used

By detecting the power supply demand of the load device, if the demand is lower than or equal to the preset value, the bias current of the optocoupler circuit is turned off, and the output of the switching power supply is controlled using the driving pulse signal to reduce the deviation of the primary and secondary sides. Set current to enter the second mode to reduce standby power consumption.

Benefits of technology

It effectively reduces the standby power consumption of switching power supplies, reduces static losses, and achieves lower standby power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023119962_05122024_PF_FP_ABST
    Figure CN2023119962_05122024_PF_FP_ABST
Patent Text Reader

Abstract

A standby method for a switching power supply, a switching power supply, and primary-side and secondary-side control circuits, which relate to the technical field of secondary-side feedback control. The method is applied to a switching power supply provided with an optocoupler circuit. When a mode control signal representing that a power supply requirement of a load device is higher than a preset value is detected, the switching power supply enters a first mode, and the output of the switching power supply is controlled by means of the optocoupler circuit; and when a mode control signal representing that the power supply requirement of the load device is lower than or equal to the preset value is detected, the switching power supply enters a second mode, a bias current of the optocoupler circuit is turned off, and the output of the switching power supply is controlled by means of a driving pulse signal, so that bias currents of a primary side and a secondary side of the switching power supply are reduced, and the standby power consumption of the switching power supply is reduced. At this time, due to the bias current of the optocoupler circuit being turned off, the bias currents of the primary side and the secondary side are both 0, thereby reducing the bias currents and reducing the static power loss, and the standby power consumption is further reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Switching power supply standby method, switching power supply, primary side and secondary side control circuit

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 26, 2023, with application number 202310609210.X and invention name “Standby method of switching power supply, switching power supply, primary side and secondary side control circuit”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present invention relates to the technical field of switching power supplies, and in particular to a standby method of a switching power supply, a switching power supply, and primary and secondary side control circuits. Background Art

[0003] Figure 1 is a structural diagram of an existing switching power supply. Specifically, FIG1 illustrates an alternating current / direct current secondary side regulation (AC / DC SSR) power supply. Existing AC / DC SSRs typically utilize a voltage control loop (CV) or a current control loop (CC), utilizing a current signal flowing through an optical coupler (OC) to maintain a stable state in a constant voltage and constant current control mode. Switching power supplies typically require a load to be connected, and then their operation is controlled accordingly. When a switching power supply is in standby mode, there are often situations where a load is connected to the switching power supply and where a load is not connected. Existing switching power supplies utilize the switching power supply's burst mode (BM) to reduce standby power consumption, regardless of whether a load is connected. During this period, the bias current flowing through the optical coupler on both the primary and secondary sides of the switching power supply reaches its maximum value, resulting in high standby power consumption. Furthermore, the high bias current prevents further reduction in standby power consumption.

[0004] In view of the above problems, those skilled in the art are trying their best to find a way to avoid the influence of the bias current and further reduce the standby power consumption of the switching power supply.

[0005] Summary of the Invention

[0006] The object of the present invention is to provide a standby method for a switching power supply, a switching power supply, and primary and secondary side control circuits, so as to avoid the influence of bias current and further reduce the standby power consumption of the switching power supply.

[0007] To solve the above technical problems, the present invention provides a standby method for a switching power supply, which is applied to a switching power supply provided with an optocoupler circuit, comprising:

[0008] When a mode control signal indicating that the power supply demand of the load device is higher than a preset value is detected, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit;

[0009] When a mode control signal is detected indicating that the power supply demand of the load device is lower than or equal to a preset value, the switching power supply enters the second mode and turns off the bias current of the optocoupler circuit. The output of the switching power supply is controlled by a driving pulse signal to reduce the bias current on the primary and secondary sides of the switching power supply and reduce the standby power consumption of the switching power supply.

[0010] On the other hand, entering the second mode includes:

[0011] generating a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit;

[0012] The secondary-side control chip is controlled to enter the second mode according to the notification signal that maintains the first preset duration.

[0013] On the other hand, entering the second mode includes:

[0014] When the level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold, the primary side control chip is controlled to enter the second mode;

[0015] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0016] On the other hand, turning off the bias current of the optocoupler circuit and controlling the output of the switching power supply through the driving pulse signal include:

[0017] When the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state, the primary side control chip outputs a driving pulse signal;

[0018] The output of the switching power supply is adjusted according to the driving pulse signal so that the switching power supply is in the second mode.

[0019] On the other hand, the output undervoltage signal collected by the primary side control chip indicating that the output voltage is in an undervoltage state includes:

[0020] Determining whether the output voltage of the secondary-side control chip is less than a first preset output voltage;

[0021] If so, the output undervoltage signal is transmitted to the primary side control chip;

[0022] If not, no output undervoltage signal is output.

[0023] On the other hand, it also includes:

[0024] When the primary side control chip is in the preset resonance time, the primary side control chip detection is shielded.

[0025] On the other hand, after controlling the output of the switching power supply by the driving pulse signal, it also includes:

[0026] When the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, a wake-up signal of a preset frequency indicating exit from the second mode is output through the transformer, and the secondary side control chip is controlled to stop outputting the wake-up signal, and the secondary side control chip is controlled to exit the second mode according to the wake-up signal.

[0027] On the other hand, after the transformer outputs a wake-up signal of a preset frequency indicating exit from the second mode, the method further includes:

[0028] When it is determined that the preset frequency of the wake-up signal is less than the frequency threshold, the primary-side control chip is controlled to exit the second mode.

[0029] On the other hand, turning off the bias current of the optocoupler circuit and controlling the output of the switching power supply through the driving pulse signal include:

[0030] When the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range, the control chip on the primary side outputs a drive pulse signal;

[0031] The output of the switching power supply is adjusted according to the driving pulse signal and the relationship between the input voltage and the output voltage, so that the switching power supply is in the second mode.

[0032] On the other hand, the output of the switching power supply is adjusted according to the driving pulse signal and the relationship between the input voltage and the output voltage:

[0033] The output voltage is adjusted according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

[0034] On the other hand, after controlling the output of the switching power supply by the driving pulse signal, it also includes:

[0035] When the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped, and the duration of the flipped level signal reaches a second preset duration, the secondary side control chip is controlled to stop outputting the wake-up signal, and the primary side control chip is controlled to exit the second mode according to the wake-up signal.

[0036] On the other hand, it also includes:

[0037] The secondary-side control chip is controlled to exit the second mode according to the notification signal maintained for the third preset time period.

[0038] To solve the above technical problems, the present invention further provides a switching power supply, wherein an optocoupler circuit is coupled between the primary side and the secondary side, and the switching power supply further comprises:

[0039] A mode signal generating circuit is used to detect the power supply demand of the load device of the switching power supply, and generate a second mode control signal when the power supply demand of the load device is lower than or equal to a preset value;

[0040] an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to a second mode control signal;

[0041] The switching power supply output control circuit is used to generate a first mode control signal when the power supply demand of the load device is higher than a preset value, control the switching power supply to enter the first mode according to the first mode control signal, and control the output of the switching power supply through the optocoupler circuit; and control the switching power supply to enter the second mode according to the second mode control signal, and control the output of the switching power supply through the drive pulse signal, so as to reduce the bias current of the primary and secondary sides of the switching power supply and reduce the standby power consumption of the switching power supply.

[0042] On the other hand, when the switching power supply enters the first mode, the output of the switching power supply is controlled to be stable by adjusting the bias current of the optocoupler circuit.

[0043] On the other hand, the switching power supply output control circuit includes:

[0044] a notification signal control circuit, configured to generate a notification signal upon receiving the second mode control signal, and to notify the primary-side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the drive pulse signal, thereby reducing the bias current of the primary and secondary sides of the switching power supply and reducing the standby power consumption of the switching power supply;

[0045] A primary side mode control circuit, configured to receive a notification signal and control the primary side control chip to change an operating mode according to the notification signal, wherein the operating mode includes a first mode or a second mode;

[0046] When the power supply demand of the load device is higher than a preset value, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit.

[0047] On the other hand, the notification signal control circuit includes:

[0048] The first control circuit for entering the second mode is used to generate a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

[0049] On the other hand, the notification signal control circuit further includes:

[0050] A second second mode entry control circuit is configured to control the primary side control chip to enter the second mode when a level signal of a voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold;

[0051] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0052] On the other hand, the primary side mode control circuit includes:

[0053] The first maintains the second mode control circuit, which is used to output a drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

[0054] On the other hand, the primary side mode control circuit also includes:

[0055] The first judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than the first preset output voltage; when the output voltage is less than the first preset output voltage, the output undervoltage signal is transmitted to the primary side control chip.

[0056] On the other hand, it also includes:

[0057] The first shielding circuit is used to shield the primary side control chip from detection when the primary side control chip is in a preset resonance time.

[0058] On the other hand, the notification signal control circuit further includes:

[0059] The first secondary side exits the second mode control circuit, which is used to output a wake-up signal of a preset frequency indicating the exit from the second mode through a transformer when the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

[0060] On the other hand, the notification signal control circuit further includes:

[0061] The first primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than a frequency threshold.

[0062] On the other hand, the primary side mode control circuit also includes:

[0063] The second maintains the second mode control circuit, which is used to control the chip on the primary side to output a drive pulse signal when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the drive pulse signal and the relationship between the input voltage and the output voltage so that the switching power supply is in the second mode.

[0064] On the other hand, the primary side mode control circuit also includes:

[0065] The first regulating circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

[0066] On the other hand, the notification signal control circuit further includes:

[0067] The second primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

[0068] On the other hand, the notification signal control circuit further includes:

[0069] The second secondary side exit-second mode control circuit is configured to control the secondary side control chip to exit the second mode according to a notification signal maintained for a third preset time period.

[0070] On the other hand, the mode signal generating circuit includes at least a mode control signal interface and a second mode control unit;

[0071] The mode control signal interface is used to transmit a mode control signal indicating that the power supply demand of the load device is higher than a preset value to the second mode control unit.

[0072] On the other hand, the optocoupler control circuit includes at least a first secondary-side switch tube and a second secondary-side switch tube;

[0073] The first end of the secondary side first switch tube is connected to the optocoupler circuit, the second end of the secondary side first switch tube is grounded, the control end of the secondary side first switch tube is connected to the first end of the secondary side second switch tube, the second end of the secondary side second switch tube is grounded, and the control end of the secondary side second switch tube is connected to the second mode unit.

[0074] To solve the above technical problems, the present invention further provides a secondary side control circuit of a switching power supply. The switching power supply is coupled with an optocoupler circuit between the primary side and the secondary side. The secondary side control circuit includes:

[0075] A mode signal generating circuit is used to detect the power supply demand of the load device of the switching power supply, and generate a second mode control signal when the power supply demand of the load device is lower than or equal to a preset value;

[0076] an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to a second mode control signal;

[0077] The notification signal control circuit generates a notification signal after receiving the second mode control signal, and is used to notify the primary side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the driving pulse signal, so as to reduce the bias current of the primary side and the secondary side of the switching power supply, and reduce the standby power consumption of the switching power supply.

[0078] On the other hand, the notification signal control circuit includes:

[0079] The third second mode entry control circuit is used to generate a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

[0080] On the other hand, the notification signal control circuit further includes:

[0081] A fourth second mode entry control circuit is configured to control the primary side control chip to enter the second mode when the level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold;

[0082] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0083] On the other hand, the notification signal control circuit further includes:

[0084] The third secondary side exits the second mode control circuit, which is used to output a wake-up signal of a preset frequency indicating the exit from the second mode through a transformer when the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

[0085] On the other hand, the notification signal control circuit further includes:

[0086] The third primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than the frequency threshold.

[0087] On the other hand, the notification signal control circuit further includes:

[0088] The fourth primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

[0089] On the other hand, the notification signal control circuit further includes:

[0090] The fourth secondary-side second mode exit control circuit is configured to control the secondary-side control chip to exit the second mode according to a notification signal maintained for a third preset time period.

[0091] To solve the above technical problems, the present invention further provides a primary-side control circuit of a switching power supply. The switching power supply is coupled with an optocoupler circuit between the primary side and the secondary side. The primary-side control circuit includes:

[0092] A driving pulse signal generating circuit is coupled to the power switch of the switching power supply and is used to generate a driving pulse signal to control the on and off of the power switch;

[0093] The primary side mode control circuit is used to receive a notification signal and control the primary side control chip to change the working mode according to the notification signal.

[0094] On the other hand, the primary side mode control circuit includes:

[0095] The third maintain second mode control circuit is used to output a drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the output voltage switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

[0096] On the other hand, the primary side mode control circuit also includes:

[0097] The second judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than the first preset output voltage; when the output voltage is less than the first preset output voltage, the output undervoltage signal is transmitted to the primary side control chip.

[0098] On the other hand, it also includes:

[0099] The second shielding circuit is used to shield the primary side control chip from detection when the primary side control chip is in a preset resonance time.

[0100] On the other hand, the primary side mode control circuit also includes:

[0101] The fourth maintains the second mode control circuit, which is used to control the chip on the primary side to output a drive pulse signal when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the drive pulse signal and the relationship between the input voltage and the output voltage so that the switching power supply is in the second mode.

[0102] On the other hand, the primary side mode control circuit also includes:

[0103] The second regulating circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

[0104] The present invention provides a standby method for a switching power supply. The method is applied to a switching power supply provided with an optocoupler circuit. When a mode control signal indicating that a load device's power supply demand is higher than a preset value is detected, the switching power supply enters a first mode and controls the output of the switching power supply through the optocoupler circuit. When a mode control signal indicating that the load device's power supply demand is lower than or equal to a preset value is detected, the switching power supply enters a second mode, shuts off the bias current of the optocoupler circuit, and controls the output of the switching power supply through a drive pulse signal, thereby reducing the bias current on the primary and secondary sides of the switching power supply and reducing the standby power consumption of the switching power supply. At this time, since the bias current of the optocoupler circuit is shut off, the bias current on the primary and secondary sides is reduced to zero, reducing the bias current and lowering the static loss, thereby further reducing the standby power consumption.

[0105] The present invention also provides a standby method for a switching power supply, a switching power supply, and primary and secondary side control circuits, with the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0106] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0107] FIG1 is a structural diagram of an existing switching power supply;

[0108] Figure 2 is a structural diagram of an OC device;

[0109] FIG3 is a waveform diagram of a conventional switching power supply in burst mode;

[0110] FIG4 is a flow chart of a standby method of a switching power supply provided by an embodiment of the present invention;

[0111] FIG5 is a structural diagram of a first switching power supply provided by an embodiment of the present invention;

[0112] FIG6 is a waveform diagram of the first switching power supply entering the sleep mode according to an embodiment of the present invention;

[0113] FIG7 is a waveform diagram of the first switching power supply according to an embodiment of the present invention when exiting the sleep mode;

[0114] FIG8 is a structural diagram of a second switching power supply provided by an embodiment of the present invention;

[0115] FIG9 is a waveform diagram of the second switching power supply entering the sleep mode according to an embodiment of the present invention;

[0116] FIG10 is a waveform diagram of the second switching power supply according to an embodiment of the present invention when exiting the sleep mode. DETAILED DESCRIPTION

[0117] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention, with reference to the accompanying drawings. It should be understood that the described embodiments are merely some, and not all, of the embodiments of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are intended to fall within the scope of protection of the present invention.

[0118] The core of the present invention is to provide a standby method for a switching power supply, a switching power supply, and primary and secondary side control circuits, which can avoid the influence of bias current and further reduce the standby power consumption of the switching power supply.

[0119] In order to enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0120] FIG1 is a structural diagram of an existing switching power supply. As shown in FIG1 , a primary side and a secondary side of a transformer T1 are defined in the switching power supply. The primary side of the switching power supply generally consists of an AC power supply AC, a rectifier bridge DB, an input capacitor Cbulk, a starting resistor R3, a primary coil of the transformer T1 (also referred to as a primary winding), an NMOS transistor Qp (also referred to as a power switch, coupled to the primary winding of the transformer T1), a current sampling resistor R4, a control chip Controller, a rectifier diode D1, and a triode portion of an OC device. It should be noted that, as a more preferred embodiment, a voltage divider resistor R1, a voltage divider resistor R2, a voltage stabilizing capacitor Cvcc, and an auxiliary winding Rf are further provided. The chip also has six pins, designated DEM, HV, VCC, COMP, GATE, and CS. The secondary side of a switching power supply generally consists of a voltage divider resistor R5, a voltage divider resistor R6, a voltage stabilizing capacitor Cout, a resistor R7 connected to the output terminal, the diode portion of the OC device, a compensation capacitor Ccomp, a transistor Q1, an amplifier U1, a Bais module, a rectifier diode D2, and the secondary coil (also known as the secondary winding) of transformer T1. The transistor Q1, amplifier U1, and Bais module comprise the secondary-side OC controller OCRDV. OCRDV is generally referred to as the secondary-side controller (secondary-side control chip), and Controller is referred to as the primary-side controller (primary-side control chip). Figure 2 shows the structure of an OC device. As shown in Figure 2, the left side of the OC device is the transistor portion, and the right side is the diode portion. The transistor portion is generally located on the primary side, while the diode portion is generally located on the secondary side. It is understandable that in actual production applications, the OC device is an integral device, but for the sake of convenience, it is represented separately when drawing its schematic diagram in the circuit field. It should also be noted that the transistor in the OC device is generally an NPN tube. At the same time, the bias current flowing through the OC device on the primary side is represented as IOC_C, and the bias current flowing through the OC device on the secondary side is represented as IOC_LED. Since the OC device is an optocoupler device, the diode on the secondary side is an LED lamp, and when current flows through it, the diode emits light. It is understandable that the above-mentioned description of the OC device is only one of many embodiments, and its specific implementation method can be determined according to the implementation scenario and is not limited in the present invention.

[0121] For the output end of the switching power supply in the standby state, there are generally two load situations. The first is that the load is connected to the switching power supply (at this time, the power supply demand of the load device is higher than the preset value). For the convenience of understanding, this can be understood as when the mobile phone is charged through the switching power supply, it is fully charged but the mobile phone is not disconnected from the switching power supply. It can be understood that when the mobile phone is connected to the switching power supply, there will be light load (generally represented by Light Load) and heavy load (generally represented by Heavy Load). The load situation can be judged by setting the preset value of the relevant load. Of course, its implementation method can also be determined according to the implementation scenario; the second is that the load is disconnected from the switching power supply (at this time, the power supply demand of the load device is lower than or equal to the preset value). For the convenience of understanding, this can be understood as when the mobile phone is charged through the switching power supply, it is fully charged and the mobile phone is disconnected from the switching power supply. At this time, taking whether the mobile phone is connected to the switching power supply as an example, in the actual production process, it can also be applied to other scenarios, which can be specifically determined according to the embodiment, and is not limited in the present invention. It can be understood that the no-load condition is the preset value of 0; similarly, when the preset value is 5 (or other values ​​determined according to the specific implementation scenario), when the load is between 0 and 5, it is a light load; when the load is greater than or equal to 5, it is a heavy load.

[0122] For existing switching power supplies, the secondary bias current of the OC device is fed back to the primary side through a CV or CC control loop. For this switching power supply, as the load on the secondary output decreases, the secondary bias current IOC_LED increases. In steady state, IOC_C = CTR × IOC_LED, where CTR is the current transfer ratio of the OC. At this time, regardless of how the load changes, the switching power supply always uses the first mode (burst mode) to keep the switching power supply in standby mode. At this time, IOC_C and IOC_LED are both maximum, and standby losses cannot be further reduced. It should also be noted that in actual applications, the burst mode is also divided into shallow burst mode and deep burst mode.

[0123] Using the burst mode for power standby is as follows:

[0124] As the load decreases, the secondary output voltage (Vout) rises, and the secondary bias current IOC_LED increases. The primary bias current IOC_C increases year-on-year, and the voltage received by the COMP pin decreases. When the COMP voltage falls below BML (the reference voltage low threshold for burst mode), the primary enters burst mode, and the GATE outputs no drive pulses. After energy transfer stops, the secondary output voltage (Vout) begins to decrease. As the secondary output voltage (Vout) decreases, the secondary bias current IOC_LED decreases. The primary bias current IOC_C decreases year-on-year, and the primary COMP voltage increases. When the COMP voltage rises above BMH (the reference voltage high threshold for burst mode), the primary control chip exits burst mode, and the GATE outputs a periodic drive pulse signal. Energy is recovered and transferred from the primary to the secondary, and the secondary output voltage (Vout) begins to rise.

[0125] Figure 3 shows the waveforms of a conventional switching power supply in burst mode. As the load on the secondary output decreases, the voltage on the COMP pin of the primary control chip decreases. When the COMP voltage is below BML, the system enters shallow burst mode, with a high output pulse duration and a low pulse-free duration. When the load is disconnected from the power supply, the system enters deep burst mode, with a low output pulse duration and a high pulse-free duration. At this point, both the primary and secondary sides of the OC device experience their maximum bias currents. When COMP drops from above BMH to between BML and BMH, a gate output is present, restoring some modules and increasing ICCP (ICCP is 2mA at this point). When COMP rises from below BML to between BML and BMH, there is no gate output, shutting down some modules to reduce ICCP (ICCP is 300uA at this point). Whether the gate output occurs when COMP is between BML and BMH depends on the previous state of COMP.

[0126] When using burst mode, the primary side needs to provide a bias current IOC_C of hundreds of microamps for the OC, and ICC is generally not less than 300 microamps. During normal operation, the DEM pin of the control chip detects the resonant waveform (this resonant waveform is generated by the capacitance between the primary coil and the Qp drain), so that when driving Qp, it turns on and / or detects the output voltage at the bottom of the resonant waveform. After entering burst mode, the gate has no output drive pulses, and any signal detected by the DEM pin is not considered. At this time, the DEM pin's detection function is even disabled to reduce losses.

[0127] FIG4 is a flow chart of a standby method for a switching power supply provided by an embodiment of the present invention. As shown in FIG4 , the method is applied to a switching power supply provided with a photoelectric coupling element, and includes:

[0128] S40: When a mode control signal indicating that the power supply demand of the load device is higher than a preset value is detected, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit;

[0129] S41: When a mode control signal indicating that the power supply demand of the load device is lower than or equal to a preset value is detected, the switching power supply enters the second mode, turns off the bias current of the optocoupler circuit, and controls the output of the switching power supply through the driving pulse signal;

[0130] In this case, the bias current on the primary side and the secondary side of the switching power supply can be reduced, and the standby power consumption of the switching power supply can be reduced.

[0131] First of all, it should be noted that the first mode is the burst mode and the second mode is the sleep mode. At the same time, the mode control signals that characterize the relationship between the power supply demand of the load device and the preset value are C1 and C2, and the mode control signal for starting the sleep mode is any combination of C1 and C2. For example, the mode control signal that characterizes that the power supply demand of the load device is higher than the preset value is set to C1 and C2 signals are both high-level signals or both low-level signals, or represented by 4 groups of two-bit binary data (00, 01, 10, 11). When the data after the combination of C1 and C2 is 00 or 01, the mode control signal characterizes that the power supply demand of the load device is higher than the preset value; of course, it can be understood that when the data after the combination of C1 and C2 can also be 10 or 11, the mode control signal characterizes that the power supply demand of the load device is higher than the preset value. The specific implementation method can be determined according to the specific implementation scenario and is not limited in this embodiment.

[0132] It can be seen that in this embodiment, since the bias current of the optocoupler circuit is turned off, the bias currents on the primary side and the secondary side are both 0, which reduces the bias current while reducing the static loss, thereby further reducing the standby power consumption.

[0133] Based on the standby method of the switching power supply mentioned above, the implementation method of the secondary side entering the second mode is as follows:

[0134] generating a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit;

[0135] The secondary-side control chip is controlled to enter the second mode according to the notification signal that maintains the first preset duration.

[0136] Among them, the notification signal representing that the switching power supply enters the second mode according to the bias current of the optocoupler circuit is recorded as the Iting signal. It should be noted that the Iting signal is a part of the bias current of the optocoupler circuit, and the notification signal maintains the first preset time length recorded as T1, and as a preferred embodiment T1 = 240ms.

[0137] The implementation method of the primary side entering the second mode is:

[0138] When the level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold, the primary side control chip is controlled to enter the second mode;

[0139] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0140] In order to maintain the switching power supply in the second mode, the present invention provides two embodiments as follows:

[0141] The first embodiment of maintaining the switching power supply in the second mode is:

[0142] When the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state, the primary side control chip outputs a driving pulse signal;

[0143] The output of the switching power supply is adjusted according to the driving pulse signal so that the switching power supply is in the second mode.

[0144] Furthermore, the output undervoltage signal collected by the primary side control chip indicating that the output voltage is in an undervoltage state includes:

[0145] Determining whether the output voltage of the secondary-side control chip is less than a first preset output voltage;

[0146] If so, the output undervoltage signal is transmitted to the primary side control chip;

[0147] If not, no output undervoltage signal is output.

[0148] In this embodiment, the first preset output voltage is set to 4V, and the output voltage in the secondary side control chip is recorded as Vout. By detecting the relationship between Vout and 4V in the comparator U2 in the secondary side control chip, it is determined whether there is an output undervoltage signal; when Vout is greater than 4V, no output undervoltage signal is sent, and the GATE pin has no drive pulse signal; when Vout is less than 4V, an output undervoltage signal is sent, and the GATE pin has a drive pulse signal. When the drive pulse signal is output, the output of the switching power supply is controlled by the power switch Qp and the transformer T1. In this embodiment, the drive pulse signal is recorded as Idrive.

[0149] In addition, when the GATE pin outputs a driving pulse signal, a resonant signal will be generated with the internal capacitance of the power switch Qp. In order to avoid self-excitation caused by the resonant signal, the primary side control chip detection is shielded when the primary side control chip is within the preset resonant time.

[0150] Correspondingly, the first embodiment of the secondary-side control chip exiting the second mode specifically includes:

[0151] After controlling the output of the switching power supply through the driving pulse signal, it also includes:

[0152] When the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, a wake-up signal of a preset frequency indicating exit from the second mode is output through the transformer, and the secondary side control chip is controlled to stop outputting the wake-up signal, and the secondary side control chip is controlled to exit the second mode according to the wake-up signal.

[0153] Correspondingly, the first embodiment of the primary-side control chip exiting the second mode specifically includes:

[0154] After the transformer outputs a wake-up signal of a preset frequency indicating exit from the second mode, the method further includes:

[0155] When it is determined that the preset frequency of the wake-up signal is less than the frequency threshold, the primary-side control chip is controlled to exit the second mode.

[0156] The second embodiment of maintaining the switching power supply in the second mode is:

[0157] Turning off the bias current of the optocoupler circuit and controlling the output of the switching power supply through the driving pulse signal include:

[0158] When the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range, the control chip on the primary side outputs a drive pulse signal;

[0159] The output of the switching power supply is adjusted according to the driving pulse signal and the relationship between the input voltage and the output voltage, so that the switching power supply is in the second mode.

[0160] At this time, the input voltage of the auxiliary winding on the primary side is recorded as VCC, and whether to maintain the switching power supply in the second mode is determined based on whether VCC is within a preset range, wherein the relationship between VCC and 7.6V and 8.1V is detected; when VCC is less than 7.6V, the GATE pin outputs a drive pulse signal; when VCC is greater than 8.1V, the GATE pin has no drive pulse signal.

[0161] In addition, adjusting the output of the switching power supply according to the relationship between the input voltage and the output voltage includes:

[0162] The output voltage is adjusted according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side, and can be expressed by the following formula: Vout = VCC*Ns / Na, where Na is the number of turns of the auxiliary winding and Ns is the number of turns of the secondary side coil.

[0163] Correspondingly, the second embodiment of the primary-side control chip exiting the second mode specifically includes:

[0164] After controlling the output of the switching power supply through the driving pulse signal, it also includes:

[0165] When the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped, and the duration of the flipped level signal reaches a second preset duration, the secondary side control chip is controlled to stop outputting the wake-up signal, and the primary side control chip is controlled to exit the second mode according to the wake-up signal.

[0166] The second preset duration is recorded as T2.

[0167] Correspondingly, the second embodiment of the secondary-side control chip exiting the second mode specifically includes:

[0168] The secondary-side control chip is controlled to exit the second mode according to the notification signal maintained for the third preset time period.

[0169] The third preset duration is recorded as T3.

[0170] Based on the above, it should also be noted that the switching power supply provided in the embodiments of the present invention is generally divided into three states during operation, specifically: first, normal operating mode, which is based on the above embodiment of charging a mobile phone, the normal charging state of the mobile phone; second, it can be understood that when the mobile phone is charged through the switching power supply, it is fully charged but the connection between the mobile phone and the switching power supply is not disconnected; third, it can be understood that when the mobile phone is charged through the switching power supply, it is fully charged and the mobile phone is disconnected from the switching power supply. When the relationship between the switching power supply and the load is in the second state, the first mode is used to reduce the power consumption of the switching power supply, but at this time, both magnetic coupling and optical coupling are used; when the relationship between the switching power supply and the load is in the third state, the second mode is used to reduce the power consumption of the switching power supply, and only magnetic coupling is used.

[0171] The present invention provides a standby method for a switching power supply. The method is applied to a switching power supply provided with an optocoupler circuit. When a mode control signal indicating that a load device's power supply demand is higher than a preset value is detected, the switching power supply enters a first mode and controls the output of the switching power supply through the optocoupler circuit. When a mode control signal indicating that the load device's power supply demand is lower than or equal to a preset value is detected, the switching power supply enters a second mode, shuts off the bias current of the optocoupler circuit, and controls the output of the switching power supply through a drive pulse signal, thereby reducing the bias current on the primary and secondary sides of the switching power supply and reducing the standby power consumption of the switching power supply. At this time, since the bias current of the optocoupler circuit is shut off, the bias current on the primary and secondary sides is reduced to zero, reducing the bias current and lowering the static loss, thereby further reducing the standby power consumption.

[0172] It is understood that the standby method of the switching power supply is applicable to power supply systems using OC in CV or CC control loops, including but not limited to Flyback, LLC and other topologies, wherein the switching power supply can be an AC / DC SSR power supply. The switching power supply provided in this embodiment has an optocoupler circuit coupled between the primary side and the secondary side, and the switching power supply also includes:

[0173] A mode signal generating circuit is used to detect the power supply demand of the load device of the switching power supply, and generate a second mode control signal when the power supply demand of the load device is lower than or equal to a preset value;

[0174] an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to a second mode control signal;

[0175] The switching power supply output control circuit is configured to generate a first mode control signal when the load device's power demand exceeds a preset value. Based on the first mode control signal, the switching power supply enters the first mode and controls the switching power supply's output via an optocoupler circuit. Based on the second mode control signal, the switching power supply enters the second mode and controls the switching power supply's output via a drive pulse signal, thereby reducing the bias current on the primary and secondary sides of the switching power supply and reducing the switching power supply's standby power consumption. When the switching power supply enters the first mode, the bias current of the optocoupler circuit is adjusted to maintain stable output.

[0176] In some embodiments, the switching power supply output control circuit includes:

[0177] a notification signal control circuit, configured to generate a notification signal upon receiving the second mode control signal, and to notify the primary-side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the drive pulse signal, thereby reducing the bias current of the primary and secondary sides of the switching power supply and reducing the standby power consumption of the switching power supply;

[0178] A primary side mode control circuit, configured to receive a notification signal and control the primary side control chip to change an operating mode according to the notification signal, wherein the operating mode includes a first mode or a second mode;

[0179] When the power supply demand of the load device is higher than a preset value, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit.

[0180] In some embodiments, the notification signal control circuit includes:

[0181] The first control circuit for entering the second mode is used to generate a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

[0182] In some embodiments, the notification signal control circuit further includes:

[0183] A second second mode entry control circuit is configured to control the primary side control chip to enter the second mode when a level signal of a voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold;

[0184] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0185] In some embodiments, the primary side mode control circuit includes:

[0186] The first maintains the second mode control circuit, which is used to output a drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

[0187] In some embodiments, the primary side mode control circuit further includes:

[0188] The first judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than the first preset output voltage; when the output voltage is less than the first preset output voltage, the output undervoltage signal is transmitted to the primary side control chip.

[0189] In some embodiments, the system further includes: a first shielding circuit configured to shield the primary-side control chip from detection when the primary-side control chip is within a preset resonance time.

[0190] In some embodiments, the notification signal control circuit further includes:

[0191] The first secondary side exits the second mode control circuit, which is used to output a wake-up signal of a preset frequency indicating the exit from the second mode through a transformer when the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

[0192] In some embodiments, the notification signal control circuit further includes:

[0193] The first primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than a frequency threshold.

[0194] In some embodiments, the primary side mode control circuit further includes:

[0195] The second maintains the second mode control circuit, which is used to control the chip on the primary side to output a drive pulse signal when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the drive pulse signal and the relationship between the input voltage and the output voltage so that the switching power supply is in the second mode.

[0196] In some embodiments, the primary side mode control circuit further includes:

[0197] The first regulating circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

[0198] In some embodiments, the notification signal control circuit further includes:

[0199] The second primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

[0200] In some embodiments, the notification signal control circuit further includes:

[0201] The second secondary side exit-second mode control circuit is configured to control the secondary side control chip to exit the second mode according to a notification signal maintained for a third preset time period.

[0202] FIG5 is a structural diagram of a first switching power supply provided by an embodiment of the present invention. As shown in FIG5 , in some embodiments, the mode signal generating circuit includes at least a mode control signal interface (C1, C2) and a second mode control unit (Sleep Mode); the mode control signal interface is used to transmit a mode control signal indicating that the power supply demand of the load device is higher than a preset value to the second mode control unit. In addition, the optocoupler control circuit includes at least a first secondary switch tube Q2 and a second secondary switch tube Q3; the first end of the first secondary switch tube is connected to the optocoupler circuit, the second end of the first secondary switch tube is grounded, the control end of the first secondary switch tube is connected to the first end of the second secondary switch tube, the second end of the second secondary switch tube is grounded, and the control end of the second secondary switch tube is connected to the second mode unit.

[0203] The secondary side control chip also includes the following circuit structures:

[0204] A second mode control unit Sleep Mode is provided inside the secondary side control chip, wherein the second mode control unit is provided with a mode control signal interface (C1, C2);

[0205] Secondary side amplifier U2: The secondary side amplifier is used to compare the relationship between Vout and 4V to determine whether there is an output undervoltage signal. When Vout is greater than 4V, no output undervoltage signal is sent, and the GATE pin has no drive pulse signal. When Vout is less than 4V, an output undervoltage signal is sent, and the GATE pin has a drive pulse signal. When there is a drive pulse signal output, the output of the switching power supply is controlled through the power switch Qp and the transformer T1.

[0206] The output end of the secondary amplifier U2 is connected to the first end of the oscillator OSC, the second end of the oscillator OSC is connected to the control end of the secondary drive switch tube Q4, the first end of the secondary drive switch tube Q4 is connected to the secondary winding of the transformer T1, and the second end of the secondary drive switch tube Q4 is grounded;

[0207] A DC bias circuit Bias2 connected to both OSC and Sleep Mode is also provided. The control end of the second secondary-side switch tube Q3 is connected to the DC bias circuit Bias2. The first end of the second secondary-side switch tube Q3 is connected to the output end of the comparator U6. The second end of the second secondary-side switch tube Q3 is grounded. The control end of the first secondary-side switch tube Q2 is connected to the output end of the comparator U6. The first end of the first secondary-side switch tube Q2 is connected to the optocoupler switch tube. The second end of the first secondary-side switch tube Q2 is grounded. The non-inverting input end of the comparator U6 is connected to Ccomp. The inverting input end of the comparator U6 (inputting a voltage of 2.5V) is connected to the DC bias circuit Bias2. The DC bias circuit Bias2 is also connected to R5.

[0208] Correspondingly, the following circuit structures are also included inside the primary side control chip, specifically:

[0209] The DC bias circuit Bias1 set inside the primary side control chip has 4 input and output ports, which are respectively denoted as VDD, UVLO, PSL, and Vref, wherein the UVLO port is connected to the output end of the comparator U4, and the output end of the comparator U5 receives the Hold signal, and the comparator U4 limits the voltage value passing through it to between 18V and 6.7V, and the comparator U5 limits the voltage value passing through it to between 18V and 7.6V, and is respectively used to receive the signals corresponding to UVLO and Hold through the diode D3 and the parallel switch tube, and the constant current source H is connected to the output pin HV of the primary side control chip; first, the two input ends of the primary side first amplifier U3 are explained, wherein the non-inverting input end should input a voltage of 50mV, and the inverting input end should be connected to the output pin DEM of the primary side control chip, the output end of the primary side first amplifier U3 is connected to the Valley Lock OSC module, and is also connected in sequence with the DFF module, wherein the Valley Lock The OSC module is provided with multiple pins, namely COMP and Pulse. The Pulse pin is connected to the output of the primary first amplifier U3. The DFF module is also provided with multiple pins, namely D (input external power supply, and the value is VDD), CLK, RB, Q. The DFF module is connected to the Valley Lock OSC module through the CLK pin, wherein the Q pin is connected to the AND gate, and the output of the AND gate is connected to the driver amplifier Driver. The AND gate has two inputs, one of which is connected to the Valley Lock. The output end of the OSC module and the other input end are connected to the Q pin of the DFF module; the output end of the driver amplifier Driver serves as the pin GATE, outputting a driving pulse signal, which is used to drive Qp; the RB pin is also connected to the NAND gate, wherein the first output end of the NAND gate is connected to the output end of the comparator U7, the second output end of the NAND gate is connected to the output end of the comparator U8, the non-inverting input end of the comparator U7 is a voltage of 0.8V, the inverting input end of the comparator U7 is connected to the COMP pin, the non-inverting input end of the comparator U8 is connected to the common end of R9 and R10, the other end of R10 is grounded, the other end of R9 is connected to the cathode of the diode D4, the anode of the diode D4 is connected to one end of R8, the other end of R8 is connected to the second end of the switch tube PSL, the first end of the switch tube PSL is connected to the external power supply VDD, the inverting input end of the comparator U7 is connected to the CS pin, and the CS pin is externally connected to the resistor R4, and the other end of R4 is grounded. In addition, in the primary side control chip, the signals controlling the Sleep Mode of the second mode control unit are Brust, Pulse, and PSL, respectively, where Brust is the signal at the output end of the comparator U7, PSL is the signal at the control end of the switch tube PSL, and Pulse is the signal at the output end of the primary side first amplifier U3.

[0210] It should be noted that in this structure, the connection between the load and the power supply is detected by signals C1 and C2 on the USB interface connected to the load (Load). A specific implementation method is: when signals C1 and C2 are both high (that is, the mode control signal is 11), it indicates that the load is disconnected from the switching power supply, and the sleep mode (SleepMode, SM) is turned on. The peripheral circuit of OCDRV is reconnected, and modules corresponding to the sleep mode, OSC modules, amplifiers, etc. are set. Among them, it should be emphasized that the secondary side amplifier U2 is an amplifier suitable for detecting whether the output voltage is undervoltage. The undervoltage threshold is set to 4V. Of course, the undervoltage threshold includes but is not limited to 4V, and can also be other values, which can be determined according to the specific implementation scenario. It should also be noted that the module corresponding to the sleep mode also sets the Itring signal drive. When the bias current of the secondary side is set to 0, the corresponding secondary side first switch tube Q2 is also in the off state. The internal circuit of the primary side control chip also needs to be reconnected. Of course, it is understandable that there are many ways to connect the internal circuit of the control chip. Figure 5 shows only the first of many embodiments, and its implementation method can be determined according to the specific implementation scenario.

[0211] When the load is disconnected from the switching power supply, the sleep mode is enabled as follows:

[0212] By setting the OC bias current to 0 (IOC_LED = 0), the current loss on the secondary side can be reduced by an order of magnitude to the hundreds of uA level. Vout is controlled through magnetic coupling: Vout is monitored. If undervoltage occurs, an excitation pulse signal (IDrive) is output and transmitted to the primary side through the transformer. At this time, the gate outputs a drive pulse signal, transferring energy to the secondary side to maintain a stable output voltage. This undervoltage signal is unrelated to the resonant waveform and only indicates a Vout undervoltage.

[0213] The OC bias current on the secondary side is set to 0 (IOC_LED = 0). Due to the OC characteristics, the OC bias current on the primary side (IOC_C) is also reduced to 0. The CV or CC control loop based on OC feedback stops working. The current loss on both the primary and secondary sides can be reduced by an order of magnitude, and the system standby loss can be reduced to less than 5mW.

[0214] The output voltage (Vout) can instead be controlled by a magnetically coupled CV control loop. After the secondary side enters sleep mode, the output voltage (Vout) is detected and the OC bias current (IOC_LED) is shut down. If Vout is undervoltage, an undervoltage signal, IDrive, is sent and transmitted via the transformer to the primary side's DEM pin. If Vout is not undervoltage, the undervoltage signal is not sent.

[0215] After the primary side enters the sleep mode, the signal of the DEM pin is monitored and ICC is reduced; if an undervoltage signal sent by the secondary side is detected on the DEM pin, the GATE outputs a drive pulse signal to maintain the output voltage on the secondary side.

[0216] The output voltage Vout can also be indirectly controlled by controlling the VCC on the primary side: after the primary side enters the sleep mode, the VCC voltage is monitored and ICC is reduced; if VCC undervoltage is detected, the GATE outputs a drive pulse signal to maintain the VCC voltage within a certain range; the output voltage Vout and the VCC voltage maintain a turns ratio relationship (Na / Ns).

[0217] First, it should be noted that if the load is connected (Attached) to this power supply at this time, the power supply remains in standby in the burst mode. When the load is disconnected from this power supply (which can be represented by Detached), the power supply remains in standby in the sleep mode, and when the sleep mode is started, the high level of the SSL signal indicating the start of the sleep mode is used for driving.

[0218] Figure 6 is the waveform diagram of entering the sleep mode corresponding to the first switching power supply provided by the embodiment of the present invention. As shown in Figure 6, when the secondary side enters the sleep mode (SSL = H), set IOC_LED = 0 (at this time, this signal can also be represented by the Iopto signal), and at the same time set the Itrig signal to 2 mA and maintain it for a T1 time (240 ms). After the T1 time, the Itrig signal is 0 A; at this time, the static current is as low as 150 μA. When the Itrig signal is 2 mA and makes the primary side COMP lower than BML, the primary side enters the burst mode, and at this time the GATE does not output a drive pulse signal; after the primary side burst mode lasts for a T2 time (180 ms, T2 < T1), the primary side enters the sleep mode; after the T1 time, the bias current (IOC_C) on the primary side is synchronously reduced to 0; at this time, the static current will be as low as 30 μA.

[0219] In the sleep mode, the standby power consumption of this power supply can be reduced to less than 5 mW, and the secondary side directly monitors the output voltage Vout; if Vout < 4V, an undervoltage signal IDrive (a 30 mA current pulse with a width of 1 μs and a period of 300 μs) is sent, which is transmitted to the DEM pin on the primary side through the transformer; if Vout ≥ 4V, no undervoltage signal is sent;

[0220] After the primary side enters the burst mode or the sleep mode, the signal of the DEM pin is detected; if an undervoltage signal sent by the secondary side is detected on the DEM pin, the GATE outputs a drive pulse signal to maintain the output voltage on the secondary side; if no undervoltage signal is detected on the DEM pin, the GATE does not output a drive pulse signal.

[0221] When the primary side enters sleep mode, it enters burst mode during the T2 period. During this period, the constant voltage control loop based on OC feedback stops operating, and the GATE outputs no drive pulse signal. After energy transfer stops, the output voltage Vout continues to drop, potentially falling below the secondary side's minimum operating voltage, causing undervoltage on the secondary side chip. If undervoltage occurs, the secondary side stops operating, and the power system cannot function properly. Therefore, in burst mode, the primary side also needs to detect and respond to the undervoltage signal on the DEM pin.

[0222] After the primary side outputs the driving pulse signal, a resonance signal will appear on the DEM pin. During the resonance period, the primary side needs to shield the detection of the DEM pin to avoid self-excitation.

[0223] Figure 7 shows a waveform diagram of the first switching power supply exiting sleep mode according to an embodiment of the present invention. As shown in Figure 7, if a load is reconnected, the secondary side exits sleep mode and sends a wake-up signal, IDrive (a 30mA current pulse with a width of 1µs and a period of 200µs), which is transmitted to the DEM pin via the transformer. At this point, the quiescent current returns to normal. Specifically, during sleep mode, if the primary side detects that the pulse period of the DEM pin signal is less than 250µs, the primary side exits sleep mode, the primary side COMP resumes normal bias, and the voltage is determined by the loop. At this point, the quiescent current returns to normal.

[0224] Based on the above embodiments, the present invention further provides the following embodiments. FIG8 is a structural diagram of a second switching power supply provided by an embodiment of the present invention. As shown in FIG8 , compared with the structure shown in FIG5 , the secondary side control chip further includes the following circuit structure, specifically:

[0225] A second mode control unit Sleep Mode is provided inside the secondary side control chip, wherein the second mode control unit is provided with a mode control signal interface (C1, C2);

[0226] The output end of the second mode control unit Sleep Mode outputs an SSL signal and is connected to the first end of the DC bias circuit Bias2. The control end of the secondary-side second switch tube Q3 is connected to the DC bias circuit Bias2. The first end of the secondary-side second switch tube Q3 is connected to the output end of the comparator U6. The second end of the secondary-side second switch tube Q3 is grounded. The control end of the secondary-side first switch tube Q2 is connected to the output end of the comparator U6. The first end of the secondary-side first switch tube Q2 is connected to the optocoupler switch tube. The second end of the secondary-side first switch tube Q2 is grounded. The non-inverting input end of the comparator U6 is connected to Ccomp. The inverting input end of the comparator U6 (inputting a voltage of 2.5V) is connected to the DC bias circuit Bias2. The DC bias circuit Bias2 is also connected to R5.

[0227] Correspondingly, the following circuit structures are also included inside the primary side control chip, specifically:

[0228] The DC bias circuit Bias1 set inside the primary side control chip has 4 input and output ports, which are respectively denoted as VDD, UVLO, PSL, and Vref. The UVLO port is connected to the output end of the comparator U4. The comparator U4 limits the voltage value passing through it to between 18V and 6.7V, and is connected to the output pin HV of the primary side control chip through the diode D3, the switch tube UVLO, and the constant current source H; First, the two input ends of the primary side first amplifier U3 are explained, wherein the non-inverting input end should input a voltage of 50mV, and the inverting input end should be connected to the output pin DEM of the primary side control chip. The output end of the primary side first amplifier U3 is connected to the Valley Lock OSC module, and is also connected in sequence with the DFF module, wherein the Valley Lock The OSC module is provided with multiple pins, namely COMP and Pulse. The Pulse pin is connected to the output of the primary first amplifier U3. The DFF module is also provided with multiple pins, namely D (input external power supply, and the value is VDD), CLK, RB, Q. The DFF module is connected to the Valley Lock OSC module through the CLK pin, wherein the Q pin is connected to the AND gate, and the output of the AND gate is connected to the driver amplifier Driver. The AND gate has two inputs, one of which is connected to the Valley Lock. The output end of the OSC module and the other input end are connected to the Q pin of the DFF module; the output end of the driver amplifier Driver serves as the pin GATE, outputting a driving pulse signal, which is used to drive Qp; the RB pin of the DFF module is also connected to the AND gate, wherein the first output end of the AND gate is connected to the input end of the NOR gate, the second output end of the AND gate is connected to the output end of the comparator U8, the first output end of the NOR gate is connected to the output end of the comparator U7, and the second output end of the NOR gate is connected to the output end of the comparator U9, wherein the comparator U9 is provided with 3 input ends, and the voltage values ​​of the three input ends are 8.1V respectively. , 7.6V, VCC. Comparator U7 is provided with three input terminals, and the voltage values ​​of two of the input terminals are BMH and BML respectively. The other input terminal is connected to the COMP pin. The non-inverting input terminal of comparator U8 is connected to the common terminal of R9 and R10. The other terminal of R10 is grounded. The other terminal of R9 is connected to the second terminal of the switch tube PSL. The first terminal of the switch tube PSL is connected to the cathode of diode D4. The anode of diode D4 is connected to one terminal of R8. The other terminal of R8 is connected to the external power supply VDD. The inverting input terminal of comparator U8 is connected to the CS pin, and the CS pin is externally connected to resistor R4. The other terminal of R4 is grounded. In addition, on the primary side control chip, the signals controlling the second mode unit Sleep Mode are Brust and PSL respectively. Among them, Brust is the signal of the output terminal of comparator U7, and PSL is the signal of the control terminal of the switch tube PSL.

[0229] First, it should be noted that if the load is attached to this power supply at this time, the power supply remains in standby in the burst mode. Only when the load is detached from this power supply, the power supply remains in standby in the sleep mode. And when the sleep mode is started, it is driven by the high level of the SSL signal indicating the start of the sleep mode. Figure 9 is the waveform diagram of the second switching power supply corresponding to the entry into the sleep mode provided by the embodiment of the present invention. As shown in Figure 9, the secondary side enters the sleep mode (SSL = H). At this time, the secondary side bias current is 0A, Itrig is 2mA and remains for a time T1 (240ms). After time T1, Itrig is 0A; at this time, the static current will be as low as 150uA. When the Itrig signal is 2mA, it makes the primary side COMP lower than BML, and the primary side enters the burst mode, and no drive pulse signal is output by GATE; after the primary side continues in the burst mode for a time T2 (180ms, T2 < T1), the primary side enters the sleep mode; after time T1, the primary side COMP rises to VDD, but the bias current IOC_C is 0; at this time, the static current will be as low as 30uA. In the sleep mode, the standby power consumption of this power supply can be reduced to less than 5mW. The primary side indirectly controls the output voltage by adjusting VCC: if VCC < 7.6V, GATE outputs a periodic drive pulse signal, and the VCC voltage rises; if VCC > 8.1V, GATE stops outputting the drive pulse signal, and the VCC voltage drops. The output voltage Vout at this time is approximately equal to VCC * Ns / Na.

[0230] Figure 10 is the waveform diagram of the second switching power supply corresponding to the exit from the sleep mode provided by the embodiment of the present invention. As shown in Figure 10, if the load is connected again, the secondary side exits the sleep mode. Set the Itrig signal to 2mA and keep it for a time T3 (1ms). After time T3, the Itrig signal is 0A; at this time, the static current returns to normal. In the sleep mode, when the primary side chip detects the falling edge of COMP, and after COMP is at a low level for a time T4 (0.5ms, T4 < T3), the primary side exits the sleep mode: after time T3, the primary side COMP is determined by the loop, and at this time the static current returns to normal.

[0231] In addition, the present invention also provides a secondary control circuit of the switching power supply and a primary control circuit of the switching power supply respectively, as follows: [[ID=९]]

[0232] The secondary control circuit of the switching power supply. There is an opto - coupling circuit coupled between the primary side and the secondary side of the switching power supply. The secondary control circuit includes:

[0233] A mode signal generation circuit, which is used to detect the power supply demand of the load device of the switching power supply and generate a second mode control signal when the power supply demand of the load device is lower than or equal to a preset value;

[0234] an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to a second mode control signal;

[0235] The notification signal control circuit generates a notification signal after receiving the second mode control signal, and is used to notify the primary side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the driving pulse signal, so as to reduce the bias current of the primary side and the secondary side of the switching power supply, and reduce the standby power consumption of the switching power supply.

[0236] In some embodiments, the notification signal control circuit includes:

[0237] The third second mode entry control circuit is used to generate a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

[0238] In some embodiments, the notification signal control circuit further includes:

[0239] A fourth second mode entry control circuit is configured to control the primary side control chip to enter the second mode when the level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold;

[0240] The time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip indicating that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

[0241] In some embodiments, the notification signal control circuit further includes:

[0242] The third secondary side exits the second mode control circuit, which is used to output a wake-up signal of a preset frequency indicating the exit from the second mode through a transformer when the secondary side control chip collects a mode control signal indicating that the power supply demand of the load device is higher than a preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

[0243] In some embodiments, the notification signal control circuit further includes:

[0244] The third primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than the frequency threshold.

[0245] In some embodiments, the notification signal control circuit further includes:

[0246] The fourth primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

[0247] In some embodiments, the notification signal control circuit further includes:

[0248] The fourth secondary-side second mode exit control circuit is configured to control the secondary-side control chip to exit the second mode according to a notification signal maintained for a third preset time period.

[0249] The primary side control circuit of the switching power supply has an optocoupler circuit coupled between the primary side and the secondary side. The primary side control circuit includes:

[0250] A driving pulse signal generating circuit is coupled to the power switch of the switching power supply and is used to generate a driving pulse signal to control the on and off of the power switch;

[0251] The primary side mode control circuit is used to receive a notification signal and control the primary side control chip to change the working mode according to the notification signal.

[0252] In some embodiments, the primary side mode control circuit includes:

[0253] The third maintain second mode control circuit is used to output a drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the output voltage switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

[0254] In some embodiments, the primary side mode control circuit further includes:

[0255] The second judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than the first preset output voltage; when the output voltage is less than the first preset output voltage, the output undervoltage signal is transmitted to the primary side control chip.

[0256] In some embodiments, further comprising:

[0257] The second shielding circuit is used to shield the primary side control chip from detection when the primary side control chip is in a preset resonance time.

[0258] In some embodiments, the primary side mode control circuit further includes:

[0259] The fourth maintains the second mode control circuit, which is used to control the chip on the primary side to output a drive pulse signal when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the drive pulse signal and the relationship between the input voltage and the output voltage so that the switching power supply is in the second mode.

[0260] In some embodiments, the primary side mode control circuit further includes:

[0261] The second regulating circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

[0262] The standby method of the switching power supply, the switching power supply, the primary side and the secondary side control circuits provided by the present invention are introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0263] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A standby method for a switching power supply, characterized in that: Applicable to switching power supplies equipped with optocoupler circuits, including: When a mode control signal indicating that the power supply demand of the load device is higher than a preset value is detected, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit; When the mode control signal indicating that the power supply demand of the load device is lower than or equal to the preset value is detected, the switching power supply enters the second mode and turns off the bias current of the optocoupler circuit. The output of the switching power supply is controlled by a driving pulse signal to reduce the bias current on the primary and secondary sides of the switching power supply and reduce the standby power consumption of the switching power supply.

2. The switching power supply standby method according to claim 1, characterized in that: Entering the second mode includes: generating a notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; The secondary-side control chip is controlled to enter the second mode according to the notification signal that maintains the first preset time length.

3. The switching power supply standby method according to claim 2, characterized in that: Entering the second mode includes: When the level signal of the voltage signal output by the optocoupler circuit detected by the primary-side control chip is reversed and the duration of the reversed level signal reaches a time threshold, the primary-side control chip is controlled to enter the second mode; Among them, the time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip to represent that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

4. The standby method of the switching power supply according to claim 1, characterized in that: The step of turning off the bias current of the optocoupler circuit and controlling the output of the switching power supply by a driving pulse signal comprises: When the primary-side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state, the primary-side control chip outputs the driving pulse signal; The output of the switching power supply is adjusted according to the driving pulse signal so that the switching power supply The source is in the second mode.

5. The standby method of the switching power supply according to claim 4, characterized in that: The primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state, including: Determining whether the output voltage of the secondary-side control chip is less than a first preset output voltage; If yes, transmitting the output undervoltage signal to the primary side control chip; If not, the output undervoltage signal is not output.

6. The standby method of a switching power supply according to any one of claims 1 to 5, characterized in that: Also includes: When the primary side control chip is in the preset resonance time, the primary side control chip detection is shielded.

7. The standby method of the switching power supply according to claim 1, characterized in that: After controlling the output of the switching power supply by the driving pulse signal, the method further includes: When the secondary side control chip collects the mode control signal indicating that the power supply demand of the load device is higher than the preset value, the transformer outputs the wake-up signal of the preset frequency indicating the exit from the second mode, and controls the secondary side control chip to stop outputting the wake-up signal, and controls the secondary side control chip to exit the second mode according to the wake-up signal.

8. The switching power supply standby method according to claim 7, characterized in that: After the transformer outputs the wake-up signal of the preset frequency indicating exit from the second mode, the method further includes: When it is determined that the preset frequency of the wake-up signal is less than a frequency threshold, the primary-side control chip is controlled to exit the second mode.

9. The switching power supply standby method according to claim 1, wherein: The step of turning off the bias current of the optocoupler circuit and controlling the output of the switching power supply by a driving pulse signal comprises: When the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range, the control chip on the primary side outputs the driving pulse signal; The output of the switching power supply is adjusted according to the driving pulse signal and the relationship between the input voltage and the output voltage, so that the switching power supply is in the second mode.

10. The standby method of the switching power supply according to claim 9, characterized in that: The adjusting the output of the switching power supply according to the driving pulse signal and the relationship between the input voltage and the output voltage comprises: The output voltage is adjusted according to a turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

11. The standby method of the switching power supply according to claim 7, characterized in that: After controlling the output of the switching power supply by the driving pulse signal, the method further includes: When the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is reversed, and the duration of the reversed level signal reaches a second preset duration, the secondary side control chip is controlled to stop outputting the wake-up signal, and the primary side control chip is controlled to exit the second mode according to the wake-up signal.

12. The standby method of the switching power supply according to claim 2, characterized in that: Also includes: The secondary-side control chip is controlled to exit the second mode according to the notification signal which is maintained for a third preset time period.

13. A switching power supply having an optocoupler circuit coupled between a primary side and a secondary side, characterized in that: The switching power supply further comprises: a mode signal generating circuit, configured to detect a power supply requirement of a load device of the switching power supply, and generate a second mode control signal when the power supply requirement of the load device is lower than or equal to a preset value; an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to the second mode control signal; The switching power supply output control circuit is configured to generate a first mode control signal when the power supply demand of the load device is higher than the preset value, control the switching power supply to enter the first mode according to the first mode control signal, and control the output of the switching power supply through the optocoupler circuit; and control the switching power supply to enter the second mode according to the second mode control signal, and control the output of the switching power supply through a drive pulse signal, so as to reduce the bias current of the primary and secondary sides of the switching power supply and reduce the standby power consumption of the switching power supply.

14. The switching power supply according to claim 11, wherein: When the switching power supply enters the first mode, the output stability of the switching power supply is controlled by adjusting the bias current of the optocoupler circuit.

15. The switching power supply according to claim 11, wherein: The switching power supply output control circuit includes: a notification signal control circuit, configured to generate a notification signal after receiving the second mode control signal, and to notify the primary-side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the drive pulse signal, thereby reducing the bias current of the primary side and the secondary side of the switching power supply and reducing the standby power consumption of the switching power supply; a primary side mode control circuit, configured to receive the notification signal and control the primary side control chip to change an operating mode according to the notification signal, the operating mode including the first mode or the second mode; When the power supply demand of the load device is higher than the preset value, the switching power supply enters the first mode and controls the output of the switching power supply through the optocoupler circuit.

16. The switching power supply according to claim 15, characterized in that: The notification signal control circuit includes: The first control circuit for entering the second mode is used to generate the notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

17. The switching power supply according to claim 15, characterized in that: The notification signal control circuit further includes: a second second mode entry control circuit, configured to control the primary side control chip to enter the second mode when a level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold; Among them, the time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip to represent that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

18. The switching power supply according to claim 15, characterized in that: The primary side mode control circuit comprises: The first maintain second mode control circuit is used to output the drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

19. The switching power supply according to claim 18, characterized in that: The primary side mode control circuit further includes: The first judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than a first preset output voltage; when the output voltage is less than the first preset output voltage, the output undervoltage signal is transmitted to the primary side control chip.

20. The switching power supply according to claim 11, wherein: Also includes: The first shielding circuit is used to shield the primary side control chip from detection when the primary side control chip is in a preset resonance time.

21. The switching power supply according to claim 16, wherein: The notification signal control circuit further includes: The first secondary side exits the second mode control circuit, which is used to output the wake-up signal indicating the exit from the second mode at a preset frequency through the transformer when the secondary side control chip collects the mode control signal indicating that the power supply demand of the load device is higher than the preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

22. The switching power supply according to claim 21, characterized in that: The notification signal control circuit further includes: The first primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than a frequency threshold.

23. The switching power supply according to claim 15, characterized in that The primary side mode control circuit further includes: The second maintaining second mode control circuit is used to output the driving pulse signal to the primary side control chip when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the driving pulse signal and the relationship between the input voltage and the output voltage so that the switching power supply is in the second mode.

24. The switching power supply according to claim 23, wherein: The primary side mode control circuit further includes: A first regulating circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

25. The switching power supply according to claim 21, wherein: The notification signal control circuit further includes: The second primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

26. The switching power supply according to claim 15, characterized in that The notification signal control circuit further includes: The second secondary side exit-second mode control circuit is configured to control the secondary side control chip to exit the second mode according to the notification signal maintained for a third preset time period.

27. The switching power supply according to claim 13, wherein: The mode signal generating circuit includes at least a mode control signal interface and a second mode control unit; The mode control signal interface is used to transmit the mode control signal indicating that the power supply requirement of the load device is higher than the preset value to the second mode control unit.

28. The switching power supply according to claim 13, wherein: The optocoupler control circuit comprises at least a first switching tube on the secondary side and a second switching tube on the secondary side; The first end of the secondary side first switch tube is connected to the optocoupler circuit, the second end of the secondary side first switch tube is grounded, the control end of the secondary side first switch tube is connected to the first end of the secondary side second switch tube, the second end of the secondary side second switch tube is grounded, and the control end of the secondary side second switch tube is connected to the second mode unit.

29. A secondary side control circuit of a switching power supply, wherein an optocoupler circuit is coupled between the primary side and the secondary side of the switching power supply, characterized in that: The secondary side control circuit includes: The mode signal generating circuit is used to detect the power supply demand of the load device of the switching power supply. When the power supply demand of the load device is lower than or equal to a preset value, a second mode control signal is generated; an optocoupler control circuit, configured to control a bias current of the optocoupler circuit to be turned off according to the second mode control signal; The notification signal control circuit generates a notification signal after receiving the second mode control signal, and is used to notify the primary side control chip to enter or exit the second mode, so that the switching power supply controls the output of the switching power supply through the driving pulse signal, so as to reduce the bias current of the primary side and the secondary side of the switching power supply and reduce the standby power consumption of the switching power supply.

30. The secondary side control circuit of the switching power supply according to claim 29, wherein: The notification signal control circuit includes: The third circuit for entering the second mode is used to generate the notification signal indicating that the switching power supply enters the second mode according to the bias current of the optocoupler circuit; and control the secondary side control chip to enter the second mode according to the notification signal maintained for a first preset time length.

31. The secondary side control circuit of the switching power supply according to claim 29, wherein: The notification signal control circuit further includes: a fourth second mode entry control circuit, configured to control the primary side control chip to enter the second mode when a level signal of the voltage signal output by the optocoupler circuit detected by the primary side control chip is reversed and the duration of the reversed level signal reaches a time threshold; Among them, the time threshold is greater than the maximum duration of the level signal in the first mode, and the duration of the mode control signal controlled by the secondary side control chip to represent that the power supply demand of the load device is lower than or equal to the preset value is greater than the time threshold.

32. The secondary side control circuit of the switching power supply according to claim 29, wherein: The notification signal control circuit further includes: The third secondary side exits the second mode control circuit, which is used to output the wake-up signal indicating the exit from the second mode at a preset frequency through the transformer when the secondary side control chip collects the mode control signal indicating that the power supply demand of the load device is higher than the preset value, and control the secondary side control chip to stop outputting the wake-up signal, and control the secondary side control chip to exit the second mode according to the wake-up signal.

33. The secondary side control circuit of the switching power supply according to claim 32, wherein: The notification signal control circuit further includes: The third primary side exit-second mode control circuit is configured to control the primary side control chip to exit the second mode when it is determined that the preset frequency of the wake-up signal is less than a frequency threshold.

34. The secondary side control circuit of the switching power supply according to claim 32, wherein: The notification signal control circuit further includes: The fourth primary side exits the second mode control circuit, which is used to control the secondary side control chip to stop outputting the wake-up signal when the level signal of the voltage signal output by the optocoupler circuit collected by the primary side control chip is flipped and the duration of the flipped level signal reaches a second preset duration, and control the primary and secondary side control chips to exit the second mode according to the wake-up signal.

35. The secondary side control circuit of the switching power supply according to claim 29, wherein: The notification signal control circuit further includes: The fourth secondary side second mode exit control circuit is configured to control the secondary side control chip to exit the second mode according to the notification signal maintained for a third preset time period.

36. A primary side control circuit of a switching power supply, wherein the switching power supply is coupled with an optocoupler circuit between the primary side and the secondary side, characterized in that: The primary side control circuit comprises: a driving pulse signal generating circuit, coupled to the power switch of the switching power supply, for generating a driving pulse signal to control the on and off of the power switch; The primary side mode control circuit is used to receive a notification signal and control the primary side control chip to change the working mode according to the notification signal.

37. The switching power supply according to claim 36, characterized in that The primary side mode control circuit comprises: The third maintain second mode control circuit is used to output the drive pulse signal to the primary side control chip when the primary side control chip collects an output undervoltage signal indicating that the output voltage is in an undervoltage state; and adjust the output of the output voltage switching power supply according to the drive pulse signal so that the switching power supply is in the second mode.

38. The switching power supply according to claim 36, wherein: The primary side mode control circuit further includes: The second judgment circuit is used to judge whether the output voltage of the secondary side control chip is less than the first preset output voltage; when the output voltage is less than the first preset output voltage, the Output an undervoltage signal to the primary side control chip.

39. The switching power supply according to claim 36, wherein: Also includes: The second shielding circuit is used to shield the primary side control chip from detection when the primary side control chip is in a preset resonance time.

40. The switching power supply according to claim 36, wherein: The primary side mode control circuit further includes: The fourth maintains the second mode control circuit, which is used to output the drive pulse signal to the primary side control chip when the input voltage of the auxiliary winding on the primary side is adjusted to be within a preset range; and adjust the output of the switching power supply according to the drive pulse signal and the relationship between the input voltage and the output voltage, so that the switching power supply is in the second mode.

41. The switching power supply according to claim 40, characterized in that The primary side mode control circuit further includes: The second regulation circuit is used to regulate the output voltage according to the turns ratio relationship between the input voltage and the output voltage; wherein the turns ratio relationship is the ratio of the number of turns of the secondary winding of the transformer on the secondary side to the number of turns of the auxiliary winding on the primary side.

Citation Information

Patent Citations

  • Voltage conversion circuit, primary side control circuit and primary side switch control method

    CN111130319A

  • Alternating current-direct current control method

    CN113904567A

  • Power adapter with ultra-low standby power

    CN114189155A

  • Power control circuit, switching power supply and electrical equipment

    CN114884322A

  • Power-saving power supply

    JP2010063293A