State transitions
State-related failure modes are relatively common and relatively severe in consequence. The state transition table defines the top-level state table for the software — typically already captured in a system or software requirements specification.
Worked example — a traffic light
Enter an “x” to denote that a transition is prohibited.
The state-related common defect enumerations are:
What gets auto-generated
Saving the state table automatically generates rows for TL-SM-1 through TL-SM-5; the remaining CDEs are already in the worksheet and can be edited.
In the worked example: three prohibited transitions generate three TL-SM-1 rows, each analyzed individually since effects can differ dramatically (a green→red transition could be deadly; a red→yellow transition merely confusing). Six conditionally-prohibited transitions generate six TL-SM-2 rows. Three states generate three TL-SM-3 rows (the software can get stuck in any of them) and three each of TL-SM-4 and TL-SM-5 (power loss can occur in any state; TL-SM-5 doesn’t apply here since there’s no user).
TL-SM-6 through TL-SM-10 are auto-added since the example has no fault/safe state, no transition to one, and is missing an initializing state and its transition. TL-SM-11 and TL-SM-12 are auto-added to prompt the question of whether one light’s state machine could affect — or be affected by — a different light or an external device.
Continue the FMEA workflow.
Next, define the hardware and communication interfaces.