- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
2013届毕业设计说明书
基于AT89S52单片机的直流调速系统设计
系 、 部: 电气与信息工程学院
学生姓名:
指导教师: 职称 教授
专 业: 电气工程及其自动化
班 级:
完成时间: 2013-5-28
摘 要
本文主要研究了利用AT89S52单片机控制PWM信号从而实现对直流电机转速进行控制的方法。文章介绍了AT89S52的详细参数,并对PWM信号的原理、产生方法、以及如何通过软件编程对PWM信号占空比进行调节,从而控制其输入信号波形等均作了阐述。设计分为两个部分,硬件部分和软件部分。对于硬件部分首先从总体上做了设计,也就是以AT89S52为中心来组成硬件部分,其辅助部分包括了显示电路、测量电路、键盘电路;对于软件部分则选择了使用模块化的设计思路,根据本设计的要求以及它要实现的功能编写了属于每个模块部分的流程图。并且说明了软件的设计方式和思路。此外,本文中还采用了芯片IR2110作为直流电机正转调速功率放大电路的驱动模块,并且把它与延时电路相结合完成了在主电路中对直流电机的控制。在软件方面,文章中详细介绍了PID运算程序,初始化程序等的编写思路和具体的程序实现。本系统中使用了光电编码器对输出的转速进行了测量,并且作为反馈值输入到单片机进行PID运算,从而实现了对输出速度的控制。
关键词: PWM信号;IR2110;PID运算
ABSTRACT
This article mainly introduces the method to generate the PWM signal by using AT89S52 single-chip computer to control the speed of a D.C. motor. It also clarifies the principles of PWM and the way to adjust the duty cycle of PWM signal. The design is divided into two parts,hardware and software part.For the hardware part,the AT89S52 is the center form of the hardware part,the auxiliary part includes display circuit,measuring circuit,keyboard circuit;Software adopts modular design concept.write each modular flow chart.Discusses the design thought and method of software.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. What’s more, is used in this system to measure the speed of D.C. motor. In software, the article introduced the PID operation procedures, such as initial program and the writing of the thought and specific program realization .The result of the measurement is sent to A/D converter after passing the filtering circuit, and finally the feedback single is stored in the single-chip computer and participates in a PIDcalculation.
Key words: PWM signal;IR2110;PID calculation
目录
摘要 Ⅰ
ABSTRACT Ⅱ
目录 Ⅲ
1 绪论 1
1.1直流电机的发展及设计背景 1
1.2直流电机调速原理 2
1.3 系统方案与分析 3
1.4总体硬件电路设计 4
2 PWM脉宽调制原理 5
2.1 PWM调速原
文档评论(0)