摘要
分析了基于Linux平台的电火花数控系统软件结构,提出了数控系统软件在Linux内核态和用户态同时运行的设计方案。在这种方案中操作系统同时存在Linux内核和NC核两个内核,NC核完成数控系统的实时控制功能,可以抢占Linux内核和Linux进程的处理机时间。数控系统的外围软件由多个用户进程实现,仅在NC核放弃处理机时运行。这种机制可以满足电火花系统的实时响应要求,同时外围数控软件能够获得全面的Linux系统支持。
A new EDM numerical control system based on the Linux platform that runs in both the kernel mode and the user mode is implemented. The operating system is designed with two kernels existing together-the Linux kernel and the NC kernel. The NC kernel accomplishes real-time control functions of the EDM system and can preempt the Linux kernel. The peripheral software of the EDM system, which is implemented in several user processes, will run only when the NC kernel releases the processor. This mechanism satisfies real-time response requirement of the EDM system. At the same time, other peripheral NC software can get all support provided by Linux system.
出处
《机械工程学报》
EI
CAS
CSCD
北大核心
2003年第11期136-140,共5页
Journal of Mechanical Engineering
基金
总装备部预研项目(41318.3.2.5)
哈尔滨工业大学跨学科交叉基金(HIT.MD2001.34)