簡易檢索 / 詳目顯示

研究生: 解資彥
Shieh, Zih-Yan
論文名稱: 基於邊緣計算和容器技術之智慧製造裝置及其管理平台之研發
Development of Smart Manufacturing Devices and their Management Platform based on Edge Computing and Container Technologies
指導教授: 鄭芳田
Cheng, Fan-Tien
共同指導教授: 洪敏雄
Hung, Min-Hsiung
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 製造資訊與系統研究所
Institute of Manufacturing Information and Systems
論文出版年: 2018
畢業學年度: 106
語文別: 中文
論文頁數: 66
中文關鍵詞: 智慧工廠邊緣運算容器技術智慧製造裝置雲端管理平台
外文關鍵詞: Smart Factory, Edge Computing, Container Technologies, Intelligent Manufacturing Device, Cloud-based Management Platform
相關次數: 點閱:104下載:5
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 工業 4.0 的一個核心願景是建立具備更有彈性與更有效率的製程,且能以更低的 成本製造更高質量的產品之智慧工廠。為了達到此願景,製造業有必要建置可以支持 各項製造活動的智慧製造平台。 先進製造物聯雲(AMCoT, Advanced Manufacturing Cloud of Things) 為智慧製造平台的一個範例,已經實際應用在一些製造業。在雲端, AMCoT 提供許多智能製造雲服務(包括全自動虛擬量測 AVM、智慧預測保養 IPM、 智慧良率管理 IYM 等),在工廠端,AMCoT 部署許多智慧製造裝置-虛實整合代理人 (CPA, Cyber-Physical Agent),用於提供機台資料收集與通訊的能力,並可隨需要加入 各種抽換式應用模組(PAM, Pluggable Application Module),以提供各種智慧化功能。 然而既存的 CPA 在開發與部署存在一些缺點:(1)需要事先安裝許多關鍵元件,而且 安裝過程繁瑣;(2)整合不同團隊開發的程式在 CPA 中,容易產生版本衝突;(3)無法 因應效能需求調整 PAM 所需的硬體資源;(4)並未提供負載平衡、橫向伸縮、失效轉 移等能使 CPA 強健運作的功能。因此,本論文基於邊緣運算與容器技術研發一個智 慧製造裝置(如 CPA)的快速建置機制,可以有效解決上述問題。同時,本論文也建構 一個雲端管理平台,可用於管理與持續部署智慧製造裝置。最後,本論文以在智慧製 造裝置建構兩個容器化 PAM 為研究案例,測試結果驗證了所研發系統之有效性。本 論文的研究結果可作為工廠快速建置智慧製造裝置之有用參考。

    A core vision of Industry 4.0 is to create smart factories that can enable more flexible, and more efficient processes to manufacture higher-quality goods at reduced costs. To achieve such a vision, building an intelligent manufacturing platform that can support various manufacturing activities is essential for manufacturing industries. Advanced Manufacturing Cloud of Things (AMCoT) is an example intelligent manufacturing platform that has been applied in several manufacturing industries. On the cloud side, AMCoT provides many intelligent manufacturing cloud services, including AVM (Automatic Virtual Metrology), IPM (Intelligent Predictive Maintenance), and IYM (Intelligent Yield Management). On the factory side, AMCoT deploys many intelligent manufacturing devices-CPAs (Cyber-Physical Agents), which can provide equipment with the capabilities of data collection and communication and can be added with various PAMs (Pluggable Application Modules) on demand for providing intelligent functionalities. However, the existing CPA has several shortcomings in development and deployment:(1) Many key components need to be installed into CPA beforehand, and the installation process is cumbersome and prone to errors.(2) Integrating programs developed by different teams in CPA is prone to version conflicts.(3) CPA is unable to adjust the hardware resources required by PAMs to meet performance needs.(4) CPA does not provide functions of load balancing, horizontal scaling, and failover, which are required to make CPA to function robustly. Thus, this thesis proposes a novel rapid construction scheme of intelligent manufacturing devices (e.g., CPA) based on edge computing and container technologies for resolving the abovementioned issues. Also, a cloud-based management platform is built for the management and continuous deployment of intelligent manufacturing devices. Finally, constructing two containerized PAMs in an intelligent manufacturing device is used as the case study. Testing results validate the effectiveness of the developed system. This thesis can serve as a useful reference to rapidly construct intelligent manufacturing devices for the factory.

    中文摘要 英文摘要 誌謝 摘 要 i SUMMARY ii INTRODUCTION iii MATERIALS AND METHODS v RESULTS AND DISCUSSION vii 誌謝 x 目錄 xi 表目錄 xiv 圖目錄 xv 第一章 緒論 1 1.1 研究背景 1 1.2 研究目的與研究議題 2 1.3 論文架構 9 第二章 參考文獻與技術探討 10 2.1 新一代的虛擬化技術:Docker介紹 10 2.2 微服務(Microservice)架構 12 2.3 將容器技術導入邊緣裝置的文獻介紹 12 2.4 Docker Image的基礎概念 13 2.5 管理Container的工具: Kubernetes 15 2.6 自動化腳本語言(Shell Script) 18 2.7 具版本管理能力的軟體儲存庫(GitLab)介紹 18 第三章 系統運作架構與核心元件設計 20 3.1 系統架構介紹 20 第四章 核心功能機制設計 25 4.1 CPAM Base Image結構 25 4.2 自動化之Image建置機制設計 28 4.3 容器化應用程式(Containerized App, CA)之建置機制設計 29 4.4 自動化安裝容器化應用程式之運作流程設計 30 4.5 自動化啟動容器化應用程式之運作流程設計 31 4.6 自動化更新CA的運作流程設計 32 4.7 自動化移除容器化應用程式之運作流程設計 33 4.8 容器化應用程式模組之Kubernetes物件描述樣板設計 34 4.9 容器化應用程式(CA)之自動化上傳機制設計 37 4.10 容器化CPA與容器化PAM之全廠自動佈署機制設計 39 4.11 容器化CPA之硬體資源管理機制設計 44 4.12 容器化應用程式模組之維運機制 46 第五章 系統整合測試與效能評估 50 5.1 實驗環境 50 5.1.1 硬體設備 50 5.1.2 雲端環境 50 5.2 Image的自動建置與上傳機制 51 5.3 Code Manager 53 5.4 自動化佈署機制展示(1/3):映像檔下載 55 5.5 自動化佈署機制展示(2/3):CPA叢集建置 55 5.6 自動化佈署機制展示(3/3):下載與佈署容器化應用程式 57 5.7 CPAM Manager 58 5.8 CPAM啟動測試:以BPM為例 59 5.9 自動佈署之時間統計 60 第六章 結論與未來工作 61 6.1 結論 61 6.2 未來研究 62 參考文獻 64

    [1] B. R. Haverkort and A. Zimmermann, “Smart Industry: How ICT Will Change the Game,” IEEE Internet Computing, vol. 21, no. 1, pp. 8-10, February 2017.
    [2] Y.-C. Lin, M.-H. Hung, H.-C. Huang, C.-C. Chen, H.-C. Yang, Y.-S. Hsieh, and F.-T. Cheng, “Development of Advanced Manufacturing Cloud of Thing (AMCoT)—A Smart Manufacturing Platform,” IEEE Robotics and Automation Letters, vol. 2, no. 3, pp. 1809-816, May 2017.
    [3] M.-H. Hung, Y.-Y. Li, Y.-C. Lin, C.-F. Wei, and F.-T. Cheng, “Development of a Novel Cloud-based Multi-tenant Model Creation Service for Automatic Virtual Metrology,” Robotics and Computer-Integrated Manufacturing, vol. 44, pp. 174-189, April 2017.
    [4] M.-H. Hung, C.-F. Chen, H.-C. Huang, H.-C. Yang, and F.-T. Cheng, “Development of an AVM System Implementation Framework,” IEEE Transactions on Semiconductor Manufacturing, vol. 25, no. 4, pp. 598-613, November 2012.
    [5] F.-T. Cheng, C.-A. Kao, C.-F. Chen, and W.-H. Tsai, “Tutorial on Applying the VM Technology for TFT-LCD Manufacturing,” IEEE Transactions on Semiconductor Manufacturing, vol. 28, no. 1, pp. 55-69, Feb. 2015.
    [6] F.-T. Cheng, H. Tieng, H.-C. Yang, M.-H. Hung, Y.-C. Lin, C.-F. Wei and Z.-Y. Shieh, “Industry 4.1 for Wheel Machining Automation,” IEEE Robotics and Automation Letters, vol. 1, no. 1, pp 332-339, January 2016.
    [7] Smart Machine Box Action Plan, Smart Machine Industrialization Promotion Project, Precision Machinery Research and Development Center, Taiwan, ROC, 2017.
    [8] K. Kaur, T. Dhand, N. Kumar, and S. Zeadally, “Container-as-a-Service at the Edge: Trade-off between Energy Efficiency and Service Availability at Fog Nano Data Centers,” IEEE Wireless Communications, vol. 24, no. 3, pp. 48-56, June 2017.
    [9] “工業物聯網(IIoT)之邊緣運算,”
    URL:https://outlook.stpi.narl.org.tw/index/focusnews/detail/507
    [10] C. Shi, Z. Ren, K. Yang, C. Chen, H. Zhang, Y. Xiao, and X. Hou, “Ultra-low Latency Cloud-fog Computing for Industrial Internet of Things,” IEEE Wireless Communications and Networking Conference(WCNC), pp. 1-6, April 2018.
    [11] Y.-Y. Liu, M.-H. Hung, Y.-C. Lin , C.-C. Chen , W.-L. Gao, and F.-T. Cheng, “A Cloud-based Pluggable Manufacturing Service Scheme for Smart Factory,” 2018 IEEE International Conference on Automation Science and Engineering(CASE2018), Munich, Germany, pp. 1040-1045, August 20-24, 2018.
    [12] P. Patel, M. I. Ali, and A. Sheth, “On Using the Intelligent Edge for IoT Analytics,” IEEE Intelligent Systems, vol. 32, no. 5, pp. 64-69, October 2017.
    [13] “Docker Web Site,”
    URL: https://www.docker.com/
    [14] “Docker-從入門到實踐,”
    URL: https://github.com/philipz/docker_practice
    [15] D. Bernstein, “Containers and Cloud: From LXC to Docker to Kubernetes,” IEEE Cloud Computing, pp. 81-84, Sept. 2014.
    [16] A. Khan, “Key Characteristics of a Container Orchestration Platform to Enable a Modern Application,” IEEE Cloud Computing, pp42-48, Sept./Oct. 2017.
    [17] L. D. Xu, W. H., and S. Li, “Internet of Things in Industries: A Survey,” IEEE Transactions on Industrial Informatics, vol. 10, no. 4, pp. 2233-243, January 2014.
    [18] “DevOps,” Wikipedia. June 23, 2018.
    URL: https://zh.wikipedia.org/wiki/DevOps
    [19] C. Pahl, “Containerization and the PaaS Cloud,” IEEE Cloud Computing, vol. 2, no. 3, pp. 24-31, July 2015.
    [20] D. Trihinas, A. Tryfonos, M. D. Dikaiakos, and G. Pallis, “DevOps as a Service: Pushing the Boundaries of Microservice Adoption,” IEEE Internet Computing, vol. 22, no. 3, pp.65-71, June 2018.
    [21] A. Balalaie, A. Heydarnoori, and P. Jamshidi, “Microservices Architecture Enables DevOps: Migration to a Cloud-Native Architecture,” IEEE Software, vol. 33, no. 3, pp. 42-52, March 2016.
    [22] R. Morabito, I. Farris, A. Iera, and T. Taleb, “Evaluating Performance of Containerized IoT Services for Clustered Devices at the Network Edge,” IEEE Internet of Things Journal, vol. 4, no. 4, pp. 1019-1030, June 2017.
    [23] R. Morabito, “Virtualization on Internet of Things Edge Devices With Container Technologies: A Performance Evaluation,” IEEE Access, vol. 5, pp. 8835-8850, May 2017.
    [24] “Containers and VMs Together,”
    URL: https://blog.docker.com/2016/04/containers-and-vms-together/
    [25] “Introduce to Kubernetes,”
    URL: https://www.linux.com/news/learn/chapter/intro-to-Kubernetes/2017/4/what-makes-Kubernetes-cluster
    [26] P. Chekin, “Multi-container pods and container communication in Kubernetes,” Open Cloud Digest, August 2017. URL: https://www.mirantis.com/blog/multi-container-pods-and-container-communication-in-kubernetes/
    [27] “YAML,” Wikipedia. June 23, 2018.
    URL: https://zh.wikipedia.org/wiki/YAML
    [28] “GitLab,”
    URL: https://about.gitlab.com/
    [29] C.-F. Chen, Y.-S. Hsieh, F.-T. Cheng, H.-C. Huang and S.-C. Wang, “Automatic baseline-sample-selection scheme for baseline predictive maintenance,” 2013 IEEE International Conference on Automation Science and Engineering (CASE), Aug 2013.

    下載圖示 校內:2023-09-01公開
    校外:2023-09-01公開
    QR CODE