Search NASA⌕ Search

SEARCH · Search NASA

Results for “Unit testing”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 199 records · Page 11

Integration of an Arm Kinematics Hot Patch onboard the Curiosity Rover

NASA's Mars Science Laboratory (MSL) mission has updated the Curiosity rover's flight software multiple times since landing on Mars on August 6, 2012. The most common patching method has been a hot patch, in which running flight software is modified after being copied into RAM from its persistent storage. The latest hot patch to be installed on Curiosity fixed an issue in the robotic arm software that computes generalized inverse kinematics. Additional unit testing performed since the start of the surface mission revealed that this software can sometimes produce erroneous solutions.The cause was identified as numerical instability in a quartic root finder. When the inputs to that solver are not well conditioned, floating-point numerical issuescan cause erroneous roots to be reported. In theory, this could result in the robotic arm turret instruments being commanded to unintended positions, for example, below the terrain surface. Out of approximately 3.7 million unit test cases, 97.2\% of the position errors were below 5 mm. However, there were 16 test cases where theposition error was greater than 20 cm, and the maximum position error was 1.2 meters.The patch was uploaded to Curiosity on sol 2642 (January 11, 2020) after the solution was developed, re-implemented as a hot patch, and validated and verified using Earth-based Curiosity testbeds. A checkout test of the patch was performed on Curiosity on sol 2657, and nominal use of the patch began on sol 2658. In this paper, we describe the steps that led to integrating the arm kinematic hot patch into Curiosity's flight software, from the discovery of the bug to the nominal use of the patch in flight.

Maimone, Mark↗

Autonomous Navigation of a Lunar Relay Using GNSS and Other Measurements

Many of the highest priority destinations at the Moon lack a continuous view of Earth, such as the lunar poles or lunar far side. Exploration of these sites will require spacecraft in cislunar space to relay communications and provide position, navigation, and timing (PNT) services. Accurate knowledge of relay position, velocity, and time is essential to these services. This paper describes a concept for a PNT Instrument being developed for the Lunar Communications Relay and Navigation Systems (LCRNS) Project. The instrument is intended as a payload that would enable autonomous, on-board, real-time navigation and timing using Global Navigation Satellite System (GNSS), optical navigation, and one-way measurements from Earth-based ground stations. Hardware-in-the-loop simulations using flight software are used to realistically characterize performance on hardware platforms with a path to flight. These results provide preliminary validation of the proposed PNT Instrument, demonstrate the benefits of augmenting GNSS with other measurements, and serve as an insightful reference for the design of future lunar missions, including those that will operate within the LunaNet framework of standards. This instrument concept relies on several technologies developed at NASA Goddard Space Flight Center (GSFC). For GNSS observables, the instrument relies on the high-altitude NavCube 3 mini (NC3m) GNSS receiver specifically designed for cislunar applications. The autoNGC system, which consists of flight software and a hardware platform, is responsible for fusing the observables using its extended Kalman filter, the Goddard Enhanced Onboard Navigation System (GEONS). Optical navigation observables are processed within autoNGC (“autonomous Navigation, Guidance, and Control”) using the Goddard Image Analysis & Navigation Tool (GIANT) which is also responsible for simulating high-fidelity images for test and analysis. In addition to describing the PNT Instrument and its components, the paper will present predicted performance based on simulation results. As a baseline, it will present GNSS-only hardware-in-the loop results using a NC3m test unit to process Spirent-simulated GPS signals in a potential lunar relay trajectory: a 12-hour elliptical frozen lunar orbit (ELFO). GEONS then processes the GPS pseudorange and time differenced carrier phase measurements to estimate and propagate the relay state (position, velocity, and time). These results extend previously published work that showed preliminary ELFO performance. Previous work has shown the importance of other measurement types, so additional simulations are performed which augment GNSS with ground station observables and several methods of optical navigation, including celestial navigation, limb-finding (e.g., observations of the lunar horizon), and terrain relative navigation (TRN). TRN involves correlating simulated predicted images of the lunar surface with actual imagery; misalignments of landmarks identified in each image are translated into relay state updates. TRN is valuable as a measurement of the relay’s state relative to the Moon, especially during GNSS outages or after maneuvers. One-way Pseudorange and Doppler measurements from Earth-based ground stations are also simulated. The full set of observables is processed using autoNGC. These simulations make use of autoNGC and NC3m test units, a lab atomic clock, and a pulse-per-second (PPS) generation and distribution system. This combination of subsystems, and the hardware platforms used in this analysis, represents a PNT Instrument that could be flown on a lunar relay. Results from the hardware-in-the-loop simulations presented in this paper provide a preliminary assessment of the achievable navigation performance of this instrument concept. PNT Instrument performance is compared to the GPS-only performance, and a discussion is provided on the apparent merits and challenges of each measurement type.

Ben Ashman↗

SICS: A Sensor-Based In-Line Control System for the Surfaces of Continuously Cast Slabs

The goal of this project was to develop and demonstrate a SICS test unit that meet the need of the steel industry for enhancing the continuous casting process for improved surface quality for the targeted benefits and that is composed of an In-line Imaging Module and a Hybrid Predictive Control Module. The In-line Imaging Module provides the real-time or near real-time Product Information to the Hybrid Predictive Control Module. The latter is able to fuse the Product Information with the Process Information. In order to support the goal, this project had the technical objectives for indexes such as inspection accuracy and in-line service life, based on the inspection coverage of the entire cast slab. The deployment of the SICS systems has the potential to provide benefits in reduction of energy waste, CO 2 emission, waste water amount, toxic waste, and so forth. It will help to uphold the competitiveness of the industry that employs approximately 150,000 people nationwide and consumes about 3% of the energy in the country. The Phase II project has been carried out in accordance to the proposed tasks and budget, based on the original and extended schedule. The R&D team designed and implemented the test unit for the full width coverage, installed the unit in a caster. The development work further included enhanced image processing, in-depth defect study and process control models. The function, operation, and maintenance of the SICS was thoroughly studied during the Phase II research. The experience indicates additional hardware and procedures are required to make the SICS a commercially ready product in operation and maintenance aspect. Such developments have been finished and the team is contacting potential customers for the first commercial installation of SICS. Additionally, OGT is exploring the possibility to team up with a US company that specializes in surface cleaning for slabs/blooms/billets such that the in-line surface inspection can be integrated with in-line surface clean up for the maximum benefit to the steel industry.

32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATI↗

Processing Aleatory and Epistemic Uncertainties in Experimental Data From Sparse Replicate Tests of Stochastic Systems for Real-Space Model Validation

This paper presents a practical methodology for propagating and processing uncertainties associated with random measurement and estimation errors (that vary from test-to-test) and systematic measurement and estimation errors (uncertain but similar from test-to-test) in inputs and outputs of replicate tests to characterize response variability of stochastically varying test units. Also treated are test condition control variability from test-to-test and sampling uncertainty due to limited numbers of replicate tests. These aleatory variabilities and epistemic uncertainties result in uncertainty on computed statistics of output response quantities. The methodology was developed in the context of processing experimental data for “real-space” (RS) model validation comparisons against model-predicted statistics and uncertainty thereof. The methodology is flexible and sufficient for many types of experimental and data uncertainty, offering the most extensive data uncertainty quantification (UQ) treatment of any model validation method the authors are aware of. It handles both interval and probabilistic uncertainty descriptions and can be performed with relatively little computational cost through use of simple and effective dimension- and order-adaptive polynomial response surfaces in a Monte Carlo (MC) uncertainty propagation approach. A key feature of the progressively upgraded response surfaces is that they enable estimation of propagation error contributed by the surrogate model. Sensitivity analysis of the relative contributions of the various uncertainty sources to the total uncertainty of statistical estimates is also presented. Finally, the methodologies are demonstrated on real experimental validation data involving all the mentioned sources and types of error and uncertainty in five replicate tests of pressure vessels heated and pressurized to failure. Simple spreadsheet procedures are used for all processing operations.

97 MATHEMATICS AND COMPUTING↗

Who watches the watchers?: preventing fault in a fault tolerance library

The Scalable Checkpoint/Restart library (SCR) was developed and is used by researchers at Lawrence Livermore National Laboratory to provide a fast and efficient method of saving and recovering large applications during runtime on high-performance computing (HPC) systems. Though SCR protects other programs, up until June 2017, nothing was actively protecting SCR. The goal of this project was to automate the building and testing of this library on the varying HPC architectures on which it is used. Our methods centered around the use of a continuous integration tool called Bamboo that allowed for automation agents to be installed on the HPC systems themselves. These agents provided a way for us to establish a new and unique way to automate and customize the allocation of resources and running of tests with CMake’s unit testing framework, CTest, as well as integration testing scripts though an HPC package manager called Spack. These methods provided a parallel environment in which to test the more complex features of SCR. As a result, SCR is now automatically built and tested on several HPC architectures any time changes are made by developers to the library’s source code. The results of these tests are then communicated back to the developers for immediate feedback, allowing them to fix functionality of SCR that may have broken. Hours of developers’ time are now being saved from the tedious process of manually testing and debugging, which saves money and allows the SCR project team to focus their efforts towards development. Thus, HPC system users can use SCR in conjunction with their own applications to efficiently and effectively checkpoint and restart as needed with the assurance that SCR itself is functioning properly.

97 MATHEMATICS AND COMPUTING↗

Ultrasonics

Ultrasonic testing is discussed as a primary means of nondestructive evaluation of subsurface flaws. The advantages and disadvantages are listed. The elementary principles, basic components of test units, scan modes, resonance testing, detection of fatigue cracks, monitoring fatigue crack growth, and determination of residual stress are discussed.

Leonard, B. E.↗

Automated unit-level testing with heuristic rules

Software testing plays a significant role in the development of complex software systems. Current testing methods generally require significant effort to generate meaningful test cases. The QUEST/Ada system is a prototype system designed using CLIPS to experiment with expert system based test case generation. The prototype is designed to test for condition coverage, and attempts to generate test cases to cover all feasible branches contained in an Ada program. This paper reports on heuristics sued by the system. These heuristics vary according to the amount of knowledge obtained by preprocessing and execution of the boolean conditions in the program.

Carlisle, W. Homer↗

Multi-level Simulation of a Real Time Vibration Monitoring System Component

This paper describes the development of a custom built Digital Signal Processing (DSP) printed circuit board designed to implement the Advanced Real Time Vibration Monitoring Subsystem proposed by MSFC Transportation Directorate in 2000 for the Space Shuttle Main Engine Advanced Health Management System (AHMS). This Real Time Vibration Monitoring System (RTVMS) is being developed for ground use as part of the AHMS Health Management Computer-Integrated Rack Assembly (HMC-IRA). The HMC-IRA RTVMS design contains five DSPs which are highly interconnected through individual communication ports, shared memory, and a unique communication router that allows all the DSPs to receive digitized data from two multi-channel analog boards simultaneously. This paper will briefly cover the overall board design but will focus primarily on the state-of-the-art simulation environment within which this board was developed. This 16-layer board with over 1800 components and an additional mezzanine card has been an extremely challenging design. Utilization of a Mentor Graphics simulation environment provided the unique board and system level simulation capability to ascertain any timing or functional concerns before production. By combining VHDL, Synopsys Software and Hardware Models, and the Mentor Design Capture Environment, multiple simulations were developed to verify the RTVMS design. This multi-level simulation allowed the designers to achieve complete operability without error the first time the RTVMS printed circuit board was powered. The HMCIRA design has completed all engineering unit testing and the deliverable unit is currently under development.

Roberston, Bryan↗

Validation of Methodology to Simulate Gamma Doses from Historical Weapons Tests

The United States tested nuclear weapons in the atmosphere (aboveground) from 1945 until 1963, when the nation became a signatory to the Partial Test Ban Treaty. During those tests, gamma doses were often measured within kilometers of the point of detonation. Additional gamma dose measurements were made in and around the location of any personnel conducting the test, possibly with personal dosimeters. These gamma dose measurements have been declassified to provide the personnel involved with an estimate of the total dose they received while involved with the aboveground testing program. Several years ago, interest in these gamma doses was renewed by organizations that would need to provide the public with dose estimates in the event of a radiological or nuclear weapon terrorist attack on the United States. This work provides an initial validation of the computational methods used to simulate dose from a radiological or nuclear weapon. This initial work will focus on dose from gamma rays. The sources of gamma rays from a nuclear weapon include prompt fission gammas, gammas generated via neutron interactions (capture, inelastic scattering, and activation), and gammas produced by the decay of fission products. All of these gamma ray sources for a nuclear weapon are also potential sources of gammas from a radiological weapon. However, the sources of gamma rays from a radiological weapon depend on the material present in the device, and prompt fission gammas will mostly come from spontaneous fission instead of induced fission. This paper focuses on validation using gamma ray dose measurements from nuclear detonations, which is adequate to validate the requisite transport methodologies, source term generation, and cross sections needed to model gamma doses delivered by most radiological weapons. The 1961 report on Operation Plumbbob provides an overview of how the total gamma dose delivered by a nuclear weapon is broken down by the different sources specified above. The prompt fission gamma rays contribute about 5% of the total gamma dose. The gamma rays produced by neutron interactions usually deliver the largest portion of the total gamma dose, which is typically between 55% and 85% of the total. The remainder of the total gamma ray dose is attributed to decay of fission products.

61 RADIATION PROTECTION AND DOSIMETRY↗

Evaluation of a Combined Cyclone and Gas Filtration System for Particulate Removal in the Gasification Process

The Wabash gasification facility, owned and operated by sgSolutions LLC, is one of the largest single train solid fuel gasification facilities in the world capable of transforming 2,000 tons per day of petroleum coke or 2,600 tons per day of bituminous coal into synthetic gas for electrical power generation. The Wabash plant utilizes Phillips66 proprietary E-Gas™ Gasification Process to convert solid fuels such as petroleum coke or coal into synthetic gas that is fed to a combined cycle combustion turbine power generation facility. During plant startup in 1995, reliability issues were realized in the gas filtration portion of the gasification process. To address these issues, a slipstream test unit was constructed at the Wabash facility to test various filter designs, materials and process conditions for potential reliability improvement. The char filtration slipstream unit provided a way of testing new materials, maintenance procedures, and process changes without the risk of stopping commercial production in the facility. It also greatly reduced maintenance expenditures associated with full scale testing in the commercial plant. This char filtration slipstream unit was installed with assistance from the United States Department of Energy (built under DOE Contract No. DE-FC26-97FT34158) and began initial testing in November of 1997. It has proven to be extremely beneficial in the advancement of the E-Gas™ char removal technology by accurately predicting filter behavior and potential failure mechanisms that would occur in the commercial process. After completing four (4) years of testing various filter types and configurations on numerous gasification feed stocks, a decision was made to investigate the economic and reliability effects of using a particulate removal gas cyclone upstream of the current gas filtration unit. A paper study had indicated that there was a real potential to lower both installed capital and operating costs by implementing a char cyclone-filtration hybrid unit in the E-Gas™ gasification process. These reductions would help to keep the E-Gas™ technology competitive among other coal-fired power generation technologies. The Wabash combined cyclone and gas filtration slipstream test program was developed to provide design information, equipment specification and process control parameters of a hybrid cyclone and candle filter particulate removal system in the E-Gas™ gasification process that would provide the optimum performance and reliability for future commercial use. The test program objectives were as follows: 1. Evaluate the use of various cyclone materials of construction; 2. Establish the optimal cyclone efficiency that provides stable long term gas filter operation; 3. Determine the particle size distribution of the char separated by both the cyclone and candle filters. This will provide insight into cyclone efficiency and potential future plant design; 4. Determine the optimum filter media size requirements for the cyclone-filtration hybrid unit; 5. Determine the appropriate char transfer rates for both the cyclone and filtration portions of the hybrid unit; 6. Develop operating procedures for the cyclone-filtration hybrid unit; and, 7. Compare the installed capital cost of a scaled-up commercial cyclone-filtration hybrid unit to the current gas filtration design without a cyclone unit, such as currently exists at the Wabash facility.

01 COAL, LIGNITE, AND PEAT↗

Thermal Model Predictions of Advanced Stirling Radioisotope Generator Performance

This paper presents recent thermal model results of the Advanced Stirling Radioisotope Generator (ASRG). The three-dimensional (3D) ASRG thermal power model was built using the Thermal Desktop(trademark) thermal analyzer. The model was correlated with ASRG engineering unit test data and ASRG flight unit predictions from Lockheed Martin's (LM's) I-deas(trademark) TMG thermal model. The auxiliary cooling system (ACS) of the ASRG is also included in the ASRG thermal model. The ACS is designed to remove waste heat from the ASRG so that it can be used to heat spacecraft components. The performance of the ACS is reported under nominal conditions and during a Venus flyby scenario. The results for the nominal case are validated with data from Lockheed Martin. Transient thermal analysis results of ASRG for a Venus flyby with a representative trajectory are also presented. In addition, model results of an ASRG mounted on a Cassini-like spacecraft with a sunshade are presented to show a way to mitigate the high temperatures of a Venus flyby. It was predicted that the sunshade can lower the temperature of the ASRG alternator by 20 C for the representative Venus flyby trajectory. The 3D model also was modified to predict generator performance after a single Advanced Stirling Convertor failure. The geometry of the Microtherm HT insulation block on the outboard side was modified to match deformation and shrinkage observed during testing of a prototypic ASRG test fixture by LM. Test conditions and test data were used to correlate the model by adjusting the thermal conductivity of the deformed insulation to match the post-heat-dump steady state temperatures. Results for these conditions showed that the performance of the still-functioning inboard ACS was unaffected.

radioisotope power system↗

Named Data Networking for DER Cybersecurity

We present our research findings on the novel NDN protocol. In this work, we defined key attack scenarios for possible exploitation and detail software security testing procedures to evaluate the security of the NDN software. This work was done in the context of distributed energy resources (DER). The software security testing included an execution of unit tests and static code analyses to better understand the software rigor and the security that has been implemented. The results from the penetration testing are presented. Recommendations are discussed to provide additional defense for secure end-to-end NDN communications.

97 MATHEMATICS AND COMPUTING↗

Software Testing and Verification in Climate Model Development

Over the past 30 years most climate models have grown from relatively simple representations of a few atmospheric processes to a complex multi-disciplinary system. Computer infrastructure over that period has gone from punch card mainframes to modem parallel clusters. Model implementations have become complex, brittle, and increasingly difficult to extend and maintain. Existing verification processes for model implementations rely almost exclusively upon some combination of detailed analysis of output from full climate simulations and system-level regression tests. In additional to being quite costly in terms of developer time and computing resources, these testing methodologies are limited in terms of the types of defects that can be detected, isolated and diagnosed. Mitigating these weaknesses of coarse-grained testing with finer-grained "unit" tests has been perceived as cumbersome and counter-productive. In the commercial software sector, recent advances in tools and methodology have led to a renaissance for systematic fine-grained testing. We discuss the availability of analogous tools for scientific software and examine benefits that similar testing methodologies could bring to climate modeling software. We describe the unique challenges faced when testing complex numerical algorithms and suggest techniques to minimize and/or eliminate the difficulties.

Clune, Thomas L.↗

Addressing EO-1 Spacecraft Pulsed Plasma Thruster EMI Concerns

The Pulsed Plasma Thruster (PPT) Experiment on the Earth Observing One (EO-1) spacecraft has been designed to demonstrate the capability of a new generation PPT to perform spacecraft attitude control. Results from PPT unit level radiated electromagnetic interference (EMI) tests led to concerns about potential interference problems with other spacecraft subsystems. Initial plans to address these concerns included firing the PPT at the spacecraft level both in atmosphere, with special ground support equipment. and in vacuum. During the spacecraft level tests, additional concerns where raised about potential harm to the Advanced Land Imager (ALI). The inadequacy of standard radiated emission test protocol to address pulsed electromagnetic discharges and the lack of resources required to perform compatibility tests between the PPT and an ALI test unit led to changes in the spacecraft level validation plan. An EMI shield box for the PPT was constructed and validated for spacecraft level ambient testing. Spacecraft level vacuum tests of the PPT were deleted. Implementation of the shield box allowed for successful spacecraft level testing of the PPT while eliminating any risk to the ALI. The ALI demonstration will precede the PPT demonstration to eliminate any possible risk of damage of ALI from PPT operation.

Zakrzwski, C. M.↗

Overview of the Development and Testing of the Heatshield for Extreme Entry Environment Technology (HEEET) TPS

Over the last 5 years, the Heatshield for Extreme Entry Environment Technology (HEEET) project has been working to mature a 3-D Woven Thermal Protection System (TPS) to Technical Readiness Level (TRL) 6 to support future NASA missions to destinations such as Venus and Saturn. A key aspect of the project has been the development of the manufacturing and integration processes/procedures necessary to build a heat shield utilizing the HEEET 3D-woven material. This has culminated in the building of a 1-meter diameter Engineering Test Unit (ETU) representative of what would be used for a Saturn probe. The present talk provides an overview of recent testing of NASA's Heatshield for Extreme Entry Environment Technology (HEEET) 3D Woven TPS. Under the current program, the ETU has been subjected to Thermal and Mechanical loads typical of deep space mission to Saturn. Thermal testing of HEEET coupons has performance up to 4,500 watts per centimeter squared at 5 atmospheres stagnation pressure and successful shear performance up to 3000 pascals at 1,650 watts per centimeter squared at 2.6 atmospheres pressure.

HEEET↗