AeroCoder
Open the tools

DO-178C HANDBOOK · CONTENTS

DO-178C HANDBOOK

/

Model-Based Development (DO-331)

Verifying Models: Reviews & Analyses

Reviewing models against requirements and standards, and static analysis of models.

Desk summary

  • 01Models are verified against the same objectives as the requirements or design they represent: a specification model against Table MB.A-3 (HLR objectives), a design model against Table MB.A-4 (LLR and architecture objectives).
  • 02The objectives: compliance with the requirements above, accuracy and consistency, compatibility with the target, verifiability, conformance to standards, traceability, algorithm accuracy — plus architecture-level consistency and partitioning for design models.
  • 03Means of compliance combine reviews (human judgement, checklists), analyses (automated rule checking, design-error detection, range analysis, dead-logic detection, formal property proving) and simulation (see Simulation for Verification Credit).
  • 04Simulation alone cannot satisfy objectives such as standards conformance, traceability, target compatibility or partitioning — reviews and analyses are always needed.
  • 05Model elements that represent neither requirements nor design must be identified, and code must not trace to them.

Intuition

Proof-reading, spell-checking and test-driving

Verifying a model is like checking a technical manual three ways: a person reads it against the brief (review), a machine checks spelling, grammar and house style (analysis and rule checking), and someone follows the procedure on a mock-up to see if it works (simulation). Each catches things the others miss; DO-331 lets you combine them, but never lets the mock-up replace the reading.

What is being verified

DO-331 rewrites DO-178C §6.3.1 to §6.3.3 for models (MB.6.3.1 to MB.6.3.3) without changing the intent. The objectives are listed in the model-aware Annex tables MB.A-3 and MB.A-4; the DO-178C version of Table A-4 is embedded below for orientation.

Design-model verification objectives (Table MB.A-4, paraphrased) and practical means

ObjectiveWhat it means for a design modelTypical means
LLR comply with HLREach model behaviour is what the HLR require, including modes, limits, failure responsesReview against HLR; requirements-based simulation; model coverage analysis (MB.6.7)
LLR accurate and consistentNo contradictions, unreachable logic, overflow, division by zero, uninitialised state, type mismatchesDesign-error detection, range analysis, diagnostics-as-errors, review
LLR compatible with targetData types, rates, memory and throughput fit the processor and RTOS; no constructs unsupported on targetReview against target/hardware data; execution-time estimates
LLR verifiableEvery behaviour can be observed and exercised; no hidden state without test accessReview; test-generation feasibility; simulation
LLR conform to standardsModel follows the Software Model StandardAutomated rule checking + review of non-automatable rules
LLR traceable to HLREach model element realising a requirement traces to an HLR; derived elements are marked and justifiedRequirement links on model elements; trace reports; review
Algorithms accurateNumerical behaviour correct — filters, integrators, schedules, voting, especially at discontinuitiesSimulation against analytical references; review of numerical design; range analysis
Architecture compatible with HLR, consistent, compatible with target, verifiable, conforms to standardsDecomposition, interfaces, rates and data/control flow between model components are soundReview; interface checks; integration simulation
Partitioning integrityWhere partitioning is used, the model’s placement does not breach itReview (cannot be shown by simulation)

DO-178C Table A-4

Verification of Outputs of Software Design Process

#ObjectiveRefABCDOutputs
1

Low-level requirements comply with high-level requirements

6.3.2.a·Software Verification Results (11.14)
2

Low-level requirements are accurate and consistent

6.3.2.b·Software Verification Results (11.14)
3

Low-level requirements are compatible with target computer

6.3.2.c··Software Verification Results (11.14)
4

Low-level requirements are verifiable

Unlike the high-level equivalent (A-3 obj 4), not required at Level C.

6.3.2.d··Software Verification Results (11.14)
5

Low-level requirements conform to standards

6.3.2.e·Software Verification Results (11.14)
6

Low-level requirements are traceable to high-level requirements

6.3.2.f·Software Verification Results (11.14)
7

Algorithms are accurate

6.3.2.g·Software Verification Results (11.14)
8

Software architecture is compatible with high-level requirements

6.3.3.a·Software Verification Results (11.14)
9

Software architecture is consistent

Components, data flow and control flow fit together correctly.

6.3.3.b·Software Verification Results (11.14)
10

Software architecture is compatible with target computer

6.3.3.c··Software Verification Results (11.14)
11

Software architecture is verifiable

6.3.3.d··Software Verification Results (11.14)
12

Software architecture conforms to standards

6.3.3.e·Software Verification Results (11.14)
13

Software partitioning integrity is confirmed

Conditional: only applies when partitioning is used; the only A-4 objective at Level D.

6.3.3.fSoftware Verification Results (11.14)
applies with independence
applies
· not required

A:13 B:13 C:9 D:1

Note

Specification models: the same pattern one level up

For a specification model, Table MB.A-3 applies: compliance with system requirements, accuracy and consistency, compatibility with target, verifiability, conformance to standards, traceability to system requirements and algorithm accuracy. Simulation may contribute to some of these (compliance, accuracy and consistency, verifiability, algorithms) with the additional simulation objectives MB8–MB10.

Reviewing a model

A model review is a structured walkthrough of the model against its parent requirements with a checklist, performed with the independence the software level requires. Reviewing on screen is fine, but the review record must identify the exact model version, configuration and library versions, and the review must cover the whole model, including masked subsystems, library blocks’ parameters, chart internals and embedded textual functions. Many teams review a generated design description (an automatically produced report of every subsystem, block parameter, interface and execution order) alongside the live model; the reference project archives such a design description for each component.

An effective design-model review

01

Prepare the baseline

Freeze model, libraries, data dictionary and configuration set; run the standards checker and design-error analyses first so reviewers do not waste time on mechanical findings.

02

Trace top-down

For each HLR, find the model elements that implement it and confirm behaviour, limits, units, rates and failure responses match.

03

Trace bottom-up

For each subsystem/chart, confirm it traces to an HLR or is a marked, justified derived requirement — and that derived requirements went to the safety assessment.

04

Check numerics

Data types, scaling, saturation, filter discretisation, integrator limits, lookup-table extrapolation, initial conditions.

05

Check timing and architecture

Rates, rate transitions, execution order, interfaces to hand code and other models, partition allocation.

06

Record findings

Each finding against a specific model element and version; closure verified on the updated baseline.

Pitfall

Reviewing only the top level

A 20-block top level can hide 2,000 blocks in library links and masked subsystems. Reviews that sign off the top-level diagram and rely on ‘the library is verified’ miss parameterisation errors — the right block with the wrong gain, sign or limit. Library blocks are assured once, but every instance’s parameters must be reviewed in context.

Compliance, traceability and the non-requirement elements

Traceability on a model runs at element granularity: requirement links are attached to subsystems, blocks, states or transitions, and reports list, per HLR, the elements implementing it and, per element, its parent requirements. DO-331 adds the obligation to identify model elements that do not contribute to requirements or architecture — annotations, documentation blocks, test points, signal viewers, model information blocks — so they are never mistaken for requirements and generate no code. Correspondingly, the source code verification guidance requires that code not trace to such elements. More on granularity and tooling in Traceability Through Models.

Worked example

Voting requirements to model elements

In the reference project, the HLR ‘with three valid AHRS, use the middle value of each parameter’ links to the Mid_Value subsystem and its selection logic; ‘with two valid, use the average’ links to Avg_Value; a validity-check HLR links to the comparison blocks computing the valid count. The generated requirements report lists those element links per HLR, and reverse links show every subsystem has a parent — the evidence for both trace directions.

Accuracy and consistency: design-error detection

Model analysis tools can search, exhaustively or by abstraction, for classes of design error that reviews and simulation easily miss: integer overflow, division by zero, out-of-bounds array access, invalid casts, non-reachable states and dead logic (conditions or branches that can never be taken given the input ranges). Results are typically classified per objective as proven valid, falsified with a counterexample, or undecided. Undecided results are not passes — they must be resolved by review, refined constraints or other analysis.

Worked example

What a design-error report looks like

The reference project’s FCC-level design-error report checked integer overflow, division by zero and declared design ranges: most objectives were proven valid, but overflow on several actuator-channel type conversions and the voter’s output range came back undecided (the tool derived a wider range than the declared ±180 degrees) and needed manual justification. A separate dead-logic analysis found that the actuator saturation blocks could never reach their limits given the declared upstream ranges. That is a classic disposition decision: if the limits are defensive protection required by the HLR, they stay — justified, and recorded as unreachable for model and code coverage — rather than being deleted as dead logic; if no requirement asks for them, they are a design question to resolve.

Practitioner tip

Declare ranges before you analyse

Range-based analyses are only as good as the input constraints. Put design min/max on every root input (from the HLR and interface control documents) before running analyses; without them the tool assumes full type ranges and reports overflows that cannot occur — or, worse, engineers widen types to silence it.

Target compatibility, verifiability and algorithms

Target compatibility cannot be shown by simulating on a workstation: it is a review of data types (does the target have hardware floating point? is double precision allowed?), rates versus available throughput, memory footprint, and constructs that the target environment handles differently. Verifiability asks whether each behaviour can be exercised and observed — internal states with no observable effect, or logic that only acts after an hour of flight, need test access or design change. Algorithm accuracy targets the numerics: discretisation of continuous designs (Tustin vs forward Euler), filter coefficients at the actual sample rate, gain-schedule interpolation, integrator anti-windup behaviour, and voter behaviour at thresholds.

Worked example

Algorithm accuracy for a pitch law

The control engineers designed a lead-lag compensator in the continuous domain. The review checks that the design model’s discrete coefficients correspond to the documented discretisation at the real 80 Hz rate, simulation compares the discrete model’s frequency response with the continuous reference within a stated tolerance, and the anti-windup clamp is checked at the exact saturation boundary — where discontinuities make algorithm errors most likely.

Formal property proving on models

Because design models have precise semantics, model checkers and provers can verify safety properties over all input sequences rather than the sampled ones a simulation covers. Properties are written as observers or temporal assertions derived from requirements: ‘at most one vertical mode is engaged’, ‘the voted output always lies between the minimum and maximum of the valid inputs’, ‘the surface command never exceeds its limit’, ‘a disengage request always results in autopilot off within one frame’. Industrial experience reported by Rockwell Collins (Miller, Whalen and Cofer) showed model checking of mode-logic and display-management models finding errors that extensive simulation had missed.

Model-based development

Taking credit for proofs

If a proof is used to satisfy an objective (for example, compliance of a design model with an HLR), it is a formal analysis under DO-333, the property itself must be reviewed for correct capture of the requirement, the assumptions and environment constraints must be justified, and the proving tool may need qualification. Proofs complement but do not replace the testing of the Executable Object Code. See Formal Methods (DO-333).

What the auditor looks for

What reviewers look for in model verification records

Review records tied to exact model and library versions; checklists that cover every MB.A-4 objective; evidence that analyses were run with the controlled configuration; disposition of every undecided or falsified analysis result; traceability reports in both directions; identification of non-requirement elements; independence of the reviewer at Levels A and B; and, if simulation was used, the separate verification of the simulation cases, procedures and results.

Self-check

Which design-model objective can simulation NOT be used to satisfy, according to DO-331 and common practice?

Sources & further reading

  • RTCA DO-331 (2011) — MB.6.3.1–MB.6.3.4, Annex Tables MB.A-3 and MB.A-4
  • RTCA DO-333 (2011), Formal Methods Supplement
  • Rierson, Developing Safety-Critical Software (2013), ch. 14
  • Ansys, SCADE Suite methodology handbook for DO-178C/DO-331 — verification objectives that simulation can and cannot address
  • S. P. Miller, M. W. Whalen, D. D. Cofer, ‘Software model checking takes off’, Communications of the ACM 53(2), 2010
  • Model-based DO-178C/DO-331 reference project: AHRS_voter design description, FCC design-error and dead-logic detection reports, software requirements report

← Previous

Model Standards & Modeling Constraints

Model-Based Development (DO-331)

Next →

Simulation for Verification Credit

Model-Based Development (DO-331)

On this page

What is being verifiedReviewing a modelCompliance, traceability and the non-requirement elementsAccuracy and consistency: design-error detectionTarget compatibility, verifiability and algorithmsFormal property proving on models