摘要
本文介绍了步进电机的控制原理,在分析步进电机和驱动程序接口的基础上,给出了一个在嵌入式Linux平台上编写步进电机驱动的实例。本控制系统基于Samsung公司的S3C2410X CPU进行设计,采用Linux2.6内核作为它的操作系统,给出了Linux2.6内核下步进电机驱动程序的关键代码,并对应用层程序的设计进行了规划。
This paper introduces the control principle of Stepping Motor,On the basis of analysis for interface between Stepping Motor and Linux device driver,this paper presents a device driver instance base on Embedded Linux for Stepping Motor.This control system is developed based on S3C2410X CPU of Samsung Corporation,and Linux2.6 as its operation system.At Last,this paper gives the key code and application program of device driver for Stepping Motor based on Linux2.6.
出处
《自动化与信息工程》
2011年第2期33-35,共3页
Automation & Information Engineering