[go: up one dir, main page]

CN109004840A - A kind of control method improving Switching Power Supply output accuracy - Google Patents

A kind of control method improving Switching Power Supply output accuracy Download PDF

Info

Publication number
CN109004840A
CN109004840A CN201810785261.7A CN201810785261A CN109004840A CN 109004840 A CN109004840 A CN 109004840A CN 201810785261 A CN201810785261 A CN 201810785261A CN 109004840 A CN109004840 A CN 109004840A
Authority
CN
China
Prior art keywords
mode
voltage
output
module
sampling
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
Application number
CN201810785261.7A
Other languages
Chinese (zh)
Other versions
CN109004840B (en
Inventor
徐申
于利民
陶蓉蓉
陈威宇
孙伟锋
陆生礼
时龙兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN201810785261.7A priority Critical patent/CN109004840B/en
Publication of CN109004840A publication Critical patent/CN109004840A/en
Priority to PCT/CN2019/081814 priority patent/WO2020015391A1/en
Application granted granted Critical
Publication of CN109004840B publication Critical patent/CN109004840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Conversion of DC power input into DC power output
    • H02M3/22Conversion of DC power input into DC power output with intermediate conversion into AC
    • H02M3/24Conversion of DC power input into DC power output with intermediate conversion into AC by static converters
    • H02M3/28Conversion 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/325Conversion 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/335Conversion 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/33507Conversion 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/33523Conversion 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/14Arrangements for reducing ripples from DC input or output
    • H02M1/15Arrangements for reducing ripples from DC input or output using active elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc-Dc Converters (AREA)

Abstract

一种提高开关电源输出精度的控制方法,基于包括采样模块、精度控制模块、误差计算模块、PID模块以及PWM模块构成的控制系统,该控制系统与受控的开关电源连接起来构成一个闭环,通过检测输出电压控制模式切换,在输出电压超出上限电压时,通过模式切换使电路进入DCM模式,减小输入能量,使输出电压稳定在调节范围内,在输出电压低于下限电压时,通过模式切换使电路进入CCM模式,增加输入能量,使输出电压快速恢复到调节范围内。在正常调节过程中,输出电压的变化被限制在上限电压与下限电压之间,电压输出纹波减小,精度得以提高。

A control method for improving the output accuracy of a switching power supply, based on a control system composed of a sampling module, an accuracy control module, an error calculation module, a PID module and a PWM module, the control system is connected with a controlled switching power supply to form a closed loop, through Detect the output voltage control mode switching. When the output voltage exceeds the upper limit voltage, the circuit enters the DCM mode through mode switching to reduce the input energy and stabilize the output voltage within the adjustment range. When the output voltage is lower than the lower limit voltage, through mode switching Make the circuit enter CCM mode, increase the input energy, and quickly restore the output voltage to the regulation range. In the normal regulation process, the change of the output voltage is limited between the upper limit voltage and the lower limit voltage, the voltage output ripple is reduced, and the accuracy is improved.

Description

一种提高开关电源输出精度的控制方法A Control Method for Improving Output Precision of Switching Power Supply

技术领域technical field

本发明涉及开关电源,尤其涉及一种提高开关电源输出精度的控制方法,能够减小开关电源输出纹波,提高开关电源的输出精度。The invention relates to a switching power supply, in particular to a control method for improving the output precision of the switching power supply, which can reduce the output ripple of the switching power supply and improve the output precision of the switching power supply.

背景技术Background technique

开关电源通常作为各类用电设备的电源,起到将未调整的交流或直流输入电压变换为调整后的交流或直流输出电压。由于开关电源需要适应于不同的工作条件,对电源的输出精度性能要求越来越高。随着工艺尺寸逐渐减小,芯片内的器件耐压也减小,若此时电源电压过大,则容易使芯片器件所加电压过高或消耗功率过大而损坏,而电源电压输出过低时,又会使某些器件性能下降,甚至不能工作。当输出电压精度不高,纹波较大时,则会影响芯片的性能。如数字电压表中要求内部有极精确的稳定电源,以保证电压/数字的转换精度;又如示波器内的电源必须稳定,以保证光点的偏转灵敏度、扫描时间等的准确。Switching power supplies are usually used as power supplies for various types of electrical equipment to convert unadjusted AC or DC input voltages into adjusted AC or DC output voltages. Since the switching power supply needs to adapt to different working conditions, the output accuracy performance requirements of the power supply are getting higher and higher. As the size of the process gradually decreases, the withstand voltage of the devices in the chip also decreases. If the power supply voltage is too large at this time, it is easy to cause damage to the chip device due to excessive voltage or excessive power consumption, while the output of the power supply voltage is too low. , it will degrade the performance of some devices, or even fail to work. When the accuracy of the output voltage is not high and the ripple is large, it will affect the performance of the chip. For example, a digital voltmeter requires an extremely accurate and stable power supply inside to ensure the accuracy of voltage/digital conversion; another example is that the power supply in the oscilloscope must be stable to ensure the accuracy of the deflection sensitivity of the light spot and the scanning time.

在当今的电源管理中,高的电源效率已成必要性能。很多高压电源(如输入为市电电压的反激变换器)为了实现高效率,采用软开关技术,在原边功率管漏端电压下降到零时导通,即谷底导通技术。而该技术虽然实现了高效率,但由于其实际导通时间与系统理论计算的导通时间有偏差,所以相比非谷底导通电路,该电路带来的输出电压文波偏大。同时在一个SOC(System On Chip)系统中,不同模块需要的电流能力不同,即使同一个模块在不同时刻工作模式不同,其所需要的电流也不同。这就带来电源芯片给这些模块供电的电流不固定,当电源提供的电流刚好使电源工作在连续导通模式(CCM)与断续导通模式(DCM)临界区,且电源为输出断续结构的电路,则电路工作在CCM下,其获得的输出能量与电感电流增大的量之间存在迟滞,而DCM下由于当前周期将能量全部传给输出端,故获得输出能量与电感电流增加量之间无迟滞。若电源工作多个CCM后进入DCM,再经过多个DCM后进入CCM,则输出电压纹波会很大,输出精度很低。In today's power management, high power efficiency has become a necessary performance. In order to achieve high efficiency, many high-voltage power supplies (such as flyback converters whose input is the mains voltage) adopt soft switching technology to conduct when the drain terminal voltage of the primary side power tube drops to zero, that is, valley conduction technology. Although this technology achieves high efficiency, due to the deviation between the actual turn-on time and the turn-on time calculated by the system theory, the output voltage ripple brought by this circuit is larger than that of the non-valley turn-on circuit. At the same time, in a SOC (System On Chip) system, different modules require different current capabilities. Even if the same module operates in different modes at different times, its required current is also different. This results in that the current supplied by the power supply chip to these modules is not fixed. When the current provided by the power supply just makes the power supply work in the critical area of continuous conduction mode (CCM) and discontinuous conduction mode (DCM), and the power supply is intermittent If the circuit works in CCM, there is a hysteresis between the output energy it obtains and the increase in inductor current, and in DCM, because the current cycle transfers all the energy to the output terminal, the output energy obtained and the increase in inductor current There is no hysteresis between quantities. If the power supply operates multiple CCMs and enters DCM, and then enters CCM after multiple DCMs, the output voltage ripple will be large and the output accuracy will be very low.

此外对于调节精度过低的电源芯片,在芯片工作在DCM与CCM边界时,同样也会出现一段负载区域,输出电压纹波大,精度低的现象。In addition, for power chips with low adjustment accuracy, when the chip works at the boundary between DCM and CCM, there will also be a load area, large output voltage ripple, and low accuracy.

因此由于输出精度要求越来越高,软开关控制方法带来的输出精度低的问题,提出一种提高输出电压精度的控制方法。对减小电压过冲与欠压,减小输出纹波,有很好的效果,对提高电路的输出精度性能很有必要。Therefore, due to the higher and higher requirements for output accuracy, the problem of low output accuracy caused by the soft switching control method, a control method to improve the accuracy of the output voltage is proposed. It has a good effect on reducing voltage overshoot and undervoltage and reducing output ripple, and it is necessary to improve the output accuracy performance of the circuit.

本申请人的在先申请《一种提高开关电源动态响应的控制方法》针对系统输出负载切换时(如重载切换成轻载或轻载切换成重载),输出电压会产生较大的过冲或欠冲的问题提出了动态快速恢复算法,使得输出电压能够在尽量短的时间内恢复到正常调节范围内,从而减小了输出电压过冲或欠冲,即属于动态调节,系统采用谷底导通模式使得实际开关周期与理论计算的开关周期可能存在最大半个谐振周期的差异,故电感上的电流相比非谷底开关导通的电源系统会不稳定,同时该结构电源属于输出电流断续的结构,该结构存在右边平面零点,会带来补偿环路的相位延迟,最终导致在稳定输出负载情况下输出电压纹波大的问题。The applicant's previous application "A Control Method for Improving the Dynamic Response of Switching Power Supply" aims at switching the output load of the system (such as switching from heavy load to light load or switching from light load to heavy load), the output voltage will produce a large overshoot. For the problem of overshoot or undershoot, a dynamic fast recovery algorithm is proposed, so that the output voltage can return to the normal regulation range in the shortest possible time, thereby reducing the output voltage overshoot or undershoot, which belongs to dynamic regulation, and the system adopts valley bottom The conduction mode makes the difference between the actual switching period and the theoretically calculated switching period possibly a maximum of half the resonant period, so the current on the inductor will be unstable compared with the power system with non-valley switch conduction, and the power supply with this structure belongs to the output current cut-off The continuous structure, which has the zero point on the right plane, will bring the phase delay of the compensation loop, and finally lead to the problem of large output voltage ripple under the condition of stable output load.

发明内容Contents of the invention

为克服现有技术的局限和不足,本发明提出了一种提高开关电源输出精度的控制方法,属于稳态调节,针对系统在稳定输出负载下,输出纹波大、精度低的问题提出相应的算法,可以限制输出电压的过冲与欠压在一定的范围内,并减小输出纹波,提高输出精度,在多模式控制中不会引起系统的不稳定,使得电路的输出精度性能更优秀。In order to overcome the limitations and deficiencies of the prior art, the present invention proposes a control method for improving the output precision of the switching power supply, which belongs to the steady-state regulation. Aiming at the problem of large output ripple and low precision of the system under stable output load, corresponding solutions are proposed. The algorithm can limit the overshoot and undervoltage of the output voltage within a certain range, reduce the output ripple, and improve the output accuracy. It will not cause system instability in multi-mode control, making the output accuracy of the circuit better. .

为了实现上述目的,本发明采用的技术方案是:一种提高开关电源输出精度的控制方法,其特征在于:基于包括采样模块、精度控制模块、误差计算模块、PID模块以及PWM模块构成的控制系统,该控制系统与受控的开关电源连接起来构成一个闭环;In order to achieve the above object, the technical solution adopted by the present invention is: a control method for improving the output precision of switching power supply, characterized in that: based on a control system composed of a sampling module, an accuracy control module, an error calculation module, a PID module and a PWM module , the control system is connected with the controlled switching power supply to form a closed loop;

采样模块包括采样电路和采样计算模块,采样电路通过开关电源的输出分压得到输出电压信息,采样计算模块根据该输出电压信息计算得到对应输出电压大小信息的采样电压Vo并同时输出给误差计算模块和精度控制模块;The sampling module includes a sampling circuit and a sampling calculation module. The sampling circuit obtains output voltage information through the output voltage division of the switching power supply. The sampling calculation module calculates the sampling voltage Vo corresponding to the output voltage information according to the output voltage information and outputs it to the error calculation module at the same time. and precision control module;

精度控制模块包括电压监测模块和模式切换模块,电压监测模块接收采样模块输出的采样电压Vo并根据采样电压Vo的大小分别与设定的采样电压Vo上限值Vomax、采样电压Vo下限值Vomin的大小关系,判断是否采用模式切换,选择是采用CCM模式还是DCM模式;电压监测模块中包含两个比较器以及一个逻辑单元,其中一个比较器用于比较采样电压Vo与采样电压Vo的设定上限值Vomax之间的大小,另一个比较器用于比较采样电压Vo与采样电压Vo的设定下限值Vomin之间的大小,两个比较器的输出分别连接至逻辑单元,逻辑单元根据两个比较器的比较结果,输出模式选择结果mode_F给模式切换模块,当Vo<Vomin,逻辑单元输出mode_F=1,为CCM模式;当Vo>Vomax,逻辑单元输出mode_F=0,为DCM模式;当Vo介于Vomin与Vomax之间,模式选择结果mode_F保持当前选择的模式不变;模式切换模块接收电压检测模块输出的模式选择结果mode_F和输出分压得到的输出电压信息Vsense,将输出电压信息Vsense与零电平信号GND进行比较,产生反应电感电流下降为零的信号ZCMP,该信号ZCMP是决定DCM模式下功率管导通的信号,而内部时钟Fclk是决定CCM模式下功率管导通的信号,DCM模式和CCM模式下的功率管的关断信号都由PID模块输出信号VPI决定;ZCMP信号与内部时钟Fclk通过二选一逻辑组合门电路,根据模式选择结果mode_F的不同值,产生模式切换结果控制信号mode_ctl给PWM模块;The precision control module includes a voltage monitoring module and a mode switching module. The voltage monitoring module receives the sampling voltage Vo output by the sampling module and compares it with the set sampling voltage Vo upper limit Vomax and sampling voltage Vo lower limit Vomin according to the size of the sampling voltage Vo. The relationship between the size of the model, determine whether to use mode switching, choose whether to use CCM mode or DCM mode; the voltage monitoring module contains two comparators and a logic unit, one of which is used to compare the sampling voltage Vo and the setting of the sampling voltage Vo The size between the limit value Vomax, another comparator is used to compare the size between the sampling voltage Vo and the set lower limit value Vomin of the sampling voltage Vo, the outputs of the two comparators are respectively connected to the logic unit, and the logic unit is based on the two The comparison result of the comparator, the output mode selection result mode_F is given to the mode switching module. When Vo<Vomin, the logic unit outputs mode_F=1, which is the CCM mode; when Vo>Vomax, the logic unit outputs mode_F=0, which is the DCM mode; when Vo Between Vomin and Vomax, the mode selection result mode_F keeps the currently selected mode unchanged; the mode switching module receives the mode selection result mode_F output by the voltage detection module and the output voltage information Vsense obtained by output voltage division, and combines the output voltage information Vsense with The zero-level signal GND is compared to generate a signal ZCMP that reflects the drop of the inductor current to zero. The signal ZCMP is a signal that determines the conduction of the power transistor in DCM mode, and the internal clock Fclk is a signal that determines the conduction of the power transistor in CCM mode. The shutdown signal of the power transistor in DCM mode and CCM mode is determined by the output signal V PI of the PID module; the ZCMP signal and the internal clock Fclk pass through the two-to-one logic combination gate circuit, according to the different values of the mode selection result mode_F, resulting in mode switching As a result, the control signal mode_ctl is given to the PWM module;

误差计算模块接收采样模块输出的采样电压Vo,用参考电压Vref减去采样电压Vo的差,得到当前采样电压误差e1输出给PID模块,PID模块根据采样电压误差e1,通过比例参数Kp,积分参数Ki,微分参数Kd进行PID运算,得到补偿结果VPI输出给PWM模块,用于确定下一周期峰值电流值;The error calculation module receives the sampling voltage Vo output by the sampling module, and subtracts the difference of the sampling voltage Vo from the reference voltage Vref to obtain the current sampling voltage error e1 and outputs it to the PID module. The PID module passes the proportional parameter Kp and the integral parameter according to the sampling voltage error e1 K i , the differential parameter K d performs PID operation, and the compensation result V PI is obtained and output to the PWM module, which is used to determine the peak current value of the next cycle;

PWM模块包括PWM单元和驱动单元,PWM单元的输入为模式切换模块输出的模式切换结果控制信号mode_ctl和PID模块输出的补偿结果VPI,通过计算得到开关周期Ts和峰值电流Ipeak,经驱动单元输出占空比波形,对开关电源功率管的栅极实现环路控制,模式切换结果mode_ctl决定功率管的导通,补偿结果VPI决定功率管的关断;The PWM module includes a PWM unit and a driving unit. The input of the PWM unit is the mode switching result control signal mode_ctl output by the mode switching module and the compensation result V PI output by the PID module. The switching period Ts and the peak current Ipeak are obtained through calculation, and are output by the driving unit The duty cycle waveform realizes loop control on the gate of the power tube of the switching power supply, the mode switching result mode_ctl determines the conduction of the power tube, and the compensation result V PI determines the shutdown of the power tube;

重复上述过程,再次对开关电源的输出电压进行采样,循环控制开关电源功率管的开通和关断,以使系统更加稳定,从而获得更高的输出精度。Repeat the above process, sample the output voltage of the switching power supply again, and control the switching on and off of the power tube of the switching power supply cyclically, so as to make the system more stable and obtain higher output accuracy.

当采样电压Vo比下限电压Vomin小,电压检测模块输出信号mode_F控制模式切换模块,使其变为恒定频率的CCM模式,在该模式下,功率管导通是由内部时钟上升沿确定,功率管关断是由PID模块输出信号VPI确定,系统输入大功率使得采样电压Vo快速上升到参考电压Vref,且保持该模式工作,直到采样电压Vo比上限电压Vomax大,系统才会切换到DCM模式;When the sampling voltage Vo is smaller than the lower limit voltage Vomin, the output signal mode_F of the voltage detection module controls the mode switching module to make it a constant frequency CCM mode. In this mode, the conduction of the power transistor is determined by the rising edge of the internal clock, and the power transistor Shutdown is determined by the output signal V PI of the PID module. The system inputs high power so that the sampling voltage Vo quickly rises to the reference voltage Vref, and keeps working in this mode until the sampling voltage Vo is greater than the upper limit voltage Vomax, the system will switch to DCM mode ;

当采样电压Vo比上限电压Vomax大,电压检测模块输出信号mode_F控制模式切换模块使其变为DCM模式,在该模式下,功率管导通需要等电感电流变成零后,在功率管的漏源电压Vds的下一个谷底导通,功率管关断是由PID模块输出信号VPI决定,该模式下,系统输入小功率使得采样电压Vo快速下降到参考电压Vref,且保持该模式工作,直到采样电压Vo比下限电压Vomin小,系统才会切换到CCM模式。When the sampling voltage Vo is greater than the upper limit voltage Vomax, the output signal mode_F of the voltage detection module controls the mode switching module to change to the DCM mode. In this mode, the power transistor needs to be turned on after the inductor current becomes zero. The next valley of the source voltage Vds is turned on, and the power transistor is turned off is determined by the output signal V PI of the PID module. In this mode, the system inputs a small power to make the sampling voltage Vo quickly drop to the reference voltage Vref, and the mode remains in operation until The system switches to the CCM mode only when the sampling voltage Vo is smaller than the lower limit voltage Vomin.

所述电压监测模块中的两个比较器为COMP1和COMP3,比较器COMP1的正端连接Vomax,负端连接Vo,比较器COMP3的正端连接Vo,负端连接Vomin,比较器COMP1的输出信号SMAX和比较器COMP3的输出信号SMIN均连接逻辑单元,逻辑单元输出模式选择结果mode_F。The two comparators in the voltage monitoring module are COMP1 and COMP3, the positive terminal of comparator COMP1 is connected to Vomax, the negative terminal is connected to Vo, the positive terminal of comparator COMP3 is connected to Vo, and the negative terminal is connected to Vomin, the output signal of comparator COMP1 Both SMAX and the output signal SMIN of the comparator COMP3 are connected to a logic unit, and the logic unit outputs a mode selection result mode_F.

所述模式切换模块包括比较器COMP、反相器INV、与门AND及两个或非门NOR1和NOR2,比较器COMP的正输入端连接零电平信号GND,比较器COMP的负输入端连接分压得到的输出电压信息Vsense,比较器COMP的输出连接或非门NOR1的一个输入端,或非门NOR1的另一个输入端连接模式选择结果mode_F和与门AND的一个输入端,与门AND的另一个输入端连接反相器INV的输出,反相器INV的输入连接内部时钟Fclk,与门AND的输出连接或非门NOR2的一个输入端,或非门NOR2的另一个输入端连接或非门NOR1的输出,或非门NOR2输出模式切换结果控制信号mode_ctl。The mode switching module includes a comparator COMP, an inverter INV, an AND gate AND and two NOR gates NOR1 and NOR2, the positive input of the comparator COMP is connected to the zero-level signal GND, and the negative input of the comparator COMP is connected to The output voltage information Vsense obtained by voltage division, the output of the comparator COMP is connected to one input terminal of the NOR gate NOR1, and the other input terminal of the NOR gate NOR1 is connected to the mode selection result mode_F and one input terminal of the AND gate AND, and the AND gate AND The other input terminal of the inverter is connected to the output of the inverter INV, the input of the inverter INV is connected to the internal clock Fclk, the output of the AND gate AND is connected to one input terminal of the NOR gate NOR2, and the other input terminal of the NOR gate NOR2 is connected to the OR The output of the NOR gate NOR1, and the NOR gate NOR2 output the mode switching result control signal mode_ctl.

本发明的优点及显著效果:Advantage of the present invention and remarkable effect:

1、本发明提高开关电源输出精度的控制方法,能够在输出电压超出上限电压时,通过模式切换使得电路立即进入DCM模式,减小输入能量,从而使输出稳定在调节范围内,在输出电压低于下限电压时,通过模式切换使得电路立即进入CCM模式,增加输入能量,是输出电压快速恢复到调节范围内。在正常调解过程中,输出电压的变化被限制在上限电压与下限电压之间,电压输出纹波减小,精度得以提高。1. The control method for improving the output precision of the switching power supply of the present invention can make the circuit immediately enter the DCM mode through mode switching when the output voltage exceeds the upper limit voltage, and reduce the input energy, thereby stabilizing the output within the adjustment range. When the output voltage is low At the lower limit voltage, the circuit immediately enters the CCM mode through mode switching, increasing the input energy, and the output voltage quickly returns to the regulation range. In the normal adjustment process, the change of the output voltage is limited between the upper limit voltage and the lower limit voltage, the voltage output ripple is reduced, and the accuracy is improved.

2、本发明提高开关电源输出精度的控制方法,能够在电路调节精度低的情况下,通过检测输出电压控制模式切换,来弥补因调节精度低而单步能量变化太大带来的输出纹波过大问题。2. The control method for improving the output precision of the switching power supply of the present invention can compensate for the output ripple caused by the low adjustment precision and the large single-step energy change by detecting the output voltage control mode switch when the circuit adjustment accuracy is low Too big a problem.

3、本发明属于稳态调节,是在动态调节的基础上额外增加了新算法,而其改进动态响应的控制方法仍保留,具体实施算法的一种电路见图1c。3. The present invention belongs to the steady-state adjustment, which adds a new algorithm on the basis of the dynamic adjustment, and the control method for improving the dynamic response is still retained. A circuit for implementing the algorithm is shown in Figure 1c.

4、本发明适用于各类输出电流断续的小负载输出的开关电源电路结构,即小负载指CCM模式的电感平均电流与DCM模式的电感平均电流不能相差太大。4. The present invention is applicable to various switching power supply circuit structures with intermittent output current and small load output, that is, small load means that the average inductor current in CCM mode and the average inductor current in DCM mode cannot be too different.

附图说明Description of drawings

图1a是本发明控制方法的系统结构框图;图1b是图1a中的电压监测模块结构框图;图1c是图1a中模式切换模块的一种实施结构;Fig. 1a is a system structural block diagram of the control method of the present invention; Fig. 1b is a structural block diagram of a voltage monitoring module in Fig. 1a; Fig. 1c is an implementation structure of a mode switching module in Fig. 1a;

图2是根据Vo判断切换模式的应用示意图;Fig. 2 is the application schematic diagram of judging switching mode according to Vo;

图3是具有本发明的单管谐振变换器的闭环电路结构图实施例;Fig. 3 is the embodiment of the structure diagram of the closed-loop circuit with the single tube resonant converter of the present invention;

图4是图3结构在稳定状态输出电压,谐振电压以及原边电流关系的仿真图;Fig. 4 is a simulation diagram of the relationship between the output voltage of the structure of Fig. 3 in a steady state, the resonant voltage and the primary current;

图5是图3结构在稳定状态输出电压纹波,谐振电压以及原边电流关系的测试图;Fig. 5 is a test diagram of the relationship between output voltage ripple, resonant voltage and primary current of the structure in Fig. 3 in a steady state;

图6是动态调节专利中未采用本专利算法时稳态下的输出电压纹波;Figure 6 is the output voltage ripple in the steady state when the patent algorithm is not used in the dynamic adjustment patent;

图7是动态调节专利中采用了本专利算法时稳态下的输出电压纹波。Fig. 7 is the output voltage ripple in the steady state when the algorithm of this patent is adopted in the dynamic adjustment patent.

具体实施方式Detailed ways

参看图1a,本发明基于包括采样模块、精度控制模块、误差计算模块、PID模块以及PWM模块构成的控制系统,该控制系统与受控的开关电源连接起来构成一个闭环。Referring to Fig. 1a, the present invention is based on a control system comprising a sampling module, an accuracy control module, an error calculation module, a PID module and a PWM module, and the control system is connected with a controlled switching power supply to form a closed loop.

采样模块包括采样电路和采样计算模块,采样电路通过输出分压得到输出电压的信息,采样计算模块将该输出电压的信息通过采样算法得到反映当前输出电压大小的采样电压Vo并输出给精度控制模块与误差计算模块,这里的采样可以是直接采样或间接采样,采样结果可以是模拟量或数字量。The sampling module includes a sampling circuit and a sampling calculation module. The sampling circuit obtains the information of the output voltage through the output voltage division. The sampling calculation module obtains the sampling voltage Vo reflecting the current output voltage through the sampling algorithm and outputs it to the precision control module. Unlike the error calculation module, the sampling here can be direct sampling or indirect sampling, and the sampling result can be analog or digital.

精度控制模块包括电压监测模块和模式切换模块,电压监测模块根据采样电压Vo判断是采用何种模式。电压监测模块接收采样模块输出的采样电压Vo并根据Vo的大小分别与设定的Vo上限值Vomax和Vo下限值Vomin的大小关系,判断是否采用模式切换,Vomin与Vomax比Vo的可接受的范围要窄,即留有一定裕度。模式切换是指当采样电压Vo变化超过可接受范围时,通过模式变换改变单周期能量传输,从而使采样电压Vo在设定的范围内调节,实现高精度输出。这里的模式切换是指在CCM与DCM两模式之间切换,模式切换模块输出结果为mode_ctl。The precision control module includes a voltage monitoring module and a mode switching module, and the voltage monitoring module judges which mode to use according to the sampling voltage Vo. The voltage monitoring module receives the sampling voltage Vo output by the sampling module, and judges whether to use mode switching according to the size of Vo and the set Vo upper limit Vomax and Vo lower limit Vomin respectively. Vomin and Vomax are more acceptable than Vo The range should be narrow, that is, a certain margin is left. Mode switching means that when the sampling voltage Vo changes beyond the acceptable range, the single-cycle energy transmission is changed through mode conversion, so that the sampling voltage Vo can be adjusted within the set range to achieve high-precision output. The mode switching here refers to switching between the CCM and DCM modes, and the output result of the mode switching module is mode_ctl.

如图1b,电压监测模块中包含两个比较器COMP1和COMP3以及一个逻辑单元,用于判断采用何种模式。两个比较器分别判断采样电压Vo与下限电压Vomin,采样电压Vo与上限电压Vomax,逻辑单元根据比较器结果输出模式选择结果mode_F。mode_F作为模式切换模块的输入,当mode_F=1时为CCM模式,当mode_F=0时为DCM模式,当Vo大于Vomax时,输出mode_F=0,模式切换模块启动DCM模式,当Vo小于Vomin时,输出mode_F=1,模式切换模块启动CCM模式,当Vo介于Vomin与Vomax之间,mode_F保持当前模式不变。As shown in Figure 1b, the voltage monitoring module includes two comparators COMP1 and COMP3 and a logic unit for judging which mode to use. The two comparators respectively judge the sampling voltage Vo and the lower limit voltage Vomin, the sampling voltage Vo and the upper limit voltage Vomax, and the logic unit outputs a mode selection result mode_F according to the comparator results. mode_F is used as the input of the mode switching module. When mode_F=1, it is CCM mode. When mode_F=0, it is DCM mode. When Vo is greater than Vomax, output mode_F=0, and the mode switching module starts DCM mode. When Vo is less than Vomin, Output mode_F=1, the mode switch module starts CCM mode, when Vo is between Vomin and Vomax, mode_F keeps the current mode unchanged.

如图1c所示,模式切换模块接收电压检测模块输出信号mode_F与反应输出电压大小的信号Vsense。Vsense信号与零电平信号GND通过比较器COMP比较产生反应电感电流下降为零的信号ZCMP,该信号与mode_F经过或非门NOR1得到DCM_ON信号,当mode_F=0时,DCM_ON=ZCMP_B(ZCMP反信号);当mode_F=1时,ZCMP被屏蔽,DCM_ON=0。内部时钟信号Fclk经过反相器INV得到FclkB,该信号与mode_F经过与门AND输出CCM_ON信号。当mode_F=1时,CCM_ON=FclkB;当mode_F=0时,FclkB被屏蔽,CCM_ON=0。CCM_ON与DCM_ON经过或非门NOR2得到最终控制功率管关断的信号mode_ctl。mode_ctl信号传给PWM模块。而在两种模式下(CCM与DCM),功率管的关断信号都由PID模块输出信号VPI决定。简言之,当Mode_F=1时,内部时钟Fclk决定Mode_ctl,此时系统工作在CCM模式,系统导通由内部时钟来决定,系统关断由PID的输出来决定。当Mode_F=0时,由Vsense与零电平比较结果决定Mode_ctl,其中Vsense为反应电感电流的电压,可以等于IL*Rsense,IL为电感电流,Rsense为采样电阻,比较器COMP是一个零电流比较器,当电感电流下降到零时,系统可以进行下一周期开启,即系统导通由电流过零比较器决定,关断由PID输出信号决定。As shown in FIG. 1c, the mode switching module receives the output signal mode_F of the voltage detection module and the signal Vsense reflecting the magnitude of the output voltage. The Vsense signal is compared with the zero-level signal GND by the comparator COMP to generate a signal ZCMP that reflects the inductor current to drop to zero. This signal and mode_F pass through the NOR gate NOR1 to obtain the DCM_ON signal. When mode_F=0, DCM_ON=ZCMP_B (ZCMP inverse signal ); when mode_F=1, ZCMP is shielded, and DCM_ON=0. The internal clock signal Fclk gets FclkB through the inverter INV, and the signal and mode_F output the CCM_ON signal through the AND gate AND. When mode_F=1, CCM_ON=FclkB; when mode_F=0, FclkB is shielded, CCM_ON=0. CCM_ON and DCM_ON pass through the NOR gate NOR2 to obtain the signal mode_ctl that finally controls the power tube to be turned off. The mode_ctl signal is passed to the PWM module. In both modes (CCM and DCM), the shutdown signal of the power transistor is determined by the output signal V PI of the PID module. In short, when Mode_F=1, the internal clock Fclk determines Mode_ctl, and the system works in CCM mode at this time, the system turn-on is determined by the internal clock, and the system turn-off is determined by the output of the PID. When Mode_F=0, Mode_ctl is determined by the comparison result of Vsense and zero level, where Vsense is the voltage reflecting the inductor current, which can be equal to IL*Rsense, IL is the inductor current, Rsense is the sampling resistor, and the comparator COMP is a zero current comparison When the inductor current drops to zero, the system can be turned on in the next cycle, that is, the system turn-on is determined by the current zero-crossing comparator, and the turn-off is determined by the PID output signal.

当Vo<Vomin,逻辑单元输出mode_F=1,逻辑单元输出模式切换中恒定频率的CCM模式,该模式下,功率管导通是由内部时钟上升沿确定,功率管关断是由PID模块输出信号确定,系统输入大功率使得Vo快速上升到参考电压Vref,且保持该模式工作,直到Vo比上限电压Vomax大。当Vo比下限电压Vomin小,逻辑单元输出mode_F=1,逻辑单元输出模式切换中恒定频率的CCM模式,该模式下,功率管导通是由内部时钟上升沿确定,功率管关断是由PID模块输出信号确定,系统输入大功率使得Vo快速上升到参考电压Vref,且保持该模式工作,直到Vo比上限电压Vomax大,系统切换到DCM模式。When Vo<Vomin, the logic unit outputs mode_F=1, and the logic unit output mode switches in the constant frequency CCM mode. In this mode, the power tube is turned on by the rising edge of the internal clock, and the power tube is turned off by the output signal of the PID module. It is determined that the input power of the system makes Vo rapidly rise to the reference voltage Vref, and keep working in this mode until Vo is greater than the upper limit voltage Vomax. When Vo is smaller than the lower limit voltage Vomin, the logic unit outputs mode_F=1, and the logic unit output mode switches to the constant frequency CCM mode. In this mode, the power tube is turned on by the rising edge of the internal clock, and the power tube is turned off by the PID The output signal of the module is determined, and the system inputs a large power to make Vo quickly rise to the reference voltage Vref, and keep working in this mode until Vo is greater than the upper limit voltage Vomax, and the system switches to DCM mode.

当Vo>Vomax,逻辑单元输出mode_F=0,逻辑单元输出模式切换中DCM模式,该模式下,功率管导通需要等电感电流变成零后,在Vds(主功率管的漏源电压)的下一个谷底导通;功率管关断是由PID模块输出信号决定。在该模式下,系统输入小功率使得Vo快速下降到参考电压Vref,且保持该模式工作,直到Vo比下限电压Vomin小,系统才切换到CCM模式。当Vo比上限电压Vomax大,逻辑单元输出模式切换中DCM模式,该模式下,功率管导通需要等电感电流变成零后,在Vds的下一个谷底导通;功率管关断是由PID模块输出信号VPI决定。通过输入小功率使得输出快速下降到参考电压Vref,且保持该模式工作,直到Vo比下限电压Vomin小。When Vo>Vmax, the logic unit outputs mode_F=0, and the logic unit output mode is switched to the DCM mode. In this mode, the power transistor needs to be turned on after the inductor current becomes zero, at Vds (the main power transistor drain-source voltage) The next valley is turned on; the power tube is turned off by the output signal of the PID module. In this mode, the system inputs low power so that Vo drops rapidly to the reference voltage Vref, and keeps working in this mode until Vo is lower than the lower limit voltage Vomin, the system switches to CCM mode. When Vo is greater than the upper limit voltage Vomax, the output mode of the logic unit is switched to the DCM mode. In this mode, the power tube is turned on after the inductor current becomes zero, and then it is turned on at the next valley of Vds; the power tube is turned off by PID The module output signal V PI decides. By inputting a small power, the output quickly drops to the reference voltage Vref, and keeps working in this mode until Vo is smaller than the lower limit voltage Vomin.

误差计算模块计算当前的电压误差,误差计算模块的输入是采样模块的输出Vo,根据计算参考电压Vref减去采样电压Vo的差,即为当前采样误差,记为e1,输出给PID模块;PID模块根据输入误差e1信号,进行补偿运算,通过比例参数Kp,积分参数Ki,微分参数Kd进行PID运算,补偿结果VPI输入到PWM模块,用于确定下一周期峰值电流值。The error calculation module calculates the current voltage error. The input of the error calculation module is the output Vo of the sampling module. According to the calculated reference voltage Vref minus the difference of the sampling voltage Vo, it is the current sampling error, recorded as e1, and output to the PID module; PID The module performs compensation calculation according to the input error e1 signal, and performs PID calculation through the proportional parameter Kp, integral parameter K i and differential parameter K d , and the compensation result V PI is input to the PWM module to determine the peak current value of the next cycle.

PWM模块包括PWM单元和驱动单元,PWM单元的输入为模式切换模块输出的模式切换结果mode_ctl和PID模块输出的补偿结果VPI,计算得到控制时开关周期Ts和峰值电流Ipeak信息后,通过驱动单元输出占空比波形,对开关电源功率管的栅极实现环路控制,切换结果mode_ctl控制开关管导通,VPI信号决定开关管关断,驱动单元应尽可能选择延迟时间小的电路。然后再次对开关电源的输出电压进行采样,并重复上述过程进行循环控制开关电源功率管的开通和关断,以使系统更加稳定,从而获得更高的输出精度。The PWM module includes a PWM unit and a drive unit. The input of the PWM unit is the mode switching result mode_ctl output by the mode switching module and the compensation result V PI output by the PID module. After calculating the switching period Ts and peak current Ipeak information during control, the drive unit Output the duty ratio waveform to realize loop control on the gate of the power tube of the switching power supply. The switching result mode_ctl controls the switch tube to be turned on, and the V PI signal determines the switch tube to be turned off. The drive unit should choose a circuit with a small delay time as much as possible. Then sample the output voltage of the switching power supply again, and repeat the above process to control the switching on and off of the power tube of the switching power supply in a cycle, so as to make the system more stable and obtain higher output accuracy.

参看图2,当负载较大时,对于输出电流断续的开关电源,由于右半平面零点的存在,当电路工作在CCM模式下时,其输入电流的变化与输出接受到的能量变化有相位迟滞,即使采用PID补偿方案,仍有较大的纹波。故在采样电压Vo大于Vomax时,通过模式切换将系统工作在DCM模式,使得传输的能量减小,Vo能尽快降下来。而当采样电压Vo低于Vomin时,通过模式切换将系统工作在CCM模式,使得传输能量迅速增加,Vo调节到预设范围内。从图中也可以看出采样电压Vo超出了Vomax与Vomin,这是因为输出断续的开关电源结构获得能量与电感电流上存储能量在功率管导通状态下是分开的,因此输出能量获得与电感电流变化有一定的滞后,最终带来输出电压超出设定范围。因此输出电压的设定范围要比所允许的调节范围要小些,留有一定裕度。Referring to Figure 2, when the load is large, for a switching power supply with intermittent output current, due to the existence of the right half plane zero point, when the circuit works in CCM mode, the change of the input current has a phase with the change of the energy received by the output Hysteresis, even with the PID compensation scheme, there is still a large ripple. Therefore, when the sampling voltage Vo is greater than Vomax, the system works in DCM mode through mode switching, so that the transmitted energy is reduced, and Vo can drop as soon as possible. When the sampling voltage Vo is lower than Vomin, the system works in CCM mode through mode switching, so that the transmission energy increases rapidly, and Vo is adjusted to the preset range. It can also be seen from the figure that the sampling voltage Vo exceeds Vomax and Vomin. This is because the energy obtained by the switching power supply structure with intermittent output and the energy stored in the inductor current are separated when the power tube is turned on, so the output energy is obtained in the same way as There is a certain hysteresis in the change of the inductor current, which eventually brings the output voltage out of the set range. Therefore, the setting range of the output voltage is smaller than the allowable adjustment range, leaving a certain margin.

图3以反激电路作为对象的实施例。本发明使用的方法和系统也可用于其他类型的开关电源电路结构。此处以原边反馈的单管准谐振电路为例。单管准谐振变换器实例的输入为90~265V,输出为20V,电流最大为4A,电感大小为1.6mH,变压器匝比为104/24,输出恒压。下面给出实例及对应的测试波形,以增加本实例中优化输出精度性能的工作方法。FIG. 3 is an embodiment of a flyback circuit as an object. The method and system used in the present invention can also be used in other types of switching power supply circuit configurations. Here, the single-tube quasi-resonant circuit fed back by the primary side is taken as an example. The input of the single-tube quasi-resonant converter is 90-265V, the output is 20V, the maximum current is 4A, the inductance is 1.6mH, the transformer turns ratio is 104/24, and the output is constant voltage. An example and the corresponding test waveform are given below to increase the working method of optimizing the output accuracy performance in this example.

反激变换器通过对输出电压进行采样得到采样电压Vo,利用精度控制模块,将采样电压Vo与设定的Vomax与Vomin比较,当Vo大于Vomax时,输出mode_F=0,模式切换模块启动DCM模式,当Vo小于Vomin时,输出mode_F=1,模式切换模块启动CCM模式,当Vo介于Vomin与Vomax之间,mode_F保持当前模式不变。而当Vsense为0时,ZCMP=1,表示电感电流能量释放完全,此点为电流零电流点,该Vo与零电平信号比较产生谷底开启信号,在DCM模式下决定开关管再次导通时间,而在CCM模式下,ZCMP信号被mode_F=1屏蔽,开关管导通由内部时钟确定。同时误差检测模块检测出误差e1,将其送入PID模块中,通过PID算法得到合适的VPI,该值确定下一周期峰值电流值,最终通过PID模块补偿结果VPI与模式切换模块给出的控制信号mode_ctrl计算得到控制时开关周期与峰值电流信息后,通过驱动单元输出占空比波形,对开关电源功率管的栅极实现环路控制;然后再次对开关电源的输出电压进行采样,并重复上述过程进行循环控制开关电源功率管的开通和关断,以使系统更加稳定,从而获得更高的输出精度,对应的仿真波形如图4所示。The flyback converter obtains the sampling voltage Vo by sampling the output voltage, uses the precision control module to compare the sampling voltage Vo with the set Vomax and Vomin, when Vo is greater than Vomax, output mode_F=0, and the mode switching module starts the DCM mode , when Vo is less than Vomin, output mode_F=1, the mode switching module starts CCM mode, when Vo is between Vomin and Vomax, mode_F keeps the current mode unchanged. And when Vsense is 0, ZCMP=1, which means that the inductor current energy is released completely. This point is the current zero current point. Compared with the zero-level signal, Vo generates a valley turn-on signal, which determines the turn-on time of the switch tube again in DCM mode. , while in the CCM mode, the ZCMP signal is shielded by mode_F=1, and the conduction of the switch is determined by the internal clock. At the same time, the error detection module detects the error e1, and sends it to the PID module, and obtains a suitable V PI through the PID algorithm. This value determines the peak current value of the next cycle, and finally the compensation result V PI of the PID module and the mode switching module are given. After the control signal mode_ctrl of the control signal is calculated and the switching cycle and peak current information are obtained, the duty cycle waveform is output by the drive unit to realize loop control on the gate of the switching power supply power tube; then the output voltage of the switching power supply is sampled again, and Repeat the above process to control the switching on and off of the power tube of the switching power supply in a cycle to make the system more stable and obtain higher output accuracy. The corresponding simulation waveform is shown in Figure 4.

图4为本发明对图3的反激电路在不同负载下仿真的输出波形。Vo、Vcr、Ip分别指输出电压(采样电路是对输出电压采样并保持,采样电压Vo反映输出电压,在不考虑采样延时条件下,采样电压Vo等于输出电压,故这里Vo表示输出电压,下同)、谐振电压与原边电流。这里设定一旦Vo大于20V则系统工作在DCM甚至调频状态,当输出电压低于20V,则系统工作CCM模式,使得输出电压尽快上升,一直保持该模式到Vo高于20V.理想情况下,CCM与DCM均匀交叉分布,其输出电压纹波最小,反之不加任何控制完全由系统自己调节,则CCM与DCM工作不均匀,则输出纹波会很大。FIG. 4 is the simulated output waveform of the flyback circuit in FIG. 3 under different loads according to the present invention. Vo, Vcr, and Ip refer to the output voltage respectively (the sampling circuit samples and holds the output voltage, and the sampling voltage Vo reflects the output voltage. Without considering the sampling delay, the sampling voltage Vo is equal to the output voltage, so here Vo represents the output voltage. The same below), resonant voltage and primary current. It is set here that once Vo is greater than 20V, the system will work in DCM or even frequency modulation state. When the output voltage is lower than 20V, the system will work in CCM mode, so that the output voltage will rise as soon as possible, and keep this mode until Vo is higher than 20V. Ideally, CCM Evenly cross-distributed with DCM, the output voltage ripple is the smallest, on the contrary, without any control, it is completely regulated by the system itself, then the CCM and DCM work unevenly, and the output ripple will be very large.

图5是采用高精度低纹波控制算法,输出电压为12V,对应的负载为1.2A的测试波形,如图所示系统工作在CCM与DCM切换状态,其输出电压纹波在100mV以内。Figure 5 is a test waveform using a high-precision low-ripple control algorithm, the output voltage is 12V, and the corresponding load is 1.2A. As shown in the figure, the system works in the switching state of CCM and DCM, and its output voltage ripple is within 100mV.

图6是动态调节专利中未采用本专利算法时稳态下的输出电压纹波,其平均值为17.3V,而输出纹波达到2V.Figure 6 shows the output voltage ripple in the steady state when the algorithm of this patent is not used in the dynamic adjustment patent, the average value is 17.3V, and the output ripple reaches 2V.

图7是相同结构下,采用本专利算法时稳态下的输出电压纹波波形,输出纹波峰峰值为500mV,通过对比可以看出效果明显,纹波缩小至之前的1/4。Figure 7 shows the steady-state output voltage ripple waveform when using the patented algorithm under the same structure. The peak-to-peak value of the output ripple is 500mV. Through comparison, it can be seen that the effect is obvious, and the ripple is reduced to 1/4 of the previous one.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明,在此描述的本发明可以有许多变化,这种变化不能人为偏离本发明的精神和范围。因此,所有对本领域技术人员显而易见的改变,都应包括在本权利要求书的涵盖范围之内。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments. It cannot be determined that the specific implementation of the present invention is only limited to these descriptions. The present invention described here can have many changes, and this change cannot artificially deviate from the scope of the present invention. spirit and scope. Therefore, all changes obvious to those skilled in the art should be included within the scope of the claims.

Claims (4)

1.一种提高开关电源输出精度的控制方法,其特征在于:基于包括采样模块、精度控制模块、误差计算模块、PID模块以及PWM模块构成的控制系统,该控制系统与受控的开关电源连接起来构成一个闭环;1. A control method for improving switching power supply output precision, characterized in that: based on a control system comprising a sampling module, an accuracy control module, an error calculation module, a PID module and a PWM module, the control system is connected with a controlled switching power supply together to form a closed loop; 采样模块包括采样电路和采样计算模块,采样电路通过开关电源的输出分压得到输出电压信息,采样计算模块根据该输出电压信息计算得到对应输出电压大小信息的采样电压Vo并同时输出给误差计算模块和精度控制模块;The sampling module includes a sampling circuit and a sampling calculation module. The sampling circuit obtains output voltage information through the output voltage division of the switching power supply. The sampling calculation module calculates the sampling voltage Vo corresponding to the output voltage information according to the output voltage information and outputs it to the error calculation module at the same time. and precision control module; 精度控制模块包括电压监测模块和模式切换模块,电压监测模块接收采样模块输出的采样电压Vo并根据采样电压Vo的大小分别与设定的采样电压Vo上限值Vomax、采样电压Vo下限值Vomin的大小关系,判断是否采用模式切换,选择是采用CCM模式还是DCM模式;电压监测模块中包含两个比较器以及一个逻辑单元,其中一个比较器用于比较采样电压Vo与采样电压Vo的设定上限值Vomax之间的大小,另一个比较器用于比较采样电压Vo与采样电压Vo的设定下限值Vomin之间的大小,两个比较器的输出分别连接至逻辑单元,逻辑单元根据两个比较器的比较结果,输出模式选择结果mode_F给模式切换模块,当Vo<Vomin,逻辑单元输出mode_F=1,为CCM模式;当Vo>Vomax,逻辑单元输出mode_F=0,为DCM模式;当Vo介于Vomin与Vomax之间,模式选择结果mode_F保持当前选择的模式不变;模式切换模块接收电压检测模块输出的模式选择结果mode_F和输出分压得到的输出电压信息Vsense,将输出电压信息Vsense与零电平信号GND进行比较,产生反应电感电流下降为零的信号ZCMP,该信号ZCMP是决定DCM模式下功率管导通的信号,而内部时钟Fclk是决定CCM模式下功率管导通的信号,DCM模式和CCM模式下的功率管的关断信号都由PID模块输出信号VPI决定;ZCMP信号与内部时钟Fclk通过二选一逻辑组合门电路,根据模式选择结果mode_F的不同值,产生模式切换结果控制信号mode_ctl给PWM模块;The precision control module includes a voltage monitoring module and a mode switching module. The voltage monitoring module receives the sampling voltage Vo output by the sampling module and compares it with the set sampling voltage Vo upper limit Vomax and sampling voltage Vo lower limit Vomin according to the size of the sampling voltage Vo. The relationship between the size of the model, determine whether to use mode switching, choose whether to use CCM mode or DCM mode; the voltage monitoring module contains two comparators and a logic unit, one of which is used to compare the sampling voltage Vo and the setting of the sampling voltage Vo The size between the limit value Vomax, another comparator is used to compare the size between the sampling voltage Vo and the set lower limit value Vomin of the sampling voltage Vo, the outputs of the two comparators are respectively connected to the logic unit, and the logic unit is based on the two The comparison result of the comparator, the output mode selection result mode_F is given to the mode switching module. When Vo<Vomin, the logic unit outputs mode_F=1, which is the CCM mode; when Vo>Vomax, the logic unit outputs mode_F=0, which is the DCM mode; when Vo Between Vomin and Vomax, the mode selection result mode_F keeps the currently selected mode unchanged; the mode switching module receives the mode selection result mode_F output by the voltage detection module and the output voltage information Vsense obtained by output voltage division, and combines the output voltage information Vsense with The zero-level signal GND is compared to generate a signal ZCMP that reflects the drop of the inductor current to zero. The signal ZCMP is a signal that determines the conduction of the power transistor in DCM mode, and the internal clock Fclk is a signal that determines the conduction of the power transistor in CCM mode. The shutdown signal of the power transistor in DCM mode and CCM mode is determined by the output signal V PI of the PID module; the ZCMP signal and the internal clock Fclk pass through the two-to-one logic combination gate circuit, according to the different values of the mode selection result mode_F, resulting in mode switching As a result, the control signal mode_ctl is given to the PWM module; 误差计算模块接收采样模块输出的采样电压Vo,用参考电压Vref减去采样电压Vo的差,得到当前采样电压误差e1输出给PID模块,PID模块根据采样电压误差e1,通过比例参数Kp,积分参数Ki,微分参数Kd进行PID运算,得到补偿结果VPI输出给PWM模块,用于确定下一周期峰值电流值;The error calculation module receives the sampling voltage Vo output by the sampling module, and subtracts the difference of the sampling voltage Vo from the reference voltage Vref to obtain the current sampling voltage error e1 and outputs it to the PID module. The PID module passes the proportional parameter Kp and the integral parameter according to the sampling voltage error e1 K i , the differential parameter K d performs PID operation, and the compensation result V PI is obtained and output to the PWM module, which is used to determine the peak current value of the next cycle; PWM模块包括PWM单元和驱动单元,PWM单元的输入为模式切换模块输出的模式切换结果控制信号mode_ctl和PID模块输出的补偿结果VPI,通过计算得到开关周期Ts和峰值电流Ipeak,经驱动单元输出占空比波形,对开关电源功率管的栅极实现环路控制,模式切换结果mode_ctl决定功率管的导通,补偿结果VPI决定功率管的关断;The PWM module includes a PWM unit and a driving unit. The input of the PWM unit is the mode switching result control signal mode_ctl output by the mode switching module and the compensation result V PI output by the PID module. The switching period Ts and the peak current Ipeak are obtained through calculation, and are output by the driving unit The duty cycle waveform realizes loop control on the gate of the power tube of the switching power supply, the mode switching result mode_ctl determines the conduction of the power tube, and the compensation result V PI determines the shutdown of the power tube; 重复上述过程,再次对开关电源的输出电压进行采样,循环控制开关电源功率管的开通和关断,以使系统更加稳定,从而获得更高的输出精度。Repeat the above process, sample the output voltage of the switching power supply again, and control the switching on and off of the power tube of the switching power supply cyclically, so as to make the system more stable and obtain higher output accuracy. 2.根据权利要求1所述的提高开关电源输出精度的控制方法,其特征在于:当采样电压Vo比下限电压Vomin小,电压检测模块输出信号mode_F控制模式切换模块,使其变为恒定频率的CCM模式,在该模式下,功率管导通是由内部时钟上升沿确定,功率管关断是由PID模块输出信号VPI确定,系统输入大功率使得采样电压Vo快速上升到参考电压Vref,且保持该模式工作,直到采样电压Vo比上限电压Vomax大,系统才会切换到DCM模式;2. The control method for improving switching power supply output accuracy according to claim 1, characterized in that: when the sampling voltage Vo is smaller than the lower limit voltage Vomin, the output signal mode_F of the voltage detection module controls the mode switching module so that it becomes constant frequency In CCM mode, in this mode, the turn-on of the power tube is determined by the rising edge of the internal clock, and the turn-off of the power tube is determined by the output signal V PI of the PID module. The system inputs a large power so that the sampling voltage Vo quickly rises to the reference voltage Vref, and Keep working in this mode until the sampling voltage Vo is greater than the upper limit voltage Vomax, the system will switch to the DCM mode; 当采样电压Vo比上限电压Vomax大,电压检测模块输出信号mode_F控制模式切换模块使其变为DCM模式,在该模式下,功率管导通需要等电感电流变成零后,在功率管的漏源电压Vds的下一个谷底导通,功率管关断是由PID模块输出信号VPI决定,该模式下,系统输入小功率使得采样电压Vo快速下降到参考电压Vref,且保持该模式工作,直到采样电压Vo比下限电压Vomin小,系统才会切换到CCM模式。When the sampling voltage Vo is greater than the upper limit voltage Vomax, the output signal mode_F of the voltage detection module controls the mode switching module to change to the DCM mode. In this mode, the power transistor needs to be turned on after the inductor current becomes zero. The next valley of the source voltage Vds is turned on, and the power transistor is turned off is determined by the output signal V PI of the PID module. In this mode, the system inputs a small power to make the sampling voltage Vo quickly drop to the reference voltage Vref, and the mode remains in operation until The system switches to the CCM mode only when the sampling voltage Vo is smaller than the lower limit voltage Vomin. 3.根据权利要求1所述的提高开关电源输出精度的控制方法,其特征在于:所述电压监测模块中的两个比较器为COMP1和COMP3,比较器COMP1的正端连接Vomax,负端连接Vo,比较器COMP3的正端连接Vo,负端连接Vomin,比较器COMP1的输出信号SMAX和比较器COMP3的输出信号SMIN均连接逻辑单元,逻辑单元输出模式选择结果mode_F。3. The control method for improving switching power supply output accuracy according to claim 1, characterized in that: the two comparators in the voltage monitoring module are COMP1 and COMP3, the positive terminal of comparator COMP1 is connected to Vomax, and the negative terminal is connected to Vo, the positive terminal of the comparator COMP3 is connected to Vo, the negative terminal is connected to Vomin, the output signal SMAX of the comparator COMP1 and the output signal SMIN of the comparator COMP3 are both connected to the logic unit, and the logic unit outputs the mode selection result mode_F. 4.根据权利要求1所述的提高开关电源输出精度的控制方法,其特征在于:所述模式切换模块包括比较器COMP、反相器INV、与门AND和两个或非门NOR1和NOR2,比较器COMP的正输入端连接零电平信号GND,比较器COMP的负输入端连接分压得到的输出电压信息Vsense,比较器COMP的输出连接或非门NOR1的一个输入端,或非门NOR1的另一个输入端连接模式选择结果mode_F和与门AND的一个输入端,与门AND的另一个输入端连接反相器INV的输出,反相器INV的输入连接内部时钟Fclk,与门AND的输出连接或非门NOR2的一个输入端,或非门NOR2的另一个输入端连接或非门NOR1的输出,或非门NOR2输出模式切换结果控制信号mode_ctl。4. The control method for improving the output precision of the switching power supply according to claim 1, wherein the mode switching module includes a comparator COMP, an inverter INV, an AND gate AND and two NOR gates NOR1 and NOR2, The positive input terminal of the comparator COMP is connected to the zero-level signal GND, the negative input terminal of the comparator COMP is connected to the output voltage information Vsense obtained by voltage division, and the output of the comparator COMP is connected to an input terminal of the NOR gate NOR1, or the NOR gate NOR1 The other input of the mode selection result mode_F and one input of the AND gate AND, the other input of the AND gate AND is connected to the output of the inverter INV, the input of the inverter INV is connected to the internal clock Fclk, and the AND gate AND The output is connected to one input terminal of the NOR gate NOR2, and the other input terminal of the NOR gate NOR2 is connected to the output of the NOR gate NOR1, and the NOR gate NOR2 outputs the mode switching result control signal mode_ctl.
CN201810785261.7A 2018-07-17 2018-07-17 A control method for improving output precision of switching power supply Active CN109004840B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810785261.7A CN109004840B (en) 2018-07-17 2018-07-17 A control method for improving output precision of switching power supply
PCT/CN2019/081814 WO2020015391A1 (en) 2018-07-17 2019-04-08 Control method for improving output precision of switching power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810785261.7A CN109004840B (en) 2018-07-17 2018-07-17 A control method for improving output precision of switching power supply

Publications (2)

Publication Number Publication Date
CN109004840A true CN109004840A (en) 2018-12-14
CN109004840B CN109004840B (en) 2020-02-18

Family

ID=64599456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810785261.7A Active CN109004840B (en) 2018-07-17 2018-07-17 A control method for improving output precision of switching power supply

Country Status (2)

Country Link
CN (1) CN109004840B (en)
WO (1) WO2020015391A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020015391A1 (en) * 2018-07-17 2020-01-23 东南大学 Control method for improving output precision of switching power supply
CN111193383A (en) * 2020-01-22 2020-05-22 维沃移动通信有限公司 Power control circuit and electronic device
CN111697831A (en) * 2019-03-13 2020-09-22 东南大学 Control system and control method of resonant converter
WO2021139629A1 (en) * 2020-01-06 2021-07-15 Shenzhen GOODIX Technology Co., Ltd. Current load based mode control for converter circuit
CN115150986A (en) * 2022-03-30 2022-10-04 杰华特微电子股份有限公司 Dimming method and dimming circuit
CN116185119A (en) * 2023-04-23 2023-05-30 深圳市九天睿芯科技有限公司 CIM-based voltage regulating circuit, chip and electronic equipment
WO2024093595A1 (en) * 2022-11-03 2024-05-10 东南大学 Multiphase high-precision current-sharing control method applied to constant on-time control

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010097683A (en) * 2000-04-25 2001-11-08 이형도 Power factor compensation circuit having function of pulse width modulation
WO2007072075A3 (en) * 2005-12-22 2007-09-07 Cambridge Semiconductor Ltd Switch mode power supply controllers
CN104160604A (en) * 2012-03-02 2014-11-19 苹果公司 Controlling a flyback converter for use with a computer system
CN106054995A (en) * 2016-07-04 2016-10-26 东南大学 Constant current control system for continuous current mode (CCM) and discontinuous conduct mode (DCM) of primary-side feedback flyback power supply
CN107154723A (en) * 2017-04-26 2017-09-12 东南大学 A kind of flyback power supply CCM and the Constant Current Control System of DCM patterns

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071641B (en) * 2015-08-14 2017-10-31 东南大学 A kind of control method for improving Switching Power Supply dynamic response
CN107346943B (en) * 2017-07-12 2019-04-12 电子科技大学 Dual-mode sync rectifier control circuit suitable for DCM and CCM
CN109004840B (en) * 2018-07-17 2020-02-18 东南大学 A control method for improving output precision of switching power supply

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010097683A (en) * 2000-04-25 2001-11-08 이형도 Power factor compensation circuit having function of pulse width modulation
WO2007072075A3 (en) * 2005-12-22 2007-09-07 Cambridge Semiconductor Ltd Switch mode power supply controllers
CN104160604A (en) * 2012-03-02 2014-11-19 苹果公司 Controlling a flyback converter for use with a computer system
CN106054995A (en) * 2016-07-04 2016-10-26 东南大学 Constant current control system for continuous current mode (CCM) and discontinuous conduct mode (DCM) of primary-side feedback flyback power supply
CN107154723A (en) * 2017-04-26 2017-09-12 东南大学 A kind of flyback power supply CCM and the Constant Current Control System of DCM patterns

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020015391A1 (en) * 2018-07-17 2020-01-23 东南大学 Control method for improving output precision of switching power supply
CN111697831A (en) * 2019-03-13 2020-09-22 东南大学 Control system and control method of resonant converter
CN111697831B (en) * 2019-03-13 2023-11-03 东南大学 Control system and control method of resonant converter
WO2021139629A1 (en) * 2020-01-06 2021-07-15 Shenzhen GOODIX Technology Co., Ltd. Current load based mode control for converter circuit
US11139738B2 (en) 2020-01-06 2021-10-05 Shenzhen GOODIX Technology Co., Ltd. Current load based mode control for converter circuit
CN111193383A (en) * 2020-01-22 2020-05-22 维沃移动通信有限公司 Power control circuit and electronic device
CN115150986A (en) * 2022-03-30 2022-10-04 杰华特微电子股份有限公司 Dimming method and dimming circuit
WO2024093595A1 (en) * 2022-11-03 2024-05-10 东南大学 Multiphase high-precision current-sharing control method applied to constant on-time control
US12046990B1 (en) 2022-11-03 2024-07-23 Southeast University Multi-phase high-precision current sharing control method applied to constant on-time control
CN116185119A (en) * 2023-04-23 2023-05-30 深圳市九天睿芯科技有限公司 CIM-based voltage regulating circuit, chip and electronic equipment
CN116185119B (en) * 2023-04-23 2023-07-21 深圳市九天睿芯科技有限公司 CIM-based voltage regulating circuit, chip and electronic equipment

Also Published As

Publication number Publication date
WO2020015391A1 (en) 2020-01-23
CN109004840B (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN109004840B (en) A control method for improving output precision of switching power supply
US11736030B2 (en) Switching circuit, synchronous rectification control circuit and control method thereof
CN109995254B (en) A method for improving dynamic performance of synchronous rectifier primary-side feedback flyback power supply
CN109004839B (en) A control method for improving the dynamic response of switching power supply between heavy load and light load
WO2017028500A1 (en) Control method for improving dynamic response of switch power
CN102566635B (en) Parallel regulator, flyback converter and control method of output feedback thereof
CN105978344B (en) A kind of method for improving primary side feedback flyback sourse and constant-pressure stable being exported under CCM
CN104734510A (en) Switch power supply and control chip thereof
US20220006393A1 (en) Flyback switch circuit and control method thereof
TW202005238A (en) Power Supply with Resonant Converter and Control Method Thereof
CN112994470A (en) Primary side feedback active clamping flyback converter, controller and control method
CN113098281B (en) Variable duty ratio soft start control system applied to quasi-parallel structure converter
Wen et al. Quasi-peak current control strategy for four-switch buck–boost converter
CN105141155A (en) Control system for improving dynamic performance of multi-mode digital primary flyback converter
CN114189156B (en) Flyback switching circuit and control method thereof
CN115224950A (en) A Constant Current Control System for a Large Leakage Inductance Primary-Side Feedback Flyback Converter
CN110994986B (en) Power supply control method
TW201935834A (en) Method for controlling resonant converter
CN2888736Y (en) Soft-switching power converter with energy-saving circuit for light-load operation
CN108288916B (en) Pulse frequency modulated mode for single stage power converter is converted
CN117175903A (en) Control circuit and method for improving response speed of DC/DC converter
CN213151909U (en) BOOST converter controlled by current mode
CN104022645A (en) Constant-frequency fixed turning-off time control device of switching converter
CN109936294B (en) Control circuit and flyback converter using same
TWI816615B (en) Primary controller applied to a primary side of a power converter and operation 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