Certified Code Generation of Model-Based Modelica .. (CertMod)
Certified Code Generation of Model-Based Modelica Controllers
Start date: Feb 1, 2014,
End date: Jul 31, 2016
In the Clean Sky consortium, several members are working on modelling and simulation of aircraft systems with the multi-domain modelling language Modelica. The final goal is to not only utilize these models for design and evaluation, but also to directly use Modelica controller models for generation of certified code in embedded systems. On one hand this will improve the system design process, since controllers developed in Modelica won’t need to be coded manually in a different language. On the other hand advanced nonlinear controllers could possibly be certified and thus applied on-board an aircraft.The objective of the CertMod project is to define the type of models and the Modelica 3.3 subset that shall be handled. This subset will be based on the discrete extensions of Modelica 3.3, including clocks and state machines. Once this subset is identified a prototype of a DO-178B Level A qualified code generator will be developed. This code generator will be an extension of the already existing SCADE Suite KCG code generator that has been qualified at Level A for DO-178B on numerous aircraft projects (Airbus A380, Boeing 787, etc.) by all civilian aeronautics certification authorities (FAA, EASA, etc.) . It will produce the C source code the controller that can be guaranteed to be a correct implementation of the input Modelica model. In order to do so, a preliminary phase will be added to KCG in order to perform a translation from the identified Modelica 3.3 subset into an intermediate form of KCG.Work will be performed to prototype the elements of the code generator that are necessary to qualify the tool. This includes traceability from the input Modelica model down to the C generated code, various types of specification and design documents, and a procedure to extensively test the code generator.Two representative Modelica models will be provided by DLR, the topic manager, and will be used to validate the code generator prototype.
Get Access to the 1st Network for European Cooperation