1、 毕 业 设 计 题 目 直流电机 PID 调速系统 II 学生姓名 学号 所在院(系) 专业班级 指导教师 2012 年 5 月 日 第 1 页 共 41 页 直流电机 PID 调速系统 摘摘 要要 本文主要研究了利用 MCS-51 系列单片机控制 PWM 信号从而实现对直流电机转速进行 控制的方法。文章中采用了专门的芯片组成了 PWM 信号的发生系统,并且对 PWM 信号的原理、产生 方法以及如何通过软件编程对 PWM 信号占空比进行调节,从而控制其输入信号波形等均作了详细的 阐述。此外,本文中还采用了芯片 IR2110 作为直流电机正转调速功率放大电路的驱动模块,并且把 它与延时电路相结
2、合完成了在主电路中对直流电机的控制。另外,本系统中使用了霍尔元件对直流 电机的转速进行测量,经过滤波电路后,将测量值送到单片机,并且最终作为反馈值输入到单片机 进行 PID 运算,从而实现了对直流电机速度的控制。在软件方面,文章中详细介绍了 PID 运算程序, 初始化程序等的编写思路和具体的程序实现。 关键字: PWM 信号;霍尔元件;PID 运算 The Design of Direct Current Motor speed Regulation System Based On SCM XuHuanhuan 第 2 页 共 41 页 (Grade09,Class02, Major Auto
3、mation , Electrical Engineering Dept,Shaanxi University of Technology,Hanzhong723003,Shaanxi) Tutor:WangChunxia Abstract:This article mainly introduces the method to generate the PWM signal by using MCS-51 single-chip computer to control the speed of a D.C. motor. It also clarifies the principles of
4、 PWM and the way to adjust the duty cycle of PWM signal. In addition, IR2110 has been used as an actuating device of the power amplifier circuit which controls the speed of rotation of D.C. motor. Whats more, hall element is used in this system to measure the speed of D.C. motor. The result of the measurement is sent to MCS-51 single-chip computer after passing the filtering circuit, and finally the feedback single is stored