• DocumentCode
    1470531
  • Title

    MARTe: A Multiplatform Real-Time Framework

  • Author

    Neto, André C. ; Sartori, Filippo ; Piccolo, Fabio ; Vitelli, Riccardo ; De Tommasi, Gianmaria ; Zabeo, Luca ; Barbalace, Antonio ; Fernandes, Horacio ; Valcárcel, Daniel F. ; Batista, Antonio J N

  • Author_Institution
    Inst. de Plasmas e Fusao Nucl., Associacao EURATOM/IST, Lisbon, Portugal
  • Volume
    57
  • Issue
    2
  • fYear
    2010
  • fDate
    4/1/2010 12:00:00 AM
  • Firstpage
    479
  • Lastpage
    486
  • Abstract
    Development of real-time applications is usually associated with nonportable code targeted at specific real-time operating systems. The boundary between hardware drivers, system services, and user code is commonly not well defined, making the development in the target host significantly difficult. The Multithreaded Application Real-Time executor (MARTe) is a framework built over a multiplatform library that allows the execution of the same code in different operating systems. The framework provides the high-level interfaces with hardware, external configuration programs, and user interfaces, assuring at the same time hard real-time performances. End-users of the framework are required to define and implement algorithms inside a well-defined block of software, named Generic Application Module (GAM), that is executed by the real-time scheduler. Each GAM is reconfigurable with a set of predefined configuration meta-parameters and interchanges information using a set of data pipes that are provided as inputs and required as output. Using these connections, different GAMs can be chained either in series or parallel. GAMs can be developed and debugged in a non-real-time system and, only once the robustness of the code and correctness of the algorithm are verified, deployed to the real-time system. The software also supplies a large set of utilities that greatly ease the interaction and debugging of a running system. Among the most useful are a highly efficient real-time logger, HTTP introspection of real-time objects, and HTTP remote configuration. MARTe is currently being used to successfully drive the plasma vertical stabilization controller on the largest magnetic confinement fusion device in the world, with a control loop cycle of 50 ?s and a jitter under 1 ?s. In this particular project, MARTe is used with the Real-Time Application Interface (RTAI)/Linux operating system exploiting the new ?86 multicore processors technology.
  • Keywords
    Linux; real-time systems; scheduling; software libraries; Generic Application Module; HTTP remote configuration; Linux operating system; MARTe; Multithreaded Application Real-Time executor; control loop cycle; debugging; hardware drivers; high level interfaces; magnetic confinement fusion device; multicore processors technology; multiplatform library; multiplatform real time framework; nonportable code; plasma vertical stabilization controller; real time applications; real time logger; real time operating systems; real time scheduler; system services; user code; user interfaces; Application software; Hardware; Libraries; Operating systems; Real time systems; Robustness; Scheduling algorithm; Software algorithms; Software debugging; User interfaces; Computer control systems; data acquisition systems; real-time computer applications; real-time software systems; software performance;
  • fLanguage
    English
  • Journal_Title
    Nuclear Science, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9499
  • Type

    jour

  • DOI
    10.1109/TNS.2009.2037815
  • Filename
    5446608