Quality Indicator for Phase Based Ranging

The power ratio algorithm enhances Bluetooth distance measurement by providing a quality indicator to filter out inaccuracies, ensuring precise distance calculations in multipath environments.

US20260380239A1Pending Publication Date: 2026-11-26SILICON LABORATORIES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/319973
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-20
Filing Date
2025-09-05
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing Bluetooth distance measurement techniques, such as phase-based and round trip time approaches, are prone to inaccuracies in multipath environments and low signal-to-noise ratios, leading to inconsistent distance measurements.

Method used

A method utilizing a power ratio algorithm that calculates the channel frequency response to determine the distance between wireless network devices, accompanied by a quality indicator to assess the reliability of the measurement, using techniques like channel sounding and spectral analysis to identify a line-of-sight distance and confidence level.

Benefits of technology

Provides accurate and reliable distance measurements by filtering out unreliable data and offering a quality indicator to ensure the precision of calculated distances, even in challenging environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260380239A1-D00000_ABST
    Figure US20260380239A1-D00000_ABST
Patent Text Reader

Abstract

A system and method for determining the distance between two wireless network devices is disclosed. The present system utilizes an algorithm that relies on power ratio. The power ratio may be calculated as the ratio of the trial signal power to the remaining signal power. Trial signal power is defined as the signal power associated with a particular distance, while the remaining signal power is defined as the power that is left after subtracting the trial signal power from the total signal power. This algorithm computes the channel frequency response and uses the phase signal at each frequency and distance to calculate the line of sight distance between two wireless network devices. The method also determines an indication of the perceived quality of the calculated distance. In some embodiments, this quality indicator is expressed as a likelihood or confidence level.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority of U.S. Provisional Patent Application Ser. No. 63 / 809,093, filed May 20, 2025, the disclosure of which is incorporated herein by reference in its entirety.FIELD

[0002] This disclosure describes systems and methods for calculating the distance between two wireless network devices, and additionally, creating a quality indicator associated with the calculated distance.BACKGROUND

[0003] The Bluetooth protocol has designed several techniques to implement high accuracy distance measurement (HADM). These include a phase based ranging approach and a round trip time approach. Typically, there are two devices associated with these approaches; an initiator device that initiates the distance measurement and a reflector device, which responds to the initiator device. The distance being measured is the distance between these two devices.

[0004] In the round trip time (RTT) approach, each device uses timestamps. Specifically, when a packet is transmitted, the transmitting device records a transmit timestamp. When that packet arrives, a receive timestamp is used by the receiving device.

[0005] In the phase based approach, the initiator device determines the incoming phase for signals transmitted at two different frequencies. The phase measured (θinit) at the initiator device may be approximately the difference in phase between the two devices (i.e. Δθir), added to the product 2π*f*(tp), where f is the frequency of the transmitted signal and tp is the trip delay. If this phase is measured at two different frequencies, and the difference is taken, the result is (θinit1)−(θinit2)=2π*f1*(tp)−2π*f2*(tp), or 2*π*(f1−f2)*(tp). Based on this equation, the trip delay may be calculated and then converted to a distance. This approach may be enhanced through the use of spectral analysis algorithms, such as the multiple signal classification (MUSIC) algorithm. The MUSIC algorithm uses this information to generate pseudo-spectrums which may be used to determine the distance between the two devices.

[0006] However, these existing algorithms have limitations. For example, testing has shown that these approaches may produce different distance measurements when performed using different Bluetooth channels, especially in the presence of a multipath environment, low signal to noise (SNR) and / or interference.

[0007] Therefore, it would be advantageous if there was a system and method of calculating a distance between two devices and additionally providing an indication of the quality of the calculated distance measurement. This may be beneficial in various situations.SUMMARY

[0008] A system and method for determining the distance between two wireless network devices is disclosed. The present system utilizes an algorithm that relies on power ratio. The power ratio may be calculated as the ratio of the trial signal power to the remaining signal power. Trial signal power is defined as the signal power associated with a particular distance, while the remaining signal power is defined as the power that is left after subtracting the trial signal power from the total signal power. This algorithm computes the channel frequency response and uses the phase signal at each frequency and distance to calculate the line of sight distance between two wireless network devices. The method also determines an indication of the perceived quality of the calculated distance. In some embodiments, this quality indicator is expressed as a likelihood or confidence level.

[0009] According to one embodiment, a method of calculating a distance between two wireless network devices is disclosed. The method comprises performing a Channel Sounding procedure at a plurality of frequencies to obtain a channel frequency response; using the channel frequency response to generate a power ratio as a function of distance, wherein power ratio is calculated using trial signal power; identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the two wireless network devices; and calculating a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response. In some embodiments, the power ratio is defined as the trial signal power divided by remaining power. In some embodiments, the remaining power is calculated by subtracting the trial signal power at a first distance from the power of the channel frequency response. In certain embodiments, the trial signal power at the first distance is first calculated by de-rotating a phase of the signal path at the first distance from the channel frequency response to obtain a de-rotated frequency response. In certain embodiments, the trial signal power at the first distance is computed by squaring an absolute mean value of the de-rotated frequency response at the plurality of frequencies. In some embodiments, the power of the channel frequency response is calculated as a mean of an absolute value of the channel frequency response at each of the plurality of frequencies, squared.

[0010] In some embodiments, the two wireless network devices comprise Bluetooth network devices.

[0011] In some embodiments, at least one of the two wireless network devices comprise a plurality of antenna elements, and the Channel Sounding procedure is performed for a plurality of antenna combinations, and the distance and quality indicator is calculated for each antenna combination. In certain embodiments, a final quality indicator is computed as a mean value of the quality indicators calculated for each of the plurality of antenna combinations. In certain embodiments, the quality indicator for each of the plurality of antenna combinations is used to determine a final distance.

[0012] In some embodiments, the quality indicator is also a function of a total accumulated trial signal power up to the first peak.

[0013] According to another embodiment, a network is disclosed. The network comprises a reflector device; and an initiator device, comprising: a network interface; a processing unit; and a memory device, wherein the memory device comprises instructions, which when executed by the processing unit, enable the initiator device to: calculate a channel frequency response at a plurality of frequencies; use the channel frequency response to generate a power ratio as a function of distance, wherein power ratio is calculated using trial signal power; identify a distance between the reflector device and the initiator device by identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the reflector device and the initiator device; and calculate a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response. In some embodiments, the power ratio is defined as the trial signal power divided by remaining power. In some embodiments, the remaining power is calculated by the initiator device by subtracting the trial signal power at a first distance from the power of the channel frequency response. In certain embodiments, the trial signal power at the first distance is first calculated by the initiator device by de-rotating a phase of the signal path at the first distance from the channel frequency response to obtain a de-rotated frequency response. In certain embodiments, the trial signal power at the first distance is computed by the initiator device by squaring a mean value of the de-rotated frequency response at the plurality of frequencies. In some embodiments, the power of the channel frequency response is calculated by the initiator device as a mean of an absolute value of the channel frequency response at each of the plurality of frequencies, squared.

[0014] In some embodiments, at least one of the initiator device or the reflector device comprises a plurality of antenna elements, and the channel frequency response is calculated for a plurality of antenna combinations, and the distance and quality indicator is calculated for each antenna combination. In certain embodiments, a final quality indicator is computed as a mean value of the quality indicators calculated for each of the plurality of antenna combinations. In certain embodiments, the quality indicator for each of the plurality of antenna combinations is used to determine a final distance.

[0015] In some embodiments, the initiator device and the reflector device are Bluetooth network devices.

[0016] In some embodiments, the quality indicator is also a function of a total accumulated trial signal power up to the first peak.

[0017] According to another embodiment, a method of determining a spatial position of a wireless device is disclosed. The method comprises utilizing a plurality of initiator devices, wherein each initiator device: calculates a channel frequency response at a plurality of frequencies; uses the channel frequency response to generate a power ratio as a function of distance, wherein the power ratio is calculated using trial signal power; identifies a distance between the wireless device and the initiator device by identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the wireless device and the initiator device; and calculates a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response; and using a computational device to receive the distance and quality indicator from each of the plurality of initiator devices, wherein the computational device uses at least three of the distance and quality indicators to determine the spatial position of the wireless device. In some embodiments, the spatial position of the wireless device is calculated using weights determined from the quality indicators. In some embodiments, the quality indicator calculated by a first initiator device is used to assign a weight to a loci of possible locations associated with the first initiator device. In certain embodiments, if the quality indicator for the first initiator device is outside a predetermined range, the weight assigned is set to 0. In some embodiments, a subset of distances received from the plurality of initiator devices are used to determine the spatial position of the wireless device, wherein the subset is selected based on associated quality indicators, such that only distances deemed to be most accurate are used to determine the spatial position of the wireless device. In some embodiments, the quality indicator is also a function of a total accumulated trial signal power up to the first peak.BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] FIG. 1 is a block diagram of a representative initiator device that may estimate distance according to one embodiment;

[0020] FIG. 2 shows a network having an initiator device and at least one reflector device according to one embodiment;

[0021] FIG. 3 shows an example graph showing power ratio as a function of distance;

[0022] FIG. 4A shows pseudo code used to calculate the power ratio, the first peak and the quality indicator according to one embodiment;

[0023] FIG. 4B shows pseudo code used to calculate the power ratio, the first peak and the quality indicator according to another embodiment;

[0024] FIGS. 5A-5B show two different graphs with the associated quality indicator;

[0025] FIG. 6 shows the relationship between quality indicator and distance error; and

[0026] FIG. 7 shows a configuration with multiple initiator devices to determine the spatial position of the mobile device.DETAILED DESCRIPTION

[0027] FIG. 1 shows a block diagram of a representative network device. This network device may serve as an initiator device 10, as described in more detail below. This network device may also be used to calculate the distance to a remote device, also referred to as a reflector device and also determine a quality indicator associated with the calculated distance.

[0028] The initiator device 10 has a processing unit 20 and an associated memory device 25. The processing unit 20 may be any suitable component, such as a microprocessor, embedded processor, an application specific circuit, a programmable circuit, a microcontroller, or another similar device. This memory device 25 contains the instructions 26, which, when executed by the processing unit 20, enable the initiator device 10 to perform the functions described herein. This memory device 25 may be a non-volatile memory, such as a FLASH ROM, an electrically erasable ROM or other suitable devices. In other embodiments, the memory device 25 may be a volatile memory, such as a RAM or DRAM.

[0029] The initiator device 10 also includes a network interface 30, which may be a wireless interface including an antenna element 35.

[0030] The wireless signals first enter the network interface 30 through antenna element 35. The antenna element 35 is in electrical communication with a low noise amplifier (LNA). The LNA receives a very weak signal from the antenna element 35 and amplifies that signal while maintaining the signal-to-noise ratio (SNR) of the incoming signal. The amplified signal is then passed to a mixer. The mixer is also in communication with a local oscillator, which provides two phases to the mixer. The cosine of the frequency may be referred to as Io, while the sin of the frequency may be referred to as Qo. The Io signal is then multiplied by the incoming signal to create the inphase signal, Im. The Qo signal is then multiplied by a 90° delayed version of the incoming signal to create the quadrature signal, Qm. The inphase signal, Im, and the quadrature signal, Qm, from the mixer are then fed into programmable gain amplifier (PGA). The PGA amplifies the Im and Qm signals by a programmable amount. These amplified signals may be referred to as Ig and Qg. The amplified signals, Ig and Qg, are then fed from the PGA into an analog to digital converter (ADC). The ADC converts these analog signals to digital signals, Id and Qd. These digital signals may then pass through a channel filter. The filtered signals are referred to as I and Q. These I and Q signals can be used to recreate the amplitude and phase of the original signal.

[0031] The network interface 30 may support any wireless network, such as Bluetooth, Wi-Fi, networks utilizing the IEEE 802.15.4 specification, such as Zigbee, networks utilizing the IEEE 802.15.6 specification, and wireless smart home protocols, such as Z-Wave. The network interface 30 is used to allow the locator device to communicate with other devices disposed on the network.

[0032] The initiator device 10 may include a data memory device 40 in which data that is received and transmitted by the network interface 30 is stored. This data memory device 40 is traditionally a volatile memory. The processing unit 20 has the ability to read and write the data memory device 40 so as to communicate with the other nodes in the network. Although not shown, the initiator device 10 also has a power supply, which may be a battery or a connection to a permanent power source, such as a wall outlet.

[0033] While a memory device 25 is disclosed, any computer readable medium may be employed to store these instructions. For example, read only memory (ROM), a random access memory (RAM), a magnetic storage device, such as a hard disk drive, or an optical storage device, such as a CD or DVD, may be employed. Furthermore, these instructions may be downloaded into the memory device 25, such as for example, over a network connection (not shown), via CD ROM, or by another mechanism. These instructions 26 may be written in any programming language and is not limited by this disclosure. Thus, in some embodiments, there may be multiple computer readable media that contain the instructions described herein. The first computer readable media may be in communication with the processing unit 20, as shown in FIG. 1. The second computer readable media may be a CDROM, or a different memory device, which is located remote from the initiator device 10. The instructions contained on this second computer readable media may be downloaded onto the memory device 25 to allow execution of the instructions by the initiator device10.

[0034] While the processing unit 20, the memory device 25, the network interface 30, and the data memory device 40 are shown in FIG. 1 as separate components, it is understood that some or all of these components may be integrated into a single electronic component. Rather, FIG. 1 is used to illustrate the functionality of the initiator device 10, not its physical configuration.

[0035] FIG. 2 shows a network 100 having at least one reflector device 110 and an initiator device 10. In certain embodiments, the reflector device 110 may be a network device and contain many of the components described above and shown in FIG. 1. However, the reflector device 110 may have a smaller amount of memory and may have less computational ability.

[0036] In FIG. 2, the initiator device 10 may transmit a signal, containing a sine wave having a first frequency to the reflector device 110. In response, the reflector device 110 may transmit signal containing a sine wave having the same first frequency toward the initiator device 10.

[0037] In certain embodiments, this signal is transmitted using a network protocol, such as Bluetooth.

[0038] The initiator device 10 may utilize the I and Q signals described above to determine the amplitude and phase of the signal arriving at the antenna element 35. This information may then be used to calculate the distance from the initiator device 10 to the reflector device 110.

[0039] Specifically, the Bluetooth specification now describes a Channel Sounding procedure, during which the initiator device 10 transmits a first signal at a first frequency to the reflector device 110. The reflector device 110 measures the magnitude and phase of the incoming first signal. In response, the reflector device 110 transmits a second signal having the first frequency back to the initiator device 10. The initiator device 10 measures the magnitude and phase of the incoming second signal. This may be repeated for a number of different frequencies. Based on the magnitude and phase information gathered by the initiator device 10 and the reflector device 110, the channel transfer function (H) may be estimated. Note that the term “channel transfer function” is synonymous with “channel frequency response”.

[0040] As a specific example, the Bluetooth specification defines the following procedure to determine the channel transfer function.

[0041] First, θCH(f) represents the phase delay of the channel, where f is the channel frequency, and ΔθLO(f) represents the relative difference in phase of the RF carrier between the initiator device and the reflector device. Based on this, the relative phases of a carrier measured at the reflector and initiator's antenna is θREFL (f)=θCH(f)+ΔθLO(f) and θINIT(f)=θCH(f)−ΔθLO(f). AREFL(f) and AINIT(f) represent the amplitude of that measured carrier at the reflector and initiator's antenna, respectively. Phase correction term (PCT) is defined by the angle that, if added to the internal angle of the local oscillator, would result in a phase identical to that of the incoming signal. The I and Q values represented by the PCT measured at the reflector and initiator, respectively, are given by PCTREFL(f)=AREFL(f) eθREFL(f) and PCTINIT(f)=AINIT(f)eiθINIT(f). If the communication channel is symmetrical between the initiator device 10 and the reflector device 110, the measured phases are dependent on both the communication channel and the relative difference in phase of the RF carrier between the devices. The communication channel transfer function can then be estimated from H2(f)=AREFL(f)eiθREFL(f)×AINIT(f)eiθINIT(f)=ACH2(f)ei<sub2>2< / sub2>θCH(f).

[0042] The channel transfer function (also referred to as channel frequency response) may then be used to compute the distance between the initiator device 10 and the reflector device 110.

[0043] Specifically, the power of a signal path at a predetermined distance may be estimated by de-rotating the signal path phase from the channel frequency response and assuming that the mean power of all other components will approximate zero.

[0044] This can then be used to calculate the power ratio at each distance, x. Specifically, the power ratio may be defined as:φ⁡(x)=Ps(x)Pr(x)=Ps(x)PH-Ps(x)where Ps(x) is the trial signal power, Pr(x) is the total remaining signal power and PH is the total power of the channel frequency response. The total power of the channel frequency response is determined by first squaring each element of the channel response to obtain H2(f). The mean of all of these values is defined as the total power of the channel frequency response.FIG. 3 shows an example spectrum that may be created using this approach. Note that each peak represents a distance at which there is measurable signal power.

[0046] The disclosed algorithm creates this spectrum and then assumes that the first peak corresponds to the power received from the line of sight path, since this is the shortest path.

[0047] The trial signal power may be computed by de-rotating the signal path phase with the channel frequency response, as stated above. The signal path phase may be defined using a fixed matrix, where the columns of that matrix represent different distances and the rows represent different frequencies. This matrix represents the signal path phase at various distances and frequencies.

[0048] Thus, D(f,d) is the signal path phase at frequency f at distance d. The values of frequency used to populate this matrix may be selected to be the same as the frequencies present in the channel frequency response. For example, these frequencies may coincide with the frequencies of the various Bluetooth channels. The distances may represent the desired granularity of the measurement. For example, the distance may be set to large numbers (such as 1 meter) if the device is known to be far away, but may be set to a smaller number, such as 5 cm if the device is closer.

[0049] The signal path phase at each location in the matrix may be defined as:D(f,d)=ei2πfd / c

[0050] Further, the trial signal power may be computed by first multiplying the signal path phase by the channel frequency response H to obtain the de-rotated frequency response. H is defined as a N×1 array, wherein N represents the number of frequencies that were used to compute the channel frequency response. Thus, the de-rotated frequency response, represented by V, may be defined as:V=D⊗H,

[0051] Where ⊗ represents a point-wise multiplication of each element in each column of D with the corresponding element in H. In other words,V(f,d)=D(f,d)*H(f)

[0052] Based on this de-rotated frequency response and the channel frequency response, the power ratio may be computed as follows:φ⁡(x)=<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>1N⁢∑ k⁢V⁡(k,x)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>21N⁢∑ k⁢(<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>H⁡(k)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2)-<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>1N⁢∑ k⁢V⁡(k,x)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2

[0053] In this equation,<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>1N⁢∑ k⁢V⁡(k,x)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2approximates the trial signal power over all frequencies at distance x, and1N⁢∑ k⁢(<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>H⁡(k)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2)represents the total power of the channel frequency response. Thus, the denominator, which subtracts the trial signal power from the total power of the channel frequency response is used to approximate the remaining power.FIG. 4A shows pseudo code that may be used to determine a distance between two devices according to one embodiment. In this example, it is assumed that the channel frequency response has already been determined, as described above.First, several variables are initialized. These include the maximum distance (max_distance), the distance step size (x_step), the number of frequencies used (H_length), and the starting distance (x_arg). Additionally, since the channel response total power (H_power) does not change, it can be pre-calculated as well.Next, the pseudo code is used to calculate the signal path phase at each of the frequencies that are included in the channel frequency response. Specifically, for each frequency, the pseudo code determines the frequency using the list ch_list. It then generates the signal path phase using the equation for D shown above. These phase values (one for each frequency) are multiplied by the channel frequency response at that frequency to create the de-rotated frequency response for the trial signal at each frequency.

[0057] Once this has been performed for each frequency in the channel list, the power of the trial signal can be calculated as the square of the mean value of the de-rotated frequency response for the trial signal across all frequencies. The power ratio can then be calculated using the expression shown above:φ⁡(x)=<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>1N⁢∑ k⁢V⁡(k,x)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>21N⁢∑ k⁢(<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>H⁡(k)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2)-<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>1N⁢∑ k⁢V⁡(k,x)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>2

[0058] Once the power ratio at a specific distance is determined, the pseudo code can then check if the first peak has been found. In one embodiment, the peak is identified by looking for a power ratio that is smaller than the previous power ratio. This embodiment is shown in FIG. 4A. If this power ratio is smaller than the previous one, then the previous distance is saved as the final result. Otherwise, the current power ratio is saved as the previous power ratio and the distance is incremented. This process repeats until the first peak is found. This first peak may be the smallest distance that indicated a non-zero power ratio. Since this is the smallest distance, it is assumed that this is the line of sight distance. In other embodiments, the first peak may be further defined as the smallest distance that indicated a power ratio greater than a predetermined threshold. This threshold could be determined empirically or may be a predetermined value. In some embodiments, the threshold may be set to a value of 0.1 or greater. Thus, in certain embodiments, the threshold is set to zero, which indicates that any non-zero peak may be the first peak. In other embodiments, the threshold may be a non-zero value, such that the first peak is defined as the peak having a magnitude greater than the threshold at the smallest distance.

[0059] Having determined the first peak, a quality indicator may then be calculated. Specifically, the quality indicator may be expressed as the ratio of the power of the trial signal to the channel response total power (H_power). This ratio represents the percentage of the total power that is contained in this first peak. A ratio that is close to 1 indicates that there are few reflections, a small amount of noise, and most of the power is contained in this peak. Conversely, a smaller ratio indicates that there are other peaks which contain a non-trivial amount of the total power.

[0060] FIG. 4B shows another method to calculate the quality indicator. The trial signal, the channel response total power, and the power ratio are calculated in the same manner as described above and are not described again. However, in this embodiment, the accumulated trial signal power up to the first peak, which is the normalized sum of all the computed trial signal power up to the first peak, multiplied by the step size, is also computed. This accumulated trial signal power is then used to help calculate the quality indicator. Specifically, the quality indicator now includes the sum of a first component, which may be related to the trial signal power at the first peak, and a second component, which is related to the accumulated trial signal power up to the first peak. The first component is a function of the ratio of the trial signal power at the first peak to the channel response total power (H_power) as described above. The second component is a function of the accumulated trial signal power. Specifically, in its most general form, the quality indicator may be expressed as:Quality_Indicator=gain⁢1*f⁢1⁢(power_trialsignalHpower)+gain⁢2*f⁢2⁢(accummlated_trialsignal).

[0061] The gain values, gain1 and gain2, are typically small values, and determine the influence of each component on the final quality indicator. Each gain value may be less than or equal to 1. The functions, f1 and f2, are selected such that they have a domain between 0 and 1 and a range between 0 and 1. More specifically, an input of 0 may produce an output of 0, while an input of 1 yields an output of 1. In one example, f1 and / or f2 may simply be f(x)=x. In another embodiment, the f1 and / or f2 may be defined as follows:f⁡(x)=(ex-1e-1)p

[0062] where p is a value that determines the non-linearity of the mapping. For example, p may be a value between 0.5 and 3.

[0063] The result may then be normalized such that the quality indicator is 1 or less.

[0064] In other words, in this embodiment, the quality indicator is a function of both the trial signal power at the first peak, as well as the accumulated trial signal power up to that first peak. The influence of each on the quality indicator is determined based on the selection of the gain1 and gain2 values, as well as the functions selection for each component of the equation.

[0065] FIG. 5A-5B show two different scenarios. In FIG. 5A, there is a clear line of sight path and very few small reflections. Consequently, most of the power is contained in the first peak, which has a quality indicator of 0.60 using the equation shown in FIG. 4A. In contrast, FIG. 5B shows a multipath environment with multiple peaks, several of which have significant amount of power. In this scenario, the calculated quality indicator is only 0.14 using the equation shown in FIG. 4A. These quality indicators may provide some sense of the likelihood that the distance measurement is correct.

[0066] Note that one advantage of this approach is that the entire spectrum shown in FIG. 3 does not need to be computed to determine the actual distance. Rather, the only calculations performed are those that are at distances that are less than the line of sight distance.

[0067] Further, it is noted that the pseudo code in FIGS. 4A-4B is only one approach to determine the line of sight distance. For example, a different peak detection algorithm may be used. In another embodiment, the peak may be detected by monitoring the gradient and looking for a change in the polarity of the gradient. Additionally, rather than looping over distances, some statistical or Monte Carlo method may be used to select the distances that are to be checked. Of course, other computational optimization techniques, which are well known, may also be used.

[0068] Further, it is understood that the power ratio of FIG. 4A may be defined differently. For example, the power ratio may be defined as the trial signal power divided by the power of the channel response. Thus, in this embodiment, the denominator of the power ratio is simply the total power of the channel frequency response, rather than the total power of the channel frequency response less trial signal power. In this embodiment, if a threshold is used to determine the first peak, the selected threshold may be lower than that used for the embodiment described earlier. Additionally, this embodiment eliminates the need to separately calculate the quality indicator, as the ratios used to find the first peak are equal to the quality indicator. Further, since the total power of the channel frequency response is constant for all measurements, in certain embodiments, the power ratio may simply be the trial signal power divided by a constant, which to simplify operations, may be set to 1. Further, the power ratio of FIG. 4B may also be defined differently. For example, in some embodiments, the accumulated trial signal power is computed without use of the x_step multiplier.

[0069] Note that this computation may be performed by the initiator device 10. The initiator device 10 may contain the requisite computation power and memory space to perform these calculations. Alternatively, the initiator device 10 may off-load the calculations to a computational device (not shown).

[0070] The quality indicator metric may be used in various ways. In one embodiment, the quality indicator may be used to filter out bad / low quality measurements and / or to let the end user know the quality / reliability of the measurement. For example, FIG. 6 shows the relationship between quality indicator, calculated as described above, and the distance error. Note that measurements with quality indicators having values greater than 0.6 have distance errors of less than 1 meter. Meanwhile, distance measurements with lower quality indicators may be associated with very accurate measurements or very inaccurate measurements. Thus, in some embodiments, distance values with a quality indicator of less than some threshold (which may be 0.6 or another value) may be discarded, while higher values are relied upon.

[0071] In another embodiment, the initiator device 10 may obtain a plurality of distance measurements. For example, the initiator device 10 and / or the reflector device 110 may have multiple antenna elements. In this configuration, the Channel Sounding procedure may be performed for each antenna combination, which is a unique pair of initiator antenna element and reflector antenna element. For each antenna combination, the calculations described above and shown in FIG. 4A or 4B may be computed. If the initiator device 10 and the reflector device 110 both have 2 antenna elements, this may result in 4 distance measurements and 4 associated quality indicators. In one embodiment, the smallest of these distance measurements is deemed to be the correct distance, while the combined quality indicator may be computed as the average of the 4 quality indicators. In another embodiment, the correct distance is calculated as the weighted average of the four distance measurements, as shown:∑(qi*Di)∑ qi

[0072] where qi is the quality indicator associated with a distance measurement (Di); and Σqi is the sum of all of the quality indicators. In yet another embodiment, the distance measurement with the highest quality indicator is selected as the correct distance, while the combined quality indicator is the quality indicator for this distance measurement. In yet another embodiment, one or more distance measurements with the lowest quality indicators are discarded and the correct distance and the combined quality indicator are computed using the remaining distance measurements and quality indicators, using any of the techniques described above.

[0073] In another embodiment, shown in FIG. 7, a plurality of initiator devices 710 may be in communication with one mobile device 700. Each initiator device 710 is at a known location and generates distance measurements and quality indicators relative to that mobile device 700. A centralized computational device 720 may then receive the distance measurement from each initiator device 710 as well as its quality indicator and use a three-dimensional position algorithm, such as trilateration, to determine the location of the mobile device 700.

[0074] In one embodiment, the quality indicator may be treated using a binary filter, where quality indicators are deemed to be either acceptable or unacceptable. Thus, in these embodiments, the centralized computational device 720 may disregard distance measurements from any initiator device 710 which reported a quality indicator outside a predetermined range. For example, distances that have a quality indicator below a certain value may be disregarded. Thus, in this embodiment, the centralized computational device 720 may use a subset of the distances, less than the plurality of distances to determine the location of the mobile device 700.

[0075] However, other embodiments are also possible. For example, in another embodiment, the quality indicator reported by the various initiator devices 710 are sorted according to accuracy. In this embodiment, only the N most accurate results are used to calculate the spatial position, where N is a value of 3 or more. In another embodiment, the top N percentile of quality indicators are used.

[0076] In both of these scenarios, the centralized computational device 720 utilizes a selected number of distance measurements that are believed to be the most accurate. The information from the most accurate initiator devices 710 may then be used as follows. The distance measurement from each initiator device is used to determine the loci of possible locations of the mobile device 700, using simple trigonometry. For example, the loci of potential locations for the mobile device 700 may be located along a circle or sphere having a radius equal to the distance measurement reported by that initiator device 710. After all of the loci are calculated based on the distance measurement from each initiator device 710, this information may be used to determine the actual position of the mobile device 700.

[0077] In another embodiment, the quality indicator may be treated along a continuum, where the value of the quality indicator is indicative of its perceived confidence level. In this embodiment, the centralized computational device 720 may calculate the loci of possible locations of the mobile device 700 for each initiator device 710, as described above. However, in this embodiment, each loci is assigned a weight based on the quality indicator of the distance measurements that were used to generate that loci, wherein higher weights indicate a more accurate result. Then, the location of the tracked device may be computed as the weighted average of all of the loci. As an example, the actual position of the mobile device 700 may be computed by calculating the minimum value for the following expression:∑i(qi*(Di-di)2)where qi is the quality indicator for the distance measurement for initiator device i;

[0079] Di is the actual distance from the mobile device 700 to the initiator device i; and

[0080] di is the distance measurement calculated by initiator device i.

[0081] In yet another embodiment, a combination of these approaches may be used, wherein a binary filter is used to eliminate results believed to be inaccurate and the remaining results are weighted according to their perceived accuracy.

[0082] The present system has many advantages. First, this method utilizes a small memory footprint, as few values need to be stored. Second, this algorithm is very fast to compute and does not require the computation of eigenvectors, like some other approaches. Additionally, the inclusion of a quality indicator may be provided with little additional computation needed. This quality indicator provides the user or other post-filters an indicator of the perceived accuracy of the distance measurement.

[0083] The present disclosure is not to be limited in scope by the specific embodiments described herein. Indeed, other various embodiments of and modifications to the present disclosure, in addition to those described herein, will be apparent to those of ordinary skill in the art from the foregoing description and accompanying drawings. Thus, such other embodiments and modifications are intended to fall within the scope of the present disclosure. Further, although the present disclosure has been described herein in the context of a particular implementation in a particular environment for a particular purpose, those of ordinary skill in the art will recognize that its usefulness is not limited thereto and that the present disclosure may be beneficially implemented in any number of environments for any number of purposes. Accordingly, the claims set forth below should be construed in view of the full breadth and spirit of the present disclosure as described herein.

Claims

1. A method of calculating a distance between two wireless network devices, comprising:performing a Channel Sounding procedure at a plurality of frequencies to obtain a channel frequency response;using the channel frequency response to generate a power ratio as a function of distance, wherein power ratio is calculated using trial signal power;identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the two wireless network devices; andcalculating a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response.

2. The method of claim 1, wherein the power ratio is defined as the trial signal power divided by remaining power, wherein the remaining power is calculated by subtracting the trial signal power at a first distance from the power of the channel frequency response, wherein the trial signal power at the first distance is first calculated by de-rotating a phase of a signal path at the first distance from the channel frequency response to obtain a de-rotated frequency response, wherein the trial signal power at the first distance is computed by squaring an absolute mean value of the de-rotated frequency response at the plurality of frequencies and wherein the power of the channel frequency response is calculated as a mean of an absolute value of the channel frequency response at each of the plurality of frequencies, squared.

3. The method of claim 1, wherein the two wireless network devices comprise Bluetooth network devices.

4. The method of claim 1, wherein at least one of the two wireless network devices comprise a plurality of antenna elements, and the Channel Sounding procedure is performed for a plurality of antenna combinations, and the distance and quality indicator is calculated for each antenna combination.

5. The method of claim 4, wherein a final quality indicator is computed as a mean value of the quality indicators calculated for each of the plurality of antenna combinations.

6. The method of claim 4, wherein the quality indicator for each of the plurality of antenna combinations is used to determine a final distance.

7. The method of claim 1, wherein the quality indicator is also a function of a total accumulated trial signal power up to the first peak.

8. A network, comprising:a reflector device; andan initiator device, comprising:a network interface;a processing unit; anda memory device, wherein the memory device comprises instructions, which when executed by the processing unit, enable the initiator device to:calculate a channel frequency response at a plurality of frequencies;use the channel frequency response to generate a power ratio as a function of distance, wherein power ratio is calculated using trial signal power;identify a distance between the reflector device and the initiator device by identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the reflector device and the initiator device; andcalculate a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response.

9. The network of claim 8, wherein the power ratio is defined as the trial signal power divided by remaining power, wherein the remaining power is calculated by the initiator device by subtracting the trial signal power at a first distance from the power of the channel frequency response, wherein the trial signal power at the first distance is first calculated by the initiator device by de-rotating a phase of a signal path at the first distance from the channel frequency response to obtain a de-rotated frequency response, wherein the trial signal power at the first distance is computed by the initiator device by squaring a mean value of the de-rotated frequency response at the plurality of frequencies, and wherein the power of the channel frequency response is calculated by the initiator device as a mean of an absolute value of the channel frequency response at each of the plurality of frequencies, squared.

10. The network of claim 8, wherein at least one of the initiator device or the reflector device comprises a plurality of antenna elements, and the channel frequency response is calculated for a plurality of antenna combinations, and the distance and quality indicator is calculated for each antenna combination.

11. The network of claim 10, wherein a final quality indicator is computed as a mean value of the quality indicators calculated for each of the plurality of antenna combinations.

12. The network of claim 10, wherein the quality indicator for each of the plurality of antenna combinations is used to determine a final distance.

13. The network of claim 8, wherein the quality indicator is also a function of a total accumulated trial signal power up to the first peak.

14. The network of claim 8, wherein the initiator device and the reflector device are Bluetooth network devices.

15. A method of determining a spatial position of a wireless device, comprising:utilizing a plurality of initiator devices, wherein each initiator device:calculates a channel frequency response at a plurality of frequencies;uses the channel frequency response to generate a power ratio as a function of distance, wherein the power ratio is calculated using trial signal power;identifies a distance between the wireless device and the initiator device by identifying a first peak in the power ratio, wherein the first peak corresponds to the distance between the wireless device and the initiator device; andcalculates a quality indicator as a function of the trial signal power at the first peak and a power of the channel frequency response; andusing a computational device to receive the distance and quality indicator from each of the plurality of initiator devices, wherein the computational device uses at least three of the distance and quality indicators to determine the spatial position of the wireless device.

16. The method of claim 15, wherein the spatial position of the wireless device is calculated using weights determined from the quality indicators.

17. The method of claim 15, wherein the quality indicator calculated by a first initiator device is used to assign a weight to a loci of possible locations associated with the first initiator device.

18. The method of claim 17, wherein, if the quality indicator for the first initiator device is outside a predetermined range, the weight assigned is set to 0.

19. The method of claim 15, wherein a subset of distances received from the plurality of initiator devices are used to determine the spatial position of the wireless device, wherein the subset is selected based on associated quality indicators, such that only distances deemed to be most accurate are used to determine the spatial position of the wireless device.

20. The method of claim 15, wherein the quality indicator is also a function of a total accumulated trial signal power up to the first peak.