基于DSP三相变流器滑模变结构控制(A)
基于DSP三相变流器滑模变结构控制(A) 摘要系统总结了当前电压型可逆变流器控制策略的发展概况,并对其详细分类研究。在比较各种控制方案优缺点的基础上最终确定了以电流d-q变换结合滑模控制作为本课题的控制策略。详细阐述了电压型可逆变流器的数学模型,包括通用数学模型、d-q变换大信号数学模型、以及d-q变换小信号数学模型。根据d-q变换大信号数学模型建立了系统的电流环。结合d-q变换小信号数学模型设计了电压环以及电压环的滑模控制器。确定了电压空间矢量(SVPWM)作为开关控制策略。详细阐述了其基本原理。基于MATLAB对其进行了仿真研究。针对可逆变流器使用常规的PID控制对系统参数变化的较为敏感性,电压环采用了滑模变结构控制以期得到改善。基于MATLAB仿真软件完成了系统的忽略高次谐波、不忽略高次谐波下的SPWM、SVPWM的闭环系统仿真。针对单片机控制系统的计算速度慢,实时性控制较差,因此本课题采用TI公司的数字信号处理器TMS320F240来控制系统,以期提高计算速度。根据本课题的控制方案,设计了系统软件流程,编写了系统的电流电压双闭环程序。基于TMS320F240发出开关频率fs =900Hz的空间矢量波形。理论上的分析结合实践过程完成了系统的开环和闭环实验,验证了控制方案的可行性。本课题获得河北省教委科技基金支持,是国家自然科学基金的后续课题,对解决电网谐波污染,提倡绿色用电有着重大的经济价值和理论上的指导意义。关键词功率因数校正;可逆变流器;滑模变结构控制;空间矢量;数字信号处理器AbstractDevelopment survey of control strategy of voltage type reversible converter is summarized systematically. Control strategy is studied in detail. Direct current d-q change and sliding mode controls are regarded as control strategy of this paper on the basis of comparing of advantages and disadvantages varieties of control strategy.Mathematics mode is set forth detailedly, including; current general mathematics mode; d-q change large signal mathematics model and d-q change small signal mathematics model. The system current loop is established according to d-q change large signal mathematics model. The voltage loop and its SMC are designed according to d-q change small signal mathematics model.Space vector PWM is regarded as switch control strategy .Its essential principle is set forth detailedly and is simulated based on MATLAB. Voltage loop adopts variable structure control with sliding mode in order to improve with regard to conventional PID control, which is sensitive to system parameter. Close loop system simulation of SPWM and SVPWM is completed with neglecting high harmonics and without neglecting high harmonics based on MATLAB. Because calculation speed of single chip microprocessor is slow and it realizes timing control poorly, digital signal processor TMS320F240 of TI Company is adopted to improve the calculation speed.Flowchart of system software is designed according to control strategy of this paper. The double close loop program of current and voltage is complied. SVPWM wave of switch frequency (900Hz) is emitted based on TMS320F240.Open loop experimentation and close experimentation is completed according to theory analysis and practice process, validating feasibility of control strategy.This paper obtains the sustainment of science and technology fund of committee of education in province HeBei and is the follow-up task of nature science fund of country and has the important value of economy and the guidance significance of theory.Keywords power factor correction; reversible converter; variable structure control with sliding mode; space vector; digital signal processor目录摘要Abstract第1章 绪论1 1.1 功率因数校正技术的发展概况1 1.1.1 单个三相PFC电路2 1.1.2 电流断续状态下三相单开关变换器3 1.1.3 电流断续状态下的三相升压变换器4 1.1.4 电流连续状态下三相升压变换器4 1.1.5 三相降压整流器5 1.2 电压型可逆变流器的开关控制策略5 1.3 电压型可逆变流器的控制方案6 1.3.1 间接电流控制6 1.3.2 直接电流控制7 1.4 可逆变流器控制策略的新发展9 1.4.1 单周控制10 1.4.2 占空比控制10 1.4.3 基于Lyapunov非线性大信号方法控制10 1.4.4 神经网络和模糊逻辑控制10 1.4.5 双电流控制11 1.4.6 输出直流电压的优化前馈补偿控制11 1.5 本课题工作11第2章 可逆变流器控制方案及数学模型13 2.1 可逆变流器数学模型概述13 2.2 系统数学模型的建立13 2.2.1 系统通用数学模型的建立14 2.2.2 系统d-q数学模型的建立16 2.2.3 系统小信号数学模型18 2.3 系统的控制方案21 2.4 变流器电流环的设计22 2.5 滑模变结构控制理论25 2.5.1 滑模变结构控制的基本问题26 2.5.2 滑模变结构控制的基本策略26 2.5.3 滑模变结构控制系统的动态品质27 2.6 滑模控制器及电压环的设计28 2.6.1 广义控制对象的确定28 2.6.2 滑模控制器的改进32 2.7 本章小结36第3章 系统仿真研究37 3.1 空间矢量PWM(SVPWM)的基本原理37 3.2 空间矢量的工作模式和时间的计算38 3.3 空间矢量调制比及其对系统的影响42 3.4 空间矢量的MATLAB仿真43 3.5 控制系统仿真研究45 3.5.1 不忽略高次谐波下的总系统SPWM仿真49 3.5.2 不忽略高次谐波下的总系统空间矢量仿真50 3.6 本章小结52第4章 基于DSP软件实现53 4.1 TMS320F240的结构与汇编原理53 4.2 TMS320F240的中断结构54 4.3 TMS320F240的定点运算55 4.4 系统控制的硬件和软件设计56 4.4.1 系统硬件设计57 4.4.2 系统软件设计58 4.5 本章小结60第5章 系统实验61 5.1 开环实验62 5.2 闭环实验64 5.2.1 电流闭环实验64 5.2.2 电压闭环实验67 5.3 实验注意事项69 5.4 本章小结69结论