Control method of switching converter and switching converter

By detecting the comparison between the inductor freewheeling time and the threshold time, the frequency of the switching converter is automatically controlled, which solves the problem of output power decrease when the inductance decreases under a strong magnetic field, and improves the reliability and efficiency of the system.

CN118763902APending Publication Date: 2024-10-11JOULWATT TECH INC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410354999.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Under external strong magnetic field conditions, the saturation of the transformer causes the inductance to become smaller and the output power to decrease. Existing technology is difficult to accurately distinguish between overpower output conditions and strong magnetic field conditions, resulting in repeated switching of the switching frequency, affecting system reliability.

Method used

By detecting the comparison between the freewheeling time of the inductor and the threshold time, the maximum switching frequency of the main power tube is automatically controlled. If the freewheeling time is less than the threshold time, the second switching frequency is set. Otherwise, the first switching frequency is set and set according to the compensation voltage. Threshold time to determine whether to activate over-power protection.

Benefits of technology

It achieves accurate detection and automatic frequency control when the inductance decreases, ensuring the output power requirement, avoiding repeated frequency switching, and improving the reliability and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118763902A_ABST
    Figure CN118763902A_ABST
Patent Text Reader

Abstract

The invention provides a control method of a switching converter and the switching converter, and the method comprises the steps: obtaining the follow current time of an inductor in switching conversion, comparing the follow current time with threshold time, and controlling the maximum switching frequency of the switching converter according to a comparison result; if the follow current time is smaller than or equal to the threshold time in N continuous switching periods, the maximum switching frequency of the main power tube is controlled to be a second switching frequency, otherwise, the maximum switching frequency of the main power tube is controlled to be a first switching frequency, and the second switching frequency is larger than the first switching frequency. The high-intensity magnetic field and other environments of the switching converter can be simply and accurately detected, the maximum switching frequency of the switching converter can be automatically controlled, and the output power requirement in the high-intensity magnetic field and other environments can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics, and in particular to a control method of a switching converter and the switching converter. Background Art

[0002] In the application of electric meters, there will be a transient strong magnetic field environment. Under the condition of external strong magnetic field, due to the saturation of the transformer / inductor, the inductance becomes smaller, so the output power of the converter that constitutes the electric meter decreases, so that the output voltage cannot be maintained. In order to overcome this problem, the peak current remains unchanged (without aggravating the saturation of the transformer), and the switching frequency of the converter needs to be increased to maintain the output voltage. The usual technical solution is to double the switching frequency when the output voltage becomes low, that is, when the peak inductor current reaches the over-power protection point. The problem brought about by this is that it is impossible to distinguish between normal over-power output conditions and strong magnetic field conditions, which will cause the over-power point to increase and affect the reliability of the system.

[0003] Therefore, it is necessary to detect strong magnetic field conditions. Existing solutions detect strong magnetic field conditions by integrating the input voltage in volt-seconds during the on-state of the main switch tube of the converter, or by comparing the slope of the inductor current. The detection methods are relatively complicated. At the same time, under strong magnetic field conditions, the switching frequency is fixedly set to double the frequency. It is possible that under strong magnetic field conditions, after the frequency is doubled, the inductor peak current is adjusted back, and the switching frequency is cut back, which may cause the switching frequency to switch repeatedly. Summary of the invention

[0004] The object of the present invention is to provide a control method for a switching converter and the switching converter, which can simply and accurately detect the state of the switching converter when the inductance is reduced, automatically control the maximum switching frequency of the switching converter, and meet the output power demand of the reduced inductance.

[0005] The present invention also provides a control method for a switching converter, wherein the switching converter includes a main power tube, a rectifier tube and an inductor, obtains the freewheeling time of the inductor, compares the freewheeling time with a threshold time, and controls the maximum switching frequency of the main power tube according to the comparison result; wherein,

[0006] If the freewheeling time is less than or equal to the threshold time in N consecutive switching cycles, the maximum switching frequency of the main power tube is controlled to be the second switching frequency; otherwise, the maximum switching frequency of the main power tube is controlled to be the first switching frequency, and the second switching frequency is greater than the first switching frequency.

[0007] Optionally, a compensation voltage is obtained according to an output feedback signal of the switching converter, and the threshold time is set according to the compensation voltage;

[0008] When the compensation voltage is less than the first threshold, the threshold time is set at the minimum freewheeling time; when the compensation voltage reaches the over-power protection voltage, the threshold time is set at the maximum freewheeling time.

[0009] Optionally, when the compensation voltage is greater than a first threshold value and less than a second threshold value, the threshold time is set to be positively correlated with the compensation voltage;

[0010] When the compensation voltage is greater than the second threshold and less than the third threshold, setting the threshold time to the second time;

[0011] When the compensation voltage is greater than a third threshold, the threshold time is set to be positively correlated with the compensation voltage.

[0012] Optionally, a detection signal characterizing the voltage on the main power tube is obtained, and the freewheeling time is obtained according to the time during which the detection signal is greater than a reference signal.

[0013] Optionally, an auxiliary winding coupled to the inductance of the switching converter is provided, and the voltage on the auxiliary winding is detected to obtain the detection signal.

[0014] Optionally, the compensation voltage is compared with the over-power protection voltage, and it is determined whether to start over-power protection for the switching converter according to the comparison result;

[0015] If the compensation voltage reaches the over-power protection voltage, the over-power protection is started and timing is performed to obtain the timing time;

[0016] If the timing time is greater than the preset time, restart the over-power protection;

[0017] Wherein, the preset time is greater than the N switching cycles.

[0018] Optionally, when the compensation voltage is less than the over-power protection voltage, the freewheeling time is reacquired.

[0019] Optionally, when the timing time is less than the preset time, the continuous flow time is acquired again.

[0020] The present invention also provides a switching converter, comprising a main power tube, a rectifier tube and an inductor, and:

[0021] A compensation circuit obtains a compensation voltage according to an output feedback signal of the switching converter;

[0022] A judgment circuit, obtaining the freewheeling time of the inductor, obtaining a threshold time according to the compensation voltage, judging whether the freewheeling time is less than or equal to the threshold time in N consecutive switching cycles, and outputting a judgment signal;

[0023] A frequency control circuit receives the judgment signal, and if the judgment signal indicates that the freewheeling time is less than or equal to the threshold time within N consecutive switching cycles, controls the switching frequency of the main power tube to be the second switching frequency; if the judgment signal indicates that the freewheeling time is greater than the threshold time within N consecutive switching cycles, controls the switching frequency of the main power tube to be the first switching frequency, and the second switching frequency is greater than the first switching frequency.

[0024] Optionally, the judgment circuit includes:

[0025] A freewheeling time detection circuit, used for obtaining the freewheeling time of the inductor;

[0026] A threshold time generating circuit, configured to obtain the threshold time according to the compensation voltage, and to set the threshold time at a minimum freewheeling time when the compensation voltage is less than a first threshold value; and to set the threshold time at a maximum freewheeling time when the compensation voltage reaches an over-power protection voltage;

[0027] A first comparison circuit, used for comparing the freewheeling time and the threshold time to obtain a first comparison signal;

[0028] The first timing judgment circuit receives the first comparison signal, times the first comparison signal when the first comparison signal indicates that the freewheeling time is less than or equal to the threshold time, obtains a first timing time, judges whether the first timing time reaches N consecutive switching cycles, and outputs the judgment signal.

[0029] Optionally, the threshold time generating circuit is configured as follows:

[0030] When the compensation voltage is greater than a first threshold and less than a second threshold, setting the threshold time to be positively correlated with the compensation voltage;

[0031] When the compensation voltage is greater than the second threshold and less than the third threshold, setting the threshold time to the second time;

[0032] When the compensation voltage is greater than a third threshold, the threshold time is positively correlated with the compensation voltage.

[0033] Optionally, an over-power protection module is also included, including

[0034] A second comparison circuit is used to receive the compensation voltage, and to compare the compensation voltage with the over-power protection voltage to obtain a second comparison signal;

[0035] a second timing judgment circuit, receiving the second comparison signal, and if the second comparison signal indicates that the compensation voltage is greater than the over-power protection voltage, timing is performed to obtain a second timing time; if the second timing time is greater than a preset time, a valid restart signal is output; and the preset time is greater than the N switching cycles;

[0036] The over-power protection circuit receives the second comparison signal and the restart signal, and starts the over-power protection if the second comparison signal indicates that the compensation voltage is greater than the over-power protection voltage; and restarts the over-power protection when the restart signal is valid.

[0037] Optionally, the switching converter is a flyback quasi-resonant converter, and the freewheeling time of the inductor is the freewheeling time of the secondary winding of the flyback quasi-resonant converter.

[0038] Optionally, an auxiliary winding is further included, and the auxiliary winding is coupled to the transformer of the flyback quasi-resonant converter, and the freewheeling time is obtained according to an electrical signal on the auxiliary winding.

[0039] Compared with the prior art, the present invention has the following advantages: the present invention accurately detects the state of inductance reduction by detecting the inductance freewheeling time, and automatically controls the maximum switching frequency of the main power tube accordingly. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of a flyback switching converter;

[0041] Figure 2 is a control block diagram of the switching converter of the present invention;

[0042] Figure 3 is a switching waveform diagram of the switching converter of the present invention;

[0043] Figure 4 is a curve diagram showing the relationship between the threshold voltage and the compensation voltage;

[0044] Figure 5 is a switching frequency curve of the switching converter under normal working conditions;

[0045] Figure 6 It is a switching frequency curve of the switching converter under working conditions such as strong magnetic field;

[0046] Figure 7 FIG. 4 is a control flow chart of the switching converter of the present invention. DETAILED DESCRIPTION

[0047] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments. The present invention covers any substitution, modification, equivalent method and scheme made on the spirit and range of the present invention.

[0048] In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without these detailed descriptions.

[0049] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. It should be noted that the accompanying drawings are all simplified and not in exact proportions, in order to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0050] like Figure 1 As shown, a schematic diagram of a flyback quasi-resonant converter is illustrated, which is similar to a common flyback converter, including a transformer T, a main power tube Q1, a rectifier tube D1, an auxiliary winding Naux and a primary controller. The primary side of the transformer T receives the bus voltage Vin obtained by rectification by the rectifier circuit, the main power tube Q1 is connected to the primary winding Np of the transformer T, the rectifier tube D1 is connected to the secondary winding Ns, the auxiliary winding Naux is coupled with the primary winding Np, the VS pin of the primary controller receives a detection signal representing the voltage Vaux on the auxiliary winding Naux, and the voltage Vaux on the auxiliary winding Naux has a waveform as shown in FIG. Figure 3 As shown; the DRV pin of the primary controller is connected to the gate Gate of the main power tube Q1, which is used to generate a driving signal to drive the main power tube Q1 on and off. The CS pin receives a sampling signal representing the current on the main power tube Q1, and the COMP pin receives the compensation voltage obtained by the output feedback signal of the switching converter after passing through the optocoupler isolation device. The difference between the flyback quasi-resonant converter and the ordinary flyback converter is that the primary controller of the flyback quasi-resonant converter has a detection circuit to determine the bottom of the Vaux voltage, and controls the main power tube Q1 to turn on when the Vaux voltage is at the bottom to achieve quasi-resonant control. This is because after the main power tube Q1 is turned off, the excitation inductance resonates with the parasitic capacitance of the main power tube Q1. At the resonance bottom, the energy on the excitation inductance is the largest, and the energy and voltage on the parasitic capacitance are the smallest. At this time, turning on the main power tube Q1 can minimize the turn-on loss of the main power tube Q1.

[0051] After the primary side controller adopts the control strategy of the present invention, it can easily and accurately distinguish between normal over-power output conditions and inductance reduction conditions (caused by strong magnetic field environment, high temperature environment, etc.), without making the over-power point too high, and can make the system automatically operate at the required switching frequency, and can still achieve quasi-resonant control regardless of normal conditions or strong magnetic field conditions. The switching converter of the present invention is not limited to the flyback quasi-resonant converter introduced above, and other switching converters such as buck converters, boost converters, etc. can all adopt the control strategy of the present invention. The control strategy of the present invention refers to Figure 2 Schematic control block diagram.

[0052] like Figure 2 As shown, a control block diagram of the switching converter of the present invention is shown. Figure 1 Taking the flyback converter as an example, the switch converter power module 04 is the primary and secondary modules of the flyback converter, and the compensation voltage COMP obtained by the compensation circuit 00 is Figure 1 The signal input to the COMP pin through the optocoupler isolator, in a non-isolated converter such as a buck converter, the compensation circuit 00 is an error amplifier circuit, which obtains the compensation voltage COMP by amplifying the output feedback signal and the reference voltage error. It also includes a frequency control module 01, an overpower protection module 02, and a drive module 03. The frequency control module 01 is used to detect the working conditions of the inductor and perform corresponding switching frequency control. The overpower protection module 02 is used to perform overpower protection on the switching converter. The drive module 03 is used to receive the frequency control signal Vc1 and the overpower protection signal Vc2 to generate a drive signal DRV to drive the main power tube Q1 on and off.

[0053] The frequency control module 01 includes a judgment circuit 101 and a frequency control circuit 102. The judgment circuit 101 is used to judge the working condition of the switching converter. The working principle is as follows: for a flyback converter, under a fixed output voltage Vo and a certain peak current Ipeak, the secondary side freewheeling time T_Ioff is directly related to the excitation inductance Lm, and there is a formula (1): T_Ioff=Ipeak*Lm / (N*Vo), where Ipeak is equal to the primary side peak current, Lm is the transformer excitation inductance, N is the transformer primary-to-secondary turns ratio N=Np / Ns, and Vo is the output voltage. Under strong magnetic and high temperature conditions, the excitation inductance Lm will be much smaller than the value under unsaturated conditions. Therefore, by detecting the secondary side freewheeling time T_Ioff, it can be determined whether the excitation inductance Lm is reduced and whether the converter is working under strong magnetic field conditions. According to the above principle, the judgment circuit 101 detects the freewheeling time T_Io ff, compare the freewheeling time T_Ioff with the threshold time T_Ioff_ref, and control the maximum switching frequency fmax of the switching converter according to the comparison result V2. Specifically, if the freewheeling time T_Ioff is less than or equal to the threshold time T_Ioff_ref within a certain time / within N consecutive switching cycles Ts (n*Ts), the maximum switching frequency of the main power tube is controlled to be the second switching frequency fmax2. Otherwise, the maximum switching frequency of the main power tube is controlled to be the first switching frequency fmax1, and the second switching frequency fmax2 is greater than the first switching frequency fmax1. Referring to the above analysis, the design judgment circuit 101 specifically includes a freewheeling time detection circuit 1011, a first comparison circuit 1012, a threshold time generation circuit 1013 and a timing circuit 1014. The freewheeling time detection circuit 1011 is used to detect the freewheeling time T_Ioff of the secondary winding Ns, that is, Figure 3 The time corresponding to t1-t2 in the figure, the threshold time generating circuit 1013 is used to obtain the threshold time T_Ioff_ref according to the compensation voltage COMP, the first comparison circuit 1012 is used to compare the freewheeling time T_Ioff with the threshold time T_Ioff_ref and output the first comparison signal V1, the first timing judgment circuit receives the first comparison signal V1, obtains the judgment signal V2 according to the first comparison signal V1 within a certain time / within n consecutive switching cycles, and the frequency control circuit 102 controls the maximum switching frequency fmax of the switching converter according to the size of the judgment signal V2; wherein, when the freewheeling time T_Ioff is less than or equal to the threshold time T_Ioff_ref, the obtained first comparison signal V1 is a low level, when the first comparison signal V1 is a low level for n consecutive switching cycles, the obtained judgment signal V2 is a low level, and the maximum switching frequency fmax is controlled to be the second switching frequency fmax2, otherwise the obtained judgment signal V2 is a high level, and the maximum switching frequency fmax is controlled to be the first switching frequency fmax1.

[0054] The power protection module 02 includes an over-power judgment circuit 201 and an over-power protection circuit 202. The over-power judgment circuit 201 includes a second comparison circuit 2011 and a second timing judgment circuit 2022. The second comparison circuit 2011 compares the compensation voltage COMP with the over-power protection voltage OLP to obtain a second comparison signal V3. The over-power protection circuit 202 receives the second comparison signal V3. When the second comparison signal V3 indicates that the compensation voltage COMP is greater than the over-power protection voltage OLP, the over-power protection circuit 202 starts the over-power protection (including controlling the main power tube Q1 to turn off). The second timing judgment circuit 2022 receives the second comparison signal V3, and outputs a judgment signal V4 to the over-power protection circuit 202. When the second comparison signal V3 represents that the compensation voltage COMP is greater than the over-power protection voltage OLP for a set time T2, the over-power protection circuit 202 restarts the over-power protection. The second time T2 is greater than the above-mentioned n switching cycles Ts, so that the over-power protection can be performed even after the switching frequency is increased under conditions such as a strong magnetic field, thereby ensuring the reliability of the system.

[0055] Figure 3 is a switching waveform diagram of the switching converter of the present invention. Figure 1 Take the flyback converter shown in the figure as an example, where Vgs_Q1 is the gate-source voltage waveform of the main power tube Q1, Vds_Q1 is the drain-source voltage waveform of the main power tube Q1, and Vaux is the voltage waveform on the auxiliary winding Naux. During the t0-t1 period, Vgs_Q1 is at a high level, the main power tube Q1 is turned on, Vds_Q1 is at a low level, and Vaux is a negative voltage; during the t1-t2 period, Vgs_Q1 is at a low level, the main power tube Q1 is turned off, Vds_Q1 is at a high level, and Vaux is a positive voltage; during the t2-t3 period, when the excitation inductor current iLm drops to zero, the rectifier diode D1 is turned off, the excitation inductor and the parasitic capacitor resonate, and the Vds_Q1 and Vaux waveforms oscillate; at t4, when Vaux is at the bottom of the valley, the main power tube Q1 is turned on quasi-resonantly. The freewheeling time T_Ioff can be obtained by detecting the Vaux voltage. Specifically, the Vaux voltage can be compared with a set reference voltage (close to / equal to the maximum value of the Vaux voltage). The time that Vaux is greater than the reference voltage is the freewheeling time T_Ioff. The set reference voltage can also be set to zero voltage, that is, the time period t1-t3 is detected to approximately obtain the freewheeling time T_Ioff. The freewheeling time T_Ioff can also be directly detected as the zero-crossing moment of Vaux to approximately obtain the freewheeling time T_Ioff. This is because the zero-crossing moment of Vaux is relatively convenient to detect. The present invention is not limited to the method for obtaining the freewheeling time T_Ioff.

[0056] like Figure 4As shown, a curve diagram showing the relationship between the threshold voltage and the compensation voltage of the present invention is shown. When the compensation voltage COMP is less than the first threshold value V COMP_Burst When the switching converter operates in the first mode, namely the Burst mode, the threshold time T_Ioff_ref is set at the first time, namely the minimum freewheeling time T_Ioff_min; when the compensation voltage COMP is greater than the first threshold value V COMP_Burst Less than the second threshold V COMP_PWM When the switching converter operates in the second mode, namely the PWM mode, the threshold time T_Ioff_ref is positively correlated with the compensation voltage COMP; when the compensation voltage COMP is greater than the second threshold value V COMP_PWM Less than the third threshold V COMP_PFM When the compensation voltage COMP is greater than the third threshold value V COMP_PFM When , the switching converter operates in the fourth mode, i.e., the QR mode, the threshold time T_Ioff_ref is positively correlated with the compensation voltage COMP, and when the compensation voltage COMP reaches the over-power protection voltage OLP / over-power point, the threshold time T_Ioff_ref reaches the maximum freewheeling time T_Ioff_max. Figure 5 In curve 2, the threshold time T_Ioff_ref curve obtained according to the compensation voltage COMP corresponds to the curve of the sampling signal Vcs representing the inductor current, so that by comparing the magnitude of the freewheeling time T_Ioff and the threshold time T_Ioff_ref, it is possible to determine whether there is a strong magnetic field or other conditions. By setting different threshold times T_Ioff_ref according to the magnitude of the compensation voltage COMP, it can be ensured that under different output powers / loads, the threshold time T_Ioff_ref will not be set too large or too small, and the working conditions of the switching converter can be accurately determined, and then the corresponding switching frequency control can be performed in a timely manner.

[0057] like Figure 5 As shown in the figure, the switching frequency curve of the switching converter under normal working conditions is shown. Curve ① is the relationship curve between the switching frequency fsw of the switching converter and the compensation voltage COMP. When the compensation voltage COMP is less than V COMP_PWM When the switching converter operates in Burst mode or PWM mode, the switching converter operates at the minimum switching frequency f min ; When the compensation voltage COMP is greater than V COMP_PWM Less than V COMP_PFM When the switching converter works in PFM mode, the switching frequency fsw is positively correlated with the compensation voltage COMP; when the compensation voltage COMP is greater than V COMP_PFMWhen the switching converter works in QR mode, the switching converter enters the frequency reduction working range from the maximum switching frequency fmax1. Curve ② is a curve diagram representing the relationship between the sampling signal Vcs and the compensation voltage COMP on the current of the main power tube Q1. When the compensation voltage COMP is less than V COMP_Burst When the compensation voltage COMP is greater than V COMP_Burst Less than V COMP_PWM When the sampling signal Vcs is positively correlated with the compensation voltage COMP, the compensation voltage COMP is greater than V COMP_PWM Less than V COMP_PFM When the compensation voltage COMP is greater than V COMP_PFM When the compensation voltage COMP reaches the over-power point, the sampling signal Vcs reaches the maximum value V CS_MAX .

[0058] like Figure 6 As shown, the switching frequency curve of the switching converter of the present invention under the conditions of strong magnetic field is shown. Figure 5 The difference between the curves under normal working conditions lies in the difference in the maximum switching frequency. In the curve, the maximum switching frequency is fmax2, fmax2>fmax1. When the switching converter enters the QR working mode from the PFM working mode, its switching frequency fsw does not reach the set maximum switching frequency fmax2. As the compensation voltage COMP increases, its switching frequency fsw also increases. When the switching frequency fsw reaches the maximum switching frequency fmax2, the switching frequency fsw maintains at the maximum switching frequency fmax2 or enters the frequency reduction range. If the maximum switching frequency is set to the second switching frequency without detecting strong magnetic fields and other conditions, the DCM mode under normal working conditions will be changed to the BCM mode, so that the system cannot achieve the best output power and the best working state. When strong magnetic fields and other conditions are detected, by setting a larger maximum switching frequency fmax2, the operating frequency of the system is increased, and the output power of the system is increased under the same peak current to meet the output power requirements under conditions such as strong magnetic fields, so that the system can achieve a satisfactory working state.

[0059] like Figure 7 As shown, a control flow chart of the switching converter of the present invention is shown, including:

[0060] Step S01, detecting the freewheeling time T_Ioff, and then entering step S02;

[0061] Step S02, determine whether the freewheeling time T_Ioff is greater than the threshold time T_Ioff_ref, if so, proceed to step S04, if not, proceed to step S03;

[0062] Step S03, determine whether the number of switching cycles n during which T_Ioff is less than or equal to the threshold time T_Ioff_ref or whether the time T1 is greater than the set value, if not, proceed to step S04, if yes, proceed to step S05; Step S02 and Step S03 can be combined into determining whether the freewheeling time T_Ioff is continuously less than or equal to the threshold time T_Ioff_ref within n consecutive switching cycles or a certain time T (conversely, whether there is a freewheeling time T_Ioff greater than the threshold time T_Ioff_ref), if yes, proceed to step S05, if not, proceed to step S04;

[0063] Step S04, determining that the working condition of the switching converter is: no strong magnetic field and other conditions, then proceeding to step S06;

[0064] Step S05, determining that the working condition of the switching converter is: no strong magnetic field and other conditions (i.e. normal working conditions), and then proceeding to step S07;

[0065] Step S06, setting the maximum switching frequency fmax to fmax1, that is, fmax=fmax1, and then entering step S08;

[0066] Step S07, setting the maximum switching frequency fmax to fmax2, that is, fmax=fmax2, fmax2>fmax1, and then entering step S08;

[0067] Step S08, determining whether the compensation voltage COMP is greater than the set over-power protection voltage OLP, that is, determining whether the system reaches the over-power protection point, if so, proceeding to step S09, if not, returning to step S01;

[0068] Step S09, start over-power protection and start timing, then go to step S10;

[0069] Step S10, determining whether the timing time is greater than a preset time, if so, proceeding to step S11, if not, returning to step S01, wherein the preset time is greater than the above-mentioned n switching cycles / a period of time T;

[0070] Step S11, over-power protection restart.

[0071] Through the above steps, the present invention can easily and accurately detect conditions such as strong magnetic fields, and adjust the switching frequency to the required value through the automatic frequency increase control. After the strong magnetic field and other conditions are removed, the switching frequency can be automatically adjusted to a normal state. The control method of the present invention does not affect the setting of the overpower point, and can ensure the reliability of the system. At the same time, for the flyback quasi-resonant converter, quasi-resonant control can still be achieved under normal conditions and strong magnetic field conditions, thereby optimizing the system efficiency.

[0072] Although the embodiments are described and illustrated separately above, some common technologies are involved. It is the opinion of ordinary technicians in this field that the embodiments can be replaced and integrated. If the content is not clearly recorded in one of the embodiments, reference can be made to another recorded embodiment.

[0073] The above-described implementation methods do not constitute a limitation on the protection scope of the technical solution. Any modification, equivalent replacement and improvement made within the spirit and principle of the above-described implementation methods shall be included in the protection scope of the technical solution.

Claims

1. A control method for a switching converter, wherein the switching converter comprises a main power tube, a rectifier tube and an inductor, characterized in that: Obtaining the freewheeling time of the inductor, and comparing the freewheeling time with the threshold time, and controlling the maximum switching frequency of the main power tube according to the comparison result; wherein, If the freewheeling time is less than or equal to the threshold time in N consecutive switching cycles, the maximum switching frequency of the main power tube is controlled to be the second switching frequency; otherwise, the maximum switching frequency of the main power tube is controlled to be the first switching frequency, and the second switching frequency is greater than the first switching frequency.

2. The control method of the switching converter according to claim 1, characterized in that: Obtaining a compensation voltage according to an output feedback signal of the switching converter, and setting the threshold time according to the compensation voltage; When the compensation voltage is less than a first threshold, setting the threshold time to a minimum freewheeling time; When the compensation voltage reaches the over-power protection voltage, the threshold time is set at the maximum freewheeling time.

3. The control method of the switching converter according to claim 2, characterized in that: When the compensation voltage is greater than a first threshold and less than a second threshold, setting the threshold time to be positively correlated with the compensation voltage; When the compensation voltage is greater than the second threshold and less than the third threshold, setting the threshold time to the second time; When the compensation voltage is greater than a third threshold, the threshold time is set to be positively correlated with the compensation voltage.

4. The control method of the switching converter according to claim 1, characterized in that: A detection signal representing the voltage on the main power tube is obtained, and the freewheeling time is obtained according to the time during which the detection signal is greater than a reference signal.

5. The control method of the switching converter according to claim 4, characterized in that: An auxiliary winding coupled to the inductor of the switching converter is provided, and the voltage on the auxiliary winding is detected to obtain the detection signal.

6. The control method of the switching converter according to claim 2, characterized in that: Comparing the compensation voltage with the over-power protection voltage, and determining whether to start over-power protection for the switching converter according to the comparison result; If the compensation voltage reaches the over-power protection voltage, the over-power protection is started and timing is performed to obtain the timing time; If the timing time is greater than the preset time, restart the over-power protection; Wherein, the preset time is greater than the N switching cycles.

7. The switching converter control method according to claim 6, characterized in that: When the compensation voltage is less than the over-power protection voltage, the freewheeling time is reacquired.

8. The control method of the switching converter according to claim 6, characterized in that: When the timing time is less than the preset time, the continuous flow time is acquired again.

9. A switching converter, comprising a main power tube, a rectifier tube and an inductor, characterized in that: Also includes, A compensation circuit obtains a compensation voltage according to an output feedback signal of the switching converter; A judgment circuit, obtaining the freewheeling time of the inductor, obtaining a threshold time according to the compensation voltage, judging whether the freewheeling time is less than or equal to the threshold time in N consecutive switching cycles, and outputting a judgment signal; A frequency control circuit receives the judgment signal, and if the judgment signal indicates that the freewheeling time is less than or equal to the threshold time within N consecutive switching cycles, controls the switching frequency of the main power tube to be the second switching frequency; if the judgment signal indicates that the freewheeling time is greater than the threshold time within N consecutive switching cycles, controls the switching frequency of the main power tube to be the first switching frequency, and the second switching frequency is greater than the first switching frequency.

10. The switching converter according to claim 9, characterized in that: The judgment circuit comprises: A freewheeling time detection circuit, used for obtaining the freewheeling time of the inductor; A threshold time generating circuit, used for obtaining the threshold time according to the compensation voltage, and setting the threshold time at a minimum freewheeling time when the compensation voltage is less than a first threshold; When the compensation voltage reaches the over-power protection voltage, the threshold time is set at the maximum freewheeling time; A first comparison circuit, used for comparing the freewheeling time and the threshold time to obtain a first comparison signal; The first timing judgment circuit receives the first comparison signal, times the first comparison signal when the first comparison signal indicates that the freewheeling time is less than or equal to the threshold time, obtains a first timing time, judges whether the first timing time reaches N consecutive switching cycles, and outputs the judgment signal.

11. The switching converter according to claim 10, characterized in that: The threshold time generating circuit is configured as follows: When the compensation voltage is greater than a first threshold and less than a second threshold, setting the threshold time to be positively correlated with the compensation voltage; When the compensation voltage is greater than the second threshold and less than the third threshold, setting the threshold time to the second time; When the compensation voltage is greater than a third threshold, the threshold time is positively correlated with the compensation voltage.

12. The switching converter according to claim 9, characterized in that: Also includes over-power protection module, including A second comparison circuit is used to receive the compensation voltage, and to compare the compensation voltage with the over-power protection voltage to obtain a second comparison signal; A second timing judgment circuit receives the second comparison signal, and performs timing to obtain a second timing time if the second comparison signal indicates that the compensation voltage is greater than the over-power protection voltage; If the second timing time is greater than the preset time, a valid restart signal is output; the preset time is greater than the N switching cycles; The over-power protection circuit receives the second comparison signal and the restart signal, and starts the over-power protection if the second comparison signal indicates that the compensation voltage is greater than the over-power protection voltage; and restarts the over-power protection when the restart signal is valid.

13. The switching converter according to claim 9, characterized in that: The switching converter is a flyback quasi-resonant converter, and the freewheeling time of the inductor is the freewheeling time of the secondary winding of the flyback quasi-resonant converter.

14. The switching converter according to claim 13, characterized in that: It also includes an auxiliary winding, which is coupled to the transformer of the flyback quasi-resonant converter, and the freewheeling time is obtained according to the electrical signal on the auxiliary winding.