UAV Antenna Automatic Tracking System Based On Arduino
UAV Antenna Automatic Tracking System Based On Arduino
Arduino
Yiqun Zhang Wei Lyu
Aviation Engineering Institute Aviation Engineering Institute
Civil Aviation Flight University of China Civil Aviation Flight University of China
Guanghan, Sichuan Province, China Guanghan, Sichuan Province, China
[email protected] [email protected]
Abstract—To address the problems of short data link signal antenna tracking position is at the rear of the aircraft, which
distance, poor pointing accuracy, and the real-time can considerably reduce the antenna gain. Spherical
performance of ordinary directional antennas during the flight scanning and tracking involve a circumferential drive signal
of small and medium-sized unmanned aerial vehicles (UAVs), generated by a master controller, which drives the cradle to
an Arduino-based UAV antenna automatic tracking system is
proposed in this study. An ATMEG328P main controller is
scan the sphere and continuously track the target within the
used to control the overall system, GPS is employed to obtain sphere. However, the operating equipment is relatively
the real-time position of a UAV, a coordinate system with the complex, and its cost is relatively high.
center of the earth as the origin is established to calculate the Based on the above problems, this study proposes a
relative position of the aircraft and the ground, and virtual GPS Arduino-based UAV antenna automatic tracking
GPS frame data are generated via NMEAGNE for the tracking system. On the basis of airborne and ground GPS data, the
simulation. Moreover, a radio is utilized to collect and test the system main controller acquires the aircraft and ground end
POS data. The experimental results show that the data link is at the same time as the GPS location and parses the relative
stable, and the range-increasing effect is obvious when the azimuth angle and pitching angle information. The objective
system is tracking. The optimization program achieves high-
precision tracking for aerial targets within 0.5 m and keeps the
perspective and perspective of the current solution are
image signal clear up to 10 km through 100 MW data obtained via calculation to generate the target angle
transmission. Moreover, the data link signal can be maintained difference. The steering gear PWM drive value and PWM
above 90%. generation and transmission signals are calculated to drive
the servo rotation system. The experimental results show
Keywords—UAV, directional antenna, automatic tracking, that the ability of the directional antenna to receive dynamic
data link, GPS target information is improved, and the problem of the real-
time tracking of moving aerial targets by the ground end of
I. INTRODUCTION the UAV is solved.
In recent years, the development of unmanned aerial
vehicles (UAVs) matured, which are widely used in law II. OVERALL DESIGN OF ANTENNA AUTOMATIC TRACKING
enforcement, security, surveying and mapping, agriculture, SYSTEM
digital cities, and other fields[1-2]. In addition, UAV radio The antenna automatic tracking system consists of a
frequency and control technologies indirectly reflect the main controller, GPS module, ground radio, directional
national development of UAV technology[3]. Reference [4] antenna, Bluetooth module, and servo system. The main
proposed an automatic antenna tracking system based on controller receives the station GPS and GPS information,
monopulse tracking, which can accurately track aerial using a I2C bus to collect the magnetic compass azimuth
dynamic targets, improve the signal quality of graph data information. Moreover, the main controller is responsible
transmission, and enhance the communication quality for the location information operation, utilizing the onboard
between an aircraft and the ground in low-altitude flight at GPS module to collect the location and magnetic compass
medium range. [4]Literature [5] integrated an inertial direction information. The location information includes
measurement unit and global positioning system and longitude, latitude, UTC time, height, and direction
proposed an automatic tracking system suitable for remote information to the magnetic North Pole as the zero reference
video and data transmission. [5]Reference [6] used GPS point. The ground station receives the UAV radio
position information to solve the relative position problem downstream data, and to deliver the data to the relevant
and coupled it with an inertial measurement unit to achieve equipment, the directional antenna converts the
high-precision pointing.[6] Presently, the main research electromagnetic field into electrical signals and sends them
methods of UAV directional antenna automatic tracking to a space station, and the ground-end tracking antenna uses
systems include stepper automatic tracking, ball scanning the Bluetooth module to receive the location data and send a
tracking, and GPS program tracking[7]. Stepper automatic debugging command to the tracking antenna. The servo
tracking uses a stepper motor to drive the antenna pitch and system receives the main controller PWM signal and drives
horizontal rotation and signal feedback search to the optimal the antenna on the UAV according to the corresponding
signal position and for continuous tracking. However, the rotary angle of the PWM signal. The overall structure of the
438
Authorized licensed use limited to: Siddhartha Academy of Higher Education Deemed To Be University. Downloaded on August 05,2025 at 05:01:33 UTC from IEEE Xplore. Restrictions apply.
antenna automatic tracking system is shown in Fig. 1. 5 V to 3.3 V power supply is provided. To avoid the voltage
Directional stabilizing circuit fever caused by the large current, the two
antenna
steering gears require a high-power switching circuit. At the
same time, the power supply circuit should consider
Airplane
Server
system
overvoltage protection and have an anti-freeze design and so
Pitch Control
on.
angle signal
Antenna
Sensor
module
A TPS5450 linear voltage regulator chip is used in the
Ground control
terminal
Terrestrial
station
azimuth
GPS
design of the switching voltage regulator circuit. The
Main maximum driving current is 5 A, the voltage input range is
Position
Bluetooth
controller feedback Electronic 5.0 V–30 V, and the voltage input range is 7 V–33 V when
compass
module the 5 V output is used. The schematic diagram of the voltage
Fig. 1. Overall structure of antenna automatic tracking system regulator circuit (5 V) is presented in Fig. 3.
III. HARDWARE DESIGN OF ANTENNA AUTOMATIC TRACKING
SYSTEM
Download
Download Radio
Radio
Buzzer
Buzzer
port
port station
station
439
Authorized licensed use limited to: Siddhartha Academy of Higher Education Deemed To Be University. Downloaded on August 05,2025 at 05:01:33 UTC from IEEE Xplore. Restrictions apply.
D. Clock circuit design contrast, the analog steering gear must continuously receive
The internal clock of the ATMEG328P chip is only 8 signals to lock the current angle. A comparison of the
M, which cannot meet the design requirements of an steering gear control signals is presented in Table 2.
automatic tracking antenna. Therefore, an external 16 M
clock circuit is designed in this study to obtain stable 16 M TABLE II. COMPARISON OF STEERING GEAR CONTROL
clock signals. A 16 M crystal oscillator can provide stable SIGNALS
high-level 3.3 V with a duty cycle of 50% for the 16 M pulse width Angle
clock signal. The clock circuit diagram is shown in Fig. 6. 0.5 ms –90.
1.1 ms –45
1.5 ms 0
2.0 ms 45
2.5 ms 90
440
Authorized licensed use limited to: Siddhartha Academy of Higher Education Deemed To Be University. Downloaded on August 05,2025 at 05:01:33 UTC from IEEE Xplore. Restrictions apply.
sent to the virtual information search. GPS_MODEL uses V. ANTENNA AUTOMATIC TRACKING SYSTEM TESTING
TinyGPS to extract the GPS data key frames, which are To test the tracking system, the system’s ability to meet
processed and sent to the RF module through the soft serial the design requirements is verified. The testing includes a
port. Softmodem can use any digital port of the chip to static mechanical test, an analog signal test, and a machine
complete serial communication without the TX\RX serial test.
port reserved by the chip. Meanwhile, TinyGPS is an
Arduino package library module that can easily parse GPS A. Static mechanical test
data. This library can extract information such as position, The main purpose of the static mechanical test is to
date, time, altitude, speed, and heading from GPS devices. determine whether the mechanical part functions properly
The sky terminal main program defines each pin and can scan the hemisphere above the spatial level
function and the port baud rate, as follows: completely. First, the ground terminal is powered, and the
ExcSerial.begin(57600); // Set the baud rate of the AT+CS is sent to the ground terminal after the successful
serial port to 57600 Bluetooth connection with the mobile terminal. Second,
modem.begin(); after the command is received, the ground terminal will
PinMode (A0, INPUT); // Set a0-A3 to output mode conduct hemispheric scanning to determine whether the
PinMode (A1, INPUT); scanning is complete.
PinMode (A2, INPUT);
PinMode (A3, INPUT); B. Analog signal test
PinMode (13, the OUTPUT); A computer software is used to test the analog signal
Table 3 reports the function of each pin. and generate a series of continuous virtual GPS information
frame data. The air terminal can basically parse and send the
Table III. PIN FUNCTION GPS signal to the ground terminal. The ground terminal can
perform tracking based on the GPS data, observe and judge
pin FUNCTION whether the tracking is smooth and the tracking direction is
A0 INPUT correct, and compare the direction correctness with Google
Earth. The interface of the GPS information simulation
A1 INPUT
software is shown in Fig. 9.
A2 INPUT
A3 INPUT
13 OUTPUT
441
Authorized licensed use limited to: Siddhartha Academy of Higher Education Deemed To Be University. Downloaded on August 05,2025 at 05:01:33 UTC from IEEE Xplore. Restrictions apply.
forward image is complete, which basically realizes high- analyze the surveying and mapping data, and verify the
precision tracking at 10 km to 20 km and meets the comprehensive performance of the automatic tracking
application requirements of the aerial survey and security system. The experimental results show that the antenna
fields. The forward photographic image is presented in Fig. achieves satisfactory tracking, accurate pointing, and a small
11. error, thereby solving the problem of the real-time tracking
of aerial moving targets at the ground end of the UAV,
improving the antenna’s ability to receive dynamic target
information, and enhancing the data link stability when the
UAV flies long distances.
ACKNOWLEDGMENT
The authors would like to acknowledge the theoretical
support of Aviation Engineering Institute of Civil Aviation
Flight University of China.
REFERENCES
[1] Cheng P , Yue B , Xun G , et al. Modeling and robust backstepping
Fig. 10. Flight path planning diagra sliding mode control with Adaptive RBFNN for a novel coaxial eight-
rotor UAV[J].Acta Automatica Sinica, 2015, 2(001):56-64.
[2] Dehghan S , Moradi H . A new approach for Simultaneous
Localization of UAV and RF Sources (SLUS)[C]// Unmanned
Aircraft Systems (ICUAS), 2014 International Conference on. IEEE,
2014.
[3] Zhang Weiwei, Shi Chenguang, Zhou Jianjiang.Tactical Missile
Technology,2020(06):60-66+119. [In Chinese]
[4] Wan xiaoguang. Design of spaceborne single-channel monopulse
self-tracking system [J]. Telecommunications
technology,2015,55(10):1130-1133. [In Chinese]
[5] Sun K , Mohta K , Pfrommer B , et al. Robust Stereo Visual Inertial
Odometry for Fast Autonomous Flight[J]. 2017.
[6] Sun XIN-cheng. Research on uav self-positioning technology based
Fig. 11. Positive photographic image on vision and INERTIAL Measurement Unit [D].Nanjing University
of Aeronautics and Astronautics,2019. [In Chinese]
VI. SUMMARY [7] Guo Qianqian, Zhou Xiaohui.Automatic tracking system of uav
To establish a reliable data link between an aircraft and antenna based on GPS [J]. Computer applications and
software,2017,34(06):85-90. [In Chinese]
the ground and solve the UAV antenna automatic alignment
accuracy problem, this study selects ATMEG328P as the [8] Zha CHANGliu, DING Xilun, YU Yushu, et al. Research on self-
tracking system of uav directional antenna [J].Journal of Beijing
main controller to parse the GPS location information via University of Aeronautics and Astronsutics, 2016, 42(04):737-744.
the Arduino IDE platform to complete the system main [In Chinese]
program writing and compilation. Moreover, the GPS [9] Keith, Curtis. Selecting Suitable MICROcontroller [J]. China
information simulation software NMEAGEN is used to Integrated Circuits, 2013, 22(9):50-50. [In Chinese]
complete the system simulation test, and UAV aerial [10] Ni Yuan, Ren Zhanpeng, Liu Zhiping, et al.Electronic design
mapping is conducted to perform an actual computer test, engineering,2013,21(06):84-85+89. [In Chinese]
442
Authorized licensed use limited to: Siddhartha Academy of Higher Education Deemed To Be University. Downloaded on August 05,2025 at 05:01:33 UTC from IEEE Xplore. Restrictions apply.