Flight patterns and target tracking
UAT 454 UAS for Surveillance, Monitoring and Security
Lesson
By the end of this module you will be able to
- Choose surveillance flight patterns to suit the area and requirements
- Compute swath width and the time needed to sweep an area
- Compute bank angle, period, camera depression and slant range for an orbit
- Explain and use an alpha-beta filter to track a moving target that is briefly hidden
Why this matters
The requirements in module 1 say what must be seen and how often; the flight pattern is how it gets done. The wrong pattern wastes flight time on unimportant ground, or misses the place that matters at the moment it matters. Once a target is found, the mission changes from searching to tracking, which means controlling both the aircraft and the camera to keep the target centred.
Four surveillance flight patterns
| Pattern | Suits | Limitation |
|---|---|---|
| Route patrol | Linear features such as ridges, roads and firebreaks | Sees only the line flown |
| Area sweep | Seeing every part of an area | Slow, with long revisit times |
| Orbit or loiter | Watching one point continuously, such as a fire already found | Sees nothing else while orbiting |
| Perimeter | Watching a boundary, such as the park edge | Does not see the interior |
Real missions combine them: patrol the ridge, switch to an orbit on finding a hotspot to confirm and track it, then rejoin the route. Every change of pattern must stay within the approved area and conditions.
Swath width and sweep time
With the camera looking straight down, the swath on the ground is . A 640-pixel thermal camera with 12 µm pixels and a 13 mm lens has a horizontal field of view of .
Example 1 Can the whole area be swept, and how to orbit a point?
Height 120 m, speed 18 m/s, an 8 × 5 km area with 20% swath overlap, then an orbit of radius 300 m around a hotspot.
import math
# thermal camera, 640 pixels, 12 micron pitch, 13 mm lens
px, pitch, f = 640, 12e-6, 0.013
h, speed = 120, 18 # height (m), speed (m/s)
area_w, area_l, overlap = 5000, 8000, 0.20
hfov = 2 * math.atan(px * pitch / 2 / f)
swath = 2 * h * math.tan(hfov / 2)
lines = math.ceil(area_w / (swath * (1 - overlap)))
hours = lines * area_l / speed / 3600
print(f"HFOV {math.degrees(hfov):.1f} deg, swath {swath:.1f} m")
print(f"sweep: {lines} lines x 8 km = {lines * 8} km, {hours:.1f} h")
# orbit a hotspot at 300 m radius
R, g = 300, 9.81
bank = math.degrees(math.atan(speed**2 / (g * R)))
print(f"orbit R={R} m: bank {bank:.1f} deg, period {2 * math.pi * R / speed:.1f} s")
print(f"depression {math.degrees(math.atan(h / R)):.1f} deg, slant range {math.hypot(h, R):.1f} m")
HFOV 32.9 deg, swath 70.9 m
sweep: 89 lines x 8 km = 712 km, 11.0 h
orbit R=300 m: bank 6.3 deg, period 104.7 s
depression 21.8 deg, slant range 323.1 m
The swath is only 70.9 m, needing 89 lines totalling 712 km, or 11 hours, far beyond the 30-minute revisit requirement. A full sweep suits a one-off survey only; surveillance must fly the risk lines and tilt the camera to look far so that both sides of the ridge are covered.
The 300 m orbit needs only 6.3° of bank and takes 104.7 seconds per circuit. The camera looks down at 21.8° at a slant range of 323.1 m, which module 3 uses.
The bank angle follows from . A smaller radius or higher speed increases the bank, the image swings and the gimbal has to compensate more. The orbit radius is therefore a trade-off between view (closer is clearer) and stability and noise for people below.
Target tracking
Tracking has two layers. In the image layer, a tracker finds the target in each frame. In the control layer, the system points the camera to keep the target centred and adjusts the flight path so the target does not leave the frame. The main problem is brief occlusion, such as a vehicle driving under tree canopy. The tracker must predict where the target is likely to be so it can reacquire it when it reappears.
The alpha-beta filter is a simple form of the Kalman filter idea (Kalman, 1960). Each step predicts position with the previous velocity, , then corrects with the residual between measurement and prediction:
Large and follow measurements quickly but react to noise; small values are smooth but lag. Welch and Bishop (2004) explain that the Kalman filter computes these weights automatically from the uncertainty of the model and the measurements.
Example 2 Tracking a fire truck that drives under the canopy
The centre asks the drone to follow the rangers’ own fire truck heading to a fire, to guide it through forest junctions. The tracker reports position along the road every second; from second 6 to 8 the truck is hidden by canopy.
# fire-truck position along the road from the video tracker (m) every 1 s; None = hidden by canopy
z = [0.0, 8.6, 15.8, 24.9, 32.1, 40.3, None, None, None, 72.4, 79.6, 88.3]
alpha, beta, dt = 0.5, 0.2, 1.0
x, v = z[0], 0.0
for k in range(1, len(z)):
x_pred = x + v * dt # predict with constant velocity
if z[k] is None:
x = x_pred # no image: use the prediction
tag = "predicted"
else:
r = z[k] - x_pred # residual between measurement and prediction
x = x_pred + alpha * r
v = v + beta * r / dt
tag = "measured"
print(f"t={k:2d} s x={x:6.1f} m v={v:4.1f} m/s {tag}")
t= 1 s x= 4.3 m v= 1.7 m/s measured
t= 2 s x= 10.9 m v= 3.7 m/s measured
t= 3 s x= 19.7 m v= 5.7 m/s measured
t= 4 s x= 28.8 m v= 7.1 m/s measured
t= 5 s x= 38.1 m v= 8.0 m/s measured
t= 6 s x= 46.0 m v= 8.0 m/s predicted
t= 7 s x= 54.0 m v= 8.0 m/s predicted
t= 8 s x= 61.9 m v= 8.0 m/s predicted
t= 9 s x= 71.1 m v= 8.5 m/s measured
t=10 s x= 79.6 m v= 8.5 m/s measured
t=11 s x= 88.2 m v= 8.5 m/s measured
The filter starts from zero velocity, so it takes about 5 seconds to estimate a speed near 8 m/s. While the truck is hidden, predictions are used. When it reappears at second 9, the measured 72.4 m is only 2.5 m from the prediction (61.9 + 8.0 = 69.9 m), so the tracker reacquires the same truck without confusing it with another object.
Choosing which target to track is the operator’s decision, not the software’s. This example tracks the agency’s own vehicle for safety. Tracking members of the public or their vehicles is a different matter that needs legal authority and adequate justification (module 5).
Safety limits for the flight: weather, return and landing sites
A pattern is useful only if the aircraft can fly it safely and get home. The CAAT BVLOS guidance gives example planning limits (CAAT, 2025): weather suitable for visual flight, with visibility of at least 5 km or no cloud below 300 m; no flight near thunderstorms; forecast wind not above 25 knots, gusts excluded, and never beyond the manufacturer’s limits. It also asks the pilot to plan the energy needed to return with headwind taken into account, to choose a return height that clears terrain and obstacles, to set the lost-link home point somewhere other than the take-off point, and to name alternative landing sites that are checked to be safe. On the autopilot side, ArduPilot Plane returns at the altitude set by RTL_ALTITUDE, makes return to launch its default long failsafe action, and suggests a battery failsafe at about 20% remaining capacity (ArduPilot, n.d.).
Example 3 Does the return fit in the reserve?
The ridge leg ends 9 km from the station. The aircraft cruises at 18 m/s through the air and keeps a reserve of 18 minutes (20% of the 90-minute endurance). The team’s rule (assumed) is that the whole return into the wind must fit inside that reserve. Test no wind, an 8 m/s headwind and the 25-knot guidance limit (1 knot is 1,852 m per hour).
air, reserve_min, dist = 18.0, 18.0, 9000.0 # airspeed (m/s), reserve (20 % of 90 min), distance back to the station (m)
KT = 1852 / 3600 # metres per second in one knot
for w in (0.0, 8.0, 25 * KT): # headwind on the way back
t = dist / (air - w) / 60
verdict = "fits" if t <= reserve_min else "NOT enough reserve"
print(f"headwind {w:5.2f} m/s ({w / KT:4.1f} kt): back in {t:5.1f} min, {verdict}")
w_max = air - dist / (reserve_min * 60)
print(f"largest headwind for a 9 km return in {reserve_min:.0f} min: {w_max:.2f} m/s = {w_max / KT:.1f} kt")
print(f"reach at the 25 kt limit: {(air - 25 * KT) * reserve_min * 60 / 1000:.1f} km")
headwind 0.00 m/s ( 0.0 kt): back in 8.3 min, fits
headwind 8.00 m/s (15.6 kt): back in 15.0 min, fits
headwind 12.86 m/s (25.0 kt): back in 29.2 min, NOT enough reserve
largest headwind for a 9 km return in 18 min: 9.67 m/s = 18.8 kt
reach at the 25 kt limit: 5.5 km
Still air and an 8 m/s headwind both fit (8.3 and 15.0 minutes). At the guidance’s 25-knot limit the aircraft makes only 5.1 m/s over the ground and needs 29.2 minutes, far more than the 18-minute reserve. A limit that is permitted is therefore not automatically safe for this aircraft. The team writes its own, a headwind of 9.67 m/s (18.8 knots) for a 9 km return, or shortens the route to 5.5 km from the station when stronger wind is forecast. The same planning step fixes the return height above the ridge and the alternative landing sites on the route.
Module lab
Lab: planning patterns and testing a tracker
- Using your group’s area and requirements from module 1, choose a main flight pattern and a backup, with reasons
- Compute the swath and flight time of your chosen pattern with the code in Example 1 and compare with the revisit requirement
- In mission-planning software or a simulator, build a route mission and a loiter command, and check bank angle and height
- Change and in Example 2 to 0.8/0.5 and 0.2/0.05, record the residual when the truck reappears, and explain the trade-off
Common mistakes
Watch out
- Choosing a full sweep without computing time, then finding revisit takes hours
- Forgetting that tilting the camera enlarges far-edge pixels, so resolution varies across the image
- Orbiting at too small a radius, with steep bank, a swinging image and a lost target
- Tuning the filter too aggressively, following noise and shaking the camera, or too smoothly, falling behind
- Letting the software choose targets without operator confirmation
Summary
- The main patterns are route patrol, area sweep, orbit and perimeter; real missions combine them as needed
- Nadir swath ; sweeping a large area with a thermal camera takes a long time
- An orbit uses , depression and slant range
- An alpha-beta filter predicts position while the target is hidden and helps reacquire it; the operator still decides what to track
Check your understanding
- A camera with a 40° horizontal field of view flies 100 m high looking straight down. How wide is the swath?
- At 20 m/s on a 400 m radius orbit, about what is the bank angle?
- At 120 m height on a 160 m radius orbit, what is the slant range to the target?
- What does a very high do to tracking?
- Which pattern should be used to watch a fire already found continuously?
Answers
- m
- m
- It follows measurements quickly but reacts to noise, so the image or camera shakes
- An orbit
Key formulas
| Swath width, nadir camera | |
| Bank angle in a steady turn | |
| Camera depression and slant range | |
| Alpha-beta filter |
Key references
- Fahlstrom, P. G., Gleason, T. J., & Sadraey, M. H. (2022). Introduction to UAV systems (5th ed.). Wiley. link
- Kalman, R. E. (1960). A new approach to linear filtering and prediction problems. Journal of Basic Engineering, 82(1), 35–45. link
- Welch, G., & Bishop, G. (2004). An introduction to the Kalman filter (TR 95-041). University of North Carolina at Chapel Hill. link
- สำนักงานการบินพลเรือนแห่งประเทศไทย. (2568). แนวปฏิบัติในการขอปฏิบัติการบินอากาศยานซึ่งไม่มีนักบินโดยใช้การประเมินความเสี่ยงที่เป็นไปตามเงื่อนไขที่กำหนดสำหรับการบินเกินกว่าระยะสายตา (CAAT-GM-UAS-PDRA101 ปรับปรุงครั้งที่ 00). link
- ArduPilot Development Team. (n.d.). RTL mode. Plane documentation. link
- ArduPilot Development Team. (n.d.). Failsafe function. Plane documentation. link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
In class / field
Lab or field practice from worksheets with a safety checklist
Learning evidence: Checked worksheets and quiz results