Swarm control of an unmanned quadrotor model with LQR weighting matrix optimization using genetic algorithm

Endra Joelianto, Daniel Christian, Agus Samsi


Unmanned aerial vehicle (UAV) quadrotors have developed rapidly and continue to advance together with the development of new supporting technologies. However, the use of one quadrotor has many obstacles and compromises the ability of a UAV to complete complex missions that require the cooperation of more than one quadrotor. In nature, one interesting phenomenon is the behaviour of several organisms to always move in flocks (swarm), which allows them to find food more quickly and sustain life compared with when they move independently. In this paper, the swarm behaviour is applied to drive a system consisting of six UAV quadrotors as agents for flocking while tracking a swarm trajectory. The swarm control system is expected to minimize the objective function of the energy used and tracking errors. The considered swarm control system consists of two levels. The first higher level is a proportional – derivative type controller that produces the swarm trajectory to be followed by UAV quadrotor agents in swarming. In the second lower level, a linear quadratic regulator (LQR) is used by each UAV quadrotor agent to follow a tracking path well with the minimal objective function. A genetic algorithm is applied to find the optimal LQR weighting matrices as it is able to solve complex optimization problems. Simulation results indicate that the quadrotors' tracking performance improved by 36.00 %, whereas their swarming performance improved by 17.17 %.


unmanned aerial vehicle (UAV); quadrotor model; swarm model; proportional – derivative (PD) controller; linear quadratic regulator (LQR); optimization problems; genetic algorithm.

Full Text:



T. Sudiyanto, M. Muljowidodo, and A. Budiyono, “First principle approach to modeling of primitive quad rotor,” International Journal of Aeronautical and Space Sciences, vol.10(2), pp.148-160, 2009. crossref

P. Pounds, R. Mahony, J. Gresham, P. Corke, and J.M. Roberts, “Towards dynamically-favourable quad-rotor aerial robots,” In Proceedings of the 2004 Australasian Conference on Robotics & Automation. Australian Robotics & Automation Association, 2004. crossref

T. Bresciani, “Modelling, identification and control of a quadrotor helicopter,” MSc Theses, Lund University, 2008. crossref

A. Kushleyev, D. Mellinger, C. Powers, and V. Kumar, “Towards a swarm of agile micro quadrotors,” Autonomous Robots, vol. 35(4), pp. 287-300, 2013. crossref

C.W. Reynolds, “Flocks, herds and schools: A distributed behavioral model,” In Proceedings of the 14th annual conference on Computer graphics and interactive techniques, pp. 25-34, August 1987. crossref

A.E. Turgut, H. Çelikkanat, F. Gökçe, and E. Şahin, “Self-organized flocking in mobile robot swarms, ” Swarm Intelligence, vol. 2(2-4), pp. 97-120, 2008. crossref

E. Ferrante, A.E. Turgut, C. Huepe, A. Pinciroli, and M. Dorigo, “Self-organized flocking with a mobile robot swarm: a novel motion control method,” Adaptive Behavior, vol. 20(6), pp. 460-477, 2012. crossref

S. Ramroop, F. Arvin, S. Watson, J. Carrasco-Gomez, and B. Lennox, “A bio-inspired aggregation with robot swarm using real and simulated mobile robots,” In Annual conference towards autonomous robotic systems 2018, Springer, Cham., pp. 317-329, 2018. crossref

E. Joelianto, A. Qurthobi, “Optimal Control Design for A Formation Tracking with Leader-Follower Concept of MultiAgent Autonomous Helicopter Model,” Proceedings of International Conference on Intelligent Unmanned Systems, vol. 7, 2011. crossref

E. Joelianto, and A. Sagala, “Swarm tracking control for flocking of a multi-agent system,” IEEE Conference on Control, Systems & Industrial Informatics, pp. 75-80, September 2012. crossref

E. de Vries, and K. Subbarao, “Cooperative control of swarms of unmanned aerial vehicles,” 49th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition, pp. 78, January 2011. crossref

Z. Hou, W. Wang, G. Zhang, and C. Han, “A survey on the formation control of multiple quadrotors,” In 2017 14th International Conference on Ubiquitous Robots and Ambient Intelligence (URAI), pp. 219-225. IEEE, 2017. crossref

Hönig, J.A. Preiss, T.S. Kumar, G.S. Sukhatme, and N. Ayanian, “Trajectory planning for quadrotor swarms,” IEEE Transactions on Robotics, vol. 34(4), pp. 856-869, 2018. crossref

Miswanto, H. Pranoto, and D.M. Muhammad, “The Collective Behavior of Multi-Agents System for Tracking a Desired Path,” International Journal of Basic & Applied Sciences IJBAS-IJENS, vol. 11, pp. 81-86, 2011. crossref

A. Trizuljak, F. Duchoň, J. Rodina, A. Babinec, M. Dekan, and R. Mykhailyshyn, “Control of a small quadrotor for swarm operation,” Journal of Electrical Engineering, vol. 70(1), pp. 3-15, 2019. crossref

K. Choutri, M. Lagha, L. Dala, and M. Lipatov, “Quadrotors UAVs swarming control under Leader-Followers formation,” In 2018 22nd International Conference on System Theory, Control and Computing (ICSTCC), pp. 794-799. IEEE, 2018. crossref

I. M. Lazim, A.R. Husain, N.A.M. Subha, Z. Mohamed, and M.A. M. Basri, “Optimal formation control of multiple quadrotors based on particle swarm optimization,” In Asian Simulation Conference, pp. 121-135. Springer, Singapore, 2017. crossref

D. Das, G. Gurrala, and U.J. Shenoy, “Linear quadratic regulator-based bumpless transfer in microgrids,” IEEE Transactions on Smart Grid, vol. 9(1), pp. 416-425, 2016. crossref

Z. Ge, Y. Wang, and M. Lv, “Three-dimensional trajectory tracking guidance law based on linear quadratic regulator,” Journal of Physics: Conference Series, vol. 1039(1), p. 012042. IOP Publishing, 2018. crossref

L. Cao, S. Tang, and D. Zhang, “Flight control for air-breathing hypersonic vehicles using linear quadratic regulator design based on stochastic robustness analysis,” Frontiers of Information Technology & Electronic Engineering, vol. 18(7), pp. 882-897, 2017. crossref

M. İçen, A. Ateş, and C. Yeroğlu, “Optimization of LQR weight matrix to control three degree of freedom quadcopter,” In 2017 International Artificial Intelligence and Data Processing Symposium (IDAP), pp. 1-6. IEEE, 2017. crossref

E. Okyere, A. Bousbaine, G.T. Poyi, A.K. Joseph, and J.M. Andrade, “LQR controller design for quad-rotor helicopters,” The Journal of Engineering, no. 17, pp. 4003-4007, 2019. crossref

B.D. Anderson. and J.B. Moore, “Optimal control: linear quadratic methods,” Dover Publications, Inc., New York, 2007. crossref

E. Joelianto, “Linear Quadratic Control: A State Space Approach,” ITB Press, 2017. crossref

J.M. Ahmed, “Optimal tuning linear quadratic regulator for gas turbine by genetic algorithm using integral time absolute error,” International Journal of Electrical & Computer Engineering, vol. 10(2), pp. 1367-1375, 2020. crossref

M. Ali, S.T. Zahra, K. Jalal, A. Saddiqa, and M.F. Hayat, “Design of optimal linear quadratic gaussian (LQG) controller for load frequency control (LFC) using genetic algorithm (GA) in power system,” International Journal of Engineering Works, vol. 5(3), pp. 40-49, 2018. crossref

H. Asadi, S. Mohamed, C.P. Lim, and S. Nahavandi, “Robust optimal motion cueing algorithm based on the linear quadratic regulator method and a genetic algorithm,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 47(2), pp. 238-254, 2016. crossref

G.B. Raharja, G.B. Kim, and K.J. Yoon, “Design of an autonomous hover control system for a small quadrotor,” International Journal of Aeronautical and Space Sciences, vol. 11(4), pp. 338-344, 2010. crossref

V. Gazi, and K.M. Passino, “Stability analysis of social foraging swarms,” IEEE Transactions on Systems, Man, and Cybernetics—Part B: Cybernetics, vol. 34(1), pp. 539-557, 2004. crossref

V. Gazi, and K.M. Passino, “A class of attractions/repulsion functions for stable swarm aggregations,” International Journal of Control, vol. 77(18), pp. 1567-1579, 2004. crossref

V. Gazi, and K.M. Passino, “Stability analysis of swarms,” IEEE transactions on automatic control, vol. 48(4), pp. 692-697, 2003. crossref

K.M. Passino, “Biomimicry for optimization, control, and automation,” Springer Science and Business Media, 2005. crossref

G. Lindfield, and J. Penny, “Numerical methods: using MATLAB ,” 4th Ed., Academic Press, 2018. crossref

R.C. Chakraborty, “Fundamentals of genetic algorithms,” Reproduction, 22, p. 35, 2010. crossref

S. Mirjalili, “Genetic algorithm. In Evolutionary algorithms and neural networks,” Springer, pp. 43-55, 2019. crossref

Article Metrics

Metrics Loading ...

Metrics powered by PLOS ALM


  • There are currently no refbacks.

Copyright (c) 2020 Journal of Mechatronics, Electrical Power, and Vehicular Technology

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.



1. Comprehensive Review of Metaheuristic Algorithms (MAs) for Optimal Control (OCl) Improvement
Usman Mohammed, Tologon Karataev, Omotayo Oshiga, Oghorada Oghenewvogaga
Archives of Computational Methods in Engineering  year: 2024  
doi: 10.1007/s11831-023-