Biomimetics (Sep 2023)

Adaptive PI Controller Based on a Reinforcement Learning Algorithm for Speed Control of a DC Motor

  • Ulbio Alejandro-Sanjines,
  • Anthony Maisincho-Jivaja,
  • Victor Asanza,
  • Leandro L. Lorente-Leyva,
  • Diego H. Peluffo-Ordóñez

DOI
https://doi.org/10.3390/biomimetics8050434
Journal volume & issue
Vol. 8, no. 5
p. 434

Abstract

Read online

Automated industrial processes require a controller to obtain an output signal similar to the reference indicated by the user. There are controllers such as PIDs, which are efficient if the system does not change its initial conditions. However, if this is not the case, the controller must be retuned, affecting production times. In this work, an adaptive PID controller is developed for a DC motor speed plant using an artificial intelligence algorithm based on reinforcement learning. This algorithm uses an actor–critic agent, where its objective is to optimize the actor’s policy and train a critic for rewards. This will generate the appropriate gains without the need to know the system. The Deep Deterministic Policy Gradient with Twin Delayed (DDPG TD3) was used, with a network composed of 300 neurons for the agent’s learning. Finally, the performance of the obtained controller is compared with a classical control one using a cost function.

Keywords