Abstract:In response to the problems of large errors in single point positioning due to the influence of the geomagnetic field in the magnetic gradient tensor positioning method, sensitivity to local optimal solutions in multi-point positioning optimization algorithms, and poor positioning accuracy,a two-point magnetic gradient tensor localization method based on improved particle swarm optimization algorithm was proposed. This method is based on the magnetic dipole theory to solve the magnetic gradient tensor components.And use two-point information to establish a nonlinear objective function between the target position and the magnetic gradient tensor.Finally, the target position coordinates are solved using a particle swarm algorithm based on dynamic adjustment.By improving the inertia weight and learning factor, it is changed from a fixed value to a value that varies nonlinearly with the fitness function during the search process.The results show that compared with the single point positioning method and the traditional particle swarm algorithm"s two-point positioning method, this method reduces the average positioning error from 35.16 cm and 12.6 cm to 5.58 cm, respectively, significantly reducing the positioning error. Moreover, this method has the advantages of being less affected by the geomagnetic field, automatically balancing global and local search, and noise resistance.