CN109995248A - A sampling method to improve output stability of flyback resonant switching power supply - Google Patents
A sampling method to improve output stability of flyback resonant switching power supply Download PDFInfo
- Publication number
- CN109995248A CN109995248A CN201711480413.4A CN201711480413A CN109995248A CN 109995248 A CN109995248 A CN 109995248A CN 201711480413 A CN201711480413 A CN 201711480413A CN 109995248 A CN109995248 A CN 109995248A
- Authority
- CN
- China
- Prior art keywords
- vref
- vsense
- voltage
- digital
- err
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/22—Conversion of DC power input into DC power output with intermediate conversion into AC
- H02M3/24—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters
- H02M3/28—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC
- H02M3/325—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal
- H02M3/335—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/33507—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters
- H02M3/33515—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters with digital control
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/22—Conversion of DC power input into DC power output with intermediate conversion into AC
- H02M3/24—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters
- H02M3/28—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC
- H02M3/325—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal
- H02M3/335—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/33507—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters
- H02M3/33523—Conversion of DC power input into DC power output with intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate AC using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters with galvanic isolation between input and output of both the power stage and the feedback loop
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M7/00—Conversion of AC power input into DC power output; Conversion of DC power input into AC power output
- H02M7/02—Conversion of AC power input into DC power output without possibility of reversal
- H02M7/04—Conversion of AC power input into DC power output without possibility of reversal by static converters
- H02M7/12—Conversion of AC power input into DC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M7/21—Conversion of AC power input into DC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M7/217—Conversion of AC power input into DC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0012—Control circuits using digital or numerical techniques
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0025—Arrangements for modifying reference values, feedback values or error values in the control loop of a converter
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
一种提高反激谐振类开关电源输出稳定性的采样方法,通过采样模块采集原边辅助绕组电压Vsense与本周期的模拟形式的反馈电压Vref相比较,Vref<Vsense的时间T1,Vref>Vsense的时间T2,Tr=T1‑T2,Tr的大小为T1与T2相差的时钟周期,根据Tr的大小,计算当前周期的数字量的误差信号err,调节数字量反馈电压VREF的大小,经数模转换器得到模拟量Vref后,再与辅助绕组的电压信号Vsense相比较,形成闭环负反馈调节反馈电压Vref的值,err和VREF输入到控制模块,控制模块产生占空比控制信号duty调节原边开关管的导通时间与关闭时间,以稳定开关电源的输出。
A sampling method for improving the output stability of a flyback resonant switching power supply. The sampling module collects the auxiliary winding voltage Vsense of the primary side and compares it with the feedback voltage Vref in the analog form of this cycle. The time T 1 of Vref<Vsense, Vref>Vsense time T 2 , Tr=T 1 -T 2 , the size of Tr is the clock cycle that is different between T 1 and T 2 , according to the size of Tr, calculate the digital error signal err of the current cycle, and adjust the digital feedback voltage VREF After the analog value Vref is obtained by the digital-to-analog converter, it is compared with the voltage signal Vsense of the auxiliary winding to form a closed-loop negative feedback to adjust the value of the feedback voltage Vref, err and VREF are input to the control module, and the control module generates a duty cycle control The signal duty adjusts the on-time and off-time of the primary switch tube to stabilize the output of the switching power supply.
Description
技术领域technical field
本发明涉及反激谐振类开关电源,尤其涉及一种提高反激谐振类开关电源输出稳定性的采样方法。The invention relates to a flyback resonance type switching power supply, in particular to a sampling method for improving the output stability of the flyback resonance type switching power supply.
背景技术Background technique
PSR反激变换器系统中,采样模块是连接外围拓扑电路和内部控制电路的桥梁,其重要性是不可替代的。采样方法的准确性直接关系到整个反激变换器的恒流恒压精度和系统的稳定性,采样方法的实时性直接关系到整个反激变换器的瞬态特性。在反激式电源中,初级与次级处于隔离状态,如果要检测输出的情况,有原边反馈和副边反馈两种方法。原边反馈的原理是通过精确采样辅助绕组(Naux)的电压变化来检测负载变化的信息。与传统的副边反馈的光耦加431的结构相比,原边反馈最大的优势在于省去了这两个芯片以及与之配合工作的一组元器件,这样就节省了系统板上的空间,降低了成本并且提高了系统的可靠性。In the PSR flyback converter system, the sampling module is a bridge connecting the peripheral topology circuit and the internal control circuit, and its importance is irreplaceable. The accuracy of the sampling method is directly related to the constant current and constant voltage accuracy of the entire flyback converter and the stability of the system, and the real-time performance of the sampling method is directly related to the transient characteristics of the entire flyback converter. In a flyback power supply, the primary and secondary are in an isolated state. If you want to detect the output, there are two methods: primary side feedback and secondary side feedback. The principle of the primary side feedback is to detect the information of the load change by accurately sampling the voltage change of the auxiliary winding (N aux ). Compared with the traditional secondary-side feedback optocoupler plus 431 structure, the biggest advantage of primary-side feedback is that these two chips and a group of components working with them are omitted, which saves space on the system board. , reducing the cost and improving the reliability of the system.
在原边反馈中,需要通过精确采样辅助绕组(Naux)的电压变化来检测负载变化的信息,但由于副边绕组与辅助绕组中其他元器件的存在,不是全部辅助绕组都能适合检测输出电压,所以我们可以选择检测其中有代表性的点。In the primary side feedback, it is necessary to detect the load change information by accurately sampling the voltage change of the auxiliary winding (N aux ), but due to the existence of other components in the secondary winding and the auxiliary winding, not all auxiliary windings are suitable for detecting the output voltage. , so we can choose to detect representative points in it.
在原边反馈反激谐振变换器拓扑中,由于输出电压波形不规则,传统的采样算法,例如拐点采集法等均不适用。为了采样测量输出电压的值,必须采用新的采样方法。In the topology of the primary-side feedback flyback resonant converter, due to the irregular output voltage waveform, traditional sampling algorithms, such as the inflection point acquisition method, are not applicable. In order to sample the value of the measured output voltage, a new sampling method must be used.
发明内容SUMMARY OF THE INVENTION
为克服现有技术的局限和不足,本发明提出了一种提高反激谐振类开关电源输出稳定性的采样方法,基于MHz级原边反馈反激谐振变换器拓扑,在重载条件下可以采样跟随输出电压Vo的变化,输入到控制模块,稳定开关电源的输出。本发明中采样精度随负载效率的提高而提高,满载时效果最好。本发明可以在所采用的元器件体积较小的同时,实现比较高的测量精度。In order to overcome the limitations and deficiencies of the prior art, the present invention proposes a sampling method for improving the output stability of a flyback resonant switching power supply. Following the change of the output voltage V o , it is input to the control module to stabilize the output of the switching power supply. In the present invention, the sampling accuracy increases with the increase of the load efficiency, and the effect is the best when the load is fully loaded. The present invention can achieve relatively high measurement accuracy while the components used are small in volume.
为了实现上述目的,本发明采用的技术方案是:一种提高反激谐振类开关电源输出稳定性的采样方法,基于MHz级原边反馈反激谐振变换器拓扑,其特征在于:在满载条件下通过采样模块采集原边辅助绕组电压跟随输出电压Vo的变化情况并输入到控制模块,控制模块产生占空比控制信号duty调节原边开关管的导通时间与关闭时间,以稳定开关电源的输出;In order to achieve the above object, the technical solution adopted in the present invention is: a sampling method for improving the output stability of a flyback resonant switching power supply, based on a MHz-level primary-side feedback flyback resonant converter topology, characterized in that: under full load conditions The change of the primary auxiliary winding voltage following the output voltage V o is collected by the sampling module and input to the control module. The control module generates a duty cycle control signal duty to adjust the on time and off time of the primary side switch tube to stabilize the switching power supply. output;
原边反馈反激谐振变换器的副边绕组上的电压Vs以Vs:Va=Ns:Naus的比例反映到原边辅助绕组的电压Va上,Ns、Naus分别为副边绕组和辅助绕组匝数,同时分压电阻R2两端的电压Vsense与原边辅助绕组上的电压Va的比例关系为Vsense:Va=R2:(R1+R2),R1、R2为原边辅助绕组上的分压电阻,采样模块通过分压电阻R2采集辅助绕组的电压波形Vsense,由于Vsense是模拟形式的电压,并且表现出呈近似正弦的纹波,而现在通用的控制模块处理的是数字信号,因此我们需要一个恒定大小的反馈电压,在最大程度上反映Vsense的大小,Vref和VREF分别是反馈电压的模拟形式与数字形式,err为每一周期的误差信号,是一个数字量,VREF经过数模变换器转化为Vref,根据需要使用不同的形式,为了使反馈电压的值更接近Vsense,根据Vsense正弦波动的特点,采集Vsense纹波中点时的点的电压作为模拟形式的反馈电压Vref的初始值,模拟量的反馈电压Vref与原边辅助绕组分压电阻R2的电压信号Vsense直接相比较,而且模拟量的反馈电压Vref经过数模变换得到数字量的反馈电压VREF,再对数字量的反馈电压VREF在计算模块做加减处理,得到在最大程度上反映Vsense的大小的反馈电压,因此,通过计算模块的处理得到控制模块所需要的数字量反馈电压VREF和数字量的误差信号err,从而推算出输出电压大小Vo和原边开关管的占空比控制信号duty。The voltage Vs on the secondary winding of the primary-side feedback flyback resonant converter is reflected to the voltage Va of the primary auxiliary winding in the ratio of V s :V a = N s :N aus , where N s and Naus are the secondary windings respectively. The number of turns of the side winding and the auxiliary winding, and the proportional relationship between the voltage Vsense across the voltage dividing resistor R 2 and the voltage Va on the primary auxiliary winding is V sense :V a = R 2 :(R 1 +R 2 ), R 1. R 2 is the voltage divider resistor on the primary auxiliary winding. The sampling module collects the voltage waveform Vsense of the auxiliary winding through the voltage divider resistor R 2. Since Vsense is an analog voltage, it shows an approximate sinusoidal ripple, while Now the general control module deals with digital signals, so we need a constant feedback voltage to reflect the size of Vsense to the greatest extent. Vref and VREF are the analog and digital forms of the feedback voltage, respectively, and err is the value of each cycle. The error signal is a digital quantity. VREF is converted into Vref through a digital-to-analog converter. Different forms are used according to the needs. In order to make the value of the feedback voltage closer to Vsense, according to the characteristics of Vsense sinusoidal fluctuations, when collecting the Vsense ripple midpoint The voltage at the point is used as the initial value of the feedback voltage Vref in the analog form. The feedback voltage Vref of the analog quantity is directly compared with the voltage signal Vsense of the voltage dividing resistor R 2 of the auxiliary winding on the primary side, and the feedback voltage Vref of the analog quantity is obtained through digital-to-analog conversion. The digital feedback voltage VREF, and then the digital feedback voltage VREF is added and subtracted in the calculation module to obtain a feedback voltage that reflects the size of Vsense to the greatest extent. The feedback voltage VREF and the digital error signal err are used to calculate the output voltage V o and the duty cycle control signal duty of the primary switch.
所述采样模块包括一个比较器、一个DAC和一个计算模块,计算模块由代码编写,可实现计数器和加法器的作用。将原边辅助绕组分压电阻R2的电压信号Vsense与上一周期得到的模拟形式的反馈电压Vref的大小通过比较器相比较,比较结果输出给计算模块,由于原边辅助绕组分压电阻R2的电压信号Vsense表现出呈近似正弦的纹波,而每一周期得到的模拟形式的反馈电压Vref均为一固定值,每一周期根据它们相等的点可以分为两部分,一部分是相等之后随即会出现Vref持续小于Vsense直至相等,另一部分相等之后随即会出现Vref持续大于Vsense直至相等,计算模块中利用计数器分别采集在这一周期内原边辅助绕组分压电阻R2的电压信号Vsense与上一周期得到的模拟形式的反馈电压Vref这两电压相等之后,Vref<Vsense的时间T1,Vref>Vsense的时间T2,即T1的大小为计数器采集的Vref<Vsense.的这段时间的时钟周期,T2的大小为计数器采集的Vref>Vsense.的这段时间的时钟周期,两者的时间差Tr=T1-T2,Tr的大小为T1与T2相差的时钟周期。根据Tr的大小,计算当前周期的数字量的误差信号err,调节数字量反馈电压VREF的大小,此时得到的数字量VREF输入到数模转换器,得到模拟量Vref后,再与辅助绕组的电压信号Vsense相比较,形成闭环负反馈调节反馈电压Vref的值。The sampling module includes a comparator, a DAC and a calculation module, and the calculation module is written by code and can realize the functions of a counter and an adder. Compare the voltage signal Vsense of the voltage dividing resistor R 2 of the primary auxiliary winding with the feedback voltage Vref in the analog form obtained in the previous cycle through the comparator, and output the comparison result to the calculation module. The voltage signal Vsense of 2 shows an approximate sinusoidal ripple, and the feedback voltage Vref in the analog form obtained in each cycle is a fixed value. Each cycle can be divided into two parts according to the point where they are equal. Immediately, Vref will continue to be less than Vsense until it is equal, and after the other part is equal, Vref will continue to be greater than Vsense until it is equal. After the feedback voltage Vref in the analog form obtained in one cycle is equal, the time T 1 of Vref<Vsense, Vref> the time T 2 of Vsense, that is, the size of T 1 is the time of Vref<Vsense. collected by the counter The clock period, the size of T 2 is the clock period during the period when Vref>Vsense. collected by the counter, the time difference between the two is Tr=T 1 -T 2 , and the size of Tr is the clock period that differs between T 1 and T 2 . According to the size of Tr, the digital error signal err of the current cycle is calculated, and the size of the digital feedback voltage VREF is adjusted. The digital VREF obtained at this time is input to the digital-to-analog converter, and after the analog Vref is obtained, it is combined with the auxiliary winding. The voltage signal Vsense is compared to form a closed-loop negative feedback to adjust the value of the feedback voltage Vref.
所述采样模块的采样过程如下:The sampling process of the sampling module is as follows:
Vref与辅助绕组的电压信号Vsense相比较,存在以下三种状态:Vref<Vsense,Vref=Vsense,Vref>Vsense.,Vref<Vsense的时间T1,T1的大小为计数器采集的Vref<Vsense.的这段时间的时钟周期,Vref>Vsense的时间T2,T2的大小为计数器采集的Vref>Vsense.的这段时间的时钟周期。两者的时间差Tr=T1-T2,Tr的大小为T1与T2相差的时钟周期。可以根据Tr的大小,判断误差信号err的大小,它们的调节关系如下;Compared with the voltage signal Vsense of the auxiliary winding, Vref has the following three states: Vref<Vsense, Vref=Vsense, Vref>Vsense. The time T 1 of Vref<Vsense, the size of T 1 is Vref<Vsense collected by the counter. The clock period of this period of time, the time T 2 when Vref>Vsense, the size of T 2 is the clock period of this period of time when Vref>Vsense. collected by the counter. The time difference between the two is Tr=T 1 -T 2 , and the size of Tr is the clock period that is different between T 1 and T 2 . The size of the error signal err can be judged according to the size of Tr, and their adjustment relationship is as follows;
Tr<-6时,err=-3;When Tr<-6, err=-3;
-6<=Tr<=-4时,err=-2;When -6<=Tr<=-4, err=-2;
-3<=Tr<=-1时,err=-1;When -3<=Tr<=-1, err=-1;
Tr=0时,err=0;When Tr=0, err=0;
1<=Tr<=3时,err=1;When 1<=Tr<=3, err=1;
4<=Tr<=6时,err=2;When 4<=Tr<=6, err=2;
Tr>6时,err=3When Tr>6, err=3
根据误差信号err的值,在这一周期数字量反馈电压VREF的基础上,调整下一周期数字量反馈电压VREF的大小,下一周期VREF等于本周期VREF加上误差信号err,即在下一周期VREF=VREF+err。According to the value of the error signal err, on the basis of the digital feedback voltage VREF in this cycle, adjust the size of the digital feedback voltage VREF in the next cycle. The next cycle VREF is equal to the current cycle VREF plus the error signal err, that is, in the next cycle VREF=VREF+err.
本发明的优点及显著效果:The advantages and remarkable effects of the present invention:
1、能够采样处理原边反馈反激谐振变换器不规则的波形;1. It can sample and process the irregular waveform of the primary-side feedback flyback resonant converter;
2、能够实时跟随电压的变化作出调整,所使用的元器件成本低廉,占用空间较小,可以保证器件的规模化。2. It can make adjustments according to the change of voltage in real time. The components used are low in cost and occupy a small space, which can ensure the scale of the device.
3、得到的反馈电压有数字和模拟两种形式,可以根据实际情况选择调用不同模式的电压。3. The feedback voltage obtained has two forms, digital and analog, and the voltage of different modes can be selected according to the actual situation.
附图说明Description of drawings
图1是适用本发明的原边反馈反激谐振变换器的拓扑模型;Fig. 1 is the topology model of the primary-side feedback flyback resonant converter applicable to the present invention;
图2是该变换器在重载条件下稳定工作在电流连续工作模式时,副边绕组续流二极管上的电流波形;Figure 2 is the current waveform on the freewheeling diode of the secondary winding when the converter is stably operating in the current continuous working mode under heavy load conditions;
图3是原边辅助绕组分压电阻R2两端的电压Vsense波形;Figure 3 is the waveform of the voltage Vsense across the voltage dividing resistor R 2 of the primary auxiliary winding;
图4是本发明中采样模块流程图;Fig. 4 is sampling module flow chart in the present invention;
图5是本发明中采样模块的调节过程。Fig. 5 is the adjustment process of the sampling module in the present invention.
具体实施方式Detailed ways
参看图1,本发明中所应用的拓扑结构为MHz级原边反馈反激谐振变换器拓扑。本发明是一种提高开关电源输出稳定性的采样算法,其特征在于:基于MHz级原边反馈反激谐振变换器拓扑,在重载条件下采样跟随Vo的变化,输入到控制模块,稳定开关电源的输出。Referring to FIG. 1 , the topology used in the present invention is a MHz-level primary-side feedback flyback resonant converter topology. The invention is a sampling algorithm for improving the output stability of switching power supply, which is characterized in that: based on the topology of the MHz-level primary-side feedback flyback resonant converter, the sampling follows the change of V o under heavy load conditions, and is input to the control module to stabilize The output of the switching power supply.
原边反馈反激谐振变换器的副边绕组上的电压Vs以Vs:Va=Ns:Naus的比例反映到原边辅助绕组的电压Va上,Ns、Naus分别为副边绕组和辅助绕组匝数,同时分压电阻R2两端的电压Vsense与原边辅助绕组上的电压Va的比例关系为Vsense:Va=R2:(R1+R2),R1、R2为原边辅助绕组上的分压电阻,采样模块通过分压电阻R2采集辅助绕组的电压波形Vsense,由于Vsense是模拟形式的电压,并且表现出呈近似正弦的纹波,而现在通用的控制模块处理的是数字信号,因此我们需要一个恒定大小的反馈电压,可以在最大程度上反映Vsense的大小,Vref和VREF分别是反馈电压的模拟形式与数字形式,err为每一周期的误差信号,是一个数字量。VREF可以经过数模变换器转化为Vref,可以根据需要使用不同的形式。为了使反馈电压的值更接近Vsense,可以根据Vsense正弦波动的特点,采集Vsense纹波中点时的点的电压作为模拟形式的反馈电压Vref的初始值。模拟量的反馈电压Vref与原边辅助绕组分压电阻R2的电压信号Vsense可以直接相比较,而且模拟量的反馈电压Vref可以经过数模变换得到数字量的反馈电压VREF,再对数字量的反馈电压VREF在计算模块做加减处理,得到可以在最大程度上反映Vsense的大小的反馈电压。因此,通过计算模块的处理得到控制模块所需要的数字量反馈电压VREF和数字量的误差信号err,从而推算出输出电压大小Vo和原边开关管的占空比控制信号duty。The voltage Vs on the secondary winding of the primary-side feedback flyback resonant converter is reflected to the voltage Va of the primary auxiliary winding in the ratio of V s :V a = N s :N aus , where N s and Naus are the secondary windings respectively. The number of turns of the side winding and the auxiliary winding, and the proportional relationship between the voltage Vsense across the voltage dividing resistor R 2 and the voltage Va on the primary auxiliary winding is V sense :V a = R 2 :(R 1 +R 2 ), R 1. R 2 is the voltage divider resistor on the primary auxiliary winding. The sampling module collects the voltage waveform Vsense of the auxiliary winding through the voltage divider resistor R 2. Since Vsense is an analog voltage, it shows an approximate sinusoidal ripple, while Now the general control module deals with digital signals, so we need a feedback voltage of constant size, which can reflect the size of Vsense to the greatest extent. Vref and VREF are the analog and digital forms of the feedback voltage, respectively, and err is each cycle. The error signal is a digital quantity. VREF can be converted into Vref through a digital-to-analog converter, and different forms can be used as required. In order to make the value of the feedback voltage closer to Vsense, the voltage at the midpoint of the Vsense ripple can be collected as the initial value of the feedback voltage Vref in analog form according to the characteristics of the sinusoidal fluctuation of Vsense. The analog feedback voltage Vref can be directly compared with the voltage signal Vsense of the primary auxiliary winding voltage divider resistor R 2 , and the analog feedback voltage Vref can be converted to a digital feedback voltage VREF through digital-to-analog conversion. The feedback voltage VREF is added and subtracted in the calculation module to obtain a feedback voltage that can reflect the magnitude of Vsense to the greatest extent. Therefore, the digital feedback voltage VREF and the digital error signal err required by the control module are obtained through the processing of the calculation module, so as to calculate the output voltage V o and the duty cycle control signal duty of the primary switch.
图1、4中的控制模块可采用现有技术,包括多模式判断模块、数字PID模块、控制电压模块、PWM驱动模块以及比较器和数模转换器构成。采样模块对原边辅助绕组上的电阻分压进行信息采集;数字PID模块根据采样模块输出的误差信号err计算出此时的控制电压补偿量VPI,并输出给多模式判断模块、控制电压模块以及PWM驱动模块;控制电压模块根据控制电压补偿量VPI和多模式判断模块输出的当前状态量state,输出闭环控制所需要的峰值电压Vpeak,由于Vpeak是一个数字量,不能直接与模拟量的原边采样电阻的电压Vp相比较,所以Vpeak经过数模转换器DAC后,转为模拟量与Vp经过比较器Comp比较后的比较结果Comp_Ip输出给PWM驱动模块;多模式判断模块根据根据控制电压补偿量VPI和采样模块输出的数字量反馈电压VREF进行模式判断,并输出当前状态量state;PWM驱动模块根据由数字PID模块输出的控制电压补偿量VPI,比较器Comp输出的比较结果Comp_Ip控制电压模块提供的稳态Vpeak和多模式判断模块输出的当前状态量state,得出并输出开关管和同步整流管的占空比信号;并通过驱动模块得到调控开关电源主开关管的PWM波形,实现恒压输出。The control modules in Figures 1 and 4 can adopt the prior art, and include a multi-mode judgment module, a digital PID module, a control voltage module, a PWM drive module, a comparator and a digital-to-analog converter. The sampling module collects information on the resistance voltage division on the primary auxiliary winding; the digital PID module calculates the control voltage compensation V PI at this time according to the error signal err output by the sampling module, and outputs it to the multi-mode judgment module and the control voltage module And the PWM drive module; the control voltage module outputs the peak voltage Vpeak required by the closed-loop control according to the control voltage compensation V PI and the multi-mode judgment module output current state quantity state, because Vpeak is a digital quantity, it cannot be directly connected with the analog quantity. The voltage Vp of the sampling resistor on the primary side is compared, so after Vpeak passes through the digital-to-analog converter DAC, it is converted into an analog quantity and Vp is compared with the comparator Comp, and the comparison result Comp_Ip is output to the PWM drive module; the multi-mode judgment module is based on the control voltage. The compensation value V PI and the digital feedback voltage VREF output by the sampling module are used to judge the mode, and output the current state value state; the PWM drive module is based on the control voltage compensation value V PI output by the digital PID module, and the comparison result Comp_Ip output by the comparator Comp The steady-state Vpeak provided by the control voltage module and the current state quantity state output by the multi-mode judgment module are obtained and output the duty cycle signal of the switch tube and the synchronous rectifier tube; and the PWM waveform that regulates the main switch tube of the switching power supply is obtained through the drive module. , to achieve constant voltage output.
根据原边反馈反激变换器中副边绕组的电流Is在一个周期内是否降到0,变换器的工作模式可以分为电流连续模式(CCM),电流断续模式(DCM)和临界工作模式(CRM),当工作在CCM模式中时,开关管断开之后,Is会以的斜率逐渐减小到一定值,下降时间用Tr表示。在Tr期间,副边绕组上的电压Vs=Vo+Vd,其中Vo为输出电压,Vd为副边绕组上续流二极管的压降。二极管导通,可以等效为电阻与理想电源串联,即Vd=Vf+Id*Rd,其中Vf为副边绕组上续流二极管的导通压降,Id为副边绕组上续流二极管的电流。According to whether the current Is of the secondary winding in the primary-side feedback flyback converter drops to 0 in one cycle, the working modes of the converter can be divided into continuous current mode (CCM), discontinuous current mode (DCM) and critical working mode (CRM), when working in CCM mode, after the switch is turned off, I s will be The slope gradually decreases to a certain value, and the fall time is represented by Tr . During Tr , the voltage on the secondary winding is V s =V o +V d , where Vo is the output voltage, and V d is the voltage drop of the freewheeling diode on the secondary winding. The diode is turned on, which can be equivalent to a resistor connected in series with an ideal power supply, that is, V d =V f +I d *R d , where V f is the conduction voltage drop of the freewheeling diode on the secondary winding, and I d is the secondary winding current on the freewheeling diode.
副边绕组上续流二极管的电流Id的波形如图2所示,在原边反馈反激谐振变换器拓扑中,由于变压器上电压恒定时流过电感的电流线性下降以及变压器原绕组漏感Lres和开关管寄生电容Coss的谐振作用,Id的波形为斜率为的线性递减叠加一个频率为的振荡。The waveform of the current I d of the freewheeling diode on the secondary winding is shown in Figure 2. In the primary feedback flyback resonant converter topology, the current flowing through the inductor decreases linearly when the voltage on the transformer is constant and the leakage inductance L of the primary winding of the transformer The resonance effect of res and the parasitic capacitance C oss of the switch tube, the waveform of I d is the slope of The linear decreasing superposition of a frequency is oscillation.
根据上述分析可知: According to the above analysis, it can be seen that:
Vsense的波形如图3所示,由于副边绕组上续流二极管的导通压降Vf为一固定值且Vf<<Vo,所以二极管的导通电压可以忽略。Rd代表二极管的导通电阻,在小功率原边反馈反激谐振变换器中,为保证效率,续流二极管一般选择低导通电阻的二极管,即Rd非常小,Id*Rd的斜率会非常小,相邻中点之间的电压差趋近于0。由此可推知Vd的大小可以忽略,或者通过补偿模块进行补偿,补偿部分在此不多做说明。由于输出电容的影响,输出电压Vo存在纹波,波峰与波谷之间电压差较大,由于Vsense与Vo的近似线性关系,Vsense的波形中同样表现出呈近似正弦的纹波。因此在采样过程中,可以采集纹波中点时的点,根据正弦波动的特点,此时得到的反馈电压Vref的值,可以更好的反映输出电压Vo的平均值。The waveform of Vsense is shown in Figure 3. Since the conduction voltage drop V f of the freewheeling diode on the secondary winding is a fixed value and V f <<V o , the conduction voltage of the diode can be ignored. R d represents the on-resistance of the diode. In low-power primary-side feedback flyback resonant converters, in order to ensure efficiency, the freewheeling diode generally chooses a diode with low on-resistance, that is, R d is very small, and I d * R d The slope will be very small and the voltage difference between adjacent midpoints will approach zero. From this, it can be inferred that the magnitude of V d can be ignored, or compensation is performed by the compensation module, and the compensation part is not described here. Due to the influence of the output capacitor, the output voltage V o has a ripple, and the voltage difference between the peak and the trough is large. Due to the approximate linear relationship between Vsense and V o , the waveform of Vsense also shows an approximate sinusoidal ripple. Therefore, in the sampling process, the point at the midpoint of the ripple can be collected. According to the characteristics of sinusoidal fluctuation, the value of the feedback voltage Vref obtained at this time can better reflect the average value of the output voltage V o .
采样电路如图4所示,采样电路包括一个比较器、一个DAC和一个计算模块,计算模块由代码编写,可实现计数器和加法器的作用。将原边辅助绕组分压电阻R2的电压信号Vsense与上一周期得到的模拟形式的反馈电压Vref的大小通过比较器相比较,比较结果输出给计算模块。由于原边辅助绕组分压电阻R2的电压信号Vsense表现出呈近似正弦的纹波,而每一周期得到的模拟形式的反馈电压Vref均为一固定值,每一周期根据它们相等的点可以分为两部分,一部分是相等之后随即会出现Vref持续小于Vsense直至相等,另一部分相等之后随即会出现Vref持续大于Vsense直至相等。计算模块中利用计数器分别采集在这一周期内原边辅助绕组分压电阻R2的电压信号Vsense与上一周期得到的模拟形式的反馈电压Vref这两电压相等之后,Vref<Vsense的时间T1,Vref>Vsense的时间T2,即T1的大小为计数器采集的Vref<Vsense.的这段时间的时钟周期,T2的大小为计数器采集的Vref>Vsense.的这段时间的时钟周期。两者的时间差Tr=T1-T2,Tr的大小为T1与T2相差的时钟周期。根据Tr的大小,计算当前周期的数字量的误差信号err,调节数字量反馈电压VREF的大小,此时得到的数字量VREF输入到数模转换器,得到模拟量Vref后,再与辅助绕组的电压信号Vsense相比较,形成闭环负反馈调节反馈电压Vref的值。The sampling circuit is shown in Figure 4. The sampling circuit includes a comparator, a DAC, and a calculation module. The calculation module is written in code and can function as a counter and an adder. Compare the magnitude of the voltage signal Vsense of the voltage dividing resistor R 2 of the primary auxiliary winding with the magnitude of the feedback voltage Vref in the analog form obtained in the previous cycle through the comparator, and output the comparison result to the calculation module. Since the voltage signal Vsense of the voltage dividing resistor R 2 of the auxiliary winding on the primary side exhibits an approximately sinusoidal ripple, and the feedback voltage Vref in the analog form obtained in each cycle is a fixed value, each cycle can be determined according to their equal points. Divided into two parts, one part is equal and then Vref continues to be smaller than Vsense until it is equal, and the other part is equal and then Vref continues to be greater than Vsense until it is equal. In the calculation module, the counter is used to collect the voltage signal Vsense of the auxiliary winding voltage divider resistor R2 on the primary side in this cycle and the analog feedback voltage Vref obtained in the previous cycle. After the two voltages are equal, the time T1 of Vref< Vsense , The time T 2 of Vref>Vsense, that is, the size of T 1 is the clock period of the period of Vref<Vsense. collected by the counter, and the size of T 2 is the clock period of the period of Vref>Vsense. collected by the counter. The time difference between the two is Tr=T 1 -T 2 , and the size of Tr is the clock period that is different between T 1 and T 2 . According to the size of Tr, the digital error signal err of the current cycle is calculated, and the size of the digital feedback voltage VREF is adjusted. The digital VREF obtained at this time is input to the digital-to-analog converter, and after the analog Vref is obtained, it is combined with the auxiliary winding. The voltage signal Vsense is compared to form a closed-loop negative feedback to adjust the value of the feedback voltage Vref.
采样过程如图5所示:The sampling process is shown in Figure 5:
Vref与辅助绕组的电压信号Vsense相比较,将会存在以下三种状态:Compared with the voltage signal Vsense of the auxiliary winding, Vref will have the following three states:
Vref<Vsense,Vref=Vsense,Vref>Vsense.,Vref<Vsense的时间T1,T1的大小为计数器采集的Vref<Vsense.的这段时间的时钟周期,Vref>Vsense的时间T2,T2的大小为计数器采集的Vref>Vsense.的这段时间的时钟周期。两者的时间差Tr=T1-T2,Tr的大小为T1与T2相差的时钟周期。可以根据Tr的大小,判断误差信号err的大小,它们的调节关系如下;Vref<Vsense, Vref=Vsense, Vref>Vsense., Vref<Vsense time T 1 , the size of T 1 is the clock cycle of this period of Vref<Vsense. collected by the counter, Vref>Vsense time T 2 , T The size of 2 is the clock cycle of this period of time when Vref>Vsense. collected by the counter. The time difference between the two is Tr=T 1 -T 2 , and the size of Tr is the clock period that is different between T 1 and T 2 . The size of the error signal err can be judged according to the size of Tr, and their adjustment relationship is as follows;
Tr<-6时,err=-3;When Tr<-6, err=-3;
-6<=Tr<=-4时,err=-2;When -6<=Tr<=-4, err=-2;
-3<=Tr<=-1时,err=-1;When -3<=Tr<=-1, err=-1;
Tr=0时,err=0;When Tr=0, err=0;
1<=Tr<=3时,err=1;When 1<=Tr<=3, err=1;
4<=Tr<=6时,err=2;When 4<=Tr<=6, err=2;
Tr>6时,err=3When Tr>6, err=3
根据误差信号err的值,在这一周期数字量反馈电压VREF的基础上,调整下一周期数字量反馈电压VREF的大小,下一周期VREF等于本周期VREF加上误差信号err,即在下一周期VREF=VREF+err。According to the value of the error signal err, on the basis of the digital feedback voltage VREF in this cycle, adjust the size of the digital feedback voltage VREF in the next cycle. The next cycle VREF is equal to the current cycle VREF plus the error signal err, that is, in the next cycle VREF=VREF+err.
参看图5(a),若T1-T2>0,err>0,本周期的VREF的值较小,在下一个周期时,VREF应该增加err个单位的电压值,即VREF=VREF+err;Referring to Figure 5(a), if T 1 -T 2 >0, err>0, the value of VREF in this cycle is small, and in the next cycle, VREF should increase the voltage value of err units, that is, VREF=VREF+err ;
参看图5(b),若T1-T2=0,err=0,本周期的VREF的值能很好的反馈Vsense的大小,在下一个周期时,VREF保持不变,即VREF=VREF+0=VREF+err;Referring to Figure 5(b), if T 1 -T 2 =0, err = 0, the value of VREF in this cycle can well feedback the size of Vsense, and in the next cycle, VREF remains unchanged, that is, VREF=VREF+ 0=VREF+err;
参看图5(c),若T1-T2<0,err<0,本周期的VREF的值较大,在下一个周期时,VREF应该减小err的绝对值个单位的电压值,即VREF=VREF-|err|=VREF+err。Referring to Figure 5(c), if T 1 -T 2 <0, err<0, the value of VREF in this cycle is larger, and in the next cycle, VREF should reduce the absolute value of err by the voltage value of units, that is, VREF =VREF-|err|=VREF+err.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明,在此描述的本发明可以有许多变化,这种变化不能人为偏离本发明的精神和范围。因此,所有对本领域技术人员显而易见的改变,都包括在权利要求书的涵盖范围之内。The above content is a further detailed description of the present invention in conjunction with the specific preferred embodiments. It cannot be considered that the specific implementation of the present invention is limited to these descriptions. The invention described here can have many changes, and such changes cannot artificially deviate from the present invention. spirit and scope. Therefore, all changes obvious to those skilled in the art are included within the scope of the claims.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711480413.4A CN109995248B (en) | 2017-12-29 | 2017-12-29 | A sampling method to improve output stability of flyback resonant switching power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711480413.4A CN109995248B (en) | 2017-12-29 | 2017-12-29 | A sampling method to improve output stability of flyback resonant switching power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995248A true CN109995248A (en) | 2019-07-09 |
CN109995248B CN109995248B (en) | 2020-11-27 |
Family
ID=67109097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711480413.4A Active CN109995248B (en) | 2017-12-29 | 2017-12-29 | A sampling method to improve output stability of flyback resonant switching power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995248B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111917304A (en) * | 2020-08-10 | 2020-11-10 | 北京新雷能科技股份有限公司 | Digital power supply |
CN113098523A (en) * | 2021-03-25 | 2021-07-09 | 华中科技大学 | Digital delta-sigma control method, double-loop control method and high-precision alternating current source |
CN113765414A (en) * | 2021-08-06 | 2021-12-07 | 苏州翌工电源科技有限公司 | Wide-output ACDC conversion circuit and control method |
CN116047131A (en) * | 2022-12-30 | 2023-05-02 | 武汉武新电气科技股份有限公司 | High-voltage direct-hanging SVG device power module testing system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104578790A (en) * | 2014-12-29 | 2015-04-29 | 东南大学 | Digital signal sampling circuit applied to primary-side feedback flyback converter and control method of digital signal sampling circuit |
US20160365792A1 (en) * | 2008-10-21 | 2016-12-15 | On-Bright Electronics (Shanghai) Co., Ltd. | Systems and methods for protecting power conversion systems based on at least feedback signals |
-
2017
- 2017-12-29 CN CN201711480413.4A patent/CN109995248B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160365792A1 (en) * | 2008-10-21 | 2016-12-15 | On-Bright Electronics (Shanghai) Co., Ltd. | Systems and methods for protecting power conversion systems based on at least feedback signals |
CN104578790A (en) * | 2014-12-29 | 2015-04-29 | 东南大学 | Digital signal sampling circuit applied to primary-side feedback flyback converter and control method of digital signal sampling circuit |
Non-Patent Citations (1)
Title |
---|
SHEN XU等: "High precision constant voltage digital control scheme for primary-side controlled flyback converter", 《IET POWER ELECTRONICS》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111917304A (en) * | 2020-08-10 | 2020-11-10 | 北京新雷能科技股份有限公司 | Digital power supply |
CN111917304B (en) * | 2020-08-10 | 2022-05-10 | 北京新雷能科技股份有限公司 | Digital power supply |
CN113098523A (en) * | 2021-03-25 | 2021-07-09 | 华中科技大学 | Digital delta-sigma control method, double-loop control method and high-precision alternating current source |
CN113765414A (en) * | 2021-08-06 | 2021-12-07 | 苏州翌工电源科技有限公司 | Wide-output ACDC conversion circuit and control method |
CN113765414B (en) * | 2021-08-06 | 2023-10-20 | 苏州翌工电源科技有限公司 | Wide-output ACDC conversion circuit and control method |
CN116047131A (en) * | 2022-12-30 | 2023-05-02 | 武汉武新电气科技股份有限公司 | High-voltage direct-hanging SVG device power module testing system |
Also Published As
Publication number | Publication date |
---|---|
CN109995248B (en) | 2020-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107579670B (en) | Constant voltage output control system of synchronous rectification primary side feedback flyback power supply | |
CN109995254B (en) | A method for improving dynamic performance of synchronous rectifier primary-side feedback flyback power supply | |
US8670255B2 (en) | Utilization of a multifunctional pin combining voltage sensing and zero current detection to control a switched-mode power converter | |
US10819224B2 (en) | Power factor correction circuit, control method and controller | |
CN102882378B (en) | Control method and device for unit power factor flyback converter in critical continuous mode | |
CN109995248B (en) | A sampling method to improve output stability of flyback resonant switching power supply | |
CN105006973B (en) | A kind of Constant Current Control System of primary side feedback flyback power supply converter output current | |
TWI708466B (en) | Two-stage power supply | |
US12088190B2 (en) | Zero-voltage-switching control circuit, control method and switching power supply | |
CN205195552U (en) | Power factor correction converter of wide load scope | |
CN102427300B (en) | Control method and controller for output voltage of AC-DC (alternating current-direct current) converter | |
CN109004840B (en) | A control method for improving output precision of switching power supply | |
CN105811780A (en) | Constant voltage control method for output voltage of primary-side feedback flyback type converter | |
CN112994470B (en) | Primary side feedback active clamping flyback converter, controller and control method | |
US10568169B2 (en) | Control circuit, control method and LED driver thereof | |
CN103023283A (en) | Controller for a switched mode power supply | |
CN106655777B (en) | A switching power supply output cable voltage drop compensation circuit and compensation method | |
CN104902648A (en) | LED light-adjustment circuit with silicon controlled rectifier, and light-adjustment method | |
CN101771348B (en) | Method and device for adjusting intermediate bus voltage of switching power supply | |
CN104702095A (en) | Switching power supply controller and switching power supply comprising switching power supply controller | |
TW202007059A (en) | Hybrid-mode boost power factor corrector | |
CN206698119U (en) | A kind of Switching Power Supply output cable voltage-drop compensation circuit | |
EP4160889A1 (en) | Adaptive enable and disable for valley switching in a power factor correction boost converter | |
CN101212181A (en) | A multi-output power supply | |
US20240275273A1 (en) | Multi-mode pfc circuit and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |