Top Banner
Localization with RSSI values for Wireless Sensor Networks: An Artificial Neural Network Approach By: Shiu Kumar (Department of Electronics Engineering, Mokpo National University, Korea) International Electronic Conference on Sensors and Applications 1-16 June 2014
16

Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

Aug 12, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

Localization with RSSI values for Wireless Sensor Networks:An Artificial Neural Network

Approach

By: Shiu Kumar (Department of Electronics Engineering, Mokpo National University, Korea)

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 2: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Experimental Setup

Summary Layout

Introduction – problem definition

Data Collection

Training the ANN

Proposed ANN - implementation

Artificial Intelligence

Results and Discussion

Conclusions

ECSA 20142

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 3: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Introduction

WSNs have broad applications in scientific data gathering,performing search and rescue operations, real-timeinformation processing for disaster response, monitoringand surveillance, security, and military applications.

One of the fundamental challenges and active researchareas in wireless sensor networks is node localization.

Node localization refers to determining the physicallocation of each node in the network.

Most WSN applications need to have locationinformation of the sensor nodes in order to make themeasured data significant.

Artificial Intelligence

ECSA 20143

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 4: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Introduction

It is impractical to note down or record the location ofeach of the sensor nodes during the time of deployment asWSNs typically consists of a large number of spatiallydistributed sensor nodes.

Node localization is required to:

report the origin of events

assist group querying of sensors

routing

and to answer questions about the network coverage

Location information is used in many location-awareapplications such as navigation, tracking, searching, andrescue operations.

Artificial Intelligence

ECSA 20144

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 5: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Data Collection

Artificial Intelligence

Anchor Node

Mobile Node

Docklight (v1.9)

Serial Communication

Sensor node XBee Series 2 Arduino Uno

Location determination usingReceived Signal StrengthIndicator (RSSI) value.

Command XBee explicitly usingDB command returns RSSIvalue.

AT mode API mode

Data Collection

ECSA 20145

Localization Beacon

Beacon Request

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 6: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Experimental Setup Layout

Artificial Intelligence

Red Anchor nodesBlack Training data points at 0.50m [(9 x 11) – 4 = 95]Green Testing data points (unknown positions)Environment Lab containing tables, chairs, computers

ECSA 20146

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 7: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Proposed Method: Training

Multi-Layer Perceptron (feed-forward) Neural Network.

Software Matlab

Learning Algorithms Evaluated Levenberg-Marquardt (LM),

Bayesian Regularization (BR), Resilient Back-propagation (RP),

Scaled Conjugate Gradient (SCG) and Gradient Descent (GD).

Data Set : 25 x 95 = 2375 data set for known positions(60% Training, 20% Validation, 20% Testing)

: 7 x 15 = 105 data set for unknown positions

Dataset structure

Artificial Intelligence

mmmmmm YXRRRR

YXRRRRYXRRRR

data

4321

2224232221

1114131211

ECSA 20147

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 8: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Proposed Method: Training

Dataset Structure Rij denotes the RSSI values of thesignal perceived from the jth anchor node, at the ith

reference point while Xi and Yi denote the x and ycoordinates of the ith reference point.

Different Artificial Neural Network (ANN) structures weretested. keeping in mind the computational complexity,cost and localization accuracy a 12-12-2 structure wasselected.

Using the selected ANN structure, all the learningalgorithms were used for training and evaluating theirperformance.

The ANN with BR learning algorithm was finallyselected (explained in results).

Artificial Intelligence

ECSA 20148

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 9: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Proposed Method: Training

During training, the best solutions for each type of learningalgorithm were selected depending on the validationchecks.

Then the final ANN obtained above were used to evaluatehow well they performed on the test data.

The Error Calculation is done using the following formula:

Where n is the number of samples, is the actualand is the estimated coordinates of the mobilenode at the ith test data set.

Artificial Intelligence

n

iiiii yyxx

ne

1

2o

2o )()(1

),( oioi yx),( ii yx

ECSA 20149

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 10: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Proposed ANN

Artificial Intelligence

Activation functions: 1st & 2nd layer hyperbolic tangent sigmoid

: 3rd layer pure line

Inputs: RSSI value from the 4 anchor nodes

Outputs: x and y coordinates of the mobile node

ECSA 201410

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 11: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Implementation

Artificial Intelligence

R Input of the ANN (RSSI values of signals from anchors) [1x4]

Wk(l) Weight vector of kth node of lth layer

bk(l) Bias vector of kth node of lth layer

A learned ANN can be implemented using other programminglanguages in a similar way.

)3()3()2()2()1()1(tanhtanh kkkkkT

k bWbWbWRyx

The parameters obtained from the trained ANN were usedto implement the ANN on the Arduino platform using theequation given below:

ECSA 201411

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 12: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Results

Artificial Intelligence

0

100

200

300

400

500

600

700

800

900

LM BR RP SCG GD

Trai

ng T

ime

(s)

Training Method

Graph showing the timetaken to train the ANN fordifferent training algorithms

Graph showing the average, maximum error andpercentage of time error is less than 0.8m fordifferent training algorithms.

ECSA 201412

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 13: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Results and Discussion

Artificial Intelligence The ANN learned from BR algorithm was selected as it gave

maximum error of 1.21 m, average error of 0.04 m for testat known positions and average error of 0.30 m for test atunknown positions.

The errors obtained in the ANN learned from BR algorithmwere less than that of ANN learned from all other methodsevaluated.

99 percent of the time the localization error for theselected ANN was less than 0.80 m.

However, BR algorithm takes about 751 seconds for trainingthe network, which is the 2nd highest.

ECSA 201413

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 14: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Results and Discussion

Artificial Intelligence Since offline training is carried out only to obtain the ANN

parameters for implementation on Arduino platform, thetraining time was not considered.

For applications where online training will be performed,the LM learning algorithm is recommended.

Mamdani & Sugano Fuzzy Inference System (FIS) [10] used121 anchor nodes and obtained average localization errorof 3.0 m.

A neural network approach in [9] obtained an averagelocalization error of 0.4855 m for 2D movement using 4anchor nodes.

ECSA 201414

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 15: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

Results and Discussion

Artificial Intelligence The MLP neural network is chosen due to its best trade-off

between the accuracy and memory requirements amongthe other types of neural networks.

The proposed ANN achieved a better localizationperformance compared to other methods such as [9] and[10].

The results presented herein are from actual experimentcarried out in real time environment while the results ofthe related works mentioned in [9] and [10] are obtainedfrom simulation environment.

ECSA 201415

International Electronic Conference on Sensors and Applications1-16 June 2014

Page 16: Localization with RSSI values for Wireless Sensor Networks ... · Multi-Layer Perceptron (feed-forward) Neural Network. Software Matlab Learning Algorithms Evaluated Levenberg-Marquardt

ON

TARGET

BR training method gives the best result but requireslot of time to train the network (suitable for offlinemethods).

Conclusion

Node localization 2D 4 anchor nodes MLP(feed-forward) Neural Network 12-12-2

An average error of 0.30 m has been achieved using4 anchor nodes only.

LM training method gives comparable results andsuitable for online methods efficient and requiresless training time.

ArtificialIntelligence

Increasing the number of anchor nodes increases thelocalization accuracy at the expense of highercost

Thank you for your attention

International Electronic Conference on Sensors and Applications1-16 June 2014