簡易檢索 / 詳目顯示

研究生: 楊明祥
Yang, Ming-Hsiang
論文名稱: 基於LoRa、Zigbee與Wi-Fi無線通訊之空調監控系統設計與實現
Design and Implementation of Air Conditioning Monitoring System Based on LoRa, Zigbee and Wi-Fi Wireless Communication
指導教授: 廖德祿
Liao, Teh-Lu
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系碩士在職專班
Department of Engineering Science (on the job class)
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 52
中文關鍵詞: LoRa低功耗廣域網路技術Zigbee無線網路協定無線網路訊息佇列遙測傳輸閘道器
外文關鍵詞: LoRa, Zigbee, Wi-Fi, MQTT, Gateway
相關次數: 點閱:125下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 一般較有規模的企業都會需要有空調監控系統的需求,因此經常都會使用SCADA (資料採集與監視系統, Supervisory Control And Data Acquisition ) 來做為監控平台。而SCADA最常見的架構方式就是在現場端使用PLC ( Programmable Logic Controller ) 對周邊的元件做遠端控制、狀態監控及數據收集,PLC再統一傳輸資料到上層的PC主系統,並藉由PC來做資料儲存的功能。而以傳統的方式而言,當中所使用到的傳輸連接方式大部分都會以實體線路為主,因此不管是在建置或維護上都必須花費很多時間、人力及物料成本。
    本研究完成無線通訊之空調監控系統之設計與實現,在感測節點的位置採用LoRa、Zigbee及Wi-Fi無線通訊模組安裝至MCU (Micro Control Unit),且使用分散式架構,不僅可以達到縮短建置的時間,還可降低維修及除錯難度,並依照不同遠近的場域使用各自合適的無線通訊方式,再集中收集至Raspberry Pi,而此Raspberry Pi即同時安裝了LoRa及Zigbee無線通訊模組,再加上原先具備的Wi-Fi功能,可將其視為一個提供多種無線通訊介面的閘道器 (Gateway)。而以資訊安全的層面來看,當駭客想勒索一間製造商公司,則可針對其廠務監控系統做攻擊,使其癱瘓,工廠的生產一定會大受影響,因此以監控系統而言其資訊安全是必須受到重視的。為此本研究也在資料傳輸的過程中進行加密,來防止機敏資料被攔截或被獲取控制權。一般所使用的SCADA都是屬於商業軟體居多,基於低成本考量,本架構採用Node-RED開發平台建構出一個免費的使用者介面,來當作即時監看、歷史查詢及檔案管理的一個操作系統,因其屬於開源的開發平台,故以整體開發靈活度而言可以提供更廣泛的應用。

    A lot of companies that use the Supervisory Control and Data Acquisition (SCADA), and it can help companies to monitor and manage the air-condition system. The most common structure of SCADA is to use PLC (Programmable Logic Controller) on the field side to remote control, status monitoring and data collection of peripheral components. In the traditional way, most of the transmission and connection methods used are mainly based on physical lines. There is a lot of cost to build or maintain.
    First of all, this research focuses on the implementation of the wireless air-conditioning monitoring system, which uses LoRa, Zigbee and Wi-Fi wireless communication modules, and Micro Control Units (MCU) are also installed on these modules. The using of a decentralized architecture includes not only shorten the construction time, but also reduces the difficulty of maintenance and debugging.
    Furthermore, according to distances and fields, the companies use the appropriate wireless communication systems to collect the data on Raspberry Pi, which is installed with LoRa and Zigbee wireless communication modules, and already Built-in function Wi-Fi. It can be regarded as a gateway that provides multiple wireless communication interfaces. This system can protect a company’s privacy information. For example, the company can use this system to prevent a hacker attack its factory monitoring system to paralyses it. Therefore, this research also encrypts the information in the process of transmission to prevent sensitive data from being intercepted or gaining control.
    In conclusion, this study provides many organizations and companies with an alternative system on the Node-RED free development platform, which can be applied in the future with low cost and security.

    摘要 I 誌謝 VII 目錄 VIII 表目錄 X 圖目錄 XI 第一章 緒論 1 1.1 研究背景與動機 1 1.2 研究目的 2 1.3 論文架構 2 第二章 背景知識 3 2.1 空調監控 3 2.2 通訊協議 3 2.2.1 LoRa 4 2.2.2 Zigbee 5 2.2.3 MQTT 7 2.3 軟體工具 8 2.3.1 Eclipse Mosquitto 8 2.3.2 Node-RED 9 2.3.3 MariaDB 10 2.3.4 Cryptography – Fernet 11 2.4 硬體元件 14 2.4.1 Mitsubishi PLC 14 2.4.2 MCU 15 2.4.3 Wireless Communication Module 16 2.4.4 Raspberry Pi 18 第三章 系統架構設計 19 3.1 系統架構 19 3.2 硬體電路連接及設定配置 21 3.2.1 LoRa Node 21 3.2.2 Zigbee Node 22 3.2.3 Wi-Fi Node 25 3.2.4 Raspberry Pi Gateway 27 3.3 軟體運作流程 28 第四章 系統實作與結果 32 4.1 節點實現 32 4.1.1 LoRa 32 4.1.2 Zigbee 32 4.1.3 Wi-Fi 33 4.2 閘道器實現 34 4.2.1 LoRa 35 4.2.2 Zigbee 36 4.2.3 Wi-Fi 36 4.3 MQTT 傳輸加解密 37 4.4 Node-RED UI介面 38 4.4.1 即時資料 38 4.4.2 歷史資料 41 4.4.3 檔案管理 43 4.4.4 歷史警報 45 4.4.5 權限管理 45 第五章 結論與討論 49 5.1 結論 49 5.2 未來研究方向 49 參考文獻 51

    [1] K. Poulsen, "Slammer worm crashed Ohio nuke plant network," 19 Aug 2003. [Online]. Available: http://www.securityfocus.com/news/6767.
    [2] A. Zare and M. Tariq Iqbal, "Low-Cost ESP32, Raspberry Pi, Node-Red, and MQTT Protocol Based SCADA System," in 2020 IEEE International IOT, Electronics and Mechatronics Conference, 2020.
    [3] Waluyo, A. Widura and W. A. Purbandoko, “Energy-Saving in Air Conditioners Using PLC Control and the SCADA Monitoring System,” 於 ECTI Transactions on Electrical Engineering, Electronics, and Communications, 2022.
    [4] SEMTECH, "LoRa™ Modulation Basics," 2015.
    [5] Bor, Martin and Vidler, "LoRa for the Internet of Things," in EWSN '16 Proceedings of the 2016 International Conference on Embedded Wireless Systems and Networks, 2016.
    [6] Zigbee Alliance, “zigbee Specification,” 2017.
    [7] K. Gill, S.-H. Yang, F. Yao and X. Lu, "A zigbee-based home automation system," in IEEE Transactions on Consumer Electronics, 2009.
    [8] A. Tomar, "Introduction to zigbee technology," Global Technology Centre, 2011.
    [9] A. Banks and R. Gupta, "MQTT Version 3.1.1 Plus Errata 01," 10 December 2015. [Online]. Available: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/errata01/os/mqtt-v3.1.1-errata01-os-complete.html#_Table_2.5_-.
    [10] R. K. Kodali and S. Soratkal, "MQTT based home automation system using ESP8266," in 2016 IEEE Region 10 Humanitarian Technology Conference, 2017.
    [11] "Eclipse Mosquitto™ An open source MQTT broker," Eclipse Mosquitto, 2022. [Online]. Available: https://mosquitto.org/.
    [12] Light, Roger A., "Mosquitto: server and client implementation of the MQTT protocol," Journal of Open Source Software, p. 2, 2 6 2017.
    [13] R. Lea, "Node-RED: Lecture 1 – A brief introduction to Node-RED," 1 January 2016. [Online]. Available: https://noderedguide.com/nr-lecture-1/.
    [14] Y. Li and S. Manoharan, "A performance comparison of SQL and NoSQL databases," in 2013 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing.
    [15] E. Kenler and F. Razzoli, MariaDB Essentials, Packt Publishing, 2015.
    [16] Dijesh P., S. Babu and Y. Vijayalakshmi, "Enhancement of e-commerce security through asymmetric key algorithm," Computer Communications, pp. 125-134, March 2020.
    [17] S. Josefsson, "The Base16, Base32, and Base64 Data Encodings," October 2006. [Online]. Available: https://datatracker.ietf.org/doc/html/rfc4648#section-3.2.
    [18] "Raspberry Pi 4 Computer Model B," Raspberry Pi Trading, 2021.

    下載圖示 校內:2025-08-01公開
    校外:2025-08-01公開
    QR CODE