Desk summary
- 01DO-331 is a supplement: it follows DO-178C’s outline section by section (MB.1 … MB.12, Annex MB.A) and only adds, modifies or clarifies what models change. Wherever it is silent, DO-178C applies unchanged.
- 02Its core additions: a definition and classification of models (specification vs design), model standards (data item MB.11.23), verification of models by review, analysis and simulation (MB.6.3, MB.6.8), and model coverage analysis for design models (MB.6.7).
- 03Annex MB.A reuses the DO-178C objective tables and adds new ‘MB’ objectives — notably three simulation objectives (cases correct, procedures correct, results correct and discrepancies explained) that appear wherever simulation is used for credit.
- 04On a real project both documents apply: DO-178C for textual and hand-coded parts, DO-331 for modeled parts. The PSAC must say which objectives are met how.
- 05DO-331 was published in December 2011 with DO-178C and is recognised by the FAA (AC 20-115D) and EASA; before it, model-based programs were handled by project-specific issue papers / certification review items.
Intuition
Think of it like a building-code amendment for timber frames
The national building code (DO-178C) was written with brick in mind. When timber-frame construction became common, nobody rewrote the code; an amendment was issued that says ‘in section 6, where it says wall, read frame; add these three fire-stop inspections; everything else stands’. DO-331 is that amendment for models: same chapters, same objectives, a few substitutions and a handful of new checks.
How a supplement works
All four DO-178C supplements (DO-330 tools, DO-331 models, DO-332 object orientation, DO-333 formal methods) were produced by the same joint committee (RTCA SC-205 / EUROCAE WG-71). The three technique supplements mirror DO-178C’s numbering with a prefix — DO-331 sections are numbered MB.1 to MB.12 and its objective tables MB.A-1 to MB.A-10. For each section, the supplement either says ‘no change’, rewrites the guidance to cover models, or adds new paragraphs. Rierson calls DO-331 the most challenging supplement the committee produced and the last one approved, reflecting how many different modeling philosophies it had to accommodate.
Note
Supplements combine
A model-based project often uses several supplements together: DO-331 for the models, DO-330 for qualifying the code generator, model checker or simulator, and DO-333 if formal property proving is used for credit. The PSAC states which supplements apply to which components. See Tool Qualification (DO-330) and Formal Methods (DO-333).
The structure of DO-331
DO-331 sections and what they add to the corresponding DO-178C section
| Section | DO-178C topic | What DO-331 adds or changes |
|---|---|---|
| MB.1 | Introduction | Defines model-based development terms; characterises models (MB.1.6); classifies them as specification or design models (MB.1.6.2); gives the five model usage examples (MB.1.6.3, Table MB.1-1). |
| MB.2 | System aspects | Recognises models developed in the system processes and the need for requirements from which a model is developed; derived requirements in models still flow back to the system safety assessment. |
| MB.3 | Software life cycle | Essentially unchanged — processes are the same, artifacts change form. |
| MB.4 | Planning | Plans must identify each model, the life cycle data it represents, the model standards, the modeling and simulation environment, and any simulation credit sought. |
| MB.5 | Development processes | Specification models in the requirements process, design models in the design process; model element libraries; identification of model elements that do not represent requirements or design; code developed from design models. |
| MB.6 | Verification | Reviews and analyses of specification and design models (MB.6.3); source code verification wording adapted to models (MB.6.3.4); model coverage analysis (MB.6.7, example criteria in Table MB.6-1); model simulation (MB.6.8), including simulation cases, procedures and results. |
| MB.7 | Configuration management | Models, model libraries, configuration settings and simulation data are configuration items like any other. |
| MB.8 – MB.10 | SQA, liaison, certification overview | Largely unchanged; SQA audits now include model standards conformance. |
| MB.11 | Life cycle data | Plan contents expanded for models; simulation cases, procedures and results become verification data; adds the Software Model Standards data item (MB.11.23). |
| MB.12 | Additional considerations | Carries DO-178C §12 over to models; tool qualification for modeling, simulation and generation tools is done under DO-330. |
| Annex MB.A | Objective tables | DO-178C tables re-issued with model wording and new MB objectives (see below). |
| Glossary, FAQs, DO-278A tables | — | Model-specific definitions (model, model coverage analysis, model simulator…), frequently asked questions (for example on model vs code coverage), and the equivalent tables for ground systems (MB.C-x). |
What changes, process by process
Planning
Under DO-331 the PSAC and SDP must explain how modeling fits the life cycle: which models exist, whether each is a specification or a design model, what requirements each is developed from, which standard governs it, which libraries are allowed, and how code is produced. The SVP must describe the verification approach for each model, and — if simulation is used for credit — the simulation method, tools, procedures and environment, plus the rationale for whether the simulator needs qualification. See PSAC, SDP, SVP, SCMP & SQAP.
Practitioner tip
Put both objective sets in the PSAC
Most programs mix textual requirements, models and some hand code (drivers, schedulers, BSP). Rierson suggests carrying both the DO-178C and DO-331 objective tables in the PSAC (an appendix works) and stating, per objective, which components meet it through which technique. This one table prevents most ‘which document applies here?’ arguments at SOI reviews.
Development
Development guidance is rewritten so that a specification model can be the output of the software requirements process and a design model the output of the design process. Three ideas are new. First, there must always be requirements external to the model that the model is developed from. Second, model element libraries — the blocks and symbols the modeler drags in — must be assured to the software level of the component, and unassured elements must be removed or explicitly prohibited by the standard. Third, elements that do not contribute to requirements or design (annotations, documentation blocks, test points) must be identified so that they are not mistaken for requirements.
Verification
Verification keeps DO-178C’s objectives but applies them to models: a design model is reviewed and analysed for compliance with the HLR, accuracy and consistency, compatibility with the target, verifiability, conformance to standards, traceability and algorithm accuracy, just like textual LLR. Two new activity families are added: model simulation as a means of compliance for some of those objectives (with new objectives to verify the simulation itself), and model coverage analysis to detect unintended function in design models. Source code verification now notes that code must not trace to model elements that are not requirements.
Model-based development
Verification of code does not disappear
Even with a qualified code generator and full simulation credit, Annex MB.A still lists the testing of Executable Object Code (Table MB.A-6) and the verification of verification, including structural coverage (Table MB.A-7). DO-331 shifts effort earlier; it does not delete the right-hand side of the V. See Code Generation & Code Verification.
New objectives in Annex MB.A
Annex MB.A reproduces the ten DO-178C tables with model wording and appends new objectives numbered with an ‘MB’ prefix after the existing ones. The most visible are the simulation objectives, which repeat in three tables because simulation can be used at three points in the life cycle. An RTCA committee topic paper (FTP 1002) later clarified that these are additional objectives that apply when simulation is used — they do not replace the objective that simulation is being used to satisfy.
Model-specific objectives added in Annex MB.A (paraphrased)
| Table | Added objectives | When they apply |
|---|---|---|
| MB.A-2 (development) | Model elements that do not contribute to HLR (specification model), to architecture or to LLR (design model) are identified | Whenever a specification or design model is used |
| MB.A-3 (verification of HLR) | MB8 simulation cases are correct; MB9 simulation procedures are correct; MB10 simulation results are correct and discrepancies explained | When simulation is used as a means of compliance for HLR / specification model objectives |
| MB.A-4 (verification of design) | MB14, MB15, MB16 — the same three simulation objectives | When simulation is used for design model objectives (compliance with HLR, accuracy, verifiability, algorithms, architecture) |
| MB.A-7 (verification of verification) | MB10, MB11, MB12 — the same three simulation objectives | When simulation is used for testing-related objectives (MB.6.8.2) |
Note
Model coverage is an activity, not a numbered objective
Model coverage analysis (MB.6.7) appears in the activity column of Annex MB.A — against design-model compliance in MB.A-4 and against test coverage of LLR in MB.A-7 — rather than as a new objective. Rierson notes this was a compromise during drafting; in practice authorities expect it to be done, or an alternative giving equivalent assurance. See Model Coverage Analysis.
Projects that mix text, models and hand code
A helicopter flight control computer is typical: textual HLR derived from system requirements; design models for the AHRS voter, the inner and outer control loops and the actuator loop; hand-written code for the scheduler, I/O drivers and built-in test; generated code integrated with the hand code into one executable. DO-331 applies to the modeled components and DO-178C to the rest, but integration, hardware/software testing and structural coverage cover the whole executable. The interfaces between modeled and hand-written parts — data types, units, call rates, initialisation order — are where most integration defects appear, so the plans should say who verifies them and how. See Data & Control Coupling.
Worked example
One component, two documents
On a typical helicopter FCC, the outer-loop guidance is a design model (DO-331) while the scheduler that calls it at, say, 50 Hz is hand-written C (DO-178C). The design model’s sample time, the call rate in the scheduler and the rate assumed in the HLR must match; the integration review checks exactly that, and the hardware/software integration tests exercise the generated step function under the real scheduler.
Regulatory status and history
Under DO-178B there was no model guidance, so authorities used project-specific issue papers (FAA) and certification review items (EASA); EASA’s certification memo CM-SWCEH-002 carried a section on model-based development. DO-331 (and its EUROCAE twin ED-218) was published alongside DO-178C in December 2011 and is recognised as an acceptable means of compliance through FAA AC 20-115D and the equivalent EASA material. Even so, aspects such as simulation credit, model coverage criteria and auto-generated tests remain areas where early agreement with the authority is wise.
What the auditor looks for
What a reviewer checks against DO-331 at SOI #1
Is each model classified, with its life cycle data role stated? Are the requirements above each model identified? Is there a Software Model Standard for each model type and does it cover the MB.11.23 contents? Is simulation credit explicitly scoped with the related MB objectives? Are libraries assured to the right level? Are tool qualification decisions for the generator, checker, simulator and coverage tool justified? Is the split between DO-178C and DO-331 parts explicit?
Self-check
A project uses simulation of its design model to satisfy ‘LLR comply with HLR’ (Table MB.A-4). Which statement is correct?