DocumentCode :
1478288
Title :
Generating Reliable Code from Hybrid-Systems Models
Author :
Anand, Madhukar ; Fischmeister, Sebastian ; Hur, Yerang ; Kim, Jesung ; Lee, Insup
Author_Institution :
Cisco Syst., San Jose, CA, USA
Volume :
59
Issue :
9
fYear :
2010
Firstpage :
1281
Lastpage :
1294
Abstract :
Hybrid systems have emerged as an appropriate formalism to model embedded systems as they capture the theme of continuous dynamics with discrete control. Under this paradigm, distributed embedded systems can be modeled as a network of communicating hybrid automata. Several techniques for code generation from these models have also been proposed and commercially implemented. Providing formal guarantees of the generated code with respect to the model, however, has turned out to be a hard problem. While the model is set in continuous time with concurrent execution and instantaneous switching, the code running on an inherently discrete platform, can be affected by the sampling interval, round-off errors, and communication delays between the sensor, controller, and actuators. Consequently, semantic differences between the model and its code can arise with potentially different system behavior. This paper proposes a criterion for faithful implementation of the hybrid-systems model with a focus on its switching semantics. We discuss different techniques to ensure a faithful implementation of the model, and test the feasibility of our concepts by implementing a model heater system. In this heater case study, we successfully eliminate all fault transitions and, thereby, generate code with correct behavior complying with the specification.
Keywords :
distributed processing; embedded systems; formal specification; program compilers; code generation; communication delays; continuous dynamics; discrete control; distributed embedded systems; embedded systems; hybrid systems; model heater system; Computational modeling; Differential equations; Equations; Instruments; Mathematical model; Numerical models; Vehicles; Formal languages; software engineering.;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/TC.2010.84
Filename :
5453343
Link To Document :
بازگشت