A Indoor Positioning System of Bluetooth AOA Using
A Indoor Positioning System of Bluetooth AOA Using
8, JUN 15 2022 1
B. Antenna Array
The IQ samples are switched by the antenna array and then
divided into two values according to quadrature and in-phase.
The antenna array is an array antenna group composed of
multiple single antennas. Acoording to the difference of shape,
the antenna arrays can be divided into linear array and plane
array. A linear array is a set of antennas arranged at equal
intervals. Because it is one-dimensional, it is generally used
for plane angle estimation calculation. The other is the plane
array. The common plane arrays are mainly divided into two
types, circular arrays and square arrays. Plane arrays are 2-
dimensional and can be used to estimate azimuth and elevation
angles. The Fig.4 shows the antenna boards of Nordic and
Fig. 3: The relation of original signal and IQ sample. The Silab [16], both of which are square array antenna boards.
original signal is devided into In-phase and Quadrature values. The difference is that Nordic has removed four antennas in
The amplitude and phase of signal is can be expressed by I and the middle, but from the calculation point of view, there is no
Q, the phase difference is conculate by two antenna’s phase. difference between the two.
The antenna board is controlled by a radio frequency switch,
CTE can be divided into AOA and AOD according to the and its logic is a gate circuit in the circuit, which can
type. According to the provisions of Bluetooth protocol 5.1, be combined by 0 and 1 binary to achieve the purpose of
AOA is selected by default in the configuration, and AOD is controlling multiple antennas. The Fig.4 shows the antenna
generally divided into two types: AOD 1 µs and AOD 2 µs. switching, which is controlled by four IO ports. The four IO
The CTE is decomposed into I (In-phase) and Q(Quadrature) ports can control 16 digital states according to different logical
signals after passing through the antenna array according to combinations. Each digital state corresponds to an antenna
Fig.3. Its mathematical relationship can be expressed by the switching switch. By Fig.5, the antenna switching control and
equation 1 and 2 below, the amplitude of the signal is the its lead the logic level of the pin can be displayed.
sum of the squares of the two signals, and the angle is the
tangent ratio of the Q-channel signal and the I-channel signal. C. AOA Conculation
Assuming that the expression of the signal is A sin(θ), and
IQ is the value of its two quadrature signals, the following AOA Conculation is defided by the priciple of phase differ-
formula can be obtained from the above [13]: ence(PD) [17]. Through, the signal’s phase of antena arrary
p can be conculated. Assuming that the signal is a plane wave
A = I 2 + Q2 (1) and the array antenna is a linear array, since the time it takes to
reach different antenna arrays is different, there will be a phase
Q difference between the two adjacent antennas. The specific
θ = arctan (2)
I representation can be seen in the figure below. First, the
In the above formulas, A represents the amplitude of the respective phases of antenna 1 and antenna 2 can be calculated
signal, θ represents the phase angle of the signal, whose unit according to the above. The signal reaches antenna 2 at a
is angle, and I and Q respectively represents the I/Q value of distance from antenna 1. The distance is calculated according
the two signals after sampling. to the electromagnetic wave theory. Then, according to the
4 IEEE SENSORS JOURNAL, VOL. 30, NO. 8, JUN 15 2022
Q
arctan + π (I < 0)
I
Q
arctan (I > 0, Q ≥ 0)
I
φ(Q, I) = arctan + 2πQ
(I < 0, Q < 0) (20)
π
I
(I = 0, Q > 0)
2
3π
(I = 0, Q < 0)
2
When all IQ value phase values have been calculated, the
phase must also be corrected. Since the original signal is a
sinusoidal signal, the period is exactly 2µs. The calculated
value of the next antenna sampling should be larger than the
previous one. For this, we summarize a calculation algorithm
[15], as shown in the Table.I. This method is used to process
the above data to obtain the final phase difference. According
Fig. 9: The original IQ samples. The blue line and red line to the above calculation, 38 groups of all phase values that
show the IQ sample from the diffrent antenna, whose values increase according to the specified phase can be obtained.
change with antenna switch. The IQ sample are used to At the same time, the amplitude of the collected signal is
conculate the phase and amplitude. calculated.
range, whether in the x-coordinate or the y-coordinate, does very efficient and the calculation accuracy is also very high.
not exceed 2 m. In addition, the calculation of indoor positioning can be
At the same time, due to the accuracy of the one- achieved by using two-point positioning again, which was not
dimensional MUSIC algorithm calculation, the corresponding available before. The proposed algorithm can effectively solve
angle value is calculated, and then the position of the label the position problem of spatial tags. Two-point positioning is
can be calculated through two points. very reliable for calculating the plane position, and its accuracy
is high and the error is small. In a word, this article is of great
reference significance for the application of Bluetooth AOA
positioning.
R EFERENCES
[1] Z. Wang, Z. Yang, and T. Dong, “A review of wearable technologies for
elderly care that can accurately track indoor position, recognize physical
activities and monitor vital signs in real time,” Sensors, vol. 17, no. 2,pp.
341-346, 2017.
[2] L. Kajdocsi, A. Dörömbözi and J. Kovács, “Development of Bluetooth
Mesh Core Stack using OmNET++,” 2019 IEEE 17th International Sym-
posium on Intelligent Systems and Informatics (SISY), Subotica,Serbia,
2019, pp. 23-28.
[3] B. Friedlander, “A sensitivity analysis of the MUSIC algo-
rithm,”IEEETrans. Acoust., Speech Signal Process., vol. 38, no. 10, pp.
1740–1751,Oct. 1990.
[4] N. B. Suryavanshi, K. V. Reddy, V. R. Chandrika, “Direction Finding
Capability in Bluetooth 5.1 Standard,” in International Conference on
Ubiquitous Communications and Network Computing, Springer,Cham,
pp. 53-65, 2019.
[5] T. Wang, H. Zhao, and Y. Shen, “An efficient single-anchor localization
Fig. 12: The position between the true position and solution method using ultra-wide bandwidth systems,” Appl. Sci., vol. 10, no. 1,
by TPP. There are 3 group position estimated. The closer the Jan. 2020.
[6] Z. Liu, W. Dai, and M. Z. Win, “Mercury: An infrastructure-free
tag is to the base station, the position caculation are more system for network localization and navigation,” IEEE Trans. Mobile
accurate. Even so, the errors are no more than 2 m. Comput.,vol. 17, no. 5, pp. 1119–1133, May 2018.
[7] S. Mehryar et al., “Belief condensation filtering for rssi-based state esti-
mation in indoor localization,” in Proc. IEEE Int. Conf. Acoust.,Speech
and Signal Process., May 2019, pp. 8385–8389.
[8] P. Zand et al., “A high-accuracy phase-based ranging solution with Blue-
VII. CONCLUSION tooth Low Energy (BLE),” in Proc. IEEE Wireless Commun. Netw.Conf.,
As a new indoor positioning technology, Bluetooth AOA Marrakech, Morocco, Apr. 2019, pp. 1–8.
[9] S. Mazuelas, Y. Shen, and M. Z. Win, “Spatiotemporal information
has been recognized by the Bluetooth Alliance. Bluetooth coupling in network navigation,” IEEE Trans. Inf. Theory, vol. 64,no.
AOA positioning technology can achieve high positioning 12, pp. 7759–7779, Dec. 2018.
accuracy, low cost and low power consumption. Based on [10] N. H. Nguyen, K. Do˘ganc¸ay, and E. E. Kuruoglu, “An iteratively
reweighted instrumental-variable estimator for robust 3-D AOA local-
the Bluetooth positioning technology, this article proposes ization in impulsive noise,” IEEE Trans. Signal Process., vol. 67, no.18,
a system for calculating the position of the tag from the pp. 4795–4808, Sep. 2019.
improved MUSIC algorithm combined with the principle of [11] S. Monfared, T. Nguyen, L. Petrillo, P. De Doncker and F. Hor-
lin,“Experimental Demonstration of BLE Transmitter Positioning Based
two-point positioning. From the experimental results, the use on AOA Estimation,” 2018 IEEE 29th Annual International Sympo-
of two-point positioning to solve the tag position is very sium onPersonal, Indoor and Mobile Radio Communications (PIMRC),
efficient, and the time required for calculation is very less. Bologna,2018, pp. 856-859.
[12] Marco Cominelli, Paul Patras, and Francesco Gringoli. 2019. Dead on
Besides this, the most important thing is that its positioning Arrival: An Empirical Study of The Bluetooth 5.1 Positioning System.In
error is also very small, compared with other positioning Proceedings of the 13th International Workshop on Wireless Network
technologies, so this system is a Bluetooth indoor positioning Testbeds, Experimental Evaluation and Characterization (WiNTECH
’19).Association for Computing Machinery, New York, NY, USA,
system worthy of application. First, a principle about AOA is 13–20.
proposed. The structure of the CTE packet, the relationship [13] Mikael Q Kuisma. Whiteboard Web:I/Q Data for
between IQ sampling and the final signal are introduced in Dummies.Available:http://whiteboard.ping.se/SDR/IQ.
[14] M. Wooley. (2019). Bluetooth Direction Finding: A Tech-
detail, and the amplitude and phase of the calculated signal are nical Overview. Bluetooth Resources. [Online]. Available:
explained from the source. Then, we deduce the algorithm flow https://www.bluetooth.com/bluetooth-resources/bluetooth-direction-finding/
of MUSIC through the Bluetooth AOA calculation principle, [15] H. Ye, B. Yang, Z. Long and C. Dai, ”A Method of Indoor Positioning
by Signal Fitting and PDDA Algorithm Using BLE AOA Device,” in
construct the signal from the IQ value, then construct the IEEE Sensors Journal, vol. 22, no. 8, pp. 7877-7887, 15 April15, 2022.
antenna steering vector and solve the output signal, and finally [16] Q. Yan, J. Chen, G. Ottoy, and L. D. Strycker, “Robust AOA
decompose the eigenvalue of the output signal matrix, and use based acoustic source localization method with unreliable measure-
ments,”Signal Process., vol. 152, pp. 13–21, Nov. 2018.
the spectral function to solve the direction angle.Using two- [17] W. Xiong, C. Schindelhauer, H. C. So, D. J. Schott, and S. J.
point positioning to bring in the solved angle, the position Rupitsch,“Robust TDOA source localization based on Lagrange pro-
coordinates of the label can be solved. The whole system gramming neural network,” IEEE Signal Process. Lett., vol. 28, pp.
1090–1094,2021.
realizes the original DOA estimation from theory to practical [18] T.-K. Le and K. C. Ho, “Joint source and sensor localization by angles
application, and the proposed AOA calculation algorithm is of arrival,” IEEE Trans. Signal Process., vol. 68, pp. 6521–6534, 2020.
AUTHOR et al.: PREPARATION OF PAPERS FOR IEEE TRANSACTIONS AND JOURNALS (FEBRUARY 2022) 9