摘要
随着科技的飞速发展,电力电子器件、集成电路以及微处理器都经历了日新月异的变化,越来越多的工业场合诸如机器人、数控机床以及纺织行业的电子络筒技术等均对执行机构提出了高精度位置、转速伺服控制的要求。而电机作为伺服控制系统的执行机构在制动时的能量利用也成为国家节能工程的一个重点。
无刷直流电机是一种集电机和电子一体化的高科技产品,具有结构简单,运行效率高,无励磁损耗、调速性能好以及维护方便等诸多优点,但是位置传感器增加了结构的复杂性和成本,降低了系统运行的可靠性,因而无位置传感器控制成为研究的热点;另一方面,由美国TI公司专门为电机的数字化控制设计的16位定点DSP控制器TMS320LF2407集高速处理能力及适用于电机控制、优化的外围电路于一体,为高性能传动伺服控制提供了可靠高效的信号处理与硬件控制支持。
因此,为满足对伺服系统高精度位置、转速控制的要求,并且有效回收利用电机制动产生的能量,本文采用无刷直流电机(BLDCM)作为执行机构,主要研究了基于TMS320LF2407 DSP的无位置传感器无刷直流电机伺服系统。内容包括伺服系统的控制部分设计、硬件控制电路设计和系统软件设计等。
本文首先对课题研究背景络筒机的概况与发展进行了简要阐述,同时也介绍了无刷直流电机、伺服控制系统及其控制策略的现状和发展;接着,研究了无刷直流电机的基本结构和工作原理,并建立了数学模型;然后详细介绍了反电动势过零法实现转子位置检测和换相的原理,对反电势过零点检测公式进行了推导和计算,并提出了位置检测的误差补偿方法。
在伺服系统的控制部分论证中,本文以三相桥式MOSFET逆变电路作为控制主电路,采用120°导通方式;本文采用电流霍尔传感器实现对电流的检测,无位置传感器的设计使得系统通过反电势过零法获取三相电压信号,经过软件计算和延时处理为逆变电路提供了换相信号,同时由过零点之间的时间间隔和相位关系得到转速的检测;本文设计了电流、转速的双闭环控制,电流环采用比例-积分(PI)调节,转速环在采用PI调节的基础上加入了微分环节,并采用模糊PID控制的方法以达到最优控制;另一方面,为达到络筒卷绕的精确性,采用了位置和转速双目标控制;然后,深入研究并设计了无刷直流电机的能量回馈系统,从背景开始分析,提出了可行的解决方案,设计了由超级电容器、双向DC-DC变换电路和逆变电路构成的能量回馈主电路,对升/降压模式的工作原理进行了分析,并根据控制方式建立了模型,说明了相关参数的设定。
在伺服系统的硬件控制部分的设计中,先进行了整体系统的设计,然后论述了系统主回路、功率模块、通讯模块以及各个接口电路的设计,重点介绍了几个主要电路的设计和一些器件的选择和参数的计算。
在伺服系统软件控制部分的设计中,则先讨论了DSP的开发流程和本系统的软件需求,然后设计了主程序和各个功能模块子程序的流程图,并根据流程图针对每个模块在CCS环境下利用C语言和汇编语言编写了程序。
在理论研究的基础上,采用MATLAB7.1对反电动势过零法,电流、转速、位置的闭环调节以及能量回馈系统模型进行了阶跃响应和伯德图的仿真验证,并结合实际实验设备以及调试软件进行调试,得出实验结果,最后对实验结果进行了分析和总结,证明系统工作性能良好且能达到预期目标。
With the rapid development of science and technology,power electronics devices,integrated circuits and microprocessor all have progressed each passing day. The implementation of high degree of accuracy of position and velocity servo-control is posted by increasing industrial occasions such as robust and electronic winding technology.In addition,the thesis that utilizing energy at the moment when motor is braking also becomes a focus in the project of country's saving energy.
Brushless DC motor(BLDCM),which has many good performances,such as simple structure,high running efficiency and convenient maintainability,is a kind of mechatronics products.The position sensor increase the complexity and costs of structure,made the lower reliability of running,so controlling without position sensor become a hot topic for researching.On the other hand,the 16-bits DSP, TMS320LF2407,which is manufactured by TI for motor's digital controlling,can give reliable and efficient signal process as well as hardware support by its high processing speed and improved surrounding circuits.
Therefore,this paper is mainly engaged in researches on velocity and position servo-system of BLDCM without position sensor based on TMS320LF2407 to meet the requirements of high accuracy control and energy saving.The controlling, hardware and software design of the servo system are included in this paper.
The general survey of winding and BLDCM as well as servo-control system included its' control strategies are simply introduced at the beginning of this paper. The basic structure and working principles are presented with math models established secondly.The fundamentals of position detecting and phase-switching are detailedly demonstrated finally.The BEMF zero crossing point detection formulas are deduced with phase difference compensations as well.
Three-phase full-bridge MOSFET inverter is chosen as the main control circuit, and a control scheme with 120°switching mode is adopted in the argument of controlling.Current is detected by current-hall sensor,three-phase voltage are fetched via BEMF zero crossing point detection method which can not only supply the phase switching signal after software calculation and time delay but also obtain the velocity by the relation of time span.The speed and current dual closed-loop control strategy is adopted in this control system in order to construct a high performance permanent magnetic brushless DC motor full digital control system.Further more,double goals involved position and speed control strategy is adopted to achieve winding accuracy. Then,the design of energy feedback system is deeply studied with the background analysis followed by a feasible solution presented.The energy feedback system which consists of super capacitors,bi-directional DC-DC converter and inverter circuit is designed,and the principles of buck/boost working principles are explicated with related parameters' setting for the model established.
In the hardware design of servo-system,the overall system is firstly designed, then the main circuit,power module,communication module and other interface circuits are designed,the focus is elements' selection and parameters' calculations. In the software design of servo-system,the development process of DSP and the requirements are firstly discussed,the flow of main program and function sub-program are designed and programmed in C and assembly language.
In the software design of servo-system,the development process of DSP and the requirements are firstly discussed,the flow of main program and function sub-program are designed and programmed in C and assembly language.
On the basic of theory research,the algorithm of BEMF zero crossing point detection,the adjusting of the closed loops named current,velocity and position as well as energy feedback technology model are all validated by simulation using MATLAB7.1.Then,experiments are implemented on the equipments and debugging software to obtain results.Finally,analysis and summary are made based on the results to prove that the performance of the whole system is perfect and can meet all the objectives in this paper.
引文
[1]黄无双.自动络筒机分级精密卷绕装置控制系统的研究[B].天津:天津工业大学,2006.
[2]刘增磊,程小华.无刷直流电动机发展与现状[J].防爆电机,2007,3(42)
[3]K.Iizuka,H.Uzuhashi,M.Kano,T.Endo,K.Mohri,Microcomputer Control for sensorless Brushless Motor,IEEE Transactions Industry Application,vol.IA-21,no.4,May/June 1985
[4]秦继荣.现代直流伺服控制技术及其系统设计[M].北京:机械工业出版社,1999
[5]党钊,黄大贵等.基于智能运动控制器的开放式多轴联动数控系统机械[J].2001,28(4):57-59
[6]Utkin V1.Sliding model control design principles and applications to electric drives.IEEE Trans.Ind.Electron.1993,40:23-26
[7]Hung John Y,Gao Weibing,Hung James C.Variable structure control:a survey.IEEE Trans.Industrial Electronics,1993,40(1)
[8]刘璐.基于 DSP 的直流伺服位置控制系统的研究[B].山东:山东大学,2007
[9]田淳.无位置传感器稀土永磁无刷直流方波电机调速系统[J].第五届中国交流电机调速传动学术会议论文集,1997
[10]吴捷.永磁无刷伺服电机无传感器位置估计方法[J].微特电机,2000(4)
[11]石山.无位置传感器直流无刷电动机启动方法[J].微特电机,2001(2)
[12]贺虎成,刘卫国.电机与控制应用[J].2006,33(3):3-6
[13]Bimal K.Bose,Modern Power Electronics and AC Drives,王聪,赵金等译.现代电力电子学与交流传动[M].北京:机械工业出版社,2005
[14]曲家骐,王季轶.伺服控制系统中的传感器[M].北京:机械工业出版社,1998
[15]王晓明,王玲.电动机的DSP控制——TI 公司 DSP 应用[M].北京:北京航空航天大学出版社,2004:230-252
[16]谢宝昌,任永德.电机的 DSP 控制技术及其应用[M].北京:北京航空航天大学出版社,2005:260-264
[17]陈伯时.电力拖动自动控制系统[M].北京:机械工业出版社,2000:24-26,49-55
[18]Jung DH,Ha IJ.Low-cost sensorless control of brushless DC motors using a frequency-independent phase shifter[J].IEEE POWER ELECTR,2000,15(4):744-752
[19]刘伟,王长松,周晓敏.无位置传感器无刷直流电机转子位置检测的研究[J].孝感学院学报,2006,26(6):36-38
[20]李天舒,刘军.无刷直流电动机的反电势过零检测法研究[J].微电机,2007,40(3):34-36
[21]Hanamoto T,Hara H,Tanaka Y.Sensorless control of BLDCM applying the modified induced voltage observer[J].ELECTR END JPN,1999,129(2):87-89
[22]DJ Bak.Brushless DC Motor Uses Back EMF for Commutation Design News,1990,(4):78-79
[23]Implementation of a Sensorless Speed Controlled Brushless DC drive using TMS320LF240[J].Texas instrument,1997,2
[24]王忠礼,段慧达.MATLAB 应用技术——在电气工程与自动化专业中的应用[M].北京:清华大学出版社,2007
[25]薛定宇,陈阳泉.基于 MATLAB/SIMULINK 的系统仿真技术与应用[M].北京:清华大学出版社,2003
[26]陈国呈.PWM 变频调速及软开关电力变换技术[M].北京:机械工业出版社,2001
[27]马国伟,孙汉旭等.无刷直流电动机的双闭环调速系统设计[J].机电产品开发与创新,2004,17(6):6-8
[28]史浩,潘再平.模糊控制无刷直流电动机仿真[J].微电机,2005,5(38)
[29]汪海燕,李娟娟,张敬华.自适应模糊 PID 控制的无刷直流电机及仿真[J].微电机,2003,4
[30]Nesimi Ertugrul,Member,IEEE,and Paul P.Acamley.Indirect Rotor Position Sensing in Real Time for Brushless Permanent Magnet Motor Drives.IEEE TRANSACTIONS ON POWER ELECTRONICS VOL.13 NO.1 JULY 1998
[31]张国良等.模糊控制及其 MATLAB 应用[M].西安:西安交通大学出版社
[32]秦长江.自络筒嵌入式智能控制设计与实现,[B].上海:东华大学,2008
[33]陈国平,孙培德,李俐等.一种电机制动能量回收新技术[J].通信电源技术,2006,23(6):43-45
[34]李绍铭.再生能量回馈电网的电力电子技术方案的研究[J].自动化与仪器仪表.2002,(4),38-40
[35]应建平,林渭勋等.电力电子技术基础[M].北京:机械工业出版社,2003
[36]Kotz R,Carlen M.Principles and applications of electrochemical capacitors[J].Electrochim Acta,2000,45:2483-2498
[37]李忠学,陈杰.超级电容器组件的电压均衡控制电路设计[J].电子元件与材料,2006,5(5):39-42
[38]超级电容器 SCEC2R3226介绍http://www.bainacap.com/uploadfile/product/2R3/2R3226.pdf,2008年上网
[39]徐德鸿.电力电子系统建模及控制[M].北京:机械工业出版社,2005
[40]叶金虎.无刷直流电动机的分数槽电枢绕组和霍尔元件的空间配置[J].微特电机,2001,(4),8-14
[41]王香婷,苏晓龙.基于霍尔传感器的电流检测系统[J].工矿自动化,2008,4,(2)
[42]谭徽,王勇,汪信尧等.单个电流传感器实现的无刷直流电动机相电流检测[J].电机与控制学报,1998,2(4):237-241
[43]Frede Blaabuerg,Jonh K.Pedersen,Ulrik Jaeger,Paul Thoegersen.Single current sensor technique in the DC link of three-phase PWM-VS inverters:A review and a novel solution.IEEE Trans.On PE,1991,6(1):118-126
[44]田艳兵,崔光照.TMS320LF2407数字信号处理芯片与 PC 机间的串行通讯[J].嵌入式论文集,2003,9:227-230
[45]范逸之,陈立元.Visual Basic 与 RS-232串行通讯控制[M].北京:清华大学出版社,2002:54-153
[46]郭光荣,薛斌等.基于 IR2132驱动电路的应用设计[J].测控技术,2006,25(5):69-70
[47]Pillay P,Krishnan R.Modeling,simulation,and analysis of permanent magnet motor drives,Part 1:The permanent-magnet synchronous motor drive[J].IEEE Trans,on Industry Applications,1989,25(2):265-273
[48]IR2131S Manual.International IOR Rectifier,Preliminary Data Sheet:No. PD60032-M.
[49]刘安平等.IR2XXX 三相传功率驱动芯片的原理及应用[J].国外电子元器件,2000.7:11-13
[50]IRF840技术手册,下载于http://www.datasheetcatalog.org/datasheet/fairchild/IRF840.pdf,2008年
[51]刘和平,邓力,江渝等.DSP 原理及电机控制应用——基于 TMS320LF240x 系列[M].北京:北京航空航天大学出版社,2006
[52]刘和平等.TMS320LF240x DSP C 语言开发应用[M].北京:北京航空航天大学出版社,2003
[53]Texas Instruments,TMS320LF/LC240Xa DSP Controllers Reference Guide,2001
[54]刘和平,杨庆彧等.基于数字信号处理器的无位置传感器无刷直流电机起动方法[J].电机与控制应用,2007,34(3):28-31
[55]KRISHNAN R.A novel single-switch-per-phase converter topology for fou-quadrant PM brushless DC motor drive[J].IEEE transom Ind App 1,1997,33(5):1154-1160
[56]Thomas M J.Intergrated Current Regulation for a Brushless ECM Drive[J].IEEE Transaction on Power Electronics,1991,(6):118-126
[57]陈玉荣,倪光正.直流无刷电机电流检测技术的研究[J].农机化研究,2004,1:106-108
[58]H.S.Lee,Robust Digital Tracking Controllers for High-Speed/High-Accuracy Positioning Systems.Ph.D.Dissertation,Mech.Eng.Dep,Univ.California,Berkeley,1994
[59]Hoang Le-Huy.Modeling and simulation of electrical drives using MATLAB Simulink and Power System Blockset[C].IEEE Proceeding from Industrial Electronics Society,2001,3(2):1603-1611
[60]Irfan Guney,Yukset Oguz,Fusun Serteller.Dynamic behavior model of permanent magnet synchronous motor fed by PWM inverter and fuzzy logic controller for stator phase current[A].Flux and torque control of PMSM[C].IEEE Proceeding from Electric Machines and Drives Conference,2001:479-485
[61]张琛.直流无刷电机原理及应用[M].北京:机械工业出版社,1996
[62]丁永生.计算智能——理论、技术与应用[M].北京:科学出版社,2004
[63]李晓斌,张辉,刘建平.利用 DSP 实现无刷直流电机的位置控制[J].机电工程,2005,22(3)
[64]Huang Qingxin,Liang Hui.DSP control system of brushless DC motor without position sensor.Electrical Machines and systems.Electrical Machines and Systems.ICEMS 2005.Proceedings of the Eighth Intemational Conference,2005:371-375
[65]Hu,J.Dawson,D.M.Anderson,K.Position control ofa brushless DC motor without velocity measurements.Electric Power Applications.IEE Proceedings.1995,142(2):113-122
[66]张素俭.络筒过程中自动张力闭环控制系统的应用[J].现代纺织技术,2004(5):30-32
[67]Conway B E.Elecrtochemical Supercapacitors Scientific Fundamentals and Technological Applications[M].New York:Plenum Publishers,1999.
[68]Nomoto H,Nakata K,Yoshioka,et al.Advanced capacitors and their application[J].J Power Sources,2001,97-98:807-811
[69]K Wang,C Y Lin,D Qu,etal.Bi-directional DC to DC Converters for Fuel Cell Systems[A].Conf.Rec.of IEEE Power Electronics in Transportation[C].1998:47-51
[70]张相军.直流无刷电机无位置传感器控制中反电动势过零检测算法及其相位修正[J].电气传动,2001,(2):14-16
[71]许海平,温旭辉,孔力.全数字化双向 DC/DC 变换器的分析和设计[J].电力电子技术,2003,12(37):13-16
[72]Jain M,Jain P K,Dainicle M.A Birdirectional DC/DC Converter Topology for Low Power Application[A].IEEE PESC Conf.'97,Reco.[C].1997:804-810
[73]何瑞金,吴庆彪,孙培德等.一种新颖的 DC/DC 变换器的设计与实现[J].东华大学学报,2005,2(31):128-131