步进电机是常用的位移转化装置,旧有的控制方式比较缺乏再开发能力。因此设计了一种新的步进电机控制器,使用了飞凌OK2440ARM开发板和嵌入式Linux开发环境进行控制器开发,编写了Linux系统下步进电机驱动程序,用Linux信号量机制解决了信号竞态问题,并最终用QT-Embedded技术实现了界面化操作。此方法易于移植到机械臂、转台等应用领域,一定程度上弥补了步进电机控制器的再开发能力弱的缺陷。
Stepper motor is a common displacement transformation device,whose control method is lack of open development capabilities. This paper aims at a new stepper motor controller design,which uses Feiling OK24440 arm development board in hardware and embedded Linux environment in software. Embedded Linux is used when we code the stepper motor driver program and we finish a visual control interface in LCD of arm board based QT-Embedded technology. This research lays an important foundation for our next study in manipulator and rotary table.