三江学院本科毕业设计(论文)题目基于TI2812 DSP的无刷直流电动机控制软件设计电气与自动化工程学院院电气工程及其自动化专业学号B05071006学生姓名邢小强指导教师熊田忠起讫日期2009年2月23日至2009年5月25日设计地点L422摘要无刷直流电机既具有直流电机结构简单、运行可靠、维护方便等一系列优点,还具备交流电机运行效率高、无励磁损耗及调速性能好等诸多优点,现已广泛应用于工业控制的各个领域。
本文在对无刷直流电动机调速系统的发展及应用综述的基础上,介绍了采用DSP芯片对无刷直流电动机进行换向与转速控制的微机控制系统。
文中给出了系统的总体设计方案,分析了无刷直流电机的工作原理、控制电路、驱动电路,提出了软件控制无刷电机的策略。
阐述了软件框架的基本结构以及各个模块的具体设计方法。
文中还对DSP芯片(TMS320F2812)进行了一些介绍。
最后运用实际的硬件平台以及上位机软件(LabVIEW)对无刷直流电动机进行监控,证明了该系统工作良好,达到了预期目标。
关键词:无刷直流电动机,DSP芯片,软件控制AbstractBrushless DC motor with a DC motor is simple in structure, reliable operation, easy maintenance, such as a series of advantages, also has high efficiency AC motor run, no excitation loss and good speed, and many other advantages, has been widely used in various industrial control field.This article in the brushless DC motor speed control system overview of the development and application on the basis of the paper introduces the DSP chip on the exchange of brushless DC motor and speed control to the Microcomputer Control System. In this paper, the overall design of the system program, analysis of the brushless DC motor working principle, control circuit, driver circuit, a software strategy for brushless motor control. Framework set out the basic structure of software modules, as well as the specific design methods. The article also DSP Core (TMS320F2812) to introduce a number.Finally, the use of the actual hardware platform, as well as PC software (LabVIEW) for brushless DC motor control, show that the system is good, reaching the target.Keywords: brushless DC motor, DSP chips, Control Software目录第一章绪论............................................................................................................................. - 1 -1.1 无刷直流电动机的发展现状.................................................................................... - 1 -1.2 DSP与无刷直流电动机的联系................................................................................ - 2 -1.3 本文研究的内容........................................................................................................ - 3 - 第二章无刷电动机的结构及工作原理................................................................................. - 4 -2.1无刷直流电动机的结构............................................................................................... - 4 -2.2无刷直流电动机的工作原理....................................................................................... - 4 - 第三章电机控制中的DSP的特点和选择.............................................................................. - 7 -3.1 TMS320F2812的简介................................................................................................... - 7 -3.2电机控制中的DSP的特点.......................................................................................... - 8 -3.3 DSP软件设计特点..................................................................................................... - 10 -3.3.1 DSP开发环境CCS2000 ............................................................................... - 10 -3.3.2 C语言与汇编语言的分析比较....................................................................... - 10 - 第四章电机控制中的DSP软件设计.................................................................................... - 12 -4.1 各模块的程序及说明................................................................................................ - 12 -4.1.1系统时钟的初始化模块.................................................................................. - 12 -4.1.2 事件管理器EV的初始化模块....................................................................... - 13 -4.1.3 串行通讯SCI的初始化模块 ......................................................................... - 15 -4.1.4 输入捕捉(CAP)中断 ..................................................................................... - 16 -4.1.5定时器T1 ......................................................................................................... - 19 -4.1.6 DSP与上位串口通信协议.............................................................................. - 20 -4.2 DSP程序的总体框架.............................................................................................. - 21 - 第五章结论及展望................................................................................................................. - 22 -5.1 结论.......................................................................................................................... - 22 -5.2 展望.......................................................................................................................... - 22 - 参考文献................................................................................................................................... - 23 - 致谢 .......................................................................................................................................... - 24 -第一章绪论1.1 无刷直流电动机的发展现状直流电动机具有很多优点,如优秀的线性机械特性、宽的调速范围、大的起动转矩、简单的控制电路等,长期以来一直广泛地应用在各种驱动装置和伺服系统中。