Abstract:Portable and efficient lossless drawing is an important function of the ADSN (Ancient Dwellings Sensor Network). Through the function of the ADSN localization sensor with node communication RSSI to complete the accurate positioning and ranging between the different roles to form a topology which distance can get to know. Using the RSSI signal divergence ranging and the point-to-point precision positioning of the infrared sensor to correct the RSSI's accuracy of the close range, and with remote ultrasonic point-to-point precision ranging to form a remote RSSI correction together, make the accuracy reach to 10cm in the range of 50 meters by the range fitting. deploy functional nodes (ID) to corresponding functional areas of residential sampling, define different functional areas; the topology formation, using the standard functions pattern library to matching, complete the real drawing of the ancient dwellings. The practical application proven the usefulness of this method.