LabVIEW and the PXI platform from National Instruments have been used to help develop earth observation cameras that can stream live footage from the International Space Station (ISS).
Rutherford Appleton Laboratory (RAL) is a department at the Science and Technology Facilities Council (STFC) focused on space research and technology development. They have been involved in more than 200 space missions and have a reputation for designing, building and testing satellite instrumentation.
RAL developed and tested two cameras that will stream unprecedented images and video footage of planet Earth from space. The cameras are bolted to a prepared rig on the ISS which orbits the Earth at an altitude of 400km. The cameras will capture video and imagery below the station’s orbit, where approximately 90% of the world’s population live. The objective is to give everyone the chance to see, in near real time, an astronaut’s view of our planet by broadcasting the footage via a commercial website. This view of Earth may aid applications as diverse as disaster relief or monitoring deforestation.
Using LabVIEW and the NI PXI platform to develop and test the cameras, FlexRIO FPGA technology provided the means to retrieve and reconstruct image data in real time from sensors inside the cameras.
The HRC electronics output the raw video data over a bespoke parallel data interface, with a total data rate of more than 800Mbps. The Electrical Ground Support Equipment (EGSE) system needed to be capable of capturing and recording this raw data stream so that engineers could later analyse the images.
The data from the camera is presented as a set of parallel differential pairs containing the pixel data and additional flags to indicate the beginning and end of lines within the image.
A PXIe-7966R FPGA module, combined with an NI 6585 adapter module, captures data. The LabVIEW FPGA Module was used to process some of the incoming data stream in real time. The FPGA code looked at flags within the data that delimit where image frames start and end, and was able to split the continuous stream into individual images and discard the meaningless data in between. All valid pixel values are placed into memory [a DMA first-in first-out memory buffer (FIFO)] and transferred over the backplane of a PXIe-1082 chassis to the host virtual instrument (VI) running on a PXIe-8133 embedded controller. A second FIFO reports to the host VI the number of valid pixels contained in each image.
The host VI retrieves each set of image data from the DMA FIFO and saves it to an NI 8260 high speed data storage module (solid-state drive). The host VI also displays a graphical user interface so that the user can specify file paths and select whether or not to save the complete raw data stream or have valid images separated into individual files. This proved beneficial during testing, as engineers could simply command the EGSE system to capture a single frame, as opposedto recording a section of the data stream and manually extracting the individual image later. The core functionality, such as file path selection, was very quickly implemented in LabVIEW so that RAL could focus its efforts on specific application challenges.
RAL used the LabVIEW Vision Development Module to implement features such as debayering and displaying the image data in real time, which gave a very quick visual confirmation that the hardware was operating correctly.
Having invested in other PXI modular instruments, RAL quickly found situations where problems could be solved, for example, the camera included a printed circuit board (PCB) that crossed over signals between multiple connectors. This design needed to be qualified by putting the box through dozens of thermal cycles and monitoring signal connectivity on the PCB. Using LabVIEW with a PXI digital multimeter and PXI switch module, RAL were able to quickly automate this process so that it could test connectivity throughout the qualification process, instead of manually, at the end.
The combination of LabVIEW software with FlexRIO FPGA technology provided the throughput capability needed from test hardware to capture the image envelopes at the required rates and enabled RAL to process what to keep and discard in real time. By adopting the NI platform, RAL were able to undertake technology test development work more rapidly than if it were to build bespoke validation and verification test equipment. RAL were also able to adapt to changing requirements quickly and to accommodate what was to be tested, and more.
It is important that RAL kept to the scheduled launch date for the space mission and ensured that the camera technology was available to commercial partners on time. RAL completed camera development for this programme in only two years and the NI platform helped the engineering team reduce time and effort in delivering the results.