An improved anti-windup PID architecture with feed-forward compensation for onboard-computer trajectory and velocity control of hexarotor UAVs
Abstract
Onboard trajectory tracking of hexarotor unmanned aerial vehicles (UAVs) degrades when reference-induced phase lag, actuator saturation, wind, and communication delay act together. This paper proposes a cascaded proportional-integral-derivative (PID) architecture for a PX4/ROS 2 companion-computer implementation, augmented by reference-acceleration feed-forward and a vector anti-windup law that maps the thrust-saturation residual into all three world-axis integral channels. A six-degree-of-freedom Newton-Euler model was simulated with a full-rank control-allocation matrix, first-order motor dynamics, a 250 Hz attitude loop, a 50 Hz outer loop, and a 20 ms delayed noisy state. Twenty common-random-number Monte Carlo runs were evaluated in three saturation regimes against a tuned super-twisting sliding-mode benchmark. Under a nominal thrust envelope, the augmentation reduced the mean three-dimensional root-mean-square error (RMSE) by 11.5% and the peak error by 15.9%; under a tighter envelope, it reduced RMSE by 26.1% and the maximum integral-state norm by 77.0%. Beyond the envelope, the unprotected baseline diverged in all twenty runs while the proposed controller completed every mission. The augmentation added 31 scalar operations per cycle and no additional state. Although the simulation embeds realistic delay, noise, and actuator limits, the results remain purely numerical, so hardware-in-the-loop and flight testing remain necessary before any operational claim.
Keywords
Actuator saturation; Anti-windup control; Companion computer; Hexarotor UAV; Trajectory tracking
Full Text:
PDFDOI: http://doi.org/10.11591/ijra.v15i4.pp927-943
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Nguyen Thi Dieu Linh, Nguyen Van Bang

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
IAES International Journal of Robotics and Automation (IJRA)
ISSN 2089-4856, e-ISSN 2722-2586
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).