首页 | 本学科首页   官方微博 | 高级检索  
     

模型驱动在数控系统开发中的应用研究
引用本文:杜道山,李从心.模型驱动在数控系统开发中的应用研究[J].青岛大学学报(工程技术版),2005,20(3):53-59.
作者姓名:杜道山  李从心
作者单位:上海交通大学国家模具CAD工程研究中心,上海,200030
摘    要:开放式数控系统的研究已经成为目前数控系统研究的热点,模型驱动开发技术是目前软件开发研究的先进技术。为研究模型驱动技术在数控系统软件开发中的应用,作者分析了当前数控系统设计开发中的一些问题,在开放式数控系统软件常用的开发技术基础之上,采用MDD(Model-Driven Developmen)软件设计的思想和开放式模式设计软件的模型结构,分析设计了数控系统的软件开发途径,提出了判断引擎和模式转换规则库相结合的数控模式仲裁模块设计,并利用有限状态机理论、利用Matlab和Stateflow工具箱建立了工作模式仲裁模块的行为状态模型,通过Matlab Simulink仿真环境可以实现对建立的行为模型进行了验证。通过在MATLAB中调试和进行模型的有效验证,可以建立一个无逻辑错误的可执行模型,可以仿真数控系统的运行情况,检验模型是否按照期望的模式在运行。通过这种方法设计开发软件,可使描述文档的问题尽早发现,也使软件的修改更新工作变得简单易操作,而软件的开放性特征也得到了很好地体现。

关 键 词:开放式数控系统  模型驱动开发  有限状态机
文章编号:1006-9798(2005)03-0053-07
修稿时间:2005年3月8日

Application of Model-Driven Development Technology in Open CNC System
DU Dao-shan,LI Cong-xin.Application of Model-Driven Development Technology in Open CNC System[J].Journal of Qingdao University(Engineering & Technology Edition),2005,20(3):53-59.
Authors:DU Dao-shan  LI Cong-xin
Abstract:Model-driven development is an advanced technology in development of software. Open architecture is being focused in study of CNC system now. In order to introduce model-driven development technology to design of open architecture CNC system software, in this paper, some drawbacks of conventional development technology are pointed out and model-driven development technology is proposed as a new design and implementation method in study of CNC system. Adopting finite state machine theory, a behavior model of mode control supervisor including engine and operation rules library is built. The model can be checked in state flow toolbox of Matlab. The checked model can help developers design the data structure and running flow. In the end, the paper results in the software implementation of the executable model. Model-driven design and implementation method proposed in this paper for CNC system design can overcome the disadvantages of the traditional method and the system modification and debugging become much easier. At the same time, the flexibility of CNC system becomes better.
Keywords:open CNC system  model-driven development  finite state machine
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号