Virtual Metrology and Run-to-Run Control

A chemical mechanical planarization tool polishing a wafer on a rotating pad

Open the CMP Pad Lifecycle and Profile Control app

Advanced Control Exercise 29 of 30 in Uncertainty and Machine Learning · All exercises · Time: 15 minutes

A wafer polisher cannot measure film thickness during the polish; the result is known only after metrology, lots later. A run-to-run controller corrects the recipe between wafers from that late measurement. Virtual metrology, a model that predicts thickness from tool data, fills in the wafers nobody measured. This exercise tunes the run-to-run filter, then shows what a learned model with a hidden bias does when nothing checks it.

Learning Outcomes

  • Explain run-to-run control as feedback on a model's bias, and its stability condition.
  • Choose an EWMA filter gain against measurement delay and noise.
  • Explain why a learned soft sensor needs real measurements to stay honest, and what a hidden bias does in closed loop.

Book Chapter

Control in Semiconductor Manufacturing (Volume 14), Chapter 11, A Chemical Mechanical Planarization Simulator for Profile Control Across a Consumable Lifecycle. Read the chapter, open the PDF, or watch the lecture slides.

Theory in Brief

The run-to-run model is `y_k = K u_k + b_k + v_k`: thickness removed `y`, recipe `u`, drifting bias `b`, noise `v`. The EWMA controller estimates the bias from each measured wafer and sets the next recipe to hit the target `r`:

$$\hat b_k = \lambda \left( y_k - \hat K u_k \right) + (1 - \lambda)\, \hat b_{k-1}, \qquad u_{k+1} = \frac{r - \hat b_k}{\hat K}$$

With no delay the loop is stable for `0 < \lambda K/\hat K < 2`. A small `\lambda` averages noise but lags a drift, leaving a steady error behind a ramp; a large `\lambda` follows the drift but copies noise into the recipe. Delay narrows the stable range further. Virtual metrology replaces a missing measurement with a model prediction `\hat y = g_\theta(z)` from tool data `z`:

$$y_k^{VM} = g_\theta(z_k) = y_k + e_k, \qquad e_k \text{ the model's own error}$$

If `e_k` has a bias, the controller treats it as a process change and removes it, so the true thickness moves while every displayed number looks right. Only a physical measurement, which the model did not produce, can expose the bias.

Model: Data-driven and combined. A linear removal-rate model with a drifting bias, and a learned virtual-metrology model from tool signals.
Decision: The polish recipe (zone pressures) for each next wafer.
Learning: The EWMA is online learning of one bias; virtual metrology is a supervised model trained offline and trusted online.

Exercise

Read 2 min · Predict 1 min · Run 7 min · Explain 3 min · Check your AI 2 min.

Predict. At λ = 0.08 the filter averages noise well. Will it keep up with a drifting slurry? At λ = 0.90 it follows quickly. Will more wafers land in spec? If the virtual-metrology model develops a hidden 18 nm bias, will the displayed mean show it?

Run the CMP Pad Lifecycle and Profile Control app. Use the fastest speed, 600 min/s, and press Run again to pause at the times in each step.

  1. Open 5 · The EWMA against delay and noise. Press Run and pause at 400 min with EWMA level weight at 0.30. Read Wafers in spec and Profile RMSE.
  2. Press Reset, set the EWMA level weight to 0.08, and run to 400 min. Then repeat with 0.90.
  3. Open 9 · Virtual metrology cannot certify itself and run to 400 min. Watch the measured mean stay on target after 40 min while the actual mean walks away, and read Wafers in spec.

Explain.

  1. Why are both a small and a large EWMA weight worse than 0.30 in profile RMSE, and why is the best value not sharper?
  2. Why can a virtual-metrology model never reveal its own bias, and what finds it?

Generative AI Learning

"I run an EWMA run-to-run controller on a polisher with a two-lot metrology delay and a drifting slurry. How do I choose the EWMA weight, and is it safe to replace most measurements with a virtual metrology model?"

Check the answer against your run: A good answer trades lag against noise for the weight, mentions the delay, and warns that virtual metrology needs physical measurements to detect its own bias. Your step 3 run is the test of the warning. The assistant is your tutor and reviewer; you answer for every claim you turn in.

What to Turn In

A table with Wafers in spec and Profile RMSE at λ = 0.08, 0.30 and 0.90, and the virtual-metrology case, your written prediction, and three sentences that answer the two questions.

At λ = 0.30, 66 % of wafers are in spec with a profile RMSE of 7.5 nm. At 0.08 the loop lags the drift: 45 % in spec, 10.5 nm. At 0.90 it reads 67 % in spec but 9.5 nm: it follows the drift but copies the metrology noise into the recipe, so the profile error grows even though the share in spec is about the same (the case text gives the actuator travel as more than five times larger). The optimum is broad because the two-lot metrology delay leaves a transient that no weight removes.

In the virtual-metrology case the measured mean stays near target while the wafers drift by the model's bias, and Wafers in spec ends at 51 %. The controller cannot see the bias, because every number in its loop came from the model that has it. The first physical map, a signal the model did not produce, disagrees with the estimate and raises the alarm. A learned soft sensor is a measurement only while something independent keeps checking it.

Measured with the app build of December 3, 2026 by a scripted replay of the steps above. Numbers that no tile shows come from the replay's record; your readings from the trends will be close. A later app release may move the last digit.

Regression fits linear models in Python. Simulate `y_k = u_k + b_k + v_k` with a ramp in `b` and noise `v`, run the EWMA controller for `\lambda` from 0.05 to 0.95 with a two-sample delay, and plot the mean squared error against `\lambda`. Add a constant bias to the measurement and watch the true output move.

Related

References

  1. Hedengren, J. D. (ed.), Control in Semiconductor Manufacturing, Volume 14 of Interactive Control Engineering, Chapter 11, "A Chemical Mechanical Planarization Simulator for Profile Control Across a Consumable Lifecycle", pp. 265–289, Advanced Process Solutions, 2026. PDF (CC BY 4.0).
  2. Ingolfsson, A., Sachs, E., Stability and sensitivity of an EWMA controller, Journal of Quality Technology 25(4), 271–287, 1993.
  3. Kang, P., Lee, H., Cho, S., Kim, D., Park, J., Park, C.-K., Doh, S., A virtual metrology system for semiconductor manufacturing, Expert Systems with Applications 36(10), 12554–12561, 2009.

Course Information

TCLab

Project

Applications

Advanced Control Exercises

Exams

Modeling

Machine Learning

Estimation

Control

Reinforcement Learning

Related Courses

Admin