Comparative Analysis of PID-Driven Data-Based and PSO-Tuned Fuzzy Membership Functions for Robotic Manipulator Control
DOI:
https://doi.org/10.59247/jfsc.v3i3.335Keywords:
Fuzzy Logic Control, Robotic Manipulator, Membership Functions, Step Input TrackingAbstract
Robotic manipulators require control systems that are both responsive and precise in order to ensure accurate tracking and stability in dynamic environments. Conventional fuzzy logic controllers that are based on proportional integral derivative (PID) methods frequently encounter difficulties in achieving fast response, minimal steady-state error, and low overshoot. This study presents a comparative evaluation of a PID-driven data-based fuzzy logic controller and a particle swarm optimization (PSO) tuned fuzzy logic controller for a three-axis robotic manipulator implemented in Simulink. Both controllers used Gaussian membership functions within a Mamdani inference structure. The PSO algorithm was employed to optimize fuzzy input-scaling gains using a composite performance index that incorporated absolute error, control effort, overshoot penalty, and steady-state error. The simulation results indicate that the PSO-tuned controller consistently outperformed the benchmark. On the R-axis, it shortened rise and settling times and reduced overshoot, mean absolute error (MAE), and root mean square error (RMSE). On the T-axis, response speed and error values improved, although overshoot increased, indicating a trade-off between speed and stability. On the Z-axis, the PSO controller achieved a substantial decrease in overshoot, lower error metrics, and faster stabilization. Overall, the PSO-based tuning process preserved steady-state stability while improving transient performance on all axes. These findings show that metaheuristic optimization is an effective and practical method for enhancing fuzzy logic controllers in robotic manipulators. This approach has potential applications in precision manufacturing, service automation, and surgical robotics.
References
P. Chotikunnan, R. Chotikunnan, Y. Pititheeraphab, T. Puttasakul, A. Wongkamhang, and N. Thongpance, “Comparative Analysis of Fuzzy Membership Functions for Step and Smooth Input Tracking in a 3-Axis Robotic Manipulator,” Journal of Fuzzy Systems and Control, vol. 3, no. 1, pp. 39–50, 2025, https://doi.org/10.59247/jfsc.v3i1.278.
E. S. Ghith and F. A. A. Tolba, “Design and Optimization of PID Controller using Various Algorithms for Micro-Robotics System,” Journal of Robotics and Control (JRC), vol. 3, no. 3, pp. 244–256, 2022, https://doi.org/10.18196/jrc.v3i3.14827.
H. Maghfiroh, M. Ahmad, A. Ramelan, and F. Adriyanto, “Fuzzy-PID in BLDC Motor Speed Control Using MATLAB/Simulink,” Journal of Robotics and Control (JRC), vol. 3, no. 1, pp. 8–13, 2022, https://doi.org/10.18196/jrc.v3i1.10964.
K. Vanchinathan and N. Selvaganesan, “Adaptive fractional order PID controller tuning for brushless DC motor using Artificial Bee Colony algorithm,” Results in Control and Optimization, vol. 4, 2021, https://doi.org/10.1016/j.rico.2021.100032.
R. P. Borase, D. K. Maghade, S. Y. Sondkar, and S. N. Pawar, “A review of PID control, tuning methods and applications,” International Journal of Dynamics and Control, vol. 9, no. 2, pp. 818–827, 2021, https://doi.org/10.1007/s40435-020-00665-4.
M. A. Shamseldin, M. Araby, and S. El-Khatib, “A Low-Cost High Performance Electric Vehicle Design Based on Variable Structure Fuzzy PID Control,” Journal of Robotics and Control (JRC), vol. 5, no. 6, pp. 1713–1721, 2024, https://doi.org/10.18196/jrc.v5i6.22071.
S. Mahfoud, A. Derouich, N. E. L. Ouanjli, M. E. L. Mahfoud, and M. Taoussi, “A new strategy-based pid controller optimized by genetic algorithm for dtc of the doubly fed induction motor,” Systems, vol. 9, no. 2, p. 37, 2021, https://doi.org/10.3390/systems9020037.
M. M. Nishat, F. Faisal, A. J. Evan, M. M. Rahaman, M. S. Sifat, and H. M. F. Rabbi, “Development of Genetic Algorithm (GA) Based Optimized PID Controller for Stability Analysis of DC-DC Buck Converter,” Journal of Power and Energy Engineering, vol. 08, no. 09, pp. 8–19, 2020, https://doi.org/10.4236/jpee.2020.89002.
H. Feng et al., “Robotic excavator trajectory control using an improved GA based PID controller,” Mechanical Systems and Signal Processing, vol. 105, pp. 153–168, 2018, https://doi.org/10.1016/j.ymssp.2017.12.014.
Z. Qi, Q. Shi, and H. Zhang, “Tuning of digital PID controllers using particle swarm optimization algorithm for a CAN-Based DC motor subject to stochastic delays,” IEEE Transactions on Industrial Electronics, vol. 67, no. 7, pp. 5637–5646, 2020, https://doi.org/10.1109/TIE.2019.2934030.
S. J. Hammoodi, K. S. Flayyih, and A. R. Hamad, “Design and implementation speed control system of DC motor based on PID control and MATLAB Simulink,” International Journal of Power Electronics and Drive Systems, vol. 11, no. 1, pp. 127–134, 2020, https://doi.org/10.11591/ijpeds.v11.i1.pp127-134.
M. A. Abdelghany, A. O. Elnady, and S. O. Ibrahim, “Optimum PID Controller with Fuzzy Self-Tuning for DC Servo Motor,” Journal of Robotics and Control (JRC), vol. 4, no. 4, pp. 500–508, 2023, https://doi.org/10.18196/jrc.v4i4.18676.
M. H. Setiawan, A. Ma’arif, M. F. Saifuddin, and W. A. Salah, “A Comparative Study of PID, FOPID, ISF, SMC, and FLC Controllers for DC Motor Speed Control with Particle Swarm Optimization,” International Journal of Robotics and Control Systems, vol. 5, no. 1, pp. 640–660, 2025, https://doi.org/10.31763/ijrcs.v5i1.1764.
K. Eltag, M. S. Aslamx, and R. Ullah, “Dynamic Stability Enhancement Using Fuzzy PID Control Technology for Power System,” International Journal of Control, Automation and Systems, vol. 17, no. 1, pp. 234–242, 2019, https://doi.org/10.1007/s12555-018-0109-7.
S. Nemmour, B. Daaou, and F. Okello, “Fuzzy Control for Spacecraft Orbit Transfer with Gain Perturbations and Input Constraint,” International Journal of Robotics and Control Systems, vol. 4, no. 4, pp. 1561–1583, 2024, https://doi.org/10.31763/ijrcs.v4i4.1549.
R. Askour, H. Jbari, and B. B. Idrissi, “comparative investigation of DSP-based speed control of PMSM using proportional integral and Takagi-Sugeno fuzzy logic controller,” International Journal of Electrical and Electronic Engineering and Telecommunications, vol. 13, no. 2, pp. 135–147, 2024, https://doi.org/10.18178/ijeetc.13.2.135-147.
C. Y. Kang, H. Nabipour, H. S. Chua, and C. C. Kang, “Design of Battery Energy Storage System (BESS) with Fuzzy Control for Pico Hydro,” International Journal of Electrical and Electronic Engineering and Telecommunications, vol. 11, no. 1, pp. 18–23, 2022, https://doi.org/10.18178/ijeetc.11.1.18-23.
N. T. Thinh, T. P. Tho, and N. D. X. Hai, “Adaptive fuzzy control for autonomous robot under complex environment,” International Journal of Mechanical Engineering and Robotics Research, vol. 10, no. 5, pp. 216–223, 2021, https://doi.org/10.18178/ijmerr.10.5.216-223.
S. Howimanporn, S. Chookaew, and C. Silawatchananai, “Real-Time Evaluation Position Control of Directional Wheel Conveyor Using Fuzzy Embedded PLC and SCADA,” International Journal of Mechanical Engineering and Robotics Research, vol. 10, no. 6, pp. 328–336, 2021, https://doi.org/10.18178/ijmerr.10.6.328-336.
R. A. AL-Jarrah, “Hybrid Fuzzy-PID Closed Loop to Regulate Quadcopter System,” International Journal of Mechanical Engineering and Robotics Research, vol. 10, no. 9, pp. 469–477, 2021, https://doi.org/10.18178/ijmerr.10.9.469-477.
N. T. T. Hieu and N. T. Thinh, “Controlling water jet based on fuzzy controller for cleaning and massage patient’s head,” International Journal of Mechanical Engineering and Robotics Research, vol. 11, no. 9, pp. 646–652, 2022, https://doi.org/10.18178/ijmerr.11.9.646-652.
P. Visavapiwong, S. Chookaew, and S. Howimanporn, “Parameter Estimate PID Controller for Multi-position Control of Servo Drive System with Fuzzy Self-Tuning,” International Journal of Mechanical Engineering and Robotics Research, vol. 13, no. 4, pp. 456–462, 2024, https://doi.org/10.18178/ijmerr.13.4.456-462.
Z. Yasmine, B. Karim, B. Razika, and B. Younes, “Adaptive Fuzzy Logic Control of Quadrotor,” International Journal of Robotics and Control Systems, vol. 4, no. 4, pp. 2095–2118, 2024, https://doi.org/10.31763/ijrcs.v4i4.1583.
N. H. M. Ali et al., “Enhanced Hybrid Robust Fuzzy-PID Controller for Precise Trajectory Tracking Electro-Hydraulic Actuator System,” International Journal of Robotics and Control Systems, vol. 4, no. 2, pp. 795–813, 2024, https://doi.org/10.31763/ijrcs.v4i2.1407.
M. Singh, S. Arora, and O. A. Shah, “Enhancing Hybrid Power System Performance with GWO-Tuned Fuzzy-PID Controllers: A Comparative Study,” International Journal of Robotics and Control Systems, vol. 4, no. 2, pp. 709–726, 2024, https://doi.org/10.31763/ijrcs.v4i2.1388.
A. Ma’arif and A. Çakan, “Simulation and arduino hardware implementation of dc motor control using sliding mode controller,” Journal of Robotics and Control (JRC), vol. 2, no. 6, pp. 582–587, 2021, https://doi.org/10.18196/jrc.26140.
A. L. Shuraiji and S. W. Shneen, “Fuzzy Logic Control and PID Controller for Brushless Permanent Magnetic Direct Current Motor: A Comparative Study,” Journal of Robotics and Control (JRC), vol. 3, no. 6, pp. 762–768, 2022, https://doi.org/10.18196/jrc.v3i6.15974.
S. Singh and M. K. Sandhu, “Multi-Level Fuzzy Inference System Based Handover Decision Model for Unmanned Vehicles,” International Journal of Electrical and Electronic Engineering and Telecommunications, vol. 12, no. 1, pp. 35–45, 2023, https://doi.org/10.18178/ijeetc.12.1.35-45.
C. F. Riman and P. E. Abi-Char, “Fuzzy Logic Control for Mobile Robot Navigation in Automated Storage,” International Journal of Mechanical Engineering and Robotics Research, vol. 12, no. 5, pp. 313–323, 2023, https://doi.org/10.18178/ijmerr.12.5.313-323.
D. N. Minh, H. Do Quang, N. D. Phuong, T. N. Manh, and D. N. Bui, “An Adaptive Fuzzy Dynamic Surface Control Tracking Algorithm for Mecanum Wheeled Mobile Robot,” International Journal of Mechanical Engineering and Robotics Research, vol. 12, no. 6, pp. 354–361, 2023, https://doi.org/10.18178/ijmerr.12.6.354-361.
P. M. Tuan, N. D. Tai, T. Q. Huy, and N. T. Thinh, “Flexible Path Planning of Mobile Robot for Avoiding the Dynamic Obstacles Using Fuzzy Controllers,” International Journal of Mechanical Engineering and Robotics Research, vol. 13, no. 1, pp. 126–132, 2024, https://doi.org/10.18178/ijmerr.13.1.126-132.
C. F. Riman and P. E. Abi-Char, “Novel Fuzzy Reinforcement Algorithm for Mobile Robot Navigation in Automated Storage,” International Journal of Mechanical Engineering and Robotics Research, vol. 13, no. 2, pp. 284–295, 2024, https://doi.org/10.18178/ijmerr.13.2.284-295.
P. T. Phuc, T. P. Tho, N. D. X. Hai, and N. T. Thinh, “Design of Adaptive Fuzzy Sliding Mode Controller for Mobile Robot,” International Journal of Mechanical Engineering and Robotics Research, vol. 10, no. 2, pp. 54–59, 2021, https://doi.org/10.18178/ijmerr.10.2.54-59.
D. T. Tran, N. M. Hoang, N. H. Loc, Q. T. Truong, and N. T. Nha, “A Fuzzy LQR PID Control for a Two-Legged Wheel Robot with Uncertainties and Variant Height,” Journal of Robotics and Control (JRC), vol. 4, no. 5, pp. 612–620, Sep. 2023, https://doi.org/10.18196/jrc.v4i5.19448.
K. Singhal, V. Kumar, and K. P. S. Rana, “Robust trajectory tracking control of non-holonomic wheeled mobile robots using an adaptive fractional order parallel fuzzy PID controller,” Journal of the Franklin Institute, vol. 359, no. 9, pp. 4160–4215, 2022, https://doi.org/10.1016/j.jfranklin.2022.03.043.
E. A. Nugroho, J. D. Setiawan, and M. Munadi, “Handling Four DOF Robot to Move Objects Based on Color and Weight using Fuzzy Logic Control,” Journal of Robotics and Control (JRC), vol. 4, no. 6, pp. 769–779, 2023, https://doi.org/10.18196/jrc.v4i6.20087.
R. D. Puriyanto and A. K. Mustofa, “Design and Implementation of Fuzzy Logic for Obstacle Avoidance in Differential Drive Mobile Robot,” Journal of Robotics and Control (JRC), vol. 5, no. 1, pp. 132–141, 2024, https://doi.org/10.18196/jrc.v5i1.20524.
A. Baharuddin and M. A. Mohd Basri, “Self-Tuning PID Controller for Quadcopter using Fuzzy Logic,” International Journal of Robotics and Control Systems, vol. 3, no. 4, pp. 728–748, 2023, https://doi.org/10.31763/ijrcs.v3i4.1127.
S. Louda, N. Karkar, F. Seghir, and O. Boutalbi, “Fuzzy Dynamic Feedback Linearization for Efficient Mobile Robot Trajectory Tracking and Obstacle Avoidance in Autonomous Navigation,” International Journal of Robotics and Control Systems, vol. 5, no. 2, pp. 881–901, 2025, https://doi.org/10.31763/ijrcs.v5i2.1780.
Y. Lu, “Adaptive-fuzzy control compensation design for direct adaptive fuzzy control,” IEEE Transactions on Fuzzy Systems, vol. 26, no. 6, pp. 3222–3231, 2018, https://doi.org/10.1109/TFUZZ.2018.2815552.
T. P. Tho and N. T. Thinh, “Sagging Cable Analysis and Evaluation of 4-degree-of- freedom Cable Robot Using Adaptive Neural Fuzzy Algorithm,” International Journal of Mechanical Engineering and Robotics Research, vol. 11, no. 2, pp. 73–78, 2022, https://doi.org/10.18178/ijmerr.11.2.73-78.
W. F. Faris, M. Rabie, A. O. Moaaz, N. M. Ghazaly, and M. M. Makrahy, “Two-Flexible-Link Manipulator Vibration Reduction Through Fuzzy-Based Position,” International Journal of Robotics and Control Systems, vol. 5, no. 1, pp. 479–499, 2025, https://doi.org/10.31763/ijrcs.v5i1.1669.
Z. Dachang, D. Baolin, Z. Puchen, and C. Shouyan, “Constant force PID control for robotic manipulator based on fuzzy neural network algorithm,” Complexity, vol. 2020, 2020, https://doi.org/10.1155/2020/3491845.
P. Chotikunnan, B. Panomruttanarug, and P. Manoonpong, “Dual Design Iterative Learning Controller for Robotic Manipulator Application,” Control Engineering and Applied Informatics, vol. 24, no. 3, pp. 76–85, Jul. 2022, http://www.ceai.srait.ro/index.php?journal=ceai&page=article&op=download&path%5B%5D=7786&path%5B%5D=1660.
P. Chotikunnan and B. Panomruttanarug, “Practical design of a time-varying iterative learning control law using fuzzy logic,” Journal of Intelligent and Fuzzy Systems, vol. 43, no. 3, pp. 2419–2434, 2022, https://doi.org/10.3233/JIFS-213082.
B. Panomruttanarug, R. W. Longman, and M. Q. Phan, “Steady State Frequency Response Design of Finite Time Iterative Learning Control,” Journal of the Astronautical Sciences, vol. 67, no. 2, pp. 571–594, 2020, https://doi.org/10.1007/s40295-019-00198-9.
B. Panomruttanarug, “Position Control of Robotic Manipulator Using Repetitive Control Basedon Inverse Frequency Response Design,” International Journal of Control, Automation and Systems, vol. 18, no. 11, pp. 2830–2841, 2020, https://doi.org/10.1007/s12555-019-0518-2.
P. Chotikunnan and R. Chotikunnan, “Dual Design PID Controller for Robotic Manipulator Application,” Journal of Robotics and Control (JRC), vol. 4, no. 1, pp. 23–34, 2023, https://doi.org/10.18196/jrc.v4i1.16990.
K. Lu, Z. Liu, Y. Wang, and C. L. P. Chen, “Fixed-Time Adaptive Fuzzy Control for Uncertain Nonlinear Systems,” IEEE Transactions on Fuzzy Systems, vol. 29, no. 12, pp. 3769–3781, 2021, https://doi.org/10.1109/TFUZZ.2020.3028458.
F. Cao, “PID controller optimized by genetic algorithm for direct-drive servo system,” Neural Computing and Applications, vol. 32, no. 1, pp. 23–30, 2020, https://doi.org/10.1007/s00521-018-3739-z.
P. Mohindru, “Review on PID, fuzzy and hybrid fuzzy PID controllers for controlling non-linear dynamic behaviour of chemical plants,” Artificial Intelligence Review, vol. 57, no. 4, p. 97, 2024, https://doi.org/10.1007/s10462-024-10743-0.
C. Guo, L. Zhong, J. Zhao, G. Gao, and Y. Huang, “First-Order and High-Order Repetitive Control for Single-Phase Grid-Connected Inverter,” Complexity, vol. 2020, p. Article ID 1094386, 2020, https://doi.org/10.1155/2020/1094386.
A. Kholiq et al., “Development of Adaptive PD Control for Infant Incubator Using Fuzzy Logic,” Journal of Robotics and Control (JRC), vol. 5, no. 3, pp. 756–765, 2024, https://doi.org/10.18196/jrc.v5i3.21510.
U. V. Ramizares, W. J. A. Teves, E. R. Arboleda, and J. M. C. Bangeles, “Intelligent Temperature-Controlled Poultry Feed Dispensing System with Fuzzy Logic Algorithm,” International Journal of Robotics and Control Systems, vol. 4, no. 1, pp. 69–87, 2024, https://doi.org/10.31763/ijrcs.v4i1.1256.
A. O. Amole, O. E. Olabode, D. O. Akinyele, and S. G. Akinjobi, “Optimal Temperature Control Scheme for Milk Pasteurization Process Using Different Tuning Techniques for a Proportional Integral Derivative Controller,” Iranian Journal of Electrical and Electronic Engineering, vol. 18, no. 3, p. 2170, 2022, https://doi.org/10.22068/IJEEE.18.3.2170.
K. Anand, E. Mamatha, C. S. Reddy, and M. Prabha, “Design of neural network based expert system for automated lime kiln system,” Journal Europeen des Systemes Automatises, vol. 52, no. 4, pp. 369–376, 2019, https://doi.org/10.18280/jesa.520406.
M. Tavana and V. Hajipour, “A practical review and taxonomy of fuzzy expert systems: methods and applications,” Benchmarking, vol. 27, no. 1, pp. 81–136, 2020, https://doi.org/10.1108/BIJ-04-2019-0178.
D. Gupta and A. Ahlawat, “Taxonomy of GUM and usability prediction using GUM multistage fuzzy expert system,” International Arab Journal of Information Technology, vol. 16, no. 3, pp. 357–363, 2019, https://www.iajit.org/PDF/May%202019,%20No.%203/11385.pdf.
X. Jin, K. Chen, Y. Zhao, J. Ji, and P. Jing, “Simulation of hydraulic transplanting robot control system based on fuzzy PID controller,” Measurement: Journal of the International Measurement Confederation, vol. 164, p. 108023, 2020, https://doi.org/10.1016/j.measurement.2020.108023.
R. Y. Abdullah, A. M. Posonia, and U. B. Nisha, “A Graph Correlated Anomaly Detection with Fuzzy Model for Distributed Wireless Sensor Networks,” International Journal of Electrical and Electronic Engineering and Telecommunications, vol. 12, no. 5, pp. 306–316, 2023, https://doi.org/10.18178/ijeetc.12.5.306-316.
M. S. Islam and U. Chong, “Rotating Machine Fault Detection based on Fuzzy Logic and Improved Adaptive Filter,” International Journal of Mechanical Engineering and Robotics Research, vol. 10, no. 2, pp. 79–86, 2021, https://doi.org/10.18178/ijmerr.10.2.79-86.
J. Sonawane, M. Patil, and G. K. Birajdar, “Enhancement of Underwater Video through Adaptive Fuzzy Weight Evaluation,” Journal of Robotics and Control (JRC), vol. 5, no. 2, pp. 500–508, 2024, https://doi.org/10.18196/jrc.v5i2.20496.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Phichitphon Chotikunnan, Wanida Khotakham, Pariwat Imura, Rawiphon Chotikunnan, Anantasak Wongkamhang, Nuntachai Thongpance

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.