摘要
设计了一种基于STM32和uC/OS-II的二维数控X-Y工作台控制系统。为使该数控系统具有良好的实时性和稳定性,以嵌入式STM32F103VET6为控制核心,采用实时操作系统uC/OS-II,设计任务间的通信方式,集中管理软硬件资源,提高系统的整体性能。本设计支持简单G代码输入并对G代码编程,实现数控X-Y工作台步进电机直线插补和圆弧插补,完成平面轮廓加工,使数控工作台加工实时性和稳定性进一步提高。
A two-dimensional numerical control(NC) X-Y table control system is designed based on STM32 and uC/OS-II.For good real-time capability and stability of the system,embedded STM32F103VET6 is used as a control center.Real-time operating system uC/OS-II is used.Communication modes among tasks are designed.Resources of software and hardware are managed centrally.So the performances of the system are im proved.Simple G code input is supported by the design,and the G code is programmed to realize linear and circu lar interpolation of stepping motors on NC X-Y table.So plane contour processing is finished and real-time capa bility and stability of NC table processing are further improved.
出处
《光电技术应用》
2013年第4期79-82,共4页
Electro-Optic Technology Application