Z-MR chart: control charts for short production runs

Updated

A Z-MR chart is an individuals and moving range chart for standardized values. Each measurement is converted to a z-score, the number of standard deviations it lies from its own product's mean, so that parts with different targets and different spreads can share one chart. It is the standard answer to short production runs, where no single product makes enough parts in a row to fill a chart of its own.

When to use it

  • One machine or line makes several products in small batches: different bottle sizes, different part numbers, different recipes.
  • Each product has a known or estimable mean and standard deviation, but none runs long enough for its own I-MR chart.
  • You want to watch the process (the machine, the filler, the oven) rather than each product, so that a problem common to all products shows up as one pattern.

If all products have about the same standard deviation, a simpler difference chart (each value minus its product's target) works too. If one product runs long enough, give it its own I-MR chart.

How it works

For each measurement x from product j, with mean μⱼ and standard deviation σⱼ:

z = (x − μⱼ) / σⱼ

μⱼ and σⱼ come from history (past runs of that product), or from the current data for each product, for example the product's average moving range divided by 1.128. Use the historical mean or the target as μⱼ, but choose one and keep it: if you use the target, an off-target product shows up as a shift.

Once every value is a z-score, the charts are an I-MR chart with fixed, known parameters:

Z chart: CL = 0 UCL = +3 LCL = −3 MR chart: CL = d₂ = 1.128 UCL = D₂ = 3.686 LCL = 0

D₂ = d₂ + 3d₃ = 1.128 + 3 × 0.8525 is the upper limit for the range of two values when σ = 1. If you estimate σ from the z values themselves instead, use UCL = 3.267 MR̄ as on any MR chart.

The Z chart is an individuals chart in standard-deviation units, so all eight tests for special causes apply, with zones at ±1 and ±2. Runs may cross product changes; that is the point. On the MR chart, use only Test 1.

Example

A contract plant fills liquid detergent on one time-pressure filling line in three bottle sizes. Fill volumes are checked once per pallet. From earlier runs, the plant knows each size's mean and standard deviation:

SamplesSizeμ (mL)σ (mL)Measured volumes (mL)
1–61 L1005.02.51005.6, 1006.7, 1003.5, 1002.7, 1000.0, 1007.4
7–13250 mL252.01.0252.0, 252.2, 251.2, 253.2, 252.9, 251.9, 251.4
14–19500 mL503.01.6504.5, 503.8, 505.1, 504.1, 506.0, 504.5
20–241 L1005.02.51007.4, 1012.1, 1006.4, 1004.3, 1009.2

Sample 1 becomes z = (1005.6 − 1005.0) / 2.5 = 0.24; sample 7 becomes (252.0 − 252.0) / 1.0 = 0; sample 14 becomes (504.5 − 503.0) / 1.6 = 0.94.

Z chart of fill volume, three bottle sizes-202Z (standard deviations)CL=0UCL=3LCL=-31471013161922Sample
Z chart of fill volume, three bottle sizes
MR chart of Z values0123Moving range of ZCL=1.128UCL=3.686LCL=02581114172023Sample
MR chart of Z values

No point leaves the ±3 limits, and the MR chart is in control. But from sample 14 to sample 22, nine z-values in a row are above zero, across the change from 500 mL to 1 L bottles. Test 2 signals at sample 22. Neither product's own short run would have shown it: the 500 mL run had only six samples, and the second 1 L run had only three by then. Something common to the line was pushing all fills up. The maintenance log shows that the buffer-tank level sensor was replaced before sample 14 and the new level setpoint was too high; a time-pressure filler delivers more liquid when the head pressure rises.

How to read the results

  • A z beyond ±3 is a single fill far from its own product's normal, whatever the product.
  • Runs across product changes (Tests 2, 5, 6) point to the shared equipment, not to one product's setup.
  • Runs within a single product point to that product's setup: a wrong target, a wrong recipe.
  • A large moving range at a product change can mean the μⱼ for one product is wrong. Check the historical values before blaming the process.

Common mistakes

  • Wrong or stale σⱼ. If a product's σ is underestimated, its points look extreme on the Z chart. Update each product's parameters as runs accumulate.
  • Standardizing with the target when the process never runs on target. Then every value of that product sits off center. Either fix the setup or use the historical mean.
  • Mixing processes. Standardizing data from different machines on one chart hides machine differences. Use one Z-MR chart per process.
  • Forgetting the order. The chart must follow production order across product changes, or the run tests and moving ranges lose their meaning.

Frequently asked questions

What is the difference between a Z-MR chart and a difference chart?

A difference chart subtracts each product's target but leaves the values in their original units. It works when all products have similar standard deviations. The Z-MR chart also divides by each product's σ, so products with different spreads can share one chart.

How many past values do I need for each product's σ?

As many as you can get; 20 or more is a good goal. With fewer, estimate σ from the moving ranges within each product's runs and treat the limits as provisional.

Why are the Z chart's limits always ±3?

Because each z-score is already measured in standard deviations of its own product. Three standard deviations is 3 on this scale for every product.

Can I compute capability from a Z-MR chart?

Not directly. Capability depends on each product's own specification, so compute it per product, using its own data, in a capability analysis.

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