LADEE Flight Software: Models to Flight

Slides:



Advertisements
Similar presentations
1 LADEE FSW Utilization of Lunar Laser Communication Bandwidth Douglas Forman Millennium Engineering and Integration Company (MEI) LADEE FSW Payload I/F.
Advertisements

The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Systems Analysis, Prototyping and Iteration Systems Analysis.
CS 325: Software Engineering January 13, 2015 Introduction Defining Software Engineering SWE vs. CS Software Life-Cycle Software Processes Waterfall Process.
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
Alternate Software Development Methodologies
LADEE Simulation for Mission Operations Nathaniel Benz Millennium Integration and Engineering Co.
MotoHawk Training Model-Based Design of Embedded Systems.
1 EDAC Concerns for Flight Software and Hardware Design Craig Pires LADEE C&DH Lead NASA-Ames Research Center Moffett Field, CA Scott.
Computer Engineering 203 R Smith Requirements Management 6/ Requirements IEEE Standard Glossary A condition or capability needed by a user to solve.
Fundamentals of Information Systems, Second Edition
GLAST LAT Project ISOC Peer Review - March 2, 2004 Document: LAT-PR Section 2.3 Verification and Validation 1 Gamma-ray Large Area Space Telescope.
Simulating A Satellite CSGC Mission Operations Team Cameron HatcherJames Burkert Brandon BobianAleks Jarosz.
Software System Integration
Page - 1 Rocketdyne Propulsion & Power Role of EASY5 in Integrated Product Development Frank Gombos Boeing Canoga Park, CA.
Introduction to Computer Technology
The Pursuit for Efficient S/C Design The Stanford Small Sat Challenge: –Learn system engineering processes –Design, build, test, and fly a CubeSat project.
The Software Development Life Cycle: An Overview
Extreme Programming Software Development Written by Sanjay Kumar.
PHASE 4 SYSTEMS IMPLEMENTATION Application Development SYSTEMS ANALYSIS & DESIGN.
1 CMPT 275 Software Engineering Software life cycle.
Chapter 2 The process Process, Methods, and Tools
NASA’s Goddard Space Flight Center LRO Integration and Test Joanne Baker GSFC Code 568 August 16-17, 2005.
1 Reconfigurable Environment For Analysis and Test of Software Systems (REATSS) Dan McCaugherty /19/2004.
Software Testing.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Common PDR Problems ACES Presentation T. Gregory Guzik March 6, 2003.
DCS Overview MCS/DCS Technical Interchange Meeting August, 2000.
1 ISA&D7‏/8‏/ ISA&D7‏/8‏/2013 Systems Development Life Cycle Phases and Activities in the SDLC Variations of the SDLC models.
Command and Data Handling (C&DH)
STEREO - Solar Terrestrial Relations Observatory Mission STEREO STEREO Science Team Meeting May 2, 2005 Presented by Edward Reynolds APL STEREO Project.
1 Description and Benefits of JWST Commanding Operations Concept TIPS/JIM Meeting 17 July 2003 Vicki Balzano.
.1 RESEARCH & TECHNOLOGY DEVELOPMENT CENTER SYSTEM AND INFORMATION SCIENCES JHU/MIT Proprietary Titan MESSENGER Autonomy Experiment.
Common Avionics & Software Technologies (CAST)
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
NASA/Air Force Cost Model presented by Keith Smith Science Applications International Corporation 2002 SCEA National Conference June
The Software Development Process
Overview of SOIS Electronic Data Sheets (EDS) & Dictionary of Terms (DoT) SOIS APP WG Fall 2012.
Software Engineering Lecture # 1.
Click to add text Systems Analysis, Prototyping and Iteration.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Aquarius Mission Simulation A realistic simulation is essential for mission readiness preparations This requires the ability to produce realistic data,
Final Version Kequan Luu May 13-17, 2002 Micro-Arcsecond Imaging Mission, Pathfinder (MAXIM-PF) Flight Software.
Overview of RUP Lunch and Learn. Overview of RUP © 2008 Cardinal Solutions Group 2 Welcome  Introductions  What is your experience with RUP  What is.
Smart Home Technologies
GLAST LAT Project LAT System Engineering 1 GLAST Large Area Telescope: LAT System Engineering Pat Hascall SLAC System Engineering Manager
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Test Suites (Backup) Stanford Linear Accelerator Center Gamma-ray Large Area Space Telescope.
1 Mars Exploration Rovers Spirit SOL-18 Anomaly: NASA IV&V Involvement April 2004.
Tracing the JWST Proposal from User Interface to Commanding of an Instrument Margaret Meixner & WIT Balzano, Robinson & CMD.
SAS_05_Contingency_Lutz_Tal1 Contingency Software in Autonomous Systems Robyn Lutz, JPL/Caltech & ISU Doron Tal, USRA at NASA Ames Ann Patterson-Hine,
CS3320-Chap21 Office Hours TR 1:00-2:15 PM W 2:30-3:30 PM By appointment.
Lectures 2 & 3: Software Process Models Neelam Gupta.
Welcome to Software Project Management. CONVENTIONAL SOFTWARE MANAGEMENT The BEST and WORST thing about software is its flexibility. 1.Software development.
SwCDR (Peer) Review 1 UCB MAVEN Particles and Fields Flight Software Critical Design Review Peter R. Harvey.
Skills and products portfolio an overview Lorenzo Martinelli – Business Development Contact:
Software Development. The Software Life Cycle Encompasses all activities from initial analysis until obsolescence Analysis of problem or request Analysis.
Software Development.
Adopting the Python language for On-board Programmable Payload Autonomy Steven Doran 2016 Flight Software Workshop 12/14/2016.
Simulink Interface Layer (SIL)
Managing the Project Lifecycle
GLAST Large Area Telescope:
Integrating CCSDS Electronic Data Sheets into Flight Software
Study of Tools for Command and Telemetry Dictionaries
Software System Integration
CubeSat vs. Science Instrument Complexity
Software System Integration
<Your Team # > Your Team Name Here
Presentation transcript:

LADEE Flight Software: Models to Flight Karen Gundy-Burlet, Ph.D. LADEE FSW Lead NASA-Ames Research Center Moffett Field, CA Nathan Benz Greg Limes Peter Berg Mike Logan Howard Cannon Masoud Mansouri-Samani Pat Castle Craig Pires Scott Christa Fritz Renema Eleanor Crane Larry Shackelford (GSFC) Doug Forman Danilo Viazzo

Mission Overview Gene Cernan’s drawings of the lunar sunrise Lunar Atmosphere and Dust Environment Explorer (LADEE) is a NASA mission that will orbit the Moon and its main objective is to characterize the atmosphere and lunar dust environment. Low cost, minimal complexity and rapidly prototyped “common bus” design. Model-Based Software Development Specific objectives are: Determine the global density, composition, and time variability of the lunar atmosphere; Confirm the Apollo astronaut sightings of dust jumps and diffuse emission Laser Communications Demonstration: 622 Mbs Record download rate from the Moon! Gene Cernan’s drawings of the lunar sunrise Clementine spacecraft image of moon dust corona

Outline Review of LADEE Development Process & Software Architecture Some Lessons Learned Model Based Development NPRs/CMMI “Just In Time” organizations Interface Control Documentation Emergent Behavior Current Status

Flight Software Overview Scope Onboard Flight Software (Class B) Support Software and Simulators (Class C) Integration of FSW with avionics Guiding Documents NPR 7150.2 Software Engineering Requirements CMMI Level 2 NASA-STD-8739.8 NASA Software Assurance Standard Development Approach Model Based Development Paradigm (prototyped process using a “Hover Test Vehicle”) 5 Incremental Software Builds, 2 Major Releases, 3 final sub-releases 5.1: Defects found by I&T and 3DOF 5.2: Defects found by Mission Operations Testing 5.3: Final RTS set for Golden Load Leverage Heritage Software GOTS: GSFC OSAL, cFE, cFS, ITOS MOTS: Broad Reach Drivers COTS: , VxWorks, Mathworks Matlab/Simulink & associated toolboxes

Model Based Development Iterate Early and Often Requirements Verification Design/Algorithm Development Flight Software Modeling Heritage Models Analysis Vehicle & Environment Modeling Workstation Simulations (eg. Simulink) Unit Tests Automated Reporting Hand Developed Apps Code Generation Heritage Software Integrated Tests Processor-in-the-Loop Hardware-in-the-Loop Develop Models of FSW, Vehicle, and Environment Automatically generate High-Level Control Software Integrate with hand-written and heritage software. Iterate while increasing fidelity of tests – Workstation Sim (WSIM), Processor-In-The-Loop (PIL), Hardware-in-the-Loop (HIL) Automated self-documenting tests providing traceability to requirements

FSW Architecture OFSW GSFC OSAL, cFE, cFS, ITOS (GOTS) Cmd & Mode Processor Actuator Manager State Estimator Safe Mode Controller Attitude Control System Thermal Control System Power Control System Battery Charge System Simulink Interface Layer Scheduler Stored Commands Memory Manager Memory Dwell Limit Checker House- keeping Memory Scrub Hardware I/O Health & Safety File Manager CCSDS File Delivery Checksum Data Storage Telemetry Output Command Ingest System Support and O/S Services Telemetry FSW Internal FSW External Simulink Task cFS Hand Written KEY Gnd Cmds Hdwr Cmds Sensor Data GSFC OSAL, cFE, cFS, ITOS (GOTS) Broad Reach Drivers (MOTS) Simulink/Matlab, VxWorks (COTS)

The Basic Question Model-Based Development with significant software re-use: - Hype or Help? Advantages: High level control software in the “Native Language” for GN&C developers Allowed development to be highly parallelized Modular design for all applications, Simulink or hand-developed Software developers could prototype autocode/integration process independent of Simulink module development Early Requirements definition led to ability to formalize test infrastructure early in development cycle. Easy to communicate design/algorithms/data flow with stakeholders and other subsystems. Simulink Report generator is an extremely powerful tool for driving verification system. Generated code was generally clean and efficient. Static analysis tool found some defects, which were eliminated through changes in modeling practices.

The Basic Question, cont. Disadvantages: Have to be very careful when patching Simulink applications. Must upload associated parameter table. Cannot change interfaces/buses in flight. Bus changes during development induced significant rework of test harnesses. Personal Experience from a Simulink Newbee: LADEE Propulsion Model Surprisingly fast to model. Amenable to modular development. Think carefully about flow and propagation of signals. Painful to update models/test harnesses. Absolutely needed advice/example models from Simulink expert because of the complexity, range of modeling choices/parameters and their effects on the autocode. Lesson: Model-Based Development is effective when used in a highly disciplined manner. Sloppy development practices lead to bad outcomes, no matter what the language.

NASA Procedural Regulations & Capability Maturity Model Integration My Perspective: Daunting set of rules/regulations/practices that have arisen from lessons learned and bad outcomes from other projects. They are an effective roadmap/checklist that help guide on how to plan and document our solutions to prevent those problems. Strategy: Comply as simply and effectively as possible. Lesson Learned: Safety and Mission Assurance/Independent Reviewers can be a real ally Providing templates and advice about effective practices. Extra experienced eyes during the planning phase leads to fewer process issues and software defects later. Early understanding by SMA/IR of project practices leads to smoother and more effective reviews. When you get to the inevitable time crunch at a critical milestone, it is essential to have practiced, documented processes. Multiple examples in LADEE of schedule being brought in by well-practiced test program

“Just In Time” Organizations Our “final” 2 build cycles (4 & 5) were major deliveries to the spacecraft. We smugly delivered them “Just In Time” to meet I&T schedule needs. I&T picked up both builds and tested extensively with them I&T and the 3DOF testbed identified ICD related defects MOS “Just In Time” schedule not tied to these releases. From a FSW perspective, this delayed discovery of: More defects in EDICD/Fault management logic. Hidden Requirements on the spacecraft simulator model. Our concept of “Test Like You Fly” was not the way MOS actually flew. More importantly, the schedule was not tied to “Golden Load” deadline Milestones for development and certification of MOS RTSs were scheduled for after the need date for inclusion in the “golden load”. Schedule Catch 22: They needed the “golden load” to certify the RTSs for inclusion in the golden load. This put FSW back on the critical path for the spacecraft launch date! Lessons Learned: “Just in Time” philosophy leaves no room for missed schedule dependencies We missed valuable test time of the end-to-end operation of the spacecraft leading to a delay in identifying defects. Some were simply too late too be incorporated in the “golden load”

Interface Control Documentation The primary cause of defect escape into Build 5.x was misunderstood or ambiguous ICDs. Examples: Fuel Tanks (A,B) = FSW (1,2), Ox Tanks (A,B) = FSW (2,1) Star tracker: Interpreted 8Hz operation to mean heads alternately operating at 4 Hz. Instead, they operated synchronously. Reaction Wheels: “Current Limit Flag” was a warning flag, not an error flag. Mitigation: EDICD in computer readable format and read into database, so could quickly reconfigure Ability to upload parameter tables & software patches Best prevention for ICD problems was our “Travelling Roadshow” EDU in a mobile chassis loaded with the FSW Flown to payload sites and integrated with instruments. Lessons Learned: Early integration with payloads/instruments essential to clarifying ICDs. Significant rework possible when one “saves money” by not purchasing instrument engineering development units

Emergent Behavior Prior to one of the orbital phasing maneuvers, the spacecraft went into "safemode” Fault Management took action because it detected an excessive spacecraft rate from the state estimation system.  It was determined that the star tracker caused a jump in the state estimator signal. Two primary factors: The as-built alignment of the star tracker was slightly different than as-designed. Fixed by a table upload. Reduced rate errors but did not eliminate further safemode transitions. The star tracker was exhibiting delays in providing the spacecraft orientation and position when one of the cameras pointed at a "Big Bright Object" (BBO) such as the Sun, Moon or Earth. The behavior continued to worsen the closer we got to the moon. Reworked state estimator model, reran scenarios, re-verified EST Unit Tests, GN&C L4 Requirements & uploaded patch to the spacecraft. Lesson Learned: The defects we had to correct under schedule pressure and duress in I&T and ORTs were excellent repeated practice for polishing our maintenance processes.

Current Status LADEE is currently in orbit around the moon performing science operations. Successful Laser Communications demonstration: 622Mbs downlink rate. Very useful to be able to download a SDRAM partition in less than 2 minutes. Over 2000 hours of flight. Lowest altitude above the moon’s surface so far is 12.1 Km Expected to operate until mid-April when eclipses will occur. LADEE Flight Software Status Team recertified for CMMI level 2 in May 2013 Some minor defects found that we’ve worked around. Table uploads performed (ATS, RTS, FM, Thermal updates & defect reduction) 2 software patches to account for star tracker behavior 1 reboot (still under investigation) LADEE FSW: Enabling a successful mission!