计算机工程 ›› 2008, Vol. 34 ›› Issue (4): 250-251.doi: 10.3969/j.issn.1000-3428.2008.04.089

• 工程应用技术实现 • 上一篇    下一篇

嵌入式实时操作系统在数控系统设计中的应用

王 涛,王太勇,许爱芬,赵 丽,杨 洁   

  1. (天津大学机械工程学院,天津 300072)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-02-20 发布日期:2008-02-20

Application of Embedded Real-time Operating System in CNC System Design

WANG Tao, WANG Tai-yong, XU Ai-fen, ZHAO Li, YANG Jie   

  1. (College of Mechanical Engineering, Tianjin University, Tianjin 300072)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-02-20 Published:2008-02-20

摘要: 分析了嵌入式实时操作系统的特点,其与通用操作系统相比更适合嵌入式数控系统的设计。选用µC/OS-II并以模块化的思想设计了基于MC68F375和MCX314的嵌入式数控系统硬件平台,对软件结构进行了层次划分,以功能应用为目标对应用软件进行了模块化设计,以实时性强弱为标准对数控系统任务的优先级进行了分配,分析了系统多任务运行的调度机制,开发了TDNCL4M和TDNCL4T数控系统。

关键词: 嵌入式, 实时操作系统, 数控系统, µ, C/OS-II操作系统

Abstract: This paper analyzes the characteristics of real-time operating system. It is more suitable for the design of embedded Computer Numerical Control(CNC) system than general operating system. µC/OS-II is selected and the modular hardware platform of embedded CNC system based on MC68F375 and MCX314 is designed. The software structure is divided hierarchically. Super application software is designed modularly for the functions and applications. According to the criterion, higher PRI is distributed to tasks with stronger real time, and the dispatching mechanism of multiple tasks running is discussed. TDNCL4M and TDNCL4T numerical control systems are developed.

Key words: embedded, Real-time Operating System(RTOS), numerical control system, µ, C/OS-II

中图分类号: