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

Saavedra-Ruiz et al.
Figure 5.
Proposed control strategy attached to the native FCU controllers. The PID controllers block outputs the control signal Ut with _xa; _ya;
whereas the altitude controller outputs uzt
to control the descent of the vehicle.
CONTROL SYSTEM
This section describes the PID-based controller used to
autonomously land our rotorcraft. The IBVS controller
uses the 2D output of the estimation module as a reference
to compute position-velocity control signals to land the
vehicle. These signals are sent to the native positionvelocity
loops implemented in the PX4 flight-stack, which
transforms the positions into speeds and then converts
them into thrust commands for the vehicle's engines, to
guarantee correct control of the aircraft.
PID-BASED CONTROLLER
In order to ensure that the aircraft moves toward the landing
platform and lands on it, a control strategy is required.
Autonomous landing of the vehicle is accomplished by
feeding the position estimates of the template from the
Kalman filter to a set of three PID-based controllers.
The IBVS PIDs will perform all the calculations in the
current image frame. Setting a 2D image-based reference
for the controller, and thus avoiding the need for expensive
3D reconstructions, increases the computational
speed in on-board computers, allowing for real-time control
over the approaches of the vehicle to the landing
pad [15]. High-rate controllers tend to be robust against
sudden image changes, and with the Kalman filter output
as the reference for control, the system is capable of tracking
the landing platform even if it is abruptly moved out
of the camera's field of view.
Our approach uses a set of three PID-based controllers
attached in a cascade in an outer loop, with the two native
controllers already implemented in the Pixhawk flight
stack. The controllers of the flight stack have a standard
cascaded position-velocity loop, in which the outer position
loop transforms the position inputs to velocity outputs
and the velocity outputs are converted in the inner loop
into thrust commands for the vehicle's propellers. The
idea is to transform pixel coordinate errors into velocity
MAY 2022
c_ ,
Algorithm 1. Landing Platform Detector and Tracker
1: Inputs:
H 2 R33 Homography matrix
T 2 R2 Dimensions of the template
2: Initialization of the Kalman Filter:
A 2 R1010, R 2 R55, P 2 R1010,
Q 2 R1010, K 2 R55, S 2 R1010,
H 2 R510, Y 2 R5, X 2 R10
3: Outputs:
X 2 R10 State vector
4: Variables:
Pc 2 R5 Corners and centroid of the template
Z 2 R5 Observations of the template
Ow Width of the template in the image frame
Oh Height of the template in the image frame
u Estimated angle w.r.t X axis
5: for each frame do
6:
7:
for 1; .. . ; 5 do
Pc t computePoint(HH;T; point ¼ i)
8: end for
9: Pc t sortCorners(Pc t)
10: Ow;Oh computeObjectDims(Pct)
11:
12:
13:
14:
u computeAngle(Pc t)
if u > 90 then
unew u=90
u u unew 90
15: end if
16: Z fPc
ði¼5Þ
t ;Ow;Oh; ug
17: // KF Prediction step
18:
Xt AtXt1
19: Pt AtPt1AT
if detection is valid then
20:
21:
22:
23:
26:
// KF Correction step
Yt ZtHtXt
St HtPtHT
24: Kt PtHT
25:
27: end if
28: Xt ^Xt
29:
30: end for
IEEE A&E SYSTEMS MAGAZINE
7
X^tXt þKtYt
Pt ðI10x10KtHtÞ Pt
return Xt
t þQt
t S1
t þRt
t

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