| 研究生: |
蔡亞倫 Tsai, Ya-Lun |
|---|---|
| 論文名稱: |
基於MQTT之雲端與邊緣端無人搬運車管理系統設計與實作 Design and Implementation of a Cloud and Edge-Based Automated Guided Vehicle Management System Using MQTT |
| 指導教授: |
楊竹星
Yang, Chu-Sing |
| 共同指導教授: |
謝錫堃
Shieh, Ce-Kuen |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
| 論文出版年: | 2023 |
| 畢業學年度: | 111 |
| 語文別: | 中文 |
| 論文頁數: | 80 |
| 中文關鍵詞: | 無人搬運車 、MQTT 、邊緣端 、雲端 、Kafka 、Redis |
| 外文關鍵詞: | AGV, MQTT, Edge, Cloud, Kafka, Redis |
| 相關次數: | 點閱:102 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著工業4.0的迅速發展,智慧工廠已成為熱門的工業趨勢,也是不可或缺的組成部分。現今已有許多技術被廣泛應用於智慧工廠中,例如 RFID、AI、擴增實境、工業機器人、移動機器人等。其中,無人搬運車(Automated Guided Vehicle,AGV)也是智慧工廠中的一個關鍵組件。
目前,AGV 的相關研究主要聚焦於演算法的設計與優化,例如在最短時間或最少資源內完成路徑規劃、任務分配以及車輛管理等。然而,針對 AGV 管理系統的設計與實作方面的研究相對較少。有關 AGV 管理系統的現行設計存在幾個不足之處。首先,其設計未充分考慮不同 AGV 任務的性質,例如某些任務需要快速回應,而有些任務則允許稍有延遲。其次,在系統中傳遞不同類型消息時,未考慮這些消息可能具有不同的重要程度與傳輸流量。舉例來說,有些類型的消息流量較大,而有些則較小。在處理這些消息時,有些消息即使偶爾丟失也不會對系統造成嚴重影響,但有些則必須確保準確傳遞,以避免可能引發錯誤的情況。最後,現有設計未考慮系統的可擴展性與可用性,以及擴展與縮減過程中可能造成的消息遺失。
所以本研究設計並實作一套 AGV 管理系統,並提供管理人員實時監控與操作功能,涵蓋人員權限管理、實時監控、任務發布操作以及歷史資訊查閱等功能。為了模擬真實工廠環境,我們採用腳本程式來模擬環境控制設備和 AGV 的運行。系統運行於 AWS 雲平台,並進行容器化部署。而本地端設備與伺服器的溝通,使用輕量且可靠的 MQTT 協定進行通訊。此外考慮到不同 AGV 任務對於響應速度的需求,本研究將系統架構分為邊緣端和雲端以解決此問題,然後也詳細規劃並設計了這兩個端點的架構。此外,根據不同消息的傳輸量與重要性,設計了不同種類消息的傳遞流程和方式。再來,還探討了系統的可擴展性和可用性,以應對隨著工廠規模的擴大,無人搬運車和環境控制設備需求增加所帶來的負載增加。最後,本研究還在邊緣端設計了一個架構,以解決在邊緣端架設多台 MQTT Broker 造成的問題,和動態調整 MQTT Broker 數量可能會造成的消息遺失。
最後,本研究對邊緣端和雲端的相關性能進行了壓力測試實驗,以測試系統的效能。
In the era of Industry 4.0, smart factories have become essential, incorporating technologies like RFID, AI, augmented reality, and various types of robots, including Automated Guided Vehicles (AGVs).
Currently, research on AGV focuses on algorithm design and optimization, such as completing path planning, task allocation, and vehicle management in the shortest time or with the least resources. However, research on AGV management systems is relatively scarce. The existing design of AGV management systems has several shortcomings. Firstly, the design doesn't fully consider different AGV tasks. Secondly, when transmitting different types of messages, the design doesn't consider these messages may have different levels of importance and transmission flow. Finally, the current design does not consider the scalability and availability of the system, Additionally, the potential message loss during the process of scaling up or down.
Therefore, this study designs and implements an AGV management system that provides real-time monitoring and operation functions for managers, including personnel authorization management, real-time monitoring, task release operations, and historical information inquiry. We use script programs to simulate the operation of environmental control equipment and AGVs. The system runs on AWS and is deployed using containerization. Communication between local devices and servers is achieved using the lightweight and reliable MQTT protocol. Additionally, considering the different response time requirements for different AGV tasks, this study divides the system architecture into edge and cloud sides to solve this problem and designs the architectures for both sides in detail. Moreover, we design the delivery process and method for different types of messages based on their transmission volume and importance. We also explore the system's scalability and availability to cope with the increasing demand for AGVs and environmental control equipment as the factory scales up. Finally, we design an architecture for the edge side to address the problem of setting up multiple MQTT Brokers on the edge and the potential message loss caused by dynamically adjusting the number of MQTT Brokers.
Finally, stress testing experiments are conducted to evaluate the system's performance on both the edge and cloud sides, ensuring its efficiency in real-world scenarios.
[1] H.Lasi, P.Fettke, H.G.Kemper, T.Feld, and M. Hoffmann. Industry 4.0. Business & information systems engineering, 6:239-242, 2014.
[2] J.Lee, B.Bagheri, and H.A.Kao. A cyber-physical systems architecture for industry 4.0-based manufacturing systems. Manufacturing letters, 3:18-23, 2015.
[3] J.Feng, F.Li, C.Xu, and R. Y.Zhong. Data-driven analysis for rfid-enabled smart factory: A case study. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 50:81-88, 2020.
[4] V.Paelke. Augmented reality in the smart factory: Supporting workers in an industry 4.0. environment. Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA), pages 1-4, 2014.
[5] J.Lee, H.Davari, J.Singh, and V.Pandhare. Industrial artificial intelligence for industry 4.0-based manufacturing systems. Manufacturing Letters, 2018.
[6] N.Kousi, S.Koukas, G.Michalos, and S.Makris. Scheduling of smart intra - factory material supply operations using mobile robots. International Journal of Production Research, 57:801 - 814, 2018.
[7] T.Shimmura, R.Ichikari, T.Okuma, H.Ito, K.Okada, and T.Nonaka. Service robot introduction to a restaurant enhances both labor productivity and service quality. Procedia CIRP, 2020.
[8] Y. Yang, M.Zhong, Y.M.Dessouky, and O.Adrian Postolache. An integrated scheduling method for agv routing in automated container terminals. Comput. Ind. Eng., 126:482-493, 2018.
[9] W.Wang, Y.Zhang, and R. YZhong. A proactive material handling method for cps enabled shop-floor. Robotics Comput. Inter. Manuf., 61:101849, 2020.
[10] TLe-Anh and R.M.B.M.de Koster. A review of design and control of automated guided vehicle systems. Eur. J. Oper. Res., 171:1-23, 2004.
[11] I.F.A. Vis. Survey of research in the design and control of automated guided vehicle systems. Eur. J. Oper. Res., 170:677-709, 2006.
[12] M.D.Ryck, M. Versteyhe, and F.Debrouwere. Automated guided vehicle systems, state-of-the-art control algorithms and techniques. Journal of Manufacturing Systems, 54:152-173, 2020.
[13] X Jia and M.Q.H.Meng. A survey and analysis of task allocation algorithms in multi-robot systems. 2013 IEEE International Conference on Robotics and Biomimetics (ROBIO), pages 2280-2285, 2013.
[14] C.Ai, C.Zhuang, L.Song, C.Yang, and Y.X.Guo. Agv scheduling system based on mqtt protocol. 2021 4th International Conference on Advanced Electronic Materials, Computers and Software Engineering (AEMCSE), pages 1387-1392, 2021.
[15] "openTCS: The open transportation control system". [online] Available: https://www.opentcs.org/en/index.html [Accessed: March 12, 2023].
[16] E.A.Thijssen. MQTT based communication framework for AGVs in a digital twin. Manufacturing Systems, 2021.
[17] I.Draganov and S.Stefanova. A solution for optimizing the integration of agv systems in enterprises which are using erp systems. 2020 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), pages 1-4, 2020.
[18] V.Pimentel and B.G.Nickerson. Communicating and displaying real-time data with websocket. IEEE Internet Computing, 16:45-53, 2012.
[19] "MQTT: The standard for iot messaging". [online] Available: https: //mqtt.org/[Accessed: March 12, 2023].
[20] R.A.Atmoko, R.Riantini, and M.Hasin. Iot real time data acquisition using mqtt protocol. Journal of Physics: Conference Series, 853, 2017.
[21] V.Seoane, C.García-Rubio, F.Almenáres, and C.Campo. Performance evaluation of coap and mqtt with security support for iot environments. Comput. Networks, 197:108338, 2021.
[22] C.S. Yeh, S.L.Chen, and I.C.Li. Implementation of mqtt protocol based network architecture for smart factory. Proceedings of the Institution of Mechanical Engineers, Part B: Journal of Engineering Manufacture, 235:2132 - 2142, 2021.
[23] S.L.Chen, K.M.Lee, and I.C.Li. Using mqtt iiot gateway to implement bi-direction communication manufacturing information system for smart factory.中國機械工程學刊, 41(5):585-594, 2020.
[24] D.H.M.Anh. Mesh network based on mqtt broker for smart home and iot factory. ASEAN Journal of Science and Engineering, 2021.
[25] S.Sen and A.Balasubramanian. A highly resilient and scalable broker architecture for iot applications. 2018 10th International Conference on Communication Systems &Networks (COMSNETS), pages 336-341, 2018.
[26] A. Detti, L.Funari, and N.Blefari-Melazzi. Sub-linear scalability of mqtt clusters in topic-based publish-subscribe applications. IEEE Transactions on Network and Service Management, 17:1954-1968, 2020.
[27] K.Y.Wong. Buiding a HA MOTT brokerage solution using mosquitto. PhD thesis, UTAR, 2021.
[28] P.Jutadhamakorn, T.Pillavas, V.Visoottiviseth, R. Takano, J.H.Haga, and D. Kobayashi. A scalable and low-cost mqtt broker clustering system. 2017 2nd International Conference on Information Technology (INCIT), pages 1-5, 2017.
[29] T.Rausch, S.Nastic, and S.Dustdar. Emma: Distributed qos-aware mqtt middleware for edge computing applications. 2018 IEEE International Conference on Cloud Engineering (IC2E), pages 191-197, 2018.
[30] A.E.C.Redondi, A.Arcia-Moret, and P.Manzoni. Towards a scaled iot pub/sub architecture for 5g networks: the case of multiaccess edge computing. 2019 IEEE Sth World Forum on Internet of Things (WF-IoT), pages 436-441, 2019.
[31] "Apache Kafka". [online] Available:https://kafka.apache.org [Accessed: March 12, 2023].
[32] Y.Du, M.A.Chowdhury, M.Rahman, K.C.Dey, A. W.Apon, A.Luckow, and L.B.Ngo. A distributed message delivery infrastructure for connected vehicle technology applications. IEEE Transactions on Intelligent Transportation Systems, 19:787-801, 2018.
[33] S.Hugo, B. Morin, and K.Svantorp. Bridging mqtt and kafka to support c-its: a feasibility study. 2020 21st IEEE International Conference on Mobile Data Management (MDM), pages 371-376, 2020.
[34] M.A.M'hand, A.Boulmakoul, H.Badir, and A.Lbath. A scalable real-time tracking and monitoring architecture for logistics and transport in roro terminals. In ANT/EDI40, 2019.
[35] G.M.D'silva, A.Khan, Gaurav, and S.M.S.Bari. Real-time processing of iot events with historic data using apache kafka and apache spark with dashing framework. 2017 2nd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), pages 1804-1809, 2017.
[36] "MongoDB". [online] Available: https://www.mongodb.com [Accessed: March 12, 2023].
[37] "Redis". [online] Available: https://redis.io [Accessed: March 12, 2023].
[38] "Nginx". [online] Available: https://www.nginx.com [Accessed: March 12, 2023].
[39] M.Data, M.I.Luthfi, and W. Yahya. Optimizing single low-end lamp server using nginx reverse proxy caching. 2017 International Conference on Sustainable Information Engineering and Technology (SIET), pages 21-23, 2017.
[40] R.Li, Y.Li, and W.Li. An integrated load-balancing scheduling algorithm for nginx-based web application clusters. Journal of Physics: Conference Series, 1060, 2018.
[41] X.Bao, Y.Hu, Z. Bao, H.Chen, N.Zhang, and W.Lu. Nginx-based combined dynamic and static load balancing algorithm research. 2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT), pages 122-127, 2021.
[42] "mgtt-benchmark". [online] Available: https://github.com/krylovsk/mqtt-benchmark [Accessed: March 12, 2023].
[43] "Apache Imeter". [online] Available: https://jmeter.apache.org [Accessed: March 12, 2023].
校內:2028-07-19公開