Switching power supply control circuit and method and switching power supply system
By detecting the full duty cycle state of the secondary side output voltage in the switching power supply control circuit, raising the primary side peak voltage and reducing the secondary side conduction time duty cycle, the problem of output power frequency ripple under low bus voltage is solved and the efficiency is improved. Output accuracy and stability of switching power supply.
Patent Information
- Application Number
- CN201910900564.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-09-23
AI Technical Summary
The existing switching power supply control circuit has an output power frequency ripple problem when the bus voltage is input, resulting in output voltage drop and unstable performance, which cannot meet product performance requirements.
Design a switching power supply control circuit, including FB waveform detection circuit, mode switching circuit, constant current control circuit and drive circuit. By detecting the full duty cycle state of the secondary side output voltage in real time, it triggers the QR mode, increases the primary side peak voltage and Reduce the secondary side conduction time duty cycle to maintain constant current output.
It effectively reduces the output power frequency ripple, improves the output accuracy and dynamic response performance of the switching power supply, and ensures the stability and performance of the output voltage under low bus voltage conditions.
Smart Images

Figure CN110611430B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging control, and in particular to a switching power supply control circuit and method and a switching power supply system. Background Art
[0002] Power supply is an indispensable part of every electronic device. Its performance is directly related to the technical indicators of the electronic device and whether it can work safely and reliably. The current mainstream application is the switching power supply (Switch Mode Power Supply). The switching power supply, also known as the switching converter, is a power supply that uses modern power electronics technology to adjust the conduction ratio or frequency of the switching device to make the output voltage or output current constant. Compared with traditional linear power supplies, switching power supplies have the characteristics of small size, good stability and high conversion efficiency. Therefore, they are widely used in chargers, power adapters, LED drive power supplies, wireless communication equipment, LCD screen power management, electronic refrigerators, Ethernet power supplies and other occasions.
[0003] Since the switching power supply needs to adapt to different working conditions, the dynamic response performance requirements of the switching power supply are getting higher and higher. For example, when the switching power supply is used in the charger of electronic equipment (such as mobile phones), the stability of the line voltage of the charger (that is, the charged end, such as the mobile phone end) is an important indicator to measure the performance of the charger. Please refer to Figure 1 , Figure 1 The system schematic diagram of the existing charger (i.e., the primary-side controlled switching power supply). The charger is composed of a bridge rectifier circuit U1, a high-voltage filter capacitor C1, a transformer primary winding Lp, a transformer auxiliary winding Laux, a transformer secondary winding Ls, a switching power supply control circuit IC, a power switch tube M1, etc. The transformer primary winding Lp, the transformer auxiliary winding Laux, and the transformer secondary winding Ls form a transformer, which is mainly used for electrical isolation and energy transmission of input and output. The AC power supply Vac generates a bus voltage Vbus through the bridge rectifier circuit U1, and the bus voltage Vbus supplies power to the primary side of the transformer. The gate of the power switch tube M1 is connected to the driving end DRI of the switching power supply control circuit IC, the drain is connected to one end of the transformer primary winding Lp, the source is grounded through a series sampling resistor Rcs, and the common end of the source of the power switch tube M1 and the sampling resistor Rcs is connected to the primary peak voltage or peak current sampling end CS of the switching power supply control circuit IC. The other end of the transformer primary winding Lp is connected to the output end of the bridge rectifier circuit U1 to receive the bus voltage Vbus. The transformer auxiliary winding Laux is connected to the ground through two feedback resistors Rfb1 and Rfb2 connected in series to obtain the feedback voltage V FB, which is used to realize the feedback of the secondary output voltage Vout to the switching power supply control circuit IC. Specifically, because the voltage of the transformer auxiliary winding Laux and the voltage of the transformer secondary winding Ls have a turns ratio relationship, the feedback voltage V FB It can reflect the change of the secondary output voltage Vout. The common end of the two feedback resistors Rfb1 and Rfb2 is connected to the switch power output voltage feedback end FB of the control circuit IC. One end of the transformer auxiliary winding Laux is also connected to the anode of the diode Daux. The cathode of the diode Daux is connected to the common end of the resistor Rst and the capacitor C2. The resistor Rst and the capacitor C2 form an RC startup circuit. The common end of the resistor Rst and the capacitor C2 is also connected to the VCC end of the switch power control circuit IC to sample the bus voltage Vbus to obtain the working voltage V required by the switch power control circuit IC. CC One end of the transformer secondary winding Ls is connected to the anode of the diode Ds, and the other end of the transformer secondary winding Ls is grounded. A capacitor C3, a resistor R0, and a load RL are connected in parallel between the cathode of the diode Ds and the ground. The diode Ds is used for rectification and voltage stabilization, and the parallel capacitor C3 and the resistor R0 are used to form a filter circuit to filter the output voltage Vout.
[0004] Figure 2 V FB The curve of change over time, from Figure 2 It can be seen that when the charger is working normally, an M1 switching cycle T is actually divided into three stages: the primary side conduction stage Tonp (Tonp is the primary side conduction time), the secondary side conduction stage Tons (Tons is the secondary side conduction time) and the primary and secondary sides are turned off Toff (Toff is the turn-off time). Figure 1 In the primary conduction stage Tonp, the primary winding Lp stores energy. In the secondary conduction stage Tons, the energy stored in the primary winding Lp is transmitted to the secondary circuit, and the secondary current gradually decreases to 0.
[0005] However, due to the current trend of the input bus capacitor capacity of charger manufacturers becoming smaller and smaller, and the fact that the switching power supply control circuit IC with PSR (primary side feedback) architecture generally adopts DCM (discontinuous mode) working mode, there is an output power frequency ripple problem under full load when the bus voltage input is low, which may not meet the performance requirements of the product. Moreover, this output power frequency ripple problem exists in the switching power supply control circuit with PFM (pulse frequency modulation) architecture of the entire AC / DC series. The essential reason is that the constant current realization principle is to fix the peak voltage Vcs and the ratio Tons / Tsw (also known as the secondary side conduction time duty cycle, where Tsw = Tonp + Tons + Toff) respectively, and then get the constant current formula Moreover, Vbus*Tonp=Lp*Vcs / Rcs, where Lp is the inductance of the primary winding of the transformer. When the bus voltage is low and the load is full, the Vbus voltage will change with the frequency of the mains at a period of 10ms. When Vbus drops to the bottom, Lp, Vcs, and Rcs remain unchanged, and Tonp will increase, which will squeeze out the Toff time. When the Toff time drops to 0, and Vbus continues to decrease, Tonp continues to increase, the output power will be limited. Therefore, when the output current remains unchanged, the output voltage Vout will decrease. In terms of power supply performance, the output power frequency ripple will increase, and in severe cases, it will even exceed the specifications.
[0006] Therefore, how to improve the switching power supply control circuit and method and the switching power supply system design to reduce the output power frequency ripple of the switching power supply and improve the output accuracy is a problem that technical personnel in this field currently need to solve. Summary of the invention
[0007] The present invention aims to provide a switching power supply control circuit and method and a switching power supply system, which can reduce the output power frequency ripple of the switching power supply and improve the output accuracy.
[0008] To achieve the above object, the present invention provides a switching power supply control circuit, comprising:
[0009] The FB waveform detection circuit is used to feed back the output voltage of the secondary side of the switching power supply in real time to obtain the FB waveform, and when it is detected that the FB waveform is in a full duty cycle state, generate a QR mode trigger signal to make the switching power supply enter the QR mode;
[0010] A mode switching circuit is connected to the FB waveform detection circuit and is used to receive the QR mode trigger signal, and when the QR mode trigger signal is valid, the primary peak voltage Vcs of the switching power supply is raised to K*Vcs, and at the same time, the ratio of the secondary conduction time Tons and the switching period Tsw of the switching power supply, Tons / Tsw, is reduced to Tons / K*Tsw, where K>1;
[0011] a constant current control circuit, connected to the mode switching circuit, for generating a constant current control logic signal according to a peak voltage and a ratio Tons / Tsw output by the mode switching circuit; and
[0012] The driving circuit is connected to the constant current control circuit and the power switch tube of the switching power supply, and is used to output a driving signal according to the constant current control logic signal to control the on and off of the power switch tube of the switching power supply.
[0013] Optionally, under the condition that the current primary peak voltage Vcs of the switching power supply can reach the maximum primary peak voltage value Vcs_H, the FB waveform detection circuit determines that the FB waveform is in a full duty cycle state when it detects that the off time Toff of the switching power supply is less than a first set threshold value in multiple consecutive switching cycles Tsw.
[0014] Optionally, when the bus voltage of the switching power supply increases or the load is reduced, and when it is detected that the off time Toff is greater than a second set threshold within a plurality of consecutive switching cycles Tsw, the FB waveform detection circuit generates a non-QR mode trigger signal to cause the switching power supply to exit the QR mode.
[0015] Optionally, the FB waveform detection circuit includes:
[0016] A first enable signal generating module, configured to receive an initialization signal, and generate a first enable signal according to a delay signal corresponding to a primary side conduction time Tonp of the switching power supply and a delay signal corresponding to an off time Toff of the switching power supply;
[0017] A first clock signal generating module, configured to receive an initialization signal and generate a first clock signal according to a primary side peak voltage of the switching power supply and a primary side conduction time Tonp of the switching power supply;
[0018] A first counting module, used for continuously counting rising edges of the first clock signal under the control of a first enable signal, so as to detect a full duty cycle state of the FB waveform;
[0019] A first pulse generator, used for generating a first pulse signal according to the result of continuous counting of the first counting module;
[0020] A second enable signal generating module, configured to receive an initialization signal and generate a second enable signal according to another delay signal corresponding to the off time Toff of the switching power supply and a sampling time of the switching power supply;
[0021] A second clock signal generating module, used for receiving an initialization signal and generating a second clock signal according to the primary side conduction time Tonp of the switching power supply;
[0022] a second counting module, used for continuously counting rising edges of the second clock signal under the control of the second enable signal, so as to detect the occurrence of a bus voltage increase or a load reduction of the switching power supply;
[0023] A second pulse generator is used to generate a second pulse signal according to the result of continuous counting of the second counting module; and
[0024] The QR mode trigger module is used to generate a QR mode trigger signal or a non-QR mode trigger signal according to the first pulse signal and the second pulse signal.
[0025] Optionally, the mode switching circuit includes a peak voltage switching circuit and a secondary side conduction time duty cycle switching circuit; wherein, the peak voltage switching circuit includes a first switch, a second switch and a comparator, the input end of the first switch is connected to the primary side peak voltage signal Vcs, the control end of the first switch is connected to the non-QR mode trigger signal so that the first switch is turned on when the non-QR mode trigger signal is valid, the input end of the second switch is connected to the K times peak voltage signal K*Vcs, the control end of the second switch is connected to the QR mode trigger signal so that the second switch is turned on when the QR mode trigger signal is valid, the output ends of the first switch and the second switch are both connected to the inverting input end of the comparator, and the non-inverting input end of the comparator. The peak voltage signal is connected, and the output end of the comparator is connected to the input end of the constant current control circuit; the secondary side conduction time duty cycle switching circuit includes a third switch and a fourth switch, the input end of the third switch is connected to the ratio signal Tons / Tsw (i.e., the secondary side conduction time duty cycle), the control end of the third switch is connected to the non-QR mode trigger signal so that the third switch is turned on when the non-QR mode trigger signal is valid, the input end of the fourth switch is connected to the 1 / K times ratio signal Tons / K*Tsw, the control end of the fourth switch is connected to the QR mode trigger signal so that the fourth switch is turned on when the QR mode trigger signal is valid, and the output ends of the third switch and the fourth switch are connected to the input end of the constant current control circuit.
[0026] Optionally, under the condition that the current peak voltage Vcs of the switching power supply can reach the highest peak voltage value Vcs_H, the FB waveform detection circuit generates the QR mode trigger signal when it is detected that the off time Toff of the switching power supply is less than a first set threshold value within a plurality of consecutive switching cycles Tsw; when the bus voltage of the switching power supply increases or the load is reduced, the FB waveform detection circuit generates the non-QR mode trigger signal when it is detected that the off time Toff is greater than a second set threshold value within a plurality of consecutive switching cycles Tsw.
[0027] Based on the same inventive concept, the present invention also provides a switching power supply system, comprising a switching power supply control circuit and a power switch tube as described in the present invention, wherein the power switch tube is connected to a drive circuit of the switching power supply control circuit.
[0028] Optionally, the switching power supply system further includes:
[0029] An input rectifier filter circuit is used to convert an AC voltage signal into a bus voltage signal;
[0030] A transformer having a primary winding coupled to the input rectifier filter circuit, a secondary winding and an auxiliary winding, wherein the drive circuit in the switch power supply control circuit is coupled to the primary winding;
[0031] an output rectifying and filtering circuit, electrically connected to the secondary winding, for rectifying and filtering an output signal of the secondary winding;
[0032] an output voltage feedback circuit, connected between the auxiliary winding and the FB waveform detection circuit of the switching power supply control circuit, for sampling and feeding back the output voltage of the secondary winding; and
[0033] The peak voltage sampling resistor is connected between the power switch tube and the ground, and the connection node between the peak voltage sampling resistor and the power switch tube is connected to the mode switching circuit of the switching power supply control circuit.
[0034] Based on the same inventive concept, the present invention also provides a switching power supply control method, comprising:
[0035] Feedback the output voltage of the secondary side of the switching power supply in real time to obtain an FB waveform, and when it is detected that the FB waveform is in a full duty cycle state, generate a QR mode trigger signal to enable the switching power supply to enter the QR mode;
[0036] When the QR mode trigger signal is valid, the primary peak voltage Vcs of the switching power supply is raised to K*Vcs, and the ratio of the secondary conduction time Tons and the switching period Tsw of the switching power supply, Tons / Tsw, is reduced to Tons / K*Tsw; and,
[0037] A constant current control logic signal is generated according to the adjusted peak voltage and the ratio Tons / Tsw, and a drive signal is output according to the constant current control logic signal to control the on and off of the power switch tube of the switching power supply.
[0038] Optionally, the step of the switching power supply entering the QR mode includes: under the condition that the peak voltage Vcs of the switching power supply can reach the highest peak voltage Vcs_H, when it is detected that the off time Toff of the switching power supply is less than a first set threshold value in a plurality of consecutive switching cycles Tsw, it is determined that the FB waveform is in a full duty cycle state, and then the QR mode trigger signal is generated, and the switching power supply enters the QR mode according to the QR mode trigger signal; and,
[0039] The step of the switching power supply exiting the QR mode includes: when the bus voltage of the switching power supply increases or the load is reduced, and when it is detected that the off time Toff is greater than a second set threshold within a plurality of consecutive switching cycles Tsw, a non-QR mode trigger signal is generated, and the switching power supply exits the QR mode according to the non-QR mode trigger signal.
[0040] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0041] When the switching power supply has a low bus voltage Vbus input, the output voltage Vout of the secondary side thereof decreases. In this case, the switching power supply control circuit of the present invention can detect the feedback voltage V used to feedback the output voltage Vout of the secondary side of the switching power supply. FB The waveform has a full duty cycle, and it is determined that there is an output power frequency ripple problem, which will then raise the peak voltage Vcs of the switching power supply by K times (K=1.1 or other values), and at the same time reduce the ratio of the secondary side conduction time to the switching period Tons / Tsw of the switching power supply by K times, thereby maintaining the Vcs*Tons / Tsw product unchanged, and then maintaining the constant current output of the switching power supply; at the same time, since Tons / Tsw is reduced, that is, Tons remains unchanged, Tsw increases, and the off time Toff that can be "eaten" by the primary side conduction time Tonp increases, when the switching power supply has a low bus voltage Vbus input, there is more room for Tonp to adjust, thereby optimizing the output power frequency ripple problem and improving the output accuracy of the switching power supply. The technical solution of the present invention can be applied to respective switching power supply systems, such as chargers, power adapters, LED driver power supplies, wireless communication equipment, LCD screen power management, electronic refrigerators or Ethernet power supplies, etc., to enhance the dynamic response performance of the switching power supply system. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.
[0043] Figure 1 The following is a system schematic diagram of an existing charger.
[0044] Figure 2 yes Figure 1 The output voltage feedback value V of the charger system is shown FB Curve of changes over time.
[0045] Figure 3It is a circuit schematic diagram of a switching power supply control circuit according to a specific embodiment of the present invention.
[0046] Figure 4 It is a schematic diagram of a switching power supply system according to a specific embodiment of the present invention.
[0047] Figure 5 It is a schematic diagram of a FB waveform detection circuit according to a specific embodiment of the present invention.
[0048] Figure 6 It is a timing diagram corresponding to each stage of the input signal and the switching power supply required by the FB waveform detection circuit of the specific embodiment of the present invention.
[0049] Figure 7 It is a timing diagram of the input signal of the FB waveform detection circuit of a specific embodiment of the present invention, each intermediate output signal, the QR trigger signal and the feedback value of the output voltage of the switching power supply.
[0050] Fig. 8A It is a schematic diagram of a peak voltage switching circuit according to a specific embodiment of the present invention.
[0051] Figure 8B It is a schematic diagram of a secondary side conduction time duty cycle switching circuit according to a specific embodiment of the present invention.
[0052] Fig. 9 It is a comparison diagram of the output power frequency ripple effect between the specific embodiment of the present invention and the prior art. DETAILED DESCRIPTION
[0053] The technical scheme in the embodiment of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention. It should be noted that, in this article, "the peak voltage Vcs of the switching power supply is raised by K times" means "the peak voltage Vcs of the switching power supply is enlarged to the previous K*Vcs", and "the ratio Tons / Tsw is reduced by K times" means "the ratio Tons / Tsw is reduced to one-Kth of the previous ratio, that is, reduced to Tons / K*Tsw". In addition, in this article, low bus voltage refers to the bus voltage less than 80V output after rectification and filtering of the AC mains 220V. The low bus voltage can be as low as about 70V, and the low bus voltage input will cause output power frequency ripple. When the bus voltage is above 80V, the output power frequency ripple problem generally does not occur. The core of the technical solution of the present invention is to solve the problem of output power frequency ripple caused by the switching power supply having a low bus voltage input.
[0054] Please refer to Figure 3 and Figure 4 The present invention provides a switching power supply control circuit 10, which is used to reduce the output power frequency ripple problem caused by the switching power supply having a low bus voltage Vbus input. The switching power supply control circuit 10 includes: an FB waveform detection circuit 101, a mode switching circuit 102, a constant current control circuit 103 and a drive circuit 104. The switching power supply control circuit has a power supply terminal VCC, a switching power supply output voltage feedback terminal FB, a primary side peak voltage or primary side peak voltage or peak current sampling terminal CS and a drive terminal DRI. The switching power supply control circuit of the present invention can be a controller chip, which can be connected to a switching power supply system with primary side feedback control to sample the primary side peak voltage Vcs and peak current Ipk of the switching power supply system, and drive the power switch tube of the switching power supply system to work, thereby controlling the size of the secondary side output voltage Vout of the switching power supply system.
[0055] Please refer to Figures 3 to 5 , the FB waveform detection circuit 101 is connected to the output voltage feedback terminal FB, and the output terminal is connected to the input terminal of the mode switching circuit 102. The FB waveform detection circuit 101 is used to feed back the output voltage Vout of the secondary side of the switching power supply in real time to obtain the FB waveform V FB (i.e. the feedback voltage V of the output voltage Vout FB waveform), and when the FB waveform V is detected FB When the full duty cycle state occurs, a QR mode trigger signal is generated to enable the switching power supply to enter the QR mode. When the switching power supply has a low bus voltage Vbus input, the output voltage Vout will decrease while the output current remains unchanged. The feedback voltage V FB will also decrease accordingly, and when the feedback voltage V FB When the corresponding FB waveform appears in the full duty cycle state, once the secondary side conduction time Tons of the switching power supply ends, the next primary side conduction time Tonp will be turned on immediately or only after a very short time. In this way, there is basically no Toff time in a complete switching cycle Tsw of the switching power supply. Therefore, the FB waveform V used to detect the FBThere are many methods for designing the FB waveform detection circuit 101 for the full duty cycle state. For example, the FB waveform detection circuit 101 is designed to determine that the FB waveform is in the full duty cycle state when it is detected that the sum of Tonp and Tons is equal to or nearly equal to the switching period Tsw. For another example, in the present embodiment, the FB waveform detection circuit 101 is designed as follows: under the condition that the current primary peak voltage of the switching power supply can reach the highest primary peak voltage value Vcs_H (i.e., Vcs=Vcs_H), when it detects that the off time Toff of the switching power supply within a plurality of consecutive switching cycles Tsw (e.g., 4 consecutive cycles) is less than a first set threshold value (e.g., 1 μs), it is determined that the FB waveform is in a full duty cycle state, i.e., it is determined that the switching power supply has an output power frequency ripple problem. At this time, a QR mode trigger signal QR_mode is generated to trigger the switching power supply to enter the QR mode (i.e., quasi-resonant mode). The switching power supply can enter the QR mode according to the QR mode trigger signal QR_mode. After the QR mode occurs, the QR_mode signal changes from 0 to 1, i.e., the QR_mode signal is valid when it is at a high level 1.
[0056] Specifically, please refer to Figure 5The FB waveform detection circuit 101 of this embodiment includes a first enable signal generating module 101a, a first clock signal generating module 101b, a first counting module 101c, a first pulse generator P1, a second enable signal generating module 101d, a second clock signal generating module 101e, a second counting module 101f, a first pulse generator P2 and a QR mode triggering module 101g. Among them, the first enable signal generating module 101a is used to receive the initialization signal Init_HL for initialization, and generate the first enable signal Enable according to the delay signal corresponding to the primary side conduction time Tonp of the switching power supply (defined as the second signal PDON_LEB) and the delay signal corresponding to the off time Toff of the switching power supply (defined as the first signal Toff_1μsLH). The first clock signal generating module 101b is used to receive the initialization signal Init_HL for initialization, and generate the first clock signal Clk1 according to the primary side peak voltage Vcs of the switching power supply and the primary side conduction time Tonp of the switching power supply. The first counting module 101c is used to continuously count the rising edges of the first clock signal Clk1 under the control of the first enable signal Enable (in this embodiment, the rising edges of Clk1 are counted) to detect the full duty cycle state of the FB waveform. The first pulse generator P1 is used to generate a first pulse signal ON_QR_pulse according to the result of the continuous counting of the first counting module number Clk1. The second enable signal generating module 101d is used to receive the initialization signal Init_HL for initialization, and according to another delay signal (defined as the fifth signal Toff_4μsLH) corresponding to the off time Toff of the switching power supply and the V FB Sampling time (in this embodiment, a time interval corresponding to the V FB The sixth signal SH related to the sampling time generates a second enable signal Enable_4μs. The second clock signal generating module 101e is used to receive the initialization signal Init_HL for initialization, and generates a second clock signal Clk2 according to the primary conduction time Tonp of the switching power supply. The second counting module 101f is used to continuously count the rising edges of the second clock signal Clk2 under the control of the second enable signal Enable_4μs to detect the occurrence of an increase in the bus voltage Vbus of the switching power supply or a reduction in the load. The second pulse generator P2 is used to generate a second pulse signal OFF_QR_pulse according to the result of the continuous counting of the second counting module 101f. The QR mode triggering module 101g is used to generate a QR mode trigger signal QR_mode or a non-QR mode trigger signal QR_mode_N according to the first pulse signal ON_QR_pulse and the second pulse signal OFF_QR_pulse.
[0057] Among them, the first enable signal generating module 101a may include an RS trigger and a logic gate connected thereto, and the RS trigger in the first enable signal generating module 101a may be formed by cross-connecting the input and output ends of the first NOR gate Nor1 and the second NOR gate Nor2. The first counting module 101c is composed of the first to third triggers TFF1~TFF3 connected in cascade, and the first clock signal generating module 101b includes an AND gate And. The second enable signal generating module 101d may include another RS trigger and a logic gate connected thereto, and the RS trigger in the second enable signal generating module 101d may be formed by cross-connecting the input and output ends of the fourth NOR gate Nor4 and the fifth NOR gate Nor5. The second counting module 101f is composed of the fourth to sixth triggers TFF4~TFF6 connected in cascade. The second clock signal generating module 101e includes an inverter inv. The QR mode trigger module 101g may include another RS trigger, and the RS trigger in the QR mode trigger module 101g may be formed by cross-connecting the input and output of the eighth NOR gate Nor8 and the ninth NOR gate Nor9. In addition, the output of the RS trigger of the first enable signal generating module 101a is connected to the third NOR gate Nor3 as the logic gate connected to the RS trigger, and the output of the RS trigger of the second enable signal generating module 101d is sequentially connected to the sixth NOR gate Nor6 and the seventh NOR gate Nor7 as the logic gate connected to the RS trigger. That is, the FB waveform detection circuit 101 of this embodiment includes the first to ninth NOR gates Nor1~Nor9, the AND gate And, the inverter inv, the first to sixth triggers TFF1~TFF6 and the first to second pulse generators P1~P2. The specific circuit connection relationship is as follows: an input end of the first NOR gate Nor1 receives the first signal Toff_1μsLH, the other input end of the first NOR gate Nor1 is connected to the output end of the second NOR gate Nor2 and an input end of the third NOR gate Nor3, the output end of the first NOR gate Nor1 is connected to the first input end of the second NOR gate Nor2; the third input end of the second NOR gate Nor2 is connected to the second signal PDON_LEB; the output end of the third NOR gate Nor3 is connected to the asynchronous set end preset of the first to third triggers TFF1~TFF3, so as to transmit the first enable signal Enable to the first to third triggers TFF1~TFF3, thereby enabling the first to third triggers TFF1~TFF3, an input end of the AND gate And is connected to the third signal PD_ON, the other input end of the AND gate And is connected to the fourth signal Ipk_high, and the output end of the AND gate And outputs the first clock signal Clk1;The first to third triggers TFF1~TFF3 are connected in series in sequence, that is, the in-phase output terminal Q of the first trigger TFF1 is connected to the clock terminal clk of the second trigger TFF2 to provide the second trigger TFF2 with a signal Q1, the in-phase output terminal Q of the second trigger TFF2 is connected to the clock terminal clk of the third trigger TFF3 to provide the third trigger TFF3 with a signal Q2, and the clock terminal clk of the first trigger TFF1 is connected to the output terminal of the AND gate And to receive the first clock signal Clk1, the inverting output terminal Qb of the third trigger TFF3 is connected to the input terminal of the first pulse generator P1 to provide the first pulse generator P1 with a signal Q3N, and the output terminal of the first pulse generator P1 is connected to the eighth NOR gate N an input terminal of the eighth NOR gate Nor8 to provide the first pulse signal ON_QR_pulse to the eighth NOR gate Nor8, another input terminal of the eighth NOR gate Nor8 is connected to the output terminal of the ninth NOR gate Nor9, the output terminal of the eighth NOR gate Nor8 is connected to the first input terminal of the ninth NOR gate Nor9, an input terminal of the fourth NOR gate Nor4 receives the fifth signal Toff_4μsLH, another input terminal of the fourth NOR gate Nor4 is connected to the output terminal of the fifth NOR gate Nor5 and an input terminal of the sixth NOR gate Nor6, the output terminal of the fourth NOR gate Nor4 is connected to the first input terminal of the fifth NOR gate Nor5; a third input terminal of the fifth NOR gate Nor5 is connected to the sixth signal SH;The output end of the fifth NOR gate Nor5 is connected to an input end of the sixth NOR gate Nor6, the other input end of the sixth NOR gate Nor6 is connected to the seventh signal PDON_reset_N, the output end of the sixth NOR gate Nor6 is connected to an input end of the seventh NOR gate Nor7, the output end of the seventh NOR gate Nor7 is connected to the asynchronous set end preset of the fourth to sixth flip-flops TFF4 to TFF6, so as to transmit the second enable signal Enable_4μs to the fourth to sixth flip-flops TFF4 to TFF6, The fourth to sixth flip-flops TFF4~TFF6 are enabled, the input end of the inverter inv is connected to the third signal PD_ON, the output end of the inverter inv outputs the second clock signal Clk2, the fourth to sixth flip-flops TFF4~TFF6 are connected in series in sequence, that is, the in-phase output end Q of the fourth flip-flop TFF4 is connected to the clock end clk of the fifth flip-flop TFF5 to provide the signal Q1A to the fifth flip-flop TFF5, the in-phase output end Q of the fifth flip-flop TFF2 is connected to the clock end clk of the sixth flip-flop TFF6 to provide the signal Q1A to the fifth flip-flop TFF5, and the in-phase output end Q of the fifth flip-flop TFF2 is connected to the clock end clk of the sixth flip-flop TFF6 to provide the signal Q1A to the fifth flip-flop TFF5. The six flip-flops TFF3 provide a signal Q2A, and the clock terminal clk of the fourth flip-flop TFF4 is connected to the output terminal of the inverter inv, the inverting output terminal Qb of the sixth flip-flop TFF6 is connected to the input terminal of the second pulse generator P2 to provide the signal Q3AN to the second pulse generator P2, the second input terminal of the second NOR gate Nor2 and the other input terminal of the third NOR gate Nor3, the second input terminal of the fifth NOR gate Nor5 and the other input terminal of the seventh NOR gate Nor7 are all connected to the initialization signal Init_HL for initializing the FB waveform detection circuit, the output terminal of the second pulse generator P2 is connected to the third input terminal of the ninth NOR gate Nor9 to provide the second pulse signal OFF_QR_pulse to the ninth NOR gate Nor9, the other input terminal of the eighth NOR gate Nor8 is connected to the output terminal of the ninth NOR gate Nor9, the output terminal of the eighth NOR gate Nor8 is connected to the first input terminal of the ninth NOR gate Nor9, and the output terminal of the ninth NOR gate Nor9 outputs the QR mode trigger signal QR_mode. Please refer to; Figure 6, wherein the first signal Toff_1μsLH is a signal that is delayed (for example, delayed by 1μs) relative to the start time of the off time Toff of the switching power supply, and specifically, for example, is a high signal (that is, the pulse width of the signal is Toff minus the first time threshold) during the time period from when the switching power supply enters the off stage greater than the set first time threshold (for example, 1μs) to the end of the off stage, the third signal PD_ON is equal to the primary conduction time Tonp of the switching power supply, the second signal PDON_LEB is a signal after the primary conduction time Tonp is delayed by a predetermined time (for example, 500ns), and the fourth signal I pk_high is a high signal when the primary peak voltage Vcs of the switching power supply can reach the maximum primary peak voltage value Vcs_H (the signal can also be directly represented by the maximum peak current Ipk). The fifth signal Toff_4μsLH is another signal that is delayed (for example, 4μs) relative to the start time of the off time Toff of the switching power supply. Specifically, for example, it is a high signal during the time when the switching power supply enters the off stage greater than the set second time threshold (for example, 4μs) to the end of the off stage (that is, the pulse width of the signal is Toff minus the second time threshold). The sixth signal SH is a signal that is related to the V FB A signal related to the sampling time, for example, a signal that is high for a period of time after the sampling time ends (i.e., a periodic pulse signal that can identify the length of the sampling time period), and its pulse width is, for example, 0.25μs to 0.5μs; the seventh signal PDON_reset_N is a signal that is low for a period of time (i.e., 500ns in the figure) during which the second signal PDON_LEB is delayed relative to the third signal PD_ON (i.e., a periodic pulse signal that can identify the length of the period of time during which the second signal PDON_LEB is delayed relative to the third signal PD_ON). Please refer to Figure 7 , Figure 7 , a timing diagram of signals VFB, K*Vcs_H, Vcs_H, Vcs, Ipk_high, PD_ON, PDON_LEB, Toff_1μsLH, Enable, Q1-Q3, Q3N, ON_QR_pulse, SH, Toff_4μsLH, PDON_reset_N, Enable_4μs, Clk2, Q1A, Q2A, Q3A, Q3AN, OFF_QR_pulse, and QR mode trigger signal QR_mode in the FB waveform detection circuit 101 is shown, wherein Q1-Q3 are signals output from the in-phase output terminal Q of the first to third flip-flops TFF1-TFF3, respectively, and Q1A, Q2A, Q3A are signals output from the in-phase output terminal Q of the fourth to sixth flip-flops TFF4-TFF6, respectively. Figure 7It can be seen that when entering the QR mode, the Vcs signal becomes K*Vcs, and its pulse peak value changes from Vcs_H to K*Vcs_H.
[0058] Combination Figures 5 to 7 As shown, the FB waveform detection circuit 101 is also used to generate a non-QR mode trigger signal QR_mode_N when it detects that the off time Toff is greater than the second set threshold (for example, 4μs) in a plurality of consecutive switching cycles Tsw when the bus voltage Vbus of the switching power supply increases or the load is reduced (at this time, the Toff time will increase), so that the switching power supply exits the QR mode. The QR_mode_N signal is the opposite of the QR_mode signal, and is also valid at a high level 1. Among them, the difference between the first set threshold and the second set threshold realizes the hysteresis setting, thereby preventing the switching power supply system from switching back and forth between the QR mode and the non-QR mode under a certain load state.
[0059] It should be noted that, in other embodiments of the present invention, the FB waveform detection circuit 101 may also adopt other circuit design methods to realize the switching power supply entering the QR mode and exiting the QR mode. The technical solution of the present invention is not limited to Figure 5 The circuit design shown.
[0060] The input end of the mode switching circuit 102 is connected to the output end of the FB waveform detection circuit 101, and is used to receive the QR mode trigger signal QR_mode and the non-QR mode trigger signal QR_mode_N, and when the QR mode trigger signal QR_mode is valid (QR_mode is at a high level), the primary peak voltage Vcs of the switching power supply is raised by K times, and at the same time, the ratio of the secondary side conduction time Tons and the switching period Tsw of the switching power supply Tons / Tsw is reduced by K times, wherein K>1, that is, the duty cycle of the secondary side conduction time is Reduced from Tons / Tsw to Tons / K*Tsw; when the non-QR mode trigger signal QR_mode_N is valid, the primary peak voltage K*Vcs of the switching power supply, which is raised K times, is changed back to Vcs, and at the same time, the ratio of the secondary side conduction time Tons and the switching period Tsw, which is reduced K times, is changed back to Tons / Tsw, that is, the secondary side conduction time duty cycle is changed from Tons / K*Tsw back to Tons / Tsw, so that the switching power supply exits the QR mode and enters the conventional constant current control mode.
[0061] Please refer to Fig. 8A and Figure 8B , the mode switching circuit 102 of this embodiment includes a peak voltage switching circuit 1021 and a secondary side conduction time duty ratio switching circuit 1022. Fig. 8AThe peak voltage switching circuit 1021 is used to switch the primary peak voltage Vcs of the switching power supply according to whether the QR mode trigger signal QR_mode is valid. Specifically, the peak voltage switching circuit 1021 includes a first switch S1, a second switch S2 and a comparator P3. The input end of the first switch S1 is connected to the primary peak voltage signal Vcs, and the control end of the first switch S1 is connected to the non-QR mode trigger signal QR_mode_N so that the first switch is valid when the non-QR mode trigger signal QR_mode_N is valid (i.e., QR_mode_N=1). The input end of the second switch S2 is connected to the K times peak voltage signal K*Vcs, the control end of the second switch S2 is connected to the QR mode trigger signal QR_mode so that the second switch is turned on when the QR mode trigger signal QR_mode is valid (i.e. QR_mode=1), the output ends of the first switch S1 and the second switch S2 are connected to the inverting input end - of the comparator P3, the non-inverting input end + of the comparator P3 is connected to the peak voltage signal Vcs, and the output end of the comparator P3 is connected to the input end of the constant current control circuit 103. Please refer to Figure 8B The secondary side conduction time duty cycle switching circuit 1022 is used to switch the ratio Tons / Tsw (i.e., the secondary side conduction time duty cycle) of the switching power supply according to whether the QR mode trigger signal QR_mode is valid. Specifically, the secondary side conduction time duty cycle switching circuit 1022 includes a third switch S3 and a fourth switch S4. The input end of the third switch S3 is connected to the ratio signal Tons / Tsw, and the control end of the third switch S3 is connected to the non-QR mode trigger signal QR_mode_N so that the third switch is in the non-QR mode trigger signal Q The fourth switch S4 is turned on when R_mode_N is valid (i.e., QR_mode_N=1), the input end of the fourth switch S4 is connected to the 1 / K times ratio signal Tons / K*Tsw (i.e., the secondary side conduction time duty cycle is reduced by K times), the control end of the fourth switch S4 is connected to the QR mode trigger signal QR_mode so that the fourth switch S4 is turned on when the QR mode trigger signal QR_mode is valid (i.e., QR_mode=1), and the output ends of the third switch S3 and the fourth switch S4 are connected to the input end of the constant current control circuit 103.
[0062] The constant current control circuit 103 is connected to the mode switching circuit 102, and is used to generate a constant current control logic signal according to the peak voltage Vcs and the ratio Tons / Tsw currently output by the mode switching circuit 102. The drive circuit 104 is connected to the constant current control circuit 103 and the power switch tube M1 of the switching power supply, and is used to output a drive signal according to the constant current control logic signal to control the on and off of the power switch tube M1 of the switching power supply, so that the output current Iout of the switching power supply remains constant.
[0063] Since the formula for achieving constant current output of the switching power supply is Np / Ns is the turns ratio of the transformer of the switching power supply, Np is the number of turns of the primary winding of the transformer, and Ns is the number of turns of the secondary winding of the transformer. When the low bus voltage Vbus input of the switching power supply causes Tons / Tsw to be limited, the output voltage Vout of the secondary side decreases, and the output power frequency ripple problem will occur. Therefore, the technical solution of the present invention proposes an output power frequency ripple detection mechanism and a mode switching mechanism, that is, when the output power frequency ripple problem occurs, the pulse of the switching power supply system will be output in the form of a full duty cycle, and this state is detected by the FB waveform detection circuit 101 (at this time, the feedback voltage V of the output voltage Vout of the secondary side of the feedback switching power supply is detected). FB The waveform is output at full duty cycle), and in this state, a QR mode trigger signal QR_mode will be generated to control the next action, that is, when the FB waveform detection circuit 101 detects this state, the mode switching circuit 102 uses the QR mode trigger signal QR_mode to raise Vcs by K times (K=1.1 or other values), and at the same time reduce the secondary side conduction time duty cycle Tons / Tsw by K times. This has the following advantages: on the one hand, it can maintain the Vcs*Tons / Tsw product unchanged, that is, maintain the constant current value Iout unchanged; second, because Tons / Tsw is reduced, that is, Tons remains unchanged, Tsw increases, and Toff that can be "eaten" by Tonp increases. When the low bus voltage Vbus is input, there is more room for Tonp to adjust, which also optimizes the output power frequency ripple problem. Please refer to Fig. 9 , Fig. 9The output power frequency ripple problem under the prior art and the solution of the present invention is shown in the figure. Since the principle of realizing constant current output in the prior art is to fix Vcs and Tons / Tsw respectively, and Vbus*Tonp=Lp*Vcs / Rcs, when Vbus decreases, Lp, Vcs, and Rcs remain unchanged, Tonp will increase, and the Toff time will be squeezed out. When the Toff time drops to 0, and Vbus continues to decrease and Tonp continues to increase, the output power will be limited, that is, when Tons / Tsw is limited, the output power frequency ripple problem that may exceed the specification requirements will occur. The problem is that the difference H1 between the highest point and the lowest point of the output power frequency ripple is large; in the present invention, Vcs is raised by K times, and Tons / Tsw is reduced by K times, which can also maintain the Vcs*Tons / Tsw product unchanged, that is, the constant current output value Iout is maintained unchanged, and because Tons / Tsw is reduced, that is, Tons remains unchanged and Tsw increases, Toff that can be "eaten" by Tonp increases, and when Vbus is low, there is more room for Tonp to adjust, which optimizes the output power frequency ripple problem, that is, the difference H2 between the highest point and the lowest point of the output power frequency ripple is small (H2
[0064] In summary, when the switching power supply has a low bus voltage Vbus input, the output voltage Vout of the switching power supply decreases. In this case, the switching power supply control circuit of the present invention can detect the feedback voltage Vout used to feedback the output voltage Vout of the secondary side of the switching power supply. FB When the waveform shows a full duty cycle, it is determined that an output power frequency ripple problem occurs, and the peak voltage Vcs of the switching power supply is raised by K times (K=1.1 or other values), and the ratio of the secondary side conduction time to the switching period Tons / Tsw of the switching power supply is reduced by K times, so as to maintain the product of Vcs*Tons / Tsw unchanged, and then maintain the constant current output of the switching power supply; at the same time, due to the reduction of Tons / Tsw, that is, Tons remains unchanged, Tsw increases, and the off time Toff that can be "eaten" by the primary side conduction time Tonp increases. When the switching power supply has a low bus voltage Vbus input, there is more room for Tonp to adjust, thereby optimizing the output power frequency ripple problem and improving the output accuracy of the switching power supply.
[0065] Based on the same invention concept, please refer to Figure 4 The present invention also provides a switching power supply system, which not only includes the switching power supply control circuit 10 and the power switch tube M1 as described in the present invention, but also includes: an input rectifier filter circuit, a transformer, an output rectifier filter circuit, an output voltage feedback circuit, a primary peak voltage or peak current sampling circuit, and a power supply voltage sampling circuit. Among them, the transformer has a transformer primary winding Lp, a transformer auxiliary winding Laux, and a transformer secondary winding Ls, and the transformer is mainly used for electrical isolation and energy transmission between input and output. The input rectifier filter circuit is used to convert the AC voltage signal Vac into a bus voltage Vbus to power the primary winding Lp of the transformer. The output rectifier filter circuit is electrically connected to the secondary winding Ls of the transformer to rectify and filter the output voltage Vout of the secondary winding Ls. The output voltage feedback circuit is connected between the auxiliary winding Laux and the switching power supply control circuit 10, and is used to sample and feedback the output voltage Vout of the secondary winding Ls. The primary peak voltage or peak current sampling circuit is used to sample the primary peak voltage Vcs and / or peak current Ipk and transmit the sampling result to the mode switching circuit 102. The power supply voltage sampling circuit is used to sample the bus voltage Vbus to provide the switching power supply control circuit 10 with an operating voltage Vcc.
[0066] In this embodiment, the input rectifier filter circuit includes a bridge rectifier circuit U1 and an input filter capacitor C1. The output rectifier filter circuit includes an output filter capacitor C3 and a rectifier diode Ds. The output voltage feedback circuit includes a rectifier diode Daux and two feedback resistors Rfb1 and Rfb2 connected in series. The primary side peak voltage or peak current sampling circuit includes a peak sampling resistor Rcs. The power supply voltage sampling circuit includes a sampling resistor Rst and a filter capacitor C2. The specific circuit connections in the switching power supply system of this embodiment include:
[0067] One end of the input filter capacitor C1 is connected to the output end of the bridge rectifier circuit U1 and one end of the primary winding Lp of the transformer, and the other end of the input filter capacitor C1 is grounded. The AC power source Vac is rectified by the bridge rectifier circuit U1 and filtered by the input filter capacitor C1 to generate a bus voltage Vbus, which supplies power to the primary side of the transformer. The gate of the power switch tube M1 is connected to the drive end DRI of the switching power supply control circuit 10, the drain is connected to one end of the primary winding Lp of the transformer, and the source is grounded through a series peak sampling resistor Rcs. The common end of the source of the power switch tube M1 and the peak sampling resistor Rcs is connected to the primary peak voltage or peak current sampling end CS of the switching power supply control circuit 10. The other end of the primary winding Lp of the transformer is connected to the output end of the bridge rectifier circuit U1 to receive the input Vbus. One end of the auxiliary winding Laux of the transformer is grounded by connecting two feedback resistors Rfb1 and Rfb2 in series to obtain a feedback voltage VFB , which is used to realize the feedback of the secondary output voltage Vout to the switching power supply control circuit. Specifically, because the voltage of the transformer auxiliary winding Laux and the voltage of the transformer secondary winding Ls have a turns ratio relationship, the feedback voltage V FB The common end of the two feedback resistors Rfb1 and Rfb2 is connected to the switching power supply output voltage feedback end FB of the switching power supply control circuit 10. One end of the transformer auxiliary winding Laux is also connected to the anode of the rectifier diode Daux, and the cathode of the rectifier diode Daux is connected to the common end of the sampling resistor Rst and the filter capacitor C2 to sample the bus voltage Vbus to obtain the working voltage V required by the switching power supply control circuit 10. CC . The other end of the transformer auxiliary winding Laux is grounded, and the common end of the sampling resistor Rst and the filter capacitor C2 is also connected to the VCC end of the switching power supply control circuit 10. One end of the secondary winding Ls of the transformer is connected to the anode of the rectifier diode Ds, and the other end of the secondary winding Ls of the transformer is grounded. The output filter capacitor C3, the filter resistor R0 and the load RL are connected in parallel between the cathode of the rectifier diode Ds and the ground. The rectifier diode Ds is used for rectification and voltage stabilization. The parallel filter capacitor C3 and the filter resistor R0 are used to form a filter circuit to filter the output voltage Vout. The switching power supply control circuit 10 obtains Vout according to the output voltage feedback end of its switching power supply. FB , V obtained at the power supply end CC , the primary side peak voltage or peak current sampling end gets V CS And the internal preset reference voltage V REF To adjust the peak current Ipk of the primary winding Lp, and then generate a corresponding PFM signal output to the driving end DRI to control the on and off of the power switch tube M1, so as to realize the process of energy being transferred from the primary winding Lp of the transformer to the output end of the secondary winding Ls of the transformer to maintain a constant current output.
[0068] When the switching power supply system of this embodiment works normally, a switching cycle T of the power switch tube M1 is actually divided into three stages: the primary side conduction stage Tonp (Tonp is the primary side conduction time), the secondary side conduction stage Tons (Tons is the secondary side conduction time) and the primary and secondary sides are both turned off Toff (Toff is the turn-off time). Figure 4 In the primary conduction stage Tonp, the primary winding Lp stores energy. In the secondary conduction stage Tons, the energy stored in the primary winding Lp is transmitted to the secondary circuit, and the secondary current gradually decreases to 0.
[0069] The switching power supply system of this embodiment adopts the switching power supply control circuit of the present invention, so the output power frequency ripple problem is improved and the output accuracy is improved. The switching power supply system of the present invention can be any primary-side controlled switching power supply system, such as a charger, a power adapter, an LED drive power supply, a wireless communication device, a LCD screen power management, an electronic refrigerator or an Ethernet power supply, etc.
[0070] Based on the same inventive concept, the present invention also provides a switching power supply control method, comprising:
[0071] First, the output voltage of the secondary side of the switching power supply is fed back in real time to obtain an FB waveform, and when it is detected that the FB waveform is in a full duty cycle state, a QR mode trigger signal is generated to enable the switching power supply to enter the QR mode;
[0072] Secondly, when the QR mode trigger signal is valid, the primary peak voltage Vcs of the switching power supply is raised by K times, and at the same time, the ratio of the secondary conduction time Tons and the switching period Tsw of the switching power supply, Tons / Tsw, is reduced by K times;
[0073] Then, a constant current control logic signal is generated according to the adjusted peak voltage and the ratio Tons / Tsw, and a drive signal is output according to the constant current control logic signal to control the on and off of the power switch tube of the switching power supply so that the output current of the switching power supply remains constant.
[0074] Please refer to Figures 3 to 8BA switching power supply control method provided by the present invention can be implemented by the switching power supply control circuit 10 of the present invention, that is, after the switching power supply control circuit 10 of the present invention is connected to the switching power supply, when the output voltage Vout of the switching power supply decreases, first, the output voltage Vout of the secondary side of the switching power supply is fed back in real time by the FB waveform detection circuit 101 in the switching power supply control circuit 10 to obtain the FB waveform, and when it is detected that the FB waveform appears in a full duty cycle state, a QR mode trigger signal is generated to make the switching power supply enter the QR mode; then, the QR mode trigger signal is received by the mode switching circuit 102 in the switching power supply control circuit 10, and when the QR mode trigger signal is valid, the switch The primary peak voltage Vcs of the power supply is raised by K times, and at the same time, the ratio Tons / Tsw of the secondary conduction time Tons and the switching period Tsw of the switching power supply is reduced by K times; then, the constant current control circuit 103 in the switching power supply control circuit 10 generates a constant current control logic signal according to the peak voltage and the ratio Tons / Tsw adjusted by the mode switching circuit 102, and outputs a drive signal according to the constant current control logic signal; then, the drive circuit in the switching power supply control circuit outputs a drive signal (generally a PFM signal) according to the control logic signal to control the on and off of the power switch tube M1 of the switching power supply, so as to control the on and off of the power switch tube of the switching power supply, so that the output current of the switching power supply remains constant.
[0075] In summary, when the switching power supply has a low bus voltage Vbus input, the output voltage Vout of the switching power supply decreases. In this case, the switching power supply control circuit and method and the switching power supply system of the present invention can detect the feedback voltage Vout used to feedback the output voltage Vout of the secondary side of the switching power supply. FB When the waveform shows a full duty cycle, it is determined that an output power frequency ripple problem occurs, and the peak voltage Vcs of the switching power supply is raised by K times (K=1.1 or other values), and the ratio of the secondary side conduction time to the switching period Tons / Tsw of the switching power supply is reduced by K times, so as to maintain the product of Vcs*Tons / Tsw unchanged, and then maintain the constant current output of the switching power supply; at the same time, due to the reduction of Tons / Tsw, that is, Tons remains unchanged, Tsw increases, and the off time Toff that can be "eaten" by the primary side conduction time Tonp increases. When the switching power supply has a lower bus voltage Vbus input, there is more room for Tonp to adjust, thereby optimizing the output power frequency ripple problem and improving the output accuracy of the switching power supply.
[0076] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A switching power supply control circuit, characterized in that: Including the switching power supply system connected to the primary side feedback control: An FB waveform detection circuit is used for feeding back the output voltage of the secondary side of the switching power supply in real time to obtain an FB waveform, wherein the FB waveform is a waveform of the feedback voltage of the output voltage, and when it is detected that the FB waveform is in a full duty cycle state, a QR mode trigger signal is generated to enable the switching power supply to enter a QR mode, wherein the QR mode is a quasi-resonant mode of the switching power supply; A mode switching circuit is connected to the FB waveform detection circuit and is used to receive the QR mode trigger signal, and when the QR mode trigger signal is valid, the primary peak voltage Vcs of the switching power supply is raised to K*Vcs, and at the same time, the ratio of the secondary conduction time Tons and the switching period Tsw of the switching power supply, Tons / Tsw, is reduced to Tons / K*Tsw, where K>1; a constant current control circuit, connected to the mode switching circuit, for generating a constant current control logic signal according to a peak voltage K*Vcs and a ratio Tons / K*Tsw output by the mode switching circuit in the QR mode; and A driving circuit, connected to the constant current control circuit and the gate of the power switch tube of the switching power supply, and used to output a driving signal according to the constant current control logic signal to control the on and off of the power switch tube of the switching power supply; The switching power supply further comprises a transformer and an output voltage feedback circuit, wherein the transformer comprises a primary winding, a secondary winding and an auxiliary winding; one end of the primary winding is coupled to the drain of the power switch tube, and the other end receives the bus voltage; the auxiliary winding is located at the primary side of the transformer and the same-name end is grounded, and the opposite-name end is coupled to the FB waveform detection circuit through the output voltage feedback circuit to provide the feedback voltage to the FB waveform detection circuit; The FB waveform detection circuit is also used to determine that the FB waveform is in a full duty cycle state and generate the QR mode trigger signal to enable the switching power supply to enter the QR mode when it is detected that the off time Toff of the switching power supply is less than the first set threshold value within a plurality of consecutive switching cycles Tsw, under the condition that the current primary peak voltage Vcs of the switching power supply can reach the highest primary peak voltage value Vcs_H; when the bus voltage of the switching power supply increases or the load is reduced, and when it is detected that the off time Toff is greater than the second set threshold value within a plurality of consecutive switching cycles Tsw, a non-QR mode trigger signal is generated to enable the switching power supply to exit the QR mode.
2. The switching power supply control circuit according to claim 1, characterized in that: The FB waveform detection circuit comprises: A first enable signal generating module, configured to receive an initialization signal and generate a first enable signal according to a delay signal corresponding to a primary side on-time Tonp of the switching power supply and a delay signal corresponding to an off-time Toff of the switching power supply; A first clock signal generating module, configured to receive an initialization signal and generate a first clock signal according to a primary side peak voltage of the switching power supply and a primary side conduction time Tonp of the switching power supply; A first counting module, used for continuously counting rising edges of the first clock signal under the control of a first enable signal, so as to detect a full duty cycle state of the FB waveform; A first pulse generator, used for generating a first pulse signal according to the result of continuous counting of the first counting module; A second enable signal generating module, configured to receive an initialization signal and generate a second enable signal according to another delay signal corresponding to the off time Toff of the switching power supply and a sampling time of the switching power supply; A second clock signal generating module, used for receiving an initialization signal and generating a second clock signal according to the primary side conduction time Tonp of the switching power supply; a second counting module, used for continuously counting rising edges of the second clock signal under the control of the second enable signal, so as to detect the occurrence of a bus voltage increase or a load reduction of the switching power supply; A second pulse generator is used to generate a second pulse signal according to the result of continuous counting of the second counting module; and The QR mode trigger module is used to generate a QR mode trigger signal or a non-QR mode trigger signal according to the first pulse signal and the second pulse signal.
3. The switching power supply control circuit according to claim 1, characterized in that: The mode switching circuit includes a peak voltage switching circuit and a secondary side conduction time duty cycle switching circuit; wherein, the peak voltage switching circuit includes a first switch, a second switch and a comparator, the input end of the first switch is connected to the primary side peak voltage signal Vcs, the control end of the first switch is connected to the non-QR mode trigger signal so that the first switch is turned on when the non-QR mode trigger signal is valid, the input end of the second switch is connected to the K times peak voltage signal K*Vcs, the control end of the second switch is connected to the QR mode trigger signal so that the second switch is turned on when the QR mode trigger signal is valid, the output ends of the first switch and the second switch are both connected to the inverting input end of the comparator, and the comparator is connected to the inverting input end of the comparator. The phase input terminal is connected to the peak voltage signal, and the output terminal of the comparator is connected to the input terminal of the constant current control circuit; the secondary side conduction time duty cycle switching circuit includes a third switch and a fourth switch, the input terminal of the third switch is connected to the ratio signal Tons / Tsw, the control terminal of the third switch is connected to the non-QR mode trigger signal so that the third switch is turned on when the non-QR mode trigger signal is valid, the input terminal of the fourth switch is connected to the 1 / K times ratio signal Tons / K*Tsw, the control terminal of the fourth switch is connected to the QR mode trigger signal so that the fourth switch is turned on when the QR mode trigger signal is valid, and the output terminals of the third switch and the fourth switch are connected to the input terminal of the constant current control circuit.
4. A switching power supply system, characterized in that: It comprises a switching power supply control circuit and a power switch tube as described in any one of claims 1 to 3, wherein the power switch tube is connected to a drive circuit of the switching power supply control circuit.
5. The switching power supply system according to claim 4, characterized in that: Also includes: An input rectifier filter circuit is used to convert an AC voltage signal into a bus voltage signal; A transformer having a primary winding coupled to the input rectifier filter circuit, a secondary winding and an auxiliary winding, wherein the drive circuit in the switch power supply control circuit is coupled to the primary winding; an output rectifying and filtering circuit, electrically connected to the secondary winding, for rectifying and filtering an output signal of the secondary winding; An output voltage feedback circuit, connected between the auxiliary winding and the FB waveform detection circuit of the switching power supply control circuit, for sampling and feeding back the output voltage of the secondary winding; as well as, The peak voltage sampling resistor is connected between the power switch tube and the ground, and the connection node between the peak voltage sampling resistor and the power switch tube is connected to the mode switching circuit of the switching power supply control circuit.
6. A switching power supply control method, characterized in that: For controlling the output of the switching power supply system according to claim 4 or 5, the switching power supply control method comprises: Feedback the output voltage of the secondary side of the switching power supply in real time to obtain an FB waveform, wherein the FB waveform is a waveform of the feedback voltage of the output voltage, and when the FB waveform is detected and the full duty cycle state is reached, generate a QR mode trigger signal to make the switching power supply enter the QR mode, wherein the QR mode is a quasi-resonant mode of the switching power supply; When the QR mode trigger signal is valid, the primary peak voltage Vcs of the switching power supply is raised to K*Vcs, and the ratio of the secondary conduction time Tons and the switching period Tsw of the switching power supply, Tons / Tsw, is reduced to Tons / K*Tsw; and, In the QR mode, a constant current control logic signal is generated according to the adjusted peak voltage K*Vcs and the ratio Tons / K*Tsw, and a drive signal is output according to the constant current control logic signal to control the on and off of the power switch tube of the switching power supply; The step of the switching power supply entering the QR mode includes: under the condition that the peak voltage Vcs of the switching power supply can reach the highest peak voltage Vcs_H, when it is detected that the off time Toff of the switching power supply is less than the first set threshold value in a plurality of consecutive switching cycles Tsw, it is determined that the FB waveform is in a full duty cycle state, and then the QR mode trigger signal is generated, and the switching power supply enters the QR mode according to the QR mode trigger signal; and The step of the switching power supply exiting the QR mode includes: when the bus voltage of the switching power supply increases or the load is reduced, and when it is detected that the off time Toff is greater than a second set threshold within a plurality of consecutive switching cycles Tsw, a non-QR mode trigger signal is generated, and the switching power supply exits the QR mode according to the non-QR mode trigger signal.
Citation Information
Patent Citations
A switching power supply control circuit and switching power supply system
CN211151829U
