PID Parameter Optimization Using Particle Swarm Optimization For Motor Speed Control In An Automatic Cardiopulmonary Resuscitation Device

Authors

  • Rafiuddin Syam Universitas Negeri Jakarta
  • Muhammad Awaluddin Universitas Negeri Jakarta

DOI:

https://doi.org/10.21009/GJIK.144.11

Keywords:

PID Control, Particle Swarm Optimization, Motor Speed, ITAE

Abstract

Chest compression in an automatic cardiopulmonary resuscitation (CPR) device requires stable and accurate motor speed control to keep the compression rate consistent within the 100–120 compressions-per-minute range recommended by the 2020 American Heart Association (AHA) guidelines. This study designs and evaluates speed control of the PG45 DC motor driving the crank-slider mechanism of an Arduino Mega 2560-based automatic CPR device using a Proportional-Integral-Derivative (PID) controller whose parameters are tuned through the Particle Swarm Optimization (PSO) algorithm with an Integral Time Absolute Error (ITAE) objective function. Speed feedback is obtained from a Hall-Effect incremental rotary encoder, supported by integral anti-windup, a low-pass filter, and feedforward control. PSO optimization yielded Kp = 5.0000, Ki = 2.9519, and Kd = 0.5000 with a minimum ITAE of 2.3586. MATLAB simulation showed a fast, stable speed response toward the 120 RPM reference without excessive overshoot. Testing on a CPR manikin showed an average actual speed of 91.95 RPM with an RMSE of 30.12 relative to the simulation, attributed to the viscoelastic load resistance of the chest wall and internal mechanical friction under peak load. Compression depth remained consistent at 55.8–56.0 mm in line with the AHA standard, although motor-speed performance in the real implementation still requires further improvement, particularly through selection of a higher-torque actuator.

Downloads

Download data is not yet available.

References

[1] M. Abdillah, T. Mutia, T. A. Nugroho, and N. I. Pertiwi, “Design of Automatic Transfer Switch on A Renewable Energy Hybrid Grid System at PT Lentera Bumi Nusantara,” Journal of Advanced Technology and Multidiscipline, vol. 1, no. 2, pp. 38–44, 2022, doi: 10.20473/jatm.v1i2.40293.

[2] S. I. Akbar, “Monitoring Automatic Transfer Switch dan Baterai Berbasis IoT Menggunakan Mikrokontroler AVR dan ESP32,” Transient: Jurnal Ilmiah Teknik Elektro, vol. 11, no. 2, pp. 51–60, 2022, doi: 10.14710/transient.v11i2.51-60.

[3] M. R. Alfariski, M. Dhandi, and A. Kiswantono, “Automatic Transfer Switch (ATS) Using Arduino Uno, IoT-Based Relay and Monitoring,” JTECS: Jurnal Sistem Telekomunikasi Elektronika Sistem Kontrol Power Sistem dan Komputer, vol. 2, no. 1, p. 1, 2022, doi: 10.32503/jtecs.v2i1.2238.

[4] S. F. Anggoro, “Powerbank untuk Suplai Daya Beban pada Rumah Tinggal,” Teknik Elektro, Universitas Negeri Yogyakarta, 2019.

[5] T. M. V. Arief, “Dunia Usaha Keluhkan Pemadaman Bergilir, Produksi hingga Investasi Terancam,” Kompas.com, Jun. 22, 2026. [Online]. Available: https://money.kompas.com/read/2026/06/22/061800526/dunia-usaha-keluhkan-pemadaman-bergilir-produksi-hingga-investasi-terancam

[6] R. M. Branch, Instructional Design: The ADDIE Approach. Department of Educational Psychology and Instructional Technology, University of Georgia, 2009, doi: 10.1007/978-0-387-09506-6.

[7] R. Elliott, “Inverter AC Power Supplies,” Elliott Sound Products, 2014. [Online]. Available: https://sound-au.com/articles/inverters.htm

[8] Kementerian ESDM Republik Indonesia, “Paparkan Capaian Kinerja 2025, Menteri ESDM: Kapasitas Terpasang dan Konsumsi Listrik Meningkat,” 2025. [Online]. Available: https://gatrik.esdm.go.id/berita/?slug=paparkan-capaian-capaian-kinerja-2025-menteri-esdm-kapasitas-terpasang-dan-konsumsi-listrik-meningkat&category=

[9] S. Keran and A. Nugraha, “Sistem Switching pada Automatic Transfer Switch (ATS) Menggunakan Arduino UNO,” Jurnal Surya Energy, vol. 7, no. 2, pp. 47–53, 2023, doi: 10.32502/jse.v7i2.5756.

[10] Kusrini, Sistem Pakar: Teori dan Aplikasi. Yogyakarta, Indonesia: Andi, 2006.

[11] A. A. Nugroho and E. Fitriani, “Rancang Bangun Panel Automatic Transfer Switch (ATS) dengan Monitoring dan Kendali Via Android Berbasis Outseal PLC,” Bina Darma Conference on Engineering Science, pp. 43–52, 2022. [Online]. Available: http://conference.binadarma.ac.id/index.php/BDCES

[12] N. Patel, A. Dhikale, S. Utekar, and M. Dogra, “Improving Performance of IoT Applications Using Edge,” 2024, p. 120004.

[13] O. Purnawirawan and T. Afirianto, “Implementasi Algoritma Fuzzi Mamdani pada Sistem Pakar Menggunakan Software Aplikasi Matlab R2007B, Studi Kasus: Tanaman Hidroponik Selada Air,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 5, pp. 977–986, 2024, doi: 10.25126/jtiik.1077977.

[14] R. P. W. Putra, M. Mukhsim, and F. Rofi’i, “Sistem Pemantauan dan Pengendalian Modul Automatic Transfer Switch (ATS) Melalui Android Berbasis Arduino,” TELKA: Telekomunikasi, Elektronika, Komputasi dan Kontrol, vol. 5, no. 1, pp. 43–54, 2019, doi: 10.15575/telka.v5n1.43-54.

[15] R. Rakhmawati, L. P. S. Rahaja, and M. M. Husnah, “Safety Design using ATS by Identifying Voltage Interference based on Fuzzy Logic,” ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 11, no. 2, pp. 510–521, 2023, doi: 10.26760/elkomika.v11i2.510.

[16] Sugiyono, Metode Penelitian Kuantitatif, Kualitatif, dan R&D. Bandung, Indonesia: Alfabeta, 2017.

[17] J. D. Susatyono, Kecerdasan Buatan: Kajian Konsep dan Penerapan. Semarang, Indonesia: Yayasan Prima Agus Teknik, 2021.

[18] M. H. Rashid, Power Electronics: Devices, Circuits & Applications, 4th ed., 2014.

[19] A. Rindengan and A. L. Yohanes, Sistem Fuzzy. 2019.

[20] M. Yusro, A. Diamah, I. Sakti, B. Regowo, I. Zuhdi, and A. Izzudin, Modul Pembelajaran Teori & Praktik Aplikasi IoT. 2021.

Downloads

Published

2023-12-30

How to Cite

Syam, R., & Awaluddin, M. (2023). PID Parameter Optimization Using Particle Swarm Optimization For Motor Speed Control In An Automatic Cardiopulmonary Resuscitation Device. Gladi : Jurnal Ilmu Keolahragaan, 14(04), 472–480. https://doi.org/10.21009/GJIK.144.11