PID-Controlled Gyroscopic Stabilization for Roll Balancing: A Simulation and Experimental Study
DOI:
https://doi.org/10.30865/json.v7i2.9001Keywords:
Dynamic Modeling; Gyroscopic Stabilization; PID Control; Roll Motion Balancing; Boat BalancingAbstract
In marine engineering, stabilizing boat roll motion under wave-induced disturbances is a crucial problem where traditional approaches frequently have drawbacks in terms of responsiveness, energy efficiency, and adaptability. In this study, a PID-controlled gyroscopic stabilization system for boat roll balancing is designed, simulated, and experimentally validated. To capture the coupled dynamics of servo motor behavior, gyroscopic torque generation, and boat roll motion, a thorough dynamic model was created. Four gain configurations—Low, Moderate, High, and Very High—were evaluated using the model-guided PID parameter tuning that was implemented in Python. The mechanical system incorporates a gyroscopic flywheel driven by BLDC and mounted on a servo-controlled cradle. An ESP32 microcontroller processes real-time roll angle feedback from an MPU6050 sensor. According to simulation results, the ideal balance between rise time (~300 ms), overshoot (~2°), and settling time (~1 s) was reached with moderate PID gains. While High and Very High gains displayed instability because of unmodeled vibrations and sensor noise, a scaled physical prototype that was built and tested under controlled disturbances demonstrated strong alignment with simulation trends for Low and Moderate gains. The results show that moderate gains, which offer both quick stabilization and reliable performance, offer the most useful configuration for real-world applications. This work contributes a validated methodology for optimizing PID-controlled systems in dynamic environments by bridging the gap between theoretical modeling and practical implementation of marine gyroscopic stabilization.
References
P. Corigliano, F. Frisone, C. Chianese, M. Altosole, V. Piscopo, and A. Scamardella, “Fatigue Overview of Ship Structures under Induced Wave Loads,” J Mar Sci Eng, vol. 12, no. 9, p. 1608, Sep. 2024, doi: 10.3390/jmse12091608.
S. Hirdaris, Elements of Ship Dynamics and Hydromechanics, vol. 1. Helsinki: Aalto University, 2022.
Y. Feng et al., “Prediction of the severity of marine accidents using improved machine learning,” Transp Res E Logist Transp Rev, vol. 188, Aug. 2024, doi: 10.1016/j.tre.2024.103647.
Y. Wu, T. Wang, and S. Liu, “A Review of Path Planning Methods for Marine Autonomous Surface Vehicles,” May 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/jmse12050833.
K. Luo, L. Yan, Z. Zhu, Z. Wang, H. Wang, and F. Jiang, “Application of Bionic Technology in Marine Cruise Equipment: Research Progress and Development Trends,” May 01, 2024, Springer. doi: 10.1007/s42235-024-00483-w.
Z. Sun, A. Feng, J. Yu, W. Zhao, and Y. Huang, “Development of autonomous sailboat sails and future perspectives: A review,” Jan. 01, 2025, Elsevier Ltd. doi: 10.1016/j.rser.2024.114918.
Z. H. Yap, H. H. Tang, S. Kang, L. K. Quen, and T. Nur, “Roll motion compensation by active marine gyrostabiliser,” 2021.
P. Sumislawski and M. Abdel-Maksoud, “Advances on numerical and experimental investigation of ship roll damping,” Journal of Hydrodynamics, vol. 35, no. 3, pp. 431–448, Jun. 2023, doi: 10.1007/s42241-023-0044-9.
L. Hu, M. Zhang, X. Yu, Z. M. Yuan, and W. Li, “Real-time control of ship’s roll motion with gyrostabilisers,” Ocean Engineering, vol. 285, Oct. 2023, doi: 10.1016/j.oceaneng.2023.115348.
M. A. Tofigh, M. J. Mahjoob, M. R. Hanachi, and M. Ayati, “Fractional sliding mode control for an autonomous two-wheeled vehicle equipped with an innovative gyroscopic actuator,” Rob Auton Syst, vol. 140, Jun. 2021, doi: 10.1016/j.robot.2021.103756.
G. F. Giaccu and L. Caracoglia, “A gyroscopic stabilizer to improve flutter performance of long-span cable-supported bridges,” Eng Struct, vol. 240, Aug. 2021, doi: 10.1016/j.engstruct.2021.112373.
J. Zhao, X. Zhong, K. Yu, and M. Xu, “Effect of gyroscopic moments on the attitude stability of a satellite in an elliptical orbit,” Nonlinear Dyn, vol. 111, no. 16, pp. 14957–14976, Aug. 2023, doi: 10.1007/s11071-023-08639-9.
A. De Felice and S. Sorrentino, “Damping and gyroscopic effects on the stability of parametrically excited continuous rotor systems,” Nonlinear Dyn, vol. 103, no. 4, pp. 3529–3555, Mar. 2021, doi: 10.1007/s11071-020-06106-3.
E. Sitompul, A. S. Prabowo, H. Tarigan, and A. Suhartomo, “Design of an Arduino-Based Boat Roll Stabilizer System Prototype Using MPU6050 Sensor,” Circuit: Jurnal Ilmiah Pendidikan Teknik Elektro, vol. 8, no. 2, p. 217, Aug. 2024, doi: 10.22373/crc.v8i2.23124.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Jurnal Sistem Komputer dan Informatika (JSON)

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

This work is licensed under a Creative Commons Attribution 4.0 International License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).

