360 likes | 523 Views
FOT Software Tools Mark Lewis. Overview of Software Tools. FOT Software Tools. Overview Workspace Configuration Configuration Control Integrated Test and Operations System (ITOS) Telemetry Processing Berkeley Emergency Anomaly Response System (BEARS)
E N D
FOT Software Tools • Mark Lewis
FOT Software Tools • Overview • Workspace Configuration • Configuration Control • Integrated Test and Operations System (ITOS) • Telemetry Processing • Berkeley Emergency Anomaly Response System (BEARS) • Berkeley Trending And Plotting System (BTAPS) • Mission Planning System (MPS) • Command Load Generation
Workspace Configuration • Several Workspaces • Generic top level THEMIS workspace: themisops • Holds Common Software and Configuration Files • BEARS, BTAPS, MPS, APGEN • ITOS Pages and Procs directories common to all Probes • Each Probe will have a dedicated workspace: e.g. themisopsA • Holds Databases and Configuration Files specific to each Probe • ITOS Telemetry and Command Databases • Configuration files for BEARS, BTAPS, MPS • ITOS Pages and Procs specific to each Probe • Page Header files
Configuration Control • Software Configuration Control • Each Workspace is under SCCS Configuration Control • Continue to use for software already under Configuration Control • ITOS, MPS, APGEN • Also Use SCCS for Configuration Control of New Tools • GTDS, MSASS, MTASS, BEARS, BTAPS • Probe Configuration Control File • Each Probe will have a Configuration File under SCCS • Includes physical configuration • Deploy status of booms, Fuel Remaining, etc • Known hardware failures or anomalous behaviors • Expected clock drift • Software configuration • Onboard FSW version and patch level • Probe specific Telemetry and Command Database versions
Configuration Control • Software Test and Development Environment • Provide Workspace for Off-line Testing • “Demilitarized Zone” (DMZ) • Developers have their own copy of workspaces allowing for simultaneous development and testing • Virtual Network Computing (VNC) Environment • Secure Remote Access to Swales • FlatSat and Probes during I&T • VNC Protocol Runs on Detached X-Server • Client/Server Environment • Configuration Control Board (CCB) • Approves Software before moving to Secure Operations Net • Approves Hardware changes to MOC equipment • Bus TLM/CMD Databases Under Configuration Control at Swales until L-60, then Transfers to Berkeley
Flight Software Maintenance • Flight Software Patches • Flight Software Patches • Developed by Hammers • Carefully Tested on FlatSat Prior to Upload • Upload Strategy • Upload to One Probe Only, if Patch Is Probe Specific • Upload to All Probes if Patch Fixes FSW Bug or Optimizes Science Data Acquisition and/or Processing • Will Still be Loaded to One Probe First • Flight Software Configuration Control • Flight Software Images and Tables • Current and Previous Versions for Each Probe Stored on the Ground • BAU Flight Software Under Configuration Control at Swales • IDPU Flight Software Under Configuration Control at UCB
ITOS Requirements • General ITOS Requirements • THEMIS Will Be Using the Commercial Version of ITOS • Same as I&T System • Similar to FAST and RHESSI • See ITOS Standard Documentation • Implementation of New Features • Decompression of THEMIS Telemetry Data in Real-time • May Be Enabled or Disabled, Depending on Instrument Data Type • Desirable Features for Constellation Operations • Telemetry Server for Distribution of Data Streams to Multiple ITOS Clients • Status Displays for Telemetry Points Across Multiple Probes • ITOS Telemetry Server
ITOS Configuration • Dedicated Workstations • Basic Configuration Is One Dedicated ITOS System per Probe • Same Workstation will Always Support each Probe unless there is a Problem with the Primary Workstation • Flexibility Built Into System for Dynamic Allocation of Workstations • Capability to Route Telemetry to Multiple Workstations • Allows Many Engineers to Monitor Spacecraft during LEO Operations • Command Only Enabled on Primary Workstation • Multiple Hot Back-up Systems • Upgrade Path To More Complex Future Missions • ITOS Connects to SatTrack Gateway Server (SGS) • ITOS Specifies Mission (e.g. THEMIS) and Leaves Individual Object and Facility Unspecified • SGS Assigns Individual ITOS System to a Particular Pass Support • Routing of Telemetry and Command Connections Via FrameLink ITOS in Turn Loads TLM/CMD Databases and Supports Pass
Mission Control Network Network Architecture All Ground Stations Connect to Dedicated Ports on IP Router to Establish TLM and CMD Socket Connections Router Switches TLM and CMD Socket Connections Through to Multiple ITOS Systems Process Controlled by Automated Scheduling System
TLM & CMD Data Routing • Telemetry & Command Routing Scheme • Router Acts as Server • Incoming Connections from Ground Stations and ITOS Clients • Port Assignment • Ground Stations: Each Has Dedicated Ports for TLM & CMD • ITOS Clients: Can Connect to Any Ground Station by Selecting Appropriate TLM and CMD Ports • Standard Frame Format for All Data Flows • I&T End-to-end Tests • Ground Stations • Router Establishes Connections Based on Scheduling Information from Gateway Server
Telemetry Data Format • Telemetry Data Format • CCSDS V1 Frame Format • Telemetry Data Routed by Virtual Channels • Annotated Channel Access Data Units (CADUs): 1276 Bytes • Telemetry Frame Delivery Header: 10 bytes (Attached at Ground Station) • Attached Synchronization Marker: 4 bytes • Virtual Channel Data Unit: 1100 bytes • Frame Error Control Field: 2 bytes • Reed-Solomon Code Trailer: 160 bytes
Telemetry Data Delivery • Delivery of Real-time Telemetry Data • Real-time TCP/IP Network Socket Connection • Initiated by Ground Station
Command Data Routing • Command Data Format • CCSDS V1 Frame Format • Command Data Routed by Virtual Channels • VC1: Commands Decoded and Executed in Software • BAU Switched Service Commands • IDPU Commands • FSW Commands • Table Load Commands • Data • VC2: Commands Decoded and Executed in Hardware • Processor Resets and Others • Command Link Transmission Units (CLTUs): Variable Length • Command Delivery Header: 24 bytes (Stripped at Ground Station) • Acquisition Sequence: 18 bytes • Start Sequence: 2 bytes • Telecommand Codeblocks: 37 x 8 bytes (max.) • Tail Sequence: 8 bytes
ITOS Page Layout • Standard Features in ITOS Page Template • Uniform Page Header and Page Layout • Probe Identifiers: Probe Bus and Constellation ID • UTC and Probe System Time • Sub-headers, Data Columns, Grouping of Parameters • SI Units: V, A, s, m, kg, C, K, N, Pa, T
TLM and CMD Naming • Telemetry & Command Naming Rules for ITOS Database • Unmistakable Naming Conventions Reduce Operational Risks • CLEAR Commands to Clear Counters or Status Flags Only • RESET Commands to Power Cycle or Reboot Subsystems Only • Identify Subsystems in Commands and Telemetry Mnemonics • Consistent Use of SI Units
Probe Status Monitoring • SatTrack Interface to ITOS Data Point Server (DPS) • SatTrack DPS Client Program Connects to SatTrack Gateway Server • One Instance of DPS Client Can Handle Multiple Probes Simultaneously • Receives Pass Schedule Information in Real-time • Connects/Disconnects to/from ITOS Supporting a Pass for a Given Probe • Connects/Disconnects Can Be Interleaved for Multiple ITOS Systems • Polls Values for List of Mnemonics and Saves Values in Local Database (One File for Each Probe) • MNEMONIC: STATUS STRING • Periodically Generates Web Page with Constellation Status • Top Level Constellation Overview • Contact Schedule Summary • Probe Bus Status • Instrument Status • Performs Yellow and Red Limit Checking with FOT Notification
MPS Configuration • Mission Planning System • Command Loads Built Using Mission Planning Products • Station View Periods • Based on Station Masks • Includes Confirmed Support Schedules • Link Access Periods • Dynamic Link Margin Calculated for Optimum Telemetry Data Rate • Duration Events • Shadow Periods • Conjunction Region Crossings • Central Canada Region Crossings • Orbit Events • Apogee and Perigee Crossings • Node Crossings • Thruster Operation • Command Sheets for Maneuver Execution • Special Commands Inserted Manually
Command Load Requirements • Typical Command Load Requirements per Orbit • Housekeeping Functions • Clock Adjustments • ATS Buffer Switching • Communications • Telemetry Data Rate Selection • Transmitter Control • Telemetry Transmission • Instrument Control • Conjunction Region • Radiation Belt Crossings • Special Instrument Commands • Configuration of IDPU, FGM, SCM, ESA, SST, EFI
Maneuver Command Loads • Maneuver Command Loads • GMAN or FreeFlyer Generates Thruster Firing Timeline • Timeline Translated into Typical Probe Command Sequence 2006/306:01:12:43, COMMAND1, ARG1=X1, ARG2=Y1, … 2006/306:01:12:53, COMMAND2, ARG1=X2, ARG2=Y2, … 2006/306:01:13:03, COMMAND3, ARG1=X3, ARG2=Y3, … … • Timeline Merged with Other Probe Commands Using MPS • Only One Maneuver per ATS • Maneuvers Scheduled during Contacts Only • Add ATS Pointer Skip Command to Each Maneuver • First Command of Maneuver Set Will Skip ATS Pointer Past All Maneuver Commands • Once Good Two-Way Has Been Established, FOT Will Skip ATS Pointer Back to Start of Maneuver Sequence
Maneuver Command Loads • Maneuver Command Sequence • Preparation: • Configure Telemetry Filter Table for Thrust Mode • May require several commands • First Attitude Maneuver: • Catalyst Bed Heater On (for 60 min) • Catalyst Bed Heater Off (Just Prior to Thrusting) • Enable Thrusters • Select Thruster Mode • Set Thrust Phase Angle, Pulse Width and Number of Pulses • May be Repeated up to 10 Times • Set Thrust Start and Stop Times • May be Repeated up to 10 Times • Disable Thrusters
Maneuver Command Loads • Maneuver Command Sequence • Orbit Maneuver: • Catalyst Bed Heater On (for 60 min) • Catalyst Bed Heater Off (Just Prior to Thrusting) • Enable Thrusters • Select Thruster Mode • Set Thrust Phase Angle, Pulse Width and Number of Pulses (for Pulse Thrusting of Tangential Thrusters) • Set Thrust Start and Stop Times • Disable Thrusters • Second Attitude Maneuver: • Same as First Attitude Maneuver • Shutdown: • Configure Telemetry Filter Table for Normal Mode • May Require Several Commands
Flight Software Features • ATS and RTS Load Sizing • ATS and RTS Loads Need to Support 5 Days of Operation • Seconds Field Is 4 Bytes Wide • Maximum Concurrently Executing Sequences: 1 ATS, 16 RTS • ATS Loads • 2 ATS Buffers • Maximum Size of ATS Buffer: 8,192 Bytes • Average CCSDS Command Size: 20 Bytes • Maximum Number of Commands in Load: 409 • Uplink of One ATS Load Requires 65 s at 1.0 kbps • RTS Loads • 64 RTS Buffers Available for Probe FDC and Operations • Maximum Size of RTS Buffer: 256 Bytes • Average Command Size in RTS: 18 Bytes • Maximum Number of Commands in RTS: 14 • Uplink of All RTS Buffers Requires 130 s at 1.0 kbps
ATS Buffer Sizing * Includes Use of RTS Calls For Many Routine Functions. ** Assuming 1-Day Orbits. *** Worst Case Assuming All Conceivable Operations Contained in One Command Load. Load to Cover 5 Days (Only 1 Maneuver) Requires 401 Commands.
BEARS Requirements • BEARS Requirements • Anomaly Detection, Operator Notification and Response Handling • Real-time Spacecraft and Ground System Fault Detection • Parsing of Telemetry Playback Log Files to Detect Back-orbit Problems • Parsing of Other Ground System Log Files for User Defined Keywords • Interface with Various GDS Elements Via Email and/or Log Files • Logging of Anomalies and Tracking of Discrepancy Reports • Pass Summaries Ingested from Ground Station Monitor Blocks • Monitor Blocks Not Available from All Antennas • Multiple Instances of BEARS to Support MOC and SOC Independently • Database with Problem Reports, Actions Taken, Fixes and Work-arounds • Database with Contact Information of Operations Personnel • Notification of On-call Personnel with Persistent Paging Capability • Centralized Submission of Pages by External Facilities (e.g. NASA Scheduling) • Remote Response Handling Via Email and Web Pages
BEARS Requirements • BEARS Requirements − Continued • Improved Web Based User Interface for Reliable Access • Interface with Scheduling System to Alert Personnel about Schedule Changes • Capability to Temporarily Screen Paging During Special Operations • ASCII Configuration Files • No Compromise of Spacecraft and Systems Security
BEARS Implementation • BEARS Implementation • Under Development at SSL • Programming Language (Perl, MySQL) • Solaris and Linux Platform Support • Development of Tools for Procedure and Feature Testing • Assignment of Programming Tasks • Develop Individual Tools for Various Tasks • Log Pre-filtering and Parsing • Database Handling • Web Interfaces • Operator Notification with Accept / Defer Mechanisms • Project Duration • Currently Generating Requirements • Complete One Year Prior to THEMIS Launch • Configuration Control • Under Workspace SCCS Control
BTAPS Requirements • BTAPS Requirements • Hold All BAU HK Data For Life of Mission • Hold All IDPU HK Data For Life of Mission • Store Data in Raw Format • Separate Engineering Conversion Table for Each Probe • Conversions May Change Over Time • Web Interface for Accessing Data • Output Data in ASCII Format Over Any Time Range • Produce Plots Over Any Time Range • Include Up To Six Telemetry Mnemonics on One Plot • Plot Mnemonics Versus Time or Other Mnemonics
BTAPS Implementation • BTAPS Implementation • Under Development at SSL • Programming Language (Perl, MySQL) • Solaris and Linux Platform Support • Development of Tools for Procedure and Feature Testing • Assignment of Programming Tasks • Develop Individual Tools for Various Tasks • Data Acquisition • Database Handling • Plotting • Web Interfaces • Project Duration • Version For RHESSI is in Early Testing Stages • THEMIS Version to be Complete One Year Prior to Launch • Configuration Control • Standard Workspace SCCS Control
Anomaly Tracking System • TeamTrack • Provided by TeamShare • Used by Hammers to Track ITOS Bugs • May Be Linked to Microsoft Access Database Used by Swales to Track Spacecraft Problems • Option for Status and Anomaly Tracking at Berkeley MOC • Berkeley Already Has Two Accounts