Multivariate Statistical Process Control

Version 4 | Created: 2026-09-28 | Updated: 2026-11-07 13:46 UTC
- 1. Scope
- 2. Hotelling's T-Squared Chart
- 3. PCA-Based Monitoring
- 4. Diagnosis
- 5. Application
- References
- Appendix A. Terminology
A record of the techniques that track the combination of tens to hundreds of tool sensors at once, rather than a single wafer result. It covers what the Hotelling
$T^2$ chart and the PCA-based squared prediction error (SPE) statistic each look at, and why the two are needed together.
A metric such as the uniformity index looks at the result
Putting one control chart on each sensor fails for two reasons. This document shows those two first,
then sets out the two statistics that resolve them, Hotelling
The principal components, distance and control limit the three statistics use are given in Table 1.
Table 1. Principal components, distance and control limit of the three statistics.
| # | Statistic | Principal components | Distance | Control limit |
|---|---|---|---|---|
| 1 | Hotelling |
No PCA, all |
Mahalanobis distance |
|
| 2 | PCA |
Components in the model, |
Mahalanobis distance | Equation (3) with |
| 3 | PCA SPE | Components not in the model, |
Euclidean distance | Jackson–Mudholkar approximation, equation (7) |
Distance is a single number measuring how far a new observation lies from a reference point of the
normal operating data. The reference point is the mean for #1 and #2, and the value
#1 measures across all
The first reason is that false alarms pile up. If one chart has false alarm probability
Table 2. Chance that at least one of p univariate charts signals on a healthy process, alpha = 0.0027.
| Sensors | False alarm rate |
|---|---|
| 1 | 0.0027 |
| 2 | 0.0054 |
| 5 | 0.0134 |
| 10 | 0.0267 |
| 20 | 0.0526 |
| 50 | 0.1264 |
| 100 | 0.2369 |
With a three-sigma chart on each of 100 sensors, something signals about once every four points even on a normal process. Nobody looks at charts in that state.
The second reason is more fundamental. Tool sensors are not independent of one another. Raising the flow raises the pressure with it, and raising the power raises the temperature with it. Separate charts check only whether each sensor stays in its own range, not whether the relation between sensors has broken. If the flow is higher than usual and the pressure did not rise with it, something has failed even though both values are in their normal ranges, and the univariate charts cannot turn that into a signal.
The remedy is to combine the
What
Setting
Of the two PCA-based statistics in section 3.2, the
When
For large enough
Equation (2) requires
Principal component analysis resolves this by finding the low-dimensional subspace in which the data
actually lie. Splitting the standardized data matrix
Here
In this document the PCA model consists of the mean and standard deviation of the standardization set
from normal operating data, and the loading
This split divides what to monitor into two. One is how far the observation has gone inside the subspace, and the other is how far it has left the subspace.
The distance inside the subspace is the
Definition: SPE
The sum of squared residuals, the distance out of the subspace, is called the squared prediction error (SPE) or the$Q$ statistic.
Equation (5) divides each score by the variance
The control limit of
The two statistics catch different kinds of fault, which is why both are needed.
Table 3. What the two statistics monitor.
| Statistic | Measures | Signals when |
|---|---|---|
| Distance inside the principal component subspace | Sensors keep their usual relation but leave the normal range together | |
| Distance out of the principal component subspace | The relation between sensors itself breaks and the model cannot explain it |
A rise in
Both
The few sensors with the largest contributions narrow down the cause. Note, however, that contributions narrow the candidates rather than name the cause. Among strongly correlated sensors, a failure in one raises the contributions of the others as well, which is smearing.
Fig 1. Two correlated sensors over 120 samples. The scatter shows the univariate three-sigma box as dashed lines and the Hotelling T-squared limit as the ellipse (a); the Hotelling T-squared chart (b) and the PCA-SPE chart (c) follow the same samples on a log scale. The circled sample is the fault.
Fig 1 shows the situation of section 1.2 as it is. The two sensors have correlation 0.92, and at sample 91
the first sensor is
Both multivariate statistics catch this sample. The Hotelling
In a semiconductor fab this structure sits in fault detection and classification. The time series a tool
records is cut by step into summary values, a PCA model is built from normal wafers, and the
Handling the model comes with two conditions. One is the definition of normal data. The model must be
built only from data of a normal operating period, and if faulty data are mixed in, the fault is learned
as normal. The other is updating. A tool shifts its normal state itself through consumable replacement
and maintenance, so a fixed model makes
[1] Jackson, J. E., & Mudholkar, G. S. (1979). Control Procedures for Residuals Associated with
Principal Component Analysis. Technometrics, 21(3), 341–349.
[2] MacGregor, J. F., & Kourti, T. (1995). Statistical Process Control of Multivariate Processes.
Control Engineering Practice, 3(3), 403–414.
[3] Montgomery, D. C. (2020). Introduction to Statistical Quality Control (8th ed.). Wiley.
ISBN 978-1-119-72309-7.
- Loading: The vector holding which combination of the original sensors a principal component is.
- Mahalanobis distance: A distance measured against the shape in which the data spread, weighted by the inverse of the covariance matrix.
- Principal component: One of mutually orthogonal directions taken in turn, starting from the one that holds the most variance of the data.
- Score: The projection of an observation onto a principal component direction.
- Smearing: The effect by which, among correlated sensors, a failure in one sensor inflates the contributions of the others.
-
Squared prediction error (SPE): The squared distance between an observation and the value the
principal component model reconstructs, also called the
$Q$ statistic. - Uniformity index: A metric giving the spread of a process result measured at several points on a wafer, divided by the mean, as a percentage; it looks only at the result after the process has finished.
Version 23 | Created: 2026-09-04 | Updated: 2026-11-07 13:46 UTC
- 1. Scope
- 2. Hotelling's T-Squared Chart
- 3. PCA-Based Monitoring
- 4. Diagnosis
- 5. Application
- References
- Appendix A. Terminology
웨이퍼 결과물 하나가 아니라 장비 센서 수십~수백 개의 조합을 한꺼번에 추적하는 기법에 대한 기록. Hotelling
$T^2$ 관리도와 PCA 기반 squared prediction error (SPE) 통계량이 각각 무엇을 보고, 왜 둘이 함께 필요한지를 다룬다.
Uniformity index 같은 지표는 공정이 끝난 뒤의 결과물
센서마다 관리도를 하나씩 두는 방법은 두 가지 이유로 실패한다. 이 문서는 그 두 가지를 먼저 보이고,
그것을 푸는 두 통계량인 Hotelling
세 통계량이 쓰는 주성분과 거리와 관리한계는 Table 1 이다.
Table 1. Principal components, distance and control limit of the three statistics.
| # | Statistic | Principal components | Distance | Control limit |
|---|---|---|---|---|
| 1 | Hotelling |
PCA 없음, 센서 |
Mahalanobis distance |
|
| 2 | PCA |
model 에 넣은 주성분 |
Mahalanobis distance | 식 (3) 에서 |
| 3 | PCA SPE | model 에 넣지 않은 주성분 |
Euclidean distance | Jackson–Mudholkar 근사, 식 (7) |
Distance 는 새 관측값이 normal 운전 자료의 기준점에서 얼마나 떨어져 있는지를 수 하나로 잰 값이다.
기준점은 #1 과 #2 에서 평균이고, #3 에서 PCA model 이 재구성한 값
#1 은 section 2 에서 센서
첫째 이유는 헛경보가 쌓이는 것이다. 관리도 하나의 헛경보 확률이
Table 2. Chance that at least one of p univariate charts signals on a healthy process, alpha = 0.0027.
| Sensors | False alarm rate |
|---|---|
| 1 | 0.0027 |
| 2 | 0.0054 |
| 5 | 0.0134 |
| 10 | 0.0267 |
| 20 | 0.0526 |
| 50 | 0.1264 |
| 100 | 0.2369 |
센서 100 개에 3 sigma 관리도를 하나씩 걸면 normal 공정에서도 네 점에 한 번꼴로 어딘가는 울린다. 그 상태의 관리도는 아무도 보지 않게 된다.
둘째 이유가 더 근본적이다. 장비 센서들은 서로 독립이 아니다. 유량을 올리면 압력이 따라 오르고, 전력을 올리면 온도가 따라 오른다. 관리도를 따로 두면 각 센서가 자기 범위 안에 있는지만 보고, 센서들 사이의 그 관계가 깨졌는지는 보지 못한다. 유량이 평소보다 높은데 압력이 따라 오르지 않았다면 두 값 모두 Normal 범위 안에 있어도 무언가 고장난 것인데, 개별 관리도는 그것을 신호로 만들지 못한다.
해법은
Section 3.2 의 PCA 기반 두 통계량 가운데 식 (5) 의
Normal 운전 자료
식 (2) 는
Principal component analysis 는 이것을 자료가 실제로 놓인 저차원 부분공간을 찾아 푼다. 표준화한 자료
행렬
여기서
이 문서에서 PCA model 은 normal 운전 자료로 정한 표준화의 평균과 표준편차, 그리고 model 에 넣은 주성분
이 분해가 감시할 자리를 둘로 나눈다. 하나는 부분공간 안에서 얼마나 멀리 갔는지이고, 다른 하나는 부분공간에서 얼마나 벗어났는지이다.
부분공간 안의 거리는 score 로 계산한
Definition: SPE
부분공간에서 벗어난 거리인 잔차의 제곱합을 squared prediction error (SPE) 또는$Q$ 통계량이라 부른다.
식 (5) 는 score 를 그 주성분의 분산
두 통계량은 서로 다른 종류의 이상을 잡으며, 그래서 둘 다 필요하다.
Table 3. What the two statistics monitor.
| Statistic | Measures | Signals when |
|---|---|---|
| 주성분 부분공간 안의 거리 | 센서들이 평소의 관계는 지키면서 함께 normal 범위를 벗어남 | |
| 주성분 부분공간에서 벗어난 거리 | 센서들 사이의 관계 자체가 깨져 model 로 설명되지 않음 |
기여도가 큰 센서 몇 개가 원인을 좁혀 준다. 다만 기여도는 원인을 지목하는 것이 아니라 후보를 좁히는 것임에 주의해야 한다. 상관이 강한 센서들은 하나가 고장나면 나머지의 기여도까지 함께 올라가는 smearing 이 일어나기 때문이다.
Fig 1. Two correlated sensors over 120 samples. The scatter shows the univariate three-sigma box as dashed lines and the Hotelling T-squared limit as the ellipse (a); the Hotelling T-squared chart (b) and the PCA-SPE chart (c) follow the same samples on a log scale. The circled sample is the fault.
Fig 1 이 section 1.2 의 상황을 그대로 보여 준다. 두 센서의 상관은 0.92 이고, 91 번 표본에서 첫 번째
센서는 평균보다
두 다변량 통계량은 모두 이 표본을 잡아낸다. Table 1 의 #1 인 Hotelling
반도체 현장에서 이 구조가 놓이는 자리는 fault detection and classification 이다. 장비가 남기는 시계열을
step 별로 잘라 요약값을 만들고, normal 웨이퍼들로 PCA model 을 세운 뒤 새 웨이퍼의
Model 을 다루는 데는 조건이 둘 있다. 하나는 normal 자료의 정의이다. Model 은 normal 운전 기간의 자료로만
세워야 하며, 여기에 이상 자료가 섞이면 그 이상이 정상으로 학습된다. 다른 하나는 갱신이다. 장비는
소모품 교체와 정비를 거치며 normal 상태 자체가 옮겨가므로, model 을 고정해 두면 정비 직후부터
[1] Jackson, J. E., & Mudholkar, G. S. (1979). Control Procedures for Residuals Associated with
Principal Component Analysis. Technometrics, 21(3), 341–349.
[2] MacGregor, J. F., & Kourti, T. (1995). Statistical Process Control of Multivariate Processes.
Control Engineering Practice, 3(3), 403–414.
[3] Montgomery, D. C. (2020). Introduction to Statistical Quality Control (8th ed.). Wiley.
ISBN 978-1-119-72309-7.
- Loading: 주성분이 원래 센서들의 어떤 조합인지를 담은 vector.
- Mahalanobis distance: 자료가 흩어진 모양을 기준으로 잰 거리이며, 공분산 행렬의 역행렬로 가중한다.
- Principal component: 자료의 분산을 가장 많이 담는 방향부터 차례로 잡은 서로 직교인 방향.
- Score: 한 관측값을 주성분 방향에 사영한 값.
- Smearing: 상관된 센서들 사이에서 한 센서의 고장이 다른 센서의 기여도까지 키우는 현상.
-
Squared prediction error (SPE): 관측값과 주성분 model 이 재구성한 값 사이의 거리 제곱이며,
$Q$ 통계량이라고도 한다. - Uniformity index: 웨이퍼 여러 지점에서 측정한 공정 결과의 산포를 평균으로 나누어 백분율로 적은 지표이며, 공정이 끝난 뒤의 결과물만 본다.

