At present, navigation and positioning system based on location service plays an extremely important role in all aspects of people's production and life. GPS or Beidou navigation system performs well in outdoor positioning, however, satellite signals are difficult to meet the requirements of higher accuracy of indoor positioning. This paper designs a set of simple, low cost, high-positioning-accuracy indoor positioning system based on UWB, using DS-TWR ranging algorithm. Experimental results show that the system can achieve high precision positioning effect, the error is less than 10cm. The hardware design is completed, and the upper computer software is developed to draw real-time positioning map.