Module 06 · Lesson 2
Network Scheduling and Contact Plans
Many spacecraft compete for a few antennas at times fixed by their orbits. This lesson covers visibility windows, conflicts, setup time and the contact plan that stations and control centers share.
Learning objectives
After this lesson you will be able to:
- Explain how antenna scheduling differs from ordinary job scheduling and why visibility windows are its input
- Detect conflicts between contact requests, including the reconfiguration time an antenna needs between passes
- Describe the contact plan as a shared data product and how changes and failed passes are handled
Many spacecraft, few antennas
The foundation course noted that antennas are often shared between missions and that conflicts are settled by priority and negotiation. This lesson looks at the problem as a software engineer has to model it.
Antenna time is the scarce resource. A typical antenna points at one spacecraft at a time, and a network may serve dozens or hundreds of spacecraft with a handful of antennas.
The problem resembles booking meeting rooms or scheduling jobs on machines, with one important difference. A compute job can usually wait. A pass happens when the orbit puts the spacecraft over the station, and at no other time. The scheduler chooses among fixed opportunities and cannot move them.
Visibility windows are the input
The opportunities come from pass prediction, as covered in the previous module. For every pairing of spacecraft and station, the predictor produces visibility windows, each with a rise time, a set time and a maximum elevation. The scheduler filters these with rules such as a minimum duration and a minimum peak elevation, since a two-minute pass low on the horizon is rarely worth the setup.
Missions then express what they need as contact requests. A request can name a specific window. It can also be generic, for example at least six passes a day, with no gap longer than four hours, each reaching at least 20 degrees elevation. Generic requests give the scheduler more room to work.
Because windows come from orbit predictions, they inherit the predictions' errors. A window computed a week ahead may shift by seconds or more by the day of the pass. Schedules therefore include padding and are refreshed as new orbit data arrives.
Conflicts, priorities and setup time
Two requests for the same antenna conflict if their times overlap. They also conflict if they are too close together. Between passes the antenna has to slew to the point where the next spacecraft will rise, and the station has to load a different configuration and sometimes run checks. This reconfiguration gap is commonly a few minutes, and it depends on the station.
The function below finds every pair of requests that one antenna cannot serve together.
interface ContactRequest {
id: string;
start: number; // seconds since a common UTC epoch
end: number; // seconds since the same epoch
}
const RECONFIGURATION_GAP_S = 300; // time the antenna needs between passes, s
// Returns pairs of request ids that cannot both be served by one antenna.
function findConflicts(requests: ContactRequest[], gapS: number): [string, string][] {
const sorted = [...requests].sort((a, b) => a.start - b.start);
const conflicts: [string, string][] = [];
for (let i = 0; i < sorted.length; i++) {
for (let j = i + 1; j < sorted.length; j++) {
// Sorted by start time, so no later request can conflict with request i either.
if (sorted[j].start >= sorted[i].end + gapS) break;
conflicts.push([sorted[i].id, sorted[j].id]);
}
}
return conflicts;
}
const requests: ContactRequest[] = [
{ id: 'SAT-A pass 1', start: 0, end: 600 },
{ id: 'SAT-B pass 1', start: 480, end: 1020 }, // overlaps SAT-A pass 1
{ id: 'SAT-C pass 1', start: 1200, end: 1740 }, // starts 180 s after SAT-B ends
{ id: 'SAT-A pass 2', start: 5700, end: 6300 }, // clear of everything
];
for (const [first, second] of findConflicts(requests, RECONFIGURATION_GAP_S)) {
console.log(`${first} <-> ${second}`);
}
Running it prints:
SAT-A pass 1 <-> SAT-B pass 1
SAT-B pass 1 <-> SAT-C pass 1
The second conflict is the instructive one. The two passes do not overlap, but only 180 seconds separate them and the antenna needs 300.
Detecting conflicts is the easy part. Resolving them takes policy.
- Priority. Launch and early operations, spacecraft emergencies and critical maneuvers normally outrank routine passes. A higher-priority request can displace a confirmed contact, which is called preemption.
- Trimming. Starting a pass late or ending it early can remove a conflict while keeping most of the contact.
- Moving. Another antenna or station may have a suitable window.
- Fairness and commitments. Shared networks have agreements about how much time each mission receives.
Scheduling one antenna with fixed windows is a classic interval scheduling problem with efficient exact solutions. Real networks add many antennas, generic requests, priorities, and constraints on the spacecraft side, such as a spacecraft that can use only one link at a time or has too little power to transmit on every pass. That combined problem is generally handled with heuristics and constraint solvers, and people negotiate the cases that policy does not settle.
The contact plan as a data product
The scheduler's output is the contact plan, the agreed list of contacts for a period. It is consumed by at least two parties that act on it independently.
- The station uses it to configure equipment and point the antenna at the right time.
- The control center uses it to plan what to send and receive during each contact. It may also need to command the spacecraft in advance to switch its transmitter on for the pass.
A plan entry typically carries these fields.
| Field | Purpose |
|---|---|
| Contact identifier | A unique, stable key that both sides use in every message about the contact |
| Spacecraft and antenna | Who is talking to what |
| Start and end times | In UTC, in an unambiguous format |
| Configuration profile | Which station settings to load |
| Services | Telemetry, commanding, ranging, recording |
| Status | Requested, confirmed, rejected, in progress, completed, failed or cancelled |
| Plan version | Which issue of the plan the entry belongs to |
This is an API contract between organizations. Identifiers must be stable, times must be unambiguous, and status changes should follow a defined state model. Each issue of the plan needs a version, so that both ends can confirm they hold the same one. CCSDS publishes a Simple Schedule Format for exchanging schedules between organizations.
Changes and failed passes
A contact plan changes constantly, and the software around it should expect that.
- Orbit updates move window times. The plan should record which orbit data each entry was computed from.
- Late requests, such as a spacecraft emergency, preempt confirmed contacts. The displaced mission needs a prompt notification and a reason.
- Station outages remove a block of contacts at once.
- Failed passes happen for the reasons listed in the previous lesson. A failed contact should be marked as such, reported with the station's status data, and followed by an automatic search for a replacement window.
An append-only record of every request, confirmation and change, in the manner of event sourcing, is valuable here. It answers who changed what during an anomaly investigation, and it supports accounting for shared or paid antenna time.
Try it: schedule the passes
The puzzle below is the scheduling problem in miniature: three satellites, two antennas and one shift. Solve Quiet day first, then Busy day. Booking passes in the order they arrive does not work on the busy day, which is why real schedulers search and do not simply queue.
Schedule the passes
Interactive model
Book passes by selecting them. An antenna serves one satellite at a time and needs 5 minutes between passes to turn to the next. Each satellite needs the contact time shown below, and at least one pass in each half of the shift.
Antenna 1
Antenna 2
Nothing is booked yet.
- Satellite A: contact booked
- 0 of 16 min
- Satellite B: contact booked
- 0 of 16 min
- Satellite C: contact booked
- 0 of 16 min
- Conflicts
- 0
- Schedule
- Not yet valid
Days solved:
Quiet day, not solved yet
Busy day, not solved yet
Antenna 2 out of service, not solved yet
A practical example: one antenna, three missions
A station with a single antenna receives the four requests in the code above for the next day. Its scheduler works through them.
- Detect. The conflict check reports two pairs. SAT-B pass 1 conflicts with SAT-A pass 1 and with SAT-C pass 1.
- Apply priority. SAT-A is in its first week in orbit and has priority. Its pass is confirmed as requested.
- Try trimming. SAT-B could start after SAT-A ends plus the 300-second gap, at 900 seconds. That would leave it only 120 seconds before its window closes at 1,020, which is below the mission's minimum useful pass of five minutes.
- Move. The scheduler rejects SAT-B pass 1 at this antenna, with a reason code, and SAT-B's planning system books a window at another station on its next orbit.
- Recheck. With SAT-B removed, SAT-C pass 1 starts 600 seconds after SAT-A pass 1 ends. No conflicts remain.
The station issues version 2 of the plan with three confirmed contacts. Each control center retrieves it and checks the version before building its command schedule for the day.
A confirmed contact is a reservation. The next lesson follows what moves through it: telemetry, commands and payload data between the station and the control center.
Key takeaways
- Antenna time is the scarce resource, and each pass can only happen during a window fixed by orbital geometry. The scheduler chooses among windows and cannot move them.
- Two requests conflict when they overlap or when the gap between them is shorter than the time the antenna needs to slew and reconfigure.
- Conflicts are resolved by priority, by shortening a pass or by moving it to another antenna. Real networks use heuristics and solvers, and people decide the hard cases.
- The contact plan is an interface between organizations. It needs unique identifiers, UTC times, explicit states and versions, and both ends must act on the same version.
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
Visibility window
A period during which a spacecraft is above a station's elevation mask and a contact is geometrically possible.
Contact request
A mission's request for antenna time, either for a specific visibility window or expressed as a need such as a number of passes per day.
Reconfiguration gap
The time an antenna needs between two passes to slew to the next rise point and reconfigure its equipment.
Contact plan
The agreed list of contacts for a period, giving for each one the spacecraft, antenna, start and end times, configuration and status.
Preemption
Removing or shortening a confirmed contact so that a higher-priority contact can use the antenna.
References and further reading
- Cross Support Service Management - Simple Schedule Format Specification (CCSDS 902.1-B-1) (opens in a new tab)Consultative Committee for Space Data Systems
- Deep Space Network (opens in a new tab)NASA
- State-of-the-Art of Small Spacecraft Technology - Ground Data Systems and Mission Operations (opens in a new tab)NASA Small Spacecraft Systems Virtual Institute
Finished this lesson?
Loading your progress…
Lesson version 1.0.0.