Next Article in Journal
Data Diversity in Convolutional Neural Network Based Ensemble Model for Diabetic Retinopathy
Next Article in Special Issue
Building an Effective Classifier for Phishing Web Pages Detection: A Quantum-Inspired Biomimetic Paradigm Suitable for Big Data Analytics of Cyber Attacks
Previous Article in Journal
Proteolytically Resistant Bioactive Peptide-Grafted Sr/Mg-Doped Hardystonite Foams: Comparison of Two Covalent Functionalization Strategies
Previous Article in Special Issue
Subtraction-Average-Based Optimizer: A New Swarm-Inspired Metaheuristic Algorithm for Solving Optimization Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bio-Inspired Swarm Intelligence Optimization Algorithm-Aided Hybrid TDOA/AOA-Based Localization

1
School of Intelligent Manufacturing and Electronic Engineering, Wenzhou University of Technology, Wenzhou 325035, China
2
Key Laboratory of Intelligent Image Processing and Analysis, Wenzhou University, Wenzhou 325035, China
*
Author to whom correspondence should be addressed.
Biomimetics 2023, 8(2), 186; https://doi.org/10.3390/biomimetics8020186
Submission received: 30 March 2023 / Revised: 25 April 2023 / Accepted: 27 April 2023 / Published: 29 April 2023
(This article belongs to the Special Issue Bio-Inspired Computing: Theories and Applications)

Abstract

:
A TDOA/AOA hybrid location algorithm based on the crow search algorithm optimized by particle swarm optimization is proposed to address the challenge of solving the nonlinear equation of time of arrival (TDOA/AOA) location in the non-line-of-sight (NLoS) environment. This algorithm keeps its optimization mechanism on the basis of enhancing the performance of the original algorithm. To obtain a better fitness value throughout the optimization process and increase the algorithm’s optimization accuracy, the fitness function based on maximum likelihood estimation is modified. In order to speed up algorithm convergence and decrease needless global search without compromising population diversity, an initial solution is simultaneously added to the starting population location. Simulation findings demonstrate that the suggested method outperforms the TDOA/AOA algorithm and other comparable algorithms, including Taylor, Chan, PSO, CPSO, and basic CSA algorithms. The approach performs well in terms of robustness, convergence speed, and node positioning accuracy.

1. Introduction

With the advancement of wireless communication and navigation systems in recent years, wireless positioning technology has drawn increasing amounts of interest [1]. The Global Positioning System (GPS) is a mobile communication positioning technology that, according to the theory behind it, uses navigation satellites in orbit to measure time and distance in order to provide location information [2,3]. The GPS positioning system consists of three parts: a space satellite navigation part, a ground control part, and a user terminal part. There are now four major global positioning systems, including GPS from the United States, Beidou from China, GLONASS from Russia, and Galileo from the European Union, all of which are approved by the UN [4]. The GPS and Beidou systems are now the most dependable and stable of these four navigation systems. Currently [5,6], China has completed the layout of the Beidou satellite in terms of global coverage. In addition to offering precise location services, Beidou also includes satellite messaging and timing capabilities. China has now attained complete coverage, particularly in the military sector [7]. The Beidou system is also widely utilized in field operation communication, monitoring, and detection, as well as in the suppression of forest fires. The current location of the mobile station may be calculated using a specialized algorithm by evaluating several characteristics of the received radio waves [8,9].
For the wireless location methods investigated in mobile communications, there are two choices for implementation. Receivers (base stations), which measure the direction of arrival (angle of incidence of radio waves) of the received signal on the transmission path from the mobile station to more than two base stations through an array of antennas, use direction-based positioning techniques, such as angle of arrival (AOA: angle of arrival) positioning techniques, to determine their locations [10,11]. Distance-based positioning methods such as time difference of arrival (TDOA, time difference of arrival) positioning technology, which uses base stations to detect the time difference between the signal and the mobile station to transmit the signal, can be used to determine a hyperbola [12]. At least three base stations are required in order to locate the mobile station, although more are possible. Due to the faux-visible range (nondirect path) in indoor spaces, where the reflected or scattered signals can cause significant positioning errors, the current AOA positioning technology is not suitable for indoor positioning systems, but rather for suburban areas where the influence of multipath is small [13]. A slight variation in the base station’s placement angle when the mobile station is far from it will result in a significant mistake in the positioning distance and have an impact on positioning accuracy [14]. TDOA positioning science and technology, which is more effective in the error environment but also has a greater reliance on the time reference, requires full time synchronization between all the base stations involved in positioning, but does not need to know the time of transmitting from the mobile station, nor does it require synchronization between the mobile station and the base station. However, in the nonvisual range scenario, the positioning accuracy is low and prone to ambiguous answers, and the performance is considerably diminished [15].
Researchers developed a hybrid TDOA/AOA positioning algorithm as a solution to the aforementioned issues with AOA or TDOA [16]. The TOA-AOA positioning method combines the TOA and AOA positioning techniques. The fundamental tenet of this system is that the mobile station’s service base station monitors the angle and time at which its transmit signal approaches the mobile station [17]. The hybrid TDOA/AOA positioning algorithm only needs to synchronize the time of the stationary station and the time of the serving base station, which can be accomplished through the synchronization channel of the base stations. The emission signal should contain the emission time marker, just like the TOA localization method. To determine the location of the mobile station using the TOA-AOA positioning method, only one base station must be engaged in the measurement. When compared with either the TDOA or AOA algorithm alone, the TDOA/AOA hybrid localization method performs more accurately. The primary objective and difficulty of various TDOA/AOA hybrid positioning methods is how to solve the nonlinear formula system formed by these two different types of equations that are nonlinear. TDOA establishes the equation of MS position by the time difference of radio wave arrival and AOA establishes the equation of MS position by the angle of signal arrival [18].
The swarm intelligence optimization crow search algorithm (CSA) performs well when identifying high-dimensional functions and selecting features, among other things [19]. The technique is used for the first time in this study to solve the TDOA localization issue, and an enhancement strategy is put forth to provide a formula for computing the adaptive sensing probability. According to its model features, the passive time difference localization mathematical model is first examined and solved via crow search, and then the formula for adaptive sensing probability is created to adapt to the passive time difference localization issue. It overcomes the issue that other intelligent optimization algorithms tend to slip into local extremes and strikes a better balance between the global search ability and the local optimal search ability during the iterative phase. Finally, simulation findings demonstrate that the method works better than existing algorithms of the same kind and achieves good node localization accuracy, convergence speed, and robustness outcomes.
A TDOA/AOA hybrid location method built on the crow search algorithm and improved by particle swarm optimization is suggested to overcome the issues raised above. The particle swarm algorithm can converge rapidly and meet the goal of identifying the best. Before introducing the theory of chaos to the PSO algorithm and using the chaotic PSO algorithm to find the optimal value of the fitness function to obtain the optimal value of the estimated value of the mobile station, the algorithm first uses the maximum likelihood method to obtain the maximum likelihood estimation function of the mobile station and uses the maximum likelihood estimation function as the fitness function. The final simulation and comparative results demonstrate that the suggested approach performs better at localization.
The paper is organized as follows: Section 2 provides a discussion on the current progress of related research work, Section 3 describes in detail the TDOA/AOA hybrid location algorithm, Section 4 describes the crow search algorithm, and Section 5 provides a detailed introduction to the proposed CSA algorithm optimized by PSO algorithm, Section 6 describes in detail the application of the PSO-CSA algorithm to the TDOA/AOA location algorithm, Section 7 provides the algorithm comparison and result analysis. Section 8 provides the conclusions and directions for future works.

2. Related Work

The researchers incorporated other algorithms to the TDOA/AOA hybrid positioning algorithm to further refine it in light of its improved positioning performance in determining the location of the mobile station. First and foremost, much research has been conducted by current local and international academics to lessen the impact of measurement inaccuracies. For instance, Zhao et al. validated the Automatic dependent surveillance-broadcast (ADS-B) signal and to enhance positioning accuracy of enroute aircraft, an approach unite the technology of ADS-B and multilateration (MLAT) is presented, the hybrid technology improved the position accuracy [20].According to reference [21], a hybrid measurement approach is proposed to be used to create a new connection between unknown source coordinates, and the resultant mean square error matrix of the solution may be used to determine the CRB limit in the small error zone. The weighted least squares (WLS) technique, which was suggested in reference [22], is based on the first-order Taylor expansion of the noise factor and can lessen the estimate bias brought on by the least squares (LS) method. To further minimize the estimate bias when the target is beyond the sensor’s convex hull, a novel structured total least squares (STLS) approach is created. The precision of positioning is not only enhanced, but the benefit of low computational complexity is also maintained in reference [23], which addresses the issue of the traditional linear positioning algorithm’s poor positioning accuracy in an NLOS environment. According to reference [24], the quasi-normal distribution density curve should be used to create the TDOA error model in order to make it more accurate. In addition, the TOA measurement value is filtered using the Kalman filter to get it closer to the actual time of arrival, which is a real-time and direct way to remove mistakes. The least squares approach is enhanced and the new variables are split in the literature [25].
In recent years, several biological nature-inspired algorithms have been devised and inspired by natural events. These algorithms are extensively employed in TDOA/AOA hybrid localization algorithms to address their current issues [26]. This resolves the nonlinear optimization issue, and it is demonstrated that the bio-inspired algorithm performs better when the parameters are adjusted suitably in terms of convergence speed and accuracy. The TDOA localization problem was suggested to be solved using particle swarm optimization (PSO) in reference [27]. The method is highly accurate and does not require starting values for localization. An approach based on hybrid genetic quasi-Newton search was suggested in reference [28]. The algorithm lowers the later search rate and combines the benefits of the genetic algorithm and quasi-Newton algorithm. In an NLOS context, reference [29] developed a localization technique based on an ant colony optimization algorithm. Reference [30] solved the TDOA localization issue using the salp swarm algorithm (SSA), adopted a novel swarm updating model, and demonstrated the method’s efficacy in doing so. With its great stability and efficiency in handling issues such as nonlinear optimization and huge data processing, bio-inspired algorithms have emerged as a significant research area in artificial intelligence.
In this study, the notion of using the crow search algorithm to estimate the initial solution of the mobile station position in an indoor laboratory setting is proposed. It is also suggested that the iterative crow search method be extended to include the optimization operation known as particle swarm optimization. The TDOA/AOA hybrid positioning is then subjected to the improved crow search algorithm (ICSA) algorithm so that the crow search algorithm can converge quickly, accomplish the optimization goal, and retain its optimization mechanism based on enhancing the performance of the original algorithm. To obtain a better fitness value throughout the optimization procedure and increase the algorithm’s optimization accuracy, the fitness function based on maximum likelihood estimation is modified. To avoid pointless global search and speed up algorithm convergence without compromising population diversity, the initial solution is simultaneously inserted into the starting population location. Simulation findings demonstrate that this approach outperforms TDOA/AOA and other comparable algorithms in terms of node positioning accuracy, convergence speed, and resilience. It also performs better than PSO, CSA, and other algorithms.

3. TDOA/AOA Hybrid Location Algorithm

The combined usage of the two algorithm models can greatly increase positioning accuracy and lessen the impact caused by measurement mistakes when compared to the TDOA positioning algorithm or the AOA positioning algorithm used alone. To establish a three-dimensional right-angle coordinate system for TDOA/AOA hybrid positioning, in order to simplify the calculation, the base station coordinates are (xi, yi, zi), mobile station MS coordinates (x, y, z), and z takes the value of 0, then the base station and mobile station are in the two-dimensional plane. The TDOA/AOA joint positioning system model diagram is shown in Figure 1 [31].
Assuming that M base station receivers are arranged in a two-dimensional plane, the position of the ith base station BS is represented by the coordinates (xi, yi), the position of the mobile station MS is represented by the coordinates (x, y), and the distance from the mobile station to the base station is ri, then the distance equation can be listed according to the (TOA) measurements:
Suppose there are M base station receivers arbitrarily distributed in a two-dimensional plane, where the location of the ith base station receiver is (xi, yi) and the location of the mobile station is (x, y). The distance from the mobile station to base station i is ri, The difference between the actual distance from the mobile station to base station i (i ≠ 1) and base station 1 is noted as r i , 1 0 , and the measured value is noted as r i , 1 .
The measured value of the time difference of arrival TDOA is converted to the distance difference ri,1, and ri,1 denotes the distance difference between the mobile station to base station i (i ≠ 1) and to base station 1, i.e.:
r i , 1 = c τ i , 1 = r i , 1 0 + n i , 1 = r i r 1 + n i , 1
where τ i , 1 , i = 2 , , M is the TDOA measurement; c is the radio wave propagation speed; and n i , 1 , i = 2 , , M is the noise introduced when detecting the TDOA measurement. When the SNR is high, the TDOA measurements detected by Generalized Cross-Correlation (GCC) are usually Gaussian data and obey an approximate normal distribution, so the noise n i , 1 also obeys an approximate normal distribution, which for convenience can be considered to have a mean value of 0 and a variance of σ 2 .
As
r i = c τ i = ( x i x ) 2 + ( y i y ) 2
therefore, there are:
r i , 1 = r i r 1 + n i , 1 = ( x i x ) 2 + ( y i y ) 2 ( x 1 x ) 2 + ( y 1 y ) 2 + n i , 1
Assuming that the service BS always provides the AOA measurement of the MS, the equation can be established based on the AOA measurement α
α = arctan ( y Y 1 x X 1 ) + n α
where n α is the AOA measurement error, which follows a normal distribution with mean 0 and variance s t d 2 α .
Noted as: Δ r = [ r 2 , 1 , r 2 , 1 , , r M , 1 ] T , r = [ r 2 , r 3 , , r M ] T , r 1 = [ r 1 , r 1 , , r 1 ] T , n = [ n 2 , 1 , n 3 , 1 , , n M , 1 ] T , then there are:
Δ r = r r 1 + n
when M > 3, that is, when the number of valid measurement base stations is 4 or more, in order for the algorithm in this paper to make full use of the statistical information of all the TDOA measurements provided by the network and AOA measurements of the service BS. The maximum likelihood method (ML) is used to determine the mobile station location because r i , 1 obeys a normal distribution with mean (ri-r1) and variance σ2 and α obeys a normal distribution with mean arctan ( y y 1 x x 1 ) and variance s t d 2 α , assuming that all measurements are independent of each other, the maximum likelihood estimate of the mobile station location is
( x , y ) = arg min [ ( Δ r r + r 1 ) T ( Δ r r + r 1 ) + σ 2 α 2 ( α arctan ( y y 1 x x 1 ) ) 2 ]
In order to obtain the best answer for the coordinate values, a modified crow search algorithm is employed since, in fact, it is exceedingly challenging to solve the minimum of the nonlinear function of Equation (6) using the general technique and results are tough to achieve.

4. Crow Search Algorithm

An algorithm inspired by nature, the crow search algorithm (CSA) was developed by Askazadeh (2016) [32]. Crow behavior and social interactions are simulated by this population-based algorithm for evolutionary computational methods. Crows are undoubtedly clever birds since they live in groups, have huge brains compared to their size, and conceal food in areas they can remember and find even months later [33]. In the mirror test, they also demonstrate self-awareness. Through intricate communication, they can retain each other’s facial expressions when hostile crows are around and alert other crows [34]. Crows will occasionally commit thievery by carefully watching the food hiding spots of other crows and then stealing their food, much like other flock animals do. A crow will relocate away from the food cache when it thinks another crow is following it in an attempt to deceive the burglar [35].
Assume that the number of individual crows in the d-dimensional optimization problem is N and the position of crow i at the tth iteration is x i , t = [ x 1 i , t , x 2 i , t , , x d i , t ] , where i = 1, 2, ..., N; t = 1 , 2 , , t max , and t max is the maximum number of iterations [36]. Each crow has memory and remembers the current optimal food source (i.e., food hiding place). Suppose that the food source of crow i at the tth iteration is m i , t .
A crow updates its position by observing and following other individuals. Assuming that at the tth iteration crow j flies towards the food source m j , t and crow i follows it and approximates m j , t with probability, there will be two scenarios depending on whether crow j perceives being followed or not [37].
Scenario 1: Crow j does not notice being followed and continues to fly towards m j , t , then crow i will approach m j , t , so its new position at the t + 1 iteration is
x i , t + 1 = x i , t + r i × f l i , t × ( m j , t x i , t )
where r i is a random number in the interval [0, 1] and f l i , t is the flight length of crow i at the tth iteration.
Scenario 2: Crow j perceives that it is being followed, then it flies randomly in the search space to lure crow i to fly to any location in the solution space in order to ensure that the food is not stolen.
The new position of the offspring of crow i is known from the above description as
x i , t + 1 = { x i , t + r i × f l i , t × ( m j , t x i , t ) , r j A P j , t a   random   position ,   otherwise
where A P j , t is the perceived probability of being followed at the tth iteration of crow j.
The validity of the solution must be verified after each individual crow position has been updated; if the new position falls within the valid interval, it is updated; otherwise, the parent position is taken. Subsequently, the fitness value (objective function value) f ( ) of each individual in the offspring crow population is calculated and the memory is updated according to the principle of minimum/maximum optimization:
m i , t + 1 = { x i , t + 1 , f ( x i , t + 1 )   i s   better   than   f ( m i , t ) m i , t , otherwise .
The CSA algorithm controls the global and local search process of the algorithm by two model parameters—perceptual probability AP and flight direction length fl, using N crows to search and finally find the optimal solution of the problem after t max parallel iterations [38,39].

5. Improving the Crow Search Algorithm

5.1. Basic Particle Swarm Algorithm

The biological study of birds engaging in foraging behavior served as the basis for the PSO algorithm. Kennedy et al. developed the particle swarm method by researching the cooperative foraging behavior of bird groups [40].
The biggest food supply is the goal of the particle swarm algorithm, and individual birds are considered as inert particles with no living features [41]. The search procedure goes as follows: initially, there are random particles in the space of the ultimate solutions. Individual particles then search for the final solution in the space at a moment’s notice, memorizing the distance closest to the final solution during the search as the current individual extreme value, and then communicating this distance information to other particles in the particle swarm [42]. The overall extreme value of the swarm is the best individual extreme value of the whole swarm. Next, the particles’ individual and collective extremes are used to modify their direction and speed. Eventually, after multiple rounds, the majority of the particles will congregate towards the ultimate solution.
Define the inertia factor as ω, taking the value of
ω = ω max z ( ω max ω min ) T
In Equation (10), ω ∈ (ωmin, ωmax) gradually changes from large to small as the particles evolve iteratively. c 1 with c 2 are used as the learning factor also known as the acceleration constant, x i t + 1 as the position of the ith particle in the t-dimensional solution space, g b t as the global extremum, and p b i t as the individual extremum, the particle position update formula is given in Equation (11), and the velocity update formula is given in Equation (12).
v i t + 1 = ω v i t + c 1 r 1 ( p b i t x i t ) + c 2 r 2 ( g b t x i t ) ,   i = 1 , 2 , , n   v min v i t + 1 v max
x i t + 1 = x i t + v i t + 1 , x min x i t + 1 x max

5.2. Crow Search Algorithm Optimized by Particle Swarm Optimization

The classic crow search method suffers from a single population and unequal distribution during the initial iteration, which makes the algorithm susceptible to local optimums and results in low optimization accuracy. Introduced is the aforementioned particle swarm algorithm. Table 1 displays the PSO-optimized crow search algorithm’s pseudo code.

6. Application of the PSO-CSA Algorithm on TDOA/AOA

6.1. Adaptation Function

The upgraded crow search algorithm’s foundation for determining the search direction is the fitness function. The moving table’s coordinates (x, y) are those that correspond to the algorithm’s best fitness. With regard to the fitness function,
F i t n e s s ( Y ) = [ ( Δ r r + r 1 ) T ( Δ r r + r 1 ) + σ 2 α 2 ( α arctan ( y y 1 x x 1 ) ) 2 ]
The equation determines each particle’s unique ideal location, where a smaller value symbolizes better particle adaptation to Function (14).
q k p ( z ) = { q k p ( z 1 ) , f i t n e s s ( y k p ( z ) ) f i t n e s s ( q k p ( z 1 ) ) y k p ( z ) , f i t n e s s ( y k p ( z ) ) < f i t n e s s ( q k p ( z 1 ) ) .
The global optimal position of particle k is determined by Equation (13).
q g k ( z ) { q g 1 ( z ) , , q g s ( z ) | f i t n e s s ( q g s ( z ) ) = min { f i t n e s s ( q g 1 ( z ) ) , | f i t n e s s ( q g s ( z ) ) } }
Let the coordinate vector of the particle be defined as
ψ i = ( x i , y i ) T
As shown in Equation (16), (xi, yi) is the coordinate point of the mobile station to be estimated. Let the coordinates of the mobile station as (x, y) be within the range constituted by the base station, i.e.:
{ x min x x max y min y y max
As shown in Equation (17), xmin and xmax are the minimum and maximum values of the horizontal coordinates in the range formed by the base station and ymin and ymax are the minimum and maximum values of the vertical coordinates in the range formed by the base station.

6.2. Improving the Implementation Process of the Crow Optimization Algorithm

The following measures may be taken to enhance how the crow optimization method is implemented:
(1)
Initialize each parameter of the algorithm: determine the population size N, the maximum number of iterations T, the flight length fl, the perceptual probability AP and other acceleration factors c1 and c2, the maximum inertia factor ωmax, and the minimum inertia factor ωmin, and calculate the inertia factor ω according to Equation (10);
(2)
Set up the crow memory location and population place;
(3)
Determine each person’s fitness value in accordance with the fitness Function (13), and set the individual optimum and the global optimum as Pbest and gbest;
(4)
Randomly select an individual from the previous generation;
(5)
Check to see if the random number that was created is greater than the AP for discovery. Person i makes the decision to follow person j when rjAP. The inertial velocity, the global ideal solution, and the present optimal solution of individual j all affect the velocity of individual i. The inertial velocity, the global ideal solution, and the present optimal solution of individual j all affect the velocity of individual i. If not, the local optimal solution, the global ideal solution, and the inertial velocity of individual i make up the velocity of that individual. Equation (18) is used to determine the velocity of individual i and Equation (12) is used to determine where individual i will be in the subsequent iteration. Both the personal and the overall optimums are updated.
{ v i t + 1 = ω v i t + c 3 r 3 ( p b j t x i t ) + c 2 r 2 ( g b t x i t ) ,   r j A P , v i t + 1 = ω v i t + c 1 r 1 ( p b i t x i t ) + c 2 r 2 ( g b t x i t ) ,   else .
x min and x max are the minimum and maximum positions of the particles, respectively. In the aboce, c 3 indicates the degree of influence of individual j on individual i and r 3 is a random number within [0, 1]. The update rate in Equation (18) is also limited by v min and v max .
(1)
Check whether the algorithm converges and if it does, carry on running the program. Go to step 2 if not;
(2)
When M iterations have been completed, the iteration is terminated, and the best memory value is produced based on the fitness function’s value. If not, proceed to Step (2) again until the termination condition is met.
Figure 2 depicts the flow of the enhanced crow search method localization algorithm.
Figure 2 is the workflow of the mobile position positioning algorithm of the PSO-CSA algorithm. Firstly, the mobile location positioning problem is transformed into a combinatorial optimization problem under constraints, and its minimum positioning error is obtained. The objective function of this TDOA/AOA hybrid positioning algorithm is converted into a fitness function value, and it is solved iteratively through the particle swarm optimization crow search algorithm proposed in this paper. The crow search algorithm is used to complete the search for the optimal solution to more complex spatial problems through the cooperation among the crow populations, and all the crow groups search towards the direction of the individual optimal position and the direction of the global optimal position. However, during the search process, the excellent crow individuals searched in the later period are too concentrated, and the individuals tend to fall into a local optimum. In order to overcome the lack of similar population diversity, this paper introduces the idea of particle swarm optimization to improve population diversity while maintaining the particle concentration within a reasonable range and concludes that the particle swarm optimization crow search algorithm takes the crow search algorithm model as the core, the particle swarm optimization mechanism is introduced to assist in the adjustment of the algorithm.
The PSO algorithm focuses more on optimization efficiency and is closer to the current optimal solution during iteration, resulting in a strong ability to exploit currently known information, while the CSA provides greater freedom for the algorithm to ensure the diversity of solutions, resulting in a stronger ability to explore unknown regions. The proposed PSO-CSA combines the advantages of both PSO algorithms and CSA to achieve a better balance between increasing randomness and improving efficiency.
Presented is a schematic diagram of how the individual in Figure 3 updates their position in (a) PSO, (b) CSA, and (c) PSO-CSA, where the green dots indicate the current best position of the individual, the pink dots indicate the best position determined by the whole population, and the red dots indicate the position of the individual in the next iteration; the red arrows indicate the movement of the individual. The proposed PSO-CSA algorithm combines the advantages of particle swarm optimization and CSA and achieves a better balance between increasing randomness and improving efficiency. The proposed PSO-CSA algorithm increases the iterative process of the algorithm to solve the optimal solution, the diversity of the population, and the calculation speed.

7. Algorithm Comparison and Result Analysis

7.1. Function Optimization

This work performs comparison tests using six common benchmark functions that represent various challenges in the actual search space in order to evaluate the four population intelligent optimization techniques that are proposed. Table 2 displays the functions’ specifics. For more plausibility, 200 separate experiments were conducted for each test function in all circumstances, with a maximum of 50 iterations and a population size of 50. As demonstrated in Table 3, the precise parameters used in the original study are the parameters chosen by various methods.
The iterative calculation results of the test functions F1–F6 used in this paper are shown in Figure 4a–f. Table 4 presents the experimental results of the four algorithms, PSO-CSA, CSA, CPSO, and PSO, after running 200 times independently on multiple test functions.
A comparison chart of the convergence of the four algorithms on the test function is given in Figure 3 in order to confirm the stability and convergence of the four intelligent optimization methods. When dealing with the test function, the PSO, CPSO, CSA, and PSO-CSA algorithms all exhibit the phenomena of premature convergence. Even though the crow search method prematurely converges in a few test functions, it nevertheless achieves higher solution accuracy than other algorithms. The accuracy of the answer at this point is higher than that of other methods when the PSO algorithm solves the test functions F1, F2, F3, and F4. Testing functions F5 and F6 improves the performance of the crow search algorithm, and as the number of iterations rises, so does the correctness of the answer. When solving functions F5 and F6, the particle swarm optimization crow search technique presented in this study yields the global best solution in roughly 15 iterations. When compared with other methods, the solution accuracy on other functions is higher and maintains a better ratio of local development to global search. In general, CSA and PSO-CSA have greater optimization capabilities than other algorithms and PSO-CSA’s effect is superior than CSA’s. PSO has a mediocre solution impact, whereas CSA has a moderate optimization effect.

7.2. Comparison of Positioning Simulation Experiments

7.2.1. Experimental Scenarios and Evaluation Metrics

The algorithm’s experimental setting is built on a Windows 10 64-bit PC running the MATLAB2018b platform. The performance of the Taylor method, Chan algorithm, TDOA/AOA hybrid algorithm, chaotic CSA algorithm, and PSO CSA algorithm is compared in this work. The chosen base stations are greater than three since three base stations operate poorly. The following are the primary criteria used in this study: Use the nine-receiver cellular layout and select between four and nine base stations. The serving base station is BS1, and the cell radius has been set at 3000 m. The base station’s coordinates are chosen as follows: BS1 (0,0), BS2 ( 3 , 0), BS3 ( 3 , 0), BS4 ( 3 /2, 3/2), BS5 ( 3 /2, −3/2), BS6 ( 3 /2, 3/2), BS7 ( 3 /2, 3 /2), BS8 (0, 2), BS9 (0, −2). A Gaussian normal distribution with a mean value of 0 and variances of 30, 60, 90, 120, and 150 m, respectively, governs the measurement error via TDOA. The channel model is satisfied by the non-line-of-sight error brought on by the channel environment, and the serving BS’s AOA measurement error follows a Gaussian normal distribution with a mean of 0. The starting inertia value max of the PSO algorithm is 0.9, the inertia weight min while iterating to the optimum algebra is 0.2, the initial number of particles is 60, and the iteration count is 20. The learning factors c1 and c2 of the PSO method are 2.4. The CSA algorithm’s attentiveness probability (AP) is 0.1 and the flight length (fl) is 2.
The environment-related parameters in wireless positioning are shown in Table 5.

7.2.2. Number of Base Stations, Cell Radius, and Measurement Error as Variables to Compare Algorithm Positioning Performance

(1)
The quantity of base stations has an impact on the positioning performance. Figure 5 shows that the mobile station’s beginning coordinates are set to (0.8, 0.2). and that the inaccuracy is 30 m, the radius is 3000 m. From 4 to 9, there are nine base stations, and each algorithm’s location accuracy keeps improving as the standard error becomes smaller. The positioning efficiency of the PSO CSA algorithm is the best overall, followed by the CCSA algorithm and the classic CSA, and the other methods are organized in turn. Overall, the curve of the PSO CSA algorithm is substantially smaller compared to the other algorithms.
The positioning accuracy of the PSO-CSA method and its enhanced algorithm have greatly outperformed the Taylor algorithm, Chan algorithm, and TDOA/AOA algorithm, as can be seen from the overall average in Figure 5. The CSA method and its upgraded algorithm exhibit smooth curves from the perspective of stability, which demonstrates the greater stability of the algorithm.
(2)
The cell radius has an impact on positioning performance. As observed in Figure 6, the positioning error exhibits an increased trend as the cell radius continues to grow in the scenario with four base stations and a measurement inaccuracy of 30 m. Figure 6 depicts the link between standard error and cell radius.
Figure 6 illustrates how the PSO-CSA method outperforms other positioning algorithms in terms of positioning performance and reliability. This is because the PSO-CSA algorithm optimizes the TDOA/AOA functional formula, which removes certain mistakes, substantially lowers errors brought on by radius changes, and increases the precision of positioning.
(3)
The measurement inaccuracy has an impact on positioning performance. As observed in Figure 7, The measurement error x = σAOA × c, where the parameter c is the speed of light, when the radius is 3000 m and the base station is 7. The measurement error variance is 30 m to 240 m. The standard error grows in proportion to the measurement inaccuracy. Figure 8 depicts the connection between the measurement error and the standard error.
In Figure 8, the CSA method and its upgraded algorithm have stronger stability and greatly improved positioning performance when compared with other algorithms. Errors have a significant impact on alternative placement techniques. The chance of divergence in the final measurement result is higher and the algorithm’s performance is more unstable as the measurement error rises.
Four base stations are selected under the same other parameters and Figure 7 depicts their relationship.
The standard error has grown relative to the mean, indicating that the number of base stations has a significant impact on the root mean square error. The TDOA and AOA readings will be erroneous due to the decrease in base stations, increasing inaccuracy.
Figure 9 depicts the link between the reference coordinates (0.8, 0.6) and the selection of seven base stations.
As observed in Figure 9, the CSA algorithm and its upgraded algorithm work better and achieve superior positioning accuracy when they are near the base station’s center. As a result, the reference coordinates used throughout the measurement procedure can improve the benefits of the positioning algorithm. However, the traditional CSA method and the enhanced algorithm are not that dissimilar.
(4)
The correlation between mean square error, cell radius, and number of base stations. Using Formula (19) and 200 experiments, the position estimate MSE is determined as follows: y = 10lg (MSE). Let the width of the abscissa be the amount of measurement error, the number of base stations, and the cell’s radius.
M S E = L = 1 200 x ˜ ( l ) x 2 200
As shown in Equation (19), x ˜ ( l ) is the estimated position value of the l-th time of equation x. The measurement results are shown in Figure 10, Figure 11 and Figure 12.
Figure 10 illustrates this relationship between measurement error and mean square error. The PSO-CSA method exhibits good positioning performance in the mean square error. This is because the PSO-CSA algorithm improves positioning accuracy by minimizing the impact of measurement error on placement. Compared with the Taylor algorithm, Chan algorithm, TDOA/AOA method, PSO algorithm, and CPSO algorithm, the CSA algorithm and its upgraded algorithm have smoother curves and more stable effects.
The placement accuracy of the PSO algorithm is marginally superior to that of the CSA method when there are four to five base stations, as illustrated in Figure 11. The PSO-CSA method presented in this study has much greater placement accuracy than existing algorithms. The accuracy is not significantly impacted by the number of base stations, and the CSA algorithm performs better than the PSO method when there are more than five base stations. As the measurement value of the TDOA between the BS and MS has been adjusted, the positioning performance is now affected by the measurement variance of the AOA.
According to Figure 12, the positioning performance of the PSO-CSA algorithm proposed in this paper is superior to that of other algorithms. This is because the algorithm uses ergodicity to avoid nonlinear linearization during operation, which causes a problem with the algorithm settling for the local optimal solution. The PSO-CSA method, which can effectively solve the nonlinear issue and enhance the positioning accuracy of the algorithm, is employed in TDOA/AOA hybrid positioning since the positioning performance of TDOA/AOA hybrid positioning has been enhanced.
(5)
The eight methods’ 3D positioning error results
This study examines the positioning capabilities of the Taylor algorithm, Chan algorithm, TDOA/AOA hybrid algorithm, PSO algorithm, CPSO method, CSA algorithm, and our modified CSA algorithm in terms of three-dimensional space placement on the basis of two-dimensional space. Figure 13a–h illustrates the results of the 3D localization algorithm, accordingly.
The root mean square error of the Taylor algorithm, Chan algorithm, TDOA/AOA hybrid algorithm, PSO algorithm, CPSO algorithm, CSA algorithm, and other algorithms will increase with an increase in measurement error and communication radius, it can be seen from the comparison of the three-dimensional positioning error of these eight algorithms. Among these, the Taylor algorithm’s maximum positioning error is 130.5 m, the Chan algorithm’s is 122.9 m, and the TDOA/AOA hybrid algorithm’s is 123.9 m. The PSO method for swarm intelligence optimization has a positioning error of 101.8 m, whereas the CPSO algorithm has a positioning error of 29.23 m. The SSA algorithm’s positioning error is 21.69 m, whereas the CCSA algorithm’s positioning error is 19.95 m. The positioning effects of the CSA algorithm and the CCSA algorithm are better than those of the PSO algorithm and the CCSA algorithm, and it can be shown that the mistakes of the swarm intelligence optimization algorithm are fewer than those of the conventional three positioning techniques. In comparison with previous positioning algorithms, the PSO-CSA technique introduced in this research has a positioning error of 16.64 m. The PSO-CSA method suggested in this research offers the best positioning impact and the minimum positioning error, as can be observed.
(6)
Comparison of time required
We compared the simulation time of five algorithms including PSO, CPSO, CSA, CCSA algorithm and PSOCSA, as shown in Figure 14. It can be seen that the CSA and CCSA algorithms and their improved algorithms are less time consuming, followed by the PSOCSA algorithm proposed in this paper. The main particle swarm optimization algorithm takes some time to optimize and solve the overshoot. The PSO algorithm and the CPSO algorithm take more time, mainly because the chaos algorithm needs to be optimized first, and the simulation needs more time than the PSO algorithm. Compared with the CSA algorithm and the CCSA algorithm, the PSO-CSA algorithm takes less time.

8. Conclusions

In this work, we examine how the PSO-CSA method may be used to improve the TDOA/AOA hybrid localization technique in an indoor laboratory setting utilizing particle swarm optimization. The problem of TDOA/AOA hybrid positioning, which is significantly impacted by errors and nonlinear optimization, is successfully resolved by using the function of TDOA/AOA hybrid positioning as a fitness function for optimization and finding the coordinate point corresponding to the optimum fitness. The simulation results demonstrate that the proposed PSO-CSA method outperforms existing algorithms of the same kind when compared with TDOA/AOA, PSO, CPSO, and CSA algorithms. The program also performs well in terms of node positioning accuracy, convergence speed, and resilience. The chaotic PSO algorithm’s TDOA/AOA hybrid localization technique has research importance in real-world applications because of its simplicity.
With the most recent swarm intelligence bionic optimization algorithm, we will soon enhance the positioning algorithm in both indoor laboratory environments and outdoor environments in order to increase the positioning accuracy of the algorithm.

Author Contributions

Methodology, L.C.; data curation, H.C.; software, Y.C.; formal analysis, X.Z.; writing—review and editing, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Natural Science Foundation of Zhejiang Province under Grant LY23F010002, in part by Wenzhou basic scientific research project under Grant R20210030, Industrial Science and Technology Project of Yueqing City under Grant 2022G007. and Wenzhou Association for Science and Technology under Grant kjfw36, in part by the major scientific and technological innovation projects of Wenzhou Science and Technology Plan under Grant ZG2021021, school level scientific research projects of Wenzhou University of Technology under grants ky202201 and ky202209, general scientific research projects of the Provincial Department of Education under Grant Y202250103, the teaching reform research project of Wenzhou University of Technology under grant 2022JG12, Wenzhou intelligent image processing and analysis key laboratory construction project under Grant 2021HZSY007105, Research project of university laboratory work of Zhejiang Province under Grant YB202128.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflict of interest.

References

  1. Sun, Y.; Zhang, L.; Feng, G. Blockchain-enabled wireless Internet of Things: Performance analysis and optimal communication node deployment. IEEE Internet Things J. 2019, 6, 5791–5802. [Google Scholar] [CrossRef]
  2. Cao, L.; Wang, Z.; Yue, Y. Analysis and Prospect of the Application of Wireless Sensor Networks in Ubiquitous Power Internet of Things. Comput. Intell. Neurosci. 2022, 2022, 9004942. [Google Scholar] [CrossRef] [PubMed]
  3. Garcia, M.; Tomas, J.; Boronat, F.; Lloret, J. The Development of Two Systems for Indoor Wireless Sensors Self-location. Ad Hoc Sens. Wirel. Netw. 2009, 8, 235–258. [Google Scholar]
  4. Cao, L.; Yue, Y.; Cai, Y.; Zhang, Y. A Novel Coverage Optimization Strategy for Heterogeneous Wireless Sensor Networks Based on Connectivity and Reliability. IEEE Access 2021, 9, 18424–18442. [Google Scholar] [CrossRef]
  5. Garcia, M.; Martinez, C.; Tomas, J.; Lloret, J. Wireless Sensors self-location in an Indoor WLAN environment. In Proceedings of the 2007 International Conference on Sensor Technologies and Applications (SENSORCOMM 2007), Valencia, Spain, 14–20 October 2007; pp. 146–151. [Google Scholar]
  6. Yue, Y.; Cao, L.; Lu, D.; Hu, Z.; Xu, M.; Wang, S.; Li, B.; Ding, H. Review and empirical analysis of sparrow search algorithm. Artif. Intell. Rev. 2023, 1–53. [Google Scholar] [CrossRef]
  7. Wang, Z.; Yue, Y.; Cao, L. Mobile Sink-Based Path Optimization Strategy in Heterogeneous WSNs for IoT Using Pigeon-Inspired Optimization Algorithm. Wirel. Commun. Mob. Comput. 2022, 2022, 2674201. [Google Scholar] [CrossRef]
  8. Yue, Y.; You, H.; Wang, S.; Cao, L. Improved whale optimization algorithm and its application in heterogeneous wireless sensor networks. Int. J. Distrib. Sens. Netw. 2021, 17, 15501477211018140. [Google Scholar] [CrossRef]
  9. Bai, Y.; Cao, L.; Wang, S.; Ding, H.; Yue, Y. Data Collection Strategy Based on OSELM and Gray Wolf Optimization Algorithm for Wireless Sensor Networks. Comput. Intell. Neurosci. 2022, 2022, 4489436. [Google Scholar] [CrossRef]
  10. Chih, M. Stochastic stability analysis of particle swarm optimization with pseudo random number assignment strategy. Eur. J. Oper. Res. 2023, 305, 562–593. [Google Scholar] [CrossRef]
  11. Watanabe, F. Wireless sensor network localization using AoA measurements with two-step error variance-weighted least squares. IEEE Access 2021, 9, 10820–10828. [Google Scholar] [CrossRef]
  12. Friedrich, J.; Tiemann, J.; Wietfeld, C. Accurate multi-Zone UWB TDOA localization utilizing cascaded wireless clock synchronization. In Proceedings of the 2021 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Lloret de Mar, Spain, 29 November–2 December 2021; pp. 1–8. [Google Scholar]
  13. Wang, M.; Chen, Z.; Zhou, Z.; Fu, J.; Qiu, H. Analysis of the applicability of dilution of precision in the base station configuration optimization of ultrawideband indoor TDOA positioning system. IEEE Access 2020, 8, 225076–225087. [Google Scholar] [CrossRef]
  14. Díez-González, J.; Álvarez, R.; Verde, P.; Ferrero-Guillén, R.; Perez, H. Analysis of reliable deployment of TDOA local positioning architectures. Neurocomputing 2022, 484, 149–160. [Google Scholar] [CrossRef]
  15. Wang, T.; Xiong, H.; Ding, H.; Zheng, L. TDOA-based joint synchronization and localization algorithm for asynchronous wireless sensor networks. IEEE Trans. Commun. 2020, 68, 3107–3124. [Google Scholar] [CrossRef]
  16. Kraljevic, L.; Russo, M.; Stella, M.; Sikora, M. Free-field TDOA-AOA sound source localization using three soundfield microphones. IEEE Access 2020, 8, 87749–87761. [Google Scholar] [CrossRef]
  17. Jiang, H.; Zhang, K.; Shen, C.; Zhu, J.; Xu, L. Hybrid Location Algorithm of TDOA / AOA Based on Extended Kalman Filter. In Proceedings of the 2021 IEEE 21st International Conference on Communication Technology (ICCT), Tianjin, China, 13–16 October 2021; pp. 413–417. [Google Scholar]
  18. Kwon, S.; Choi, Y.; Moon, S.; You, C.; Liu, H.; Kim, J.-H.; Kim, D.J.; Park, H.; Kim, J.Y.; Hwang, I. Performance enhancement of hybrid TDOA/AOA using multipath delay estimation. Wirel. Pers. Commun. 2020, 115, 2551–2568. [Google Scholar] [CrossRef]
  19. Cao, L.; Yue, Y.; Zhang, Y.; Cai, Y. Improved crow search algorithm optimized extreme learning machine based on classification algorithm and application. IEEE Access 2021, 9, 20051–20066. [Google Scholar] [CrossRef]
  20. Zhao, D.; Sun, J.; Gui, G. En-route Multilateration System Based on ADS-B and TDOA/AOA for Flight Surveillance Systems. In Proceedings of the 2020 IEEE 91st Vehicular Technology Conference (VTC2020-Spring), Antwerp, Belgium, 25 May–31 July 2020; pp. 1–6. [Google Scholar]
  21. Vidal-Valladares, M.G.; Díaz, M.A. A Femto-Satellite Localization Method Based on TDOA and AOA Using Two CubeSats. Remote Sens. 2022, 14, 1101–1119. [Google Scholar] [CrossRef]
  22. Jia, T.; Wang, H.; Shen, X.; Jiang, Z.; He, K. Target localization based on structured total least squares with hybrid TDOA-AOA measurements. Signal Process. 2018, 143, 211–221. [Google Scholar] [CrossRef]
  23. Mao, Q.; Li, Y. Robust Localization Based on Constrained Total Least Squares in Wireless Sensor Networks. Wirel. Commun. Mob. Comput. 2022, 2022, 4101571. [Google Scholar] [CrossRef]
  24. Elgamoudi, A.; Benzerrouk, H.; Elango, G.A.; Landry, R.J. Quasi-real RFI source generation using orolia skydel LEO satellite simulator for accurate geolocation and tracking: Modeling and experimental analysis. Electronics 2022, 11, 781–795. [Google Scholar] [CrossRef]
  25. Chen, H.; Wang, G.; Ansari, N. Improved robust TOA-based localization via NLOS balancing parameter estimation. IEEE Trans. Veh. Technol. 2019, 68, 6177–6181. [Google Scholar] [CrossRef]
  26. Zhang, Z.; Lin, Y.; Jin, B. Underwater TDOA/AOA joint localization algorithm based on hybrid invasive weed optimization algorithm. IET Commun. 2021, 15, 2376–2389. [Google Scholar] [CrossRef]
  27. Yue, Y.; Cao, L.; Hu, J.; Cai, S.; Hang, B.; Wu, H. A novel hybrid location algorithm based on chaotic particle swarm optimization for mobile position estimation. IEEE Access 2019, 7, 58541–58552. [Google Scholar] [CrossRef]
  28. Singh, P.; Mittal, N.; Salgotra, R. Comparison of range-based versus range-free WSNs localization using adaptive SSA algorithm. Wirel. Netw. 2022, 28, 1625–1647. [Google Scholar] [CrossRef]
  29. Li, M.; Jiang, F.; Pei, C. Review on positioning technology of wireless sensor networks. Wirel. Pers. Commun. 2020, 115, 2023–2046. [Google Scholar] [CrossRef]
  30. Chen, T.; Wang, M.; Huang, X.; Xie, Q. Tdoa-aoa localization based on improved salp swarm algorithm. In Proceedings of the 2018 14th IEEE International Conference on Signal Processing (ICSP), Beijing, China, 12–16 August 2018; pp. 108–112. [Google Scholar]
  31. Xu, C.; Wang, Z.; Wang, Y.; Wangb, Z.; Yu, L. Three passive TDOA-AOA receivers-based flying-UAV positioning in extreme environments. IEEE Sens. J. 2020, 20, 9589–9595. [Google Scholar] [CrossRef]
  32. Sayed, G.I.; Hassanien, A.E.; Azar, A.T. Feature selection via a novel chaotic crow search algorithm. Neural Comput. Appl. 2019, 31, 171–188. [Google Scholar] [CrossRef]
  33. Gupta, D.; Rodrigues, J.J.P.C.; Sundaram, S.; Khanna, A.; Korotaev, V.; de Albuquerque, V.H.C. Usability feature extraction using modified crow search algorithm: A novel approach. Neural Comput. Appl. 2020, 32, 10915–10925. [Google Scholar] [CrossRef]
  34. Ouadfel, S.; Abd Elaziz, M. Enhanced crow search algorithm for feature selection. Expert Syst. Appl. 2020, 159, 113572. [Google Scholar] [CrossRef]
  35. Gadekallu, T.R.; Alazab, M.; Kaluri, R.; Maddikunta, P.K.R.; Bhattacharya, S.; Lakshmanna, K.; Parimala, M. Hand gesture classification using a novel CNN-crow search algorithm. Complex Intell. Syst. 2021, 7, 1855–1868. [Google Scholar] [CrossRef]
  36. Javidi, A.; Salajegheh, E.; Salajegheh, J. Enhanced crow search algorithm for optimum design of structures. Appl. Soft Comput. 2019, 77, 274–289. [Google Scholar] [CrossRef]
  37. Bhullar, A.K.; Kaur, R.; Sondhi, S. Enhanced crow search algorithm for AVR optimization. Soft Comput. 2020, 24, 11957–11987. [Google Scholar] [CrossRef]
  38. Khalilpourazari, S.; Pasandideh, S.H.R. Sine–cosine crow search algorithm: Theory and applications. Neural Comput. Appl. 2020, 32, 7725–7742. [Google Scholar] [CrossRef]
  39. Meraihi, Y.; Gabis, A.B.; Ramdane-Cherif, A.; Acheli, D. A comprehensive survey of Crow Search Algorithm and its applications. Artif. Intell. Rev. 2021, 54, 2669–2716. [Google Scholar] [CrossRef]
  40. Liu, Z.; Wang, J.; Zhang, C.; Chu, H.; Ding, G.; Zhang, L. A hybrid genetic-particle swarm algorithm based on multilevel neighbourhood structure for flexible job shop scheduling problem. Comput. Oper. Res. 2021, 135, 105431. [Google Scholar] [CrossRef]
  41. Cai, B.; Zhu, X.; Qin, Y. Parameters optimization of hybrid strategy recommendation based on particle swarm algorithm. Expert Syst. Appl. 2021, 168, 114388. [Google Scholar] [CrossRef]
  42. Zhang, M. Prediction of rockburst hazard based on particle swarm algorithm and neural network. Neural Comput. Appl. 2022, 34, 2649–2659. [Google Scholar] [CrossRef]
Figure 1. TDOA/AOA joint positioning system model diagram.
Figure 1. TDOA/AOA joint positioning system model diagram.
Biomimetics 08 00186 g001
Figure 2. Flow chart the localization algorithm based on the PSO-CSA algorithm.
Figure 2. Flow chart the localization algorithm based on the PSO-CSA algorithm.
Biomimetics 08 00186 g002
Figure 3. Individual search for optimal solution process of three algorithms.
Figure 3. Individual search for optimal solution process of three algorithms.
Biomimetics 08 00186 g003
Figure 4. Comparison of iterative calculation results of functions.
Figure 4. Comparison of iterative calculation results of functions.
Biomimetics 08 00186 g004aBiomimetics 08 00186 g004b
Figure 5. Comparison between standard error and base station.
Figure 5. Comparison between standard error and base station.
Biomimetics 08 00186 g005
Figure 6. Comparison between quasi error and cell radius.
Figure 6. Comparison between quasi error and cell radius.
Biomimetics 08 00186 g006
Figure 7. The correlation between the measurement error and the base station’s four standard errors.
Figure 7. The correlation between the measurement error and the base station’s four standard errors.
Biomimetics 08 00186 g007
Figure 8. Comparison of standard error and measurement error.
Figure 8. Comparison of standard error and measurement error.
Biomimetics 08 00186 g008
Figure 9. The correlation between measurement error and standard error at various datum locations.
Figure 9. The correlation between measurement error and standard error at various datum locations.
Biomimetics 08 00186 g009
Figure 10. Mean squared error and measurement error comparison.
Figure 10. Mean squared error and measurement error comparison.
Biomimetics 08 00186 g010
Figure 11. Base station counts and mean square error comparison.
Figure 11. Base station counts and mean square error comparison.
Biomimetics 08 00186 g011
Figure 12. Radius and mean squared error comparison.
Figure 12. Radius and mean squared error comparison.
Biomimetics 08 00186 g012
Figure 13. Comparison of 3D positioning errors.
Figure 13. Comparison of 3D positioning errors.
Biomimetics 08 00186 g013aBiomimetics 08 00186 g013b
Figure 14. Comparison of algorithm in terms of time requirement.
Figure 14. Comparison of algorithm in terms of time requirement.
Biomimetics 08 00186 g014
Table 1. The pseudo code of the CSA algorithm optimized by PSO.
Table 1. The pseudo code of the CSA algorithm optimized by PSO.
Step 1: Establish the size of the swarm N with dimension (D) same as the number dataset’s attributes.
Step 2: Obtain the c1, c2, the weight factor are wmax and wmin, the maximum velocity is vmax, the flight length is fl, the awareness probability is AP, and the maximum iteration is max_iter.
Step 3: The population is randomly set as qi,t for each solution and D dimensional vector as the velocity.
Step 4: set t = 0.
Step   5 :   ω = ω max z ( ω max ω min ) T .
Step 6: The fitness value is set for each of the solution as evaluated function while Pbest and gbest values are set.
Step 7: Run CSA with qi, t as the population, a set of crows with the best foods to be followed and a minimum crow.
Step 8: Inversely mutate the returned position by the CSA.
Step 9: Update the position of the swarms.
Step 10: for k = 1 to SS
Step   11 :   v i t + 1 = ω v i t + c 1 r 1 ( p b i t x i t ) + c 2 r 2 ( g b t x i t ) ,   i = 1 , 2 , , n   v min v i t + 1 v max
Step 12: end
Step 13: for k = 1 to SS
Step 14:   for j = 1 to D
Step 15:     if (v(i,j) greater than Vmax)
Step 16:      v(i,j) equal to Vmax
Step 17:     end
Step 18:     if (v(i,j) less than–Vmax)
Step 19:       v (i,j) equal to–Vmax
Step 20:     end
Step 21:     if (rand less than s)
Step 22:        qi, j, t + 1 equal to 1
Step 23:     else
Step 24:        qi, j, t + 1 equal to 0
Step 25:     end
Step 26: Produce the best solution
Table 2. Test functions.
Table 2. Test functions.
FunctionEquationDimensionBoundsOptimum
F1 i = 1 d x i 2 30[−100, 100]0
F2 i = 1 d ( | x i + 0.5 | ) 2 30[−100, 100]0
F3 20 exp ( 0.2 1 d i = 1 d x 2 ) exp ( 1 d i = 1 d cos ( 2 π x i ) ) + 20 + exp ( 1 ) 30[−5.12, 5.12]0
F4 ( 1 500 + j = 1 25 1 j + i = 1 2 ( x i a i j ) 6 ) 1 30[−65, 65]0
F5 i = 1 5 [ ( X a i ) ( X a i ) T + c i ] 1 30[0, 10]−10.15
F6 i = 1 4 c i exp ( j = 1 6 a i j ( x j p i j ) 2 ) 30[0, 1]−3.32
Table 3. Settings of algorithm control parameters.
Table 3. Settings of algorithm control parameters.
AlgorithmParameterValue
PSOLearning factor (C1, C2)2
Inertia weighting factor (w1, w2)0.9, 0.4
CPSOLearning factor (C1, C2)2
Inertia weighting factor (w1, w2)0.9, 0.4
CSANumber of discoverers20%
Number of dangerous sparrows predicted10%
Safety threshold0.8
CCSAThe proportion of discoverers (PD)20%
Proportion of investigators (SD)10%
Warning value (ST)0.8
PSO-CSAThe proportion of discoverers (PD)20%
Proportion of investigators (SD)10%
Warning value (ST)0.8
C1, C22, 2
w1, w20.9, 0.4
Vmax6
Table 4. Experimental results of function testing.
Table 4. Experimental results of function testing.
FunctionPSO-CSACSACPSOPSO
MaxMeanStdMaxMeanStdMaxMeanStdMaxMeanStd
F14.68 × 1023.21 × 1022.23 × 104.89 × 1025.24 × 106.423.04 × 105.171.24 × 101.27 × 101.35 × 101.58 × 10
F23.18 × 103.47 × 1026.171.07 × 1035.84 × 1028.51 × 101.22 × 1035.45 × 1023.21 × 1022.95 × 102.34 × 101.84 × 10
F31.813.874.152.213.474.62 × 10-12.34 × 104.87 × 102.89 × 102.452.22 × 1023.14 × 102
F42.985.121.741.23 × 101.16 × 101.35 × 10-14.045.861.483.096.973.04
F51.73 × 1021.54 × 1021.81 × 101.97 × 1022.46 × 1021.54 × 10-11.21 × 1021.53 × 1021.19 × 101.54 × 1022.14 × 1026.11 × 10
F63.673.822.42 × 10-11.74 × 101.91 × 102.14 × 10-33.483.572.98 × 10-14.073.122.87 × 10-1
Table 5. Simulation environment parameters.
Table 5. Simulation environment parameters.
NameValues
Number of base stations4~9
Cell radius3000 m
Number of initial particles60
Number of iterations20
PSO: c1, c22.4, 2.4
PSO: ωmax, ωmin0.9, 0.2
CSA: AP0.1
CSA: fl2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Cao, L.; Chen, H.; Chen, Y.; Yue, Y.; Zhang, X. Bio-Inspired Swarm Intelligence Optimization Algorithm-Aided Hybrid TDOA/AOA-Based Localization. Biomimetics 2023, 8, 186. https://doi.org/10.3390/biomimetics8020186

AMA Style

Cao L, Chen H, Chen Y, Yue Y, Zhang X. Bio-Inspired Swarm Intelligence Optimization Algorithm-Aided Hybrid TDOA/AOA-Based Localization. Biomimetics. 2023; 8(2):186. https://doi.org/10.3390/biomimetics8020186

Chicago/Turabian Style

Cao, Li, Haishao Chen, Yaodan Chen, Yinggao Yue, and Xin Zhang. 2023. "Bio-Inspired Swarm Intelligence Optimization Algorithm-Aided Hybrid TDOA/AOA-Based Localization" Biomimetics 8, no. 2: 186. https://doi.org/10.3390/biomimetics8020186

Article Metrics

Back to TopTop