Design of Linear Quadratic Regulator (LQR) Based on Genetic Algorithm for Inverted Pendulum
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.