From control law diagrams to Ada via Circus

  • Authors:
  • Ana Cavalcanti;Phil Clayton_aff2n3;Colin O’Halloran

  • Affiliations:
  • University of York, York, UK;af3 Veonix, Worcester, UK;af2 Systems Assurance Group, QinetiQ, Malvern, UK

  • Venue:
  • Formal Aspects of Computing
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Control engineers make extensive use of diagrammatic notations; control law diagrams are used in industry every day. Techniques and tools for analysis of these diagrams or their models are plentiful, but verification of their implementations is a challenge that has been taken up by few. We are aware only of approaches that rely on automatic code generation, which is not enough assurance for certification, and often not adequate when tailored hardware components are used. Our work is based on Circus, a notation that combines Z, CSP, and a refinement calculus, and on industrial tools that produce partial Z and CSP models of discrete-time Simulink diagrams. We present a strategy to translate Simulink diagrams to Circus, and a strategy to prove that a parallel Ada implementation refines the Circus specification; we rely on a Circus semantics for the program. By using a combined notation, we provide a specification that considers both functional and behavioural aspects of a large set of diagrams, and support verification of a large number of implementations. We can handle, for instance, arbitrarily large data types and dynamic scheduling.