Dynamic switching mode selection for angle of arrival

By manipulating the antenna switching mode and the neural network to optimize the signal sampling sequence, the accuracy problem of the direction finding algorithm caused by the establishment delay of the signal elements in the antenna array is solved, achieving higher arrival angle calculation accuracy and lower power consumption.

CN113820951BActive Publication Date: 2024-08-27SILICON LABORATORIES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110671510.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-18
Filing Date
2021-06-17
Publication Date
2024-08-27
Estimated Expiration
2041-06-17

AI Technical Summary

Technical Problem

The direction finding algorithm in existing antenna arrays relies on the accurate distance between signal elements and signal quality. However, due to the setup delay of the multiplexer, it is difficult to obtain accurate I and Q signals in time, resulting in the accuracy of the direction finding algorithm. Restricted.

Method used

By manipulating the antenna switching mode, estimating the angle of arrival and selecting the preferred switching mode to reduce the absolute error, using neural networks or signal sequencing to determine a more accurate signal sampling sequence, improve the accuracy of signal source measurements.

Benefits of technology

It improves the accuracy of angle of arrival calculation, reduces the number of CTE packets required for signal sampling, reduces power consumption and response time, and enhances the accuracy of the direction finding algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113820951B_ABST
    Figure CN113820951B_ABST
Patent Text Reader

Abstract

Dynamic switching mode selection for angle of arrival. A device and method for improving the accuracy of angle of arrival and angle of departure calculations are disclosed. The device and method rely on the manipulation of antenna switching patterns to achieve improved calculations of angle of arrival. In one embodiment, the device calculates an estimated angle of arrival using conventional methods. The device then determines which of a plurality of different antenna switching patterns produces a more accurate result at the estimated angle of arrival. The AoA measurement is then repeated using a preferred antenna switching pattern. In another embodiment, the device captures the amplitude and / or phase of the signal from each antenna element. The device then sorts the antenna elements and defines a preferred antenna switching pattern based on the sorted list. The AoA measurement is then performed using the preferred antenna switching pattern. In another embodiment, a neural network may be utilized to determine the preferred antenna switching pattern.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure describes systems and methods for optimizing antenna switching patterns, and more particularly describes systems and methods for changing antenna switching patterns to maximize the accuracy of direction finding algorithms. Background Art

[0002] Angle of arrival and angle of departure algorithms - collectively referred to as AoX algorithms - operate by determining the phase difference between different antenna elements in an antenna array. The antenna array can be a one-dimensional or two-dimensional array. Since the distance between the antenna elements is known, this phase difference can be used to determine the angle from which the signal originated.

[0003] Specifically, assuming a one-dimensional antenna array, where the distance between two adjacent antenna elements is d. The phase difference between the incoming signals detected at these two adjacent antennas can be given as The phase difference Dividing by 2π and multiplying by the wavelength λ represents the distance between the two antenna elements when viewed from the signal source. Knowing this difference in the distance the incoming signal traveled allows the angle of arrival to be calculated. Specifically, the angle of arrival can be given by the difference in the distance the incoming signal traveled divided by d, which represents the cosine of the incoming signal. In other words, the angle of arrival is defined as The arc cosine of .

[0004] This algorithm and others rely on the accuracy of several parameters. Specifically, the distance between adjacent antenna elements must be accurate. This is usually not a problem because the geometry of the antenna array is well defined. The algorithm also relies on the quality of the incoming signal. Specifically, the quality of the I and Q signals is critical to the accurate operation of any direction finding algorithm. In many systems, the signals from the various elements of the antenna array are multiplexed and utilize common electronics. These common electronics may include inductive or capacitive elements, which cannot be switched instantaneously and therefore have settling delays.

[0005] However, many protocols only allow a predetermined amount of time to acquire signals from all antenna elements.Thus, the device executing the direction finding algorithm must acquire the necessary signals from each element of the antenna array in a timely manner, despite the settling delay noted above.

[0006] Therefore, it would be beneficial if there was a system and method that minimized the setup delay so that accurate I and Q signals could be obtained and evaluated. In this way, the accuracy of the AoX algorithm could be improved. Summary of the invention

[0007] A device and method for improving the accuracy of angle of arrival and angle of departure calculations are disclosed. The device and method rely on the manipulation of antenna switching patterns to achieve improved calculations of angle of arrival. In one embodiment, the device calculates an estimated angle of arrival using conventional methods. The device then determines which of a plurality of different antenna switching patterns produces a more accurate result at the estimated angle of arrival. The AoA measurement is then repeated using a preferred antenna switching pattern. In another embodiment, the device captures the amplitude and / or phase of a signal from each antenna element. The device then sorts the antenna elements and defines a preferred antenna switching pattern based on the sorted list. The AoA measurement is then performed using the preferred antenna switching pattern. In another embodiment, the device utilizes a neural network that is trained using I and Q signals and provides an indication of a preferred antenna switching pattern.

[0008] According to one embodiment, a device for calculating an angle of arrival or an angle of departure is disclosed. The device includes a wireless network interface, wherein the wireless network interface includes an antenna array having multiple antenna elements and an analog multiplexer, wherein the wireless network interface receives an incoming signal from the antenna element and generates an I signal and a Q signal associated with the antenna element; a processing unit; and a memory device, including instructions, which when executed by the processing unit enable the device to: receive a packet including a constant tone extension (CTE), wherein the CTE includes a tone with a known frequency, and wherein the CTE includes multiple switching time slots and multiple sampling time slots; sample the CTE during multiple sampling time slots using a default antenna switching pattern, wherein the antenna switching pattern determines the order in which the analog multiplexer selects each antenna element of the antenna array; calculate an estimated angle of arrival using the I and Q signals from the multiple sampling time slots; select a preferred antenna switching pattern based on a predetermined relationship between the estimated angle of arrival and the multiple antenna switching patterns; sample the CTE during multiple sampling time slots using the preferred antenna switching pattern; and calculate the angle of arrival using the I and Q signals from the multiple sampling time slots. In some embodiments, the memory device includes multiple antenna switching patterns. In some embodiments, a predetermined relationship associates each estimated angle of arrival with one of the multiple antenna switching patterns. In some embodiments, the antenna switching pattern associated with each estimated angle of arrival minimizes an absolute error, where the absolute error is defined as the absolute value of the difference between the estimated angle of arrival and the actual angle of arrival. In another embodiment, the predetermined relationship associates a range of estimated angles of arrival with one of the multiple antenna switching patterns. In some embodiments, the angle of arrival calculated using the preferred antenna switching pattern is used to select an updated preferred antenna switching pattern based on a predetermined relationship between the angle of arrival and the multiple antenna switching patterns; and the instruction enables the device to: sample the CTE during multiple sampling time slots using the updated preferred antenna switching pattern; and calculate an improved angle of arrival using I and Q signals from the multiple sampling time slots.

[0009] According to another embodiment, a method for calculating an angle of arrival or an angle of departure is disclosed. The method includes using a device having a wireless network interface, wherein the wireless network interface includes an antenna array having multiple antenna elements and an analog multiplexer, wherein the wireless network interface receives an incoming signal from the antenna element and generates an I signal and a Q signal associated with the antenna element to receive a packet including a constant tone extension (CTE), wherein the CTE includes a tone having a known frequency, and wherein the CTE includes multiple switching time slots and multiple sampling time slots; using a default antenna switching mode to sample the CTE during multiple sampling time slots, wherein the antenna switching mode determines the order in which the analog multiplexer selects each antenna element of the antenna array; using the I and Q signals from the multiple sampling time slots to calculate an estimated angle of arrival; based on a predetermined relationship between the estimated angle of arrival and the multiple antenna switching modes, selecting a preferred antenna switching mode; using the preferred antenna switching mode to sample the CTE during multiple sampling time slots; and using the I and Q signals from the multiple sampling time slots to calculate the angle of arrival. In some embodiments, the preferred antenna switching mode is selected from one of the multiple antenna switching modes. In some embodiments, the predetermined relationship associates each estimated angle of arrival with one of a plurality of antenna switching modes. In some embodiments, the predetermined relationship associates a range of estimated angles of arrival with one of a plurality of antenna switching modes. In some embodiments, the predetermined relationship is created by: setting a beacon at a fixed position; rotating a test device having the same antenna configuration as the antenna array of the device, wherein the test device rotates through 360 degrees of azimuth; sampling CTE from the beacon to calculate the calculated angle of arrival for a plurality of azimuths; creating an error distribution for each of a plurality of antenna switching modes, wherein the error distribution represents the difference between the actual angle of arrival and the calculated angle of arrival; and minimizing the absolute error at each azimuth based on the error distribution. In some embodiments, the absolute error at each azimuth is minimized by: for each antenna switching mode, determining the difference between the actual angle of arrival and the calculated angle of arrival; selecting the antenna switching mode with the smallest absolute value of the difference. In some embodiments, the method further includes: using the angle of arrival to select an updated preferred antenna switching pattern based on a predetermined relationship between the angle of arrival and multiple antenna switching patterns, using the preferred antenna switching pattern to calculate the angle of arrival; sampling the CTE during multiple sampling time slots using the updated preferred antenna switching pattern; and calculating the improved angle of arrival using I and Q signals from the multiple sampling time slots.

[0010] According to another embodiment, a software program is disclosed. The software program includes instructions that, when executed by a processing unit disposed on a device, include a wireless network interface, wherein the wireless network interface includes an antenna array having multiple antenna elements and an analog multiplexer, wherein the wireless network interface receives an incoming signal from the antenna element and generates an I signal and a Q signal associated with the antenna element, enabling the device to: receive a packet including a constant tone extension (CTE), wherein the CTE includes a tone having a known frequency, and wherein the CTE includes multiple switching time slots and multiple sampling time slots; sample the CTE during multiple sampling time slots using a default antenna switching mode, wherein the antenna switching mode determines the order in which the analog multiplexer selects each antenna element of the antenna array; use the I and Q signals from the multiple sampling time slots to calculate an estimated angle of arrival; select a preferred antenna switching mode based on a predetermined relationship between the estimated angle of arrival and the multiple antenna switching modes; sample the CTE during multiple sampling time slots using the preferred antenna switching mode; and use the I and Q signals from the multiple sampling time slots to calculate the angle of arrival. In some embodiments, the software program includes multiple antenna switching modes. In some embodiments, the predetermined relationship associates each estimated angle of arrival with one of a plurality of antenna switching patterns. In some embodiments, the antenna switching pattern associated with each estimated angle of arrival minimizes an absolute error, where the absolute error is defined as the absolute value of the difference between the estimated angle of arrival and the actual angle of arrival. In some embodiments, the software program further includes instructions that enable the device to: select an updated preferred antenna switching pattern using the angle of arrival based on a predetermined relationship between the angle of arrival and the plurality of antenna switching patterns, calculate the angle of arrival using the preferred antenna switching pattern; sample the CTE during a plurality of sampling time slots using the updated preferred antenna switching pattern; and calculate an improved angle of arrival using the I and Q signals from the plurality of sampling time slots. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] For a better understanding of the present disclosure, reference is made to the accompanying drawings, wherein like elements are referenced with like numerals, and

[0012] in:

[0013] Figure 1 is a block diagram of a network device that may be used to perform the methods described herein;

[0014] Figure 2 yes Figure 1 A block diagram of a radio receiver of a network device;

[0015] Figures 3A-3C Shows the transmission to Figure 1 The format of a representative direction detection message for a system;

[0016] Figure 4shows the I signal, Q signal, amplitude and phase during one antenna switching mode;

[0017] Figure 5 The error distributions for two different antenna switching patterns are shown;

[0018] Figure 6 A process for more accurately calculating the angle of arrival according to one embodiment is shown;

[0019] Fig. 7A A neural network is shown;

[0020] Figure 7B shows a process for more accurately calculating the angle of arrival according to the second embodiment;

[0021] Figure 8 A process for more accurately calculating the angle of arrival according to the third embodiment is shown;

[0022] Fig.9A shows the amplitude of signals from a plurality of antenna elements of an antenna array; and

[0023] Fig. 9B The amplitudes of the signals from multiple antenna elements after sequencing are shown. DETAILED DESCRIPTION

[0024] Figure 1 A network device is shown that can be used to perform the dynamic antenna switching described herein. The dynamic antenna switching can be used with an angle of arrival (AoA) or angle of departure (AoD) algorithm.

[0025] The network device 10 has a processing unit 20 and an associated memory device 25. The processing unit 20 can be any suitable component, such as a microprocessor, an embedded processor, a dedicated circuit, a programmable circuit, a microcontroller or other similar device. The memory device 25 contains instructions that, when executed by the processing unit 20, enable the network device 10 to perform the functions described herein. The memory device 25 can be a non-volatile memory, such as a flash ROM, an electrically erasable ROM or other suitable device. In other embodiments, the memory device 25 can be a volatile memory, such as a RAM or a DRAM. The instructions contained in the memory device 25 can be referred to as a software program, which is provided on a non-temporary storage medium.

[0026] The network device 10 also includes a network interface 30, which may be a wireless network interface including an antenna array 38. The antenna array 38 may include a plurality of antenna elements 37. The network interface 30 may support any wireless network protocol that supports AoX determination, such as Bluetooth. The network interface 30 is used to allow the network device 10 to communicate with other devices disposed on a network 39.

[0027] The network interface 30 comprises a radio circuit 31. The radio circuit 31 is used to process incoming signals and convert wireless signals into digital signals. The components within the radio circuit 31 are described in more detail below.

[0028] The network interface 30 also includes a read channel 36. The read channel 36 is used to receive, synchronize and decode digital signals received from the radio circuit 31. Specifically, the read channel 36 has a preamble detector, which is used to identify the beginning of the incoming packet. The read channel 36 also has a synchronization detector, which is used to identify a specific bit sequence called a synchronization character. Additionally, the read channel 36 has a decoder, which is used to convert the digital signal into correctly aligned data bytes.

[0029] The network device 10 may include a second memory device 40. Data received from the network interface 30 or to be sent via the network interface 30 may also be stored in the second memory device 40. The second memory device 40 is conventionally a volatile memory.

[0030] Although a memory device 25 is disclosed, any computer-readable medium may be used to store the instructions. For example, a read-only memory (ROM), a random access memory (RAM), a magnetic storage device (such as a hard drive), or an optical storage device (such as a CD or DVD) may be used. In addition, the instructions may be downloaded to the memory device 25, such as, for example, via a network connection (not shown), via a CDROM, or by another mechanism. The instructions may be written in any programming language, which is not limited by the present disclosure. Therefore, in some embodiments, there may be multiple computer-readable non-transitory media containing the instructions described herein. A first computer-readable non-transitory medium may communicate with the processing unit 20, such as at Figure 1 The second computer-readable non-transitory medium may be a CDROM or a different memory device located remote from the network device 10. The instructions contained on the second computer-readable non-transitory medium may be downloaded to the memory device 25 to allow the network device 10 to execute the instructions.

[0031] Although the processing unit 20, the memory device 25, the network interface 30 and the second memory device 40 are Figure 1 are shown as separate components, but it is understood that some or all of these components may be integrated into a single electronic assembly. Figure 1 It is used to illustrate the functionality of network device 10 rather than its physical configuration.

[0032] Although not shown, the network device 10 also has a power source, which may be a battery or a connection to a permanent power source such as a wall socket.

[0033] Figure 2 A block diagram of the radio circuit 31 is shown. A wireless signal first enters the radio circuit 31 through one antenna element 37 of an antenna array 38. The antenna array 38 may be a one-dimensional array, such as a linear array. Alternatively, the antenna array 38 may be a two-dimensional array, such as an M×N array. An analog multiplexer 50 may be used to select one antenna element 37 from the antenna array 38. Once selected, the antenna element 37 is in electrical communication with a low noise amplifier (LNA) 51. The LNA 51 receives a very weak signal from the antenna element 37 and amplifies the signal while maintaining the signal-to-noise ratio (SNR) of the incoming signal. The amplified signal is then passed to a mixer 52. The mixer 52 also communicates with a local oscillator 53, which provides two phases to the mixer 52. The cosine of the frequency may be referred to as I o , and the sin of the frequency can be called Q o Then, I o signal is multiplied with the incoming signal to create an in-phase signal I m .Q o The signal is then multiplied by a 90° delayed version of the incoming signal to create a quadrature signal Q m The in-phase signal I from the mixer 52 m and the quadrature signal Q m It is then fed to a programmable gain amplifier (PGA) 54. PGA 54 amplifies I by a programmable amount. m and Q m signal. These amplified signals are called I g and Q g The amplified signal I g and Q g The analog signals are then fed from the PGA 54 to an analog-to-digital converter (ADC) 55. The ADC 55 converts these analog signals into digital signals. d and Q d These digital signals may pass through channel filter 56 before exiting radio circuitry 31 as I and Q signals. In some embodiments, the I and Q values ​​may be considered complex numbers, where the I value is the real part and the Q value is the imaginary part.

[0034] The I and Q signals then go to a CORDIC (Coordinate Rotation Digital Computer) which determines the amplitude and phase of the signal. 2 and Q 2 The square root of , and the phase is given by tan -1 The CORDIC may be provided in the radio circuit 31 or elsewhere within the network interface 30. In some embodiments, the CORDIC may be implemented in software.

[0035] In certain embodiments, the network interface 30 operates over a wireless network utilizing the Bluetooth network protocol. Figure 3A The format of a special Bluetooth packet for direction detection is shown. These packets usually begin with a preamble 300, an address field 310, a payload 320, and a checksum or CRC 330. However, the special packet also includes a constant tone extension (CTE) 340. Figure 3B and Figure 3C Two different formats of CTE 340 are shown. In both formats, CTE 340 includes a guard period 341, a reference period 342, and a plurality of switching time slots 343 and sampling time slots 344. The duration of each switching time slot 343 and sampling time slot 344 may be 1 μ second or 2 μ second, as shown in FIG. Figure 3B and Figure 3C . CTE 340 is a special extension to the Bluetooth packet that transmits a constant frequency, such as a 250kHz tone. For example, CTE 340 can be a string of consecutive "1s". CTE 340 can be as long as 160μ seconds and as short as 16μ seconds. In practice, the network device 10 uses a single antenna element 37 of the antenna array 38 to receive CTE 340 during the protection period 341 and the reference period 342. The network device 10 then switches to another antenna element 37 during each switching slot 343 by changing the selection of the analog multiplexer 50 in the radio circuit 31. The network device 10 samples the tone again with the new antenna element 37 during the sampling slot 344. The network device 10 continues to switch the antenna element 37 during each switching slot 343 and samples the tone during the sampling slot 344. If there are more sampling slots 344 than antenna elements, the network device 10 can return to the first antenna element 37 and repeat the sequence. A set of samples, in which each antenna element has been used to sample the CTE 340 exactly once, may be referred to as a snapshot.

[0036] The transmitting device transmits a tone at a constant known frequency throughout CTE 340. As stated above, the network device 10 can receive the tone using one antenna element 37 of the antenna array. Specifically, the guard period 341 and reference period 342 having a combined duration of 12 μs are received using the same antenna element 37.

[0037] The network device 10 then performs the above steps to generate the I and Q signals. In some embodiments, the processing unit 20 samples the I and Q signals at a very high rate, such as 7 times faster than the frequency of the incoming tone or faster. For example, if the incoming tone is 250kHz, an oversampling rate of 4.0MHz (sixteen times oversampling) or 8.0MHz (thirty-two times oversampling) may be used. The I and Q signals then enter the CORDIC, which determines the amplitude and phase of the signal. The amplitude is given as I 2 and Q 2 The square root of -1 (O / I) given.

[0038] Ideally, when the analog multiplexer 50 switches to a different antenna element, the I and Q signals will immediately track the new antenna element. However, this is not true in all cases. Figure 4 Shown are an I signal 400, a Q signal 401, an amplitude 402, and a phase 403. In this illustration, the analog multiplexer 50 switches from the first antenna element to the second antenna element at time 404. At time 405, the analog multiplexer 50 switches from the second antenna element to the third antenna element.

[0039] In this example, the amplitude of the signal from the first antenna element and the amplitude of the signal from the third antenna element are roughly equal. The amplitude of the signal from the second antenna element is roughly 20 dB smaller than the signals from the other two antenna elements. Additionally, the phases of the signals from the three antenna elements are roughly the same.

[0040] Note that at time 404, when the analog multiplexer 50 switches to the second antenna element, the amplitude drops relatively quickly as expected. However, also note that there is a large phase spike 406. This is caused by the inability of all components in the read channel to adapt to the new amplitude immediately. As noted above, the inductive and capacitive elements in the read channel cannot change instantaneously, resulting in the phase spike 406. In this figure, the data is sampled at 4.8M samples per second. In addition, the setup time of stage 403 after time 404 is roughly 18 samples, or about 3.75μ seconds. When switching from the second antenna element to the third antenna element, another phase spike 407 occurs at time 405. Again, the setup time is roughly 18 samples.

[0041] Note that if the phase signal does not settle quickly enough, the results of any direction finding algorithm such as MUSIC may be inaccurate.

[0042] Figure 5A diagram illustrating this phenomenon is shown. A beacon is set up near a test device in a controlled environment. For example, the environment can be configured so that measurements can be made without any multipath interference. The test device is placed on a turntable so that it rotates at least 360°. As the test device rotates, it captures I and Q signals and calculates the angle of arrival (AoA) based on these I and Q signals. This calculated angle can then be compared to the actual angle of arrival, which can be empirically derived based on the azimuth of the test device and the actual position of the beacon.

[0043] exist Figure 5 , the horizontal axis represents the azimuth angle of the test device as the test device rotates. In this test, the antenna array of the test device is a 4x 4 array. The vertical axis represents the difference between the actual arrival angle and the arrival angle calculated by the device at that azimuth angle. In other words, a value of 0 on the vertical axis indicates that the calculated arrival angle is exactly the same as the actual arrival angle. Line 500 shows the azimuth error of the first antenna switching mode. In this first antenna switching mode, all antenna elements in the first row are sorted, and then all antenna elements in the second row are sorted. This is also repeated for the third and fourth rows. Line 501 shows the azimuth error of the second antenna switching mode. In this second antenna switching mode, all antenna elements in the first column are sorted, and then all antenna elements in the second column are sorted. This is also repeated for the third and fourth columns. Thus, if the antenna elements are numbered 1-4 in the first row, 5-8 in the second row, 9-12 in the third row, and 13-16 in the fourth row, a first antenna switching pattern would select antenna elements in the following order: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16. A second antenna switching pattern would select antenna elements in the following order: 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15, 4, 8, 12, 16.

[0044] Each line of the figure can be referred to as the error distribution of the antenna switching mode. Note that for certain azimuths, the first antenna switching mode produces more accurate results. Specifically, for azimuths from about 40° to about 90° and from about 230° to about 330°, line 500 (i.e., the first antenna switching mode) has a smaller absolute error. Similarly, for azimuths from about 0° to about 40° and from 120° to about 220°, line 501 (i.e., the second antenna switching mode) has a smaller absolute error. Other antenna switching modes may exhibit different results.

[0045] In other words, the order in which the antenna elements are switched during CTE 340 affects the accuracy of the AoA measurement. This information can be used in a number of different ways.

[0046] Additionally, although Figure 5 The effect of different antenna switching patterns is shown as a function of azimuth angle, but similar results can also occur at different elevation angles.

[0047] According to one embodiment, Figure 6 As shown in process 600, network device 10 may first create multiple graphs, such as Figure 5 . These plots are specific to the geometry of the antenna array and the antenna switching pattern. In some embodiments, the network device 10 does not create these plots. Instead, they are created using test equipment with the same or similar antenna configurations. After creating multiple plots, a relationship can be created between the estimated angle of arrival and the preferred antenna switching pattern, as shown in process 610. For example, in Figure 5 , if the estimated AoA is between 0° and 40° or between 120° and 220°, the network device 10 can create a relationship to use the second antenna switching mode. The network device 10 can also conclude that the first antenna switching mode is used for all other estimated angles. Of course, if more than two antenna switching patterns are created, the relationship may be more complex. The relationship can be expressed in a variety of ways. In one embodiment, the network device 10 can create a table that associates each azimuth angle with a preferred antenna switching mode. In some embodiments, in order to save memory space, the table can associate azimuth angle ranges with preferred antenna switching modes. For example, the table can group azimuth angles in groups of, for example, 5°. In another embodiment, the relationship can be expressed in a different way.

[0048] The network device 10 may then receive at least a portion of the CTE 340 using a default antenna switching pattern, as shown in process 620. For example, the network device 10 may obtain I and Q signals at a plurality of sampling time slots 344, where the sampling time slots are associated with a plurality of antenna elements. In some embodiments, the network device 10 obtains at least one set of I and Q signals for each antenna element in the antenna array.

[0049] Using a direction finding algorithm such as MUSIC, network device 10 may calculate an estimated angle of arrival as shown in process 630. Methods of determining an estimated angle of arrival based on I and Q signals obtained from multiple sampling time slots are well known and therefore not described further.

[0050] Based on the estimated angle of arrival, the device may then select a preferred antenna switching pattern based on the relationship created above, as shown in process 640. The network device 10 then repeats the AoA measurement using the preferred antenna switching pattern, as shown in process 650. Repeating the AoA measurement involves receiving the CTE 340, obtaining I and Q signals associated with each antenna element during at least one of each antenna element's corresponding sampling time slots using the preferred antenna switching pattern, and performing an AoA algorithm such as MUSIC using the I and Q signals.

[0051] In some embodiments, processes 630-650 may be repeated multiple times to further improve the accuracy of the results. Specifically, by repeating process 640, the angle of arrival calculated in process 650 may be used to select an updated preferred antenna switching pattern. As shown in process 650, the updated preferred antenna switching pattern is then used to calculate an improved angle of arrival.

[0052] This method may be more effective in an environment without multipath interference.

[0053] However, other approaches may also be employed.

[0054] In another embodiment, Figure 7A-7B As shown in , the device can use machine learning to select a preferred antenna switching pattern. Fig. 7A shows the configuration of the neural network, and Figure 7B The operation of the device in this embodiment is shown. The neural network 750 may include one or more processing layers 760. The processing layer 760 may be a convolutional layer or a fully connected layer. In either configuration, there are trainable parameters 770 for teaching the neural network 750.

[0055] In this embodiment, the input to the neural network 750 may be the I and Q signals obtained from each sampling time slot. Specifically, as shown in process 700, during CTE 340, I and Q signals may be received from various antenna elements using a default antenna switching pattern. For example, the network device 10 may obtain I and Q signals at a plurality of sampling time slots 344, where the sampling time slots are associated with a plurality of antenna elements. In some embodiments, the network device 10 obtains at least one set of I and Q signals for each antenna element in the antenna array.

[0056] Next, these I and Q signals may be supplied to a neural network 750 disposed in the network device 10 , as shown in process 710 .

[0057] As shown in process 720, neural network 750 can then provide an indication of which antenna switching mode would be more preferred given the supplied I and Q signals. For example, neural network 750 can have one or more outputs, where each output represents a confidence level associated with using a particular antenna switching mode. For example, neural network 750 can indicate that a first switching mode is preferred with a confidence level of 72%, while a second switching mode is preferred with a confidence level of 28%. In this case, network device 10 will select the first antenna switching mode as the preferred antenna switching mode.

[0058] In this embodiment, it is not necessary to calculate the estimated angle of arrival. Instead, the neural network 750 can be trained using only the I and Q signals from the various antenna elements to select the preferred antenna switching pattern. In some embodiments, multiple antenna switching patterns can be predefined, such as reference Figure 6 The course 600 and Figure 5 As described. Using this information, the I and Q signals can be used to train the neural network. For example, as described above, the beacon can be set at a fixed position and the test equipment can be rotated in azimuth of approximately 360°. The I and Q signals received by the test equipment at each angle can be used as training data. In addition, the preferred antenna switching pattern (as determined above) can be supplied to the neural network 750 as a ground truth during training. After being trained, the neural network 750 is able to provide an indication of the preferred antenna switching pattern for any set of I and Q signals. Then, as shown in process 730, the preferred antenna switching pattern is used to perform AoA measurements. Performing AoA measurements involves receiving CTE 340, obtaining I and Q signals associated with each antenna element during at least one of the corresponding sampling time slots of each antenna element, and performing an AoA algorithm such as MUSIC using these I and Q signals.

[0059] In some embodiments, processes 700-720 may be performed multiple times to improve the accuracy of the results. For example, after neural network 750 provides an indication of a preferred antenna switching pattern, network device 10 may then use the preferred switching pattern to receive CTE 340, as shown in process 700. The I and Q signals obtained during the CTE 340 may then become updated inputs to neural network 750, as shown in process 710. As shown in process 720, neural network 750 then provides an undated preferred antenna switching pattern that may be used to perform AoA measurements.

[0060] Figure 8Another process that can be used to create a preferred antenna switching pattern is shown. In this embodiment, there is no predefined antenna switching pattern. Instead, the network device 10 receives CTE 340, as shown in process 800. This can be performed using a default antenna switching pattern. For example, the network device 10 can obtain I and Q signals at multiple sampling time slots 344, where the sampling time slots are associated with multiple antenna elements. In some embodiments, the network device 10 obtains at least one set of I and Q signals for each antenna element in the antenna array. As shown in process 810, the network device 10 then uses these sets of I and Q signals obtained during CTE 340 to calculate at least one parameter associated with the signal associated with each antenna element. These parameters may include amplitude and / or phase. In some embodiments, only one of these two parameters is calculated. Fig.9A A representative graph showing an antenna array having 8 antenna elements and the signal amplitude associated with each antenna element in the antenna array is shown.

[0061] The network device 10 then sorts the antenna elements based on the amplitude or phase of the corresponding I and Q signals, as shown in process 820. The antenna elements may be sorted in ascending or descending order. Fig. 9B Shows Fig.9A The antenna elements are sorted in ascending order of amplitude. Then, as shown in process 830, the sorted list is then used to define a preferred antenna switching pattern. In other words, Fig. 9B In the example shown in , the preferred antenna switching patterns can be defined as: 6, 8, 3, 1, 4, 2, 7.

[0062] The network device 10 then performs an AoA measurement using the preferred antenna switching pattern, as shown in process 840. Performing the AoA measurement involves receiving the CTE 340, obtaining I and Q signals associated with each antenna element during at least one of each antenna element's corresponding sampling time slots, and performing an AoA algorithm such as MUSIC using the I and Q signals.

[0063] In some embodiments, the order of the sorted antenna elements may not be strictly ascending or descending. Instead, the antenna elements may be sorted so that the amplitude or phase difference between two adjacent antenna elements in the list is less than a predetermined threshold.

[0064] If desired, the network device 10 may repeat processes 800-830 one or more additional times instead of calculating AoA to refine the preferred antenna switching pattern. Specifically, the preferred antenna switching pattern created in process 830 may be used to sample CTE. Similar to process 830, the updated amplitude and / or phase found in process 820 may then be sorted into an updated sorted list. As shown in process 830, the updated sorted list is used to create an updated preferred antenna switching pattern, which is then used to calculate the improved arrival angle as shown in process 840.

[0065] Angle of arrival or angle of departure can be used for many functions. For example, an angle of arrival locator can be used to locate beacons. This type of application can be called wayfinding. For example, a beacon can be a car key or another set of devices that a user needs to find. A user holding a locator device can be guided to the beacon based on the angle of arrival detected by the locator device. As an example, a car can be equipped with Bluetooth. The owner can send a command to a car set in a parking lot to transmit a beacon or a sequence of beacons. The locator device carried by the owner detects the angle of arrival and can guide the owner to the car in the parking lot. In another embodiment, a shopping mall can install beacons at certain locations, such as near exits, certain stores, or food courts. Shoppers can use these beacons using portable locator devices to guide them through the shopping mall. Similarly, the angle of arrival can be used to guide operators towards assets in a warehouse or other structure. The locator device can include an indicator that allows the operator to determine the angle of arrival. For example, the locator device can have a visual display indicating the direction of the beacon. Alternatively, the locator device can have an audio output that notifies the user of the direction of the beacon.

[0066] When multiple locators are used, the exact location of the transmitter can be determined. This type of application is called spatial positioning. For example, inside a structure with multiple locator devices, the exact location of any transmitter can be determined. This can help replace GPS in these environments because GPS positioning requires more power to perform. In one example, an operator can carry a mobile phone. Multiple locator devices each determine the angle of arrival of a beacon transmitted by the phone. In one embodiment, these angles of arrival are forwarded to the mobile phone. In another embodiment, these angles of arrival are forwarded to a centralized computing device, which calculates the location of the mobile phone based on all received angles of arrival. Therefore, a mobile phone or another device can use the angle of arrival from each locator device to pinpoint the specific location of the mobile phone. If multiple locator devices are used, three-dimensional spatial positioning is also possible.

[0067] A similar function may be performed using an angle of departure algorithm. For example, a user may have a device with a single antenna, rather than an antenna array. If a beacon, such as the beacons described above in a shopping mall or warehouse, utilizes an antenna array, the user's device may determine the angle of departure.

[0068] The device may also be able to determine the departure angles from multiple beacons. If the positions of the beacons are known, the device may be able to calculate its spatial position from these departure angles.

[0069] In other words, this information can be used in path finding and spatial positioning in the same way as the angle of arrival information. In addition, the device can have an indicator to provide the user with an indication of the angle of departure. In other embodiments, the device can have an indicator to inform the user of its spatial position.

[0070] The present system and method have many advantages. First, in all embodiments, the method described herein results in more accurate angle estimation accuracy. Because the device achieves better accuracy, a reduction in the number of CTE groups is also possible. This may also result in lower power consumption and faster response time.

[0071] The present disclosure is not limited in scope by the specific embodiments described herein. In fact, various other embodiments of the present disclosure and modifications to the present disclosure, in addition to those described herein, will be clear to those of ordinary skill in the art from the foregoing description and the accompanying drawings. Therefore, such other embodiments and modifications are intended to fall within the scope of the present disclosure. In addition, although the present disclosure has been described herein in the context of a specific implementation for a specific purpose in a specific environment, a person of ordinary skill in the art will recognize that its usefulness is not limited thereto, and the present disclosure can be beneficially implemented for any number of purposes in any number of environments. Therefore, the claims set forth below should be interpreted according to the full breadth and spirit of the present disclosure as described herein.

Claims

1. A device for calculating the angle of arrival or departure, include: a wireless network interface, wherein the wireless network interface comprises an antenna array having a plurality of antenna elements and an analog multiplexer, wherein the wireless network interface receives incoming signals from the antenna elements and generates I signals and Q signals associated with the antenna elements; Processing unit; and A memory device comprising instructions which, when executed by a processing unit, enable the device to: receiving a packet including a constant tone extension (CTE), wherein the CTE includes a tone having a known frequency, and wherein the CTE includes a plurality of switching time slots and a plurality of sampling time slots; sampling the CTE during a plurality of sampling time slots using a default antenna switching pattern, wherein the antenna switching pattern determines an order in which an analog multiplexer selects each antenna element of the antenna array; using I and Q signals from a plurality of sampling time slots to calculate an estimated angle of arrival; selecting a preferred antenna switching pattern based on a predetermined relationship between the estimated angle of arrival and the plurality of antenna switching patterns; sampling the CTE during a plurality of sampling time slots using a preferred antenna switching pattern; and An angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

2. The device of claim 1, wherein a memory device comprises the plurality of antenna switching patterns.

3. The apparatus of claim 2, wherein the predetermined relationship associates each estimated angle of arrival with one of the plurality of antenna switching patterns.

4. The apparatus of claim 3, wherein the antenna switching pattern associated with each estimated angle of arrival minimizes an absolute error, wherein the absolute error is defined as the absolute value of a difference between the estimated angle of arrival and the actual angle of arrival.

5. The apparatus of claim 2, wherein the predetermined relationship associates a range of estimated angles of arrival with one of the plurality of antenna switching patterns.

6. The apparatus of claim 5, wherein the antenna switching pattern associated with each range of estimated angles of arrival minimizes an absolute error, wherein the absolute error is defined as the absolute value of the difference between the estimated angle of arrival and the actual angle of arrival within the range.

7. The apparatus of claim 1 , wherein the angle of arrival calculated using the preferred antenna switching pattern is used to select an updated preferred antenna switching pattern based on a predetermined relationship between the angle of arrival and the plurality of antenna switching patterns; and The instructions enable the device to: sampling the CTE during a plurality of sampling time slots using the updated preferred antenna switching pattern; and An improved angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

8. A method for calculating the angle of arrival or the angle of departure, include: Using a device having a wireless network interface, wherein the wireless network interface includes an antenna array having a plurality of antenna elements and an analog multiplexer, wherein the wireless network interface receives incoming signals from the antenna elements and generates I signals and Q signals associated with the antenna elements to receive packets including a constant tone extension (CTE), wherein the CTE includes tones having known frequencies, and wherein the CTE includes a plurality of switching time slots and a plurality of sampling time slots; sampling the CTE during a plurality of sampling time slots using a default antenna switching pattern, wherein the antenna switching pattern determines an order in which an analog multiplexer selects each antenna element of the antenna array; calculating an estimated angle of arrival using the I and Q signals from the plurality of sampling time slots; selecting a preferred antenna switching pattern based on a predetermined relationship between the estimated angle of arrival and the plurality of antenna switching patterns; sampling the CTE during a plurality of sampling time slots using a preferred antenna switching pattern; and An angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

9. The method according to claim 8, in, The preferred antenna switching pattern is selected from one of a plurality of antenna switching patterns.

10. The method of claim 8, wherein a predetermined relationship associates each estimated angle of arrival with one of the plurality of antenna switching patterns.

11. The method of claim 8, wherein a predetermined relationship associates a range of estimated angles of arrival with one of the plurality of antenna switching patterns.

12. The method of claim 8, wherein the predetermined relationship is established by: Setting the beacon at a fixed location; rotating a test device having an antenna configuration identical to an antenna array of the device, wherein the test device rotates through 360 degrees in azimuth; Sampling CTE from the beacon to compute calculated angle of arrival for multiple azimuths; creating an error distribution for each of a plurality of antenna switching patterns, wherein the error distribution represents a difference between an actual angle of arrival and a calculated angle of arrival; and The absolute error at each azimuth is minimized based on the error distribution.

13. The method of claim 12, wherein minimizing the absolute error at each azimuth angle is performed by: for each antenna switching pattern, determining a difference between an actual angle of arrival and a calculated angle of arrival; The antenna switching pattern having the smallest absolute value of the difference is selected.

14. The method according to claim 8, further comprising: include: selecting an updated preferred antenna switching pattern using the angle of arrival based on a predetermined relationship between the angle of arrival and a plurality of antenna switching patterns, the angle of arrival being calculated using the preferred antenna switching pattern; sampling the CTE during a plurality of sampling time slots using an updated preferred antenna switching pattern; and An improved angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

15. A non-transitory storage medium comprising instructions that, when executed by a processing unit disposed on a device comprising a wireless network interface, wherein the wireless network interface comprises an antenna array having a plurality of antenna elements and an analog multiplexer, wherein the wireless network interface receives incoming signals from the antenna elements and generates I signals and Q signals associated with the antenna elements, enables the device to: receiving a packet including a constant tone extension (CTE), wherein the CTE includes a tone having a known frequency, and wherein the CTE includes a plurality of switching time slots and a plurality of sampling time slots; sampling the CTE during a plurality of sampling time slots using a default antenna switching pattern, wherein the antenna switching pattern determines an order in which an analog multiplexer selects each antenna element of the antenna array; calculating an estimated angle of arrival using the I and Q signals from the plurality of sampling time slots; selecting a preferred antenna switching pattern based on a predetermined relationship between the estimated angle of arrival and the plurality of antenna switching patterns; sampling the CTE during a plurality of sampling time slots using a preferred antenna switching pattern; and An angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

16. The non-transitory storage medium of claim 15, further comprising a plurality of antenna switching modes.

17. The non-transitory storage medium of claim 15, wherein a predetermined relationship associates each estimated angle of arrival with one of the plurality of antenna switching patterns.

18. The non-transitory storage medium according to claim 17, in, The antenna switching pattern associated with each estimated angle of arrival minimizes an absolute error, where the absolute error is defined as the absolute value of the difference between the estimated angle of arrival and the actual angle of arrival.

19. The non-transitory storage medium of claim 15, further comprising instructions that enable the device to: selecting an updated preferred antenna switching pattern using the angle of arrival based on a predetermined relationship between the angle of arrival and a plurality of antenna switching patterns, the angle of arrival being calculated using the preferred antenna switching pattern; sampling the CTE during a plurality of sampling time slots using an updated preferred antenna switching pattern; and An improved angle of arrival is calculated using the I and Q signals from the plurality of sampling time slots.

20. A computer program product comprising instructions which, when executed by a processing unit, enable the processing unit to perform the method of any one of claims 8 to 14.