• DocumentCode
    3162097
  • Title

    Developing proof carrying code to formally assure termination in fault tolerant distributed controls systems

  • Author

    Jobredeaux, Romain ; Herencia-Zapana, Heber ; Neogi, N. ; Feron, Eric

  • Author_Institution
    Dept. of Aerosp. Eng., Georgia Inst. of Technol., Atlanta, GA, USA
  • fYear
    2012
  • fDate
    10-13 Dec. 2012
  • Firstpage
    1816
  • Lastpage
    1821
  • Abstract
    We address the semantic gap between the model and the implementation of control algorithms for distributed systems in a formal fashion: we provide an interactive (partially automated) method by which to translate the global, model level theoretical properties, such as stability and convergence, into code level assertions and invariants which assure termination of the relevant implementations and validity of the result. We outline a simple flight control system example for altitude holding, and describe a fault-tolerant distributed agreement protocol among n processor nodes, in the presence of a varying network topology. We develop a Lyapunov-like function for the distributed algorithm, and attain a polynomial time theoretical bound on the convergence time Tconv ∝ n3. We then exploit the Lyapunov function and convergence proof, in order to derive requisite ANSI-C Specification Language (ACSL) annotations for the C code distributed implementation, in order to guarantee termination. The ACSL annotations can then be used to automatically generate formal proof obligations via the Frama-C tool. These proof obligations also encompass assertions relating to timing, memory allocation, type checking and processor specific issues. The proof obligations can then be automatically discharged using a theorem prover, and their success guarantees that the behavior of the corresponding distributed code will evince the global properties proven for the model. Thus, the verification process spans efforts from the high-level control theory to the low-level implementation as a C program.
  • Keywords
    ANSI standards; Lyapunov methods; decentralised control; distributed control; fault tolerance; networked control systems; specification languages; stability; ACSL annotations; ANSI-C Specification Language; C code distributed implementation; C program; Frama-C tool; Lyapunov function; Lyapunov-like function; code level assertions; control algorithms; convergence proof; distributed algorithm; distributed systems; fault tolerant distributed controls systems; fault-tolerant distributed agreement protocol; flight control system; high-level control theory; interactive method; low-level implementation; memory allocation; network topology; partially automated method; polynomial time theoretical bound; proof carrying code; stability; theorem prover; type checking; Approximation algorithms; Convergence; Fault tolerance; Fault tolerant systems; Polynomials; Stability analysis; Vectors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Decision and Control (CDC), 2012 IEEE 51st Annual Conference on
  • Conference_Location
    Maui, HI
  • ISSN
    0743-1546
  • Print_ISBN
    978-1-4673-2065-8
  • Electronic_ISBN
    0743-1546
  • Type

    conf

  • DOI
    10.1109/CDC.2012.6425966
  • Filename
    6425966