Localization is important for the wireless sensor network because we need sensor nodes to tell the central monitor the specific location where the event is happening. In this paper, in view of the low positioning accuracy of the mobile node localization in WSN, we propose an improved algorithm called SPSOMCB to improve the localization accuracy. We use the simplified particle swarm optimization
... [Show full abstract] algorithm in the Monte Carlo localization boxed algorithm to improve the localization accuracy of the mobile node while not significantly increasing the computational complexity. The SPSOMCB algorithm utilizes the MCB algorithm to predict the position of the mobile node, build the fitness function according to the position error, and then take the SPSO to rapidly optimize the position error function and decrease the localization error as much as possible. In comparison with the MCB algorithm, experimental results show that the proposed SPSOMCB algorithm can reduce the mobile node location error.