Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform
Abstract
This paper presents the design, implementation, and experimental validation of an online Proportional–Integral–Derivative (PID) tuning and visualization tool applied to a Dual Brushless DC (BLDC) motor balancing platform. The proposed system integrates an Arduino-based embedded controller with a C# desktop application to enable dynamic adjustment of control parameters and online visualization of system responses. A custom bidirectional serial communication protocol was developed to ensure data exchange, while a multithreaded asynchronous architecture maintained continuous operation, high responsiveness, and robust data integrity. The system was validated using both a MATLAB-based virtual plant and a physical dual-BLDC balancing platform. Experimental results demonstrated closed-loop operation, real-time gain adjustment, and stable visualization performance. Hardware testing further revealed that communication latency and electromagnetic interference from the BLDC motors influenced sensor accuracy and control smoothness, highlighting the significance of controller update rate and hardware shielding. The tool demonstrates a robust communication architecture, achieving a sustained data rate of 66 Hz with zero packet loss, enabling effective manual tuning that stabilized a dual-BLDC platform. Experimental results quantify the critical relationship between Arduino processing capability and achievable stability.
Keywords
References
- Borase, R. P., Maghade, D. K., Sondkar, S. Y., & Pawar, S. N. (2021). A review of PID control, tuning methods and applications. International Journal of Dynamics and Control, 9, 818–827. https://doi.org/10.1007/s40435-020-00665-4
- Bista, D. (2016). Understanding and design of an Arduino-based PID controller (Master’s thesis, Virginia Commonwealth University). https://doi.org/10.25772/790F-JP22
- Chattopadhyay, S., Roy, G., & Panda, M. (2011). Simple design of a PID controller and tuning of its parameters using LabVIEW software. Sensors & Transducers Journal, 129(6), 69–85.
- Gadia, R. G., & Marcos, R. V. (2025). A cost-effective LabVIEW-Arduino framework for control system computation and PID simulation in engineering education. International Journal of Information and Education Technology, 15, 1584–1596. https://doi.org/10.18178/ijiet.2025.15.8.2360
- O’Mahony, T. (2006). PID tuning software: A practical review. In IET Irish Signals and Systems Conference (ISSC 2006) (pp. 409–414). IEE. https://doi.org/10.1049/cp:20060471
- Duma, R., Trusca, M., & Dobra, P. (2011). Tuning and implementation of PID controllers using rapid control prototyping. Control Engineering and Applied Informatics, 13(4), 64–73.
- Manathunga, C. H., Dharmasiri, R. A. D. D., Wanniarachchi, W. K. I. L., Jayananda, M. K., & Nakayama, T. (2025). PyCSBtool: Python-based GUI learning tool for basics control system education. IEEE Access, 13, 117491–117499. https://doi.org/10.1109/ACCESS.2025.3583103
- Kasula, A., Thakur, P., & Menon, M. K. (2018). GUI based control scheme for ball-on-plate system using computer vision. In 2018 IEEE Western New York Image and Signal Processing Workshop (WNYISPW) (pp. 1–5). IEEE. https://doi.org/10.1109/WNYIPW.2018.8576461
Details
Primary Language
English
Subjects
Process Control and Simulation
Journal Section
Research Article
Publication Date
July 6, 2026
Submission Date
December 15, 2025
Acceptance Date
March 9, 2026
Published in Issue
Year 2026 Volume: 10 Number: 3
APA
Hamidi, K., & Abdulkerim, S. (2026). Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform. Turkish Journal of Engineering, 10(3), 748-757. https://doi.org/10.31127/tuje.1842568
AMA
1.Hamidi K, Abdulkerim S. Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform. TUJE. 2026;10(3):748-757. doi:10.31127/tuje.1842568
Chicago
Hamidi, Khaled, and Sohayb Abdulkerim. 2026. “Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform”. Turkish Journal of Engineering 10 (3): 748-57. https://doi.org/10.31127/tuje.1842568.
EndNote
Hamidi K, Abdulkerim S (July 1, 2026) Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform. Turkish Journal of Engineering 10 3 748–757.
IEEE
[1]K. Hamidi and S. Abdulkerim, “Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform”, TUJE, vol. 10, no. 3, pp. 748–757, July 2026, doi: 10.31127/tuje.1842568.
ISNAD
Hamidi, Khaled - Abdulkerim, Sohayb. “Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform”. Turkish Journal of Engineering 10/3 (July 1, 2026): 748-757. https://doi.org/10.31127/tuje.1842568.
JAMA
1.Hamidi K, Abdulkerim S. Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform. TUJE. 2026;10:748–757.
MLA
Hamidi, Khaled, and Sohayb Abdulkerim. “Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform”. Turkish Journal of Engineering, vol. 10, no. 3, July 2026, pp. 748-57, doi:10.31127/tuje.1842568.
Vancouver
1.Khaled Hamidi, Sohayb Abdulkerim. Design and Validation of an Online PID Tuning Tool for Mechatronic Systems: Application to a Dual-BLDC Balancing Platform. TUJE. 2026 Jul. 1;10(3):748-57. doi:10.31127/tuje.1842568