Advancing QE Skills | Alarm Points Do Not Equal Start Points —— Algorithm for Detection Delay, Affected Units, and Isolation Start Points in Control Charts

By: QTank Published: 11/25/2026 Views: 46
Current rating: ★★★☆☆ Rate this Equivalent to 8 ratings

A critical dimension on a machining line was placed on an X̄-R control chart, with 5 samples drawn every 2 hours, and a line speed of 600 units per hour. At 14:00 on Wednesday, a point exceeded the upper control limit, and the operator stopped the line according to the response plan, isolating "1200 units produced during the shift." The quality engineer (QE) arrived and spent 40 minutes investigating, concluding that it was an occasional equipment fluctuation, and signed off to release the units.

Three weeks later, the customer returned the product, citing that the same dimension was generally too large. Upon reviewing the data, the deviation began at 22:00 on Tuesday night—nearly 16 hours and approximately 9600 units had passed before the deviation was detected. However, the site only isolated the 1200 units produced during the shift, and the remaining 8400 units had already flowed to assembly, warehousing, and shipping.

The issue is not whether the operator stopped the line, but a default assumption that no one questioned: the point that triggers the alarm is the point where the deviation begins. Statistically, this is never the case. The task of a control chart is to "detect as soon as possible," but it inherently has a delay. The algorithm for the isolation range must take this delay into account; otherwise, even the most beautifully written response plan will only isolate a small portion of the affected units.

1. Two Numbers to Clarify the Issue: ARL0 and ARL1

There are two average run lengths on a control chart, with opposite roles, and they must be used separately:

  • ARL0: When the process is stable, the average number of points before a false alarm occurs. The false alarm rate for a single point under 3σ control limits is 0.27%, so ARL0 = 1 ÷ 0.0027 ≈ 370 points. At 3 subgroups per day, this results in about 3 false alarms per year—this number determines that "the entire line should not be stopped at the first alarm."
  • ARL1: When the process truly shifts, the average number of points before the shift is detected. This number does not have a fixed value and changes drastically with the size of the shift, it is the numerator for the isolation range.

How low can ARL1 be? When the shift reaches 3σ, the first point almost certainly exceeds the limit, ARL1 ≈ 1; when the shift is only 1σ, it takes an average of 4.5 subgroups (n=5) to detect the shift. In other words, control charts are extremely sensitive to "large jumps" but almost powerless against "slow drifts"—and 90% of defects on the shop floor are the latter.

For a process with a Cpk of 1.33 (4σ from the specification line): after a 1σ shift, the margin on one side is only 3σ, and the defect rate jumps from about 66 ppm to about 1350 ppm, a twentyfold increase. This level of shift is precisely the category that control charts are least adept at detecting.

2. Applicable Scenarios: Which Charts Can Use This Algorithm, and Which Cannot

Applicable:

  • Continuous batch production with stable cycle times and fixed sampling frequencies, using Shewhart charts (X̄-R, X̄-S, I-MR) to monitor key characteristics.
  • Daily production of more than 500 units, with batch numbers or serial numbers for traceability.
  • In stable mass production stages, where process parameters do not change frequently. This applies to industries such as automotive parts, electronic assembly, injection molding, machining, and process manufacturing.

Not Applicable, or Requires a Different Algorithm:

  • Autocorrelated processes (continuous measurements, adjacent points with a correlation coefficient significantly greater than 0): ARL tables are based on the assumption that "points are independent." When this assumption is invalid, the calculated number of units is meaningless. Use EWMA or CUSUM and take values according to their own ARL curves.
  • Already using EWMA / CUSUM: These charts detect small shifts much faster than Shewhart charts, and applying the X̄ chart algorithm from this article would multiply the isolation range by several times.
  • Attribute charts (p, np, c, u): Detection delay depends on both sample size and defect rate levels, and cannot be directly converted based on subgroup numbers.
  • Single-piece, small-batch, project-based production: Each product is unique, and tracking relies on serial numbers and assembly relationships, not statistical ranges.
  • Alarms due to gauge inaccuracy, reading errors, or data entry errors: First, repair the measurement system. At this point, the traceability is for measurement records, not the product.
  • After changeover, shutdown for maintenance, or process changes: The process has been reset, and control limits need to be recalculated. Old data does not participate, so there is no "backward traceability."

3. Criteria and Thresholds: Lookup Tables, Calculate Units, and 30-Minute Qualification

3.1 Detection Delay Table (3σ Control Limits, δ is the mean shift in process standard deviations)

Mean Shift δ ARL1 (n=3 subgroup) ARL1 (n=5 subgroup) Equivalent Time (2-hour subgroup interval)
0.5σ 60.7 subgroups 33.4 subgroups About 67 hours
0.75σ 22.5 subgroups 10.8 subgroups About 22 hours
1.0σ 9.8 subgroups 4.5 subgroups About 9 hours
1.5σ 2.9 subgroups 1.6 subgroups About 3 hours
2.0σ 1.5 subgroups 1.1 subgroups About 2 hours
3.0σ 1.0 subgroup 1.0 subgroup About 2 hours

Two direct conclusions: increasing the subgroup size from 3 to 5 units reduces the detection of a 1σ shift from 9.8 subgroups to 4.5 subgroups (approximately √n relationship, increasing sample size is more cost-effective than increasing frequency); a slow drift of 0.5σ, which appears to be fine, takes an average of 33 subgroups, or more than two days, to detect, making all previous production suspect.

3.2 Formula for Affected Units

Affected units ≈ Expected number of subgroups to detect × Production covered by each subgroup
               + Lag hours from sampling to judgment × Hourly production

At 600 units per hour and one subgroup every 2 hours (each subgroup covering 1200 units):

  • δ = 2σ: 1.1 subgroups × 1200 ≈ 1300 units
  • δ = 1σ: 4.5 subgroups × 1200 ≈ 5400 units
  • δ = 0.5σ: 33.4 subgroups × 1200 ≈ 40000 units

Whether to use the average or a conservative percentile must be clearly defined. ARL1 is an average, meaning that in half of the cases, it will take longer. For δ = 1σ, 90% probability of detection requires 9.2 subgroups, and 95% requires 11.9 subgroups—this translates to 11000 units, which is twice the average of 5400 units. The isolation range in the response plan should be set at the 90th percentile, while the average is used for post-incident calculations.

3.3 Qualification within 30 Minutes After Alarm (Decide Whether to Trace Back)

Three steps in parallel, with a 30-minute limit:

  1. Re-measure the same unit: Measure the same unit, at the same location, by the same person, three times. If the range of the three readings exceeds three times the usual measurement repeatability, or if the difference from the alarm value exceeds two times the measurement standard deviation, suspect the gauge and readings, and proceed with measurement system analysis, not the traceability process.
  2. Check 4M changes: Actual time points for batch changes, tool changes, mold changes, personnel changes, and parameter adjustments, compared with the alarm time. If there are changes, use this as the starting point for backward tracing.
  3. Find corroborative evidence: Check the same characteristic chart from the previous process, downstream station inspection data, and scrap and rework records to see if they show synchronous changes during the same period. If corroborative evidence shows synchronous changes, it can be confirmed as a true shift.

If all three steps indicate a process change, handle it as a true shift; if only the gauge item is abnormal, repair the gauge and retest, without tracing back; if all three steps are normal, handle it as a suspected false alarm, but a record must be kept, and two consecutive subgroups must be normal to close the case—a single abnormal point followed by a quick recovery is often an intermittent shift, not a false alarm.

3.4 Criteria for Releasing Isolated Batches

Can 5400 isolated units be released if 300 units are sampled and found to have zero defects? The 95% confidence upper limit for zero defects is 3 ÷ 300 = 1%, meaning that the entire batch could still have over fifty defective units. Sampling release is not valid in scenarios where a process shift is known to have occurred; only two options are available: full inspection or sorting by the suspected range (if it can be confirmed that only certain cavities, stations, or batches are affected, isolate by that dimension).

Full inspection also requires evidence: use 30 known defective units as blind samples, and a full inspection conclusion with a detection rate below 90% cannot be used for release. The miss rate for visual inspections is typically in the double-digit percentage range, and this number must be measured, not assumed.

4. Five-Step Execution: From Alarm to Release

Step 1: Circle the range first, then investigate the cause. Isolation and cause investigation must start simultaneously, not sequentially. If the investigation is halfway done before the goods are sealed, every unit produced in the meantime expands the range.

Step 2: Estimate the shift amount δ. Use the difference between the mean of the alarm subgroup and the control centerline, divided by the process standard deviation, to get the "observed shift." Note that this is a lower limit—by the time the shift is detected, it is usually larger than when it first began, and the actual δ is often one level higher. Use the next higher row in the table.

Step 3: Look up the table to determine the start point and number of units. The start point is the time corresponding to the last subgroup confirmed to be in control; if the alarm is from a trend-based rule (continuous rise, continuous same side), the start point is the time of the first point in the trend. The number of units is calculated using the formula in 3.2, and the 90th percentile is used as the standard.

Step 4: Inventory in three segments. Work in progress (including on the line, in buffer zones, and in inspection areas), inventory (finished goods warehouse, line-side warehouse), and in transit (already shipped, customer consignment). All three segments must be inventoried, and isolating only work in progress is the most common oversight. Notify customers of delivered batches and enter into negotiations and sorting.

Step 5: Release and documentation. After full inspection or sorting, the QE signs off for release; if the root cause is not confirmed, the batch cannot be released and must be "isolated pending judgment." Record four numbers: the number of isolated units, the number of units actually inspected, the number of confirmed defective units, and the time period of the defect distribution—these four numbers are the only basis for the next round of control chart and response plan validation.

5. Counterexamples and Misconceptions

Counterexample 1: Isolating only "the current shift" or "this box." This is the case in the example above. With a subgroup interval of 2 hours and a 1σ shift, the average duration is 9 hours, which cannot fit into an 8-hour shift. Isolating by shift will inevitably cut off cross-shift drift. The isolation boundary should be traced back in time, not by shift.

Counterexample 2: Investigate the cause first, then seal the goods. This is the wrong order. Cause identification can take hours or days, during which production continues, and every hour's output directly enters the suspect pool.

Counterexample 3: Dismiss the alarm as a false alarm if re-measurement is qualified. Re-measurement only proves that "the measurement of this unit is correct," not that the process did not shift over the past 9 hours. Moreover, the person re-measuring often already knows the original value, and the readings may unconsciously "regress" to the center. The criterion for a false alarm is two consecutive normal subgroups plus no abnormal corroborative evidence, not a single qualified re-measurement.

Counterexample 4: Widening control limits or marking alarm points as "abnormal data" and deleting them. This is substituting chart modification for process improvement. Recalculating control limits requires more than 25 new subgroups and a legitimate reason (changeover, process change, measurement system change), and "points look bad" is not a valid reason.

Counterexample 5: Releasing the entire batch based on the qualified conclusion of a sampling re-inspection. See 3.4; the sample size is not sufficient to support the batch quality conclusion. Conversely, another mistake is to multiply the isolation range by ten times for safety, leading to a complete line shutdown and customer supply disruption—ranges must have algorithmic basis, not just be larger.

Counterexample 6: Focusing only on process stability, not on how close to the specification line. Being within control limits does not mean being within specification, and being outside control limits does not mean being out of specification. Use control charts to determine the isolation range, and use specification lines and actual measurements to determine product disposition—two separate criteria.

6. Self-Check List

  • Each control chart clearly states the subgroup interval and "how many units each subgroup covers," allowing for a direct conversion to the number of units.
  • The isolation range in the response plan is a time point plus a number of units, not "suspect items" or "related batches."
  • The isolation start point is the time corresponding to the last subgroup confirmed to be in control, and for trend-based alarms, it is the time of the first point in the trend.
  • The range is set at the 90th percentile (approximately twice the average), and the average is used only for post-incident calculations.
  • There is evidence of the detection capability before release (blind samples of at least 30 units, detection rate no less than 90%).
  • All three segments—work in progress, inventory, and in transit—have been inventoried, and there is a record of customer notifications for delivered parts.

The alarm point is at the end; isolation should start from the point of deviation.

Knowledge code: 6.3.1

Version: v20261125

Author: QTank QTank is dedicated to providing systematic professional knowledge, methodologies, and practical tools for quality management practitioners, helping companies continuously improve their quality capabilities.