Dynamics Modeling and Control of Quadrotor Vehicle: January 2012
Dynamics Modeling and Control of Quadrotor Vehicle: January 2012
net/publication/282870437
CITATIONS READS
10 796
4 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Mohamed Elkhatib on 09 November 2015.
ABSTRACT
KEY WORDS
---------------------------------------------------------------------------------------------------------
* Dept. of Mech. Mechatronics, AAST, Cairo, Egypt. Email: [email protected].
** Egyptian Armed Forces. Email: [email protected].
+ Dept. of Elec. Power, AAST, Cairo, Egypt. Email: [email protected].
++ Dept. of Comp. Eng., AAST, Cairo, Egypt. Email: [email protected].
Proceedings of the 15th Int. AMME Conference, 29-31 May, 2012 RC 67
INTRODUCTION
The quadrotor is a Vertical Take-Off and Landing (VTOL) aircraft [1] consists of 4
propellers arranged on x-shape or +-shape. Every arm holds a propeller on its end
as shown in Fig.1. The quadrotor has higher payload to total weight ratio compared
to other aircrafts like single rotor and tandem rotor helicopters , simplicity of control
and has a great manoeuvring attitude which can help in going into several areas
cannot be accessed by traditional airplanes nor helicopters [2]. VTOL craft also
offers direct access to buildings or areas making them a very fast form of transport
between areas, especially those are elevated or have limited access.
The symmetry of the quadrotor body gives simplicity to the controller design as it can
be controlled through varying the speed of the propellers [3]. Each two opposite
propellers rotate in the same direction as shown in figure 1. The direction of rotation
for each propeller reduces the mechanical complexity inherent in helicopters and
other VTOL aircraft. Directional control is produced by individually altering the speed
of the four motors. Collective pitch propellers are not required in a quadrotor design.
This greatly reduces the mechanical complexity [4]. A quadrotor consists of two fixed
pitch clockwise spinning propellers and two counter-clockwise spinning rotors which
diagonally oppose each other as shown in Fig.1. This result that the reactive force of
each propeller being effectively cancelled out by the diagonally opposite propeller’s
reactive component. This eliminates the need for a helicopter tail rotor.
Quadrotor craft has further efficiency and mechanical advantages. They have four
small propellers as opposed to a single large propeller. Having small propellers
reduces the torque on the system which means that the blades can be driven at
higher velocities without producing additional mechanical vibrations and also
increases motor efficiency. Less craft torque and vibration obviously put less stress
on the mechanical components of the craft.
The model consists of two main parts, the first one is the translational system of
equations and the second is the rotational system of equations. The quadrotor
aircraft is a highly non-linear, Multi-Input Multi-Output (MIMO), strongly coupled and
under actuated system with only four actuators [5]. This model is derived based on
some assumptions in order to simplify the dynamics of that complex system to be
suitable for simulation. These assumptions are as follows;
The development of a suitable attitude controller for the quadrotor prototype required
an accurate dynamic model to be developed. A Newtonian modelling method [2]was
chosen to define the quadrotor dynamics for control purposes. The Newtonian
method is the most popular choice for modelling rigid bodies in six degrees of
freedom and has been used extensively for the modelling of traditional helicopters [2,
6]. The derived model consists of 6 equations for the system dynamics and 4
equations describing the inputs of the system [1]. The dynamic equations are
summarized as follows:
(1)
(2)
(3)
(4)
(5)
(6)
The first 3 equations (1,2 and 3) describes the linear acceleration of the vehicle in
the direction of x,y, and z axes respectively while the last 3 equations (4,5 and 6) are
nominated for the angular accelerations of the vehicle about the same axes
respectively. ”ℓ” represents the length of the arm holding the propeller,
represent the Euler angles about the body axes (x, y, z) respectively.
are the inertial components about the x-axis, y-axis and z-axis respectively. Where
and are the translational drag coefficients, and are the propeller
disk areas while are the translational velocity components along the main
axes. Finally, ρ is the air density.
(7)
(8)
(9)
Proceedings of the 15th Int. AMME Conference, 29-31 May, 2012 RC 69
(10)
where represents the total thrust, represents the pitch moment, represents
the roll moment, while represents the yaw moment. Finally, “b” is the thrust factor
in hover and “d” is the drag factor in hover.
Finally the vector summation of the reaction moment produced by the rotation of the
pair (Ω3, and Ω1) and the reaction moment produced by the rotation of the pair (Ω4,
and Ω2) will cause the quadrotor to spin about its axis (z-axis) which is denoted as
yaw angle epsi “ ”. These are the six degrees of freedom of the system consisting of
the position (x, y, z) and the orientation .
MATLAB/SIMULINK MODELLING
A Matlab/simulink model was built using Matlab 2009 in order to simulate the
systems dynamics and response under various conditions Fig.3 shows the complete
simulink model of the system
The model was built such that it has 4 inputs which are the desired altitude (position
along the Z-axis) and the desired orientation of the vehicle consisting of the three
Euler angles about the axes X, Y and Z respectively.
Given time restraints, a PID controller was selected to provide attitude control for the
quadrotor craft.
Proceedings of the 15th Int. AMME Conference, 29-31 May, 2012 RC 70
The Euler angles are used as a feedback to the proposed controller in order to
achieve the desired orientation. This may be used in the future with a path way
trajectory controller which is not our concern in this study.
(11)
These are the attitude and altitude controllers. First, the attitude controller, it is
shown in Fig.4. The controller has 3 inputs; the desired Euler angles and it takes the
actual Euler angles values as a feedback and it calculates the appropriate control
inputs (control command) which is responsible for the pitching moment, which
is responsible for rolling moment and finally which is responsible for yawing
moment.
The second is the altitude controller which is similar to the attitude controller but it
only controls the position of the craft along the z axis. It means that it only controls
the altitude of the craft. It has the desired altitude as an input in addition to the actual
altitude as a feedback signal while the output is the appropriate thrust force that
keeps the craft at the desired altitude. Both controllers were manually tuned.
The system was tested for a step input to the desired altitude and the output is
shown in Fig. 6. The system response is fast and has an acceptable overshoot about
12.3 % in addition to small steady state error of 0.02%. The system response for a
step input to the desired phi was not as better as the response of the system to the
desired altitude Fig.7 shows this response. The system reaches the desired phi after
more than 200 sec and with about 15% steady state error which is not acceptable.
Theta response is similar to the phi response and this is due to the similarity in
dynamic equations which came from the symmetry of the quadrotor structure.
Another method of control can be applied for improving the system output. This can
be done in future work.
The system was tested for a pulse input of desired altitude equal to 5m for 4 sec and
Proceedings of the 15th Int. AMME Conference, 29-31 May, 2012 RC 71
then it should reach the zero altitude again and Fig.8 shows the response of the
system.
The response of the system for a desired phi pulse was not sufficient and it is not
acceptable Fig.9 shows the response of the system again it reaches the desired
input after very long time about 20 sec in addition to a very large over shoot about
more than 300% percent of the input which is not acceptable.
CONCLUSION
The quadrotor model mathematical model was different than the other built models
as the drag forces along the 3 axes is included, in addition to the coupling between
the translation dynamics and the angular dynamics. The proposed PID controller
used is sufficient and suitable for controlling the altitude (motion in Z-direction) of the
quadrotor craft but it is not sufficient for controlling the attitude or Euler angles of the
quadrotor craft. This suggests proposing an Artificial Intelligence (AI) controller in
future work. The system equations of the model shows that the Euler angles
dynamics is independent and it does not rely on the translational dynamics while the
translational dynamics is dependent on the angular dynamics, this is clear from the
equations of motion of translation as they are function of Phi, Theta, and Psi.
In future, an artificial intelligent controller may be introduced for the attitude controller
of the same model in order to achieve a better performance.
The major drawback in the model is that the motor dynamics is not included which
will be affecting the dynamics of system it can be added in the future work of this
research.
REFERENCES
Radii of
Mass Moment
Axis Gyration,
Inertia, [kg.m2]
[mm]
X 0.003325 88.19
Y 0.003263 87.36
Z 0.006430 122.64