Design and intelligent tuning of a proportional–integral–derivative controller for an armature-controlled DC motor
Anbarasu P1, Loganathan N2, Narendran A3 and Rameshkumar K4
Assistant Professor, Department of Electrical and Electronics Engineering,Sri Krishna College of Engineering and Technology, Coimbatore,Tamil Nadu,India2
Assistant Professor, Department of Electrical and Electronics Engineering,SRM Madurai College for Engineering and Technology, Madurai,Tamil Nadu,India3
Associate Professor, Department of Electrical and Electronics Engineering,Dr. Mahalingam College of Engineering and Technology, Pollachi,Tamil Nadu,India4
Corresponding Author : Anbarasu P
Recieved : 02-Jan-2025; Revised : 07-Jan-2026; Accepted : 15-Jan-2026
Abstract
Stability, resilience, and optimal performance are critical goals in the field of process control, particularly in the design of proportional-integral-derivative (PID) controllers for direct current (DC) motors. To identify the most suitable PID controller parameters for various industrial applications, it is essential to evaluate the effectiveness of different tuning approaches. This study considers three PID controller design methods: the traditional Ziegler–Nichols (ZN) technique, the particle swarm optimization (PSO) algorithm, and a novel strategy based on the random forest (RF) algorithm. The ZN method provides a heuristic-based tuning approach derived from the dynamic response of the DC motor. The PSO algorithm employs a metaheuristic optimization process that iteratively adjusts PID parameters to minimize a predefined objective function. In addition, this study explores the use of the RF technique to automatically estimate and optimize PID controller parameters using historical DC motor performance data. Simulation results obtained using MATLAB demonstrate that the RF-based tuning approach outperforms both the ZN- and PSO-based controllers. Specifically, the RF-tuned PID controller achieves the best rise time (Tr) of 0.0084 s and settling time (Ts) of 0.0227 s, with no maximum peak overshoot (Mp) and negligible error indices, including an integral of squared error (ISE) of 0.00218, an integral of absolute error (IAE) of 0.1102, and an integral of time-weighted absolute error (ITAE) of 0.0489. Furthermore, convergence analysis confirms the ability of the RF approach to consistently attain lower cost function values (J = 0.010) across all trials, achieving a 100% success rate and demonstrating strong robustness and repeatability.
Keywords
PID controller, DC motor control, Random forest, Particle swarm optimization, Ziegler–nichols tuning, MATLAB simulation.
Cite this article
P A, N L, A N, K R. Design and intelligent tuning of a proportional–integral–derivative controller for an armature-controlled DC motor. International Journal of Advanced Technology and Engineering Exploration. 2026;13(134):85-101. DOI : 10.19101/IJATEE.2025.121220008
References
[1] Li S, Liang X, Xu W. Modeling dc motor drive systems in power system dynamic studies. IEEE Transactions on Industry Applications. 2014; 51(1):658-68.
[2] Emhemed AA, Mamat RB. Modelling and simulation for industrial DC motor using intelligent control. Procedia Engineering. 2012; 41:420-5.
[3] Cui W, Gong Y, Xu MH. A permanent magnet brushless DC motor with bifilar winding for automotive engine cooling application. IEEE Transactions on Magnetics. 2012; 48(11):3348-51.
[4] Mthboob MH, Alrikabi H, Aljazaery IA. A concepts and techniques related to the DC motor speed control system design: systematic review. Wasit Journal of Computer and Mathematics Science. 2023; 2(1):59-73.
[5] Kuczmann M. Review of DC motor modeling and linear control: theory with laboratory tests. Electronics. 2024; 13(11):1-38.
[6] Jabari M, Ekinci S, Izci D, Bajaj M, Zaitsev I. Efficient DC motor speed control using a novel multi-stage FOPD (1+ PI) controller optimized by the pelican optimization algorithm. Scientific Reports. 2024; 14(1):1-25.
[7] Zhang C. Advancing robotic capabilities: the pivotal role of PID control in modern robotics. In AIP conference proceedings 2024. AIP Publishing LLC.
[8] Joseph SB, Dada EG, Abidemi A, Oyewola DO, Khammas BM. Metaheuristic algorithms for PID controller parameters tuning: review, approaches and open problems. Heliyon. 2022; 8(5).
[9] Oladipo S, Sun Y, Wang Z. Optimization of PID controller with metaheuristic algorithms for DC motor drives. International Review of Electrical Engineering. 2020; 15(5):352-81.
[10] Mustafa MO. Optimal parameter values of PID controller for DC motor based on modified particle swarm optimization with adaptive inertia weight. Eastern-European Journal of Enterprise Technologies. 2021; 1(2):109.
[11] Jabari M, Rad A. Optimization of speed control and reduction of torque ripple in switched reluctance motors using metaheuristic algorithms based PID and FOPID controllers at the edge. Tsinghua Science and Technology. 2025; 30(4):1526-38.
[12] Aziz GA, Abdullah FN, Shneen SW. Performance enhancement of DC motor drive systems using genetic algorithm-optimized PID controller for improved transient response and stability. International Journal of Robotics & Control Systems. 2025; 5(1):266-95.
[13] Saravanan G, Pazhanimuthu C, Naveen P. Performance improvement of DC motor control system using PID controller with kookaburra and red panda optimization algorithm. Scientific Reports. 2025; 15(1):1-23.
[14] Schonlau M, Zou RY. The random forest algorithm for statistical learning. The Stata Journal. 2020; 20(1):3-29.
[15] Ren Q, Cheng H, Han H. Research on machine learning framework based on random forest algorithm. In AIP conference proceedings 2017 (pp. 1-7). AIP Publishing LLC.
[16] Yahya MF, Majid MH. Gain scheduling for point-to-point PID control of car-like robots under load variations. International Journal of Advanced Technology and Engineering Exploration. 2025; 12(122):74-89.
[17] Rafiqi IS, Bhat AH. Enhancement of power quality using UPQC integrated with renewable energy sources through an improved sparrow search-based PID controller. International Journal of Advanced Technology and Engineering Exploration. 2024; 11(116):955-78.
[18] Fajuke I. Optimal tuning of PID controller for speed control of DC motor using equilibrium optimizer. The Indonesian Journal of Electrical Engineering and Computer Science (IJEECS). 2023; 30(1):89-101.
[19] Rashid YG, Hussain AM. Implementing optimization of PID controller for DC motor speed control. Indonesian Journal of Electrical Engineering and Computer Science. 2021; 23(2):657-64.
[20] Ekinci S, Hekimoğlu B, Izci D. Opposition based henry gas solubility optimization as a novel algorithm for PID control of DC motor. Engineering Science and Technology, an International Journal. 2021; 24(2):331-42.
[21] Al-dabbagh ZA, Shneen SW. Design of a PID speed controller for BLDC motor with cascaded boost converter for high-efficiency industrial applications. International Journal of Robotics & Control Systems. 2025; 5(1):22-46.
[22] Turan A. Improved PID control design for electric power steering DC motor. IEEE Access. 2024; 13:6080-8.
[23] Sekarsari K, Tata T. Performance analysis of PID control in DC brushless motor using trial and error method. In IOP conference series: materials science and engineering 2021 (pp. 1-9). IOP Publishing.
[24] Alouache B, Helaimi MH, Djilali AB, Yahdou A. Frequency control in microgrid isolated system using PID controller using ziegler nichols method and genetic algorithm. In technological and innovative progress in renewable energy systems: proceedings of the 2024 international renewable energy days 2025 (pp. 205-9). Cham: Springer Nature Switzerland.
[25] Bhardwaj L, Mishra A, Asija D. Parameter optimisation of PID controller utilised for speed control of DC motor with ziegler-nichols and cohen-coon tuning method. In intelligent and sustainable power and energy systems 2025 (pp. 72-80). CRC Press.
[26] Nippatla VR, Mandava S. Performance analysis of permanent magnet synchronous motor based on transfer function model using PID controller tuned by ziegler-nichols method. Results in Engineering. 2025; 26:1-12.
[27] Arun KU, Ravichandran CS, Rajan BW. Adaptive neuro-fuzzy and PID-based regenerative system for E-vehicles. In soft computing for security applications: proceedings of ICSCS 2022 (pp. 379-89). Singapore: Springer Nature Singapore.
[28] Aarthi N, Anbarasu P, Nagarajan D, Banu AS, Vinosh M. Genetic based fuzzy logic control of SEDC motor. In international conference on computer communication and informatics (ICCCI) 2023 (pp. 1-6). IEEE.
[29] Güven AF, Mengi OÖ, Elseify MA, Kamel S. Comprehensive optimization of PID controller parameters for DC motor speed management using a modified jellyfish search algorithm. Optimal Control Applications and Methods. 2025; 46(1):320-42.
[30] Mitra N, Dash SK, Maharana HS. Electromagnetic vector PSO technique for combined economic and emission dispatch. International Journal of Advanced Technology and Engineering Exploration. 2025; 12(126):833-53.
[31] Kirange YK, Nema P. Optimization of PID controller parameters for an SMIB system using a hybrid butterfly particle swarm optimization approach. International Journal of Advanced Technology and Engineering Exploration. 2024; 11(113):529-51.
[32] Yıldırım Ş, Bingol MS, Savas S. Tuning PID controller parameters of the DC motor with PSO algorithm. International Review of Applied Sciences and Engineering. 2024; 15(3):281-6.
[33] Chikkalwar SR, Garapati Y. Network intrusion detection system using bacterial foraging optimization with random forest. International Journal of Advanced Technology and Engineering Exploration. 2023; 10(105):1037-49.
[34] Agrawal N, Khan FA, Gowda M. Artificial neural network and random forest machine learning algorithm based TCSC controllers for mitigating power problems. In international conference on computer science, engineering and education applications 2023 (pp. 269-88). Cham: Springer Nature Switzerland.
[35] Ahad A, Krishna NV, Rehaman SA, Kumar DR, Garnepudi OH. Design of Pid controllers using machine learning technique. In 1st international conference on sustainability and technological advancements in engineering domain (SUSTAINED) 2024 (pp. 442-7). IEEE.
