How Does Defect Detection Work in Manufacturing?
Defect detection finds faults while a product is being made, when fixing them is cheapest. Here is how checks fit into the line and how to set them up.
On this page
Short answer
Defect detection in manufacturing is the set of checks that find faults in materials, parts and finished products while they are still on the line. It combines incoming checks, in-process checks and final inspection, using manual checks, gauges, sensors and cameras, so that a fault is caught at the stage where it is cheapest to fix.
What is defect detection in manufacturing?
Defect detection in manufacturing is the set of checks that find faults in materials, parts and finished products while they are still on the line. A defect is anything that makes a product fail its specification, from a cracked part to a wrong label.
Detection is different from prevention. Prevention tries to stop faults happening, through better tooling, training and process design. Detection accepts that faults will happen and makes sure they are found before the product reaches a customer, where fixing them costs the most.
Detection uses many tools, not only cameras. Manual inspection, gauges, weighing, pressure tests, electrical tests and sensor readings all have a place, and the right mix depends on what can go wrong. The table below shows the main methods and what each one catches.
| Method | What it catches |
|---|---|
| Visual check | Surface damage, missing parts, wrong labels |
| Gauges and measurement | Parts outside size or weight limits |
| Functional test | Products that look right but do not work |
| Sensor monitoring | Drifting temperature, pressure or vibration |
| Camera inspection | Small visual faults at line speed |
| Sampling and lab tests | Hidden faults in materials and batches |
Where in the process do you check?
You check at three points: when materials arrive, while the product is being made, and before it leaves. Each point catches different faults, and skipping one lets its faults through to the next stage.
Incoming checks look at materials and bought-in parts. A cracked casting, a wrong grade of steel or a batch of components with the wrong pins will cause trouble later, so the cheapest time to catch them is at the door. Not every delivery needs a full check; risky suppliers and critical parts get more attention.
In-process checks happen during production, after each major step. They catch faults while the cause is still visible, so the team can fix the machine or the setting instead of sorting finished goods. Final inspection is the last gate before shipping, and it should be catching very little if the earlier checks work.
Should you inspect every unit or sample a few?
Whether you inspect every unit or sample a few depends on the cost of a fault escaping and the cost of checking. There is no single right answer, and most lines use a mix.
Full inspection suits cheap, fast checks on every unit, such as a camera that photographs each part as it passes. It also suits products where a single escape is dangerous or very expensive, such as medical devices or safety parts. The cost is the equipment and the time to handle false alarms.
Sampling suits checks that are slow, destructive or expensive, such as cutting a part open or running a long lab test. A sample only works if it is taken fairly: a random sample from the whole batch, not the easiest parts to reach. If sampling finds a fault, the team checks the whole batch, because one bad sample usually means more.
How do you find the cause of a defect?
You find the cause of a defect by working backwards from the faulty part to the step that made it, using the records the line already keeps. Guessing the cause wastes more time than the investigation.
Start with the basics: when did the fault first appear, which machine and operator were involved, and did anything change at that time, such as a new material batch or a tool change? Most defects trace back to a change, and the change log is the first place to look.
Then use a simple method. The five-whys technique asks 'why' repeatedly until the answer stops being a symptom and becomes a cause that can be fixed. A fishbone diagram groups possible causes under headings such as machine, material, method and people, so the team checks each group instead of arguing about one favourite theory. Fix the cause, not the symptom, and check that the fault stops appearing.
How do you set up defect detection in six steps?
You set up defect detection by listing what can go wrong, choosing a check for each risk, and proving the checks work before relying on them. Start small, with the faults that cost most.
- List the faults that matter. Write down what can go wrong at each step, and what each fault costs if it reaches a customer.
- Choose a check for each fault. Pick the cheapest check that reliably catches it, whether manual, gauge, sensor or camera.
- Decide where each check sits. Put the check as close as possible to the step that causes the fault.
- Set the limits. Agree what passes and what fails, and write it down so two inspectors agree.
- Run the checks beside the line first. Let the checks flag faults without rejecting anything, and compare their calls with a person's.
- Connect results to action. A flagged fault should trigger a fix, a rework step or a batch hold, not just a record in a file.
How do you measure whether detection is working?
You measure detection with four numbers: how many faults are found, how many escape, how many good units are wrongly rejected, and what checking costs per unit. Report them together, because any one alone can mislead.
The escape rate is the number that matters most: faulty units that reached a customer. Track it by product and by week, and investigate any rise at once. The false-rejection rate shows whether the checks are too strict; a high rate wastes good product and teaches operators to ignore the checks.
Also track the cost of checking per unit, including labour, equipment and rework time. A check that finds every fault but costs more than the fault itself is a bad check. Review the numbers weekly at first, then monthly once the line is stable, and retire checks that never find anything.
Example (hypothetical): a parts line cuts escapes by two thirds
Example (hypothetical): a factory makes 10,000 metal brackets a week. Before the new checks, about 120 faulty brackets a week reach customers, and each one costs about $25 in returns and rework, or $3,000 a week in total.
The team adds three checks: a gauge at the press that measures every tenth bracket, a visual check after painting, and a final count and label check before packing. The gauge finds 60 faults a week, the visual check finds 30, and the final check finds 10, so 100 of the 120 faults are now caught on the line.
Escapes fall from 120 to 20 a week, and the weekly cost of escapes falls from $3,000 to $500. The checks take about 12 hours of labour a week, which the team values at $600, so the total weekly cost of faults and checking is $1,100 against $3,000 before. The team then works on the cause of the most common fault, a worn press tool, instead of adding more checks.
What are the common mistakes?
The most common defect detection mistakes are checking only at the end, inspecting without written limits, and collecting results that nobody acts on.
- Checking only at the end. Final inspection finds faults when they are most expensive to fix.
- No written limits. Two inspectors will disagree on pass or fail without a written standard.
- Results nobody reads. A check that only produces a report is decoration.
- Inspecting quality in. Checking harder cannot fix a process that makes faults; fix the cause.
- Biased sampling. Checking only the easiest parts to reach hides the real fault rate.
- Ignoring false rejections. A check that rejects good units teaches operators to override it.
Key takeaways
- Check at three points: incoming materials, during production, and before shipping
- Put each check as close as possible to the step that causes the fault
- Sample fairly when full inspection is slow or destructive
- Find the cause with the change log and the five-whys, then fix the cause
- Track escapes, false rejections and checking cost together, every week
Frequently asked questions
What is the difference between defect detection and quality control?
Defect detection is one part of quality control: the checks that find faults. Quality control is the wider system, which also covers prevention, process design, measurement and improvement. Detection finds the faults; the rest of the system stops them happening again.
What is the cheapest stage to catch a defect?
The earliest stage possible. A fault in incoming material is cheapest to catch at the door, and a fault made at one step is cheapest to catch at the next check. By the time a product reaches a customer, the cost includes returns, rework, replacement and lost trust.
How do you choose between manual inspection and automated checks?
Choose by speed, cost and the kind of fault. Manual checks suit varied, judgement-based faults and low volumes. Automated checks suit fast, repeated checks on identical parts at high volume. Many lines use both: automated checks for every unit and manual checks for the faults that need judgement.
What is statistical process control?
Statistical process control, or SPC, is a method of watching measurements from a process over time and spotting when the process starts to drift. Control charts show whether variation is normal or a sign of trouble. It helps teams act before parts go out of specification, instead of waiting for inspection to find them.
How many units should you sample?
It depends on the batch size, the cost of a fault escaping, and the cost of checking. A common approach is a standard sampling plan that sets the sample size from the batch size and the acceptable fault level. The sample must be random and spread across the batch, or the result will mislead you.
What should happen when a check finds a defect?
The faulty unit is separated, the fault is recorded with its time, machine and material batch, and the team decides whether to rework, scrap or hold the batch. If the same fault repeats, the team investigates the cause. A check that only records faults without triggering action is not doing its job.