Re:The software that flies SpaceX rockets and starships
by inamberclad on Wednesday December 29, 2021 @11:12AM
(#29726120)
There's typically a central time source sending a 1Hz pulse into the main computer(s). The sensors will use something like Time Triggered Ethernet, RS-485, or a MIL-1553 bus.
Re:The software that flies SpaceX rockets and starships
by dom_hutton on Wednesday December 29, 2021 @11:16AM
(#29726161)
Yeah this is in line with my experience. However there are concerns about the accuracy of quartz clocks as temperatures fluctuate, this poses a problem for some orbital patterns.
Re:The software that flies SpaceX rockets and starships
by numpad0 on Wednesday December 29, 2021 @11:59AM
(#29726708)
Thanks to both answers - I've asked couple engineers of my generation and "that would be an interesting concept" was the best response I got. I have so much to learn!
Re:The software that flies SpaceX rockets and starships
by marsokod on Thursday December 30, 2021 @03:37AM
(#29734887)
For LEO missions, the source is now typically a GNSS receiver outputting a PPS line. Otherwise, you try to have a precise clock (TCXO, OCXO, and now CSAC are available) as a reference distributing the time to all the subsystems, and you correct the satellite time offset from the ground (similar to NTP).
Re:The software that flies SpaceX rockets and starships
by elteto on Wednesday December 29, 2021 @11:18AM
(#29726185)
A popular solution is PTP [0]. Once you have synchronized hw clocks you lay your software synchronization on top of that.
Re:The software that flies SpaceX rockets and starships
by MPSimmons on Wednesday December 29, 2021 @03:43PM
(#29729760)
Yes. This does require all of the network devices between the nodes to also implement PTP (otherwise you fall back to NTP-like behavior) but this isn't a problem if you're greenfielding the implementation.
Re:The software that flies SpaceX rockets and starships
by genidoi on Wednesday December 29, 2021 @11:19AM
(#29726195)
fprime is what you're after; it's the embedded flight hardware that runs on the Mars 2020 drone.
https://nasa.github.io/fprime/Architecture/FPrimeArchitectur...
Re:The software that flies SpaceX rockets and starships
by idealmedtech on Wednesday December 29, 2021 @11:23AM
(#29726249)
fprime is more of a set of libraries and daemon architectures, not really hardware time synchronization.
Re:The software that flies SpaceX rockets and starships
by Beached on Wednesday December 29, 2021 @11:09AM
(#29726086)
iirc all flight systems are in triplicate and all data is checked against the others, then a quarum is needed from the 3 to make a decision.
other rockets use rad hardened computers that make decisions on their own, but for cost and time, I believe SpaceX just triplicated all necessary systems and votes out and reboots any system that gets bit flips.
Re:The software that flies SpaceX rockets and starships
by bodhiandpysics1 on Wednesday December 29, 2021 @01:57PM
(#29728460)
They actually use more than three now. The basic architecture is that computers are organized in "strings". Each string is doubled. If the two don't agree, the result is chucked, and the system reboots. Each of these "strings" then participates in a quorum. The result is extreme reliability, with relatively fast convergence.
I’ve been wondering about this for a year or so because I can’t seem to find one that matches my description, other than concept drawings on NIST 4D/RCS paper, but there got to be one in the world.