作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (12): 238-241. doi: 10.3969/j.issn.1000-3428.2010.12.083

• 工程应用技术与实现 • 上一篇    下一篇

数控系统中模块间通信方法的设计与实现

高甜容1,2,于 东2,秦承刚1,2,胡 毅1,2,岳东峰2,3   

  1. (1. 中国科学院研究生院,北京 100039;2. 中国科学院沈阳计算技术研究所高档数控国家工程研究中心,沈阳 110171;3. 中国科学技术大学计算机科学与技术学院,合肥 230027)
  • 出版日期:2010-06-20 发布日期:2010-06-20
  • 作者简介:高甜容(1985-),女,硕士研究生,主研方向:数控技术,软件体系结构;于 东,研究员、博士、博士生导师;秦承刚,博士研究生;胡 毅,博士;岳东峰,博士研究生
  • 基金资助:

    国家科技支撑计划基金资助项目(2007BAP20B01);中国科学院知识创新工程重要方向基金资助项目(KGCX2-YW-119)

Design and Implementation of Inter-module Communication Method in NC System

GAO Tian-rong1,2, YU Dong2, QIN Cheng-gang1,2, HU Yi1,2, YUE Dong-feng2,3   

  1. (1. Graduate University of Chinese Academy of Sciences, Beijing 100039;2. National Engineering Research Center for High-End CNC, Shenyang Institute of Computer Technology, Chinese Academy of Sciences, Shenyang 110171; 3. School of Computer Science & Technology, University of Science and Technology of China, Hefei 230027)
  • Online:2010-06-20 Published:2010-06-20

摘要:

研究采用基于国产CPU龙芯的数控系统,针对现有模块间通信方式自身不能同步多进程读/写的问题,提出一种将先进先出方式与共享内存相结合的高效通信方法,并基于此方法重新设计通信方案,对数控系统通信平台进行优化。实验结果证明该方法减少了通信双方握手过程中的轮询监测操作,提高了数控系统模块间的通信性能。

关键词: 模块间通信, 共享内存, 先进先出, 数控系统

Abstract:

Based on the study of Numerical Control(NC) system with homemade CPU Loongson and aiming at the problem of existing inter-module communication method that it can not synchronize multi-process read/write itself, this paper proposes an efficient method to integrate First In First Out(FIFO) and shared memory. It redesigns communication scheme to optimize the communication platform in NC system. Experimental results show that the method can avoid polling and monitoring new data and improve the performance of inter-module communication in NC system.

Key words: inter-module communication, shared memory, First In First Out(FIFO), Numerical Control(NC) system

中图分类号: