Localization in ns3

300 views
Skip to first unread message

kiran kumar

unread,
Nov 17, 2015, 5:28:15 AM11/17/15
to ns-3-users
Hi friends.
Can we develop localization  techniques(In wireless sensor networks) using ns3.

tangguo...@gmail.com

unread,
Nov 19, 2015, 5:28:45 AM11/19/15
to ns-3-users
Hi,do you have the references about Localization Algorithm for Wireless Sensor Network in NS3? Thank you very much

在 2015年11月17日星期二 UTC+8下午6:28:15,kiran kumar写道:

Tommaso Pecorella

unread,
Nov 19, 2015, 5:59:13 AM11/19/15
to ns-3-users
Hi,

let me clarify some points about localization and ns-3, as it seems that there's something that is not understood at all.

Nodes in ns-3 knows their exact position and the exact time.
Localization is all about having an imperfect knowledge of position and time.
You understand now what is the problem ?

Time: we recently added some functions to have a per-node clock, each one with its own precision. The functionality is still at extremely early stage, and right now the API is just a wrapper around the "old" absolute time. As a consequence, one should first fill this gap. Any contribution is welcome.

Position: as for time, node position is down by nodes exactly. However, one should add a imperfect knowledge layer, e.g., one taking into account the relative error of GPS, or something similar.

MOREOVER, localization techniques are affected by non-deterministic delays in signal processing. I.e., when you receive a signal a node could have an internal random processing delay on top of the fixed and known part. This adds to the localization precision outcomes. If you don't add this too, your results will be flawed. Note that processing delay is not modeled at all in ns-3.

Summarizing: good luck. It is possible to simulate localization using ns-3, but you should have a deep understanding of the whole problem and of the limits / restrictions of the simulation environment. Fail at one small bit and your results are invalid.

Have fun.

T.

PS: the above considerations apply to Matlab too, and any other simulation environment.

tangguo...@gmail.com

unread,
Nov 19, 2015, 6:48:49 AM11/19/15
to ns-3-users
Hi,do you have the codes about the range- free localization algorithm for wireless sensor network in ns3?Thank you

在 2015年11月19日星期四 UTC+8下午6:59:13,Tommaso Pecorella写道:

tangguo...@gmail.com

unread,
Nov 19, 2015, 7:27:57 AM11/19/15
to ns-3-users
Hi,do you have the codes about the range- free localization algorithm for wireless sensor network in ns3?Thank you

在 2015年11月17日星期二 UTC+8下午6:28:15,kiran kumar写道:
Hi friends.

Tommaso Pecorella

unread,
Nov 19, 2015, 8:03:28 AM11/19/15
to ns-3-users
It is evident that I wasn't clear in my previous message.

I am not aware of any localization method implemented in ns-3, and (as i pointed out) it will very hard to make one.

T.
Reply all
Reply to author
Forward
0 new messages