Professional Documents
Culture Documents
Jeffrey D. Barton
INTRODUCTION
Small unmanned aircraft systems (UASs) have Leveraging advances in sensor, processing, and bat-
become a mainstay in current military operations, pro- tery technologies over the past decade, small UASs are
viding combat troops and decision makers with vital a combination of sophisticated electronics and hobby
intelligence, surveillance, and reconnaissance (ISR). A remote-controlled (R/C) airplane components. The
UAS, also dubbed an unmanned aerial vehicle (UAV) small UAS airframe might be specially designed or con-
or drone, is a reusable aircraft that typically uses onboard verted from a hobby R/C airplane, and it might use a
sensors and processing to estimate its current kinematic battery-powered electric motor or a gas engine for pow-
state and automatically control its flight. UASs come in ered flight. Typical small fixed-wing UASs, such as those
many different shapes and sizes and have been used in shown in Fig. 1, can be hand-launched or launched with
a variety of military and civilian applications including the assistance of a bungee or pneumatic launch device
ISR, search and rescue, and atmospheric research.1, 2 The and might fly for 20–90 min at flight speeds between 10
purpose of this article is to explore the fundamentals of and 50 m/s. Although capable of flying at much higher
state estimation and flight control on small (<20 lb) fixed- altitudes, small UASs will generally be flown between 30
wing UASs. Although dealing primarily with small fixed- and 400 m above ground level. The purpose of a UAS,
wing aircraft, much of the information discussed in this of course, is to fly a payload, with the most common
article can be applied to other sizes and types of UASs. payload being a fixed or gimbaled video camera. Using
132 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
Pressure sensors
(c)
(b)
134 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
The North–East–Down GPS position and launch point (ALP) as estimated from the barometric
velocities can be written more efficiently in pressure sensor is:
GPS = 6Pn, GPS Pe, GPS –h MSL,GPS@
P ned T
vector form, RTair
h ALP,baro = – ln ^Ps /Ps,launchh + h, (4)
and V nedGPS = 6Vn, GPS Ve, GPS Vd, GPS@ . (Note that
T Mg
vectors in this article are printed with an overbar. The where h represents sensing errors. By using a barometric
superscript provides the coordinate frame in which the pressure measurement, the UAS has a robust and stable
vector is expressed.) The horizontal component of the means of estimating its altitude above the launch point.
GPS velocity vector can also be expressed as a GPS Variations in the local barometric pressure, however,
ground speed (VH,GPS) and course heading (GPS): can change over time and locale. So, if left uncorrected
during lengthy flights, the barometric altitude estimate
VH,GPS = V 2e, GPS + V 2n, GPS , (1a) can drift significantly (e.g., 10 m over an hour). For this
reason, some more advanced autopilots will periodi-
GPS = Tan –1 c V m .
Ve, GPS cally recalibrate the pressure reference using either the
(1b)
n, GPS onboard GPS altitude estimate or a separate static pres-
As a rule of thumb, a standard nondifferential GPS sure sensor at the ground station.
receiver can provide position to an accuracy of 5–10 m A second pressure sensor connected to a pitot tube
at update rates between 1 and 10 Hz and generally has a sticking out into the airstream can be used to measure
response lag on the order of its update rate.7 (If needed, the axial airspeed of the UAS, which is the UAS speed
significantly improved position accuracies can be relative to wind. The total pressure measured through
acquired using a differential GPS system, where the GPS the pitot tube, Ppitot, is the summation of the static pres-
receiver on board the UAS is aided by a nearby stationary sure, Ps, and the dynamic pressure, Pdyn. Dynamic pres-
receiver to better estimate atmospheric signal propagation sure is proportional to air density, , and increases with
effects.) Horizontally, GPS position accuracy is generally the square of the airspeed, Vair:
sufficient for UAS flight control and sensor pointing. Ver- 1 2
Pdyn = Ppitot – Ps = V air . (5)
tically, however, 5–10 m of error is oftentimes undesirable. 2
Moreover, the GPS position accuracy deteriorates as fewer
Thus, the wind-relative airspeed can be estimated
satellites are in view. Thus, to avoid premature flight ter-
by comparing the onboard pitot and static port pressure
mination (i.e., crashing), if the GPS fix is lost, most UASs
use a static pressure sensor to estimate altitude. In this readings as in Eq. 6, where V represents sensing errors:
manner, the UAS’s vertical control system can still main- Vair,pitot = 2 ^Ppitot – Ps h / + V . (6)
tain a safe flight altitude even in the absence of GPS.
crab
bo
bo
dy East
-y BOX 1. DIRECTION COSINE MATRICES
A DCM is an orthonormal matrix representing a rota-
tion from one coordinate frame to another. A DCM
Figure 5. Representation of angular and vector relationships in written in this article as C ba represents a rotation from
the horizontal (East–North) plane. The UAS body-x axis is oriented the a coordinate frame to the b coordinate frame. Thus,
at an angle of (yaw) relative to true north. Similarly, the inertial a vector in the a coordinate frame, v a, can be expressed
velocity vector, Vned , and the wind vector, Vnedw , are oriented at
in the b coordinate frame via premultiplication:
angles x and xw, respectively, relative to true north. Vned air is the
v b = C ba v a . Two important characteristics of DCMs
wind-relative airspeed vector, which is related to the body-x are that rotations can be cascaded (e.g., C ca = C cb C ba )
direction and the inertial velocity vector by sideslip (b) and crab
and that the transpose of a DCM is equivalent to the
reverse coordinate transformation (e.g., C ab = 8C baB ).
T
angle (xcrab), respectively. Finally, magnetic north (Nmag) is devi-
ated from true north by the angle dmag. A common coordinate transformation in this article
is the rotation from the North–East–Down coordinate
In Eq. 7, the inertial velocity components VH and frame to the body x–y–z coordinate frame via the
are measured by GPS as VH,GPS and GPS, respectively. ordered Euler angles yaw (), pitch (), and roll (f). Spe-
Furthermore, the horizontal component of airspeed can cifically, the first rotation is about z, which is denoted
here as Cz(). The second rotation is Cy(), or about y.
be approximated by rotating the pitot-measured axial Finally, the third rotation is Cx(f), or f about x. These
airspeed by a pitch estimate, t : VH,air . Vair,pitot cos t . three single-axis rotations are written as:
(Note that a “hat” denotes an estimated value in this
article.) As a result, Eq. 7 provides an instantaneous 1 0 0
equation relating wind speed and heading (Vw and C x ^f h = >0 cos f sin f H ,
w) with otherwise measured or estimated quantities. 0 – sin f cos f
Although Eq. 7 by itself is underdetermined (one equa-
cos 0 – sin
Cy ^ h = > 0 1 0 H,
tion with two unknowns), a sequence of N temporally
separated realizations can yield N independent equa- sin 0 cos
tions provided that GPS changes sufficiently. Thus,
using a least squares or iterative method, the complete cos sin 0
horizontal wind vector (Vw and w) becomes observable C z ^ h = >– sin cos 0H .
and can be measured whenever the UAS is turning. 0 0 1
136 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
Yaw is not independently observable from either an the specific force measured by an ideal triad of acceler-
IMU or a set of thermopiles. As a result, yaw is generally ometers aligned with body coordinates would measure
estimated using either a magnetometer measurement b b
or by combining an estimate of the wind-induced f = Vo + b # V b – g b , (10)
crab angle with the GPS-sensed course angle. These
common attitude estimation methods are discussed in where V b is the inertial velocity vector in body coor-
b
more detail below. dinates, Vo is the translational acceleration of the
UAS with respect to body coordinates, b # V b is the
rotational (or centripetal) acceleration, and g b is the
Gyros
gravity vector in body coordinates, which acts in the
An IMU-based attitude estimator makes use of gyros downward direction. If a steady-state horizontal turn
and accelerometers to estimate the body attitude.9–12 A is assumed, then the velocity vector is inertially rotat-
gyro, which is also referred to as a gyroscope or gyrocom- ing (hence the centripetal acceleration) but the three
pass, measures the angular rate about a specific axis. An velocity vector components relative to the body frame
IMU-based attitude estimator will generally have a triad are constant, resulting in zero translational acceleration,
of orthogonal gyros to measure the angular rates about b
Vo . Furthermore, the gravity vector has a magnitude of
each body axis. The angular rates about the body axes x, g and can be expressed in body coordinates using pitch
y, and z are denoted x, y, and z, respectively, and are () and roll (f). Thus, in a steady-state turn the specific
combined as the vector b = [x y z]T. The relationship force measured by ideal accelerometers would be:
between body rates and Euler angle rates is given by:
– sin
fo 1 sin f tan cos f tan x V – g > sin cos H.
b b
> o H = >0 cos – sin f H> yH .
f steady state = b# (11)
(8) cos cos
o 0 sin f sec cos f sec z
Using Eq. 11, it can be seen that steady-state esti-
If perfect noise- and bias-free gyros were used and mates of roll and pitch can be derived given an accel-
the initial body orientation were known, the UAS erometer specific force measurement, a gyro body rate
orientation could simply be determined by integrating measurement ( bgyro . b), and an estimate of the iner-
the Euler angle rates as computed from the gyro tial velocity in body coordinates, V b . Unfortunately,
measurements. In practice, however, every gyro has pure accelerometer-based estimates of pitch and roll are
some amount of measurement error. Typically, a small generally not sufficient for a fixed-wing UAS because
UAS will use gyros based on MEMS technology, which they do not capture higher-frequency dynamics. More-
have the advantages of being low power, low weight, over, MEMS-based accelerometers can be rather noisy,
and low cost. The accompanying disadvantages, of further reducing the accuracy of the estimate. Here, the
course, are relatively high levels of measurement noise accelerometer specific force measurement is represented
and biases. Ignoring nonlinear error sources (like scale with biases and noise (nonlinear errors are ignored):
factor), the measurements from the triad of gyros can be
fx, accel Rb + h V
represented as:
= >fy, accelH = f + Sb a + h a W .
a a xW
b b S x
f accel (12)
Rb + V SS y y
WW
fz, accel ba + ha
gyro = > y, gyroH =
x, gyro
S x x W
W, (9) T z
b b + Sb z
+ X
y y
SS WW Fortunately, the low-frequency attitude estimation
z, gyro b +
z z
T X capability of MEMS accelerometers complements the
where the b and h terms are biases and zero-mean noise, high-frequency attitude estimation capability of the
respectively. Directly integrating these gyro-measured MEMS gyros. A number of different algorithmic meth-
body rates will yield significant attitude drift due to the ods have been used successfully to combine these esti-
low-frequency biases. mates, as will be discussed later.
Accelerometers Magnetometer
Pitch and roll drift resulting from gyro biases can Accelerometers can adequately aid the gyro pitch and
be effectively mitigated with the aid of accelerometers. roll estimates, but they provide no observability of the
Accelerometers measure what is referred to as specific body yaw angle. The most direct method for estimating
b
force ( f ), which is actually the total acceleration rela- the body yaw angle is to use a magnetometer. Both 2-D
tive to free fall. Assuming that the IMU is near the UAS and 3-D MEMS-based magnetometers are available for
center of gravity and neglecting Earth rotation effects, small UASs, but 3-D magnetometers provide observabil-
ity of the local magnetic field pointing vector regardless in both the GPS measurement and the wind estimate,
of vehicle orientation. The magnetic declination (dmag), windCorrected will generally lag the true yaw angle :
which is the bearing difference between true north and
magnetic north (see Fig. 5), can be determined at the Vn – Vw cos w
UAS position using available databases (see Ref. 13 for V ned
air =V ned
– V ned
w = > Ve – Vw sin w H , (16)
an online magnetic declination model). Assuming proper Vd – 0
magnetometer calibration, a 3-D magnetometer provides
a unit-vector measurement, 6M x M y M z@T, of magnetic
crab . GPS – Tan –1 c V m ,
Ve, GPS – Vw sin w
north in body coordinates, as in Eq. 13, where bM rep- (17)
n, GPS – Vw cos w
resents measurement errors. Solving Eq. 13 for , a mag-
netometer-based estimate of yaw (mag) can be formed as
in Eq. 14. (Note that mag is a measure of the total yaw windCorrected = GPS – crab . (18)
angle from true north, as opposed to magnetic north.)
As discussed above, the UAS yaw angle () can
Mx 1
>MyH = Cned Cz ^–d magh>0H + bM .
b be directly measured if a magnetometer is available
(13) ( mag), or it can be estimated if an axial pitot tube is
Mz 0 available ( windCorrected). As will be shown shortly,
this yaw estimate can be used directly, or it can be used
mag = Tan –1c M m + d mag. (14)
–My cos f + Mz sin f as a stable low-frequency complement to the biased
x cos + ^ M y sin f + M z cos f h sin angular rate gyro measurements. If neither a magne-
tometer nor a pitot tube is available on the UAS, yaw
In reality, the magnetic field measured aboard a UAS can be grossly estimated simply as the inertial course
is heavily influenced by local perturbations generated angle provided by GPS, GPS. Doing so, however,
from the avionics, particularly from an electric propul- will degrade flight performance in significant winds and
sion system. As a result, many small UAS developers will may limit the ability of an operator to geolocate a target
forego the use of a magnetometer completely. If a magne- as viewed by an onboard camera.
tometer is used, it must be carefully positioned far from
onboard electromagnetic devices, which can be difficult Thermopiles
on a smaller platform. Even then, a magnetometer cali-
IMU-based navigators on UASs using MEMS sensors
bration process is needed to estimate and remove any
have been proven reliable but at the cost of algorithmic
significant scale factors and offsets in the magnetometer
complexity. A simpler, yet still effective, method used in
unit vector measurement.14
some low-cost UASs is to directly measure pitch and roll
angles using horizon-sensing thermopiles.4, 5, 15 A ther-
Yaw Estimation mopile, as commonly used on UASs, is a heat-radiation
If the relatively direct measurement of body yaw angle measurement device sensing wavelengths from 5.5 to
from a magnetometer is not available, the UAS must use 14.5 mm. In essence, a single thermopile directionally
a less direct estimation means. As shown in the horizon- measures the average near-field and far-field tempera-
tal representation in Fig. 5 and provided in Eq. 15, the tures over a large field of view (e.g., 90º). Noting that
true body yaw angle can be expressed as a combination the sky temperature is generally less than the ground
of inertial velocity vector course (), aerodynamic side- temperature, two diametrically opposed thermopiles ori-
slip (b), and the wind-induced crab angle (crab): ented vertically will measure the temperature difference
between the sky and the ground. In the same manner, if
= – crab – b . (15) a UAS has a thermopile oriented out toward each wing,
as shown in Fig. 6, the wing pointed more toward the sky
An inertial velocity vector course measurement is will yield a lower temperature. After scaling this temper-
provided by the GPS receiver as GPS (see Eq. 1b). Fur- ature difference by the total ground-to-sky temperature
thermore, aerodynamic sideslip for predominantly left– difference, the result is roughly proportional to the roll
right axisymmetric UAS airframes can be assumed to angle, f. In this manner, a UAS with two pairs of dia-
be negligible (b 0), although its magnitude is heavily metrically opposed thermopiles in the body x–y plane
dependent on the airframe design and lateral dynamics. can estimate roll, fIR, and pitch, IR, by measuring the
Thus, recognizing the wind triangle vector relationship scaled temperature differences between the thermopiles.
in Eq. 16 and assuming that estimates of the horizontal A third pair of thermopiles along the body z axis can
wind magnitude (Vw) and direction (w) are available, be used to provide the total ground-to-sky temperature
then the crab angle can be approximated as in Eq. 17, difference for scaling. (Otherwise, a preflight calibration
and a resulting body yaw estimate, windCorrected, can be process is necessary.) Although not generally as accurate
determined as in Eq. 18.8 Because of the inherent filtering as an IMU-based attitude estimator, thermopiles are a
138 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
be a direct measurement of
yaw from a magnetometer x, y, z
(ref = mag), a gross esti-
b
gyro
mate using the GPS course AHRS Gyros
(ref = xGPS), or a crab- b [VH,GPS 0 0]T, or fb
V = accel
angle-corrected GPS course State , ,
ref
[Vpitot 0 0]T, e.g. Accelerometers
(ref = windCorrected). The estimates
mag
low-bandwidth pitch and mag, or Magnetometer
ref = GPS, or
roll observations used for
windCorrected
bias estimation are provided
by using the accelerometers Pn,P e,Vn,Ve
GPS
to estimate the IMU ori- PGPS
ned
, V ned
GPS
generate attitude state esti- nonlinear relationships necessary to implement an AHRS EKF is:
mates ^ft , t , t h . A tradi- R to V R VV
tional approach is to use S W RS 1 sin t tan t cos t tan t S bt WW
x, gyro –
W >0 – sin t H S
an extended Kalman filter S to W S S
x
t WW
S cos t y, gyro – b yWW
(EKF) to estimate a set of S to W SS 0 sin t sec t t
cos sec SSt t WW ,
time-evolving states xt based d t S o W=S z, gyro – b z WW
(20)
dt x = S bt W T XW
on multiple observations, S 0
z, of those states over time. S o xW S W
t
Sb yW S 0
To implement an EKF, it is WW
So W S 0
imperative to mathematically S bt W T X
z
model both the dynamics of T X
xt and the measurements z,
as in Eq. 19: Rf V RR – bt
V V
S x, accel W SS SS x, gyro W – sin t W
# V bref – g > sin t cos t HW
x
W W
d
xt = f ^xt , ...h + w^ t h , (19a)
S fy, accel W S S y, gyro – bt yW
dt z = Sf W = SS . (21)
z , accel t W cos t cos t W
S W S S z , gyro – b W W
S W ST z
X WW
z = h ^xt , ...h + r^ t h . (19b) T ref X ST t
X
The functions f ^xt , ...h An experienced designer can use the relationships in Eq. 20 and Eq. 21, along
and h ^xt , ...h are the nonlin- with expected measurement noise and vehicle dynamic characteristics, to implement
140 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
{
estimates the vehicle atti- gbref b
faccel
+ Estimate
tude and gyro biases. Some Integrate + Compensator: Generate
de-biased error vector to attitude gravity b
gyro
advantages of using an EKF eb
body rates bias estimates error vector b
Vref
are that a designer can use b
x
available information, like b
y
ref
expected measurement noise b
z
levels, to provide a more
robust solution, and that the
EKF inherently provides a
measure of state-estimation Figure 9. An AHRS feedback controller estimates the body orientation by fusing high-band-
error, provided the estimate width gyro angular rate measurements with low-bandwidth attitude references. The yaw refer-
converges. Some disadvan- ence comes from a magnetometer or a GPS course-based estimate. Pitch and roll references are
tages of using an EKF are acquired from an estimate of the gravity vector via centripetally corrected accelerometer mea-
that it is (relatively) com- surements. Essentially, this feedback controller uses a compensator to estimate the gyro biases
putationally complex; it by regulating the error between the estimated orientation and the orientation expressed by the
requires some a priori knowl- low-bandwidth attitude references.
edge of sensor error charac-
teristics; and it can appear Down directions would align with those observed from a yaw reference (ref) and a
algorithmically daunting for body-frame gravity vector reference ( g b ). The gravity vector reference is derived
an inexperienced designer. ref
from the centripetally corrected accelerometer measurements:
Note that Euler angles were
b
used in this EKF representa- g bref = bgyro # V bref – f accel (22)
tion because they are intui-
tively appealing. A similar
EKF derived with quaterni- Using vector geometry and Fig. 10, the error e b can be expressed as in Eq. 23d,
ons would be more robust which is formed using the current attitude estimates ( ft , t , t ) and the gravity and
(see MATLAB code). In yaw references.
particular, it would avoid the
t b = C ^ft h C ^t h C ^t h
C (23a)
previously described Euler ned x y z
angle singularity problem as
pitch approaches 90º. Note
also that if a 3-D magnetom- 1 1
eter is used, the measurement e b = f C x ^ft h C y ^t h C z ^ ref h>0Hp # f C
t b >0H p
ned (23b)
expressed in Eq. 21 could 0 0
alternatively use the raw
magnetometer unit-vector 0
p # f Ct bned >0H p
gb
measurement as in Eq. 13. e bg = f ref
(23c)
A computationally sim- gb
ref 1
pler alternative to an EKF
for the AHRS algorithms
in Fig. 8 is to use a feedback
e b = e b + e bg (23d)
controller to correct for gyro
drift.4, 10, 11 In the AHRS
feedback controller shown In Eq. 23, e b is the rotation vector expressed in body coordinates between the
in Fig. 9, a compensator, observed North direction defined by ref and the AHRS-estimated North direc-
typically based on propor- tion. (Note that the cross product, ×, between two vectors yields a vector orthogo-
tional–integral control, is nal to both with a magnitude proportional to the sine of the angle between them.)
used to estimate gyro biases Similarly, e bg is the rotation vector in body coordinates between the centripetally
based on a body-frame atti- corrected gravity direction (Down) estimated from the accelerometers and the
tude error vector, e b . e b AHRS-estimated Down direction. As a result, the combined error vector e b
is derived by noting that if expresses the angular error and rotation axis between the observed (or reference)
the output attitude estimate North–East–Down coordinate frame and the AHRS-estimated North–East–Down
were correct and other error coordinate frame. This feedback error vector is filtered via a compensator to gen-
erate the estimated gyro biases, 8bt bt bt B . Using these estimated biases, the
T
sources were negligible, then
x y z
the estimated North and de-biased gyro measurements are converted to Euler angle rates, as in Eq. 8, and
egb
Observed North direction:
1
Observed gravity direction: Cx()Cy()Cz(ref) 0
gref
b 0
gref
b
Figure 10. In the AHRS feedback controller, the body-frame attitude error vector, eb, is
formed from the summation of the gravity error vector, egb , and the yaw error vector, eb .
Note that each error vector is perpendicular to both the observed and estimated vector
directions. The shaded regions represent the angular difference between the observed
and estimated vectors.
integrated to form the attitude estimates. As with the EKF description, this feed-
back controller AHRS algorithm was described using Euler angles merely because of
their intuitive appeal. The attitude states could be similarly integrated as either qua-
ternions or a DCM for increased robustness at all orientations (see MATLAB code).
As an aside, the feedback controller in Fig. 9 is actually a classical complementary
filter11 that combines the low-bandwidth attitudes derived from the reference inputs
with the high-bandwidth attitudes integrated from the gyros. If a proportional–
integral controller is used, the integral gain determines the crossover frequency, and
the proportional gain trades the damping and high-frequency noise suppression. In
practice, separate proportional–integral gains for e b and e bg compensators might
be used to account for the differing bandwidth characteristics of the magnetometer
and accelerometers.
142 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
flow sensors, scanning laser rangefinders, active acous- ing altitude and speed commands. The vast majority
tic arrays, and radio frequency receivers for positioning of small UASs use classical control methods wherein
using non-GPS signals. The primary motivations behind a flight command (e.g., a desired airspeed) is achieved
the development of these other sensor technologies are by automatically adjusting a control signal (e.g., throt-
navigating in cluttered and/or GPS-denied environ- tle) to minimize the feedback error between the flight
ments and autonomous sensing-and-avoidance of other command and the achieved value. The most common
air vehicles and obstacles. method is proportional–integral–derivative (PID) con-
trol, where the control signal is formed as a linear com-
bination of the feedback error, the integral of that error,
FLIGHT CONTROL and the derivative of that error. Oftentimes, PID control
Referring back to Fig. 3, the UAS flight control algo- might be combined with a feed-forward component and
rithms compare flight commands with state estimates an expected “trim” value. As an example, Fig. 12 shows
and generate flight control channel commands. The a possible implementation of controlling airspeed using
four flight control channels typically discussed on an air throttle. Desired response characteristics, such as a suit-
vehicle are throttle, elevator, aileron, and rudder, though able response time and minimal airspeed oscillations,
not every air vehicle will use all channels. The throttle can be achieved by adjusting (or “tuning”) the scalar
channel (T) modulates the thrust (via propeller speed PID gains KP, KI, and KD. To speed up the response to
for example) and hence affects translational force. The airspeed command changes, the feedback PID control
elevator (dE), aileron (dA), and rudder (dR) channels, as in the example is further augmented with a “trim” or
shown in Fig. 4, affect pitching, rolling, and yawing rota- steady-state throttle value and a feed-forward gain, KFF,
tional moments, respectively. The specific combination directly from the airspeed. The resulting control signal is
of motor and moveable surface commands that enact then limited to achievable throttle values. Note that KP,
these channel commands depends on the air vehicle. KI, KD, and KFF are all scalar gains, though some auto-
Most fixed-wing small UAS airframes fly via coordi- pilots might use gain scheduling where the gains change
nated turns, wherein the air vehicle turns by rolling. As in different flight modes or regimes. Similar methods are
such, many fixed-wing UASs stabilize and steer purely often used in all of the lateral and longitudinal control
using the elevator and aileron channels. For example, the components described in the following sections.
flying wing airframe in Fig. 1 has only two moveable aero-
dynamic surfaces, one on each wing. Elevator commands
(dE) are achieved by moving both surfaces up or down Lateral Flight Control
in conjunction. Aileron commands (dA) are achieved Lateral trajectory commands are provided to the
by moving the two surfaces in opposite directions, one autopilot as desired trajectory segments such as a com-
up and one down. Control of the rudder channel (dR) bination of waypoint-defined paths to follow and desired
is not explicitly necessary on this airframe because the loiter circles. As shown in Fig. 13, a UAS will typically
fixed vertical stabilizers at the wing tips induce a sta- either fly directly toward each waypoint or use control
bilizing yawing moment. Other fixed-wing airframes, logic to minimize the crosstrack position and heading
such as the Raven in Fig. 1, use a horizontal surface for error along the waypoint-defined trajectory. Figure 14
elevator control and a vertical
rudder surface for horizontal
steering. This rudder motion
induces a yawing moment,
which tends to tip the wing KFF
Feedforward TTrim
in the turn direction, thus
achieving coordinated turns KP
and roll control via a rudder. Airspeed Feedback 100% Throttle
error Tcmd command
As described, roll control can command dt KI
Vair,cmd
be achieved using either the
d 0%
aileron channel or the rudder Vair
KD
dt
channel, depending on the
aircraft design. PID control
The flight control algo-
rithms are typically decoupled State estimates
into lateral control algorithms
for achieving route or steering Figure 12. Airspeed to throttle control (example). Classical feedback control methods are often
commands and longitudinal used in small UAS flight control. As an example, this figure shows an augmented PID compensa-
control algorithms for achiev- tor controlling throttle to achieve a desired airspeed.
144 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
CT
Wind Wind
vector vector
cmd
Waypoint cmd Waypoint
Loiter Loiter
Waypoint Waypoint
Figure 13. A lateral trajectory for a UAS is generally specified by a sequence of waypoints and possibly loiter circles, where the UAS
might be commanded to either fly directly toward each waypoint (a) or fly along the trajectory segment between each waypoint (b).
When the UAS is commanded to fly directly toward each waypoint, the course command (cmd) is simply the bearing to the next way-
point. When the UAS is commanded to fly along the trajectory, the course command is a function of crosstrack error (CT ) and heading
error (x). Analogous methods can be used to achieve a desired flight around a loiter circle. Regardless of the method, small UAS flight
trajectories can be heavily influenced by winds.
shows a block diagram representing typical lateral con- Most autopilots will also have a remote piloting mode
trol algorithms in a small UAS. The horizontal trajec- during which a user can directly command either head-
tory control algorithms convert trajectory errors (e.g., ing (cmd) or roll (fcmd) from a remote control device
bearing-to-waypoint and crosstrack errors) into a head- at the ground control station. In this mode, altitude and
ing command (cmd). This heading command is in turn airspeed are automatically maintained with the closed-
compared with the estimated UAS heading ( t ) to gener- loop longitudinal algorithms. Remotely piloting a UAS
ate a roll command (fcmd). The roll command feeds the is often the most effective manner of achieving a certain
horizontal stability control algorithms, which generate ISR mission objective, at the cost of requiring continuous
aileron (dA,cmd) or rudder (dR,cmd) commands using roll operator attention and uninterrupted communications.
( ft ) and possibly roll-rate ( t x ) feedback. The described
lateral control structure provides a method for autono-
mous waypoint and loiter navigation. Given a sequence Longitudinal Flight Control
of waypoint and loiter commands, the UAS will auto- In longitudinal control, the combination of elevator
matically control its flight to achieve the desired route. and throttle are used to control altitude and airspeed. In
a simple autopilot, the control
algorithms for altitude and
airspeed may be decoupled,
Trajectory control Stability control
Waypoints though they are certainly
and loiter
Trajectory cmd Heading cmd Roll to A,cmd coupled in the airframe response.
commands
to to aileron/ or Specifically, a change in altitude
heading roll rudder R,cmd at a fixed throttle command
= atan2(Ve,Vn) ,x
will induce a change in airspeed
Pn,P e,Vn,Ve
because of the conservation of
State estimates energy. Similarly, a change in
airspeed at a fixed pitch angle will
Figure 14. Lateral flight control uses state estimate feedbacks to convert waypoint and loiter induce a change in height because
commands into aileron or rudder commands. The inner-loop stability control portion achieves the amount of lift produced
the desired roll angle using the control surface commands. The outer trajectory control por- by the wings changes with
tion derives a course command and subsequently a roll command to achieve the desired tra- airspeed. Figures 15 and 16 show
jectory. (Note: this figure assumes that the UAS flies via coordinated turns, which is generally two typical implementations of
the case for a fixed-wing UAS.) simple longitudinal flight control
146 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
Descent: Climb:
Throttle controls altitude, Throttle controls altitude,
pitch controls airspeed. pitch controls airspeed.
Altitude hold:
Pitch controls altitude,
throttle controls airspeed.
Figure 17. Longitudinal flight control encompasses achieving both a desired altitude and airspeed, and some autopilots switch longitu-
dinal control methods during different phases of flight. For example, during climbs and descents an autopilot may use throttle to control
altitude and pitch to control airspeed. Similarly, pitch might control altitude and throttle might control airspeed during altitude holds.
The figure also represents takeoff and a variety of landing modes.
weight, and required flight speed. Many small airframes net. In a deep-stall landing,20 the throttle is cut and the
with a sufficiently slow stall speed can be hand-launched elevator is quickly deflected upward and maintained at
by a single operator. Other airframes might require a high angle (e.g., 45º), thus causing a suitable aircraft
a takeoff airstrip, a bungee launcher, or a pneumatic to achieve a steady angle-of-attack much higher than
launch device in order to achieve the requisite airspeed. the stall angle-of-attack. (Angle-of-attack is the angle
Once the UAS is airborne with an airspeed above the between the airframe and the wind-relative velocity
stall speed of the aircraft, the takeoff flight control algo- vector, and it largely dictates the resulting aerodynamic
rithms are generally some variation of regulating roll, lift and drag forces.) Although the flow about the UAS
controlling pitch to a desired ascent pitch profile, and wing becomes unstable near the stall angle, it does
setting throttle to a fixed high value (e.g., maximum). recover stable airflow at angles-of-attack well above the
Provided sufficient thrust and pitch, the UAS will then stall angle. Moreover, the aircraft has notably increased
ascend until a threshold altitude is reached. Upon reach- drag at this stable, high angle-of-attack condition, thus
ing the threshold altitude, the UAS transitions to the allowing horizontal speed to be arrested quickly. The
lateral and longitudinal flight logic described above. result is a trimmed descent at a very high glide-slope
Taking off into the prevailing wind is always desirable angle, allowing the UAS to be landed in a confined area
and is sometimes quite necessary in order to exceed the with vertical obstructions that would have prevented a
stall speed of the aircraft. controlled glide-slope landing. Of note, the Raven UAS
from Fig. 1 uses a deep-stall landing and is designed to
Landing intentionally break apart into its separate components
upon impact to reduce the landing shock.
As shown in Fig. 17, automatic landing for a small
UAS can be achieved via a parachute, a controlled glide
slope, or a deep stall. A parachute landing can gener- Fail-Safes
ally provide safe and reliable recoveries, assuming proper As a final component of flight control, UAS auto-
parachute packing by the operator, but at the expense pilots often include a set of user-configurable fail-safes
of horizontal landing accuracy in higher winds and that are automatically enacted in certain situations. For
from higher altitudes. A controlled glide slope can be example, the UAS might automatically enter a “Return
achieved by regulating roll, controlling airspeed via To Launch Point” mode if it exceeds a specified distance
pitch, and using throttle to achieve a desired altitude from the launch point, communications are lost, or the
profile. Using an altitude estimate, operator input, or battery voltage falls below a certain threshold. If GPS
a height-above-ground sensor to flare (pitch up) imme- signals are lost or degraded and the UAS can no longer
diately before ground impact is desirable. Many small determine its location, it will usually enter an altitude
UASs do not have a landing gear (wheels) and thus hold and constant roll mode until GPS is (hopefully)
might glide to a belly landing, preferably into the wind restored. Finally, if the battery voltage falls below some
and on a soft surface such as grass. Other UASs perform critical threshold, the UAS might immediately enter an
a controlled glide into a capture mechanism such as a automatic landing mode.
148 JOHNS HOPKINS APL TECHNICAL DIGEST, VOLUME 31, NUMBER 2 (2012)
FUNDAMENTALS OF SMALL UAS FLIGHT
SUMMARY 9Bryson, M., and Sukkarieh, S., “Vehicle Model-Aided Inertial Navi-
gation for a UAV Using Low-Cost Sensors,” in Proc. Australasian
The key objective of this article was to describe the Conf. on Robotics and Automation, Canberra, Australia, http://www.
fundamentals of state estimation and control for small araa.asn.au/acra/acra2004/papers/bryson.pdf (2004).
10Premerlani, W., and Bizard, P., “Direction Cosine Matrix
fixed-wing UASs. Proper state estimation is of critical IMU: Theory,” http://gentlenav.googlecode.com/files/DCMDraft2.pdf
importance on a UAS because it provides the feedback (accessed 24 Sept 2012).
11Euston, M., Coote, P., Mahony, R., Kim, J., and Hamel, T., “A Com-
used in all UAS flight and payload control routines.
plementary Filter for Attitude Estimation of a Fixed-Wing UAV,”
By comparing trajectory commands with the current in Proc. International Conf. on Intelligent Robots and Systems, Nice,
state estimates, the UAS autopilot uses flight control France, pp. 340–345 (2008).
12Kingston, D., Beard, R., McLain, T., Larsen, M., and Ren, W., “Auton-
algorithms to convert trajectory commands such as
omous Vehicle Technologies for Small Fixed Wing UAVs,” in Proc.
altitude, speed, and the desired route into aerodynamic 2nd AIAA “Unmanned Unlimited” Conf. and Workshop and Exhibit,
surface and throttle commands. Most UASs in use today San Diego, CA, paper AIAA-2003-6559 (2003).
13National Oceanic and Atmospheric Administration, NOAA’s Geo-
require a human operator to interpret mission objectives
physical Data Center—Geomagnetism, http://www.ngdc.noaa.gov/
into trajectory commands and modify those commands geomag-web/#declination (accessed 24 Sept 2012).
as new information becomes available. In contrast, 14Beard, R. W., and McLain, T. W., “Navigation and Control Tech-
current research at APL and other organizations is nologies for Autonomous Micro Vehicles,” Brigham Young
University Technical Report, http://hdl.lib.byu.edu/1877/65
enabling full mission autonomy by closing the mission (25 Aug 2005).
control loop with algorithms that automatically generate 15Taylor, B., Bil, C., and Watkins, S., “Horizon Sensing Attitude
new flight commands for one or more vehicles on the Stabilization: A VMC Autopilot,” in Proc. 18th International UAV
Systems Conf., Bristol, UK, www.ctie.monash.edu.au/hargrave/
basis of observations of the evolving scenario. Using horizon_sensing_autopilot.pdf (2003).
automatic mission control algorithms reduces operator 16Brisset, P., Drouin, A., Gorraz, M., Huard, P.-S., and Tyler, J.,
workload, improves vehicle reaction time to evolving “The Paparazzi Solution,” in Proc. 2nd US-European Competition
and Workshop on Micro Air Vehicles, Sandestin, FL, pp. 1–15,
scenarios, and in the decentralized case, increases www.recherche.enac.fr/paparazzi/papers_2006/mav06_paparazzi.pdf
robustness to communications dropouts. (2007).
17Brown, R. H., and Hwang, P. Y. C., Introduction to Random Signals and
REFERENCES Applied Kalman Filtering, 2nd Ed., John Wiley and Sons, New York
(2001).
1Cai, G., Lum, K.-Y., Chen, B. M., and Lee, T. H., “A Brief Overview 18Eldredge, A. M., “Improved State Estimation for Miniature Air Vehi-
on Miniature Fixed-Wing Unmanned Aerial Vehicles,” in Proc. 8th cles,” master’s thesis, Brigham Young University, Provo, UT (2006).
IEEE International Conf. on Control and Automation, Xiamen, China, 19Christophersen, H. B., Pickell, R. W., Neidhoefer, J. C., Koller, A. A.,
pp. 285–290 (2010). Kannan, S. K., and Johnson, E. N., “A Compact Guidance, Naviga-
2Reuder, J., Brisset, P., Jonassen, M., Müller, M., and Mayer, S.,
tion, and Control System for Unmanned Aerial Vehicles,” J. Aerosp.
“SUMO: A Small Unmanned Meteorological Observer for Atmo- Comput. Inf. Commun. 3(5), 187–213 (2006).
spheric Boundary Layer Research,” Proc. IOP Conf. Ser.: Earth Envi- 20Taniguchi, H., “Analysis of Deepstall Landing for UAV,” in Proc. 26th
ron. Sci. 1, paper 012014 (2008). International Congress of the Aeronautical Sciences, Anchorage, AK,
3Chao, H., Cao, Y., and Chen, Y., “Autopilots for Small Unmanned
pp. 1–6 (2008).
Aerial Vehicles: A Survey,” Int. J. Control Autom. Syst. 8(1), 36–44 21Newman, A. J., Martin, S. R., DeSena, J. T., Clarke, J. C., McDer-
(2010). ment, J. W., Preissler, W. O., and Peterson, C. K., “Receding Hori-
4DIY Drones website, www.diydrones.com (accessed 24 Sept 2012).
zon Controller Using Particle Swarm Optimization for Closed Loop
5Paparazzi website, paparazzi.enac.fr (accessed 24 Sept 2012).
Ground Target Surveillance and Tracking,” in Signal Processing,
6Gluonpilot website, www.gluonpilot.com (accessed 24 Sept 2012).
Sensor Fusion, and Target Recognition XVIII, Proc. of SPIE, Vol. 7336,
7Stombaugh, T., McLaren, D., and Koostra, B., “The Global Position-
I. Kadar (ed.), SPIE, Bellingham, WA, pp. 73360M-1–73360M-12
ing System,” University of Kentucky Cooperative Extension Circular (2009).
AEN-88 (2005). 22Chalmers, R. W., Scheidt, D. H., Neighoff, T. M., Witwicki, S. J., and
8Barber, B., “Accurate Target Geolocation and Vision-Based Landing
Bamberger, R. J., “Cooperating Unmanned Vehicles,” in Proc. AIAA
with Application to Search and Engage Missions for Miniature Air 1st Intelligent Systems Technical Conf., Chicago, IL, paper AIAA 2004-
Vehicles,” master’s thesis, Brigham Young University, Provo, UT (2007). 6252 (2004).
The Author
Jeffrey D. Barton is a member of APL’s Senior Professional Staff and has extensive professional experience with guidance and control of air
vehicles, including missiles, aerial targets, and UAVs. During the previous 7 years, Mr. Barton has successfully crashed small UAVs in eight
states and in environments as diverse as bear-infested mountains and tarantula-infested deserts. Thus far, he has managed to walk away from
each incident unharmed. His e-mail address is jeffrey.barton@jhuapl.edu.
The Johns Hopkins APL Technical Digest can be accessed electronically at www.jhuapl.edu/techdigest.