Skip to Content
AutomationAutomation
  • Article
  • Open Access

1 December 2026

31 Pages

Model-Calibrated Sim-to-Real Optimization of Outer Fuzzy-PI Control on a PLC: A Coupled-Tank System Study

,
,
,
,
,
and
1
Center of Excellence on Instrumentation Technology and Automation, Department of Instrumentation and Electrical Energy Engineering, Faculty of Engineering, King Mongkut’s University of Technology North Bangkok, Bangkok 10800, Thailand
2
School of Electrical and Computer Engineering, Institute of Engineering, Suranaree University of Technology, Nakhon Ratchasima 30000, Thailand
*
Author to whom correspondence should be addressed.

Abstract

Reliable sim-to-real controller design requires models of hydraulic and implementation dynamics. This study evaluates two-stage calibration for outer fuzzy proportional–integral (PI) control of a coupled-tank system on a Siemens S7-1200 programmable logic controller (PLC). Hydraulic parameters were identified from open-loop data, independently validated, and fixed during closed-loop implementation calibration. A genetic algorithm (GA) and particle swarm optimization (PSO) tuned the same 25-rule fuzzy-PI architecture using nominal (M0) and calibrated (M2) models under matched conditions, with 20 independent runs per family. On withheld closed-loop data, M2 reduced lower-tank level and pump-command root-mean-square errors by 53.6% and 87.1%, respectively, relative to M0. Physical evaluation included six configurations, each with ten tracking recordings and ten drainage interventions. Compared with M0-based designs, M2-based tuning reduced mean tracking integral time-weighted absolute error by 3.58% and 1.29% for GA and PSO, respectively, although both 95% confidence intervals (CIs) for the differences included zero. Corresponding drainage integral absolute error reductions were 7.16% and 2.93%. For GA, the drainage mean difference was 1.707 cm·s (95% CI, 0.203–3.211 cm·s). The results demonstrate improved prediction accuracy and suggest modest, variable physical performance benefits without changing the cascade architecture or 10 ms PLC control interval.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.