This thesis project aims to model a quadcopter and design a linear quadratic regulator (LQR) by means of Matlab/Simulink. To this purpose, the LQR-based optimal control theory for controllinga quadcopter is first studied which includes state-space representation (SSR) of a dynamicprocess or system, cost function, LQR, quadcopter flight dynamics and system linearization. A quadcopter model is developed in Matlab/Simulink, followed by the implementation of a LQR-based control system. The LQR parameters are tuned and the system is tested under various flight conditions (wind disturbance, in the simulation, specific/simplified model, etc.). The simulation results show that the LQR is an effective controller for maintaining stable hover at a height straight up and compensating for wind disturbances. However, when the quadcopter moves to a new position, oscillations occur, highlighting the limitations of the LQR due to its reliance on a simplified and linearized model. Additionally, modifications to the model parameters, such as mass and inertia, impact the system performance, indicating potential robustness issues with the controller. It can be concluded that Matlab/Simulink is an effective tool for quadcopter modeling, LQR designing and LQR performance analyzing. In this thesis project, only the LQR method is used for controlling a quadcopter and the LQR tuning process is not efficient. In future work other techniques such as regional linearization and alternative non-linear controllers, like model predictive control (MPC) or sliding mode control (SMC), can be explored. Development of optimization algorithms for LQR tuning in the LQR method is highly recommended.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:uu-531765 |
Date | January 2024 |
Creators | Cengiz, Heja |
Publisher | Uppsala universitet, Signaler och system |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Relation | UPTEC F, 1401-5757 ; 24029 |
Page generated in 0.002 seconds