# Acoustic Sensor Self-Localization: Models and Recent Results

Authors: Diego B. Haddad; Markus V. S. Lima; Wallace A. Martins; Luiz W. P. Biscainho; Leonardo O. Nunes; Bowon Lee
Journal: Wireless Communications and Mobile Computing
 (2017)

---

## Abstract

The wide availability of mobile devices with embedded microphones opens up opportunities for new applications based on acoustic sensor localization (ASL). Among them, this paper highlights mobile device self-localization relying exclusively on acoustic signals, but with previous knowledge of reference signals and source positions. The problem of finding the sensor position is stated as a function of estimated times-of-flight (TOFs) or time-differences-of-flight (TDOFs) from the sound sources to the target microphone, and the main practical issues involved in TOF estimation are discussed. Least-squares ASL solutions are introduced, followed by other strategies inspired by sound source localization solutions: steered-response power, which improves localization accuracy, and a new region-based search, which alleviates complexity. A set of complementary techniques for further improvement of TOF/TDOF estimates are reviewed: sliding windows, matching pursuit, and TOF selection. The paper proceeds with proposing a novel ASL method that combines most of the previous material, whose performance is assessed in a real-world example: in a typical lecture room, the method achieves accuracy better than 20 cm.


---

## Body

## 1. Introduction

The increasing number of smart mobile devices (such as laptops and smartphones) that can interact with their surrounding world through their many sensors enables one to envision several new and exciting applications. Examples of such applications include indoor navigation [1], location-based services [2], patient monitoring [3], and many others involving ad hoc microphone arrays [4–11]. These applications have one thing in common: they require the estimation of the mobile device position.Based on the specific technology employed, it is possible to categorize methodologies for localization of mobile devices in three distinct groups [12]: (i) systems that utilize ancillary sensors, such as accelerometer and magnetometers; (ii) systems that rely on the received signal strength of radio signals; and (iii) systems that use time-of-flight (TOF) of acoustic signals to perform localization. This paper focuses on (iii), since acoustic sensor localization (ASL) systems enable centimeter-scale localization and are quite inexpensive as they only require acoustic sensors (i.e., microphones) in the mobile devices.ASL techniques relying on TOF information may require or not prior knowledge of the loudspeakers’ positions. For instance, many works have tackled the problem of microphone array calibration [13–16] assuming that sources’ positions are known and aiming to estimate (or refine an initial estimate of) the acoustic sensor location. In such scenarios, synchronization problems are not a major concern, since all sources and sinks are usually under the control of whoever wants to calibrate the microphone array. On the other hand, if the sources’ positions are unknown, then a joint source and sensor localization is commonly employed [17, 18]. In this case, the lack of synchronism may severely degrade the mobile position estimate. In [7], a solution that deals explicitly with synchronization was presented. In [8], a solution considering multiple sources and sensors per device was described.When it comes to the performance of ASL techniques, the accuracy of TOF estimates is of paramount importance. Roughly speaking, in order to obtain an accurate TOF estimate, the sensor (microphone) should be able to determine the exact time a given acoustic signal takes to propagate from the source. Hence, the acoustic signals employed, herein calledprobe signals, should be carefully selected, taking into consideration practical issues like noise, interference, and mainly reverberation. Recently, several papers have addressed the problem of designing good probe signals and improving the TOF estimation. In [19], a probe signal design using pulse compression technique and hyperbolic frequency modulated signals was presented. The technique proposed in that work is able to localize an acoustic source and estimate its velocity and direction in case it is moving. In addition, a matching pursuit-based algorithm for TOF estimation was described in [20] and then refined in [12], in both papers with promising results. In [21], an iterative peak matching algorithm for the calibration of a wireless acoustic sensor network was described.The ASL methods described in this work assume that sources’ positions and probe signals are known at the receiver (i.e., the mobile device containing a microphone), but not counting on synchronism between sensor and source nor cooperation with other mobile devices: all processing must take place on the sensor itself, allowing the sensor to self-localize indoors. Nevertheless, a robust ASL system with such characteristics needs to address several issues, such as reverberation, asynchrony between acoustic source and sensor, poor estimation of the speed of sound, and noise. Also, the proposed solutions need to be computationally inexpensive in order to be able to run on the mobile itself (which in general is a battery-operated device).


### 1.1. Objectives

The main objectives of this paper are(i)
to review some state-of-the-art techniques for ASL;(ii)
to describe in detail the challenges ASL algorithms face in practical environments;(iii)
to present in a unified context some recent methods proposed by the authors to tackle such practical challenges;(iv)
to propose a novel ASL algorithm that combines different state-of-the-art techniques with a new region-based search.For beginners in the ASL field it can be a Herculean task to go through the myriad of techniques addressing ASL problems. The concise approach adopted here provides beginners with a glimpse of the main problems and solutions in the ASL field. Experienced researchers can also benefit from the unified approach covering recent ideas that are not standard in the area, as the ones described in [22–24]. In fact, many research opportunities may open up thanks to the unified way ASL problems and related solutions are described here. Finally, low power high-frequency probe signals inaudible for most people are proposed, along with a new region-based search that is shown to be robust when combined with matching pursuit TOF-selection strategies.


### 1.2. Organization

This paper is organized as follows. Section2 provides basic definitions and formally states the ASL problem. Classical solutions are described in Section 3, whereas improved algorithms are described in Section 4. A novel ASL system is proposed in Section 5, and the respective experimental results are presented in Section 6. Concluding remarks are drawn in  Section 7.


## 1.1. Objectives

The main objectives of this paper are(i)
to review some state-of-the-art techniques for ASL;(ii)
to describe in detail the challenges ASL algorithms face in practical environments;(iii)
to present in a unified context some recent methods proposed by the authors to tackle such practical challenges;(iv)
to propose a novel ASL algorithm that combines different state-of-the-art techniques with a new region-based search.For beginners in the ASL field it can be a Herculean task to go through the myriad of techniques addressing ASL problems. The concise approach adopted here provides beginners with a glimpse of the main problems and solutions in the ASL field. Experienced researchers can also benefit from the unified approach covering recent ideas that are not standard in the area, as the ones described in [22–24]. In fact, many research opportunities may open up thanks to the unified way ASL problems and related solutions are described here. Finally, low power high-frequency probe signals inaudible for most people are proposed, along with a new region-based search that is shown to be robust when combined with matching pursuit TOF-selection strategies.


## 1.2. Organization

This paper is organized as follows. Section2 provides basic definitions and formally states the ASL problem. Classical solutions are described in Section 3, whereas improved algorithms are described in Section 4. A novel ASL system is proposed in Section 5, and the respective experimental results are presented in Section 6. Concluding remarks are drawn in  Section 7.


## 2. Background

### 2.1. Acoustic Networks

An acoustic network is formed when there exists an acoustic coupling among loudspeakers (herein also called sources) and microphones (herein also denominated as sensors). In a general configuration, an acoustic network is comprised ofS∈N sources and M∈N microphones, which can be moving as long as they do not go further enough to break the acoustic coupling. In addition, these nodes (loudspeakers and microphones) may cooperate somehow in order to accomplish some task, like localizing a source or a sensor or enhancing a signal.This paper addresses the problem of acoustic sensor localization (ASL) without sensor cooperation. In this case, each microphone individually uses theS acoustic signals emitted/acquired in order to passively estimate its own location. Thus, without loss of generality, M=1 is assumed. In addition, the positions of the loudspeakers are fixed and known.


### 2.2. Basic Definitions

Letm,ps∈R3 be the microphone position and the position of the sth loudspeaker, respectively. Thetime-of-flight (TOF), that is, the time that the acoustic signal takes to travel from the source to the sensor through adirect path, plays a central role in ASL. Indeed, TOF ts∈R+ from the sth loudspeaker to the sensor is defined as(1)ts≜m-psv,where v∈R+ denotes the speed of sound. From (1), it is clear that m can be found if a sufficient number of TOFs are known. In practice, however, ts cannot be exactly determined, but rather estimated by some procedure as t^s∈R+.Instead of using the TOF directly, there are also some ASL techniques that rely on thetime-difference-of-flight (TDOF) to estimate the sensor position. The TDOF related to loudspeakers s1,s2∈S is given by(2)τs1s2≜ts1-ts2=m-ps1-m-ps2v,which must also be estimated as τ^s1s2≜t^s1-t^s2.


### 2.3. TOF Estimation

One of the simplest procedures to obtain a TOF estimatet^s is to compute thecross-correlation function (CCF) Rs[·]:N→R between the signal y[n] acquired by the microphone and the signal xs[n] emitted by the sth loudspeaker, given by(3)Rsk≜∑n∈Nynxsn-k,where it is assumed that xs[n] is known at the microphone node, and then find the delay associated with the highest peak of Rs[k].In order to fully understand the above procedure, consider an ideal setup in which there existsline-of-sight (LOS), that is, a direct path connecting loudspeaker and microphone, and the propagation medium does not introduce any distortion to the emitted signal. In this scenario, the received signal is a delayed version of the emitted signal, that is, y[n]=xs[n-k0], where k0 stands for the delay measured in samples. Thus, it is clear that the maximum of (3) is achieved when k=k0, which is then converted from samples to seconds, as shown in (6), yielding the TOF estimate. In this ideal setup, the accuracy of t^s is limited only by the sampling rate. However, in practical cases, there are many issues that may deteriorate the TOF estimates and, consequently, impair the accuracy of ASL techniques.The CCF essentially measures the similarity between signalsy[n] and xs[n-k] for different values of k. In practice, however, thegeneralized cross-correlation (GCC) function [25], a filtered version of the CCF, is usually preferred. By denoting as X(ejω) the discrete-time Fourier transform of a generic signal x[n], the GCC function RsGCC[·]:N→R is(4)RsGCCk≜12π∫-ππΨsejωXs∗ejωYejωejωkdω,where Ψs(ejω) is the frequency response of the filter employed to extract specific pieces of information from the CCF [26]. There are many different choices for this filter [26, 27], but the majority of applications involving localization through acoustic signals use thephase transform (PHAT) filter(5)ΨsPHATejω≜1Xs∗ejωYejω.Note that, in the ideal setup withy[n]=xs[n-k0], RsGCC-PHAT[k]=δ[k-k0], featuring only one peak that can be unambiguously associated with the TOF. This indicates that GCC-PHAT may facilitate the TOF-estimation task by eliminating spurious peaks that may appear in the standard CCF due to the emitted signals’ self-similarities. This indeed occurs for wideband signals, but when narrowband signals are employed the division in (5) may not be well defined for all frequencies or may actually induce noise enhancement.Practical scenarios usually face moderate to severe reverberation, which essentially means that the received signaly[n] can be represented as the sum of delayed and attenuated versions of the signal emitted by the loudspeaker xs[n]. Since the phase of a signal conveys the information related to delays and also because reverberation distorts the magnitude of the signal, the PHAT filter discards the magnitude response of the cross-spectrum density (Fourier transform of the CCF) and focuses solely on its phase response, which makes the GCC-PHAT more robust against reverberation, considering wideband signals [27].The TOF estimate can eventually be computed as(6)t^s≜1Fargmaxk∈NRsGCCk,where F∈R+ is the sampling frequency.One can employ TOF- or TDOF-based ASL techniques depending on the kind of errors present in eacht^s. Indeed, for each estimate t^s there are random and systematic errors associated with it. If systematic errors are dominant, then it is better to rely on TDOF estimates, as similar systematic errors are canceled by the subtraction of the TOF estimates. On the other hand, if random errors are dominant, then it is better to directly use the TOF estimates, because TDOF estimates may amplify random errors. In the next subsection, practical issues that lead to some kinds of errors in t^s are described.


### 2.4. Common Practical Issues

The accuracy of ASL techniques depends on how close the estimatest^s are from theactual TOFs ts. A problem might occur if the direct path connecting source and sensor does not exist or is temporarily obstructed, that is, if there is no LOS; in this case, t^s in (6) may be the propagation time corresponding to some other path related to reflection. Similarly, thedirectionality of the loudspeakers is also important, as it is related to the coverage area of ASL systems. Both LOS and directionality issues should be taken into account when designing ASL systems, that is, when choosing and positioning the loudspeakers.There are also some practical issues, likereverberation andinterference, that corrupt the received signal y[n]. When such issues are present, the CCF function may have other peaks; as a consequence, the peak corresponding to the direct path (i.e., to the TOF) becomes less prominent, sometimes even smaller than surrounding peaks. Therefore, this kind of issue impairs the received signal and thus the CCF and can be circumvented by choosing an adequate acoustic signal xs[n] (herein also calledprobe signal) with desirable correlation properties and by exploiting the physics of the problem, as will be explained in Section 4.In general, if source and/or sensor are moving, then the Doppler effect arises and may further corrupt the estimation ofts. Nevertheless, in many ASL applications, the relative velocity between source and sensor is usually much smaller than the speed of sound v, which makes Doppler effect negligible.The remainder of this section is devoted to some issues involving time measurements, namely,asynchrony andfrequency mismatch between loudspeakers and microphones. When there is asynchrony between microphone and loudspeaker, the argument that maximizes RsGCC[k] can be written as kso+Δks∈N, where kso is the actual discrete-time TOF and Δks is the discrete-time bias summarizing all time-lag impairments. In addition, if there is frequency mismatch, then the sensor’s clock frequency can be written as F+ΔF∈R+, where F is the source’s clock frequency. Considering these two deviations, the TOF estimate obtained in (6) is related to the actual discrete-time TOF kso by(7)t^s=kso+ΔksF+ΔF=kso+ΔksF11+ΔF/F.By assuming that|ΔF|≪F, this expression can be simplified as(8)t^s≈kso+ΔksF1-ΔFF≈αts+βs,where α≜(F-ΔF)/F, ts≈kso/F, and βs≜ΔksF-ΔF/F2. Observe that if the discrete-time biases Δks, with s∈S, are due to asynchrony and some constant playback-system delay only, that is, no acoustic impairment or LOS obstruction is present, then Δks=Δk for all s∈S, implying that βs=β for all s∈S. Hence,(9)m-ps=vts≈vαt^s+-vβα=at^s+b,in which the speed of sound v is embedded into the unknown parameters a and b. In any context in which clock skew can be neglected (i.e., α=1), a actually models the speed of sound and b models a constant range-bias.Once the main definitions and common practical issues have been described, one now has all basic tools to address the sensor localization problem itself.


## 2.1. Acoustic Networks

An acoustic network is formed when there exists an acoustic coupling among loudspeakers (herein also called sources) and microphones (herein also denominated as sensors). In a general configuration, an acoustic network is comprised ofS∈N sources and M∈N microphones, which can be moving as long as they do not go further enough to break the acoustic coupling. In addition, these nodes (loudspeakers and microphones) may cooperate somehow in order to accomplish some task, like localizing a source or a sensor or enhancing a signal.This paper addresses the problem of acoustic sensor localization (ASL) without sensor cooperation. In this case, each microphone individually uses theS acoustic signals emitted/acquired in order to passively estimate its own location. Thus, without loss of generality, M=1 is assumed. In addition, the positions of the loudspeakers are fixed and known.


## 2.2. Basic Definitions

Letm,ps∈R3 be the microphone position and the position of the sth loudspeaker, respectively. Thetime-of-flight (TOF), that is, the time that the acoustic signal takes to travel from the source to the sensor through adirect path, plays a central role in ASL. Indeed, TOF ts∈R+ from the sth loudspeaker to the sensor is defined as(1)ts≜m-psv,where v∈R+ denotes the speed of sound. From (1), it is clear that m can be found if a sufficient number of TOFs are known. In practice, however, ts cannot be exactly determined, but rather estimated by some procedure as t^s∈R+.Instead of using the TOF directly, there are also some ASL techniques that rely on thetime-difference-of-flight (TDOF) to estimate the sensor position. The TDOF related to loudspeakers s1,s2∈S is given by(2)τs1s2≜ts1-ts2=m-ps1-m-ps2v,which must also be estimated as τ^s1s2≜t^s1-t^s2.


## 2.3. TOF Estimation

One of the simplest procedures to obtain a TOF estimatet^s is to compute thecross-correlation function (CCF) Rs[·]:N→R between the signal y[n] acquired by the microphone and the signal xs[n] emitted by the sth loudspeaker, given by(3)Rsk≜∑n∈Nynxsn-k,where it is assumed that xs[n] is known at the microphone node, and then find the delay associated with the highest peak of Rs[k].In order to fully understand the above procedure, consider an ideal setup in which there existsline-of-sight (LOS), that is, a direct path connecting loudspeaker and microphone, and the propagation medium does not introduce any distortion to the emitted signal. In this scenario, the received signal is a delayed version of the emitted signal, that is, y[n]=xs[n-k0], where k0 stands for the delay measured in samples. Thus, it is clear that the maximum of (3) is achieved when k=k0, which is then converted from samples to seconds, as shown in (6), yielding the TOF estimate. In this ideal setup, the accuracy of t^s is limited only by the sampling rate. However, in practical cases, there are many issues that may deteriorate the TOF estimates and, consequently, impair the accuracy of ASL techniques.The CCF essentially measures the similarity between signalsy[n] and xs[n-k] for different values of k. In practice, however, thegeneralized cross-correlation (GCC) function [25], a filtered version of the CCF, is usually preferred. By denoting as X(ejω) the discrete-time Fourier transform of a generic signal x[n], the GCC function RsGCC[·]:N→R is(4)RsGCCk≜12π∫-ππΨsejωXs∗ejωYejωejωkdω,where Ψs(ejω) is the frequency response of the filter employed to extract specific pieces of information from the CCF [26]. There are many different choices for this filter [26, 27], but the majority of applications involving localization through acoustic signals use thephase transform (PHAT) filter(5)ΨsPHATejω≜1Xs∗ejωYejω.Note that, in the ideal setup withy[n]=xs[n-k0], RsGCC-PHAT[k]=δ[k-k0], featuring only one peak that can be unambiguously associated with the TOF. This indicates that GCC-PHAT may facilitate the TOF-estimation task by eliminating spurious peaks that may appear in the standard CCF due to the emitted signals’ self-similarities. This indeed occurs for wideband signals, but when narrowband signals are employed the division in (5) may not be well defined for all frequencies or may actually induce noise enhancement.Practical scenarios usually face moderate to severe reverberation, which essentially means that the received signaly[n] can be represented as the sum of delayed and attenuated versions of the signal emitted by the loudspeaker xs[n]. Since the phase of a signal conveys the information related to delays and also because reverberation distorts the magnitude of the signal, the PHAT filter discards the magnitude response of the cross-spectrum density (Fourier transform of the CCF) and focuses solely on its phase response, which makes the GCC-PHAT more robust against reverberation, considering wideband signals [27].The TOF estimate can eventually be computed as(6)t^s≜1Fargmaxk∈NRsGCCk,where F∈R+ is the sampling frequency.One can employ TOF- or TDOF-based ASL techniques depending on the kind of errors present in eacht^s. Indeed, for each estimate t^s there are random and systematic errors associated with it. If systematic errors are dominant, then it is better to rely on TDOF estimates, as similar systematic errors are canceled by the subtraction of the TOF estimates. On the other hand, if random errors are dominant, then it is better to directly use the TOF estimates, because TDOF estimates may amplify random errors. In the next subsection, practical issues that lead to some kinds of errors in t^s are described.


## 2.4. Common Practical Issues

The accuracy of ASL techniques depends on how close the estimatest^s are from theactual TOFs ts. A problem might occur if the direct path connecting source and sensor does not exist or is temporarily obstructed, that is, if there is no LOS; in this case, t^s in (6) may be the propagation time corresponding to some other path related to reflection. Similarly, thedirectionality of the loudspeakers is also important, as it is related to the coverage area of ASL systems. Both LOS and directionality issues should be taken into account when designing ASL systems, that is, when choosing and positioning the loudspeakers.There are also some practical issues, likereverberation andinterference, that corrupt the received signal y[n]. When such issues are present, the CCF function may have other peaks; as a consequence, the peak corresponding to the direct path (i.e., to the TOF) becomes less prominent, sometimes even smaller than surrounding peaks. Therefore, this kind of issue impairs the received signal and thus the CCF and can be circumvented by choosing an adequate acoustic signal xs[n] (herein also calledprobe signal) with desirable correlation properties and by exploiting the physics of the problem, as will be explained in Section 4.In general, if source and/or sensor are moving, then the Doppler effect arises and may further corrupt the estimation ofts. Nevertheless, in many ASL applications, the relative velocity between source and sensor is usually much smaller than the speed of sound v, which makes Doppler effect negligible.The remainder of this section is devoted to some issues involving time measurements, namely,asynchrony andfrequency mismatch between loudspeakers and microphones. When there is asynchrony between microphone and loudspeaker, the argument that maximizes RsGCC[k] can be written as kso+Δks∈N, where kso is the actual discrete-time TOF and Δks is the discrete-time bias summarizing all time-lag impairments. In addition, if there is frequency mismatch, then the sensor’s clock frequency can be written as F+ΔF∈R+, where F is the source’s clock frequency. Considering these two deviations, the TOF estimate obtained in (6) is related to the actual discrete-time TOF kso by(7)t^s=kso+ΔksF+ΔF=kso+ΔksF11+ΔF/F.By assuming that|ΔF|≪F, this expression can be simplified as(8)t^s≈kso+ΔksF1-ΔFF≈αts+βs,where α≜(F-ΔF)/F, ts≈kso/F, and βs≜ΔksF-ΔF/F2. Observe that if the discrete-time biases Δks, with s∈S, are due to asynchrony and some constant playback-system delay only, that is, no acoustic impairment or LOS obstruction is present, then Δks=Δk for all s∈S, implying that βs=β for all s∈S. Hence,(9)m-ps=vts≈vαt^s+-vβα=at^s+b,in which the speed of sound v is embedded into the unknown parameters a and b. In any context in which clock skew can be neglected (i.e., α=1), a actually models the speed of sound and b models a constant range-bias.Once the main definitions and common practical issues have been described, one now has all basic tools to address the sensor localization problem itself.


## 3. ASL Algorithms

As mentioned in Section1, there are many different solutions to the problem of localizing an acoustic sensor. This section describes three state-of-the-art families of algorithms that span the main ASL approaches. Section 3.1 details TOF- and TDOF-based least-squares (LS) solutions [23] built on the affine model in (9). Section 3.2 indicates how the steered-response power (SRP) technique, originally targeted to the problem of sound source localization (SSL) using microphone array [27], can be adapted to work in the ASL context. Section 3.3 describes a new localization approach that relies on searching for regions (cuboids) that are likely to contain the sensor.


### 3.1. Least-Squares

In the LS procedure, many TOF or TDOF measurements are collected and used to estimate the microphone position. In what follows, the TOF-based LS method known asTab and the TDOF-based LS method known as Da proposed in [22, 23] are described.


#### 3.1.1. TOF-Based Problem (Tab)

Motivated by the relation in (9), let the error es corresponding to the sth loudspeaker be defined as es≜(at^s+b)2-m-ps2, for all s∈S, where the unknowns are m,a,b. Define the error vector e(Tab)≜e1e2⋯eST, in which the subscript Tab stands for TOF-based solutions with unknown parameters a,b, besides m itself. Then, the Tab problem is formulated as(10)minm,a,beTab2,which is nonlinear and has no closed-form solution.


#### 3.1.2. TDOF-Based Problem (Da)

Without loss of generality, assume thats=1 corresponds to the reference loudspeaker, whose associated TOF and position are t^1 and p1=0, respectively. In order to work with TDOFs, one can simply apply the following relation to (9): at^s+b=(at^s-at^1)+(at^1+b)≈aτ^s1+m, where τ^s1 is the TDOF related to the sth and the reference loudspeakers. In this way, by defining e~s≜(aτ^s1+m)2-m-ps2,  s∈S∖{1}, and forming the error vector e(Da)≜e~2⋯e~ST, the Da problem can be written as(11)minm,aeDa2,which is also nonlinear. Observe that, by working with TDOFs, the Da approach eliminates the systematic error b, as stated in Section 2.2. The acronym Da points out that this solution uses TDOFs and estimates a, besides m itself.


#### 3.1.3. LS Solutions

For both LS approaches, the error vector can be written in a general form ase=HΘ-g, where vector Θ is comprised of the unknowns to be estimated, whereas H and g are known matrix and vector, respectively. The structures of the involved vectors and matrix are given in the following equations for both Tab and Da [23]:(12)eTab=12p1Tt^122t^1⋮⋮⋮⋮12pSTt^S22t^sb2-m2ma2ab-p12⋮pS2,eDa=2τ^212p2Tτ^212⋮⋮⋮2τ^S12pSTτ^S12mama2-p22⋮pS2.Therefore, the entries and dimension of these variables depend upon whether a TOF- or a TDOF-based solution is searched.Although the entries ofΘ are not independent from each other, a better tradeoff between computational burden and estimation accuracy is achieved when such a constraint is neglected [23, 28]. By doing so, the nonlinear problems in (10) and (11) can be written as the following unconstrained LS problem:(13)minΘe2,whose closed-form solution is(14)Θ^≜HTH-1HTg.In (14), it is assumed that H is a full-rank matrix, which means that S≥6 for both the Tab and Da techniques.When one can assume thata=v, that is, there are no sampling frequency mismatches, and the speed of sound is known a priori, then the TDOF-based model can be written as(15)eD=2vτ^212p2T⋮⋮2vτ^S12pSTmm-p22-v2τ^212⋮pS2-v2τ^S12.Its corresponding LS solution, denoted by subscript D (TDOF-based with no auxiliary parameter), is related to the one presented in [28, 29] for the SSL problem.It is worth pointing out the strong dependence of the LS solutions on the estimated TOFs or TDOFs, whose errors may have a harmful effect on the localization accuracy. This fact motivates the use of a different approach that tries to estimate the sensor position directly, without resorting to prior TOF or TDOF estimation. SRP-inspired solutions allow one to do that, as described in the next section.


### 3.2. Steered-Response Power

The SRP technique was originally proposed for SSL problems using microphone array, but it can be adjusted to ASL as follows.In this context, the SRP divides the search space into a grid of points representing possible candidates for the microphone position and measures the overall similarity among emitted and received signals related to each of these points. The point with highest similarity is selected as the estimate of the microphone position. Thus, the SRP in the ASL context searches for the grid pointx∈R3 that maximizes the following objective function:(16)Wx≜∑s=1SRsGCCksx,where ks(x) is the discrete-time TOF assuming that the microphone position is m=x. When RsGCC[k] is the result of applying the PHAT filter to the CCF, the technique is known as SRP-PHAT.When using a dense grid of points covering the entire search space, the SRP technique achieves accurate position estimates even in reverberant scenarios, as all TOFs are considered simultaneously in a joint optimization procedure. However, the SRP drawback is its high computational burden due to the exhaustive search throughout the many points of the grid.It is important to highlight here that SRP-inspired solutions have not been thoroughly explored in the ASL context. For example, the impact of the affine model in (9) on the performance of SRP-inspired solutions should be studied, especially with regard to the bias b (this problem does not appear in SSL techniques, for they use TDOFs). This seems to be a reasonable research direction, which could also benefit from modifications on the SRP proposed to circumvent the high computational burden when solving SSL problems [24, 30–33]. Some of these strategies avoid the exhaustive search throughout the entire grid, like in [30], and therefore cannot guarantee accurate position estimates, as parts of the search space are not explored. More interesting results were obtained by the strategies that perform the exhaustive search throughout a grid of regions covering the entire search space, such as in [24, 32, 33]. The advantage over the standard SRP comes from the fact that the grid of regions can be made much coarser than the grid of points and still reach accurate estimates.The next section describes a new technique that puts together a prior step of TDOF estimation, which usually yields computationally simple solutions, and the SRP-inspired idea of an exhaustive search over a grid of regions, which tends to improve the robustness of the method.


### 3.3. Region-Based Search

Consider a division of the whole search regionV⊂R3 in a number C∈N of compact, disjoint, and connected regions (e.g., cuboids) Vc⊂V, with c∈{1,2,…,C}, over which the search will be performed (hereinafter, it is assumed that the regions are cuboids). Each TDOF gives rise to a hyperboloid that is the locus of all candidate spatial points that are consistent with that TDOF. If the hyperboloid related to TDOF τs1s2 intersects cuboid Vc, then TDOF τs1s2 is coherent with that cuboid [24]. It can be proven using the Karush-Kuhn-Tucker (KKT) conditions [34] that the coherence test can be implemented in a very efficient way—see Theorem 3 and Corollary 1 of [24]. This result shows that the TDOF τsr(x) of any point x inside Vc is within the interval (observe that the TDOF notation τs1s2 was replaced by τsr, with s,r∈S, to emphasize that the second loudspeaker acts as a reference speaker): (17)Icsr=minjτsrvcj,maxjτsrvcj⊂R,where vcj∈R3 (j∈{1,2,…,8}) is the position of the jth vertex of cuboid Vc. Note that (17) implies that comparisons are the only operations required to perform the coherence test, since the TDOF bounds for each cuboid can be precomputed just once and stored in a lookup table.Each TDOF information is usually consistent with several cuboids and thus does not suffice to determine the cuboid that indeed contains the sensor; in fact, one has to aggregate information from all loudspeakers in order to choose the cuboid that most likely contains the sensor. Mathematically, by defining the coherence test through the indicator function(18)Icτsr=1,ifτsr∈Icsr0,otherwise,a robust objective function that implicitly assesses the likelihood of the cth cuboid containing the sensor is defined as(19)Lc=∑r=1S-1∑s=r+1SIcτsr.Assuming the TDOFs associated with every microphone pair are known (in practice, they are estimated), Lc essentially counts the number of those TDOFs which are coherent with the cth cuboid. The cuboid with highest Lc is the one that most likely contains the sensor. The reader should observe that the computational complexity of evaluating (19) is very low, as it requires only counting and comparisons. It should be highlighted that there are alternative objective functions in the SSL literature whose definition and motivation are very similar to that of (19)—see [30, 32, 33].Alternatively, the following objective function could also be employed:(20)Lc′=∑s=1,s≠rSIcτsr.In comparison to Lc, Lc′ uses a single loudspeaker (the rth one) as reference and, therefore, it is not as robust as Lc for it relies on an accurate estimate of the rth TOF. Equation (19), on the other hand, employs all pairs of TDOFs, which is in some sense related to the “principle of least commitment” [35] to which some researchers attribute the excellent performance of SRP techniques [36].The search procedure usually begins with a coarse volumetric grid covering the entire search space [32]. For instance, one can divide each spatial dimension in L∈N parts of equal length, generating C=L3 cuboids, each with dimensions (lx/L)×(ly/L)×(lz/L), where the entire search space V is supposed to be a cuboid with edges of sizes lx, ly, and lz. Then, a hierarchical search takes place where the candidate cuboids are tested in order to verify their coherence with the available TOF/TDOF information [31]. This search can sometimes be posed within the branch-and-bound paradigm [24] originally devised for combinatorial and discrete optimization problems [37]. Given the current candidate cuboids, the generation of the next set of candidate regions starts by the selection of those (winner) cuboids that maximize some objective function. Then, each winner cuboid is recursively partitioned into smaller cuboids, each of them carrying more specific information about its portion of space [31]. The iterative process advances until some stop criterion is met—for instance, the maximum number of iterations is achieved.At this point, it might be clear that the practical issues mentioned in Section2.4 impair the accuracy of the TOF or TDOF estimates. Since the new region-based approach of this section and the LS approaches in Section 3.1 strongly depend on these estimates, it becomes crucial to obtain accurate TOF/TDOF estimates which are robust to these practical issues. This is why the techniques presented in Section 4 focus on improving TOF estimates.


## 3.1. Least-Squares

In the LS procedure, many TOF or TDOF measurements are collected and used to estimate the microphone position. In what follows, the TOF-based LS method known asTab and the TDOF-based LS method known as Da proposed in [22, 23] are described.


### 3.1.1. TOF-Based Problem (Tab)

Motivated by the relation in (9), let the error es corresponding to the sth loudspeaker be defined as es≜(at^s+b)2-m-ps2, for all s∈S, where the unknowns are m,a,b. Define the error vector e(Tab)≜e1e2⋯eST, in which the subscript Tab stands for TOF-based solutions with unknown parameters a,b, besides m itself. Then, the Tab problem is formulated as(10)minm,a,beTab2,which is nonlinear and has no closed-form solution.


### 3.1.2. TDOF-Based Problem (Da)

Without loss of generality, assume thats=1 corresponds to the reference loudspeaker, whose associated TOF and position are t^1 and p1=0, respectively. In order to work with TDOFs, one can simply apply the following relation to (9): at^s+b=(at^s-at^1)+(at^1+b)≈aτ^s1+m, where τ^s1 is the TDOF related to the sth and the reference loudspeakers. In this way, by defining e~s≜(aτ^s1+m)2-m-ps2,  s∈S∖{1}, and forming the error vector e(Da)≜e~2⋯e~ST, the Da problem can be written as(11)minm,aeDa2,which is also nonlinear. Observe that, by working with TDOFs, the Da approach eliminates the systematic error b, as stated in Section 2.2. The acronym Da points out that this solution uses TDOFs and estimates a, besides m itself.


### 3.1.3. LS Solutions

For both LS approaches, the error vector can be written in a general form ase=HΘ-g, where vector Θ is comprised of the unknowns to be estimated, whereas H and g are known matrix and vector, respectively. The structures of the involved vectors and matrix are given in the following equations for both Tab and Da [23]:(12)eTab=12p1Tt^122t^1⋮⋮⋮⋮12pSTt^S22t^sb2-m2ma2ab-p12⋮pS2,eDa=2τ^212p2Tτ^212⋮⋮⋮2τ^S12pSTτ^S12mama2-p22⋮pS2.Therefore, the entries and dimension of these variables depend upon whether a TOF- or a TDOF-based solution is searched.Although the entries ofΘ are not independent from each other, a better tradeoff between computational burden and estimation accuracy is achieved when such a constraint is neglected [23, 28]. By doing so, the nonlinear problems in (10) and (11) can be written as the following unconstrained LS problem:(13)minΘe2,whose closed-form solution is(14)Θ^≜HTH-1HTg.In (14), it is assumed that H is a full-rank matrix, which means that S≥6 for both the Tab and Da techniques.When one can assume thata=v, that is, there are no sampling frequency mismatches, and the speed of sound is known a priori, then the TDOF-based model can be written as(15)eD=2vτ^212p2T⋮⋮2vτ^S12pSTmm-p22-v2τ^212⋮pS2-v2τ^S12.Its corresponding LS solution, denoted by subscript D (TDOF-based with no auxiliary parameter), is related to the one presented in [28, 29] for the SSL problem.It is worth pointing out the strong dependence of the LS solutions on the estimated TOFs or TDOFs, whose errors may have a harmful effect on the localization accuracy. This fact motivates the use of a different approach that tries to estimate the sensor position directly, without resorting to prior TOF or TDOF estimation. SRP-inspired solutions allow one to do that, as described in the next section.


## 3.1.1. TOF-Based Problem (Tab)

Motivated by the relation in (9), let the error es corresponding to the sth loudspeaker be defined as es≜(at^s+b)2-m-ps2, for all s∈S, where the unknowns are m,a,b. Define the error vector e(Tab)≜e1e2⋯eST, in which the subscript Tab stands for TOF-based solutions with unknown parameters a,b, besides m itself. Then, the Tab problem is formulated as(10)minm,a,beTab2,which is nonlinear and has no closed-form solution.


## 3.1.2. TDOF-Based Problem (Da)

Without loss of generality, assume thats=1 corresponds to the reference loudspeaker, whose associated TOF and position are t^1 and p1=0, respectively. In order to work with TDOFs, one can simply apply the following relation to (9): at^s+b=(at^s-at^1)+(at^1+b)≈aτ^s1+m, where τ^s1 is the TDOF related to the sth and the reference loudspeakers. In this way, by defining e~s≜(aτ^s1+m)2-m-ps2,  s∈S∖{1}, and forming the error vector e(Da)≜e~2⋯e~ST, the Da problem can be written as(11)minm,aeDa2,which is also nonlinear. Observe that, by working with TDOFs, the Da approach eliminates the systematic error b, as stated in Section 2.2. The acronym Da points out that this solution uses TDOFs and estimates a, besides m itself.


## 3.1.3. LS Solutions

For both LS approaches, the error vector can be written in a general form ase=HΘ-g, where vector Θ is comprised of the unknowns to be estimated, whereas H and g are known matrix and vector, respectively. The structures of the involved vectors and matrix are given in the following equations for both Tab and Da [23]:(12)eTab=12p1Tt^122t^1⋮⋮⋮⋮12pSTt^S22t^sb2-m2ma2ab-p12⋮pS2,eDa=2τ^212p2Tτ^212⋮⋮⋮2τ^S12pSTτ^S12mama2-p22⋮pS2.Therefore, the entries and dimension of these variables depend upon whether a TOF- or a TDOF-based solution is searched.Although the entries ofΘ are not independent from each other, a better tradeoff between computational burden and estimation accuracy is achieved when such a constraint is neglected [23, 28]. By doing so, the nonlinear problems in (10) and (11) can be written as the following unconstrained LS problem:(13)minΘe2,whose closed-form solution is(14)Θ^≜HTH-1HTg.In (14), it is assumed that H is a full-rank matrix, which means that S≥6 for both the Tab and Da techniques.When one can assume thata=v, that is, there are no sampling frequency mismatches, and the speed of sound is known a priori, then the TDOF-based model can be written as(15)eD=2vτ^212p2T⋮⋮2vτ^S12pSTmm-p22-v2τ^212⋮pS2-v2τ^S12.Its corresponding LS solution, denoted by subscript D (TDOF-based with no auxiliary parameter), is related to the one presented in [28, 29] for the SSL problem.It is worth pointing out the strong dependence of the LS solutions on the estimated TOFs or TDOFs, whose errors may have a harmful effect on the localization accuracy. This fact motivates the use of a different approach that tries to estimate the sensor position directly, without resorting to prior TOF or TDOF estimation. SRP-inspired solutions allow one to do that, as described in the next section.


## 3.2. Steered-Response Power

The SRP technique was originally proposed for SSL problems using microphone array, but it can be adjusted to ASL as follows.In this context, the SRP divides the search space into a grid of points representing possible candidates for the microphone position and measures the overall similarity among emitted and received signals related to each of these points. The point with highest similarity is selected as the estimate of the microphone position. Thus, the SRP in the ASL context searches for the grid pointx∈R3 that maximizes the following objective function:(16)Wx≜∑s=1SRsGCCksx,where ks(x) is the discrete-time TOF assuming that the microphone position is m=x. When RsGCC[k] is the result of applying the PHAT filter to the CCF, the technique is known as SRP-PHAT.When using a dense grid of points covering the entire search space, the SRP technique achieves accurate position estimates even in reverberant scenarios, as all TOFs are considered simultaneously in a joint optimization procedure. However, the SRP drawback is its high computational burden due to the exhaustive search throughout the many points of the grid.It is important to highlight here that SRP-inspired solutions have not been thoroughly explored in the ASL context. For example, the impact of the affine model in (9) on the performance of SRP-inspired solutions should be studied, especially with regard to the bias b (this problem does not appear in SSL techniques, for they use TDOFs). This seems to be a reasonable research direction, which could also benefit from modifications on the SRP proposed to circumvent the high computational burden when solving SSL problems [24, 30–33]. Some of these strategies avoid the exhaustive search throughout the entire grid, like in [30], and therefore cannot guarantee accurate position estimates, as parts of the search space are not explored. More interesting results were obtained by the strategies that perform the exhaustive search throughout a grid of regions covering the entire search space, such as in [24, 32, 33]. The advantage over the standard SRP comes from the fact that the grid of regions can be made much coarser than the grid of points and still reach accurate estimates.The next section describes a new technique that puts together a prior step of TDOF estimation, which usually yields computationally simple solutions, and the SRP-inspired idea of an exhaustive search over a grid of regions, which tends to improve the robustness of the method.


## 3.3. Region-Based Search

Consider a division of the whole search regionV⊂R3 in a number C∈N of compact, disjoint, and connected regions (e.g., cuboids) Vc⊂V, with c∈{1,2,…,C}, over which the search will be performed (hereinafter, it is assumed that the regions are cuboids). Each TDOF gives rise to a hyperboloid that is the locus of all candidate spatial points that are consistent with that TDOF. If the hyperboloid related to TDOF τs1s2 intersects cuboid Vc, then TDOF τs1s2 is coherent with that cuboid [24]. It can be proven using the Karush-Kuhn-Tucker (KKT) conditions [34] that the coherence test can be implemented in a very efficient way—see Theorem 3 and Corollary 1 of [24]. This result shows that the TDOF τsr(x) of any point x inside Vc is within the interval (observe that the TDOF notation τs1s2 was replaced by τsr, with s,r∈S, to emphasize that the second loudspeaker acts as a reference speaker): (17)Icsr=minjτsrvcj,maxjτsrvcj⊂R,where vcj∈R3 (j∈{1,2,…,8}) is the position of the jth vertex of cuboid Vc. Note that (17) implies that comparisons are the only operations required to perform the coherence test, since the TDOF bounds for each cuboid can be precomputed just once and stored in a lookup table.Each TDOF information is usually consistent with several cuboids and thus does not suffice to determine the cuboid that indeed contains the sensor; in fact, one has to aggregate information from all loudspeakers in order to choose the cuboid that most likely contains the sensor. Mathematically, by defining the coherence test through the indicator function(18)Icτsr=1,ifτsr∈Icsr0,otherwise,a robust objective function that implicitly assesses the likelihood of the cth cuboid containing the sensor is defined as(19)Lc=∑r=1S-1∑s=r+1SIcτsr.Assuming the TDOFs associated with every microphone pair are known (in practice, they are estimated), Lc essentially counts the number of those TDOFs which are coherent with the cth cuboid. The cuboid with highest Lc is the one that most likely contains the sensor. The reader should observe that the computational complexity of evaluating (19) is very low, as it requires only counting and comparisons. It should be highlighted that there are alternative objective functions in the SSL literature whose definition and motivation are very similar to that of (19)—see [30, 32, 33].Alternatively, the following objective function could also be employed:(20)Lc′=∑s=1,s≠rSIcτsr.In comparison to Lc, Lc′ uses a single loudspeaker (the rth one) as reference and, therefore, it is not as robust as Lc for it relies on an accurate estimate of the rth TOF. Equation (19), on the other hand, employs all pairs of TDOFs, which is in some sense related to the “principle of least commitment” [35] to which some researchers attribute the excellent performance of SRP techniques [36].The search procedure usually begins with a coarse volumetric grid covering the entire search space [32]. For instance, one can divide each spatial dimension in L∈N parts of equal length, generating C=L3 cuboids, each with dimensions (lx/L)×(ly/L)×(lz/L), where the entire search space V is supposed to be a cuboid with edges of sizes lx, ly, and lz. Then, a hierarchical search takes place where the candidate cuboids are tested in order to verify their coherence with the available TOF/TDOF information [31]. This search can sometimes be posed within the branch-and-bound paradigm [24] originally devised for combinatorial and discrete optimization problems [37]. Given the current candidate cuboids, the generation of the next set of candidate regions starts by the selection of those (winner) cuboids that maximize some objective function. Then, each winner cuboid is recursively partitioned into smaller cuboids, each of them carrying more specific information about its portion of space [31]. The iterative process advances until some stop criterion is met—for instance, the maximum number of iterations is achieved.At this point, it might be clear that the practical issues mentioned in Section2.4 impair the accuracy of the TOF or TDOF estimates. Since the new region-based approach of this section and the LS approaches in Section 3.1 strongly depend on these estimates, it becomes crucial to obtain accurate TOF/TDOF estimates which are robust to these practical issues. This is why the techniques presented in Section 4 focus on improving TOF estimates.


## 4. Improving TOF/TDOF Estimates

This section describes three techniques from the literature that improve the accuracy of TOF/TDOF estimates. Section4.1 details the sliding windows approach, which resorts to physical constraints to define time-windows likely to contain the actual TOFs. Section 4.2 describes a method that uses matching pursuit (MP) algorithms to select candidate TOF estimates within the previously defined time-windows, while cleaning spurious components that appear in CCFs or GCC functions. Section 4.3 shows how one can change the selected TOFs in order to improve the final localization accuracy.


### 4.1. Sliding Windows

Each CCF (or GCC) may present many peaks, hampering the task of detecting the peak associated with the direct path. In order to overcome this difficulty, a set of physical constraints the actual TOFs must satisfy can be imposed on the search for the direct-path CCF peak. These constraints stem from room geometry and probe signals’ inherent structure, such as duration and cyclical nature—ubiquitous in asynchronous passive ASL systems. The sliding windows (SW) approach proposed in [23] is a robust and computationally efficient technique employed to search for CCF peaks while taking into account the aforementioned constraints.The key idea underlying the SW technique is to jointly search for the direct-path peaks across all CCFs simultaneously. This joint optimization is conducted by adding the selected peaks within fixed-duration windows defined in order to account for possible errors due to acoustic impairments, such as reverberation, interference, and LOS obstruction. The duration of those windows satisfies physical constraints based on room dimensions (e.g., the maximum lag can be upper bounded by the room diameter—maximum distance between points within the room—divided by the speed of sound). Moreover, the knowledge of the delay between consecutive emissions of different loudspeakers as well as the probe signals’ durations is used to constrain the distance between windows from the corresponding CCFs.Figure1 illustrates the way SW technique works in a simplified setup. Consider an anechoic room where four loudspeakers emit cyclical impulses as probe signals. Assume there is a fixed delay between emissions from different loudspeakers, which is handy in practical reverberant environments for it helps to deal with signal superpositions, although not mandatory in this toy-example. The first step is to define time-windows (depicted as green boxes in Figure 1) based on the maximum admissible propagation delays within the room. After that, the windows (one for each CCF) are spaced apart based on the fixed delay between consecutive emissions of probe signals. Then, the values of the highest CCF peak within each window are added and stored. A sliding windows process takes place in order to evaluate the initial time-index for which the aforementioned accumulated peak values achieve their maximum. Figure 1(a) shows the windows in a position where the accumulated peak values are not maximal; the sliding process continues in a cyclical fashion, accounting for the cyclical emission of probe signals, as illustrated in Figure 1(b), where the maximum is finally achieved. Thus, the SW technique also has the ability to blindly detect the emission order of the probe signals in the acquired signal, regardless of the order ambiguity induced by the asynchrony among transmitters and receivers.Figure 1
Illustration of the ability of the SW technique to estimate the correct loudspeakers’ emission order. Example of windows (in green) that (a) do not have the correct emission order and (b) have the correct emission order. Note that windows are delayed in distinct CCFs in order to compensate for the transmission delay between different loudspeakers.
(a)
(b)Mathematically, the SW technique yields a set of time-windowsWs, in which the sth TOF should be located, defined as [23](21)Ws≜kmax+us-1δ-K,…,kmax+us-1δ+K,where kmax is related to the start of the windows that (one expects to) contain the actual TOFs, δ is the fixed delay between windows (easily defined based on the duration of a complete probe signal cycle), K is dependent on the dimensions of the room and defines the duration of the windows, and u1u2⋯uS is a right-cyclical shift of vector 12⋯S.It is noteworthy that the highest peak insideWs often corresponds to the desired sth TOF and, when this does not happen, the search for the correct peak should be done inside the window Ws, whose length is usually much shorter than the sth CCF/GCC support, significantly reducing the computational burden of forthcoming stages that try to correct misestimated TOFs. In fact, choosing the correct peak within those windows may still be rather challenging depending on the ASL environment. This fact calls for nonlinear processing (see Section 4.2) that goes beyond the linear processing implemented by CCF-based approaches.


### 4.2. Matching Pursuit

Using the lag associated with the highest CCF peak as TOF estimate is equivalent to employing matched filters for the TOF-estimation task [38]. As seen before, multipath propagation, along with other acoustic phenomena, modifies the desired correlation properties of the probe signals, hampering the TOF-estimation task. A way to circumvent such issues consists of performing a precise estimation of the channel-impulse response (CIR), which can be done if the probe signals are known. The time stamp of the first nonzero coefficient of the estimated CIR should be the desired TOF in an ideal setup.A natural candidate for CIR estimation is the maximum likelihood (ML) estimate, whose solution, under some mild hypotheses, is equivalent to an unconstrained and nonregularized least-squares (LS) estimate, in the absence of noise measurement and interferences [39] (in fact, the equivalence remains even under normally distributed noise  [40]).Besides its lack of robustness under non-Gaussian perturbations [41], the ML solution is not feasible for real-time localization systems due to its high computational complexity. The authors in [20] proposed a greedy pursuit for CIR estimation, specifically thematching pursuit (MP) algorithm [42]. Such strategy was motivated by [43], which developed a CIR estimation algorithm for multiuser environments in code division multiple access (CDMA) systems, aiming at TOF-based radio localization. The authors in [43] compared the ML and MP techniques, eventually concluding that the last outperforms the former. The inferior ML performance is attributed to the underlying overparameterization of the CIR, which makes the detection of the actual TOF unreliable [43].The MP algorithm relies on sparse representations of the signals of interest [44], working by progressively isolating the signal structures which are coherent with a predefined dictionary of signals. In the context of ASL, the works [12, 20] employ the MP algorithm to describe an excerpt of the recorded signal as a linear combination of delayed versions of one probe signal. Such decomposition permits to infer the direct-path delay even when its CCF/GCC peak is highly attenuated compared to peaks corresponding to reflected-path delays.Suppose one has good reasons to believe that the early arrivals of the signal emitted by thesth loudspeaker occur at the set of indexes Ps (e.g., Ps=Ws given in (21)) of the recorded signal y[n]. Assuming that the Np most significant channel coefficients extracted by the MP contain the actual TOF, the estimation of the sth TOF could be performed as described in Algorithm 1. Note that this algorithm can easily provide a set of Np candidate TOF estimates corresponding to the sth loudspeaker.Algorithm 1:TOF estimation by MP algorithm.
(1) procedure  TofEstimations,Np,Ps
(2)     y¯[n]⟵y[n]
(3)     nIt⟵0
(4)     while  nIt<Np  do
(5)    ∀k∈Ps:Rsk⟵∑n∈Ny¯[n]xs[n-k]
(6)    kp[nIt]⟵argmaxk⁡Rsk
(7)    αnIt⟵RskpnIt
(8)    y¯n⟵y¯n-αnItxsn-kpnIt
(9)    nIt⟵nIt+1
(10)     end while
(11)     t^s⟵min⁡kpmF
(12)     return  t^s  (sth estimated TOF)
(13) end procedureWhen theNp parameter employed in Algorithm 1 is too large, or when probe signals are not completely orthogonal, some spurious components may appear before the direct-path delay, as illustrated in Figure 2. One can circumvent this issue by establishing a detection threshold, as proposed in [20].Figure 2
Example of MP decomposition. (a) Original CCF; (b) the first 7 components extracted with Algorithm1. The spurious components that appear before the actual TOF are depicted inside the red box.
(a)
(b)It should be pointed out that, even when Algorithm1 fails, it yields a number (Np) of TOF candidates that is much smaller than the number of CCF/GCC peaks; this is key to further performing a refined search for the correct peak without significantly increasing the computational burden (it is assumed here that Ps contains the actual TOF). A possible refinement step is described in the next section.


### 4.3. TOF Selection

As explained before, reverberation and LOS obstruction between loudspeaker and sensor nodes (and other issues) may severely impair the TOF estimate and, therefore, the overall localization procedure [45]. One way of tackling those issues consists of wisely selecting the TOFs from the peaks of the CCFs/GCCs when they are not the highest ones, or even discarding some CCF/GCC information when the actual TOF cannot be found in it [23, 45]. Note that such strategy, henceforth called “TOF selection” or simply TS, does not perform an exhaustive search over a grid of spatial points nor requires evaluations of complex functionals; therefore, it is expected to demand fewer numerical operations than SRP-inspired algorithms.Each CCF/GCC usually provides many peaks and, consequently, a combinatorial search for the best combination of peaks may be infeasible in some applications. In order to perform a computationally efficient search, the TS technique should rely on some physically plausible heuristics. One possible heuristics example, for instance, makes use of the fact that spurious CCF/GCC peaks generated by multipath propagation often occur after the correct peak, because non-LOS paths are longer [23]. This assumption motivates a search among peaks that occur before the current one if its correctness is under question. Another example of heuristics takes into account that the magnitude of an erroneously detected peak is slightly larger than the magnitude of the correct CCF/GCC peak in a high-SNR regime without LOS obstruction [23]. A more common hypothesis states that the highest CCF/GCC peak is often associated with the desired TOF information.Such heuristics are not sufficient for reliable TOF estimation in practical environments. In general, they should be connected with an objective function that incorporates geometric constraints in order to assess a specific set of candidate TOFs. Such assessment, which takes into account availablea priori information, is key to solving inverse problems [31]. One example of such geometric-based function is the maximum discrepancy between the position obtained by feeding the localization procedure with the TOFs (or TDOFs) estimated from the CCFs/GCCs and the TOFs (or TDOFs) that would have been observed if the sensor were indeed at the estimated position [23]. Another example is the coherence of the current set of estimated TOFs (or TDOFs) with one or more spatial regions [45] (see Section 3.3 for more details).The TS strategy begins with an evaluation of the objective function, whose result should meet a stop criterion. Such criterion can test whether a threshold is not violated and/or whether the maximum number of iterations is not exceeded. While such criterion is not satisfied, a “Refine” procedure should be used. Such refinement represents the core procedure of this method, which updates the current set of TOF (or TDOF) candidates and may even include a procedure for discarding some CCFs/GCCs from which one cannot extract a reliable TOF (or TDOF) estimate [23].


## 4.1. Sliding Windows

Each CCF (or GCC) may present many peaks, hampering the task of detecting the peak associated with the direct path. In order to overcome this difficulty, a set of physical constraints the actual TOFs must satisfy can be imposed on the search for the direct-path CCF peak. These constraints stem from room geometry and probe signals’ inherent structure, such as duration and cyclical nature—ubiquitous in asynchronous passive ASL systems. The sliding windows (SW) approach proposed in [23] is a robust and computationally efficient technique employed to search for CCF peaks while taking into account the aforementioned constraints.The key idea underlying the SW technique is to jointly search for the direct-path peaks across all CCFs simultaneously. This joint optimization is conducted by adding the selected peaks within fixed-duration windows defined in order to account for possible errors due to acoustic impairments, such as reverberation, interference, and LOS obstruction. The duration of those windows satisfies physical constraints based on room dimensions (e.g., the maximum lag can be upper bounded by the room diameter—maximum distance between points within the room—divided by the speed of sound). Moreover, the knowledge of the delay between consecutive emissions of different loudspeakers as well as the probe signals’ durations is used to constrain the distance between windows from the corresponding CCFs.Figure1 illustrates the way SW technique works in a simplified setup. Consider an anechoic room where four loudspeakers emit cyclical impulses as probe signals. Assume there is a fixed delay between emissions from different loudspeakers, which is handy in practical reverberant environments for it helps to deal with signal superpositions, although not mandatory in this toy-example. The first step is to define time-windows (depicted as green boxes in Figure 1) based on the maximum admissible propagation delays within the room. After that, the windows (one for each CCF) are spaced apart based on the fixed delay between consecutive emissions of probe signals. Then, the values of the highest CCF peak within each window are added and stored. A sliding windows process takes place in order to evaluate the initial time-index for which the aforementioned accumulated peak values achieve their maximum. Figure 1(a) shows the windows in a position where the accumulated peak values are not maximal; the sliding process continues in a cyclical fashion, accounting for the cyclical emission of probe signals, as illustrated in Figure 1(b), where the maximum is finally achieved. Thus, the SW technique also has the ability to blindly detect the emission order of the probe signals in the acquired signal, regardless of the order ambiguity induced by the asynchrony among transmitters and receivers.Figure 1
Illustration of the ability of the SW technique to estimate the correct loudspeakers’ emission order. Example of windows (in green) that (a) do not have the correct emission order and (b) have the correct emission order. Note that windows are delayed in distinct CCFs in order to compensate for the transmission delay between different loudspeakers.
(a)
(b)Mathematically, the SW technique yields a set of time-windowsWs, in which the sth TOF should be located, defined as [23](21)Ws≜kmax+us-1δ-K,…,kmax+us-1δ+K,where kmax is related to the start of the windows that (one expects to) contain the actual TOFs, δ is the fixed delay between windows (easily defined based on the duration of a complete probe signal cycle), K is dependent on the dimensions of the room and defines the duration of the windows, and u1u2⋯uS is a right-cyclical shift of vector 12⋯S.It is noteworthy that the highest peak insideWs often corresponds to the desired sth TOF and, when this does not happen, the search for the correct peak should be done inside the window Ws, whose length is usually much shorter than the sth CCF/GCC support, significantly reducing the computational burden of forthcoming stages that try to correct misestimated TOFs. In fact, choosing the correct peak within those windows may still be rather challenging depending on the ASL environment. This fact calls for nonlinear processing (see Section 4.2) that goes beyond the linear processing implemented by CCF-based approaches.


## 4.2. Matching Pursuit

Using the lag associated with the highest CCF peak as TOF estimate is equivalent to employing matched filters for the TOF-estimation task [38]. As seen before, multipath propagation, along with other acoustic phenomena, modifies the desired correlation properties of the probe signals, hampering the TOF-estimation task. A way to circumvent such issues consists of performing a precise estimation of the channel-impulse response (CIR), which can be done if the probe signals are known. The time stamp of the first nonzero coefficient of the estimated CIR should be the desired TOF in an ideal setup.A natural candidate for CIR estimation is the maximum likelihood (ML) estimate, whose solution, under some mild hypotheses, is equivalent to an unconstrained and nonregularized least-squares (LS) estimate, in the absence of noise measurement and interferences [39] (in fact, the equivalence remains even under normally distributed noise  [40]).Besides its lack of robustness under non-Gaussian perturbations [41], the ML solution is not feasible for real-time localization systems due to its high computational complexity. The authors in [20] proposed a greedy pursuit for CIR estimation, specifically thematching pursuit (MP) algorithm [42]. Such strategy was motivated by [43], which developed a CIR estimation algorithm for multiuser environments in code division multiple access (CDMA) systems, aiming at TOF-based radio localization. The authors in [43] compared the ML and MP techniques, eventually concluding that the last outperforms the former. The inferior ML performance is attributed to the underlying overparameterization of the CIR, which makes the detection of the actual TOF unreliable [43].The MP algorithm relies on sparse representations of the signals of interest [44], working by progressively isolating the signal structures which are coherent with a predefined dictionary of signals. In the context of ASL, the works [12, 20] employ the MP algorithm to describe an excerpt of the recorded signal as a linear combination of delayed versions of one probe signal. Such decomposition permits to infer the direct-path delay even when its CCF/GCC peak is highly attenuated compared to peaks corresponding to reflected-path delays.Suppose one has good reasons to believe that the early arrivals of the signal emitted by thesth loudspeaker occur at the set of indexes Ps (e.g., Ps=Ws given in (21)) of the recorded signal y[n]. Assuming that the Np most significant channel coefficients extracted by the MP contain the actual TOF, the estimation of the sth TOF could be performed as described in Algorithm 1. Note that this algorithm can easily provide a set of Np candidate TOF estimates corresponding to the sth loudspeaker.Algorithm 1:TOF estimation by MP algorithm.
(1) procedure  TofEstimations,Np,Ps
(2)     y¯[n]⟵y[n]
(3)     nIt⟵0
(4)     while  nIt<Np  do
(5)    ∀k∈Ps:Rsk⟵∑n∈Ny¯[n]xs[n-k]
(6)    kp[nIt]⟵argmaxk⁡Rsk
(7)    αnIt⟵RskpnIt
(8)    y¯n⟵y¯n-αnItxsn-kpnIt
(9)    nIt⟵nIt+1
(10)     end while
(11)     t^s⟵min⁡kpmF
(12)     return  t^s  (sth estimated TOF)
(13) end procedureWhen theNp parameter employed in Algorithm 1 is too large, or when probe signals are not completely orthogonal, some spurious components may appear before the direct-path delay, as illustrated in Figure 2. One can circumvent this issue by establishing a detection threshold, as proposed in [20].Figure 2
Example of MP decomposition. (a) Original CCF; (b) the first 7 components extracted with Algorithm1. The spurious components that appear before the actual TOF are depicted inside the red box.
(a)
(b)It should be pointed out that, even when Algorithm1 fails, it yields a number (Np) of TOF candidates that is much smaller than the number of CCF/GCC peaks; this is key to further performing a refined search for the correct peak without significantly increasing the computational burden (it is assumed here that Ps contains the actual TOF). A possible refinement step is described in the next section.


## 4.3. TOF Selection

As explained before, reverberation and LOS obstruction between loudspeaker and sensor nodes (and other issues) may severely impair the TOF estimate and, therefore, the overall localization procedure [45]. One way of tackling those issues consists of wisely selecting the TOFs from the peaks of the CCFs/GCCs when they are not the highest ones, or even discarding some CCF/GCC information when the actual TOF cannot be found in it [23, 45]. Note that such strategy, henceforth called “TOF selection” or simply TS, does not perform an exhaustive search over a grid of spatial points nor requires evaluations of complex functionals; therefore, it is expected to demand fewer numerical operations than SRP-inspired algorithms.Each CCF/GCC usually provides many peaks and, consequently, a combinatorial search for the best combination of peaks may be infeasible in some applications. In order to perform a computationally efficient search, the TS technique should rely on some physically plausible heuristics. One possible heuristics example, for instance, makes use of the fact that spurious CCF/GCC peaks generated by multipath propagation often occur after the correct peak, because non-LOS paths are longer [23]. This assumption motivates a search among peaks that occur before the current one if its correctness is under question. Another example of heuristics takes into account that the magnitude of an erroneously detected peak is slightly larger than the magnitude of the correct CCF/GCC peak in a high-SNR regime without LOS obstruction [23]. A more common hypothesis states that the highest CCF/GCC peak is often associated with the desired TOF information.Such heuristics are not sufficient for reliable TOF estimation in practical environments. In general, they should be connected with an objective function that incorporates geometric constraints in order to assess a specific set of candidate TOFs. Such assessment, which takes into account availablea priori information, is key to solving inverse problems [31]. One example of such geometric-based function is the maximum discrepancy between the position obtained by feeding the localization procedure with the TOFs (or TDOFs) estimated from the CCFs/GCCs and the TOFs (or TDOFs) that would have been observed if the sensor were indeed at the estimated position [23]. Another example is the coherence of the current set of estimated TOFs (or TDOFs) with one or more spatial regions [45] (see Section 3.3 for more details).The TS strategy begins with an evaluation of the objective function, whose result should meet a stop criterion. Such criterion can test whether a threshold is not violated and/or whether the maximum number of iterations is not exceeded. While such criterion is not satisfied, a “Refine” procedure should be used. Such refinement represents the core procedure of this method, which updates the current set of TOF (or TDOF) candidates and may even include a procedure for discarding some CCFs/GCCs from which one cannot extract a reliable TOF (or TDOF) estimate [23].


## 5. Proposed ASL System

As the localization techniques described in Section3 present complementary benefits, the proper choice of the technique to be used strongly depends on the requirements of the particular ASL application. In addition, the recent advances described in Section 4 have proved to work in practice and their combinations with the techniques in Section 3 open up a myriad of exciting research directions that have not been fully explored in the ASL context. This section contains an example of how one can put together the advantage of all techniques in Section 4 along with the region-based search proposed in Section 3.3, giving rise to a novel ASL system.As mentioned before, SRP-inspired searches present high computational complexity due to the required evaluation of many complex functionals. Converting the search into a selection of correct candidate TOFs among the CCF/GCC peaks is an interesting alternative as long as the number of such peaks is small. This is not the case, however, if each CCF/GCC presents many peaks. Resorting to MP-based algorithms is a convenient way of circumventing such problem—recall that Algorithm1 may return a variable number (Np) of candidate CCF/GCC peaks. Nevertheless, the MP algorithm should be fed with a set of indexes Ps, for the sth loudspeaker, in which the early arrival of the related probe signal is likely to be (see Section 4.2). This set Ps must have a small cardinality; otherwise the computational complexity becomes prohibitively high. Fortunately, a robust estimate of a relatively small set Ps=Ws for each loudspeaker can be performed by the SW technique described in Section 4.1; indeed, the SW technique can deliver a small excerpt of the recorded signal to the MP-based sth TOF-estimation algorithm, which may then return Np candidate TOFs for each loudspeaker. Using the common assumption that the highest CCF/GCC peak (or, equivalently, the highest coefficient extracted by the MP method) is often related to the desired TOF, a reasonable strategy consists of using the highest coefficients obtained by the MP as a preliminary starting point for the set of estimated TOFs. This set cannot be directly used to infer the sensor location with LS techniques (like Tab or Da) because such techniques are very sensitive to TOFs/TDOFs errors [22], and one cannot assure beforehand that the initial set of TOFs is accurate (one may only expect thatmost of TOF/TDOF information is correct). At this point, the new robust region-based search mechanism—see Section 3.3— that solves the inverse problem of inferring the sensor location from the data by progressively partitioning some candidate regions (i.e., the winner ones) takes place. A simple choice is the use of cuboids, thus generating 23=8 children cuboids from the parent one by dividing each dimension into two equal parts. For each candidate cuboid, one can evaluate the objective function (19), whose computational complexity is very low. Cuboids that maximize such functional are selected for further decompositions. Due to the “principle of least commitment” [35] it is expected that the winner cuboids contain the sensor location, which imposes additional geometric constraints to the TOF/TDOF data. Such constraints can be employed to perform a smart selection of the TOFs—remember that (18) indicates whether some TDOF data is coherent with a given cuboid. This selection is rather favored by the previous application of the MP-based TOF detection step, since it delivers only Np candidate TOFs for each loudspeaker, with Np being typically smaller than 10 [12, 20].Algorithm2 describes the proposed TOF-selection scheme. Vector cw contains the indexes cw[i] of current winner cuboids, vectors ks, with s∈S, contain the Np sample indexes ks[m] of the sth loudspeaker candidate peaks, and t¯c contains the current set of TOF estimates. Note that the core calculation of this algorithm is performed in line 13, which employs (19), whose computational cost is negligible since it does not require multiplication nor division operations (only comparisons and sums). Algorithm 2 returns vector t^, which contains a set of updated TOF data. After the geometric-based selection of the next set of candidate TOFs, one may again proceed to a new decomposition step, until some criterion is met (typically, until the prescribed maximum number of iterations is reached). Although such recursive procedure is not pointwise, one may easily obtain a point estimation for the sensor location by evaluating the mass center of the last winner cuboid (it should be stressed that at the final step of the described procedure only one cuboid remains, in general). Figure 3 presents a block diagram of the proposed method.Algorithm 2:TOF selection by geometric constraints.
(1) procedure  TofSelectionk1,…,kS,t¯c,cw,Np
(2)    for  s≔1  to  S  do
(3)        for  m≔1  to  Np  do
(4)             t~s[m]⟵ksmF
(5)        end for
(6)    end for
(7)    for  s≔1  to  S  do
(8)        fitness  ⟵0,…,01×Np
(9)        for  m≔1  to  Np  do
(10)        t¯⟵t¯c
(11)        t¯[m]⟵t~s[m]
(12)        for  i≔1  to  #cw  do
(13)             fitness[m] ⟵ fitness[m] + Lcw[i]t¯
(14)        end for
(15)        end for
(16)        m^⟵argmax  fitness[⋅]
(17)        t^s⟵t~sm^
(18)    end for
(19) end procedureFigure 3
Block diagram of the proposed ASL system.


## 6. Experimental Results

The main goal of this section is to present an evaluation of the proposed method (described in Section5) in a real-world scenario, as a proof of concept.


### 6.1. Experimental Setup

The test environment is a lecture room with a measured reverberation time (T60) of approximately 500 ms and dimensions 5.2 m × 7.5 m × 2.6 m. Eleven loudspeakers with a diameter of 7.6 cm are located according to the positions indicated in Table 1. A mobile device is located at position {1.746,4.425,0.748} m with the automatic gain control (AGC) activated. The captured signals, for each estimation, have durations of 0.55 s. The signal is recorded at F = 48 kHz with 24-bit precision.Table 1
Coordinates (in meters) of each loudspeaker.
Index
x
y
z
1
0.3520
5.5430
2.2570
2
0.3880
5.5620
1.7065
3
0.6160
0.8275
2.0105
4
0.3120
2.8905
1.6430
5
0.3420
2.8725
0.9850
6
4.5720
3.0250
1.6020
7
4.5630
3.0185
1.0075
8
2.3315
0.5235
1.1710
9
4.5330
5.5830
2.2605
10
4.4740
5.5505
1.6875
11
4.1700
0.9000
2.0160In order to provide an accurate localization procedure, the probe signals should meet several prerequisites, namely, low audibility, high orthogonality, robustness against interferences, and short duration (which guarantees a high refresh rate of the sensor location). In the following experiments, a new set of probe signals, calledpolyphonic chirps, were designed to meet such requirements. The starting point of the polyphonic chirps consists of linear chirps, whose bandwidth ranges from 14.0 to 20.0 kHz, with amplitudes following the inverse A-weighting curve (which is the inverse of the human relative loudness [46]), so that there is an increasing gain from 14 to 20 kHz. One can define 4 subbands from the primary chirp signal, namely, from 14.0 to 15.5 kHz, from 15.5 to 17.0 kHz, from 17.0 kHz to 18.5 kHz, and from 17.5 to 20.0 kHz. Within each subband, one can play a chirp with increasing frequency or with decreasing frequency. Bit 0 is associated with the latter and bit 1 with the former. Hence, one can assign to each loudspeaker a 4-bit codeword whose bits, from the most to the least significant, are associated with the subchirps from the lowest to the highest frequency band. Therefore, 4 subchirps are expected to be simultaneously played-back by each loudspeaker, giving birth to a specific polyphonic chirp. Additionally, modifications were heuristically (in the sense that they were based on the audibility level of the resulting probe signals) taken to shorten the probe signals audibility: the two lower-frequency subchirps are attenuated by factors of 20 (subband 14.0–15.5 kHz) and 10 (subband 15.5–17.0 kHz). Further, each polyphonic chirp follows a 5-ms fade-in/fade-out envelope to hide undesirable discontinuities at the start and at the end of the underlying signals. A cyclical emission of 30-ms polyphonic chirps is performed, following an order previously known by the sensor node. There is a 20-ms silence interval between consecutive emissions, aiming at reducing the effects of interference and signal superposition caused by reverberation. It should be emphasized that through informal listening tests under typical environmental conditions, we found that these chirps are inaudible for most people.The probe signals were emitted with powerP dB relative to a standard power level, with P∈{0,-6,-12,-18,-24}. The purpose of the experiment is to assess the importance of geometric-based TOF-selection procedure (see Algorithm 2) with different levels of emitted power. For each configuration, 100 different excerpts were employed to provide different localization estimates, whose error statistics are presented in the following.


### 6.2. Median Localization Error

This section aims at assessing the impact of different choices of the number of MP decompositionsNp and the number of hierarchical cuboid decompositions Nc on the localization accuracy. Table 2 presents the results with TOF-selection procedure disabled (TS-) and TOF-selection procedure enabled (TS+). From this table, one can conclude that the TOF selection is very effective in reducing the median error provided there exists more than one TOF candidate (i.e., Np>1). The use of such procedure has never increased the median localization error and sometimes reduces it in more than 70%. Hence, from now on it is considered that the TOF selection is always enabled. Regarding the number of MP decompositions, choices of Np between 5 and 7 (inclusive) appear to achieve a good compromise between accuracy and computational cost. The use of a large number of hierarchical decompositions Nc is usually not a wise strategy, since it increases the probability of selecting an erroneous cuboid, which harms the posterior hierarchical search. It should be noticed that the method works even with extremely low power emission (in general, when P=-24 dB, the loudspeaker sound is inaudible).Table 2
Median localization error (in cm) for different choices of emission powerP (in dB, relative to a standard power level). The number of MP decompositions is Np and the number of hierarchical cuboid decompositions is Nc.
N
p
T
S
-
T
S
+
T
S
-
T
S
+
T
S
-
T
S
+
N
c
=
4
N
c
=
6
N
c
=
8
P
=
0 dB
1
50.42
50.42
44.39
44.39
44.37
44.37
3
50.42
18.28
44.39
18.28
44.37
18.16
5
50.42
8.00
44.39
13.79
44.37
11.80
7
50.42
8.00
44.39
13.79
44.37
12.78
P
=
-
6 dB
1
34.06
34.06
31.04
31.04
33.02
33.02
3
34.06
18.28
31.04
17.50
33.02
17.08
5
34.06
8.00
31.04
16.08
33.02
15.01
7
34.06
8.00
31.04
13.79
33.02
11.45
P
=
-
12 dB
1
50.42
50.42
43.54
43.54
45.40
45.4
3
50.42
22.76
43.54
26.88
45.40
28.55
5
50.42
18.71
43.54
22.55
45.40
21.5
7
50.42
18.71
43.54
19.18
45.40
17.44
P
=
-
18 dB
1
50.42
50.42
56.71
56.71
56.72
56.72
3
50.42
34.06
56.71
31.63
56.72
32.65
5
50.42
18.71
56.71
17.91
56.72
18.06
7
50.42
18.71
49.67
26.16
50.1
24.88
P
=
-
24 dB
1
50.42
50.42
57.73
57.73
58.48
58.48
3
50.42
18.71
57.73
14.04
58.48
12.39
5
50.42
13.14
57.73
15.17
58.48
16.21
7
50.42
18.71
57.73
17.76
58.48
17.98


### 6.3. CDF of the Error

In order to evaluate the impact of the emitted power on the localization accuracy, Figure4 shows the localization error (when it is smaller than 50 cm) and the cumulative distribution function (CDF) of the localization error with Np=5 MP extracted components and Nc=4 hierarchical decompositions of cuboids. These results reveal a progressive accuracy degradation with the reduction of the power emission. Moreover, the advantage of employing the proposed TS technique is also clear from those results.Figure 4
Localization error (within a50 cm range) for each recorded signal excerpt and respective CDF with P= (a) 0, (b) -6, (c) -12, (d) -18, and (e) -24 dB. Blue: localization procedure with TOF selection disabled. Red: localization procedure with TOF selection enabled.
(a)
(b)
(c)
(d)
(e)


## 6.1. Experimental Setup

The test environment is a lecture room with a measured reverberation time (T60) of approximately 500 ms and dimensions 5.2 m × 7.5 m × 2.6 m. Eleven loudspeakers with a diameter of 7.6 cm are located according to the positions indicated in Table 1. A mobile device is located at position {1.746,4.425,0.748} m with the automatic gain control (AGC) activated. The captured signals, for each estimation, have durations of 0.55 s. The signal is recorded at F = 48 kHz with 24-bit precision.Table 1
Coordinates (in meters) of each loudspeaker.
Index
x
y
z
1
0.3520
5.5430
2.2570
2
0.3880
5.5620
1.7065
3
0.6160
0.8275
2.0105
4
0.3120
2.8905
1.6430
5
0.3420
2.8725
0.9850
6
4.5720
3.0250
1.6020
7
4.5630
3.0185
1.0075
8
2.3315
0.5235
1.1710
9
4.5330
5.5830
2.2605
10
4.4740
5.5505
1.6875
11
4.1700
0.9000
2.0160In order to provide an accurate localization procedure, the probe signals should meet several prerequisites, namely, low audibility, high orthogonality, robustness against interferences, and short duration (which guarantees a high refresh rate of the sensor location). In the following experiments, a new set of probe signals, calledpolyphonic chirps, were designed to meet such requirements. The starting point of the polyphonic chirps consists of linear chirps, whose bandwidth ranges from 14.0 to 20.0 kHz, with amplitudes following the inverse A-weighting curve (which is the inverse of the human relative loudness [46]), so that there is an increasing gain from 14 to 20 kHz. One can define 4 subbands from the primary chirp signal, namely, from 14.0 to 15.5 kHz, from 15.5 to 17.0 kHz, from 17.0 kHz to 18.5 kHz, and from 17.5 to 20.0 kHz. Within each subband, one can play a chirp with increasing frequency or with decreasing frequency. Bit 0 is associated with the latter and bit 1 with the former. Hence, one can assign to each loudspeaker a 4-bit codeword whose bits, from the most to the least significant, are associated with the subchirps from the lowest to the highest frequency band. Therefore, 4 subchirps are expected to be simultaneously played-back by each loudspeaker, giving birth to a specific polyphonic chirp. Additionally, modifications were heuristically (in the sense that they were based on the audibility level of the resulting probe signals) taken to shorten the probe signals audibility: the two lower-frequency subchirps are attenuated by factors of 20 (subband 14.0–15.5 kHz) and 10 (subband 15.5–17.0 kHz). Further, each polyphonic chirp follows a 5-ms fade-in/fade-out envelope to hide undesirable discontinuities at the start and at the end of the underlying signals. A cyclical emission of 30-ms polyphonic chirps is performed, following an order previously known by the sensor node. There is a 20-ms silence interval between consecutive emissions, aiming at reducing the effects of interference and signal superposition caused by reverberation. It should be emphasized that through informal listening tests under typical environmental conditions, we found that these chirps are inaudible for most people.The probe signals were emitted with powerP dB relative to a standard power level, with P∈{0,-6,-12,-18,-24}. The purpose of the experiment is to assess the importance of geometric-based TOF-selection procedure (see Algorithm 2) with different levels of emitted power. For each configuration, 100 different excerpts were employed to provide different localization estimates, whose error statistics are presented in the following.


## 6.2. Median Localization Error

This section aims at assessing the impact of different choices of the number of MP decompositionsNp and the number of hierarchical cuboid decompositions Nc on the localization accuracy. Table 2 presents the results with TOF-selection procedure disabled (TS-) and TOF-selection procedure enabled (TS+). From this table, one can conclude that the TOF selection is very effective in reducing the median error provided there exists more than one TOF candidate (i.e., Np>1). The use of such procedure has never increased the median localization error and sometimes reduces it in more than 70%. Hence, from now on it is considered that the TOF selection is always enabled. Regarding the number of MP decompositions, choices of Np between 5 and 7 (inclusive) appear to achieve a good compromise between accuracy and computational cost. The use of a large number of hierarchical decompositions Nc is usually not a wise strategy, since it increases the probability of selecting an erroneous cuboid, which harms the posterior hierarchical search. It should be noticed that the method works even with extremely low power emission (in general, when P=-24 dB, the loudspeaker sound is inaudible).Table 2
Median localization error (in cm) for different choices of emission powerP (in dB, relative to a standard power level). The number of MP decompositions is Np and the number of hierarchical cuboid decompositions is Nc.
N
p
T
S
-
T
S
+
T
S
-
T
S
+
T
S
-
T
S
+
N
c
=
4
N
c
=
6
N
c
=
8
P
=
0 dB
1
50.42
50.42
44.39
44.39
44.37
44.37
3
50.42
18.28
44.39
18.28
44.37
18.16
5
50.42
8.00
44.39
13.79
44.37
11.80
7
50.42
8.00
44.39
13.79
44.37
12.78
P
=
-
6 dB
1
34.06
34.06
31.04
31.04
33.02
33.02
3
34.06
18.28
31.04
17.50
33.02
17.08
5
34.06
8.00
31.04
16.08
33.02
15.01
7
34.06
8.00
31.04
13.79
33.02
11.45
P
=
-
12 dB
1
50.42
50.42
43.54
43.54
45.40
45.4
3
50.42
22.76
43.54
26.88
45.40
28.55
5
50.42
18.71
43.54
22.55
45.40
21.5
7
50.42
18.71
43.54
19.18
45.40
17.44
P
=
-
18 dB
1
50.42
50.42
56.71
56.71
56.72
56.72
3
50.42
34.06
56.71
31.63
56.72
32.65
5
50.42
18.71
56.71
17.91
56.72
18.06
7
50.42
18.71
49.67
26.16
50.1
24.88
P
=
-
24 dB
1
50.42
50.42
57.73
57.73
58.48
58.48
3
50.42
18.71
57.73
14.04
58.48
12.39
5
50.42
13.14
57.73
15.17
58.48
16.21
7
50.42
18.71
57.73
17.76
58.48
17.98


## 6.3. CDF of the Error

In order to evaluate the impact of the emitted power on the localization accuracy, Figure4 shows the localization error (when it is smaller than 50 cm) and the cumulative distribution function (CDF) of the localization error with Np=5 MP extracted components and Nc=4 hierarchical decompositions of cuboids. These results reveal a progressive accuracy degradation with the reduction of the power emission. Moreover, the advantage of employing the proposed TS technique is also clear from those results.Figure 4
Localization error (within a50 cm range) for each recorded signal excerpt and respective CDF with P= (a) 0, (b) -6, (c) -12, (d) -18, and (e) -24 dB. Blue: localization procedure with TOF selection disabled. Red: localization procedure with TOF selection enabled.
(a)
(b)
(c)
(d)
(e)


## 7. Concluding Remarks

This paper serves three purposes. First, it presents a brief review of the vast literature of acoustic sensor localization (ASL) for those beginning in this field. Indeed, a wide range of topics are covered, ranging from the fundamentals of ASL to some state-of-the-art techniques. Second, this paper provides new research directions within the ASL field by explaining how one can borrow some concepts from its dual problem: the sound source localization (SSL). In this way, many research opportunities are opened. Third, this paper proposes a new ASL technique that combines region-based search (which is inspired by some recently proposed SSL techniques that employ hierarchical searches) and matching pursuit estimation of times-of-flight (TOFs).Another difference from our previous work [23] is that the ASL technique proposed here works with probe signals which are inaudible for most people, as they have low power and contain only high-frequency components. However, the use of such probe signals makes the TOF estimation a much more challenging task. This explains why robust TOF-estimation techniques are thoroughly discussed throughout the paper.A real-world experiment was conducted in order to demonstrate that the proposed ASL technique is capable of estimating the position of mobile devices with a median localization error below 20 cm. Usually, the ultimate goal of many practical ASL systems is to find the position of someone carrying a mobile device and, therefore, an estimation error inferior to 20 cm is rather reasonable.



---

*Source: 7972146-2017-10-22.xml*