Lesson 1 of 3 · State transitions, fault containment and recovery
Recover a useful operating state
23 minute lesson · 3 checks along the way
Your goal for this lessonTrace mode transitions, calculate the limits of majority voting and identify a restart that repeats the same fault.
In this lesson 4 sections · 3 checks
Using archive links & definitions
Follow a linked name to explore its archive card. “Back to your lesson” brings you to the same part of the reading.
Read & understand
Let the operating mode express the constraints
Galassia launched on December 16, 2015 alongside the separate Kent Ridge 1 mission. Its quantum instrument was a precursor experiment, not a satellite-to-ground quantum network. NUS teams subsequently changed the family’s scientific tasks while retaining an engineering problem: the spacecraft must keep doing useful work when conditions or components change. Galassia-2 launched on July 30, 2023 for multispectral Earth observation; later Galassia-5 reports concern development of a different system.
The first Galassia’s software paper describes initialization, power-saving, autonomous and contact modes. Its power transitions used separate low and high battery-voltage thresholds. Consider an original two-mode example: enter power-saving below 7.0 V and leave it only above 7.6 V. Between those thresholds, retain the current mode. Starting in power-saving, readings 7.2, 7.7, 7.4, 6.9, 7.3 and 7.8 V produce power-saving, autonomous, autonomous, power-saving, power-saving and autonomous. These are invented thresholds, not operational settings.
PSLV-C56 launches Galassia-2 with six other satellites on July 30, 2023. The complete DOS/ISRO photograph records the shared launch; it does not show the enclosed spacecraft, its navigation receiver or Galassia-5’s later ground tests.
Look closely
What does this launch photograph establish about Galassia-2, and what would its instruments require?
See what to notice
The complete photograph records the shared PSLV-C56 launch. Enclosed instruments cannot be inspected here; navigation accuracy and radio performance require appropriate measurements.
Read & understand
State makes the same reading mean different things
At 7.4 V, an already autonomous example remains autonomous while a recovering example remains in power-saving. This memory is called hysteresis. A single threshold would permit repeated switching if noisy readings straddled it. A real transition also needs rules for simultaneous events: a contact request must not silently cancel a low-power constraint. The two-mode example deliberately omits those additional guards; a complete state machine must specify them.
A scheduled activity likewise needs both a time and permission to run. In an original command sequence, a camera request becomes due while the spacecraft remains in power-saving. Executing it solely because its timestamp arrived would bypass the mode’s purpose. The design must choose a documented response, such as defer within a valid window or report that the request expired. An operator seeing a command in a queue should not assume that acceptance, execution and successful data capture are the same event.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Redundancy protects only the faults it can distinguish
The Galassia team stored its critical mode variable in three copies, repaired a single disagreement and reset when all three differed. An original illustration stores (2,2,1): the matching pair can restore the third copy to 2. That rule is useful only under an assumption about which copies are trustworthy; agreement is not proof that their shared value is correct.
For a separate binary permission flag, assume each copy independently flips with probability p, the voter is perfect, and any two wrong copies form a wrong majority. The failure probability is 3p²(1−p)+p³. At p=0.01, this is 0.000298, or 0.0298%, compared with 1% for one copy. A common write bug that sets all copies incorrectly defeats the independence assumption and receives no such protection. Three variables are not three independent implementations, memories or power supplies.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Make recovery change the condition that caused failure
Galassia testing exposed an initialization wait longer than a watchdog timeout; repeated resets restarted the wait. Flight operations also revealed a scheduled-command fault that could recur because recovery left relevant persistent state intact. These are different paths to the same lesson: resetting execution does not necessarily remove the condition that prevents progress.
In an original timeline, initialization needs 180 uninterrupted seconds, but a watchdog resets the computer after 120 seconds without the expected activity. With identical restart conditions, resets at 120, 240 and 360 seconds never allow initialization to finish. A revised design must distinguish a legitimate wait from a stalled task and specify what happens to a suspect persistent command. Test both the successful wait and the fault path, including retained data. A periodic heartbeat that continues during a deadlock would satisfy a timer while hiding the lack of progress.
Recovery needs a path to progress
Original models with stated assumptions. The probability calculation requires independent binary errors and a perfect voter; the timeline restarts its wait after every reset.
Open full-size diagram in a new tab: Recovery needs a path to progressCheck 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: Askari and colleagues: Galassia software and operational lessonsTeam account of modes, protected variables, tests and operational faults. The lesson’s numerical examples do not reproduce flight settings or the complete flight state machine.
- Read: NUS: Galassia and Kent Ridge 1 launchDated December 2015 launch record; successor proposals are not completed missions.
- Read: CQT: Galassia precursor and the later SpooQy-1 experimentDistinguishes earlier prototype work from the later entangled-photon experiment and from a space-to-ground network.
- Read: NUS: Galassia-2 launchJuly 30, 2023 launch confirmation; expected lifetime is not a current health report.