Sub topic 10
Selecting and designing a device for a real process step
This chapter assumes you know what a process step is, can tell an error from a defect, and understand the difference between prevention and detection devices. It also assumes you can read short Python snippets. Here you take one error in one step and walk it to a working device.
From an error to a design brief
A poka-yoke device is designed against one specific error at one specific step. "Reduce wrong-part errors" is too broad to design against. "At step 40, operators fit the 12 mm bracket instead of the 10 mm bracket" is specific enough.
Write a short design brief before you pick any device. It has five parts:
- The step and who performs it.
- The error, stated as an action ("fits the wrong bracket").
- The error type: slip, lapse, or mistake.
- The defect the error causes and how often it happens.
- The root cause, such as similar-looking parts or a missing cue.
The error type narrows your choices. Slips and lapses respond well to physical or system constraints. A mistake, which is a wrong decision made on purpose, usually needs better information, training, or a changed process. A fixture will not fix it.
A selection procedure
Work through the options in a fixed order. Stop at the first one that is feasible.
- Eliminate the step. If the step is not needed, remove it. No step means no error.
- Replace the step. Swap it for one that cannot go wrong, such as automating a manual entry.
- Facilitate the step. Make the right action the easy one. Color codes, labels, and guides belong here.
- Detect the error. Catch it right after it happens, before it moves downstream.
- Mitigate the effect. Limit the damage when the error gets through.
The order follows the effectiveness ladder from earlier. Higher rungs are better because they remove the chance of error instead of depending on someone to react.
Matching the method to the error
Shingo's three methods suit different kinds of error. Use the table as a starting point.
| Error pattern | Suitable method | Example device |
|---|---|---|
| Wrong shape, size, or orientation | Contact | Asymmetric connector, fixture with a locating pin |
| Wrong count of parts or items | Fixed-value | Tray with one slot per part, pre-counted kit |
| Steps done out of order or skipped | Motion-step | Interlock that blocks step 3 until step 2 is logged |
| Wrong target of an action | Motion-step with confirmation | Retype the target's name before deletion |
When a method can be made to stop the process, prefer a control device over a warning. A warning asks a person to notice and act. A control device removes that dependency.
Worked example: a packing station
A packing station ships kits of four screws, two brackets, and one manual. Over a month, 3% of kits ship with a missing item. The cause is a lapse: the packer gets interrupted mid-kit and forgets which items are already in the box.
Candidate devices:
- Eliminate: Not feasible, since the kit must be assembled.
- Replace: Have the supplier deliver pre-bagged kits. This is feasible but costs more and changes the supply contract.
- Facilitate: Use a tray with one molded slot for each item. The packer sees an empty slot at once. This is a fixed-value method and costs little.
- Detect: Weigh each box and flag any outside tolerance. This is an after-the-fact check.
You compare them on a few dimensions, such as effect on the error, cost, time to implement, and side effects. The tray wins on cost and speed and stops most omissions. The scale catches what the tray misses. A sensible design uses the tray as the main device and the scale as a backup.
Design rules for a good device
A device that works on paper can still fail on the floor. These rules reduce that risk.
- Act at or before the point of error. The earlier the device acts, the less rework follows.
- Make the correct action easier than the wrong one. If the device slows people down, they will work around it.
- Give immediate feedback. The person should know right away that something was blocked and why.
- Keep it cheap and simple. Complex devices break, and broken devices get removed.
- Make bypass hard and visible. If a device can be switched off, require a deliberate step and record it.
- Do not add a new error. Check that the device itself cannot be fitted or used wrongly.
A software example: designing the device in code
The same procedure applies to software. Take the error "the operator transfers money from the wrong account to the right one" at a payment step. Two accounts have the same type, so a swap by position is invisible.
The design brief says the error is a slip, the cause is two same-typed positional arguments, and the defect is a reversed payment. The ladder suggests making the wrong call impossible, which here means forcing names. Keyword-only arguments do that:
def transfer(*, source_account: str, destination_account: str, amount_cents: int) -> str:
if source_account == destination_account:
raise ValueError("Source and destination must differ")
if amount_cents <= 0:
raise ValueError("Amount must be positive")
return f"Moved {amount_cents} cents from {source_account} to {destination_account}"
# Keyword-only arguments make a swapped-argument slip visible at the call site.
transfer(source_account="A-100", destination_account="B-200", amount_cents=2500)
# transfer("A-100", "B-200", 2500) raises TypeErrorThe bare * blocks positional calls, so a caller must write each name. The checks below it reject inputs that cannot be valid. This is a control device because the call fails instead of continuing.
Keyword names do not stop a caller who writes source_account="B-200" by mistake. That error is still possible, so the design is not complete. A further layer, such as a confirmation step, can cover the gap.
For a destructive action, a motion-step device works well. Making the operator retype the target's name interrupts the habit of clicking through a confirmation:
def delete_environment(name: str, confirm_name: str) -> str:
if confirm_name != name:
raise ValueError("Confirmation does not match the environment name; nothing was deleted")
return f"Deleted {name}"
delete_environment("staging", "staging") # proceeds
# delete_environment("production", "staging") raises ValueErrorA plain "Are you sure?" prompt fails because people confirm without reading. Typing the name forces them to look at it.
Trial the design before rollout
Before you adopt a device, test it against the brief. Ask these questions:
- Does it stop or catch the specific error at the specific step?
- Can the error still happen in a way you did not expect?
- Does it create a new error, delay, or hazard?
- How would someone bypass it, and what would that cost them?
Run a short trial with the people who do the work. They will find shortcuts and weak points faster than a design review will. Record the error rate before and after, using the same measure.
Common design mistakes
- Choosing a device before defining the error.
- Picking a warning when a control device is feasible.
- Adding a confirmation that people learn to click through.
- Skipping the check for new errors the device introduces.
- Measuring success by the absence of complaints instead of by error rate.
Exercise
At a lab, technicians sometimes load a sample into the wrong centrifuge program because the program list shows ten similar names. The error is a slip. Using the selection order of eliminate, replace, facilitate, detect, mitigate, propose a device, name its method, and say whether it is a control or warning device.
Show answer
Start by asking whether the program choice can be eliminated or replaced. If each sample tube type is barcoded, the machine can read the barcode and select the program itself. That replaces the manual choice and is a control device based on contact or identification of the tube. If barcodes are not possible, a facilitating option is to limit the list to the programs valid for that rack and color-code them. A detection option, such as asking the technician to confirm the program name against the sample label, is weaker and should be a backup only.
Exercise
A team adds an "Are you sure?" dialog before a bulk delete, but the wrong deletions continue. Explain why and redesign the step using one of Shingo's methods.
Show answer
People click through a generic confirmation without reading it, so the dialog does not interrupt the habit. Redesign it as a motion-step device: require the user to retype the name of the target, such as the project or environment, and refuse to proceed unless it matches exactly. Show the name and the item count in the message so the user must look at them.