Overview of the SMAP Science Data Manager (SDM) Ed Benowitz SMAP FSW Developer NASA/Jet Propulsion Laboratory Caltech Copyright.

Slides:



Advertisements
Similar presentations
Environmental Application of Remote Sensing: CE 6900 Tennessee Technological University Department of Civil and Environmental Engineering Course Instructor:
Advertisements

Extensibility, Safety and Performance in the SPIN Operating System Presented by Allen Kerr.
CS-334: Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
Lecture Objectives: 1)Explain the limitations of flash memory. 2)Define wear leveling. 3)Define the term IO Transaction 4)Define the terms synchronous.
EEE 435 Principles of Operating Systems Principles and Structure of I/O Software (Modern Operating Systems 5.2 & 5.3) 5/22/20151Dr Alain Beaulieu.
COMP3221: Microprocessors and Embedded Systems Lecture 15: Interrupts I Lecturer: Hui Wu Session 1, 2005.
OS2-1 Chapter 2 Computer System Structures. OS2-2 Outlines Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Abhinav Kamra Computer Science, Columbia University 2.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 2: Computer-System Structures.
CHAPTER 9: Input / Output
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Operating Systems.
Input / Output CS 537 – Introduction to Operating Systems.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
CHAPTER 9: Input / Output
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
CHAPTER 2: COMPUTER-SYSTEM STRUCTURES Computer system operation Computer system operation I/O structure I/O structure Storage structure Storage structure.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 2: Computer-System Structures Computer System Operation I/O Structure.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
1 CSE Department MAITSandeep Tayal Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
2: Computer-System Structures
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Distributed Shared Memory Steve Ko Computer Sciences and Engineering University at Buffalo.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Software Watchdog Steve Mazzoni Stanford Linear Accelerator.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
Author George Peck EVLA Hardware Monitor & Control PDR March 13, MIB FUNCTIONALITY.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Review of Computer System Organization. Computer Startup For a computer to start running when it is first powered up, it needs to execute an initial program.
IT3002 Computer Architecture
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
I/O Software CS 537 – Introduction to Operating Systems.
HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB Flight Software Design Peter Harvey University of California 1.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Chapter 2: Computer-System Structures(Hardware)
Chapter 2: Computer-System Structures
I/O system.
IB Computer Science Topic 2.1.1
Computer-System Architecture
Module 2: Computer-System Structures
Chapter 5: Computer Systems Organization
Components of a CPU AS Computing - F451.
CubeSat vs. Science Instrument Complexity
Soil Moisture Active Passive (SMAP) Satellite
Module 2: Computer-System Structures
Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures
Module 2: Computer-System Structures
COMP3221: Microprocessors and Embedded Systems
Module 2: Computer-System Structures
Presentation transcript:

Overview of the SMAP Science Data Manager (SDM) Ed Benowitz SMAP FSW Developer NASA/Jet Propulsion Laboratory Caltech Copyright 2013 California Institute of Technology. Government sponsorship acknowledged.

2 Soil Moisture Active Passive Mission Introduction SMAP Mission Overview –SMAP Science instruments Science Data Management Design –Data Flow –Hardware View –Storage –Transmission Implementation –Interactions –Flight Software Responsibilities –Lines of Code –Local Fault Protection

3 Soil Moisture Active Passive Mission SMAP Mission Overview 1 SMAP –Soil Moisture Active Passive Provides global measurements of soil moisture These measurements assist with –Understanding of the water, energy, carbon cycles –Improved flood prediction –Drought monitoring –Weather models –Climate prediction models

4 Soil Moisture Active Passive Mission SMAP Movie 1

5 Soil Moisture Active Passive Mission SMAP Instruments 1 Radar (SAR) –Higher spatial resolution but lower soil moisture accuracy Radiometer (RAD) –Higher soil moisture accuracy, but coarse spatial resolution Ground software will process data from the two instruments together –Soil moisture will be retrieved at a spatial resolution of 10 km, and freeze-thaw state at a spatial resolution of 3 km Reflector –Spinning at 14.6 RPM

6 Soil Moisture Active Passive Mission Spacecraft Overall Science Data Flow Command and Data Handling (CDH) SAR RAD CDH X-Band Radio X-Band Radio Ground System Ground System

7 Soil Moisture Active Passive Mission Inside CDH, the Hardware View CDH Flight Computer Board Flight Computer Board NVM Storage Board Non-volatile memory RAM DMA Engine instrument interfaces X-band interfaces X-band interfaces

8 Soil Moisture Active Passive Mission NVM Storage Board NVM RAM Science Data Storage SAR instrument interface SAR FIFO SAR NVM Region SAR NVM Region DMA RAD instrument interface RAD instrument interface RAD FIFO RAD NVM Region RAD NVM Region DMA

9 Soil Moisture Active Passive Mission Science Data Transmission NVM Storage Board NVM RAM Collector FIFO SAR NVM Region SAR NVM Region RAD NVM Region RAD NVM Region X-band interface X-band interface DMA

10 Soil Moisture Active Passive Mission Science Data Interactions Science data is never seen on the flight computer board. –The NVM board stores, buffers, and prepares science data for transmission –The flight software running on the flight computer board orchestrates this by commanding the NVM board Input –An interrupt from the SAR/RAD input fifo indicates that data has arrived –In response to the interrupt, flight software asks hardware to DMA from the SAR/RAD input FIFO to NVM Output –The ground commands a transmit –Flight software asks hardware to DMA from NVM to the collector FIFO –An interrupt from the collector FIFO indicates that it needs more data –In response to the interrupt, flight software asks hardware to DMA from NVM to the collector FIFO –Repeat until there is no more data to send for this comm pass

11 Soil Moisture Active Passive Mission Flight Software Responsibilities Manage simultaneous science data input and transmission –Share usage of limited hardware DMA engines Manage and control DMAs –Flight software keeps track of read, write, and erase addresses within NVM –Software uses these addresses as part of a DMA request Provide an abstraction for science data –Although it is implemented with DMAs, RAM FIFOs, and NVM storage The entire storage appears as a giant fifo in NVM –Do not allow overwrites of old data Keep SAR and RAD science data separate –Each type of science data (SAR/RAD) appears as an individual stream over the transmission –Control hardware registers and counters to identify these streams Overlap transmitted data for ease of ground assembly Provide commanding for transmission and retransmission of data –Prioritize science data (SAR vs RAD) for transmit Provide telemetry Provide fault monitoring and responses

12 Soil Moisture Active Passive Mission Flash File Systems vs SDM 3 NVM storage has special usage. Flash file systems must deal with these issues as well. Typical Flash File System SMAP Science Data Blocks must be erased before being written to Yes Bad blocks must be avoided Yes Random accessYesNo. FIFO access only. Wear levelingYesNot explicitly needed, FIFO spreads out writes.

13 Soil Moisture Active Passive Mission Software Stats and Info Approximately 7K physical lines of code, 3 K logical lines of code, 3K lines of comments SMAP’s statechart autocoder 2 was used for this module Separate files within the module deal with –Science data input –Science data transmission –NVM addressing and abstraction –Inter-process communication

14 Soil Moisture Active Passive Mission Local Fault Protection Monitoring –DMA errors –Input FIFO errors –Collector FIFO errors –X-band radio is unexpectedly not functioning Responses –Empty a fifo –Reset a hardware interface –Abort a transmit command

15 Soil Moisture Active Passive Mission Conclusion Keeping science data within the NVM board allows us to perform high-rate storage and transmission. Flight software orchestrates the simultaneous hardware actions and provides an abstraction for the operations team.

16 Soil Moisture Active Passive Mission References [1] [2] Murray, A.; Jones, C.G.; Reder, L.; Shang-Wen Cheng, "The use of modeling for flight software engineering on SMAP," Aerospace Conference, 2011 IEEE, vol., no., pp.1,19, 5-12 March 2011 [3]