The Design and Implementation of Indoor Localization System Using Magnetic Field Based on Smartphone

Similar documents
Indoor Localization and Tracking using Wi-Fi Access Points

Research on an Economic Localization Approach

IoT Wi-Fi- based Indoor Positioning System Using Smartphones

Hardware-free Indoor Navigation for Smartphones

Study of WLAN Fingerprinting Indoor Positioning Technology based on Smart Phone Ye Yuan a, Daihong Chao, Lailiang Song

A Simple Design of Clean Robot

A Smart Home Design and Implementation Based on Kinect

A Fault Detection Device for Energy Metering Equipment

Design and Implementation of an Intuitive Gesture Recognition System Using a Hand-held Device

Indoor Location System with Wi-Fi and Alternative Cellular Network Signal

Localization algorithm of Bluetooth sensor network

Research on Intelligent Helmet for Safety Monitoring in Coal Mine

Sponsored by. Nisarg Kothari Carnegie Mellon University April 26, 2011

Cooperative navigation: outline

Analysis of Compass Sensor Accuracy on Several Mobile Devices in an Industrial Environment

Indoor navigation with smartphones

Node Localization using 3D coordinates in Wireless Sensor Networks

FAULT DIAGNOSIS AND PERFORMANCE ASSESSMENT FOR A ROTARY ACTUATOR BASED ON NEURAL NETWORK OBSERVER

Robust Positioning for Urban Traffic

Application of Singular Value Energy Difference Spectrum in Axis Trace Refinement

Path Planning for Mobile Robots Based on Hybrid Architecture Platform

Simulation Analysis of Control System in an Innovative Magnetically-Saturated Controllable Reactor

EE327: Wireless Communication and Mobile Network Course Project Final Report. Yucheng Xing, IEEE Pilot Class, SJTU

Camera-aided Region-based Magnetic Field Indoor Positioning

A smooth tracking algorithm for capacitive touch panels

Hybrid Simulation of ±500 kv HVDC Power Transmission Project Based on Advanced Digital Power System Simulator

Improving Accuracy of FingerPrint DB with AP Connection States

Analysis of Computer IoT technology in Multiple Fields

A Vehicle Detection Algorithm Based on Wireless Magnetic Sensor Networks

MOBILE COMPUTING 1/29/18. Cellular Positioning: Cell ID. Cellular Positioning - Cell ID with TA. CSE 40814/60814 Spring 2018

Pedestrian Navigation System Using. Shoe-mounted INS. By Yan Li. A thesis submitted for the degree of Master of Engineering (Research)

Cooperative localization (part I) Jouni Rantakokko

Secure and Intelligent Mobile Crowd Sensing

Indoor Navigation for Visually Impaired / Blind People Using Smart Cane and Mobile Phone: Experimental Work

Hybrid Positioning through Extended Kalman Filter with Inertial Data Fusion

Introduction to Mobile Sensing Technology

The study of Fuzzy theory applied to cool guys looking for beautiful girl

A Research on Implementing GPS to Synchronize Sampling in a Disturbed Phase Difference s High-precision Measure System for Insulation Testing

Design of Automatic Following and Locating Electric Carrier Based on Ultrasonic Positioning and PI Controller

Open Access AOA and TDOA-Based a Novel Three Dimensional Location Algorithm in Wireless Sensor Network

Ubiquitous Positioning: A Pipe Dream or Reality?

INTERNET of Things (IoT) incorporates concepts from

The Novel Integrating Sphere Type Near-Infrared Moisture Determination Instrument Based on LabVIEW

Wi-Fi Fingerprinting through Active Learning using Smartphones

A survey on broadcast protocols in multihop cognitive radio ad hoc network

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

Dual Channel Monopulse Automatic Phase Calibration Method Xinfeng Fan1, a, Yongming Nie1, b* and Xin Ding1, c

State and Path Analysis of RSSI in Indoor Environment

Design of Signal Conditioning Circuit for Photoelectric Sensor. , Zhennan Zhang

Design and simulation of AC-DC constant current source with high power factor

ELECTRICAL CONTROL DESIGN FOR DRIVING SYSTEM OF SERVO MOTOR

Wi-Fi Indoor Positioning System-Advanced Finger Printing Method

Design of Spread-Spectrum Communication System Based on FPGA

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

Design of intelligent vehicle control system based on machine visual

Indoor Localization in Wireless Sensor Networks

Wifi bluetooth based combined positioning algorithm

Design of Vibration Sensor Based on Fiber Bragg Grating

IoT. Indoor Positioning with BLE Beacons. Author: Uday Agarwal

SIMULATION AND ANALYSIS OF 60 GHz MILLIMETER- WAVE INDOOR PROPAGATION CHARACTERISTICS BASE ON THE METHOD OF SBR/IMAGE

Point Target Detection in Space-Based Infrared Imaging System Based on Multi-Direction Filtering Fusion

2 Intelligent meter reading mode

An Improved Bernsen Algorithm Approaches For License Plate Recognition

Research of Tunnel Construction Monitoring System Based on Senor Information Fusion

WiFi Fingerprinting Signal Strength Error Modeling for Short Distances

Parameter Optimization by Taguchi Methods for Polishing LiTaO3 Substrate. Using Force-induced Rheological Polishing Method

LOCALIZATION AND ROUTING AGAINST JAMMERS IN WIRELESS NETWORKS

A Gesture Oriented Android Multi Touch Interaction Scheme of Car. Feilong Xu

Automatic Docking System with Recharging and Battery Replacement for Surveillance Robot

ScienceDirect. An Integrated Xbee arduino And Differential Evolution Approach for Localization in Wireless Sensor Networks

FPGA-BASED DESIGN AND IMPLEMENTATION OF THREE-PRIORITY PERSISTENT CSMA PROTOCOL

Mobile Positioning in Wireless Mobile Networks

The Elevator Fault Diagnosis Method Based on Sequential Probability Ratio Test (SPRT)

Design of the Chaotic Signal Generator Based on LABVIEW

Design of Experimental Platform for Intelligent Car. , Heyan Wang

Positioning System Performance Based on Different Pressure Sensors

Implementation and Performance Evaluation of a Fast Relocation Method in a GPS/SINS/CSAC Integrated Navigation System Hardware Prototype

Using Intelligent Mobile Devices for Indoor Wireless Location Tracking, Navigation, and Mobile Augmented Reality

Long range magnetic localization- accuracy and range study

Cooperative anti-collision algorithm based on relay sensor in RFID system Xinxian Li, Xiaoling Sun2, b, Weiqin Li2, c, Daisong Shi2, d

Indoor Pedestrian Tracking System Using Smartphone

Double Criteria Feeder-Selection Method for Single-Phase Ground Fault of Resonant Grounding System Based on Multi-State Components

Research of Antenna for Microwave Energy Transmission System for IOT

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Research Article Research of Smart Car s Speed Control Based on the Internal Model Control

ANDROID APPS DEVELOPMENT FOR MOBILE GAME

Modelling and Simulation of PQ Disturbance Based on Matlab

Sound pressure level calculation methodology investigation of corona noise in AC substations

The Study on the Application of the Intelligent Technology in the Sightseeing Agricultural Parks

Research on Methods of Infrared and Color Image Fusion Based on Wavelet Transform

Performance Evaluation of DV-Hop and NDV-Hop Localization Methods in Wireless Sensor Networks

SELF-BALANCING MOBILE ROBOT TILTER

Face Recognition System Based on Infrared Image

中国科技论文在线. An Efficient Method of License Plate Location in Natural-scene Image. Haiqi Huang 1, Ming Gu 2,Hongyang Chao 2

99. Sun sensor design and test of a micro satellite

Application of GPS and Remote Sensing Image Technology in Construction Monitoring of Road and Bridge

UWB RFID Technology Applications for Positioning Systems in Indoor Warehouses

idocent: Indoor Digital Orientation Communication and Enabling Navigational Technology

License Plate Localisation based on Morphological Operations

Open Access Design of Diesel Engine Adaptive Active Disturbance Rejection Speed Controller

Transcription:

The Design and Implementation of Indoor Localization System Using Magnetic Field Based on Smartphone Liu Jiaxing a, Jiang congshi a, Shi zhongcai a a International School of Software,Wuhan University,Wuhan,China 430072- (jiaxing,00200286,zhongcaishi)@whu.edu.cn Commission VI, WG VI/4 KEY WORDS: Indoor Localization; Geomagnetic Application; Localization Algorithm; Android; sensor ABSTRACT: Sufficient signal nodes are mostly required to implement indoor localization in mainstream research. Magnetic field take advantage of high precision, stable and reliability, and the reception of magnetic field signals is reliable and uncomplicated, it could be realized by geomagnetic sensor on smartphone, without external device. After the study of indoor positioning technologies, choose the geomagnetic field data as fingerprints to design an indoor localization system based on smartphone. A localization algorithm that appropriate geomagnetic matching is designed, and present filtering algorithm and algorithm for coordinate conversion. With the implement of plot geomagnetic fingerprints, the indoor positioning of smartphone without depending on external devices can be achieved. Finally, an indoor positioning system which is based on Android platform is successfully designed, through the experiments, proved the capability and effectiveness of indoor localization algorithm. 1. INTRODUCTION With the popularity of intelligent terminals, location-based services (LBS) are rapidly developing and showing a broad prospect. But when using satellite and base stations for indoor positioning, affected by factors such as building blocks, multipath effect and non-line-of-sight transmission, positioning could not achieve satisfactory accuracy. In the study of indoor positioning technology, the study based on WLAN, Bluetooth and infrared ray are research focus today, but these technologies require a sufficient number of infrastructure, hinder the promotion of practical applications. Although the WIFI signal is widely present in the buildings, the WIFI Access Point is affected by signal attenuation, human block and multipath effects, which limit the accuracy of WIFI signal. Today s mobile devices are equipped with sensors such as gyroscopes, gravity sensors and geomagnetic sensors, which provide opportune conditions for the indoor localization using magnetic field. At present, most of the researches in indoor localization using magnetic field are concentrated in geomagnetic matching algorithm and its simulation, there are less research on use smart devices for positioning. Xie studied several basic matching algorithms of geomagnetic matching technology such as MAD, MSD, NPROD and HD, and through simulation experiments for analysis and compare the matching accuracy, but his research is limited to simulation experiments (XIE, 2008); Subbu proposed an indoor positioning solution based on the classification of geomagnetic signals, made a detailed analysis of the geomagnetic signals on the smartphone, and present a dynamic time planning method to solve the user walking speed changes (Subbu, 2013). Xiong designs an indoor positioning system based on magnetic field, the performance of positioning is improved by replicating important particles and resampling low weight particles (Xiong, 2015). Both of their research focus more on the indoor magnetic field, lack of research on geomagnetic localization and related experiments. In recent years, with the continuous development of mobile Internet, the researches of indoor localization using magnetic field are increasingly being recognized. A team from University of Oulu has developed a map application IndoorAtlas, based on magnetic field, delivered as a scalable cloud platform. In addition, research has been attached importance to the indoor localization mix multiple methods to achieve higher precision. Song applying the combined localization method of inertial navigation-assisted geomagnetic positioning to improve the indoor positioning accuracy, but its research is more inclined to use geomagnetism to assist the inertial navigation (Song,2015). Zhang proposed a hybrid indoor positioning method with RFID and magnetic field and do a simulation experiment (Zhang,2015). Shu present Magicol, an indoor localization and tracking system that embraces the local disturbances of the geomagnetic field, Magicol incorporates WiFi signals to achieve much improved positioning accuracy, and propose a compliant-walking method for location database construction that drastically simplifies the site survey effort (Shu,2015). This paper uses geomagnetic signals as position fingerprints, proposed filtering algorithm and geomagnetic matching algorithm for geomagnetic signals, designed a system architecture for indoor real-time localization on smart phone and realized it. This system can achieve high precision in indoor localization through smart phone, without external devices. At last, design and proceed a real experiment to analysis and verify the effectiveness of the system. 2. POSITIONING PRINCIPLE The geomagnetic field in different areas (within a certain range) of the Earth's surface is different, and this difference also has the same characteristics in smaller areas such as buildings. This difference represents that geomagnetic field in different regions are distinct from the other regions, with this feature, through the collection of geomagnetic data fingerprint that unique to other locations to implement indoor localization. Essence of indoor localization based on geomagnetic field is the geomagnetic https://doi.org/10.5194/isprs-archives-xlii-2-w7-379-2017 Authors 2017. CC BY 4.0 License. 379

matching, usually realized by measuring correlation degree of training sequence and any subgraph in the baseline, called correlation analysis (Deng,2012). Geomagnetic positioning method can be divided into two stages: off-line training and online matching, the specific process is given below. Figure2 the schematic diagram of indoor localization system The measuring module collects the geomagnetic signals of the current location through the mobile device at the time of data preacquisition and positioning; the data processing module is responsible for preprocessing the collected data, such as using the filtering algorithm and other methods to reduce the error; the geomagnetic matching module is responsible for operation when receiving the current geomagnetic signal from smart phone, and return the positioning result; the display module mainly displays the map and the position of the collection, the positioning interface and the display of the positioning result when the data is collected. 3. ALGORITHM DESIGN Figure 1. Flow chart of Indoor localization based on geomagnetic field The main content of the off-line training is to generate geomagnetic fingerprints. To achieve it, it is necessary to collect the geomagnetic signal at the reference point in the given region, and the geomagnetic reference point set on the map needs to match its actual position. When collecting data, it s necessary to measure a point several times to reduce the impact of equipment form and measurement error, and use the filter algorithm to achieve the purpose of improving accuracy. On the basis of the geomagnetic fingerprints at the off-line training stage, online matching is designed for real time positioning. Therefore, design the appropriate geomagnetic matching algorithm to calculate the result using the geomagnetic fingerprints and the value that the smart phone collects the geomagnetic signal at the current location and return, regard the result as the location result. So, it s important to select appropriate point in the given region to generate geomagnetic fingerprints because there is a tight link with the positioning accuracy. Indoor localization system can be divided into following parts: the measuring module, the data processing module, the geomagnetic matching module and the display module, just like Figure2 shows. One of the keys to indoor geomagnetic positioning system is design appropriate geomagnetic matching algorithm and data processing algorithm. The appropriate data processing algorithm can improve the uniqueness of geomagnetic signal in geomagnetic fingerprints, and reduce or even eliminate the deviation that from equipment, sensors and other factors, which can speed up the convergence rate of geomagnetic positioning as a result. The appropriate positioning algorithm helps to improve the positioning accuracy. 3.1 Data Processing Algorithm Due to the impact of external environment, error of the sensor itself and impact of mobile devices, geomagnetic signal is doped with noise signals, filtering algorithm is used to reduce or remove the amount of interference in the geomagnetic data, such as fluctuating point caused by sudden jitter and tilt when the smart phone is in the process of collecting data, which will affect the positioning accuracy. Filtering algorithm of difference is to eliminate fluctuating point in geomagnetic data. Also, use the median filter to smooth the geomagnetic signal data, the theory of median filtering is based on the ranking theory, it replaces the signal values of a series of successive signals with the median of all the signal values in the neighbourhood (Ye,1997). So that the effects of random impulse noise in the semaphore are reduced effectively. So, the use of median filter can be a good protection of the original signal value, and can be a good elimination of random pulse noise interference in the meantime. The fluxgate magnetometer has high resolution and good robustness (Pan,2005), but in the measurement process, the threeaxis geomagnetic sensor of the fluxgate magnetometer can not be exactly the same as the three directions of horizontal threedimensional, three measuring shafts in fluxgate magnetometer usually has deviation with the standard horizontal threedimensional coordinate system. So, geomagnetic data also need to be decomposed and adjusted to unified in the standard level of three-dimensional coordinate system, and use the geomagnetic data after the above-mentioned processing as reference. When the smart phone collected the geomagnetic signal, it collected the the data of direction sensor at the same time. The coordinate transformation of the geomagnetic data is assisted by the data of direction sensor. Following steps show how to transform coordinate: First, set the original data collected by the geomagnetic sensor are Magx, Magy and Magz, what direction sensor collected are https://doi.org/10.5194/isprs-archives-xlii-2-w7-379-2017 Authors 2017. CC BY 4.0 License. 380

Dirx,Diry and Dirz. Also, we need three temporary variable Mx,My and Mz. The result of the coordinate transformation in the X-axis direction MagHor x is sum of projection which three components of the original data Magx, Magy and Magz projection in x- horizontal direction, Equation (1)~(3) calculate the projection in the x direction: cos Dirx cos Diry + M # = Magx (1) sin Dirz sin Dirx sin Diry M 4 = 1 Magy sin Dirz cos Dirx (2) 1 cos Dirz sin Diry + M ; = Magz (3) sin Dirz sin Dirx cos Diry So we get the MagHorx as Equation (4): MagHor # = M # + M 4 + M ; (4) In the same way, the result of the coordinate transformation in the Y-axis direction MagHor y calculated by the following Equation: sin Dirz cos Diry M # = Magx (5) cos Dirz sin Dirx sin Diry M 4 = Magy cos Dirx cos Dirz (6) sin Dirz sin Diry + M ; = 1 Magz (7) cos Dirz sin Dirx cos Diry MagHor 4 = M # + M 4 + M ; (8) After coordinate transformation above, use result as geomagnetic fingerprint for subsequent operations. 3.2 Algorithm of Geomagnetic Localization Geomagnetic matching is essentially using the established geomagnetic vector information compared with real-time acquisition of geomagnetic or geomagnetic characteristics in accordance with certain man-made methods and guidelines, calculate the similarity or correlation between the two, so as to get the result of location information, the key lies in the selection of geomagnetic fingerprints and the selection of matching algorithms, following is an algorithm designed for indoor geomagnetic localization. Euclidean distance positioning method is a deterministic matching algorithm, after coordinate transformation for data that smart phone collect, get the data used to locate. And geomagnetic vector map can be expressed as Equation(9): 4.1 Experimental Design Figure3 Localization flow chart 4. EXPERIMENT In order to verify the performance of system proposed in this paper, following experiment was designed. Experimental site is Information Department Library of Wuhan University in Wuhan, the architectural design is shown below. The choice of library as the experimental site is because the library has a detailed design, can accurately obtain the design information of each room, which is useful for accurately calculating the accuracy of positioning, and the library shelves neatly placed, is conducive to select the positioning reference point. (> @?,> @ B ) (> D?,> D B ) (> F?,> F B ) (9) (n represents the total number of points) Then, calculate the Euclidean distance between each vector in the geomagnetic vector and the data used to locate, like Equation(10) shows: H I L H = M # M # + (M4 M H 4 ) I (10) then, find out the minimum value L min =min{li} (11) where i represents one of the point in geomagnetic vector Consider L min as the result of localization. The flow chart of the localization algorithm proposed in this paper is shown in the following figure: Figure4 architectural designs As mentioned earlier in the analysis of geomagnetic positioning, when the mobile device changes morphology in the same position, such as swing left and right or swing up and down, the data collected by the sensor will also change, Although the direction sensor can record the value of the device morphology change, but the accuracy of the data is limited, it is not enough to eliminate the error by some king of processing algorithm. So, by using the track map to reduce device morphology change, and https://doi.org/10.5194/isprs-archives-xlii-2-w7-379-2017 Authors 2017. CC BY 4.0 License. 381

The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLII-2/W7, 2017 ultimately achieve the purpose of reducing the error. First, set the user's travel route in the room, walking route includes all the reference points. Then, along the trajectory, collect the data of geomagnetism sensor and direction sensor at each reference point, multiple collect at each point. Fig5 shows the scene of the collected data: scene when positioning experiment is performed at a one reference point on the track. Here we do experiments at 15 reference points, repeat the location at each point 4 times, a total of 60 results were recorded, of which 53 were correctly positioned to the reference point, the accuracy rate is 86%. Figure5 Data collection process After collecting all the sensor data at all reference points, use a personal computer to set up the server and store geomagnetic fingerprint on the server side. Do data processing in the serverside, processing steps include: coordinate conversion, median filtering and difference filtering, as described above. Finally, the processing results are stored as geomagnetic fingerprints on the server side. Fig6 is a schematic diagram of a geomagnetic fingerprint on a server. Figure7 Positioning experiment After all the reference points on the trajectory map have been positioned, get the positioning results shown in the table below: Name Value Accuracy rate 86% 1m positioning accuracy Time of positioning calculation 1ms Time of network transmission 2ms Table1. Geomagnetic positioning experiment results Figure6 schematic diagram of geomagnetic fingerprint 4.2 Indoor Positioning Experiment We install positioning application on GT-I9508 from Samsung, its magnetic sensor is YAS532 Magnetic Sensor from Yamaha and its accelerometer is K330 3-axis Accelerometer from STMicroelectronics. The smartphone establishes a connection with the server through the network, through the socket to communicate. Starting from the set starting point, the smart phone with the geomagnetic positioning program installed walking along the trajectory. At each reference point, click on the positioning button on the screen to locate, the smart phone will send the data to the server through Internet, once receive data, the server processing data and do calculation, and the result of the positioning algorithm results will be returned to the smart phone as the result of positioning. When the result is received, it is displayed on the screen. Record whether the positioning result is the current reference point. Fig7 shows a The table1shows the successful use of geomagnetic data to achieve the indoor positioning. The accuracy rate is obtained is obtained by calculating the records of all reference points, which record whether the result of positioning is consistent with the current reference point. In addition, you can see in the case of good network, positioning speed can meet the real-time requirements. 5. SUMMARY This paper designs an indoor localization system using magnetic field, and a matching algorithm and data processing algorithm for geomagnetic positioning are designed. The experimental results confirm the feasibility of geomagnetic positioning, also, the effect of geomagnetic localization algorithm and data processing algorithm proposed in this paper has also been verified. Geomagnetic information is collected in advance to establish geomagnetic fingerprints, when the smart phone is in the area, through the sensor to collect data and to get the location information in real-time. Although it has not yet fully addressed the impact of morphological change, in areas where the satellite or base station failed to cover, It s still a good alternative. In the https://doi.org/10.5194/isprs-archives-xlii-2-w7-379-2017 Authors 2017. CC BY 4.0 License. 382

meantime, indoor localization using geomagnetic field enrich the way of indoor positioning technology, or more choices. And further, if we can combine geomagnetic positioning with some other indoor positioning technology such as WIFI, RFID or Bluetooth, etc., to achieve a hybrid positioning, integrated their own characteristics, to integrate their own characteristics to achieve a hybrid positioning, it can effectively improve the positioning accuracy and promote the development of practical applications. REFERENCES XIE Shinin, LI Bangqing, LI Wenyao, WANG Libin, ZHOU Zuyang. 2008. MAGCOM and Simulation of Basic Matching Algorithm. Aerospace Control,05:55-59+68. Subbu, K.B.R. 2013. LocateMe: Magnetic-Fields-Based Indoor Localization Using Smartphones. ACM Transaction on Intelligent Systems and Technology, 4(4): -27. XIONG Mingliang, DIAN Mengwen, ZHAO Guoliang.2015, Research on Indoor Psitioning System Based on the Magnetic Field of the Earth, Wireless Internet Technology, 18:14-15. SONG Biao, CHENG Lei, ZHOU Mingda, WU Huaiyu, CHEN Yang. 2015, The Design of Cellphone Indoor Positioning System Based Magnetic Assisted Inertial Navigation Technology. Chinese Journal of Sensors and Actuators, 08:1249-1254. ZHANG Wenjie. 2015, Research on Hybrid Indoor Positioning with RFID and Magnetic Field. Nanjing University of Posts and Telecommunications. Shu, Y.C.G.C.L.F. 2015. Magicol: Indoor Localization Using Pervasive Magnetic Field and Opportunistic WiFi Sensing. IEEE Journal on Selected Areas in Communications, 33(7): 1443-1458. DENG Cuiting, HUANG Chaoyan, ZHAO Hua, TIAN Haidong. 2012, Review of Geomagnetic Matching Navigation Algorithm. Science Technology and Engineering, 24:6125-6131. YE Xiaodong, ZHU Zhaoda. 1997, A Fast Algorithm for Median Filtering. Signal Processing, 03: 227-230. Pan Qijun, Ma Weiming, Zhao zhihua, Kang jun. 2005, Development and Application of Measurement Method for Magnetic Field. Transactions of China Electrotechnical Society, 03: 7-13. https://doi.org/10.5194/isprs-archives-xlii-2-w7-379-2017 Authors 2017. CC BY 4.0 License. 383