Вы находитесь на странице: 1из 6

Development of a Small-scale Autonomous UAV

for Research and Development


M.S.A. Rushdi, T.M.A. Tennakoon, K.A.A. Perera, A.M.H.Wathsalya, S. R. Munasinghe
Department of Electronic and Telecommunication Engineering
University of Moratuwa, Moratuwa 10400, Sri Lanka

Abstract— Since recently, UAVs (Unmanned Aerial the interaction of an external pilot. So, including an autopilot
Vehicles) have increasingly been recognized as a reliable, and system into a UAV is a primary requirement. Today more
effective means of aerial surveillance. Deployment of UAVs in advanced autopilot systems are available, which include
disaster management for aerial surveillance and real-time video motion detection, ability to follow a given target, auto take-
feed, when land access is cut off, is one of the most prominent
off, auto landing and many other advanced features.
applications. The ability of small, lightweight UAVs in aerial
access and gathering data, in areas that are insecure or This project was aimed at developing a small-scale UAV
impossible for humans to reach has significantly improved with fully-fledged autopilot system, which equips the aircraft
remote accessibility. In this research, a new low cost small scale with capabilities of following a predefined path and returning
UAV with fully-fledged autopilot system on board the aircraft
with the capabilities of following a predefined path and returning
home fully automatically. Provision of manual override is also
home autonomously has been designed, built, and tested essential to have in responding to unforeseen situations during
successfully. This small-scale UAV is capable of navigating flight. The Autopilot was implemented on Arduino platform
through given GPS coordinates at given altitude, while providing [8] with the interconnection of required sensors, servo
real-time flying status back to the ground control station. actuators, power plant, and communication modules. The
developed autopilot system has been connected with an
Keywords— UAV; unmanned; aerial; autopilot; flight; fixed inertial measurement unit (IMU) to sense the attitude (roll,
wing; disaster management; aerial surveillance pitch, yaw) [1]. A GPS, Compass, air speed sensor, and a
barometer are also interfaced to provide essential data for the
I. INTRODUCTION
autopilot to navigate and fly the UAV through the mission.
Today, as wreckages pile up on disaster zones after a
disaster, most of the roads are blocked, denying access to such II. BACKGROUND STUDY
areas. Thus, usage of manned aircraft to continue immediate Selecting an appropriate airframe model out of many that
search & rescue, and relief efforts is the commonly used were available was an important step in this project. Thus,
procedure by responsible authorities. But search and rescue many airframe structural design materials were reviewed to
operations from the air very often become unaffordable and get an idea and to decide for the best model. Following details
unsafe for humans to be involved if the disaster persists for a show some models, which were compared with each other
long period or if it results in dangerous after effects. In this including their properties.
view, UAV (Unmanned Aerial Vehicles) technology provides
a very effective solution, as it can perform more sophisticated A. F-15 Eagle Shock Flyer
missions that include aerial surveillance at an affordable cost.
F-15 Eagle Shock Flyer was one of the considered
They minimize the risk for loss of human lives, as well as they
airframe models initially. The main beneficial factor we
can monitor a large area within a small time and cost, allowing
observed in this model was its high speed. It was observed that
a small group of people to control several UAVs at the same
this model had a low aspect ratio (wingspan/chord); hence the
time. It can be used to access and gather data in areas that are
gliding effect was not significant. So, this plane model was
insecure or impossible for humans to reach as well as to get
capable to acquire a relatively higher speed than many other
high resolution photographs making it easy to create a perfect
models. Therefore, our initial assumption was that this model
map on disaster zones and to perform necessary disaster
would give a higher speed, and due to the lack of air resistance
management actions.
this would be able to take quick movements/turns. It should be
With the demand for UAVs, an autopilot system is a noted that this low air resistance is inherent in the model itself.
must to send the UAV beyond visual range, as UAVs are
The next step was considering apparent advantages and
intended to send longer distances, where the visual range of
disadvantages of this model. The main problem in this model
the external pilot is limited to his ground visual range. If a
was high power usage due to low gliding effect. But one of the
UAV is not capable of flying beyond the visual range
main requirements in selecting a model to this project was
autonomously, then its capability in deploying for serious
having a low flying weight as it needed to carry autopilot
work is strictly limited. An autopilot system can navigate the
system circuits. So, if we had continued with F-15 Eagle
UAV through given GPS coordinates at given altitude without
Shock Flyer, it would have required adding more batteries to

978-1-5090-6132-7/16/$31.00 ©2016 IEEE


maintain a lengthy flight. This would have limited the carrying this airplane model and the previous two was that, this model
weight and would have been a problem when it comes to had a higher aspect ratio. So, this model would have had a
placing the autopilot system. Another problem with F-15 higher gliding effect at the flying state and would have
Eagle Shock Flyer was the need of a perfect autopilot system relatively consumed a low battery power. This was an
for better performance. It is because, with this model, every advantage for our project as we needed to include less battery
movement of the plane has a higher speed and the autopilot weight into the plane structure and considered keeping some
system should converge to the stable state as quick as possible. weight vacant for the autopilot circuitry and other sensors.
For this requirement to be fulfilled, the autopilot system would This advantage perfectly matched with our project
have to have a perfect control algorithm, which puts the plane requirements. But when the negative side of higher gliding
into a stable state within the quickest possible time limit which effect was considered, it was realized that this model was not
was a requirement that was difficult to be achieved. the best solution since high gliding effect disturbs quicker
movements of the airplane and it even limits the speed of the
B. Sumo 3D plane considerably. Additionally, it was doubtful about the
Sumo 3D [2] is also a plane model with a low aspect ratio successfulness and stable flying of this airplane in high wind
and has most of disadvantages as of F-15 Eagle Shock Flyer. conditions due to its larger wingspan.
The smooth flying and the possibility of taking quick turns
and becoming stable was problematic in this model due to its D. AZ-Shrike Blucor Fan Fold Pylon Racer
relatively different model shape. AZ-Shrike Blucor Fan Fold Pylon Racer model had an
optimal aspect ratio compared to aspect ratios of models that
Another issue found in this model was, when trying to were previously studied. This also had some amount of
place the system circuits and sensors, a significant change in containing space for autopilot system circuit in the fuselage
the overall model would have occurred (even though we but however it was observed that remaining space may not be
scaled up the original one) and thus completely different and enough for the sensors and other connectors. In addition to
unpredictable flying characteristic would have been observed that problem, this model needed some special materials to
from the initially defined model. develop it, which were hard to find in the local market.
C. 700 Flying Wing E. Blu Baby
When compared with the above two models, 700 Flying After analyzing several models, the most suitable model
Wing possessed different characteristics. So this model had its found was, an airframe model named “Blu Baby” which
own advantages and disadvantages. The main difference of matched with our project requirements. It consisted of perfect

Fig. 1. Basic architecture of the algorithm


features such as the most optimal aspect ratio [3], simplicity
without an extraordinary shape & a simple structure and a
fuselage with sufficient space to place the autopilot system
circuitry. As nothing is better than the user experience of a
system or device, it was also capable of providing best user
experience to users.
III. METHODOLOGY AND IMPLEMENTATION
A. Model Aircraft & Autopilot System
The UAV model used in this project was ‘Blu Baby’
UAV model. As developing a selected airframe model was not
an easily repeatable task (given it was not perfect or
incompatible with project needs), we had to make sure and
convince ourselves that we found the best model possible for
the project. This model had been developed from less
expensive materials but, could provide a good stability [6] for
the flight and met the critical project requirements well. It also
consisted of an autopilot system, which could navigate the
UAV, through given GPS coordinates. The open source
algorithm and platform, used for this autopilot system was Fig. 2. Programmed waypoints vs. actual flight path in autopilot mode
‘Ardu-Pilot’.
C. Avionics
B. Algorithm We had the flexibility of customizing our design from the
The algorithm of this system runs in 3 main loops. They platform, since it was an open source platform. We redesigned
are, fast loop, medium loop and slow loop. Fast loop is the the system with some added features such as data logging,
most frequently driven loop event. Main events in the fast loop downlink etc. Fig.2, illustrates the avionics block diagram
are, reading input radio signals, airspeed & GPS, calculating design, which we used in our system.
the altitude & bearing(heading) error and updating the current
D. Simulation & Testing
flight mode. Medium loop consists more infrequent events
than fast loop events, while slow loop consists even more Tuning up the autopilot was broken down to several steps,
infrequent events. Updating GPS coordinates & navigation without directly switching from manual mode to autopilot
information calculations and updating current attitude mode. Initially it was tested under stabilize mode, where the
messages is done at medium loop, while in slow loop reading operator can control the throttle level, but the system
the flying mode, checking battery and updating GPS light is automatically maintains the initialized orientation, by
handled. Fig.1 shows the basic architecture of the algorithm. actuating the servos. Next it was tuned with FBW A (Fly By
Wire A) mode, where it maintains the given orientation, while
external pilot can control the throttle level. Then it was tested
in FBW B (Fly By Wire B) mode, where it automatically
controls the throttle level as well. Finally, auto mode was
tuned, where outer PID loop controls the waypoint distance
error.
Before going for actual testing of our autopilot algorithm,
we used simulation platforms to test the performance virtually
[5]. These simulations gave us clear indications about the
behavior of our RC model aircraft and how to deal with
environmental factors by doing changes to the source code.
The autopilot system is based on two cascaded PID loops.
Simulation helped immensely to find the kp, kD and kI
coefficients of these PID loops, where they were later fine-
tuned with actual testing. We also had extra benefits from
simulations [4] because real world testing for UAV had lots of
constrains (availability of experienced pilot, testing areas etc.).
Therefore, we used simulations as far as possible to tune our
autopilot algorithm closer to real world scenarios.
The autopilot algorithm was developed with Matlab
Fig. 3. Avionics diagram Simulink blocks, where it was simulated with Matlab
Fig. 5. Variation of distance to next waypoint in A – Manual, B – FBW B, C
– Auto, D – Manual modes. Waypoints 1-5 are reached at v, w, x, y and z
respectively. Fig. 4. Variation of Roll angle, with respect to Roll Input signal in A –
Manual, B – FBW B, C – Auto, D – Manual modes. v, w, x, y and z are
aerospace block set. This was not only useful to simulate the waypoints 1-5 respectively.
algorithm, but also to animate and analyze test flights with
logged data. This software-in-loop simulation was further waypoint [7]. After reaching the final waypoint (waypoint 5),
extended with Simulink UDP communication blocks, where it starts to loiter in a circle around the home location. For this
the output of it was fed to Xplane simulator [4]. ‘Blu Baby’ test flight, this loitering radius was set to 50m and the partially
aircraft model was designed in Xplane simulator and it was completed circle can be seen from the map.
simulated as a realistic simulation, which helped to mitigate
Thus, it has reached all the waypoints and has had a drift
most of the oscillations of PID loops before the actual
towards south (bottom of the map) in the flight path, which
implementation. Hardware-in-loop simulation was done by
was due to the heavy wind condition during the flight, which
connecting the autopilot circuitry to the computer through
can be observed as well. Since our UAV is light weight &
serial port, where we could give external inputs to the virtual
small scale, the wind impact on the UAV is very high.
‘Blu Baby’ aircraft in Xplane simulator.
A. Distance Variation
Testing a UAV is a high risk and time consuming task,
since even a mere mistake would cause the UAV to crash Fig.4, illustrates the variation of the distance to the next
down into pieces. During testing, standard testing procedure waypoint. In the Manual and in the Fly By Wire B regions,
was followed to minimize the number of crashes, where the next waypoint has not been considered and the distance to the
full manual functionality of the aircraft was tested through a waypoint has been changed according external pilot’s
set of testing procedures and then was tuned in above maneuvering. In the auto mode, it has reached the waypoints,
mentioned flying modes before switching to autopilot mode. one by one. Once the distance to a waypoint was less than
18m, it has started to consider the next waypoint and has
All the information of the flight, namely, external pilot’s flown towards it. Flight path in Fig.3, and the waypoint
input commands, commands given by the control system, distance variation in Fig.4, has clearly coincided each other.
aircraft’s orientation, position, throttle level, air-speed,
ground-speed and time were recorded in the data-log, which B. Throttle Profile
was based on a micro SD card. This information not only had Fig.5, illustrates the throttle profile of the complete
a high importance in tuning the algorithm, but also was flight. In the graph ‘throttle input’ is the throttle command
important in analyzing the causes during crashes. given by the external pilot and the ‘throttle output’ is the
actual throttle level set by the control system of the UAV.
IV. RESULTS
As it is illustrated in the graph, during the first manual
This section presents, results obtained from a test flight.
region, ‘throttle input’ and ‘throttle output’ overlays and it
In addition to ground control station we used a micro SD
shows that the external pilot’s throttle command was carried
memory card to collect all the flight information on the flight.
out accurately. We can clearly observe that in the FBW B (fly
Programmed waypoints are represented by five blue color
by wire B) mode even though the external pilot has changed
bubbles in Fig.3. The pink color path is the actual flight path
the throttle, it was overdriven by the control system.
in fully autonomous mode. Waypoints were programmed with
an 18m hit radius, i.e. the UAV considers a point as a
waypoint hit if it reaches the circle of 18m radius from the
Fig. 8. Variation of Throttle Output with respect to the Throttle Input signal in
Fig. 7. Variation of air speed and ground speed in A – Manual, B – FBW B,
A – Manual, B – FBW B, C – Auto, D – Manual modes.
C – Auto and D – Manual flying modes.

the external pilot sends a specific roll signal for some time,
instead of continuously rolling, it maintains the corresponding
roll angle continuously.
In the auto region, it can be clearly observed that the
external pilot has not sent any input command, but the UAV
has changed its roll angle. If we compare it with the waypoint
distance graph, we can observe that it has roll spikes
immediately after reaching a waypoint, since it has changed
the flying direction towards the next waypoint, once it reaches
a waypoint.
D. Altitude Profile
Fig.7, illustrates the altitude variation during the test
flight. During the manual mode, altitude of the UAV has
increased, since it was the take-off and climbing of the flight.
In FBW B, given orientation should be maintained. Just before
the FBW B, there was a climb up and that climb up rate was
maintained during the FBW B, which means the UAV has
Fig. 6. Variation of altitude, with respect to altitude to hold in auto mode. maintained its given pitch angle in FBW B mode.
Flying modes are A – Manual, B – FBW B, C – Auto and D – Manual
respectively. In the auto mode, altitude of the waypoints was set to
In the auto region, the user has not changed the throttle 48m. From the graph, it can be observed that, when it was
input command but it was completely controlled by the control switched to auto mode, the UAV has descended from 150m to
system of the aircraft. This auto region corresponds to the 48m and it has tried to maintain that altitude. Finally, home
flight path in Fig.3. In the auto region, we can observe that the altitude was set at 50m in the auto mode.
throttle level has changed in a wide range, since it had to E. Speed Profile
struggle against the heavy wind to reach its waypoints.
Fig.8, demonstrates the speed profile of the flight.
C. Roll Profile During the FBW B mode, UAV has tried to maintain an
Fig.6, demonstrates the roll profile of the flight. ‘Roll average airspeed. During the auto mode we can see that it has
Input’ is the input of the external pilot to control the roll of the tried to maintain an average airspeed of 7ms-1, which was the
UAV, which is plotted as the servo rotation angle. ‘Roll’ is the pre-set cruise airspeed. The ground speed has been randomly
roll angle of the UAV. In this graph roll occurs in the opposite changed with the wind condition and the airspeed.
direction to the roll input signal. In the FBW B mode, almost a V. FUTURE WORK
mirrored role of the roll input about time axis has occurred. It
is because, in the FBW B mode, the UAV maintains the There are many structural improvements that can be
orientation for the given input command. For an example, if made for the benefit of a safe and more stable flight. An
extended improvement would be using a twin boom [6] B. Taylor, C. Bil and S. Watkins, “Horizon Sensing Attitude
Stabilisation: A VMC Autopilot”, 18th International UAV Systems
mechanism instead of nose cone propeller for the airframe to Conference, 2003.
avoid high damage to propeller at crash landings while tuning [7] M. Imran Akram, Ahmed Pasha, and Nabeel Iqbal, “Optimal Path
the autopilot system. For long range surveillances, endurance Planner for Autonomous Vehicles”, World Academy of Science,
is an essential requirement. As a solution having a larger Engineering and Technology, 2005.
structure with an array of batteries will provide sufficient [8] Arduino website [Online]. Available: www.arduino.cc
endurance to the aircraft.
Creating a mathematical model for the aircraft is another
future challenge. Using this model, the advantage of
predicting the aircraft behavior while using the autopilot
algorithm in virtual simulation platforms can be gained as
well. There are limitless improvements that can be done to
increase the surveillance capabilities of the UAV. Adding a
gimbal mounted camera and giving remote handling to that
camera will further improve the surveillance capabilities of the
aircraft.
We have used manual takeoff and landing procedures in
our system. But if those procedures can be automated there
will be added advantages especially with the absence of highly
trained external pilots and landings which should be done out
of visual range. Programmed takeoffs and landing will become
a possibility, which will further enhance this autopilot systems
capabilities.
VI. CONCLUSION
In this research project, a small, light-weight unmanned
aerial vehicle was designed, built, and tested in actual flights.
A fully-fledged autopilot system was designed and
implemented with essential sensors- IMU, GPS, compass,
airspeed, and baro sensors. Flight control system was
developed to bring the UAV autonomously through a
preplanned 3D path defined by GPS locations and altitudes.
Flight performance and qualities were evaluated using the
logged flight data, and proper functionality has been verified.
The development was done on Arduino platform, which will
be further developed to a more advanced platform. The
autopilot controls will be further improved to optimize flight
endurance.

REFERENCES
[1] D. Hazry, M. Sofian and A. Zul Azfar,"Study of Inertial Measurement
Unit Sensor",Proceedings of the International Conference on Man-
Machine Systems, Malaysia,2009.
[2] Joachim Reuder, Marius Jonassen, Stephanie Mayer, Pascal Brisset and
Martin Müller, "SUMO: A Small Unmanned Meteorological Observer
for atmospheric boundary layer research",Geophysical Institute,
University of Bergen, Norway.
[3] Mayank, “Design of Wings”, Department of Aeronautical Engineering
MIT, Manipal.
[4] Lucio R. Ribeiro and Neusa Maria F. Oliveira, “UAV Autopilot
Controllers Test Platform Using Matlab/Simulink and X-Plane”, 40th
ASEE/IEEE Frontiers in Education Conference, October 2010.
[5] M. Sadraey and R. Colgren, “UAV Flight Simulation: Credibility of
Linear Decoupled vs. Nonlinear Coupled Equations of Motion”, AIAA
Modeling and Simulation Technologies Conference and Exhibit, August
2005.

Вам также может понравиться