WorksEngineering
DNN-Driven Proactive UAV Trajectory and Beam Steering for Blockage-Resilient Communications
Abstract
This paper proposes Autonomous UAV Communication (AutUAVCom), a proactive communication system that jointly adapts the flight trajectory and RF beam steering to minimize UAV energy consumption while satisfying secrecy and reliability requirements for rescue teams operating in dynamic, cluttered, and GPS-denied environments. Unlike existing modelbased proactive approaches, AutUAVCom employs a deep neural network-based Tracking and Prediction (T&P) module that combines onboard sensing with spatiotemporal and body-orientation information to track users, localize blocking objects, and predict future trajectories and potential beam blockages. Building on the T&P module, we formulate a constrained optimization problem and develop a two-step iterative numerical approach. Monte Carlo simulations show that, relative to a reactive system, AutUAVCom achieves 10% and 19% gains in energy efficiency and channel secrecy, respectively, while reducing the outage probability by 85%, under a mean blockage arrival interval of 120 seconds and a mean blockage duration of 20 seconds.
Introduction
Unmanned Aerial Vehicles (UAVs) provide flexible and rapidly deployable wireless relaying in challenging environments. However, battery constraints, time-varying channels, user mobility, navigation challenges, and eavesdropping risks require intelligent real-time control rather than offline trajectory design [1]. Model Predictive Control (MPC) addresses these dynamics by repeatedly solving finite-horizon constrained optimization problems [2]. Recent MPC frameworks optimize UAV trajectory, power, and security [3], [4], but their performance depends strongly on accurate state estimation and mobility prediction.
Existing MPC frameworks mainly rely on simplified statistical or model-based mobility assumptions. Tuan et al. [3] used statistical air-to-ground channel models without future channel state information (CSI), while Sheng et al. [4] employed a Gauss-Markov mobility (GMM) model for trajectory prediction under location uncertainty. Similarly, Huang et al. [5] modeled user motion using random mobility with predicted CSI errors, Jin et al. [6] predicted control states probabilistically, and Savkin et al. [7] assumed road-constrained constant-velocity motion. These approaches face four key limitations: predefined stochastic models may mismatch real pedestrian or team motion, repeatedly performing online model-based trajectory prediction and control can incur computational and propulsion overhead, environmental disturbances such as wind can cause displacement and beam misalignment, and GPS/CSI-based localization assumes accurate position information, limiting operation in GPS-denied environments that require onboard perception.
To address GPS-denied tracking, we previously developed a vision-inertial tracking framework [8]. Building on this framework, we propose Autonomous UAV Communication (AutUAVCom), a proactive communication system that jointly adapts UAV trajectory and RF beam steering to mitigate coverage loss and anticipate future blockages, enabling energy-efficient, reliable, and secure communication for rescue teams in dynamic, cluttered, and GPS-denied environments. Unlike model-based approaches [3, 4, 5, 6, 7], AutUAVCom learns future user positions from historical spatiotemporal and body-orientation observations via offline deep neural network (DNN) training. Once trained, it directly performs online inference from new observations, without retraining or repeatedly solving a mobility model. In this paper, we develop a DNN-based Tracking and Prediction (T&P) module that uses onboard sensing to track users, localize blocking objects, and predict future user trajectories from historical spatiotemporal and body-orientation information. We formulate a constrained optimization problem that minimizes UAV energy consumption while satisfying secrecy and reliability requirements, and develop a two-step iterative numerical approach. Comprehensive Monte Carlo simulations model blockage events as Poisson processes and demonstrate the effectiveness of the proposed approach. The remainder of this paper is organized as follows. Section I presents the system model. Section III introduces the T&P model and problem formulation. Section IV presents the numerical results. Finally, Section V concludes the paper.
System Model
System Overview
As illustrated in Figure 1(a), a UAV serves a rescue team in a cluttered, dynamic, and GPS-denied environment. Using onboard sensing, the UAV estimates user and blocking-object states and anticipates future beam blockages; its coverage region is determined by its altitude and antenna/cameras field of view (FOV). It jointly adapts its trajectory and RF beam steering to maintain reliable coverage of legitimate users (Rxs) while avoiding locations occupied by potential eavesdroppers (Exs). To improve energy efficiency and security, its trajectory avoids unnecessary movement while accounting for Rx safety zones, wind-induced displacement, and attitude fluctuations that may cause beam misalignment and information leakage toward Exs.
Figure 1. The proposed AutUAVCom system; (a) Considered network topology, and (b) A system block diagram.
As illustrated in Figure 1(b), AutUAVCom implements a closed-loop tracking-prediction-optimization-communication process comprising two integrated modules: the T&P Module and the Communication Module. The T&P Module integrates data from a downward-facing camera (DFC), forward-facing camera (FFC), and Inertial Measurement Unit (IMU) to estimate current user positions and localize blocking objects. Historical positions and mobility features, including speed and body orientation, are then provided to a Gated Recurrent Unit (GRU)-based DNN to predict future user positions over the operational horizon. The Communication Module combines the current user and blocking-object states, predicted user trajectories, and continuous RF channel feedback to optimize the UAV trajectory and RF beam parameters. The resulting trajectory commands are sent to the trajectory controller, while the beam parameters are provided to the analog beamforming unit.
Channel Model
Path Loss
With the UAV (Tx) at the origin, the BS, th Rx, and its associated Ex are located at , , and , respectively. A safety zone of radius separates each Rx from its eavesdropper. Assuming a LoS-dominant BS-to-UAV backhaul, its path loss in dB is [9]
where is the carrier frequency, is the speed of light, , and is the excess LoS loss. The UAV-th user (access) link follows an air-to-ground model that accounts for the LoS probability and the corresponding LoS/NLoS path losses, which is written in dB as [9]:
where , is the elevation angle, and are the excess losses, and and are environment-dependent empirical parameters that characterize the surrounding obstacle density and geometry [9].
Signal Blockage
To characterize transient blockages caused by physical blocking objects, such as trees, blockage arrivals are modeled according to a Poisson process with rate . Accordingly, the inter-arrival time between consecutive blockage events follows an exponential distribution with probability density function (PDF) as , , where [events/s] is the average blockage arrival rate and is the mean inter-blockage time [10]. The duration of an individual blockage event is independently modeled by an exponential distribution with PDF as , , where [1/s] is the blockage clearance rate and represents the mean blockage duration [10]. The resulting blockage state is represented by the binary variable , where indicates the presence of an RF blockage and otherwise.
Pointing Errors
Wind-induced turbulence displaces and disorients the UAV. Since the backhaul employs a wide beam and has no nearby eavesdroppers, pointing errors are neglected for the backhaul but are considered on the access link, where a narrow beam is employed for communication efficiency. Following the experimentally validated statistical model of [11], [12], UAV displacement is modeled as independent Gaussian variables along each axis, while beam disorientation follows a Cox-Munk polar-angle distribution with a truncated-Gaussian azimuth angle. The resulting PDF of the pointing-error gain is [13]
where , , , and , , and are the jitter variance, receiver aperture radius, and beamwidth of the th Rx, respectively. Equation (3) is accurate for [13].
SNR, Outage, and Secrecy
Considering the effects of path loss, transient blockages, and pointing errors, the SNR of the UAV-th Rx link is expressed as
where is the UAV antenna gain, is the transmit power, and is the noise power at the th Rx. The corresponding channel capacity is bits/channel use
[14]. The outage probability for a capacity threshold is given by
where denotes the PDF of the instantaneous channel capacity. Finally, physical-layer security is quantified by the channel secrecy rate (CSR) [11], defined as , where and denote the average channel capacities of the Rx and its associated Ex, respectively, assuming the worst-case scenario in which the Ex is located at a distance from its associated Rx.
5) Energy Consumption: The UAV’s total mission energy combines propulsion energy , hovering energy , and communication energy , expressed as , [15].
Prediction and Problem Formulation
Tracking and Prediction (T&P) Module
Figure 2 details the GRU-based T&P architecture.
Figure 2. DNN architecture of T&P module.
1) Tracking Unit: At each time instant, , the onboard DFC tracks users, while the FFC localizes blocking objects, the IMU measures the UAV’s linear acceleration and angular velocity to account for UAV motion and attitude changes. The tracking unit fuses these measurements to estimate the UAV position in real time. Together with the calibration parameters of the DFC and FFC models, this enables the image observations to be reconstructed in 3D and transformed into the UAV frame, yielding the relative locations of users and blocking objects. The DFC also estimates user velocity and speed from consecutive frames and infers the users’ moving directions from their body orientations [16]. Coordinate projections follow our vision-inertial tracking framework in [8]. The mobility state of user at time is formulated as
where is the position, and are the velocity components, is the moving speed, and is the estimated body orientation.
2) Prediction Unit: The prediction unit learns a nonlinear mapping from the historical mobility sequence and the current body orientation to the future trajectory. As illustrated in Figure 2, the prediction unit consists of historical and instantaneous branches. The historical branch processes the spatial-temporal mobility features, including positions, velocities, and speeds, over an observation window of length using a single GRU layer, and its input is formulated as
where matches but omits body orientation, which is instead provided to the instantaneous branch. The latter processes the current orientation using a Dense layer with a ReLU activation function. The outputs of the two branches are then concatenated and passed through a Dense layer for feature fusion. Finally, a Dense layer maps the fused features to the predicted positions over the next time-steps.
3) Dataset and Training: The prediction unit is trained offline in a supervised manner. Due to the lack of real-world datasets characterizing the mobility patterns of rescue teams, we generate the training dataset using an analytical joint mobility model based on the Reference Point Group Mobility (RPGM) model, where the reference-point trajectory follows a GMM. The proposed prediction framework is not restricted to RPGM-GMM dataset and can be applied to datasets exhibiting spatial and temporal correlations. Given training samples, the optimal prediction parameters, , are obtained by minimizing the mean square error (MSE) loss:
where denotes the trainable parameters of the DNN, denotes ground-truth trajectories of Rx, denotes the parameterized mapping function, and denotes the training sample of . The optimization is performed using the Adam optimizer with a small learning rate (e.g., ). The dataset is split into training, validation, and test subsets. Early stopping based on the validation loss, with restoration of the best-performing weights, is used to prevent overfitting, while all inputs are min-max normalized based on the training statistics. The held-out test subset provides an unbiased performance estimate. During online operation, the trained model predicts the next positions of Rx, , as
The Prediction unit uses the predicted user trajectories to infer the future trajectories of the user-group centroid, . It also predicts potential blockages by identifying intersections between the predicted user trajectories and the blockage locations obtained by tracking unit.
Communication Module
1) Problem Formulation: The AutUAVCom system should minimize UAV energy consumption while maximizing CSR
and reliability. However, these objectives are inherently coupled: energy-efficient trajectories may reduce user tracking accuracy, whereas CSR and reliability require appropriate user coverage. Similarly, wider beams improve coverage robustness at the cost of increased leakage, while narrower beams improve CSR but reduce coverage tolerance. Wind-induced fluctuations further affect these trade-offs. We therefore formulate a constrained single-objective optimization, as given in (10), where total UAV energy consumption is minimized subject to minimum CSR and maximum outage-probability requirements. The optimization determines the UAV trajectory and RF beamwidth over the next time steps, , subject to (10a)-(10k). Specifically, constraint (10a) guarantees that the CSR remains above the required threshold, , and constraint (10b) limits the outage probability to . Constraint (10c) ensures that the capacity does not exceed the available backhaul capacity . Constraints (10d) and (10e) bound the access and backhaul transmit powers by their respective maximum allowable values, i.e., and . Constraint (10f) prevents the UAV from entering the predicted blockage regions , where is the estimated blockage zone of the blocking object. Constraint (10g) maintains the UAV position within the effective RF antenna/DFC FOV, where is the radius of the RF coverage region, and is the maximum radius of the user group, where . Constraint (10h) restricts the UAV altitude between the minimum height required to provide coverage over the user group with radius and the maximum allowable height . Here, denotes the minimum UAV height required to maintain visibility of the BS, is the RF antenna/DFC angle FOV, and represents the coverage margin. Constraints (10i) and (10j) constrain the polar and azimuth angles of the RF beam directed to Rx to their physically feasible ranges. Finally, constraint (10k) restricts the RF beamwidth to , thereby balancing beam directivity, pointing-error sensitivity, and spatial selectivity.
Event-Triggered Binary-Search Motion Optimization (ET-BSMO)
Problem (10) is nonlinear and nonconvex because the achievable rates depend nonlinearly on the UAV position through distance-dependent path loss and time-varying user locations, while propulsion energy couples consecutive UAV states over the prediction horizon. Since a closed-form solution is generally intractable, we propose ET-BSMO, a computationally efficient iterative approach. Algorithm 1 presents its pseudocode, combining event-triggered adaptation with proactive motion optimization over an -step prediction horizon. To reduce unnecessary maneuvers, the algorithm optimizes the horizontal trajectory at a fixed altitude, allowing vertical adjustments only to avoid obstructing objects. The algorithm is described as follows.
Algorithm 1 Pseudocode of the ET-BSMO Algorithm
Require: Current UAV state , sensors measurements, QoS feedback, prediction horizon , threshold
Ensure: Suboptimal UAV trajectory
Compute user visibility margins and worst-case margin .
Evaluate QoS feasibility indicator .
if and then
Maintain for ; update RF beam direction and width.
else
for do
Estimate user-group centroid .
Compute dominant direction using centroid, prediction-error, and detouring directions.
Initialize search bounds for displacement and angular adjustments .
while search has not converged do
Evaluate the midpoint candidate for FOV, blockage, and QoS feasibility.
Update the corresponding binary-search bounds.
end while
Obtain and .
Update .
end for
end if
return
Apply only
Go to line No. 1
a) Event-Triggered Adaptation: At time , the UAV determines whether physical repositioning is required using sensors measurements and QoS feedback. Let denote the pixel coordinates of user in the DFC frame. The normalized coordinates are
where and are the image width and height, respectively. The corresponding FOV margin and worst-case margin are computed as
Let when all users satisfy the required QoS constraints and otherwise. These quantities form the event trigger. If , where denotes the logical AND operation, the UAV remains stationary and only updates its RF beam direction and width to accommodate minor user movements. This hovering policy avoids unnecessary propulsion energy consumption. Otherwise, a motion action is activated over the next time steps.
b) Proactive Motion Policy: When repositioning is required, the UAV first estimates/predicts user-group centroid and determines a dominant motion direction as
The nominal direction toward the user-group centroid is
where is the predicted user-group centroid. The prediction-error correction is given by
where denotes the residual between the actual and predicted group centroids. When a blockage is predicted, provides the required obstacle-avoidance adjustment. Specifically,
where describes the direction of and are geometry-dependent angular adjustments selected to avoid predicted blockage while preserving the FOV and QoS constraints. The UAV is then restricted to move along the resulting direction, reducing the original search space to the displacement and detouring variables. Its position is recursively updated as
where is the selected feasible direction and is the corresponding displacement. The displacement and angular adjustments are obtained by exploiting the monotonic feasibility of candidate positions along the selected direction and applying binary search over
At each iteration, the midpoint candidate is evaluated against the FOV, blockage, and QoS constraints, and the search interval is updated until convergence. Repeating this procedure over the -step horizon yields the suboptimal trajectory . The resulting computational complexity is , where is the cost of one feasibility evaluation and is the total number of binary-search iterations over displacement, polar angle, and azimuth angle.
Numerical Results
We evaluate the AutUAVCom system against two reactive benchmarks. The first benchmark solves the same optimization problem in (10) with , making decisions based only on the current observation. The second is a K-means-based benchmark in which the UAV follows the user-group centroid without explicitly optimizing its trajectory. We simulate a 5-user group, across a urban environment with propagation parameters and . Blockages follow a Poisson process with arrival intervals and durations , while their spatial dimensions follow a log-normal distribution with parameters . The group covers approximately 2200 m over a 25-minute mission. The T&P module is trained offline using an RPGM-GMM dataset with a total trajectory length of , an average step length of , and a prediction horizon of for and .
Figs. 3(a)-(c) evaluate the T&P modules across three cases: (A) noise-free with body orientation, (B) noise-free without body orientation, and (C) noisy (standard deviation of 60 cm) without body orientation. In Fig. 3(a), the MSE and mean absolute error (MAE) convergence curves over 25 training and validation epochs indicate stable learning for Cases A and B. Fig. 3(b) shows the Average Displacement Error (ADE) distributions, where Case A yields the narrowest and lowest-error spread, whereas Case C exhibits a broader, right-shifted distribution. As shown in Fig. 3(c), ADE increases monotonically with the prediction horizon for all cases; however, the increase is most pronounced for Case C, indicating greater sensitivity to noise at longer horizons. Overall, these results show that incorporating body orientation improves trajectory prediction accuracy, particularly over longer horizons, whereas noise contamination progressively degrades prediction performance as the prediction horizon increases.
Figs. 3(d)-(f) evaluate the communication performance. As shown in Fig. 3(d), energy efficiency improves as increases and decreases, because more frequent and longer blockages require additional UAV adaptation. AutUAVCom consistently outperforms the benchmarks due to its improved resilience to beam blockages. Meanwhile, the 1st Benchmark consistently outperforms the 2nd Benchmark due to its optimized trajectory. In Fig. 3(e), AutUAVCom maintains a near-target outage probability, whereas the benchmarks fail under severe blockage conditions (small , large ), saturating near 0.1. However, the 2nd Benchmark performs better than the 1st Benchmark due to the UAV’s closer proximity to the user-group centroid. Finally, Figure 3(f) demonstrates that AutUAVCom maintains a CSR well above the required threshold, while the benchmarks increase rapidly, particularly the 2nd Benchmark due to the UAV’s closer proximity to the user-group centroid, and plateau at a higher level as blockages become less severe (large , small ). Numerically, AutUAVCom significantly outperforms 1st Benchmark, achieving 10% and 19% gains in energy efficiency and CSR, respectively, while reducing the outage probability by 85%, when and sec.
Figure 3. Performance evaluation of the proposed AutUAVCom system: (a) training errors of the T&P module, (b) ADE histogram, (c) ADE versus prediction horizon , (d) energy efficiency, (e) outage probability, and (f) CSR.
Conclusion
The AutUAVCom system is a data-driven, proactive UAV communication system that fuses onboard sensing with DNN-based trajectory prediction to overcome beam blockages in challenging environments, thereby improving energy efficiency, CSR, and reliability. While AutUAVCom outperforms reactive benchmarks, its performance depends on prediction accuracy, as well as the efficiency of the optimization process. Moreover, AutUAVCom requires a sufficiently large and reliable dataset, which may not always be available in new or unfamiliar environments. In such cases, future work will investigate adaptive or transfer-learning strategies for updating the pretrained model using data collected in new environments, as well as developing a digital twin to reduce the computational and hardware burden onboard UAVs and validating the proposed approach on real-world flight testbeds.
References
- [1]Y. Zeng, Q. Wu, and R. Zhang, “Accessing from the sky: A tutorial on uav communications for 5g and beyond,” IEEE, 2019.arxiv.org/abs/1903.05289
- [2]E. F. Camacho, C. Bordons, and J. M. Maestre, Model Predictive Control. Springer, 2025.
- [3]H. D. Tuan, A. A. Nasir, A. V. Savkin, H. V. Poor, and E. Dutkiewicz, “Mpc-based uav navigation for simultaneous solar-energy harvesting and two-way communications,” IEEE J. Sel. Areas Commun., 2021.DOI
- [4]Z. Sheng, H. Fu, Z. Huang, A. A. Nasir, Q. Wu, and D. Zeng, “Outage-aware online prediction control for securing uav-aided communication,” IEEE Trans. Veh. Technol., 2025.DOI
- [5]Z. Huang, Y. Wang, J. Jiang, A. A. Nasir, Z. Sheng, and X.-X. Yang, “Online 3d trajectory and transmit power optimization for securing uav-assisted full-duplex communication network,” in IEEE VTC-Fall, 2025.DOI
- [6]H. Jin, J. Wu, and W. Yuan, “Mpc-based path tracking and power allocation for wcn: An outage probability perspective,” IEEE Wireless Commun. Lett., 2026.DOI
- [7]A. V. Savkin, H. Huang, and W. Ni, “Securing uav communication in the presence of stationary or mobile eavesdroppers via online 3d trajectory planning,” IEEE Wireless Commun. Lett., 2020.DOI
- [8]A. S. Ghazy, H. A. Ammar, J. Bayes, and F. Chan, “Enhancing uav trajectory and communications through vision-inertial tracking,” arXiv preprint arXiv:2609.03099, 2026.arxiv.org/abs/2609.03099
- [9]A. Al-Hourani, S. Kandeepan, and S. Lardner, “Optimal lap altitude for maximum coverage,” IEEE Wireless Commun. Lett., 2014.DOI
- [10]R. G. Gallager, Stochastic Processes: Theory for Applications. Cambridge University Press, 2013.
- [11]A. S. Ghazy, G. Kaddoum, and S. Satinder, “Irs-aided secure reliable underwater acoustic communications,” IEEE Trans. Veh. Technol., 2024.DOI
- [12]Y. Tajima, T. Hiraguri, T. Matsuda, T. Imai, J. Hirokawa, H. Shimizu, T. Kimura, and K. Maruta, “Analysis of wind effect on drone relay communications,” Drones, 2023.
- [13]A. A. Farid and S. Hranilovic, “Outage capacity optimization for free-space optical links with pointing errors,” J. Lightwave Technol., 2007.DOI
- [14]A. Goldsmith, Wireless Communications. Cambridge Univ. Press, 2005.
- [15]Y. Zeng, J. Xu, and R. Zhang, “Energy minimization for wireless communication with rotary-wing uav,” IEEE Tr. Wi. Com., 2019.arxiv.org/abs/1804.02238
- [16]O. Ozturk, T. Yamasaki, and K. Aizawa, “Tracking of humans and estimation of body/head orientation from top-view single camera for visual focus of attention analysis,” in IEEE ICCV Workshops, 2009.DOI


