Module 04 · Lesson 3
Stored Commands and Onboard Autonomy
Most of a spacecraft's work happens out of contact, driven by time-tagged commands and onboard logic. This lesson covers uploading and checking a load, and the operator's role when operations are automated.
Learning objectives
After this lesson you will be able to:
- Describe how a time-tagged command load is uploaded, checked and activated
- Explain what happens when a load runs out or is interrupted, and how loads are built to make both cases safe
- Describe the operator's role when the spacecraft and the ground system carry out most routine work automatically
Working while out of contact
A satellite in low Earth orbit is in view of its ground stations for a small part of each day. Its imaging, its maneuvers and even switching on its transmitter for the next pass happen when no operator can send a command. This lesson covers how that work is commanded in advance, and what the operator's job becomes when most routine work is automated.
The command load
A command load is a set of time-tagged commands covering a period of operations, commonly from a day to a week or more. Planning software generates it from the activity plan. On board, the commands sit in the onboard schedule. The flight software releases each one when the onboard clock reaches its execution time.
Two things make a load different from real-time commanding.
First, everything depends on the onboard clock. If the clock is wrong, every stored command runs at the wrong moment by the same amount. Operators therefore watch the difference between onboard time and ground time as a routine health check.
Second, nobody checks the result of each command as it runs. A load is therefore examined thoroughly on the ground: it is checked against the constraints, often run through a simulator or an automated checker, reviewed by a second person and approved.
Uploading and checking a load
A typical sequence is:
- Confirm the product. The operator checks that the load file is the approved version, for this spacecraft and this period.
- Upload during a pass. A large load may take more than one pass.
- Verify on board. The spacecraft reports a checksum or a count, or sends back the stored schedule, and the result is compared with the ground copy.
- Activate. Many systems hold a new load in a disabled state until it has been verified, and need a separate command to enable it.
- Log the load identifier, the period it covers and the time by which the next load must be on board.
- Confirm execution later. Recorded telemetry played back at later contacts shows whether each command ran.
When a load runs out
A spacecraft with an empty schedule does not fail. It stays in its normal mode, keeps itself healthy and does no mission work. What is lost is time.
The danger is a load that ends in the middle of an activity, with a transmitter or an instrument switched on and the switch-off command sitting in a load that never arrived. Many teams therefore apply two rules. Every load is self-contained and ends in a quiet, safe configuration. And loads overlap: a team might upload three days of commands every day, so that a lost pass or two leaves no gap. The time at which the current load ends is a standing item on the console.
When a load is interrupted
A safe mode entry or a restart of the onboard computer usually stops the stored schedule, and on many spacecraft it clears it. That is deliberate. The commands were planned for a healthy spacecraft in a known configuration.
After an interruption, operators do not re-enable the old schedule and let it catch up. They establish from telemetry which commands ran and what state the equipment was left in, and they build a new load that starts from the actual state.
Onboard autonomy
Beyond the schedule, a spacecraft takes some actions without being told. The fault protection described in the foundation course is one kind. Others include onboard monitoring that triggers a predefined response, such as switching off an instrument that is too warm, and stored sequences that start when an event occurs instead of at a set time.
For the operator, onboard autonomy means that things can happen which nobody on the ground commanded. At each contact the operator compares the expected state with the actual state and reads the onboard event log to see what the spacecraft did for itself. Which autonomous functions are enabled is recorded like any other setting.
Automated ground operations
The ground side is automated as well. A control system can run a scheduled pass with nobody at the console: it configures the link, checks telemetry against limits, uploads and verifies the load, brings down recorded data and writes a pass report. If a check fails, it stops commanding and alerts the person on call. This is lights-out operations.
The operator's role when the work is automated
- Supervise by exception. The operator reviews pass reports, alerts and trends, not every value.
- Know what happens next. At any moment the operator should be able to say what the spacecraft and the automation will do in the next few hours.
- Be able to stop it. The operator knows how to put the automation on hold and take manual control. Pausing routine automated commanding is a common first action in an anomaly.
- Keep manual skills. Skills that are never used fade, so many teams run occasional passes by hand and practice on the simulator.
- Treat automation as configuration. Its rules, scripts and thresholds are tested and changed under control, like procedures.
No alerts is good news only if the alerting chain itself works, so many teams test it on a regular schedule.
A practical example: an upload cut short
An Earth observation satellite receives a three-day load every evening. The load already on board runs for about another 48 hours. Tonight's pass begins at 19:40 and lasts eight minutes.
- At 19:41 the operator confirms the load identifier and checksum against the approved plan and starts the upload.
- At 19:46 the ground station reports a transmitter fault. The uplink stops. The control system shows 310 of 480 commands sent.
- Telemetry is still arriving. The spacecraft reports a new load present, disabled, holding 310 commands. Its checksum does not match the ground copy, as expected for an incomplete load.
- The procedure says that a load which has not passed verification is never enabled. The operator confirms that the current load is still active and that its next command is the expected one. The pass ends at 19:48.
- The log records that a partial load is on board and disabled, that the current load is valid for about two more days, and that the next upload opportunity is a pass at another station at 21:20. The planner is informed.
- At 21:20 the operator deletes the partial load by procedure, uploads the complete load, verifies the checksum and enables it.
Nothing was lost, because the loads overlap.
From commanding to planning
A load is only as good as the plan it was generated from. The next module looks at where that plan comes from: how requests become a timeline, and how the timeline is made to fit within the limits of the spacecraft.
Key takeaways
- A command load is a list of commands with execution times, stored on board and run without contact. It is checked before upload, checked again on board, and only then allowed to run.
- Loads are built to overlap and to end in a safe configuration, so that a missed upload costs mission time and not the safety of the spacecraft.
- A safe mode entry or a computer restart usually stops the stored schedule. Operators build a new load from the spacecraft's actual state and do not resume the old one.
- Automation moves the operator from carrying out each step to supervising. The operator must still know what the automation will do next and how to stop it.
Knowledge check
Check your understanding. These questions are not graded and you can retry as often as you like.
0 of 3 questions answered.
Glossary
Command load
A set of time-tagged commands covering a period of operations, uploaded to the spacecraft as a unit and run from its onboard schedule.
Onboard schedule
The list of stored commands held by the flight software, each released when the onboard clock reaches its execution time.
Load verification
Confirming that the commands stored on board are exactly those that were approved, usually by comparing a checksum or a readback of the schedule with the ground copy.
Onboard autonomy
The ability of a spacecraft to take predefined actions by itself in response to conditions it detects, without a command from the ground.
Lights-out operations
Operations in which contacts and routine tasks are run by automated ground systems with no one at the console, and people are alerted only when something is outside expectations.
Management by exception
Supervising a system by reviewing reports and responding to alerts, instead of watching every value and carrying out every step.
References and further reading
- Basics of Space Flight, Chapter 11 - Onboard Systems (opens in a new tab)NASA Science
- ECSS-E-ST-70-41C - Telemetry and telecommand packet utilization (opens in a new tab)European Cooperation for Space Standardization
- State-of-the-Art of Small Spacecraft Technology, Chapter 11 - Ground Data Systems and Mission Operations (opens in a new tab)NASA
Finished this lesson?
Loading your progress…
Lesson version 1.0.0.