Wifi Triangulation

浪子不回头ぞ 提交于 2019-11-27 09:29:18

问题


What would be the best way to triangulate a wireless network passively. Are there tools available? Algorithms? Libraries?

My goal would be to create a relative map of various objects that sends or receive signals using signal strength (DB's), signal/noise ratio, signal phase, etc. from a few location points. With enough sampling, i'm guessing it would be possible to create a good 2d/3d map.

I'm searching for stuff in any language / platform.

Some keywords: wi-fi site survey, visualization, coverage, location, positioning

Thinking about using kismet to gather the data and then process it. Maybe Free Space Path Loss for RF in the 2.4Ghz range to calculate a relative distance. And optionally try to use RF obstacle attenuation estimation values (based on some user input) to give better estimates. Then use trilateration to generate possible relative coordinates.


回答1:


You can't use the GPS technique because the timing is nothing like accurate enough. The best you can do is Trilateration based on the signal strength from each base station and assume that range is proportional to signal.
You will probably need to force a connection to each base station in turn in order to measure the signal strength.




回答2:


Interesting question. Initial thoughts were using output from something like the WiSpy spectrum analyzer. I like the idea of using a directional antenna. Looks like some research (may) be underway.




回答3:


Instead of trilateration you could use bilinear interpolation. This is said to be better for non-linear distance vs. signal strength data like wifi in an urban environment would be. http://courses.cit.cornell.edu/ee476/FinalProjects/s2007/ayl26_ym82/ayl26_ym82/index.htm has the background math and the what I assume is AVR C for doing it with magnetic field sensors.




回答4:


Using signal strength to judge distance could easily be thrown off by differences in materials blocking line-of-sight to each of the sampling points. It would probably be better to do the sampling with a directional antenna, and from each sampling point, find the bearing that maximizes signal strength to each device you want to locate. With this technique, you can use only two or three sampling locations, depending on the accuracy with which you can estimate the bearings.




回答5:


Ars Technica has an article about this, citing the Fraunhofer Institute and Skyhooks Wireless. This technology is built into every iPhone and iPad.




回答6:


Actually I think you should try using an algorithm like the GPS one (wikipedia).. of course you can simplify it according to your need, for example:

  • you need to install on every item that should broadcast its position (the navigation signal) an application that actually does it
  • you should use a different channel for every single item to be sure not to generate collisions (it depends also on how much you broadcast the signal)

so if you place at least 4 broadcasters you can triangulate on every client to allow it to calculate its position. Naturally the bcasters should be as much similar as possible in response..

by the way these are just ideas..



来源:https://stackoverflow.com/questions/1009703/wifi-triangulation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!