基于.NET组件技术的可重构数控服务系统研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
数控技术是先进制造技术的重要组成部分,得到世界各国的高度重视和大力发展。目前,互联网的迅速普及和WEB技术的飞速发展推动着传统的数控系统向网络化、开放性发展。另一方面,现代数控市场的产品需求不断变化。为更好地应对迅速更新的市场需求,数控系统应具有良好的可重构性。本文在国家自然科学基金项目的资助下,以微软的.NET平台为基础,研究并实现了基于.NET组件的可重构数控服务系统。系统不仅能够集中为多台数控机床提供多种非实时性的数控服务,而且具有很好的可重构性。
     本文查阅大量的有关资料,分析了课题的重要意义和国内外与课题相关的技术的研究发展状况,然后在现有理论和技术的基础之上,创造性地提出了一种数控服务系统的可重构框架,通过在系统界面层和业务逻辑组件层之间引入控制层来实现。基于本框架开发的数控服务系统,其业务逻辑组件具有可配置、可装载的特性。在系统运行期间只需要修改配置文件,对现有组件进行重组,便可以迅速重构成一个全新的系统。
     另一方面,本文概括出一个基于WEB的数控服务系统应具有的功能模块,并详细介绍了各模块的设计方案和实现过程。其中,数控代码检错编译模块能够有效地对用户编辑的数控代码进行格式检查和编译;数控机床远程操作模块和坐标动态显示模块采用UDP协议,分别实现了数控WEB服务器向机床端DSP运动控制器发送控制指令、数控代码等信息和机床各轴坐标的动态显示;数控代码管理模块实现了数控代码的上传和下载;用户管理模块实现了对本系统用户的管理;系统日志审计模块实现了对系统运行状态以及用户操作的记录。
     最后,本文搭建了测试平台,对系统进行功能测试。测试表明,本系统能够在有保障的网络环境中同时接收多个数控用户的服务请求,为多台异构的数控机床提供稳定性高、实时性强的数控服务,并具有灵活的可重构性,符合数控加工工业需求。
NC (numeric control) technology is an important part of advanced manufacturing technology and it has received great support from many countries. At present, for one hand, with the fast popularization of the INTERNET and development of WEB technology, traditional NC systems are supposed to possess networked and open trend, for another, the fast developing market demands make the NC systems have good reconfiguration ability. A reconfigurable NC service system based on .net component is studied and realized with the financial support of national natural science foundation in this paper. The system studied can not only offer non-real time NC services for many NC machines, but also has great reconfigurable ability.
     In the paper, a lot of relative materials are searched, the grate importance and different technologies of the subject is studied. Based on the present theories and technologies, a reconfigurable framework of the NC service system is proposed creatively in the paper, the framework is realized through bringing a controlling layer between the interface layer and business logic component layer. The business logic component of the NC service system developed under the reconfigurable framework is configurable and can be loaded whenever is needed. A totally new system can be assembled if the system's configuration file modified and its components axe reorganized.
     Another main task of the paper is summarizing the main functional modules that a web based NC service system must have, and how these modules are designed and realized is described in the paper. The NC code check and compile module can check out the errors in the NC code and transform the NC code to a structure that can be understood by lower computer. Using UDP, the NC machine remote operation module and coordinate dynamic display module realize sending control instructions and NC codes to lower computers and displaying the coordinates of the NC machine's different axis respectively. The NC code management module realizes the upload and download of the NC codes. The user management module can manage the system's users. The system's log and audit module can record the system's running state and the users' operation.
     Finally, a testing platform is build in order to do functional and performance test for the system. The test shows that the system can receive many service requests from the NC users at the same time when the network's quantity can be guaranteed. The system can offer stable NC services for many different types of NC machines and can be configured flexibly, meets the demands of NC manufacturing industry.
引文
[1]陈文亮.基于Web的数控编程系统及其关键技术研究[D].南京:南京航空航天大学,2001
    [2]王云平.数控加工在传统制造业中的作用[J]_西安:陕西师范大学学报(自然科学版),2007,Vol 35:138-139
    [3]韩旭.我国高档数控系统市场前景分析[J].北京:中国集体经济,2008,(2):20-21
    [4]杨建武.国内外数控技术的发展现状与趋势[J].北京:制造技术与机床,2008,(18):57-62
    [5]余顺周.编译型数控系统及其关键技术的研究[D].哈尔滨:哈尔滨工业大学,2007
    [6]Tang Qianping,Wu Yu,Qin Guorong.A Middleware for Open CNC Architecture[C].International Conference on Automation Science and Engineering.2006:558-561
    [7]刘波,田丰,张黎黎.基于WEB的数控服务系统的研究[J].保定:电力科学与工程,2007,Vol 23(04):65-68
    [8]孙颖.可重构数控系统模块化设计与开发[D].南京:南京航空航天大学,2002
    [9]Moreau,M.A CNC model well-suited for the requirements of CNC software construction environment[J].Computers in Design,Manufacturing and Production.1993:176-181
    [10]潘华泉.可重构的ASP应用服务托管平台研究[D].青岛:中国海洋大学,2004
    [11]朱高峰.嵌入式可重构数控系统的研究[D].广州:广东工业大学,2007
    [12]Hecht,R.Kubisch,S.Michelsen,H.A distributed object system approach for dynamic reconfiguration[C].Parallel and Distributed Precessing Symposium,2006,20~(th)International
    [13]Rose J A,Gamal A,Sangiovannt-Vincenteli A.Architecture of Field Programmable Gate Grrays[J].Proceedings of IEEE,1993,81(07):1013-1029
    [14]徐敏.一种基于ARM的FPGA可重构配置方法的实现及应用[J].赣州:赣南师范学院学报,2007,(06):74-77
    [15]Wang WJ,Shen B,Wang XC.Research on dynamic reconfiguration manager's framework model in open CNC system[C].Eleventh world congress in mechanism and machine science,2004,Vol 1:1345-1349
    [16]宋敏..NET平台下基于组件的模具与质量管理系统的研究与开发[D].南京:东南大学,2004
    [17]Juval Lowy..NET组件开发(第二版,影印版)[M].南京:东南大学出版社,2006:28-40
    [18]Wang TY,Hu SG.Zhao J.Technology of redevelop and intelligent reconfiguration oriented to open CNC system[J].Advances in Materials Manufacturing Science and Technology Ⅱ.2006,(532):837-840
    [19]孙颖.可重构数控系统模块化设计与开发[D].南京:南京航空航天大学,2002
    [20]王文,王威,戴晓华等.基于COM标准的可重构数控系统研究[J].北京:计算机辅助设计与图形学学报,2001,Vol 13:718-723
    [21]徐跃,王太勇,赵艳菊等.基于ARM和DSP的可重构数控系统[J].长春:吉林大学学报(工学版),2008,Vol 38:848-851
    [22]齐继阳,竺长安,王欢.基于USB和组件技术的可重构数控系统的研制[J].北京:制造技术与机床,2007,(12):17-20
    [23]文立伟,王永章,路华等.基于开放结构控制器的可重构数控系统[J].北京:计算机集成制造系统,2003,Vol 9:1018-1022
    [24]李志毅,赵政.软件复用与COM及.NET组件技术[J].沈阳:微处理机,2006,(06):57-60
    [25]王涛.你必须知道的.NET[M].北京:电子工业出版社,2008:80-248
    [26]Storrs J,McArdle G.An XML-based configuration system for MAST PCS[J].Fusion Engineering and Design,2008,Vol 83:429-433
    [27]Sintes T.XML and software configuration[J].DR DOBBS JOURNAL,2000,Vol 25(7):55-57
    [28]Benedikt M,Koch C.XPath Leashed[J].ACM Computer Surveys,2009,Voi 41(01):36-42
    [29]Yi Faling,Xie Changsheng,Han Dezhi.Research and implementation of a new web cache strategy[J].Journal of Southeast University(English Edition).2004,Vol 20(04):448-453
    [30]刘正涛,叶传标..NET平台下自适应缓存对象替换算法[J].上海:计算机应用与软件,2009,Vol 26(01):131-133
    [31]Dino Esposito.Programming Microsoft ASENET 2.0 Core Reference[M].Microsoft Press.2005:506-518
    [32]Jesse Liberty,Dan Hurwitz.Programming ASENET[M].O'REILLY,2002:751-754
    [33]周勇达,王坚,戴毅茹.基于.NET反射的桩位布置成图系统[J].北京:机电产品开发与创新,2008,Vol 21(02):92-94
    [34]伍迷.大话设计模式.http://www.cnblogs.com/cj723/archive/2007/04/02/697431.html
    [35]周国良.网络化数控服务系统的研究和实现[D].武汉:武汉理工大学,2007
    [36]王心光.虚拟数控加工通用G代码编译器的研究[D].杭州:浙江大学,2005
    [37]HNC-21M世纪星铣削数控装置编程说明书武汉:武汉华中数控股份有限公司
    [38]赵.数控特殊编程方法研究及编译功能实现[D].上海:上海交通大学,2008
    [39]陈本源.基于嵌入式及通信技术的高性能数控系统研究[D].武汉:武汉理工大学,2007
    [40]Ambra,C.Oldknow,K.Migliorini,G.The design of a high performance modular CNC system architecture[C].Proceedings of the 2002 IEEE International Symposium On Intelligent Control,2002:290-296
    [41]Richard Blum.C# Network Programming[M].Sybex.2003:175-210
    [42]周丽娟.基于UDP协议的Socket网络编程[J].安徽:电脑知识与技术,2008,Vol 4,1867-1868
    [43]房国志,徐焱鑫,丛亮.基于.NET的B/S模式呼叫中心CRM系统的设计与实现[J].哈尔滨:哈尔滨理工大学学报,2007,Vol 12(04):33-40
    [44]李昕,常革新,崔杰.基于ADO.NET的ASP.NET页面程序[J].辽宁:辽宁工程技术大学学报,2005,Vol 25(02):250-252
    [45]朱少民.软件质量保证和管理[M].北京:清华大学出版社,2007.390-400

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700