 Original Article
 Open Access
 Published:
Novel indoor positioning system based on ultrawide bandwidth
Visual Computing for Industry, Biomedicine, and Art volume 3, Article number: 1 (2020)
Abstract
To tackle challenges such as interference and poor accuracy of indoor positioning systems, a novel scheme based on ultrawide bandwidth (UWB) technology is proposed. First, we illustrate a distance measuring method between two UWB devices. Then, a Taylor series expansion algorithm is developed to detect coordinates of the mobile node using the location of anchor nodes and the distance between them. Simulation results show that the observation error under our strategy is within 15 cm, which is superior to existing algorithms. The final experimental data in the hardware system mainly composed of STM32 and DW1000 also confirms the performance of the proposed scheme.
Introduction
The development of wireless communication technology has a deep impact on everyday life, and further attention is now being paid to servicebased positioning [1]. Today, GPS is suitable for outdoor positioning; however, the indoor environment is complex, and it is more difficult to obtain accurate GPS information in this setting. There are many indoor wireless communication methods used, each with their own advantages and disadvantages. These include WiFi, Bluetooth, infrared, ultrasonic, and radio frequency identification [2].
Although indoor positioning technology is in the early stages of development, it has nevertheless attracted the attention of many researchers. Excellent indoor positioning systems require highprecision positioning and low cost for a wide range of applications. As ultrawide bandwidth (UWB) has both these advantages, this research proposes an indoor positioning system based on this technology. Hence, the proposed scheme adopts an improved positioning algorithm, with low complexity and high precision.
UWB as a strong ability to resist multipath interference [3], so indoor distance measurement can be achieved with high precision. UWB wireless communications research has been conducted at Stanford University, Berkeley University, MrrLincoln Laboratory at Massachusetts Institute of Technology, Mitsubishi Research Institute at the University of Southern California and Intel Wireless Research. Among them, Professor Robert A. Schultz is one of the key proponents of UWB technology development.
There are many positioning algorithms based on distance, including the Fang algorithm, Chan algorithm, and the Taylor series expansion algorithm. As the first two algorithms cannot eliminate the error that is caused by the multipath effect, the positioning accuracy is low. Therefore, this paper concentrates on the Taylor series expansion algorithm, as this is considered the best candidate for effectively processing distance information.
Methods
A brief introduction of UWB
UWB technology differs from traditional communication technology, in that it uses a nanosecond narrow pulse, which is nonsinusoidal wave, to transmit data and sends signals with extremely low power over a wide spectrum. In 2002, the Federal Communications Commission (FCC) defined UWB as follows: The relative bandwidth of the signal is greater than 20% or the absolute bandwidth is greater than 50 MHz. This conforms to the restriction of FCC of the power spectral density. The formula is shown as follows:
In the formula, F_{B} represents the relative bandwidth; f_{U} represents the frequency of the highest point in which the antenna transmits − 10 dB radiation; f_{L} represents the frequency of the lowest point in which the antenna also transmits − 10 dB radiation; and f_{m} represents the center frequency, f_{m} = (f_{U} + f_{L})/2. Figure 1 shows the definition diagram of UWB.
The FCC document introducing the parameters of UWB only defines bandwidth value in principle; however, it does not set a limit on how to generate the UWB signal. In practical applications, to generate UWB signals that meet the specified parameters, impulse radio and multiband are typically used.
Characteristics of UWB
The main characteristics of UWB technology are as follows:
 1)
Low cost and low power consumption
The RF frontend, analog and digital signal processing components of the UWB system are relatively simple; hence, it is more straightforward to realize the full digital structure at low cost. The FCC strictly limits the level of transmission power in UWB. In short distance communication systems, the power of a UWB transmitter is typically lower than 1 mV. The system functions normally with a very low power supply, so it is a highly appropriate choice for battery operated equipment.
 2)
High data transmission rate with significant system capacity
According to the Shannon formula above, B represents the wideband of channels, and S and N represent the average power of signal and noise respectively. S/N represents the signaltonoise ratio. Under the condition of certain S/N, the maximum information transmission rate of the system is proportional to the bandwidth. Because the UWB system uses a gigabit frequency band, the system can achieve a high transmission rate [4].
 3)
Strong penetrating force
As the UWB signal contains many low frequency components, it has strong penetration ability. The UWB can penetrate indoor obstacles like walls and floors. Therefore, it is highly suitable for indoor positioning with high precision.
 4)
Strong antiinterference ability
UWB scatters weak radio pulses across a very wide frequency range, and this effectively avoids interference with other systems. The duty ratio of the UWB signal is very low and uses the window function to eliminate signal interference; this enhances the antiinterference ability and security of the system.
The distance measuring principle of UWB
UWB uses a doublesided twoway ranging method to measure distance between two devices.
As Fig. 2 illustrates, the process of distance measurement contains six steps:
 1)
Device 1 sends the poll package and records the sending time T1;
 2)
Device 2 receives the poll package and records the time T2;
 3)
Device 2 sends the response packet at time T3;
 4)
Device 1 receives the response packet and records the time T4;
 5)
Device 1 sends the final packet and records the time T5;
 6)
Device 2 receives the final packet and records the time T6.
We calculate the time using four formulas:
The time required for the UWB signal flight is calculated using the following formula:
The distance is calculated by Tprop multiplied by the speed of light.
Results and discussion
The principle of time difference of arrival algorithm
There are multiple methods used for indoor positioning, such as Received Signal Strength Indication (RSSI), Angle of Arrival (AOA), Time of Arrival (TOA), and Time Difference of Arrival (TDOA) [5]. Because TOA and TDOA positioning algorithms estimate distance based on the time of signal propagation, they can make full use of the advantages of UWB. Therefore, they are considered more beneficial than RSSI and AOA. However, the TOA position algorithm requires precise time synchronization between the two devices, which is difficult to achieve in hardware. Thus, in this study, we adopt the TDOA algorithm as the most appropriate distance algorithm to be used for the purposes of this research.
As shown in Fig. 3, BS_{i} (x_{i}, y_{i}) represents the coordinates of the base station, and MS (x, y) represents the coordinates of the mobile station, the Tporpi represents the time taken for the signal to transmit from the mobile station to the base station BSi, which is calculated in section 2.3.
The distance between the mobile station and each base station is calculated as follows:
In this formula, c represents the speed of light, and S_{i} represents the distance from the mobile station to the base station i.
BS_{1} is set as a reference station. Formula (8) minus Formula (8) whose i = 1, then we can get position equation.
In the formula, S_{i1} represents the distance difference between the mobile station, the base station i and the base station 1. We obtain a figure for the position of the mobile station using Formula (12).
Taylor series expansion algorithm
We expand Formula (9) using the Taylor series expansion algorithm by removing two order and above components [6]. Formula (9) is converted to
In the above formula,
Therefore, the leastsquare solution of the above formula is
In this formula, Q is a covariance matrix of TDOA, and δ represents the revised value of this iteration. We get x^{′} = x_{0} + Δx, y^{′} = y_{0} + Δy, and then we repeat the above steps until the δ meets the requirements.
The initial value of the Taylor series expansion algorithm determines the complexity of the algorithm. When the initial value is not suitable, the computation time of the Taylor series expansion algorithm takes longer, the position accuracy will be greatly affected, and the algorithm cannot obtain the expected solution.
It is very important to select the most suitable initial value. Hence, this paper proposes a cooperative positioning algorithm. First, the Chan algorithm and the Fang algorithm are used to obtain the two groups of position coordinates. Second, the two groups of position coordinates are then weighted to obtain the initial value of the Taylor series expansion algorithm. The algorithm is described as follows:
In this procedure, the (x_{F}, y_{F}) represents the result of the Fang algorithm, the (x_{C}, y_{C}) represents the result of the Chan algorithm, the (x_{I,} y_{I}) represents the initial value, and the (x_{o,} y_{o}) represents the positioning result.
Simulation and analysis
To verify the performance of the algorithm, it is necessary to perform a simulation and analysis. In this paper, Matlab is used to simulate the algorithm. First, we need to determine the weight of both the Fang and Chan algorithms. We get a probability of position error of less than 20 cm, when the measurement error is set to 10, 20, 30, and 40 cm respectively. As shown in Table 1, we select the probability when the measurement error is 10 cm as the weight value.
Next, we select the points on the y = 500 line as the actual coordinates of the target nodes, and assume the measurement error in the simulation process is 10 cm. The reason why the points on the y = 500 line are selected as the actual coordinates of the target nodes, is that this line can be clearly observed. To obtain the comparison diagram between the estimated position and the actual position under the cooperative position algorithm, we carried out the simulation 1000 times.
As shown in Fig. 4, we can see that the position algorithm in this paper can obtain the correct position result under these simulation conditions. The position result is floating up and down on the real position, and the position error is within 15 cm.
We ran the Fang algorithm and the cooperative algorithm 5000 times each to obtain a scatter diagram of the position result.
Figure 5 shows that the positioning accuracy of the algorithm proposed in this research is higher than the accuracy of the Fang algorithm.
We set the actual position coordinates of the mobile station as (x_{r}, y_{r}), and then set the position result coordinates which was simulated and calculated by the position algorithm as (x, y). The formula for error calculation is as follows:
In this formula, the δ represents the position error used to establish whether the position effect is positive or negative.
Then, we assume the real coordinates of the mobile station is MS (500, 500), and the coordinates of the three base stations are BS1 (0, 0), BS2 (1000, 0) and BS3 (0, 1000) respectively. The mobile station is surrounded by the base stations. The measurement error in this simulation process is still 10 cm, and the simulation was conducted 10,000 times to obtain the error curve.
As Fig. 6 shows, under these simulation conditions, the position results obtained by this algorithm are more accurate, with position errors predominantly within 15 cm.
Construction of the positioning system
The overall design block diagram of the UWB position system is shown in Fig. 7. The hardware circuit of the UWB positioning system is described as follows.
 1)
STM32 main control system. We select the STM32F103C8T6 microcontroller as the main controller of the UWB system. The core of this chip adopts ARM 32 Cortex^TMM3 kernel architecture. With embedded memory consisting of 64 KB FLASH and 20 KB SRAM, which supports highspeed access, this technology also includes three low power modes, such as sleep, standby, and shutdown. The supply voltage of the STM32F103C8T6 microcontroller is 3.3 V, but the supply voltage of the proposed system is 5 V. Therefore, we use a LM1117–3.3 voltage regulator to convert the 5 V into 3.3 V, which provides a stable working voltage for the whole control chip.
 2)
DW1000 module. The DW1000 module is a wireless transceiver module that meets the IEEE802.15.4–2011 UWB standard. It is based on the DW1000 chip from Decawave, which can achieve position precision at centimeter level. It supports a data transmission rate up to 6.8 Mb/s and is especially suitable for wireless sensor network applications. Bidirectional ranging and positioning is also sustained.
 3)
WiFi communication and power circuit. The wireless transmission module used in this work is nRF905, which is a single chip transceiver. The transceiver works in the ISM band of 433/868/915 MHz. It includes a fully integrated frequency modulator, a demodulator receiver, a power amplifier, a crystal oscillator.
 4)
Serial port conversion chips. To set and update the stations via a PC, we equip the base station and the move station with serial port conversion chips. In this research, a MAX3232 chip is used as the serial port conversion chip.
The performance of the proposed system was also verified in an indoor environment. We placed a mobile station in a room, surrounded by three base stations located in three corners of the room. We then conducted five tests and recorded the results as follows.
As shown in Table 2, we found that the algorithm can obtain positioning results, with an accuracy reach of approximately 15 cm.
Conclusions
To solve the defects of current indoor positioning systems, this paper proposes an indoor positioning system based on UWB. The system uses UWB as a means of communication and takes full advantage of the positive characteristics of UWB technology. The positioning system uses a cooperative positioning algorithm. After analyzing the results of our simulation, we can confirm that the algorithm can be characterized by low complexity and high position accuracy. This system has the potential to be utilized across a wide range of applications due to its high precision positioning in more complex indoor environments.
Availability of data and materials
Data sharing is not applicable to this article as no datasets were generated or analysed during the current study.
Abbreviations
 AOA:

Angle of Arrival
 FCC:

Federal Communications Commission
 RSSI:

Received Signal Strength Indication
 TDOA:

Time Difference of Arrival
 TOA:

Time of Arrival
 UWB:

Ultrawide bandwidth
References
 1.
Serizawa Y, Fujiwara R, Yano T, Miyazaki M (2016) Reliable wireless communication Technology of Adaptive Channel Diversity (ACD) method based on ISA100.11a standard. IEEE Trans Ind Electron 64(1):624–632. https://doi.org/10.1109/TIE.2016.2605619
 2.
Sabesan S, Crisp M, Penty R, White IH (1998) RFID tag location systems: US Patent 9,367,785, 14 Jun 2016
 3.
Yavari M (2015) Indoor realtime positioning using ultrawideband technology. Master’s thesis, University of New Brunswick, Fredericton
 4.
Yavari M, Nickerson BG (2014) Ultra wideband wireless positioning systems. University of New Brunswick, Fredericton TR14230, 2014
 5.
Liu L, Liu H (2016) Joint estimation of DOA and TDOA of multiple reflections in mobile communications. IEEE Access 4:3815–3823. https://doi.org/10.1109/ACCESS.2016.2584088
 6.
Shi XH (2013) TDOAbased wireless positioning method and its performance. J Southeast Univ (Nat Sci Ed) 43(2):252–257
Acknowledgements
Not applicable.
Funding
National Key Research and Development Program of China, No. 2018YFC0604404.
Author information
Affiliations
Contributions
ZW contributed to accomplishment of system model and main structure of the paper; RJ contributed to substantial contribution to the revision of the paper; XW contributed to design of the work and improvement of the algorithm; YAC contributed to interpretation of data and figure work of the paper; LC contributed to substantial contribution to the revision of the paper; CW contributed to figure work of the paper. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Wei, Z., Jiang, R., Wei, X. et al. Novel indoor positioning system based on ultrawide bandwidth. Vis. Comput. Ind. Biomed. Art 3, 1 (2020). https://doi.org/10.1186/s4249201900381
Received:
Accepted:
Published:
Keywords
 Indoor positioning
 Ultrawide bandwidth
 Position algorithm
 Hardware platform