lean-stack
Menu

Statistical process control

SPC

Statistical process control (SPC) uses control charts to monitor a process over time and tell the difference between normal, common-cause variation and special-cause signals that need action.

Quality teams use SPC because it stops two kinds of mistake: reacting to random noise as if it meant something, and missing a real shift until it becomes scrap. It is a standard tool in the control phase of DMAIC.

Where it comes from

Walter Shewhart developed the control chart at Bell Telephone Laboratories in the 1920s. W. Edwards Deming later taught SPC widely, including to Japanese industry after the Second World War.

At a glance

Noise or signal?

Noise or signal?. Points that wander inside the control limits are common-cause variation. A run of eight points on one side of the center line is a special-cause signal.Common-cause variationUCLLCLRandom noise: leave the process aloneSpecial-cause signalUCLLCL8 points above the center line: find the cause

Swipe sideways to see the whole diagram.

Points that wander inside the control limits are common-cause variation. A run of eight points on one side of the center line is a special-cause signal.

How to apply Statistical process control

  1. 1

    Choose what to measure

    Pick a characteristic that matters to the customer or predicts quality downstream, such as a critical dimension, fill weight or cycle time.

  2. 2

    Check the measurement system

    Make sure the gauge is accurate and repeatable before charting. A noisy measurement hides the process.

  3. 3

    Pick the chart

    Use X-bar and R or individuals charts for measured data, and p, np, c or u charts for counts of defects or defectives.

  4. 4

    Set control limits

    Calculate the center line and control limits from a stable period of data, usually three standard deviations either side of the mean. Control limits come from the process, not from the specification.

  5. 5

    Watch for signals

    Look for points outside the limits and for patterns such as runs and trends, using a set of run rules. The Western Electric rules, for example, flag one point beyond the limits or eight in a row on one side of the center line.

  6. 6

    Respond and record

    When a signal appears, stop and find the special cause, fix it and note what happened on the chart. Leave the process alone when there is no signal.

Worked example (illustrative)

A filling line weighs five bottles every hour and charts the average. The center line is 502.0 g, the control limits are 499.5 g and 504.5 g, and the specification is 495 to 510 g. For weeks the averages wander inside the limits, so operators leave the filler alone. One morning eight averages in a row fall above the center line, between 502.6 and 503.4 g. None is outside the limits, but the run is a signal under the Western Electric rules. The team checks the filler, finds a worn valve seal and replaces it before any bottle goes out of specification, then notes the cause on the chart.

Common mistakes

  • Using specification limits as control limits, which hides whether the process itself is stable.
  • Adjusting the process after every point, which adds variation instead of removing it.
  • Charting data nobody reviews, so signals appear but nobody acts.

When Statistical process control is not the right tool

SPC needs a stable, repeating process and enough data points. For one-off jobs or very low volumes, a checklist or first-article inspection may be more practical.

SPC and process capability

A control chart shows whether a process is stable. Process capability shows whether that stable process fits inside the customer's specification, using indices such as Cp and Cpk.

Check stability first. Capability figures from an unstable process do not predict what it will do next. The process capability calculator works out Cp and Cpk from your spec limits, mean and standard deviation.

SPC, inspection and acceptance sampling

Inspection asks whether an output meets its requirements. SPC adds a second question: has the process that made it changed? A passing inspection result does not show that a process is stable.

Statistical quality control is the wider term. It also includes acceptance sampling, which uses a sample to accept or reject a lot. SPC focuses on understanding and monitoring the process over time rather than judging one lot.

An SPC system has five parts: a clearly defined characteristic, measurements kept in time order, a chart matched to the data, a statistical baseline and an agreed response when the chart signals. The control charts guide covers chart types and signal rules in detail.

Responding to each kind of variation

The right response depends on what the chart shows. Reacting to ordinary variation as if it were a special event, such as adjusting a machine up after one high reading and down after the next low one, adds variation instead of removing it.

What does the chart show?

A suspected special cause

Investigate that particular event, gather evidence and fix the verified cause.

Stable but unacceptable output

Stop hunting for one unusual event. Improve the process itself: its centering, its spread or both. The process capability guide covers how to measure the gap.

A signal with no explanation yet

Record the investigation and leave the cause as unknown rather than inventing one.

A signal tied to one shift, operator or supplier is a starting point for investigation, not proof of responsibility.

Charts for small shifts

Shewhart charts catch large, sudden changes well. When small sustained shifts matter, other designs help:

CUSUM

Adds up deviations from a reference value, so a small drift that persists builds into a signal sooner.

EWMA

An exponentially weighted moving average that gives recent points more weight than older ones.

Multivariate charts

Monitor several related characteristics together and can flag an unusual combination even when each one looks normal alone.

These charts need design choices, such as the reference value and weighting, and a signal still needs follow-up to find which characteristic moved. Use them when the monitoring problem justifies the extra interpretation work.

Rational subgroups and sampling

Choose how often to sample and how to group samples around the change you need to detect. A rational subgroup contains observations made under very similar conditions, such as five consecutive parts from one machine, so the variation inside it is short-term only.

Mixing unlike conditions in one subgroup, such as parts from three machines, inflates the estimated variation and hides real differences. Keep time stamps and identifiers so you can split data later.

Closely spaced readings can be correlated, for example temperature readings a few seconds apart. Ordinary limits assume independent data, so check the data structure and get statistical support when that assumption does not hold.

Setting the baseline

Collect a baseline under the intended operating conditions, investigate any special causes in it, and only then treat its limits as the reference. Limits from a small amount of data are provisional; there is no single sample size that fits every chart.

  • Do not remove awkward points: Just to get a clean chart. If a point is excluded, record the verified reason.
  • Separate baseline analysis from monitoring: First you judge the reference itself; afterward you compare new points with it.
  • Record changes to the limits: So users know which conditions the current limits describe. Recalculating after every shift removes the comparison you need to see one.

The out-of-control action plan

An out-of-control action plan, sometimes shortened to OCAP, says what happens after a signal so nobody has to improvise. It should cover:

  • First check: Who confirms the signal and the recorded data.
  • Measurement: Which checks of the gauge or method come first.
  • Affected output: Who assesses product made since the last good point.
  • Investigation: What process information to collect, such as equipment, material lot, method and recent changes.
  • Authority: Who approves corrective action or a restart.
  • Record: How findings and follow-up checks are written up.

Keep the plan in proportion to the process and its risks. A chart signal and a specification failure are different findings, even when they happen together. A chart marked only "adjusted" or "operator informed" teaches the next reviewer nothing.

SPC examples across operations

These illustrative cases show how the data definition decides the chart:

Machined dimensions

Consecutive parts measured at set intervals, charted as subgroup averages and ranges. A signal prompts checks of tooling, setup, material and measurement records.

Invoice accuracy

Each reviewed invoice is classed as with or without an error and tracked as a proportion on a p chart, with the number reviewed kept so a changing denominator is not read as changing quality.

Surface inspection

Inspectors count individual blemishes and record the area inspected. A c chart fits a constant area; a u chart fits a varying one.

Batch processing

One result per batch suggests an individuals chart, after checking that batches are comparable and not dependent on each other.

"Errors", "items with errors" and "errors per inspected unit" sound alike but are different data. The difference changes both the calculation and what a signal means.

What SPC training should cover

Good training builds judgment as well as calculation. Whether you choose a course or a certification, check that learners practice:

  • Chart selection: For measurements, classifications and counts.
  • Subgroups: Defining them and keeping time order.
  • Limits: Calculating and interpreting them for each chart type.
  • Signals versus causes: Telling a detected signal from a verified cause.
  • Stability, compliance and capability: Keeping the three questions apart.
  • Response plans: Writing one people can follow.

Operators may need confidence in spotting signals and following the plan; engineers need more on assumptions, measurement systems and sampling. A simple test of learning: can the person say what was measured, why the chart fits, what the signal means and what happens next?

SPC mistakes that mislead

  1. 1

    Using specification limits as control limits. Specifications describe what is acceptable; control limits describe what the process does.

  2. 2

    Recalculating limits after every change. This hides the shift you are trying to see.

  3. 3

    Ignoring patterns inside the limits. Runs and trends can show change before a point goes out.

  4. 4

    Turning on every signal rule. Each extra test adds false alarms and investigation work.

  5. 5

    Charting a poor measurement system. Check repeatability and reproducibility before reading small differences.

  6. 6

    Adjusting on every alert. Verify the data and follow the action plan first.

  7. 7

    Dismissing a signal because parts still pass. Stability and compliance answer different questions.

Guides on this topic

Sources

Books and papers show their publication year. Web pages show the month we last checked them.

  1. 1.Walter A. Shewhart, Economic Control of Quality of Manufactured Product (D. Van Nostrand, 1931)
  2. 2.Douglas C. Montgomery, Introduction to Statistical Quality Control, 8th edition (Wiley, 2019)
  3. 3.Donald J. Wheeler, Understanding Variation: The Key to Managing Chaos (SPC Press, 1993)
  4. 4.Western Electric Company, Statistical Quality Control Handbook (Western Electric, 1956)

FAQ

Statistical process control: common questions

What is statistical process control?
A method that uses control charts to monitor a process over time and separate normal variation from signals that need action.
What is the difference between control limits and specification limits?
Control limits are calculated from the process data and show what the process does. Specification limits come from the customer and show what it should do.
Is SPC part of lean or Six Sigma?
Both use it. SPC is a core Six Sigma tool in the control phase of DMAIC, and lean teams use it to keep a stable process stable.
What are the Western Electric rules?
A set of tests for control charts that flag a special cause, such as one point beyond three sigma or eight points in a row on one side of the center line. Some references, such as the AIAG SPC manual, use a run of seven instead.
What is an out-of-control action plan?
A written plan for what happens after a control chart signals: who checks the data and gauge, who assesses affected output, what to investigate, who approves a fix or restart and how findings are recorded.
What is a rational subgroup in SPC?
A small group of observations made under very similar conditions, such as consecutive parts from one machine. Variation inside the subgroup is short-term, so the chart can show changes between subgroups.

Further reading and sources

For vendors

Built a lean tool?

Submit it for review. Every tool is checked against our listing criteria and researched from public sources. Approved tools join their category in the next published batch.