IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 8

Monocular Visual Autonomous Landing System for Quadcopter Drones Using Software in the Loop
commands and to let the inner controllers ofthe flight controller
unit (FCU) handle the thrust.
We use a reference vector for the controllers Sp ¼
2 ; Ih
½Iw
2 ; Ih
2 ; 0T,where Iw
2 represent the center of the current
image frame and zero corresponds to the desired
angle between the aircraft and template measured with
respect to the x-axis of the image. These controllers command
the x; y velocities of the rotorcraft, denoted as
x_a; y_a,
to center the vehicle with respect to the template detected in
the current image frame. The third controller modifies the
yaw rate
c_ of the aircraft in order to align it with the landing
padinthe x-axis. The error vector et 2 R3 ofthe controllers
at time t is given by the following equation:
et ¼ SptXði¼1:3Þ
t
:
(16)
Figure 5 is a simplified representation of the three PIDbased
controllers and an altitude controller with an ON/OFF
strategy to control the descent ofthe UAV. The error vector e
is used to feed the first three controllers and to produce a control
effort Ut 2 R3, which is delivered to the cascade controllers
of the FCU. The output of the three PID controllers is
provided by the vector in (17). Each PID controller was discretized
using trapezoidal integration and derivation
Ut ¼½ _xa; y_a; c_T:
(17)
The ON/OFF altitude controller in Figure 5 starts to land
the aircraft whenever the difference between the height
and width of the template estimates Xði¼4:5Þ
(18). uzt
t
tends to zero
represents the output of the altitude controller,
Zp is the current height in meters of the vehicle, and Zf is
a descent constant. This descent condition guarantees that
the aircraft will land only if the template dimensions form
a square, which is the actual shape of the landing platform
uzt
¼
ZpZf;
Zp;
if jOwOhj < 5
otherwise:
(18)
Acquiring feedback from the vision-based module
closes the visual servoing control loop and allows for the
implementation ofan on-board end-to-end control strategy
for a UAV. Algorithm 2 shows pseudocode for the controller
pipeline for the rotorcraft.
SIMULATION RESULTS
This section describes the experiments carried out to
assess the different modules of the autonomous landing
system using a Gazebo-based simulation. We provide an
open-source implementation ofour system in Github.2
2https://github.com/MikeS96/autonomous_landing_uav
8
Algorithm 2. Landing Controller
1: Inputs:
X 2 R10 State vector
Iw image Width
Ih image Height
2: Initialization:PIDxa 2 R3 PID parameters for x_a
PIDya 2 R3 PID parameters for y_a
PIDc 2 R3 PID parameters for c_
Sp 2 R3 x; y; and u setpoints
Zp initial height of the vehicle
Zf descent factor
3: Outputs:
U 2 R3 PID control efforts
uz ON/OFF altitude controller output
4: for each state vector X do
5:
6:
et SptXði¼1:3Þ
errorSize absðXði¼4Þ
https://github.com/MikeS96/autonomous_landing_uav

IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV

Table of Contents for the Digital Edition of IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV

Contents
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - Contents
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - Cover2
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 1
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 2
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 3
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 4
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 5
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 6
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 7
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 8
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 9
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 10
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 11
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 12
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 13
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 14
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 15
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 16
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 17
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 18
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 19
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 20
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 21
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 22
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 23
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 24
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 25
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 26
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 27
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 28
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 29
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 30
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 31
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 32
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 33
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 34
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 35
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 36
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 37
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 38
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 39
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 40
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 41
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 42
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 43
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 44
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 45
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 46
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 47
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 48
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 49
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 50
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 51
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 52
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 53
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 54
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 55
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 56
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 57
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 58
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 59
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 60
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 61
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 62
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 63
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 64
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 65
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 66
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 67
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 68
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 69
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 70
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 71
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 72
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 73
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 74
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 75
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 76
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 77
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 78
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 79
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 80
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 81
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 82
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 83
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 84
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 85
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 86
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 87
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 88
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 89
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 90
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 91
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 92
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 93
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 94
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 95
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 96
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 97
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 98
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 99
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 100
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 101
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 102
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 103
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - 104
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - Cover3
IEEE - Aerospace and Electronic Systems - May 2022 - Tutorial XV - Cover4
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_july2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_june2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_april2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_february2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_january2023
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_july2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_june2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2022_tutorial
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_april2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_february2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_january2022
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_july2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_june2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_april2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2021_tutorials
https://www.nxtbook.com/nxtbooks/ieee/aerospace_february2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_january2021
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_july2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_june2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_april2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_february2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_january2020
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2019partII
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_july2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_june2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_april2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_may2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_march2019
https://www.nxtbook.com/nxtbooks/ieee/aerospace_december2018
https://www.nxtbook.com/nxtbooks/ieee/aerospace_august2018
https://www.nxtbook.com/nxtbooks/ieee/aerospace_october2018
https://www.nxtbook.com/nxtbooks/ieee/aerospace_september2018
https://www.nxtbook.com/nxtbooks/ieee/aerospace_november2018
https://www.nxtbookmedia.com