毕业设计论文小功率直流电机调速系统设计_第1页
毕业设计论文小功率直流电机调速系统设计_第2页
毕业设计论文小功率直流电机调速系统设计_第3页
毕业设计论文小功率直流电机调速系统设计_第4页
毕业设计论文小功率直流电机调速系统设计_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、毕业设计论文小功率直流电机调速系统设计 分类号:TM301 U D C:D10621-408-(2021) 2164-0 密 级:公 开 编 号:202107143 成都信息工程学院 学位论文 小功率直流电机调速系统设计 1 小功率直流电机调速系统设计 摘 要 本设计就是基于PWM信号对直流电机进行调速控制,以MC9S12XS128单片机为系统控制的核心,以驱动芯片BTS7960组成电机的驱动模块,并实时的测量电机的实际速度,并把该速度信息在LCD1602上显示,组成了一个小型的闭环的小功率直流电机调速的系统。为了实现电机调速的稳定和快速,PWM控制方式配合BTS7960电机驱动芯片对小功率直

2、流电机进行驱动和调速是较好的调速系统解决方案。其中BTS7960内部集成两路H桥式驱动电路。本系统中利用XS128单片机控制其产生的PWM信号占空比大小,和采用光电码盘采集的电机转速信号来进行调速。在LCD1602液晶上显示当前转速和设置的转速,将当前转速作为反应信号与设置转速比拟,以确定MC9S12XS128单片机给加速信号还是减速信号,直到两者的速度相等后保持这个速度稳定运行。在本设计中编写了XS128调速程序、键盘输入程序、测速程序;编写了C51的键盘输入程序、LCD1602显示程序。经测试,系统调速效果良好,测速比拟精确,能够快速的使电机的转速以设定的速度转动。本设计用的元器件比拟少,

3、结构简单,维护方便,便于应用到实际工业生产中。 关键词:单片机;PWM;闭环调速系统;液晶显示 The Design Of Low-Power DC Motor Speed Control System Abstract This paper introduces the design of DC motor speed control, which based on the PWM signal. The core of the control system is MC9S12XS128 microcontroller which can drive module that is made

4、of BTS7960 driver chips. The system measures the actual speed of the motor at any time and shows the speed information on the LCD1602. The system is a small, low-power DC motor speed control. In order to make the motor speed stable, the PWM control with the BTS7960 driver chips is a good solution to

5、 drive the motor and speed control. The BTS7960 includes the two H-bridge driver circuit. In this system the size of the PWM signal which is controlled by the XS128 microcontroller and the motor speed signal which is acquired from optical encoder controls the speed of motor. LCD1602 displays the cur

6、rent speed and set speed. The system counts the current speed as the feedback signal. The feedback signal is compared to the preset speed, which determines the signal of MC9S12XS128 microcontroller. The signal of XS128 microcontroller is not stop until that the actual speed and the preset speed are

7、same. This system includes XS128 speed control program, the keyboard input program, velocity program; the C51 keyboard input program, the LCD1602 display program. After testing, the system controls the speed of motor well. The measuring speed is more accurate. The system is able to make the motor sp

8、eed stably rotate in the preset speed. The components which used are not many. The design has a simple structure. The system maintains easily, which is easy to apply it to the actual industrial production. Keywords: Microcontroller; PWM; Closed-loop speed control; LCD 目 录 论文总页数:48页 1 引言 . 1课题背景及意义 .

9、 1本课题研究方法和目标 . 1 1.2.1 硬件局部 . 1 1.2.2 软件局部 . 1主要技术介绍 . 2 2 方案研究与主要芯片选择. 2 2.1 总体方案原理及设计框图 . 2 2.2 主控芯片的选择与论证 . 3 2.3 显示设备的选择与论证 . 4 2.4 驱动模块选择 . 6 3 硬件电路设计 . 7 3.1 单片机控制模块单元电路设计 . 7单片机. 7 3.1.2 C51单片机 . 13 3.2 驱动控制电路设计 . 13 3.3 测速电路设计 . 14 3.4 液晶显示电路设计 . 14 3.5 电源电路的设计 . 16 3.6 按键输入电路的设计 . 17电路总设计 . 17 4软件设计 . 19软件设计的总体流程图 . 19各个模块的程序设计 . 20 4.2.1 XS128工作的程序设计 . 20 4.2.2 按键模块的程序设计. 23 4.2.3 显示模块的程序设计. 24 4.2.4 调速模块的程序设计. 25 5软硬件调试模块 . 27 5.1 C51单片机模块程序的调试 . 27单片机程序的调试. 27单片机程序的下

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论