A Data-Driven EWMA-KNN Run-to-Run Controller for Drift-Dominant Processes with Application to Chemical Mechanical Planarization
Abstract
1. Introduction
2. R2R Controller
2.1. EWMA Process Offset Estimator
2.2. KNN-Based Controller
2.3. Adaptive Recipe Tuning and BIBO Stability
3. Simulation of CMP Process
| Algorithm 1 EWMA-KNN run-to-run control procedure |
| Initialize controller setting: K = 3, , , , error–compensation pairs X, Z (Equations (22) and (23)) |
| For |
| Obtain the process output and calculate |
| Update the EWMA estimate: , |
| Calculate |
| Calculate the distances between and the samples in X, and identify the K nearest neighbors |
| Calculate |
| Calculate |
| Saturation constraint |
| Online learning: and |
| End For |
4. Simulation Results
4.1. CMP Process with Linear Drift
4.1.1. Hybrid EWMA-KNN Controller
4.1.2. Only EWMA Estimator (Without Adaptive Recipe Tuning)
4.1.3. Only KNN Controller (Without Adaptive Recipe Tuning)
4.2. CMP Process with Nonlinear Drift
4.2.1. Hybrid EWMA-KNN Controller
4.2.2. Only EWMA Estimator (Without Adaptive Recipe Tuning)
4.2.3. Only KNN Controller (Without Adaptive Recipe Tuning)
4.3. Controller Comparison
4.4. Reproducibility of Controller
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Liu, K.; Chen, Y.Q.; Zhang, T.; Tian, S.; Zhang, X. A survey of run-to-run control for batch processes. ISA Trans. 2018, 83, 107–125. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Prabhu, A.V.; Edgar, T.F.; Chong, R. Performance assessment of run-to-run EWMA controllers. In Proceedings of the International Symposium on Advanced Control of Chemical Processes, Gramado, Brazil, 2 April 2006. [Google Scholar]
- Prabhu, A.V.; Edgar, T.F.; Good, R. Missing data estimation for run-to-run EWMA-controlled processes. Comput. Chem. Eng. 2009, 33, 1861–1869. [Google Scholar] [CrossRef] [Scilit]
- Ai, B.; Zheng, Y.; Wang, Y.; Jang, S.-S.; Song, T. Cycle forecasting EWMA (CF-EWMA) approach for drift and fault in mixed-product run-to-run process. J. Process Control 2010, 20, 689–708. [Google Scholar] [CrossRef] [Scilit]
- Ai, B.; Wong, D.S.; Jang, S.-S.; Zheng, Y. Stability analysis of EWMA run-to-run controller subjects to stochastic metrology delay. In Proceedings of the 18th International Federation of Automatic Control, Milan, Italy, 28 August 2011. [Google Scholar]
- Kang, P.; Kim, D.; Lee, H.-J.; Doh, S.; Cho, S. Virtual metrology for run-to-run control in semiconductor manufacturing. Expert Syst. Appl. 2011, 38, 2508–2522. [Google Scholar] [CrossRef] [Scilit]
- Zaman, B.; Mahfooz, S.Z.; Khan, N.; Riaz, M.; Mehmood, R. Integration of hybrid score functions to design new adaptive EWMA control chart to monitor the process mean shift. Comput. Ind. Eng. 2023, 183, 109543. [Google Scholar] [CrossRef] [Scilit]
- Su, C.-T.; Hsu, C.-C. A time-varying weights tuning method of the double EWMA controller. Omega-Int. J. Manag. Sci. 2004, 32, 473–480. [Google Scholar] [CrossRef] [Scilit]
- Wu, W.; Maa, C.-Y. Double EWMA controller using neural network-based tuning algorithm for MIMO non-squared systems. J. Process Control 2011, 21, 564–572. [Google Scholar] [CrossRef] [Scilit]
- Kwon, J.S.; Nayhouse, M.; Ni, D.; Christofides, P.D. Handling parametric drift in batch crystallization using predictive control with R2R model parameter estimation. IFAC-PapersOnLine 2015, 48, 912–917. [Google Scholar] [CrossRef] [Scilit]
- Yang, W.-T.; Blue, J.; Roussy, A.; Pinaton, J.; Reis, M.S. A physics-informed Run-to-Run control framework for semiconductor manufacturing. Expert Syst. Appl. 2020, 155, 113424. [Google Scholar] [CrossRef] [Scilit]
- Tom, M.; Yun, S.; Wang, H.; Ou, F.; Orkoulas, G.; Christofides, P.D. Machine learning-based run-to-run control of a spatial thermal atomic layer etching reactor. Comput. Chem. Eng. 2022, 168, 108044. [Google Scholar] [CrossRef] [Scilit]
- Jen, C.-H.; Wang, J.-M. Integrating the fault detection method and run-to-run control for improving semiconductor process control. Procedia Comput. Sci. 2011, 4, 1316–1325. [Google Scholar] [CrossRef] [Scilit]
- Kim, H.; Park, J.H.; Lee, K.S. A Kalman filter-based R2R control system with parallel stochastic disturbance models for semiconductor manufacturing processes. J. Process Control 2014, 24, 119–124. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.; Tan, F.; Sheng, B.; Bian, J.; Pan, T. Run-to-run control for semiconductor manufacturing processes using extended state observer. In Proceedings of the 28th Chinese Control and Decision Conference (CCDC), Yinchuan, China, 28–30 May 2016. [Google Scholar]
- Jebri, M.A.; El Adel, E.M.; Graton, G.; Ouladsine, M.; Pinaton, J. The impact of the virtual metrology on a run-to-run control for a chemical mechanical planarization process. IFAC-PapersOnLine 2017, 50, 6154–6159. [Google Scholar] [CrossRef] [Scilit]
- Huang, D.; Lv, J. Run-to-run control of batch production process in manufacturing systems based on online measurement. Comput. Ind. Eng. 2020, 141, 106298. [Google Scholar] [CrossRef] [Scilit]
- Yun, S.; Tom, M.; Ou, F.; Orkoulas, G.; Christofides, P.D. Multivariable run-to-run control of thermal atomic layer etching of aluminum oxide thin films. Chem. Eng. Res. Des. 2022, 182, 1–12. [Google Scholar] [CrossRef] [Scilit]
- Wang, H.; Tom, M.; Ou, F.; Orkoulas, G.; Christofides, P.D. Integrating run-to-run control with feedback control for a spatial atomic layer etching reactor. Chem. Eng. Res. Des. 2024, 203, 1–10. [Google Scholar] [CrossRef] [Scilit]
- Henrik Wang, H.; Ou, F.; Suherman, J.; Orkoulas, G.; Christofides, P.D. Integration of on-line machine learning-based endpoint control and run-to-run control for an atomic layer etching process. Digit. Chem. Eng. 2025, 14, 100206. [Google Scholar] [CrossRef] [Scilit]
- Lin, C.-P.; Ou, F.; Orkoulas, G.; Christofides, P.D. Run-to-run control of area-selective atomic layer deposition of SiO2 on Al2O3 and SiO2 surfaces with intermediate etching steps. Digit. Chem. Eng. 2026, 20, 100324. [Google Scholar] [CrossRef] [Scilit]
- Graff, N.; Dailey, R.; Djurdjanovic, D. Robust multilayer control of critical overlay error components across a pattern layer in photolithography processes. J. Process Control 2026, 161, 103685. [Google Scholar] [CrossRef] [Scilit]
- Madeti, S.R.; Singh, S.N. Modeling of PV system based on experimental data for fault detection using kNN method. Sol. Energy 2018, 173, 139–151. [Google Scholar] [CrossRef] [Scilit]
- Suyal, M.; Goyal, P. A review on analysis of K-nearest neighbor classification machine learning algorithms based on supervised learning. Int. J. Eng. Trends Technol. 2022, 70, 43–48. [Google Scholar] [CrossRef] [Scilit]
- Zhu, C.C.; Li, L.; Ding, S.X. Multiplicative fault detection and isolation in dynamic systems using data-driven K-gap metric based kNN algorithm. IFAC-PapersOnLine 2022, 55, 169–174. [Google Scholar] [CrossRef] [Scilit]
- ul Haq, I.; Khan, D.M.; Hamraz, M.; Iqbal, N.; Ali, A.; Khan, Z. Optimal-k nearest neighbours based ensemble for classification and feature selection in chemometrics data. Chemom. Intell. Lab. Syst. 2023, 240, 104882. [Google Scholar] [CrossRef] [Scilit]
- Halder, R.K.; Uddin, M.N.; Uddin, M.A.; Aryal, S.; Khraisat, A. Enhancing K-nearest neighbor algorithm: A comprehensive review and performance analysis of modifications. J. Big Data 2024, 11, 113. [Google Scholar] [CrossRef] [Scilit]
- Pansari, D.; Yadav, A. Adaptive fault diagnosis in renewable integrated microgrids using hybrid machine learning approach. Electr. Power Syst. Res. 2026, 251, 112297. [Google Scholar] [CrossRef] [Scilit]
- Pfeifer, B.; Kreuzthaler, M. Calibrated kNN classification via second-layer neighborhood analysis. Adv. Data Anal. Classif. 2026, 20, 145–165. [Google Scholar] [CrossRef] [Scilit]
- Ho, W.T.; Yu, F.W. Measurement and verification of energy performance for chiller system retrofit with k nearest neighbour regression. J. Build. Eng. 2022, 46, 103845. [Google Scholar] [CrossRef] [Scilit]
- Yahia, S.; Saida Bedoui, S.; Abderrahim, K. Lyapunov-based fault-tolerant control of stochastic switched systems via K-nearest neighbors switching detection and joint fault estimation. Results Control Optim. 2025, 21, 100625. [Google Scholar] [CrossRef] [Scilit]
- Quirk, M.; Serda, J. Semiconductor Manufacturing Technology; Prentice Hall: Upper Saddle River, NJ, USA, 2001; pp. 515–544. [Google Scholar]
- Xiao, H. Introduction to Semiconductor Manufacturing Technology; SPIE Press: Bellingham, WA, USA, 2012; pp. 505–544. [Google Scholar]
- Ning, Z.; Moyne, J.R.; Smith, T.; Boning, D.; Del Castillo, E.; Yeh, J.-Y.; Hurwitz, A. A comparative analysis of run-to-run control algorithms in the semiconductor manufacturing industry. In Proceedings of the 1996 IEEE/SEMI Advanced Semiconductor Manufacturing Conference, Cambridge, MA, USA, 12 November 1996. [Google Scholar]






| Drift Type | Item | Meaning | EWMA | KNN | Hybrid |
|---|---|---|---|---|---|
| Linear drift | Average | Target tracking | 1699.21 | 1668.69 | 1698.60 |
| Standard deviation | Process fluctuation | 62.72 | 9.38 | 28.79 | |
| Maximum overshoot | 15.17% | 3.10% | 4.40% | ||
| Settling percentage | 0% | 0% | |||
| Nonlinear drift | Run number * | In-control runs | 62 | 40 | 48 |
| Average | Target tracking | 1693.06 | 1660.92 | 1692.06 | |
| Standard deviation | Process fluctuation | 59.87 | 14.14 | 30.74 | |
| Maximum overshoot | 14.03% | 4.04% | 4.32% |
| Process | Approach | Model | Goal/Feature | Reference |
|---|---|---|---|---|
| Semiconductor manufacturing process | Extended state observer & R2R controller | Linear model | [15] | |
| CMP | Dynamic Bayesian networks & Structured R2R controller | Offline modeling | Physics-informed framework integrating the real-time equipment condition | [11] |
| Batch production process | dEWMA controller | Linear regression model | Online measurement | [17] |
| Atomic layer etching | EWMA & PI controller | Macroscopic CFD model & microscopic kinetic Monte Carlo model | To overcome the long purging times | [19] |
| Photolithography process | robust multilayer L∞ norm-based controller | Zernike polynomial-based models | To control overlay and stack-up overlay errors | [22] |
| CMP | EWMA-KNN | Model-free | Data-driven | This work |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hsu, M.-C.; Chang, Y.-J. A Data-Driven EWMA-KNN Run-to-Run Controller for Drift-Dominant Processes with Application to Chemical Mechanical Planarization. Processes 2026, 14, 2714. https://doi.org/10.3390/pr14172714
Hsu M-C, Chang Y-J. A Data-Driven EWMA-KNN Run-to-Run Controller for Drift-Dominant Processes with Application to Chemical Mechanical Planarization. Processes. 2026; 14(17):2714. https://doi.org/10.3390/pr14172714
Chicago/Turabian StyleHsu, Ming-Cheng, and Yaw-Jen Chang. 2026. "A Data-Driven EWMA-KNN Run-to-Run Controller for Drift-Dominant Processes with Application to Chemical Mechanical Planarization" Processes 14, no. 17: 2714. https://doi.org/10.3390/pr14172714
APA StyleHsu, M.-C., & Chang, Y.-J. (2026). A Data-Driven EWMA-KNN Run-to-Run Controller for Drift-Dominant Processes with Application to Chemical Mechanical Planarization. Processes, 14(17), 2714. https://doi.org/10.3390/pr14172714
