| Nowadays,with the rapid development of Unmanned Aerial Vehicle(UAV),how to realize the fast and accurate communication between UAV and ground has become the key problem of the research on UAV telemetry and telecontrol system.The technology of antenna automatic tracking of UAV can fix the antenna to UAV based on the UAV location when UAV flies,and make the antenna track the UAV in real time,so the technology of antenna automatic tracking of UAV can ensure the normal communication between UAV and ground.Therefore,it is very important to study the antenna automatic tracking system.In order to develop the automatic tracking of small unmanned aerial vehicle with directional antenna,this paper analysis and research the antenna tracking system,and then design an antenna automatic tracking system of UAV,the MCU STM32F107VCT6 is used as the system controller,the GPS is used to track the geographical location and the electronic compass is used to measure the attitude information,and then the MCU can fix the antenna to UAV.The main contents are as follows:(1)The design of an antenna automatic tracking system based on GPS of UAV is proposed on the basis of analyzing the research background and current status of the antenna automatic tracking technology of UAV.According to the demand analysis,the overall design of the system is given,and the general structure of the system and the function of each module are summarized.(2)The overall design of the hardware circuit and the detailed design of each module are carried out based on the overall design of the system.The main control module takes STM32F107VCT6 as the control core,the power circuit,clock circuit and reset circuit are designed respectively,and the SWD interface is designed to debug the system.In addition,this paper designs the sensor module,the servo interface circuit,Ethernet module,WIFI module and the external interface circuit.(3)The driver modules of the system and the algorithm of the antenna angle are developed.The driver development of the GPS module,the electronic compass module and the servo control module is realized on the basis of defining the system software architecture and running process.And then a simplified spherical model algorithm is proposed to solve the antenna angle calculation.In order to overcome the problem that the target tracking is easy to be lost because of the GPS is disturbed,UAV speed is adopted to predict the position in order to realize smooth angle tracking,so the reliability of system is improved.(4)The static and dynamic simulation tests and flight test are carried out.It shows that the design is feasible and reliable,and the system can meet the technical specifications and satisfy the needs of practical. |