This application claims priority to and the benefit of Taiwan Application No. 109118235, filed on Jun. 1, 2020, the entirety of which is incorporated by reference herein.
The invention relates to an electronic device, especially one relating to an electronic device and a method for indoor positioning.
With the evolution and popularization of the Bluetooth Low Energy (BLE) standard, many system services have been developed for positioning-related applications. In terms of positioning accuracy, due to the characteristics of Bluetooth radio frequency signal, the traditional positioning error achieved by using the received signal strength (RSSI) may reach several meters. The “direction finding” function newly added in the latest Bluetooth standard 5.1 only defines the standard framework of angle of arrival, such as the packet format and the sampling mode of the RF antenna, but there is no certain standard for software and hardware implementation of angle of arrival and angle estimation algorithm.
To estimate the direction-of-arrival of a signal, Multiple signal classification (MUSIC) method is the most typical algorithm with the highest resolution. The MUSIC method separates a signal subspace and a noise subspace by analyzing the difference of the signal space characteristics, and according to the orthogonality of the above two subspaces, the MUSIC method can obtain the direction-of-arrival of the signal. However, the above method must meet the conditions to obtain excellent estimation results, such as sufficient quantity of antennas, good signal-to-noise ratio (SNR), sufficient quantity of antenna samples, signal sources not related to each other, etc. In addition, the large amount of calculation is also a shortcoming of the traditional MUSIC algorithm, which causes an efficiency bottleneck in positioning applications that require immediate calculation.
In order to resolve the issue described above, an embodiment of the invention provides an electronic device. The electronic device includes an array antenna and processor. The array antenna includes a plurality of antenna units to receive a wireless signal transmitted from user equipment (UE). The processor executes the following tasks: dividing the antenna units into a plurality of groups; combining the reception parameters of sampling data the antenna units included in each of the groups to generate a reception parameter matrix of sampling data; providing a multiple signal classification (MUSIC) module; and calculating a plurality of angles of arrival (AOA) from the UE to the plurality of each of the groups according to the reception parameter matrix.
An embodiment of the invention provides a method for indoor positioning, applicable to an electronic device comprising an array antenna and a processor, wherein the array antenna comprises a plurality of antenna units. The method comprises the following steps: receiving a wireless signal transmitted from user equipment (UE), wherein each of the antenna units receives the reception parameters from sampling of the wireless signal; dividing the antenna units into a plurality of groups; combining the reception parameters of the antenna units included in each of the groups to generate a reception parameter matrix; and calculating a plurality of angles of arrival (AOA) from the UE to the antenna units of each of the groups according to the reception parameter matrix.
The invention can be more fully understood by reading the subsequent detailed description with references made to the accompanying figures. It should be understood that the figures are not drawn to scale in accordance with standard practice in the industry. In fact, it is allowed to arbitrarily enlarge or reduce the size of components for clear illustration.
In some embodiments, the indoor positioning tags 104-1, 104-2, . . . , 104-m are arranged on user equipment, for example, arranged on a mobile device worn by a user, or arranged in a personal identification card. The indoor positioning tags 104-1, 104-2, . . . , 104-m follow the user's movement and continuously and periodically transmit wireless signals to the indoor positioners arranged at different locations. Each of the indoor positioning tags 104-1, 104-2, . . . , 104-m, taking the indoor positioning tag 104-2 as an example, has a wireless signal transmitter 108 and a sensor 110. In some embodiments, the wireless signal transmitter 108 periodically transmits Bluetooth beacon. The sensor 110, for example, is an inertial measurement unit (IMU). When the wireless signal transmitter 108 sends out a Bluetooth beacon, the Bluetooth beacon may be sent to the indoor positioner 102-1 together with data of the sensor 110 and received by the array antenna of the indoor positioner 102-1. The data of the sensor 110 could be used to calculate the moving status or the velocity direction (or called status data) of the indoor positioning tag 104-2.
In some embodiments, each of the indoor positioners 102-1, 102-2, . . . , 102-n in
As shown in
It is noted that the original IQ sampling data include a coordinate, comprising a real number I and a complex number Q, on a complex plane. The original IQ sampling data need to be converted for calculating the reception strength and the reception phase.
In some embodiments, the function of the MUSIC module is implemented by the processor 202 executing a multiple signal classification (MUSIC) algorithm. The MUSIC module 204 divides the reception parameters (including the reception strength and the reception phase) of IQ sampling data of the antenna units A1-A9 when receiving a Bluetooth beacon into groups, and transfers the reception parameters into a matrix type as its input. The MUSIC module 204 correspondingly outputs the angles of arrival corresponding to the divided group of the antenna units A1-A9 according to the received reception parameters. In some embodiments, the MUSIC module 204 can be executed by another SoC (system on a chip), but the invention is not limited thereto. Generally, the MUSIC algorithm separates a signal subspace and a noise subspace by performing an eigen decomposition on the covariance matrix that calculated from the reception parameter matrix of sampling of the wireless signal and according to the orthogonality between the signal subspace and the noise subspace, the MUSIC algorithm can calculate the angles of arrival from the user equipment to each of the groups of the antenna units.
Generally, the MUSIC algorithm is used in military large-scale array radars for processing tens of thousands to hundreds of thousands of input data, to calculate the position of an object detected by the radar based on the input data. In other words, when the more data is input to the MUSIC algorithm, the angles of arrival (the elevation angle and the azimuth angle) calculated by the MUSIC algorithm is more accurate. Therefore, the present invention may increase the number of sampling data in a single Bluetooth beacon.
In some embodiments, referring to
When the indoor positioner 102-1 determines that the user equipment is in the moving status, the indoor positioner 102-1 generates a reception parameter matrix according to IQ sampling data of the Bluetooth beacon sampled on the antenna units included in each of the groups. For example, the processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon sampled on the antenna units A1, A2, and A3 in the first group to generate a reception parameter matrix (1), as follows.
Wherein MA11 indicates 1st IQ sampling data of the Bluetooth beacon received by the antenna unit A1, MA22 indicates 2nd IQ sampling data of the Bluetooth beacon received by the antenna unit A2, and MA340 indicates 40th IQ sampling data of the Bluetooth beacon received by the antenna unit A3.
Similarly, the processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon received by the antenna units A4, A5, and A6 in the second group to generate a reception parameter matrix (2), as follows.
The processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon received by the antenna units A7, A8, and A9 in the third group to generate a reception parameter matrix (3), as follows.
The processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon received by the antenna units A1, A4, and A7 in the fourth group to generate a reception parameter matrix (4), as follows.
The processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon received by the antenna units A2, A5, and A8 in the fifth group to generate a reception parameter matrix (5), as follows.
The processor 202 of the indoor positioner 102-1 combines the IQ sampling data of the Bluetooth beacon received by the antenna units A3, A6, and A9 in the sixth group to generate a reception parameter matrix (6), as follows.
Then, the processor 202 of the indoor positioner 102-1 sends the reception parameter matrixes (1)-(6) corresponding to each of the groups to the MUSIC module 204 to calculate the angles of arrival from the user equipment (that is, the indoor positioning tag 104-2) to each of the groups of the antenna units. For example, angles of arrival θ(1) corresponding to the first group (the antenna units A1, A2 and A3), angles of arrival θ(2) corresponding to the second group (the antenna units A4, A5 and A6), angles of arrival θ(3) corresponding to the third group (the antenna units A7, A8 and A9), angles of arrival θ(4) corresponding to the fourth group (the antenna units A1, A4 and A7), angles of arrival θ(5) corresponding to the fifth group (the antenna units A2, A5 and A8), and angles of arrival θ(6) corresponding to the sixth group (the antenna units A3, A6 and A9) can be calculated. After that, the indoor positioner 102-1 sends the angles of arrival θ(1)-θ(3) corresponding to the row (X axis) and the angles of arrival θ(4)-θ(6) corresponding to the column (Y axis) to the statistic filter 206 to remove the angles of arrival that suffer multipath interference.
In some embodiments, when the indoor positioner 102-1 determines that the user equipment is in the stationary status, in order to increase the number of IQ sampling data of the Bluetooth beacon received by each of the groups of the antenna units, the indoor positioner 102-1 may sample 2 Bluetooth beacons, and combine the IQ sampling data to generate another reception parameter matrix. For example, the processor 202 of the indoor positioner 102-1 combines IQ sampling data from 2 Bluetooth beacons received by the antenna units A1, A2 and A3 in the first group to generate a reception parameter matrix (7) as follows.
Wherein MA139 indicates 39th IQ sampling data received by the antenna unit A1, MA241 indicates 41st IQ sampling data received by the antenna unit A2, and MA380 indicates 80th IQ sampling data received by the antenna unit A3. In other words, the processor 202 of the indoor positioner 102-1 may sample 40 sampling data in each Bluetooth beacon through the antenna units A1-A9.
The reception matrix (1) is a 3*40 matrix, and the reception matrix (7) is a 3*80 matrix. In other words, when the indoor positioner 102-1 determines that the user equipment is in the stationary status, the indoor positioner 102-1 may combine the IQ sampling data to generate a larger reception parameter matrix. For example, if the indoor positioner 102-1 combines the IQ sampling data that is received in 3 Bluetooth beacons, a 3*120 reception parameter matrix may be obtained.
Similarly, the processor 202 of the indoor positioner 102-1 combines IQ sampling data from two Bluetooth beacons received by the antenna units A4, A5 and A6 in the second group to generate a reception parameter matrix (8) as follows.
The processor 202 of the indoor positioner 102-1 combines IQ sampling data from two Bluetooth beacons received by the antenna units A7, A8 and A9 in the third group to generate a reception parameter matrix (9) as follows.
The processor 202 of the indoor positioner 102-1 combines IQ sampling data from two Bluetooth beacons received by the antenna units A1, A4 and A7 in the fourth group to generate a reception parameter matrix (10) as follows.
The processor 202 of the indoor positioner 102-1 combines IQ sampling data from two Bluetooth beacons received by the antenna units A2, A5 and A8 in the fifth group to generate a reception parameter matrix (11) as follows.
The processor 202 of the indoor positioner 102-1 combines IQ sampling data from two Bluetooth beacons received by the antenna units A3, A6 and A9 in the sixth group to generate a reception parameter matrix (12) as follows.
Then, the processor 202 of the indoor positioner 102-1 sends the reception parameter matrixes (7)-(12) to the MUSIC module 204 to calculate a plurality of angles of arrival from the user equipment (that is, the indoor positioning tags 104-2) to each of the groups of the antenna units. For example, angles of arrival θ(7) corresponding to the first group (the antenna units A1, A2 and A3), angles of arrival θ(8) corresponding to the second group (the antenna units A4, A5 and A6), angles of arrival θ(9) corresponding to the third group (the antenna units A7, A8 and A9), angles of arrival θ(10) corresponding to the fourth group (the antenna units A1, A4 and A7), angles of arrival θ(11) corresponding to the fifth group (the antenna units A2, A5 and A8), and angles of arrival θ(12) corresponding to the sixth group (the antenna units A3, A6 and A9) can be calculated. After that, the processor 202 of the indoor positioner 102-1 sends the angles of arrival θ(7)-θ(9) corresponding to the row (X axis) and the angles of arrival θ(10)-θ(12) corresponding to the column (Y axis) to the statistic filter 206 to remove the angles of arrival that suffer multipath interference.
The reception parameter matrix (1)-(12) are only examples, and are not intended to be limitations of the present invention.
For example, as shown in
A processor of the positioning engine 106 converts the filtered angles of arrival from X axis and Y axis to position coordinates of the user equipment to complete the positioning action on the user equipment. In some embodiments, the statistic filter 206 can be implemented by the processor 202 of the indoor positioner 102-1. In some embodiments, the statistic filters 206, 500 can be executed by a processor of another SoC, but the present invention is not limited thereto. In the above embodiments, the angles of arrival θ(1)-θ(6) are obtained by inputting 40 of IQ sampling data, and the angles of arrival θ(7)-θ(12) are obtained by inputting 80 of IQ sampling data. However, the present invention does not limit the numbers of IQ sampling data that inputs into the MUSIC module 204.
In some embodiments, the step 602 is an optional step.
In some embodiments, the processor 202 of the indoor positioner 102-1 in
An electronic device and a method for indoor positioning disclosed in the present invention are based on a multiple signal classification (MUSIC) algorithm, and improve and optimize the Bluetooth wireless standard architecture, and then extended to develop a multiple linear sub-antenna for estimating the two-dimensional angles of arrival (DoA). The electronic device and the method disclosed in the present invention optimize the angle estimation through the front and back statistic filtering process, and achieve high-resolution two-dimensional signal angle of arrival (DoA) estimation technology. Antenna design, hardware complexity, software computing resource requirements, and execution speeds of the electronic device and the method disclosed in the present invention are significantly simpler and faster than those of the traditional MUSIC algorithm. In addition, the electronic device and the method disclosed in the present invention can filter out the multi-path effect, and accurately estimate a correct angle of arrival.
The ordinals in the specification and the claims of the present invention, such as “first”, “second”, “third”, etc., have no sequential relationship, and are just for distinguishing between two different components with the same name. In the specification of the present invention, the word “couple” refers to any kind of direct or indirect electronic connection. The present invention is disclosed in the preferred embodiments as described above, however, the breadth and scope of the present invention should not be limited by any of the embodiments described above. Persons skilled in the art can make small changes and retouches without departing from the spirit and scope of the invention. The scope of the invention should be defined in accordance with the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
109118235 | Jun 2020 | TW | national |