User avatar
Alex_Landherr
Posts: 582
Joined: Mon May 18, 2020 3:14 pm
Location: Sweden

Possibly Dumb GNSS Timing Question [SOLVED]

Fri Jan 27, 2023 9:37 am

I have a question about using GNSS receivers for timing and disciplining clocks on and near Earth’s surface.

Most (if not all) GNSS receivers have some PPS output in addition to its serial data output to my understanding.
The PPS gives us the start of a second and the serial data says which second as I’ve come to understand it.

My question then is if the information received includes enough data to compensate for the signal delay from the satellite such that I don’t get this:

Code: Select all

correct time + signal delay = wrong apparent time to receiver
This might seem trivial but all I’ve found are explanations that aren’t very good at explaining to novices in this particular part of GNSS knowledge.
Last edited by Alex_Landherr on Fri Jan 27, 2023 3:40 pm, edited 1 time in total.
Helpful answers are appreciated.
I usually respond to Tweets directed at me.

3D Printer: Original Prusa Mini+ running OctoPi on a Pi4B 4GB.

OS:
  • Raspberry Pi OS
  • Windows 10
  • Ubuntu 22.04 LTS
Programming Languages:
  1. Python
  2. Java
  3. C++

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2807
Joined: Thu Jul 11, 2013 2:37 pm

Re: Possibly Dumb GNSS Timing Question

Fri Jan 27, 2023 10:49 am

The GPS time sync takes into account satellite ephemeris, i.e. where the atomic clock actually is in space. The receiver uses this to estimate distance/time correction, and the synchronisation of the GPS symbol stream aligns the local clock to the satellite clock.
Rockets are loud.
https://astro-pi.org

User avatar
Alex_Landherr
Posts: 582
Joined: Mon May 18, 2020 3:14 pm
Location: Sweden

Re: Possibly Dumb GNSS Timing Question

Fri Jan 27, 2023 11:01 am

Ok, thanks!
I did find this repo for setting the system time on a Pi whilst to my understanding not turning the Pi into an NTP server:
PPS-Client
Helpful answers are appreciated.
I usually respond to Tweets directed at me.

3D Printer: Original Prusa Mini+ running OctoPi on a Pi4B 4GB.

OS:
  • Raspberry Pi OS
  • Windows 10
  • Ubuntu 22.04 LTS
Programming Languages:
  1. Python
  2. Java
  3. C++

Return to “Off topic discussion”