Review Article

Modified Least Squares Algorithm for Three-Dimensional Target Location Based on Wireless Communication Base Stations

Algorithm 1

Modified least squares algorithm for the 3D target location.
Input: Modified least squares algorithm for the 3D target location
Initialization: Initialize , ,
 Fix the weights , , and optimize the coefficient :
  while Calculate the real distances between the target and the base stations. Both of the real distances and the mean square error of the corrected observation distances are less than the set threshold
   step 1 Update the error coefficient by a certain step size, and modify the observation distances
   step 2 Calculate the target coordinates by using the modified observations
  end while Obtain the optimal error coefficient
Fix the coefficient , and optimize the weights , :
  while Calculate the real distances between the target and the base stations. Both of the real distances and the mean square error of the corrected observation distances are less than the set threshold
   step 1 Update , by a certain step size
   step 2 Get the target coordinates after using the weighted least squares method
  end while Obtain the optimal weights ,
 Calculate the target coordinates by the final optimized error coefficient and weights
Output: The 3D coordinates of the target