HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB Flight Software Design Peter Harvey University of California 1.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
Programmable Interval Timer
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Overview of the SMAP Science Data Manager (SDM) Ed Benowitz SMAP FSW Developer NASA/Jet Propulsion Laboratory Caltech Copyright.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
Instrument TrainingIDPU - 1 UCB, Dec 6, 2006 THEMIS INSTRUMENT TRAINING IDPU.
Feb. 25, How the Rest of Hubble works (some of it, anyway) Computers and Communications.
MAVEN CDR May 23-25, 2011 Particles and Fields Package Pre-Environmental Review May , 2012 Flight Software Peter R. Harvey Mars Atmosphere and Volatile.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Solar Probe Plus FIELDS ICU/FSW Peter R. Harvey Dorothy Gordon –ICU Will Rachelson – FSW Dec 1, 2012.
Stuart D. BaleFIELDS iCDR – Science Requirements Solar Probe Plus FIELDS Instrument CDR Science and Instrument Overview Science Requirements Stuart D.
ISUAL Instrument Software S. Geller. CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 2 Topics Presented Software Functions SOH Telemetry.
Barbara PlanteFIELDS iPDR – DCB Flight Software Solar Probe Plus FIELDS Instrument PDR DCB Flight Software Barbara Plante UC Berkeley SSL
The 8253 Programmable Interval Timer
November 27, 2002 RMU-CPU Interface - Version 1.8 RMU - CPU Interface.
1 Lunar Reconnaissance Orbiter (LRO) CRaTER Technical Interchange Meeting C&DH Flight Software April 14, 2005.
D. GordonFIELDS iCDR – DCB Solar Probe Plus FIELDS Instrument CDR DCB Dorothy Gordon Space Sciences Lab, UC Berkeley 1.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes Sept. 2008EFW INST+SOC PDR253 Data Controller Board FPGA Dorothy Gordon UC Berkeley.
TIM Phase A 1 SSL, 8/15/2007 Electric Field and Waves Instrument (EFW) Technical Interchange Meeting EFW Digital Electronics Digital Control Board (DCB)
Stuart D. BaleFIELDS iPDR – Science Requirements Solar Probe Plus FIELDS Instrument PDR Science and Instrument Overview Science Requirements Stuart D.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Primary Boot Code (PBC) D. Wood Naval Research Laboratory.
IES Flight Software J. Hanley / P. Mokashi May 29, 2013.
TRIO-CINEMA 1 UCB, 2/08/2010 Instrument Interface Board Dorothy Gordon CINEMA - EE Team Space Sciences Laboratory University of California, Berkeley.
1Sep 30-Oct 1, 2009EFW I-CDR Instrument Critical Design Review EFW Flight Software Peter R. Harvey 2009 Aug 31 RBSP Radiation Belt Storm Probes RBSP Radiation.
N A S A G O D D A R D S P A C E F L I G H T C E N T E R I n t e g r a t e d D e s i g n C a p a b i l i t y / I n s t r u m e n t S y n t h e s i s & A.
21-1 MAVEN IPSR October 30,31, 2012 Particles and Fields Package Pre-Ship Review October 30,31, : Flight Software Peter R Harvey Mars Atmosphere.
GLAST LAT ProjectDOE/NASA Peer Review, March 19-20, 2003 GLAST Large Area Telescope: Electronics, Data Acquisition & Instrument Flight Software Flight.
TRIO-CINEMA 1 UCB, 2/08/2010 Cinema Stein Interface FPGA (CSI) [Part II] Karthik Lakshmanan CINEMA - EE Team Space Sciences Laboratory University of California,
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 3-4 Sept. 2008EFW INST+SOC PDR217 RBSP Electric Field and Waves Instrument (EFW) Instrument.
HinzeSPP/FIELDS iCDR – TDS FPGA 1 Solar Probe Plus / FIELDS Instrument CDR TDS FPGA Jason Hinze University of Minnesota
Solar Probe Plus FIELDS RFS Peter R. Harvey Oct 25, 2013.
8254 Timer.
Flight Software Overview
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
GoetzPre-PDR Peer Review October 2013 FIELDS TDS FPGA Peer Review Keith Goetz University of Minnesota 1.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 12/25/20151 Flight Software Template for Instrument Critical Design Review Gary M. Heiligman.
SDR 7 Jun Associated Electronics Package (AEP) Curtis Ingraham.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Systems Engineering Mike DeKlotz GSFC Stanford Linear Accelerator Center Gamma-ray Large.
Solar Probe Plus FIELDS Quarterly Management DCB_RFS-ADC July 18, 2013.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes RBSP/EFW I-PER 21 January EFW Flight Software Summary Peter Harvey Space Sciences.
TRIO-CINEMA FSW- 1 SSL, 8/10/2010 Flight Software Seyoung Yoon and Sameet Ramakrishnan Space Sciences Laboratory Kyung Hee University University of California,
HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB FSW Requirements Peter Harvey University of California 1.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 3-4 Sept. 2008EFW INST+SOC PDR447 Command, Telemetry, and Ground Support Equipment (CTG)
GoetzPre-PDR Peer Review October 2013 FIELDS Time Domain Sampler Peer Review Keith Goetz University of Minnesota 1.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Solar Probe Plus FIELDS MAG Peter Harvey. MAG FSW Requirements.
Solar Probe Plus FIELDS RFS Peter R. Harvey. RFS FSW Requirements.
11-1 MAVEN PFP ICDR May 23-25, 2011 PF Flight Software Critical Design Review May , 2011 Peter R Harvey Mars Atmosphere and Volatile EvolutioN (MAVEN)
THEMIS Instrument PDR 1 UCB, October 15-16, 2003 ESA & SST (ETC) Interface Board Preliminary Design Review Robert Abiad University of California - Berkeley.
THEMIS CDR 1 UCB, June 16, 2004 ESA & SST (ETC) Interface Board Critical Design Review Robert Abiad University of California - Berkeley.
THEMIS Instrument CDR 1 UCB, April 20, 2004 ESA & SST (ETC) Interface Board Critical Design Review Robert Abiad University of California - Berkeley.
Timothy Edward Quinn FIELDS iPDR – GSE Solar Probe Plus FIELDS Instrument PDR GSE Timothy Edward Quinn UCB 1.
TRIO-CINEMA C&DH- 1 KHU, 10/19/2009 Command & Data Handling System (C&DH) Peter Harvey David Curtis David McGrogan Space Sciences Laboratory University.
Pre-PDR Peer Review 1 UCB MAVEN Particles and Fields Flight Software Peer Review RFAs and Recommendations Peter R. Harvey.
Chapter 10 Telemetry Downlink
Operational Flight Software
Generic Remote Interface Unit (RIU) Interface Control Document (ICD)
INSTRUMENT DATA PROCESSING UNIT (IDPU) REQUIREMENTS
Command & Data Handling
University of California - Berkeley
Agenda. Solar Probe Plus FIELDS Main Electronics Package iPER Agenda Feb 2, 2017.
ISUAL Associated Electronics Package
Solar Probe Plus FIELDS Instrument PSR - MEP Introduction
Introduction to Microprocessors and Microcontrollers
CubeSat vs. Science Instrument Complexity
Presentation transcript:

HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB Flight Software Design Peter Harvey University of California 1

HarveyFIELDS iCDR – Flight Software Agenda 3.Software Design Flight Software Overview Hardware Context Detailed Design Functional description Structural decomposition Interface Design, Timing Commands and Telemetry Resource Margins Data Structures, Timing, Logic 2

HarveyFIELDS iCDR – Flight Software Overview Development Plan : SPF_SYS_008A Processor : 19 MHz Coldfire IP with 4 MB SRAM, 32 GB Flash Language: C & Assembly (Converted from RBSP, MAVEN) Deliveries: Boot (32K PROM), Operational (512K EEPROM) Requirements: 43 (Boot), 95 (Operational) Effort : ~8K-10K SLOC in 17 modules Major Functional Requirements: – Command Reception & Distribution – Engineering Housekeeping Telemetry – On-Board Limit Monitoring – Absolute & Relative Time Command Sequences – Real-Time Data Collection and Playback – Archive Data Collection and Playback – Data Compression – Controllers Electronics Circuits [LNPS1,AEB1,MAG1,RFS,DFB,TDS] 3

HarveyFIELDS iCDR – Flight Software Hardware Context FIELDS System Block Diagram Two Sides Each has Spacecraft I/F Each has Magnetometer Each has Antenna Elect. Each has Power Supply FIELDS1 also has Radio Freq Spect. Digital Fields Board SCM Calib Control Absolute Time Sequencer TDS I/F FIELDS2 also has Time Domain Sampler DCB I/F SWEAP I/F 4

HarveyFIELDS iCDR – Flight Software Hardware Context DCB Block Diagram 5

HarveyFIELDS iCDR – Flight Software Design 6 FSW Major Modules

HarveyFIELDS iCDR – Flight Software Design FSW Major Modules 7

HarveyFIELDS iCDR – Flight Software Boot/Initialization Hardware Reset –Power-On –WDRST -- Watchdog Reset (7-seconds) –DCB Command Can Trigger WDRST Reset Sequence –FPGA Copies PROM into RAM –FSW Initializes All Variables and Begins at main() (EXEC module) –Issues Initialization Calls to Each Module –Starts in Safe Mode –Begins Engineering Telemetry (1-sec) –Checksums EEPROM programs –Selects first-program with Good Checksum –Waits Until 10 seconds elapsed time –If S/C SUP==1, Runs Selected Program –If S/C SUP==0, Stays in Boot to Load Program 8

HarveyFIELDS iCDR – Flight Software Modes & Enables FSW Modes Safe – Minimal Activities Allowed Normal - FLASH Memory Allowed Engineering – EEPROM Loading Allowed 9

HarveyFIELDS iCDR – Flight Software Timing Interrupts –256 Interrupts/ DCB Cycle (293 Hz) –Distributes CPU Time per Table –Basic ¼ second table repeats 4 times/DCB cycle CMD gets 32 Hz* DFB gets 4 Hz*, etc. 10

HarveyFIELDS iCDR – Flight Software Data Collection –DMA Channels are Assigned to Each Data Source –Based upon options, FSW determines data rate and length –FSW Writes Destination Addresses into Each DMA Controller –DMA Registers are Double-Buffered to Eliminate Gaps –DMA Buffers Automatically Swap in Sync with DCB cycle TDS & DFB Buffers Swap at ¼ DCB Cycle MAG Swaps at 1 DCB Cycle 11

HarveyFIELDS iCDR – Flight Software Data Flow 12

HarveyFIELDS iCDR – Flight Software Data Flow Expected Real- Time and Archive Archive Data: SSR Cap: 275 Gb Est Usage: 27% Write Period  Min: 2.74 sec  Typ: 29.1 sec 13

HarveyFIELDS iCDR – Flight Software EEPROM 14

HarveyFIELDS iCDR – Flight Software SRAM (CPU) 15

HarveyFIELDS iCDR – Flight Software SRAM (RFS) 16

HarveyFIELDS iCDR – Flight Software MEMORY RESOURCES 17

HarveyFIELDS iCDR – Flight Software S/C Interface Command/Timing Information Commands Use Kbaud Async messaging DMA channel input to 2 x 2048 byte buffers S/C Inter-command gap of 100 msec DMA Automatically switches buffers at 100 ms gap FSW verifies FPGA transfer status (framing, parity, buffer overflow) FSW verifies ITF format prior to decoding/using commands FSW must initiate Safe Mode if S/C Requests it FSW must tolerate gaps in Time Updates 18

HarveyFIELDS iCDR – Flight Software S/C Interface Telemetry Information Telemetry Uses Kbaud Async messaging CCSDS packets (1 or more) packed into Instrument Transfer Frames (ITF) Critical Housekeeping Messages at 1Hz in the first ITF of the second Telemetry Must Complete with 10ms margin to next S/C 1PPS Telemetry will be multiplexed into 2x8192 byte DMA buffers Telemetry Wrappers applied In Situ Data Compression of Selected APID’s in Survey and Archive buffers Telemetry Rate control to approximately 240 kbps 19

HarveyFIELDS iCDR – Flight Software Telemetry Timing 20 Playback Mode Enabled

HarveyFIELDS iCDR – Flight Software Survey (Real-Time) Data 21 RT Data Management

HarveyFIELDS iCDR – Flight Software Archive Data Archive Data Recording FLASH Hardware 32 GB Capacity EDAC Enabled Write/Read DMA-Channel to/from SRAM Block Addressable 2^17 256KB Blocks Each Block has 8K extra bytes –Bad-Block-Indicator (8-bits) –Erase Count (24-bits) –MET Time (32-bits) –EDAC Each 8 GB module Powered Separately FSW Functions Stores/Retrieves Archive Science Blocks (32 4K packets) Circular Memory with Separate Read & Write Pointers Memory mapping at the Chip Level (256 elements = 256 chips) Playback Commanded by Block# and Length Both Read/Write Block pointers Telemetered Ground S/W keeps MET-to-Block# relationship 22

HarveyFIELDS iCDR – Flight Software Archive Data Archive Write/Read Buffer Management 23

HarveyFIELDS iCDR – Flight Software Archive Data Archive Playback Selection 24

HarveyFIELDS iCDR – Flight Software Archive Data 25 Archive Virtual-to-Physical Mapping

HarveyFIELDS iCDR – Flight Software Archive Mgt 26 Archive Marking with Time, Write Count, Bad Block Status

HarveyFIELDS iCDR – Flight Software FLASH Timing 27

HarveyFIELDS iCDR – Flight Software FLASH Logic Read/Write/Diag Decision State D0 28

HarveyFIELDS iCDR – Flight Software FLASH Logic Read Logic States with Error Handling 29

HarveyFIELDS iCDR – Flight Software FLASH Logic Write Logic State W1 with Error Handling 30

HarveyFIELDS iCDR – Flight Software FLASH Logic Write Logic State W2 with Error Handling 31

HarveyFIELDS iCDR – Flight Software Compression Selected packet is compressed using 16-bit Delta-Modulator v2 Each waveform cut into 32-sample blocks Result is 1 raw 16-bit sample, 31 deltas The Width of the deltas is determined and the deltas are packed up Packet compression time shown below for varying widths Used for MAG & TDS data Measured on RBSP (Z80): –[w=15]: 620 kbps –[w= 1] : 97 kbps 32

HarveyFIELDS iCDR – Flight Software Compression In Situ Packet Compression (Survey and Archive) 33

HarveyFIELDS iCDR – Flight Software Processor Utilization Utilization Measurements from DCB ETU#2 Scaled to FIELDS rates and adjusted for CPU Frequency FIELDS DCB runs at 19.2 MHz instead of 16 MHz TDS & RFS processing only estimated. 34

HarveyFIELDS iCDR – Flight Software Issues Issues ? We have no stinkin’ issues! 35