FPGA based synchronous multi-channel PWM generator for humanoid robot

Adharul Muttaqin, Stefanus Dion Finnadi, Zainul Abidin, Kakeru Araki


In this paper, synchronous multi-channel Pulse Width Modulation (PWM) generator for driving servo motors of humanoid robot was proposed. In an application, the humanoid robot requires smooth and beautiful movement, therefore the PWM signal for each servo motor must be synchronized. Since microcontroller (slave) has no enough channels to generate synchronous PWMs for 32 servo motors, Field Programmable Gate Array (FPGA) was used as slave for the humanoid robot. The FPGA was controlled by microcontroller (master) using serial communication. Simulation results show the system can perform serial communication, synchronize, and convert data well. The system can also generate PWM simultaneously with accurate duty cycle and fix period of 20 ms.


humanoid robot; servo motor; Pulse Width Modulation, FPGA, serial communication


M. A. Miskam, S. Shamsuddin, M. R. A. Samat, H. Yussof, H. A. Ainudin and A. R. Omar, "Humanoid robot NAO as a teaching tool of emotion recognition for children with autism using the Android app," 2014 International Symposium on Micro-NanoMechatronics and Human Science (MHS), Nagoya, pp. 1-5, 2014.

S. Yi and D. D. Lee, "Dynamic heel-strike toe-off walking controller for full-size modular humanoid robots," 2016 IEEE-RAS 16th International Conference on Humanoid Robots (Humanoids), Cancun, pp. 395-400, 2016.

S. Shamsuddin et al., "Initial response of autistic children in human-robot interaction therapy with humanoid robot NAO," 2012 IEEE 8th International Colloquium on Signal Processing and its Applications, Melaka, pp. 188-193, 2012.

S. Behnke, M. Schreiber, J. Stuckler, R. Renner and H. Strasdat, "See, walk, and kick: Humanoid robots start to play soccer," 2006 6th IEEE-RAS International Conference on Humanoid Robots, Genova, pp. 497-503, 2006.

S. Rader, L. Kaul, H. Fischbach, N. Vahrenkamp and T. Asfour, "Design of a high-performance humanoid dual arm system with inner shoulder joints," 2016 IEEE-RAS 16th International Conference on Humanoid Robots (Humanoids), Cancun, pp. 523-529, 2016.

B. Abror and D. Pramadihanto, "Dance motion pattern planning for K. Mei as dancing humanoid robot," 2017 International Conference on Robotics, Biomimetics, and Intelligent Computational Systems (Robionetics), Bali, pp. 6-11, 2017.

D. F. P. Granados, J. Kinugawa, Y. Hirata and K. Kosuge, "Guiding human motions in physical human-robot interaction through COM motion control of a dance teaching robot," 2016 IEEE-RAS 16th International Conference on Humanoid Robots (Humanoids), Cancun, pp. 279-285, 2016.

B. Abror, A. R. A. Besari, K. H. A. Subkhan and D. Pramadihanto, "Trajectory dancing modelling of humanoid robot dancing 33 degree of freedom," 2016 International Electronics Symposium (IES), Denpasar, pp. 340-344, 2016.

J. Seo, J. Yang, J. Kim and D. Kwon, "Autonomous Humanoid Robot Dance Generation System based on real-time music input," 2013 IEEE RO-MAN, Gyeongju, pp. 204-209, 2013.

Y. Lai and Y. Hsu, "Dual Servo Motor Drives Control Using Single MCU," 2018 IEEE Industry Applications Society Annual Meeting (IAS), Portland, OR, pp. 1-6, 2018.

Datasheet of STM32f407vg, available online: https://www.st.com/resource/en/datasheet/stm32f407vg.pdf.

S. M. Trimberger, Field-Programmable Gate Array Technology. Norwell, MA, USA: Kluwer, 1994.

S. M. Trimberger, J. J. Moore, "FPGA security: motivations, features, and applications," Proceedings of the IEEE, vol. 102, no. 8, pp. 1248 – 1265, 2014.

E. Monmasson, L. Idkhajine, M. N. Cirstea, I. Bahri, A. Tisan, M. W. Naouar, "FPGAs in industrial control applications," IEEE Transactions on Industrial Informatics, vol. 7, no. 2, pp. 224 – 243, 2011.

J. J. Rodríguez-Andina, M. D. Valdés-Peña, M. J. Moure, "Advanced features and industrial applications of FPGAs—a review," IEEE Transactions on Industrial Informatics, vol. 11, no. 4, pp. 853 – 864, 2015.

M. Elnawawy, A. Farhan, A. Al Nabulsi, A.R. Al-Ali, A. Sagahyroon, "Role of FPGA in internet of things applications," IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), Ajman, pp. 1-6, 2019.

A. Muttaqin, Z. Abidin, R. A. Setyawan, and Itsna Az Zahra, "Development of advanced automated test equipment for digital system by using FPGA," Indonesian Journal of Electrical Engineering and Computer Science, vol. 15, no. 2, pp. 661-670, 2019.

S. Shalini Vashishtha and K.R. Rekha, "A survey: Space Vector PWM (SVPWM) in 3φ Voltage Source Inverter (VSI), " International Journal of Electrical and Computer Engineering (IJECE), vol. 8, no. 1, pp. 11-18, 2018.

F. A. Silaban, S. Budiyanto, W. K. Raharja, "Stepper motor movement design based on FPGA," International Journal of Electrical and Computer Engineering (IJECE)”, vol. 10, no. 1, pp. 151-159, 2020.

R. Arulmozhiyal and K. Baskaran, "Implementation of a Fuzzy PI controller for speed control of induction motors using FPGA," Journal of Power Electronics, vol. 10, pp. 65-71, 2010.

I. M. Popescu, B. Popa, R. Prejbeanu, I. Cosmin, "Evaluation of parallel and real-time processing performance for some vibration signals using FPGA technology," 2018 19th International Carpathian Control Conference (ICCC), Szilvasvarad, pp. 365-370, 2018.

Z. Kokosinski and B. Malus, "FPGA implementations of a parallel associative processor with multi–comparand multi–search operations," International Symposium on Parallel and Distributed Computing, Krakow, pp. 444-448, 2008.

N. Fujita, R. Kobayashi, Y. Yamaguchi and T. Boku, "Parallel processing on FPGA combining computation and communication in openCL programming," IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), Rio de Janeiro, pp. 479-488, 2019.

F. A. Alquaied, A. I. Almudaifer, M. A. AlShaya, "A novel high-speed parallel sorting algorithm based on FPGA," Saudi International Electronics, Communications and Photonics Conference (SIECPC), Riyadh, pp. 1-4, 2011.

W. Chen, S. Ding, Z. Chai, D. He,W. Zhang, G. Zhang, Q Peng, W. Luo, "FPGA-based parallel implementation of SURF algorithm," IEEE 22nd International Conference on Parallel and Distributed Systems, Wuhan, pp. 308-315, 2016.

Z. Zhou, Xu Xin, S. Zhaolin, L. Nan, "FPGA based high-speed parallel transmission system design and implementation," International Conference on Intelligent System Design and Engineering Application, Changsha, pp. 767-770, 2010.

Z. Qingxianga, C. Litaoa, Y. Chenga, "Design of multi-channel dual-frequency digital receiver based on FPGA," 12th International Conference on Signal Processing (ICSP), Hangzhou, pp. 403-407, 2014.

DOI: http://doi.org/10.11591/ijece.v11i1.pp%25p
Total views : 0 times

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

ISSN 2088-8708, e-ISSN 2722-2578