  Unmanned aerial vehicle (UAV) communications has drawn significant interest
recently due to many advantages such as low cost, high mobility, and on-demand
deployment. This paper addresses the issue of physical-layer security in a UAV
communication system, where a UAV sends confidential information to a
legitimate receiver in the presence of a potential eavesdropper which are both
on the ground. We aim to maximize the secrecy rate of the system by jointly
optimizing the UAV's trajectory and transmit power over a finite horizon. In
contrast to the existing literature on wireless security with static nodes, we
exploit the mobility of the UAV in this paper to enhance the secrecy rate via a
new trajectory design. Although the formulated problem is non-convex and
challenging to solve, we propose an iterative algorithm to solve the problem
efficiently, based on the block coordinate descent and successive convex
optimization methods. Specifically, the UAV's transmit power and trajectory are
each optimized with the other fixed in an alternating manner until convergence.
Numerical results show that the proposed algorithm significantly improves the
secrecy rate of the UAV communication system, as compared to benchmark schemes
without transmit power control or trajectory optimization.
