The location information of nodes plays a crucial role in the location of wireless sensor networks, and the node location accuracy of Amorphous algorithm is low. Aiming at the main reasons that affect the accuracy of Amorphous location,a FOA-Amorphousnode location algorithm based on coordinate optimization is proposed. Firstly,the concept of multi-communication radius is introduced torefine the number of node hops,the average network connectivity is used to recalculate the average distance per hop of the node. Then,the coordinate value of the unknown node obtained by the maximum likelihood estimation method is used as the initial position of eachfruit fly in the fruit fly optimization algorithm, the initial population of each fruit fly is generated through this initial position,and theoptimal position of the current fruit?
fly is obtained by substituting the fitness function. Individual cognitive factor c1 and group guidancefactor c2 are introduced to optimize the distance and direction of the random search of the fruit fly,so that the proposed algorithm quickly converges to the global optimum,avoids its premature maturity,improves its convergence accuracy,and finds the optimal unknown nodeposition coordinates through iteration. Compared with the dual communication radius algorithm,the PSO-IDV-Hop algorithm and the Amorphous algorithm,the normalized positioning errors are reduced by about 7% ,23% and 44% ,respectively.