基于DSP的伺服电机滑模控制方法研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
永磁同步电机(Permanent Magnet Synchronous Motor,PMSM)是一种性能优越、应用前景广阔的电机。随着现代电力电子技术、微电子技术以及现代控制理论的飞速发展,永磁同步电动机也越来越多的应用到各种控制场合。PMSM控制系统稳定运行是建立在闭环控制基础之上,因此如何获取转子位置和速度信号是整个系统中相当重要的一个环节。当前,在大多数调速驱动系统中,最常用的方法是在转子轴上安装位置传感器。但这些传感器增加了系统的成本,降低了系统的可靠性和耐用性。因此,在一些特殊及控制精度要求不很高的场合,无传感器控制得到了广泛的应用。无传感器控制是指通过测量电动机的电流、电压等可测量的物理量,通过特定的观测器策略估算转子位置,提取永磁转子的位置和速度信息,完成闭环控制。无传感器永磁同步电动机调速系统不仅具有结构简单、易维护、运行效率高、调速性能好等优点,还具有体积小、成本低、可靠性高以及能应用于一些特殊场合的特点。本文以正弦波驱动的表面式永磁同步电动机为研究对象,采用改进的滑模观测器(Sliding Mode Observer, SMO)方法,研究并实现了永磁同步电动机驱动控制系统的无传感器矢量控制。
     论文首先介绍了永磁同步电机的结构及其数学模型,借助于Simulink搭建了永磁同步电机的模块化仿真模型,并根据空间矢量脉宽调制的工作原理,构建了永磁同步电机调速控制系统的仿真模型。依据滑模变结构控制原理,对永磁电机的转子位置角和转速进行实时在线估算。采用参数可调的H函数代替不连续的开关函数,其目的是为了削弱系统的抖动,参数的整定利用模糊控制方法实现。理论分析和MATLAB仿真结果表明,所改进的永磁同步电机无传感器控制方法具有较强的抗扰动性、有效的抑制了引入滑模控制方法的所带来的“抖动”。
     其次,研究了基于TMS320LF2407ADSP芯片的控制系统软、硬件结构和主要功能模块的原理及其实现方法。硬件方面包括控制电路各部分及外围辅助电路的设计和调试。软件采用汇编语言编写,实现了无位置传感器控制算法及转速和电流双闭环矢量控制;给出了系统主程序和PWM中断处理程序流程图。永磁同步电机无位置传感器矢量控制的主要模块如滑模速度计算、正余弦值生成、矢量坐标变换、比例积分调节器、空间电压矢量脉宽调制(Space Vector Pulse Width Modulation, SVPWM)等都是在PWM中断服务子程序中完成。
     最后,在CCS3.1集成开发环境下对程序进行了调试并对电机进行了空载实验,实验结果验证了设计方案的可靠性。
The permanent magnet synchronous motor (PMSM) is a superiority performance and widely used motor. The control technology of PMSM has developed rapidly with the fast development of power electronics technology, micro-electronic technology and modern control theory. The position and speed precise control of PMSM system build in the speed closed-loop control, so how to acquire rotor position and speed signal is a most important strategy in the whole system. At present, in mostly regulation drive systems, the mostly method is to install a position sensor in the rotor shaft. But the sensors increase the cost and decrease the reliability. In these backgrounds, there has been an increased interest in developing techniques to obtain the position and speed information for the PMSM without external position sensors. Position sensorless control for PMSM will be widely used in some special or low precision situation. We can measure the physical quantity such as three phase current, voltage etc to estimate the position and speed through special observer strategy. The speed regulation system of PMSM without sensor not only has a simple structure, high efficiency, excellent performance and easy maintenance, but also has a small volume, low cost, high reliability and some special application. This paper, on the background of application of sinusoidal PMSM, applying the method based on SMO (Sliding Mode Observer), has researched and accomplished the sensorless vector control of drive and control system.
     Firstly, this paper introduced the structure and mathematic model of PMSM. Then the paper use Simulink to build the emulation model of PMSM, expatiate the theoretical basis of spacial vector pulse width modulation (SVPWM) and the wave generation, and did some research in closed-loop control strategy. The system is controlled according to the control theory of sliding mode observer. In order to weaken the oscillation of system, discontinuous control in the conventional SMO is replaced by hyperbolic tangent function with parameter adjustable via fuzzy control. So the position and speed of PMSM is real-time estimated and the estimated position is modified continuously. Theoretical analysis and Matlab simulation results show that the proposed strategy has stronger robustness and restricts the oscillation effectively.
     Secondly, the main structures of the software and hardware based on TMS3202407A DSP are studied. The principle and realization method of the main functional blocks are also illuminated. To the hardware, each part of the design and debugging of the peripheral circuits are thoroughly discussed. The software has been programmed with assembly language. Sensorless PMSM double close-loop vector control with feedback of speed and current are realized. The flow charts of main program and PWM interrupt service routine are given. The main module of sensorless PMSM vector control such as SMO rotor position estimation, speed calculation, generation of sine and cosine, vector coordinate transformation, PI regulators, SVPWM vector modulation are all accomplished in the PWM interrupt service routines.
     Finally, the program were debugged in the CCS3.1 and experiments were did without load. The results confirmed the correctness of the system design.
引文
1.于艳君,程树康,柴凤.永磁同步电动机无传感器控制综述[J].微电机, 2007, 40(8):58-61.
    2. Shouse K R, Taylor D G. Sensorless Velocity Control of Permanent Magnet Synchronous Motors[C]. Proceedings of The IEEE Conference on Decision and Control, 1994:1844-1 849.
    3.梁艳,李永东.无传感器永磁同步电机矢量控制系统概述[J].电气传动, 2003, (4):4-9.
    4. M J Coney, R D Lorenz. Rotor Position and Velocity Estimation for Permanent Magnet Synchronous Machine at Standstill and High Speed[C]. Conference Record-ZAS Annual Meeting, IEEE Industry Applications Society ,1996, 1:36-41.
    5. J Jang, S Sul, J Ha. Sensorless Drive of Surface-mounted Permanent-motor by High-frequency Signal Injection Based on Magnetic Saliency[J]. IEEE Trans.on Industry Application, 2003, 39(4): 1031-1039.
    6. J Jang, J Ha, A Testa. Analysis of Permanent-magnet Machine for Sensorless Control Based on High-frequency Signal Injection[J]. IEEE Trans.on Industry Application, 2004, 40: 1595-1603.
    7.秦峰,贺益康,刘毅,章玮.两种高频信号注入法的无传感器运行研究[J].中国电机工程学报, 2005, 25(5):116-121.
    8. R Wu. Permanent Magnet Motor Drive without A Shaft Sensor[J]. IEEE Trans.on Industry Application, 1991, 27:1005-1011.
    9. L Xu, C Wang, Implementation and Experimental Investigation of Sensorless Control Schemes for PMSM in Super-high Variable Speed Operation[C]. Conf Rec IEEE-IAS Annu Meeting, 1998, 1:483-489.
    10.许峻峰.永磁同步电机直接转矩控制中定子磁链的分析[J].电气传动, 2005, 35(1):10-12.
    11.宫明玉,廖晓钟,冬雷.无速度传感器异步电机按定子磁链定向的矢量控制系统[J].电气传动, 2005, 35(7):20-23.
    12.黄雷,赵光宇,年珩.基于扩展反电势估算的内插式永磁同步电动机无传感器控制[J].中国电机工程学报, 2007, 27(9):59-63.
    13. F J Lin, S L Chiu. Adaptive Fuzzy Sliding Mode Control for PM Synchronous Servo Motor Drives[J]. Proc IEE-Contr Theory & Applicat, 1998, 145(1): 63-72.
    14. I C Baik, K H Kim, M J Youn. Robust Nonlinear Speed Control of PM Synchronous Motor Using Adaptive and Sliding Mode Control Techniques[J]. Proc IEE-Elect PowerApplicat, 1998, 145(4): 369-376.
    15. Jones, L A Lang. A State Observer for The Permanent-magnet Synchronous Motor[J]. Industrial Electronics of IEEE Transactions, 1989, 36(3):374-382.
    16. Kan Ping Chin, Zong Hwang Hong, Hong Ru Wang. Shaft-sensorless Control of Permanent Magnet Synchronous Motors Using A Sliding Mode Observer[C]. Proceedings of the 1998 IEEE International Conference on Control Applications, 1998, 1:388-392.
    17. S Bolognani, R Oboe, M Ziglitto. Sensorless Full-digital PMSM Drive with EKF Estimation of Speed and Rotor Position[J]. IEEE Trans Ind Electron, 1999, 46:184-191.
    18. A Qiu, B Wu.Sensorless Control of Permanent Magnet Synchronous Motor Using Extended Kalman filter[C]. Proc Conf Of CCECE 2004, 1557-1562.
    19.张猛,肖曦,李永东.基于扩展卡尔曼滤波器的永磁同步电机转速和磁链观测器[J].中国电机工程学报, 2007, 27(36):36-40.
    20.江俊,沈艳霞,纪志成.基于EKF的永磁同步电机转子位置和速度估计[J].系统仿真学报,2005, 17(7):1704-1707.
    21. Changsheng Li, Elbuluk M. A Sliding Mode Observer for Sensorless Control of Permanent Magnet Synchronous Motors[C]. 2001 Industry Applications Conference of 2001 IEEE, 2001, 2:1273-1278.
    22. Z Yan, C Jin, V I Utkin. Sensorless Sliding-mode Control of Induction Motors[J]. IEEE Trans Ind Electron, 2000, 47:1286-1297.
    23. R G Berstecher, R Palm, H D Unbehauen. An Adaptive Fuzzy Sliding Mode Controller[J]. IEEE Trans Power Electron, 2001, 48:18-31.
    24. C Li, M Elbuluk. A Sliding Mode Observer for Sensorless Control of Permanent Magnet Synchronous Motors[C]. Conf Rec IEEE IAS Annu Meeting, 2001, 2:1273-1278.
    25. K Kang, J Kimand. Sensorless Control of PMSM in High Speed Range with Iterative Sliding Mode Observer[C]. Conf Rec IEEE APEC04, 2004, 2:1111-1116.
    26.吴春华,陈国呈,孙承波.基于滑模观测器的无传感器永磁同步电机矢量控制系统[J].电工电能新技术, 2006, 25(2):1-3.
    27.周雒维,杨柳,彭国秀,杜雄.一种永磁同步电机滑模观测器的设计[J].重庆大学学报, 2008, 31(1):34-37.
    28. Tong Liu, Elbuluk, M Husain. Sensorless Adaptive Neural Network Control of Permanent Magnet Synchronous Motors. Electric Machines and Drives, International Conference IEMD99, 1999:287-289.
    29.沈艳霞,纪志成.基于无源性永磁同步电机模糊滑模控制系统研究[J].系统仿真学报, 2007,19 (17):4012-4016.
    30.海老原大树.电动机技术实用手册[M].北京:科学出版社, 2006:52-60.
    31.尔桂花,窦曰轩.运动控制系统[M].北京:清华大学出版社, 2002:215-300.
    32.陈志杰.高性能永磁同步电机矢量控制系统研究[D]:[博士学位论文].南京:东南大学,1993.
    33.林伟杰.永磁同步电机伺服系统控制策略的研究[D]:[博士学位论文].杭州:浙江大学电气工程系, 2005.
    34.刘金琨.滑模变结构控制MATLAB仿真[M].北京:清华大学出版社, 2005:1-8.
    35. Zhang Yan, Vadim Utkin. Sliding Mode Observer For Electric Machines-An Overview[C].
    28th Annual Conference of the IEEE, 2002, 3:1842-1847.
    36. Liu Jiaxi, Yang Guijie, Li Tiecai. A New Approach to Estimated Rotor Position for PMSM Based on Sliding Mode Observer[C]. Procrrding of international conference on electrical machines and systems, 2007, 426-431.
    37. Paponpen K, Konghirun M. An Improved Sliding Mode Observer for Speed Sensorless Vector Control Drive of PMSM[C]. Power Electronics and Motion Control Conference, 2006, 2:1-5.
    38. Slotine J J, Sastry S S. Tracking Control of Nonlinear Systems Using Sliding Surfaces with Application to Robot Manipulator[J]. International Journal of Control, 1983, 38(2):465-492.
    39.高为炳.变结构控制的理论及设计方法[M].北京:科学出版社, 1996:50-62.
    40. Krupp, Shtessel Y B. Chattering Free Sliding Mode Control with Unmodeled Dynamics [C].American Control Conference, 1999:530-534.
    41.宋立忠,陈少昌,姚琼荟.多输入不确定系统离散变结构控制设计[J].控制与决策, 2003, 18(4):468-471.
    42.张天平,冯纯伯.基于模糊逻辑的连续滑模控制[J].控制与决策, 1995, 10(6):503-507.
    43. Ertugrul M, Kaynak O,Sabanovic A, Ohnishi K. A Generalized Approach for Lyapunov Design of Sliding Mode Controllers for Motion Control Applications[C]. Proc AMC96-MIE Conf, 1996, 407-412.
    44.解旭辉,戴一帆,李圣怡.基于模糊滑模控制器的伺服跟踪控制研究[J].控制理论与应用, 2003, 20(6):913-918.
    45.纪志成,李晓庆,沈艳霞.无刷直流电机的模型参考模糊自适应方法实验研究[J].电工技术学报, 2006, 21(1):75-81.
    46. Vas P. Artificial-Intelligence-Based Electrical Machines And Drives[M]. New York:Oxford University Press,1999:83-100.
    47.王茂飞,程昱. TMS320C2000DSP技术与应用开发[M].北京:清华大学出版社, 2007:1-388.
    48.刘和平,邓力,江渝,郑群英.DSP原理及电机控制应用[M].北京:北京航空航天大学出版社, 2006:1-406.
    49.王晓明,王玲.电动机的DSP控制[M].北京:北京航空航天大学出版社, 2004:1-170.
    50. Texas Instrumens. Digital signal processing solutions for motor control using the TMS320F240 DSP controller.Literature number:SPRA345, 1996,10-24.
    51. Texas Instrumens. Implementation of a speed Field Oriented control of 3-phase PMSM Motor using TMS320F240. Literature number:SPRA588, 1999, 1-67.
    52. Texas Instrumens. Implementation of Vector Control for PMSM Using the TMS320F240 DSP. Literature number:SPRA494, 1998, 1-31.