Stabilization of Rotary Inverted Pendulum using PID Controller

Author(s):  
Adharsh Lal M ◽  
Anas Kunjumuhammed ◽  
Jithin Tomy ◽  
Urmila G ◽  
Meera Sivadas ◽  
...  
2021 ◽  
Vol 54 (3-4) ◽  
pp. 417-428
Author(s):  
Yanyan Dai ◽  
KiDong Lee ◽  
SukGyu Lee

For real applications, rotary inverted pendulum systems have been known as the basic model in nonlinear control systems. If researchers have no deep understanding of control, it is difficult to control a rotary inverted pendulum platform using classic control engineering models, as shown in section 2.1. Therefore, without classic control theory, this paper controls the platform by training and testing reinforcement learning algorithm. Many recent achievements in reinforcement learning (RL) have become possible, but there is a lack of research to quickly test high-frequency RL algorithms using real hardware environment. In this paper, we propose a real-time Hardware-in-the-loop (HIL) control system to train and test the deep reinforcement learning algorithm from simulation to real hardware implementation. The Double Deep Q-Network (DDQN) with prioritized experience replay reinforcement learning algorithm, without a deep understanding of classical control engineering, is used to implement the agent. For the real experiment, to swing up the rotary inverted pendulum and make the pendulum smoothly move, we define 21 actions to swing up and balance the pendulum. Comparing Deep Q-Network (DQN), the DDQN with prioritized experience replay algorithm removes the overestimate of Q value and decreases the training time. Finally, this paper shows the experiment results with comparisons of classic control theory and different reinforcement learning algorithms.


2015 ◽  
Vol 4 (4) ◽  
pp. 52-69 ◽  
Author(s):  
M. E. Mousa ◽  
M. A. Ebrahim ◽  
M. A. Moustafa Hassan

The inherited instabilities in the Inverted Pendulum (IP) system make it one of the most difficult nonlinear problems in the control theory. In this research work, Proportional –Integral and Derivative (PID) Controller with a feed forward gain is used with Reduced Linear Quadratic Regulator (RLQR) for stabilizing the Cart Position and Swinging-up the Pendulum angle. Tuning the Controllers' gains is achieved by using Particle Swarm Optimization (PSO) Technique. Obtaining the combined PID controllers' gains with a feed forward gain and RLQR is a multi-dimensions control problem. The Proposed Controllers give minimum Settling Time, Rise Time, Undershoot and Over shoot for both the Cart Position and the Pendulum angle. A disturbance with different amplitudes is applied to the system, and the results showed the robustness of the systems based on the tuned controllers. The overall results are promising.


Sign in / Sign up

Export Citation Format

Share Document