用户名: 密码: 验证码:
基于以太网的数控系统现场总线技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前国产数控装置与伺服驱动之间的接口仍然采用“脉冲量或模拟量接口”标准,不能满足高速高精数控系统的通信要求,已经成为高档数控系统发展的主要瓶颈。而国外高档数控系统内部各模块之间的通信大都采用数字式现场总线,解决了通信瓶颈问题。但是这些现场总线多采用专用的硬件设备,技术保密,互不兼容,开发成本高。相对而言,以太网技术成熟、开放性好、兼容性强、成本低。因此将以太网技术引入数控系统,实现数控系统现场级实时通信与同步是我国下一代高档数控系统的重要研究内容,论文围绕这个主题展开以下研究。
     研究了国外主流数控系统现场总线技术的体系结构和通信协议、分析了它们用于数控系统现场总线存在的优缺点。提出了基于以太网透明模型的数控系统分级实时通信与同步体系结构。
     针对数控系统现场总线的硬实时通信和精确时间同步要求,将实时通信和同步操作结合起来,提出了一种实时通信和精确时间同步算法,在通信周期不变的基础上完成了精确时间同步功能。
     基于实时通信和精确时间同步算法,提出了一种实时通信和精确时间同步协议,并研究了总线传输及可靠性通信技术。设计了具体的实现方案,使实时通信和同步操作成为一个和谐的整体,达到互相兼顾、避免干扰和减轻负载的目的。
     提出了一种基于混合任务模型的动态现场总线调度算法,有效地解决了包含周期实时任务、非周期实时任务、非实时任务和分时任务在内的混合任务系统在现场总线中的动态多处理器实时调度问题。建立了数控系统现场总线的任务模型及任务的形式化描述,设计了基于任务层次关系和截止时间特性的优先级策略,采用添加关系的方法将分时问题转换为一般问题,设计了现场总线调度算法。通过数控系统实时通信与精确时间同步协议的调度实例对算法进行了验证,分析了算法的性能。
     开发了一种数控系统现场总线控制器及基于以太网现场总线的数控系统原型样机,对所设计的实时通信、精确时间同步协议及可靠性进行了实验验证和分析。
The pulse or analog interface standard is still used in communication between CNC (Computer Numerical Control) equipment and servos in domestic CNC systems. The behindhand standard has become the bottleneck to the development of high capability CNC system because they cannot meet the requirement of high speed and high precision. To cope with the bottleneck, most of foreign companies use fieldbus for CNC communication among the inner modules. However, these fieldbuses use special hardware equipment, which made them incompatible and high costs. Comparatively, Ethernet technology is mature, low cost and good compatibility. Therefore, the fieldbus for CNC system based on Ethernet technology is one of most important researches for the next generation CNC system. Here, the topic of“Ethernet based CNC fieldbus system”is proposed, and the research is outspread around this topic.
     Based on the study of the architecture, communication protocol of the foreign popular Ethernet based fieldbus technologies, and the analysis of the merit and demerit of these technologies, a hierarchical real-time communication and time synchronization architecture for the networked CNC system based on Ethernet/Internet is proposed.
     To cope with the hard real-time communication and precise time synchronization of the field network, an optimized real-time communication and precise time synchronization arithmetic is proposed, which can finish precise time synchronization in an un-prolonged communication cycle.
     Based on the optimized real-time communication and precise time synchronization arithmetic, a real-time communication and time synchronization protocol for CNC fieldbus system is proposed. The reliability of the protocol is studied and the solution is designed. Because the protocol gives attention to real-time communication and time synchronization synchronously, the real-time communication and time synchronization can be operated harmoniously, and the interfering and network load caused by time synchronization to the real-time communication can be reduced.
     A dynamic fieldbus scheduling arithmetic is proposed to cope with the multi-type task scheduling of CNC system, which can cope with the dynamic scheduling of the task system including cyclic real-time tasks, acyclic real-time tasks, non-real-time tasks and time slot tasks under multi-processor system. The model of the task system is set, and the model is described via formalization method. The priority is defined according to the level and deadline of task. The relation adding is used to normalize the time slot task to general task. The real-time communication and time synchronization scheduling is used as an example to explain the arithmetic and protocol, and the arithmetic is analyzed in time and space cost.
     Based on the real-time communication and time synchronization protocol, a CNC fieldbus controller is developed to control the communication and time synchronization operation, and the prototype of CNC system (called HNC-22Me) based on the real-time communication and time synchronization protocol is developed. In the last, the real-time, synchronization, and reliability of the protocol were measured and analyzed via experiments.
引文
[1] Felser M. Real-Time Ethernet-Industry Prospective. PROCEEDINGS OF THE IEEE,2005, 93( 6): 1118-1129
    [2] Janssen D,Buttner H. Ethernet takes on fieldbus technology at the device level. The Industrial Ethernet Book,2004
    [3] Decotignie J D. Ethernet-based real-time and industrial communications. Proc. IEEE Special Issue on Industrial Communication Systems,2005,93(6):1102–1117
    [4] Bello L L , Mirabella O. Design Issues for Ethernet in Automation. IEEE 2001
    [5] IEC. Digital Data Communications for Measurement and Control-Part2 :Additional Profiles for ISO/IEC 8802-3 Based Communication Networks in Real-Time Applications. IEC 61784-2. 65C/350/CD circulated for comments, 2005
    [6] Thomas G . Improving the Performance of Ethernet Networks. Intech,2000
    [7] Sink P. Eight Open Networks and Industrial Ethernet. Industrial Ethernet Association, 2001
    [8] Tanenbaum A S. Modern Operating Systems. Upper Saddle River:Prentice Hall, 1999
    [9]廖效果,刘又午,朱剑英.数控技术.武汉:湖北科学技术出版社,2000
    [10]谢经明,周祖德,陈幼平等.基于现场总线的数控系统通信环节时间特性分析.计算机集成制造系统,2003,9(4):285-288
    [11] IEEE. IEEE Standard 802.3 Part3:Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications. 2000
    [12]谢希仁.计算机网络(第四版).电子工业出版社,2003
    [13]吴涛.基于以太网技术的数控系统数字通信协议研究与实现.武汉:华中科技大学,2007
    [14] TANENBAM A S.Computer Networks. Prentice Hall International Inc,2004
    [15] ISO/IEC. Information Technology-Telecommunications and Information Exchange Between Systems-Local and Metropolitan Area Networks-Specific Requirements-Part 3: Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications. ISO/IEC 8802-3, 2001
    [16]陈磊.从现场总线到工业以太网的实时性问题研究.杭州:浙江大学,2004
    [17]范兴刚.网络控制系统中的若干通信网络实时特性研究.杭州:浙江大学,2004
    [18]冯冬芹等.基于以太网的工业控制网络实时通信模型研究.仪器仪表学报, 2005, 26(9):891
    [19]缪学勤.现场总线国际标准最新进展.电气时代, 2007, 08:2-5
    [20] IEC 61158. Digital data communications for measurement and control– Fieldbus for use in industrial control systems.2003
    [21] Modbus Organ. About Modbus. http://www.modbus.org,2007
    [22] IEC 65C/361/NP. Real-Time Ethernet: EtherNet/IP With Time Synchronization. Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [23]罗克韦尔自动化. EtherNet/IP工业以太网. http://www.gkong.com/co/rockwell/ib_content.asp?id=202758, 2007
    [24] EPSG. Ethernet Powerlink-Technology. http://www.ethernet-powerlink.org/index.php?id=6,2005
    [25] IEC 65C/352/NP. Real-Time Ethernet:Vnet/IP. Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [26] IEC 65C/353/NP. Real-Time Ethernet:TCnet (Time-Critical Control Network). Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [27] IEC 22G/132/Q, 65C/346/Q. IEC 61491 maintenance and reorganization :Questionnaire. Int. Electrotech.,2004
    [28] IEC 65C/357/NP. Real-Time Ethernet:EPA (Ethernet for Plant Automation). Proposal for a Publicly Available Specification for Real-Time Ethernet, 2004
    [29]冯冬芹,金建祥,褚健.智能工厂核心技术-EPA实时以太网.国内外机电一体化技术,2004, 6: 47-50
    [30] Feld J. PROFINET—scalable factory communication for all applications. Proc.2004 IEEE Int. Workshop Factory Communication Systems,2004, 33–38
    [31] IEC 65C/359/NP. Real-Time Ethernet:PROFINET IO. Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [32]彭杰,李秀元,应启戛. PROFINET及其同步实时通信分析.微计算机信息,2006, 22(9-1):208-210
    [33] Jansen D, Buttner H. Real-time ethernet the EtherCAT solution. Computer ControlEngineering Journal,2004, 15( 1):16–21
    [34] IEC 65C/355/NP. Real-Time Ethernet:Ethernet Control Automation Technology (ETHERCAT). Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [35] Interests group SERCOS. SERCOS-III - Innovation by Combining SERCOS interface? and Ethernet. http : //www.drivesurvey.com/features/printer.cfm ?feature_id=79, 2004
    [36] Schemm E. SERCOS to link with ethernet for its third generation. Computer Control Engineering Journal,2004, 15( 2):30–33
    [37] IEC 65C/358/NP. Real-Time Ethernet:SERCOS III. Proposal for a Publicly Available Specification for Real-Time Ethernet,2004
    [38] IEC PAS 62410. Real-Time Ethernet SERCOS III. First edition,2005,8:26–30.
    [39] IEC 61491. Electrical equipment of industrial machines– Serial data link for real-time communication between controls and drives, 2002
    [40] Luts P. Ethernet motion technology:The SERCOS Interface. The Industrial Ethernet Book,2004
    [41]缪学勤.论六种实时以太网的通信协议.自动化仪表, 2005, 26(4):3-8
    [42]叶伯生,陈吉红.新一代开放式、网络化数控系统的研究. http ://ia.newmaker.com/art_7718.html, 2007
    [43] Decotignie J D. Fieldbus and CNC architecture:towards a CNC software factory. Emerging Technologies and Factory Automation,1994:338-344
    [44] Wang L H, Orban P, Cunningham A, Lang S. Remote real-time CNC machining for web-based manufacturing. Robotics and Computer-Integrated Manufacturing, 2004, 20:563–571
    [45] Zhou Z D,Xie J M,Chen Y P,Chen B,Qiu Z M,Wong Y S,Zhang Y F. The development of a fieldbus-based open-CNC system. International Journal of Advanced Manufacturing Technology, 2004, 23:507–513
    [46] Eberle S. Adaptive Internet Integration of Field Bus Systems. IEEE Transactions on Industrial Informatics,2007,3(1): 12-20
    [47] Chen Z Y,Wang L F,Li C X, Liu Y H . The study of configuration-style CNC system based on CANBUS. The International Journal of Advanced ManufacturingTechnology,2006, 28(11-12 ): 1129-1135
    [48] Zhang C R,Wang H , Wang J K. An USB-based software CNC system .Journal of Materials Processing Technology,139(1-3):286-290
    [49] Song D P,Divoux T,Le P F. Design of the Distributed Architecture of a Machine-tool Using FIP Fieldbus. 1996 IEEE International Conference on Application-Specific Systems,Architectures and Processors,1996: 250
    [50] Raja P , Hernandez J , Ruiz L. On real time network integration in a manufacturing application. Proceedings of the IEEE Workshop on Real-Time Applications, 1993, 13: 12– 15
    [51]郇极,尹旭峰.基于数字伺服现场总线技术的开放式数控系统.中国机械工程,1999,10(10):1132-1134
    [52]闫伟国,王敏杰,王敏锐.基于以太网和TCP/IP的DNC通信技术研究.大连理工大学学报,2003, 1: 77-81
    [53]朱梅,徐鹏程.数控机床网络化传输技术.中国科技信息, 2006, 24: 48-49
    [54]严彩忠,舒志兵.一种基于以太网的交流伺服实验系统.实验室研究与探索,2007, 26(1): 65-67
    [55]马钢.一种开放式网络数控系统的开发.辽宁省交通高等专科学校学报,2006, 3: 48-49
    [56]张其林,李刚炎,吴修德.基于工业以太网的DNC通信技术研究.机床与液压,2006, 08: 204-206
    [57]张建飞,程洪,简毅.基于Windows和工业以太网的DNC通信控制系统.机械与电子.2007(5): 71-74
    [58]尹勇,周祖德,刘泉,李方敏,龙毅宏.嵌入式数控系统通信功能的实现.组合机床与自动化加工技术.2006, 2: 37-39
    [59]彭为,黄科.基于以太网的DNC系统的设计与实现.科技广场, 2006, 1: 30-31
    [60]梁志锋,解翔,唐小琦.基于工业以太网的网络数控系统设计及实现.现代制造工程, 2006, 1: 38-40
    [61]彭学文. SERCOS总线接口伺服驱动装置的开发与应用研究.华中科技大学, 2002
    [62]吴文秀,吴修德.基于工业以太网的数控机床网络控制系统.石油天然气学报,2006, 6: 803-805
    [63]毛泽平,王敏杰,蔡玉俊.基于以太网的串行机床DNC通信系统的研究.机械设计与制造, 2005,8:145-147
    [64]任义,陈欣,牛连强,陈彦军.基于以太网的数控机床通信系统研究.微计算机信息, 2005(05): 196-198
    [65]吴飞,吴华春,江征风.基于以太网的DNC系统的应用研究.机械工程与自动化, 2005,2:4-6
    [66]刘艳霞,张凡.基于ARM的100Mbit/s以太网在数控系统中的应用.微计算机信息, 2005,2:90-91
    [67]庄殿铮.基于嵌入式Internet的数控机床通信控制器的研究.组合机床与自动化加工技术,2003(11): 65-66
    [68]谢经明.基于CAN总线时钟同步机制的研究.计算机工程与应用, 2005,32:50-52
    [69]姜华等. FF高速以太网现场总线的时钟同步.计算机工程,2003,29(8):16-18
    [70]李永亮,王琨琦,王峰.并行数控系统研究.机械工程师,2005,3:29-31
    [71] Arvind K. Probabilistic clock synchronization in distributed systems. IEEE Transaction Of Parallel and Distributed Systems,1994, 5(5): 474-487
    [72] Lamport L. Time, Clocks and the ordering of events in a distributed system. Communications of the ACM, 1978, 21(7):558-564
    [73] Peter H, Dana. Global Positioning System Overview. http://www.colorado.edu/geography/gcraft/notes/gps/gps_f.html, 2007
    [74] Zhang H L et al. Analysis of Clock Synchronization in Distributed System in Network Time Protocol .Mini-Micro Systems, 2003, 24(5):831-834
    [75]贺鹏等.网络时间同步算法研究与实现.计算机应用,2003, 23(2):15-17
    [76]李明国,宋海娜.计算机时钟同步技术研究.系统仿真学报, 2002, 14(4):477-480
    [77]赵英等.网络时钟同步系统的设计.计算机应用,2004, 24(12):12-14
    [78]宋亚辉.局域网络时钟同步技术综述.仪器仪表学报,2005, 26(8)增刊:550-552
    [79]刘立月等.分布式系统时钟同步设计与实现.计算机工程,2006, 32(2):279-281
    [80]林容容.面向单向延迟测量的时钟同步技术研究.计算机工程与应用, 2005, 34:127-130
    [81]林容容等.高速网络测量系统时钟同步的研究与分析.小型微型计算机系统,2006, 27(2):219-223
    [82]张妍等. IEEE 1588在实时工业以太网中的应用.微计算机信息(测控自动化),2005, 21(9-1):19-21
    [83] IEEE 1588. IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. IEEE, 2002
    [84] IEC 61588. Precision clock synchronization protocol for networked measurement and control system. IEC, 2004
    [85] Deng Z, Liu J W S. Scheduling real-time applications in open environment. Proceedings of the 18th IEEE Real-Time Systems Symposium. IEEE Computer Society Press, 1997:308-319
    [86] Deng Z,Liu JWS,Sun J. A scheme for scheduling hard-real-time applications in open environment. Proceedings of the 9th Euromicro Workshop on Real-Time Systems. IEEE Computer Society Press,1997:191-199
    [87] Davis R. Guaranteeing X in Y:On-line Acceptance Tests for Hard Aperiodic Tasks Scheduled by the Slack Stealing Algorithm. University of York,1994, Technical Report : 231
    [88] Lehoczky J P,Thuel S. An Optimal Algorithm for Scheduling Soft-aperiodic Tasks in Fixed-priority Preemptive Systems. Proceedings of the 13th IEEE Real-Time Systems Symposium,1992: 110-123
    [89]郇极,尹旭峰.数字伺服通讯协议SERCOS驱动程序设计及应用.北京航空航天大学出版社,2005
    [90] Liu J W S. Real-Time Systems. Upper Saddle Rive:Prentice Ha11,2000
    [91] Stankovic J A, Spuri M, Ramamritham K, Buttazzo G C. Deadline Scheduling For Real-Time Systems一EDF and Related Algorithms. Boston:Kluwer Academic Publishers,1998
    [92] Nissanke N. Real time systems.New Jersey:Prentice Hall,1997
    [93] Sha L, Rajkumar R, Sathaye S. Generalized rate-monotonic scheduling theory:aframework for developing real-time systems. Proceedings of the IEEE,1994,82(1):68-82
    [94] Liu C L,Layland J W. Scheduling Algorithms for Multi-Programming in a Hard-Real-Time Environment. Journal ACM,1973, 20(1):46-61
    [95] Leung J, Whitehead J. On the complexity of fixed-priority scheduling of periodic real-time tasks. Performance Evaluation, 1982, 2:237-250
    [96] Horn W. Some simple scheduling algorithms. Naval Research Logistics Quarterly,1974, 21:177
    [97] Dertouzos M L. Control Robotics: the Procedural Control of Physical Processes. International Federation for Information Processing, 1984, 807-813
    [98] Chetto H, Chetto M. Some Results of the Earliest Deadline Scheduling Algorithm. IEEE Transaction on Software Engineering, 1989, 15(10): 1261-1269
    [99] Muntz R R, Coffman E G. Preemptive scheduling of real-time tasks in multiprocessor systems. Journal of the ACM,1970,17(2):324-338
    [100]姚鑫骅.数控实时系统调度理论与应用研究.浙江大学博士学位论文,2006
    [101]兰舟,孙世新.基于动态关键任务的多处理器任务分配算法.计算机学报,2007, 30(3):455-462
    [102]陈慧.实时宽带现场网络技术研究.电子科技大博士学位论文, 2004.
    [103] Hsueh C W, Lin K J. Schedulability Comparisons among Periodic and Distance-Constrained Real-Time Schedulers. Proceeding of the 4th International Workshop on Real-Time Computer Systems Application, 1997: 60-66
    [104] Hsueh C, Lin K J, Fan N. Distributed pinwheel scheduling with end-to-end timing constraints. Proceedings IEEE Real-Time Systems Symposium,1995:171-181
    [105] Han C C,Lin K J. Scheduling distance-constrained real-time tasks. Proceedings IEEE Real-Time Systems Symposium,1992:300-308
    [106] Kopetz H, Obermaisser R. Temporal Composability. IEE's Computing&Control Engineering Journal,2002, 13: 156-162
    [107]阳宪惠.现场总线技术及其应用.北京:清华大学出版社,1999
    [108]王邦荣,李辉,曾惟,于红梅.纠错编译码技术在JTIDS中的应用.计算机仿真,2007, 24(12):125-129
    [109] Robert J M.信息论与编码理论.北京:电子工业出版社,2004
    [110] Davicom Semiconductor. Dm9000E 32/16/8-Bit Three-In-One Fast Ethernet Controller Application Notes. Technical Reference Manual Davicom Semiconductor Inc, 2006

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

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

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