- 1、本文档共50页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
串行显示的步进电机单片机控制系统设计
摘 要
单片机是把主要计算机功能部件都集成在一块芯片上的微型计算机。它是一种集和多接口于一体的微控制器,被广泛应用在智能产品和工业自动化上,而51单片机是个单片机中最为典型和最有代表性的一种。MCS—51系列中的8751H为核心,与键盘、显示器连接,通过调节脉冲信号频率,进而实现对步进电动机转速的控制。
步进电机是一种易于精确控制的电机,由于其良好的性能而受到广泛的应用。其控制方法也多种多样。8751H为核心的微机控制调速器很好解决了各种控制技术问题。整个系统结构 简单。通过改变软件设计,可灵活地实现各种控制功能。进行编程,实现对四相步进电机的控制,以达到精确定位的目的使8751H单片机并行1口高四位P1.7~P1.4 分别与驱动电路的接口A、B、C、D 相连,并使驱动电路的4 个输出引脚分别与步4 、3 、2 、1四个励磁线圈的引脚相连。通过对单片机进行编程,使数据从P1口高四位输出经驱,使其按照单片机编写的程序按步骤的进行正序旋转或逆序旋转”跑飞”或者进入”死循环”,因此,设计了看门狗电路,使用的是MAXIM公司生产的微处理系统监控集成芯片MAXI813。
本文还详细给出了相关的硬件框图和软件流程图,并编制了该汇编语言程序。
Abstract
The single chip microcomputer is the microcomputer,which intergrates the main computer function part on a chip.It is a microcontroller which is a collection of microprocessor and many kinds of interfaces in a body, which is widely applied in the intelligent product and in the industrial automation, but 51 SCM is the most typical and the most repesentative one kind in SCM. This design takes MCS-51series 8751H as a core, connects with the keyboard and the monitor, adjusts the pulse signal frequency, then realizes the stepping motor speed control.
The stepping motor is a kind of motor easy to control.It is used widely for its property.There are many ways to control the stepping motor. The Microcomputer control speed regulator taking 8751H as a core solves the diversifyed kind of controltechnic. The whole system structure is simple. Diversified kind of control function is realized flexibly by changing software design. My design method is programming with SCM 8751H, realizing the control of the stepping motor in order to achieve the accurate orientation.Connect the high four bits P1.7~P1.4 ’s parallel P1 with driver circuit interface four input pins A,B,C,D repectively, and connect the output pins of the driver circuit with the four input exciting coil pins of the stepping motor. Programming to SCM makes the data output of the high four bits to control the stepping motor after amplified by the driver circuit, which makes the stepping motor r
文档评论(0)