文档介绍:《单片机原理及接口技术》
课程设计报告
课题名称
PWM直流电动机调速控制系统
学院
自动控制与机械工程学院
专业
机械设计制造及自动化
班级
姓名
(学号)
时间
2012-1-9
摘要
直流电机具有良好的启动性能和调速特性,它的特点是启动转矩大,能在宽广的范围内平滑、经济地调速,转速控制容易,调速后效率很高。
本文设计的直流电机调速系统,主要由51单片机、电源、H桥驱动电路、LED液晶显示器、霍尔测速电路以及独立按键组成的电子产品。电源采用78系列芯片实现+5V、+15V对电机的调速采用PWM波方式,PWM是脉冲宽度调制,通过51单片机改变占空比实现。通过独立按键实现对电机的启停、调速、转向的人工控制,LED实现对测量数据(速度)的显示。
电机转速利用霍尔传感器检测输出方波,通过51单片机对1秒内的方波脉冲个数进行计数,计算出电机的速度,实现了直流电机的反馈控制。
关键词:直流电机调速;H桥驱动电路;LED显示器;51单片机
ABSTRACT
DC motor has a good startup performance and speed characteristics, it is characterized by starting torque, maximum torque, in a wide range of smooth, economical speed, speed, easy control, speed control after the high efficiency. This design of DC motor speed control system, mainly by the microcontroller 51, power supply, H-bridge driver circuits, LED liquid crystal display, the Hall velocity and independent ponent circuits of electronic products. Power supply with 78 series chip +5 V, +15 V for motor speed control using PWM wave mode, PWM is a pulse width modulation, duty cycle by changing the MCU 51. Achieved through independent buttons start and stop the motor, speed control, turning the manual control, L
ED realize the measurement data (speed) of the display. Motor speed using Hall sensor output square wave, by 51 seconds to 1 microcontroller square wave pulses are counted to calculate the speed of the motor to achieve a DC motor feedback control.
Keywords: DC motor speed control;H bridge driver circuit;LED display
目录
摘要 2
ABSTRACT 3
目录 4
第1章引言 5
概况 5
国内外发展现状 5
要求 6
设计目的和意义 7
第2章方案论证和选择 9
电机调速控制模块 9
PWM调速工作方式 9
PWM调脉宽方式 9
PWM软件实现方式 9
第3章系统硬件电路设计 11
12
13
第4章系统的软件设计 14
单片机选择 14
14
第5章单片机系统综合调试 17
PROTEUS设计与仿真平台 17
PROTEUS设计与单片机传统开发过程比较 18
仿真结果与分析 18
结束语 21
致谢 22
参考文献 23
附录 24
第1章引言
概况
现代工业的电力拖动一般都要求局部或全部的自动化,因此必然要与各种控制元件组成的自动控制系统联系起来,而电力拖动则可视为自动化电力拖动系统的简称。在这一系统中可对生产机械进行自动控制。
随着近代电力电子技术和计算机技术的发展以及现