2
$\begingroup$

I used an app to test GPS, that shows me TTFF is equal to a few seconds. I want to understand :

  • What is Time To First Fix?
  • Is having internet access useful to improve it?
$\endgroup$

1 Answer 1

5
$\begingroup$

A "fix" is a solution to navigation problem, i.e. determining where you are. The Time To First Fix is the time it takes to arrive at that solution from the time you turn on your device

In order to determine where you are with GNSS you need:

  • acquire signals from at least 4 satellites (to solve for four unknowns: 3 position variables and time, see also this question)
  • know where those satellites are (recall that you use the satellites as beacon with a one-way distance measurement to determine where you are).
  • compute the distances from you to each satellite

Especially the acquisition process takes a lot of time, because:

  • you need to know which satellites are in view
  • you need to know how fast they are traveling relative to you (to correct for Doppler shift)

This information is embedded in the satellite almanac (ephemerides for all satellites) plus information about where you are (you can't see satellites below the horizon) and how fast you are going and in which direction.

Typically, three cases are considered in TTFF performance:

  • cold start: you know nothing about the satellites or your own position and velocity
  • warm start: you have a valid almanac, but only a rough idea of where you are (e.g. you turned of your device for an while)
  • hot start: you have a valid almanac and a (fairly) accurate estimate of your position and velocity

If you have a valid almanac and a good idea of where you are, you can speed up the acquisition process because you don't need to look for all the satellites, only the ones that are in view (recall that you need to correlate PRN codes against the incoming signals, so it helps if you don't need to correlate them all).

The almanac has limited validity, because the GNSS satellites orbits are not perfect due to various disturbances.

GNSS system distribute almanacs in their navigation messages that are modulated on top of the PRN codes. However, these are transmitted at low rate (only 50bps for GPS for example) and worst case it takes 12.5 minutes (!) to get the entire almanac.

If you have other means of access to the almanac (e.g. via an augmentation service via internet) you can speed up the cold-start scenario considerably. Also, internet access (via cellular or WiFi) can help in determining your location, further improving the acquisition process.

$\endgroup$
1
  • $\begingroup$ The cell network and/or the Internet can also provide a reasonably accurate clock. $\endgroup$ Feb 16, 2022 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.