Which time standard is used?

Post Reply
HA1SP
Posts: 3
Joined: Sun Sep 17, 2023 5:03 pm

Which time standard is used?

Post by HA1SP » Tue Nov 28, 2023 10:13 pm

When the time is set based on GPS, is it set to UTC in the RTC, or to GPS time, which does not include leap seconds?

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Which time standard is used?

Post by VK3KYY » Tue Nov 28, 2023 10:38 pm

HA1SP wrote:
Tue Nov 28, 2023 10:13 pm
When the time is set based on GPS, is it set to UTC in the RTC, or to GPS time, which does not include leap seconds?
See
https://github.com/LibreDMR/OpenGD77_Us ... d#timezone

HA1SP
Posts: 3
Joined: Sun Sep 17, 2023 5:03 pm

Re: Which time standard is used?

Post by HA1SP » Thu Nov 30, 2023 5:06 pm

My question was about whether the time set in the radio after the GPS sync is real UTC or the GPS time, which is differs from UTC with a few seconds.

G4EML
Posts: 930
Joined: Sat Nov 16, 2019 10:01 am

Re: Which time standard is used?

Post by G4EML » Thu Nov 30, 2023 6:16 pm

If the time is synched from the GPS module then it uses the NMEA sentences sent from the module.
NMEA specifies that the time is UTC, so the leap second adjustment from GPS time to UTC should have been done by the module.
I don't think that anyone has ever checked this though. If it is really important to you then you will need to check it yourself by comparing the radio time to a known UTC clock.

Colin G4EML

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Which time standard is used?

Post by VK3KYY » Thu Nov 30, 2023 9:33 pm

The firmware is not designed to be an accurate chronometer
the internal RTC in the MCU drifts
Synchronisation with the GPS time will only be accurate to about +/-1 second of the value from the GPS module
The official GPS modules fitted in these radios are cheap low quality devices, and should not be relied upon for accurate timekeeping

The reason the clock functionality was added to the firmware was to support satellite operation, where accuracy is only required to about +/- 15 secs or possibly worse.

The reason time keeping does not need to be incredibly accurate for satellite operation is that the satellite orbits are not precise, so a few seconds of inaccuracy in the radio makes no difference in the ability to contact the satellites

Post Reply