For the indoor Received Signal Strength Indication (RSSI) location,location accuracy is low,and can be easily affected by environment,the work proposes an improved Unscented Kalman Filter(UKF) algorithm based on logarithmic robust function (LnRLS),which can effectively improve the ranging error and improve the positioning accuracy.In the indoor environment,firstly,we used the Kalman Filter to preprocess the received RSSI value,we fitted equation by using the least squares,and calculated the distance by using the improved UKF algorithm for the two time,estimated node coordinates by the three edge location algorithm.Compared the experimental results with other traditional UKF ranging algorithm and indoor positioning methods,the improved algorithm reduces the ranging error by 14.4%,which can effectively reduce the ranging error and improve the positioning accuracy of indoor positioning system.