77范文网 - 专业文章范例文档资料分享平台

基于单片机的直流电机控制系统的设计

来源:网络收集 时间:2019-03-28 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

基于单片机的直流电机控制系统的设计

I

基于单片机的直流电机控制系统的设计

摘 要

本设计主要研究设计一款PWM直流电机调速系统。该系统能够利用单片机对用户通过按键输入的控制信号进行处理,然后利用驱动器对电机进行速度和方向的控制,同时把电机运行状态信息显示在LCD显示器上。在完成对系统的基本分析后,对硬件的电路进行了调试,然后对所有模块电路进行调试。只要有了整个系统的信号连接方式和全部电路的原理图设计就可以更方便的发掘硬件挑选方案的可行性和优点。给系统就提供了空间平台。这是整个系统的的核心部分,也是本篇设计的核心。最后将整个检测系统进行软硬件联调,根据已经设计完成的电路图和系统功能需求,完成硬件电路的制作与软件程序的开发。在对整个系统完成测试后确定了系统设计的有效性。

关键词:单片机;硬件电路设计;系统仿真;系统调试

II

The design of dc motor control system based on single chip microcomputer

ABSTRACT

This design mainly study design a PWM dc motor speed control system.

The system can use single chip microcomputer control of the user through the pressed key input signal processing, and then use the drive control of motor speed and direction, at the same time, the motor running state information display on the LCD display.

In the completion of basic analysis of the system, the hardware circuit

debugging, and then to all module circuit debugging. Have the schematic diagram of the whole module design and system of signal connection mode can be more easily explore feasibility and advantages of hardware selection scheme. To the system provide a space platform. This is the core of the part of the whole system, is also the core of this design.

Will last the whole test system of software and hardware alignment, have

done design according to the circuit diagram and system functional requirements, complete the hardware circuit and software program development. After complete the test of the whole system to determine the effectiveness of the system design.

Keyword:Single chip microcomputer; The hardware circuit design; System simulation; System debugging

II

III

目 录

一、 绪论 ...................................................................................................................... 1

1.1本课题的研究目的及意义 ............................................................................ 1 1.2直流电机调速方法 .......................................................................................... 2 1.3设计内容 ............................................................................................................ 2

二、系统主要硬件介绍 ......................................................................................... 4

2.1 8051单片机 ...................................................................................................... 4

2.1.1简介 ........................................................................................................ 4 2.1.2 8051单片机特点 ................................................................................ 5 2.2 L298N ................................................................................................................. 5

三、系统电路硬件设计 ......................................................................................... 7

3.1系统电路总体设计 .......................................................................................... 7 3.2主控电路设计 ................................................................................................... 7 3.3显示电路 ............................................................................................................ 8 3.4按键控制电路 ................................................................................................... 9 3.5电机驱动电路 ................................................................................................. 10 3.6程序下载电路 ................................................................................................. 11 3.7电源电路 .......................................................................................................... 11

四、系统软件设计及仿真.................................................................................. 13

4.1系统软件总体方案 ........................................................................................ 13 4.2系统初始化程序设计 ................................................................................... 14 4.3 PWM发生程序设计.................................................................................... 15 4.4按键控制程序 ................................................................................................. 16 4.5系统仿真 .......................................................................................................... 18

五、PWM直流调速系统硬件联调 .............................................................. 22

5.1系统硬件制作调试 ........................................................................................ 22 5.2系统软件下载及调试 ................................................................................... 23

结论 ................................................................................................................................. 24 参考文献 ....................................................................................................................... 25

I

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库基于单片机的直流电机控制系统的设计在线全文阅读。

基于单片机的直流电机控制系统的设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/553191.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: