The Physics of GPS (perthirtysix.com)

by maouida 33 comments 170 points
Read article View on HN

33 comments

[−] throw0101a 33d ago
Reminder of Bartosz Ciechanowski "GPS" article:

* https://ciechanow.ski/gps/

* 2022: https://news.ycombinator.com/item?id=29981188

* 2023: https://news.ycombinator.com/item?id=36180316

* Others: https://news.ycombinator.com/from?site=ciechanow.ski

Standford's "An Introduction to Satellite Navigation" course is also instructive (recorded 2014):

* https://www.youtube.com/playlist?list=PLGvhNIiu1ubyEOJga50LJ...

[−] dan-robertson 32d ago
I like http://lea.hamradio.si/~s53mv/navsats/theory.html which has a different focus from the Ciechanowski article.
[−] TravisLS 33d ago
I love these incredibly simple and elegant classic technologies. GPS is one of the best. It seems like it would be incredibly complicated and mysterious, but it's actually quite straightforward.

I'm working on a presentation now to explain how GPS works to second graders. If they understand it, I'll take some photos and do a write-up.

[−] seanalltogether 33d ago
Do the satellites broadcast their own position, or is that all held in a database on your phone? Also why is it so draining on your battery to get GPS location, if it's just solving a simple calculation.
[−] ikidd 33d ago
Also, RTK is an interesting way to correct the signal to get sub-centimeter accuracy. Using the timing differences between satellites with a stationary unit and then sending the that to the rover is a cool workaround and can be used without expensive equipment now.
[−] magneticnorth 33d ago
A slightly related question, if anyone knows - has phone GPS gotten worse in recent generations? More reliance on local wifi networks or something like that?

I ask because I do a lot of backcountry hiking, camping, and foraging and rely on true GPS-only navigation. My most recent two phones (iphone and pixel) have noticeably worse GPS performance than previous phones, and I even changed OS ecosystems mostly hoping for better GPS, but it didn't help. Maybe I've had bad luck, but two noticeably bad phones in a row seems like it may be a pattern.

And is there any way to find phones with very good GPS performance?

[−] empiricus 33d ago
I found much more interesting the way the gps electronics work. What do you mean you need to know the exact moment you receive a message from a satellite with nanosecond precision? when the message itself is several seconds long.
[−] ck2 33d ago
Wish they could solve the GPS altitude weakness

Watches that use GPS for altitude are terribly inaccurate

It is interesting to run the opensource GPSTEST app on a smartphone and watch the MSL "settle" over time but each sat seems to disagree

* https://github.com/barbeau/gpstest

btw watches are now getting THREE multi-band L1+L5 GPS chipsets, should help things

quad-band GNSS coming soon too!

* https://the5krunner.com/2026/03/06/tri-band-gps-garmin/

[−] Lukas_Skywalker 33d ago
The explanation about the spheres is slightly inaccurate. With one satellite, you won't get a circle on the earths surface, but a sphere.

GPS is not constrained to earths surface (or the oblate spheroid approximating it), luckily.

[−] dmk 33d ago
The fact that they deliberately manufacture the satellite clocks to tick at the wrong frequency on the ground (10.22999999543 MHz instead of 10.23 MHz) so that relativity makes them tick correctly in orbit is one of my favorite engineering details in any system.
[−] hyperbolablabla 32d ago
GPS (using TOA or absolute time of a arrival) is cool and everything, but I'm a much bigger fan of TDOA, when you trilaterate using time _difference_ of arrival, relative to each station. This involves finding the intersection of 3 hyperbolae... Which is where my user name comes from!
[−] petee 33d ago
Maybe i missed it, but the first step kinda skips over how the inital time is calculated - the cell can't know when the signal was transmitted without some prior time or location knowledge?
[−] linzhangrun 32d ago
[flagged]
[−] mickhayes 32d ago
[dead]