The Internet of Things (IoT) for smart industry requires the surveillance and management of people and objects. The ultra-wideband positioning system is an attractive solution for achieving centimeter-level accuracy in target location. While many studies have focused on improving the accuracy of the anchor coverage range, it is important to note that in practical applications, positioning areas are often limited and obstructed by furniture, shelves, pillars, or walls, which can restrict the placement of anchors. Furthermore, some positioning regions are located beyond anchor coverage, and a single group with few anchors may not be able to cover all rooms and aisles on a floor due to non-line-of-sight errors causing severe positioning errors. In this work, we propose a dynamic-reference anchor time difference of arrival (TDOA) compensation algorithm to enhance accuracy beyond anchor coverage by eliminating local minima of the TDOA loss function near anchors. We designed a multidimensional and multigroup TDOA positioning system with the aim of broadening the coverage of indoor positioning and accommodating complex indoor environments. By employing an address-filter technique and group-switching process, tags can seamlessly move between groups with a high positioning rate, low latency, and high accuracy. We deployed the system in a medical center to locate and manage researchers with infectious medical waste, demonstrating its usefulness for practical healthcare institutions. Our proposed positioning system can thus facilitate precise and wide-range indoor and outdoor wireless localization.