Design & Implementation of An UAV (Drone) With Ight Data Record
Design & Implementation of An UAV (Drone) With Ight Data Record
Design & Implementation of An UAV (Drone) With Ight Data Record
net/publication/313803439
CITATIONS READS
5 1,243
3 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Tuton Mallick on 01 October 2018.
Abstract— This paper proposed the development of an world and also developing world use it for their own purposes.
autonomous unmanned aerial vehicle (UAV) which is controlled Uses of drone are rapidly increased for both public & Private
by wireless technology through graphical user interface (GUI). sector. Peoples of Canada & North America now use drone as
This proposed design capable to fly autonomously and also their assistant of housework & office work. At present not only
capable to track pre loaded mission automatically. Proposed in Canada but also in others countries drone technology
mathematical model and artificial algorithm control technique by increasing day by day.
which quad rotor can capable to fly autonomously, trajectory
tracking, graceful motion and accurate altitude hold For the domestic user they have to pay attention on government
performance. In this system author used IMU 9DOF (3-axis rules regarding use of drone. For this propose small & cost
accelerometer, 3-axis gyroscope & 3-axis magnetometer) which effectives drones are available in markets. Its popularity
ensure it smooth movement, graceful motion and trajectory increased day by day.
tracing. GPS system and barometric sensor make it more
efficient in autonomous mode. Several PID loops designed to get A. Applications of UAV( Drone)
better stability and performance in different mode. All signals
are processed by a powerful high speed controller board which There are some many important activates of drones. Which
makes it more efficient and effective. This work aimed to design a are:
quad copter that will try stable its position according to preferred
altitude. Also here stability check has been done with pitch and • National security
roll. All data and result discussed at the end of paper. • As a long range weapon of military war
• Public safety
Keywords—autonomous UAV system, inertial
• Environmental research
measurement unit, graphical user interface, PID controls
• Scientific research
loops, stability and performance.
• Small household work.
I. INTRODUCTION
At present world drone technology is very familiar & B. Related Works
versatile technology. Drone can drift in air .We can also use
wireless camera with it. So that we can use it to do different
In recent years many scientist works into this area of UAV.
types of tasks. Nowadays Drones are used in long range wars
As in reference paper [5], [6], [7], Samir Bouabdallah et al.
as a weapon and also as a helper of fighter in the war. Scientist
make a good number of research on smart controlling if UAV.
use drone as a part of their research assistant. Drones not only
This author also used back stepping method [7]. For a better
help us in society but also a threat for us, as because many of
solution in stability & smooth controlling many scientists used
developed countries use it as their weapon of destruction. So
PID and root locus method [8]. PD controller is also a very
drones have their ability to predetermined work so that it
popular method for control drone & robotic arm [9]. Many
becomes important in today’s world. [1]
scientist use PD control as their experimental platform [1], [10]
Drone has many importances but it also creates some
questions about privacy. So for this issue many governments II. PROPOSED DESIGN
declared some rules and regulation to fly drone in different
purposes. A mature quad rotor system can use for educational A. System Overview
and experimental porpoise [2], [3]. Photo shoot for films &
To desing a stable multicopter we need maintain some
drama are also use drone.
physics, mathmatics and aeirodynamic term. Aerodynamic help
At past drones was used only by military in their war. But to define its movement and inertial motion. In the other hand
day by day it is now used in various household works as it mathematical calculation helps to manipulate required lift
operation and control become easy day by day. Developed
A. Body Dynamics
Body dynamic of multi-rotor copter governs the response of
attitude control. Let consider a multi-rotor copter frame. We
can derive expression in two coordinate system i.e. one is
inertial coordinates and another one is body fixed coordinates.
U 1 = Th1 + Th 2 + Th3 + Th 4
U 2 = (Th3 − Th1) L
(2)
U =
U 3 = (Th 2 − Th 4) L
U 4 = M 1 + M 3 − M 2 − M 4
U1 is summation of the thrust of every individual motor. The angle φd and ψd can determine as follows from
Th1, Th2, Th3 and Th4 are thrust generated by front, rear, left Fig.7,
and right motor respectively. m is Quad-copter mass, g is
marked as the gravity acceleration and L is the liver distance of
Quad- copter. x, y and z are the three axis position. φ, θ, ψ are
three Euler angles representing pitch, roll and yaw.
From the Fig. 6 we get transformation matrix with defined Figure 7. Angle movement of quad copter.
attitude angles:
yd − y
cψcθ cψsθsψ −sψcθ cψsθcφ + sψsφ φd = tan −1
xd − x
R(θ,φ,ψ) = sψcθ sψsθsφ +cψcφ sψsθcφ − sφcψ (1) zd − z
ψd = tan −1
− sθ cθsφ cθcφ ( x d − x) 2 + ( y d − y ) 2
Where s represents sin, c represents cosine, and φ, θ, ψ
stands for attitude angles of roll, pitch, and yaw respectively.
The second derivatives of each angle given as
Direct inputs are RPM commands for every motor in body
fixed coordinates. So the resultant outputs are Z directional φ = U 2 / I xx
thrusts in body fixed coordinates. Attitude & position is only
concern of our outputs. U1, U2, U3 and U4 are four control
θ = U 3 / I yy
variables used to eliminate this gap. Each of the affects the ψ = U 4 / I zz
attitude, rotation in roll angle, rotation in pitch angle and yaw
angle respectively.
Where I xx , I yy I zz is rotary inertia around X, Y, Z axis τ : torque of motor
respectively τ d : load
B. Aerodynamics Effect
D. System PID Control
The thrust T produced by each motor is calculated as
PID (proportional-integral-derivative) is a closed-loop
T = ρCT Awm R 2
2 control system. It helps to get c our results as must as close to
the actual result by responding to our inputs. Scientist uses it
Where while controlling drone or robot for achieves stability.
CT : thrust coefficient
ρ : Air density
A: rotor disk area
R: blade radius
Propeller diameter & pitch-
D ~τ , p ~τ
τ ~E
Where, d: diameter of propeller, τ : torque, E: energy
Frame parameters-
Figure 8. PID loop for system.
Blade tip speed, v ~ R
PID basically works with three algorithms.
3
Lift, F ~ R • P depends on the present result
3 5
Inertia, m ~ R , I ~ R • I on the accumulation of past errors.
C. Dynamics of Rotor Per axis PID structure shown in Fig.9. For controlling quad
copter or any types of multi copters, output of sensors (like the
The dynamics of DC motor is generally described as pitch angel) is very much needed. From the sensor data we can
di easily estimate the error (how far we are from the desired pitch
Li + Ri + k e wm = u angle, e.g. horizontal, 0 degree). Then we can use PID
dt algorithms for eliminating errors
dwm
J = τ −τ d
dt
Where
Li : Coefficient of inductance
i: armature current
R: armature resistance
k e : back emf constant
Figure 9. Per axis PID structure.
wm : speed of motor
u: armature voltage
J: inertia of motor
IV. RESULTS AND IMPLEMENTED DESIGN 60
DesPitch
40 Pitch
A. On flight Simulation Data
All the data collected after 18-20 experimental fight of 20
Output
implemented UAV. 0
Fig. 10, indicates the altitude hold performance. This is one
of the important curves which indicate the stability and -20
behavior of our drone. Here Holt for desire altitude and Alt for -40
altitude at which drone travels. This carve contains several 0 200 400 600 800 1000 1200 1400 1600
Time (0.1s Scale)
mode of operations characteristics. When we shift from
stabilize (manual) mode to hover mode or GPS lock mode then Figure 12. Response of pitch in different mode.
DAlt curve generate and then altitude calculated from IMU 20 DesRoll
unit and also generate the barometer altitude curve shown in Roll
Fig. 11, as blue line. Alt and DAlt line lies close together that 0
means altitude hold performance is good in different modes.
Output
DAlt -20
30 Alt
-40
20
Output
-60
0 200 400 600 800 1000 1200 1400 1600
10 Time (0.1s Scale)
0 200 400 600 800 1000 1200 1400 1600 Fig. 14, shows the throttle response in different modes. We see
Time (0.1s Scale)
that throttle fluctuate in manual mode due to manual control of
Figure 10. Altitude hold performance data in different mode. throttle fluctuation. In autonomous mode throttle
automatically control by processor unit. So throttle response
40 DAlt does not fluctuate significantly.
BarAlt 600
ThrRes
500
20
O u tp u t
400
Output
300
0
200
100
-20
0 200 400 600 800 1000 1200 1400 1600 0
0 200 400 600 800 1000 1200 1400 1600
Time (0.1s Scale) Time (0.1s Scale)
Figure 11. Altitude hold performance with barometer. Figure 14. Throttle response of proposed design in different mode.
Fig. 12, shows the pitch response and Fig. 13, shows the
roll response of UAV in different modes. Here, DesPitch and B. Implemented Design
DesRoll for desire pitch and roll respectively. And only pitch Total hardware design of proposed UAV is given below.
and roll indicate the pitch roll response. If we observe the
curves than we see that pitch and roll curve is similar to desire
pitch and roll curve. We see in stabilize (manual) mode and
altitude hold mode we get some spike which indicate pitch &
roll action. Though stabilize mode is manual mode so we
change pitch manually. In altitude hold mode- altitude maintain
automatically but pitch & roll is also manual control. In loiter
mode that means in GPS lock mode- all parameters controlled
automatically without human interface. So in loiter mode spike
is less which indicate it holds a constant coordinate with
stability.