• No results found

Experimental Performance Comparison of Localization Algorithm based on RSSI for Indoor Environment

N/A
N/A
Protected

Academic year: 2022

Share "Experimental Performance Comparison of Localization Algorithm based on RSSI for Indoor Environment"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

iJournals: International Journal of Software & Hardware Research in Engineering ISSN-2347-4890 Volume 6 Issue 8 August, 2018

Cho Cho Htwe; Myo Myint Maw, vol 6 Issue 8, pp 17-23, August 2018

Experimental Performance Comparison of Localization Algorithm based on RSSI for

Indoor Environment

Cho Cho Htwe

1

; Myo Myint Maw

2

Department of Computer Engineering and Information Technology, Mandalay Technological University

1

; Department of Computer Engineering and Information Technology, Mandalay

Technological University

2

chochohtwe@mtu.edu.mm

1

; myomyintmawphdit5@gmail.com

2

ABSTRACT

Localization in wireless sensor networks has drawn significant research attention, since many real-life applications need to locate the source of incoming measurements as precise as possible for indoor and outdoor environment. In this paper, the accuracy of indoor localization measurement based on the received signal strength indicator (RSSI) of the ZigBee sensor network is analyzed. Weighted Centroid Localization (WCL) provides a simple method to localize the target nodes (unknown nodes). The algorithm can obtained the localization of target nodes by averaging the coordinates of their reference nodes whose positions are known. To improve the localization accuracy, WCL introduces the weights to attract the estimated position to approach the reference node. Therefore, this paper proposes modified weighted centroid localization algorithm based on the traditional algorithm. For modifying weight, weight is considered according to the received power of the target node from the corresponding reference nodes. The experiments are conducted by using XBee-S2C modules as the reference nodes and the target node. After that, the position of the target node is evaluated by using WCL and modified WCL algorithms for indoor environments. In this system, the accuracy of estimated position of target nodes is considered in terms of distance error. And then, the distance error of estimated position of target node is shown with the cumulative distribution function (CDF). According to experimental results, the average distance error of WCL is 0.54 meter and average distance error of modified WCL is 0.5 meter. The experimental results show that modified WCL algorithm is better than WCL because it has fewer parameter and lower complexity.

Keywords: Localization, RSSI, Weighted Centroid Localization, Modified Weighted Centroid Localization.

1. INTRODUCTION

In recent years, localization became the essential process for many applications such as environmental monitoring, medical care, tourist applications, goods transportation, as well as location-aided network functions such as network routing, topology control and coverage [1]. The wireless sensor networks mainly monitor all kinds of environment characteristics in the network deployment area, such as temperature, humidity and so on. But these sensing data often make no sense if the position information isn’t known [2].

Localization algorithm for wireless sensor networks can be divided into the range-free localization algorithm and the range-based localization algorithm which is based on the need for measuring the distance between reference node and target node in the positioning process. Ranging techniques used commonly include the received signal strength indicator (RSSI), the time of arrival (TOA), the time difference of arrival (TDOA) and the angle of arrival (AOA) [3]. In range free, the location is estimated on the basis of hop information. These methods provide approximate location results but are cost effective, consume less energy and do not require any additional hardware due to which more attention is given to range free methods as compared to range based [4].

The centroid localization algorithm proposed by Bulusu et al. is a typical range-free localization algorithm [5]. In this algorithm, the target node monitors the broadcasting position information of the reference nodes. The positioning accuracy of this algorithm is not high, and there may be a large error.

Jan Blumenthal et al. are proposed the weighted centroid localization algorithm to locate devices in wireless sensor networks. This algorithm is derived from a centroid determination which calculates the position of devices by averaging the coordinates of

(2)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 18 known reference nodes. To improve the calculated

position in real implementations, WCL uses weights to attract the estimated position to close reference nodes provided that the distances are available.

In this paper, modified weighted centroid localization algorithm based on RSSI is proposed. The proposed method is range-free and based on WCL in [6]. The accuracy of WCL and modified WCL algorithms are considered in terms of the distance error between the estimated position and the actual position of the target nodes. The distance error is shown by cumulative distribution function (CDF).

The remainder of the paper is structured as follows.

Section 2 provides a brief overview of the related works. Section 3 explains the original WCL and the proposed WCL algorithms. In section 4, the measurement setup and experimental results for the proposed WCL based weighted centroid localization algorithm are described. Section 5 compares the localization errors for the proposed WCL and WCL algorithms. Finally, conclusion of this system is described in section 6.

2. RELATED WORKS

Li Bin and Dou Zheng [7] proposed a new algorithm for WCL, based on traditional algorithm, for locating the beacon nodes which improves the localization of the unknown nodes. Considering the preference of weight, the space between beacon and unknown nodes, and slide range of the triangle are utilized to form the weighted factor. From the outcome of the simulation, it has been proven that accuracy was increased compared to the traditional algorithm.

Quande Dong et al. [8] analyzed a weight- compensated weighted centroid localization algorithm based on RSSI (WCWCL-RSSI) for an outdoor environment. This paper is described that the proposed algorithm has the advantage of lower complexity, little prior information and lower power consumption. The WCWCL-RSSI algorithm is obtained on the basis of WCL. The WCWCL-RSSI algorithm increased the weight of reference node closer to the target node. The proposed algorithm reduces the number of parameters (e.g., the path loss exponent) which need to be measured or computed as compared with original WCL and WCWCL-RSSI reduces the algorithm complexity. In the proposed localization algorithm, the estimated position of the unknown node is evaluated by just knowing RSSI and the coordinates of anchor nodes. The experimental results of this paper described that WCWCL-RSSI is better than WCL in terms of the localization accuracy.

Shaoguo Xie et.al [9] proposed a novel localization scheme called Weighted Centroid Localization Based on Least Square (WCLLS). The proposed algorithm presented a Least-Square-based weight model which can reasonably weigh the proportion of each anchor node in an unknown node. The proposed weight model firstly utilized least square method to compute the weights of anchor nodes. Secondly, the proposed weight model increased the weights of anchor nodes closer to the unknown node to estimate the location.

Thirdly, the proportion of each anchor node in the unknown node (the parameter k) is introduced into the proposed weight model, and gets the optimal value of k through experiments. This paper analyzed the performance of WCLLS through experiments.

Experimental results demonstrated that WCLLS is superior to WCL.

M. Arun et al. explored average weight based centroid localization (AWBCL) algorithm. The proposed algorithm has greater accuracy and minimum location error when compared to the simple weighted centroid localization (WCL) algorithm and modified static- degree weighted centroid localization algorithm. The Average Weight Based Centroid Localization algorithm used weights that are dependent on the average value of the estimated location of sensor nodes and the actual position of the sensor node. The algorithm was derived from the determination of a centroid that assesses the location of nodes using the average of the known reference point’s coordinates.

The simulation results proved that the Average weight based centroid localization algorithm has better accuracy and reduced location error than the conventional simple WCL algorithm and Modified Static-Degree WCL algorithm [10].

Hongbo Fan et al. analyzed the centroid localization and proposed a weighted centroid localization algorithm based on improved RSSI ranging. This algorithm took both the distance and RSSI between beacon nodes into consideration, corrects both the distance between beacon nodes and the signal strength information and selects the reciprocal of the distance as the weight of the algorithm [11].

3.

LOCALIZATION ALGORITHMS

In this section, WCL algorithm and modified WCL algorithm are introduced, respectively.

3.1 Weighted centroid localization (WCL)

WCL uses weights to ensure an improved localization comparing to the centroid method where arithmetic centroid is calculated as target node’s location.

(3)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 19 Weights are the measure of reference node’s attraction

to the target node. The greater the value of weight is, the closer the target node is to the reference node. The low accuracy in location estimation of CL has stimulated the development of WCL. WCL introduces the weights of the reference nodes depending on their distance towards the target node. To calculate the weight by using following formula is used:

g ij

ij d

w ( )

 1 (1)

wherew is the weight which depends on the distance ij between i-th target node and j-th reference node, d ij refers to the distance between i-th target node and j-th reference node and g is adjustable degree. Distance d ij can be calculated using received signal strength of the target node received from the corresponding reference nodes. In most of the related work, g is set to 1 [8]

because the minimum distance error is obtained, although every application scenario could require a optimal g to improve the accuracy of the estimated position of the target nodes.

Estimated target node's positions are further calculated by the following formula:

n

j ij n

j j ij

i

w y x B w y x P

1 1

) , ( . )

, (

(2)

where, Pi(x,y) is the estimated coordinates of the ith target node, Bj(x,y) is the exact coordinates of the jth reference node, and n is the number of reference nodes.

From WCL formula, the distance between the reference nodes and the target node must compute to get the position of the target node. In practice, the distance between the reference nodes and the target node can get by computing the path loss exponent.

Although, the path loss exponent has to be done with a mass of measured data, and the path loss exponent is not accurate by computing. To solve this problem, a simple method, modified WCL is proposed in this paper.

3.2 Modified Weighted Centroid Localization Based on RSSI

In this proposed system, modified weighted centroid localization algorithm based on RSSI is described.

First, the received power of the target node is calculated by using RSSI. RSSI is called as ratio of the received power to the reference power. Generally, the reference power represents an absolute value of PRef

=1mW [12]. The actually received power can be obtained by the RSSI and vice-versa, as denoted in the following equations (3) and (4).

f Rx

P RSSI P

Re

log .

10 (3)

) 10 / ( Ref *10RSSI

Rx P

P  (4) where,PRefis the reference power andPRxis the received power of wave at the target node.

An increasing received power results in a rising received signal strength indicators. Thus, distance d is indirectly ij proportional toPRx. Therefore, the following weight equation with the weighting factor is formed.

 

Rx g

ij P

W  (5) Weight equation can be seen that the knowledge of

d is not necessary because the algorithm can simply ij

use the received powerPRxor alternatively, the RSSI of the target node.

wij is as the weight of reference nodes from the corresponding i-th target node, butw cannot fully ij reflect the binding on the estimated position of the target node due to the interference of external environment. To solve the problem through the method of compensating the weights of reference nodes, and a modified weight model is suggested. In modified weight model, the weight of reference node is increased into the closer to the target node because the reference nodes still impact the position determination of the target node [6].

 

 

 

 

n j

RSSI g f

RSSI g f

ij

ij ij

P P W

1

10 / Re

10 / Re

10

* 10

*

(6)

For estimating the position of the target nodes, the equation of WCL algorithm is applied. Modified WCL equation is as shown in the following equation (7):

n j

ij n j

j ij

i

w y x B w y x P

1 1

) , ( . )

,

( (7)

The distance error LE(x,y)is defined as distance between actual position and estimated position of target node [13].

(4)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 20

2

2 ( )

) (

) ,

(x y xest xact yest yact

LE     (8)

Where,(xest,yest)is the estimated position of target node and (xact,yact)the actual position of target node.

In order to assess the distance errors for all the estimated and actual nodes, the following relation is used given in equation (9), where N is the total number of sensor nodes.

N

y y x

y x x

AvgLE

( est act)2( est act)2

) ,

( (9)

3.3 Theoretical Performance Analysis

In theory, the modified WCL algorithm is obtained based on WCL algorithm. Compared with WCL, modified algorithm based on RSSI reduces the number of parameters (e.g., the path loss exponent) and reduces the algorithm complexity.

In WCL algorithm, the distance between the target node and the reference nodes must be estimated if the position of the target node needs to be acquired. In order to estimate the distance between the target node and reference node, some parameters have to be computed, including the path loss exponent and the received signal strength at reference distance (d01meter). However, the calculation of these parameters will increase the algorithm complexity.

In modified WCL algorithm, the knowledge of the distance is not necessary as the algorithm can just use the received powerPRxor alternatively RSSI as weight.

From the above analysis, the proposed algorithm reduces the number of parameters as compared with the WCL.

4. M

EASUREMENT SETUP AND EXPERIMENTAL RESULTS

4.1 RSSI Measurements for Indoor Environment

In the 2-D indoor position estimation system, the first step has designed a model to measure for estimating the position of the target node in indoor environment.

For more accurate localization, the experiment will be done without obstructions. In the experiment, the Xbee-S2C module is used both as reference nodes and target node, respectively. The XBee-S2C module is the Zigbee module with the operating frequency of 2.4 GHz. The reference nodes were deployed in the known position at the coordinate (0,0), (5,0), (0,5) and (5,5).

RSSI measurement is conducted by using XBee-S2C.

The reference nodes send the received signal values to the target node. The target node receives RSSI from reference nodes and sends it to the computer for estimating the position of target node. Then, the position of target node is estimated by using the WCL and modified WCL algorithms. The experimental region is 5 meters x 5 meters area with 36 points. The distance along the x and y is 1 meter on the coordinates as shown in Figure 1. The measurements were done at the portico of main building in Mandalay Technology University (MTU).

Fig 1: Experimental Region

Fig 2: Layout of proposed model for indoor localization based on ZigBee Sensors

(5)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 21 4.2 Experimental Results

The 2-D indoor position estimation system is analyzed by using XBee-S2C modules. The actual positions of target node are shown in Figure 2. There are 36 positions of target node in this proposed system. The estimated position of the target node is calculated by using WCL and modified WCL algorithms based on RSSI values and the known positions of the reference node. To improve localization accuracy, the different weighting factors are considered for two algorithms.

For this proposed system, the value of optimal weighting factor is 1.5. The results of distance error for all target nodes are shown by the following figures.

In Figure 3, the minimum distance error is 0.01 and the maximum distance error is 1.45. From Figure 4, the minimum distance error is 0.008 and the maximum distance error is 1.45. The average distance error of WCL is 0.54 and the average distance error is 0.5 for modified WCL algorithm. According to the experimental results, the distance errors of all target nodes by using WCL and modified WCL are almost the same.

Fig 3: Distance Error of WCL

Fig 4: Distance Error of Modified WCL

5. P

ERFORMANCE COMPARISON OF LOCALIZATION ALGORITHMS

In this section, the performance comparison of WCL and modified WCL algorithms is described. To estimate the position of the target node, RSSI values and the distance between the reference node and the target node is required for WCL algorithm. For estimating the distance between the reference node and the target node, path loss value must be calculated in WCL algorithm. While modified WCL algorithm is employed, the position of the target node can be estimated with only RSSI values.

Therefore, modified WCL algorithm is fewer parameter and lower complexity than WCL algorithm.

And then, the localization errors of the target node are displayed in terms of CDF. Finally, CDF of localization error for two algorithms are shown by comparing distance errors.

Fig 5: Comparison of Distance Error for WCL and modified WCL Max Error

Max Error

(6)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 22 The comparison of CDF of distance errors for two

algorithms is shown by the following figure.

Fig 6: Comparison of CDF for WCL and Modified WCL

The value of the maximum distance error, minimum distance error and the average distance error are tabulated for WCL and modified WCL algorithms. The different weighting factors are considered to reduce distance error of the target node. In this proposed system, the localization accuracy for two algorithms is analyzed by considering the different weighting factors from 0.5 to 5. The following table shows the result for minimum, maximum and average distance error for WCL and modified WCL algorithms, respectively.

From Table 1, the maximum distance error value of two algorithms is the same although the minimum distance error value of WCL is more than modified

WCL algorithm, According to experimental results, it can be seen that the average distance error of modified WCL algorithm is slightly lower than WCL algorithm.

Table 1. Average Distance Error for localization algorithm

Localiza- tion algorithm

Min distance

error (meter)

Max distance

error (meter)

Avg distance

error (meter)

WCL 0.01 1.45 0.54

Modified WCL

0.008 1.45 0.5

6. CONCLUSIONS

In this paper, the 2-D indoor position estimation system based on RSSI of ZigBee sensor is presented.

In the proposed system, WCL is employed to estimate the position of the target node. In addition, modified WCL based on RSSI is proposed for indoor environment. In the proposed localization algorithm, the estimated position of the target node can be estimated with RSSI values and the known position of reference nodes. In addition, the proposed algorithm does not need to obtain the path loss exponent and other prior information.

The accuracy of WCL and modified WCL algorithms are analyzed in terms of the distance error between the estimated position and actual position of the target node. From experimental results, the localization accuracy of WCL and modified WCL algorithms are almost the same. However, it can be seen that modified WCL algorithm has the advantage of lower complexity, fewer parameter. Although the modified algorithm has some progress in lower algorithm complexity and fewer parameters, the improvement of the localization accuracy is not significant. In the future work, the proposed system is planned to work on improvement of the localization accuracy.

7.

ACKNOWLEDGEMENT

This research work is financially supported by JICA EEHE Project. The authors are special thanks to JICA EEHE Project. The authors are also thanks to reviewers, Department of Computer Engineering and

Information Technology, Mandalay Technological University for her helpful comments and kindness.

References

[1]. Y. Liu, Z. Yang, “Location, localization and localizability: location awareness technology for wireless networks”, Springer, 2010.

[2]. W. Shu, Y. Yujie, H. Fuping,“Theory and application of wireless sensor network”, Beihang University press, Beijing, 2007.

[3]. Y. Sun Lee, J. Woo Park and L. Barolli, “A localization algorithm based on AOA for ad-hoc sensor networks”, Mobile information systems, (2012), pp. 61-72.

[4]. Z. B. Li, Z. Z. Wei and F. L. Xu, “The performance analysis of advanced centroid localization algorithm for wireless sensor network,” Chinese Journal of Sensors and Actuators.

(7)

Volume 6 Issue 8 August, 2018

© 2018, IJournals All Rights Reserved www.ijournals.in

Page 23 [5]. Z. Pengheg, “The research of wireless sensor

weighted centroid localization algorithm”, Computers Knowledge and Technology, Vol.7, No.6, 1290-1292, 2011.

[6]. J.Blumenthal, R.Grossmann, F. Golatowski, D.

Timmermann, “Weighted centroid localization in ZigBee-based sensor networks”, in Proceedings of the IEEE International Symposium on Intelligent Signal Processing (WISP '07), pp.1-6, October, 2007.

[7]. L. Bin, D. Zheng, N. Yu and L. Yun, "An improved weighted centroid localization algorithm", International Journal of Future Generation Communication and Networking Vol.6, No.5 (2013), pp.45-52.

[8]. Q. Dong,“ Novel weighted centroid localization algorithm based on RSSI for an outdoor environment”, Journal of Communications Vol.

9, No. 3, March 2014.

[9]. S. Xie, “Weighted centroid localization algorithm based on least square for wireless sensor networks”, Key Laboratory of Intelligent Computing & Signal Processing, Ministry of Education, 2014.

[10]. M. Arun, N. Sivasankari, “Analysis of average weight based centroid localization algorithm for mobile wireless sensor networks”, Advances in Wireless and Mobile Communications, ISSN 0973-6972 Volume 10, Number 4 (2017), pp.

757-780.

[11]. H. Fan, G. He, “Weighted centroid localization algorithm based on improved RSSI ranging”, International Conference on Mechtronic Sciences, Electric Engineering and Compuer (MEC), Dec 2013, Shenyang, China.

[12]. K. Srinivasan, P. Levis, “RSSI is under appreciated, In Proceedings of the Third Workshop on Embedded Networked Sensors

“,(EmNets 2006).

[13]. J. Blumenthal, F. Reichenbach, “Position estimation in Ad hoc wireless sensor networks with low complexity“, Joint 2nd Workshop on Positioning, Navigation and Communication 2005 (WPNC 05) & 1st Ultra-Wideband Expert Talk 2005 (05), S.41-49, ISBN: 3-8322-3746-1, Hanover,Deutschland,2005.

References

Related documents

Frequency of plantlets showing disease symptoms at 4 weeks after transplanting, frequency of buried root tip segments from which Foc was recovered activity, and frequency of

According to the results of Tomas Li-Ping Tang’s research (Tomas Li-Ping Tang, 1996, p. Similar results were obtained by Kent T. 522-528) while researching attitude to money

Given that the station uses different presenters who may be non-native speakers of some of the target languages of the listeners of Mulembe FM newscasts, the

The national health priority areas are disease prevention, mitigation and control; health education, promotion, environmental health and nutrition; governance, coord-

By formulating the video denoising problem to a low-rank matrix completion problem, our proposed algorithm does not assume any specific statistical properties

have a distance to go to providing the evidence we want • Understanding the past better will help us in the future • Patient feedback is evidence – Lets capture it. • Evidence

Next, the multifactorial principal component survey, regardless of the relative heterogeneous performances exhibited by physical, functional and electrocardiogram analyses,

There are infinitely many principles of justice (conclusion). 24 “These, Socrates, said Parmenides, are a few, and only a few of the difficulties in which we are involved if