2012 IR&D Annual Report

Adaptation Layer for SpaceWire Plug and Play Protocols, 10-R8216

Principal Investigators
Paul Wood
Carlos Quiroz
Allison Bertrand
Sue Baldor

Inclusive Dates:  04/01/11 – 09/30/12

Background — Two plug and play (PnP) protocol options for SpaceWire (SpW) exist – one defined by the U.S. Air Force Research Laboratory (AFRL) and one developed by the European Space Agency (ESA). The ESA Spacecraft Onboard Interface Services (SOIS) protocol aims to work within the framework of the SpaceWire standard, blending PnP structures into existing SpaceWire features and retaining protocol-level support for legacy devices. The AFRL space plug-and-play architecture (SPA) protocol is geared more towards agility and adaptability to provide generalized support for more kinds of devices and networks (including blended networks of SpaceWire and other protocols). This effort investigated whether a common interface could be developed by using a PnP adaptation layer to interact through both variants of plug and play and a simulated SpaceWire network attached storage (NAS) device as a challenge task. The project was extended to examine feasibility of performing OPNET Modeler simulation that integrated with a SPA implementation.

Approach — The approach was to build a lightweight implementation of various components of the system combined with existing hardware and software so that experiments could be conducted. Using SwRI experience in the first half of the project, researchers performed additional work in merging their understanding of an actual SPA implementation to perform experiments in a combined simulation of the SPA with OPNET. A test bed was assembled using available SwRI resources. The test bed consisted of a SpaceWire network with two routers and Linux computers. An adaptation layer for the PnP capability was defined and implemented. A SPA middleware implementation (Utah State University [USU]) was acquired from AFRL and ported to the physical system. Simulated producer, consumer, and NAS applications were written. The USU SPA was successfully operated using the test bed in both a raw mode and with the adaptation layer in place for the simulated applications. No ESA reference implementation was available; thus, a second SPA implementation was acquired from Broad Reach Engineering (with AFRL support). This implementation proved to be too different in its hardware and software interfaces to be practical to port to the test bed. Researchers analyzed the implementation and determined that, in principle, it should be usable with the adaptation layer. The project was extended to investigate the feasibility of combining an OPNET simulation with an actual SPA implementation. Researchers used the USU SPA V9.1 and verified that a simulation was feasible using OPNET co-simulation and a custom controller program external to OPNET. The external project provided an interconnect between the SPA executables and the OPNET internal model.

Accomplishments — This work showed that an adaptation layer was feasible to add to existing PnP implementations. The addition of the adaptation layer to the USU SPA implementation was straightforward and effective. Researchers built a lightweight NAS along with producer and consumer applications that were connected using the adaptation layer and the USU SPA. The adaptation layer impact on system performance was negligible. A second SPA implementation was analyzed. This implementation was not directly operable on the underlying hardware. It was concluded, however, that this version would have been compatible with the adaptation layer. Also, although no reference implementation of the ESA approach existed, researchers concluded that the adaptation layer concept was workable for that environment as well. Finally, in the project extension, researchers showed feasibility that the SPA could be successfully integrated with OPNET Modeler. The ability to perform software-in-the-loop (SIL) simulation (for example, the SPA) is an enabling factor in performing very high fidelity simulations of SpW networks.

Benefiting government, industry and the public through innovative science and technology
Southwest Research Institute® (SwRI®), headquartered in San Antonio, Texas, is a multidisciplinary, independent, nonprofit, applied engineering and physical sciences research and development organization with 11 technical divisions.
03/19/13