簡易檢索 / 詳目顯示

研究生: 陳韋志
Chen, Wei-Jhih
論文名稱: 物聯網輔助室內環境安全系統之研究
Study on IoT-aided Indoor Environment Security System
指導教授: 陳俊達
Chen, Chun-Ta
學位類別: 碩士
Master
系所名稱: 機電工程學系
Department of Mechatronic Engineering
論文出版年: 2018
畢業學年度: 106
語文別: 中文
論文頁數: 153
中文關鍵詞: 物聯網氣體感測iBeacon定位SQLite
英文關鍵詞: Internet of Things, Gas Sensing, iBeacon Positioning, SQLite
DOI URL: http://doi.org/10.6345/THE.NTNU.DME.001.2018.E08
論文種類: 學術論文
相關次數: 點閱:222下載:7
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文主要目的是建立物聯網環境下之室內環境安全系統,此系統能遠端地監控環境中的溫度以及對人體有害之氣體濃度。如果檢測值超標,系統判定目前的環境會對人體造成危險時,系統會自動地依據使用者目前的所在位置,規劃出最近的避難路線,並呈現在使用者的行動裝置上。由於行動裝置上的GPS定位功能,無法應用在室內定位上,所以本文使用了iBeacon這項技術來實現室內定位。在環境監控模組的部分整合了溫度感測器,以及不同的氣體感測器的感測電路與通訊介面,並利用物聯網的概念,來將感測器所偵測到的數據透過Wi-Fi無線網路,上傳至雲端伺服器上的SQLite資料庫中。除此之外,本文設計了一套Android APP,它能接收來自雲端伺服器的資訊,並且能將使用者目前的所在位置顯示在行動裝置上。

    In this thesis, an indoor environment security system is established under the environment of the internet of things, which can remotely monitor the temperature and the gas concentration harmful to the human body in the environment. If the detection value is exceeded, the system determines that the current environment poses a risk to the human body and automatically plans the nearest evacuation route based on the user's current location and presents it on the user's mobile device. Because the GPS positioning function on the mobile device cannot be used in the indoor positioning, this thesis uses iBeacon technology to achieve indoor positioning. The part of environmental monitoring module is integrated the sensing circuit and the communication interface for the temperature sensor and different gas sensors, and is used the concept of internet of things to transmit data of sensor measured through the Wi-Fi wireless network to the SQLite database on the cloud server. In addition, this article designed a set of Android APP, which can receive information from the cloud server, and can show the user's current location on the mobile device.

    摘要 i Abstract ii 誌謝 iii 目錄 iv 圖目錄 viii 表目錄 xv 第一章 緒論 1 1.1 研究背景與動機 1 1.2 文獻回顧 2 1.3 研究目的 13 1.4 研究方法與步驟 14 1.5 論文架構 17 第二章 室內定位技術概述 18 2.1 室內定位技術 18 2.1.1 無線射頻識別(Radio Frequency Identification, RFID) 19 2.1.2 超寬頻(Ultra Wideband, UWB) 20 2.1.3 Wi-Fi (Wireless Fidelity) 21 2.1.4 藍牙(Bluetooth) 23 2.1.5 室內定位技術的比較 24 第三章 iBeacon之定位理論 25 3.1 i Beacon技術介紹 25 3.1.1 沿革 25 3.1.2 低功耗藍牙(Bluetooth Low Energy) 25 3.1.3 iBeacon 27 3.2 多重路徑效應 29 3.2.1 直射 29 3.2.2 繞射 30 3.2.3 反射 30 3.2.4 散射 31 3.2.5 多重路徑衰減 31 3.3 濾波器(Filter) 32 3.3.1 均值濾波器(Mean Filter) 32 3.3.2 中值濾波器(Median Filter) 33 3.4 定位演算法(Algorithms) 33 3.4.1 到達時間定位法(Time of Arrival, TOA) 34 3.4.2 到達時間差定位法(Time-Difference of Arrival, TDOA) 35 3.4.3 接收信號角度定位法(Angle of Arrival, AOA) 37 3.4.4 接收信號強度定位法(Received Signal Strength, RSS) 38 3.4.5 定位演算法的比較 40 第四章 物聯網輔助室內環境安全系統架構 41 4.1 實驗設備 41 4.1.1 溫溼度感測器 42 4.1.2 一氧化碳感測器 44 4.1.3 樹莓派(Raspberry Pi) 46 4.1.4 iBeacon 48 4.2 軟體工具 50 4.2.1 AppServ 50 4.2.2 Android Studio 53 第五章 物聯網輔助室內環境安全系統設計 55 5.1 環境監控模組之設計 55 5.1.1 溫溼度數據之測量 63 5.1.2 一氧化碳濃度之測量 65 5.1.3 將數值上傳至雲端 71 5.1.4 樹莓派的定時執行功能之設定 73 5.2 Web Server之設計 76 5.2.1 數據的儲存與顯示 76 5.2.2 FCM訊息推播機制 86 5.2.3 危機處理機制之設計 88 5.3 Android APP之設計 94 5.3.1 室內定位功能之設計 94 5.3.2 地圖顯示與路線規劃功能之設計 105 5.3.3 危機處理機制之設計 114 第六章 室內環境安全系統之驗證 120 6.1 環境監控模組的運作 120 6.2 Web Server的運作 122 6.2.1 數據的儲存與顯示 122 6.2.2 Web Server端的危機處理機制 126 6.3 Android APP的運作 127 6.3.1 地圖顯示與路徑規劃 128 6.3.2 室內定位 132 6.3.3 APP端的危機處理機制 138 6.4 系統評估 140 6.4.1 環境數據的量測 140 6.4.2 室內定位 142 6.4.3 危機處理機制 147 第七章 結論 148 參考文獻 149

    [1] 台北慈濟醫院1F 的室內平面圖。
    http://app.tzuchi.com.tw/file_tp/TPpage/FloorGuide/index.htm
    [2] Q. Chi, H. Yan, C. Zhang, Z. Pang, and L. Xu, “A reconfigurable smart sensor interface for industrial wsn in iot environment,” IEEE Transaction on Industrial Informatics, vol. 10, no. 2, 2014.
    [3] W. J. Peng, H. H. Hsu, T. K. Shih, T. W. Pai, and K. L. Man, “Smartphone Indoor Localization with Accelerometer and Gyroscope,” 7th International Conference on Network-Based Information Systems, pp. 465-469, 2014.
    [4] X. Y. Lin, T. W. Ho, C. C. Fang, Z. S. Yen, B. J. Yang, and F. Lai,” A Mobile Indoor Positioning System Based on iBeacon Technology,” 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pp.4970-4973, 2015.
    [5] A. Atabekov, M. Starosielsky, D. C. T. Lo, and J. S. He,” Internet of Things-based Temperature Tracking System,” IEEE 39th Annual Computer Software and Applications Conference, vol. 3, pp.493-498, 2015.
    [6] S. K. Josyula, D. Gupta, “Internet of Things and Cloud Interoperability Application based on Android,” IEEE International Conference on Advances in Computer Applications (ICACA), pp. 76-81, 2016.
    [7] H. D. Chon, S. Jun, H. Jung, and S. W. An, “Using RFID for accurate positioning,” Proc. International Symposium on GNSS, Sydney, Australia,December, 2004.

    [8] 黃濟寰,應用低耗電藍牙技術於室內定位之研究,國立中興大學資訊科學與工程學系碩士學位論文,2014
    [9] 七大室內定位技術PK哪種技術更適合你?
    https://kknews.cc/zh-tw/tech/2bznyr.html
    [10] Y. Zhang, W. Liu, Y. Fang, and D. Wu, “Secure localization and authentication in ultra-wideband sensors networks”, IEEE J. Select. Areas Commun. , vol. 24, no. 4, pp. 829-835, 2006.
    [11] Wi-Fi的室內定位系統應用於圖書館的研究。
    http://www.lunwenstudy.com/qbshehui/80031.html
    [12] 移動互聯網:終端、網絡與服務(上)。
    http://articles.e-works.net.cn/NetWork/Article103083_2.htm
    [13] R. Want, A. Hopper, V. Falcao, and J. Gibbons, “The Active Badge Location System,” ACM Trans. Information Systems, pp. 91-102, January 1992.
    [14] S. Thongthammacharl and H. Olesen, “Bluetooth enables In-door mobile location services,” Proc. Vehicular Technology Conference, vol. 3, pp. 2023-2027, April 2003.
    [15] L. A. Grieco, A. Rizzo, S. Colucci, S. Sicari, G. Piro, D. Di Paola, G. Boggia, “IoT-aided robotics applications: Technological implications, target domains and open issues,” Computer Communications, vol. 54, pp. 32–47, 2014.
    [16] M. Arndt, S. Wille, L. de Souza, V. F. Rey, N. Wehn, K. Berns, “Performance evaluation of ambient services by combining robotic frameworks and a smart environment platform,” Robotics and Autonomous Systems, vol. 61, pp. 1173-1185, 2013

    [17] 何賓, Cortex-M3可程式設計片上系統原理及應用,化學工業出版社, (2012)
    [18] Cypress Creator, http://www.cypress.com/products/psoc-creator
    [19] C. A. Balanis, “Advanced engineering electromagnetics,” Wiley, New York, 1989.
    [20] E. C. Jordan and K. G. Balmain, “Electromagnetic waves and radiating systems,” 2nd ed., Prentice Hall, Upper Saddle River, 1968.
    [21] P. B. Hansen, L. Eskildsen, A. J. Stentz, T. A. Strasser, J. J. DeMarco, R. Pedrazzani and D. J. DiGiovanni, “Rayleigh scattering limitations in distributed Raman pre-amplifiers,” IEEE Photonics Technology Letters, vol.10 , pp. 159-161, 1998.
    [22] T. S. Rappaport and S. Sandhu, “Radio-Wave propagation for emerging wireless personal-communication systems,” IEEE Antennas
    [23] N. C. Gallagher and G. L. Wise, “A theoretical analysis of the properties of median filter,”IEEE Transactions on Acoustics, Speech, and Signal Processing,vol. 29, no. 6, pp. 1136-1141, 1981.
    [24] B. H. Wellenhoff, H. Lichtenegger and J. Collins, "Global Positioning System: Theory and Practice,” Fouth Edition Springer Verlag, 1997.
    [25] 基於Least Squares 室內定位方法。
    https://www.gitbook.com/book/hom-wang/indoorpositioning-ls/details
    [26] P. Prasithsangaree , P. Krishnamurthy and P. K. Chrysanthis, ”On Indoor Position Location with Wireless LANs” , Proceedings of the 13th IEEE International Symposium on Personal, Indoor and Mobile Radio Communication, Vol.2, pp.720-724,2002.

    [27] P. Bahl and V. Padmanabhan, "RADAR:An In-Building RF-Based User Location and Tracking System” , In Proc. of the IEEE INFOCOM 2000,Tel-Aviv, Israel, March 2000.
    [28] Silabs Co,
    https://www.silabs.com/products/mcu/Zigbeemcu/Pages/default.aspx.
    [29] DHT22模組 數位溫濕度感測器。
    http://goods.ruten.com.tw/item/show?21407166671629
    [30] 100 to 10000ppm 可燃氣體感測模組。
    http://shop.cpu.com.tw/product/45460/info/
    [31] 樹莓派 維基百科。
    https://zh.wikipedia.org/wiki/%E6%A0%91%E8%8E%93%E6%B4%BE
    [32] 依然僅售35美元的Raspberry Pi 3規格詳解:進入64位元運算時代。
    http://www.techbang.com/posts/41689-raspberry-pi-3-detailed-specifications-entered-the-era-of-64-bit-computing
    [33] Android版AprilBeacon使用说明。
    https://blog.aprbrother.com/p/79
    [34] MySQL 超新手入門(2)資料庫概論與 MySQL 安裝。
    http://www.codedata.com.tw/database/mysql-tutorial-database-abc-mysql-installation/
    [35] 第一章、Linux是什麼與如何學習。
    http://linux.vbird.org/linux_basic/0110whatislinux.php#whatislinux_unix
    [36] SPI (Serial Peripheral Interface) 串列 (序列) 週邊介面。
    http://magicjackting.pixnet.net/blog/post/164725144-spi-(serial-peripheral-interface)-%E4%B8%B2%E5%88%97-(%E5%BA%8F%E5%88%97)-%E9%80%B1%E9%82%8A%E4%BB%8B

    [37] I2C bus 簡介 (Inter-Integrated Circuit Bus)。
    http://magicjackting.pixnet.net/blog/post/173061691
    [38] CH01 網頁開發概論。
    https://drive.google.com/file/d/0BxoRjjtYAmGnLVRwM0h6UlpvY2M/view
    [39] Building Applications with iBeacon 讀書筆記 (2)。
    http://thinkingiot.blogspot.tw/2015/03/building-applications-with-ibeacon-2.html

    下載圖示
    QR CODE