(In order to improve the positioning accuracy of nodes and nodes themselves before policy tracking, a TDOA ranging error correction method based on TinyOS is proposed. This method uses uniform path temperature compensation to reduce the influence of ambient temperature on ultrasonic velocity)