- 38
- 0
- 约6.21万字
- 约 71页
- 2018-01-18 发布于重庆
- 举报
毕业设计(论文)
基于AT89S52单片机的两相步进电机控制系统
Control system of two phase stepper motor based on AT89S52 singlechip
2013年6月13日
摘 要
本文应用AT89S52单片机、步进电机驱动芯片ULN2003A、字符型LCD液晶显示屏和键盘阵列,构建了集步进电机控制器和驱动器为一体的步进电机控制系统。系统以单片机作为步进电机的控制核心,完成了步进电机的控制的硬件电路设计以及软件的设计,实现了步进电机的启停、正反转,以及转速的实时显示。以三维工作台作为被控对象,每个方向由一个步进电机驱动相应的滚珠丝竿机械装置进而实现完成了各个坐标方向的精确运动,以此模拟实现切割机上下、前后的精确切割。由键盘模块实时键入相应数值来控制三个坐标轴上各个步进电机的转速值、行进距离以及运行状态,并通过LCD液晶显示屏显示各个电机对应的转速、行进距离、行进中的坐标值实时变化状态和电机运行状态以及电机运行是否到位等信息。为满足实际运用需要,本系统以PC机作为平台,基于VB语言设计完成了一个人机交互性强的界面的上位机的实现,并通过由RS232构成的串口通信方式,实现单片机与上位机串口的双向通信运用。在上位机系统界面上通过程序设计实现了对各个坐标方向的步进电机的远程控制操作以完成对应的各个步进电机相应的启动、急停、前进、返回等一系列动作以及相应转速值、行进坐标值的实时输入发送与接收显示,达到远程监控的效果。
关键词:步进电机,上位机,液晶显示
Abstract
Based on AT89S52 singlechip, stepper motor driver chip ULN2003A, character type LCD and keyboard array, the thesis builds a stepping motor control system integrating stepper motor controller and driver. Making the singlechip as the cybernetic core of the stepper motor, the system completes hardware circuits design and softwares design which are controlled by the stepper motor, therefore, it realizes the stepper motors start and stop, positive inversion and revolving speeds real-time display. Three-dimensional workbench being as controlled objective, corresponding ball spiral wire rod mechanical device is driven by a stepper motor in every direction to realize the accurate motion in each coordinate direction, accordingly, it imitates the cutting machines precise cutting of up and down, front and back. Relevant numerical value typed by the keyboard in real time controls each stepper motors revolving speed value, travel distance and running state in three coordinate axises. Corresponding revolving speed and travel distance of each motor, coordinate figures real-time state of change on the move, motors running state on the move
您可能关注的文档
- 学士学位论文:The Design of The High-precision Electronic Scale.doc
- 毕业设计(论文):非接触式IC卡读写器.doc
- 恒流直流电源的设计.doc
- 基于51单片机设计的多功能出租车计价器.doc
- 基于AT89C52声光控智能开关的设计研究.docx
- 基于51单片机的WIFI遥控小车设计.docx
- 毕业设计说明书(论文):光控自动路灯的设计与制作.docx
- 基于51单片机的数字LED显示(Based on 51 SCM LED digital display).doc
- 毕业设计(论文):机械手PLC控制系统设计.doc
- 毕业设计(论文)说明书:机电一体化中的电机控制与保护.doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
原创力文档

文档评论(0)