您现在正在浏览:首页 > 论文 > 电子电工 > 毕业设计-单片机实现的步进电机控制系统设计

免费下载毕业设计-单片机实现的步进电机控制系统设计

  • 资源类别:论文
  • 资源分类:电子电工
  • 适用专业:单片机
  • 适用年级:大学
  • 上传用户:Lq_automatic
  • 文件格式:word
  • 文件大小:499.67KB
  • 上传时间:2011-3-31 18:26:30
  • 下载次数:3
  • 浏览次数:137

安全检测:瑞星:安全 诺顿:安全 卡巴:安全

资料简介
毕业设计-单片机实现的步进电机控制系统设计,共43页,14610字
本设计是采用凌阳16 位单片机SPCE061A对步进电机进行控制,通过IO口输出的具有时序的方波作为步进电机的控制信号,信号经过芯片L298N驱动步进电机;同时,用 4X4的键盘来对电机的状态进行控制,并用数码管显示电机的转速,采用74LS164作为4位单个数码管的显示驱动,从单片机输入信号;利用凌阳单片机的语音功能播报电机的转速。
目 录
第1章 绪论 1
第2章 方案论证比较设计 5
2.1单片机概述 5
2.2步进电机的工作原理 6
2.3单片机控制步进电机的设计思路 9
第3章 控制系统的硬件电路设计 10
3.1 SPCE061A的介绍 10
3.1.1 性能 11
3.1.2 结构 12
3.1.3芯片的引脚排列和说明 12
3.1.4 SPCE061A单片机硬件结构 14
3.1.5 μ’NspTM的核心结构 15
3.2步进电机的选择 17
3.3 步进电机的驱动电路设计 18
3.4数码管显示电路的设计 20
3.5 4X4键盘电路的设计 21
第4章 控制系统的软件设计 24
4.1 控制脉冲的产生 24
4.2 步进电机的旋转方向和时序脉冲的关系 25
4.3 步数的确定 27
4.4 步进电机的变速控制 29
4.5 语音报数 33
第5章 结论 35
参考文献 36
致谢 38
附录 39
摘 要
单片微型计算机简称单片机。它是把组成微型计算机的各功能部件:中央处理器、CPU、随机存取存储器RAM、只读存储器ROM、I/O接口电路、定时器/计数器以及串行通信接口等制作在一块集成芯片中,构成一个完整的微型计算机。单片机主要应用于控制领域,由于其具有可靠性高、体积小、价格低、易于产品化等特点,因而在智能仪器仪表、实时工业控制、智能终端、通信设备、导航系统、家用电器等自控领域获得广泛应用[1]。
步进电机是一种能将电脉冲信号转换成角位移或线位移的机电元件,实质上是一种数字/角度转换器步进电机控制系统主要由步进控制器,功率放大器及步进电机等组成.步进控制器由缓冲寄存器,环形分配器,控制逻辑及正,反转控制门等组成,能把输入的脉冲转换成环形脉冲,以便控制步进电机,并能进行正反向控制.但由于步进控制器线路复杂.成本高.采用单片机控制,用软件代替上述步进控制器,使得线路简单,成本低,可靠性大大增加,灵活改变步进电机的控制方案,无需逻辑电路组成时序发生器.软件编程可灵活产生不同类型步进电机励磁序列来控制各种步进电机的运行方式并可实现一台单片机控制多台电机.提供灵活多样的控制手段和提高控制精度对复杂繁琐的控制易于实现,尤其在本系统中更显示出微机控制的优越性。
本设计采用凌阳16 位单片机SPCE061A对步进电机进行控制,通过IO口输出的具有时序的方波作为步进电机的控制信号,信号经过芯片L298N驱动步进电机;同时,用 4X4的键盘来对电机的状态进行控制,并用数码管显示电机的转速,采用74LS164作为4位单个数码管的显示驱动,从单片机输入信号;利用凌阳单片机的语音功能播报电机的转速。
关键词: 单片机 步进电机
ABSTRACT[2]
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 especially in this system even more.
Design , adopt , insult male genital 16 one-chip computer SPCE061A 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 , come state in electrical machinery go on , control with keyboard of 4X4 , in charge of rotational speed to reveal electrical machinery with number, adopt 74LS164 urge as 4 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: One-chip computer Walk into the electrical machinery
资料文件预览
共1文件夹,1个文件,文件总大小:759.50KB,压缩后大小:499.67KB
  • 毕业设计-单片机实现的步进电机控制系统设计
    • Microsoft Word文档毕业设计-单片机实现的步进电机控制系统设计.doc  [759.50KB]
下载地址
资料评论
注意事项
下载FAQ:
Q: 为什么我下载的文件打不开?
A: 本站所有资源如无特殊说明,解压密码都是www.xuehai.net,如果无法解压,请下载最新的WinRAR软件。
Q: 我的学海币不多了,如何获取学海币?
A: 上传优质资源可以获取学海币,详细见学海币规则
Q: 为什么我下载不了,但学海币却被扣了?
A: 由于下载人数众多,下载服务器做了并发的限制。请稍后再试,48小时内多次下载不会重复扣学海币。
下载本文件意味着您已经同意遵守以下协议
1. 文件的所有权益归上传用户所有。
2. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
3. 学海网仅提供交流平台,并不能对任何下载内容负责。
4. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
5. 本站不保证提供的下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
返回顶部