Open Access Open Access  Restricted Access Subscription or Fee Access

Implementation of a Decoupled Digital Feedback Control Architecture on an Arduino - Free RTOS Real-Time Embedded System for Input Delay Robotic Servomechanisms

(*) Corresponding author

Authors' affiliations



This paper presents an experimental study on a real-time embedded system of a decoupled PIDF (Proportional Integral, Derivative with Filter) digital control architecture for robotic input delay servomechanisms. The test bench includes an Arduino Uno board integrating a specific microcontroller, a robot arm with four degrees of freedom and DC servo motor seals, a Free RTOS preemptive scheduler for pseudo parallelism of tasks and a console ensuring interactivity with the user. The choice of decoupled digital control parameters in terms of proportional, integral, derivative with filter and sampling time gains has been based on the controller tuning techniques available in the literature for SISO (Single-Input Single-Output) input delay servomechanisms. The prototype implanted in the card occupies 26% of the storage space and 18.80% of the dynamic memory. The results show the attached robotic servomechanisms that converge quickly and as precisely as possible to the desired values of joint variables. Regardless of the non-linear effects on the robot arm, especially the input delay, strict tracking of the trajectory is observed. This demonstrates the high precision of the proposed decoupled control architecture. The different positions of the robotic servo system have been represented in Cartesian space using MATLAB 2019-Ra software. They have been listed using the geometric model of the robot arm.
Copyright © 2021 Praise Worthy Prize - All rights reserved.


Input Delay Servomechanisms; PIDF Decoupled Digital Controller; Arduino Uno Board; Robot Arm; FreeRTOS; High Precision

Full Text:



J. N. Pires and A. S. Azar, 'Advances in robotics for additive/hybrid manufacturing: robot control, speech interface and path planning', Ind. Robot Int. J., vol. 45, no. 3, pp. 311-327, Jan. 2018.

L. D. Evjemo, T. Gjerstad, E. I. Grøtli, and G. Sziebig, Trends in Smart Manufacturing: Role of Humans and Industrial Robots in Smart Factories, Curr. Robot. Rep., vol. 1, no. 2, pp. 35-41, Jun. 2020.

A. Acemoglu et al., 5G Robotic Telesurgery: Remote Transoral Laser Microsurgeries on a Cadaver, IEEE Trans. Med. Robot. Bionics, vol. 2, no. 4, pp. 511-518, Nov. 2020.

M. N. Arya, Nano-Robots for Medical Purpose, Eur. J. Mol. Clin. Med., vol. 7, no. 6, pp. 1292-1297, Dec. 2020.

I. Oliver et al., A Testbed for Trusted Telecommunications Systems in a Safety Critical Environment, in Computer Safety, Reliability, and Security, Cham, 2018, pp. 87-98.

D. R. Novotny, J. A. Gordon, M. S. Allman, J. R. Guerrieri, and A. E. Curtin, 'Three antenna ranges based on articulated robotic arms at the national institute of standards and technology†: Usability for over-the-air and standard near-field measurements', in 2017 IEEE Conference on Antenna Measurements Applications (CAMA), Dec. 2017, pp. 1-4.

V. James et al., Robot deployed Laser-Ultrasonic NDT system for inspection of large aircraft structures, IOP Conf. Ser. Mater. Sci. Eng., vol. 1024, p. 012032, Jan. 2021.

M. A. Ahmad, H. Ishak, A. N. K. Nasir, and N. A. Ghani, Data-based PID control of flexible joint robot using adaptive safe experimentation dynamics algorithm, Bull. Electr. Eng. Inform., vol. 10, no. 1, Art. no. 1, Feb. 2021.

R. K. Stagsted, A. Vitale, A. Renner, L. B. Larsen, A. L. Christensen, and Y. Sandamirskaya, Event-based PID controller fully realized in neuromorphic hardware: a one DoF study, in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Oct. 2020, pp. 10939-10944.

Z. Shen, J. Zhou, J. Gao, and R. Song, Fuzzy Logic Based PID Control of a 3 DOF Lower Limb Rehabilitation Robot, in 2018 IEEE 8th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER), Jul. 2018, pp. 818-821.

Espinel Blanco, E., Romero Garcia, G., Florez Solano, E., PID Control System Applied to a Hybrid Electric Power Generation System with Hydrogen, (2020) International Review of Automatic Control (IREACO), 13 (4), pp. 182-190.

Prada, G., Rojas, J., Romero, G., Fuzzy Adaptive PID Control of a Shell and Tube Heat Exchanger Output Temperature, (2020) International Review of Automatic Control (IREACO), 13 (6), pp. 283-291.

Alnema, Y., Alsabawee, A., Ahmed, J., MRAC Based PID Controller Design with Genetic Algorithm for a Single Joint Robot Arm, (2021) International Journal on Engineering Applications (IREA), 9 (2), pp. 86-93.

Palacios, A., Amaya, D., Ramos, O., Solar Tracking Control of a Parabolic Trough Collector by Traditional PID, Fuzzy Sets and Particle Swarm Optimization Algorithm, (2021) International Review of Automatic Control (IREACO), 14 (3), pp. 124-134.

Gorial, I., Comparison of Different DC Motor Speed Controllers, (2020) International Review of Automatic Control (IREACO), 13 (4), pp. 200-205.

L. Dehyadegari and S. Khajehasani, Robot Control by Using Intelligent Systems Considering Complete Constraints, Int. J. Ind. Eng. Prod. Res., vol. 32, no. 1, pp. 79-91, Jan. 2021.

A. Singh, O. Singh, and N. S. Pal, Robot Motion Control Dynamics using Feedback Linearization Technique, in 2020 IEEE International Conference on Computing, Power and Communication Technologies (GUCON), Oct. 2020, pp. 280-283.

M. Maung, M. Latt, and C. Nwe, DC Motor Angular Position Control using PID Controller with Friction Compensation, Int. J. Sci. Res. Publ. IJSRP, vol. 8, Nov. 2018.

U. D. Kumar, M. Nisha, and N. Mathivanan, Tracking of a PID Driven Differential Drive Mobile Robot, International Journal of Mechatronics, Electrical and Computer Technology (IJMEC) vol. 8, p. 15, 2018.

N. Y. Sattar, U. A. Syed, S. Muhammad, and Z. Kausar, Real-Time EMG Signal Processing with Implementation of PID Control for Upper-Limb Prosthesis, in 2019 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM), Jul. 2019, pp. 120-125.

P. Kumar and R. Mishra, Implementation of FPGA based PID Controller for DC Motor Speed Control System, Int. J. Eng. Trends Technol., vol. 4, no. 3, 2013.

C. Galindo and J.-A. Fernández-Madrigal, Grounding Concepts and Methods of Real-Time Scheduling in Reality Using Arduino, IEEE Trans. Educ., vol. 63, no. 3, pp. 224-231, Aug. 2020.

N. K. Agrawal, V. K. Singh, V. S. Parmar, V. K. Sharma, D. Singh, and M. Agrawal, Design and Development of IoT based Robotic Arm by using Arduino, in 2020 Fourth International Conference on Computing Methodologies and Communication (ICCMC), Mar. 2020, pp. 776-780.

C. Losada-Gutiérrez, F. Espinosa, C. Santos-Pérez, M. Marrón-Romera, and J. M. Rodríguez-Ascariz, Remote Control of a Robotic Unit: A Case Study for Control Engineering Formation, IEEE Trans. Educ., vol. 63, no. 4, pp. 246-254, Nov. 2020.

L. Mena, C. A. Monje, L. Nagua, J. Muñoz, and C. Balaguer, Test Bench for Evaluation of a Soft Robotic Link, Front. Robot. AI, vol. 7, 2020.

C. H. Kom, A Decoupled Digital Feedback Control Architecture for Input-Delay Robotic Servomechanisms: Design and Simulation, J. Electr. Eng. Electron. Control Comput. Sci., vol. 6, no. 4, Art. no. 4, Jun. 2020.

J. Mbihi, A flexible multimedia workbench for digital control of input-delay servo systems, J. Comput. Sci. Control Syst., vol. 8, no. 2, p. 35, 2015.

J. Mbihi, A New PC-Based Workbench for Virtual Instrumentation and Automatic Control Using Matlab GUI/MEX-C++ Application, WSEAS Trans. Adv. Eng. Educ., vol. 12, pp. 52-62, 2015.

Y. Naung, A. Schagin, H. L. Oo, K. Z. Ye, and Z. M. Khaing, Implementation of data driven control system of DC motor by using system identification process, in 2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), Jan. 2018, pp. 1801-1804.

Eyenubo, Ogheneakpobo Jonathan. MATLAB/Simulink Analysis Of Second Order System Transient Response. ATBU Journal of Science, Technology and Education, [S.l.], v. 4, n. 3, p. 12-21, dec. 2016. ISSN 2277-0011.

B. Song, L. Xu, and X. Lu, A comparative study on Tustin rule based discretization methods for fractional order differentiator, ICIST 2014 - Proc. 2014 4th IEEE Int. Conf. Inf. Sci. Technol., pp. 515-518, Oct. 2014.

T. Dietzen, E. De Sena, and T. van Waterschoot, Low-Complexity Steered Response Power Mapping based on Nyquist-Shannon Sampling, ArXiv201209499 Cs Eess, Mar. 2021, Accessed: Jun. 01, 2021. [Online].

M. U. Almerich, 'PID Control For Robotic Arm', Universitat Politecnica de Valencia, p. 50.

E. Berriochoa, A. Cachafeiro, A. Castejón, and J. M. García-Amor, Classical Lagrange Interpolation Based on General Nodal Systems at Perturbed Roots of Unity, Mathematics, vol. 8, no. 4, Art. no. 4, Apr. 2020.

A. Leopoldo, MeARM UPV Quick Start laser cutting. Universitat Politecnica de Valencia, Jan. 2021.

H. N. Ghafil and K. Jármai, Optimization for Robot Modelling with MATLAB. Cham: Springer International Publishing, 2020.

Besarati, S., Atashkari, K., Hajiloo, A., Nariman-zadeh, N., Nikpey, H., Multi-Objective Pareto Robust Design of PID Controllers for Variable Compression Ratio Engines Using Genetic Algorithms, (2018) International Journal on Engineering Applications (IREA), 6 (6), pp. 211-220.

Tran, K., Modified GA Tuning IPD Control for a Single Tilt Tri-Rotors UAV, (2018) International Review of Aerospace Engineering (IREASE), 11 (1), pp. 1-5.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2023 Praise Worthy Prize