Sub topic 3
Tracing an error to its root cause
This chapter assumes you understand a process with inputs, steps, and outputs, know the terms defect and inspection, and can read short Python for the software section.
Finding the root cause
A root cause is the earliest condition that allows an error to happen. Ask "why" until you reach something you can change. A label printed in the wrong unit is a symptom. The root cause may be a template that defaults to the old unit. Classify the error as a slip, lapse, or mistake. Slips and lapses usually call for a device. Mistakes often call for a redesigned step.
Selecting and designing a device for a real step
Choose the method that fits the step. Contact methods detect a physical feature. Fixed-value methods check that an exact number of parts is present. Motion-step methods require steps to run in a fixed order. Rank the options from eliminating the error down to mitigating it, and pick the highest option that works. Write the device specification as one sentence, such as "The fixture accepts only part X in orientation Y."
Mistake-proofing in software
Software offers the same tools. Restrict input types, enforce allowed state changes, and require the user to type a name before a destructive action. This example blocks any status change that skips a step:
from enum import Enum
class OrderStatus(Enum):
DRAFT = "draft"
PAID = "paid"
SHIPPED = "shipped"
ALLOWED_TRANSITIONS = {
OrderStatus.DRAFT: {OrderStatus.PAID},
OrderStatus.PAID: {OrderStatus.SHIPPED},
OrderStatus.SHIPPED: set(),
}
def change_status(current: OrderStatus, new: OrderStatus) -> OrderStatus:
if new not in ALLOWED_TRANSITIONS[current]:
raise ValueError(f"Cannot move from {current.value} to {new.value}")
return new
status = change_status(OrderStatus.DRAFT, OrderStatus.PAID)
print(status.value)
try:
change_status(status, OrderStatus.DRAFT)
except ValueError as error:
print(error)Verifying the device
Test the device with the error on purpose. Confirm that the device stops the error. Then try to bypass it and confirm that the bypass is blocked or logged. Verify the device against the root cause, not only the symptom.
Common failures
- Bypass: operators override a guard that slows them down. Remove the override or log each use.
- Alarm fatigue: frequent warnings get ignored. Reserve warnings for cases where stopping is unsafe.
- Over-reliance: a device stops one error type but not others. Keep tracing new errors to their root causes.
Using poka-yoke with FMEA and the improve phase
In failure mode and effects analysis (FMEA), each failure mode gets a severity, occurrence, and detection score. Add the poka-yoke as an improvement action, then re-score detection. In the Lean Six Sigma improve phase, run a pilot, compare the defect rate before and after, and keep the device only if the rate falls.
Exercise
A label prints in the wrong unit because the template defaults to the old unit. Is the root cause the operator's choice or the template default?
Show answer
The template default. It is the earliest condition that allows the error. The operator's choice is the symptom.