Chip Foundry Services Request Assessment

Process Monitoring

Semiconductor Manufacturing Process Parameters Monitoring: Mathematical Modeling

1. The Fundamental Challenge

Modern semiconductor fabrication involves 500–1000+ sequential process steps, each with dozens of parameters requiring nanometer-scale precision.

Key Process Types and Parameters

  • Lithography: exposure dose, focus, overlay alignment, resist thickness
  • Etching (dry/wet): etch rate, selectivity, uniformity, plasma parameters (power, pressure, gas flows)
  • Deposition (CVD, PVD, ALD): deposition rate, film thickness, uniformity, stress, composition
  • CMP (Chemical Mechanical Polishing): removal rate, within-wafer non-uniformity, dishing, erosion
  • Implantation: dose, energy, angle, uniformity
  • Thermal processes: temperature uniformity, ramp rates, time

2. Statistical Process Control $(\mathrm{SPC})$ — The Foundation

2.1 Univariate Control Charts

For a process parameter $X$ with samples $x_1, x_2, \ldots, x_n$:

Sample Mean:

$$\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$$

Sample Standard Deviation:

$$\sigma = \sqrt{\dfrac{1}{n-1}\sum _{{i=1}}^{n}(x_i - \bar{x})^2}$$

Control Limits (3-sigma):

$$\mathrm{UCL} = \bar{x} + 3 \sigma$$
$$\mathrm{LCL} = \bar{x} - 3 \sigma$$

2.2 Process Capability Indices

These quantify how well a process meets specifications:

$- *\cdot C_p$ (Potential Capability):

$C_p =$ (USL $- \mathrm{LSL})/(6 \sigma$)

$- *\cdot C_{pk}$ (Actual Capability) — accounts for centering:

$$C_{pk} = \min[\dfrac{\mathrm{USL} - \mu}{3 \sigma}, \dfrac{\mu - \mathrm{LSL}}{3 \sigma}]$$

$- *\cdot C_{pm}$ (Taguchi Index) — penalizes deviation from target $T$:

$C_{pm} = (C_p)/(\sqrt(1 +$ ((mu $- T)/(\sigma))^2$))

Semiconductor fabs typically require $C_{pk} \ge 1.67$, corresponding to defect rates below $\sim 1$ ppm.

3. Multivariate Statistical Monitoring

Since process parameters are highly correlated, univariate methods miss interaction effects.

3.1 Principal Component Analysis (PCA)

Given data matrix $X (n$ samples $\times p$ variables), centered:

1. Compute covariance matrix:

$$S = \dfrac{1}{n-1}X^{\mathrm{TX}}$$

2. Eigendecomposition:

$$S = V LambdaV^T$$

3. Project to principal components:

$T = \mathrm{XV}$

3.2 Monitoring Statistics

Hotelling's $T^2$ Statistic

Captures variation within the PCA model:

$$T^2 = \sum_{i=1}^{k} \dfrac{t_i^2}{\lambda_i}$$

where $k$ is the number of retained components. Under normal operation, $T^2$ follows a scaled F-distribution.

Q-Statistic (Squared Prediction Error)

Captures variation outside the model:

$$Q = \sum _{j=1}^{p}(x_j - \hat{x}_j)^2 = |x - xV_k V_k^T|^2$$

> Often more sensitive to novel faults than $T^2$.

3.3 Partial Least Squares (PLS)

When relating process inputs $X$ to quality outputs $Y$:

$$Y = \mathrm{XB} + E$$

PLS finds latent variables that maximize covariance between $X$ and $Y$, providing both monitoring capability and a predictive model.

4. Virtual Metrology $(\mathrm{VM})$ Models

Virtual metrology predicts physical measurement outcomes from process sensor data, enabling 100% wafer coverage without costly measurements.

4.1 Linear Models

For process parameters $x \in R^p$ and metrology target $y$:

  • Ordinary Least Squares (OLS):
$$\hat{\beta} = (X^{\mathrm{TX}})^{-1}X^{Ty}$$
  • Ridge Regression ($L_2$ regularization for collinearity):
$$\hat{\beta} = (X^{\mathrm{TX}} + \lambda I)^{-1}X^{Ty}$$
  • LASSO ($L_1$ regularization for sparsity/feature selection):
$$\min_{\beta} |y - X \beta|^2 + \lambda|\beta|_1$$

4.2 Nonlinear Models

Gaussian Process Regression (GPR)

$$y \sim \mathrm{GP}(m(x), k(x, x'))$$

Posterior predictive distribution:

  • Mean:
$$\mu_* = K_*^T(K + \sigma_n^2I)^{-1}y$$
  • Variance:
$$\sigma_*^2 = K_** - K_*^T(K + \sigma_n^2I)^{-1}K_*$$

GPs provide uncertainty quantification — critical for knowing when to trigger actual metrology.

Support Vector Regression (SVR)

$$\min \dfrac{1}{2}|w|^2 + C\sum _i(\xi_i + \xi_i^{\ast})$$

Subject to epsilon-insensitive tube constraints. Kernel trick enables nonlinear modeling.

Neural Networks

  • MLPs: Multi-layer perceptrons for general function approximation
  • CNNs: Convolutional neural networks for wafer map pattern recognition
  • LSTMs: Long Short-Term Memory networks for $\text{time-series} \mathrm{FDC}$ traces

5. Run-to-Run (R2R) Control

R2R control adjusts recipe setpoints between wafers/lots to compensate for drift and disturbances.

5.1 EWMA Controller

For a process with model $y = a_0 + a_1 u + \epsilon$:

Prediction update:

$$\hat{y}_k+1 = \lambda y_k + (1-\lambda)\hat{y}_k$$

Control action:

$$u_{k+1} = \dfrac{T - \hat{y}_k+1 + a_0}{a_1}$$

where:
$- T$ is the target
$- \lambda$ in (0,1) is the smoothing weight

5.2 Double EWMA (for Linear Drift)

When process drifts linearly:

$$\hat{y}_k+1 = a_k + b_k$$
$$a_k = \lambda y_k + (1-\lambda)(a_{k-1} + b_{k-1})$$
$$b_k = \gamma(a_k - a_{k-1}) + (1-\gamma)b_{k-1}$$

5.3 State-Space Formulation

More general framework:

State equation:

$$x_{k+1} = Ax_k + Bu_k + w_k$$

Observation equation:

$$y_k = Cx_k + Du_k + v_k$$

Use Kalman filtering for state estimation and LQR/MPC for optimal control.

5.4 Model Predictive Control (MPC)

Objective function:

$$\min \sum_{i=1}^{N} |y_k+i - r_k+i|_Q^2 + \sum_{j=0}^{N-1}|\Delta u_k+j|_R^2$$

subject to process model and operational constraints.

> MPC handles multivariable systems with constraints naturally.

6. Fault Detection and Classification (FDC)

6.1 Detection Methods

Mahalanobis Distance

D^2 = (x - mu)^TS^-1(x - mu)

Follows $\chi^2$ distribution under multivariate normality.

Other Detection Methods

  • One-Class SVM: Learn boundary of normal operation
  • Autoencoders: Detect anomalies via reconstruction error

6.2 Classification Features

For trace data (time-series from sensors), extract features:

  • Statistical moments: mean, variance, skewness, kurtosis
  • Frequency domain: FFT coefficients, spectral power
  • Wavelet coefficients: Multi-resolution analysis
  • DTW distances: Dynamic Time Warping to reference signatures

6.3 Classification Algorithms

$$- Support Vector Machines (\mathrm{SVM})$$
  • Random Forest
  • CNNs for pattern recognition on wafer maps
  • Gradient Boosting (XGBoost, LightGBM)

7. Spatial Modeling (Within-Wafer Variation)

Systematic spatial patterns require explicit modeling.

7.1 Polynomial Basis Expansion

Zernike Polynomials (common in lithography)

$$z(\rho, \theta) = \sum_{n,m} Z_n^m(\rho, \theta)$$

These form an orthogonal basis on the unit disk, capturing radial and azimuthal variation.

7.2 Gaussian Process Spatial Models

$$y(s) \sim \mathrm{GP}(\mu(s), k(s, s'))$$

Common Covariance Kernels

  • Squared Exponential (RBF):
$$k(s, s') = \sigma^2 \exp(-\dfrac{|s - s'|^2}{2ell^2})$$
  • Matérn (more flexible smoothness):
$$k(r) = \sigma^2 (2^1-$$
$$u)/(\Gamma($$
$$u))((\sqrt(2$$

u)r)/(ell))^
u K_

$$u((\sqrt(2$$
$$u)r)/(\ell))$$

where K_
$u$ is the modified Bessel function of the second kind.

8. Dynamic/Time-Series Modeling

For plasma processes, endpoint detection, and transient behavior.

8.1 Autoregressive Models

$\mathrm{AR}(p)$ model:

$$x_t = \sum_{i=1}^{p} \phi_i x_{t-i} + \epsilon_t$$

ARIMA extends this to non-stationary series.

8.2 Dynamic PCA

Augment data with time-lagged values:

$$\tilde{X} = [X(t), X(t-1), \ldots, X(t-l)]$$

Then apply standard PCA to capture temporal dynamics.

8.3 Deep Sequence Models

LSTM Networks

Gating mechanisms:

  • Forget gate: $f_t = \sigma(W_f \cdot [h_{t-1}, x_t] + b_f)$
  • Input gate: $i_t = \sigma(W_i \cdot [h_{t-1}, x_t] + b_i)$
  • Output gate: $o_t = \sigma(W_o \cdot [h_{t-1}, x_t] + b_o)$

Cell state update:

$$c_t = f_t \odot c_{t-1} + i_t \odot \tilde{c}_t$$

Hidden state:

$$h_t = o_t \odot \tanh(c_t)$$

9. Model Maintenance and Adaptation

Semiconductor processes drift — models must adapt.

9.1 Drift Detection Methods

CUSUM (Cumulative Sum)

$$S_k = \max(0, S_{k-1} + (x_k - \mu_0) - k)$$

Signal when $S_k$ exceeds threshold.

Page-Hinkley Test

$$m_k = \sum _{i=1}^{k}(x_i - \bar{x}_k - \delta)$$
$$M_k = \max_i \le k m_i$$

Alarm when $M_k - m_k > \lambda$.

ADWIN (Adaptive Windowing)

Automatically detects distribution changes and adjusts window size.

9.2 Online Model Updating

Recursive Least Squares (RLS)

$$\hat{\beta}_k = \hat{\beta}_k-1 + K_k(y_k - x_k^{That}(\beta)_k-1)$$

where $K_k$ is the gain matrix updated via the Riccati equation:

$$K_k = \dfrac{P_k-1x_k}{\lambda + x_k^{\mathrm{TP}_k}-1x_k}$$
$$P_k = \dfrac{1}{\lambda}(P_{k-1} - K_{kx_{k}}^{\mathrm{TP}_{k}-1})$$

Just-in-Time $(\mathrm{JIT})$ Learning

Build local models around each new prediction point using nearest historical samples.

10. Integrated Framework

A complete monitoring system layers these methods:

LayerMethodsPurpose
PreprocessingCleaning, synchronization, normalizationData quality
Feature EngineeringDomain features, wavelets, PCADimensionality management
Monitoring$T^2, \text{Q-statistic}$, control chartsDetect out-of-control states
Virtual MetrologyPLS, GPR, neural networksPredict quality without measurement
FDCClassification modelsDiagnose fault root causes
ControlR2R, MPCCompensate for drift/disturbances
AdaptationOnline learning, drift detectionMaintain model validity

11. Key Mathematical Challenges

1. High dimensionality — hundreds of sensors, requiring regularization and dimension reduction
2. Collinearity — process variables are physically coupled
3. Non-stationarity — drift, maintenance events, recipe changes
4. Small sample sizes — new recipes have limited historical data (transfer learning, Bayesian methods help)
5. Real-time constraints — decisions needed in seconds
6. Rare events — faults are infrequent, creating class imbalance

12. Key Equations

Process Capability

$$C_{pk} = \min[\dfrac{\mathrm{USL} - \mu}{3 \sigma}, \dfrac{\mu - \mathrm{LSL}}{3 \sigma}]$$

Multivariate Monitoring

$T^2 = \sum_{i=1}^{k} \dfrac{t_i^2}{\lambda_i}$, $Q = |x - \hat{x}|^2$

Virtual Metrology (Ridge Regression)

$$\hat{\beta} = (X^{\mathrm{TX}} + \lambda I)^{-1}X^{Ty}$$

EWMA Control

$$\hat{y}_k+1 = \lambda y_k + (1-\lambda)\hat{y}_k$$

Mahalanobis Distance

D^2 = (x - mu)^TS^-1(x - mu)