OpenGXT homePlan a pilot line
Menu

Short-run SPC for high-mix, low-volume machine shops

The reader questionHow can a high-mix, low-volume shop use control charts when no part number runs long enough for normal limits?

A turntable beside a small lathe holding many different little machined parts, with a tiny inspector turning it and measuring one with a micrometer.

Chart the process, not the part number. Subtract each feature’s target value from its measurement and plot the differences for one machine and one family of similar features on a single chart, so ten jobs of eight parts become one continuous record of how that machine holds size. This deviation-from-nominal method works when the part numbers on the chart vary by about the same amount; when they do not, divide each difference by that part’s own standard deviation and chart the standardized values against limits of plus and minus 3.

This is short-run SPC: control charting for shops where product changeovers are frequent and runs are short. The article covers why ordinary limits fail in a job shop, how to choose what to chart, how to check that part numbers can share a chart, how to set and read the limits, and the data each measurement must carry for the charts to run without retyping. The worked example is fictional and labeled as such.

Why conventional control limits do not fit a job shop

Ordinary control limits need more data from one product than a job shop usually makes. The SAS/QC documentation on short run process control states the problem directly: “When conventional Shewhart charts are used to establish statistical control, the initial control limits are typically based on 25 to 30 subgroup samples. Often, however, this amount of data is not available in manufacturing situations where product changeover occurs frequently or production runs are limited.”

The NIST/SEMATECH e-Handbook quotes Shewhart’s own rule of thumb: control should not be concluded until there is “a sequence of not less than twenty five samples of size four that are in control.” It also warns that when limits are not computed from a large amount of data, “the actual properties might be quite different from what is assumed.” A job of 12 brackets gives 12 readings per feature, measured one at a time. A repeat order six months later runs on a new setup, possibly a different machine, with a different offset. Per-part charts in that world never collect enough data to set limits, and the limits they do set are recomputed so often that they mean little.

What stays constant in a job shop is not the part. It is the machine, the operation, the tool type, the fixture style and the gauge. A lathe that bores a 25 mm hole on Monday and a 40 mm hole on Thursday uses the same spindle, the same boring bar family and the same operator habits. If its ability to hold size changes, that change shows up on every part number it makes. Short-run SPC charts that shared process.

The SAS guide names the two approaches commonly used in the United States: “the difference from nominal approach,” where “a product-specific nominal value is subtracted from each measured value, and the differences (together with appropriate control limits) are charted,” and “the standardization approach,” where “each measured value is standardized with a product-specific nominal and standard deviation values.” The rest of this article turns those two methods into a procedure for a machine shop.

Chart the process, not the part: deviation from nominal

A deviation-from-nominal chart, often called a DNOM chart, plots each measurement minus its target, so parts with different sizes share one scale. A 25.003 mm bore with a 25.000 target and a 40.003 mm bore with a 40.000 target both plot at +3 micrometers. SAS lists the two assumptions behind it: that “the nominal value represents the central location of the process (ideally estimated with historical data)” and “that the process variability is constant across products.”

Define the scope of one chart

One DNOM chart should cover one machine (or one cell of identical machines run the same way), one operation, one feature family and one type of gauge. A feature family is a set of features made the same way: finish-bored diameters between 20 and 50 mm on Lathe 4, say, or reamed holes on one machining center. Mixing a turned outside diameter with a bored inside diameter, a roughing pass with a finishing pass, or a bore gauge with a caliper breaks the assumption of equal variation before the chart starts.

Decide what “nominal” means

The value you subtract should be the size the setup aims for. For a symmetric tolerance such as 25.000 ± 0.020 mm, that is the drawing nominal. For a one-sided or unequal tolerance such as 32.000 +0.024/-0.000 mm, the target is whatever the setup aims for, often the middle of the band, 32.012 mm. Ask the machinists, write it down, and subtract that value. If you subtract 32.000 instead, every part of that number plots about 12 micrometers high and the chart reports a shift that is only a convention.

Write the rule down per feature and keep the values in a table. The SAS example on analyzing the difference from nominal notes that “in short run applications involving many product types, it is common practice to maintain a database for the nominal values for the product types.” In a machine shop that table is keyed by part number, revision and feature, and it changes only under the same control as the drawing.

Use individuals, with moving ranges inside each job

In a job shop, parts are usually measured one at a time as they come off the machine, so the natural chart is an individuals chart with a moving range (I-MR) on the differences. The NIST handbook’s individuals chart uses the moving range of two consecutive values, MR = |x(i) − x(i−1)|, and sets the limits at the average plus or minus 3 times the average moving range divided by 1.128, which is about 2.66 times the average moving range. The moving range chart’s upper limit is 3.267 times the average moving range.

On a DNOM chart, compute moving ranges only between consecutive parts of the same job. A moving range across a job boundary measures the difference between two setups, not the short-term variation of the process, and it would widen the limits. SAS takes the same care in its worked example: it estimates the average moving range separately for each product type and then averages those estimates before dividing by d2. Pooling all the within-job moving ranges, as the example below does, follows the same idea.

When a job is long enough for subgroups

Some jobs run a few hundred parts, and some shops measure several consecutive parts at each check. Then a DNOM chart can use subgroups: plot the average deviation of, say, three or four consecutive parts and chart their range, with the X-bar and R constants for that subgroup size. Two conditions apply. Every subgroup on the chart must have the same size, and each subgroup must come from one job and one setup, never straddling a changeover. The usual rules for forming rational subgroups apply unchanged.

One habit does not qualify: measuring the first, middle and last part of a job and calling the three a subgroup. Those parts are hours apart, so their range includes tool wear and drift that belong between subgroups, and the limits come out too wide. Plot them as individuals instead.

Which features to chart

Chart the few features that matter, that recur across many part numbers and that are made by a shared process. A short-run program that tries to chart every dimension on every drawing drowns in families of two parts each and never reaches the 25 to 30 points a chart needs.

Five tests pick good candidates:

  1. Critical. The feature is flagged as critical or significant on the drawing or by the customer, or it causes most of your nonconformances.
  2. Shared process. Many part numbers make it with the same machine, operation and tool type.
  3. Shared gauge. It is measured with the same kind of gauge at a resolution well below the tolerance.
  4. Tight enough to matter. The tolerance is narrow compared with what the machine can hold, so drift costs scrap or rework.
  5. Frequent. Jobs with this feature run often enough to give 25 or more readings within a few weeks.
Candidate feature family Fit for one DNOM chart? Note
Finish-bored diameters, 20 to 50 mm, on one lathe Good Same boring bar type and bore gauge
Turned outside diameters on one lathe Good, as a separate chart from bores Different tool and gauge from bores
Hole positions from one machining center Possible Position is often one-sided; check the distribution first
Reamed holes of one nominal size across parts Good Variation is usually similar across parts
Thread acceptance (go/no-go) No Attribute data; use an attribute chart or a count
Flatness or runout Use care Bounded at zero and usually skewed; deviation charts assume roughly symmetric data

Gauge capability comes before any of this. A bore gauge whose repeatability is a large share of the tolerance will make every part number look alike, because the chart is measuring the gauge. Our article on running a gage R&R before SPC covers the study, and it matters more in short runs, where a single gauge serves dozens of part numbers.

Check that the parts vary alike before combining them

A DNOM chart uses one standard deviation for every part on it, so the part numbers must vary by about the same amount. If one part varies much more than the others, its normal spread looks like a string of special causes. If it is included in the moving-range pool, it widens the limits for every other part and hides their shifts.

The SAS guide is explicit: “The difference-from-nominal chart should be accompanied by a test that checks whether the variances for each product type are identical (homogeneous).” It recommends Levene’s test, noting that it is particularly appropriate for short runs because it is not thrown off by departures from normality. The test is a one-way analysis of variance on the absolute deviations of each reading from its part number’s average.

A practical check has three parts:

  1. Estimate the spread per part number. For each part number, average the moving ranges inside its jobs and divide by 1.128. With 8 to 16 readings per part, the estimates are rough, so compare them for large differences, not small ones.
  2. Run the formal test where your software offers it. A small p-value (for example, below 0.05) says the spreads differ. A large one says the data show no difference, which with small samples is not proof that they are equal.
  3. Apply engineering judgment. Parts that differ in material, wall thickness, tool overhang or clamping often differ in spread. A thin-walled sleeve that deflects under the boring bar does not belong with solid hubs, whatever the test says.

Example (fictional). A fictional job shop wants to chart finish-bored diameters on Lathe 4, measured with bore gauge BG-07 at a resolution of 0.001 mm. Over two weeks the lathe runs five jobs with a finish-bored diameter: J-501 (part P-1041, Ø25.000 ± 0.020 mm, 10 parts), J-507 (P-2210, Ø32.000 +0.024/-0.000 mm, target 32.012, 8 parts), J-512 (P-3307, Ø40.000 ± 0.015 mm, 12 parts), J-518 (P-1041 again, 6 parts) and J-522 (P-4120, a thin-walled sleeve, Ø45.000 ± 0.030 mm, 10 parts). Deviations from target, in micrometers:

  • J-501: +4, +1, 0, 0, -4, 0, +2, -3, -1, -4
  • J-507: +5, +7, +2, +6, +6, +2, +1, +6
  • J-512: -2, 0, -2, 0, -4, +4, -1, 0, +3, +1, -2, +2
  • J-518: +1, -2, 0, -3, +2, 0
  • J-522: +9, -8, -5, -12, +11, 0, +3, -3, +4, +6

The spread estimates from within-job moving ranges are 2.4, 2.7, 2.9 and 2.7 micrometers for the first four jobs, and 7.8 micrometers for the sleeve. Levene’s test on the three solid parts (P-1041, P-2210, P-3307) gives F = 0.12 with a p-value of 0.89: no sign of different spreads. Adding P-4120 gives F = 10.9 with a p-value of about 0.00002. The sleeve varies about three times as much as the others and does not belong in the pool, which matches what the machinists already suspected about thin walls.

Standardized charts when variation differs

When part numbers vary by different amounts, standardize the differences and put them on one chart with limits at plus and minus 3. The SAS guide puts it this way: “When the variances across product types are not constant, various authors recommend standardizing the differences from nominal and displaying them on a common chart with control limits at ±3.” Each point becomes z = (measurement − target) ÷ the part number’s own standard deviation.

A standardized chart keeps the shared-process view of a DNOM chart while letting each part carry its own spread. In the example above, the sleeve’s deviations divided by its estimated 7.8 micrometers range from -1.54 to +1.41, well inside ±3, while the solid parts use the family figure of 2.66 micrometers.

It has three costs:

  1. Each part needs its own spread estimate. A part number that has run once has a rough one, and a new part number has none. A practical stopgap is to borrow the estimate of a similar part and mark it provisional until the new part has enough readings of its own; this is a judgment call, not a published rule, so write it into the chart’s notes.
  2. The units disappear. Operators read micrometers, not z-scores. Show the deviation in micrometers alongside the standardized value so the person at the machine still knows how far off the part is.
  3. Small estimates mislead. A spread estimated from six readings can easily be half or double the true value, and then the standardized points for that part are squeezed or stretched. Update the estimate as runs accumulate and record which estimate each point used.

The three ways a job shop can chart a feature compare like this:

Approach What is plotted Spread assumption Best for Main weakness
Per-part chart Measured value Each part has its own Long-running repeat parts Rarely reaches 25 to 30 points per part
Deviation from nominal (DNOM) Value minus target, in the measured unit Same spread for every part on the chart Families that pass the variation check Wrong when one part varies more than the rest
Standardized (Value minus target) ÷ the part’s standard deviation Each part’s own spread, estimated from its history Mixed families, parts that differ in spread Needs a spread estimate per part; unitless

SAS also mentions two more technical options for software users: Hillier’s method (1969), which modifies the usual X-bar and R limits “in startup situations where fewer than 25 subgroup samples are available,” and Quesenberry’s Q chart (1991), which “standardizes and normalizes the data using probability integral transformations.” Both are worth knowing if your statistical software offers them. For most machine shops, a DNOM chart for each family that passes the variation check, and a standardized chart for the parts that do not, cover the need.

Setting the limits and reading a DNOM chart

Set the limits from 25 to 30 readings collected across several jobs and part numbers, compute the average moving range inside each job, and fix the limits until there is a reason to change them. Keep the center line at zero, so that a setup that aims off target shows up as an offset rather than being absorbed into the chart.

The procedure:

  1. Collect at least 25 to 30 readings from the feature family, across at least three jobs, before fixing limits.
  2. Compute moving ranges only between consecutive parts of the same job.
  3. Average all the within-job moving ranges; the individuals limits are 0 ± 2.66 times that average, and the moving range limit is 3.267 times it.
  4. Check for points beyond the limits and moving ranges beyond their limit; investigate each, and remove a point only when its cause is found.
  5. Freeze the limits with a version and a date, and recalculate only for the reasons the NIST handbook gives: at least 30 more points with no known process change, a major process change, or a known, preventable event that changed how the process behaves.

Exclude readings taken while the setup was still being adjusted. A first part measured, adjusted and remeasured until it is in tolerance tells you about the setup method, not about the stable process. Tag each reading with its measurement type (setup, first article, in-process, final) and set limits from in-process and final readings only.

Example (fictional), continued. For the four jobs on solid parts (36 readings), the 32 within-job moving ranges add up to 96 micrometers, so the average moving range is 3.0 micrometers and the estimated standard deviation is 3.0 ÷ 1.128 = 2.66 micrometers. The individuals limits are 0 ± 2.66 × 3.0, about ±8.0 micrometers, and the moving range limit is 3.267 × 3.0, about 9.8 micrometers. No reading falls outside ±8.0 and the largest moving range is 8 micrometers. If the sleeve’s moving ranges had been pooled in, the average moving range would have risen to 4.27 and the limits to about ±11.4 micrometers for every part; plotted against the ±8.0 limits without being pooled, four of the sleeve’s ten readings fall outside them (one only just), although nothing is wrong with the sleeve’s process.

All eight P-2210 parts in J-507 plot above zero, averaging +4.4 micrometers. The setup aimed about 4 micrometers above the 32.012 mm target. A Western Electric run rule of eight points in a row on one side of the center line fires on the job’s last part. A nine-point rule, the Nelson version, could never fire within an eight-part job.

Deviation from target, micrometers P-1041 P-2210 P-3307 P-1041 P-4120 +10 +5 0 -5 -10 UCL +8.0 CL 0 LCL -8.0 8 above zero not poolable Parts in measurement order, grouped by job
Deviation-from-nominal individuals chart for finish-bored diameters on a fictional Lathe 4 (jobs J-501, J-507, J-512, J-518 and J-522). Limits of ±8.0 micrometers come from the 32 within-job moving ranges of the four solid-part jobs; the sleeve (P-4120, dashed band) is shown for comparison and was not pooled. Fictional example data for illustration; formulas from the NIST/SEMATECH e-Handbook 6.3.2.2.

When part numbers join or leave the family

A family chart outlives any single part number, so it needs rules for change. When a new part number joins, chart its first job against the family limits, but also estimate its own spread and compare it with the family’s before you treat it as a full member; until then, mark its points as provisional. When a part number is retired, its history stays on the chart, because it still describes the process. Recalculate the family limits on the NIST schedule (at least 30 more points with no known change), and also when the process itself changes: a spindle rebuild, a new tool type for the family, a different gauge or a move to another machine. Each recalculation gets a new version, and the chart shows which version applied to which points.

Reading the patterns

Short-run charts are read job by job as well as point by point:

  • A run on one side within a job points to a setup offset: the tool was touched off high, the offset was entered from the wrong reference, or the target rule was misunderstood.
  • A trend within a job points to tool wear, thermal growth after start-up, or a fixture loosening.
  • A point beyond a limit points to a single event: a chip under the part, a gauge zeroed wrong, a mistyped value.
  • The same pattern at the start of every job points to the setup method, such as the first part after an offset change always running large.

Choosing alarm rules for short jobs

Rule 1, a point beyond the limits, applies across the whole chart. Run rules need more thought. A job of eight parts can never trigger a nine-point run rule by itself, and a run that starts in one job and finishes in the next mixes two setups. A workable compromise is to evaluate run rules within each job, accept the higher false-alarm rate of a shorter run rule for short jobs if setup offsets are your main risk, and review the average deviation per job as a separate list. Our article on Western Electric and Nelson rules gives the false-alarm cost of each rule.

What short-run charts can and cannot say about capability

A DNOM chart describes how well a machine holds size across part numbers, which is useful for planning, but it is not a capability study for any single part. The NIST handbook on capability says most capability estimates are valid only if the sample is “large enough,” which it puts at “about 50 independent data values,” and the indices assume normal data. A part number that runs eight pieces twice a year will rarely reach that on its own.

What the family chart offers is a planning estimate. Once the feature family has a stable standard deviation, you can compare it with each part’s tolerance before the job runs. With the fictional Lathe 4 figure of 2.66 micrometers, P-1041’s 40-micrometer tolerance band gives a Cp of about 2.51, P-3307’s 30-micrometer band about 1.88, and P-2210’s 24-micrometer band about 1.50. Centering matters as much as spread: with J-507’s mean of 32.0164 mm, P-2210’s Cpk falls to about 0.95. You can enter those values in the process capability calculator (limits 32.000 and 32.024 mm, mean 32.0164 mm, standard deviation 0.00266 mm) to see the arithmetic.

Treat these numbers as estimates for quoting and planning, labeled as based on the family’s spread, not as capability results for a part. They are most useful in two places: before a new job, to spot a tolerance the machine will struggle with, and in a quote review, to decide which part numbers need a different machine, a finishing pass or a closer look at the setup.

The data a shop needs to run this automatically

Short-run SPC depends on bookkeeping as much as on statistics. Every reading must carry enough context to find its target, its family and its job, or someone ends up rebuilding that context in a spreadsheet each week. When the data model is right, the charts update as readings arrive.

FieldExampleUsual sourceWhy the chart needs it
Part number and revisionP-2210 rev CERP or job travelerFinds the right target and tolerance
Feature IDBalloon 7, finish boreDrawing and inspection planIdentifies the feature on the part
Feature familyFinish bore 20 to 50 mm, Lathe 4Quality engineer, once per featureDecides which chart the reading joins
Nominal, tolerance and target rule32.000 +0.024/-0.000, target 32.012Nominal table under drawing controlComputes the deviation
Machine and operationLathe 4, operation 20Routing, or the machine itselfKeeps processes apart
Program and part countO2210, part 2 of 8Machine control, where it exposes themTies the reading to the cycle that made it
Job and setup IDJ-507, setup 1ERP or job trackerMoving ranges stay inside a job
Measurement typeIn-processEntry screen or gauge stationKeeps setup adjustments out of the limits
Gauge ID and calibration due dateBG-07, due 2027-03Gauge recordsTies the reading to a studied gauge
Value, unit and resolution32.019 mm, 0.001Gauge, measuring machine file or entryThe measurement itself
Timestamp and inspector2026-06-03 09:42, initialsGauge station or entry screenOrder and accountability
Fields a short-run SPC reading should carry. Example values refer to the fictional Lathe 4 example in this article.

Some of these fields come from people and documents, some from machines. The part number, job and routing usually live in the ERP or job-tracking system and can be read through its API or an export file. The active program and part count can often be read from the control through MTConnect or OPC UA, where the control offers them; each machine is checked during the equipment and data survey, and our machine connectivity service describes the gateway. Measuring machines usually write report files that can be parsed, and hand-gauge readings come from an entry screen designed like the digital check sheets described in our sibling article.

Store the measured value, not the deviation. If the database keeps 32.019 mm with its part, revision and feature, the deviation can be computed whenever the chart is drawn, from the version of the nominal table that applied at the time. If it keeps only +7 micrometers, a later correction to a target rule cannot be applied to history, and nobody can check the arithmetic. The same applies to units: store the value in the unit the gauge reports, with its resolution, and convert only for display.

The nominal table is the part that needs the most care. It is a controlled record: a new revision of a drawing must update it before the first reading of the new revision is charted, or the deviations will be wrong from that day on. Give it an owner, a change log and a check that refuses readings for part revisions without an entry.

A rollout for one machine and one feature family

Start with one machine and one feature family, not the whole shop. A single chart that the machinists trust teaches more than twenty charts nobody reads.

  1. Pick the machine and family. Choose a busy machine and a critical feature family that recurs across many part numbers, such as finish bores on the lathe that makes most of your hubs.
  2. Check the gauge. Run a measurement study on the gauge the family uses, and record the gauge ID on every reading from then on.
  3. Build the nominal table. List each part number, revision and feature in the family with its nominal, tolerance and target rule.
  4. Collect the baseline. Gather 25 to 30 in-process readings across at least three jobs, with job IDs and measurement types.
  5. Check the variation. Compare the spread by part number and run Levene’s test; move parts that vary differently to a standardized chart or their own group.
  6. Set and freeze the limits. Use within-job moving ranges, keep the center at zero, record the version and the data period.
  7. Choose the alarm rules and the reaction plan. Rule 1 across the chart, run rules within jobs, and first checks for each pattern: gauge, offset, tool, fixture.
  8. Review monthly. Look at offsets per job, the share of alarms with a found cause, and part numbers that should move between groups.

Example (fictional), the first month. After the baseline, the fictional shop moves P-4120 to a standardized chart with its own spread estimate, marked provisional until it has 25 readings. The monthly review lists the average deviation per job: most jobs sit within ±1 micrometer of target, but every job of a part with a unilateral tolerance sits 3 to 5 micrometers high, as J-507 did. The cause is a setup sheet that tells the machinist to aim “near the top of the band” for unilateral tolerances. The sheet is changed to name the midpoint, and the next three jobs on such parts center within 1 micrometer.

Questions shops ask about short-run SPC

We already do first-article inspection. Why chart as well?

First-article inspection answers one question once: is this setup making a good part? A DNOM chart answers a different one: is the machine holding size from part to part and from job to job? A setup can pass first article and still drift out during the run as the tool wears or the machine warms up, and a pattern of offsets across jobs, like the unilateral-tolerance habit in the example above, never shows up on a single first-article report. The two records support each other, and both can come from the same readings if each is tagged with its measurement type.

Our tolerances are wide. Is this worth it?

Perhaps not for every feature. Short-run SPC pays where the tolerance is tight compared with what the machine can hold, where a feature causes repeated scrap or rework, or where a customer asks for evidence of process control. For a feature whose tolerance is many times the machine’s spread, a periodic check against the tolerance may be enough. The planning estimate in the capability section is a quick way to sort features into those that need a chart and those that do not.

Does this work for fabrication, not just machining?

The method does not care what the process is, only that a shared process makes many part numbers. On a press brake, the bend angle measured against the programmed angle is a deviation from nominal, and bends of one material and thickness on one machine and tool set form a reasonable family. On a laser or plasma cutter, hole diameters or slot widths against their nominal can form a family for one material and thickness. The same checks apply: one gauge type, similar spread across parts, and enough readings before fixing limits.

How many charts will we end up with?

Fewer than you might fear. The five tests for a good candidate are meant to leave only a handful of feature families per machine; if they leave dozens, apply the “critical” test more strictly. A sensible start is one or two charts on the machines that make most of your critical features, adding families only when the first charts are read every day.

Who should watch the chart?

The machinist at the machine for points beyond the limits and runs within a job, because they can act before the next part. The quality engineer for the monthly view across jobs, because offsets per job, part numbers that vary differently and the nominal table are engineering questions. Write down who does what in the reaction plan, so an alarm on second shift does not wait for Monday.

What to do next

Short-run SPC needs three things more than it needs software: a shared process worth charting, a nominal table you trust and readings that carry their context. Before your first DNOM chart, check this list:

  • One machine, one operation, one feature family and one gauge type per chart.
  • A controlled nominal table with the target rule for each feature.
  • A measurement study on the gauge, and its ID on every reading.
  • 25 to 30 in-process readings across at least three jobs before limits are fixed.
  • Moving ranges computed only inside jobs.
  • A variation check by part number, with a standardized chart for the parts that differ.
  • Alarm rules chosen for short jobs, and a reaction plan for each pattern.
  • Every reading tagged with part, revision, feature, job, machine, measurement type and gauge.

Machine shops have their own mix of setups, first articles and short jobs; our page on software for machine shops describes how that work is recorded. OpenGXT builds, hosts and maintains cloud software for manufacturers, and its quality data service stores measurements with the part, job, machine and shift they belong to, which is the context a short-run chart needs. If you want to try one feature family on one machine first, you can plan a pilot line around it.

Working on this at your plant?

If this article describes a problem on one of your lines, tell us about it. We start with one line, its signals and the question you ask after every shift.