簡易檢索 / 詳目顯示

研究生: 曾元均
Yuen-Jun Zeng
論文名稱: 使用 Node-RED之工業物聯網設計與實作
Design and Implementation of IIoT Using Node-RED
指導教授: 李維楨
Wei-chen Lee
口試委員: 查士朝
Shi-Cho Cha
梁書豪
Shu-Hao Liang
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 82
中文關鍵詞: 工業物聯網開放平台通訊統一架構樹莓派即時監控
外文關鍵詞: Node-RED, OPC UA
相關次數: 點閱:359下載:12
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著物聯網技術的發展,其應用層面也日益廣泛。現今物聯網技術已擴及各行各業,其中也包括了應用於工業製造領域的工業物聯網,其透過感測器、網際網路、巨量資料收集及分析等技術整合,進而有效提高現有產業的生產效率並創造新商機。

    由於廠區中不同製造商生產的設備通常採用不同的通訊協議,要使它們進行通訊整合需要編寫大量的通訊程式,使得製造業要 自行創建廠區的工業物聯網架構相當困難。本研究使用樹莓派作為物聯網架構中的閘道器,透過乙太網將廠區中所有設備連接起來,使用 Node-RED以各種通訊協定與不同加工機臺控制器及感測器建立資料交換 並對資料進行處理製作成可視化圖表顯示在創建的人機介面網站上或存至SQLite資料庫中以備後續分析。

    為了驗證此系統的可行性,本研究實際將前述的系統架構實施在台灣科技大學工業 4.0中心中,連接設備包含使用OPC UA通訊協定的西門子 Sinumerik 840D sl控制器、發那科 0i Tf控制器與使用Modbus通訊協定的AH500 PLC及各電能感測器。並運用從設備取得的資訊製作了有價值的可視化圖表,能夠進行分析並提供管理人員進行更準確的判斷以減少能源的損耗。


    With the development of the Internet of Things (IoT) technology, the application of IoT is increasingly extensive.The IoT technology integrates techniques such as sensors, the Internet, and big data analytics, thereby effectively improving the productivity of industries. Nowadays, IoT technology has gradually penetrated various sectors in the industry.

    Since the equipment produced by different manufacturers usually adopts different communication protocols, it is necessary to work with many protocols in a workshop for communication, making it difficult for the manufacturing industry to implement the IoT structure of the factory. The objective of this research was to use the low cost Raspberry Pi and open source Node Red to realize an IoT that small and medium sized enterprises can use. The IoT architecture can connect many devices, machine tool controllers, and sensors through various communication protocols and illustrate the data in charts of the human machine interface or stored in the SQLite database for subsequent analysis.

    To verify the feasibility of this system, we implemented it in the Industry 4.0 Center of the National Taiwan University of Science and Technology. We used the OPC UA communication protocol in Node RED to connect Siemens Sinumerik 840D sl controller and Fanuc 0i Tf controller and used Modbus/TCP to communicate with Delta PLC AH500. Various charts were created to visualize data, which can then be analyzed to provide more information, such as the availability of the machines and the power usage of the building.

    第1章 緒論 1 1.1 前言 1 1.2 研究動機 1 1.3 文獻探討 2 1.4 研究目的 4 第二章 相關技術介紹 5 2.1 物聯網技術 5 2.1.1 工業物聯網 6 2.2 物聯網閘道器 7 2.3 工業常用通訊協定 8 2.3.1 開放平台通訊統一架構(OPC UA) 8 2.3.2 Modbus通訊協定 11 第三章 實驗設備與架構 14 3.1 硬體設備 14 3.1.1 閘道器設計 14 3.1.2 連線設備 15 3.2 連線軟體 18 3.2.1 Node-RED編程軟體 19 3.2.2 OPC UA連線測試軟體UaExpert 24 3.3 連線架構 27 第四章 聯網設備連線設定 30 4.1 Sinumerik 840D控制器OPC UA連線設定 30 4.2 UaExpert連線測試 32 4.3 以Node-RED建立OPC UA連線 33 第五章 物聯網功能開發 35 5.1 Sinumerik 840D sl控制器 35 5.1.1 人機介面功能規劃 35 5.1.2 讀取機台NC變量、PLC參數 36 5.1.3 寫入機台PLC點位 39 5.1.4 CALL OPC UA 方法 40 5.2 AH500可程式邏輯控制器 44 5.2.1 讀寫PLC點位數值 45 5.3 擷取資料應用 49 5.3.1 建立資料可視化 49 5.3.2 資料庫存取設定 50 5.3.3 通知設定 51 5.4 小結 53 第六章 研究結果與討論 55 6.1 CT-350五軸加工機 55 6.1.1 遠端人機介面 55 6.1.2 機台使用狀況dashboard 57 6.2 AH500 可程式邏輯控制器 60 6.3 場域資訊dashboard 62 6.3.1 工具機用電資訊 63 6.3.2 設備用電比較 63 第7章 結論與未來展望 65 7.1 結論 65 7.2未來展望 65 參考文獻 67

    [1]J. Manyika et al.,"The Internet of things Mapping the value beyond the hype,"
    [2]P. Anand, V. L. Philip, and P. Eswaran, "Cost Effective Digitalization Solution for Sinumerik CNC System To Increase The Transparency and Utilization of The Machine," International Journal of Recent Technology and Engineering, vol. 8, no. 2, pp. 6-13, 2019.
    [3]Y. Guo, Y. Sun, and K. Wu, "Research and development of monitoring system and data monitoring system and data acquisition of CNC machine tool in intelligent manufacturing," International Journal of Advanced Robotic Systems, vol. 17, no. 2, pp. 1-12, 2020.
    [4]袁廣超、鮑勁松、鄭小虎, "基於MTConnect切削過程的在線實時監控方法,"東華大學學報, vol. 43, pp. 503-509, 2017.
    [5]G. M. Martinov, P. A. Nikishechkin, A. A. Khoury, and A. Issa, "Control and remote monitoring of the vertical machining center by using the OPC UA protocol," IOP Conference Series: Materials Science and Engineering, vol. 919, no. 3, 2020.
    [6]李維楨、鐘俊輝、劉孟昆、郭重顯、項天瑞、楊朝龍、羅乃維, "機械工廠內之異質機臺連網整合與應用," 科儀新知, vol. 221, pp. 26-34, 2019.
    [7]黃李炳、江先志, "基於OPC UA的數控機床聯網適配器設計與研發,"製造業自動化,vol.38, pp. 64-79, 2016.
    [8]王弘揚、肖威、孫雲輝、向旺、揚洋, "OPC UA與Node-red技術在IOT2040物聯網網關的應用," 製造業自動化, vol. 40, pp. 58-60, 2018.
    [9]D. Newman, M. Parto, K. Saleeby, T. Kurfess, and A. Dugenske, "Development of a Digital Architecture for Distributed CNC Machine Health Monitoring," Smart and Sustainable Manufacturing Systems, vol. 3, no. 2, pp. 68-82, 2019.
    [10] B. Siddhartha, A. P. Chavan, G. K. Hd, and K. N. Subramanya, "IoT Enabled Real-Time Availability and Condition Monitoring of CNC Machines," presented at the 2020 IEEE International Conference on Internet of Things and Intelligence System (IoTaIS), 2020.
    [11]盧志遠、馬鵬飛、肖江林、王美清、唐曉青, "基於機床信息的加工過程刀具磨損狀態在線監測," 中國機械工程, vol. 30, pp. 220-225, 2019.
    [12]Y. He, P. Wu, Y. Wang, F. Tao, and B. K. K. Hon, "An OPC UA based framework for predicting energy consumption of machine tools," Procedia CIRP, vol. 90, pp. 568-572, 2020.
    [13]B. Edrington, B. Zhao, A. Hansel, M. Mori, and M. Fujishima, "Machine Monitoring System Based on MTConnect Technology," Procedia CIRP, vol. 22, pp. 92-97, 2014.
    [14]L. Khichadi, S. G. Kumar, and K. Nagamani, "Building a Cloud Solution for Energy Management using Raspberry Pi," presented at the 2019 International Conference on Communication and Electronics Systems (ICCES), 2019.
    [15]W. Mahnke, S. H. Leitner, and M. Damm, OPC Unified Architecture. Springer, 2009.
    [16]SIEMENS, SINUMERIK 840Dsl/828DSINUMERIK Access MyMachine/OPC UA. 2018.
    [17]SIEMENS, SINUMERIK 840D sl NC variables and interface signals. 2017.
    [18]G. Thomas, "Introduction to the Modbus protocol," Contemporary Control, vol. 9, no. 4, pp. 1-4, 2008.
    [19]U. Automation, UaExpert user manual. 2020.
    [20]DELTA, DELTA_IA-PLC_AH Motion Controller_OP. 2017.

    QR CODE