With the booming development of the Internet of things (IoT) industry, the demand of positioning technology in various IoT application scenarios is also greatly increased. To meet the positioning requirements of the IoT application, we propose a distance measurement method based on phase regeneration that can provide positioning capability for IoT applications in indoor and outdoor environments. The PRG algorithm consists of two phases: coarse ranging phase and fine ranging phase. Fingerprint positioning algorithm based on Gradient Boost Decision Tree (GBDT) is used to determine coarse distance. The host machine measures the difference between the transmitted carrier phase and the received regenerative carrier phase to fix the fine distance and then the coarse distance is used to determine the carrier phase integer ambiguity. Finally, high precision ranging is realized. Simulation results show that the PRG method can achieve range finding with decimeter level precision under the 10 MHz subcarrier frequency.
The Lenstra-Lenstra-Lovász (LLL) lattice reduction algorithm and many of its variants have been widely used by cryptography, multiple-input-multiple-output (MIMO) communication systems and carrier phase positioning in global navigation satellite system (GNSS) to solve the integer least squares (ILS) problem. In this paper, we propose an n-dimensional LLL reduction algorithm (n-LLL), expanding the Lovász condition in LLL algorithm to n-dimensional space in order to obtain a further reduced basis. We also introduce pivoted Householder reflection into the algorithm to optimize the reduction time. For an m-order positive definite matrix, analysis shows that the n-LLL reduction algorithm will converge within finite steps and always produce better results than the original LLL reduction algorithm with n > 2. The simulations clearly prove that n-LLL is better than the original LLL in reducing the condition number of an ill-conditioned input matrix with 39% improvement on average for typical cases, which can significantly reduce the searching space for solving ILS problem. The simulation results also show that the pivoted reflection has significantly declined the number of swaps in the algorithm by 57%, making n-LLL a more practical reduction algorithm.