In the UAV path planning study, due to the relative movement of multiple targets and the UAV, long-term and large-scale UAV, autonomous tracking has not been achieved. Therefore, aiming at this problem, this paper uses radar to provide a real-time feedback on target position, estimates the later motion state of the target according to its position, and then perform dynamic path planning by combining the feedback data and the state estimation result. Finally, The UAV path is optimized in real time. Experiments show that the proposed scheme can better plan the UAV path when multiple targets are in motion, thus improving the intelligence of the UAV and the capability of long time tracking.