Open Access iconOpen Access

ARTICLE

Design and Implementation of a State-feedback Controller Using LQR Technique

Aamir Shahzad1,*, Shadi Munshi2, Sufyan Azam2, Muhammad Nasir Khan3

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: email

Computers, Materials & Continua 2022, 73(2), 2897-2911. https://doi.org/10.32604/cmc.2022.028441

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

A. Shahzad, S. Munshi, S. Azam and M. Nasir Khan, "Design and implementation of a state-feedback controller using lqr technique," Computers, Materials & Continua, vol. 73, no.2, pp. 2897–2911, 2022.



cc 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.
  • 1306

    View

  • 774

    Download

  • 0

    Like

Share Link