Control Chart

SPC control charts for process stability

Anatomy of a Control Chart

A control chart (SPC chart) plots a process metric over time together with statistical limits. It separates random variation (process "in control") from systematic deviations (special causes) — and is the standard Control-phase tool to keep an improved process in check long-term.

Center line (CL): The centre line CL is the mean of observed values or subgroup means. It represents the current process level.

UCL and LCL (±3σ): UCL and LCL are the upper and lower control limits, typically at 3 standard deviations from the mean. Deviations within are treated as random; points outside indicate a special cause.

Zones A, B, C: The region between center line and limits is divided into three zones of one standard deviation each. Western Electric and Nelson rules use these zones to detect non-random patterns.

Special cause: A special cause is an influence outside normal process variation — e.g. a tool break, a new operator, a material change. Must be identified and removed before the process continues.

Chart types: I-MR for individuals, X̄-R and X̄-S for subgroups, p and np for proportions (defective/not), c and u for counts (defects per unit). Choice depends on data type and subgroups.

Control charts prevent processes from drifting unnoticed. They are not quality verdicts but early-warning systems: they show something is happening before the spec is violated.

Approach

  • Pick chart type by data type and subgroup structure.
  • Collect enough baseline data — typically 20–25 subgroups or 100+ individuals.
  • Compute center line and limits from the baseline (Phase I).
  • Check for outliers and patterns — exclude special causes from Phase I and recompute limits.
  • Start ongoing monitoring (Phase II) — each new point is checked against fixed limits.
  • On a rule violation, find, document, and eliminate the cause.
  • Recompute limits only when the process was demonstrably and intentionally changed.

Rules for Special Causes (Nelson)

  • 1 point outside the 3σ limits — clearly out of control.
  • 9 points in a row on the same side of the center line — level shift.
  • 6 points rising or falling in a row — trend.
  • 14 points alternating — systematic zig-zag.
  • 2 of 3 points in zone A (>2σ) — near-limit excursion more often than expected.
  • 4 of 5 points in zone B or beyond (>1σ) — process spreading wider than normal.

On the MR, R and S chart only rules 1–4 apply (as in Minitab). The dispersion statistic is skewed, so zones built from (UCL − center line)/3 would have no defined false-alarm rate there.

The rules are hints, not verdicts. Every violation should trigger a cause search, not an automatic alarm. Too many active rules create false alarms.

As in Minitab, only rule 1 is on by default. On 25 points of a stable process it falsely signals a special cause in about 7 % of cases, rules 1–6 together in about 24 %. Switch further rules on deliberately — while establishing limits, Minitab recommends rules 1, 2 and 7.

Pitfalls

Spec limits instead of control limits: USL/LSL come from the customer, UCL/LCL from process data. Mixing them (drawing spec limits on the chart and treating them as control limits) is among the most common SPC mistakes.

Wrong chart type: Applying an I-MR chart to proportion data or a p-chart to individual measurements yields nonsense limits. Data type and subgroup structure must fit the chart type.

Too few baseline data: With 5 subgroups the limits are unstable and keep shifting. At least 20–25 subgroups are needed for a reliable baseline.

Too many rules enabled: Every extra rule increases the false-alarm rate. Enabling all Nelson rules gives a "hit" every few points on average — and the team stops taking the chart seriously.

Recomputing limits after every change: Pulling limits along with every violation hides the drift. Only adjust limits when there is a documented reason (new process, new equipment).

Chart without reaction: A control chart without a defined reaction procedure is decoration. Per violation, it must be clear: who looks, who decides, who documents.

Stages — multiple baselines

When a process has been deliberately retuned (tool change, new batch, material switch, machine override), global limits produce a misleading picture — they mix the old and new variation. With stages each section gets its own center line and control limits.

Input: In the "Stage boundaries" field, enter the number of the last point of each stage, separated by commas. Example: "12, 25" with 30 points yields three stages: 1–12, 13–25, 26–30. For X̄-R and X̄-S the numbers count individual values; a boundary should be a multiple of the subgroup size, otherwise the split subgroup is counted in the earlier stage (the chart warns about this).

Effect: The chart shows stepped center line and limits with dashed vertical separators at each stage break. Each stage is judged by its own limits: the Nelson tests run per stage and runs (e.g. test 2) restart at every stage boundary, on both charts. The moving range across a stage boundary is not plotted. The KPIs and Cp/Cpk describe the last stage, i.e. the process as it runs now.

Stages do not replace the baseline count — they are a different mechanism. Either use a baseline count (classic Phase I/II) or stage boundaries (multiple stable sections). When set, stages override the baseline count.

Phase I / II and Annotations

The classic SPC workflow has two phases: Phase I collects baseline data, identifies special causes and excludes them until the baseline is "in control". Phase II locks those limits and checks new data points against them.

Annotations (Phase I): Click a violation row to open a dialog: record the cause as free text and optionally exclude the point from the limit computation. Excluded points appear as a gray ✕ — they stay on the chart but no longer influence UCL/LCL. Limits update live after each exclusion.

Phase II — Freeze limits: "Freeze limits" stores the current limits. Subsequent data points are checked against these fixed limits without UCL/LCL changing. "Thaw" returns to the live recompute mode. The limits belong to the column they were computed from — selecting a different column discards them.

Phase II is only available without stages — multi-stage charts already have per-stage limits; an additional freeze would be double bookkeeping.

References

  1. Melzer, Almut (2019)Six Sigma – kompakt und praxisnah: Prozessverbesserung effizient und erfolgreich implementieren2nd ed., Springer Gabler, Wiesbaden, ISBN 978-3-658-23754-7doi:10.1007/978-3-658-23755-4Cross-check of the special-cause tests: test 4 fires at 14 alternating points, MR, R and S charts evaluate tests 1–4 only. The book works with test 1 only, which is now also the default. Staged chart (ch. 5.2, p. 100, Fig. 5.4): each stage has its own limits and is judged against them.
  2. Montgomery, Douglas C. (2009)Introduction to Statistical Quality Control6th ed., John Wiley & Sons, Hoboken, NJ, ISBN 978-0-470-16992-6Sec. 5.3.6: every additional sensitizing rule raises the false-alarm rate; basis for the default of test 1 only.

Examples

This module ships with the following example datasets — load any of them in the app with a single click.

Bolt Diameter (capable) — Dataset
100 normally distributed measurements around μ ≈ 10.00 mm with σ ≈ 0.05 mm. Textbook capable-process example.
Shaft Diameter (X̄-R, in control) — Project template
25 subgroups of 5 measurements each from a stable process (μ = 10.00 mm, σ = 0.05 mm). X̄-R chart shows no Nelson-rule violations.
Shaft Diameter (X̄-S, in control) — Project template
The same 25 subgroups of 5 measurements as in the X̄-R example, but with the standard deviation s instead of the range R as dispersion chart; no Nelson rule fires. Shows that both chart types give almost identical limits for a stable process.
Shaft Diameter with Specification Limits — Project template
Stable X̄-R chart of the shaft diameters with specification limits LSL = 9.75 mm and USL = 10.25 mm; process capability comes out at Cp ≈ 1.61 and Cpk ≈ 1.56. Shows that Cpk is smaller than Cp because the mean (9.991 mm) lies slightly below the center.
I-MR Chart with Shift — Project template
50 individual measurements with a step shift from μ = 10.00 to μ = 10.18 at observation 30. The Nelson rules (especially rule 1 and rule 5) should flag the shift.
I-MR Chart with Drift — Project template
50 individual measurements with a linear upward drift (+0.6 across the series). Nelson rule 3 (six points in a row trending up) should fire multiple times.
I-MR Chart with Annotation and Frozen Limits — Project template
The same 50 individual measurements as in the I-MR chart with shift; measurement 14 (10.1725) is annotated as a tool change and excluded from the limit calculation, and the limits from the first 29 values are frozen for Phase II (rule 1). Shows that frozen limits judge the later values: nine values from measurement 30 on lie above the upper control limit, without the exclusion there would be eight.
Paper Helicopter — Confirmation (I-MR Chart) — Project template
I-MR chart from 5 confirmation runs at the optimum (L = 6 cm, C = 1 clip, mean ≈ 2.76 s, σ ≈ 0.12 s). Control limits derived from the baseline spread — the process is in control at the optimum.

Available in the following cycles

  • DMAIC: Control
  • DMADV: Verify
  • 8D: D6 — Implementation