With the increasing application of unmanned aerial vehicles (UAVs) to the inspection of high-voltage overhead transmission lines, the study of the safety distance between drones and wires has received extensive attention. The determination of the safety distance between the UAV and the transmission line is of great significance to improve the reliability of the inspection operation and ensure the safe and stable operation of the power grid and inspection equipment. Since there is no quantitative data support for the safety distance of overhead transmission lines in UAV patrol, it is impossible to provide accurate navigation information for UAV safe obstacle avoidance. This paper proposes a mathematical model based on a multi-sensor data fusion algorithm. The safety distance of the line drone is diagnosed. In these tasks, firstly, the physical model of the UAV in the complex electromagnetic field is established to determine the influence law of the UAV on the electric field distortion and analyze the maximum electric and magnetic field strength that the UAV can withstand. Then, based on the main factors affecting the UAV such as the maximum wind speed, inspection speed, positioning error, and the size of the drone, the adaptive weighted fusion algorithm is used to perform first-level data fusion on the homogeneous sensor data. Then, based on the improved evidence, the theory performs secondary fusion on the combined heterogeneous sensor data. According to the final processing result and the type of proposition set, we diagnose the current safety status of the drone to achieve an adaptive adjustment of the safety distance threshold. Lastly, actual measurement data is used to verify the mathematical model. The experimental results show that the mathematical model can accurately identify the safety status of the drone and adaptively adjust the safety distance according to the diagnosis result and surrounding environment information.