<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Decentralised Avionics and Software Architecture for Sounding Rocket Missions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Manuel Reinhold Hochschule Bremen Bremen</string-name>
          <email>ediekmann@stud.hs-bremen.de</email>
          <email>jasminka.matevska@hs-bremen.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany mreinhold@stud.hs-bremen.de</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Eike-Kristian Diekmann Hochschule Bremen Bremen</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Enrico Noack Airbus Defence and Space GmbH Bremen</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Fig. 1. TEXUS/MAXUS Avionics and Software Architecture</institution>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Jasminka Matevska Hochschule Bremen Bremen</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <abstract>
        <p>- This paper describes our ongoing work in the context of the TEXUS/MAXUS sounding rocket program. Based on analysis of requirements, technologies and tools, we propose a solution to cope with increasing number of software applications and hardware components due to decentralisation of the communication system based on the OPC UA communication standard for distributed services. Our main goal is to provide an efficient avionics and software architecture configuration for both the initial development and the maintenance while assuring consistency and increasing availability and reliability of the system for different experiment and mission scenarios.</p>
      </abstract>
      <kwd-group>
        <kwd />
        <kwd>decentralised avionics and software architecture</kwd>
        <kwd>sounding rockets</kwd>
        <kwd>hardware / software interfaces</kwd>
        <kwd>sensor data</kwd>
        <kwd>experiment control</kwd>
        <kwd>decentralised / distributed services</kwd>
        <kwd>“Industrie 4</kwd>
        <kwd>0”</kwd>
        <kwd>OPC UA</kwd>
        <kwd>configuration</kwd>
        <kwd>monitoring</kwd>
        <kwd>error handling</kwd>
        <kwd>availability</kwd>
        <kwd>and reliability</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>I. INTRODUCTION</p>
      <p>
        Since April 2017, the flight of the MAXUS 9 rocket, a
framework from the „Industrie 4.0“agenda [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is used to
control the spacecraft experiments. This agenda provides a
platform for automation and data exchange in industrial
context. Similar tasks are required for spacecraft operation.
For example, on-board each TEXUS/MAXUS sounding
rocket, a control of three to five experiments is performed. The
responsible scientists from various disciplines and experiment
engineers monitor these experiments. Each experiment has to
be connected to the system and its sensor data has to be
collected in order to establish the appropriate control. That is
why it is obvious that an „Industrie 4.0“platform is a good
candidate as a reference system for spacecraft control [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The
transition to the new system enables features that are very
useful and reasonable, but it is challenging since it requires
new concepts as shown in this paper.
      </p>
      <p>In the conventional TEXUS/MAXUS sounding rocket
system (since December 1977), a purely centralised data
exchange between space and ground was in use. There was no
network connection between the flight and ground computer.
For the data exchange, a proprietary communication protocol
was in use, which required specialised hardware. It was not
possible to operate a single experiment without the specialised
hardware.</p>
      <p>
        The replacement of the proprietary communication with
the standardised Ethernet/IP (Internet Protocol)-based
interface and OPC UA (Open Platform Communications
Unified Architecture) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] enables the operation of an
experiment with just one standard laptop (or PC). The decision
for implementing OPC UA is based on different trade-offs
performed by experts and students documented within the
master thesis [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The reference avionics and software
architecture is presented in Fig. 1.
      </p>
      <p>
        Furthermore, now it is possible to perform the experiment
on various execution platforms such as parabolic flight, drop
tower and even in the laboratory from the scientists
themselves. However, this decentralisation is leading to two
basic challenges [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], and [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>The first challenge arises when the experiment goes on a
campaign on its own. Some of the “home” services must be
also available during this campaign. That can be as well
simple services like DHCP/DNS (Dynamic Host
Configuration Protocol / Domain Name System), NTP
(Network Time Protocol), as also some more sophisticated
services like backup services or telemetry data storage.
Therefore, parts of the services must join the campaign or
must be globally available. Another important point at this
scenario is the consistency of the overall system. The
telemetry data / software produced during the particular
campaign must be re-integrated into the system that stayed at
home.</p>
      <p>The second challenge is the growing number of
computers. Due to distribution of services, the different
functions are deployed on different hardware platforms.
Even the Ground System Equipment has today a separate data
interface. While in the past, only two computers where used
(one on-board and one on ground) to control the experiment,
today more than six computers are common. Three are in use
in the flight system (experiment control, data services, video
services) and three on ground (Ground Support Equipment
with an own data interface, separate control stations for
scientists and engineers). The overall network is hosting today
more than 30 computers, whereby each single is important for
the mission success. We need to keep track of each single
service. Additionally, the system configuration is changing
quickly. Every two years three sounding rockets with different
experiments are launched, each having its own configuration
adapted to the specific scientific needs. The growth of
hardware and software hast to be managed without decreasing
availability and at the same time without increasing the effort
to maintain such a system.</p>
      <p>This paper presents our ongoing work on appropriate
concepts in order to answer these requests.</p>
      <p>II. REQUIREMENTS ON THE REFERENCE ARCHITECTURE</p>
      <p>In order to meet the increased requirements on the ground
system a reference decentralised avionics and software system
architecture is developed. By keeping the effort for
configuration, maintenance and update of the system as low
as possible, we can guarantee a permanent stability and
consistency thus providing high availability and reliability of
the system. .</p>
      <p>The requirements include several criteria that shall be met
by the reference architecture. These are listed as follows.
A. Controlled Environment / Scenarios</p>
      <p>The system functions shall stay stable and comprehensible
in the following scenarios:
1)</p>
    </sec>
    <sec id="sec-2">
      <title>Ground testing with an experiment in the laboratory</title>
    </sec>
    <sec id="sec-3">
      <title>2) Scientific tests with an experiment on a parabolic flight</title>
    </sec>
    <sec id="sec-4">
      <title>3) System tests with different experiments</title>
    </sec>
    <sec id="sec-5">
      <title>4) TEXUS/MAXUS Flight Operations</title>
    </sec>
    <sec id="sec-6">
      <title>5) Post-Flight Evaluation</title>
    </sec>
    <sec id="sec-7">
      <title>B. Modular Architecture</title>
      <p>
        Changes to a configuration in a particular scenario (e.g.
software updates) shall not affect the correctness,
functionality and executability of other configurations.
C. Recovery
“An error is that part of the system state that can cause a
subsequent failure. An error is detected if its presence is
indicated by an error message or error signal” [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. If an error
occurs in the system, this shall be recognized and a
corresponding action should be proposed or executed in
order to prevent any failure. Furthermore, if certain software
is no longer functional, it shall be possible to easily and
quickly recover from the failure and set up a new system.
This system shall be identical to the initial system before its
failure.
      </p>
    </sec>
    <sec id="sec-8">
      <title>D. Transparent Interface</title>
      <p>After recovery, the user shall have an unmodified interface
(hardware &amp; software configuration). Windows 10 is used as
the operating system. The reason for this is that users can
operate and manage Windows machines themselves. In
addition, software is used that is only available for Windows.</p>
    </sec>
    <sec id="sec-9">
      <title>E. Mobile Systems</title>
      <p>It shall be possible for the ground system to be used on
different locations (for different scenarios) with a full
functionality. The system and also the required services must
be available offline during a mission</p>
    </sec>
    <sec id="sec-10">
      <title>F. Effort</title>
      <p>
        The effort for the configuration and maintenance of new
system shall be as low as possible. The resulting costs can be
considered secondary. Here the trade-off between costs and
effort has to be considered. The reduced effort can save
working hours, which the employees can use efficient for
other engineering work. This finally reduces the overall costs.
“Availability is a system’s readiness for correct service.
Reliability is a system’s ability to continuously deliver correct
service” [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. In order to carry out any space and thus a
sounding rocket mission, many different sub-systems have to
be available and properly work together. Starting with an
appropriate mission, spacecraft and sub-system design to the
space mission operation, the avionics and software system
components are the link between the spacecraft and the
Ground Utilities. Therefore, we have to ensure that they are
available and reliable operating as specified.
      </p>
      <p>III. PROPOSED CONCEPT</p>
      <p>We performed an analysis of the requirements, suitable
technologies and tools in order to find an appropriate solution.
We decided that a DevOps (Development/IT-Operations)
toolchain/pipeline is suitable for fulfilling the criteria, as it is
capable of automating the setup of user instances as far as
possible. In a trade-off, we compared several concepts. We
analysed the advantages and disadvantages of the considered
concepts and their suitability for meeting the requirements.
Subsequently, a decision was made in favour of the proposed
concept. For the TEXUS/MAXUS specific environment, a
pipeline built of the tools mainly from HashiCorp
(https://www.hashicorp.com/) is considered suitable.
HashiCorp provides products for the provisioning and
configuration of individual systems up to system landscapes.
An optimal solution can be achieved with the tools Packer,
Vagrant and Ansible. Ansible was not developed by
HashiCorp, but is an important part of the pipeline.


</p>
      <p>Packer is used to create machine images. These
images can be created from a single source
configuration for multiple platforms such as Amazon
Machine Images (AMI) for Amazon Elastic Compute
Cloud (EC2), VMDK (virtual discs) and VMX
(configuration files) for VMware or OVF (Open
Virtualization Format) exports for VirtualBox.</p>
      <p>Vagrant is an application for creating and managing
virtual machines (VM). With Vagrant it is possible to
create and manage complete virtual machine
environments with a single workflow. This drastically
reduces the setup time of the development
environment.</p>
      <p>Ansible is a tool that automates the configuration and
administration of systems. This ranges from simple to
highly complex tasks. Only SSH (secure shell) access
is required to access remote systems and the system
can be managed without any additional software.</p>
    </sec>
    <sec id="sec-11">
      <title>B. Architecture</title>
      <p>For the implementation, a server is set up for configuration
and deployment. The server has the tools for provisioning,
configuration, execution, and testing of VM images as
mentioned in the previous section. The required software and
the fully set up VM images are made available to the servers,
laptops and computers in the network, using file share service.
The provisioning of the VM images is handled by the tool
Packer. Packer uses files in JSON (JavaScript Object
Notation) and XML (Extensible Markup Language) format
for the description. The subsequent configuration of the
provisioned VM images is done with Ansible.</p>
      <p>Depending on the component, different playbooks are
used, which support the required software installations and
execute them. After completion of the VM Images, this can be
tested with Vagrant. Using the command line, the Vagrant tool
can start and run a virtual machine in Virtualbox in minutes.
This allows the engineer to test the functionality of the virtual
machine. Since no automated tests are available for
Infrastructure as Code, the only way to do this is to manually
review the built virtual machine. The effort for this is limited
to a minimum. Once the virtual machine has been tested, it can
be made available to the other engineers and scientists. For
this purpose the image is released in the file share. The written
code is also committed and pushed into the Git repository for
versioning. The underlying concept of this architecture is also
called Immutable Infrastructure. A schematic procedure is
presented in presented in Fig. 2.</p>
      <p>The chosen concept ensures that the requirements are met
very well. The controlled environment can be guaranteed by
using Infrastructure as Code, because the state of the system
is always identical, as it is never modified after deployment,
thus ensuring the transparent interface.</p>
      <p>Since configurations are encapsulated in a virtual
machine, it can be ensured that other configurations are not
affected. This also makes it easier to recover failed systems
and configurations. In addition, online services have been
avoided as far as possible for the use of the concept, so that
offline operation is possible.</p>
      <p>Due to a high degree of automation and the use of open source
tools, the resulting effort can be kept low.</p>
    </sec>
    <sec id="sec-12">
      <title>C. Other considered Architectures</title>
      <p>Another approach was to outsource all systems and
services to a public cloud. From a technological point of view
it would be a good approach. Provisioning and configuration
would also be a lot better and easier. The shortcoming of this
option is that the system would no longer function or be
accessible in offline mode.</p>
      <p>The On Premise Configuration was also considered. Only
the tool Ansible would be necessary. The disadvantage of this
approach is that the actually consistent setup is disturbed by
manual actions of users (installation of additional software,
misconfigurations). Correcting these actions individually
would be very time-consuming.</p>
      <p>IV. IMPROVING AVAILABILITY / RELIABILITY</p>
      <p>A high level of availability of all systems is required to
operate the ground station. System errors and lack of resources
must be recognized in a short time or even predicted in order
to be able to take countermeasures and prevent a system
failure. To assess the system status, information about the
systems have to be recorded and evaluated according to
predefined rules.</p>
      <p>The collected information has to be integrated into the
system communication interface concept in use. The
TEXUS/MAXUS project uses the open “Industrie 4.0”
standard OPC UA to provide, for example, telemetry data and
the data from scientific experiments. We are working on
extending the existing monitoring system, in order to integrate
it into the OPC UA infrastructure and include monitoring data
analysis. Fig. 3 shows the proposed components extending the
existing system.</p>
      <p>The telemetry data and data from the experiments are
already provided as OPC UA nodes. Additional necessary
information shall be collected from infrastructure,
development stations and other PC systems. At
TEXUS/MAXUS, these systems are mainly operated with
Windows operating systems. On these systems, so-called
agents, that implement Windows Management
Instrumentation (WMI), are used to collect necessary
information. Furthermore, our systems collects information on
processes, services, resources such as CPU, RAM, hard disk
space, network status, etc. They aremade available as OPC
UA nodes shown as “Services &amp; Resources” as well as
“Adapter OPC UA” in Fig. 3.</p>
    </sec>
    <sec id="sec-13">
      <title>B. Information Rating</title>
      <p>The information provided can be fetched centrally from
the Health Status Server via the OPC UA gateway. This
information is then called up by pre-processing, where error
detection and error evaluation is performed. If necessary,
measures for problem solving are proposed or carried out.
Furthermore, a distinction hast to be made between different
application scenarios in order to select the corresponding
method.</p>
      <p>C. Relevant Scenarios</p>
      <p>We consider the application scenarios 1) Ground testing
with an experiment in the laboratory, 3) System tests with
different experiments and 4) TEXUS/MAXUS Flight
Operations from section II.A for the monitoring and analysis
of the system.</p>
      <p>V. ERROR HANDLING</p>
      <p>According to the requirements, we propose the following
rule based error handling approach.</p>
      <p>A. Error Detection</p>
      <p>The approach of an expert system based on a knowledge
database filled by specialists was chosen for error detection.
Since a rocket launch is a rare event, AI (Artificial
Intelligence) approaches such as neural networks or deep
learning are only suitable to a limited extent, since many
training data is required there. In addition, operators and
developers are required to ensure that errors are under the
control of specialists. A distinction is made between error
scenarios because the different scenarios run different systems
and processes and intentionally show different behaviour.
B. Error Rating</p>
      <p>
        An error evaluation takes place depending on the
application scenario. The criticality differs depending on the
application scenario and is divided into the following
categories according to VDMA (Verband Deutscher
Maschinen- und Anlagenbau e. V.) standard sheet 24582 [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]:





      </p>
      <sec id="sec-13-1">
        <title>Defect / error</title>
      </sec>
      <sec id="sec-13-2">
        <title>Critical condition</title>
      </sec>
      <sec id="sec-13-3">
        <title>Warning</title>
      </sec>
      <sec id="sec-13-4">
        <title>Good</title>
      </sec>
      <sec id="sec-13-5">
        <title>No status statement</title>
      </sec>
    </sec>
    <sec id="sec-14">
      <title>C. Error / Fault / Failure Occurrence, Scenario Definition and Classification</title>
      <p>TEXUS/MAXUS developers store error, fault and failure
occurrences, identified scenarios and their classification using
common tools such as Microsoft Excel. The assessment of the
monitoring and analysis system is based on these entries.</p>
    </sec>
    <sec id="sec-15">
      <title>D. Recovery Actions</title>
      <p>If an error announces itself by a fault or a failure has
already occurred, the monitoring system reports this event
with the corresponding criticality and recommends actions to
remedy the problem. In addition, the failure will be traceable
hierarchically to the fault as the origin of the error. This helps
to narrow down the errors and correct them. Measures and
rules for detecting and correction errors are provided by
experts in the knowledge and rule set database.</p>
      <p>By continuous monitoring of all systems with appropriate
recovery actions in the case of errors and failures, we can
achievehigh availability and reliability of the system.</p>
      <sec id="sec-15-1">
        <title>SUMMARY</title>
        <p>This paper shows a work in progress within the
TEXUS/MAXUS sounding rocket program. A standardised
reference system based on “Industrie 4.0” OPC UA
communication platform is facing new challenges due to
distribution of services, and increasing number of software
applications and hardware components (mainly PCs and
laptops). The configuration and maintenance of the systems
for different experiments and mission scenarios shall be
provided in an efficient and consistent way, monitoring,
information collection and error handling including recovery
mechanisms shall be implemented in order to improve the
availability of the systems. Based on requirements,
technology and tool analysis we propose an appropriate
avionics and software architecture for sounding rocket
systems and missions. Currently we are working on
implementation of the proposed solutions.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <article-title>[1] Bundesministerium für Wirtschaft und Energie, Bundesministerium für Bildung und Forschung</article-title>
          .
          <source>Plattform Industrie 4</source>
          .0. https://www.plattform-i40.de.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>E.</given-names>
            <surname>Diekmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Reinhold</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Matevska</surname>
          </string-name>
          ,
          <string-name>
            <surname>E. Noack.</surname>
          </string-name>
          „
          <article-title>Idustrie 4.0 in der Raumfahrt“</article-title>
          .
          <source>Deutscher Luft und -Raumfahrt Kongress</source>
          <year>2018</year>
          .
          <article-title>„Luftund Raumfahrt - Digitalisierung und Vernetzung“</article-title>
          .
          <source>Sep</source>
          .
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>OPC</given-names>
            <surname>Unifed Architecture</surname>
          </string-name>
          <article-title>Foundation</article-title>
          . url: https://opcfoundation.org/
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Freeopcua</given-names>
            <surname>Project</surname>
          </string-name>
          .
          <article-title>OPCUA Server and Client implementation</article-title>
          .
          <source>Aug</source>
          .
          <year>2017</year>
          . url: http://freeopcua.github.io/.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Kathmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Scheichel</surname>
          </string-name>
          . Masterthesis: „
          <article-title>IP-Kommunikation auf Forschungsraketen“</article-title>
          .
          <source>Hochschule Bremen. Sep</source>
          . 2017
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Matevska</surname>
          </string-name>
          ,
          <article-title>“ibacus (IP-BAsed CommUnication in Space)”</article-title>
          , Presentation ESC Kiruna,
          <year>Mai 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Grashorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Stein</surname>
          </string-name>
          , E. Noack,
          <source>„TEXUS 2</source>
          .
          <article-title>0: Neue Konzepte für Raketenexperimente in der Zukunft“</article-title>
          ,
          <source>Presentation ESC Kiruna</source>
          ,
          <year>Mai 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>E.</given-names>
            <surname>Noack</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Matevska.</surname>
          </string-name>
          “
          <article-title>TEXUS made in Bremen - Neues Datensystem für TEXUS kommt aus Bremen“</article-title>
          , Presentation,
          <year>Sternstunden 2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Avizienis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-C.</given-names>
            <surname>Laprie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Randell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Landwehr</surname>
          </string-name>
          .
          <article-title>Basic Concepts and Taxonomy of Dependable and Secure Computing</article-title>
          .
          <source>In: IEEE Transactions on Dependable and Secure Computing</source>
          <volume>1</volume>
          ,
          <year>2004</year>
          , Nr. 1,
          <string-name>
            <surname>S.</surname>
          </string-name>
          11 -
          <fpage>33</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>VDMA</given-names>
            <surname>Verband</surname>
          </string-name>
          <article-title>Deutscher maschinen- und Anlagenbauer e</article-title>
          . V.
          <article-title>Einheitsblatt 24582: Feldbusneutrale Referenzarchitektur für Condition Monitoring in Fabrikautomation</article-title>
          , Berlin: Beuth Verlag GmbH, April 2014
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>