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

计算机工程 ›› 2010, Vol. 36 ›› Issue (11): 235-237. doi: 10.3969/j.issn.1000-3428.2010.11.085

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

基于领域建模的数控系统代码自动生成方法

郑建华1,朱 蓉1,李 迪2,舒兆港2   

  1. (1. 仲恺农业工程学院计算机科学与工程学院,广州 510225;2. 华南理工大学机械与汽车工程学院,广州 510640)
  • 出版日期:2010-06-05 发布日期:2010-06-05
  • 作者简介:郑建华(1977-),男,讲师、博士,主研方向:嵌入式控制系统建模及验证;朱 蓉,实验师;李 迪,教授、博士; 舒兆港,讲师、博士
  • 基金资助:
    国家自然科学基金资助项目(50875090)

Code Automatic Generation Method for Numeric Control System Based on Domain Modeling

ZHENG Jian-hua1, ZHU Rong1, LI Di2, SHU Zhao-gang2   

  1. (1. College of Computer Science & Engineering, Zhongkai University of Agriculture & Engineering, Guangzhou 510225;2. College of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510640)
  • Online:2010-06-05 Published:2010-06-05

摘要: 针对传统数控系统开发方法存在的问题,提出基于领域建模的数控系统开发方法,将领域元模型设计、模型转换、代码自动生成作为主要研究对象,介绍数控系统元模型的基于多视角的构建过程,分析数控系统代码自动生成的原理及步骤,阐述基于映射规则库及代码模板库的模型映射过程。通过三轴数控车床的设计实例,证实该方案的可行性及有效性。

关键词: 计算机数字控制, 领域建模, 元模型, 代码自动生成

Abstract: To overcome the shortcomings of traditional development method of Computer Numeric Control(CNC), a CNC development method based on domain modeling is proposed. Domain meta model design, model transformation, and code automatic generation are the key research content. The construction of CNC meta-model based on multi-view methodology is introduced and the procedure and theory of CNC system code automatic generation is analyzed. The model mapping procedure based on mapping rules library and code template library is detailed. An example of three axes CNC lathe is designed to demonstrate the feasibility and efficiency of the framework.

Key words: Computer Numeric Control(CNC), domain modeling, meta-model, code automatic generation

中图分类号: