Enhannced sampling algorithm in bluetooth low energy for indoor localization
Full text
(2) PM. H. T. U. ENHANNCED SAMPLING ALGORITHM IN BLUETOOTH LOW ENERGY FOR INDOOR LOCALIZATION. IG. By. O. PY. R. MOHD FAIZ BIN MAT DAUD. ©. C. Thesis Submitted to the School of Graduate Studies, Universiti Putra Malaysia, in Fulfilment of the Requirements for the Master of Computer Science June 2018.
(3) ©. T. H. IG. R. PY. O. C. U. PM.
(4) PM. All material contained within the thesis, including without limitation text, logos, icons, photographs and all other artwork, is copyright material of Universiti Putra Malaysia unless otherwise stated. Use may be made of any material contained within the thesis for non-commercial purposes from the copyright holder. Commercial use of material may only be made with the express, prior, written permission of Universiti Putra Malaysia.. ©. C. O. PY. R. IG. H. T. U. Copyright © Universiti Putra Malaysia.
(5) ©. T. H. IG. R. PY. O. C. U. PM.
(6) Abstract of thesis presented to the Senate of Universiti Putra Malaysia in fulfilment of the requirement for the Master of Computer Science. By. T. June2018. U. MOHD FAIZ BIN MAT DAUD. PM. ENHANNCED SAMPLING ALGORITHM IN BLUETOOTH LOW ENERGY FOR INDOOR LOCALIZATION. H. Chair: Idawaty Ahmad, PhD Faculty: Computer Science and Information Technology. PY. R. IG. Wireless network is a network set up by using radio signal frequency to communicate among computers and other network devices that are not connected by cables of any kind. These network mainly used for communication and data exchange. However, it is also being used to acquired one’s or device’s position with certain accuracy. For outdoor, Global Positioning System (GPS) is being used by peoples to navigate to any places in the world and also used in rocket or guided missile system as well.. O. In case of indoor positioning or localization, GPS system is not possible due to the satellite signal is being block and therefore weak. Bluetooth Low Energy (BLE) is one of many solutions to cover this problem. BLE indoor localizationtechnology able to obtain the position byutilizing the Receive Signal Strength Index (RSSI) which is then used in positioning algorithm such as fingerprinting or trilateration. But there is limitation with theaccuracy of this systemmainly due to unstable RSSI.. ©. C. There are algorithms to stabilized the RSSI such as Kalman Filter, Moving Average, Delta Sampling and many more. And by doing so, it will help to improve the accuracy of the indoor localization. Each of the algorithms has their own strength and weakness. Delta Sampling algorithm is simple to be implemented, yet it is good in removing the flier point and doing so will help to stabilize the RSSI. However, it come with problems that is undecided sample size and number of invalid samples which may lead to wrong result.. i.
(7) ©. C. O. PY. R. IG. H. T. U. PM. Therefore, this project enhanced the Delta Sampling algorithm in order to mitigate this issues and through the experiments, it is proven that the proposed algorithm able to stabilize the signal while solving the sample size and number of invalid samples issue.. ii.
(8) Abstrak tesis yang dikemukakan kepada Senat Universiti Putra Malaysia sebagai memenuhi keperluan untuk Ijazah Sarjana Sains Komputer. Oleh. T. Jun 2018. U. MOHD FAIZ BIN MAT DAUD. PM. ALGORITMA DELTA SAMPLING UNTUK MENGATASI MASALAH KETIDAKSETABILAN BLUETOOTH RSSI. H. Pengerusi: Idawaty Ahmad, PhD Fakulti: Sains Komputer dan Teknologi Maklumat. R. IG. Rangkaian tanpa wayar adalah jaringan untuk berhubung mengunakan isyarat radio berfrekuensi di antara alat peranti elektronik ataupun computer. Rangkaian ini biasanya digunakan untuk pertukaran maklumat dan komunikasi. Akan tetapi, rangkaian ini juga boleh digunakan untuk mendapatkan maklumat tentang lokasi seseorang ataupon lokasi peranti elektronik tertentu.. O. PY. Untuk mendapatkan lokasi di kawasan terbuka, teknologi “Global Positioning System” atau GPS digunakan.Manakala untuk mendapatkan posisi ataupon lokasi di kawasan tertutup dengan mengunakan system GPS adalah mustahil kerana isyarat satelit terlindung dan lemah. “Bluetooth Low Energy” ataupon BLE adalah antara teknologi untuk mengatasi masalah ini. BLE mengunakan “Receive Signal Strength Index” ataupon RSSI untuk menentukan posisi di dalam algoritma seperti “Fingerprinting” dan juga “Trilateration”. Oleh kerana RSSI tidak setabil, ketepatan system ini juga terbatas.. ©. C. Terdapat banyak algoritma untuk menjadikan RSSI lebih setabil seperti “Kalman Filter”, “Delta Sampling” dan sebagainya. Dengan menambahbaik dan menjadikan RSSI lebih setabil, ketepatan dalam menentukan lokasi akan bertambah baik. Setiap algoritma mempunyai kekuatan dan kelemahan masing-masing. “Delta Sampling” adalah algoritma yang mudah untuk di gunakan, malah berupaya menjadikan RSSI lebih setabil. Walaupon begitu, “Delta Sampling” mempunyai kelemahanya tersendiri seperti saiz sampel yang tidak ditentukan dan juga jumlah bilangan sampel palsu yang banyak , oleh itu akan menyebabkan hasil pengiraan akhir yang salah. Projek ini adalah untuk menambahbaik algoritma “Delta Sampling” bagi mengatasi permasalahan saiz sampel yang tidak ditetapkan dan juga. iii.
(9) ©. C. O. PY. R. IG. H. T. U. PM. menghadkan jumlah bilangan sampel palsu yang didapati dari algoritma tersebut. Hasil dari ekperimen mendapati, bahawa cadangan projek ini berjaya mengurangkan ketidaksetabilan RSSI dan pada masa yang sama menyelesaikan kelemahan algoritma “Delta Sampling”.. iv.
(10) ACKNOWLEDGEMENTS. PM. I would first like to thank my supervisor Dr. Idawaty Ahmad, at Universiti Putra Malaysia. She was always open whenever I ran into a trouble spot or had a question about my research or writing. She consistently allowed this paper to be my own work, but steered me in the right the direction whenever she thought I needed it.. U. I am also like to thank many of lecturers and my friends that provide me with lot of valuables information during the whole course of this program. I am indebted to every one of you.. H. T. Furthermore, I would like to thank Dr. David, Dr. Alvin and Dr. Ng Seh Chun from Mimos for time and guidance during the I was working there. Besides that, also thank to my current Employer for understanding.. ©. C. O. PY. R. IG. Finally, I must express my very profound gratitude to my parents and to my family for providing me with unfailing support and continuous encouragement throughout my years of study and through the process of researching and writing this thesis. This accomplishment would not have been possible without them. Thank you.. v.
(11) C. O. PY. R. IG. H. T. Idawaty Ahmad, PhD Senior Lecturer Faculty of Computer Science and Information Technology Universiti Putra Malaysia (Chairman). U. The members of the Supervisory Committee were as follows:. PM. This thesis was submitted to the Senate of Universiti Putra Malaysia and has been accepted as fulfilment of the requirement for the degree of Master of Computer Science.. ©. ________________________ ROBIAH BINTI YUNUS, PhD Professor and Dean School of Graduate Studies Universiti Putra Malaysia Date:. vi.
(12) Declaration by graduate student. IG. H. T. U. PM. I hereby confirm that: this thesis is my original work; quotations, illustrations and citations have been duly referenced; this thesis has not been submitted previously or concurrently for any other degree at any other institutions; intellectual property from the thesis and copyright of thesis are fullyowned by Universiti Putra Malaysia, as according to the Universiti Putra Malaysia (Research) Rules 2012; written permission must be obtained from supervisor and the office of Deputy Vice-Chancellor (Research and Innovation) before thesis is published (in the form of written, printed or in electronic form) including books, journals, modules, proceedings, popular writings, seminar papers, manuscripts, posters, reports, lecture notes, learning modules or any other materials as stated in the Universiti Putra Malaysia (Research) Rules 2012; there is no plagiarism or data falsification/fabrication in the thesis, and scholarly integrity is upheld as according to the Universiti Putra Malaysia (Graduate Studies) Rules 2003 (Revision 2012-2013) and the Universiti Putra Malaysia (Research) Rules 2012. The thesis has undergone plagiarism detection software.. R. Signature: ________________________. Date: __________________. ©. C. O. PY. Name and Matric No.: _________________________________________. vii.
(13) TABLE OF CONTENTS Page i iii v vi vii x xi xii. U. PM. ABSTRACT ABSTRAK ACKNOWLEDGEMENTS APPROVAL DECLARATION LIST OF TABLES LIST OF FIGURES LIST OF ABBREVIATIONS. T. CHAPTER. 1 2 2 2 2. INTRODUCTION 1.1 Problem Statements 1.2 Objective 1.3 Project Scope 1.4 Thesis Organization. 2. LITERATURE REVIEW 2.1 Introduction to Wireless Networking 2.2 Indoor Localization 2.3 Problem with RSSI 2.4 Algorithm Comparison 2.5 Summary. 4 4 4 6 6 8. RESEACH METHODOLOGY 3.1 Data Collection Phase 3.2 Data Analysis Phase 3.3 Experiment Environment and Setup 3.3.1 Receiver Module 3.3.2 Analyser Module 3.4 Delta Sampling Algorithm 3.4.1 Receiver Module 3.4.2 Analyser Module 3.5 Analysis 3.5.1 Experiment Result 3.5.2 Result Validation 3.5.3 Further Analysis. 9 10 11 11 13 14 15 17 17 18 18 19 19. Enhanced Delta Sampling with Decay Based Sample. 21. ©. C. O. 3. PY. R. IG. H. 1. 4. viii.
(14) 5. 21 21 22 24. PM. Range Moving Average 4.1 Introduction 4.2 Enhanced Delta Sampling with Decay Based Sample Range Moving Average algorithm 4.3 Results and Discussions 4.4 Summary. 25 25 25. CONCLUSION AND FUTURE RESEARCH 5.1 Conclusion 5.2 Future Work. 26 27 31. ©. C. O. PY. R. IG. H. T. U. REFERENCES APPENDICES BIODATA OF STUDENT. ix.
(15) LIST OF TABLES Table. Page Paper comparison. 7. 3.1. Experiment configuration and setup. 3.2. Experiment parameters. PM. 2.1. 12. ©. C. O. PY. R. IG. H. T. U. 13. x.
(16) LIST OF FIGURES. Figure. Page Flow Chart for Research Area. 2.1. Triangulation. 2.2. Trilateration. 2.3. Fingerprinting. 3.1. Experiment design. 3.2. Android application for data collection. 3.3. Experiment setup for data collection phase. 11. 3.4. Android application for receiver module and data collection phase. 14. 3.5. Python script for analyzer. 14. 3.6. Result from script. 14. 3.7. Delta Sampling algorithm. 15. 5 5. U. 6. IG. H. T. 9. R. 3.8. 1. PM. 1.1. Graph Raw vs Delta Sampling data. 17. Statistical data. 18. 3.10. Comparison between benchmark paper and experiment result. 18. 3.11. Delta Sampling with different Threshold comparison. 19. 3.12. Delta Sampling with different Range comparison. 19. 4.1. Raw vs Enhanced Delta Sampling. 21. 4.2. Raw vs Enhanced DS with Decay MA. 22. 4.3. Comparing all the result. 22. C. O. PY. 3.9. ©. 10. xi.
(17) LIST OF ABBREVIATIONS Explanations Bluetooth Low Energy. RSSI. Received Signal Strength Indicator. WIFI. Wireless Local Area Networking. GPS. Global Positioning System. Decay Based Sample Range Moving Average. ©. C. O. PY. R. IG. H. T. DBSR-MA. U. BLE. PM. Abbreviations. xii.
(18) CHAPTER 1. INTRODUCTION. ©. C. O. PY. R. IG. H. T. U. PM. The BLE RSSI is very much unstable in it raw form, and just barely usable for indoor localization. Filtering algorithm or also called smoothing algorithm is a must in order to make the signal more stable before it is being used as main input into localization algorithm. The benchmark paper introduced the Delta Sampling algorithm to remove some of the flier point or noise in the raw RSSI (Jun-Ho et al.,2016). However, there are some parts of the algorithm which can be improve on especially undecided range of sample size and number of invalid or false data. It is also can be combined with other smoothing algorithm for better result which is the strength of the algorithm itself. Figure 1.1 show exactly where is this algorithm is used in indoor localization technology. As shown in the figure, smoothing algorithm also can be used to stabilized WIFI and Signal Tower as well.. Figure 1.1: Flow Chart for Research Area. 1.
(19) 1.1 Problem Statement. PM. Bluetooth technology 4.0 also known as Bluetooth Low Energy (BLE) is one of the popular solution to use in Indoor Localization.There are many ways of using BLE in Indoor Localization.Most of them are utilizing the Received Signal Strength Indicator (RSSI) value.. U. The problem for BLE based localization which utilizing the RSSI as the measurement to get the location isthe signal itself is not stable and tends to fluctuate. Thus introduce error in the location estimation algorithm. This is due to many internal and external factor influencing the radio waves such as absorption, interference or diffraction. Also the further away the smartphone (receiver) is from the beacon (transmitter), the more unstable it becomes.. IG. H. T. Furthermore, recent proposal used an algorithm called Delta Sampling in order to mitigate this issue (Jun-Ho et al.,2016). However, the problem with this algorithm is the parameter of range of sample size which is undetermined and also false detection of flier point issue.. 1.2 Objective. PY. R. To stabilize the raw RSSI signal, we need to have post processing filtering algorithm which converted the signal to much more stable version. This project used an algorithm called Delta Sampling in order to mitigate theunstable RSSI issue as proposed by (Jun-Ho et al.,2016). Besides that, further additional of enhancement is added to counter the weakness of the Delta Sampling.. 1.3 Project Scope. ©. C. O. The bigger aim is to improve the BLE based indoor localization accuracy that used RSSI value in their algorithm for location estimation. Since, this project course is short, the project scope will focus on the study of the basic input for the location estimation algorithm which is RSSI. Inaccurate RSSI will produce inaccurate location estimation, thus it is important to make the basic input close to ideal first before solving others problem. At the end of the day, this project will help the research in the area of indoor localization.. 1.4 Thesis Organization This study present Delta Sampling algorithm to stabilize the RSSI fluctuation and also propose an enhancement as well. The rest of the thesis is organized as follows.. 2.
(20) ©. C. O. PY. R. IG. H. T. U. PM. Chapter 2 is about the wireless networking and indoor localization as a whole that is methods and technologies which is available in order to obtain the position of electronic devices. Besides that, also discussing about the problems and solutions that exist in this area. Chapter 3 provide details on how the experiment is conducted, parameters setting used and also the environment involved. The experiment is divided in two phases which is data collection phase and data analysis phase. The core Delta Sampling algorithm is explained in this chapter as well. Chapter 4 comparing the Delta Sampling result with the benchmark paper and the analysis with some discussion. Furthermore, this chapter also presenting the enhanced version of the Delta Sampling along with the result analysis. Chapter 5 concludes the work and recommends some promising direction for the future work.. 3.
(21) REFERENCES. ©. C. O. PY. R. IG. H. T. U. PM. 1. Jun-Ho Huh, Yohan Bu, Kyungryong Seo, Bluetooth-Tracing RSSI Sampling Method as Basic Technology of Indoor Localization for Smart Homes, International Journal of Smart Home Vol.10, No.10 (2016), pp.9-22 2. Dmitry Namiot, On Indoor Positioning, International Journal of Open Information Technologies ISSN: 2307-8162 vol. 3, no. 3, 2015 3. J. Neburka, Z. Tlamsa, V. Benes, Study of the Performance of RSSI based Bluetooth Smart Indoor Positioning, Radioelektronika (RADIOELEKTRONIKA),2016 26th International Conference 4. Faragher, Ramsey, Harle, Robert, An Analysis of the Accuracy of Bluetooth Low Energy for Indoor Positioning Applications, Proceedings of the 27th International Technical Meeting of the Satellite Division of the Institute of Navigation (ION GNSS+’14) 5. Georgia Ionescu, Carlos Martınez de la Osa and Michel Deriaz, Improving Distance Estimation in Object Localisation with Bluetooth Low Energy, SENSORCOMM 2014 - 8th International Conference on Sensor Technologies and Applications pp. 45-49 6. Cheng Zhou, Jiazheng Yuan, Hongzhe Liu, Jing Qiu, Bluetooth Indoor Positioning Based on RSSI and Kalman, 2017 Wireless Personal Communications, 96(3), pp. 4115-4130 7. Keuchul Cho, Woojin Park, Moonki Hong, Analysis of Latency Performance of Bluetooth Low Energy (BLE) Networks, Sensors 2015, 15, 59-78; doi:10.3390/s150100059 8. Damian E. Grzechca, Piotr Pelczar, and Lukas Chruszczyk, Analysis of Object Location Accuracy for iBeacon Technology based on the RSSI Path Loss Model and Fingerprint Map, 2016 International Journal of Electronics and Telecommunications 62(4), pp. 371-378 9. Zixiang Ma, Stefan Poslad, John Bigham, Xiaoshuai Zhang and Liang Men, A BLE RSSI Ranking based Indoor Positioning System for Generic Smartphones, 2017 Wireless Telecommunications Symposium 7943542 10. Jea-Gu Lee, Byung-Kwan Kim, Sung-Bong Jang, Seung-Ho Yeon and Young Woong Ko, Accuracy Enhancement of RSSI-based Distance Estimation by Applying Gaussian Filter, 2016 Indian Journal of Science and Technology 9(20),94675 11. Dae-Yeob Kim, Soo-Hyung Kim, Daeseon Choi, Seung-Hun Jin, Accurate Indoor Proximity Zone Detection Based on Time Window and Frequency with Bluetooth Low Energy, 2015 Procedia Computer Science 56(1), pp. 88-95 12. Song Chai, Renbo An and Zhengzhong Du, An Indoor Positioning Algorithm Using Bluetooth Low Energy RSSI, International Conference on Advanced Material Science and Environmental Engineering (AMSEE 2016) 13. Pavel Kriz, FilipMaly, and Tomas Kozel, Improving Indoor Localization Using Bluetooth Low Energy Beacons, Mobile Information Systems, Volume 2016, Article ID 2083094, 11 pages 14. Yunsick Sung, RSSI-Based Distance Estimation Framework Using a Kalman Filter for Sustainable Indoor Computing Environments, 2016, Sustainability (Switzerland), 8(11),1136 15. Dong., Qian., Waltenegus Dargie., Evaluation of the Reliability of RSSI for Indoor Localization, IEEE International Conference, Clermont Ferrand, (2012), pp. 1-6.. 26.
(22)
Related documents
It is needed for our algorithm that we can calculate the fitness (or ‘goodness’) of a generated timetable, based on the constraints and preferences.. As we have to deduce rules out
(2009) could recently show that ethnic affiliation is determining access to NTFPs in Burkina Faso. Yet, until now, very few studies have focussed on the ethnic perspective of
Therefore, states should increase their maximum monthly benefit levels in order to help more needy families.. This is because more people would be willing to go through the
The unfractured model has no dual porosity keyword assigned in the RUNSPEC section.Therefore there are no fractures present in the reservoir, however the matrix blocks have
Basal cell carcinoma (BCC) – superfi cial BCC, 266 CTCL, 266 Topical agents, 266 Oral agent, 266 Other agent, 267 Psoriasis, 267 Topical agents, 267 Tar, 267 Systemic agents,
The present study deals with the development and validation of HPLC derivatized method for quantitative determination of EDTA in Cosmetics products utilizing trivalent iron
In contrast to these compilers specialized for sparse matrix computations, we have developed code and data transformations applicable to nonaffine loop bounds and sub-
Abstract —In this work, we present LENTA (Longitudinal Exploration for Network Traffic Analysis), a system that sup- ports the network analysts to easily identify traffic generated