With the rapid development of computer technology, abundant software and hardwareresources have been supplied for the development of numerical control system. All the motioncontrol function of open CNC system can be fully realized by the software of PC, thefunctions of hardware can be done by software.In view of the characteristics of development of open CNC system and the researchproject of the laboratory, this paper developed an open embedded numerical control system.The system adopts software function realizing the function of motion control, this methodenhanced the stability and reliability of CNC system, and more extensible and maintainable,to make a small-scale changes will be able to meet the needs of different applications, so as toshorten the development period of CNC system, reduce the development costs. The systemmakes full use of the developing of computing speed of PC, the expanding storage capacityand the performance optimization of the operating system.The main research content of this paper includes:On the base of development status and trend of CNC system, determined the openembedded CNC system to be the research direction. Designed the architecture of theembedded CNC system, and designed the software and hardware architecture dividedly. UseARM development board as the CNC hardware platform, Linux as the operating system, sothat the software and hardware are with high stability and portability.In view of the characteristics of embedded development, on the ARM platform and Linuxsystem set up the embedded development environment, including the compiling environment,graphics base environment and the GUI environment, and completed the design anddevelopment of CNC system using Tcl/Tk and GTK.Because of the high real-time demand of motion control part of CNC system, on the basisof analyzing the Linux real-time insufficiency, discusses the methods of real-timetransforming of Linux. Aiming at the characteristics of the research platform of this paper,adopted Xenomai real-time technology to the recompile and configure the Linux kernel, andcompleted dual-core operating system of Xenomai/Linux.Completed the integral design of the CNC system, and compared the platform of CNC system which was completed in this paper with the Intel platform, tested the real-timeperformance of dual-core operating system of Xenomai/Linux, and tested the performance ofthe CNC system by running G code. |