Open Access
ARTICLE
Design and Implementation of a State-feedback Controller Using LQR Technique
1 Mechanical Engineering Department, The University of Lahore, Lahore, Pakistan
2 Mechanical Engineering Department, Umm Al-Qura University, Makkah, Saudi Arabia
3 Electrical Engineering Department, The University of Lahore, Lahore, Pakistan
* Corresponding Author: Aamir Shahzad. Email:
Computers, Materials & Continua 2022, 73(2), 2897-2911. https://doi.org/10.32604/cmc.2022.028441
Received 10 February 2022; Accepted 01 April 2022; Issue published 16 June 2022
Abstract
The main objective of this research is to design a state-feedback controller for the rotary inverted pendulum module utilizing the linear quadratic regulator (LQR) technique. The controller maintains the pendulum in the inverted (upright) position and is robust enough to reject external disturbance to maintain its stability. The research work involves three major contributions: mathematical modeling, simulation, and real-time implementation. To design a controller, mathematical modeling has been done by employing the Newton-Euler, Lagrange method. The resulting model was nonlinear so linearization was required, which has been done around a working point. For the estimation of the controller parameters, MATLAB LQR function has been utilized. Simulation has been performed for the designed controller and it also has been implemented and tested over the real inverted pendulum. From the results, it is vivid that the designed controller keeps the inverted pendulum in an upright position and rejects the disturbances and falling under gravitational force by adjusting the rotation of the horizontal link.Keywords
Cite This Article
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.