Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Journal articles
  4. Reinforcement learning approach to control an inverted pendulum: A general framework for educational purposes
 
research article

Reinforcement learning approach to control an inverted pendulum: A general framework for educational purposes

Israilov, Sardor
•
Fu, Li
•
Sanchez-Rodriguez, Jesus  
Show more
February 13, 2023
Plos One

Machine learning is often cited as a new paradigm in control theory, but is also often viewed as empirical and less intuitive for students than classical model-based methods. This is particularly the case for reinforcement learning, an approach that does not require any mathematical model to drive a system inside an unknown environment. This lack of intuition can be an obstacle to design experiments and implement this approach. Reversely there is a need to gain experience and intuition from experiments. In this article, we propose a general framework to reproduce successful experiments and simulations based on the inverted pendulum, a classic problem often used as a benchmark to evaluate control strategies. Two algorithms (basic Q-Learning and Deep Q-Networks (DQN)) are introduced, both in experiments and in simulation with a virtual environment, to give a comprehensive understanding of the approach and discuss its implementation on real systems. In experiments, we show that learning over a few hours is enough to control the pendulum with high accuracy. Simulations provide insights about the effect of each physical parameter and tests the feasibility and robustness of the approach.

  • Details
  • Metrics
Type
research article
DOI
10.1371/journal.pone.0280071
Web of Science ID

WOS:000960705000001

Author(s)
Israilov, Sardor
Fu, Li
Sanchez-Rodriguez, Jesus  
Fusco, Franco
Allibert, Guillaume
Raufaste, Christophe
Argentina, Mederic
Date Issued

2023-02-13

Publisher

PUBLIC LIBRARY SCIENCE

Published in
Plos One
Volume

18

Issue

2

Article Number

e0280071

Subjects

Multidisciplinary Sciences

•

Science & Technology - Other Topics

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LFMI  
Available on Infoscience
April 24, 2023
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/197117
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés