摘要
步进电机控制系统通常采用电路、DSP、单片机等作为硬件基础,控制程序通常采用循环体内顺序执行的结构。这种控制系统缺乏异常处理能力,且通用性较差。该文提出一种基于STM32F10x嵌入式微处理器和MDK嵌入式集成开发环境的步进电机控制系统设计技术,给出了控制系统详细的硬件设计方案。在硬件设计的基础上,研究软件设计技术,着重探讨软件设计中的实时任务调度,采用MDK自带的RTX内核,实现系统多任务并发执行。控制系统具有较好的通用性,并具有异常处理能力。
The hardware basis of the control systems of stepping motor is usually circuit, DSP, single chip processor, and so on. The control program usually uses a circulation body with a sequential part in it. This type of control system is lack of the ability of abortion process, with poor intercbangeability. In this paper a novel design technology is presented for the control systems of stepping motor based on the embedded microprocessor STM32F10x and the embedded integrated develop environment MDK. The hardware design way of the control systems is researched in detail. On the basis of the hardware design the software design is researched. The real time task scheduling method is mainly discussed. Concurrent execution of multitasks is realized using the kernel RTX in MDK. The proposed control systems have well interchangeability with abortion process function.
出处
《武汉理工大学学报》
CAS
CSCD
北大核心
2009年第3期107-110,共4页
Journal of Wuhan University of Technology
基金
国家自然科学基金(50375113)