Vision-based Automatic Flight Control for Small UAVs

Chung-Cheng Chiu, Ching-Tung Lo, Chung-Hsieh Tsai, Sheng-Yi ChiuMVA 2011

Introduction

Small Unmanned Aerial Vehicles (UAVs) are often constrained by a "weight and power" paradox. While they require sophisticated autopilot systems for stability, high-precision sensors like heavy Inertial Measurement Units (IMUs) or power-intensive GPS units frequently exceed their payload capacities. This research explores a solution using a lightweight CMOS camera as the primary sensor for autonomous flight stability. The central challenge lies in reliable skyline detection—distinguishing between sky and ground in real-time amidst visual noise like clouds, haze, and varying lighting.

Methodology

The proposed system utilizes a hardware-in-the-loop architecture. A SOARJET EP-19 aircraft carries a 15g camera and a 1.2GHz transmitter, beaming video to a Ground Control Computer (GCC). The GCC processes frames and returns control signals via a modified RC transmitter.

The vision pipeline consists of two stages:

  1. Initial Detection: The image is partitioned into $s \times s$ blocks. Statistical measures, specifically maximizing between-class variance (similar to Otsu’s method), classify regions as sky or ground. This block-based approach filters out high-frequency noise like leaves or small clouds.
  2. Real-time Tracking: Once the horizon is identified, a Linear Kalman Filter predicts the horizon's terminal points in subsequent frames. This limits the search to a small $r \times r$ area, significantly reducing latency.
Horizon detection algorithm identifying the skyline over a treeline.

Attitude is estimated by calculating the roll from the horizon line's slope and the pitch from its vertical displacement (pitch distance) relative to the image center.

Results and Discussion

The system was evaluated using both custom-captured UAV footage and external datasets to ensure generalization. Key performance metrics include:

  • Accuracy: An average skyline detection accuracy of 98.62% was achieved (within 5 pixels of human-verified ground truth).
  • Latency: The total processing loop took approximately 31.2ms, meeting the ~30 FPS requirement for stable flight.
  • Flight Stability: Dynamic tests confirmed the system's ability to maintain autonomous lateral (roll) and longitudinal (pitch) stability.
Roll angle and pitch distance measurements during autonomous flight segments.

The Kalman filter proved essential not just for speed, but as a safety mechanism; it prevents erratic control signals if a frame is momentarily corrupted by static.

Conclusion

This research demonstrates that a "dumb" aircraft paired with a "smart" ground station is a viable path to UAV autonomy. While "pitch distance" serves as a useful proxy for stability, future work will focus on decoupling pitch angle from altitude and integrating rudder and throttle control for more complex maneuvers.

Summary updated

BibTeX
@inproceedings{chiu2011vision,
  author = {Chung-Cheng Chiu and Ching-Tung Lo and Chung-Hsieh Tsai and Sheng-Yi Chiu},
  title = {{Vision-based Automatic Flight Control for Small UAVs}},
  booktitle = {MVA},
  year = {2011},
}
Figure