1、 本科毕业论文本科毕业论文 题 目:直流电动机双闭环系统软件设计 院 系:科亚学院 专 业: 电气工程及其自动化 班 级: 学生姓名: 指导教师: 论文提交日期: 2012 年 6 月 15 日 论文答辩日期: 2012 年 6 月 18 日 摘要 近年来,自动化控制系统在各行业中得到了广泛的应用和发展,而 直流调速系统作为电力拖动系统的主要方式之一,在现代化生产中起着 十分重要的作用。随着微电子技术的不断发展,计算机在调速系统中的 应用使控制系统得到简化,体积减小,可靠性提高,而且各种经典和智 能算法也都分别在调速系统中得到了灵活的应用,以此来达到最优控制 效果。 以单片机为控制核心的数字直
2、流调速系统有着许多优点:由于速度 给定和测速采用了数字化,能够在很宽的范围内高精度测速,所以扩大 了调速的范围,提高了测速控制系统的精度;由于硬件的高度集成化, 所以使得零部件数量大大减少;由于很多功能都是由软件实现的,使硬 件得以简化,因此故障率小;单片机以数字信号工作,控制方法灵活便 捷,抗干扰能力较强。 本论文在直流调速系统理论研究的基础上,以 80C196KC 单片机为控 制核心,对双闭环直流调速系统中的转速调节器采了用 PID 控制算法、 电流调节器采用了 PI算法, 设计了一套全数字直流电机双闭环调速系统。 并且介绍了直流电机调速系统的功能和特性,分析了双闭环 PID 控制的 调速
3、系统的数学模型,确定了电流环和转速环的比例和积分系数。此外, 本次设计采用了数字式速度给定和数字式测速方法,大大提高了速度控 制的精度。 关键词关键词:直流电动机;调速;直流电动机;调速;PID PID 控制;双闭环控制;双闭环 Abstract In recent years, automation control system in all a wide range of applications and development, and dc speed control system as the main way of electric drive system in one of t
4、he modern production plays a very important role. With the development of the microelectronics, the use of the computer in speed regulation system simplified the system, reduces the volume, increases the reliability. The Optimum Control is achieved by the use of both classical methods and intelligen
5、t methods. The digital speed control system for DC motor, which use Chip Microcomputer(SCM) as its processor has many merits. The speed giving and speed measuring adopt digital method, the system can measure the speed accuracy within a wide range, which expand the speed control scope and enhances it
6、s precession; the hardware is highly integrated, the number of the parts is sharply minimized; as most functions are carried out by software, Moreover, as SCM works with digital signal, its control is flexible and its ability to anti-interference is very high. The paper is based on the theory of DC speed regulation. In this paper, a 80C196KC SCM is used as the processor for the speed control system of DC motor. The kind of speed controller is PID and that