1、 I 毕业设计(论文)毕业设计(论文) 题题 目目: 基于单片机的直流电机 PWM 调速系统 系系 (部) :(部) : 机械电子工程系 专业班级专业班级: 数控 09-1 姓姓 名名: 学学 号号: 指导教师指导教师: xx 20122012 年年 5 5 月月 23 23 日日 II 基于单片机的直流电机 PWM 调速系统 摘 要 本课题设计是以 51 系列单片机为控制核心,系统产生占空比由数字 PID 算法控制的 PWM 脉冲信号实现对直流电机的供电电源进行控制从而达到调速目的。同时利用光电编码 器将电机转速转换成脉冲信号反馈到单片机中,形成转速闭环控制系统,实现转速无静差 的调速系统设
2、计。人机界面采用 12864LCD 显示器显示电机当前的参数、正反转状态、转 速以及运行时间;通过 44 键盘实现:数字 PID 参数设置、速度、电机正反转、加速、减 速、启动、停止。 关键字 数字 PID;无静差调节;PWM 脉冲 III DC motor PWM speed control system based on Microcontroller ABSTRACT This thesis design is 51 series microcontroller as control core,the system produces PWM impulse whose duty rati
3、o is controlled by digital PID arithmetic to control the power of DC motor,to make sure the running of DC motors rotate speed. At the same time the design uses photoelectric sensor to transduce the electromotor speed into impulse frequency and feed it back to microcontroller as speed closed loop con
4、trol system to attain the purpose of rotate speeds astatic modulation.In this system , 12864LCDdisplay shows the current parameters of the motor、the direction of rotation、speed and Running time. Through the 44 keyboard realized: digital PID parameters settings、the direction of rotation settings、speed setting、start and stop. KEY WORDS digital PID; astatic modulation; PWM impulse IV 目录 摘 要 II ABSTRACT . III 目录 . IV 前言 1 1 调速系统总体设计 2 11 系统总体设计说明