by jrockway · 3y ago · 0 comments
Even if I do a reset + cold start in u-center or similar, I still don't have to wait 12 minutes. I wonder why.
Almanac gives coarse satellite position information (and some other stuff), good enough to know which ones are probably visible and therefore prioritize signal acquisition attempts which used to be very very costly in terms of signal processing. That's the message that takes up 12.5 minutes to piece together. Nowadays you can just brute force all possible satellite signals and there's no need to wait around for the almanac information. Each satellite signal broadcasts precise satellite location information (ephemeris), which takes maybe 30 seconds to get a few frames I believe. So that's basically the bottleneck for a modern chipset which starts with zero information and relies solely on the GPS signals to navigate.
Classical GPS receivers use the almanac (and a reasonably accurate local clock) to determine which satellites are probably in view, and with which Doppler shifts. I would not be surprised if modern GPS chips had enough compute power to simply correlate the received signal with all gold codes and at all reasonable Doppler shifts. The almanac is then no longer necessary.
Usually that approach cuts the sync time by factor of ten, even if the real ephemeris diverges from the general almanac.
This is how they build RTK surveying equipment, and they can have their own RTK reference point that uses statistical averaging over time to get accuracy down to the centimeter range or below, and then rebroadcast that to the local RTK rover nodes. There are multiple correction systems available that you can subscribe to, some of which can transmit their corrections via 4G/LTE/5G or other radio band communications, so that you don't need your own RTK reference for your rover units.
For good RTK equipment, you can easily pay $40k or more, but if you look around you can find some equipment that costs less than $1000. My current favorite is the SparkFun GPS RTK Express Kit, although you need a pair of them if you want to do your own RTK reference point and you don't subscribe to one of the various other correction systems.
While the general orbits of the satellites (each is uniquely identifiable) can be pre-shipped, orbits do fluctuate, so the data would still need to be updated / fine tuned.
> The receiver is missing or has inaccurate estimates of its position, velocity, the time, or the visibility of any of the GPS satellites. As such, the receiver must systematically search for all possible satellites. After acquiring a satellite signal, the receiver can begin to obtain approximate information on all the other satellites, called the almanac. This almanac is transmitted repeatedly over 12.5 minutes. Almanac data can be received from any of the GPS satellites and is considered valid for up to 180 days.
* https://en.wikipedia.org/wiki/Time_to_first_fix
But a general fix can do done without any initial data, and is sped up by being near the previous last fix and caching some data.