Real-time location tracking is essential for personal security in industrial scenes, e.g. monitoring worker safety in power substations. Ultra wideband (UWB) technology is suitable for indoor positioning thanks to its high penetration capability, high ranging accuracy and low power consumption. However, UWB based trilateration positioning requires high workload for field deployment of base stations. Indoor complex topology results in multipath and non-line of sight (NLOS) conditions of UWB signals, and degrades the positioning performance in terms of accuracy and reliability. This paper proposes a three-dimensional (3D) area recognition solution by integrating UWB time of flight (TOF) ranging and barometer measurements. The proposed solution utilizes a multi-tier distributed joint probabilistic inference model, which accomplishes the indoor 3D area recognition exploiting multiple clustering and prediction algorithms of machine learning. The field experiments showed that the proposed method can achieve an accuracy of 3D area recognition of more than 99.2%. The proposed method improves the computing efficiency by 93%. The errors of improved differential barometric height estimation method are less than 1 m, which means a success rate of 100% for floor identification, given a floor separation of 3–4 m. The proposed solution is suitable for personnel security applications of industrial scenes, which requires reliable real-time area information rather than just coordinates.