用户名: 密码: 验证码:
全开放PCNC硬件功能模块的底层通讯开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
为加快我国全开放CNC的研究步伐,缩短与国外的差距,本文针对国内在数控系统方面的研究状况,提出了全开放PCNC的设计方案,即除了要实现数控软件的开放,还应实现数控系统硬件功能模块化。
     首先,总结了开放式CNC最新研究进展和设备驱动程序的主要技术思想,详细分析WDM驱动程序的新特点、工作原理、基本结构以及其开发工具,并结合实际经验给出开发WDM驱动程序的基本流程。然后,阐述了全开放CNC基本原理和构成等,并把重点放在PCNC硬件功能模块的底层通讯的开发上,采用微软推出最新一代的WDM技术,在Windows 2000平台上为PCNC中的数字I/O模块(HY-6140数字输入卡)开发了一个WDM设备驱动程序,通过实际测试能够实时准确地读取外部的数字信号。最后,给出PCNC中各硬件功能模块协调工作与监控的设计方法,并讨论了全开放PCNC实现中的数控加工语言和机床与控制器的硬件连接两个问题。
In order to fasten the research in Open Architecture CNC in our country, and shorten the disparity with overseas, it bring forwards the scheme of PCNC of Full Open Architecture aiming at domestic research status in the field of CNC, that' s to say, not only realizing software' s open, but also modularizing these hardware-functions.
    At first, it summarizes the newest research evolvement of Open CNC and main technology ideas of device driver, and analyzes in detail new characters, working principle, basic frame and developing tools of WDM driver, and comes up with basic flow of developing WDM driver by combining practice experience. Secondly, it sets forth the basic principle and constitutes of the Full Open CNC and so on, and focuses on down-level communication of hardware-function module by using WDM technology, the newest technology developed by Microsoft Co., and develops a WDM device driver for digital I/O module(HY-6140 digital input card) in PCNC based on Windows2000, which can rapidly and correctly reads the digital signal outside from the HY-6140 digital input card through real testing. Finally it designs the method of assorting with and monitoring all kinds of hard-function modules, and discusses the problems of NC language and hard-connection between the machine and the controllers during realizing full Open Architecture PCNC.
引文
[1] 吴祖育,童劲松,陆志强.柔性自动化核心技术的展望——开放式数控系统[J].机电产品开发与创新,2000(5):16-19
    [2] 杨东勇,蒋静坪.新一代智能数控的研究现状与发展[J].组合机床与自动化加工技术,2001(7):51-55
    [3] OpenCNC Software V6.2[EB/OL]. http://www.mtsandtg.com/OpenCNCV6-2. htm
    [4] Rockwell Automation Teams with Power Automation on CNC [EB/OL]. http://www.essentialauto- mation.com/news/article.asp?article id=58
    [5] Product information Soft controls for machine tools [EB/OL]. http://www.boschrexroth.com/BosehRexroth/corporate/en/news/archiv/brc/bre PI0074 emo/index.jsp
    [6] 胡占齐,王明海等.基于可编程运动控制器的开放式数控系统[J].齐齐哈尔大学学报,2001(4):42-44
    [7] Chris Cant. Windows WDM设备驱动程序开发指南[M].机械工业出版社,2000
    [8] 尤晋元,史美林等着.Windows操作系统原理[M].机械工业出版社,2002
    [9] 雷为民,乔建中等.关于软件数控的一些基本构想[J].小型微型计算机系统,1999(2):81-87
    [10] SoftSERCANS and SERCOS interface Competency Centers[EB/OL]. http://www.sercos.com/ download/iswse.pdf
    [11] 张明亮,解旭辉,李圣怡.开放式数控体系结构的初步研究[J].中国机械工程,2001(11):1242-1245
    [12] 戴晓华,王文等.开放式数控系统研究综述[J].组合机床与自动化加工技术,2000(11):5-7
    [13] Frederick M, Proctor, James S Albus. Open Architecture Controllers. IEEE Spectrum, 1997, (6): 60-64
    [14] Wolfgang S, Peter Lutz. Enabling Open Control Systems-An Introduction to the OSACA System Platform, Robotics and Manufacturing. Volume 6, Edited by M. Jamshidi, et al., ASME Press, New York, 1996
    [15] ESPRIT Ⅲ OSACA. Open System Architecture for Controls within Automation Systems: EP6379 & EP 9115 OSACA Ⅰ&Ⅱ Final Report. Apr30,1996[EB/OL]. http://www.osaca.org/
    [16] OSACA Handbook. Basics of OSACA. Dec 1997[EB/OL]. http://www.osaca.org/osaca/_pdf/ part1. pdf
    [17] Wolfgang S, Peter Lutz. Designing Applications For An OSACA Control. Proc of the International Mechanical Engineering Congress and Exposition (The ASME Winter Annual Meeting), Dalles, Nov 16-21, 1997
    [18] OSACA Handbook. How to Develop OSACA Applications[EB/OL]. Dee 1997, http://www.osaca.org/osaca/pdf/part2.pdf
    [19] OSACA Handbook. How to Develop An OSACA Platform[EB/OL]. Dec 1997, http://www.osaca.org/osaca/pdf/part3.pdf
    [20] OSACA Handbook. Description of OSACA Implementations[EB/OL]. Dec 1997, http://www.osaca.org/osaca/pdf/part4.pdf
    [21] General Motors, Chrysler, Ford. Requirements of Open, Modular Architecture
    
    Controllers for Applications in the Automotive Industry Ver 1.1. Dec 13,1994, http://209.36.15.8/omac/Docs&NRs/omacv11. htm
    [22] OMAC UsersGroup. Business Justification of Open Architecture Control. Apr 1999, http://www.arcweb.com/omac/guidelines/BusJustV1.pdf
    [23] OMAC UsersGroup. Introduction to OMAC Users Group[EB/OL]. http://www.arcweb.com/omac/introduction.htm
    [24] OMAC API Work Group. OMAC API SET Ver O.19 (Working Document) [EB/OL]. June 1, 1998, http://www.isd.cme.nist.gov/projects/teamapi/Bibliography/omacvO19. pdf
    [25] OMAC API Work Group. The OMAC API Open Architecture Methodology[EB/OL]. June 1, 1998, http://www.isd. cme. nist. gov/projects/teamapi/ bibliography/omacapiv012.pdf
    [26] Fujita S. OSE: Open System Environment for Controller. Proc of 7th IMEC Conference: 234-244, 1996
    [27] OSE Consortium. OSEC-Ⅱ Project Technical Report[EB/Oh]. Oct 1998, http://202.234.194.3/OSEC/PDF/eng/EsumRep. PDF
    [28] Satoru Fujita, Toshio Yoshida. OSE: Open System Environment for Controller Development of an Open Architecture CNC with OSEC Specification[EB/OL]. http://202.234.194.3/OSEC/PDF/eng/eosecjimtof.pdf
    [29] Proctor, F M, Michaloski J. Enhanced Machine Controller Architecture Overview. NIST Internal Report 5331, Dec 1993
    [30] The University of Michigan Open Architecture Controller Project Group. About UM-OAC[EB/OL]. http://ercrms31. engin. umich. edu/frame. html
    [31] Jiancheng Liu, Kazuo Yamazaki. TRUE-CNC: Future Oriented and Autonomously Proficient CNC Controller Infrastructure[EB/OL]. http://ims.engr.ucdavis.edu/
    [32] John L Michaloski, Sushil Birla, Richard E Igou, et al. The TEAM API Open Architecture Methodology[EB/OL].http://www. isd. cme. nist. gov/projects/position. pdf/
    [33] TEAM Program Working Group. Areas of Research Needed For TEAM[EB/OL]. http://cewww.eng. ornl. gov/team/papers/nsf. pdf
    [34] Japan FA Open Systems Promotion Group. Distributed Manufacturing Architecture Technical Committee Report. May 1997[EB/OL]. http://www. mstc. or. jp/faopen/english/ jop-bs96. pdf http://www. china-machine. com. cn/adv technology/key tec/key item18. htm
    [35] 开放式智能化数控技术[EB/OL].http://www.china-machine.com. cn/adv technology/key tec/key item18/. htm
    [36] 史俊才.基于IPC的超声波铣削机床数控系统研制[D].大连理工大学,2001
    [37] 潘存强,王从鹤等.数控技术的新发展——开放式数控系统[J].宝钢技术,2002(4):1-4
    [38] 谢经明等.基于现场总线的开放式数控系统体系结构研究[J].华中科技大学学报,2002(4):1-3
    [39] 张运坡等.基于COM技术的开放式数控系统体系结构的研究,机械与电子,2001(5):39-40
    [40] 王立松等.可编程多轴控制器的开放式数控系统[J].计算机集成制造系统,2002(1)69-72
    [41] 何琳,许杨等.基于软件芯片库的开放式数控系统重构.机械与电子,2001(2):44-48
    [42] 王涛,迟永琳等.基于Windows NT的开放式数控系统多任务实时控制[J].机床与液压,2001
    
    (5):45-49
    [43] 李锋厚等.基于RTLinux的开放式数控系统研究[J].组合机床与自动化加工技术,2001(7):1-3
    [44]丁仕燕,韩江等.开放式数控系统软件平台的研究.机械与电子,2002(2):35-39
    [45]康存锋,陈卫福等.基于PC的开放式数控系统[J].北京工业大学学报,2001(3):375-377
    [46]MDSI Leads An Industrial Revolution in Computer Numerical Control [EB/OL]. SAL SPADA, Nov, 1998. http://www. mdsi2. com/whatsnew/arcreport. pdf
    [47]郭嵩山著.DOS内核结构分析教程[M].电子工业出版社,1996
    [48]周永利,席春红.DOS设备驱动程序浅析[J].计算机应用研究,1994(3)
    [49]薛宏涛,沈林成等.设备驱动程序编程——从DOS、Windows 3.X到Windows95[J].计算机系统应用,1998(9):55-56
    [50]Jim Boyce, Forrest Houlette等著.Windows 3.1技术内幕[M].清华大学出版社,1995
    [51]Microsoft公司著.Microsoft Windows 98 Resource Kit开发人员指南[M].北京希望电脑公司出品,1998
    [52]Microsoft公司著.Microsoft Windows NT 4.0 Workstation Resource Kit资源手册[M].科学出版社,1998
    [53]武安河,周利莉.Windows设备驱动程序(VxD与WDM)开发实务[M].电子工业出版社,2001
    [54]Art Baker著.Windows NT设备驱动程序设计指南[M].机械工业出版社,1997
    [55]HELEN CUSTER著.WINDOWS NT技术内幕[M].清华大学出版社,1993
    [56]鲜亮,马庭强.Windows下驱动程序的开发[J].重庆邮电学院学报,2000(3):80-84
    [57]Windows NT/Windows 2000/WDM Driver FAQ[EB/OL]. http://www.cmkrnl. com/faq.html
    [58]Walter Oney著. Programming the Microsoft Windows Driver Model[M]. Microsoft 公司出版, 1999
    [59]Simplify development of NT and WDM device drivers[EB/OL]. http://www. compuware. com/products/driverstudio/ds/dworks. htm
    [60]DriverWorks Object Model[EB/OL]. http://www.compuware.com/products/driverstudio/ds/dworks.htm
    [61]杨波,戴路等.基于Windows 9x/NT及2000下中断驱动程序的统一化处理[J].电子技术应用,2001(1):16-18
    [62]Numega DriverStudio Release 2.5.Using DriverWorks,9,2001.
    [63]张敏,王晓明.WDM驱动程序构造的若干方法及实例[J],计算机工程与设计,2003(3)
    [64]李佳等.数控机床与应用[M].清华大学出版社,2001
    [65]严爱珍,李宏胜.机床数控原理与系统[M].机械工业出版社,1999
    [66]傅桂龙等.基于PC的开放式数控系统实现方法[J].计算机应用,2001(1):45-47
    [67]刘爱林,肖跃加等.基于WIN95/NT的开放式数控系统[J].机械与电子,1999(4):32-34
    [68]孙勇,张东亮,基于Windows95/NT的开放式数控系统实时性分析[J].机械与电子,2000(1):43-45
    [69]侯方,游有鹏.Windows95/98下实时系统的实现[J].机械与电子,2001(2):9-11
    [70]Microsoft. Microsoft Windows 2000 DDK Documentation, 2000
    [71]邢志刚,翁茂平.Windows2000驱动程序开发[J].微型电脑应用,2001(3):63-66
    
    http://www. sercos. com/download/iswse. pdf
    [72] 严仪健,王钧等.Windows驱动程序设计[J].微型机与应用,2001(8):12-15
    [73] 阳代平,陈幼平等.基于Windows/NT环境下的数控系统驱动程序的研究与开发[J].机械与电子,1999(5):8-10
    [74] 张敏,王晓明.基于Windows 2000的开放式数控系统中WDM驱动程序的开发[J].组合机床与自动化加工技术,2002(11):52-55
    [75] 刘锐岗,董秀珍等.基于Windows2000WDM模型的AD板采样驱动程序的设计[J].计算机应用研究,2000(8):96-98
    [76] 张龙.ISA数据采集卡的WDM驱动程序实现[J].计算机应用,2001(11):20-23
    [77] 原晶,周真等.数据采集系统中WDM设备驱动程序的开发[J].哈尔滨理工大学学报,2001(5):68-71
    [78] MDSI Awarded Third U.S. Patent for its Machine Control Software [EB/OL]. http://www. mdsi2. com/whatsnew/releases/MDSI%20Awarded%20Third%20Patent. htm
    [79] OPEN CNG (MDSI) & EMS SOFTWARE About OPENCNC[EB/OL]. http://www. tecumsehindia. com/cadem/events. html
    [80] Tri-Phase Automation: Manufacturing Data Systems (MDSI) [EB/OL]. http://www. tri-phase. com/manufacturer/mdsi. shtml
    [81] Questions & Answers[EB/OL]. http://www. pettigrewinc. com/Q&A1. html
    [82] Background [EB/OL]. http://www. mdsi2. com/whoweare/bkgmdsi. htm#anchor19878
    [83] Open-Architecture CNC Closes Servo Loop In Software[EB/OL]. http://www. mmsonline. com/articles/O797scan2. html
    [84] Achieving Hard Real-Time for CNC on Windows NT[EB/OL]. http://www. mdsi2. com/products/MDSIRealTimeCNC. htm
    [85] OpenCNC Software Architecture[EB/OL]. http://www. mdsi2. com/images/DataS. Arch%20Nov02%20web. pdf
    [86] OpenCNC Application Programming Interface[EB/OL]. http://www. mdsi2. com/images/DataS. 5.0%20API. pdf
    [87] OpenCNC SOFTWARE CNC[EB/OL]. http://www. mdsi2. com/images/OpenCNCbrochure%20. pdf
    [88] OpenCNC Unbundled Software CNC[EB/OL]. http://www. sercos. com/download/mdsise. pdf
    [89] 雷为民.“软件数控”体系结构及机床智能控制实现技术研究[D].中国科学院沈阳计算所,1999
    [90] 插入STEP NC[EB/OL]. Mark Albert. 2002, 10 http://www. industrysourcing. com/artiles/S-MW/0210/cutting3. htm
    [91] 简介[EB/OL]. http://www. cstep. com/overview/overview. htm
    [92] STEP Tools 公司召开了“超级模型” 工业评审委员会第二次会议[EB/OL]. http://www. hisensecad. com/News/200005/5021. htm
    [93] 康存锋,陈卫福等.基于SERCOS技术实现高速高精度运动控制[J].制造技术与机床,2002(6):8-10
    [94] 郇极.CNG系统数字伺服接口协议SERCOS[J].机械工业自动化,1997(2):33-35
    [95] 郇极,开放式数控系统的数字伺服接口和通讯协议[J].中国机械工程,1998(5):20-23
    
    
    [96] Comparison of Drive and Controller Architecture[EB/OL]. May 29, 1998 http://www.motionvillage.com/welcome_center/articles/sercos.html
    [97] DeviceNet现场总线讲座第二讲DeviceNet总线技术(一).低压电器,2000(3):59-62
    [98] DeviceNet现场总线讲座第三讲DeviceNet总线技术(二).低压电器2000(4):59-62
    [99] Rockwell Automation. DeviceNet System Overview (Catalog No. DN) Version 1. Dec 1997, http://www. ab. com/manuals/cn/ dn215. pdf
    [100] Rockwell Automation. DeviceNet Product Overview. http://www. ab. com/manuals/cn/dn25. pdf
    [101] USB 综述(上) [EB/OL]. http://www. asuslife. com/hardware/Hw-Basie/ieee139402111202:htm
    [102] USB世界一瞥——高速需求与落后的接口规范[EB/OL].乌云,2002,10 http://hardware.pchome.net/2002/10/19/4063.htm
    [103] USB2.0带来了什么——坚强的竞争对手——IEEE 1394[EB/OL].乌云,2002,10 http://hardware.pchome.net/2002/10/21/4066 3.htm
    [104] 了解USB与IEEE1394——两种接口的特性和差别[EB/OL].TIANYIx.2001,9 http://hardware.pchome.net/2001/9/14/4052.htm
    [105] IEEE1394(FireWire)全接触[EB/OL].2002,11

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

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

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