The performance of drones places great emphasis on safety, not only following the established trajectory but also avoiding collisions at close distances. As the most important position sensor, GNSS chip provides position information for the UAV flight control system and also serves as foundation for a series of interesting and convenient applications such as automatic UAV return.