AeroCoder
Open the tools

DO-178C HANDBOOK · CONTENTS

DO-178C HANDBOOK

/

System & Safety Context

Software in the System (ARP4754)

System requirements, allocation to software, and the information that must flow between system, safety and software teams.

Desk summary

  • 01Safety is a property of the system; software is neither safe nor unsafe on its own, only in the role the system gives it.
  • 02ARP4754A/B decomposes aircraft functions into systems and then into items (software and hardware); DO-178C starts where a requirement is allocated to a software item.
  • 03System requirements must cover both integrity (correct behaviour) and availability (continuity), plus monitoring, fault handling, modes, timing and partitioning.
  • 04Information must flow both ways: system and safety teams send requirements, levels and constraints down; software sends derived requirements and implementation limits back up (DO-178C §2.2).
  • 05Most painful software problems are really system requirements problems — immature, ambiguous or unvalidated requirements handed over too early.

Intuition

A chair with four legs

Systems, safety, hardware and software engineering are the four legs of one chair. Remove one and it wobbles; remove two and nobody can sit on it. A classic failure: the software test lead skips a group of requirements because “system test covers those”, while the system test lead skips them because “software covers those”. Nobody lied, nobody tested. Shared trace and test matrices are the cure.

The aircraft as a system of systems

An aircraft is a stack of functions — control the flight path, provide air data, manage fuel, display attitude — realised by systems such as flight controls, air data, fuel quantity indication or primary flight displays. ARP4754A (and its 2023 revision ARP4754B) describes how those functions are developed top-down: aircraft functions are allocated to systems, system architectures are proposed, system requirements are written and validated, and finally requirements are allocated to items. An item is a hardware or software element that will be developed under its own assurance guidance — DO-178C for software, DO-254 for complex electronic hardware.

ARP4754A also defines integral processes at system level — safety assessment, development assurance level assignment, requirements capture, requirements validation, implementation verification, configuration management, process assurance and certification coordination. The parallel with DO-178C is intentional: the system level has its own version of planning, verification, CM and QA. Few aircraft are clean-sheet designs, so the guidance accepts iterative and bottom-up work, provided the derivative baseline is understood.

System requirements worth receiving

ARP4754A groups requirements into safety requirements (from the safety assessment, covering availability and integrity), functional requirements (customer, operational, performance, interface, installation, maintainability) and other requirements such as regulatory and derived requirements. For a software team, a good allocated requirement is atomic, complete, concise, consistent, correct, free of unnecessary implementation detail, necessary, traceable, unambiguous, verifiable and feasible. If it cannot be observed in a test, review or analysis, it is not yet a requirement.

Integrity versus availability

Integrity — “don’t lie”

▸Loss of integrity is a malfunction: wrong output presented as valid.
▸Examples: misleading attitude on the PFD, an autopilot hardover, a wrong TCAS resolution advisory.
▸Mitigated by monitors, comparison of redundant channels, dissimilarity, partitioning.
▸Software consequence: monitor logic, validity flags, voting and fault containment become requirements.

Availability — “don’t stop”

▸Loss of availability is loss of function: no output when one is needed.
▸Examples: loss of all air data, loss of engine control, blank displays.
▸Mitigated by redundancy, fast fault detection and recovery, reconfiguration.
▸Software consequence: redundancy management, warm restart, degraded modes and timing budgets become requirements.

Worked example

Triplex AHRS voting

A helicopter flight control computer receives attitude from three AHRS units. Integrity demands that a single erroneous unit cannot drive the control laws, so the system requires each unit’s validity to be checked and the middle value selected when all three are valid. Availability demands that losing a unit does not remove attitude, so the requirements continue: average the two remaining valid units, then fall back to the single valid unit. The model-based reference project in this handbook states exactly this cascade as system requirements, refined into separate software requirements for triple, dual and single-sensor operation. Behaviour like this must reach the software team as explicit, testable requirements — validity criteria, thresholds and the reversion sequence — not as an architecture sketch.

  • —Fault detection and handling: data validity, range, freshness and wrap-around checks; comparison of redundant data; watchdogs, memory checks, CRCs; message timeouts and sequence counters.
  • —Error responses: switch off the function, enter a degraded mode, annunciate, notify other systems, reset, substitute trusted data, latch a channel off on persistent errors.
  • —Modes and sequences: power-up, cold and warm start, initialisation, engage and disengage logic, flight-phase dependent behaviour.
  • —Timing: response latency, fault detection time, restart time, frame rates.
  • —Partitioning and protection: what must be isolated from what, and why.
  • —Assumptions: anything not yet certain, captured explicitly so it can be validated and tracked.

Pitfall

Handing over unvalidated requirements without saying so

Software teams often start before system validation is finished — schedules demand it. That is acceptable only if the immature requirements are flagged. Otherwise the software is designed, coded and tested against requirements that later change, and the verification evidence is silently invalidated.

Information flow across the boundary

DO-178C §2.2 describes what must pass between system processes and software processes. It is worth treating as a formal interface with its own checklist, because missing information here is the root of many late findings.

What flows between system/safety and software (after DO-178C §2.2)

DirectionTypical content
System → softwareRequirements allocated to software, including safety-related ones and their attributes; software level and failure conditions it can contribute to; system description and hardware definition; design constraints (partitioning, dissimilarity, monitoring); timing and memory budgets; certification requirements; parameter data and its usage.
Software → systemDerived requirements (for safety assessment and validation); evidence or limitations affecting safety (e.g. a monitor slower than assumed); problem reports with system impact; details of partitioning or protection implemented in software; deactivated code and its configuration.
Software ↔ hardwareInterfaces, memory maps, timing, hardware/software integration constraints, known processor errata, built-in test responsibilities.

Intuition

Derived requirements are messages back up the chain

A derived requirement is something the software needs that no system requirement asked for — a filter time constant chosen by the designer, a default value used at power-up, a timeout. Because the safety team never assessed it, the software team must send it back so the system and safety processes can check it cannot create or worsen a failure condition. If a derived requirement never leaves the software team, the safety assessment is assessing a different system from the one being built.

Architecture decides how much software must carry

DO-178C §2.4 describes architectural strategies that change how much assurance the software must carry: partitioning (isolate functions so a failure in one cannot affect another), multiple-version dissimilar software (independently developed versions compared at run time), and safety monitoring (a simple, highly assured monitor that bounds what a complex function can do). Each has a price: partitioning must itself be verified at the level of the most critical partition; dissimilarity has to be genuine; a monitor must be independent of what it monitors and fast enough to catch the failure before it matters.

Model-based development

Models at the system–software boundary

Model-based programs often blur the handover: a systems engineer builds a control law model to validate system requirements, and the same model becomes the software design model. That is efficient but dangerous unless the boundary is explicit. Decide whether the model is a system artefact (validated under ARP4754A/B), a specification model (software high-level requirements under DO-331) or a design model (low-level requirements). A model cannot be both the requirement and the design it is verified against, because there would be nothing independent to check it with.

What the auditor looks for

Questions at the system interface

Show me the system requirements allocated to software and their trace to the software requirements. Which software requirements are safety-related and how are they marked? Where is the record that derived requirements were sent to, and assessed by, the safety team? Which assumptions in the safety assessment does the software rely on, and how were they confirmed?

Practitioner tip

Make safety visible in the requirements

Tag every software requirement that implements a safety protection with a safety attribute. It focuses review effort, makes change impact analysis honest (a change touching a tagged requirement automatically triggers safety review), and shows the auditor at a glance where the critical logic lives.

Self-check

A software designer adds a 200 ms persistence filter to an airspeed-miscompare monitor to avoid nuisance trips. No system requirement specifies it. What should happen?

Sources & further reading

  • Rierson, Developing Safety-Critical Software (2013), ch. 2–3
  • DO-178C §2 (system aspects), §2.2 (information flow), §2.4 (architectural considerations)
  • SAE ARP4754A (2010) and ARP4754B (December 2023), Guidelines for Development of Civil Aircraft and Systems
  • FAA AC 20-174, Development of Civil Aircraft and Systems
  • Model-based DO-178C/DO-331 reference project (helicopter FCC): system and software requirements reports

← Previous

Certification & Regulatory Context

Orientation

Next →

Safety Assessment (ARP4761)

System & Safety Context

On this page

The aircraft as a system of systemsSystem requirements worth receivingInformation flow across the boundaryArchitecture decides how much software must carry