<!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>High Assurance on Cyber-Physical Interactive Systems</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Informatics/University of Minho &amp; HASLab/INESC TEC Braga</institution>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Cyber-Physical Systems, as distributed systems of computational elements interacting with the physical world, are highly complex systems. They can, in many instances, be considered safety critical interactive systems, as errors in interaction can have disastrous consequences (consider the case of autonomous vehicles or integrated clinical environments). High assurance is, then, an underlying requirement, also at their user interface. In this position paper we identify ve challenges to be solved both in the short and in the long term, regarding the modelling of (1) distributed and (2) heterogeneous interactive systems, (3) the analysis and relation between the di erent abstraction layers of CyberPhysical Systems, (4) the modelling of real time/hybrid systems, and (5) the modelling of the dynamic nature of such systems. Solutions for these challenges are not presented, but possible directions are discussed.</p>
      </abstract>
      <kwd-group>
        <kwd>Cyber-Physical Systems</kwd>
        <kwd>Interactive Systems</kwd>
        <kwd>Formal Methods</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Cyber-Physical Systems (CPS) are networked and/or distributed systems of
computational elements interacting with physical processes in feedback loops.
CPS are composed of heterogeneous elements, some of which might support
interaction with users (humans) through di erent means, from traditional
graphical user interfaces to di erent types of sensors. In these cases, we can consider
them to have humans in the loop, as part of the systems themselves.
Examples include autonomous driving vehicles and Integrated Clinical Environments
(ICE) (see [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] for a state of the art). These are also two examples of systems
that require some degree of user interaction to operate.
      </p>
      <p>
        According to Accord Market, the global market share of CPS has reached the
order of million US$ in 2018, and its further expansion is expected [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. CPS such
as Advanced Driver-Assistance Systems (ADAS) or autonomous driving vehicles,
which aim not only to improve the driving experience, but also to increase driving
and road safety, are being pushed forward by market demands. These demands
have raised a set of challenges to be addressed in the short term [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], as these
systems are already in usage. Solving these challenges is of major relevance, as
the occurrence of errors has serious consequences, such as incidents occurring
with autonomous driving vehicles1.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] a number of challenges related to developing user interfaces for CPS
is identi ed, from the lack of standardized interaction hardware, to appropriate
development process and tools. Here, however, we focus speci cally on the design
analysis aspect. In particular, when the need to assure the safety of the systems is
present. Many of these systems can be considered critical (interactive) systems,
as they allow the users to perform potentially dangerous actions. Due to their
complex nature, their veri cation is far from a trivial process. Intuitively, it is
possible to understand that adding multiple communicating devices will further
increase the complexity of the analysis process, when compared with traditional
systems.
      </p>
      <p>
        Model-based approaches allow developers to create models describing the
systems to be analyzed, in which (semi-)automated analysis approaches can be
applied, such as model checking or theorem proving (i.e. formal veri cation
methods). CPS, being complex systems, require appropriate modelling and veri
cation techniques, in order to reduce the possibility of error. Formal model-based
veri cation approaches for CPS have been discussed, both in terms of challenges
and of concrete proposals for analysis. General challenges are discussed in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ],
while [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] discusses challenges expected in modelling autonomous driving
vehicles. Concrete proposals include model-based analysis, but also co-simulation
and testing [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], as well as proposals for anomaly detection [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. These works focus
mainly in the modelling of the behavior and intercommunication aspects, but
lack consideration of the human-computer interaction angle. This paper
highlights the challenges related with model-based approaches applied to the user
interaction aspects of these systems.
      </p>
      <p>
        In the case of interactive systems, model-based approaches have also been
developed to verify interaction properties. An example is the IVY workbench [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
which provides a language to specify interactive systems, a compiler to
support the veri cation of the language with the NuSMV model checker [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
visualizations to present the analysis result, as well as simulation features. The
PVSIO-web tool [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] presents a di erent approach, both in the formal
analysis process, which resorts to the PVS theorem prover [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], and in the support
for model inspection, providing tools that support building prototypes from the
models. The CIRCUS tool suite [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] supports the modeling of interactive systems,
with an emphasis in task modelling and analysis. An e ort was made to
provide tools which support the modelling process, at di erent abstraction levels. In
general, current approaches focus mainly in the validation of single user-system
interactions. However, interaction in CPS is not provided by a single interface,
but rather by di erent computational elements.
1 https://www.tesla.com/blog/what-we-know-about-last-weeks-accident, last
visited July 15, 2019.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Modelling and veri cation challenges</title>
      <p>
        An initial exploration has been done in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], regarding the interactive components
of CPS in the context of ICE systems, which already provides some
understanding of the expected challenges. While the authors explored the adoption of
existing techniques to handle CPS, the challenge itself is bigger than just applying
existing approaches, multiplied by the number of communicating devices, plus
a communication challenge. Thus, regarding the application of model-based
approaches to the interactive components of CPS, ve main challenges are expected
to be faced:
Distributed interactive systems | The nature of CPS implies the
existence of distributed (interactive) systems, and consequently distributed
interfaces of systems cooperating between themselves. This results in the
challenge of modelling those systems and interfaces, but more interestingly, in
modelling their properties. We need to understand what is speci c about
them and how it can be speci ed, and which properties can be speci ed
and/or veri ed. Such requires investigating appropriate languages and tools.
Heterogeneous interactive systems | CPS are composed of several
devices, which can interact with users through distinct approaches, such as
graphical user interfaces, physical elements (e.g. buttons), or motion
sensors. The heterogeneity of the resulting user interfaces can, ultimately, lead
to the need to create di erent modelling approaches, in order to support, for
instance, analysis and prototyping. Further research is required in the CPS
context.
      </p>
      <p>Di erent abstraction levels | CPS can be speci ed at di erent speci
cation levels, as, for instance, the device layer, the communication layer, and
the network layer. As user interfaces are built on top of these layers, their
analysis can ultimately be a ected by the capability of analyzing each of
the layers. While this increases the complexity of modelling these systems,
it increases the complexity of their analysis as well. Considering the
challenges imposed by CPS, existing tools and approaches should be analyzed
in this context, in order to understand their suitability to address each of
these layers.</p>
      <p>Modelling real time/hybrid systems | Due to the critically of these kinds
of systems, the application of real time veri cation techniques is expected.
Such can easily become an issue, since current veri cation techniques present
scalability issues. Furthermore, the computational components are typically
discrete in nature, while the physical process are continuous. As a result,
how best to model and analyze the real time and hybrid dimensions of user
interfaces for CPS, and their relevant properties, needs to be investigated.
Dynamic systems | CPS are prone to changes in the network, with the
inclusion/removal of nodes. An example is Vehicle-to-Vehicle (V2V)
communication, where vehicles constantly enter and exit the range of other vehicles.
Thus, the existence of a speci c vehicle in the system is not guaranteed.</p>
      <p>The same is true for an ICE system, where devices can be added/remove as
well. Thus, the dynamic aspect of the network should be taken in
consideration. This is expected to impact the behavior of the interactive systems, and
consequently, how they are modelled.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>Model-based approaches have been successfully used to improve the reliability of
software systems, as well as of interactive systems. The dissemination of CPS has
raised new concerns, currently not addressed by existing solutions. This position
paper described ve challenges that are expected to be found while developing
new approaches for modeling and dealing with user interfaces for CPS. Facing
them, ultimately requires researchers to combine the previous acquired
knowledge in model-based approaches and CPS, in order to develop new approaches.</p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <p>This work was nanced by National Funds through the Portuguese funding
agency, FCT - Fundac~ao para a Ci^encia e a Tecnologia (Portuguese
Foundation for Science and Technology) within project: UID/EEA/50014/2019.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Campos</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harrison</surname>
          </string-name>
          , M.D.:
          <article-title>Interaction engineering using the IVY tool</article-title>
          .
          <source>In: Proceedings of the 1st ACM SIGCHI symposium on Engineering interactive computing systems</source>
          . pp.
          <volume>35</volume>
          {
          <fpage>44</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cimatti</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clarke</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giunchiglia</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giunchiglia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pistore</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roveri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sebastiani</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tacchella</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>NuSMV Version 2: An OpenSource Tool for Symbolic Model Checking</article-title>
          .
          <source>In: Proc. International Conference on Computer-Aided Veri cation (CAV</source>
          <year>2002</year>
          ). LNCS, vol.
          <volume>2404</volume>
          . Springer, Copenhagen, Denmark (
          <year>July 2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Fayollas</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinie</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palanque</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Deleris</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fabre</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Navarre</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>An approach for assessing the impact of dependability on usability: application to interactive cockpits</article-title>
          .
          <source>In: 2014 Tenth European Dependable Computing Conference</source>
          . pp.
          <volume>198</volume>
          {
          <fpage>209</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Fitzgerald</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gamble</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Larsen</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pierce</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woodcock</surname>
          </string-name>
          , J.:
          <article-title>Cyber-Physical Systems Design: Formal Foundations, Methods and Integrated Tool Chains</article-title>
          .
          <source>In: 2015 IEEE/ACM 3rd FME Workshop on Formal Methods in Software Engineering</source>
          . pp.
          <volume>40</volume>
          {
          <issue>46</issue>
          (May
          <year>2015</year>
          ). https://doi.org/10.1109/FormaliSE.
          <year>2015</year>
          .14
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kong</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belta</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Anomaly detection in cyber-physical systems: A formal methods approach</article-title>
          .
          <source>In: 53rd IEEE Conference on Decision and Control</source>
          . pp.
          <volume>848</volume>
          {
          <issue>853</issue>
          (Dec
          <year>2014</year>
          ). https://doi.org/10.1109/CDC.
          <year>2014</year>
          .7039487
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Market</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Global cyber-physical system (cps) market by product type and by end-users/application global market share, forecast data, in-depth analysis, and detailed overview</article-title>
          , and forecast,
          <year>2013</year>
          2026.
          <article-title>Tech. rep</article-title>
          .,
          <source>Apex Market Research</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Masci</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mallozzi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Angelis</surname>
            ,
            <given-names>F.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Serugendo</surname>
            ,
            <given-names>G.D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Curzon</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Using PVSio-web and SAPERE for rapid prototyping of user interfaces in Integrated Clinical Environments</article-title>
          . In: Verisure2015, Workshop on Veri cation and Assurance, co
          <article-title>-located with CAV2015 (</article-title>
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Masci</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oladimeji</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Curzon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Thimbleby</surname>
          </string-name>
          , H.:
          <article-title>PVSioweb 2.0: Joining PVS to HCI</article-title>
          . In: International Conference on Computer Aided Veri cation. pp.
          <volume>470</volume>
          {
          <fpage>478</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Owre</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rushby</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          , ,
          <string-name>
            <surname>Shankar</surname>
          </string-name>
          , N.:
          <article-title>PVS: A prototype veri cation system</article-title>
          . In: Kapur,
          <string-name>
            <surname>D</surname>
          </string-name>
          . (ed.)
          <source>11th International Conference on Automated Deduction (CADE). Lecture Notes in Arti cial Intelligence</source>
          , vol.
          <volume>607</volume>
          , pp.
          <volume>748</volume>
          {
          <fpage>752</fpage>
          . Springer-Verlag, Saratoga, NY (jun
          <year>1992</year>
          ), http://www.csl.sri.com/papers/cade92-pvs/
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Paelke</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , Rocker, C.:
          <article-title>User interfaces for cyber-physical systems: Challenges and possible approaches</article-title>
          . In: Marcus,
          <string-name>
            <given-names>A</given-names>
            . (ed.) Design,
            <surname>User Experience</surname>
          </string-name>
          ,
          <source>and Usability: Design Discourse. Lecture Notes in Computer Science</source>
          , vol.
          <volume>9186</volume>
          , pp.
          <volume>75</volume>
          {
          <fpage>85</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Romanovsky</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ishikawa</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Trustworthy cyber-physical systems engineering</article-title>
          . CRC Press (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Seshia</surname>
            ,
            <given-names>S.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sadigh</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sastry</surname>
            ,
            <given-names>S.S.:</given-names>
          </string-name>
          <article-title>Formal methods for semi-autonomous driving</article-title>
          .
          <source>In: 2015 52nd ACM/EDAC/IEEE Design Automation Conference (DAC)</source>
          . pp.
          <volume>1</volume>
          {
          <issue>5</issue>
          (
          <year>June 2015</year>
          ). https://doi.org/10.1145/2744769.2747927
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Torngreen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bensalem</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cengarle</surname>
            ,
            <given-names>M.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McDermid</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Passerone</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sangiovanni-Vincentelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Runkler</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>CPS: state of the art</article-title>
          .
          <source>Deliverable D5</source>
          .1,
          <string-name>
            <surname>CyPhERS (Cyber-Physical European</surname>
          </string-name>
          Roadmap and Strategy) project (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Julien</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Veri cation and Validation in Cyber Physical Systems: Research Challenges and a Way Forward</article-title>
          .
          <source>In: 2015 IEEE/ACM 1st International Workshop on Software Engineering for Smart Cyber-Physical Systems</source>
          . pp.
          <volume>15</volume>
          {
          <fpage>18</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (May
          <year>2015</year>
          ). https://doi.org/10.1109/SEsCPS.
          <year>2015</year>
          .11
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>