- 1、本文档共43页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
黑龙江大学
论文题目:
学 院: 机电工程学院
年 级: 2006
专 业: 电气工程及其自动化
姓 名:
学 号:
指导教师:
2010年 5 月 1日
本文主要单片机调速系统,直流电机控制系统的基本方案本设计以8051单片机为核心,以小型直流电机为对象,以44矩阵键盘输入直流电机的启停、速度和方向PWM技术对电机进行控制,通过对占空比的计算达到精确调速的目的。实时测量电机的实际转速,并在LED数码管上显示出来,并对电机进行PID转速调节,使其转速趋近于设定值。该系统解决了以往复杂的模拟电路设计问题,增强了对直流电机速度的可控性,提高了调速系统的精度。
关键词
单片机;直流电机;PWM;PID算法
Abstract
This paper introduces the DC motor speed control system based on 8051 single chip computer, and determines the basis scheme of this system. The system takes 8051 single chip computer as a core device,DC motor as a plant,4*4 keyboard matrix as an input device, LED as an output device ,then this system can achieve the operation of the start-stop, speed and direction.
This design analyzes to carry on the principle of the speed measures to the DC motor, uses the PWM technology to control the motor, and through the computation of dutyfactor to achieve the precise velocity modulation to get the goal. Measured the motors actual rotational speed by the real-time, showed it on the LED nixie tube and carried on the PID rotational speed adjustment to the motor, caused its rotational speed approach to the setting value. This system has solved formerly the complex analogous circuit design problem, strengthened to the DC motor speed controllability, and increased the velocity modulation systems precision.
Key Words
Single ship computer; Dc motor; PWM; PID algorithm
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1 课题研究背景 1
1.2 课题研究方法 2
第二章 8051单片机简介 3
2.1 单片机概述 3
2.2 8051单片机引脚图及引脚功能 4
2.3 8051单片机的特点及基本组成 5
2.4 8051单片机中央处理器模块及内部结构 7
2.5 8051单片机的片外总线结构及并行I/O口 10
第三章 系统硬件电路设计 13
3.1 总体方案设计 13
3.2 直流电机的工作原理和调速方法 14
3.3 转换电路 16
3.4 转速测量电路 18
3.5 数码管显示电路 19
第四章 PWM信号发生电路设计 20
4.1 脉宽调制(PWM)的基本原理 20
4.2 PWM波形发生电路 22
4.3 PWM脉冲波的产生 23
4.4 干扰问题的处理 23
第五章 系统软件设计 25
5.1 主程序设计 25
5.2 PID算法 26
5.3 源程序 27
结论 36
参考文献 37
致谢 38
第一章 绪论
1.1 课题研究背景
在电气时代的今天,电动机在工农业生产与人们日常生活中都起着十分重要的作用。直流电机作为最常见的一种电机,
文档评论(0)