The invention discloses a vision-based dynamic platform unmanned aerial vehicle autonomous tracking and landing method, relates to the technical field of unmanned aerial vehicle autonomous landing, and aims to solve the problems of large positioning deviation and low landing precision caused by excessive
nonlinear motion and interference under the dynamic condition of non-uniform
linear motion of a landing platform. According to the technical scheme, the method is characterized in that AprilTag is used as a landing identifier, a landing platform is detected and positioned through vision, and coordinates of the landing platform in a body coordinate
system are obtained through coordinate conversion. And estimating the relative speed of the landing platform by using the coordinates of the two moments before and after, and eliminating abnormal speed data caused by a detection error through a local weighted K-nearest
neighbor algorithm. And performing trajectory prediction by taking the
observation data as the input of the decay memory volume
Kalman filter, and controlling the unmanned aerial vehicle to track the landing platform. Besides, in the landing process, the height of the unmanned aerial vehicle is subjected to real-time self-adaptive
estimation by fusing data of a camera, a
laser range finder and a
barometer of the unmanned aerial vehicle, rotor wings are stopped in time within the landing height, an
electromagnet is started to attract the landing platform, and the unmanned aerial vehicle is prevented from falling off from the landing platform and being damaged. The method has good performance in the aspects of speed
estimation, trajectory prediction and landing precision, the average error of trajectory prediction is improved by 28% compared with that of a standard volume Kalman filtering method, and the average deviation of landing can be controlled within 12 cm.