background image

基于单片机的步进电机控制器

3.7

 

独立按键电路设计 40

第 4

 

章 系统的软件实现 41

4.1

 

 系统软件主流程图 41

4.2

 

 系统初始化流程图 41

3.3

 

 按键子程序 42

  

 

第五章 总结 58

摘要

本文应用单片机、步进电机驱动芯片、字符型

LCD 和键盘阵列

构建了集步进电机控制器和驱动器为一体的步进电机控制系统。二维工作台

作为被控对象通过步进电机驱动滚珠丝杆在

X/Y 轴方向联动。文中讨论了一

种以最少参数确定一条圆弧轨迹的插补方法和步进电机变频调速的方法。步

进电机控制系统的开发采用了软硬件协同仿真的方法,可以有效地减少系统

 

开发的周期和成本。最后给出了步进电机控制系统的应用实例。

In this paper, microcontroller, stepper motor driver chips, character LCD and keypad 

array, build a set of stepper motor controller and driver as one of the stepping motor control 
system. Two-dimensional table as a charged object by stepper motor drive ball screw in X / Y 
axis linkage. This paper discusses a minimum of parameters to determine the trajectory of a 
circular interpolation method and the method of frequency control stepper motor. Stepper 
motor control system has been developed using the software and hardware co-simulation 
method, can effectively reduce the system development cycle and cost. Finally, the stepper 
motor control system application examples.

关键词

: 步进电机控制系统,插补算法,变频调速,软硬件协同仿真

2