• DocumentCode
    3752769
  • Title

    Proper handling of interrupts in cyber-physical systems

  • Author

    Mateus Krepsky Ludwich;Antonio Augusto Frohlich

  • Author_Institution
    Federal University of Santa Catarina (UFSC), SC, Brasil
  • fYear
    2015
  • Firstpage
    83
  • Lastpage
    89
  • Abstract
    Interrupt handling plays a fundamental role in Cyber-Physical Systems (CPS), particularly for those whose complexity cannot go with simplistic sensing-control-actuation loops designed around ordinary polling operations. Such systems usually rely on some sort of Real-Time Operating System (RTOS) to support the concurrent execution (or parallel execution, for multicore platforms) of periodic threads that interact with hardware devices mainly through interrupts. Since hardware interrupts are asynchronous with respect to the execution flow of threads, inappropriately handling them has the potential to disrupt the system´s real-time specification, causing undesirable jitter and potential deadline losses. In this paper, we investigate interrupt handling strategies for RTOS considering CPSs designed around specific Models of Computation (MoC). We compare traditional Interrupt Service Routines (ISR), which perform both interrupt reception and the servicing all together, with a time-predictable mechanism that decouples interrupt reception from servicing, making the first deterministic in terms of time and scheduling the second along with other real-time threads. We compare them in terms of latency and jitter considering two different scenarios: that of systems designed around the Discrete Events (DE) MoC and that of those designed around the Time-Triggered (TT) MoC. Our results show that the time-predictable mechanism is essential for TT, while the traditional interrupt handling mechanism is more suitable for DE, thus demonstrating that RTOS need to be configurable in this respect in order to support forthcoming Cyber-Physical Systems.
  • Keywords
    "Ports (Computers)","Real-time systems","Instruction sets","Hardware","Sensors","Jitter","Observers"
  • Publisher
    ieee
  • Conference_Titel
    Rapid System Prototyping (RSP), 2015 International Symposium on
  • Electronic_ISBN
    2150-5519
  • Type

    conf

  • DOI
    10.1109/RSP.2015.7416551
  • Filename
    7416551