How to implement SPC on a production line, step by step

Updated

To start SPC on a production line, pick one important characteristic, make sure you can measure it reliably, decide how to sample it, collect 20 to 25 subgroups, compute trial control limits, remove the special causes you can explain, and then freeze the limits and write down what operators should do when the chart signals. The charts themselves take an afternoon. Most of the effort goes into the decisions around them: what to measure, how to sample, and how to react. This guide takes you through eleven steps, with a worked Phase I example.

Step 1: pick the process and the characteristic

Start with one characteristic on one line, not a plant-wide rollout. Good candidates:

  • a characteristic the customer cares about, marked as special or critical on the drawing;
  • a characteristic tied to a high-severity failure mode in the PFMEA;
  • a known source of scrap, rework or complaints, as shown by a Pareto chart;
  • a process parameter that drives a product characteristic, such as a temperature that controls hardness.

Measure the product where you can, but charting a key process input is often more useful, because it gives warning earlier.

Step 2: check the measurement system

A chart can only be as good as the numbers on it. Before collecting data:

  • Run a gage study: a crossed gage R&R for most dimensional gages, or a type 1 gage study for a quick check of repeatability and bias. The measurement system analysis guide explains how to judge the results.
  • Check the resolution. If readings take only three or four different values, the chart will show steps rather than variation; the chunky-data check flags this.
  • Agree on the method: where on the part, which gage, how many times, and how to record.

Step 3: plan the subgroups and the sampling

A rational subgroup is a set of units made under conditions as similar as possible, so that the variation inside it is only common cause variation. Typical choice: 4 or 5 consecutive parts from one machine, one cavity or one spindle.

Then decide:

  • Subgroup size: 1 for slow or batch processes, 4 or 5 for most discrete parts.
  • Frequency: often enough to catch a change before much product is made. Every hour is common; after a changeover or tool change, take an extra subgroup.
  • Streams: if two cavities or two heads make the same part, either chart them separately or make sure each subgroup comes from only one.
  • Who measures and records, and on what form or system.

Step 4: choose the chart

Match the chart to the data and the subgroup plan. Most first charts are Xbar-R for subgroups of measurements or I-MR for single values. The decision guide covers the rest.

Step 5: collect baseline data

Collect 20 to 25 subgroups (or 20 to 30 individual values) under normal running. Spread them over enough time to include the usual changes: shifts, operators, material lots, start-ups. Do not adjust the process differently because you are collecting data. Write down anything unusual as it happens: a tool change at 10:15, a new reel, a maintenance stop. Those notes are what you will use in the next step.

Step 6: compute trial limits and look for signals (Phase I)

Compute the limits from the baseline data and plot every subgroup. Look at the spread chart first, then the location chart, and apply the tests for special causes you have chosen.

Example: crimp height on a terminal press

A press crimps terminals onto wires. Crimp height has a specification of 1.80 ± 0.05 mm. Every hour, the operator measures 4 consecutive crimps with a crimp micrometer. After 20 hours:

  • Grand average x̄̄ = 1.7990 mm; average range R̄ = 0.0245 mm.
  • For subgroups of 4, A₂ = 0.729 and D₄ = 2.282.
UCL = 1.7990 + 0.729 × 0.0245 = 1.8169 LCL = 1.7990 − 0.729 × 0.0245 = 1.7812 R chart UCL = 2.282 × 0.0245 = 0.0559
Xbar chart of crimp height, trial limits1.781.791.801.81Mean crimp height (mm)CL=1.799UCL=1.8169LCL=1.7812135791113151719Subgroup (hour)
Xbar chart of crimp height, trial limits

All 20 ranges are below 0.0559 mm, so the within-hour spread is stable. On the Xbar chart, subgroup 9 (crimps of 1.783, 1.779, 1.773 and 1.773 mm, mean 1.7770 mm) is below the lower limit. The notes from that hour show that a reel of terminals from a different lot had been loaded; a check of that lot found thinner strip stock. The reel ran out after about an hour, which explains why subgroup 10 was back to normal.

Step 7: remove explained points and freeze the limits

Remove a point only when you have found its cause, and preferably when that cause has been fixed or prevented. Here the purchasing team added a strip thickness check at incoming inspection, so subgroup 9 can go.

With the other 19 subgroups, x̄̄ = 1.8002 mm and R̄ = 0.0253 mm:

UCL = 1.8002 + 0.729 × 0.0253 = 1.8186 LCL = 1.8002 − 0.729 × 0.0253 = 1.7818 R chart UCL = 2.282 × 0.0253 = 0.0577

No other subgroup signals against these limits, so they become the frozen limits for daily use (Phase II). Points that signal but have no explanation stay in: removing them would make the limits narrower than the process really is.

If many points signal and you cannot explain them, do not force limits on an unstable process. Find and fix the main special causes first, then collect a new baseline.

Step 8: write the reaction plan

Every chart needs written answers to these questions, usually in the control plan and on a one-page sheet at the station:

  • Which signals count (which tests are on)?
  • What does the operator check first? For the crimp press: reel lot, applicator wear, crimp height dial setting, micrometer zero.
  • What happens to the product made since the last good subgroup: hold, sort, or release?
  • Who is called, and when does the problem escalate to the supervisor or engineer?
  • How is the signal and its cause recorded?

Many plants call this sheet an out-of-control action plan (OCAP).

Step 9: train and hand over

Operators need to know three things: how to measure and record, how to read the chart, and that they should not adjust when points are inside the limits with no pattern. That last point usually needs explaining with an example, because it goes against habit. The article on how SPC improves manufacturing has one.

Decide who plots the chart. A chart the operator updates by hand is slower but keeps attention on the process; a chart updated by software is faster but easy to ignore. Either works if someone looks at it at every subgroup.

Step 10: assess capability

Once the chart shows a stable process, compare its spread with the tolerance. For the crimp press, the pooled within-subgroup standard deviation of the 19 subgroups is 0.0123 mm, which gives Cp = 0.10 / (6 × 0.0123) = 1.35 and, with the mean at 1.8002 mm, Cpk = 1.35. The process is centered and reasonably capable; the next improvement would be to reduce variation, not to move the mean. See process capability and Cp, Cpk, Pp and Ppk for the details.

Step 11: review and maintain

  • Review weekly. Someone outside the line (a supervisor or engineer) looks at the charts, the signal log and the reaction times.
  • Recompute limits only for a reason: a deliberate process change, a new machine, or a confirmed improvement. Never because a point fell outside.
  • Use the signal log. A Pareto chart of recorded causes shows which ones keep returning; those become improvement projects.
  • Retire charts that no longer help. A characteristic that has been stable and highly capable for months may move to less frequent sampling, freeing effort for one that needs it.
  • Expand gradually. Add the next characteristic once the first chart runs smoothly.

Common mistakes

  • Charting everything at once. Dozens of charts that nobody reviews teach people that charts do not matter. Start with a few that do.
  • Skipping the gage study. A chart of measurement noise produces false signals and erodes trust.
  • Using specification limits as control limits. They answer a different question; see what is SPC.
  • Computing limits from the overall standard deviation. Limits get too wide and hide shifts, a frequent problem in spreadsheet charts.
  • No reaction plan. Without one, signals are either ignored or answered with random adjustments.

Frequently asked questions

How long does it take to implement SPC on one characteristic?

The calendar time is mostly data collection: 20 to 25 subgroups at one per hour is three or four shifts. Add a few days for the gage study and for writing and agreeing on the reaction plan.

Should operators or quality technicians run the charts?

Operators, wherever possible. They are closest to the process and can react immediately. Quality and engineering support them with training, reviews and help on difficult signals.

When should I recompute the control limits?

After a deliberate change to the process (new tool design, new material, new settings) once 20 or so new subgroups are available, or when a chart shows a sustained, explained improvement. Do not recompute just to make signals disappear.

What if the process is not stable when I start?

That is common and useful to know. Use the trial chart to find and remove the largest special causes, then collect a new baseline. Capability numbers mean little until the process is stable.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab