Title :
The design and implementation of CNC system based on the circular buffer
Author :
Ding, Ge-yuan ; Li, Zhen-jia ; Sun, Wei-tang ; Xing, Jian
Author_Institution :
Sch. of Eng., Shenyang Univ. of Technol., Liaoyang, China
fDate :
June 30 2012-July 2 2012
Abstract :
To achieve a strong forward-looking control function, and to reduce the memory occupation, the paper puts forward that the buffer method should be adopted for the information exchange between the interpreter module and the motion module of the computerized numerical controller (CNC). The paper also puts forward that the linear chain structure of the CNC program buffer should be improved into the circular buffer structure to reduce the command dispatch spending for the task module. The paper has established the information exchange model between real-time modules and non-real-time modules with the shared memory. The capability of CNC system has been verified by the experiments. The test result shows that the speed of the CNC interpreter and the speed planning performance of the motion module have been improved. The efficiency of the machine tool equipped with the CNC system has been improved 5% more than before. In summary, the paper draws the conclusion that the CNC system developed with the static data structure of the circular buffer and with pointer operation to avoid the data replication contributes to improving the real-time capability of the system.
Keywords :
buffer storage; computerised numerical control; data structures; shared memory systems; CNC interpreter; CNC program buffer; CNC system; circular buffer structure; command dispatch spending; computerized numerical controller; data replication; forward-looking control function; information exchange model; linear chain structure; machine tool; memory occupation; motion module; nonreal-time modules; pointer operation; real-time capability; shared memory; speed planning performance; static data structure; task module; Computer numerical control; Educational institutions; Interpolation; Planning; Real time systems; Software; Writing; CNC system; circular buffer; information exchange; non-real-time module; real-time module;
Conference_Titel :
System Science and Engineering (ICSSE), 2012 International Conference on
Conference_Location :
Dalian, Liaoning
Print_ISBN :
978-1-4673-0944-8
Electronic_ISBN :
978-1-4673-0943-1
DOI :
10.1109/ICSSE.2012.6257243