基于STC89C52单片机的直流电机角位移控制(自动控制课程设计).docVIP

  • 4
  • 0
  • 约1.29万字
  • 约 27页
  • 2019-09-22 发布于湖北
  • 举报

基于STC89C52单片机的直流电机角位移控制(自动控制课程设计).doc

PAGE 26 苏州大学电子信息学院 自动控制原理 项目设计报告 项目名称:直流电机控制的角位移控制系统 班 级: 姓 名: 指导老师 : 学 号: 日 期: 联系方式: 目录 TOC \o 1-3 \h \z \u 一、设计题目 5 1.1 设计要求 5 1.2 项目分析 5 二、系统方案 6 2.1方案选择 6 三、系统硬件选择 8 3.1 直流电机 8 3.2主控制芯片方案的选择 8 3.3显示模块的选择 9 3.4电机的驱动模块的选择 9 3.5稳压模块的选择 9 3.6光栅 10 3.7光电传感器 10 四、算法设计 10 4.1 PID与PWM算法 10 4.2 数字PID参数的确定 13 五、硬件电路设计与实现 14 5.1单片机最小系统 14 5.2系统显示模块 15 5.3 直流电机驱动模块和稳压模块 15 5.4 直流电机测速模块 16 5.5总体电路设计 16 六、系统软件设计 16 6.1 软件流程图 16 6.2 软件(见附录) 18 七、性能指标 18 7.1误差分析 18 八、心得体会 19 九、附录 19 摘 要 自动控制技术是20世纪发展最快、影响最大的技术之一,也是21世纪最重要的高技术之一。今天,技术、生产、军事、管理、生活等各个领域,都离不开自动控制技术。就定义而言,自动控制技术是控制论的技术实现应用,是通过具有一定控制功能的自动控制系统,来完成某种控制任务,保证某个过程按照预想进行,或者实现某个预设的目标。随着计算机技术的发展,控制技术走向了自动化的方向。随着计算机技术的日渐成熟,自动化控制技术与计算机的结合已经成为必然。 本次实验是基于STC89C52单片机的直流减速电机角度控制系统,运用PWM(脉冲宽度调制)方法控制电机,采用增量式光电编码器将转动角度转化为脉冲数进行角度测量,并反馈到单片机,单片机根据反馈信息利用PID算法发出控制命令。 关键词:STC89C52、直流减速电机、光电编码器、PID算法、角位移 Abstract Automatic control technology is the fastest development in twentieth Century, one of the largest technologies, is the most important one of the high technology in twenty-first Century. Today, all fields of technology, production, management, military and life, all cannot do without the automatic control technology. In terms of definition, the automatic control technology is the application of technology to realize the control theory, through a certain control functions of automatic control system to complete a control task to ensure a process is carried out in accordance with the desired, or achieve a preset target. With the development of computer technology, control technology towards the direction of automation. With the development of computer technology is becoming mature, combined with automatic control technology and computer has become inevitable. The experiment is based on STC89C52 MCU DC deceleration motor angle control system. The use of PWM (pulse width modulation) method is proposed to control motor. The

文档评论(0)

1亿VIP精品文档

相关文档