Dynamic Tuning of PLC-Based Built-In PID Controller Using PSO-MANFIS Hybrid Algorithm via OPC Server

In modern industrial automation, optimizing the performance of Programmable Logic Controller (PLC)-based PID controllers is critical for ensuring precise process control. This study presents a novel methodology for the dynamic tuning of built-in Proportional-Integral-Derivative (PID) controllers in PLCs using a hybrid algorithm that combines Particle Swarm Optimization (PSO) and Multiple-Adaptive Neuro-Fuzzy Inference System (MANFIS). Classical PID tuning methods, such as Ziegler–Nichols and Cohen–Coon, have traditionally been employed in industrial control systems. However, these methods often struggle to address the complexities of nonlinear, time-varying, or highly dynamic processes, resulting in suboptimal performance and limited adaptability. To overcome these challenges, the proposed PSO-MANFIS hybrid algorithm leverages the global search capabilities of PSO and the adaptive learning abilities of MANFIS to optimize PID parameters in real-time dynamically. Integrating MATLAB (R2021a) with industrial automation systems via an OPC (OLE for Process Control) server utilizes advanced optimization algorithms within MATLAB to obtain the best possible parameters for the industrial PID controller, enhancing control precision and optimizing production efficiency. This MATLAB-PLC interface facilitates seamless communication, enabling real-time monitoring, data analysis, and the implementation of sophisticated computational tools in industrial environments. Experimental results demonstrate superior performance, with reductions in rise time from 93.01 s to 70.98 s, settling time from 165.28 s to 128.84 s, and overshoot eliminated from 0.0012% to 0% of the controller response compared to conventional tuning. Furthermore, the proposed approach achieves a reduction in Root Mean Square Error (RMSE) by approximately 56% to 74% when compared with the baseline performance. By integrating MATLAB’s computational capabilities with PLC-based industrial automation, this study provides a practical and innovative solution for modern industries, offering enhanced adaptability, precision, and reliability in dynamic control applications, ultimately leading to optimized production outcomes.

Authors

Institutions

Publication Details

Journal
Automation
Published
2025-12-02
DOI
https://doi.org/10.3390/automation6040083
Primary Topic
Industrial Automation and Control Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dynamic Tuning of PLC-Based Built-In PID Controller Using PSO-MANFIS Hybrid Algorithm via OPC Server

Chong Kok Hen, Ali Marhoon, Basim Al-Najari, Johnny Koh Siaw Paw
Automation
Industrial Automation and Control Systems
article

Dynamic Tuning of PLC-Based Built-In PID Controller Using PSO-MANFIS Hybrid Algorithm via OPC Server

Chong Kok Hen, Ali Marhoon, Basim Al-Najari, Johnny Koh Siaw Paw
article en

Abstract

In modern industrial automation, optimizing the performance of Programmable Logic Controller (PLC)-based PID controllers is critical for ensuring precise process control. This study presents a novel methodology for the dynamic tuning of built-in Proportional-Integral-Derivative (PID) controllers in PLCs using a hybrid algorithm that combines Particle Swarm Optimization (PSO) and Multiple-Adaptive Neuro-Fuzzy Inference System (MANFIS). Classical PID tuning methods, such as Ziegler–Nichols and Cohen–Coon, have traditionally been employed in industrial control systems. However, these methods often struggle to address the complexities of nonlinear, time-varying, or highly dynamic processes, resulting in suboptimal performance and limited adaptability. To overcome these challenges, the proposed PSO-MANFIS hybrid algorithm leverages the global search capabilities of PSO and the adaptive learning abilities of MANFIS to optimize PID parameters in real-time dynamically. Integrating MATLAB (R2021a) with industrial automation systems via an OPC (OLE for Process Control) server utilizes advanced optimization algorithms within MATLAB to obtain the best possible parameters for the industrial PID controller, enhancing control precision and optimizing production efficiency. This MATLAB-PLC interface facilitates seamless communication, enabling real-time monitoring, data analysis, and the implementation of sophisticated computational tools in industrial environments. Experimental results demonstrate superior performance, with reductions in rise time from 93.01 s to 70.98 s, settling time from 165.28 s to 128.84 s, and overshoot eliminated from 0.0012% to 0% of the controller response compared to conventional tuning. Furthermore, the proposed approach achieves a reduction in Root Mean Square Error (RMSE) by approximately 56% to 74% when compared with the baseline performance. By integrating MATLAB’s computational capabilities with PLC-based industrial automation, this study provides a practical and innovative solution for modern industries, offering enhanced adaptability, precision, and reliability in dynamic control applications, ultimately leading to optimized production outcomes.

AutomationVol. 6(4)
Iraq University College (IQ), Universiti Tenaga Nasional (MY)
Southern Company
Openalex Percentile: Top 52%
Industrial Automation and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.