{"title":"Bridging the tool gap for model-based design from flight control function design in Simulink to software design in SCADE","authors":"Georg Walde, R. Luckner","doi":"10.1109/DASC.2016.7778044","DOIUrl":null,"url":null,"abstract":"Development processes of software for safety critical, complex aircraft systems, for example flight control systems, are very demanding. In the context of an aircraft certification, strict process guidelines and objectives from the Radio Technical Commission for Aeronautics according to the Development Assurance Level of the Software have to be complied to. Efficiency and compliance are important goals when defining processes from these requirements. Our approach to gain efficiency is, to reuse models from function design for code generation, and to use qualified tools. In control engineering, MATLAB, Simulink and Stateflow are widely used tools to build such models. The code generator Embedded Coder of the MathWorks tool chain is not available as qualifiable tool. Hence, it is common in the avionics domain to use SCADE Suite and its qualifiable code generator KCG for software design. To enable reuse of Simulink/Stateflow models for code generation with KCG it is necessary to translate them to Scade. In the project CERTT-FBW231 a feasibility study of the automatic translation from Simulink/Stateflow to Scade using the SCADE Suite Gateway for Simulink was performed. An existing control law model of an automatic flight control system was used as example. Due to its size and functionality it is a demanding and suitable example. To enable the translation of Simulink/Stateflow models, modeling guidelines were derived in the project MCAS2. We motivate our approach and show how it can be used effectively by automatic guideline checking and model repair. Our tool chain, the translation and configuration management processes are presented after briefly introducing the example model. A selection of guidelines and repair algorithms are shown, that helped to increase the translatability of our example.","PeriodicalId":340472,"journal":{"name":"2016 IEEE/AIAA 35th Digital Avionics Systems Conference (DASC)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE/AIAA 35th Digital Avionics Systems Conference (DASC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DASC.2016.7778044","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9
Abstract
Development processes of software for safety critical, complex aircraft systems, for example flight control systems, are very demanding. In the context of an aircraft certification, strict process guidelines and objectives from the Radio Technical Commission for Aeronautics according to the Development Assurance Level of the Software have to be complied to. Efficiency and compliance are important goals when defining processes from these requirements. Our approach to gain efficiency is, to reuse models from function design for code generation, and to use qualified tools. In control engineering, MATLAB, Simulink and Stateflow are widely used tools to build such models. The code generator Embedded Coder of the MathWorks tool chain is not available as qualifiable tool. Hence, it is common in the avionics domain to use SCADE Suite and its qualifiable code generator KCG for software design. To enable reuse of Simulink/Stateflow models for code generation with KCG it is necessary to translate them to Scade. In the project CERTT-FBW231 a feasibility study of the automatic translation from Simulink/Stateflow to Scade using the SCADE Suite Gateway for Simulink was performed. An existing control law model of an automatic flight control system was used as example. Due to its size and functionality it is a demanding and suitable example. To enable the translation of Simulink/Stateflow models, modeling guidelines were derived in the project MCAS2. We motivate our approach and show how it can be used effectively by automatic guideline checking and model repair. Our tool chain, the translation and configuration management processes are presented after briefly introducing the example model. A selection of guidelines and repair algorithms are shown, that helped to increase the translatability of our example.
安全关键、复杂的飞机系统(例如飞行控制系统)的软件开发过程要求非常高。在飞机认证的背景下,必须遵守无线电航空技术委员会根据软件开发保证水平制定的严格流程指南和目标。在根据这些需求定义过程时,效率和遵从性是重要的目标。我们获得效率的方法是,重用代码生成的功能设计模型,并使用合格的工具。在控制工程中,MATLAB、Simulink和Stateflow是构建此类模型的常用工具。MathWorks工具链的代码生成器嵌入式编码器不能作为合格工具使用。因此,在航空电子领域使用SCADE Suite及其合格代码生成器KCG进行软件设计是很常见的。为了使使用KCG生成代码的Simulink/状态流模型能够重用,有必要将它们转换为Scade。在CERTT-FBW231项目中,使用Scade Suite Gateway for Simulink进行了从Simulink/Stateflow到Scade的自动转换的可行性研究。以已有的某自动飞行控制系统控制律模型为例。由于它的大小和功能,它是一个要求很高的合适的例子。为了实现对Simulink/Stateflow模型的转换,在MCAS2项目中导出了建模指南。我们激励了我们的方法,并展示了如何通过自动指南检查和模型修复来有效地使用它。在简要介绍了示例模型后,给出了我们的工具链、转换和配置管理过程。本文给出了一些指导原则和修复算法,它们有助于提高示例的可译性。