# Wi-Fi indoor positioning system

**URL:** <https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108>\
**Category:** Factual Questions\
**Created:** [December 24, 2013, 9:36pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108 "2013-12-24T21:36:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qwertol](https://avatars.discourse-cdn.com/v4/letter/q/e274bd/32.png) [@Qwertol](https://boards.straightdope.com/u/Qwertol)\
**Post date:** [December 24, 2013, 9:36pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/1 "2013-12-24T21:36:18Z")

</div>

If Google is able to give my position with surprising accuracy using only WiFi, would if be possible to build accurate (say to 10 cm) indoor positioning system, if I had 4 (or more) access points and measured their exact position?

---

<div class="post-metadata">

**Author:** ![andrewm](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@andrewm](https://boards.straightdope.com/u/andrewm)\
**Post date:** [December 24, 2013, 10:55pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/2 "2013-12-24T22:55:35Z")

</div>

Certainly not by timing signal propagation times (the way GPS operates) - you need absolute timing with sub-nanosecond accuracy on both ends, which you don’t have. Even if you did have atomic clocks attached to your WiFi access points, there’s too much jitter in commodity hardware and software to keep the accuracy.

Measuring signal strength would be an alternative, but I doubt it would work either - I suspect that the signal-strength measurement data available from WiFi adapters does not have nearly enough resolution for that accuracy. You’d also have to contend with varying interference (cordless phones, microwaves, moving bodies, etc.) affecting your readings.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [December 25, 2013, 1:11pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/3 "2013-12-25T13:11:47Z")

</div>

Dunno about 10cm accuracy, but Google already does it at certain malls to an accuracy of several meters: [http://www.newscientist.com/article/mg21228425.200-brave-the-mall-maze-with-indoor-positioning-systems.html#.UrrY9hwy\_Nw](http://www.newscientist.com/article/mg21228425.200-brave-the-mall-maze-with-indoor-positioning-systems.html#.UrrY9hwy_Nw)

> **[A new frontier for Google Maps: mapping the indoors](https://googleblog.blogspot.com/2011/11/new-frontier-for-google-maps-mapping.html?m=1)**
>
> Insights from Googlers into our products, technology, and the Google culture

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [December 25, 2013, 1:16pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/4 "2013-12-25T13:16:06Z")

</div>

And this article has various ways you can replace or supplement wifi positioning:

> **[Indoor Location startups innovating Indoor Positioning](https://dondodge.typepad.com/the_next_big_thing/2013/06/indoor-location-startups-innovating-indoor-positioning.html)**
>
> Indoor Location and Positioning technology is the Next Big Thing. It is bringing the power of GPS and Maps indoors. We spend most of our time indoors, working, shopping, eating, at the mall, at the office, on campus, etc. Apple and Google are...

---

<div class="post-metadata">

**Author:** ![Qwertol](https://avatars.discourse-cdn.com/v4/letter/q/e274bd/32.png) [@Qwertol](https://boards.straightdope.com/u/Qwertol)\
**Post date:** [December 25, 2013, 6:53pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/5 "2013-12-25T18:53:13Z")

</div>

> [@Reply](#):
>
> And this article has various ways you can replace or supplement wifi positioning:
> 
> [http://dondodge.typepad.com/the\_next\_big\_thing/2013/06/indoor-location-startups-innovating-indoor-positioning.html](http://dondodge.typepad.com/the_next_big_thing/2013/06/indoor-location-startups-innovating-indoor-positioning.html)

From your site:

> [@](#):
>
> Sensors (Accelerometer, Gyro, Compass, Barometer, etc) - Most smartphones contain multiple sensors that can measure your direction, turns, speed, and height above sea level to create a three dimensional view of your location. Starting with a known position from other methods such as GPS, cellular, or WiFi, the smartphone sensors can be used to track your position inside a building.

I don’t buy that. I tested my smartphone, and after just 30 seconds velocity readings diverge to as much as 10 m/s for phone lying still (due to accelerometer noise). So you can’t measure position like that.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [December 25, 2013, 8:19pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/6 "2013-12-25T20:19:39Z")

</div>

> [@Qwertol](#):
>
> From your site:
> 
> I don’t buy that. I tested my smartphone, and after just 30 seconds velocity readings diverge to as much as 10 m/s for phone lying still (due to accelerometer noise). So you can’t measure position like that.

The specifics probably differ between implementations and devices, but [dead reckoning](https://en.wikipedia.org/wiki/Dead_reckoning) is a pretty popular technique at least in GPS devices. As far as I know it’s usually not used as a standalone technique, but in conjunction with other navigational sensors/data.

---

<div class="post-metadata">

**Author:** ![Learjeff](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Learjeff](https://boards.straightdope.com/u/Learjeff)\
**Post date:** [December 26, 2013, 4:36pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/7 "2013-12-26T16:36:57Z")

</div>

I question the assertion that Google can locate us accurately using wifi. My understanding is that the best it can do is locate us based on the traceroute information along with metadata that identifies the physical location of the ISP’s gear. (How Google gets access to the ISP’s data is a mystery to me, but clearly, they do.)

If I turn off GPS, Google can locate me to the neighborhood, but not to my home or within my home or yard. At least, that’s what I remember; I’ll test it again and se.

---

<div class="post-metadata">

**Author:** ![Learjeff](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Learjeff](https://boards.straightdope.com/u/Learjeff)\
**Post date:** [December 26, 2013, 4:39pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/8 "2013-12-26T16:39:35Z")

</div>

> [@Reply](#):
>
> The specifics probably differ between implementations and devices, but [dead reckoning](https://en.wikipedia.org/wiki/Dead_reckoning) is a pretty popular technique at least in GPS devices. As far as I know it’s usually not used as a standalone technique, but in conjunction with other navigational sensors/data.

Dead reckoning works great as an update tool in autos, trains, or speedboats, where you’re moving faster than GPS updates. It’s based on previous GPS updates, not accelerometer readings. I seriously doubt that the accuracy of dead reckoning using accelerometer readings would be accurate enough to be useful.

It’s a testable hypothesis, though, if anyone’s written the software. I’d be interested to see the results!

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [December 26, 2013, 7:19pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/9 "2013-12-26T19:19:38Z")

</div>

> [@Learjeff](#):
>
> Dead reckoning works great as an update tool in autos, trains, or speedboats, where you’re moving faster than GPS updates. It’s based on previous GPS updates, not accelerometer readings. I seriously doubt that the accuracy of dead reckoning using accelerometer readings would be accurate enough to be useful.
> 
> It’s a testable hypothesis, though, if anyone’s written the software. I’d be interested to see the results!

There are systems that use accelerometers:

> **[Inertial navigation system](https://en.wikipedia.org/wiki/Inertial_navigation_system)**
>
> An inertial navigation system (INS; also inertial guidance system, inertial instrument) is a navigation device that uses motion sensors (accelerometers), rotation sensors (gyroscopes) and a computer to continuously calculate by dead reckoning the position, the orientation, and the velocity (direction and speed of movement) of a moving object without the need for external references. Often the inertial sensors are supplemented by a barometric altimeter and sometimes by magnetic sensors (magneto In...

But they’re probably a lot more useful when your vector is a constant speed and direction, as opposed to being a crazy pedestrian wandering around inside a mall towards shiny things.

---

<div class="post-metadata">

**Author:** ![ticker](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@ticker](https://boards.straightdope.com/u/ticker)\
**Post date:** [December 26, 2013, 11:47pm UTC](https://boards.straightdope.com/t/wi-fi-indoor-positioning-system/677108/10 "2013-12-26T23:47:31Z")

</div>

> [@Learjeff](#):
>
> I question the assertion that Google can locate us accurately using wifi. My understanding is that the best it can do is locate us based on the traceroute information along with metadata that identifies the physical location of the ISP’s gear. (How Google gets access to the ISP’s data is a mystery to me, but clearly, they do.)
> 
> If I turn off GPS, Google can locate me to the neighborhood, but not to my home or within my home or yard. At least, that’s what I remember; I’ll test it again and se.

Google can cross-reference the wi-fi system you are on with the location of people who have connected in the past when using GPS on smart phones. They also collected loads of wi-fi locations when they did streetview.
