Preprint
Article

This version is not peer-reviewed.

Separating Sensor Drift from Supplier-Lot and Tool-Wear Drift in Sensor-Driven Assembly: A Reference-Anchored Monitoring and Attribution Scheme

Submitted:

24 November 2026

Posted:

26 November 2026

You are already at the latest version

Abstract
Changes in measurements collected during assembly do not always reflect changes in the parts themselves. A drifting sensor, a nonconforming supplier lot, and tool wear can produce similar signals, particularly when they occur together. This study presents a reference-anchored approach to distinguish these sources. Periodic measurements from an independent gauge are used to estimate sensor error and correct inline readings when needed. A hierarchical model and separate cumulative sum (CUSUM) charts then track supplier-lot effects and tool wear. The approach was tested on a simulated assembly line with known causes of drift, using 1,000 runs per scenario and thresholds calibrated on 8,000 drift-free runs. When sensor drift and supplier failure occurred together, the method identified the correct set of causes in 74% of runs (95% CI: 72–77%), while neither comparison method achieved this. Without reference measurements, sensor drift was incorrectly attributed to a supplier in 89% of sensor-only runs. For supplier-only failures, accuracy was similar to EWMA (65% versus 67%). In UCI gas-sensor data, reference correction every five samples reduced prediction RMSE from 1.91 to 0.42. NASA milling data showed that spindle current did not predict wear better than cutting time.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

Inline, on each assembly, using force, torque, displacement and dimensional sensors, sensors measure critical-to-quality characteristics (CTQs). These measurements are fed to control charts, release and supplier scorecards. This approach is a practice that assumes that the value of the product is measured by the sensor reading in line. If a chart indicates a sustained change, quality engineers might believe that this is due to the latest change event that occurred, such as a component lot change or a calibration or tool change.
This heuristic is valid if there is only a single source of variation that changes at a time but not valid when there is an overlap of sources of variation. The sensor offset or gain might drift, for instance, while a supplier is being supplied with borderline lots, or the cutting or pressing tool wears out quicker than expected. Only their combined effect is recorded in the chart. Misattributed sensor drift will have a direct commercial cost, as the supplier will take steps based on the attributions, such as requesting corrective action, containing and even disqualifying the product in severe cases.
There are well-established statistical process monitoring (SPM) tools for detecting change [1,2,3,4], and a considerable amount of research which has focused on the diagnosis of sources of variation in multistage assembly [5]. There are methods for identifying sensor faults and detecting process faults [6,7], and methods for estimating lot-to-lot variance components [8]. These strands usually consider two sources of data instead of jointly modeling sensor error, lot effects and tool wear. Three simultaneous sources of drift seem to be underrepresented in the literature reviewed. The current existing benchmarks also do not assess causal attribution but rather detection [9].
The study examines three questions: (1) when are sensor drift, supplier-lot shift and accelerated tool wear distinguishable with the information available in routine line data; (2) what happens to three-channel attribution if the audit interval is lengthy; and (3) would three-channel attribution be superior to event-based assignment of an observed shift?
The study has three contributions. First, it provides a reference-anchored attribution scheme. A sparse audit separates the sensor error, a gated correction eliminates the sensor error, and a lot/hierarchy based model of tool lives permits distinction between supplier and wear drift CUSUM channels. The scheme is validated using concurrent drift and mixed-variant production with span drift in a calibrated simulation study against known ground truth. Two channels are then studied, in which public data sets with independent reference measurements are analysed: sensor drift in a chemical sensor array; tool wear in milling. Because no public data exists that correlates component lots to inline sensor data, only a simulation could be used to evaluate the supplier channel, which the paper explicitly states, rather than using a proxy to determine the supplier performance.

3. Simulation Model of a Sensor-Driven Assembly Line

The line generates a sequence of units i = 0, . . . , 5999. One of the CTQs is modelled as deviation from nominal, in units of the process standard deviation σ. The actual value of the unit i is
q i = u l ( i ) + r i c i + ε i ,   ε i ~ N ( 0 ,   1 )
where ℓ(i) represents the component lot that was used in unit i, uℓ stands for the lot effect, ci represents the number of cycles since the last scheduled change of the tool, and ri represents the wear rate. There are 200 units in each lot, and they are drawn randomly from 3 suppliers (A, B, C). A compliant lot has uℓ ~ N (0, 0.15²). In Figure 1, the wear profile is a sawtooth profile with wear of 0.6σ at the end of every tool life, since the tools are changed every 500 units.
yi = qi + oi + γi(Ni + qi) + ηi, ηi ~ N(0, 0.30^2) (2)
where o_i is a zero-shift (offset) error; γ_i is a span (gain) error; and N_i is the nominal level of the product variant delivered from that lot. Like with a physical transducer, the gain term is applied to the absolute level that is measured. Every unit is re-measured by a reference gauge, e.g., a coordinate measuring machine, after every k unit (k = 20 by default):
zi = qi + ξi , ξi ~ N(0, 0.102), i ∈ {0,k,2k,…} (3)
As summarized in Table 1, the first 1,500 units are an in-control reference period (Phase I). There are three drift sources that can be turned on, with onsets selected at random and uniformly distributed, from 2,000 to 4,000 units:
  • Sensor drift: A drift of 1σ/1,500 units in oi (offset mode) and/or a drift of 5%/1,500 units in γi (gain mode).
  • Supplier compliance failure: All lots from supplier B released after onset go by δ = 0.6σ. If there is a failure, it is only recorded once at least one of these lots has been used.
  • Accelerated tool wear: Once the onset of wear, the wear rate increases to 2.5 times the normal value.
The default simulation is for a single product variant, nominal level N = 20σ (e.g., 4 kN press-fit force, with process SD = 0.2 kN). In Section 6.4, we consider the mixed-variant experiment, which has nominal levels of 10σ, 20σ, and 30σ. The magnitude of the drifts was maintained at about 1σ or less of their nominal operating point over the study window.

4. Reference-Anchored Three-Channel Attribution Scheme

The scheme has three monitoring channels, one for each candidate cause, and a correction step that connects the first and the other two. The method relies on the difference between inline and reference measurement at audited units to estimate the sensor error independent of lot and wear effects and assumes a reference gauge, which is subject to measurement noise and reference-gauge assumptions. Once the estimated sensor component is corrected, the variance left over is modelled as lot and tool-life effects.

4.1. Sensor Channel

Let dj = yj − zj at unit j, where j is an audited unit. They are standardised by the values of their Phase-I mean and standard deviation and tracked using a two-sided tabular CUSUM (reference value 0.5):
C j + = max 0 ,   C j + + s j − 0.5   C j − = max 0 ,   C j − − s j − 0.5
The default correction will subtract the offset, but not the ĉ = 0. It is compared to the offset-plus-gain variant in Section 6.4, where the gain is estimated from sparse audits, and the variance that adds to the estimate is warranted only under certain conditions.

4.2. Gated Correction

Correction is only triggered in case of a sensor alarm and is only applied from the estimated change point. Gated correction is used because, without sensor drift, it introduces noise in the lot and mismatches the bias in the estimates of the lot. An exponentially weighted recursive regression of the audit residual on the absolute reference reading estimates the sensor offset (â) and gain (ĉ), using a forgetting factor of λ = 0.10 and a ridge penalty of 2 on the slope. Estimates are made between audits, and each unit is adjusted based on the model inversion of the sensor on the absolute scale:
y i c   =   y i + N i − a i ^ 1 + c i ^   −   N _ i
The default correction fixes ĉ = 0, so that only the offset is removed. The offset-plus-gain variant is compared with it in Section 6.4, because estimating a gain from sparse audits adds variance that is justified only under certain conditions.

4.3. Hierarchical Model of Lots and Tool Lives

A linear mixed model with lots as random effects and one wear slope per tool life [17] is used to describe the corrected series:
y i c =   μ   +   u l i +   β t i c i   + e i ,   μ   +   u l   ~   N 0 ,   σ l 2 ,     e i   ~   N ( 0 ,   σ e 2   )  
In which t(i) represents the tool life of tool number i. Variance components are estimated using eight iterations of the EM algorithm [20], and lot effects are used as best linear unbiased predictors (BLUPs) [21]. In one illustrative run, the EM estimator was compared with a restricted maximum-likelihood (REML) fit from the statsmodels Python module MixedLM [22]. For both methods, the between-lot and the within-lot standard deviations were within 0.250, and the difference between the estimated tool-life slopes was less than 10-4σ per tool life.

4.4. Wear and Supplier Channels

The wear channel standardises each estimated tool-life slope relative to the inverse-variance-weighted mean slope obtained during Phase I. A two-sided CUSUM chart with a reference value of 0.5 is then applied to monitor deviations in tool-wear behaviour.
The supplier channel takes place at the estimated level μ ̂   +   û l of each of the lots used after Phase I. Lot levels are standardised separately for each supplier for each lot, based on the mean level of the Phase-I lots, and the standard deviation of a BLUP computed under the no-drift hypothesis, ( σ ^ 2 l   −   Var ( û l   |   y ) ) . Each supplier’s sequence of lots is inspected using a two-sided CUSUM with reference value 1.0, and an alarm is set at the end of the lot. If multiple alarms are set off, the supplier that sent the earliest alarm is called out. The wear alarm is assigned to the end of the corresponding tool life.
There are two points in the design that need to be explained. First, supplier compliance is measured by the pooled Phase-I level; if the suppliers that are compliant provide the same nominal value, then supplier-specific reference levels would be required. Second, lot effects and tool-life slopes are estimated based on production order, while the alarms are assessed based on the analysis window. Complete recursive version is left as an exercise for the reader.

5. Experimental Design and Calibration

5.1. Scenarios

Six scenarios were simulated: (1) no drift, (2) sensor drift only, (3) supplier failure only, (4) accelerated tool wear only, (5) all three drift sources occurring within the same production run, and (6) confounded sensor drift and supplier failure with coincident onset times. In the confounded scenario, the two causes cannot be distinguished using event timing alone. Each scenario was evaluated using 1,000 independent simulation replications.

5.2. Methods Compared

  • Proposed: Anchored scheme (Section 4, offset-only correction).
  • EWMA with event-based attribution (baseline): An EWMA chart with a smoothing constant of 0.05 on the inline signal, which is standardised by the Phase-I mean signal and the Phase-I standard deviation signal. A rule is applied to approximate common practice at the first alarm. If the lot has started in the last 150 units, it names a supplier; if the lot is in the last 150 units of the scheduled change, it names wear; otherwise it names the sensor. Only one cause can be specified for the rule.
  • No-anchor ablation: Same as anchored scheme, but without the audit, and with only wear and supplier channels.
The three methods are applied in each replication on the same simulated line, and paired comparison is allowed.

5.3. Threshold Calibration

Empirical thresholds were determined from an independent random stream that was used to run 8,000 drift-free trials for each method. Two steps were used in the calibration of the anchored scheme. The sensor threshold was set first, as it is a statistic not dependent on the correction. The gated correction is then turned on, and the wear and supplier thresholds are set accordingly, as they would be in operation. The threshold of each channel was set at the 1 − 0.05/3 quantile of its null maximum, a Bonferroni split of a nominal 5% family-wise false-attribution rate. For each of its two channels, the ablation used 1 − 0.05/2, and the null quantile for the EWMA (at 95%) threshold was used. In the anchored scheme, thresholds were established as: hS = 11.22, hW = 9.93 and hL = 3.49; for the ablation as: hW = 9.09 and hL = 3.26; and for the baseline, as 6.24 (standardised EWMA units). The false-attribution rate in the independent null replications is reported instead of assumed in Section 6.1. The threshold-calibration rule is presented in Equation (7).
h c = Q 1 − 0.05 3 ( max j C j c under   the   null )

6. Outcome Measures and Statistical Analysis

The main outcome was exact-set accuracy, which is the percentage of runs in which the set of causes stated is the same as the set of causes that are known; naming an additional cause or failing to name a cause is considered a mistake. Per-cause recall and false-attribution rate of causes that are not present and detection delay (i.e., number of units between the true onset and alarm) were secondary outcomes. Onset was the date of the first non-compliant lot for a supplier failure. A 95% score by Wilson [23] is used for reporting proportions. The exact McNemar test [24] was applied to discordant runs in pairs of methods.

6.1. Sensitivity Analyses

Three sensitivity analyses were conducted, and a retrospective PELT search was conducted for comparison. The number of audits k was varied from 5 to 200 units, with the calibration of the thresholds re-done for each value (2,000 null runs, 500 replications per k value). A change in the supplier, 0.3σ to 1.2σ, was studied (500 replications were performed for each change in supplier). For a mixed-variant line, offset or gain sensor drift was simulated, and sensor drift correction of offset-only and offset-plus-gain were compared (thresholds were re-calibrated on 4,000 null runs; 1,000 replications per setting). As a comparison, a retrospective PELT change-point search using an ℓ2 cost on 50-unit block was also performed, with the penalty set so it would have a 5% null false-change rate.

6.2. Implementation

All analyses were performed in a single Jupyter notebook using master seed 20261022, and within Python 3.13, NumPy, pandas, SciPy, statsmodels 0.15.0, ruptures 1.1.10 and scikit-learn. Results were checked to be reproducible on two machines running two different versions of NumPy (2.1.3, 2.5.3), and the results were found to agree exactly in fast-mode runs.

7. Results

7.1. Null Behaviour

The anchored scheme had a false attribution rate of 7.3% (95% CI 5.8–9.1%) for 1,000 drift-free replications, while 5% was the nominal rate for the scheme. The EWMA baseline did so in 5.9% (4.6–7.5%) and the ablation in 6.0% (4.7–7.6%). By component, the anchored scheme misnamed the sensor (2.5%), a supplier (3.2%) and wear (1.8%).

7.2. Attribution Accuracy by Scenario

Exact-set attribution accuracy is presented in Table 2 and Figure 2. The proposed reference-anchored scheme achieved 92% accuracy in the sensor-only scenario, 65% in the supplier-only scenario, and 95% in the wear-only scenario. When all three drift sources were present, exact-set accuracy was 74%. The scheme also achieved 74% accuracy in the confounded scenario, where sensor drift and supplier failure had coincident onset times. Neither the event-based EWMA baseline nor the no-anchor ablation correctly identified the complete set of causes in either the all-three or confounded scenarios.
Anchored scheme was preferred to the baseline in the scenarios when sensor drift or accelerated sensor wear occurred (Table 3 - paired comparisons). In the case of a single supplier failure, there was no significant difference between the anchored scheme and the baseline (p = 0.25), and the anchored scheme was less accurate than the ablation (6 vs 53 discordant runs, p < 10-9).

7.3. Patterns of Misattribution

In the sensor-only simulations, the no-anchor ablation incorrectly attributed sensor drift to a supplier in 89% of runs and to tool wear in 29% of runs, while no cause was identified in 7% of runs. Supplier and wear attributions were not mutually exclusive. The event-based EWMA baseline correctly identified sensor drift in only 6% of sensor-only runs and incorrectly attributed the shift to a supplier in 76% of runs. In the wear-only scenario, the baseline attributed drift to a supplier in 73% of runs, probably because a recent lot change preceded the monitoring alarm. In the confounded scenario, the reference-anchored scheme identified both sensor drift and supplier failure in 77% of runs, whereas neither comparator could identify both causes simultaneously under its specified attribution rules. Among the supplier failures detected by the reference-anchored scheme, the correct supplier was identified in all reported detections.
For the anchored scheme, the median detection delays were 648 units for sensor drift, 954 units for accelerated wear and 1,599 units for supplier failure (Figure 3). The baseline identified failures at the supplier earlier (median 328 units), but the baseline could only give one cause for each alarm. All 100 runs tested for each scenario had some sensor drift, and the penalty in the retrospective PELT procedure was set to achieve a null false-change rate of 5% with a median onset error of 749 units. It found accelerated wear in 89% of the runs with a median error of 166 units, and supplier failure in 8% with a median error of 550 units.

7.4. Span Drift on a Mixed-Variant Line

Under offset drift, the two correction approaches achieved similar exact-set accuracy in the sensor-only scenario (0.92 versus 0.94; Table 4). In the confounded scenario, offset-only correction achieved a small but statistically significant improvement over offset-plus-gain correction (0.71 versus 0.68, p = 0.0004). If the sensor was shifted in span, the offset-only correction resulted in a variant-dependent residual which correlated with lots. The accuracy was then 0.45 vs 0.68 for the offset-plus-gain correction (270 vs 43 discordant runs, p = 2.3 × 10-41).

7.5. Audit Density

When sensor drift is the only factor, accuracy decreased with increasing sparseness of audits, from 0.96 for k = 5 to 0.41 for k = 200, and the median sensor-detection delay increased from 411 to 1,957 units (Table 5, Figure 4). Neither did accuracy in all three drifts or in the confounded scenario monotonously increase or decrease - it ranged from 0.58 to 0.81 over the same grid, with supplier detection, rather than sensor detection, limiting performance there. See Figure 5 to check the result of Supplier failure only and confounded with sensor drift.

8. Validation on Public Data

Two public data sets were chosen for evaluation with independent reference measurements on individual channels. Both datasets lack the supplier and/or component-lot information (see Limitation 1).

8.1. Sensor Channel: Chemical Sensor Array Drift

UCI Gas Sensor Array Drift Dataset at Different Concentrations are 13,910 measurements from 16 metal-oxide sensors [25,26]. Measurements were collected over 36 months, during which 16 metal-oxide sensors were exposed to six gases at known concentrations, and the resulting observations were organised into 10 batches. The known stimulus was external reference (controlling the gas and concentration delivered). Only the number of measurements of acetone was sufficient for the analysis to focus on this gas, and the change in resistance at steady state was used. All the sensors were calibrated against log concentration in batch 1. The row order in each batch was taken as the time order.
Drift was observed in the first batch after calibration (batch 2). The sensor was flagged for a batch if its median standardised residual was more than two calibration standard deviations from the mean and the 95% bootstrap confidence interval did not include zero. In batch 2, 7 sensors were marked as “failed”, and in batches 4 and 5, 11 sensors were marked as “failed”. A range of sensors drifted in varying directions, and the median gain for each batch varied between 0.35 and 2.60, indicating that the drift was neither offset-only nor uniform across sensors (Figure 6). No per-sample CUSUM was implemented here because the samples are delivered in concentration blocks and the residuals from the calibration are autocorrelated and would set off an alarm within the calibration batch.
The concentration was assumed known for each sample in the sample set after the first batch, and only tested for the kth sample. A ridge regression model was trained using batch 1 and made predictions for the remaining samples, both with and without anchored correction of each sensor, for batches 2–10 (Table 6). Table 6 reports the results for λ = 0.15. The sensitivity analysis in Supplementary Table S1 further shows that λ = 0.30 produced lower offset-only prediction errors across all four audit intervals, indicating that correction performance was sensitive to the forgetting factor.
Without anchoring, the RMSE was 1.914. With offset-only anchored correction, it was brought down to range 0.416 to 0.605, while the RMSE would monotonically increase with increasing distance between anchors. The offset-plus-gain correction was less accurate than the offset-only correction at each density of anchors tested, and at all three forgetting factors (λ = 0.05, 0.15, 0.30) tested (Supplementary Table S1).

8.2. Wear Channel: Milling Tool Wear

The NASA Ames milling data consists of 167 runs performed in 16 run-to-failure experiments [27]. Spindle current, vibration and acoustic emission signals were recorded during each run, and the flank wear (VB) was checked by microscope between runs. VB was not imputed for the 21 runs that were missing. Fourteen cases with at least five measured runs (142 runs) were analysed. The signal used, defined in advance, was the RMS value of the AC current in the spindle, normalised to the first run of each case.
The median Spearman correlation for the individual cases was 0.99 between spindle current and flank wear (VB). This correlation is not indicative, as both variables may increase with cutting time. The primary analysis was then performed using leave-one-case-out prediction of VB, adjusting for depth of cut (DoC), feed and material. A model based on spindle current was contrasted with a model based on cutting time. The time-only model gave a mean absolute error of 0.129 mm (95% CI 0.106–0.154), the signal model 0.212 mm (0.188–0.238) and the combined model 0.154 mm (0.134–0.177). These data do not justify the inclusion of spindle current in the wear channel as input to the signal model, since it did not add any value to cutting time.

9. Discussion

9.1. What the Anchor Contributes

The most obvious in this case is the anchor itself. Drift in the sensor was often falsely attributed rather than simply overlooked, especially if a reference could not be found. In the sensor-only simulations, the drift was attributed to a supplier for 89% of the runs, compared to 76% for the event-based baseline. This is the typical output of any method modelling just process sources, which is a ramp in sensor offset that cannot be distinguished from a sequence of lots arriving slightly high from the inline signal alone. This is directly related to supplier quality management. A plant that correlates its inline shifts to incoming material, but does not verify them along its measurement system, may initiate corrective actions to a supplier’s deviation if the deviation is found in the plant’s measurement system.
The nature of the audit isolates sensor error since the difference between the inline and reference signal, usually the product signal (Section 4), is mostly cancelled out. The corrected series can then be studied to see if there are identifiable patterns; lot effects occur at the boundaries of lots, and wear occurs over tool life and resets with a changeover to another tool. This is why the anchored scheme was able to get 74% exact-set accuracy in the confounded scenario, where the timing of events did not provide any information. The development fills in the remaining part of the spectrum separation between sensor and process developed by [7] and Dunia and Qin [6], adding the second structurally different source to the process side.

9.2. What the Anchor Does Not Contribute

The ablation experiment did not produce a greater accuracy for the isolated supplier failures; the accuracy was 0.69 for the ablation, 0.67 for the EWMA baseline, and 0.65 for the proposed scheme. Some of the lower accuracy compared with the ablation could be due to false sensor alarms, which can introduce noise in the lot-effect estimates via the gated correction. There were also fewer supplier failures identified earlier in the baseline (Section 6.3). Because it reacts to any drift which follows a lot change, it is also fast; this is the reason why it misattributes most sensor-only and wear-only drifts to the sensor supplier (Section 6.3). This is because of the slower response of the supplier channel, which is based on the unit of evidence: it moves down lots, and only one supplier’s lot contains the signal. On average, approximately 1 out of 3 lots is sampled from 3 suppliers, all of which are in random rotation, and has the 0.6σ shift.
The sweep points of the audit density are in the same direction. The performance of the sparser audits is obviously harmed by sensor drift, but in the multi-cause scenario, sensor drift does not necessarily cause a monotonic drop in accuracy with k. In that case, the limiting factor is the detection power of the supplier channel. Little benefit can be gained from higher sensor channel density than moderate.

9.3. Gain Drift and the Limits of the Simulation

The mixed-variant experiment demonstrates drift of spans if the line has product with varying levels of nominals in campaigns that follow lots. In those cases, an offset-only correction results in a residual which the mixed model treats as a “lot effect” and accuracy with offset-only correction dropped from 0.71 to 0.45 with offset drift and gain drift, respectively (Table 4). By contrast, a single variant line will generate the same amount of variance if there is a span error at a fixed operating point; and estimating gain adds variance.
For the gas-sensor analysis, a benefit of gain correction was not observed; offset-only correction achieved lower prediction error at all audit densities tested, even when significant batch-to-batch changes in sensor gain occurred. A potential account is that the drift in metal-oxide sensors cannot be easily modeled as a linear drift gain, which results in devices with few anchors being able to capture only noise and not a systematic change. This is a simulated sensor that may not reflect the actual drift in the sensor’s offset or span. The single-variant simulation and real data both advocate offset-only correction, therefore. For mixed-variant lines, gain correction should only be used for lines that have linear span drift recorded in the calibration history.

9.4. The Wear Channel on Real Data

The outcome of the mill is negative. However, the spindle current was followed to observe the flank wear in each case, and it was not as good a predictor of wear across cases as cutting time was. There are two possible interpretations. First, the statistical method could be valid, but spindle current might not be a good cross-condition signal of wear. Second, if wear is closely tied to the elapsed cutting time, it can be hard to improve upon a time-based model. The result warns against using a high within-case correlation as evidence of a physical signal as an indicator of wear; however, if an AR is used, it is advisable to verify whether a signal truly represents wear. There is no auxiliary signal. It is the CTQ itself that is simulated through the wear channel. The result does not conflict with the simulation results, but the wear channel is still not valid on the real data.

9.5. Limitations

  • The supplier channel was only evaluated in simulation. There is no publicly available database that correlates component lots and suppliers with inline sensor data.
  • The mean (SD) number of CTQs modelled was 1.00 (0.00). Variance growth, sensor noise inflation and interactions between sources (e.g., faster material wear due to increased hardness) were not included.
  • In addition to estimation being retrospective instead of recursive (Section 4.4), there may be variations in real-time performance.
  • The realised rate of null false-attribution was 7.3% (above the nominal 5%). It is Monte Carlo calibrated and has sampling error in its tail quantiles.
  • All checks of the public data are single-channel checks, and the order of the rows in a batch is assumed to also be the order of time.
The assumptions for drift magnitudes, lot size, tool life and audit rate are shown below: Some but not all of these are covered by the sensitivity sweeps.

Conclusions

Assigning an inline measurement shift to the most recent production event can be misleading when sensor drift, supplier-lot changes, and accelerated tool wear overlap. In the confounded simulation scenario, the event-based EWMA baseline failed to identify the complete set of causes and incorrectly attributed sensor-only drift to a supplier in 76% of runs. By incorporating independent reference-gauge audits at intervals of 20 production units, the proposed reference-anchored scheme separated sensor error before modelling lot and tool-life effects. The scheme achieved 74% exact-set attribution accuracy in the confounded scenario and 92% accuracy in the sensor-only scenario. These findings demonstrate the potential benefit of incorporating independent reference measurements into quality-monitoring systems when several sources of variation may occur simultaneously.
The proposed scheme did not produce better “exact-set” accuracy with isolated supplier failures, and its error rate by “false-attribution” (7.3%) was higher than the nominal 5%. It was confirmed that the gas-sensor analysis was able to decrease prediction RMSE by around 78% when one gas sensor reference was provided for five samples, which provides further evidence of the sensor channel’s potential value. It was found that spindle-current signal was not better than cutting time for predicting milling wear. The wear channel is not validated yet, as is the supplier channel.
The findings ought to lead quality engineers to be more cautious when deciding that an inline measurement shift has occurred because the measurement system is not suitable for the task without confirming it with an independent measurement using the same parts in a sample. Going forward, additional evidence should be based upon data from plants, unit identifiers, component lots, inline measurements, and reference-gauge audits.

Supplementary Materials

The following supporting information can be downloaded at the website of this paper posted on Preprints.org.

Funding

No external funding was received.

Ethical considerations

Not applicable.

Declaration of conflicting interests

The author declares no conflicts of interest.

Data availability

The data and code will be made available upon reasonable request.

Abbreviations

The following abbreviations are used in this manuscript:
Abbreviation Full form
AC Alternating Current
BLUP Best Linear Unbiased Predictor
CI Confidence Interval
CTQ Critical-to-Quality Characteristic
CUSUM Cumulative Sum
DoC Depth of Cut
EM Expectation–Maximization
EWMA Exponentially Weighted Moving Average
NASA National Aeronautics and Space Administration
PELT Pruned Exact Linear Time
REML Restricted Maximum Likelihood
RMS Root Mean Square
RMSE Root Mean Square Error
SD Standard Deviation
SPM Statistical Process Monitoring
UCI University of California, Irvine
VB Flank Wear

References

  1. Roberts, S.W. Control chart tests based on geometric moving averages. Technometrics 1959, 1, 239–250. [Google Scholar] [CrossRef]
  2. Lucas, J.M.; Saccucci, M.S. Exponentially weighted moving average control schemes: Properties and enhancements. Technometrics 1990, 32, 1–12. [Google Scholar] [CrossRef]
  3. Killick, R.; Fearnhead, P.; Eckley, I.A. Optimal detection of changepoints with a linear computational cost. J. Am. Stat. Assoc. 2012, 107, 1590–1598. [Google Scholar] [CrossRef]
  4. Page, E.S. Continuous inspection schemes. Biometrika 1954, 41, 100–115. [Google Scholar] [CrossRef]
  5. Shi, J.; Zhou, S. Quality control and improvement for multistage systems: A survey. IIE Trans. 2009, 41, 744–753. [Google Scholar] [CrossRef]
  6. Dunia, R.; Qin, S.J. Joint diagnosis of process and sensor faults using principal component analysis. Control Eng. Pract. 1998, 6, 457–469. [Google Scholar] [CrossRef]
  7. Li, S.; Chen, Y. Sensor fault detection for manufacturing quality control. IIE Trans. 2009, 41, 605–614. [Google Scholar] [CrossRef]
  8. Steffey, D.; Ostarello, A.; Clevenger, J.; Villarraga, M. Troubleshooting analyses of production data. Int. J. Ind. Eng. Theory Appl. Pract. 2009, 16, 206–213. [Google Scholar] [CrossRef]
  9. Wolf, E.; Windisch, T. A method to benchmark high-dimensional process drift detection. J. Intell. Manuf. 2026, 37, 1179–1195. [Google Scholar] [CrossRef]
  10. Montgomery, D.C. Introduction to statistical quality control, 8th ed.; Wiley: Hoboken, NJ, 2019. [Google Scholar]
  11. Truong, C.; Oudre, L.; Vayatis, N. Selective review of offline change point detection methods. Signal Process. 2020, 167, 107299. [Google Scholar] [CrossRef]
  12. Gama, J.; Žliobaitė, I.; Bifet, A.; Pechenizkiy, M.; Bouchachia, A. A survey on concept drift adaptation. ACM Comput. Surv. 2014, 46, 1–37. [Google Scholar] [CrossRef] [PubMed]
  13. Lu, J.; Liu, A.; Dong, F.; Gu, F.; Gama, J.; Zhang, G. Learning under concept drift: A review. IEEE Trans. Knowl. Data Eng. 2019, 31, 2346–2363. [Google Scholar] [CrossRef]
  14. Woodall, W.H.; Montgomery, D.C. Research issues and ideas in statistical process control. J. Qual. Technol. 1999, 31, 376–386. [Google Scholar] [CrossRef]
  15. Yang, Q.; Chen, Y. Sensor system reliability modeling and analysis for fault diagnosis in multistage manufacturing processes. IIE Trans. 2009, 41, 819–830. [Google Scholar] [CrossRef]
  16. Eydam, L.; Furtner, L.; Lorenz, J.; Urbas, L. Differentiation between process and equipment drifts in chemical plants. Syst. Control Trans. 2025, 4, 1396–1402. [Google Scholar] [CrossRef]
  17. Laird, N.M.; Ware, J.H. Random-effects models for longitudinal data. Biometrics 1982, 38, 963–974. [Google Scholar] [CrossRef]
  18. Rokach, L.; Hutter, D. Automatic discovery of the root causes for quality drift in high dimensionality manufacturing processes. J. Intell. Manuf. 2012, 23, 1915–1930. [Google Scholar] [CrossRef]
  19. Automotive Industry Action Group, G. Measurement systems analysis: Reference manual, 4th ed.; Automotive Industry Action Group (AIAG), 2010. [Google Scholar]
  20. Dempster, A.P.; Laird, N.M.; Rubin, D.B. Maximum likelihood from incomplete data via the EM algorithm. J. R. Stat. Soc. Ser. B (Methodological) 1977, 39, 1–38. [Google Scholar] [CrossRef]
  21. Henderson, C.R. Best linear unbiased estimation and prediction under a selection model. Biometrics 1975, 31, 423–447. [Google Scholar] [CrossRef]
  22. Seabold, S.; Perktold, J. Statsmodels: Econometric and statistical modeling with Python. In Proceedings of the Proceedings of the 9th Python in Science Conference, 2010; pp. 92–96. [Google Scholar]
  23. Wilson, E.B. Probable inference, the law of succession, and statistical inference. J. Am. Stat. Assoc. 1927, 22, 209–212. [Google Scholar] [CrossRef]
  24. McNemar, Q. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika 1947, 12, 153–157. [Google Scholar] [CrossRef] [PubMed]
  25. Vergara, A.; Vembu, S.; Ayhan, T.; Ryan, M.; Homer, M.; Huerta, R. Chemical gas sensor drift compensation using classifier ensembles. Sens. Actuators B Chem. 2012, 166, 320–329. [Google Scholar] [CrossRef]
  26. Rodriguez-Lujan, I.; Fonollosa, J.; Vergara, A.; Homer, M.; Huerta, R. On the calibration of sensor arrays for pattern recognition using the minimal number of experiments. Chemom. Intell. Lab. Syst. 2014, 130, 123–134. [Google Scholar] [CrossRef]
  27. Agogino, A.; Goebel, K. Milling data set. NASA Ames Progn. Data Repos. 2007. [Google Scholar] [CrossRef]
Figure 1. Illustrative simulation run with all three drift sources. Top: 50-unit moving averages of inline sensor readings and the true critical-to-quality (CTQ) characteristic. Middle: sensor offset and the sawtooth pattern of tool wear. Bottom: lot effects, with nonconforming lots from supplier B highlighted in orange. The vertical dotted line marks the end of Phase I.
Figure 1. Illustrative simulation run with all three drift sources. Top: 50-unit moving averages of inline sensor readings and the true critical-to-quality (CTQ) characteristic. Middle: sensor offset and the sawtooth pattern of tool wear. Bottom: lot effects, with nonconforming lots from supplier B highlighted in orange. The vertical dotted line marks the end of Phase I.
Preprints 246060 g001
Figure 2. Exact-set attribution accuracy across simulation scenarios for the three monitoring methods. Error bars indicate 95% Wilson confidence intervals based on 1,000 replications per scenario.
Figure 2. Exact-set attribution accuracy across simulation scenarios for the three monitoring methods. Error bars indicate 95% Wilson confidence intervals based on 1,000 replications per scenario.
Preprints 246060 g002
Figure 3. Distribution of detection delays for the reference-anchored scheme under single-cause drift scenarios. Detection delay is measured as the number of units produced between the true drift onset and the monitoring alarm.
Figure 3. Distribution of detection delays for the reference-anchored scheme under single-cause drift scenarios. Detection delay is measured as the number of units produced between the true drift onset and the monitoring alarm.
Preprints 246060 g003
Figure 4. Sensitivity of the reference-anchored scheme to audit frequency. Left: exact-set attribution accuracy across audit intervals. Right: median sensor-detection delay as a function of the audit interval k.
Figure 4. Sensitivity of the reference-anchored scheme to audit frequency. Left: exact-set attribution accuracy across audit intervals. Right: median sensor-detection delay as a function of the audit interval k.
Preprints 246060 g004
Figure 5. Effect of supplier-lot shift magnitude (δ) on attribution performance. Left: supplier recall in the supplier-only failure scenario. Right: exact-set attribution accuracy in the confounded scenario involving simultaneous sensor drift and supplier failure.
Figure 5. Effect of supplier-lot shift magnitude (δ) on attribution performance. Left: supplier recall in the supplier-only failure scenario. Right: exact-set attribution accuracy in the confounded scenario involving simultaneous sensor drift and supplier failure.
Preprints 246060 g005
Figure 6. Sensor drift in the UCI gas-sensor array dataset for acetone. Left: standardised sensor residuals relative to batch-1 calibration, together with median absolute drift across sensors. Right: median sensor-gain ratio relative to batch 1 across subsequent measurement batches.
Figure 6. Sensor drift in the UCI gas-sensor array dataset for acetone. Left: standardised sensor residuals relative to batch-1 calibration, together with median absolute drift across sensors. Right: median sensor-gain ratio relative to batch 1 across subsequent measurement batches.
Preprints 246060 g006
Table 1. Simulation parameters.
Table 1. Simulation parameters.
Parameter Value
Units per run 6,000
Phase I (in-control) units 1,500
Lot size; suppliers 200 units; A, B, C at random
Between-lot SD (compliant) 0.15σ
Tool life; normal end-of-life wear 500 units; 0.6σ
Inline sensor repeatability 0.30σ
Reference gauge repeatability 0.10σ
Audit interval k 20 units (sweep 5–200)
Sensor offset ramp 1σ per 1,500 units
Sensor gain ramp 5% per 1,500 units
Supplier shift δ 0.6σ (sweep 0.3–1.2σ)
Wear acceleration rate × 2.5
Drift onset uniform on units 2,000–4,000
Table 2. Exact-set attribution accuracy, 1,000 replications per scenario (95% Wilson intervals).
Table 2. Exact-set attribution accuracy, 1,000 replications per scenario (95% Wilson intervals).
Scenario Anchored (proposed) EWMA + event heuristic No-anchor ablation
Null 0.93 (0.91–0.94) 0.94 (0.92–0.95) 0.94 (0.92–0.95)
Sensor only 0.92 (0.90–0.93) 0.06 (0.05–0.07) 0.00 (0.00–0.00)
Supplier only 0.65 (0.61–0.67) 0.67 (0.64–0.70) 0.69 (0.66–0.72)
Wear only 0.95 (0.94–0.97) 0.26 (0.24–0.29) 0.96 (0.95–0.97)
All three 0.74 (0.71–0.76) 0.00 (0.00–0.00) 0.00 (0.00–0.00)
Confounded 0.74 (0.72–0.77) 0.00 (0.00–0.01) 0.00 (0.00–0.00)
Table 3. Exact McNemar tests on paired runs (anchored scheme vs comparator).
Table 3. Exact McNemar tests on paired runs (anchored scheme vs comparator).
Scenario Comparator Only anchored correct Only comparator correct p
Sensor only EWMA + heuristic 863 4 4.8 × 10⁻²⁵¹
Supplier only EWMA + heuristic 175 198 0.25
Supplier only No-anchor ablation 6 53 1.8 × 10⁻¹⁰
Wear only EWMA + heuristic 700 10 3.2 × 10⁻¹⁹²
All three EWMA + heuristic 737 0 2.8 × 10⁻²²²
Confounded EWMA + heuristic 742 0 8.6 × 10⁻²²⁴
Table 4. Exact-set accuracy on a mixed-variant line (nominal 10σ, 20σ, 30σ), 1,000 replications per setting.
Table 4. Exact-set accuracy on a mixed-variant line (nominal 10σ, 20σ, 30σ), 1,000 replications per setting.
Sensor drift Scenario Offset-only correction Offset + gain correction EWMA + heuristic
Offset Sensor only 0.92 (0.90–0.93) 0.94 (0.92–0.95) 0.06 (0.04–0.07)
Offset Confounded 0.71 (0.68–0.73) 0.68 (0.65–0.71) 0.00 (0.00–0.01)
Gain Sensor only 0.92 (0.90–0.93) 0.94 (0.92–0.95) 0.08 (0.06–0.09)
Gain Confounded 0.45 (0.42–0.48) 0.68 (0.65–0.71) 0.00 (0.00–0.01)
Table 5. Exact-set accuracy of the anchored scheme by audit interval k (500 replications per setting; thresholds re-calibrated at each k).
Table 5. Exact-set accuracy of the anchored scheme by audit interval k (500 replications per setting; thresholds re-calibrated at each k).
k Sensor only All three Confounded Median sensor delay (units)
5 0.96 0.64 0.65 411
10 0.93 0.69 0.68 492
20 0.93 0.68 0.70 649
50 0.77 0.76 0.70 1,009
100 0.52 0.81 0.73 1,441
200 0.41 0.69 0.58 1,957
Table 6. Prediction error (RMSE, log-concentration units) on non-anchor samples in batches 2–10, with 95% bootstrap intervals.
Table 6. Prediction error (RMSE, log-concentration units) on non-anchor samples in batches 2–10, with 95% bootstrap intervals.
Anchor every k samples Offset-only correction Offset + gain correction
5 0.416 (0.399–0.435) 0.538 (0.509–0.570)
10 0.456 (0.441–0.471) 0.638 (0.600–0.678)
20 0.513 (0.496–0.531) 0.724 (0.688–0.763)
50 0.605 (0.584–0.626) 0.792 (0.763–0.822)
No anchor 1.914 (1.892–1.936) —
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.