<!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>
      <journal-title-group>
        <journal-title>Gesellschaft für Informatik, Bonn</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Tackling Problems on Maintenance and Evolution in Industry 4.0 Scenarios Using a Distributed Architecture1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sandro Koch</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tim Wunderlich</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jonas Hansert</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Robert Heinrich</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thomas Schlegel</string-name>
        </contrib>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>1</volume>
      <abstract>
        <p>Growing complexity in Industry 4.0 environments goes hand in hand with an increasing number of vulnerabilities. Due to internal and external influences, these vulnerabilities can cause a negative efect on the production process as well as the finished product. These influences include e. g., defective machine tools, deviations in quality or configuration changes of an assembly line, which in turn require to adjust the model and the workflow of the respective facility to prevent risks to human health or minimise costs due to production stops. To evaluate the necessity of a novel approach to handle these vulnerabilities and influences along with their subsequent system adaptation, three emerging problems are identified and provide the basis for the discussion of a distributed architecture that aims to facilitate the evolution of context models, workflows and configurations while allowing for reasonable involvement of human operators. 1 This work was partially funded by the German Federal Ministry of Education and Research under grant 01IS18067A/B/D (RESPOND), and the KASTEL institutional funding. 2 Karlsruhe Institute of Technology, Am Fasanengarten 5, 76131 Karlsruhe, GER, sandro.koch|heinrich@kit.edu 3 Fraunhofer IWU, Reichenhainer Straße 88, 09126 Chemnitz, GER, tim.wunderlich@iwu.fraunhofer.de 4 Hochschule Karlsruhe, Moltkestr. 30, 76133 Karlsruhe, GER, jonas.hansert|thomas.schlegel@hs-karlsruhe.de</p>
      </abstract>
      <kwd-group>
        <kwd>production system evolution</kwd>
        <kwd>resilience</kwd>
        <kwd>cyber-physical production systems</kwd>
        <kwd>distributed</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Ubiquitous systems are becoming more and more prevalent in our everyday lives, especially in
production. Integrated machines and self-organising production environments are examples
of the increasing interconnection of humans, machines, and systems in the socio-technical
production system of Industry 4.0. The more integrated and essential these systems become
for the economy and society, the more important it is that the maintenance cycles and
extensions for these systems can be carried out reliably and without sacrificing their
availability. The increasing prevalence and availability of the Internet of Things (IoT) and
associated IoT technologies create a much higher and more dynamic integration with the
physical world for future software systems. Constant feedback of the software context
with the relevant physical context at runtime thus enables sophisticated Cyber-physical
systems (CPS). In this paper, we will address the problems that can arise in the development
and maintenance of such an Industry 4.0 system. For this purpose, we present an illustrative
example of a system in Sect. 2. In Sect. 3 we illustrate emerging problems on maintenance
and evolution in Industry 4.0 scenarios. In Sect. 4 we present a proposal on how to solve the</p>
      <p>Copyright © 2021 for this paper by its authors.</p>
      <p>Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
problems presented before. Finally, in Sect. 5 we outline future steps that are necessary to
implement the solution ideas.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Motivating Example</title>
      <p>Today’s industrial plants often consist of several machines, which are often divided between
diferent factory buildings. Nevertheless, in many cases, the complete production chain
comes to a standstill if one machine fails. Often the machines in factories are not yet
connected to the company’s network. Edge devices provide the physical machines with
access to the network and at the same time aggregate the often enormous amount of data
that accumulates in the machines. In the following text, we call these edge devices nodes. In
this way, we establish a close link between the physical plant and the software system, thus
forming a Cyber-physical production system (CPPS) [Mo14].</p>
      <p>The individual parts — such as factory buildings and machines — are represented as virtual
nodes in a tree structure. The nodes can communicate with each other via events, and
the parent nodes can combine the events of their children into more complex events. For
example, events from diferent temperature sensors reporting too high temperatures could
be merged by the parent node into an event reporting a fire in the machine. Also, there is a
context component that uses all existing messages in the system to digitally map the real
state of the plant. In addition to the errors detected directly by the nodes, other errors can
also be detected in this way, such as a lost connection to a node. With a context meta-model
[He18], further errors in the system can thus be modelled and detected. The context system
is also used to find a self-healing strategy in the case of an error.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Emerging Problems on Maintenance and Evolution in Industry 4.0</title>
      <p>As described in Sect. 2, several issues can occur when operating a CPPS. Those issues
include e. g. machine outages, quality deviations, or human error, which potentially require
the plant to undergo an adjustment regarding its component configuration or workflow
management to minimise the incidence of these issues or to mitigate their efects. Due to
the dependencies between the individual components of the overall system, changes in one
component of the system could cause inestimable efects on other components [Kh11],
similar to the ripple efect in software maintenance. With the aid of the Industry 4.0 scenario
described in Sect. 2, we define three emerging problems, outlining possible maintenance
and evolution issues in Industry 4.0 environments. We focus on adaptive and resilient
Manufacturing Execution Systems (MES).</p>
      <p>P1: Cope with Machine Failures and Resulting Downtime Today, typical manufacturing
processes are highly automated and rely on machine tools, which are sometimes exceedingly
specialised for one single manufacturing step, e. g. drilling or knurling. The quality of the</p>
      <sec id="sec-3-1">
        <title>Tackling Problems in Industry 4.0 Using a Distributed Architecture 3</title>
        <p>end product depends on the consistent quality of the production process itself, which in turn
depends on a complex interaction between production rate, system availability, defect rate,
and other Key Performance Indicators (KPIs) [Co14]. Machine tools that fail to perform
their tasks with the required quality — for example due to tool wear — result in defective
products, which in turn could require rework or lead to rejection and therefore higher costs.
In the worst case, a machine tool fails completely and cannot perform its task at all, causing
a standstill of the whole production line. To minimise uncontrolled standstills as well as
product rejects and the necessity for rework, defective components require a controlled
downtime of the plant to provide a window of opportunity for maintenance, changeover,
reconfiguration and replanning, which in turn increases costs and diminishes the eficiency
of the manufacturing system [Li12].</p>
        <p>P2: Cyber-Physical Deviation A complex manufacturing environment constitutes a
network of CPS which can be described as a CPPS [Ne19]. Within such systems, sensors,
actuators, and edge devices communicate with each other as well as with the business level
and exchange data. Based on this data, models of the real world are generated on which
the MES can make decisions about the manufacturing process. However, within a CPPS,
deviations between the model and the reality can occur: For example, if the MES assumes
that  workpieces are stocked, but in reality only  1 workpieces are available, the system
again needs to provide a resilience strategy to compensate for this deviation. This includes
updating the model and adjusting the manufacturing process, e. g. postponing another task
that might need the same resources but is less prioritised, so it can allow for a reassignment
of its resources. Furthermore, additional tasks in the overall process are required to restore
a coherent CPS state, e. g. placing an order to stock up on the scarce resources.
P3: Human-in-the-Loop Despite the high degree of automation in manufacturing
environments, manual labour can be still part of the overall processes (e. g. commissioning,
packing, or maintenance), where errors are inevitable and cause an impact on the production
and product quality [Bu05]. Since human errors can occur unanticipated, flexible resilience
strategies are required and planned outages might not be suficient for troubleshooting. To
account for issues that occur in the context of manual tasks and attempt to rectify them
on time, the resilient MES needs to fulfil two general requirements: On the one hand, it
needs to keep track of specific actions performed by the respective person, and on the
other hand, it needs to know how, when and to whom certain information needs to be
delivered. Specific use cases include detecting an erroneous action performed by a worker:
To fulfil an order, the worker needs to pick certain components. Utilising sensors and edge
devices, the resilient MES would detect wrong pieces and notifies the worker about this
issue. Depending on the equipment of the worker, the system decides how this notification
will be delivered. [Fr16] describe how a linked-data platform can be used to manage and
receive such traceability data via a standardised interface and subsequently provide a human
worker with reasonable information in a context-aware manner. For example, a smart glove
could be triggered to provide immediate haptic feedback and a smartwatch could display a
message containing a description of the correct piece.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Modular Architecture for Industry 4.0 Scenarios</title>
      <p>In this section, we propose an architecture as solution idea for the problems discussed in
Sect. 3. The architecture covers not only an Automated Production System (aPS), but also
the involved processes and systems which are directly or indirectly part of an Industry 4.0
system. We call the architecture presented here the RESPOND Architecture. RESPOND
stands for Resilient socio-technical processes in the industrial Internet of Things.</p>
      <p>RESPOND Node</p>
      <p>RESPOND Object(s)
Respond Infrastructure</p>
      <p>Event Bus</p>
      <p>Process Analysis
RESPOND Node</p>
      <p>Work!ow Engine</p>
      <p>RESPOND Node
Process Repository
Process Healing</p>
      <p>RESPOND Node</p>
      <p>RESPOND Infrastructure
RESPOND Node</p>
      <p>Event and
Data Storage</p>
      <p>RESPOND Node</p>
      <p>Context Service
Complex Event Processing RESPOND Node Template</p>
      <p>Engine
Fig. 1: RESPOND Architecture</p>
      <p>RESPOND Node
User Interface
Context Model
Overview Fig. 1 shows the RESPOND architecture. An integral part of the architecture
is the Industrial Internet of Things (IIoT) RESPOND node. A RESPOND node defines a
component in the RESPOND system that exchanges data via the RESPOND infrastructure;
this data does not necessarily have to be collected via a Programmable Logic Controller (PLC).
This includes, for example, status and context information, but also raw data and aggregated
or filtered values. Communication takes place via the RESPOND infrastructure, which
integrates the RESPOND nodes and provides the platform functionality. Each RESPOND
node implements a semantic profile, the RESPOND node template, which defines exchanged
information and which context information is processed and generated. This ensures that the
RESPOND node can be integrated into the Industry 4.0 system according to a specification
in the sense of a Plug &amp; Produce [DJ17]. Also, a RESPOND node must implement interfaces
that enable the node to send and receive on the event bus, thus creating a Production Service
Bus (PSB) [ST07]. This modular structure allows reducing possible downtime described in
P1 by focusing the maintenance on one RESPOND node instead of the whole RESPOND
system. Since a RESPOND node abstractly describes a part of the Industry 4.0 system,
any RESPOND node can be utilised as long as the specification is satisfied. In addition,
the self-healing component should be able to adapt running processes to integrate already
installed RESPOND nodes into the self-healing process, at least until the running process is
ifnished, to prevent manual intervention. The efort to implement new features can also be
reduced because of the modular structure of the architecture. In the example in Fig. 1, an
Event Bus is provided by the RESPOND infrastructure for the transmission of information.</p>
      <sec id="sec-4-1">
        <title>Tackling Problems in Industry 4.0 Using a Distributed Architecture 5</title>
        <p>The RESPOND node is used to link diferent components, such as RESPOND objects, event
storage, context service and a self-healing component with the RESPOND infrastructure. In
the case of RESPOND objects, components of an aPS, such as motors, pumps, and sensors,
are thus connected to the infrastructure. It should be emphasised that one node can be the
interface for more than one object. Thus, existing elements of a plant can be combined
and integrated into the RESPOND system. The RESPOND system is orchestrated by a
Workflow Engine, which has access to a Process Repository, where the available processes
are stored. If a node does not have the necessary computing capacity to aggregate events
from diferent sources and filter them if necessary, the RESPOND Infrastructure provides
the Complex Event Processing (CEP) Engine, which allows defining rules based on the
events occurring in the RESPOND system. For example, the problems described in P2
cannot be identified by only a plant, the data across diferent RESPOND Nodes need to
be aggregated and interpreted. Extensive IIoT stream data is evaluated in addition to the
event infrastructure in a data platform that provides the necessary time series evaluations
for self-monitoring (Process Analysis) and self-healing (Process Healing). As described in
P3, integrating the human into the equation generates the need for a resilient, error-prone
system. Thus, our architecture provides a solution by integrating dedicated components
for detecting unforeseen problems in the whole RESPOND system (Process Analysis) and
inferring solutions (Self Healing) given the state and context of the Industry 4.0 system.
The self-healing component should be designed in such a way that it can handle (planned)
outages as well as unforeseen events on the basis of the process information and the abstract
RESPOND node information. If, for example, a node of a production plant fails during
production, production capacities can be reallocated by the self-healing component, so that
the production process does not have to be stopped abruptly, but can continue with reduced
throughput.</p>
        <p>RESPOND Infrastructure The RESPOND infrastructure is the link between all nodes in
an Industry 4.0 system. All connected nodes communicate with each other via an event bus.
The Respond Template defines which interfaces a node must provide to be connected to
the infrastructure. This ensures that despite the distributed approach, no incompatibilities
arise between the nodes. If changes are necessary, due to the interfaces a node can be
independently modified without changing the whole system. The context model in turn
describes which elements can occur in an Industry 4.0 system [He18]. The concrete context
model instance is derived from the nodes registered in the RESPOND system, the current
system status is kept up-to-date via the context service and can be queried by other nodes
in the RESPOND system if required. In the event of an error, nodes can be dynamically
removed from the system; depending on the error-type, the CPPS does not have to go ofline
for this. A CEP-Engine is used to infer states across all nodes. Since the node of a plant
or a plant itself cannot necessarily know about all events within an Industry 4.0 system,
the CEP-Engine aggregates, filters and infers events and states that go beyond the scope
of a node. This is necessary since, in the context of process analysis and process healing,
correlations have to be considered which go beyond a fault at the node level.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Future Work</title>
      <p>Our next steps are to realise the presented architecture using four use cases from the industry.
This involves implementing the components described, such as the workflow management
system, the RESPOND infrastructure, and the context service. In addition to information
about the end-users, context information about processes, machines, resources and possible
interaction technologies will be described semantically to create action and process-oriented
solution concepts. Furthermore, user interfaces for resilient systems are being developed
to ensure a consistent supply of information on the one hand and to support the various
resilience mechanisms and check results for accuracy on the other.
[Bu05]
[DJ17]
[He18]
[Li12]
[Mo14]
[Ne19]
[ST07]</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [Co14] [Fr16] [Kh11]
          <string-name>
            <surname>Bubb</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          :
          <article-title>Human reliability: A key to improved quality in manufacturing</article-title>
          .
          <source>Human Factors and Ergonomics in Manufacturing &amp; Service Industries 15/4</source>
          , pp.
          <fpage>353</fpage>
          -
          <lpage>368</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Colledani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Tolio</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Fischer</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Iung</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Lanza</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ; Schmitt,
          <string-name>
            <surname>R.</surname>
          </string-name>
          ; Váncza,
          <string-name>
            <surname>J.</surname>
          </string-name>
          :
          <article-title>Design and Management of Manufacturing Systems for Production Quality</article-title>
          .
          <source>CIRP Annals 63/2</source>
          , pp.
          <fpage>773</fpage>
          -
          <lpage>796</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Dürkop</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Jasperneite</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <source>Plug &amp; Produce als Anwendungsfall von Industrie 4.0. In: Handbuch Industrie 4.0 Bd</source>
          . 2. Pp.
          <volume>59</volume>
          -
          <fpage>71</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Friedemann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Trapp</surname>
          </string-name>
          , T. U.;
          <string-name>
            <surname>Stoldt</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Langer,
          <string-name>
            <given-names>T.</given-names>
            ;
            <surname>Putz</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>A framework for information-driven manufacturing</article-title>
          .
          <source>Procedia CIRP/</source>
          , pp.
          <fpage>38</fpage>
          -
          <lpage>43</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Heinrich</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ; Koch,
          <string-name>
            <given-names>S.</given-names>
            ;
            <surname>Cha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ;
            <surname>Busch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ;
            <surname>Reussner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ;
            <surname>Vogel-Heuser</surname>
          </string-name>
          ,
          <string-name>
            <surname>B.</surname>
          </string-name>
          :
          <article-title>Architecture-based change impact analysis in cross-disciplinary automated production systems</article-title>
          .
          <source>Journal of Systems and Software</source>
          <volume>146</volume>
          /, pp.
          <fpage>167</fpage>
          -
          <lpage>185</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Khan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Kastner</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Koppen</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Saake</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>The pervasive nature of variability in SOC</article-title>
          . In: 2011
          <source>Frontiers of Information Technology. IEEE</source>
          , pp.
          <fpage>69</fpage>
          -
          <lpage>74</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ; Biller,
          <string-name>
            <surname>S.:</surname>
          </string-name>
          <article-title>The costs of downtime incidents in serial multistage manufacturing systems</article-title>
          .
          <source>Journal of Manufacturing Science and Engineering</source>
          <volume>134</volume>
          /2,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Monostori</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Cyber-physical production systems: Roots, expectations and</article-title>
          <string-name>
            <surname>R&amp;D challenges</surname>
          </string-name>
          .
          <source>Procedia CIRP</source>
          <volume>17</volume>
          /, pp.
          <fpage>9</fpage>
          -
          <lpage>13</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Neugebauer</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ; Ihlenfeldt,
          <string-name>
            <surname>S.</surname>
          </string-name>
          ; Schließmann,
          <string-name>
            <given-names>U.</given-names>
            ;
            <surname>Hellmich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ;
            <surname>Noack</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>A new generation of production with cyber-physical systems-enabling the biological transformation in manufacturing</article-title>
          .
          <source>Journal of Machine Engineering/</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <source>In: Intelligent Production Machines and Systems - 3rd I* PROMS Virtual International Conference</source>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>