English

Model Based Synthesis of Control Software from System Level Formal Specifications

Software Engineering 2013-04-30 v3 Systems and Control

Abstract

Many Embedded Systems are indeed Software Based Control Systems, that is control systems whose controller consists of control software running on a microcontroller device. This motivates investigation on Formal Model Based Design approaches for automatic synthesis of embedded systems control software. We present an algorithm, along with a tool QKS implementing it, that from a formal model (as a Discrete Time Linear Hybrid System) of the controlled system (plant), implementation specifications (that is, number of bits in the Analog-to-Digital, AD, conversion) and System Level Formal Specifications (that is, safety and liveness requirements for the closed loop system) returns correct-by-construction control software that has a Worst Case Execution Time (WCET) linear in the number of AD bits and meets the given specifications. We show feasibility of our approach by presenting experimental results on using it to synthesize control software for a buck DC-DC converter, a widely used mixed-mode analog circuit, and for the inverted pendulum.

Keywords

Cite

@article{arxiv.1107.5638,
  title  = {Model Based Synthesis of Control Software from System Level Formal Specifications},
  author = {Federico Mari and Igor Melatti and Ivano Salvo and Enrico Tronci},
  journal= {arXiv preprint arXiv:1107.5638},
  year   = {2013}
}

Comments

Accepted for publication by ACM Transactions on Software Engineering and Methodology (TOSEM)

R2 v1 2026-06-21T18:43:15.794Z