Professional Documents
Culture Documents
Abstract: The paper proposes two different controllers for tracking control of a quadrotor. An Euler-Lagrange for-
mulation is used to drive the dynamic mathematical model of a quadrotor. To illustrate the advantages of the proposed
controllers and for simplicity, all the aerodynamics, Coriolis, drags and gyroscopic effect are abandoned. A PID con-
troller with derivative filter is proposed for the position tracking of the quadrotor here. The advantage of the proposed
PID controller include easiness of implementation, effectuate higher stability and less dependent on the system model.
The integral sliding-mode controller is proposed to obtain the desired attitude angles for the quadrotor tracking and its
advantage is unaffected by the system model errors. The designed controllers can stabilize the roll, pitch, and yaw angles
and make the quadrotor to move (x, y, z) positions to their desired values. The Lyapunovs theorem is useful to obtain the
quadrotor controllers and also ensure the system track to attain and maintain on the sliding surfaces. The validation of
results has been tested in MATLAB simulation and exhibits adequate performance.
Keywords: PID controller, Integral sliding mode control, Position tracking, Quadrotor.
440
So, it is necessary to design two different controllers for trounce this problem, a first-order filter on the derivative
the two subsystems. To obtain the control law U1 and the term is introduced to tune its pole so that the chattering
desired pitch and roll of the quadrotor (φd , θd ), a PID caused by the noise can be removed. It can reduce the
controller with derivative filter is designed, which can effect of high frequency noise so that the derivative will
guarantee the tracking precision. Hence, the desired an- reduce the high frequency noise.
T
gles Hd = (φd , θd , ψd ) are derived. An integral sliding A new control inputs U1x , U1y and U1z are defined as,
mode controller is designed in the attitude subsystem to
calculate the control laws U2 , U3 and U4 which confirms U1x = U1 (cos φ sin θ cos ψ + sin φ sin ψ)
the tracking precision and the integral element helps to U1y = U1 (cos φ sin θ sin ψ − sin φ cos ψ) (6)
U1z = U1 (cos φ cos θ)
assure the system’s stability. The overall control strategy
is exhibited in Fig. 2.
Then the equation of the position subsystem can be writ-
ten as follows,
xd , yd , zd PID with U1 Translational ẍ = U1x /m
Desired derivative
Position filter
Subsystem
x, y , z ÿ = U1y /m (7)
z̈ = U1z − g
d , d , , The desired control inputs for X, Y and Z are given
U2 ,U3,U4
d
ISMC
Rotational , , by
Subsystem R
ẍ = Kpx (xd − x) + Kix R (xd − x) dt + Kdx (ẋd − ẋ)
ÿ = Kpy (y − y) + Kiy (y − y) dt + K (ẏ − ẏ)
z̈ = K (zd − z) + K R (zd − z) dt + K dy (ż d − ż)
pz d iz d dz d
Fig. 2 The control scheme of the quadrotor. (8)
where Kpx , Kpy , Kpz are propositional gains of the PID
3.1 PID with derivative filter controller design for the controller; Kix , Kiy , Kiz are the integral gains of the PID
position subsystem controller; Kdx , Kdy , Kdz are the differential gains of the
Control tracking scheme is designed for the position PID controller. Combining Eq. (3) and Eq. (8) it can be
subsystem, which confirms the tracking error to converge given,
to zero asymptotically. A classical PID controller com- R
prises four parameters and it is a second-order controller m Kpz e + Kiz e + Kdz ė + g
U1 = (9)
but, most of the available techniques are designed only cos φ cos ψ
for three parameters. In this paper, we are using a PID
controller with derivative filter corresponding to a lead- where e = (zd − z) ; ė = (żd − ż).
lag controller in the series form and low-pass filter in the The inverse function combines two equations in Eq.
parallel form. The derivative filter is considered as an in- (8), given rise to the reference value as follows,
stinctive part of the design. N is the bandwidth of the " mẍ #
low-pass filter on the derivative. Use of pure derivative U1 − sin φ sin ψ
θd = arcsin (10)
in PID would amplify measurement noise. Therefore, cos φ cos ψ
in practical implementation, pure derivative should be
avoided and low-pass filter should be used instead. The
block diagram of PID with filter derivative is shown in (ẍm/U1 ) sin ψ − (ÿm/U1 ) cos ψ
φd = arcsin (11)
Fig. 3. The PID structure can be written as in the Laplace U1
Controller 3.2 The Integral Sliding Mode based control for atti-
Kp
+ tude subsystem
Reference + System
Error Ki
1 +
states
s
System The attitude control performance significantly affect
- +
+ the stability of the flight, so it is considered as a vital
Kd N
-
1
quadrotor control. The ISMC has been implemented to
s track the desired attitude angles. The limitation of using
Feedback sliding mode control is in the presence of disturbances
that it is difficult to obtain zero tracking error. To over-
Fig. 3 The PID controller with derivative filter. come this limitation, an ISMC is adopted for attitude con-
domain, trol. The ISMC applied individually for the control of
Ki
Ns
pitch, roll and yaw.
Gc (s) = Kp + + Kd E (s) (5)
s s+N
Let the function of the sliding surface determined as
Implementing the derivative term in the PID controller
can cause an excessive size control input to the plant. To S = ė + Ke (12)
441
where K ∈ R+ , e is the tracking error. Table 1 Quadrotor of the parameters
An integral term action scheme is introduced to the slid- Parameter
m
Description
Mass of quadrotor
Nominal Value
0.65
Units
kg
l Half-length of the quadrotor 0.23 m
ing mode control with a sliding surface along which the g Gravitational 9.81
.
m s2
sliding motion is to occur. This surface is represented by b Thrust force coefficient 3.13 × 10−5 kg.m
d Drag torque coefficient 7.5 × 10−7 kg.m2
S and elucidated as follows: Ix Moment of Inertia about X-axis 7.5 × 10−3 kg.m2
Iy Moment of Inertia about Y-axis 7.5 × 10−3 kg.m2
Zt Iz Moment of Inertia about Z-axis 1.3 × 10−2 kg.m2
Jr Moment of Inertia of the rotor 6 × 10−5 kg.m2
S = ė + ρp e + ρI edτ (13)
0
As of the control of phase angle, its dynamic equation behaviour is shown in Fig. 4. The attitude tracking be-
is haviour is shown in Fig. 5. The simulation results demon-
Iy − Iz Jr l strates that the PID controller with the derivative filter and
φ̈ = θ̇ψ̇ − θ̇Ω + U2 (14)
Ix Ix Ix ISMC are able to stabilize the quadrotor and competent
Let the desired phase angle be φd , and define the error as to proceed to the desired position with the desired yaw
e = φ − φd . Thus, the integral surface is designed as, angle while keeping the pitch angles and roll angles to
zero.
Zt
S = φ̇ − φ̇d + ρ1 e + (ρ2 e)dτ (15)
0
Ṡ = φ̈ − φ̈d + ρ1 ė + ρ2 e (16)
442
Fig. 7 Control inputs U1 , U2 , U3 , U4
443
“Controllability analysis of a quadrotor in hover us-
ing empirical gramians,” AHS International Tech-
nical Meeting, 7th VTOL Unmanned Aircraft Sys-
tems Preliminary Program, Mesa, Arizona, 2017.
[21] R. Naldi, M. Furci, R.G. Sanfelice, and L. Mar-
coni, “Robust global trajectory tracking for under-
actuated VTOL aerial vehicles using inner-outer
loop control paradigms,” IEEE Trans. Autom. Con-
trol, vol. 62, no.1, pp. 97–112, 2017.
[22] H. Xiu, T. Xu, Anthony H. Jones, Guowu Wei, and
L. Ren, “A reconfigurable quadrotor with foldable
rotor arms and a deployed carrier,” Proceedings of
the IEEE Int. Conf. on Robotics and Biomimetics,
Macau SAR, China, December-2017.
[23] A. J. Isaksson, and S. F. Graebe, “Derivative filter is
an integral part of PID design,” IEE Proceedings-
Control Theory and Applications, vol. 149, no.1,
pp. 41–45, 2002.
444