Research Careers Contact

GlossaryStatistical process control

Statistical process control

Statistical process control, or SPC, is the use of statistics to monitor a process over time and tell normal variation from signs that something has changed. Its main tool is the control chart, which plots a measured value over time against limits computed from the process's own behavior.

How it works

Every process varies. SPC separates two kinds of variation. Common cause variation is the steady background noise of a stable process. Special cause variation comes from a specific change, such as a worn tool, a new lot of material or a drifting machine. A process with only common cause variation is said to be in statistical control. Its output is predictable within limits, even though no two units are identical.

A control chart plots samples in time order with a center line and upper and lower control limits, usually set at three standard deviations from the center. The NIST/SEMATECH e-Handbook of Statistical Methods describes the main chart types:

  • Variables charts track measured values. X-bar and R charts track the average and range of small samples, and individuals charts track single readings.
  • Attributes charts track counts. A p chart tracks the fraction defective, and a c or u chart tracks defects per unit.

Points outside the limits signal a special cause. Rules for patterns, such as several points in a row on one side of the center, catch smaller shifts. When a signal appears, the operator or engineer stops to find and remove the cause.

SPC vs inspection

Inspection sorts good units from bad after they are made. SPC watches the process that makes them and signals a change before it produces defects. A paste height that drifts toward its limit shows on a control chart while every print still passes inspection.

Control limits also differ from specification limits. Specification limits come from the design and say what is acceptable. Control limits come from the process data and say what is normal for it. A process can be in control and still make out-of-spec units if its normal variation is too wide, which is what Cpk measures.

Gage R&R before charting

A control chart is only as good as the measurement behind it. A gage R&R study, short for gauge repeatability and reproducibility, has several operators measure a set of parts several times in random order. Analysis then splits the variation into repeatability, from the instrument and fixture, reproducibility, from operators or stations, and real part-to-part variation. If the gauge accounts for a large share, the chart and the Cpk describe measurement noise, not the process. The NIST/SEMATECH handbook and the automotive measurement systems analysis manual describe the method. Run it on each test station before charting its data, and again after fixture or instrument changes.

Why it matters

SPC finds problems early, while they are small and cheap to fix. On an SMT line, solder paste inspection produces volume and height data for every deposit, oven profilers produce temperature data, and AOI produces defect counts. SPC on that data shows drift before it causes defects.

It also stops overreaction. Adjusting a stable process in response to normal variation makes it worse, a mistake known as tampering. SPC tells engineers when to act and when to leave the process alone.

SPC data is also the evidence behind capability claims. A customer who asks whether a line can hold a paste volume or a placement tolerance is asking a question that only a stable, charted process can answer.

How to get it right

  • Chart what matters. Pick the few measures that predict quality, such as paste volume on fine-pitch pads, rather than charting everything.
  • Compute limits from stable data. Use a period when the process ran normally, and recompute only after a deliberate change.
  • Respond to signals. A chart that no one acts on is a record, not a control.
  • Use the right chart. Match the chart to the data type and sample size.
  • Record causes. Log what was found and done for each signal so the same cause can be prevented.

SPC in robotics and drone hardware

Robotics and drone boards are often built in small lots, so a single product rarely produces enough data for its own chart. SPC on the process instead, such as paste volume across all boards using the same stencil thickness, or defect rate per placement machine, gives useful charts even in high-mix production.

Learn more