没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的步进电机运动控制系统设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 22 浏览量
2023-06-24
23:03:25
上传
评论
收藏 1.45MB DOC 举报
温馨提示
试读
48页
基于单片机的步进电机运动控制系统设计.doc
资源推荐
资源详情
资源评论
摘 要
摘 要
单片微型计算机简称单片机。它是把组成微型计算机的各功能部件:中央处理器、
CPU、随机存取存储器 RAM、只读存储器 ROM、I/O 接口电路、定时器/计数器以及串
行通信接口等制作在一块集成芯片中,构成一个完整的微型计算机。单片机主要应用于
控制领域,由于其具有可靠性高、体积小、价格低、易于产品化等特点,因而在智能仪
器仪表、实时工业控制、智能终端、通信设备、导航系统、家用电器等自控领域获得广
泛应用。
步进电机是一种能将电脉冲信号转换成角位移或线位移的机电元件,实质上是一种
数字/角度转换器步进电机控制系统主要由步进控制器,功率放大器及步进电机等组成.步
进控制器由缓冲寄存器,环形分配器,控制逻辑及正,反转控制门等组成,能把输入的脉冲
转换成环形脉冲,以便控制步进电机,并能进行正反向控制.但由于步进控制器线路复杂.
成本高.采用单片机控制,用软件代替上述步进控制器,使得线路简单,成本低,可靠性大大
增加,灵活改变步进电机的控制方案,无需逻辑电路组成时序发生器.软件编程可灵活产生
不同类型步进电机励磁序列来控制各种步进电机的运行方式并可实现一台单片机控制
多台电机.提供灵活多样的控制手段和提高控制精度对复杂繁琐的控制易于实现,尤其在
本系统中更显示出微机控制的优越性。
本设计采用单片机 AT89C51 对步进电机进行控制,通过 IO 口输出的具有时序的
方波作为步进电机的控制信号,信号经过芯片 L298N 驱动步进电机,通过 PWM 脉宽调
制解调技术对步进电机调速,同时,用键盘来对电机的状态进行控制,并用数码管显示
电机的转速,采用 CD4511 作为 5 位单个数码管的显示驱动显示步进电机的转速和步距
角。
关键词: 单片机;步进电机;PWM 脉宽调制;CD4511;L298N
摘 要
ABSTRACT
The single slice of microcomputers is abbreviated as the one-chip computer. It is every
function part which makes up the microcomputer: Central processing unit, CPU, arbitrary
access memory RAM , read-only memory ROM,, I/O interface circuit , timer / counter and
serial communication interface ,etc. make in the integrated chip together, form an intact
microcomputer. One-chip computer apply controlled field to mainly, because it have
dependability high , small , price low , easy commercialization ,etc. characteristic, therefore
won extensive application in fields of automatic control such as intellectual instrument and
apparatus , real-time industrial control , intelligent terminal , communication equipment ,
navigation system , household appliances ,etc.
It is that one kind can change the electric pulse signal into a electromechanical
component of angle displacement or line displacement to walk into the electrical machinery, it
is a kind of figure / angle converter that is walked into the control system of the electrical
machinery to mainly walk into the controller in fact, power amplifier and walking into the
electrical machinery ,etc. make up . Walked into the controller to buffer the register , the
annular distributor, control logic and, overturn , control door ,etc. make up , can change the
pulse input into into an annular pulse , in order to control , walk into electrical machinery ,
can carry on positive and negative to control. But because walk into the controller circuit
complicatedly. With high costs. Adopt one-chip computer control , replace with software
described above to walk into the controller , make the circuit simple, with low costs,
dependability increases greatly, change the control scheme of walking into the electrical
machinery flexibly , do not need logical circuit to make up the time sequence generator .
Software programming very flexible to produce , walk into electrical machinery excitation
array come , control various operation way to walk into electrical machinery and can realize
one machine control many sets of electrical machinery while being different kinds of. It is
easy to realize to offer the flexible control means and improving the precision of controlling
to complicated and tedious control, demonstrate the superiority that the computer controls
ABSTRACT
II
especially in this system even more.
Design , adopt , insult male genital computer AT89C51 to walk into electrical
machinery control originally, square wave with time sequence as the control signal of walking
into the electrical machinery through what IO mouth is outputted, the signal drives and walks
into the electrical machinery through the chip L298N; Meanwhile ,
ABSTRACT
III
come state in electrical machinery go on , control with keyboard , in charge of
rotational speed to reveal electrical machinery with number, adopt CD4511 urge as 5 single
number display that in charge of , from the input signal of the one-chip computer; Utilize the
pronunciation function of insulting the open one-chip computer to report the rotational speed
of the electrical machinery.
Keyword: MCU;Stepping Moter;PWM impulse width modulate;CD4511;L298N
目 录
目 录
摘要∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙I
Abstract…………………………………………………………………………… II
1 绪论…………………………………………………………………………………1
1.1 引言………………………………………………………………………………1
1.2 步进电机控制的方案……………………………………………………………1
1.3 单片机概述和发展………………………………………………………………3
2 控制系统的硬件电路设计…………………………………………………………6
2.1 硬件电路器件的选型………………………………………………………… 6
2.1.1 单片机简介…………………………………………………………………6
2.1.2 步进电机简介………………………………………………………………9
2.1.3 电源部分………………………………………………………………… 19
2.1.3.1 LM7805CK 简介……………………………………………………… 19
2.1.3.2MC78L12CP 简介……………………………………………………… 19
2.1.4 数码显示部分…………………………………………………………… 20
2.1.5 步进电机驱动电路……………………………………………………… 24
2.1.6 步进电机的检测………………………………………………………… 28
2.2 电路设计…………………………………………………………………… 32
2.2.1 步进电机总体电路……………………………………………………… 32
2.2.2 数码显示部分电路……………………………………………………… 33
2.2.3 驱动电路及检测电路…………………………………………………… 34
2.2.4 时钟电路设计…………………………………………………………… 35
2.2.5 复位电路设计…………………………………………………………… 35
2.2.6 光电耦合器电路设计…………………………………………………… 35
2.2.7 键盘输入控制电路设计………………………………………………… 36
2.2.8 电源电路设计…………………………………………………………… 36
3 抗干扰措施……………………………………………………………………… 37
3.1 硬件抗干扰措施……………………………………………………………… 37
3.2 软件抗干扰措施……………………………………………………………… 37
剩余47页未读,继续阅读
资源评论
omyligaga
- 粉丝: 54
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 10Eclipse项目源码.jpg
- 大屏可视化数据课程项目
- Maven 快速入门指南:安装和配置方法详解
- STM32物信息通过MQTT协议上传云平台
- STM32物信息通过MQTT协议上传云平台
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6260.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6259.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6258.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6257.0)
- Screenshot_2024_0614_022736.png
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功