Professional Documents
Culture Documents
Abstract-- This paper presents the design of a Fuzzy PID these factors contribute to making them the rotorcraft of choice
controller (FPID) based on fuzzy logic with a PID structure for most academic and research purposes.
with many valued logic and reasoning. The self-turning Fuzzy
In recent years, Unmanned Aerial Vehicles (UAVs) have
PID control take in an error and the rate of change of error of
attracted more attention due to their high manoeuvrability,
the altitude and attitude of the quadrotor as the input to the
simplicity of construction, low maintenance costs and low
fuzzy controller and use the fuzzy rules to adjust the PID
noise. However, a quad-rotor has six degree of freedom (6-
parameter automatically. Simulations have been conducted to
DoF) of flight control system which exhibits a high degree of
observe the differences in controlling the quadrotor in flight
nonlinear dynamic analytical representations.
using the new FPID controller instead of using PID controller.
The effectiveness of the developed FPID is verified using the Design of control system for quadrotor helicopters is an
dSPACE platform whereby the Simulink model of the ongoing and growing research field. The controller is the main
controller is converted to a real time system to generate the part in designing any autopilot system for aviation and
control signals for the control of quad rotor helicopter. quadrotor helicopter in particular [1]. For a stable control, the
throttle, roll, pitch and yaw have to be controlled successfully
Index Terms-- PID control, Fuzzy logic control and Fuzzy-
so that the vehicle navigate its terrain while maintaining
PID control, dSPACE, MatLab/Simulink.
steady, stable flight and controlled movement.
I. INTRODUCTION
The goal of this paper is to a design a Fuzzy PID controller
A quadcopter, also known as a quadrotor, is a multirotor (FPID) based on fuzzy logic with a PID structure with many
helicopter that generates lift and propulsion using four rotors. valued logic and reasoning. The self-turning Fuzzy PID control
Quadrotor are classified as rotorcraft, as opposed to fixed-wing take in an error and the rate of change of error of the altitude
aircraft, because their lift is generated by a set of vertically and attitude of the quadrotor as the input to the fuzzy controller
oriented propellers. Early in the history of flight, multirotor and use the fuzzy rules to adjust the PID parameter
aircraft were explored in order to circumvent traditional automatically. Simulations have been conducted to observe the
stabilization problems of rotorcraft. Configurations such as the differences in controlling the quadrotor in flight using the new
helicopter have inherent control problems due to the torque FPID controller instead of using PID controller [2].
generated by the large main rotor. In a helicopter, this problem
is combated by a small vertical tail rotor that aims to prevent
This paper will present a FPID controller for a quadrotor
the main body of the rotorcraft from rotating. Beyond
helicopter development simulation using Matlab/Simulink
complicating the system, the use of a tail rotor has a downside
software. The developed model will be used to investigate the
in that it requires additional motors that do not contribute to
dynamics response of the system. Furthermore, the non-linear
lift. Because weight reduction and efficiency are vital in flying
strategies are used to control the quadrotor with the aim of easy
mechanisms, additional motors are often unsustainable or
implementation of feedback system which gives a unique
undesirable. As a result, multirotor designs emerged, using
construction of non-linear controllers using Fuzzy-PID. The
opposite rotor pairs to cancel out unwanted rotational energy
dynamics of quadrotor are developed using mathematical
while still providing lift. Additionally, by using four rotors to
models formulated using the Newton-Euler. The formulation is
generate lift, each rotor can be much smaller in diameter. This
based on the control laws used to design and stabilize the craft
reduces the amount of kinetic energy present in each rotor,
at hovering position. The PID controller is chosen as a
reducing the force of impact in the case of a crash. Due to these
benchmark control algorithm, where it is used for comparison
various advantages, a number of manned designs appeared in
of performance. The dSPACE platform is used to corroborate
the 1920s and 1930s. These vehicles were some of the first
or otherwise the design and development of the FPID for
successful heavier-than-air vertical take-off and landing
quadrotor applications.
(VTOL) vehicles. The main fall-backs to these pioneering
designs were poor performance and too much pilot workload, II. ANALYTICAL DYNAMIC MODELLING
the latter induced by primitive control systems. Recently,
quadcopter designs have become popular in the field of In order to design a valid control scheme for a system, a
unmanned aerial vehicle research. Generally small in size, representative model is needed. An often used approach in
quadcopters use a variety of sensors to achieve a high level of relation to modelling physical systems is to divide them into
stability and control, allowing them to navigate even in narrow subsystems and to define the inputs and outputs relationships
spaces. Additionally, because each rotor is small, they require of the subsystems using the laws of physics. The model should
less power during flight, which makes quadcopters much safer prevail from assumptions such as empirical modelling and
both to human operators and to the flight environment. Lastly, fitting of the model parameters. This approach is often referred
quadcopters are generally low cost and easy to construct. All
e’
du/dt Fuzzy System
Figure 5: The error and derivative error for the output Kp.
The self-turning fuzzy PID control take in an error and the rate
of change of error of the altitude and attitude of the quadrotor
as the input to the fuzzy controller and use the fuzzy rules to
adjust the PID parameter automatically. The variation in ΔKP,
ΔKI and ΔKD of PID control parameters KP, KI and KD are the
output variables of the fuzzy logic. The quadrotor angle and
position deviation 𝑒 and its gradient de are sampled and
calculated in real time, the output variables ΔKP, ΔKI and ΔKD
are extracted from the fuzzy matrix table based on the fuzzy
rules and reasoning. The PID control parameters are adjusted
using ΔKP, ΔKI and ΔKD in order to realize the real-time
dynamic control of the quadrotor angle and displacement.
B. The Design of Self-Tuning of Fuzzy PID Controller for throttle
For the quadrotor position control requirement, the domain of Figure 6: General controller for Throttle, Roll and Pitch
the displacement deviation 𝑒 is set as [-1 1], and the domain of
Figure 9: Roll angle PID design response Figure 10: Roll Fuzzy-PID design response
IJTRD | Nov-Dec 2016
Available Online@www.ijtrd.com 98
International Journal of Trend in Research and Development, Volume 3(6), ISSN: 2394-9333
www.ijtrd.com
From fig. 8, the quadrotor response to a command called
throttle, shows that the time response to throttle command is
very fast and without any overshooting for Fuzzy-PID
controller while that of the PID controller have small
overshoot. Also from figs. 10 and 12, it can be observed that
the roll and pitch command responses do not have any
overshoots whereas for the classical PID, figs. 9 and 11 show a
small overshoot. This indicate that the fuzzy logic PID
controller has adjusted the KP, KI and KD parameter
successfully.