scholarly journals USING GENETIC ALGORITHM IN OPTIMIZING THE MATRIX OF LQR CONTROLLER FOR NONLINEAR INVERTED PENDULUM SYSTEM

2019 ◽  
Vol 1 (28) ◽  
pp. 50-55
Author(s):  
Tan Thanh Nguyen

In this article, the author used the matlab software to simulate and then compared the results between the classical LQR (Linear Quadratic Regulator) controller and another method to adjust the matrix parameters toward optimization of the LQR controller. It is the GA (Genetic Algorithm) method to optimize the matrix of the LQR controller, and the results have  been verified on the nonlinear pendulum model. The Genetic Algorithm is a modern control algorithm, which is widely applied in research and practice. The main objective of this article is to use the GA algorithm in order to optimize the matrix parameters of LQR controller, whichcontrolled the position and angle of the nonlinear inverted pendulum at the stable balance point. The matlab-based simulating results showed that  the system has operated properly to the requirements and the output response has reached an equilibrium position of about 2.5 seconds.

2017 ◽  
Vol 2 (9) ◽  
pp. 1-5
Author(s):  
Ghassan A. Sultan ◽  
Ziyad K. Farej

Double inverted pendulum (DIP) is a nonlinear, multivariable and unstable system. The inverted pendulum which continually moves toward an uncontrolled state represents a challenging control problem. The problem is to balance the pendulum vertically upward on a mobile platform that can move in only two directions (left or right) when it is offset from zero stat. The aim is to determine the control strategy that deliver better performance with respect to pendulum's angles and cart's position. A Linear-Quadratic-Regulator (LQR) technique for controlling the linearized system of double inverted pendulum model is presented. Simulation studies conducted in MATLAB environment show that the LQR controller are capable of controlling the multi output double inverted pendulum system. Also better performance results are obtained for controlling heavy driven part DIP system.


2012 ◽  
Vol 472-475 ◽  
pp. 1505-1509
Author(s):  
Yong Peng ◽  
Zhi Neng Liu

Aiming to the multi-variable, non-linear, high-order, close coupled, inverted pendulum system, a mathematical model of the inverted pendulum was established. The LQR controller was put forwards according to this model. In the LQR controller, the selection of the weight matrix Q and R directly impact on structural dynamic response and controlling force. How to determine the optimal Q and R to obtain the global optimal control is still a problem. The matrix Q and R were optimized based on genetic algorithm with different objective functions and the results were verified here. The simulation results show that the optimal preference weighting coefficient were obtained by genetic algorithm and the satisfactory factors can be selected by the designer according to the preference, while the subjectivity and blindness of the conventional method have been overcame.


2017 ◽  
Vol 9 (1) ◽  
pp. 168781401668427 ◽  
Author(s):  
Te-Jen Su ◽  
Shih-Ming Wang ◽  
Tsung-Ying Li ◽  
Sung-Tsun Shih ◽  
Van-Manh Hoang

The objective of this article is to optimize parameters of a hybrid sliding mode controller based on fireworks algorithm for a nonlinear inverted pendulum system. The proposed controller is a combination of two modified types of the classical sliding mode controller, namely, baseline sliding mode controller and fast output sampling discrete sliding mode controller. The simulation process is carried out with MATLAB/Simulink. The results are compared with a published hybrid method using proportional–integral–derivative and linear quadratic regulator controllers. The simulation results show a better performance of the proposed controller.


2021 ◽  
Vol 12 (1) ◽  
pp. 77-97
Author(s):  
M. E. Mousa ◽  
M. A. Ebrahim ◽  
Magdy M. Zaky ◽  
E. M. Saied ◽  
S. A. Kotb

The inverted pendulum system (IPS) is considered the milestone of many robotic-based industries. In this paper, a new variant of variable structure adaptive fuzzy (VSAF) is used with new reduced linear quadratic regulator (RLQR) and feedforward gain for enhancing the stability of IPS. The optimal determining of VSAF parameters as well as Q and R matrices of RLQR are obtained by using a modified grey wolf optimizer with adaptive constants property via particle swarm optimization technique (GWO/PSO-AC). A comparison between the hybrid GWO/PSO-AC and classical GWO/PSO based on multi-objective function is provided to justify the superiority of the proposed technique. The IPS equipped with the hybrid GWO/PSO-AC-based controllers has minimum settling time, rise time, undershoot, and overshoot results for the two system outputs (cart position and pendulum angle). The system is subjected to robustness tests to ensure that the system can cope with small as well as significant disturbances.


2021 ◽  
Vol 1 (1) ◽  
pp. 84-89
Author(s):  
Ümit Önen ◽  
Abdullah Çakan

In this study, modeling and LQR control of a reaction wheel inverted pendulum system is described. The reaction wheel inverted pendulum model is created by using a 3D CAD platform and exported to Simscape Multibody. The multibody model is linearized to derive a state-space representation. A LQR (Linear-quadratic regulator) controller is designed and applied for balance control of the pendulum. The results show that deriving a state-space representation from multibody is an easy and effective way to model dynamic systems and balance control of the reaction wheel inverted pendulum is successfully achieved by LQR controller. Results are given in the form of graphics.


MENDEL ◽  
2017 ◽  
Vol 23 (1) ◽  
pp. 149-156
Author(s):  
Tomas Marada ◽  
Radomil Matousek ◽  
Daniel Zuth

One of the crucial problems in the dynamics and automatic control theory is balancing of an invertedpendulum robot by moving a cart along a horizontal path. This task is often used as a benchmark for di erentmethod comparison. In the practical use of the LQR method, the key problem is how to choose weight matricesQ and R correctly. To obtain satisfying results the experiments should be repeated many times with di erentparameters of weight matrices. These LQR parameters can be tuned by a Genetic Algorithm (GA) techniquefor getting better results. In our paper, the LQR parameters weight matrices Q and R which were tuned usingthe Genetic Algorithm. The simulations of the control problem are designed using MATLAB script code andMATLAB Simulink on an inverted pendulum model. The results show that the Genetic Algorithm is suitablefor tuning the parameters to give an optimal response. The control problem of the inverted pendulum was solvedsuccessfully.


2021 ◽  
Vol 13 (3) ◽  
pp. 79-90
Author(s):  
K. Z. MIRZA

The inverted pendulum is a non-linear control problem permanently tending towards instability. The main aim of this study is to design a controller capable enough to work within the given conditions while also keeping the pendulum erect given the impulsive movement of the cart to which it is joint via a hinge. The first half of the paper presents the mathematical modelling of the dynamic system, together with the design of a linear quadratic regulator (LQR). This paper also discusses a novel adaptive control mechanism employing a Kalman filter for the mobile inverted pendulum system (MIPS). In the second half of the paper, a Gaussian Quadratic Linear Controller (LQG) is adapted to improve on previous deficiencies. The simulation is done through Simulink and results show that both controllers are capable of managing the multiple output model. However, data from simulations clearly showed that an LQG controller is a better choice.


2014 ◽  
Vol 2014 ◽  
pp. 1-8 ◽  
Author(s):  
Haiquan Wang ◽  
Lei Liao ◽  
Dongyun Wang ◽  
Shengjun Wen ◽  
Mingcong Deng

In order to get the optimal performance of controller and improve the design efficiency, artificial bee colony (ABC) algorithm as a metaheuristic approach which is inspired by the collective foraging behavior of honey bee swarms is considered for optimal linear quadratic regulator (LQR) design in this paper. Furthermore, for accelerating the convergence speed and enhancing the diversities of population of the traditional ABC algorithm, improved solution searching approach is proposed creatively. The proposed approach refers to the procedure of differential mutation in differential evolutionary (DE) algorithm and produces uniform distributed food sources in employed bee phase to avoid local optimal solution. Meanwhile, during the onlooker bees searching stage where the solution search area has been narrowed by employed bees, new solutions are generated around the solution with higher fitness value to keep the fitness values increasing monotonously. The improved ABC algorithm is applied to the optimization of LQR controller for the circular-rail double inverted pendulum system, and the simulation results show the effect on the proposed optimization problem.


2019 ◽  
Vol 16 (2) ◽  
pp. 172988141983327 ◽  
Author(s):  
Sondarangallage DA Sanjeewa ◽  
Manukid Parnichkun

Balancing control of a rotary double inverted pendulum system is a challenging research topic for researchers in dynamics control field because of its nonlinear, high degree-of-freedom, under actuated and unstable characteristics. The system always works under uncertainties and disturbances. Many control algorithms fail or ineffectively control the rotary double inverted pendulum system. In this article, mixed sensitivity H∞ control is proposed to balance the rotary double inverted pendulum system. The controller is proposed to ensure the robust stability and enhance the time domain performance of the system under uncertainties and disturbances. Structure of the system, dynamics model and controller synthesis are presented. For performance evaluation, the proposed mixed sensitivity H∞ controller is compared with linear quadratic regulator from both simulation and experiment on the rotary double inverted pendulum system. The results show high performance of the proposed controller on the rotary double inverted pendulum system with model uncertainties and external disturbances.


2012 ◽  
Vol 433-440 ◽  
pp. 7546-7553 ◽  
Author(s):  
S. Amir Ghoreishi ◽  
Mohammad Ali Nekoui

In this paper, considering some important indices such as closed-loop pole locations, speed of response and combining them into an objective function an optimization problem is defined in order to select the weighting matrices in Linear Quadratic Regulator (LQR) controller. To solve this optimization problem the Genetic Algorithm (GA) and Particle Swarm Optimization (PSO) are utilized and compared. The proposed method is applied to rotational inverted pendulum. Simulation results show the relative superiority of PSO over GA.


Sign in / Sign up

Export Citation Format

Share Document