chrysostomos997 / Modeling-and-Simulation-of-a-Quadcopter

Optimal Control of a Quadcopter (LQR/LQG)
4 stars 0 forks source link

Quadcopter Control

Implementation of LQR and LQG Controllers for Quadcopter Control

Description:

This project focuses on the implementation of two popular control strategies, namely LQR (Linear Quadratic Regulator) and LQG (Linear Quadratic Gaussian), for quadcopter control. Quadcopters are highly nonlinear systems with complex dynamics, making them challenging to control. The LQR and LQG controllers are widely used in control engineering due to their simplicity, effectiveness, and robustness.

The LQR controller is a feedback control strategy that minimizes a cost function consisting of the state and control inputs. The LQG controller combines the LQR controller with a Kalman filter to estimate the system's state. Both controllers are designed to minimize the quadcopter's response to disturbances and uncertainties.

Testing LQR/LQG in realistic animations

LQR
LQG

Testing LQR/LQG in realistic animations

LQR
LQG

Testing LQR/LQG in realistic animations

LQR
LQG

Testing LQR changing Q-R

HIGH Q
HIGH R

DIAGRAMS OUTPUTS

HIGH Q
HIGH R

DIAGRAMS INPUTS-POWER

HIGH Q
HIGH R

Testing LQG changing Q-R with w=0.001 and v=0.001

HIGH Q
HIGH R

DIAGRAMS

HIGH Q
HIGH R

DIAGRAMS INPUTS-POWER

HIGH Q
HIGH R