{"title":"The design and implementation of CNC system based on the circular buffer","authors":"G. Ding, Zhen-jiang Li, Weiwei Sun, Jian Xing","doi":"10.1109/ICSSE.2012.6257243","DOIUrl":null,"url":null,"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.","PeriodicalId":113116,"journal":{"name":"2012 International Conference on System Science and Engineering (ICSSE)","volume":"51 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-08-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on System Science and Engineering (ICSSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSSE.2012.6257243","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
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.