21
$\begingroup$

The International Space Station is in a different gravitational field than us on the Earth's surface. Almost all computers / protocols depend on the Unix epoch being consistent everywhere. The Unix epoch is same for all computers on the Earth's surface, since they are in the same gravitational field. Do the computers on ISS need to be corrected for the difference in gravitation field and epoch changed likewise.

$\endgroup$
  • 8
    $\begingroup$ Even more important, what happens when we run out of seconds in a 32 bit interger in 2038? $\endgroup$ – geoffc Oct 7 '20 at 20:18
  • 31
    $\begingroup$ @geoffc On the bright side, I'll be retired from software development in 2038. On the dystopian side, I'll probably be dependent on a lot of medical technology relying on 32-bit embedded systems. $\endgroup$ – Russell Borogove Oct 7 '20 at 21:53
  • 12
    $\begingroup$ The relativistic effects on timing on the ISS are extremely small, a drift of about 25 microseconds per day, or about 0.3 parts per billion. The clock drift rate on a typical laptop is on the order of 10 to 20 parts per million. $\endgroup$ – David Hammen Oct 8 '20 at 3:13
  • 16
    $\begingroup$ "Almost all computers / protocols depend on the unix epoch being consistent everywhere." No they don't. $\endgroup$ – JCRM Oct 8 '20 at 8:15
  • 5
    $\begingroup$ You have a bit of a nomenclature issue. The Unix epoch is a fixed point in time, 1/1/1970 00:00:00 UTC. What you probably mean is "Unix time", which is (roughly) the number of seconds since the epoch. However Unix time is a poor approximation for actual time, as for instance it does not account for leap seconds: each day is defined as having 86400 seconds, not one more, not one less, so when leap seconds occur Unix time needs to be adjusted accordingly. See the discussion at en.wikipedia.org/wiki/Unix_time and the comparison between Unix time, UTC and TAI in various cases. $\endgroup$ – jcaron Oct 8 '20 at 12:45
39
$\begingroup$

POSIX time doesn't include leap seconds, and is not implemented the same way in every UNIX, so it routinely gets inconsistent for several seconds every couple of years. It is not a high-precision time scale, and there is little point correcting it for relativistic effects which are smaller than it can represent. GPS has to be corrected --- in particular, the clocks have to run slow on the ground, so that they speed up to the correct rate once in orbit --- but GPS clock errors are measured in nanoseconds, and GPS satellites orbit much farther away than the ISS. Time-based network protocols have to be much more forgiving of errors, or their false alarm rate will be too high.

$\endgroup$
  • 3
    $\begingroup$ POSIX time might not, but Unix time can. There is a difference between the POSIX standard and the actual possible behaviours of Unix systems, which can include properly ticking leap seconds. If you want to make the argument that Unix time is sloppy enough that general relativistic effects are the least of one's worries, then leap second support is the wrong hook to hang it from. By far the better arguments are the ones in other answers here, namely that the net effects are small and PC hardwares aren't that accurate anyway. unix.stackexchange.com/a/294715/5132 $\endgroup$ – JdeBP Oct 8 '20 at 12:10
30
$\begingroup$

No.

Computer clocks are inaccurate. They rely on constant corrections to maintain the correct time. Since their inaccuracy is much bigger than the time speed difference between earth and the ISS, it really doesn't matter.

$\endgroup$
  • 1
    $\begingroup$ How true -- I once owned a low-end tablet whose clock time would drift by several seconds a day if not connected to the internet (to get a re-sync from some master timing source) $\endgroup$ – Carl Witthoft Oct 8 '20 at 13:09
  • 2
    $\begingroup$ @user2705196 phone clocks can get their time from base stations (which use atomic clocks, hence the ubiquity of the FE-5680A in surplus) or the internet, so there's no need for them to have any kind of long-term stability, and the manufacturer will take any savings they can get $\endgroup$ – llama Oct 8 '20 at 17:11
  • 1
    $\begingroup$ @user2705196 Watches typically have a trimming capacitor and are kept at a fairly consistent temperature by being close to the user's body: neither of those is true for tablets etc. It's a long and complex story to be told elsewhere, but my father built timing machines for them which included some impressive machining. $\endgroup$ – Mark Morgan Lloyd Oct 8 '20 at 21:06
  • 3
    $\begingroup$ @CarlWitthoft Just to make sure it's clear: your CPU clock (the one that drives each tick, and gives the Mhz rating), is completely independent of the one that gives time. $\endgroup$ – Antzi Oct 9 '20 at 5:20
  • 1
    $\begingroup$ @user2705196 ovens usually use the grid frequency as a source of time, since they are too cheap to include a purpose build clock... $\endgroup$ – Antzi Oct 9 '20 at 5:20
24
$\begingroup$

It doesn’t yet matter for most practical purposes. The slowdown from faster motion and speedup from a weaker gravitational field partly cancel out, and the net effect is that time on the ISS is only 0.0000000014% slower than time on Earth, so in its whole 22-year history it has lost about one hundredth of a second.

$\endgroup$
5
$\begingroup$

Computers on the ISS do not rely on UNIX/POSIX time, they rely on GPS time.

Broadcast time is the time broadcast from ISS computers that is intended to be indicative of current time.
The broadcast time message is with respect to the GPS time scale, not the Universal Time Coordinated (UTC) time scale.

The time is accurate to ±1 s:

Due to various reasons, the C&C [command and control] computer clocks are allowed to drift with respect to the Spacecraft Integrated GPS/Inertial Navigation System (INS) (SIGI) time by up to ±1 second. All other ISS computers sync to the C&C computer.

...but can be corrected to ±55 ms:

The GN&C [guidance, navigation, and control] computer calculates the time error of the C&C computer as compared to the SIGI GPS time and provides that time error in Broadcast Ancillary Data (BAD) data. The time stamp of each data packet can be adjusted by adding the time error to create a time stamp that is accurate to within ±55 microseconds.

This is according to the External Payloads Proposer's Guide to the International Space Station (SSP 51071).

$\endgroup$
  • $\begingroup$ Does this apply to the Linux PCS and SSC laptops? "Computers on the ISS" is a rather broad category. $\endgroup$ – Organic Marble Oct 10 '20 at 2:41
0
$\begingroup$

The gravitational field doesn’t matter for practical purposes- computers’ performance isn’t measurably affected by gravity. What might be measurable is that the ISS is travelling faster (certainly in terms of ground speed) than terrestrial computers. However, the Earth isn’t stationary but is orbiting the sun, galaxy etc and so (a) the difference may be very small, and (b) if you use the ISS as your frame of reference then it’s stationary and the Earth is moving. Either way, having CD a few seconds of drift either way isn’t generally a problem for communications.

$\endgroup$
0
$\begingroup$

Unix time is (sloppily) based on UTC, which in turn is based on TAI (international atomic time). TAI is a coordinate time, an implementation of TT (terrestrial time) defined to be equal to proper SI time of a stationary clock at Earth sea level, and extended to be synchronous everywhere in Earth-centered coordinates.

Even clocks on the Earth's surface must be corrected for altitude to match TAI. Clocks on GPS satellites require a much larger correction. GPS time is kept synchronous with TAI as accurately as possible.

For precise timekeeping on the ISS, we use GPS time, so precise ISS clocks do not tick at exactly one second per proper SI second. For example, the NICER pulsar instrument uses a sloppy (100 ppm) clock in each measurement unit, but calibrates the clock against GPS once per second, thus achieving accuracy of a few nanoseconds relative to TAI after processing.

$\endgroup$
  • $\begingroup$ Does this apply to the Linux PCS and SSC laptops? $\endgroup$ – Organic Marble Oct 10 '20 at 14:53
  • 1
    $\begingroup$ @OrganicMarble Without some sort of external time sync, the clocks in PCs and laptops drift rapidly away from both proper time and TAI. As far as I know, the situation on the ISS is the same as any office where there's a mix of computers for configured in different eras for different purposes running different software. $\endgroup$ – John Doty Oct 10 '20 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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