Title :
Synthesis of Multitask Implementations of Simulink Models With Minimum Delays
Author :
Di Natale, Marco ; Guo, Liangpeng ; Zeng, Haibo ; Sangiovanni-Vincentelli, Alberto
Author_Institution :
Scuola Superiore S. Anna, Pisa, Italy
Abstract :
Model-based design of embedded control systems using Synchronous Reactive (SR) models is among the best practices for software development in the automotive and aeronautic industry. SR models allow to formally verify the correctness of the design and automatically generate the implementation code. This feature is a major productivity enhancement and, more importantly, can ensure correct-by-design software provided that the code generator is provably correct. This paper presents an improvement of code generation technology for SR obtained via a novel algorithm for optimizing the multitask implementation of Simulink models on single-processor platforms with limited availability of memory. Existing code generation tools require the addition of zero-order hold (ZOH) blocks, and therefore additional memory, and possibly also additional functional delays whenever there is a rate transition in the computation and communication flow. Our algorithm leverages a novel efficient encoding of the scheduling feasibility region to find the task implementation of function blocks with minimum additional functional delays within timing and memory constraints. The algorithm is applied to an automotive case study with tens of function blocks and very high utilization to test its applicability to complex systems.
Keywords :
aerospace industry; automobile industry; embedded systems; program compilers; software engineering; Simulink models; aeronautic industry; automotive industry; code generation technology; correct-by-design software; embedded control systems; functional delays; multitask implementation synthesis; software development; synchronous reactive model; zero-order hold blocks; Computational modeling; Delay; Embedded systems; Mixed integer linear programming; Multitasking; Random access memory; Real time systems; Code generation; Simulink; mixed-integer linear programming (MILP); real-time programming; schedulability; software models;
Journal_Title :
Industrial Informatics, IEEE Transactions on
DOI :
10.1109/TII.2010.2072511