Survey on the Performance of Source Localization Algorithms

The localization of emitters using an array of sensors or antennas is a prevalent issue approached in several applications. There exist different techniques for source localization, which can be classified into multilateration, received signal strength (RSS) and proximity methods. The performance of multilateration techniques relies on measured time variables: the time of flight (ToF) of the emission from the emitter to the sensor, the time differences of arrival (TDoA) of the emission between sensors and the pseudo-time of flight (pToF) of the emission to the sensors. The multilateration algorithms presented and compared in this paper can be classified as iterative and non-iterative methods. Both standard least squares (SLS) and hyperbolic least squares (HLS) are iterative and based on the Newton–Raphson technique to solve the non-linear equation system. The metaheuristic technique particle swarm optimization (PSO) used for source localisation is also studied. This optimization technique estimates the source position as the optimum of an objective function based on HLS and is also iterative in nature. Three non-iterative algorithms, namely the hyperbolic positioning algorithms (HPA), the maximum likelihood estimator (MLE) and Bancroft algorithm, are also presented. A non-iterative combined algorithm, MLE-HLS, based on MLE and HLS, is further proposed in this paper. The performance of all algorithms is analysed and compared in terms of accuracy in the localization of the position of the emitter and in terms of computational time. The analysis is also undertaken with three different sensor layouts since the positions of the sensors affect the localization; several source positions are also evaluated to make the comparison more robust. The analysis is carried out using theoretical time differences, as well as including errors due to the effect of digital sampling of the time variables. It is shown that the most balanced algorithm, yielding better results than the other algorithms in terms of accuracy and short computational time, is the combined MLE-HLS algorithm.


Introduction
There is great interest in localizing radiative sources fast and accurately with receivers in many fields of work. Global positioning systems (GPS) are widely used in many applications like navigation, control of autonomous road vehicles [1] and unmanned aerial vehicles [2]. In sonar, radar and underwater radar, it is often of interest to determine the location of an object from its emissions [3,4]. Indoor localization in wireless networks is addressed relying on a swarm-based The main disadvantages of iterative algorithms are that they require an initialization setup and a definition of the initial parameters by the user. This affects the convergence of the algorithms since the Newton-Raphson method does not provide convergence in some analysed points [22]. Consequently, it can provoke variations in the solution location accuracy and in the computational time. On the other hand, the non-iterative algorithms report directly two solutions, a positive and a negative root. In GPS, the root selection may be performed in different ways such as solving the clock error of a single receiver [23], using pseudo-ranges [21] and others. Commonly, in emitter localization, both solutions are feasible, though one root is closer than the other to the actual source solution, and it is not immediately obvious which determined root is the closest [24].
In this paper, a combined algorithm, MLE-HLS, is proposed to locate emitters solving the problem of determining the correct root. This algorithm is compared with other algorithms in terms of localization accuracy and computational time in relation to source accuracy and computational speed.
The paper is organized as follows: Section 2 provides an explanation and detailed formulation of all the algorithms used in the paper and presents the new combined MLE-HLS algorithm. The methodology to compare the algorithms is outlined in Section 3. The results of the comparison of the algorithms are presented in Section 4. Finally, conclusions and recommendations derived from the algorithm comparisons are summarised in Section 5.

Localization Techniques
For a better understanding of the algorithms, they have been divided into the two recognised categories: iterative and non-iterative. Every multilateration algorithm has a different formulation, but all of them are based on the fact that the distance travelled by the emissions is equal to the time spent in flight multiplied by the speed propagation in the medium under consideration, free space, oil, water, etc. Though the methods can be applied to any emitting source, this paper is, henceforth, based on the use of antennas as sensors to localize partial discharges in the UHF range, so the medium would be free space. The algorithms use different time variables, which are described below. The ToF of the source emission represents the time spent by the emission to travel from the emitter to the receiver. In some applications, it is difficult to know precisely the time when the emission departs. In such cases, it is preferable to use the TDoA from the emitter to a pair of receivers and then determine the source location with a system of non-linear equations. The pToF is an alternative time measure, which represents the ToF of the emission to any sensor with a fixed offset included, pt s . This time offset represents the time elapsed between the start of a specified clock, t 0 , and the emission departure. Figure 1 represents the above described time variables. Determining the onset of the pulse to obtain these times is arguably the most critical task when localizing the source with multilateration techniques [25]. Unfortunately, the detected pulses are usually small with low signal-to-noise ratios, easily leading to errors in the calculation of their onset. The effect of almost negligible errors in the onset can shift the calculated position of the source several meters away when measuring signals in the UHF range. Therefore, robust picking algorithms have to be devised to minimize the error in the time variables. Nevertheless, though this type of error is not in the scope of this work, it could be considered as an additional source of uncertainty in the inputs to the algorithms compared in this paper together with the digitizing errors explained in Section 3. The spatial relationship between the ToF, t i , of the emission from the source to the i-th receiver is: where c is the propagation speed equal to 3 × 10 8 ms −1 in free space and D i represents the distance from the position of the i-th antenna P i = (x i , y i , z i ) to the source position P s = (x s , y s , z s ) in three dimensions, being calculated through: The TDoF between signals received at the i-th and j-th, t ij , antennas, is related to the spatial variables through: In the case of pToF, the relationship is similar to the ToF situation, but considers the time offset. The pToF for the i-th antenna is denoted as t i where t i = t i + t s , and t s is the time offset elapsed between the instant when any time acquisition starts, t = 0, and the instant at which the source emission departs.
The minimum number of antennas to localize the source in three dimensions is four, which is the most common application to locate the source of partial discharges in power systems. These four receivers need to be properly deployed with at least one receiver allocated in a different plane than the other three receivers [25]. Increasing the number of antennas would pose both hardware and budgetary problems since high speed digitizers have a maximum of four channels and, in any other acquisition system, every new channel dramatically increases the cost of the equipment.

Standard Least Squares
The SLS algorithm estimates the emitter position P s , i.e.,P s = (x s ,ŷ s ,ẑ s ) minimizing the OF defined by Equation (4) using Newton-Raphson iteration [14], where N is the number of antennas. Since t i cannot be measured because the emission departure instant is unknown, it is estimated throught i = (t 1 + t i1 ) wheret 1 is the estimated ToF of the source emission to the reference antenna, i.e., approaching Antenna 1. The TDoA between Antenna 1 and the i-th antenna is represented by t i1 , with t 11 = 0. Minimization is achieved by applying the variable partial derivatives to Equation (4), i.e., (x s ,ŷ s ,ẑ s ,t 1 ) and setting equal to zero; see Equation (5).
With respect tox s , the minimisation Equation (6) is obtained: As this algorithm is iterative and searches for convergence, it can be assumed thatx s (l) x s (l − 1). Then, Equation (6) can be modified to Equation (7) where the estimated source coordinatex s in the l iteration,x s (l), is defined as a function of the valuex s in the previous iteration (l − 1), denoted aŝ Equation (8) may be obtained through performing the same minimisation operation for all source coordinates (x s ,ŷ s ,ẑ s ) and grouping them into the unique vectorP s (l) representing the estimated source position of the source.
The estimated ToF from the source to Antenna 1,t 1 , is obtained as a function ofP s (l − 1) embedded inD i (l − 1), from the time-related partial derivative in Equation (5): In the event that the algorithm converges before reaching the required maximum iterations L, the algorithm stops. The convergence criterion is defined by Equation (10).
In the simulations carried out in this paper, the maximum iteration number, L, is fixed to 10 7 , the distance error bound, d , is set to 10 −13 m, the time error bound t to 10 −13 s and the localization start point is defined asP s (0) = (0, 0, 0) andt 1 (0) = 0. These conditions are defined in an attempt to find the exact solution, although this implies high computational time, as demonstrated in [26].

Hyperbolic Least Squares
In this technique, the OF is similar to Equation (4), but the difference is in the time variable, which in this case is the TDoA, providing representations of the possible source solutions of the equations as hyperbolas. The OF for HLS, Equation (11), can be obtained by applying Equation (3) for the reference antenna to the other three antennas and adding all of them together, e.g., [15].
The HLS iterative algorithm also bases the calculation of the source position on Newton-Raphson iteration. Again, the initial procedure is to calculate and set equal to zero the partial derivatives of the OF, i.e., Equation (11), with respect to (x s ,ŷ s ,ẑ s ) as shown in Equation (12).
Operating and solving Equation (12) in the same way as in Section 2.1.1, three equations are obtained, which can be expressed as before through grouping (x s ,ŷ s ,ẑ s ) inP s : Defining the initial valueP s (0) = (0, 0, 0), Equation (13) allows the source position to be found through iteration. The solution represents the intersection of the hyperbolas with foci defined by the antennas' position and the measured TDoAs. The initial conditions and the constraints of the simulations are the same as for SLS. The convergence criterion is defined by the first three equations in Equation (10).

Particle Swarm Optimization Based on HLS
PSO is a metaheuristic technique that searches the optimum inspired by the way birds or fish look for food. "Particles" are deployed in the solution space with each particle having three variables (x s , y s , z s ). K moving particles change their position P k in each iteration through: The displacement or velocity of the k-th particle in the l-iteration, v k (l), considers the particle velocity in the previous iteration, v k (l − 1), its personal best position, P k,best (l − 1), and the global best position of the swarm P best (l − 1), found at any time during the search. v k (l) is derived through: v k (l) = ωv k (l − 1) where k = 1, 2, ..., K and l = 1, 2, ..., L. The particle inertia, ω, varies from 0.9 in the first iteration to 0.4 in the L-th iteration, e.g., [27]. This induces high movement of the particles at the beginning of the simulation to explore large source regions and focus the search around the optimum location, then moving the particles slowly at the end of the simulation. C 1 and C 2 allow balance to the influence of the personal best or global best position in the search. U 1 and U 2 are line matrices with three elements randomly distributed between zero and one, which randomizes the movement of the particles, and are generated in each iteration to introduce randomness in the search.
Every particle is evaluated in the minimization OF, Equation (17), based on HLS of Equation (11). It considers six TDoAs when four antennas are used in order to obtain better accuracy in the localization.
The specific algorithm steps are as follows: 1. K particles are spread in the space of solutions. The initial velocity is set to zero for all particles. 2. Each particle position is evaluated using Equation (17). 3. If some particle improves its local best position, it is updated. If some particle improves the global best position, it is also updated. 4. The velocity Equation (15) and the position Equation (14) are updated for each particle in the swarm. 5. If the maximum number of iterations L is reached or when all the particles are located close to the same point, the algorithm ends, and the solution is the position of P best (L). Otherwise, go to Step 2.

Hyperbolic Positioning Algorithm
The HPA algorithm was developed by Ralph Bucher for GPS location using four fixed stations [20] and can be applied to any emitter localization. This algorithm uses the TDoA as HLS in Section 2.1.2.
The position of the source is defined as the intersection of four hyperbolas based on Equation (3): These equations are solved using several intermediate variables with the final target of obtaining the source coordinates. The full formulation is developed in detail in [20]. As a result of the equation system, the coordinates of the position of the source (x s , y s , z s ) are defined through equations that report two direct solutions, i.e., a positive root and a negative root.

Bancroft Algorithm
The Bancroft algorithm was developed by Stephen Bancroft also for GPS location [21]. This algorithm uses a different equation system to find the source position through the Lorenz inner product for four space arrays. The four space array for the antennas and the source is defined through Equation (19), where pt i denotes the pToF measurements taken from each of the four antennas. In radio frequency (RF) emitter localization, pt i is the absolute ToF at the i-th antenna plus an additional offset pt s . The source position is defined by (x s , y s , z s ), and pt s is the elapsed time between the instant when the receiver acquisitions starts and the instant when the emission departs. The Lorenz inner product of a i and a s can be calculated through: The Bancroft approach pivots around the variables defined above. The source position can be obtained following the operations detailed below. Defining: then computation of the four space u and v vectors takes place: where: Scalar coefficients E, F and G are then calculated in Equations (24).
In GPS applications, the criterion to choose the correct root is based on clock synchronisation because only one solution fits. In source location, this criterion cannot be applied because the time when the emission departs is unknown, so both solutions would be, in principle, valid in the analysis.

Maximum Likelihood Estimator Algorithm
The MLE algorithm was developed by Chan and Ho for GPS location and also reports two explicit solutions [3]. Equations (1) and (2) are the initial equations, which combined produce: where: Considering Antenna 1 as the reference, the TDoA for each pair of antennas can be represented by t i1 with i = {2, 3, 4} representing the non-reference antennas. Using the two first terms of hyperbolic Equation (3), then Equation (29) is obtained: Substituting (29) in (27) results in: Evaluating (30) minus (27) considering i = 1, then: Equation (31) can be expressed in matrix form as follows: There are three equations and four unknown variables x s , y s , z s , D 1 . The fourth equation to help solve the system is found in Equation (27). Substituting (x s , y s , z s ) from Equation (32) in Equation (27) with i = 1, a quadratic result in D 1 is obtained. Substituting the positive and negative roots of D 1 back into Equation (32), two possible source positions are provided, i.e., (x + s , y + s , z + s ), a positive root, and (x − s , y − s , z − s ), a negative root. However, as before, the correct solution is not clearly known.

Combined MLE-HLS Algorithm
A combined algorithm based on the MLE algorithm outlined in Section 2.2.3 and the HLS algorithm outlined in Section 2.1.2 was previously proposed in [28]. The MLE algorithm reports two feasible solutions, with one of them closer to the actual source position than the other. However, the desired solution is not always located in the position given by the positive root. With MLE-HLS, the correct solution selection is carried out using the OF based on HLS, Equation (17).
The rationale for combining HLS and MLE is as follows. The HLS OF is based on using all available information from the system, i.e., all TDoAs, as well as all receiver spatial distances. As two solutions of MLE will exist, the solution that explicitly produces the lowest OF value is intuitively the preferred solution since it provides minimal deviation for all possible system spatial setup parameter measurements and relative time calculation determinations. It may also be noted that the HLS OF, Equation (17), has been shown to provide good location accuracy when employed within the PSO algorithm, thus demonstrating its ability as a reasonable metric for location determinations.
The performance of any source location algorithm depends on the software configuration. It is possible to report results with high resolution accuracy, e.g., micrometers, but, there is generally no need to locate the sources with such accuracy in most applications. Thus, in the presented simulations, the solutions are rounded to millimetres before evaluating Equation (17).

Methodology
The inputs to the localization algorithms are the receiver antenna positions and the time variables ToF, TDoA or pToF depending on the algorithm. As the purpose of the paper is to evaluate algorithm performance through simulations, the time variables are initially calculated from the spatial geometry rather than from time measurements. The source position therefore has to be previously defined to carry out the calculation of the time variables. Then, the ToF is defined as the distance between the source and the respective antenna and divided by the speed of propagation, c. The TDoA between two antennas is the subtraction between their ToF. The pToF is calculated adding an offset to the ToF variables.
The simulation procedure has four steps. The first one is to set the four antennas and the source position. The second one is to calculate the exact theoretical ToF, TDoA and pToF for that geometric configuration. The third step is using these times to calculate back the source position for every algorithm using the antenna positions and the time variables. The fourth step is to calculate the computational time spent in processing the location and to determine the errors in source location for every algorithm.
The procedure described above is performed for two situations; firstly, under precise theoretical values for the time variables and, secondly, introducing a digitizing sampling error on the time measurements, which reflects a more practical application. Under theoretical conditions, the time variables have high decimal value time resolution. We have introduced digitizing errors in the theoretic values of ToF, TDoA and pToF, which would give an idea of what would be the behaviour of the algorithms when these times have other types of uncertainties such as when the environment is full of metallic structures. To emulate the time sampled digitizing error, the time variables are rounded to the nearest time sample. For evaluation purposes, in this paper, an acquisition system with sampling frequency f s = 10 GS/s is presumed. The time interval between samples is then T s = 1/ f s = 0.1 nanoseconds. When multiplied by the speed of the light, c, this results in a maximum location error of 3 cm for each time measurement. In this case, if the TDoA between two antennas multiplied by c is 1 m, digitalizing the discrete TDoA, with a 3-cm error, will result in an overall location error of 0.99 m or 1.02 m. However, suitable interpolation between time sampled points can reduce the location error magnitude [29]. In the previous example, interpolating with 10 samples between time points, the effective sampling frequency may be increased to f s = 100 GS/s, and T s is effectively reduced to 0.01 ns, resulting in an location error of around 3 mm (see Section 4.2).
In some cases, when the non-iterative algorithms are executed under digitizing time errors, the localization can yield a solution with real and imaginary components. This is caused because the time round up introduces an error in the process, which provokes square roots of negative values. In these cases, the imaginary term is omitted because the solution space is the real 3D space. In the iterative algorithms, this problem does not exist because the search is always performed in real 3D space.
The simulations were carried out in a computer with an Intel(R) Core(TM) i7-3630QM CPU @ 2.40 GHz processor, with RAM memory of 8.00 GB (7.89 GB usable) using MATLAB Version R2016b. The priority of the MATLAB process in the computer was set to real time.
The source localization determinations are converted from Cartesian coordinates to spherical coordinates, i.e.,P s = (r,θ,φ). This procedure permits distinguishing errors in distance estimation (r) and errors in angular direction estimation (θ,φ). The errors are calculated from the estimated source positionP s to the actual source position P s = (r, θ, ϕ) through: The relative position of the antennas with respect to the source plays an important role in its accurate localization. When there are errors in the determination of the exact value of the TDoA, the resulting positions of the source are scattered around the actual position. However, it has been proven in [25] that there are certain bearings for which the standard deviation of the positions is lower than for other directions. Therefore, the accuracy in those bearings, dependent on the antenna layout, would be larger. In order to enable a more robust evaluation of the algorithms, the simulations considering digitizing errors and exact values in the TDoA are conducted for three widely-used antenna layouts (square, pyramid and trapezoidal) in the localization of partial discharge sources; see Figure 2. Table 1 shows the detailed coordinates of each antenna array configuration used in the simulation studies.   A wide range of source positions is simulated in a geometrical space enclosing the antenna layouts. Source points are located every meter in each direction inside a volume 20 × 20 × 10 m centred at (0, 0, 5) m. Figure 3 shows an example of all the possible positions of the source in this volume. It is possible to visualise the accuracy in the estimated source location through color grading. For example, using MLE-HLS under some time sampling constraint for the trapezoidal antennas configuration, the estimated radius position error inr may be visualized as in Figure 2c. With green representing a more accurate determination and red indicating a larger source error, it can be seen that as long as the source is close to the antenna array, the accuracy inr is high.

Results
In this section, all the results obtained from the simulations are generated following the procedure described in Section 3.

Theoretical Conditions
The results of the simulations presented in this section are undertaken for theoretical conditions. This means that the ToF, TDoA and pToF used in the location algorithms are the theoretical values with high time resolution. The aim of these simulations is to test the performance of the algorithms when finding a solution to the relevant OF.

Accuracy
Every algorithm is evaluated for the same source positions detailed in Section 3; see Figure 3. The source location accuracy in radius, elevation and azimuth for all methods has been quantified for all volume positions for the three antenna configurations. Figure 4 shows the percentage of points located within the radius errors defined by the legend for every algorithm in each antenna configuration. Table 2 displays the percentage number of positions located with less than 1-cm accuracy in the radius calculations. It may be seen that the best algorithm is MLE-HLS, yielding a 100% accuracy of points less than 1 cm for every antenna layout. The next best algorithm is PSO, which localizes 90.8% of points with an error lower than 1 cm. The positive root of the other non-iterative algorithms localizes 79-80% of the points with good accuracy. On the other hand, the negative root only produces an accuracy of 15-21%.   The percentage number of points located within a range of errors in elevation angle for each algorithm and every antenna array is shown in Figure 5. The percentage number of positions located with an elevation angle error lower than 1 • is highlighted in Table 3. In summary, the best algorithm is again MLE-HLS, which reports 100% of the analysed positions having an elevation angle error less than 1 • in every antenna layout. The second best algorithm is again PSO, which locates 93.6% of the positions with high accuracy. The other algorithms are not as good, locating with high accuracy only 45-88% of the points. The negative roots of the non-iterative algorithms report very poor results, locating with high accuracy a mere 20-25% of the positions.  The same calculations are performed for azimuth angle, and the results are shown in Figure 6 and in Table 4. The best algorithm is again MLE-HLS with 100% of positions located with an azimuth angle error lower than 1 • . PSO is again the second best with the other algorithms performing less well. In general, azimuth angle is determined with better accuracy for more positions than elevation angle.   It can be seen that the HPA algorithm is the fastest, needing only 13 µs to localize one position. MLE, MLE-HLS and Bancroft are also fast requiring 84-190 µs. As expected, the iterative algorithms are slower than the non-iterative algorithms, requiring from 33 ms-890 ms.
Most of the algorithms have quite a constant computational time except SLS and HLS, which display high computational differences due to the fact that the number of iterations needed in each source position is not the same. Indeed, the initial position in the search space is set equal to (0, 0, 0), so the algorithms have to translate the solutions closer to the actual position until convergence is reached. When the source is placed near the initial position, the translation is shorter and the algorithms require less iterations and, therefore, less time to converge compared to more distant source locations. Table 5 highlights the mean computational time for one source location for each algorithm for every antenna configuration.

Time Sampling Digitizing Error
The results of the simulations presented in this section are carried out considering sampled digitizing error on the time variables as explained in Section 3. Time sampled interpolation has also been included.

Accuracy
Results for radial distance, elevation angle and azimuth angle under time sampled conditions for the same arrangements as the theoretical simulations are displayed in Figures 8-10 and Tables 6-9. As expected, the accuracy decreases compared with the theoretical case. It may be seen that the radial error is the most critical variable; see Figure 8 and Table 6. Interestingly, the best algorithm appears to be again MLE-HLS with PSO a close second. Both methods localize 49-50% of the analysed points with an average error of less than 20 cm. The pyramidal configuration appears to provide the poorest accuracy, i.e., 37%, whilst the square and trapezoidal configurations provide improved accuracy results, localizing 61-65% of the analysed points with an error lower than 20 cm. In many cases, an average error less than 20 cm may be considered acceptable considering that the maximum distances of the antennas from the source is around 10 m; see Figure 3.  Elevation angle is calculated with good accuracy as seen in Figure 9, with the best two algorithms again being MLE-HLS and PSO. The elevation angle is calculated with lower than or equal to 1 • accuracy for 93% of the analysed positions as shown in Table 7. Further, 97% of the azimuth angle points analysed are calculated with an error lower than or equal to 1 • ; see Figure 10 and Table 8.
These results indicate that good bearing angle determination is achieved with MLE-HLS and PSO for any of the antenna configurations even under time sampled conditions. However, determining radial distance to the source accurately depends on the algorithm used and also the specific antenna layout employed.

Computational Time
The computational times spent on average by each algorithm for one position calculation are displayed in Table 9. The times are very similar to those evaluated under theoretical conditions for almost all the algorithms. In this case, only the HLS algorithm is slower because the time sampled digitization provokes situations where the algorithm does not converge or has more difficulties in converging.

Conclusions
An investigation into the performance of source localization algorithms has been presented for the case where four receivers have been considered. It has been shown that the iterative algorithms (SLS, HLS and PSO) require a definition of the initial parameters, which can significantly affect solution accuracy and computational time. Furthermore, PSO includes random variables that can further induce more uncertainty in the repeatability of the results. These algorithms have a considerable disadvantage compared to the non-iterative algorithms (HPA, Bancroft, MLE and MLE-HLS), which provide direct source location solutions using only the receiver antenna positions and the time variables as inputs.
Analysing the results presented in this paper, it can be concluded that every algorithm yields different results in terms of source localization accuracy and computational time. The location accuracy for each algorithm, when time sampled digitization is considered, is as expected poorer than under theoretical high resolution time conditions. The average computational time for each algorithm considered separately is similar for both theoretical and time sampled digitizing situations, except HLS, which runs slower in time sampled conditions due to increased iterative activity in finding the solutions.
The accuracy for each algorithm and various antenna layouts has been investigated as a function of spherical source location coordinates, i.e., radial direction, elevation angle and azimuth angle. Analysing the results, radial distance appears to be the most critical variable having larger errors under time sampled digitization. On the other hand, angular direction is successfully calculated by almost all algorithms for most of the analysed source points. It may also be noted that when the pyramidal antenna arrangement is analysed, the radial estimation has larger errors when compared with the square and trapezoidal arrangements. Conversely, elevation and azimuth angle calculations have smaller errors for the pyramid arrangement.
It has also been demonstrated that the proposed MLE-HLS algorithm yields the best results. This algorithm uses the OF based on HLS, Equation (17), also applied in PSO, to evaluate the correct source solutions. In PSO, the search is conducted in 3D space where there are infinite possible solutions. The main idea of the combined algorithm is to evaluate two unique points from the MLE algorithm, instead of evaluating all possible solutions in 3D space. This limits the search to a more efficient and more effective solution as shown in the presented results.
MLE-HLS locations are highly accurate under theoretical conditions, but in time sampled digitized conditions, the accuracy decreases. When introducing a digitizing error in the time variables, the MLE-HLS accuracy is approximately the same as PSO. Analysing the radial position, MLE-HLS locates 49.9% of the analysed points with an error of less than 20 cm, whilst for PSO, it is 49.2%. Analysing elevation angle, MLE-HLS evaluates 93.8% of positions with an error less than 1 • , whilst for PSO, it is 93.6%. In the case of azimuth angle, the percentages are 97.6% for MLE-HLS and 97.1% for PSO. From the results, the accuracy of angle determination from both algorithms with time sampled digitizing is almost the same. Indeed, the direction is therefore estimated effectively in most of the positions studied, i.e., around 93%. On the other hand, the distance estimation is poor; estimated in 50% of the analysed points.
The computational time for the iterative algorithms (SLS, HLS and PSO) is substantially longer than the non-iterative algorithms (HPA, Bancroft, MLE and MLE-HLS). Comparing the computational time on average of the most accurate algorithms, PSO and MLE-HLS, it can be seen that PSO with 3.3 × 10 −2 s on average is slower than MLE-HLS with 1.6 × 10 −4 s. From the work presented in this paper, it is shown that MLE-HLS is slightly superior to PSO in relation to source localization accuracy. Both algorithms provide good accuracy of localization results. Further, MLE-HLS has a much reduced computational time when compared to PSO.