MAVEN CDR May 23-25, 2011 Particles and Fields Package Pre-Environmental Review May 22 -23, 2012 Flight Software Peter R. Harvey Mars Atmosphere and Volatile EvolutioN (MAVEN) Mission
Dec 24, 2015
MAVEN CDR May 23-25, 2011
Particles and Fields PackagePre-Environmental Review
May 22 -23, 2012Flight SoftwarePeter R. Harvey
Mars Atmosphere and Volatile EvolutioN (MAVEN) Mission
1-2MAVEN IPER May 22-23, 2012
Agenda
PER Requirements
Development Plan & Status
Verification Status
IV&V Status
Design Overview
Central Processor Utilization
EEPROM Utilization
Memory Utilization and Track
Remaining Work
1-3MAVEN IPER May 22-23, 2012
PER Requirements
Requirement Description Status
PER-TM-4Integration activities for all hardware and softwareground equipment
First ETU I&T completedSecond ETU I&T in progressFlight I&T Flow has not started
PER-TM-4Appropriate assessment of all applicable discrepancies and confirmation of adequate closeout has preceded each integration
2 PFRs, none open
PER-SDD-13 Flight software loads are complete. Boot V1.3 in PROMOperational V2.5 supporting I&T
PER-SDD-13Changes since the applicable CDR have been properly identified and assessed for possible impacts.
Changes recorded in SRS, discussed at Monthly FSW Status meetings
PER-SDD-14Software products have been demonstrated to have sufficient maturity for PER.
Boot CompleteOperational V2.5 in ETU tests
PER-SDD-15
Software nominal operating scenarios are fully defined including fault detection, isolation, and recovery strategies with designs sufficiently matured and properly simulated during testing.
Orbit Test Sequence definedFault Protection reviewed, simulated and demonstrated on DVF
PER-SDD-16Software verification strategies are defined including test environments.
ColdFire Simulation,DVF : Real-Time w/simulated inst. data,ETU : Real Inst. boards, sim'd sensors
PER-S&MA-10Independent Verification and Validation (IV&V) activities have been completed.
IV&V Reviewed Boot and Operational Requirements, flowdowns & changes for clarity and testability. Continuing efforts as requirements change
Note: There are no NHB 7150 requirements for FSW PER
1-4MAVEN IPER May 22-23, 2012
Software Development Plan
Software Products:
Boot FSW (PROM)
Build1 : Support ETU DCB Test, S/C Interface tests
Build2 : Updated, Built for Flight Unit PROM
Operational FSW (EEPROM)
Build1 : Support S/C Interface, ETU Instrument I&T
Build2 : Support Storage Capabilities, Onboard Data Processing, FLT I&T
Build3 : Updated, Built for Flight EEPROM
Command and Telemetry Database
Table Load Scripts
FSW Test Scripts
1-5MAVEN IPER May 22-23, 2012
Software Development Status
Date Reqmts Written Testable Complete %Written %Tested3/1/2011 188 78 188 0 41% 0%4/1/2011 188 92 171 0 49% 0%5/2/2011 188 94 171 0 50% 0%6/1/2011 188 94 171 0 50% 0%7/7/2011 188 94 171 0 50% 0%8/1/2011 188 94 171 0.5 50% 0%9/1/2011 189 92 172 0.5 49% 0%
9/30/2011 189 113 172 9.5 60% 6%10/31/2011 191 116 173 32.5 61% 19%
12/5/2011 207 147 189 42 71% 22%1/2/2011 206 158 188 52.5 77% 28%2/4/2012 202 167 188 56.5 83% 30%3/2/2012 200 180 188 69.5 90% 37%4/1/2012 201 182 187 79 91% 42%5/1/2012 206 192 188 85 93% 45%
Date Reqmts Written Testable Tested %Written %Tested7/2/2010 54 19 54 0 35% 0%08/05/10 54 28 54 0 52% 0%09/01/10 55 51 55 0 93% 0%10/01/10 55 51 55 0 93% 0%11/01/10 55 51 55 0 93% 0%12/01/10 55 51 55 0 93% 0%1/3/2011 57 55 57 0 96% 0%
1/31/2011 61 61 61 0 100% 0%3/1/2011 66 64 65 0 97% 0%4/1/2011 66 65 65 0 98% 0%5/2/2011 66 66 65 0 100% 0%6/1/2011 66 66 65 0 100% 0%7/7/2011 66 66 63 15.75 100% 25%8/1/2011 66 66 58 27.75 100% 48%
8/29/2011 68 68 60 60 100% 100%
Operational FSW Development
- 210 Requirements
- 18 require inspection
Requirements in flux
- 218 changes (Level 5)
- 83 changes since CDR
Boot FSW Development
- 68 Requirements
- 8 required inspection
1-6MAVEN IPER May 22-23, 2012
Software Verification Status
Other Tests/Environments BOOT BUILD2 CPT on DVF
BOOT BUILD2 & OPERATIONAL BUILD1 I&T of all ETU Instruments LPW SEP MAG SWEA SWIA STATIC
PFDPU – S/C ETU Test at LM
PF High Fidelity Simulator to LM Test Bed
OPERATIONAL BUILD2 PF FLT I&T of Instruments
OPERATIONAL BUILD3 Development
Long Duration & CPT on PFDPU ETU
1-7MAVEN IPER May 22-23, 2012
IV&V Status
Action Items Remaining
3 Severity 2 Issues (SEP, EUV, HV safing reqmt not found)
5 Severity 3 Issues (SEP, EUV, HV, EEPROM, I/F detail suggested)
1 Severity 4 Issue (Incorrect parent reqmt)
FSW completed all Action Items, Awaiting IV&V concurrence
Impacts to Requirements = 4 additional Level 5, 2 additional Level 4
No impact to FSW implementationMKS_ID Subject IVV_Sever DescriptionMAVEN-IVV-1218 Missing L5 requirements for SEP Safing 2 There are missing requirements at the Level 5 PFP MAVEN-IVV-1246 Missing L5 requirements for EUV Safing 2 There are missing requirements at the Level 5 PFP MAVEN-IVV-1247 Missing L5 requirements for HV Safing 2 There are missing requirements at the Level 5 PFP MAVEN-IVV-1219 Requirement, FSW.BKG-11, lacks detail for proper 3 Requirement FSW.BKG-11 states:MAVEN-IVV-1244 Requirement, FSW.BKG-10, lacks detail for proper 3 Requirement FSW.BKG-10 states:MAVEN-IVV-1245 Requirement, FSW.BKG-9, lacks detail for proper 3 Requirement FSW.BKG-9 states:MAVEN-IVV-1250 PF FSW L4 requirement PFFSW-104, Operational 3 PF FSW L4 requirement PFFSW-104, Operational MAVEN-IVV-1284 Lack of PFP Component-Level Fault Response 3 There do not appear to be any L5 FSW requirements MAVEN-IVV-1241 Incorrect parents for L5 Operational FSW 4 The following L5 Operational FSW Requirements are
1-8MAVEN IPER May 22-23, 2012
FSW Design Overview
Development Plan : MAVEN_PF_SYS_008A Processor : 16 MHz Coldfire IP Memory : 32K PROM, 256K EEPROM, 3 MB SRAM, 8 GB Flash Language: C Deliveries: Boot, Operational, HFS Requirements: 66 (Boot), 210 (Operational) SLOC : ~3777 in 11 modules (Boot), ~14500 in 19 modules (Op) Test Platform: DVF (Development and Verification Facility) Major Functional Requirements:
– Command Reception & Distribution– Engineering Housekeeping Telemetry– On-Board Limit Monitoring, Fault Response– Relative Time Command Sequences– Real-Time Data Collection and Playback– Archive Data Collection and Playback– Data Compression– High Voltage Controls– Attenuator Controls– Controllers for Six Science Instruments– Fault Protection
1-9MAVEN IPER May 22-23, 2012
CPU Utilization
FGND Function Typ Type Explanation Cycles/PeriodPeriodEXEC RUNUSER 0.3% Measured Runs up to 4 User Programs 168 0.004LD SRAM SCANNER 0.0% Measured Checksumming SRAM 6912 1.000SSR Solid State Executive 3.0% Analysis Second Stage Compression @ 37 k 503316 1.000SWEA SWEA Accum/Telemetry 0.4% Simulation SWEA long calculations 131187 2.000SWIA SWIA Accum/Telemetry 1.6% Simulation SWIA long calculations 1055211 4.000STATIC STATIC Accum/Telemetry 1.7% Simulation STATIC long calculations 1124348 4.000Total 6.9%
BKGD Function Typ Type Explanation Cycles/PeriodPeriodBKG Overhead 0.4% Measured Interrupts/second 256 0.004CMD Command Input 1.5% Measured UART Control, Buffering 1024 0.004HSK Housekeeping Packets 0.1% Measured Build HSK telemetry @ 32Hz 768 0.031TM Telemetry Output 0.7% Measured Multiplexing HSK, Science @12kbps 15360 0.125PWR Power Controls 0.1% Measured Power Switches, Limit Monitoring (32 Hz) 512 0.031SSR Flash Control 0.0% Measured Manage Transfers to/fm Flash@30K 256 0.063* LUT Loading 0.1% Measured SWEA,SWIA,SEP, LPW, STATIC 9344 0.625* HV Stepping 0.0% Analysis SWEA,SWIA, STATIC 5120 0.750STA STATIC Manager 1.5% Measured STATIC Message Processing 1018098 4.000SWEA SWEA Manager 0.4% Measured SWEA Message Processing 118985 2.000SWIA SWIA Manager 0.7% Measured SWIA Message Processing 472131 4.000SEP SEP Manager 1.4% Measured SEP Message Processing 58368 0.250LPW LPW Manager 0.8% Measured LPW Message Processing 32768 0.250MAG MAG Manager 0.9% Measured MAG Message Processing 36096 0.250FP Fault Protection 0.0% Analysis Fault Protection Actions 5120 1.000TOTAL 8.7%
1-10MAVEN IPER May 22-23, 2012
EEPROM Utilization
Absolute Size(Hex) Size(Dec) EEPROM DIRECTORY83C000 4000 16384 Dir# OBJECT EEP/16 DEST/16 LNG/16 Ver, Csm83B000 1000 4096 8000A0 20 LM_DATA 20E0 n/a 40 01,AA83A000 1000 4096 800098 19 STA_MLUT3 2540 n/a 400 51,AA836800 3800 14336 800090 18 STA_MLUT2 2140 n/a 400 52,AA833000 3800 14336 800088 17 STA_MLUT1 2130 n/a 10 51,AA832F00 100 256 800080 16 STA_MLUT0 2120 n/a 10 52,AA830B00 2400 9216 800078 15 STA_SLUT2 2D40 n/a 200 51,AA82F700 1400 5120 800070 14 STA_SLUT1 2B40 n/a 200 52,AA82F400 300 768 800068 13 STA_SLUT0 2940 n/a 200 51,AA82D400 2000 8192 800060 12 LPW_LUT 2F70 n/a 140 42,AA82B400 2000 8192 800058 11 LPW_Cmds 2F40 n/a 30 41,AA829400 2000 8192 800050 10 SEP2_Cmds 3B00 n/a 100 71,AA825400 4000 16384 800048 9 SEP1_Cmds 3A00 n/a 100 61,AA821400 4000 16384 800040 8 SWI_LUT_ANLZ 32F0 n/a 10 32, AA821300 100 256 800038 7 SWI_LUT_DEF 30B0 n/a 240 31, AA821200 100 256 800030 6 SWE_LUT_ION 3680 n/a 380 21, AA820E00 400 1024 800028 5 SWE_LUT_SW 3300 n/a 380 21, AA
800020 4 RTS 3C00 0 400 02, AA800018 3 spare800010 2 spare
8137A4 137A4 800008 1 PROG1 B00 0600 87B 21,AA800000 0 PROG0 20 0600 87B 21,AA
80B000 B000SUMMARY USAGE
8089A4 89A4 Op Program Size 34724# Ops Reqd 2 69448
800200 200 Data Storage 127488800000 EEPROM Needed 196936 75%
256 KB EEPROM
MAVEN EEPROM Configuration
RTS
STA_SLUT2
SEP2_CmdsSEP1_Cmds
SWI_LUT_DEF
LPW_Cmds
STA_MLUT0LM_DATA
STA_MLUT1
Program Image1
Spare
Spare
Program Image2
Spare
Directory
SWE_LUT_IONSWE_LUT_SW
STA_SLUT1
SWI_LUT_ANLZ
LPW_LUT
STA_SLUT0STA_MLUT3STA_MLUT2
Spare
1-11MAVEN IPER May 22-23, 2012
SRAM Utilization
157F00 1FFFFF RESETCTR 700000157AF0 STAAPIDC0 1FFFFE EXECMODE1576E0 STAAPIDC2 1FFFFC ENABLES1572D0 STAAPIDC4 1FFFF4 S/C CLOCK156EC0 STAAPIDC6 1FFFF0 ZONE BITS156AB0 STAAPIDC8 1FFF00 spare1566A0 STAAPIDCA 1FEC00 TM_BUFFER1156290 STAAPIDCC 1FD900 TM_BUFFER0155E80 STAAPIDCD 1F4400 spare155A70 STAAPIDCE 1F4000 LM Database155660 STAAPIDCF 1F0000 RTS155250 STAAPIDD0 1D0000 RT_BUFFER154E40 STAAPIDD1 1B0000 AR_BUFFER
228BC 154A30 STAAPIDD2 190000 AW_BUFFER1209F0 OPER BSS 154620 STAAPIDD3 170000 AW_BUFFER020000 OPER DATA 154210 STAAPIDD4 16FC00 SEPRTACC2
153C00 STAAPIDD6 16F800 SEPRTACC1E78C OPER ROMP 1537F0 STAAPIDD7 16F400 SEPARCACC2DD9C OPER Stored Data 153720 STAAPIDD8 16F000 SEPARCACC1
153410 STAAPIDD9 16EF10 SEPDIFF153000 STAAPIDDA 16EE98 SEPNOISE2
6000 152BF0 STAAPIDDB 16EE20 SEPNOISE15710 STACK 14EBF0 STAP1MET 16E610 SEPAPID7D49FC BOOT BSS 14E9F0 STAP1ARTACC 16DE00 SEPAPID7C3700 BOOT RAM 14D9F0 STAP1BRTACC 16DDB4 SEPAPID7936D4 14D5F0 STAP1CRTACC 16DD68 SEPAPID7836B8 BOOT ROMP 14B5F0 STAP1DRTACC 16DB58 SEPAPID732400 BOOT Stored Data 14A5F0 STAP2DET 16D948 SEPAPID7223BC 149DF0 STAP2RTACC 16D738 SEPAPID71
148DF0 STAP3ADET 16D528 SEPAPID700200 147DF0 STAP3RTACC 16A528 SWEEAT
0 VECTORS 137DF0 STAP4T 16A428 SWERTACC127DF0 STAP4RTACC 16A328 SWEARCACC117DF0 STAP4ARCACC 169E18 SWEAPIDA0 64A1F8117BF0 STAP4ERTACC 169908 SWEAPIDA1 648DDE SEP2BFR1111BF0 STARATES 1694F8 SWEAPIDA2 6479C4 SEP2BFR0111BC0 STAR1RTACC 1690E8 SWEAPIDA3 6465AA SEP1BFR1110FC0 STAR2RTACC 168CD8 SWEAPIDA4 645190 SEP1BFR0110EC0 STAR3RTACC 1685C8 SWEAPIDA5 64418C LPWBFR11106C0 STAMASS 166DC8 SWICDT1 643188 LPWBFR010F6C0 STAMHRTACC 1655C8 SWICDT0 62DF48 STABFR11036C0 STAEVENTS 1628C8 SWIFDT1 618D08 STABFR0
15FBC8 SWIFDT0 60F02C SWIBFR115CBC8 SWICDSACC 605350 SWIBFR0159BC8 SWICDAACC 602BC8 SWEBFR1159B08 SWISPACC 600440 SWEBFR01598F8 SWIAPID80 600330 MAG2BFR1159168 SWIAPID82 600220 MAG2BFR0158CD8 SWIAPID84 600110 MAG1BFR1158B28 SWIAPID85 600000 MAG1BFR0158818 SWIAPID86157F08 SWIAPID87
INST RAM 1MBSRAM (2MB) Word Refs Only
IDPU MEMORY MAP Q,W,B references
BOOT
OPER
1-12MAVEN IPER May 22-23, 2012
Memory Utilization
Simplified NVM to use EEPROM only (no FLASH required).
STORAGE NEEDED (kB)
SRAM at CDR
EEPROM / FLASHat CDR
SRAM at PER
EEPROM ONLYat PER
SRAMGrowth
EEPROMGrowth
MAG 3.98 0.00 3.18 0.00 -20%SWEA 73.77 3.00 40.07 28.00 -46% 833%SWIA 109.12 9.19 144.53 9.25 32% 1%LPW 8.01 4.98 8.07 5.75 1% 15%STATIC 404.38 96.00 507.50 56.50 26% -41%SEP 47.20 11.72 31.03 8.00 -34% -32%
RTS 1.00 1.00 16.00 16.00 1500% 1500%LM 1.00 1.00 1.00 1.00 0% 0%TM Buffer 4.00 9.50 138%Svy Buffer 128.00 128.00 0%Arc Write Buffers 128.00 256.00 100%Arc Read Buffer 18.00 128.00 611%
Boot FSW Est 8.89 17.79 23.89 0.00 169% -100%Op FSW Est 17.54 35.08 44.09 67.82 151% 93%
Total Memory 952.89 179.76 1337.28 192.32 40% 7%Resource Limit 3072.00 768.00 3072.00 256.00Usage 31% 23% 44% 75%Margin 222% 327% 130% 33%
1-13MAVEN IPER May 22-23, 2012
Memory Track
• PROM Functions• Boot Software V1.3• EEPROM Load• Uplink Support
• EEPROM• Operational Software V 2.0+• Instrument Drivers• Instrument LookUp Tables• Relative Time Sequences of
commands• Limit Monitor Database
• RESOURCE NEEDS• 43% PROM • 44% RAM• 75% EEPROM• 0% LUTs stored in FLASH
CPU Memory Resources
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Months%
Usa
ge PROM Usage
RAM Usage
EEPROM Usage
1-14MAVEN IPER May 22-23, 2012
Work Remaining
Identified Requirement Comment
FSW.CMP-3 CMP shall provide housekeeping telemetry as defined in MAVEN PF Command/Telemetry documentFSW.CMP-4 Operational FSW shall Compress Telemetry by APID[a] using a set of telemetry options, one for each APID;
No decoding software ready
FSW.CMP-6 CMP shall reorder particle data as necessary to optimize compression No Specification Given
FSW.STAT-11 PFP FSW shall [b] inhibit loading an MLUT or SLUT which is active. FSW to change MLUT/SLUT automaticallyFSW.STAT-15 PFP FSW shall control the STATIC SMA attenuator
[a] when STATIC atten logic is enabled;Difficult to test
FSW.STAT-20 PFP FSW shall measure HV Offsets [a] when selected by ground command;
Difficult to test
FSW.SWIA-16PFP FSW shall compute moments from P1 or P2 data (based upon mode)
No Specification Given, Build 3
FSW.SWEA-14PFP FSW shall generate Pitch Angle Distribution telemetry packets (Survey only) at a programmable rate
No Specification Given, Build 3
FSW Development Remaining
GSEOS Development Remaining Instrument simulation on ETU (MAG2, SEP2)
Instrument ETU’s integrated into PF ETU
Limit checking instrument housekeeping
I&T Test Scripts, DCB Test Scripts
FSW Test Scripts for Operational verification
DeCompression Software
1-15MAVEN IPER May 22-23, 2012
Backup
Backup Slides
1-16MAVEN IPER May 22-23, 2012
Orbit Test SequenceTime Altitude, km Event
0:30:00 ConfigurePower up PFDPU & Instruments in default (low rate) modeSWEA, SWIA, STATIC HVPS OnLPW Mode TBD (sunlit)Open EUV attenuatorSet SWIA to simulate Solar Wind (attenuator closed, S/W mode)Set STATIC to PICKUP modeSet SWEA to Solar Wind modeSet SEP to Low Rate mode, attenuator openSet MAG to Low Rate mode
1:00:00 6227 <Apoapsis; start test, apoapsis pass>1:46:30 5400 <start s/c & APP slew to side orientation>1:48:00 5329 SEP1 Attenuator Close (sun safe)1:53:00 5130 SEP1 Attenuator Open (end of Sun safe)1:56:00 5000 <slew complete, start side pass>2:15:30 4000 Simulate SWIA to Low flux mode (attenuator open)2:30:00 3000 Simulate SWIA to Magnetospheric mode2:54:00 1170 <start s/c & APP slew to periapsis orientation>2:56:00 1000 LPWMED at <1000km2:57:30 900 STATICCONIC at <900km2:59:00 800 SEPMED at <800km3:00:00 708 MAG to High rate 15 minutes before periapsis3:02:00 600 LPW to shadow mode3:03:30 500 <slew complete; start of periapsis pass>3:05:30 400 LPWHIGH at <400km3:05:30 400 SWEAION at <400km3:05:30 400 EUV aperature close (RAM safe @ 400km)3:08:00 300 SEPHIGH at <300km3:08:00 300 STATICRAM at <300km3:11:00 200 SWEA,SWIA HV disable (deep dip sim)3:11:00 200 STATIC simulate RAM (attenuator close)3:12:30 170 STATIC HV disable (deep dip sim)3:15:00 150 <Periapsis>
1-17MAVEN IPER May 22-23, 2012
Orbit Test Sequence
Time Altitude, km Event3:17:30 170 STATIC HV enable3:19:00 200 STATIC simulate end of RAM (attenuator open)3:19:00 200 SWEA,SWIA HV enable3:08:00 300 SEPMED at >300km3:08:00 300 STATICCONIC at >300km3:24:30 400 LPWMED at >400km3:24:30 400 SWEASW at >400km3:24:30 400 EUV Aperature Open >400km3:26:30 500 <end periapsis pass; start reaction wheel desat, then slew to side>3:30:00 708 MAG to Low rate 15 minutes after periapsis2:59:00 800 SEPLOW at >800km2:57:30 900 STATICPICKUP at >900km3:34:00 1000 LPWLOW at >1000km3:36:30 1200 LPW to Sunlit mode3:41:30 1570 <desat & slew complete; start of side pass>3:41:30 1570 <start STATIC scan>3:41:30 1570 STATICSCAN mode3:44:30 1804 <end STATIC scan, return to Side pass>3:44:30 1804 STATICPICKUP mode3:44:30 3000 Simulate SWIA to Solar Wind mode3:44:30 4000 Simulate SWIA to High Flux mode (attenuator close)4:34:00 5000 <start s/c & APP slew to apoapsis orientation>4:35:30 5066 SEP2 Attenuator Close (sun safe)4:40:30 5252 SEP2 Attenuator Open (end of Sun safe)4:43:30 5400 <scan complete, start apoapsis pass>5:30:00 6227 <Apoapsis; end test>
1-18MAVEN IPER May 22-23, 2012
Long Duration Stress Test (72 Hr)
• High Rate of Commands– Command Pass Simulation Every Hour– Memory Load – Uplink of RTS Database (16KB)– Serial Commands – 1kbps for 60 seconds– Memory Dump RTS Database– Simultaneously Executing RTS and Verifying Results
• High Rate of Telemetry– Continuous Telemetry at 200% nominal (10 Kbps)– Real Time Data @ 200% (5 Kbps)– Burst Playback @ 200% (5 Kbps)
• CPU Intensive Processing– Moment Calculations @ maximum rate (4 second period)– Magnetic Vectors @ maximum rate (1 second period)– STATIC attenuation @ maximum rate ( 4 second period)– Data Compression Enabled on All Available Packets– SRAM Memory Scrubbing Enabled– Fault Protection @ maximum rate (4 second period)
• Verification– Test Status Logged Every Hour (72 reports)– No Errors in FSW or GSE
1-19MAVEN IPER May 22-23, 2012
Boot RTS
Boot RTS has 5 RTS Sequences defined of 32 possible.RTS is loaded with the program.All RTS can run simultaneously. Commands executed at 4 Hz.RTS are variable length. Each can be enabled/disabled.
RTS# RTSID Ver Description0 PFP_COLDSTRT 1 Power On/Reset to Boot Mode, Transition to Operational Mode1 PFP_WARMSTRT 1 Warm Reset, Transition to Operational Mode2 PFP_GOTOSAFE 1 Transition to Safe Mode, All HV, Inst Pwr Off, Doors Closed3 PFP_GOTONORM 1 Transition to Normal Mode4 PFP_GOTOENG 1 Transition to Engineering Mode5 n/a n/a6 n/a n/a7 n/a n/a8 n/a n/a9 n/a n/a10 n/a n/a11 n/a n/a12 n/a n/a13 n/a n/a14 n/a n/a15 n/a n/a16 n/a n/a17 n/a n/a18 n/a n/a19 n/a n/a20 n/a n/a21 n/a n/a22 n/a n/a23 n/a n/a24 n/a n/a25 n/a n/a26 n/a n/a27 n/a n/a28 n/a n/a29 n/a n/a30 n/a n/a31 n/a n/a
1-20MAVEN IPER May 22-23, 2012
Operational RTS
Operational RTS has 41 RTS Sequences allocated of 64 possible.RTS database is stored in EEPROM.
RTS# RTSID V2.4 Ver[A2] Description0 PFP_COLDSTRT 1 Power On/Reset to Boot Mode, Transition to Operational Mode1 PFP_WARMSTRT 1 Warm Reset, Transition to Operational Mode2 PFP_GOTOSAFE 1 Transition to Safe Mode, All HV, Inst Pwr Off, Doors Closed3 PFP_GOTONORM 1 Transition to Normal Mode4 PFP_GOTOENG 1 Transition to Engineering Mode5 PFP_SHUTEUV 1 EUV Door Closure6 PFP_SHUTSEP1 1 SEP1 Door Closure7 PFP_SHUTSEP2 1 SEP2 Door Closure8 PFP_STAHVOFF 1 STATIC HV Disable9 PFP_SWEHVOFF 1 SWEA HV Disable10 PFP_SWIHVOFF 1 SWIA HV Disable11 PFP_OPENEUV 1 EUV Aperture Open12 PFP_OPENSEP1 1 SEP1 Door Open13 PFP_OPENSEP2 1 SEP2 Door Open14 PFP_STAHVON 1 STATIC HV On15 PFP_SWEHVON 1 SWEA HV On16 PFP_SWIHVON 1 SWIA HV On17 PFP_MAG1START 1 Default Setup for MAG118 PFP_MAG2START 1 Default Setup for MAG219 PFP_SWESTART 1 Default Setup for SWEA 20 PFP_SWISTART 1 Default Setup for SWIA 21 PFP_LPWSTART 1 Default Setup for LPW22 PFP_STASTART 1 Default Setup for STATIC 23 PFP_SEPSTART 1 Default Setup for SEP1, SEP2 24 PFP_SWESWIND SWEA SolarWind Mode25 PFP_SWEINTER SWEA Ionospheric Mode26 PFP_SWISWIND SWIA SolarWind Mode27 PFP_SWISHEATH SWIA Sheath Mode28 PFP_SEPHIGH SEP High Bitrate Mode29 PFP_SEPMED SEP Medium Bitrate Mode30 PFP_SEPLOW SEP Low Bitrate Mode31 PFP_MAGHIGH 1 MAG High Bitrate Mode32 PFP_MAGLOW 1 MAG Low Bitrate Mode33 PFP_LPWHIGH 1 LPW High Bitrate Mode34 PFP_LPWMED 1 LPW Medium Bitrate Mode35 PFP_LPWLOW 1 LPW Low Bitrate Mode36 PFP_STARAM STATIC RAM Mode37 PFP_STACONIC STATIC Conic Mode38 PFP_STAPICKUP STATIC Pickup Mode39 PFP_STASCAN STATIC Scan Mode40 PFP_STAECLIP STATIC Eclipse Mode
1-21MAVEN IPER May 22-23, 2012
Command/Eng APIDs
APID COMMAND PACKET Length Pkt Rate10 DPU COMMAND STRING PACKET <250 var11 DPU MEMORY LOAD PACKET <250 var
APID ENGINEERING PACKETS Length (Bytes)
Pkt Rate Total(bps)
RateCtr
20 SLOW HOUSEKEEPING 56 0.063 28.0 021 FAST HOUSEKEEPING 24 0.031 6.0 122 MEMORY DUMP 84 0.000 0.0 223 PFP ANALOG HOUSEKEEPING 60 0.004 1.9 324 EVENT LOG 20 0.000 0.0 n/a25 HIGH RATE ANALOG 140 0.000 0.0 n/a26 MAG1 ENG HOUSEKEEPING 108 0.004 3.4 627 MAG2 ENG HOUSEKEEPING 108 0.004 3.4 728 SWEA HOUSEKEEPING 104 0.004 3.3 829 SWIA ANALOG HOUSEKEEPING 108 0.004 3.4 92A STATIC ANALOG HOUSEKEEPING 60 0.004 1.9 102B SEP1 HOUSEKEEPING 100 0.004 3.1 112C SEP2 HOUSEKEEPING 100 0.004 3.1 120
Total 1072 36
1-22MAVEN IPER May 22-23, 2012
Science APIDs
APID SCIENCE PACKET Length (Bytes)
Pkt Rate TM(bps)
DIAGNOSTICS30 RAW MESSAGE var var var
MAG 388640 Mag1_Svy 232 1.0000 185641 Mag2_Svy 232 0.0625 11642 Mag1_Arc 232 1.0000 185643 Mag2_Arc 232 0.0313 58
44-4F SpareLPW 11092
50 DIAG READBACK 1036 0.000 051 ATR 304 0.004 1052 EUV 336 0.063 16853 ADR 552 0.004 1754 HSK 48 0.004 255 SWP1 788 0.250 157656 SWP2 788 0.250 157657 ACT 400 0.250 80058 PAS 400 0.250 80059 ACT_SPEC_LF 480 0.031 1205A ACT_SPEC_MF 480 0.031 1205B ACT_SPEC_HF 1056 0.031 2645C PAS_SPEC_LF 480 0.031 1205D PAS_SPEC_MF 480 0.031 1205E PAS_SPEC_HF 1056 0.031 2645F HSBM_LF 2048 0.250 409660 HSBM_MF 2048 0.031 51261 HSBM_HF 2048 0.031 51267 HTIME 512 0.004 16
68-6F Spare
1-23MAVEN IPER May 22-23, 2012
Science APIDs
APID SCIENCE PACKET Length (Bytes)
Pkt Rate TM(bps)
SEP 436170 SEP1_Spectra_Svy 528 0.016 6671 SEP2_Spectra_Svy 528 0.016 6672 SEP1_Spectra_Arc 528 0.500 211273 SEP2_Spectra_Arc 528 0.500 211278 SEP1_Noise_Svy 76 0.004 279 SEP2_Noise_Svy 76 0.004 27C SEP1 MEMORY DUMP 2064 0 07D SEP2 MEMORY DUMP 2064 0 0
7E-7F SpareSWIA
80 SWIA_Coarse_Dist_Svy 528 0.047 19881 SWIA_Coarse_Dist_Arc 784 0.500 313682 SWIA_Fine_Dist_Svy 1936 0.094 145283 SWIA_Fine_Dist_Arc 1936 0.188 290484 SWIA_Raw_Dist_Svy 1168 0.083 77985 SWIA_Moments_Svy 432 0.016 5486 SWIA_Spectra_Svy 784 0.016 9887 SWIA Fast Housekeeping 2320 0.004 73
88-9F SpareSWEA
A0 SWEA_3D_Distribution_Svy 1296 0.4 4147A1 SWEA_3D_Distribution_Archive 1296 0.4 4147A2 PAD_SvyA3 SWEA_Spectra_Svy 1040 0.4 3328A4 SWEA_Spectra_Archive 1040 0.4 3328A5 SWEA Fast Housekeeping 1808
A6-BF Spare
1-24MAVEN IPER May 22-23, 2012
Science APIDs
APID SCIENCE PACKET Length (Bytes)
Pkt Rate TM(bps)
STATICC0 STATIC P1A 64Ex2M Spectra Survey 1040 0.031 260C1 STATIC P1A 64E Spectra Archive - DELETED 1040 0.016 130C2 STATIC P1B 32Ex32M Survey 1040 0.25 2080C3 STATIC P1B 32Ex32M Archive - DELETED 1040 0.25 2080C4 STATIC P1C 4Ex64M Survey 1040 0.016 130C5 STATIC P1C 4Ex64M Archive - DELETED 1040 0.016 130C6 STATIC P1D 32Ex64M Survey 1040 0.25 2080C7 STATIC P1D 32Ex64M Archive - DELETED 2064 0.25 4128C8 STATIC P2 32Ex16D Survey 1040 0.25 2080C9 STATIC P2 32Ex16D Survey - DELETED 1040 0.25 2080CA STATIC P3 16Ex4Dx16A Survey 1040 0.25 2080CB STATIC P3 16Ex4Dx16A Archive - DELETED 1040 0.25 2080CC STATIC P4A Survey 1040 2.00 16640CD STATIC P4A Archive 1040 2.00 16640CE STATIC P4B Survey 1040 4.00 33280CF STATIC P4B Archive 1040 4.00 33280D0 STATIC P4C Survey 1040 2.00 16640D1 STATIC P4C Archive 1040 2.00 16640D2 STATIC P4D Survey 1040 1.00 8320D3 STATIC P4D Archive 1040 1.00 8320D4 STATIC P4E Survey 1040 0.25 2080D5 STATIC P4E Archive - DELETED 1040 0.25 2080D6 STATIC Events Survey 1552 0.25 3104D7 STATIC Fast Housekeeping & Offset Calibration 1040 0.25 2080D8 STATIC Rates Survey 208 0.25 416D9 STATIC All Rates.v.Energy Survey 784 0.25 1568DA STATIC Single Rate.v.Energy Survey 1040 0.25 2080DB STATIC Mass Histogram 1040 0.25 2080
DC-FF Spare
1-25MAVEN IPER May 22-23, 2012
Data Compression
Count CompressionFour scales required {19-to-8, 26-to-8, tbd, tbd}Standard lossy encoding Offscale limit checkingCPU Use: ~5-6%
MAG Delta-ModulatorImplemented by GSFC requestCompresses 32x3 to 64x3 (8-bit delta)Packet Size is ConstantPacket Period changes
40000h - 7FFFFh> 7FFFFh
8000H - FFFFh
F0h+(N-40000h)/4000hFFh
10000h - 1FFFFh20000h - 3FFFFh
D0h+(N-10000h)/1000hE0h+(N-20000h)/2000h
B0h+(N-4000h)/400hC0h+(N-8000h)/800h
1000h - 1FFFh2000h - 3FFFh
90h+(N-1000h)/100hA0h+(N-2000h)/200h
4000h - 7FFFh
400h - 7FFh800h - FFFh
80h - FFh
70h+(N-400h)/40h80h+(N-800h)/80h
100h - 1FFh200h - 3FFh
50h+(N-100h)/10h60h+(N-200h)/20h
30h+(N-40h)/440h+(N-80h)/8
0 - 1Fh20h - 3Fh
N20h+(N-20h)/2
40h - 7Fh
Input Count Range, N, Hex Output Code
19-to-8 encoding
1-26MAVEN IPER May 22-23, 2012
Data Compression
SPD CompressionSpec’d by D. CurtisModified Huffman encoding4 encodings attemptedBest-of-4 applied Packet compressed at TMReal-time rate req’d
Counts or Delta
Code A Code B Code C Code D
-20 or less 1001000xxxxxxxx 1000100xxxxxxxx 10001000xxxxxxxx -19 1001000xxxxxxxx 1000100xxxxxxxx 10001001 -18 1001000xxxxxxxx 1000100xxxxxxxx 10001010 -17 1001000xxxxxxxx 1000100xxxxxxxx 10001011 -16 1001000xxxxxxxx 1000100xxxxxxxx 10001100 -15 1001000xxxxxxxx 1000100xxxxxxxx 10001101 -14 1001000xxxxxxxx 1000101 10001110 -13 1001000xxxxxxxx 100011 10001111 -12 1001000xxxxxxxx 100100 100100 -11 1001001 100101 100101 -10 1001010 10011 10011 -9 1001011 10100 10100 -8 10011 10101 10101 -7 10111 10110 10110 -6 10101 10111 10111 -5 10110 11000 11000 -4 10111 11001 11001 -3 1100 1101 1101 -2 1101 1110 1110 -1 111 1111 1111 0 0 000 0000 0000 1 10 001 0001 0001 2 1100 0100 0010 0010 3 1101 0101 0011 0011 4 1110 01100 01000 01000 5 1111xxxxxxxx 01101 01001 01001 6 1111xxxxxxxx 01110 01010 01010 7 1111xxxxxxxx 01111 01100 01011 8 1111xxxxxxxx 10000 01101 01100 9 1111xxxxxxxx 1000100 01110 01101 10 1111xxxxxxxx 1000101 011110 01110 11 1111xxxxxxxx 1000110 011111 011110 12 1111xxxxxxxx 1000111xxxxxxxx 100000 011111 13 1111xxxxxxxx 1000111xxxxxxxx 1000010 10000000 14 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000001 15 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000010 16 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000011 17 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000100 18 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000101 19 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000110 20 or more 1111xxxxxxxx 1000111xxxxxxxx 1000011xxxxxxxx 10000111xxxxxxxx
1-27MAVEN IPER May 22-23, 2012
Software Deliverable Schedule
Deliverables (src:MAVEN-SYS-PLAN-0020 rev B)SW Product Preliminary Due Baseline Due DateSoftware Development Plan 8/6/2009 5/26/2010 5/21/2011Software Safety Plan 5/21/2011Software Configuration Management Plan 5/21/2011SW Quality Assurance Plan 5/21/2011SW Risk Management Plan 5/21/2011NPR 7150.2 Compliance Matrix w/Software Development Update w/ each deliverable 5/21/2011Software Requirements Specification 2/18/2011Software Requirements Traceability Matrix 2/18/2011Software Requirements Review 4/28/2010Software Design Document IS: ISwPDR -10 days ISwCDR -10 days 4/29/2011Software Preliminary Design Review 5/12/2010Software Critical Design Review 4/28/2011Software Test Plan/Procedures IS: ICDR -30 days Run-for-score -3 days 4/23/2011Software Requirements Verification Matrix 4/23/2011Software Acceptance Test Readiness Review 5/2/2012Software User’s Manual 5/23/2012Telemetry & Command Database 5/23/2012Software Acceptance Test Reports 6/7/2012Software Acceptance Review 5/23/2012Software Maintenance Plan Prior to ICDR Mission Ops Readiness Review 5/13/2011Software Version Description Document 5/23/2012
4/28/2010w/Software Requirements Specification
w/Software Development Plan
w/Software Development Planw/Software Development Planw/Software Development Plan
2/18/2011
IPSR
With each software delivery
Run-for-score +15 daysw/ Software User’s Manual
Prior to acceptance test run-for-scoreWith software delivery, IPSR
IS: IPDR -25 daysIS: ICDR -25 days
w/Software Test Plan
Operational FSW BUILD3 ATRR, CPT, ATR and AR expected in summer 2012