楊玉崗,甘汶樺
(遼寧工程技術大學電氣與控制工程學院,遼寧葫蘆島125105)
DC-DC Boost變換器控制算法的研究
楊玉崗,甘汶樺
(遼寧工程技術大學電氣與控制工程學院,遼寧葫蘆島125105)
為了改善DC-DC Boost變換器的性能,在電壓控制模式的基礎上,設計了PI控制器,對輸出電壓進行控制。分析了DC-DC Boost變換器的基本原理,推導了變換器的傳遞函數。本文用Ziegler-Nichols方法和Loop-Shaping方法計算出PI控制器中Kp和Ki的值,進而通過Matlab仿真和實驗,比較了兩種方法的輸出響應,得出結論:采用Loop-Shaping方法能更好改善變換器的性能。
傳遞函數;PI控制器;Ziegler-Nichols方法;Loop-Shaping方法
DC-DC開關電源具有高效率、高功率密度和高可靠性等優(yōu)點[1-3],現已被廣泛地應用于通信、計算機、工業(yè)設備、家用電器等領域[4-6]。Boost變換器作為DC-DC變換器的一種,用來增加直流電壓,主要用于各種輸出電壓大于輸入電壓的直流升壓場合。開環(huán)調節(jié)操作簡單,但無反饋點不能構成回路,穩(wěn)定性差。而閉環(huán)調節(jié)可以實現反饋,穩(wěn)定性好,所以閉環(huán)控制方式常作為各類變換器的控制策略[7-10]。本文設計了PI控制器,用來調節(jié)變換器的輸出電壓,進而提高穩(wěn)態(tài)精度。同時,用Ziegler-Nichols方法[11,12]和Loop-Shaping方法[13,14]求出Kp和Ki的值,并將兩種方法的值代入PI控制器中。最后,對DC-DC Boost變換器進行Matlab仿真和實驗,結果表明所提控制方法可以改善變換器的性能。
基本Boost變換器的原理圖如圖1所示,L為電感,C為輸出電容,R為負載,iL(t)為流經電路的電流。開關管M在Ton期間導通,在Toff期間關斷,導通時間Ton和關斷時間Toff組成一個完整的周期Ts。Vi為直流輸入電壓,Vo為Boost變換器的輸出電壓,且大于Vi。
圖1 DC-DC升壓變換器的電路原理圖Fig.1 Circuit schematic of step-up DC-DC converter
本文研究電感電流連續(xù)的情況,并對變換器進行閉環(huán)PI控制。根據能量傳輸模式將變換器分成兩種模態(tài)。
模態(tài)1(0~Ton):t=0時刻,開關管M導通,二極管D截止,此時加在電感L上的電壓為Vi,電感電流iL線性增加。
模態(tài)2(Ton~Ts):t=Ton時刻,開關管M關斷,二極管D開始續(xù)流,此時電感L上的電壓為Vi-Vo,電感電流iL線性減小。由伏秒平衡定律得:
式中,Ton為開關導通持續(xù)時間;Toff為開關關斷持續(xù)時間。Boost變換器輸入電壓和輸出電壓的關系為:
式中,D為占空比。
3.1 Boost變換器的傳遞函數
當開關管M導通,電感電流iL線性增長,并在導通Ton期間的最后時刻達到ILmax。輸入電壓與電感電流關系為:
對式(3)進行拉普拉斯變換:
對Vo進行拉普拉斯變換:
由式(4)和式(5)得:
式(6)為Boost變換器最基本的拉普拉斯變換式。
3.2 閉環(huán)系統的傳遞函數
為了得到期望的變換器,需準確測量輸出電壓,并讓其保持在目標值,所以變換器需要加入反饋環(huán)節(jié),PI控制器的結構框圖如圖2所示。
圖2 PI控制器的結構框圖Fig.2 Schematic of PI controller
Vo(s)為閉環(huán)系統的輸出響應,它和參考電壓Vref比較后送到PI控制器,然后加上輸入電壓Vi,進而得到期望的值,由圖2得:
取Vref=0,有:
式(9)為PI控制器的傳遞函數。
設置仿真和實驗參數:輸入電壓為30V,輸出電壓為50V,占空比為0.4,電感L為50μH,電容C為50μF,開關頻率為100kHz。當Boost變換器無PI控制器時穩(wěn)態(tài)誤差為25%,而有PI控制器時可以明顯提升Boost變換器的性能。用Ziegler-Nichols方法和Loop-Shaping方法求出PI控制器中Kp和Ki的值,分別進行仿真和實驗。
4.1 仿真
建立仿真模型,利用Matlab對系統進行仿真,將階躍函數應用于系統中,并分析輸出響應,用Ziegler-Nichols方法[10,11]求得Kp和Ki的值分別為:
把Kp和Ki的值代入PI控制器進行仿真,得到輸出響應波形。圖3為理想情況下,沒有考慮電感、電容寄生參數影響時的仿真波形。起初輸出發(fā)生了大幅度振蕩,造成很大的峰值,過了4s響應趨向平穩(wěn),此時穩(wěn)態(tài)誤差才基本被消除。圖4為考慮了電感、電容寄生參數影響時的仿真波形,修正后的響應振蕩幅度大為減小,穩(wěn)態(tài)誤差幾乎被消除。
圖3 Ziegler-Nichols方法的仿真波形Fig.3 Simulation waveforms of Ziegler-Nicholsmethod
同理,用Loop-Shaping方法,結合式(9)可得兩組關系[12,13]:
式(10)中,ξ取值為0.7,Kp和Ki值很大[14],取:
把Kp和Ki的值代入PI控制器進行仿真,得到輸出響應波形。圖5為理想情況下,沒有考慮電感、電容寄生參數影響時的仿真波形,其中穩(wěn)態(tài)誤差幾乎被消除,且沒發(fā)生明顯振蕩,紋波較小。圖6為考慮了電感、電容寄生參數影響時的仿真波形,修正后的穩(wěn)態(tài)誤差被消除,紋波很小。所以,仿真結果表明,用Loop-Shaping方法能更好地改善變換器的性能。
圖4 Ziegler-Nichols方法的修正仿真波形Fig.4 Improved simulation waveforms of Ziegler-Nicholsmethod
圖5 Loop-Shaping方法的仿真波形Fig.5 Simulation waveforms of Loop-Shapingmethod
圖6 Loop-Shaping方法的修正仿真波形Fig.6 Improved simulation waveforms of Loop-Shapingmethod
4.2 實驗
制作試驗樣機,實驗中采用4.1節(jié)中的參數,得到輸出響應的實驗波形,圖7為Ziegler-Nichols方法的實驗波形,圖8為Loop-Shaping方法的實驗波形。
圖7 Ziegler-Nichols方法的實驗波形Fig.7 Experimentalwaveforms of Ziegler-Nicholsmethod
圖8 Loop-Shaping方法的實驗波形Fig.8 Experimentalwaveforms of Loop-Shapingmethod
本文分析了DC-DC Boost變換器,分別采用Ziegler-Nichols方法和Loop-Shaping方法得到輸出響應,有以下結論:
(1)無PI控制器的Boost變換器穩(wěn)態(tài)誤差高達25%。
(2)有PI控制器的Boost變換器用Ziegler-Nichols方法仿真在3s后幾乎消除穩(wěn)態(tài)誤差,但起初產生了一定的振蕩和較大的峰值,最大峰值超調達到200%,所以這種方法不符合要求。
(3)有PI控制器的Boost變換器用Loop-Shaping方法既消除了穩(wěn)態(tài)誤差,也大大緩解了振蕩。且Loop-Shaping方法產生的紋波遠遠小于Ziegler-Nichols方法產生的紋波。
綜上,DC-DC Boost變換器的仿真和實驗結果表明,采用Loop-Shaping方法能夠明顯改善變換器的性能。
[1]劉福鑫,潘子周,阮新波(Liu Fuxin,Pan Zizhou,Ruan Xinbo).一種Boost型雙向橋式直流變換器的軟開關分析(Soft-switching analysis of a Boost-integrated bidirectional active bridge DC/DC converter)[J].中國電機工程學報(Proceedings of the CSEE),2013,33 (3):55-61.
[2]孟培培,吳新科,趙晨,等(Meng Peipei,Wu Xinke,Zhao Chen,etal.).一種新型臨界模式控制的變頻軟開關全橋DC/DC變流器(A novel variable frequency soft switching full-bridge DC/DC converter with critical continuousmode control)[J].中國電機工程學報(Proceedings of the CSEE),2012,32(6):106-112.
[3]吳紅飛,邢巖,胡海兵,等(Wu Hongfei,Xing Yan,Hu Haibing,et al.).副邊調整式三端口半橋DC-DC變換器(Three-port half-bridge DC-DC converters with post regulation scheme)[J].中國電機工程學報(Proceedings of the CSEE),2011,31(30):1-6.
[4]劉錦波,明文龍(Liu Jinbo,Ming Wenlong).一種基于輸入/輸出反饋線性化的Boost型DC/DC變換器非線性控制方案(A novel scheme of nonlinear control strategy based on input-output linearization for Boost type DC/DC converter)[J].中國電機工程學報(Proceedings of the CSEE),2010,30(27):55-61.
[5]佟強,張東來,徐殿國(Tong Qiang,Zhang Donglai,Xu Dianguo).分布式電源系統中變換器的輸出阻抗與穩(wěn)定性分析(Output impedance and stability analysis of converters in distributed power systems)[J].中國電機工程學報(Proceedings of the CSEE),2011,31 (12):57-64.
[6]童亦斌,吳峂,金新民,等(Tong Yibin,Wu Tong,Jin Xinmin,et al.).雙向DC/DC變換器的拓撲研究(Study of bi-directional DC/DC converter)[J].中國電機工程學報(Proceedings of the CSEE),2007,27 (13):81-86.
[7]梁永春,許麗川,嚴仰光(Liang Yongchun,Xu Lichuan,Yan Yangguang).一種雙閉環(huán)控制隔離Boost變換器起動控制策略(New start-up schemes for isolated Boost converter in double close-loop control)[J].中國電機工程學報(Proceedings of the CSEE),2010,30(24):15-20.
[8]張旭輝,溫旭輝,趙峰(Zhang Xuhui,Wen Xuhui,Zhao Feng).電機控制器直流側前置Buck/Boost雙向變換器的母線電容電流控制策略研究(Research on the bus capacitor current control scheme for Buck/Boost bi-directional converters in motor drive systems)[J].中國電機工程學報(Proceedings of the CSEE),2012,32(30):23-29.
[9]Anusuya R M,Saravanakumar R.Realization of a single phase matrix converter with reduce switch count as a Buck/Boost rectifier with close loop control[A].2012 International Conference on Computing,Electronics and Electrical Technologies(ICCEET)[C].2012.218-223.
[10]Brain R Copeland.The design of PID controllers using Ziegler Nichols tuning[J].Journal of Intelligent&Robotic Systems,2008,11(15):121-127.
[11]Meshram P M,Kanojiya R G.Tuning of PID controller using Ziegler-Nicholsmethod for speed control of DCmotor[A].International Conference on Advances in Engineering,Science and Management(ICAESM)[C].2012.117-122.
[12]Fite K B,Liang Shao,Goldfarb M.Loop shaping for transparency and stability robustness in bilateral telemanipulation[J].IEEE Transactions on Robotics and Automation,2004,20(3):620-624.
[13]Astrom K J,Hagglund T.PID controllers:theory,design,and tuning[M].America:Instrument Society of America,1995.
[14]Astrom K J.Adaptive control[M].北京:科學出版社(Beijing:Science Press),2003.
Research on control algorithm of DC-DC Boost converters
YANG Yu-gang,GANWen-hua
(Faculty of Electrical and Control Engineering,Liaoning Technical University,Huludao 125105,China)
To improve the control performance of DC-DC Boost power converters,a PIcontroller is designed to regulate the output voltage based on voltagemode.The basic principle of the DC-DC Boost converter have been analyzed,and the transfer function of the converter have been derived.The paper uses PI controller in which the values of Kpand Kihave been derived using the Ziegler-Nicholsmethod and Loop Shapingmethod,and through Matlab simulation and experiment,the output response of the bothmethods is compared and conclusion ismade that Loop-Shapingmethod can improve the performance of the converter better.
transfer function;PI controller;Ziegler-Nicholsmethod;Loop-Shapingmethod
TM46
A
1003-3076(2015)03-0072-04
2013-04-07
國家自然科學基金(51177067)、教育部留學回國人員科研啟動基金(2009-1341)、遼寧省自然科學基金(20102092)資助項目
楊玉崗(1967-),男,內蒙古籍,教授,博導,博士,研究方向為電力電子技術及其磁集成技術;甘汶樺(1989-),男,湖南籍,碩士研究生,研究方向為電力電子技術及其磁集成技術。