skip to main content
research-article
Public Access

Timestamp Temporal Logic (TTL) for Testing the Timing of Cyber-Physical Systems

Published:27 September 2017Publication History
Skip Abstract Section

Abstract

In order to test the performance and verify the correctness of Cyber-Physical Systems (CPS), the timing constraints on the system behavior must be met. Signal Temporal Logic (STL) can efficiently and succinctly capture the timing constraints of a given system model. However, many timing constraints on CPS are more naturally expressed in terms of events on signals. While it is possible to specify event-based timing constraints in STL, such statements can quickly become long and arcane in even simple systems. Timing constraints for CPS, which can be large and complex systems, are often associated with tolerances, the expression of which can make the timing constraints even more cumbersome using STL. This paper proposes a new logic, Timestamp Temporal Logic (TTL), to provide a definitional extension of STL that more intuitively expresses the timing constraints of distributed CPS. TTL also allows for a more natural expression of timing tolerances. Additionally, this paper outlines a methodology to automatically generate logic code and programs to monitor the expressed timing constraints. Since our TTL monitoring logic evaluates the timing constraints using only the timestamps of the required events on the signal, the TTL monitoring logic has significantly less memory footprint when compared to traditional STL monitoring logic, which stores the signal value at the required sampling frequency. The key contribution of this paper is a scalable approach for online monitoring of the timing constraints. We demonstrate the capabilities of TTL and our methodology for online monitoring of TTL constraints on two case studies: 1) Synchronization and phase control of two generators and, 2) Simultaneous image capture using distributed cameras for 3D image reconstruction.

References

  1. The grid code (february 2017) issue 5, revision 20.Google ScholarGoogle Scholar
  2. 2016. NIST Cyber Physical Systems Program. https://www.nist.gov/programs-projects/cyber-physical-systems-program. (2016). {Online; accessed 12-September-2016}.Google ScholarGoogle Scholar
  3. Rajeev Alur, Tomás Feder, and Thomas A Henzinger. 1996. The benefits of relaxing punctuality. Journal of the ACM (JACM) 43, 1 (1996), 116--146. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Andreas Bauer et al. 2006. Monitoring of real-time properties. In International Conference on Foundations of Software Technology and Theoretical Computer Science. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Johan Bengtsson et al. 1996. UPPAAL - a tool suite for automatic verification of real-time systems. In Hybrid Systems III. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Jyotirmoy V. Deshmukh et al. 2015. Robust online monitoring of signal temporal logic. In Runtime Verification. Springer.Google ScholarGoogle Scholar
  7. Alexandre Donzé. 2010. Breach, a toolbox for verification and parameter synthesis of hybrid systems. In CAV. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Alexandre Donzé et al. 2012. On temporal logic and signal processing. In International Symposium on Automated Technology for Verification and Analysis. Springer, 92--106. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Georgios Fainekos et al. 2009. Robustness of temporal logic specifications for continuous-time signals. Theoretical Computer Science 410 (2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Goran Frehse et al. 2011. SpaceEx: Scalable verification of hybrid systems. In CAV. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Thomas A. Henzinger et al. 1997. HyTech: A model checker for hybrid systems. In CAV. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. IEEE Instrumentation and Measurement Society. 2002. IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems (IEEE Std 1588-2002). (2002).Google ScholarGoogle Scholar
  13. Stefan Jakšić et al. 2015. From signal temporal logic to FPGA monitors. In Formal Methods and Models for Codesign (MEMOCODE), 2015 ACM/IEEE International Conference on. IEEE. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Ron Koymans. 1990. Specifying real-time properties with metric temporal logic. Real-time Systems 2, 4 (1990), 255--299. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Oded Maler and Dejan Nickovic. Monitoring temporal properties of continuous signals. In FTRTFT 2004. Springer.Google ScholarGoogle ScholarCross RefCross Ref
  16. Oded Maler et al. 2008. Checking temporal properties of discrete, timed and continuous behaviors. In Pillars of Computer Science. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Oded Maler et al. 2013. Monitoring properties of analog and mixed-signal circuits. International Journal on Software Tools for Technology Transfer 15 (2013).Google ScholarGoogle Scholar
  18. D Mills. 1989. Network time protocol (version 2) specification and implementation; RFC-1119. Internet Requests for Comments1119 (1989). Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Dejan Nickovic and Oded Maler. 2007. AMT: A property-based monitoring tool for analog systems. In FORMATS. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Aviral Shrivastava et al. 2016. Time in cyber-physical systems. In Proc. of CODES+ISSS. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Aviral Shrivastava et al. 2017. A testbed to verify the timing behavior of cyber-physical systems. In Proceedings of The 54th Annual Design Automation Conference). Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Timestamp Temporal Logic (TTL) for Testing the Timing of Cyber-Physical Systems

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!