| 研究生: |
施宇謙 Yu-Chien Shih |
|---|---|
| 論文名稱: |
現場總線網路精密時間同步晶片設計與實作 Design and Implementation of Precision Time Protocol Chip for Serial Fieldbus Network |
| 指導教授: | 陳慶瀚 |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
資訊電機學院 - 資訊工程學系 Department of Computer Science & Information Engineering |
| 論文出版年: | 2017 |
| 畢業學年度: | 106 |
| 語文別: | 中文 |
| 論文頁數: | 72 |
| 中文關鍵詞: | 現場總線 、時間同步 |
| 外文關鍵詞: | fieldbus |
| 相關次數: | 點閱:7 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
智慧工廠終端製造設備需整合大量且分散的感測器和致動器,透過現場總線網路進行即時控制和即時資料收集。精密時間同步為工業現場總線網路提供精密且一致的時間戳記,讓所有終端裝置得以即時且同步的運作。典型的運動控制對於時間同步誤差要求必須至少在1微秒以內,然而作為現今自動化設備主流的Modbus現場總線,因為缺乏精密時間同步機制,在分散式協同運動控制的應用上受到很大的局限。本論文參考IEEE 1588標準協定,設計一個基於Modbus協定的精密時間同步晶片,通過Modbus封包傳遞同步封包。精密時間同步除了考量到主從時鐘的時間偏移量和封包的傳輸時間延遲,還針對系統比例誤差進行修正。精密時間同步晶片整合在Modbus現場總線,透過Modbus功能碼的擴充實現系統時間同步,此一晶片每秒進行一次同步,可讓系統時間誤差達到42奈秒,可滿足工業運動控制的精密時間要求。
Smart factory cooperate with a lot and distributed sensors and actuators to realize real-time control and data collection under the fieldbus network. Precision Time Protocol(PTP) is used to synchronize clocks throughout an industrial fieldbus network. It achieves clock accuracy in the sub-microsecond range, making it suitable for motion control systems. Nowadays, Modbus is the primary fieldbus network protocol for automated industrial device. However, the industrial application of Modbus is limited in distributed cooperative motion control because of its lack of time synchronization mechanism. Therefore, we design a PTP chip for Modbus based on IEEE 1588 standard. And the synchronous packets are transmitted via Modbus packets. Besides the time offset between master clock and slave clock, PTP also takes transmission delay into account. In addition, the system error is adjusted by proportional controller. PTP chip is integrated on Modbus through the expansion of function code and it synchronize clocks of network system once per second. Time synchronization accuracy of PTP chip is up to 42 nanoseconds, it is satisfied with the industrial motion control.
[1] M. Hermann, T. Pentek, and B. Otto, "Design principles for industrie 4.0 scenarios," in System Sciences (HICSS), 2016 49th Hawaii International Conference on, 2016, pp. 3928-3937: IEEE.
[2] R. Baheti and H. Gill, "Cyber-physical systems," The impact of control technology, vol. 12, pp. 161-166, 2011.
[3] F. Xia, L. T. Yang, L. Wang, and A. Vinel, "Internet of things," International Journal of Communication Systems, vol. 25, no. 9, p. 1101, 2012.
[4] P. Waurzyniak, "Why manufacturing needs real-time data collection," Manufacturing Engineering, pp. 53-61, 2015.
[5] M. Felser, "The fieldbus standards: History and structures," Technology Leadership Day, 2002.
[6] I. Modicon, "Modicon modbus protocol reference guide," North Andover, Massachusetts, pp. 28-29, 1996.
[7] I. Standard, "11898: Road Vehicles—Interchange of Digital Information—Controller Area Network (CAN) for High-Speed Communication," International Standards Organization, Switzerland, 1993.
[8] J. Eidson and K. Lee, "IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems," in Sensors for Industry Conference, 2002. 2nd ISA/IEEE, 2002, pp. 98-105: IEEE.
[9] D. L. Mills, "Internet time synchronization: the network time protocol," IEEE Transactions on communications, vol. 39, no. 10, pp. 1482-1493, 1991.
[10] D. L. Mills, "Simple network time protocol (SNTP) version 4 for IPv4, IPv6 and OSI," 2006.
[11] T. Inc., AN-1728 IEEE 1588 Precision Time Protocol Time Synchronization Performance. Texas Inc., 2013.
[12] "IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems," IEEE Std 1588-2008 (Revision of IEEE Std 1588-2002), pp. 1-300, 2008.
[13] K. Correll, N. Barendt, and M. Branicky, "Design considerations for software only implementations of the IEEE 1588 precision time protocol," in Conference on IEEE, 2005, vol. 1588, pp. 11-15.
[14] Y. Li, K. H. Ang, and G. C. Chong, "Patents, software, and hardware for PID control: an overview and analysis of the current art," IEEE Control Systems, vol. 26, no. 1, pp. 42-54, 2006.
[15] C.-H. Chen, M.-Y. Lin, and X.-C. Guo, "High-level modeling and synthesis of smart sensor networks for Industrial Internet of Things," Computers & Electrical Engineering, vol. 61, pp. 48-66, 2017.
[16] T. Inc., DE10-Lite User Manual. Terasic Inc., 2003-2017.
[17] T. Inc., High Output RS-485 Tranceivers Datasheet. Texas Inc., 2009.
[18] M. Hermann, T. Pentek, and B. Otto, "Design Principles for Industrie 4.0 Scenarios," in 2016 49th Hawaii International Conference on System Sciences (HICSS), 2016, pp. 3928-3937.