Professional Documents
Culture Documents
Mathematical Modeling and Control Law Design For 1dof Quadcopter Flight Dynamics
Mathematical Modeling and Control Law Design For 1dof Quadcopter Flight Dynamics
Abstract—The purpose of this research is the modeling and copter. Quad copter is gaining attentions of many engineers
Linear Control of Quad copter through pitch, roll, yaw and thrust and scientist due to its complex dynamic model and
command Interface. This research starts with derivation of non- dynamically unstable. In order to achieve successful
linear mathematical model of quad copter dynamics that consists of autonomous mission and dynamic robust response, many
6 degree of freedom(DOF) motions. The non-linear model is then
linearized around equilibrium point and then 3DOF kinematics is
control techniques have been applied to the Quad copter such
extracted in order to design stabilizing and tracking control of three as input-output linearization[5],Back stepping[6]-[7],Sliding
angular motions (Pitch, Yaw and roll). The Open loop transfer mode control[8],Adaptive control[9],PID controller
function of each DOF rotation motion shows that quad copter is augmented with Feedback[10],Nonlinear control[11]. The
highly unstable without any damping factor in linear mode. .A successful control requires the correct model of the system.
Proportional integrator and differentiator(PID) controller is The basic contribution of this paper includes in the following
designed to control and stabilization of 3DOF rotations, controlling points.
the four actuators independently in simulation. The real time • To derive the mathematical model of Quad copter
1DOF operation is done on designed Test rig in which the relation
between thrust, Average RPM is evaluated and desired pitch pitch
• Bifilar mechanism design to calculate moment of
response is achieved by closed loop PID controller on Test rig. To inertia of three axis X,Y and Z
support the above arguments, the simulated results as well as • A real time PID control is implemented to controlitch
experimental results are presenented and compared. movement of Quadcopter and comparison
between simulation and real time response.
Keywords—Test rig; Thrust;Power consumption ;PID; Control
Law;Modeling;Actuator dynamics
r 0 0 T 0 ∅
m r = 0 T 0 0 θ (8)
r mg 0 0 1 T
For small angular velocities, the Euler angle accelerations are
Fig.2. Inertial Coordinates in a Quad copter determined by dropping the second order term, ω × Iω, and
expanding the thrust into its four constituents. The angular
equations reduce to following matrix after linearization,
The rotors R-1-R-4 are mounted on a board at xB , yB, -xB and
–yB axes with position vector Ri with respect to the center of
gravity respectively I ∅ 0 l 0 l T
The rotor’s axis of rotation is parallel to both Qi and Ti which I θ = l 0 l 0 T (9)
is Aerodynamic Torque and Thrust respectively which is I φ K K K K T ;T
mathematically given as
T u (1)
.
TABLE I. QUACOPTER PARAMETERS
Variable Name Value Units
g Gravity 9.81 m/s2
I X axis moment 0.02 Kg/m2
of interia
I Y axis moment 0.08 Kg/m2
of interia
I Z axis moment 0.02 Kg/m2
of interia
K constant 0.36 M
L Moment arm 0.36 M
length
M mass 0.73 Kg
Quadcopter model have numerous dynamic variables, many of Fig.3.Open loop Pitch response
which have specific values that were adhered to throughout the
simulations. Table 1 lists the variables and describes them. A. Control
Hence the Translational motion dynamics equations after linear This section deals with the control of Quad copter as it is
approximation reduces to
highly coupled unstable system. The quad copter is controlled
x =-g θ (10)
by varying the rotor velocities which are spun by each four
y =g ∅ (11)
motors. The simplest and easily reliable technique is the PID
z =g (12) in which we adopted Ziegler Nichol method to evaluate the
Angular motion dynamics can be described in form value of controller gains proportional, derivative and integral
∅= l (13) denoted by Kp,Kd,Ki respectively.
K
θ= l (14) G = K s K s (16)
Where Gc is the transfer function of PID controller equal
φ= l (15) ()
to and U is the control signal to the motor. The input to
()
In our quadcopter, the following parameters are derived using
bifilar pendulum method which is given below PID controller is the error signal e(t) which contains difference
l = 0.36m of desired pitch angle(θ ) and actual pitch angle(θ ) measured
I = I = 0.02kg. m by Inertial measurement unit(IMU) as follows.
I = 0.047kg. m e(t) = θ θ (17)
Where u1 is the sum of total thrusts produced by four rotors, u2 copter pitch and yaw is inherently a oscillatory due to no
is the second and 4th, u3 is the difference of first and 3rd damping term involved in the close loop transfer function
motor torque difference.
shown by below equations
IV. FEEDBACK CONTROL OF QUADCOPTER
( )
The open loop response of Quadcopter Translational and = = (18)
, ( ) ( )
angular dynamics is highly unstable because each quadcopter
state variable is a double integrator means two poles at the
origin. The Open loop response of attitude subsystem of Quad ( )
copter is shown in Fig.3. = = (19)
, ( ) ( )
( . )
( )
= = (21)
, ( ) ( ( . )
( . )
( )
= = (22)
, ( ) ( ( . )
Table III shows the value of thrust for different RPM of all the
motors. The marked value is the speed at which quad copter
starts to hover.
2750 5.20
Fig.7.Classification of quad copter
5000 5.92
In order to fly the quad copter the thrust provided by the
7000 6.50
motors should be two times greater than the weight of quad
copter, if the thrust is not so good then quad copter can’t fly or 8000 7.03
if it fly then it will does not respond well for controlling. If the
9750 7.46 (hover) value)
thrust is much high then it will becomes very difficult to
control the quad copter. 11500 7.84
B. WOODEN TEST RIG time myRio module of labview and we used myRio as
A wooden test rig was constructed to test the thrust of embedded kit to interface the IMUs with it shown in figure 10.
every individual motor and the entire quad copter shown in The PID controller shown in figure 14 used to calculate the
Fig.9. To start the test of the control system the quad copter
was placed in the test bench. In start quad copter was hooked ratio increased or decreased in the motors signal to achieve
up to power supply, to allow for more concentrated testing. desired tilt. A PWM block used to vary the motor signal by
But when hooked up to the power supply the quad copter had
wires hanging down on one side and thus making the center of various duty cycles decided by PID controller block. A
gravity some offset. This effect was not a concern as the Algorithm is written in to implement set of equations to
testing would mostly focus on response than error angle.
Given below is the weight table of the components of the quad calculate motor voltage based on PID controller output to make
copter. the process variable (Pitch angle) equal to set point.
At 10 degree tilt, Pitch response is shown in figure 11,it is seen
clearly that PID controller makes the quad copter fully stable
with peak time 0.8s and settling time 3.2second with perfect
transient and steady state performance.The comparison of
simulation as well as real time Pitch angle control shown by
figure (5) and 11. It is clearly seen that control law effort in
case of real time implementation has more settling time as wel Fig.11.1DOF Pitch response
VI. CONCLUSIONS
In this research, nonlinear mathematical model of Quadcopter
dynamic model is first derived and then applied linearization
theorem to find the linear model of Quad copter in order to find
control laws for waypoint tracking paths. Simulation as well as
Experimental results show the performance of control law for
Pitch movement control of Quad copter. Test rig, Voltage to
thrust Calculations and Power consumption model has also
been done in this research. However future research is required
to work on design and implementation of nonlinear robust gain
Fig.9.Quadcopter mounted on 3 DOF Aluminum Test Rig
scheduling control for Pitch, yaw and roll
REFERENCES