Lights Out: Evolution of an Automated Ground...

25
© The Aerospace Corporation 2015 Lights Out: Evolution of an Automated Ground Segment for Operation of the Aerospace CubeSat Constellation Christopher Coffman Darren Rowen Joseph Gangestad Brian Hardy The Aerospace Corporation Aug 9, 2015

Transcript of Lights Out: Evolution of an Automated Ground...

Page 1: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

© The Aerospace Corporation 2015

Lights Out: Evolution of an Automated Ground Segment for Operation of the Aerospace CubeSat Constellation

Christopher Coffman Darren Rowen Joseph Gangestad Brian Hardy

The Aerospace Corporation Aug 9, 2015

Page 2: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

2

Presentation Outline

•  Background –  The Constellation and Ground Station Network –  Historical Setup –  Goals/Requirements

•  Initial Evolution •  Automation •  System Architecture •  Automation Examples

Page 3: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

3

Background The Constellation

AeroCube-4.0 (1) AeroCube-4.5 (2)

2012 2014 2015 2016 2017

AeroCube-7A (1)

AeroCube-9 (1)

ISARA (1)

AeroCube-5 (2)

AeroCube-6 (2) AeroCube-8 (2)

AeroCube-7 B&C (2)

R3 - TOMSat (2)

2013

AeroCube-5 (1)

Page 4: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

4

Background The Ground Network

•  Ground Stations –  Texas –  Florida –  California

•  Features –  Vehicle Independent

Page 5: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

5

Background Mission Flow

Identify Opportunities

Generate Vehicle Tasks

Select Pass

Update Pass Notes

Process Telemetry

Before Pass During Pass After Pass Access Ground

Station

Upload Files

Download Telemetry

Page 6: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

6

Background Historic Operations - Tools

•  Tools –  Mission Planning Software

•  Generates vehicle tasking –  Ground Station Control Software

•  Uploads tasking •  Allows direct vehicle

commanding –  Pass Management

•  Pass data manually logged –  Telemetry Handling

•  Parser Scripts –  Time Tagged Files

•  Data compiled in Excel as needed

•  Problems –  Labor Intensive

•  Numerous repetitive tasks •  Idle vehicles

–  Still need to collect health telemetry

–  Coordination is Difficult –  Data Overload

•  Telemetry is not readily accessible •  Hard to find and identify specific

events –  Multiple Code Bases –  Constellation is Growing!!!

Software Key -  MATLAB -  VB6 -  Excel

Page 7: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

7

System Evolution The Goal

•  Driving Goal –  Reduce The Required Labor to Maintain the Constellation

•  How – Automate Ground Stations – Simplify Coordination – Automate Telemetry Collection and Aggregation – Automate Basic Fault Detection

•  Requirements – Do not interfere with user planned missions –  Interact with existing software

Page 8: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

8

System Evolution First Steps •  Step 1 – Scripted Ground Stations (2012)

–  Socket Based Program •  Server - Powers client per schedule and sends command file •  Client - Executes command files and returns telemetry to server

•  Step 2 – Pass Management (March 2014) –  Database driven website

•  Provides automatic handling for simultaneous users •  Database acts as central repository for other programs

•  Step 3 – Telemetry Handling (July 2014) –  Automated telemetry binary data parsing –  Aggregate in database

Page 9: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

9

System Evolution Notes on Pass Management •  Import Predictions to Database •  Identify Conflicts

–  Considerations •  Ground Station Restrictions •  Vehicle Restrictions •  Timing!!

•  Store Conflict Data •  Management Interface

–  Claiming pass locks out conflicting passes

–  Allows super users to bypass conflict management

0 1 2 3 4 5 6 7 8

VEC

4

0 1 2 3 4 5 6 7 8

VEC

3

0 1 2 3 4 5 6 7 8

VEC

2

0 1 2 3 4 5 6 7 8

VEC

1

Sample of Ground Passes for 8 hours

0 1 2 3 4 5 6 7 8

VEC

50 1 2 3 4 5 6 7 8

VEC

6

Time in hours from Midnight

Page 10: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

10

System Evolution Website Architecture

Function View Table Module

Aerocube Data

Pass Data Schedule Claim/

Uncliam

Details Update

Telemetry Plot

Tabular View Export

•  Website Advantages –  Platform Independent –  Simple Access Control –  Elegant Visualization

Tools •  Django Platform

–  Python Backend –  HTML, CSS, Javascript

Frontend –  Advantages

• Python Based • Template System • Module Based

Page 11: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

11

System Evolution New Mission Flow

Identify Opportunities

Generate Vehicle Tasks

Select Pass

Generate Ground

Station Tasks

Send For Execution

Retrieve Execution Log

Retrieve Telemetry

Update Pass Management

Process Telemetry

Update Missions to

Execute

Time to Execute?

Send to Ground Station

Retrieve Results

Yes

No

End User Before Pass

Ground Station Server

End User After Pass

Page 12: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

12

System Evolution Introducing Automation •  Step 4 – Basic Automation (August-October 2014)

–  Collect Basic Health Telemetry Automatically •  Generate simple vehicle and ground station tasking •  Generate vehicle priorities

–  Ground Pass Tracking •  Parse results from ground pass server and import to the database

–  Vehicle State Tracking •  Step 5 – Contextual Notifications (January 2015)

–  Email Alerts •  Automation Failures •  Vehicle Health Alerts

•  Step 6 – Advanced Automation (May 2015) –  Complex Telemetry Collection –  Vehicle Specific Automation

Page 13: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

13

Constellation Automation Deciding What to Do

Determine Priority

• Considerations • User Set Priority • Vehicle Restriction

•  Is Telemetry Available • When Will Telemetry

Buffers Rollover • When Does the Current

Taking Expire • Requires a Blending

Algorithm!!

Allocate Passes

• Considerations • Conflicts • Can Tasks be Combined • Timing!!

• Assign Passes based on Priority

Generate Missions

• Generate in Execution Order • Generate Just Prior to

Execution • Allow End Users First

Choice of Passes • Look for Completed Missions

while waiting for next Mission Generation

Page 14: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

14

Constellation Automation Automation Flow

Set Priorities

Allocate Passes

Generate Tasking

Send For Execution

Process Execution

Logs

Update Tracking

Data

All Passes Executed

No

Yes

Get Block of Passes

Page 15: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

15

Constellation Automation Basic Architecture

Automation Server

Ground Station Server

Mission Data File Server

•  Database •  Web Server

Ground Stations

End User

Web Interface •  Controls Automation Tasking •  Performs Pass Management Database •  Retrieve Telemetry

Submit Mission Plans Retrieve

Direct Control

Retrieve Raw Telemetry

Page 16: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

16

Constellation Automation Detailed Architecture

Software Key -MATLAB -C++ -VB6 -Python -HTML

Data Key -XML -Files -Database -Socket

OS Key -Windows -Linux -Mobile -Win/Mac

Ground Station Control GUI

Ground Station Socket Client

Ground Station Socket Server

Mission Generator

Execution Log Parser

Telemetry Parsers

MYSQL Database

Mission File Shares

Apache Web Server

Website Website Mission Planning Software

Telemetry Analysis

Notifications

Email Email

Automation Server

Mobile End User Standard End User

Ground Station Ground

Station Server

Page 17: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

17

Automation Use Cases Complex Joint Experiment Planning with CubeSats

•  What does it take to execute a complex joint experiment? –  Accurate ephemeris prediction –  Precise attitude control –  Coordinated data exchange between planning groups –  Accurate on-board clock & ability to execute time based stored commands

•  Ephemeris Prediction Options: –  JSpOC TLEs are released on a (mostly) daily basis

•  Position errors can be too large for some experiments –  Error is 1–3 km at epoch –  Error grows at ~10 km per day, making advanced planning difficult

–  GPS Derived Ephemeris •  Requires on-board GPS receiver •  Requires potentially large ground network to downlink timely GPS data •  Requires complex orbit determination software

Page 18: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

18

Automation Use Cases Complex Joint Experiment Planning with CubeSats

Lead Time In-Track Position Error

Cross-Track Position Error

Radial Position Error

T-14days ~100 km ~100 m ~2 km T-3days 2.0 km 12 m 40 m T-2days 0.4 km <10 m <10 m T-1days 0.3 km <10 m <10 m T-0.5days 0.1 km <10 m <10 m

Ephemeris Prediction Position Error as a Function of Planning Lead Time

•  Note that lead times less than 12 hours could produce better accuracy, however, short lead times are not practical –  Limited to ground station access times for GPS data downlink –  Complex experiments require time for planning, data exchange & command

uplink

Page 19: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

19

Automation Use Cases Complex Joint Experiment Planning with CubeSats

•  Regular GPS fix scheduling & downloading is a burden on the ground network –  Requires multiple contacts per day to ensure “fresh” GPS data is available for

planning

Each green triangle signifies a ground station pass at which GPS

fixes were downlinked

GPS collection for 2 vehicles heavily utilized a network of 3 RF stations

Page 20: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

20

Automation Use Cases Complex Joint Experiment Planning with CubeSats

•  GPS data needs to be well distributed throughout the orbit and collected for multiple orbits per day –  Each vehicle can collect ~1700 fixes per month to support advanced planning –  Fixes need to be parsed & entered into a database

Thicker red bars indicate an entire orbit of GPS data collection, typically 27 individual fixes

Complex Automation Software was developed to manage the GPS collection,

downloading and database entry.

Impractical to manage with manual operators

Page 21: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

21

Automation Use Cases Science Missions

•  Two Spin Stabilized 0.5U CubeSats •  Primary Mission

–  Correlate observations and study small-scale radiation belt structure

•  Unique Requirements –  Always on

•  Gathering dosimeter telemetry •  Maintaining spin stabilization

–  Proximity Operations •  Need to adjust vehicle separation

using differential drag –  Regular Contact Intervals

•  Downlink dosimeter telemetry •  Downlink pointing telemetry •  Uplink payload commanding •  Uplink pointing commands for

differential drag

Page 22: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

22

Automation Use Cases Science Missions

•  Regular Cadence to the Mission Operations –  Requires 1-1.5 hours to plan daily

Interval Task 12 hours Download Dosimeter Telemetry 1 day Download Pointing and Health Data 1.5 day Upload Pointing Commands 2 weeks Collect GPS Data 2 weeks Clear Pointing Telemetry Buffer 1 month Clear Health Telemetry Buffer

Highly Automatable

Page 23: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

23

Automation Use Cases Science Missions

•  Automation Turned on May 15th

Page 24: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

24

Conclusion

•  It's possible to blend existing tools into an Automation System •  Taking an incremental approach is a practical method for

developing an Automation System •  It now take fewer man hours to run 8 satellites than it

previously took to run 1

All trademarks, service marks, and trade names are the property of their respective owners.

Page 25: Lights Out: Evolution of an Automated Ground …mstl.atl.calpoly.edu/~workshop/archive/2015/Summer/Day 2...2 Presentation Outline • Background – The Constellation and Ground Station

25

Questions?