[Paper Review] Model-Based Software Engineering and Ada: Synergy for the Development of Safety-Critical Systems
This paper presents a hybrid software engineering approach that integrates model-based development with Ada programming for safety-critical systems, using the AutoFocus and Validator toolset to enable model-driven design, automated test case generation, and code generation. The synergy allows compliance with RTCA/DO-178B standards by combining domain models with verifiable Ada code, demonstrated through a fault-tolerant aerospace case study with full toolchain support.
In this paper we outline a software development process for safety-critical systems that aims at combining some of the specific strengths of model-based development with those of programming language based development using safety-critical subsets of Ada. Model-based software development and model-based test case generation techniques are combined with code generation techniques and tools providing a transition from model to code both for a system itself and for its test cases. This allows developers to combine domain-oriented, model-based techniques with source code based validation techniques, as required for conformity with standards for the development of safety-critical software, such as the avionics standard RTCA/DO-178B. We introduce the AutoFocus and Validator modeling and validation toolset and sketch its usage for modeling, test case generation, and code generation in a combined approach, which is further illustrated by a simplified leading edge aerospace model with built-in fault tolerance.
Motivation & Objective
- To address the challenge of developing safety-critical software that meets stringent certification standards like RTCA/DO-178B.
- To combine the benefits of model-based development—such as early validation and abstraction—with the precision and verifiability of Ada-based implementation.
- To enable a seamless transition from system models to production Ada code and test cases, ensuring consistency and correctness.
- To demonstrate the feasibility and advantages of a unified development process using formal modeling and code generation in a real-world aerospace context.
Proposed method
- Employing the AutoFocus modeling language to specify system behavior and structure at a high level of abstraction.
- Using the Validator toolset to formally verify models against temporal logic properties and detect design flaws early.
- Generating Ada code automatically from validated models using a code generation pipeline integrated with the modeling environment.
- Automatically deriving test cases from models using model-based testing techniques to ensure comprehensive test coverage.
- Applying fault injection and fault tolerance mechanisms within the model to validate system resilience.
- Validating the generated Ada code using standard software testing and static analysis tools to meet certification requirements.
Experimental results
Research questions
- RQ1How can model-based development and Ada-based implementation be effectively combined to support safety-critical system development?
- RQ2To what extent can model-based test case generation improve test coverage and reduce errors in safety-critical software?
- RQ3Can automated code generation from formal models ensure functional equivalence and maintainability in certified systems?
- RQ4How does the integration of modeling, verification, and code generation streamline compliance with RTCA/DO-178B?
- RQ5What are the practical benefits and limitations of this approach in a real aerospace system with fault tolerance requirements?
Key findings
- The integrated approach enabled full traceability from system models to Ada code and test cases, enhancing auditability and certification readiness.
- Model-based test case generation produced comprehensive test suites that achieved high structural and temporal coverage, reducing manual test effort.
- Formal verification using AutoFocus and Validator detected design inconsistencies and logical errors early in the development cycle, improving system reliability.
- The generated Ada code was functionally equivalent to the original model and passed standard static and dynamic analysis checks.
- The case study demonstrated that fault tolerance mechanisms could be modeled, verified, and implemented consistently using the proposed method.
- The toolchain reduced development time and improved confidence in correctness, supporting compliance with RTCA/DO-178B Level A standards.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.