<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>A Simulation Tool for the Analysis of TDOA Methods</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>André B. de F. Diniz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Danilo de S. Pena</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vicente A. de Sousa Jr.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Federal University of Rio Grande do Norte (UFRN)</institution>
          ,
          <addr-line>Lagoa Nova, Natal-RN, 59078-970</addr-line>
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Sidia</institution>
          ,
          <addr-line>Av. Darcy Vargas, 654, Parque Dez de Novembro, Manaus-AM, 69055-035</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>2</volume>
      <issue>2021</issue>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Localization applications are widely used as an essential service in many systems, such as 5G device positioning, location of things (LoT), and speech source localization. Unlike classical GPS, the time diference of arrival (TDOA) approach estimates the angle of arrival using the signals received from a sensor array, allowing to determine the position of an emitter with more accuracy. This paper presents the Simulation PlAtform for PosiTIon LoCatiOn (SimPatico), a simulation tool for evaluation and analysis of TDOA methods, providing a precise way to compare their performance considering specific scenarios. TDOA methods implemented in SimPatico are shown in terms of mathematical formulation and operational properties. We also explore the main features of the simulator, including source signal representations, addition of distortion on them and simulation parameters. Simulation outcomes are presented, exemplifying SimPatico as a benchmark platform and a versatile tool for performance analysis of TDOA methods.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;TDOA</kwd>
        <kwd>Simulation</kwd>
        <kwd>Algorithms</kwd>
        <kwd>Localization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The process of extracting information from a sensor array and its processing enables the
localization of sources in a physical environment. These sensors are capable of monitoring
sources, providing indoor location information for a variety of applications. Nowadays, where
internet connectivity has increased massively, the devices might enjoy positioning services in
their applications. Consequently, with the emerging technologies and the internet of things
(IoT), the position information plays an essential role in allowing novel solutions in many
diferent contexts.</p>
      <p>
        One way to determine the indoor position is by the time diference of arrival (TDOA), a
technique able to estimate the angle of arrival based on the delay between the signals received
in the sensors. The TDOA has many possible uses in signal processing and telecommunication
ifelds, for example, device positioning in 5G [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], positioning for vehicles [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], speech source
localization systems [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], powerline fault localization [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], and target location systems [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However,
comparison and evaluation of individual methods may be impractical for a specific application
considering a variety of algorithms and diversity of setups to be examined. Moreover, the
performance of the methods depends on the aspects of the signal and the scenario conditions, such
as noise assumptions, robustness, and computational cost, making the solutions incomparable
due to the hard reproducibility of such evaluations.
      </p>
      <p>Simulating the eficiency of TDOA methods, setting parameters such as diferent source
signals, the number of sensors and noise models, is essential to determine the more appropriate
TDOA system and its configuration for an application. Thus, the development of a simulation
tool that can simulate the efects of those algorithms for various schemes is crucial, giving the
means to compare them and providing resources for distinct situations. It may ofer means for
designers to assess quantitatively and statistically the performance of the techniques, allowing
them to reach a good balance of the accuracy-complexity trade-of of such methods.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Works</title>
      <p>
        Simulation tools in the field of localization techniques are available, such as PerfLoc [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and
IndoorLoc [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. However, those studies examine only indoor strategies, where they obtain the
position information from GPS, via Wi-Fi, and the received signal strength indicator (RSSI).
Although there is a relationship between source localization and TDOA, they are not equivalent.
Therefore, those studies focus on data collecting, mapping and tracking. The simulator SMILe [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
has been proposed based on TDOA and time of flight (ToF), which provides an open-source
means of evaluating a few methods with the capability of setting the clock synchronization.
Nevertheless, the simulator does not evaluate distortion conditions and channel models and
uses only the mean squared error (MSE) for performance evaluation.
      </p>
      <p>
        Studies have been carried out on prototyping tools regarding asynchronous TDOA [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
Although it is possible to perform comparisons between real and simulated data, this simulator
is focused on hardware and does not allow a more sophisticated statistical analysis, such as
probability of resolution and root-mean-squared error (RMSE). Another simulator was built
based on chirp spread spectrum for wireless location purposes [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. However, it employs
few methods for TDOA calculations based on adaptive filtering and it is limited to signaling
formatting as source signal.
      </p>
      <p>Based on these needs, we developed the Simulation PlAtform for PosiTIon LoCatiOn
evaluation (SimPatico). It features implementations of TDOA methods with weighting functions in
the frequency domain. We also examine a variety of noise components, accounting for gaussian
and non-gaussian models. These are essential in order to address a wide variety of physical
phenomena regarding the methods in applications based on TDOA techniques. SimPatico also
enables the user to adjust setup configurations and diferent benchmark processes by plotting
their performances with regards to SNR, error levels, and other figures of merit.Thus, our
contributions can be summarized as follows:
• Provide an open-source simulation tool, named SimPatico, to help in the conception and
evaluation of TDOA methods;
• Provide a unified simulation platform to benchmark diferent TDOA methods;
• Provide a unified simulation platform to test TDOA algorithms in diferent impairment
models, including gaussian and non-gaussian modeled noises, and reverberation efects;
• Provide the implementation of several TDOA and DOA methods with a user-friendly
configuration platform;
• Provide plenty of performance comparison examples, including aspects such as (i) gaussian
and impulsive noises; (ii) analysis of resolution and number of sensors ; (iii) reverberation
analysis.</p>
      <p>This paper is organized as follows. In Section 3, we describe the signal model and the TDOA
methods implemented on the simulator, presenting their benefits and limitations. The channel
modeling is presented in Section 4, with a brief discussion of their characteristics. Our simulator
is shown in Section 5. In Section 6, the main results are presented and discussed, comparing
the performance of the implemented TDOA algorithms using the simulator. In Section 7, we
present our final remarks.</p>
    </sec>
    <sec id="sec-3">
      <title>3. TDOA Principles</title>
      <p>The TDOA problem consists of estimating the delay  between signals arriving on a set of
sensors. In a situation of an array with two sensors, for example, one can realize this procedure
by calculating the cross-correlation between the two signals and determine  by observing
the moment where the resulting function reaches its maximum value. However, this approach
may not be accurate due to the presence of environmental phenomena, such as noise and
reverberation.</p>
      <p>Therefore, estimating the TDOA of incoming signals using diferent approaches is essential
to compare and decide the most eficient method for each scenario.</p>
      <p>In the following, the utilized signal model for one source is given by:
() = ( −  ) + (),
(1)
where ( −  ) corresponds to scaled source signal received by the th sensor, with a relative
delay represented by  , and () denotes the noise components uncorrelated with () and
each other.</p>
      <p>In order to analyze the TDOA methods, their parameters and models must be taken into
account, as well as the weighting functions. SimPatico contains a variety of methods for such
calculations, which includes filters for generalized cross-correlation (GCC) procedures and the
steered-response power phase transform (SRP-PHAT), as presented in the following sections.</p>
      <sec id="sec-3-1">
        <title>3.1. Generalized Cross-Correlation (GCC)</title>
        <p>
          One can analyze the cross-correlation between the incoming signals from a source, with data
acquired by diferent sensors. The peak of the resulting function corresponds to the TDOA;
however, its position may be afected by noise and reverberation [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. In an attempt to minimize
these limitations, it is possible to introduce a weighting function for the correlation process,
which can be seen in the frequency domain as [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]:
12 () = ℱ − 1[1()2* ()()],
(2)
where ℱ − 1[· ] denotes the inverse Fourier transform, 1() corresponds to the first signal in
the frequency domain and 2* () to the complex conjugate of the second signal in the same
domain, and their product with the Fourier inverse yields the correlation process; () is a
pre-filter that implements weighting functions, which can assume diferent expressions. The
GCC process is illustrated in Figure 1.
        </p>
        <p>The signal () denotes the noise components in the frequency domain, and the Wiener-Hopf
optimum filter  () is given by</p>
        <p>1()2* ()
 () = √︀1()1* ()2()2* ()
.</p>
        <p>(3)</p>
        <p>
          Each weighting function accounts for diferent properties on TDOA estimation, producing
different methods. The Roth filter suppresses frequency regions where the result of the correlation
process may possess significant error [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. Whereas, the smoothed coherent transform (SCOT)
can be seen as a pre-whitening filter with a cross-correlation operation in the sequence [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ],
leading to a superior performance in the case of low noise level. On the other hand, the phase
transform (PHAT) makes the cross-correlation operation solely dependent on the channel
responses [19] by discarding the amplitude and keeping only the phase information. In particular,
Eckart maximizes the deflection criterion, which is the ratio of change in mean correlation

() = ∑︁ ()*+1()  ,
        </p>
        <p>=1 |()*+1()|
where  denotes the number of sensors. Given the mathematical representations of GCC-PHAT
in Table 1 and SRP-PHAT in Eq. 4, it can be seen that in the presence of only two sensors
( = 2), these methods have the same performance.
output due to the signal of interest compared to the component of noise solely. The maximum
likelihood estimator (MLE) reaches the minimum possible variance for an unbiased estimator,
also known as the Cramér-Rao Lower Bound. However, to achieve its best performance, the
signals should not be afected by reverberation, the delay has to be constant, and the signals
should be described as stationary processes [19]. Finally, a modified maximum likelihood
estimator (MMLE) [18] is also present in SimPatico, which aims to achieve optimal performance
in noisy and reverberant scenarios coherently. This can be reached because its formulation
addresses some signal properties, such as the variance of the estimated parameter (the angle of
arrival  ) and the cross-spectrum phase.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Steered-Response Power Phase Transform</title>
        <p>One of the most popular TDOA methods is based on maximizing the steered response power
(SRP) in a beamforming process. The SRP-PHAT method can be seen as an extension of the
GCC-PHAT, which corresponds to summing a complex-steered, weighted, and filtered version
of the data signal received at each sensor [20]. The utilized filter in this context is the absolute
value of the signal, corresponding to the PHAT weighting function, described in Table 1. Thus,
the SRP-PHAT response function in the frequency domain is
(4)
(5)</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Channel modeling</title>
      <p>In real-world situations, one must account for imperfections in the channel where the analyzed
signal travels through a certain medium. There are many phenomena involving physical systems,
so the TDOA methods must be modeled appropriately to reach accurate estimates. Therefore,
the present simulator contains a variety of functions in order to account for these efects, which
are channel reverberation and background noise. For the latter, the available additive noise in
the signal are gaussian and impulsive noises (modeled by gaussian mixture or  -stable models).</p>
      <sec id="sec-4-1">
        <title>4.1. Gaussian Model</title>
        <p>It is widely known that additive white gaussian noise (AWGN) is commonly found in
telecommunication applications, following a gaussian distribution. Its probability density function
(PDF) is modeled by the following random variable  as:
() =</p>
        <p>1
 √2
− (−  )2/2 2
where  represents the mean value and  2 the variance. Although very popular, the gaussian
model is not able to model heavy tails distributions since its tail has an exponential shape.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Gaussian Mixture Model</title>
        <p>The gaussian mixture model (GMM) is a linear combination of a series of gaussian PDFs and
may be used for modeling impulsive noises [21]. Its model can be represented by
where</p>
        <p>() = ∑︁ 
=1</p>
        <p>1
 √2</p>
        <p>− (−  )2/2 2 ,

∑︁  = 1,
=1
with  representing a weight factor and  being the number of distributions.</p>
        <p>In SimPatico, this model is implemented by the mixture of two gaussian functions ( = 2).
The variance of the first one accounts for the contribution of a purely gaussian noise, where  1
is the variance of the first gaussian function,   is the variance of the distribution, and 1
and 2 are the weights of both gaussian distributions. The input parameter  describes the noise
impulsiveness and it is configurable in the simulator. The relationship between the variances is
given by
where  2 =  1.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Symmetric  -Stable Model</title>
        <p>1 =</p>
        <p>1 +  2
Many applications must consider non-gaussian models for realistic approaches since gaussian
processes are not appropriate for modelling impulsive noises [22, 23]. Therefore, several works
suggest the  -stable model as a solution for the non-gaussian impulsive noise model. The
 -stable model has demonstrated to be a better fit to real data in impulsive noise conditions if
compared to the gaussian model [23]. Thus, SimPatico implements the Symmetric  -Stable (S S)
model, from the  -stable class, because it has proved to be very useful in modeling impulsive
noise [24].</p>
        <p>As an univariate stable distribution, this model is characterized by four parameters [25]: the
index of stability  , which can vary from 0 to 2; the scale parameter  ; the skewness parameter
 , which can assume values from -1 to 1; and the shift parameter  . It is important to note that
when  = 2, the stable distribution is gaussian, so  is the standard deviation,  can be taken
as zero and  is the mean. When  is close to 1, the model assumes a Cauchy distribution.</p>
        <p>An  -stable distribution is described by its characteristic function (for  ̸= 1):
exp{︁ −   | | (1 −  (sign( )tan 
(8)
If  = 1, the characteristic function assumes the following form:
where sign( ) is given by:</p>
        <p>) = exp{︁ −   | | }︁.</p>
        <p>In the case of S S, the model imposes  = 0 and  = 0. The parameters  and  are
configurable by the user to determine a specific GSNR and impulsiveness degree. Those parameters
select the severeness of the noise in the simulator. Thus, its characteristic functions is reduced
to:</p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Reverberation Model</title>
        <p>Lastly, the reverberation model follows the plate-class topology [26] and allows for custom
values of pre-delay and sample rate. The process of reverberation consists of a number of steps
described in Figure 2.
(10)
(11)
(12)
(13)
1. Preconditioning the input by applying a custom pre-delay on it and following a single-pole
low-pass filter of − 3 dB cutof frequency;
2. Decorrelating by applying four series all-pass filters;
3. Feeding into a tank processing block to simulate the amplitude decay of the reverberating
In the decorrelation process, the all-pass filters are given in  domain by
1() =
 + − 
1 + − 
where the constants are  = 0.5, called difusion constant, and 1 = 142, 2 = 107, 3 = 379,
and 4 = 277, for the th filter respectively.</p>
        <p>In the tank process, the signal passes by three filters in cascade. The first one is modulated
all-pass filter, given by
2() = −  + −  ,</p>
        <p>1 − − 
where  is the difusion constant, and  is specified in order to obtain an amplitude of (8/29761)·
 for 1 Hz, which  is the sample rate.</p>
        <p>Then, the signal is delayed again by a low-pass filter, given by
(14)
where  is the high-frequency damping, proportional to the attenuation of high frequencies in
the reverberation output, and assumes the value  = 5 × 10− 4.</p>
        <p>The last filter is an all-pass filter representing the decay factor given by
3() =</p>
        <p>1 −  ,
1 − − 1
4() =
 + − 
1 + − 
,
where  is the difusion constant.</p>
        <p>Finally, the signal ˜() generated is used for further simulation purposes regarding
reverberation.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. SimPatico Simulator</title>
      <p>SimPatico contains a variety of TDOA methods, including angle of arrival (AoA) and robust
algorithms that are not scope of this work. As previously mentioned, there are also degradation
models for gaussian and non-gaussian channels such as GMM and S S processes. Results are
produced in terms of performance metrics of the direction of arrival (DoA) algorithms and
they are saved in data files and plots. The simulator is available in Gihub at https://github.com/
vicentesousa/SimPatico1. The flow of code execution and its most relevant functionalities are
presented in Figure 3 and described in the following sections.</p>
      <sec id="sec-5-1">
        <title>5.1. Execution flow</title>
        <p>Initially, the simulation campaigns are composed of parameter files, which contain parameters
about the source signal, number of sensors, the distance between them, and other relevant
information about the simulation. Also, one can set the noise and channel model parameters
optionally, separating the results according to all model combinations. In the checking data
procedure, all parameters are passed into a structure to make the code reusable and maintainable.
The previously mentioned parameters are analyzed to ensure the consistency of them, emitting
an error message if necessary.</p>
        <p>1The simulator will be made publicly available after confirmation of publication of this article.
(15)
(16)</p>
        <p>In the creating signal step, the signal is created based on the type of the source signal, such as
sines, Zadof-Chu sequence, random, and deterministic audio signals. In the case of a sine-based
signal, the signal frequency is required; otherwise, it is not necessary. Those signals are available
in real or complex forms and the distortion models can be added to them. SimPatico is also
prepared to process audio files from field measurements. In the sequence, the simulation is
executed in snapshots. There, the angle of arrival is estimated through the chosen TDOA
methods and figures of merit are also calculated for further results. The execution of snapshots
is then held for all ranges of SNR, number of iterations and snapshots, every selected source
signal and so on.</p>
        <p>The results of each simulation in terms of performance metrics (e.g., RMSE, absolute error,
probability of resolution) are stored in a structure, later saved in an output file. Lastly, all the
performance metrics are plotted and saved for further analysis. The paths for the output file and
plots are automatically generated. Implementation and organization details of the SimPatico
are described in terms of folders and function codes to allow the reuse of the simulator.</p>
        <p>In the simulations folder, the user can specify a list of simulations by choosing parameters
and scenarios to build a campaign. The simulation campaign produces all results in the results
folder with all data files and plots. The performance metrics are provided based on a dependent
variable that can be specified by the user, such as SNR, GSNR, number of sensors and length of
source signal.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Use Cases</title>
      <p>In this section, we illustrate various examples of performance evaluation studies to show
the utility of the SimPatico for the analysis of TDOA methods. Cases where gaussian and
non-gaussian distortions are presented in Section 6.1, 6.2 and 6.3, followed by the analysis of
resolution and the number of sensors in Sections 6.4 and 6.5. Finally, Section 6.6 presents a
reverberation analysis. Such results can be viewed as a basis for comparison and validation of
TDOA algorithms available in the literature.</p>
      <p>We compare the performance of all mentioned TDOA methods for a given scenario. As for the
setting for all the analysis that are conducted in this section, a “gong” sound is produced, with
two sensors 0.2427 meters away from each other and the sampling frequency is 8192 Hz. The
SNR is set from -20 up to 40, and 1000 Monte Carlo runs are performed, with 1000 samples taken
in each simulation run. All source signals are not afected by reverberation and we analyze the
efects of diferent noises over the performance of the TDOA methods.</p>
      <p>The angle estimation accuracy is assessed by the root-mean-square error (RMSE) in degrees
and the probability of resolution (PR) versus the signal-to-noise ratio (SNR). However, in the
case of non-gaussian noise model, the undefined variance prevents the SNR to be used as a
measurement of signal quality. Thus, we use the geometric signal-to-noise ratio (GSNR) [27]
instead of the SNR in the case of S S processes and the weighted variance (Equation 8) to
compute SNR in the case of GMM. The GSNR is given by</p>
      <p>GSNR =</p>
      <p>1 (︂  )︂ 2
2 0
,
(17)
where the normalization constant  =  ≈ 1.78 is the exponential of the Euler constant
(), used to ensure that GSNR corresponds to SNR when the channel is Gaussian, 0 is the
geometric power of a S S random variable; and  is the root-mean-square value of the signal.</p>
      <sec id="sec-6-1">
        <title>6.1. Gaussian noise analysis</title>
        <p>Firstly, in Figure 4, we analyze one of the most common scenarios in communication systems,
where the signals are afected by the gaussian noise.</p>
        <p>70 GCC-ML
60 GGCCCC--EMcMkLart
()4500 SGGGRCCCPCCC----PSPRHCHOAAOTTTHT
E
S
M30
R
20
10
0
-20 -15 -10 -5 0 SN5R 10 15 20 25 30
1
0.8
0.6
R
P0.4
0.2</p>
        <p>GCC-ML
GCC-MML
GCC-Eckart
GCC-PHAT
GCC-ROTH</p>
        <p>GCC-SCOT
0 SRP-PHAT
-20 -15 -10 -5 0 SN5R 10 15 20 25
30
(a) RMSE for source signal afected by gaussian noise. (b) Probability of resolution for source signal afected by
gaussian noise.</p>
        <p>In Figure 4a, we obtain the RMSE versus SNR for all TDOA methods. As expected, the Eckart,
the ML and the MML filters are superior than the others. In those conditions, the ML has optimal
solution achieving the lowest RMSE. Also, the Eckart and MML reach similar performance
as more complex computational solutions are given by prior information used by them. The
classical filters obtain expected performance by reaching high PR only at high SNR values, as
presented in Figure 4b.</p>
        <p>The ROTH filter obtains the highest error and the lowest PR for all SNR due to its design
focused on random signals with high SNR. Considering that the signal is cyclic, the GCC-ROTH
only reaches an adequate performance in high values of SNR.</p>
      </sec>
      <sec id="sec-6-2">
        <title>6.2. GMM analysis</title>
        <p>A second simulation scenario models an impulsive noise present in the signal by the GMM, a
non-gaussian model. In the GMM analysis, we observe a major performance diference among
the methods, in performance, as illustrated in Figure 5.</p>
        <p>70
60
50
)
(40
E
SRM30 GGCCCC--MMLML
20 GCC-Eckart</p>
        <p>GCC-PHAT
10 GGCCCC--SRCOOTHT
0 SRP-PHAT
-10 -5
1
0.8</p>
        <p>GCC-ML
GCC-MML
GCC-Eckart
GCC-PHAT
GCC-ROTH</p>
        <p>GCC-SCOT
0 SRP-PHAT
-10 -5 0 5 10 GS15NR 20 25 30 35
40</p>
      </sec>
      <sec id="sec-6-3">
        <title>6.3. S S analysis</title>
        <p>60
50
E
S
M30
R
20
10
1
0.8
0.6
R
P
0.4
0.2
0
-10 -5
0
5
10
15
GSNR
noise ( = 1.7).
70
60
50</p>
      </sec>
      <sec id="sec-6-4">
        <title>6.4. Resolution analysis</title>
        <p>We also assess the resolution of the methods by varying the length of the input signals. This
evaluation exhibits how fast a method decreases its performance with less samples. We evaluate
the performance of the methods, looking for RMSE versus the length of samples ( ) when SNR
= 3dB (gaussian noise), as shown in Figure 7.</p>
        <p>70
60
50
)
(40
E
S
M30
R
20
10
M = 2
M = 3
M = 4
M = 5
M = 6
M = 7
M = 8</p>
        <p>In this case, we can clearly notice the diference of performance among the techniques. The
general tendency is to decrease the error with more number of samples. In the case of Eckart,
PHAT and ROTH filters, the RMSE is close to zero with more than 150 samples.</p>
      </sec>
      <sec id="sec-6-5">
        <title>6.5. Number of sensors analysis</title>
        <p>Diferently from direction of arrival techniques in which the resolution is given by the number
of sensors, in TDOA methods, the resolution is given by the length of the snapshot. However,
they can increase their performance using more number of sensors to estimate the delay.</p>
        <p>For example, Figure 8 presents the RMSE versus SNR of SRP-PHAT from 2 up to 8 sensors. In
the case of SRP-PHAT method, the performance tends to increase when more sensors are used,
reaching similar RMSE values of GCC with Eckart, ML, and MML filters when 8 sensors are
employed.</p>
      </sec>
      <sec id="sec-6-6">
        <title>6.6. Reverberation analysis</title>
        <p>We evaluate the reverberation based on the pre-delay parameter in the reverberation channel
model. In Figure 9 a scenario with gaussian noise and reverberation with delay  = 0.1 is
shown. We compare GCC-PHAT and SRP-PHAT in terms of RMSE.</p>
        <p>Clearly, the GCC-PHAT does not reach an adequate performance for all SNR values, while
the SRP-PHAT achieves null error at approximately 0 dB of SNR. As expected, the SRP-PHAT is
an appropriate method for reverberation conditions.
1 GCC-PHAT
0-20 SR-1P5-PHA-T10 -5
0
5</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusions</title>
      <p>Estimating the TDOA for diferent scenarios is crucial to a wide variety of localization systems.
There are many techniques for such evaluation, each one with a diferent performance trade-of
regarding the parameters and environment conditions. Thus, the access of a unified platform
to analyze the add-value of existing or new strategies is a beneficial contribution to those
interested in these assessments. Simulators which perform TDOA calculations for localization
purposes are available, but they are limited in some aspect, since they are focused on indoor
localization. SimPatico was then developed based on the needs for evaluation of TDOA methods
in diferent settings, accounting for various source signals, noise assumptions and the limitations
of previously released tools.</p>
      <p>One can estimate the TDOA by calculating the cross-correlation between two signals and
extract the position of its maximum value. However, this operation may not return the desired
result due to aspects such as noise. To account for this issue, some methods were developed, and
they can be separated into two categories: generalized cross-correlation and steered-response
power phase transform. The first one can be seen as the application of filters for the
crosscorrelation operation, each one with diferent properties; the latter is a realization of the
beamforming process, where the number and position of each sensor plays a determinant role
on the overall performance of the system.</p>
      <p>SimPatico contains many variations for the noise model, which is eventually added to the
source signal. These include gaussian and non-gaussian functions. For the latter, the simulator
possesses implementations of gaussian mixtures and  -stable models. Also, it is possible to
apply reverberation, so that a more realistic analysis can be conducted.</p>
      <p>The main functions and the structure of the simulator are explained, beginning from the
signal creation to where the outputs are generated and stored. Lastly, some generated results are
shown as examples. One can observe that the ML filters have superior performance for severe
noise conditions, as expected. Furthermore, the presence of non-gaussian noise components on
the source signal deteriorates the overall eficiency of the implemented methods, although the
same filters possess the best behavior. Thus, it is necessary to further conceive strategies that
produce a better performance than the ones that were already used. We claim that SimPatico
could help the scientific community in this task.</p>
    </sec>
    <sec id="sec-8">
      <title>8. Acknowledgments</title>
      <p>This work was partially supported by Samsung Eletronica da Amazonia Ltda., under the auspice
of the informatic law no 8.387/91.
[15] G. C. Carter, A. H. Nuttall, P. G. Cable, The smoothed coherence transform, Proceedings
of the IEEE 61 (1973) 1497–1498.
[16] C. Eckart, Optimal Rectifier Systems for the Detection of Steady Signals, Technical Report,</p>
      <p>UC San Diego: Library – Scripps Digital Collection, 1952.
[17] E. J. HANNAN, P. J. THOMSON, Estimating group delay, Biometrika 60 (1973) 241–253.
[18] M. S. Hosseini, A. Rezaie, Y. Zanjireh, Time diference of arrival estimation of sound source
using Cross Correlation and modified maximum likelihood weighting function, Scientia
Iranica 24 (2017) 0–0.
[19] J. Chen, J. Benesty, Y. Huang, Time Delay Estimation in Room Acoustic Environments:</p>
      <p>An Overview, EURASIP Journal on Advances in Signal Processing 2006 (2006) 026503.
[20] J. H. DiBiase, H. F. Silverman, M. S. Brandstein, Robust Localization in Reverberant Rooms,
2001, pp. 157–180.
[21] W. J. Zeng, H. C. So, L. Huang, lp-MUSIC: Robust direction-of-arrival estimator for
impulsive noise environments, IEEE Transactions on Signal Processing 61 (2013) 4296–
4308. doi:10.1109/TSP.2013.2263502.
[22] P. Borghesani, J. Antoni, Cs2 analysis in presence of non-gaussian background noise
efect on traditional estimators and resilience of log-envelope indicators, 2017.
[23] D. Pena, C. Lima, M. Dória, L. Pena, A. Martins, V. Sousa, Acoustic Impulsive Noise Based
on Non-Gaussian Models: An Experimental Evaluation, Sensors 19 (2019) 2827.
[24] C. L. Nikias, M. Shao, Signal Processing with Alpha-stable Distributions and Applications,</p>
      <p>Wiley-Interscience, New York, NY, USA, 1995.
[25] G. Samoradnitsky, M. Taqqu, Non-Gaussian Random Processes: Stochastic Models with</p>
      <p>Infinite Variance, 1 ed., Chapman and Hall/CRC, 1994.
[26] J. C. Dattorro, Efect Design: Part 1: Reverberator and Other Filters, Technical Report,
1997.
[27] J. G. Gonzalez, J. L. Paredes, G. R. Arce, Zero-order statistics: A mathematical framework
for the processing and characterization of very impulsive signals, IEEE Transactions on
Signal Processing 54 (2006).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y. Zhang,</surname>
          </string-name>
          <article-title>Simulation and Analysis of Device Positioning in 5G Ultra-Dense Network</article-title>
          , in: IWCMC,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kakkavas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. H. C.</given-names>
            <surname>Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Stirling-Gallacher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Nossek</surname>
          </string-name>
          <article-title>, Multi-Array 5G V2V Relative Positioning: Performance Bounds</article-title>
          , in: GLOBECOM,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Fu</surname>
          </string-name>
          , N. Ma, G. J.
          <string-name>
            <surname>Brown</surname>
            ,
            <given-names>A Robust</given-names>
          </string-name>
          <string-name>
            <surname>Dual-Microphone Speech Source Localization</surname>
          </string-name>
          <article-title>Algorithm for Reverberant Environments</article-title>
          , in: INTERSPEECH, volume
          <volume>08</volume>
          -12-Sept,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Meng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Xue</surname>
          </string-name>
          ,
          <article-title>Fault Location Method in Power Network by Applying Accurate Information of Arrival Time Diferences of Modal Traveling Waves</article-title>
          ,
          <source>IEEE Transactions on Industrial Informatics</source>
          <volume>16</volume>
          (
          <year>2020</year>
          )
          <fpage>3124</fpage>
          -
          <lpage>3132</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wen</surname>
          </string-name>
          ,
          <article-title>Target location method for pipeline pre-warning system based on HHT and time diference of arrival</article-title>
          ,
          <source>Measurement</source>
          <volume>46</volume>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>N.</given-names>
            <surname>Moayeri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. O.</given-names>
            <surname>Ergin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Lemic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Handziski</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Wolisz,</surname>
          </string-name>
          <article-title>PerfLoc (Part 1): An extensive data repository for development of smartphone indoor localization apps</article-title>
          , in: PIMRC, IEEE,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>R.</given-names>
            <surname>Montoliu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Sansano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Torres-Sospedra</surname>
          </string-name>
          ,
          <string-name>
            <surname>O. Belmonte,</surname>
          </string-name>
          <article-title>IndoorLoc platform: A public repository for comparing and evaluating indoor positioning systems</article-title>
          , in: IPIN, IEEE,
          <year>2017</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Jankowski</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Nikodem, SMILe - Simulator for Methods of Indoor Localization</article-title>
          , in: IPIN, IEEE,
          <year>2018</year>
          , pp.
          <fpage>206</fpage>
          -
          <lpage>212</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Dong</surname>
          </string-name>
          ,
          <article-title>High-accuracy localization platform using asynchronous time diference of arrival technology</article-title>
          ,
          <source>IEEE Transactions on Instrumentation and Measurement</source>
          <volume>66</volume>
          (
          <year>2017</year>
          )
          <fpage>1728</fpage>
          -
          <lpage>1742</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>R.-R. e.</surname>
          </string-name>
          <article-title>a. Wang, Design of a tdoa location engine and development of a location system based on chirp spread spectrum</article-title>
          ,
          <source>SpringerPlus</source>
          <volume>5</volume>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Brandstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ward</surname>
          </string-name>
          , Microphone Arrays,
          <source>Digital Signal Processing</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>C.</given-names>
            <surname>Knapp</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. Carter,</surname>
          </string-name>
          <article-title>The generalized correlation method for estimation of time delay</article-title>
          ,
          <source>IEEE Transactions on Acoustics, Speech, and Signal Processing</source>
          <volume>24</volume>
          (
          <year>1976</year>
          )
          <fpage>320</fpage>
          -
          <lpage>327</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>P. R.</given-names>
            <surname>Roth</surname>
          </string-name>
          ,
          <article-title>Efective measurements using digital signal analysis</article-title>
          ,
          <source>IEEE Spectrum 8</source>
          (
          <year>1971</year>
          )
          <fpage>62</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>G.</given-names>
            <surname>Carter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nuttall</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cable</surname>
          </string-name>
          ,
          <article-title>The smoothed coherence transform</article-title>
          ,
          <source>Proceedings of the IEEE</source>
          <volume>61</volume>
          (
          <year>1973</year>
          )
          <fpage>1497</fpage>
          -
          <lpage>1498</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>