摘要
文章以电火花(EDM)数控设备为例,分析了基于Linux平台的数控嵌入(式)系统软件结构,提出了数控嵌入(式)操作系统的一种设计方案。该系统以PC机为硬件平台,数控嵌入式操作系统中同时存在Linux内核和NC核两个内核。NC核完成数控设备的实时控制功能,并可以抢占Linux内核和Linux进程的处理机时间, Linux内核和Linux进程仅在NC核放弃处理机时运行,从而实现了对EDM数控设备的强实时控制;同时,运行在用户态的外围数控软件可以获得所有Linux系统的支持。
This paper presents a new design of numerical control (NC)——oriented embedded operating system (OS) NC-Linux. It analyzes the software structure of numerical control embedded system (NCES) for the electron discharge machining (EDM), which is based on the Linux platform. The NCES is designed with two kernels existing togetherthe Linux kernel and the NC kernel. The NC kernel can preempt the Linux kernel. In other words, the Linux kernel and processes will run only when the NC kernel releases the processor. By applying this mechanism, EDM NC equipment can achieve the guaranteed real-time support. At the same time, other NC software that runs in the user mode can get all support of Linux system.
出处
《计算机工程》
CAS
CSCD
北大核心
2004年第4期142-144,共3页
Computer Engineering
基金
总装备部预研资助项目
尔滨工业大学跨学科交叉基金资助项目(HIT.MD2001.34)