簡易檢索 / 詳目顯示

研究生: 葉紹宇
Yeh, Shao-Yu
論文名稱: 基於 LoRaWAN 之穿戴式感應器研製與應用
On the Design and Implementation of LoRaWAN-based Wearable Sensors with Applications
指導教授: 黃能富
Huang, Nen-Fu
口試委員: 陳俊良
Chen, Jiann-Liang
許健平
Sheu, Jang-Ping
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2019
畢業學年度: 107
語文別: 英文
論文頁數: 52
中文關鍵詞: 物聯網智慧校園穿戴式裝置物聯網平台
外文關鍵詞: IoT, Smart Campus, Wearable Sensors, IoT Platform
相關次數: 點閱:3下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 近年來為了提倡智慧校園,清華大學開發了多種基於 LoRa 與 NB-IoT 的多
    功能、智慧型穿戴式裝置。我們開發的這個穿戴式裝置可以運用在許多不同的場
    景,例如:「監測籃球場的使用狀況、追蹤校園流浪狗的所在位置、監測校園中洗
    衣機的使用頻率...等等」。並藉由自行開發的 IoT 平台,把數據完整地呈現出來。

    在這篇論文中,我們開發的這套穿戴式裝置具有低功耗藍芽、GPS、三軸加
    速度計與 LoRa 通訊模組。我們佈署這些裝置在不的應用場景(例如籃球場、體育
    館、校園公車)我們會去監控籃球場、健身器材的使用狀況;在校園巴士方面我們
    就可以即時去定位追蹤。這個穿戴式裝置每個元件的功能如下:首先使用 BLE MCU
    去控制整個穿戴式裝置並蒐集感應模組回傳的資料;第二點,使用三軸加速度計
    去感知周圍震動的發生;第三點,我們使用 SONY 的 GPS 模組去取得目前位置。最
    後,蒐集完資料後使用 LoRa 通訊模組傳送到基地台。當料傳送到雲端後,我們使
    用 Laravel 框架建立一套 IoT 平台,把雲端數據蒐集下來、用多種圖表去分析。
    最後,我們希望透過這套系統可以讓學生充分使用學校現有的教學資源;另一方
    面,透過位置定位與跌倒偵測,希望可以加強社會上老人的生活安全。


    To advocate smart campus, National Tsing Hua University is developing several
    wearable sensors based on wireless communications technologies including LoRa and
    NB-IoT. These devices deployed in various scenarios such as monitoring the usage of a
    basketball court on campus, location management of stray dogs on campus and so on.

    In this thesis, we developed a LoRa-based wearable sensor that provides BLE,
    GPS, 3-axis accelerometer and a LoRa communication module. We deployed these
    devices in three different scenarios (basketball courts, gym, school bus) to monitor the
    usage of the basketball court, fitness equipment in the gym and monitor the location of
    the school bus. Each component’s function in the wearable sensor are listed below: In
    the first place, we use BLE MCU to control the wearable sensor to collect data. Secondly,
    we use 3-axis accelerometer to detect the vibration in the surrounding area. Thirdly, we
    use SONY GPS to get the current location. Finally, we use LoRa to transmit all the data
    we have collected from the wearable. When data transmitted to the remote server; we
    build a Smart IoT platform based on the Laravel framework to analyze all data and
    organize all data with multiple charts. Finally, we hope that this system will help the
    student to take the best use of the education resource on the campus. On the other hand,
    we also hope that this system will enhance the security of the elderly in society.

    Keywords—IoT, LoRa, Smart Campus, IoT Platform, Laravel

    Table of Contents ABSTRACT ............................................................................................................................................... I 中文摘要................................................................................................................................................ II ACKNOWLEDGMENT ............................................................................................................................. III TABLE OF CONTENTS ............................................................................................................................. IV LIST OF FIGURES .................................................................................................................................... VI LIST OF TABLES..................................................................................................................................... VII CHAPTER 1 INTRODUCTION.....................................................................................................................1 1.1 BACKGROUND..........................................................................................................................................1 1.1.1 IoT.................................................................................................................................................1 1.1.2 Wearable sensor...........................................................................................................................1 1.1.3 Wireless Technologies..................................................................................................................2 1.1.4 LoRaWAN .....................................................................................................................................2 1.1.5 IoT Platform..................................................................................................................................3 1.2 MOTIVATION ...........................................................................................................................................3 CHAPTER 2 RELATED WORK....................................................................................................................5 2.1 IOT ........................................................................................................................................................5 2.2 LORA AND LORAWAN..............................................................................................................................5 2.2.1 LoRa..............................................................................................................................................6 2.2.2 LoRaWAN Architecture.................................................................................................................7 2.2.3 LoRaWAN Classes.........................................................................................................................8 2.3 BLUETOOTH LOW ENERGY(BLE)..................................................................................................................9 2.4 WEARABLES TYPES..................................................................................................................................10 2.4.1 Wrist-worn .................................................................................................................................10 2.4.2 Head-mounted Devices ..............................................................................................................11 2.4.3 Other Accessories.......................................................................................................................11 2.5 IOT PLATFORM.......................................................................................................................................12 2.5.1 AWS IoT Platform .......................................................................................................................12 2.5.2 Chunghwa Telecom IoT Platform ...............................................................................................13 2.6 IOT APPLICATION IN AGRICULTURE.............................................................................................................14 2.6.1 Precision Farming.......................................................................................................................14 CHAPTER 3 SYSTEM ARCHITECTURE ......................................................................................................15 3.1 SYSTEM STRUCTURE OVERVIEW ................................................................................................................15 3.1.1 Wearable Sensor Specification...................................................................................................17 3.1.2 Hardware ...................................................................................................................................18 3.1.3 Software .....................................................................................................................................21 3.2 DATA FORWARDING SERVICE ....................................................................................................................25 3.3 IOTPLATFORM........................................................................................................................................26 3.3.1 Laravel MVC Design Pattern ......................................................................................................26 3.3.2 WebSocket..................................................................................................................................26 3.3.3 PUSHER.......................................................................................................................................27 CHAPTER 4 SYSTEM IMPLEMENTATION.................................................................................................29 4.1 VIBRATION MODE AND GPS MODE OF THE WEARABLE ..................................................................................29 v 4.1.1 Vibration Mode ..........................................................................................................................29 4.1.2 GPS Mode...................................................................................................................................30 4.1.3 Bluetooth Commands.................................................................................................................30 4.2 IOT PLATFORM.......................................................................................................................................33 4.2.1 User instructions to IoT Platform ...............................................................................................33 4.2.2 Security APIs and APIs Data Services..........................................................................................39 4.3 ENERGY SAVING .....................................................................................................................................41 4.3.1 Different Types of Power Consumption......................................................................................41 4.3.2 Battery Management.................................................................................................................43 4.4 APPLICATIONS ON THE CAMPUS .................................................................................................................44 4.4.1 Basketball Courts Monitoring.....................................................................................................44 4.4.2 Fitness Equipment Monitoring ...................................................................................................45 4.4.3 School Bus Tracking....................................................................................................................45 4.5 THE QUALITY OF THE LORA SIGNAL AND THE TRANSMISSION DISTANCE ............................................................47 CHAPTER 5 CONCLUSION AND FUTURE WORK......................................................................................49 5.1 CONCLUSION .........................................................................................................................................49 5.2 FUTURE WORK.......................................................................................................................................50 REFERENCES ..........................................................................................................................................51

    [1]. Inc., G., “Gartner Says 6.4 Billion Connected ”Things” Will Be inUse in 2016,
    Up 30 Percent From 2015,” in Gartner. 2015: State of Connecticut, USA. p. 1-2.
    [2]. Nokia, A buyers and influencers guide to connected device management, for all
    things connected in mobile, home and IoT, in Strategic Whitepaper. Jul 2016:
    Finland. p. 3-10.
    [3]. Ericsson, Ericsson Mobility Report, On the Pulse of the Networked Socienty.
    Report, Jun 2016: p. 8-17.
    [4]. Evans, D., "The internet of things, how the next evolution of the internet is
    changing everything,” Whitepaper, Cisco Internet Business Solutions Group
    (IBSG). Advances in Internet of Things, Apr 2011. Vol.6 No.4,: p. 13-19.
    [5]. B. Latré, B.B., I. Moerman, C. Blondia, and P. Demeester, A survey on wireless
    body area networks. 2011. 17: p. 1-18.
    [6]. IETF. LPWAN Overview. 2017 15 Aug [cited 2019 02/13]; Available from:
    https://tools.ietf.org/id/draft-ietf-lpwan-overview-09.html.
    [7]. Sigfox. [Online]. [cited 2019 02/23]; Available from: http://www.sigfox.com/en/.
    [8]. Weighless-N. 2018 [cited 2019 03/26]; Available from:
    http://www.weightless.org/news/1-weightlessn-10.
    [9]. TheLoRaAlliance. LoRa Alliance. 2018 10 Oct [cited 2018 06/27]; Available
    from: https://lora-alliance.org/.
    [10]. Wang, S.Y., et al. Performance of LoRa-Based IoT Applications on Campus. in
    2017 IEEE 86th Vehicular Technology Conference (VTC-Fall). 2017. Hilton
    Toronto, in Toronto, Canada. p. 6.
    [11]. LoRaWAN Specification, LoRa Alliance, Beaverton, OR, USA. 2015.
    [12]. NV., P. LoRa Network Coverage Map. [Online]. 2017 Jan [cited 2018 12/02];
    Available from: https://www.proximus.be/resources/iportal/ecr/maps/
    [13]. Se-Ra Oh, Y.-G.K., Interoperable Security Framework for Heterogeneous IoT
    Platform. KIPS Tr. Comp. and Comm. Sys. 7: p. 81~90.
    [14]. Moderator, L.N.K. KPN Forum. 2018 9/6 [cited 2019 3/11]; Available from:
    https://zakelijkforum.kpn.com/lora-forum-16/what-is-lora-and-lorawan-8314.
    [15]. Ionascu, M. and M. Marcu. Energy profiling for different Bluetooth low energy
    designs. in 2017 9th IEEE International Conference on Intelligent Data
    Acquisition and Advanced Computing Systems: Technology and Applications
    (IDAACS). 2017. Bucharest,Romania. p. 1032-1036.
    [16]. Czurak, P., et al. Impact of Bluetooth low energy on energy consumption in
    Android OS. in 2018 XIV-th International Conference on Perspective
    Technologies and Methods in MEMS Design (MEMSTECH). 2018. Poliana town.
    p. 255-258.
    [17]. Wang, C.-H., Design and Implementation of Low-Energy Configurable
    Integrated Physiological Sensing System for Wearable Applications. 2015:
    TAIWAN. p. 10-15.
    [18]. Seneviratne, S., et al., A Survey of Wearable Devices and Challenges. IEEE
    Communications Surveys & Tutorials, 2017. 19(4): p. 2573-2620.

    52

    [19]. Inc., G. Gartner says worldwide wearable devices sales to grow 18.4 percent in
    2016. 2016 [cited 2018 11/5]; Available from: http://www.gartner.com.
    [20]. Apple. Apple Watch. 2019 [cited 2019 02/15]; Available from:
    https://www.apple.com.
    [21]. Xiaomi. Xiaomi Wristband, Available:https://buy.mi.com/tw/accessories/117.
    2019 [cited 2019 01/23].
    [22]. Wikipedia. Google Glass, Available:https://en.wikipedia.org/wiki/Google_Glass.
    2019 [cited 2019 01/20].
    [23]. Amazon, IoT Applications & Solutions | What is the Internet of Things (IoT)? |
    AWS. 2019.
    [24]. Inc., I.T. Amazon AWS IoT Platform. 2018 [cited 2019 3/10]; Available from:
    http://www.infosmarttech.com/awsIot.html.
    [25]. CHT. CHT IoT Smart Platform. 2018 4 April [cited 2019 1/22]; Available from:
    https://iot.cht.com.tw/iot/developer/introduction.
    [26]. Andrew, R.C., R. Malekian, and D.C. Bogatinoska. IoT solutions for precision
    agriculture. in 2018 41st International Convention on Information and
    Communication Technology, Electronics and Microelectronics (MIPRO). 2018.
    Opatija Town. p. 0345-0349.
    [27]. Wiangtong, T. and P. Sirisuk. IoT-based Versatile Platform for Precision
    Farming. in 2018 18th International Symposium on Communications and
    Information Technologies (ISCIT). 2018. Bangkok, Thailand. p. 438-441.
    [28]. Dagar, R., S. Som, and S.K. Khatri. Smart Farming – IoT in Agriculture. in 2018
    International Conference on Inventive Research in Computing Applications
    (ICIRCA). 2018. Bhimtal, Nainital, India. p. 1052-1056.
    [29]. Amandeep, et al. Smart farming using IOT. in 2017 8th IEEE Annual
    Information Technology, Electronics and Mobile Communication Conference
    (IEMCON). 2017. University of British Columbia,Canada. p. 278-280.
    [30]. Basim, N.M.A., et al. Autobot for precision farming. in 2017 International
    Conference on Innovations in Electrical, Electronics, Instrumentation and Media
    Technology (ICEEIMT). 2017. Coimbatore, India. p. 1-6.

    QR CODE