Responsive image
博碩士論文 etd-1130116-144317 詳細資訊
Title page for etd-1130116-144317
論文名稱
Title
適用於EtherCAT之可編程即時分散式運算架構
Programmable Real-time Distributed Computing Architecture on EtherCAT
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
73
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2016-12-23
繳交日期
Date of Submission
2016-12-30
關鍵字
Keywords
分散式控制系統、自動化、可程式邏輯控制器
PLC, Automation, EtherCAT, DCS
統計
Statistics
本論文已被瀏覽 5682 次,被下載 196
The thesis/dissertation has been browsed 5682 times, has been downloaded 196 times.
中文摘要
因應近年智慧化工業的發展,為了使現有的工業生產線有更大的彈性,可以快速地根據產品的需求調整生產的流程,可編程邏輯控制器(Programmable Logic Controller)扮演了相當重要的角色,同時希望保留目前工業常用的Modbus通訊協定標準化、開放性等特性,但又需要提高通訊網路的傳輸效率以滿足因裝置數量增加且更加複雜而愈來愈高的資料傳輸量,具有擴展功能的Modbus on EtherCAT通訊協定十分適合用於需要高同步率的分散式運算系統。因此本論文針對分散式運算的控制器提出了適用於EtherCAT之分散式運算網路協定,提供了分散式運算節點的註冊、工作配置及資料交換的解決方案;此外也利用FPGA開發板從硬體到韌體實現了支援這種網路協定的分散式運算節點,並且設計了基於事件驅動導向的分散式運算節點的運算核心,是以此節點可以接受主控端的配置並且自動控制生產線上的各種設備,而這種運算核心使得節點的工作配置更加的直覺,進而大幅縮短設計生產線配置所花費的時間。本論文也實現了在Windows作業系統上執行的分散式監控平台,提供了圖形化的使用者介面,可以用簡單的描述完成每個節點的配置,同時利用WinPcap的函式庫驅動網路介面卡,用來發送及接收分散式運算網路的各種封包,實作出了節點註冊及配置等機制,也可以擷取網路資料交換的封包,進而監控各個節點的運作情形。由以上提到的適用於EtherCAT之分散式運算網路協定、分散式運算節點及分散式監控平台組成了本論文的整體架構,具有通用、高效能、易於開發的特性,降低自動控制系統的門檻,讓使用者可以投入更多資源在設計複雜的生產流程,不只達到了工業自動化,也促進了工業智慧化應用的普及。
Abstract
In response to the recent development of the intelligent industry, in order to make the existing industrial production lines have greater flexibility, and be able to adjust the production process according to the requirement quickly, PLC (programmable Logic Controller) plays a very important role. Also, we would like to reserve the standard,、openly published Modbus protocol, it is necessary to improve the communication efficiency of the communication network to meet the increasing data transmission rate due to the increase in the number of devices and the increasing complexity of the data transmission capacity. The Modbus on EtherCAT protocol with extended function is ideally suited for distributed computing systems, which require high synchronization rate. Therefore, this paper proposes a distributed computing network protocol on EtherCAT for distributed computing controllers. It provides a solution for registering、task configuration and data exchange between distributed computing nodes. In addition, a distributed computing node supporting the network protocol is implemented from the hardware to the firmware using the FPGA development board, and the computing kernel of the distributed computing node based on event-driven oriented is designed so that the node can accept the configuration from the master and automatically control the various devices on the production line, and this computing kernel makes the work of the node configuration more intuitive, and thus significantly shorten the time spent on the design of production line configuration. This paper also implements a distributed monitoring platform on the Windows operating system, provides a graphical user interface, you can use a simple description to configure each node. At the same time, we use WinPcap library to drive the network adapter to send and receive distributed computing network packets, and we implement the node registration and configuration mechanism. You can also capture the network data exchange packets, and then monitor the operation of each node. The distributed computing network protocol on EtherCAT、distributed computing nodes and distributed monitoring platforms compose the overall architecture of this paper. It is universal, high-efficient and easy to develop. It lower the effort of designing an automatic control system, allowing users to invest more resources in the design of complex production processes, not only realize the industrial automation, but also promote the application of intelligent industry.
目次 Table of Contents
學位論文審定書
摘 要  i
Abstract ii
目 錄  iv
圖 次  vii

第1章 簡介 1
1.1 研究動機 1
1.2 研究目的 2
1.3 論文架構 3
第2章 背景知識與相關研究 4
2.1 EtherCAT 4
2.1.1 EtherCAT通訊協定 4
2.1.2 EtherCAT原理與性能 6
2.1.3 EtherCAT網路拓樸 6
2.2 Modbus通訊協定 7
2.2.1 Modbus通訊 7
2.2.2 Modbus封包格式 8
2.2.3 Modbus優點與缺點 10
2.3 CANopen通訊協定 10
2.3.1 CANopen設備模型 10
2.3.2 CANopen通訊 12
2.3.3 CANopen over EtherCAT (CoE) 12
2.3.4 MoE與CoE協定比較 14
2.4 Ethernet on NIOS-II 系統設計 14
2.4.1 建立具有Ethernet功能的SOPC系統 15
2.4.2 設計驅動SOPC的應用程式 17
2.5 WinPcap 封包擷取工具 18
2.5.1 WinPcap 結構 19
2.5.2 WinPcap 功能與應用 20
2.5.3 WinPcap 基礎使用方式 20
2.6 分散式控制平台研究 22
2.6.1 工研院-EtherCAT運動控制平台(EMP) 22
2.6.2 研華科技APAX系列使用-CODESYS 23
2.6.3 泓格科技XP-8000-Atom系列使用-ISaGRAF 23
2.6.4 控制平台比較 24
第3章 可編程即時分散式運算架構 25
3.1 適用於EtherCAT之分散式運算網路協定 26
3.1.1 分散式運算網路架構 27
3.1.2 分散式運算網路協定 27
3.1.3 封包格式 30
3.2 分散式運算節點 33
3.2.1 分散式運算節點硬體設計 33
3.2.2 分散式運算節點軟體設計 35
3.3 分散式運算控制平台 40
3.3.1 工作配置表產生器 40
3.3.2 分散式監控器 45
第4章 實現成果與驗證 47
4.1 適用於EtherCAT之分散式運算網路驗證 47
4.1.1 節點註冊機制驗證 47
4.1.2 節點配置封包驗證 49
4.1.3 Modbus on EtherCAT封包 50
4.1.4 Extend Modbus on EtherCAT封包 51
4.2 分散式節點功能驗證 52
4.2.1 Modbus通訊功能驗證 52
4.2.2 節點I/O控制功能驗證 55
4.2.3 節點運算功能驗證 56
4.3 運算平台功能驗證 57
第5章 結論 59
參考文獻 60
參考文獻 References
[1] Hollands, R. G. 2008. Will The Real Smart City Please Stand Up? Intelligent, Progressive, or Entrepreneurial? [Taylor & Francis Online]
[2] Janssen, D.; Büttner, H. 2004, “Real-time Ethernet: the EtherCAT solution”, Computing & Control Engineering Journal, 15: 16–21
[3] EtherCAT Technology Group ,“EtherCAT for Factory Networking EtherCAT Automation Protocol (EAP)”
[4] EtherCAT Technology Group,” EtherCAT Communication Principles “, May 2007
[5] EtherCAT Technology Group, http://www.ethercat.org
[6] Modicon, “Modbus Protocol Reference Guide, PI–MBUS–300 Rev. J ”
[7] MODBUS Specifications and Implementation Guidelines [Online] Available: http://www.modbus.org
[8] W. Kastner, G. Neugschwandtner, S. Soucek, and H. M. Newman, “Communication Systems for Building Automation and Control”, Proceedings of IEEE, Vol. 93, Issue 6, June 2005, pp. 1178-1203.
[9] M. Rostan, “CANopen over EtherCAT – taking a CAN technology to the next level”, Proceedings of the 11th International CAN Conference, pp. 12/1-12/8, 8-9 March 2005,Rome, Italy
[10] IEC 61158-2 (Ed.4.0), Industrial communication networks - Fieldbus specifications – Part 2: Physical layer specification and service definition
[11] Terasic Technologies, “DE2-115 User Manual”
[12] “Triple-Speed Ethernet MegaCore Function User Guide”, www.altera.com
[13] “Nios II Flash Programmer User Guide” , www.altera.com
[14] Altera Corporation - University Program, August 2012, “Using Triple-Speed Ethernet on DE2-115 Boards”
[15] The WinPcap Team , “The WinPcap manual and tutorial for WinPcap 4.1.2”, http://www.winpcap.org
[16] Fulvio Risso, Loris Degioanni, “An Architecture for High Performance Network Analysis, Proceedings of the 6th IEEE Symposium on Computers and Communications (ISCC 2001)”, Hammamet, Tunisia, July 2001
[17] Jih-Ching Chiu, Szu-kai Huang, “The Distributed Control Program Generator of Microprocessor-based Environment”, July 2012
[18] Jih-Ching Chiu, Guo-Sen Lian, “The Event-table-driven Control Program Generator of Microprocessor-based Environment”, June 2011
[19] Kia Teymourian, Olga Streibel, Adrian Paschke, Rehab Alnemr, Christoph Meinel,”Towards Semantic Event-Driven Systems”,2009, IEEE
[20] D'Andrea, Raffaello, “Distributed Control Design for Spatially Interconnected Systems”. IEEE Transactions on Automatic Control , 9 September 2003
[21] Heinrich Lepers SPS-Programmierung nach IEC 61131-3 mit Beispielen für CoDeSys und STEP 7, Franzis Verlag, 2005
[22] ICP DAS, XP-8000 Series User Manual (for WES 2009/7 Based XPAC) V1.0.0, October 2016
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code