Implementation of PID Control for Angular Position Control of Dynamixel Servo Motor

Nur Ramadhani, Alfian Ma'arif, Abdullah Çakan


Dynamixel servo motors, characterized by their compact size and high torque output, are made of high-quality materials that ensure the necessary strength and structural robustness against external forces. However, these motors are prone to overheating under certain internal conditions, such as temperature or supply voltage fluctuations during prolonged use. This research aims to design and apply PID control methodology to regulate Dynamixel servo motors. The research includes motor implementation using the PID method and subsequent testing with varying voltage inputs ranging from 11V to 12V. Addressing these issues involves using the Proportional Integral Derivative (PID) control method, widely recognized for its reliability in controlling motor speed. The research successfully designed Dynamixel servo motors capable of PID-controlled rotation according to predefined reference values. The motor's PID control design involved multiple trial runs - up to 5 instances - for each proportional, integral, and derivative control. The default PID parameter implementation did not match the setpoint; however, a re-tuned PID method yielded optimal results with parameter values Kp = 0.01000; Ki = 0.02703; Kd = 0.00005. Test results showed that the PID-controlled Dynamixel servomotor accurately achieved the expected angular output of 75°. In addition, tests using voltage inputs ranging from 11.00 to 12.00 volts showed stable operation without changing the servo motor's angular position before applying the PID control value, ensuring consistent motion even as the voltage drops.


Servo Motor, Dynamixel, OpenCM 9.04, PID, Angular Position

Full Text:



F. Meoni, M. Carricato, “Optimal Selection of the Motor-Reducer Unit in Servo-Controlled Machinery: A Continous Approach,” Mechatronics, vol. 56, pp. 132-145, 2018,

T. F. Nygaard, C. P. Martin, J. Torresen and K. Glette, “Self-Modifying Morphology Experiments with DyRET: Dynamic Robot for Embodied Testing,” 2019 International Conference on Robotics and Automation (ICRA), pp. 9446-9452, 2019,

B. A. Erol, C. Wallace, P. Benavidez and M. Jamshidi, “Voice Activation and Control to Improve Human Robot Interactions with IoT Perspectives,” 2018 World Automation Congress (WAC), pp. 1-5, 2018, .

A. S. R. Parker, A. L. Edwards and P. M. Pilarski, “Exploring the Impact of Machine-Learned Predictions on Feedback from an Artificial Limb,” 2019 IEEE 16th International Conference on Rehabilitation Robotics (ICORR), pp. 1239-1246, 2019,

Z. Song, R. Huang, W. Wang, S. Liu and C. Liu, “An Improved Dual Iterative Transient Thermal Network Model for PMSM With Natural Air Cooling,” IEEE Transactions on Energy Conversion, vol. 37, no. 4, pp. 2588-2600, 2022,

K. Darvish et al., “Teleoperation of Humanoid Robots: A Survey,” IEEE Transactions on Robotics, vol. 39, no. 3, pp. 1706-1727, 2023,

J. -H. Kim, “Multi-Axis Force-Torque Sensors for Measuring Zero-Moment Point in Humanoid Robots: A Review,” IEEE Sensors Journal, vol. 20, no. 3, pp. 1126-1141, 2020,

Y. Peng et al., “Research Progress of Urban Dual-arm Humanoid Grape Harvesting Robot,” 2021 IEEE 11th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER), pp. 879-885, 2021,

C. B. Ali, A. H. Khan, K. Pervez, T. M. Awan, A. Noorwali and S. A. Shah, “High Efficiency High Gain DC-DC Boost Converter Using PID Controller for Photovoltaic Applications,” 2021 International Congress of Advanced Technology and Engineering (ICOTEN), pp. 1-7, 2021,

H. S. Purnama, T. Sutikno, S. Alavandar and A. C. Subrata, “Intelligent Control Strategies for Tuning PID of Speed Control of DC Motor - A Review,” 2019 IEEE Conference on Energy Conversion (CENCON), pp. 24-30, 2019,

K. Madhana Mohan, U. Anitha and K. Anbumani, “CubeSat attitude control by implementation of PID controller using python,” 2023 12th International Conference on Advanced Computing (ICoAC), pp. 1-5, 2023,

S. Sakunthala, R. Kiranmayi and P. N. Mandadi, “A Review on Speed Control of Permanent Magnet Synchronous Motor Drive Using Different Control Techniques,” 2018 International Conference on Power, Energy, Control and Transmission Systems (ICPECTS), pp. 97-102, 2018,

J. Kim, S. A. Gadsden and S. A. Wilkerson, “A Comprehensive Survey of Control Strategies for Autonomous Quadrotors,” Canadian Journal of Electrical and Computer Engineering, vol. 43, no. 1, pp. 3-16, 2020,

S. I. Abdelmaksoud, M. Mailah and A. M. Abdallah, “Control Strategies and Novel Techniques for Autonomous Rotorcraft Unmanned Aerial Vehicles: A Review,” IEEE Access, vol. 8, pp. 195142-195169, 2020,

F. Jan, N. Min-Allah, S. Saeed, S.Z. Iqbal, R. Ahmed, “IoT- Based Solutions to Monitor Water Level, Leakage, and Motor Control for Smart Water Tanks,” Water, vol. 14, no. 3, p. 309, 2022,

S. Mencou, M. Ben Yakhlef and E. B. Tazi, “Advanced Torque and Speed Control Techniques for Induction Motor Drives: A Review,” 2022 2nd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), pp. 1-9, 2022,

H. M. Namaa, A. H. Mohammed, S. A. Raheem, M. Y. Taha and A. A. Ibrahim, “Design and Development of Interconnected Renewable Energy Sources Focused On Grid Power Inverter Energy For Sustainable Development A Review,” 4th International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT), pp. 1-6, 2020,

V. Dubey, H. Goud, P. C. Sharma, “Role of PID Control Techniques in Process Control System: A Review,” Data Engineering for Smart System: Proceedings of SSIC 2021, pp. 659-670, 2021,

G. D. Marques and M. F. Iacchetti, “DFIG Topologies for DC Networks: A Review on Control and Design Features,” IEEE Transactions on Power Electronics, vol. 34, no. 2, pp. 1299-1316, 2019,

S. B. Joseph, E. G. Dada, A. Abidemi, D. O. Oyewola, B. M. Khammas, “Metaheuristic Algorithm for PID Controller Parameters Tuning: Review, Approaches and Open Problems,” Heliyon, vol. 8, no. 5, pp. 1-29, 2022,

J. Huang et al., “AIChE PD2M Advanced Process Control Workshop-Moving APC Forward in the Pharmaceutical Industry,” Journal of Advanced Manufacturing and Processing, vol. 3, no. 1, pp. 1-19, 2020,



  • There are currently no refbacks.

Copyright (c) 2023 Nur Ramadhani, Alfian Ma'arif


Control Systems and Optimization Letters
ISSN: 2985-6116
Publisher: Peneliti Teknologi Teknik Indonesia
Address: Jl. Empu Sedah No. 12, Pringwulung, Condongcatur, Kec. Depok, Kabupaten Sleman, Daerah Istimewa Yogyakarta 55281, Indonesia