Visible to the public An Aircraft Electric Power System Domain-Specific Language for Reactive Control Protocols

Abstract:

Domain-specific languages are languages adapted to a particular application or set of tasks. While general purpose languages (e.g., C or Java) may offer broader programming features, domain-specific languages (e.g., HTML or Verilog) provide more expressiveness and ease of use within a given domain [3]. Examples of languages used in the context of cyber-physical systems can be found in [1] and [2].

In aerospace, next-generation aircraft have moved away from purely mechanical and hydraulic subsystems, instead increasing reliance on electric power to supply subsystems, including flight-critical ones [4]. The growing complexity of electric power systems on aircraft, coupled with the need for safety, reliability, and autonomy, has increased the need to utilize formal methods and verification tools in order to properly analyze and design such large-scale systems. Previous work on embedded control software synthesis has been explored by Piterman and Pnueli [6]. Wongpiromsarn et al. [8] and Ozay et al. [5] have used the temporal logic planning toolbox TuLiP [9] to address the issue of creating correct-by-construction control protocols for aircraft management systems. Given a system topology, Xu et al. [10] show how text-based requirements can be converted to linear temporal logic (LTL), a formal specification language (see [7] for more details) to synthesize centralized and distributed controllers.

While the use of formal specification languages and correct-by construction synthesis methods is beneficial in the area of controller design, unfamiliarity of formal methods amongst engineers may provide a challenge to widespread implementation of formal methods. We propose a domain-specific language that combines tools already in existence: visual programs for single-line diagrams, which engineers are familiar with, and primitives, which provide a more formal structure to specifications. The development of a domain-specific language, therefore, provides an easy interface between industry engineers knowledgeable in aircraft systems and the methods/tools used by computer scientists and software engineers.

This talk describes the use of a domain-specific language, and an accompanying software tool, in constructing correct- by-construction control protocols for aircraft electric power systems. Given a base topology, the language consists of a set of common "primitives," which correspond to some set of standard specifications. The accompanying tool converts these primitives into formal specifications, which are used to synthesize control protocols. We then use TuLiP to synthesize centralized and distributed controllers. For systems with no time involved in the specifications, this tool also provides an option to out- put specifications into a SAT-solver compatible format, thus reducing the synthesis problem to a satisfiability problem. We provide the results of our synthesis procedure on a range of topologies.


References:

[1] K. An, A. Trewyn, A. Gokhale, and S. Sastry. Model-driven performance analy- sis of reconfigurable conveyor systems used in material handling applications. In Cyber-Physical Systems (ICCPS), 2011 IEEE/ACM International Conference on pages 141 -150, April 2011.

[2] A. Bhave, B. Krogh, D. Garlan, and B. Schmerl. View consistency in architectures for cyber-physical systems. In Cyber- Physical Systems (ICCPS), 2011 IEEE/ACM International Conference on, pages 151 -160, April 2011.

[3] M. Mernik, J. Heering, and A. M. Sloane. When and how to develop domain-specific languages. ACM Comput. Surv., 37(4):316-344, Dec. 2005.

[4] I. Moir and A. Seabridge. Aircraft Systems: Mechanical, Electrical and Avionics Subsystems Integration. Aerospace Series. John Wiley & Sons, 2011.

[5] N. Ozay, U. Topcu, and R. M. Murray. Distributed power allocation for vehicle management systems. In CDC-ECE'11, pages 4841-4848, 2011.

[6] N. Piterman and A. Pnueli. Synthesis of reactive(1) designs. In In Proc.Verification, Model Checking, and Abstract Interpretation (VMCAI 06), pages 364-380. Springer, 2006.

[7] A. Pnueli. The temporal logic of programs. In Foundations of Computer Science, 1977., 18th Annual Symposium on, pages 46 -57, 31 1977-nov. 2 1977.

[8] T. Wongpiromsarn, U. Topcu, and R. M. Murray. Formal synthesis of embedded control software: Application to vehicle management systems.

[9] T. Wongpiromsarn, U. Topcu, N. Ozay, H. Xu, and R. M. Murray. Tulip: a software toolbox for receding horizon temporal logic planning. In Proceedings of the 14th international conference on Hybrid systems: computation and control, HSCC '11, pages 313-314, New York, NY, USA, 2011. ACM.

[10] H. Xu, U. Topcu, and R. M. Murray. Reactive protocols for aircraft electric power distribution. In CDC, 2012 IEEE International Conference on, 2012.

Bio:

Huan Xu is a Research Assistant Professor jointly appointed in the Institute for Systems Research and the Department of Aerospace Engineering. She received her S.B. degree in mechanical engineering and material science from Harvard University in 2007, M.S. and Ph.D. in mechanical engineering from the California Institute of Technology in 2008 and 2013, respectively. Her doctoral work focused on the use of formal methods and timed specification languages in the design and analysis of large-scale, complex, distributed control systems.

License: 
Creative Commons 2.5

Other available formats:

An Aircraft Electric Power System Domain-Specific Language for Reactive Control Protocols