Sub topic 5
Control devices and warning devices
Prerequisites and scope
This chapter assumes you know the difference between an error and a defect, and that you can tell prevention from detection. It also assumes you can read short Python snippets. It covers the two functional classes of poka-yoke device: control devices, which stop the process, and warning devices, which signal and leave the decision to a person. You will learn how each works, when to choose one over the other, and how each fails.
The core distinction
Both device types sense that an error is about to happen or has just happened. They differ in what happens next.
- A control device (also called a shutdown or regulatory device) acts on the process. It blocks the step, stops the machine, or refuses the input. The error cannot continue, whatever the person does.
- A warning device (also called an alert or signal device) acts on the person. It shows a light, plays a sound, or displays a message. The error continues unless the person responds.
The test is simple. If the operator ignores the device, does the error still get through? With a control device it does not. With a warning device it can.
| Property | Control device | Warning device |
|---|---|---|
| What it acts on | The process or product | The person |
| If the operator does nothing | The process stays stopped or blocked | The process continues |
| Dependence on human attention | None at the moment of error | Full |
| Typical examples | Fixture that accepts a part in one orientation only, interlock, form that rejects invalid input | Seat-belt chime, warning light, spell-check underline |
| Main risk | Bypass, and nuisance stops | Alarm fatigue, being ignored |
| Relative strength | Stronger | Weaker |
Control devices in detail
A control device removes the person from the critical moment. The process cannot proceed until the condition is fixed.
Forms of control
- Physical blocking. A connector is shaped so that it fits only the correct socket. A jig has a pin that stops the part from seating if it is reversed.
- Interlocks. A press will not cycle until the guard is closed and both hands are on the controls. A microwave stops when the door opens.
- Refusal at the input. A software form will not submit while a required field is empty or malformed.
- Automatic stop on out-of-range values. A filling machine halts when the measured weight is outside limits.
Why control is usually stronger
A control device works even when the operator is tired, rushed, new, or distracted. This matches the prevention side of the previous chapter's distinction, since the defect is stopped rather than recorded. In the ladder of effectiveness, a working control device sits above any warning.
Costs of control devices
Control devices have real costs.
- Stoppages. A false trigger halts production. If stops are frequent, people look for ways around the device.
- Cost and lead time. Fixtures, interlocks, and sensors need design, installation, and maintenance.
- Blocked legitimate work. A rule that is too strict refuses valid but unusual cases. A form that rejects a surname with an apostrophe is a control device that has become a defect generator.
- Safety side effects. Stopping a process abruptly can itself cause harm, for example halting a furnace mid-cycle. Design the stopped state to be safe.
Warning devices in detail
A warning device tells a person that something is wrong and trusts them to act. It is the right tool when stopping the process is impractical or too costly, or when the correct response needs human judgment.
Forms of warning
- Visual. A light changes color, a field turns red, an andon light goes on.
- Audible. A chime sounds when the seat belt is unfastened.
- Tactile. A steering wheel vibrates when the car drifts out of its lane.
- Textual. A dialog says "This file will be overwritten."
Making a warning effective
Warnings fail when people stop noticing them. A few design rules help.
- Make it specific. "Torque below 40 N·m on bolt 3" is better than "Error."
- Make it hard to miss. Place it where the person is looking, at the time they are acting.
- Make it rare. If the signal fires on most cycles, it becomes background noise.
- Make it escalate. If the signal is ignored, the next step is a stronger one, such as a stop. This is a hybrid design described below.
- Make it tied to one action. The person should know exactly what to do in response.
Costs of warning devices
- Alarm fatigue. After many false or low-value alerts, people stop responding to any of them.
- Inattention. A person absorbed in another task may not notice the signal.
- No guarantee. The device cannot ensure that the person does the right thing, only that they were told.
Choosing between them
Start with the strongest option that is practical, then step down only for stated reasons.
- Can the error be made impossible? If so, that beats either device type. A part that can only be assembled one way needs no sensor.
- Can a control device stop it at acceptable cost and without harmful stops? If so, use it.
- Is stopping impractical, or does the right response need judgment? Use a warning device, and design it against alarm fatigue.
- Is the consequence severe? Prefer control. For safety-critical steps, a warning alone is rarely enough.
Consider the frequency of false triggers as well. A control device with a high false-trigger rate invites bypass, which can leave you worse off than a well-designed warning.
Hybrid designs
Many good systems combine both. The device warns first, then enforces.
- A car chimes when the seat belt is unfastened and, in some designs, limits the radio or adds a persistent alert if the warning is ignored.
- A software system shows a message when a disk is 80 percent full and refuses new writes at 100 percent.
- A line shows an andon signal for a minor deviation and stops the line when the deviation grows past a limit.
The warning handles the common minor case with little disruption. The control handles the case where the warning has been ignored or the deviation is serious.
Software examples
Software gives a clear view of the same split. The first function below is a control device: it refuses to continue. The second is a warning device: it reports a problem and lets the work go on.
import warnings
def withdraw(balance_cents: int, amount_cents: int) -> int:
"""Control device: refuses a withdrawal that would overdraw the account."""
if amount_cents <= 0:
raise ValueError("Amount must be positive")
if amount_cents > balance_cents:
raise ValueError("Insufficient funds; nothing was withdrawn")
return balance_cents - amount_cents
def apply_discount(price_cents: int, percent: int) -> int:
"""Warning device: allows the discount but flags an unusual value."""
if percent > 50:
warnings.warn(
f"Discount of {percent}% is unusually high; check it is intended",
stacklevel=2,
)
return price_cents * (100 - percent) // 100
print(withdraw(10_000, 2_500)) # 7500
print(apply_discount(10_000, 60)) # prints 4000, with a warning on stderrwithdraw raises an exception, so the caller cannot get a result from an invalid request. apply_discount produces a result regardless. If nobody reads the warning output, a 60 percent discount goes through. That is the weakness of any warning device.
A software warning can also be weakened by the environment. Python's warning filters can silence a warning entirely, and log lines nobody reads are the software form of an ignored light. When a software check matters, raise an error rather than log a message.
Failure modes
Bypass
People defeat control devices that get in their way. A jammed interlock, a tape-covered sensor, or a script that fills a required field with "n/a" are all bypasses. The root issue is usually that the device blocks legitimate work or stops too often. Treat a bypass as feedback about the design, not only as a discipline problem. Chapter on verification covers testing for this directly.
Alarm fatigue
A warning that fires too often teaches people to ignore it. Hospitals have documented this with monitor alarms, where most alerts require no action and staff become desensitized. Count how often a warning fires and how often it leads to action. If the second number is small, the warning needs a better trigger or should be removed.
False confidence
A device can make a team believe the error is handled when it is not. A sensor that checks one condition does not guard against a different one. Know exactly what each device detects, and what it does not.
Single point of failure
A control device that fails silently, for example a stuck sensor that always reports "OK," removes the protection while looking present. Devices need a check that they still work.
Summary of the decision
- Control devices stop the error regardless of the person. They are stronger, but can be bypassed and can stop work unnecessarily.
- Warning devices depend on the person. They are cheaper and flexible, but fail through inattention and alarm fatigue.
- Choose the strongest practical option, and consider a warning that escalates to a control.
Exercise
A packing line uses a scale. A label printer prints a "weight out of range" message on the screen when a box is under-filled, but operators often keep packing because the screen is across the room and the message appears dozens of times per shift. Classify the current device, name two problems with it, and propose a redesign.
Show answer
The current device is a warning device, because it informs the operator and does not stop the process. Problems: the message is placed where operators are not looking, and it fires so often that it causes alarm fatigue. A redesign could use a control device, such as a diverter gate that sends any out-of-range box to a rejection lane so it cannot continue to shipping. If stopping is not practical, use a hybrid: a light at the packing station for a single out-of-range box, and an automatic line stop if several occur in a row. First check why so many boxes are out of range, because fixing the cause at the filling step is stronger than either device.
Exercise
A web form rejects any phone number containing spaces or dashes, so users type numbers three times before giving up. Is this device working as a control device? What would you change?
Show answer
It acts as a control device because it refuses invalid input, but it blocks legitimate input, so it generates defects such as abandoned forms. Change it to accept common formats and normalize them (strip spaces and dashes) before validating. Keep the refusal for values that cannot be a phone number, and make the message state the accepted format.