PD Control Quadrotor - Simulink
This file contains the simulink simulation of the PD control of a Quadrotor. Quadrotor model is taken from Dr. Bouabdallah's PhD thesis found also in the file. The PD control is enough to control the quadrotor in disturbance free situations.
The “big” Omega I used in my model is actually “Gamma” found in the quadrotor dynamics. The controls can be calculated from the rotors’ speeds, so using the same equations reversely we can find the rotors’ speeds out of the controls (solve for the rotors’ speeds using the upper equations, 4 equations with 4 unknowns).
γ is the effect of rotor speeds on the system. In general there are no sensors put on the quadrotor to measure its rotors’ speeds, so we can’t calculate gamma in practical and it is assumed as disturbance. Gamma is calculated using the four rotors’ speeds as:
Gamma = omega1 - omega2 + omega3 - omega4 : The resultant effect of all the rotors.
What I did is calculating omegasquare of each rotor, used omegasquares to calculate gamma, then recalculate the controls.
Zitieren als
Abdel-Razzak (2024). PD Control Quadrotor - Simulink (https://www.mathworks.com/matlabcentral/fileexchange/41149-pd-control-quadrotor-simulink), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Control Systems > Control System Toolbox > Control System Design and Tuning > PID Controller Tuning >
- Industries > Aerospace and Defense > Quadcopters and Drones >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
PDControlQuadrotor/
PDControlQuadrotor/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | I received many questions about "big" Omega, so I add clarifying ideas about it. |
||
1.0.0.0 |