The design and implementation of CNC system based on the circular buffer

G. Ding, Zhen-jiang Li, Weiwei Sun, Jian Xing
{"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.
基于圆形缓冲器的数控系统的设计与实现
为了实现强大的前向控制功能,同时减少对内存的占用,本文提出了数控系统的解释器模块与运动模块之间的信息交换应采用缓冲器的方法。提出将数控程序缓冲器的线性链结构改进为圆形缓冲器结构,以减少任务模块的命令调度开销。本文建立了基于共享内存的实时模块与非实时模块之间的信息交换模型。通过实验验证了数控系统的性能。测试结果表明,数控解释器的速度和运动模块的速度规划性能都得到了提高。安装数控系统后,机床的工作效率比以前提高了5%以上。综上所述,本文得出结论,采用圆形缓冲区的静态数据结构和指针操作来避免数据复制有助于提高系统的实时性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书