Monitoring mobile and spatially distributed cyber-physical systems

Cyber-Physical Systems (CPS) consist of collaborative, networked and tightly intertwined computational (logical) and physical components, each operating at different spatial and temporal scales. Hence, the spatial and temporal requirements play an essential role for their correct and safe execution. Furthermore, the local interactions among the system components result in global spatio-temporal emergent behaviors often impossible to predict at the design time. In this work, we pursue a complementary approach by introducing STREL a novel spatio-temporal logic that enables the specification of spatio-temporal requirements and their monitoring over the execution of mobile and spatially distributed CPS. Our logic extends the Signal Temporal Logic [15]with two novel spatial operators reach and escape from which is possible to derive other spatial modalities such as everywhere, somewhere and surround. These operators enable a monitoring procedure where the satisfaction of the property at each location depends only on the satisfaction of its neighbours, opening the way to future distributed online monitoring algorithms. We propose both a qualitative and quantitative semantics based on constraint semirings, an algebraic structure suitable for constraint satisfaction and optimisation. We prove that, for a subclass of models, all the spatial properties expressed with reach and escape, using euclidean distance, satisfy all the model transformations using rotation, reflection and translation. Finally, we provide an offline monitoring algorithm for STREL and, to demonstrate the feasibility of our approach, we show its application using the monitoring of a simulated mobile ad-hoc sensor network as running example.

[1]  Garvit Juniwal,et al.  Robust online monitoring of signal temporal logic , 2015, Formal Methods in System Design.

[2]  Maarten Marx,et al.  Undecidability of Compass Logic , 1999, J. Log. Comput..

[3]  Francesca Rossi,et al.  Semiring-based constraint satisfaction and optimization , 1997, JACM.

[4]  Martin Wirsing,et al.  Software-Intensive Systems and New Computing Paradigms - Challenges and Visions , 2008, Software-Intensive Systems and New Computing Paradigms.

[5]  Calin Belta,et al.  A formal methods approach to pattern synthesis in reaction diffusion systems , 2014, 53rd IEEE Conference on Decision and Control.

[6]  Ezio Bartocci,et al.  Learning and detecting emergent behavior in networks of cardiac myocytes , 2008, CACM.

[7]  Luca Cardelli,et al.  A spatial logic for concurrency (part I) , 2003, Inf. Comput..

[8]  Vincenzo Ciancia,et al.  Spatial Logic and Spatial Model Checking for Closure Spaces , 2016, SFM.

[9]  Calin Belta,et al.  A Formal Methods Approach to Pattern Recognition and Synthesis in Reaction Diffusion Networks , 2018, IEEE Transactions on Control of Network Systems.

[10]  Carlo Ghezzi,et al.  Team-level programming of drone sensor networks , 2014, SenSys.

[11]  Franz Aurenhammer,et al.  Voronoi diagrams—a survey of a fundamental geometric data structure , 1991, CSUR.

[12]  Dejan Nickovic,et al.  Monitoring properties of analog and mixed-signal circuits , 2012, International Journal on Software Tools for Technology Transfer.

[13]  Anthony G. Cohn,et al.  Multi-Dimensional Modal Logic as a Framework for Spatio-Temporal Reasoning , 2002, Applied Intelligence.

[14]  Vincenzo Ciancia,et al.  Qualitative and Quantitative Monitoring of Spatio-Temporal Properties , 2015, RV.

[15]  Thomas Ferrère,et al.  Efficient Robust Monitoring for STL , 2013, CAV.

[16]  Davide Bresolin,et al.  A Decidable Spatial Generalization of Metric Interval Temporal Logic , 2010, 2010 17th International Symposium on Temporal Representation and Reasoning.

[17]  Calin Belta,et al.  SpaTeL: a novel spatial-temporal logic and its applications to networked systems , 2015, HSCC.

[18]  Ying Tan,et al.  Spatio-Temporal Event Model for Cyber-Physical Systems , 2009, 2009 29th IEEE International Conference on Distributed Computing Systems Workshops.

[19]  Carolyn L. Talcott,et al.  Cyber-Physical Systems and Events , 2008, Software-Intensive Systems and New Computing Paradigms.

[20]  Ugo Montanari,et al.  Quantitative mu-calculus and CTL defined over constraint semirings , 2005, Theor. Comput. Sci..