Wireless sensor networks (WSNs) and the Internet of Things (IoT) have been widely used in industrial, construction, and other fields. In recent years, demands for pedestrian localization have been increasing rapidly. In most cases, these applications work in harsh indoor environments, which have posed many challenges in achieving high-precision localization. Ultra-wide band (UWB)-based localization systems and pedestrian dead reckoning (PDR) algorithms are popular. However, both have their own advantages and disadvantages, and both exhibit a poor performance in harsh environments. UWB-based localization algorithms can be seriously interfered by non-line-of-sight (NLoS) propagation, and PDR algorithms display a cumulative error. For ensuring the accuracy of indoor localization in harsh environments, a hybrid localization approach is proposed in this paper. Firstly, UWB signals cannot penetrate obstacles in most cases, and traditional algorithms for improving the accuracy by NLoS identification and mitigation cannot work in this situation. Therefore, in this study, we focus on integrating a PDR and UWB-based localization algorithm according to the UWB communication status. Secondly, we propose an adaptive PDR algorithm. UWB technology can provide high-precision location results in line-of-sight (LoS) propagation. Based on these, we can train the parameters of the PDR algorithm for every pedestrian, to improve the accuracy. Finally, we implement this hybrid localization approach in a hardware platform and experiment with it in an environment similar to industry or construction. The experimental results show a better accuracy than traditional UWB and PDR approaches in harsh environments.Sensors 2020, 20, 193 2 of 20 most important feature of harsh environments. Indoor localization technology is still very challenging under NLoS propagation in harsh environments.The current mainstream indoor localization systems are radio frequency (RF)-based. This kind of system basically requires beacon nodes, or beacon nodes (BNs), with known coordinates in the localization system. Each target to be located has an electronic tag, or tag node (TN). Specific features generated from the communication between the TN and BN are used for localization. These features mainly include the radio signal strength (RSS), time, signal angle, etc. The challenge of indoor localization systems in harsh environments is that these features can be severely disturbed [1] by NLoS propagation or other interference. As a result, the localization accuracy will be greatly reduced.In harsh environments, interference of an RF-based localization system can be mainly divided into three types. Firstly, multipath refraction is a common type of interference in harsh environments. It means that an RF signal will be transmitted to the receiver through multiple paths, which causes the transmission time to be unreliable and unpredictable RSS superposition. Additionally, it apparently has a greater impact on the signal angle. Secondly, non-line-of-sight (NLoS) propagati...