Switching power supply system control method, switching power supply system and electronic equipment

By obtaining and adjusting the working parameters of the switching power supply system and determining the target upper limit of the reference voltage, the problem of unreasonable power distribution caused by changes in the output voltage is solved, the system's output power and working efficiency are improved, and the power resource waste and safety are avoided risk.

CN117895797BActive Publication Date: 2024-11-08CHENGDU ISMARTWARE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410177170.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2024-11-08
Estimated Expiration
2044-02-08

AI Technical Summary

Technical Problem

When the output voltage of the existing switching power supply system changes significantly, the power distribution is unreasonable, resulting in low working efficiency and waste of power resources.

Method used

By obtaining the operating parameters of the switching power supply system, including the output voltage, input AC voltage and conduction valley position, determine the target upper limit of the reference voltage, control the on-time duration of the switching tube to adjust the output power, and in multiple working parameters Determine the reference voltage based on the basis to avoid entering the light load mode in advance.

Benefits of technology

It improves the output power of the switching power supply system under a wide range of output voltages, makes full use of power resources, enhances the working efficiency of the system, prevents excessive peak current, and ensures system safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117895797B_ABST
    Figure CN117895797B_ABST
Patent Text Reader

Abstract

The present application discloses a switching power supply system control method, a switching power supply system and an electronic device, and belongs to the field of switching power supply technology. The switching power supply system control method comprises: when the switch tube in the switching power supply system is turned on, obtaining the working parameters of the switching power supply system, the working parameters include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal and the target required power corresponding to the switching power supply system; based on the output voltage, the input AC voltage, the conduction valley position and the target required power, determining the target upper limit value corresponding to the reference voltage; when the primary voltage signal is greater than the reference voltage, controlling the switch tube to turn off. The switching power supply system control method of the present application improves the output power of the switching power supply system, meets the requirement of providing greater power under a wide range of output voltages, and improves the working efficiency of the entire switching power supply system, making full use of power resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of switching power supplies, and in particular relates to a switching power supply system control method, a switching power supply system and an electronic device. Background Art

[0002] In order to meet the demand for fast charging, the switching power supply system needs to output a larger power. In the related art, there is a method of designing a power curve based on the output voltage of the switching power supply system to output a larger power. In this method, when the output voltage changes significantly, the output power distribution of the switching power supply is unreasonable, the working efficiency of the switching power supply system is low, and a large amount of power resources are wasted. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a switching power supply system control method, a switching power supply system and an electronic device, which improves the output power of the switching power supply system, meets the requirement of providing greater power under a wide range of output voltages, and improves the working efficiency of the entire switching power supply system, making full use of power resources.

[0004] In a first aspect, the present application provides a switching power supply system control method, the method comprising:

[0005] When the switch tube in the switching power supply system is turned on, the operating parameters of the switching power supply system are obtained, wherein the operating parameters include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal, and the target required power corresponding to the switching power supply system;

[0006] Determine a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power; the target upper limit value is used to limit a variation range of the reference voltage;

[0007] When the primary voltage signal is greater than the reference voltage, the switch tube is controlled to be turned off.

[0008] According to the switching power supply system control method provided in the embodiment of the present application, the target upper limit value of the reference voltage is determined by the output voltage of the switching power supply system, the input AC voltage, the conduction valley position of the switch tube and the target required power of the switching power supply system, so that when the output voltage changes significantly and the output power of the switching power supply system does not reach the target required power, the target upper limit value can be adjusted to extend the conduction time of the switch tube, thereby increasing the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and determining the target upper limit value of the reference voltage by multiple working parameters will not cause the switching power supply system to enter the light load mode prematurely, thereby improving the working efficiency of the entire switching power supply system and making full use of power resources.

[0009] In a switching power supply system control method according to an embodiment of the present application, determining a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power includes:

[0010] When the operating parameters meet the target conditions and the conduction valley position is not the first valley, the first peak value is determined as the target upper limit value, and the switching frequency of the switching power supply system is increased; the target conditions include: the output voltage is less than a first threshold value, the input AC voltage is less than a second threshold value, and the target demand power reaches a third threshold value.

[0011] The switching power supply system control method of an embodiment of the present application, wherein the target upper limit value corresponding to the reference voltage is determined based on the output voltage, the input AC voltage, the conduction valley position, and the target required power, further comprising:

[0012] When the operating parameters meet the target conditions and the conduction valley position is the first valley, the target upper limit value is adjusted to a second peak value; the second peak value is greater than the first peak value.

[0013] The switching power supply system control method of an embodiment of the present application, wherein the target upper limit value corresponding to the reference voltage is determined based on the output voltage, the input AC voltage, the conduction valley position, and the target required power, further comprising:

[0014] When the operating parameter does not satisfy the target condition, the first peak value is determined as the target upper limit value.

[0015] In a switching power supply system control method according to an embodiment of the present application, the second peak value is a target multiple of the first peak value, and a value range of the target multiple is 1.1 to 1.4.

[0016] In a switching power supply system control method according to an embodiment of the present application, the reference voltage is determined based on the following steps:

[0017] Obtaining a feedback voltage corresponding to the switching power supply system;

[0018] Based on a target sampling coefficient, sampling the feedback voltage to obtain a first voltage signal;

[0019] The reference voltage is determined based on the first voltage signal, the target upper limit value, and a target lower limit value corresponding to the reference voltage.

[0020] In a second aspect, the present application provides a switching power supply system based on the switching power supply system control method as described in the first aspect, comprising:

[0021] Switching tube;

[0022] Valley detection module;

[0023] An output voltage detection module, wherein an input end of the output voltage detection module and an input end of the valley detection module are both electrically connected to the same-named end of the auxiliary winding in the switching power supply system;

[0024] A line voltage detection module, wherein an input end of the line voltage detection module is selectively connected to a high voltage pin or the same-name end of the auxiliary winding;

[0025] A reference voltage generation module, wherein the input end of the reference voltage generation module is electrically connected to the valley detection module, the line voltage detection module and the output voltage detection module respectively;

[0026] A PWM comparison module, wherein one input end of the PWM comparison module is electrically connected to the output end of the reference voltage generation module, another input end of the PWM comparison module is connected to the first sampling resistor corresponding to the source end of the switch tube, and the output end of the PWM comparison module is electrically connected to the switch tube.

[0027] According to the switching power supply system provided in the embodiment of the present application, by judging the output voltage, the input AC voltage and the target required power, and whether the switch tube is operating in the first valley, and then inputting the judgment result into the reference voltage generation module, under normal conditions, the reference voltage generation module can determine the target upper limit value as the first peak value, and when the switching frequency cannot be increased, increase the target upper limit value of the reference voltage from the first peak value to the second peak value, thereby improving the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and improving the working efficiency of the entire switching power supply system, making full use of power resources.

[0028] In a switching power supply system according to an embodiment of the present application, the reference voltage generating module includes:

[0029] an AND circuit, wherein a first input terminal of the AND circuit is electrically connected to an output terminal of the output voltage detection module, a second input terminal of the AND circuit is electrically connected to an output terminal of the line voltage detection module, and a third input terminal of the AND circuit is electrically connected to an output terminal of the valley detection module;

[0030] A valley limiting circuit, wherein one input end of the valley limiting circuit is used to receive a target lower limit value corresponding to a reference voltage, another input end of the valley limiting circuit is electrically connected to an output end of the peak limiting circuit, and an output end of the valley limiting circuit is electrically connected to the switch tube;

[0031] A sampling circuit, wherein an input end of the sampling circuit is used to receive a feedback voltage, and an output end of the sampling circuit is connected to another input end of the peak limiting circuit.

[0032] In a switching power supply system according to an embodiment of the present application, the reference voltage generating module further includes:

[0033] a peak limiting circuit, wherein an input terminal of the peak limiting circuit is electrically connected to an output terminal of the peak selection circuit;

[0034] The peak limiting circuit comprises:

[0035] A first comparator, wherein a non-inverting input terminal of the first comparator is electrically connected to an output terminal of the peak selection circuit, and an inverting input terminal of the first comparator is electrically connected to an output terminal of the sampling circuit;

[0036] An NMOS tube, an input end of the NMOS tube is electrically connected to an output end of the first comparator, and an output end of the NMOS tube is grounded.

[0037] In a switching power supply system according to an embodiment of the present application, the reference voltage generating module further includes:

[0038] A valley limiting circuit, wherein one input end of the valley limiting circuit is used to receive a target lower limit value corresponding to a reference voltage, another input end of the valley limiting circuit is electrically connected to another output end of the NMOS tube, and an output end of the valley limiting circuit is electrically connected to the switch tube;

[0039] The valley limiting circuit comprises:

[0040] A second comparator, wherein a non-inverting input terminal of the second comparator is used to receive the target lower limit value, an inverting input terminal of the second comparator is electrically connected to an output terminal of the peak limiting circuit, and an output terminal of the second comparator is electrically connected to an input terminal of the PWM comparison module;

[0041] A PMOS tube, an input end of the PMOS tube is electrically connected to an output end of the second comparator, an output end of the PMOS tube is electrically connected to an input end of the PWM comparison module, and another output end of the PMOS tube is electrically connected to a power supply.

[0042] A switching power supply system according to an embodiment of the present application further comprises:

[0043] A valley locking module, the input end of which is electrically connected to the output end of the valley detection module;

[0044] A trigger module, one input end of the trigger module is electrically connected to the output end of the valley locking module, and another input end of the trigger module is electrically connected to the output end of the PWM comparison module;

[0045] A driving module, wherein an input end of the driving module is electrically connected to an output end of the trigger module, and an output end of the driving module is electrically connected to the switch tube.

[0046] In a third aspect, the present application provides a switching power supply system control device, the device comprising:

[0047] A first processing module is used to obtain the operating parameters of the switching power supply system when the switch tube in the switching power supply system is turned on, wherein the operating parameters include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal, and the target required power corresponding to the switching power supply system;

[0048] A second processing module is used to determine a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position and the target required power; the target upper limit value is used to limit a variation range of the reference voltage;

[0049] The third processing module is used to control the switch tube to turn off when the primary voltage signal is greater than the reference voltage.

[0050] According to the switching power supply system control device provided in the embodiment of the present application, the target upper limit value of the reference voltage is determined by the output voltage of the switching power supply system, the input AC voltage, the conduction valley position of the switch tube and the target required power of the switching power supply system, so that when the output voltage changes significantly and the output power of the switching power supply system does not reach the target required power, the target upper limit value can be adjusted to extend the conduction time of the switch tube, thereby increasing the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and determining the target upper limit value of the reference voltage by multiple working parameters will not cause the switching power supply system to enter the light load mode prematurely, thereby improving the working efficiency of the entire switching power supply system and making full use of power resources.

[0051] In a fourth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the switching power supply system control method as described in the first aspect above is implemented.

[0052] In a fifth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the switching power supply system control method as described in the first aspect above is implemented.

[0053] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the switching power supply system control method as described in the first aspect above.

[0054] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0055] The target upper limit value of the reference voltage is determined by the output voltage of the switching power supply system, the input AC voltage, the conduction valley position of the switch tube and the target required power of the switching power supply system. When the output voltage changes significantly and the output power of the switching power supply system does not reach the target required power, the target upper limit value can be adjusted to extend the conduction time of the switch tube, thereby increasing the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages. Furthermore, the target upper limit value of the reference voltage is determined by multiple working parameters, which will not cause the switching power supply system to enter the light load mode prematurely, thereby improving the working efficiency of the entire switching power supply system and making full use of power resources.

[0056] Furthermore, by judging the output voltage, input AC voltage and target required power, and whether the switch tube is operating in the first valley, the target upper limit value can be determined as the first peak value under normal conditions. When the switching frequency cannot be increased, the target upper limit value of the reference voltage can be increased from the first peak value to the second peak value, thereby improving the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and improving the working efficiency of the entire switching power supply system, making full use of power resources.

[0057] Furthermore, by setting the second peak value to be a target multiple of the first peak value, and setting the value range of the target multiple to 1.1 to 1.4, the peak current of the switching power supply is prevented from being too large, thereby ensuring the safety of the switching power supply system.

[0058] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0060] Figure 1 This is one of the flow charts of the switching power supply system control method provided in the embodiment of the present application;

[0061] Figure 2 This is one of the structural schematic diagrams of the switching power supply system provided in the embodiment of the present application;

[0062] Figure 3 This is the second structural schematic diagram of the switching power supply system provided in the embodiment of the present application;

[0063] Figure 4 This is the third structural diagram of the switching power supply system provided in the embodiment of the present application;

[0064] Figure 5 This is the fourth structural diagram of the switching power supply system provided in the embodiment of the present application;

[0065] Figure 6 This is the fifth structural diagram of the switching power supply system provided in the embodiment of the present application;

[0066] Figure 7 This is the sixth structural diagram of the switching power supply system provided in the embodiment of the present application;

[0067] Figure 8 This is one of the principle schematic diagrams of the switching power supply system control method provided in the embodiment of the present application;

[0068] Fig. 9This is the second principle schematic diagram of the switching power supply system control method provided in the embodiment of the present application;

[0069] Fig.10 This is the second flow chart of the switching power supply system control method provided in the embodiment of the present application;

[0070] Fig.11 is a schematic diagram of the structure of a switching power supply system control device provided in an embodiment of the present application;

[0071] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0072] Reference numerals:

[0073] The first sampling resistor R CS ; second sampling resistor R3; third sampling resistor R4; fourth sampling resistor R1;

[0074] The fifth sampling resistor R H ; The sixth sampling resistor R L ; Current limiting resistor R0; Light emitting diode I1A;

[0075] Phototransistor I1B; first capacitor C1; second capacitor C4; first output rectifier tube D1; third capacitor C2;

[0076] The second output rectifier tube D2; the third output rectifier tube D3; the primary winding Np; the auxiliary winding Na;

[0077] Secondary winding Ns; switch tube Q1; valley detection module 210; output voltage detection module 220;

[0078] Line voltage detection module 230; valley locking module 240; reference voltage generation module 250;

[0079] PWM comparison module 260; trigger module 270; drive module 280; AND circuit 290; peak selection circuit 300;

[0080] Peak limiting circuit 310; valley limiting circuit 320; sampling circuit 330; first comparator 340;

[0081] A second comparator 350; an NMOS tube 360; a PMOS tube 370; a first processing module 1110;

[0082] Second processing module 1120; third processing module 1130; electronic device 1200; processor 1201; memory 1202;

[0083] The fifth sampling resistor R2; the sixth sampling resistor R5; the fourth capacitor C3; the fifth capacitor C5; the sixth capacitor C6;. DETAILED DESCRIPTION

[0084] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0085] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0086] In the following, in combination with the accompanying drawings, the switching power supply system control method, the switching power supply system control device, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0087] The switching power supply system control method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.

[0088] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).

[0089] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.

[0090] The switching power system control method provided in the embodiment of the present application can be executed by a switching power system, or by an electronic device electrically connected to the switching power system, or by a functional module or functional entity in the electronic device that can implement the switching power system control method, or by a user terminal that is communicatively connected to the switching power system, including but not limited to a mobile terminal and a non-mobile terminal.

[0091] like Figure 1 As shown, the switching power supply system control method includes: step 110, step 120 and step 130.

[0092] It should be noted that the switching power supply system control method can be applied to a switching power supply system.

[0093] The switching power supply system may be a flyback switching power supply.

[0094] A switching power supply is a high-frequency electric energy conversion device and a type of power supply.

[0095] Switching power supplies are used to convert a voltage level into the voltage or current required by the user through different forms of architecture.

[0096] Switching power supplies can be used in areas such as fast charging, adapters and chargers.

[0097] In practical applications, in order to reduce switching losses and improve conversion efficiency, the switching power supply system can adopt a quasi-resonant (QR) control method.

[0098] Step 110, when the switch tube in the switching power supply system is turned on, obtain the operating parameters of the switching power supply system, the operating parameters including the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal and the target required power corresponding to the switching power supply system.

[0099] In this step, the switching power supply system includes a switching tube.

[0100] The working state of the switch tube may include on or off.

[0101] The switch tube includes a gate, a source and a drain.

[0102] When the switch tube is turned on, the operating parameters of the switching power supply system are obtained.

[0103] Among them, the operating parameters may include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal and the target required power corresponding to the switching power supply system.

[0104] The output voltage may be obtained based on a zero crossing detector (Zero Crossing Detector, ZCD). For example, the output voltage may be determined based on a platform voltage corresponding to the zero crossing detector.

[0105] In some embodiments, the value and waveform of the output voltage can also be measured and monitored based on a digital multimeter, an oscilloscope, a dedicated test instrument, or the display on a switching power supply board. This can be selected based on user needs and is not limited in this application.

[0106] In actual implementation, the relationship between the platform voltage and the output voltage of the ZCD is:

[0107]

[0108] Among them, V ZCD_P is the platform voltage of ZCD, R H R is the upper voltage divider resistor of ZCD. L N is the lower voltage divider resistor of ZCD. a is the number of turns of the auxiliary winding, N s is the number of turns of the secondary winding, V out is the output voltage.

[0109] In different application scenarios of the switching power supply system, the voltage that the switching power supply system needs to output may also be different. For example, to meet the requirements of the USB-PD protocol (USB Power Delivery Specification), the output voltage of the switching power supply system needs to be between 3.3V and 21V.

[0110] The target power demand corresponding to the switching power supply system is the power that the switching power supply system needs to output in one switching cycle.

[0111] The target power demand may be determined based on load demand or customized by the user based on the application scenario of the switching power supply system. For example, the target power demand may be 35W or other values, which are not limited in this application.

[0112] When the target required power is 35W, the maximum output current corresponding to different voltage levels in the switching power supply system may also be different.

[0113] For example, when the output voltage is 20V, the output current may be 1.75A; when the output voltage is 15V, the output current may be 2A; when the output voltage is 12V, the output current may be 2.5A; when the output voltage is 9V and 5V, the output current may be 3A.

[0114] The input alternating current (AC) voltage may be high or low.

[0115] For example, when the input AC voltage is not less than 160 V, the input AC voltage may be determined as a high voltage; and when the input AC voltage is less than 160 V, the input AC voltage may be determined as a low voltage.

[0116] When the input AC voltage is high, the primary circuit of the switching power supply system can provide more energy to the secondary circuit; when the input AC voltage is low, the primary circuit provides less energy to the secondary circuit.

[0117] The conduction valley position corresponding to the switch tube may be the first valley, or the third valley, or the fourth valley. When the switching frequency of the switching power supply system is adjusted, the conduction valley position corresponding to the switch tube may change accordingly.

[0118] For example, when the switching frequency of the switching power supply system is high, the switching tube may operate in the first valley, and the conduction valley position is the first valley; when the switching frequency of the switching power supply system is low, the switching tube may operate in the third or fourth valley, and the conduction valley position is the third valley or the fourth valley.

[0119] In the actual implementation process, the waveform change trend of the signal ZCD is consistent with the change trend of the drain of the switch tube, and the valley bottom detection can be performed based on the auxiliary winding voltage sampling signal ZCD.

[0120] When a valley signal "valley" is detected, the counting signal can be increased by one, that is, the valley number is 1.

[0121] In some embodiments, based on the number of valleys and the magnitude of the feedback voltage, it can be determined whether the number of valleys for the next conduction is increased, decreased, or unchanged, thereby generating a valley conduction signal to determine at which valley the switch tube is turned on.

[0122] In this embodiment, for example, when the feedback voltage decreases, the turn-off time is extended, and the number of conduction valleys corresponding to the current switching cycle may change from n to n+1, and the n+1th valley can be determined as the conduction valley position of the switch tube.

[0123] When the feedback voltage increases, the turn-off time is shortened, and the number of conduction valleys corresponding to the current switching cycle may change from m+1 to m. The mth valley can be determined as the conduction valley position of the switch tube.

[0124] The primary voltage signal is the voltage corresponding to the primary current of the switching power supply system.

[0125] In actual application, the primary voltage signal can be sampled based on a sampling device such as an oscilloscope, a data acquisition card or an analog-to-digital converter (ADC), or can be sampled based on any other sampling device with sufficient bandwidth and resolution. The selection can be based on user needs and is not limited in this application.

[0126] When the sampling equipment is different, the waveform of the primary voltage signal may also be different.

[0127] For example, Figure 2As shown, the CS pin can obtain the primary current on the first sampling resistor Rcs, and then obtain the primary voltage signal. At this time, the primary voltage signal can be a ramp voltage signal with a positive slope.

[0128] After the switch tube is turned on, the primary voltage signal continues to increase.

[0129] A first sampling resistor may be provided between the source of the switch tube and the ground terminal.

[0130] Step 120: Determine a target upper limit value corresponding to the reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power; the target upper limit value is used to limit the variation range of the reference voltage.

[0131] In this step, the reference voltage can be used to compare the size of the primary voltage signal, thereby controlling the on and off of the switch tube.

[0132] During multiple switching cycles, the reference voltage can increase with the increase of the feedback voltage. The reference voltage has a corresponding variation range. When the reference voltage reaches the target upper limit value, the reference voltage will not be able to increase with the increase of the feedback voltage. When the feedback voltage increases, the reference voltage can maintain the target upper limit value.

[0133] The variation range of the reference voltage may include an upper limit value and a lower limit value, wherein the lower limit value of the reference voltage may be determined based on electrical characteristics, or may be user-defined, and this application does not limit this.

[0134] The target upper limit value is the maximum value that the reference voltage can reach.

[0135] The target upper limit value may be adjusted accordingly based on the operating parameters of the switching power supply system. For example, if it is determined based on the current operating parameters of the switching power supply system that the switching power supply system cannot provide the required power, the target upper limit value may be increased.

[0136] When the target upper limit value increases, the voltage upper limit value of the primary voltage signal and the current upper limit value of the primary current signal may be increased.

[0137] like Fig. 9 As shown, the target upper limit value is from V ref_max1 Increase to V ref_max2 In the case of CS The upper voltage limit can also be changed from V ref_max1 Increase to V ref_max2 The upper limit of the primary current signal can be obtained from I CS_PK1 Increase to I CS_PK2 .

[0138] The target upper limit value of the reference voltage can be determined based on the output voltage, the input AC voltage, the conduction valley position of the switch tube, and the target required power corresponding to the switching power supply system.

[0139] like Figure 6 As shown, in some embodiments, the reference voltage may be determined based on the following steps:

[0140] Obtaining the feedback voltage corresponding to the switching power supply system;

[0141] Based on the target sampling coefficient, sampling the feedback voltage to obtain a first voltage signal;

[0142] The reference voltage is determined based on the first voltage signal, the target upper limit value, and the target lower limit value corresponding to the reference voltage.

[0143] In this embodiment, the feedback voltage corresponding to the switching power supply system is a voltage signal transmitted from the output voltage to the control circuit through a feedback loop.

[0144] The feedback voltage is positively correlated with the load. Specifically, when the load increases, the feedback voltage increases; when the load decreases, the feedback voltage decreases.

[0145] By sensing the feedback voltage, load changes can be detected.

[0146] like Figure 2 As shown, the output voltage can be input to the adjustable parallel regulator TL431 through the second sampling resistor R3 and the third sampling resistor R4, and the output current of TL431 can be fed back to the primary FB pin through the optocoupler feedback loop, and the FB pin can obtain the feedback voltage, wherein the optocoupler feedback loop can include a light-emitting diode I1A and a phototransistor I1B of the primary circuit.

[0147] Based on the feedback voltage, the target required power corresponding to the switching power supply system can be determined, and based on the target required power, the target sampling coefficient can be determined.

[0148] For example, when the target required power is large, a larger target sampling coefficient may be set.

[0149] The feedback voltage V FB Input to the sampling circuit, based on the target sampling coefficient K, the feedback voltage can be sampled to obtain the first voltage signal K*V FB .

[0150] Based on the first voltage signal and the variation range corresponding to the reference voltage, the reference voltage may be determined.

[0151] In a case where the first voltage signal is between the target lower limit value and the target upper limit value, the first voltage signal may be determined as a reference voltage.

[0152] In a case where the first voltage signal is greater than the target upper limit value, the target upper limit value may be determined as the reference voltage.

[0153] In a case where the first voltage signal is less than the target lower limit value, the target lower limit value may be determined as the reference voltage.

[0154] like Fig.10 As shown, step 120 is specifically described below based on three situations.

[0155] 1. Adjust the switching frequency

[0156] In some embodiments, step 120 may include:

[0157] When the operating parameters meet the target conditions and the conduction valley position is not the first valley, the first peak value is determined as the target upper limit value, and the switching frequency of the switching power supply system is increased.

[0158] In this embodiment, the target conditions include: the output voltage is less than a first threshold, the input AC voltage is less than a second threshold, and the target required power reaches a third threshold.

[0159] The first threshold is used to determine the magnitude of the output voltage. For example, when the output voltage is less than the first threshold, it can be considered that the output voltage is small; when the output voltage is not less than the first threshold, it can be considered that the output voltage is large.

[0160] The first threshold value may be 20V, or may be other values, and may be user-defined, and is not limited in this application.

[0161] The second threshold is used to determine the size of the input AC voltage. For example, when the input AC voltage is less than the second threshold, it can be considered that the input AC voltage is small; when the input AC voltage is not less than the second threshold, it can be considered that the input AC voltage is large.

[0162] The second threshold value may be 160V, or may be other values, and may be user-defined, and is not limited in this application.

[0163] When the target required power reaches the third threshold, it can be considered that the switching power supply system needs to output the maximum power.

[0164] The third threshold value may be determined based on the characteristics of the switching power supply system. For example, the third threshold value may be 35W or 40W, or may be other values, which are not limited in the present application.

[0165] When the conduction valley position is not the first valley, the switching frequency of the switching power supply system is relatively low.

[0166] When the output voltage is small, the input AC voltage is small, the switching power supply system needs to output maximum power, and the conduction valley position of the switch tube is not the first valley, the switching frequency of the switching power supply system can be increased to increase the energy provided by the primary circuit.

[0167] The magnitude of the first peak value may be between 0.4V and 1V. For example, the first peak value may be 0.5V.

[0168] Setting the first peak value to between 0.4V and 1V can reduce noise interference in the switching power supply system and reduce power consumption loss of the switch tube conduction device.

[0169] During the actual implementation process, when it is detected that the input AC voltage is low, the ZCD platform voltage signal can be compared with the preset threshold voltage. When the ZCD platform voltage is less than the preset threshold voltage, it means that the output voltage is lower than the voltage converted from the preset threshold (first threshold), and when the switching power supply system needs to output maximum power, the primary circuit provides less energy, while the secondary circuit needs to output more energy, and the voltage fed back to the primary circuit by the secondary circuit is higher. When the switching tube is not operating at the first valley bottom, the switching frequency of the switching power supply system can be increased.

[0170] 2. Adjust the target upper limit

[0171] In some embodiments, step 120 may further include:

[0172] When the operating parameters meet the target conditions and the conduction valley position is the first valley, the target upper limit value is adjusted to the second peak value; the second peak value is greater than the first peak value.

[0173] In this embodiment, when the output voltage is low, the input AC voltage is low, the target required power reaches the maximum power, and the switch tube operates in the first valley, the target upper limit value can be adjusted from the first peak value to the second peak value.

[0174] In the actual implementation process, the first threshold can be set to 20V, and when the output voltage is lower than 20V, the signal V OUT_L To the reference voltage generation circuit.

[0175] The second threshold may be set to 160V, and when the input AC voltage is lower than 160V, the ACL signal may be output to the reference voltage generating circuit.

[0176] Based on the ZCD voltage waveform, the valleys can be counted. When the switch tube operates at the first valley, a counting signal number=1 can be output, and the counting signal can be provided to the reference voltage generating circuit.

[0177] When the output voltage is lower than 20V, the input AC voltage is lower than the second threshold, the switching power supply system needs to output maximum power, and the switch tube works at the first valley, the target upper limit value can be increased from the first peak value V ref_max1 Adjust to the second peak value V ref_max2 .

[0178] like Figure 8 As shown, when the feedback voltage increases, the reference voltage can be increased from V ref_max1 Continue to increase to V ref_max2 .

[0179] In some embodiments, the second peak is a target multiple of the first peak.

[0180] In this embodiment, the target multiple ranges from 1.1 to 1.4.

[0181] The size of the first peak value can be set to 0.4V to 1V, and the second peak value can be increased by a target multiple accordingly.

[0182] For example, at the first peak V ref_max1 =0.5V, set the target multiple to 1.2, and you can get the second peak value V ref_max2 =0.6V.

[0183] In the present application, by setting the second peak value to the first peak value of the target multiple, and setting the value range of the target multiple to 1.1 to 1.4, the peak current of the switching power supply is prevented from being too large, thereby ensuring the safety of the switching power supply system.

[0184] 3. Keep the current working state of the switching power supply system unchanged

[0185] In some embodiments, step 120 may further include:

[0186] When the operating parameter does not meet the target condition, the first peak value is determined as the target upper limit value.

[0187] In this embodiment, when at least one of the output voltage, the input AC voltage, and the target required power does not meet the target condition, the first peak value may be determined as the target upper limit value.

[0188] For example, when the output voltage reaches a first threshold, the first peak value may be determined as the target upper limit value.

[0189] Alternatively, when the input AC voltage is not less than the second threshold value, the first peak value may be determined as the target upper limit value.

[0190] Alternatively, when the target required power does not reach the maximum power, the first peak value may be determined as the target upper limit value.

[0191] During the research and development process, the inventor discovered that in the related technology, when the output voltage is fully loaded to output maximum power and the input AC voltage is low, a power curve can be designed so that when the input AC voltage is lowest, the peak value of the primary current signal of the switching power supply at full load output reaches the maximum.

[0192] When the output voltage is lower than the first threshold, for example, the output voltage is 12V, the switch tube operates at the first valley, and the switching power supply system needs to output maximum power, when the input AC voltage is low, the feedback voltage will continue to increase until the primary current signal reaches the upper limit value. Based on the power curve, the current upper limit value of the primary current signal is set at the maximum output voltage, resulting in the inability to output maximum power even when the primary current signal reaches the upper limit value, and the loop cannot be stabilized.

[0193] In the present application, under normal conditions, the target upper limit value can be set to the first peak value, ensuring that the peak current of the switching power supply remains unchanged under normal conditions, thereby ensuring the safety of the switching power supply system;

[0194] When the output voltage is less than the first threshold, the input AC voltage is less than the second threshold, the target demand power reaches the maximum power, and the switch tube operates in the first valley, the target upper limit value can be adjusted from the first peak value to the second peak value. Even if the switching frequency cannot be increased, the output power of the switching power supply system can be increased, meeting the requirement of providing greater power under a wide range of output voltages.

[0195] According to the switching power supply system control method provided in the embodiment of the present application, by judging the size of the output voltage, the input AC voltage and the target required power, and whether the switch tube is operating in the first valley, the target upper limit value can be determined as the first peak value under normal conditions. When the switching frequency cannot be increased, the target upper limit value of the reference voltage can be increased from the first peak value to the second peak value, thereby improving the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and improving the working efficiency of the entire switching power supply system, making full use of power resources.

[0196] Step 130: When the primary voltage signal is greater than the reference voltage, the switch tube is controlled to be turned off.

[0197] In this step, after the switch tube is turned on, the primary voltage signal continues to rise.

[0198] When the primary voltage signal continues to rise until it reaches the reference voltage, the switch tube can be controlled to turn off.

[0199] When the primary voltage signal reaches the reference voltage, the primary current signal also reaches a peak value.

[0200] The reference voltage at this time is the voltage peak value V corresponding to the primary current signal. CS_PK .

[0201] Among them, V CS_PK =I CS_PK *R CS , V CS_PK is the peak voltage of the primary voltage signal, I CS_PK is the peak current of the primary current signal, R CS It is the source end sampling resistor of the external power tube.

[0202] like Fig. 9 As shown, the upper limit of the reference voltage is V ref_max1 In the case of the primary voltage signal reaching V ref_max1 In the case of , the switch tube can be controlled to turn off, and the primary current signal also reaches the peak value I CS_PK1 .

[0203] The target upper limit of the reference voltage is V ref_max2 In the case of the primary voltage signal reaching V ref_max2 In this case, the switch tube can be controlled to turn off, and the on-time of the switch tube is extended. At this time, the peak value of the primary current signal increases to I CS_PK2 .

[0204] During the research and development process, the inventor discovered that there is a method in the related art that directly determines the target upper limit value as the second peak value. When the input voltage is high, the energy supply is large, and the peak voltage of the switching power supply cannot reach the second peak value, the switching frequency will be reduced, resulting in the switching tube being unable to operate at the third or fourth valley bottom. When the target demand power is reduced, the switching frequency will be further reduced. During the application of this method, the output power distribution is unreasonable, and the switching power supply system will enter the light load working mode prematurely, which reduces the working efficiency of the entire switching power supply system and wastes a lot of electricity resources.

[0205] In the present application, the target upper limit value of the reference voltage is determined by the output voltage of the switching power supply system, the input AC voltage, the conduction valley position of the switch tube, and the target required power of the switching power supply system. When the output voltage changes significantly and the output power of the switching power supply system does not reach the target required power, the target upper limit value can be adjusted to extend the conduction time of the switch tube, thereby increasing the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages. Furthermore, by determining the target upper limit value of the reference voltage through multiple operating parameters, the switching power supply system will not enter the light load mode prematurely, thereby improving the working efficiency of the entire switching power supply system and making full use of power resources.

[0206] The present application also provides a switching power supply system.

[0207] The switching power supply system can control the output power based on the switching power supply system control method described in any of the above embodiments.

[0208] like Figure 2 As shown, in some embodiments, the switching power supply system may include: a primary circuit, a secondary circuit and an auxiliary circuit.

[0209] In this embodiment, the primary circuit may include: a primary winding Np, a switch tube Q1 and a primary control circuit.

[0210] The switch tube Q1 may include a source, a drain and a gate.

[0211] The opposite end of the primary winding Np is connected to the input voltage.

[0212] The same-name end of the primary winding Np is connected to the drain of the switch tube Q1.

[0213] The fourth sampling resistor R1 , the first capacitor C1 and the first output rectifier tube D1 connected at both ends of the primary winding Np can form an RCD peak absorption circuit.

[0214] The source of the switch tube Q1 is grounded via a first sampling resistor RCS.

[0215] The CS pin of the primary control circuit is grounded through the sixth capacitor C6, and is also electrically connected to the first sampling resistor RCS through the sixth sampling resistor R5.

[0216] The gate of the switch tube Q1 is connected to the DRV pin of the primary control circuit.

[0217] The input voltage Vbulk provides a startup voltage to the chip after passing through the current limiting resistor R0.

[0218] The secondary circuit may include: a secondary winding Ns, an output rectifier tube Q2 and a light emitting diode I1A.

[0219] The opposite end of the secondary winding Ns is grounded.

[0220] The same-name end of the secondary winding Ns is electrically connected to the anode of the second output rectifier tube D2.

[0221] The cathode of the second output rectifier tube D2 is electrically connected to the light emitting diode I1A through the fifth sampling resistor R2.

[0222] The cathode of the second output rectifier tube D2 is also grounded through the third capacitor C2.

[0223] The cathode of the second output rectifier tube D2 is electrically connected to the output capacitor Cout and can provide an output voltage Vout.

[0224] The output voltage Vout can be input to the adjustable parallel regulator TL431 after passing through the second sampling resistor R3 and the third sampling resistor R4. The output current of the adjustable parallel regulator TL431 can be fed back to the primary FB pin through the optocoupler feedback circuit, wherein the optocoupler feedback circuit may include: a light-emitting diode I1A and a primary phototransistor I1B.

[0225] A fourth capacitor C3 may be electrically connected between the light emitting diode I1A and the second sampling resistor R3.

[0226] The FB pin of the primary side control circuit is grounded through the phototransistor I1B and the fifth capacitor C5 respectively.

[0227] The auxiliary circuit may include: an auxiliary winding Na, a third output rectifier tube D3 and a second capacitor C4.

[0228] The auxiliary circuit can provide the chip with a power supply voltage VDD.

[0229] The opposite end of the auxiliary winding Na2 is grounded.

[0230] The same-name end of the auxiliary winding Na2 and the fifth sampling resistor R H and the sixth sampling resistor R L The sampling voltage signal can be input to the ZCD pin of the primary chip through electrical connection.

[0231] Figure 3 An example of a switching power supply system without a high voltage pin in the primary side control circuit is given, which will not be described in detail here.

[0232] like Figure 4 and Figure 5 As shown, the primary side control circuit may include: a valley detection module 210 , an output voltage detection module 220 , a line voltage detection module 230 , a reference voltage generation module 250 and a PWM comparison module 260 .

[0233] The valley detection module 210 is configured to output at least one valley signal.

[0234] The input end of the output voltage detection module 220 and the input end of the valley detection module 210 are both electrically connected to the same-named ends of the auxiliary winding in the switching power supply system.

[0235] The input signal of the valley detection module 210 may be the auxiliary winding voltage sampling signal ZCD. The waveform variation trend of the signal ZCD is consistent with the drain variation trend of the primary switch tube Q1. The ZCD signal may be used for valley detection.

[0236] When the valley detection module 210 detects a valley signal valley, the counting signal may be increased by one, and the counting signal corresponds to the valley number one by one.

[0237] The output voltage detection module 220 can obtain the output voltage based on the platform voltage of the ZCD when the switch tube Q1 is turned off.

[0238] The input terminal of the line voltage detection module 230 is selectively connected to the high voltage pin or the same-name terminal of the auxiliary winding.

[0239] like Figure 4 As shown, when the chip includes a high-voltage pin, the input end of the line voltage detection module 230 can be connected to the high-voltage pin HV, and the input AC voltage can be directly obtained through the high-voltage pin and introduced into the line voltage detection module 230 after voltage division.

[0240] When the input AC voltage is less than the second threshold, the line voltage detection module 230 may output an ACL signal; when the input AC voltage is not less than the second threshold, the line voltage detection module 230 may output an ACH signal.

[0241] like Figure 5 As shown, when the chip does not include a high-voltage pin, the input end of the line voltage detection module 230 can be connected to the ZCD pin. When the switch tube Q1 is turned on, the clamping current of the ZCD pin is proportional to the input AC voltage, and a current related to the line voltage can be generated through the ZCD pin.

[0242] The input terminals of the reference voltage generating module 250 are electrically connected to the valley detection module 210 , the line voltage detection module 230 and the output voltage detection module 220 , respectively.

[0243] The input signal of the reference voltage generating module 250 is the feedback voltage, and the output signal of the reference voltage generating module 250 is the reference voltage.

[0244] A non-inverting input terminal of the PWM comparison module 260 may be electrically connected to an output terminal of the reference voltage generation module 250 .

[0245] The inverting input terminal of the PWM comparison module 260 may be connected to the first sampling resistor corresponding to the source terminal of the switch tube Q1 .

[0246] The output terminal of the PWM comparison module 260 is electrically connected to the switch tube Q1 .

[0247] In some embodiments, the switching power supply system may include: a valley locking module 240 , a triggering module 270 , and a driving module 280 .

[0248] In this embodiment, an input terminal of the valley locking module 240 is electrically connected to an output terminal of the valley detecting module 210 .

[0249] The valley locking module 240 can determine whether the valley number of the next conduction is increased, decreased, or unchanged according to the input valley number and the feedback voltage.

[0250] The valley locking module 240 can generate a valley conduction signal and send it to the trigger module 270 to determine the valley at which the switch tube Q1 is turned on.

[0251] The trigger module 270 may be an RS trigger, which includes an S terminal, an R terminal, and a Q terminal.

[0252] The S end of the trigger module 270 can be electrically connected to the output end of the valley locking module 240. The S end of the trigger module 270 is used to receive the valley conduction signal qr_on. When the S end detects the rising edge of the valley conduction signal qr_on, the output end can be set to a high level.

[0253] The R end of the trigger module 270 can be electrically connected to the output end of the PWM comparison module 260. The R end of the trigger module 270 is used to receive the shutdown signal Gate_off. When the R end detects the rising edge of the shutdown signal Gate_off, the output end can be set to a low level.

[0254] The Q terminal of the trigger module 270 may be electrically connected to the driving module 280 .

[0255] The output end of the driving module 280 is electrically connected to the switch tube Q1 .

[0256] The input signal of the driving module 280 is the output signal of the triggering module 270 .

[0257] The driving module 280 can be used to control the switch tube Q1 to be turned on at a target valley bottom position.

[0258] When the output terminal of the trigger module 270 is at a high level, the driving module 280 can drive the switch tube Q1 to turn on.

[0259] The driving module 280 can also control the switch tube Q1 to turn off based on the shutdown signal.

[0260] When the output terminal of the trigger module 270 is at a low level, the driving module 280 can drive the switch tube Q1 to turn off.

[0261] like Figure 6 As shown, in some embodiments, the reference voltage generating module 250 may include: an AND circuit 290 , a peak value selection circuit 300 , a peak value limiting circuit 310 , a valley value limiting circuit 320 , and a sampling circuit 330 .

[0262] In this embodiment, the first input terminal of the AND circuit 290 may be electrically connected to the output terminal of the output voltage detection module 220 .

[0263] The first input terminal of the AND circuit 290 is used to receive the output signal of the output voltage detection module 220. For example, when the output voltage is less than the first threshold, the first input terminal can detect the signal V OUT_L .

[0264] The second input terminal of the AND circuit 290 may be electrically connected to the output terminal of the line voltage detection module 230 .

[0265] The second input terminal of the AND circuit 290 is used to receive the output signal of the line voltage detection module 230 . For example, when the input AC voltage is less than the second threshold, the second input terminal can detect the signal ACL.

[0266] The third input terminal of the AND circuit 290 may be electrically connected to the output terminal of the valley detection module 210 .

[0267] The third input terminal of the AND circuit 290 is used to receive the output signal of the valley detection module 210 . For example, when the switch tube Q1 operates at the first valley, the third input terminal can detect the counting signal Number=1.

[0268] The fourth input terminal of the peak selection circuit 300 is used to input the first peak value V ref_max1 .

[0269] The fifth input terminal of the peak selection circuit 300 is used to input the second peak value V ref_max2 .

[0270] The sixth input terminal of the peak selection circuit 300 is electrically connected to the output terminal of the AND circuit 290 .

[0271] For example, when AND circuit 290 detects signal V OUT_L , signal ACL and counting signal Number=1, a high level signal can be input to the peak selection circuit 300 .

[0272] One input terminal of the peak limiting circuit 310 is electrically connected to the output terminal of the peak selecting circuit 300 .

[0273] Another input terminal of the peak limiting circuit 310 is connected to the output terminal of the sampling circuit 330 .

[0274] An input terminal of the sampling circuit 330 is used to receive a feedback voltage.

[0275] An input terminal of the valley limiting circuit 320 is used to receive a target lower limit value corresponding to the reference voltage.

[0276] Another input terminal of the valley limiting circuit 320 is electrically connected to the output terminal of the peak limiting circuit 310 .

[0277] The output terminal of the valley limiting circuit 320 is electrically connected to the switch tube Q1 .

[0278] like Figure 7 As shown, in some embodiments, the peak limiting circuit 310 may include: a first comparator 340 and an NMOS tube 360 ​​.

[0279] In this embodiment, a non-inverting input terminal of the first comparator 340 is electrically connected to an output terminal of the peak selection circuit 300 .

[0280] An inverting input terminal of the first comparator 340 is electrically connected to an output terminal of the sampling circuit 330 .

[0281] The output terminal of the first comparator 340 is electrically connected to the input terminal of the NMOS transistor 360 .

[0282] When the target upper limit is V ref_max1 , and K·V FB Not greater than V ref_max1 In the case of , the first comparator 340 outputs a high level signal, and the NMOS tube 360 ​​is turned on;

[0283] K.V FB Greater than V ref_max1 In this case, the first comparator 340 outputs a low level signal and the NMOS tube 360 ​​is turned off.

[0284] One output terminal of the NMOS transistor 360 is grounded, and the other output terminal of the NMOS transistor 360 is electrically connected to the valley limiting circuit 320 .

[0285] In some embodiments, the valley limiting circuit 320 may include: a second comparator 350 and a PMOS transistor 370 .

[0286] In this embodiment, the non-inverting input terminal of the second comparator 350 is used to receive the target lower limit value.

[0287] An inverting input terminal of the second comparator 350 is electrically connected to the output terminal of the peak limiting circuit 310 .

[0288] The output terminal of the second comparator 350 is electrically connected to the input terminal of the PMOS transistor 370 .

[0289] In K*V FB Not less than V ref_min In this case, the second comparator 350 outputs a low level signal and the PMOS tube 370 is turned on.

[0290] In K*V FB Less than V ref_min In this case, the second comparator 350 outputs a high level signal and the PMOS tube 370 is turned off.

[0291] One output terminal of the PMOS tube 370 is electrically connected to one input terminal of the PWM comparison module 260 , and the other output terminal of the PMOS tube 370 is electrically connected to the power supply.

[0292] The control logic of the switching power supply system control method provided in the embodiment of the present application is specifically described below in conjunction with the switching power supply system.

[0293] The valley detection module 210 performs valley detection based on the ZCD signal and outputs a valley number to the valley locking module 240 .

[0294] The valley locking module 240 outputs a valley conduction signal to the trigger module 270 based on the input valley number and the magnitude of the feedback voltage.

[0295] When the S terminal of the trigger module 270 receives a valley conduction signal, the output terminal can be set to a high level.

[0296] When the driving module 280 detects the high level output by the trigger module 270 , it can drive the switch tube Q1 to turn on.

[0297] When the switch tube Q1 is turned on, the primary voltage signal continues to rise.

[0298] When the output voltage detection module 220 detects that the output voltage is less than a first threshold value (eg, 20V), a signal V OUT_L To the first input terminal of the AND circuit 290.

[0299] When the line voltage detection module 230 detects that the input AC signal is less than the second threshold, the ACL signal may be output to the second input terminal of the AND circuit 290 .

[0300] When the valley detection module 210 detects that the switch tube Q1 operates at the first valley, a counting signal Number=1 may be output to the third input terminal of the AND circuit 290 .

[0301] The feedback voltage can obtain a first voltage signal with a sampling coefficient K after passing through the sampling circuit 330, and then obtain a final reference voltage V after passing through the peak limiting circuit 310 and the valley limiting circuit 320. ref .

[0302] The peak limiting circuit 310 is used to limit the target upper limit value of the reference voltage, and the valley limiting circuit 320 is used to limit the target lower limit value of the reference voltage.

[0303] When the primary voltage signal is greater than the reference voltage, the PWM comparison module 260 may output a shutdown signal to the R terminal of the trigger module 270 .

[0304] When the R terminal of the trigger module 270 detects a shutdown signal, the output terminal may be set to a low level.

[0305] When the driving circuit detects that the output terminal of the trigger module 270 is at a low level, the switch tube Q1 can be driven to turn off.

[0306] According to the switching power supply system provided in the embodiment of the present application, by judging the output voltage, the input AC voltage and the target required power, and whether the switch tube Q1 is operating in the first valley, and then inputting the judgment result into the reference voltage generation module 250, under normal conditions, the reference voltage generation module 250 can determine the target upper limit value as the first peak value, and when the switching frequency cannot be increased, increase the target upper limit value of the reference voltage from the first peak value to the second peak value, thereby improving the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and improving the working efficiency of the entire switching power supply system, making full use of power resources.

[0307] The switching power supply system control device provided in the present application is described below. The switching power supply system control device described below and the switching power supply system control method described above can be referenced to each other.

[0308] The switching power system control method provided in the embodiment of the present application can be executed by a switching power system control device. In the embodiment of the present application, the switching power system control device provided in the embodiment of the present application is described by taking the switching power system control device executing the switching power system control method as an example.

[0309] An embodiment of the present application also provides a switching power supply system control device.

[0310] like Fig.11 As shown, the switching power supply system control device includes: a first processing module 1110 , a second processing module 1120 and a third processing module 1130 .

[0311] The first processing module 1110 is used to obtain the operating parameters of the switching power supply system when the switch tube in the switching power supply system is turned on, and the operating parameters include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal and the target required power corresponding to the switching power supply system;

[0312] The second processing module 1120 is used to determine a target upper limit value corresponding to the reference voltage based on the output voltage, the input AC voltage, the conduction valley position and the target required power; the target upper limit value is used to limit the variation range of the reference voltage;

[0313] The third processing module 1130 is used to control the switch tube to turn off when the primary voltage signal reaches the reference voltage.

[0314] According to the switching power supply system control device provided in the embodiment of the present application, the target upper limit value of the reference voltage is determined by the output voltage of the switching power supply system, the input AC voltage, the conduction valley position of the switch tube and the target required power of the switching power supply system, so that when the output voltage changes significantly and the output power of the switching power supply system does not reach the target required power, the target upper limit value can be adjusted to extend the conduction time of the switch tube, thereby increasing the output power of the switching power supply system, meeting the requirement of providing greater power under a wide range of output voltages, and determining the target upper limit value of the reference voltage by multiple working parameters will not cause the switching power supply system to enter the light load mode prematurely, thereby improving the working efficiency of the entire switching power supply system and making full use of power resources.

[0315] In some embodiments, the second processing module 1120 may also be used to:

[0316] When the operating parameters meet the target conditions and the conduction valley position is not the first valley, the first peak value is determined as the target upper limit value, and the switching frequency of the switching power supply system is increased; the target conditions include: the output voltage is less than the first threshold, the input AC voltage is less than the second threshold, and the target demand power reaches the third threshold.

[0317] In some embodiments, the second processing module 1120 may also be used to:

[0318] When the operating parameters meet the target conditions and the conduction valley position is the first valley, the target upper limit value is adjusted to the second peak value; the second peak value is greater than the first peak value.

[0319] In some embodiments, the second processing module 1120 may also be used to:

[0320] When the operating parameter does not meet the target condition, the first peak value is determined as the target upper limit value.

[0321] In some embodiments, the switching power supply system control device may further include a fourth processing module, configured to make the second peak value a target multiple of the first peak value, wherein the target multiple has a value range of 1.1 to 1.4.

[0322] In some embodiments, the switching power supply system control device may further include a fifth processing module, which is used to:

[0323] Obtaining the feedback voltage corresponding to the switching power supply system;

[0324] Based on the target sampling coefficient, sampling the feedback voltage to obtain a first voltage signal;

[0325] The reference voltage is determined based on the first voltage signal, the target upper limit value, and the target lower limit value corresponding to the reference voltage.

[0326] The switching power supply system control device in the embodiment of the present application can be a switching power supply system, or can be an electronic device connected to the switching power supply system for communication, or can be a component in the switching power supply system or the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0327] The switching power supply system control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0328] The switching power supply system control device provided in the embodiment of the present application can achieve Figures 1 to 10 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0329] In some embodiments, Fig.12 As shown, an embodiment of the present application also provides an electronic device 1200, including a processor 1201, a memory 1202, and a computer program stored in the memory 1202 and executable on the processor 1201. When the program is executed by the processor 1201, each process of the above-mentioned switching power supply system control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0330] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0331] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the various processes of the above-mentioned switching power supply system control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0332] On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is implemented to perform the various processes of the above-mentioned switching power supply system control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0333] On the other hand, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned switching power supply system control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0334] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0335] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0336] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0337] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A switching power supply system control method, characterized in that: include: When the switch tube in the switching power supply system is turned on, the operating parameters of the switching power supply system are obtained, wherein the operating parameters include the output voltage, the input AC voltage, the conduction valley position corresponding to the switch tube, the primary voltage signal, and the target required power corresponding to the switching power supply system; Determine a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power; the target upper limit value is used to limit a variation range of the reference voltage; When the primary voltage signal is greater than the reference voltage, controlling the switch tube to turn off; The determining a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power includes: When the operating parameter meets the target condition and the conduction valley position is not the first valley, or when the operating parameter does not meet the target condition, determining the first peak value as the target upper limit value; When the operating parameters meet the target conditions and the conduction valley position is the first valley, the target upper limit value is adjusted to a second peak value; the second peak value is greater than the first peak value; the target conditions include: the output voltage is less than a first threshold value, the input AC voltage is less than a second threshold value, and the target demand power reaches a third threshold value.

2. The switching power supply system control method according to claim 1, characterized in that: The determining a target upper limit value corresponding to a reference voltage based on the output voltage, the input AC voltage, the conduction valley position, and the target required power includes: When the operating parameters meet the target conditions and the conduction valley position is not the first valley, the switching frequency of the switching power supply system is increased.

3. The switching power supply system control method according to claim 1, characterized in that: The second peak value is a target multiple of the first peak value, and the target multiple ranges from 1.1 to 1.

4.

4. The switching power supply system control method according to any one of claims 1 to 3, characterized in that: The reference voltage is determined based on the following steps: Obtaining a feedback voltage corresponding to the switching power supply system; Based on a target sampling coefficient, sampling the feedback voltage to obtain a first voltage signal; The reference voltage is determined based on the first voltage signal, the target upper limit value, and a target lower limit value corresponding to the reference voltage.

5. A switching power supply system based on the switching power supply system control method according to any one of claims 1 to 4, characterized in that: include: Switching tube; Valley detection module; An output voltage detection module, wherein an input end of the output voltage detection module and an input end of the valley detection module are both electrically connected to the same-named end of the auxiliary winding in the switching power supply system; A line voltage detection module, wherein an input end of the line voltage detection module is selectively connected to a high voltage pin or the same-name end of the auxiliary winding; A reference voltage generation module, wherein the input end of the reference voltage generation module is electrically connected to the valley detection module, the line voltage detection module and the output voltage detection module respectively; A PWM comparison module, wherein one input end of the PWM comparison module is electrically connected to the output end of the reference voltage generation module, another input end of the PWM comparison module is connected to the first sampling resistor corresponding to the source end of the switch tube, and the output end of the PWM comparison module is electrically connected to the switch tube.

6. The switching power supply system according to claim 5, characterized in that: The reference voltage generating module comprises: an AND circuit, wherein a first input terminal of the AND circuit is electrically connected to an output terminal of the output voltage detection module, a second input terminal of the AND circuit is electrically connected to an output terminal of the line voltage detection module, and a third input terminal of the AND circuit is electrically connected to an output terminal of the valley detection module; A peak selection circuit, wherein a fourth input terminal of the peak selection circuit is used to input a first peak value, a fifth input terminal of the peak selection circuit is used to input a second peak value, and a sixth input terminal of the peak selection circuit is electrically connected to an output terminal of the AND circuit; A sampling circuit, wherein an input end of the sampling circuit is used to receive a feedback voltage, and an output end of the sampling circuit is connected to another input end of the peak limiting circuit.

7. The switching power supply system according to claim 6, characterized in that: The reference voltage generation module also includes: a peak limiting circuit, wherein an input terminal of the peak limiting circuit is electrically connected to an output terminal of the peak selection circuit; The peak limiting circuit comprises: A first comparator, wherein a non-inverting input terminal of the first comparator is electrically connected to an output terminal of the peak selection circuit, and an inverting input terminal of the first comparator is electrically connected to an output terminal of the sampling circuit; An NMOS tube, an input end of the NMOS tube is electrically connected to an output end of the first comparator, and an output end of the NMOS tube is grounded.

8. The switching power supply system according to claim 7, characterized in that: The reference voltage generation module also includes: A valley limiting circuit, wherein one input end of the valley limiting circuit is used to receive a target lower limit value corresponding to a reference voltage, another input end of the valley limiting circuit is electrically connected to another output end of the NMOS tube, and an output end of the valley limiting circuit is electrically connected to the switch tube; The valley limiting circuit comprises: A second comparator, wherein a non-inverting input terminal of the second comparator is used to receive the target lower limit value, an inverting input terminal of the second comparator is electrically connected to an output terminal of the peak limiting circuit, and an output terminal of the second comparator is electrically connected to an input terminal of the PWM comparison module; A PMOS tube, an input end of the PMOS tube is electrically connected to an output end of the second comparator, an output end of the PMOS tube is electrically connected to an input end of the PWM comparison module, and another output end of the PMOS tube is electrically connected to a power supply.

9. The switching power supply system according to any one of claims 5 to 8, characterized in that: The switching power supply system further comprises: A valley locking module, the input end of which is electrically connected to the output end of the valley detection module; A trigger module, one input end of the trigger module is electrically connected to the output end of the valley locking module, and another input end of the trigger module is electrically connected to the output end of the PWM comparison module; A driving module, wherein an input end of the driving module is electrically connected to an output end of the trigger module, and an output end of the driving module is electrically connected to the switch tube.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the switching power supply system control method according to any one of claims 1 to 4 is implemented.