A software oriented CNC system based on Linux/RTLinux

作者:Ji Hua; Li Yan*; Wang Jian
来源:International Journal of Advanced Manufacturing Technology, 2008, 39(3-4): 291-301.
DOI:10.1007/s00170-007-1216-4

摘要

The software-oriented CNC is one of the ideal solutions for open architecture CNC. However, its implementation is a difficult task, especially the guarantee of system's real-time performance. In this paper, a software oriented CNC system named Lin-soft CNC, whose operating system (OS) is Linux with its real-time extension - RTLinux - was proposed and depicted. The proposed system consists of four layers: the GUI, non-real-time layer, real-time layer and driver layer. Both the system and subsystem layout are detailed, along with the relevant implementation detail, such as the hierarchy design and the data communication between layers. Furthermore, the real-time layer has been identified as the kernel of the system, in which a simple and effective strategy - rational design of data buffer and high precision period of the real-time thread - is adopted to guarantee the real-time performance. At last, the prototype controller and test results are present.