Next Article in Journal
Multiple Information-Aware Recurrent Reasoning Network for Joint Dialogue Act Recognition and Sentiment Classification
Next Article in Special Issue
In-Vehicle Network Intrusion Detection System Using Convolutional Neural Network and Multi-Scale Histograms
Previous Article in Journal
Machine Learning in the Analysis of Carbon Dioxide Flow on a Site with Heterogeneous Vegetation
Previous Article in Special Issue
Evaluation of 60 GHz Wireless Connectivity for an Automated Warehouse Suitable for Industry 4.0
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Range-Free Localization Approaches Based on Intelligent Swarm Optimization for Internet of Things

by
Abdelali Hadir
1,*,
Naima Kaabouch
2,
Mohammed-Alamine El Houssaini
3 and
Jamal El Kafi
4
1
National School of Commerce and Management, Hassan II University, Casablanca 20250, Morocco
2
School of Electrical Engineering and Computer Science, University of North Dakota, Grand Forks, ND 58202, USA
3
Higher School of Education and Training, Chouaib Doukkali University, El Jadida 24000, Morocco
4
Faculty of Sciences, Chouaib Doukkali University, El Jadida 24000, Morocco
*
Author to whom correspondence should be addressed.
Information 2023, 14(11), 592; https://doi.org/10.3390/info14110592
Submission received: 1 September 2023 / Revised: 23 October 2023 / Accepted: 29 October 2023 / Published: 1 November 2023
(This article belongs to the Special Issue Wireless IoT Network Protocols II)

Abstract

:
Recently, the precise location of sensor nodes has emerged as a significant challenge in the realm of Internet of Things (IoT) applications, including Wireless Sensor Networks (WSNs). The accurate determination of geographical coordinates for detected events holds pivotal importance in these applications. Despite DV-Hop gaining popularity due to its cost-effectiveness, feasibility, and lack of additional hardware requirements, it remains hindered by a relatively notable localization error. To overcome this limitation, our study introduces three new localization approaches that combine DV-Hop with Chicken Swarm Optimization (CSO). The primary objective is to improve the precision of DV-Hop-based approaches. In this paper, we compare the efficiency of the proposed localization algorithms with other existing approaches, including several algorithms based on Particle Swarm Optimization (PSO), while considering random network topologies. The simulation results validate the efficiency of our proposed algorithms. The proposed HW-DV-HopCSO algorithm achieves a considerable improvement in positioning accuracy compared to those of existing models.
Keywords:
IoT; PSO; CSO; WSN; DV-Hop

1. Introduction

The convergence of Micro-Electro-Mechanical Systems (MEMS) and the Internet of Things (IoT) has contributed to the development of tiny networked devices capable of detecting, monitoring, processing, and transmitting physical phenomena such as pressure and temperature [1,2]. RFID, Zigbee, and 5G are among the communication technologies used by these devices [3,4,5,6,7]. Each sensor node, which is associated with CPUs, power units, and transceivers, has the ability to transmit data to a central base station (BS) for analysis and interpretation [8]. These devices play an important role in WSNs, and are used in such diverse fields as military operations, target tracking, and environmental monitoring. Localization is a critical process in IoT applications such as smart cities, healthcare monitoring, traffic management, disaster alerts, and geographic routing [9,10,11,12,13,14,15]. Accurately determining a device’s location allows for in-depth analysis of events reported by sensor nodes. The interpretation and meaningful understanding of detected events are significantly limited because of the lack of accurate localization. Figure 1 depicts the importance and necessity of localization in a variety of application fields. As illustrated by Figure 1, precisely determining a device’s location is a key challenge for IoT applications.
GPS [16] is a widely recommended technology for accurately determining device locations in various application domains. However, due to the high cost of extra hardware, integrating auto-positioning technologies such as GPS into sensor devices may not consistently be the most cost-effective strategy. This has the potential to decrease the lifetime of the network. To address this concern, several localization techniques have been formulated revolving around the deployment of a limited set of GPS-equipped sensors referred to as anchor nodes. These anchor nodes have known positions and are used to approximate the unknown nodes’ positions within wireless sensor networks. They aid in determining the location of randomly deployed nodes throughout the network using a localization technique, offering an alternative approach to achieve localization in IoT applications without the need for alternative devices to be associated with GPS receivers or auto-positioning capabilities. This cost-effective approach enables accurate device localization, thereby enhancing the comprehensive assessment and comprehension of real-time events. However, as depicted in Figure 2, obtaining precise sensor node locations remains a significant challenge.
Over the last few years, several localization approaches have been presented; these can be grouped into two main technologies, range-based and range-free [17]. Range-based categories include technologies such as Time of Arrival (ToA), Received Signal Strength Intensity (RSSI), Time Difference of Arrival (TDoA), and Angle of Arrival (AoA) [18,19,20,21]. These approaches apply either triangulation or trilateration techniques to determine the sensors’ location by applying angles or distance information between synchronized sensor nodes.
Range-free approaches operate within critical scenarios; they need extra hardware, resulting in increased overhead, particularly in large-scale WSNs, as discussed in [22]. Alternatively, range-free techniques drive the sensor node positions from anchor node positions without requiring extra hardware. Range-free methods consider only information about the interconnection between anchors and unknown nodes, making them a more feasible alternative. These approaches use the exact location of nearby anchors to enable unknown nodes to calculate their locations within WSNs. Examples of range-free approaches include the DV-Hop algorithm, APIT technique, Centroid algorithm, and Amorphous [23,24,25,26]. APIT [24] calculates the locations of sensor nodes using the positions of a minimum of three anchor nodes. The algorithm obtains improved performance with a high percentage of anchors. The Centroid method [25] considers the barycenter of nearby anchors as the determined positions of nodes, avoiding the need for additional materials. Amorphous [26] is similar to DV-Hop in that it accurately determines the locations of unknown nodes. DV-Hop [23] is a well-known approach that has become the most recommended candidate for the localization of sensors in different kinds of topologies using a limited number of anchor nodes within a wireless sensor network [27]. In this approach, the sensor node position estimate is based on the average distance and the hops number, both of which are derived from each anchor node in the network. In this approach, the positions of nodes are calculated using a multilateration technique, which is applicable even when there are fewer than three neighboring anchor nodes.
In the existing literature, a number of localization algorithms that use the DV-Hop technique have been suggested to reduce the errors in estimated sensor node positions. Despite these efforts, localization accuracy remains inadequate, prompting a need for more enhancements. To address this gap, in this study we introduce three novel localization algorithms that combine DV-Hop with Chicken Swarm Optimization (CSO) [28]. These algorithms are developed to enhance and refine the localization accuracy of sensor nodes within WSNs. The key contributions of this study can be stated as follows:
  • Three new algorithms to increase localization accuracy, denoted as DV-HopCSO, W-DV-HopCSO, and HW-DV-HopCSO.
  • New and enhanced steps to increase localization accuracy.
  • Evaluation of the presented algorithms considering four distinct types of complex topology.
  • Verification of the reliability of the proposed localization approaches regarding their accuracy and error considering four distinct types of complex topology through comparisons with existing algorithms (DV-Hop, PSODV-Hop, MDV-Hop, W-DV-Hop, and HW-DV-Hop) involving the communication range, number of anchor nodes, total number of nodes, and maximum number of iterations.
The rest of this paper is structured as follows: Section 2 covers the background on localization algorithms from the literature; Section 3 presents the proposed algorithms based on DV-Hop and chicken swarm optimization; Section 4 presents the simulation results and performance analysis’ and Section 5 concludes the paper and suggests future work.

2. Related Works and Background

In this work, our focus lies on approaches in the range-free category, and in particularly on the advancement of localization techniques based on the DV-Hop technique. One notable issue is that computing the average hop size value during the DV-Hop localization process can result in inaccurate estimates of the distance between nodes. Improving the accuracy when calculating the distance between sensor nodes could lead to a lower localization error. Various DV-Hop enhancements to tackle these concerns have been claimed in the state-of-the-art. Many researchers have recently made major attempts to encourage the use of weighted schemes and bio-inspired techniques to optimize and improve localization accuracy in both anisotropic and isotropic network topologies.
In [29], the authors presented a new scheme based on DV-Hop that uses weighted redundancy and optimized beacons. Their paper presented a weighted iterative technique for determining the best number of iterations and average hop size whlie integrating the weighted mean square error criterion. The hop error between anchors was utilized to assign weights to the signals, while the distance computation employed the optimal average hop size achieved in the previous phase. As a result, the positions of unknown nodes were derived using only a selection of beacon nodes with lower localization errors. Simulations revealed that the proposed variants outperformed previous localization methods, including the original DV Hop.
In [30], the authors proposed a modified hop count technique using mobile anchor nodes to reduce the localization error. The proposed technique was assessed based on communication range and the number of anchor nodes. The authors studied static wireless sensor networks with different numbers of mobile anchor nodes, and used their technique to design a similar solution with a static anchor node. Regarding the localization error, their results demonstrated that the suggested scheme surpasses the original DV-Hop.
In [31], the authors proposed an alternative modification to the DV-Hop technique to increase localization accuracy in anisotropic networks. The DV-Hop approach was improved in three steps, while the PSO and simulated annealing (SA) methods were combined to handle nonlinear equations and increase the localization accuracy of the sensor nodes. The results demonstrated the efficiency of their proposed DV-Hop compared to competitive methods in the literature. However, in this approach, communication overload among the sensor nodes in the network increases during multi-hop information forwarding.
In [32], the authors discussed an enhanced localization algorithm called DEIDV-Hop. This approach combines enhanced DV-Hop and DE techniques. The major aim of DEIDV-Hop is to correct any inaccuracies caused by the distance of the average hop size. To increase population diversity, the authors included a random mutation mechanism that impacts random individuals. This phase seeks to prevent the DE algorithm from experiencing premature convergence and search stagnation. Moreover, during the crossover process, they incorporated a segment of social learning from the PSO based on the newly created individual. Simulation results revealed that this DEIDV-Hop approach had a lower localization error and better stability compared to the current techniques in four distinct network settings.
In [33], the authors introduced an improved algorithm called LSDV-Hop. This novel approach us es the least squares theory to improve the precision of node localization. LSDV-Hop computes a transformation vector using the least-squares method in order to align the true and estimated positions of the anchor nodes. The simulation results showed that this LSDV-Hop approach surpasses  the original DV-Hop.
In [34], the authors presented an online sequential strategy for DV-Hop-based localization. This approach is divided into three main stages. In the first phase, a unique technique is introduced for computing the average hop size between anchors. The typical DV-Hop technique is then modified, allowing it to be used as an online sequential localization technique in the next phase. To determine the locations of target nodes, the final phase applies a sequential technique in conjunction with a specified anchor set. In simulations, this scheme outperformed the original DV-Hop in terms of localization accuracy. Another enhanced scheme based on DV-Hop was presented in [35]. The proposed technique applies a new method to report the hop size distance, and uses Hyperbolic 2D instead of multilateration to estimate node locations. Simulations demonstrated that this scheme outperforms the original DV-Hop.
In [36], the authors proposed various enhancements based on DV-Hop, which they denoted iDV Hop1, iDV-Hop2, and Quad DV-Hop. Geometrical approaches are used in all three variants. The performance of these algorithms was evaluated using C-shaped and uniform network topologies. In terms of localization accuracy, their findings revealed that the iDV-Hop1, iDV-Hop2, and Quad DV-Hop algorithms all outperform DV-Hop.
In [37], a new DV-Hop-based scheme was presented that incorporates the PSO metaheuristic technique to reduce the localization error. The authors described two ways to reduce localization errors in a range-free localization approach, and addressed node localization faults by applying a well-defined set of equations. Their improved node localization technique resulted in a lower localization. Simulations revealed that this approach outperforms the original DV-Hop.
In [38], the authors presented a new optimized scheme that uses CSO to enhance localization precision when estimating node locations. They conducted an experiment in which they varied the network features and the number of hens in the algorithm to evaluate the performance of their new approach. They assessed its ability to improve on conventional CSO-based approaches and carried out a comparison between their scheme and PSO, finding that their technique can outperform PSO. This confirms the significance and potential of CSO-based approaches for enhancing network node localization. Table 1 below provides a comprehensive summary of DV-Hop localization algorithm variants. In the next section, we provide an extensive overview of the localization process in DV-Hop-based approaches and briefly discuss our previous weight-based DV-HOP localization algorithms.

2.1. Weight-Based Enhancements to DV-Hop

In this section, we provide a comprehensive explanation of the localization process in the DV-Hop approach. Additionally, we introduce two localization algorithms that we previously proposed in [39,40,41], denoted W-DV-Hop and HW-DV-Hop. These localization algorithms are designed with the intent of significantly improving the accuracy when estimating the sensor positions.

2.1.1. Basic DV-HOP Algorithm

In this section, we detail the process of localization using DV-Hop in WSNs. DV-Hop has demonstrated its ability to precisely determine the locations of sensor devices in both IoT applications and WSNs. The algorithm estimates the locations of these devices based on the relative distances between nearby anchor nodes. This solution enables precise positioning, making it the preferred choice for localization tasks in the aforementioned contexts. The basic DV-Hop algorithm consists of three main stages: (i) disseminating information; (ii) determining the average hop size distance; and (iii) estimating the position. These stages collectively contribute to estimation of the location of devices within a network.
In the first stage of the DV-Hop localization process, the anchor node (denoted as A i ) broadcasts a hello packet to initialize the network. As the hello packet is relayed through the network, the hop count value, which is initially 0, increases; each hop count reflects the number of traversed nodes. When a node, either an anchor or a target/unknown node (unknown nodes are denoted as U), receives the hello packet for the first time, it saves the location of the sending anchor node A i and initializes H i ; u as the hop count value collected in the packet. This hop count value is computed as the minimum number of hops required for node U to reach anchor node A i . When node U receives a hello packet, it alters its H i ; u . If the received packet has a lower hop count than the existing H i ; u value, then node U updates its H i ; u with the new lower hop count and keeps the packet for further processing; otherwise, node U ignores this new higher H i ; u value.
Throughout this stage, all sensor nodes diligently gather and maintain the hop count and send information to every anchor A i . This meticulous recordkeeping ensures that accurate hop count data are available for other localization steps, facilitating the precise estimation of node locations within the network.
During this localization process stage, sensor nodes convey the hop value to the anchors. In the second step, anchor A i determines the average hop distance A H S i z e i . After the computation of A H S i z e i , anchor A i propagates this value across the network. The formula employed for determining the average hop distance A H S i z e i for each anchor A i is expressed as follows:
AHSize i = j i ( x i x j ) 2 + ( y i y j ) 2 j i H i , j
Here, H i ; j is the hop count from A i to A j , where ( x i , y i ) and ( x j , y j ) represent the coordinates of anchors A i and A i , respectively. Additionally, H i ; u is the hop count value from node A i to the specific target node U.
Based on this formula, A i , which is an anchor, saves its unique average hop size A H S i z e i , which plays a crucial role in estimating the unknown nodes during the localization steps. When this has been computed, anchor node A i broadcasts this information across the network, ensuring that all network nodes have access to it.
In the third stage, when a node U obtains A H S i z e i , it multiplies it by H i ; u (the number of hops to A i ) in order to obtain the estimated distance to every anchor node A i , denoted as d i , which can be estimated as follows:
d i = A H S i z e i × H i ,
where the value of i varies between 1 and k anchor nodes and H i is the number of hops to anchor node A i .
Therefore, the estimated position of node U, denoted as ( x , y ) , can be found using the following equation.
( x x 1 ) 2 + ( y y 1 ) 2 = d 1 2 ( x x 2 ) 2 + ( y y 2 ) 2 = d 2 2 ( x x k ) 2 + ( y y k ) 2 = d k 2
By applying the least squares approach to solve the aforementioned equation, an unknown node U can determine its estimated location U D V H o p as follows:
U D V H o p : x y = ( A T A ) 1 A T B ,
where
A = 2 × x 1 x k y 1 y k x 2 x k y 2 y k x k 1 x k y k 1 y k
B = d 1 2 d k 2 x 1 2 + x k 2 y 1 2 + y k 2 d 2 2 d k 2 x 2 2 + x k 2 y 2 2 + y k 2 d k 1 2 d k 2 x k 1 2 + x k 2 y k 1 2 + y k 2 .
It is important to note that the anchor nodes must not lie on a single line. If they do, the matrix ( A T A ) 1 becomes nonexistent due to the singularity of A T A .

2.1.2. W-DV-Hop Localization Algorithm

In our prior research papers [39,40], we introduced a new scheme for the typical DV-Hop algorithm, which we denoted as W-DV-Hop. Similar to DV-Hop, W-DV-Hop uses three main steps: (i) dissemination of information within the network; (ii) a new technique for computing the average hop distance; and (iii) estimating the locations of the unknown nodes using trilateration.
More specifically, the first stage of the improved W-DV-Hop algorithm closely resembles the standard DV-Hop. A hello message containing the location of anchor node A i is broadcast in the network, with the hop count from anchor to anchor initialized as 0. In the second stage, the average hop size between anchors A i is determined through the use of a new weighted formula based on the mean [42]. In addition, in the improved W-DV-Hop algorithm the average hop size is determined using the mean square error approach [43]. The formula applied to compute A H S i z e i is as follows:
ξ 1 = 1 k 1 j i ( d i , j A H S i z e i × H i , j 2 ) ,
where k represents the ratio of anchors,  A H S i z e i is estimated under the assumption that ( ξ 1 / A H S i z e i = 0 ), d i ; j is the distance between anchor nodes A i and A j based on their exact positions, which can be obtained through the GPS module, and H i ; j is the minimum hop count between anchors A i and A j .
AHSize i = j i H i , j × d i , j j i H i , j 2
To compute the updated A H S i z e n e w , the following formula is applied:
AHSize new = i = 1 k W i × A H S i z e i i = 1 m W i ,
where
W i = 1 j i | A H S i z e i A H S i z e j | .
Here, W i represents the weight assigned to every anchor A i and k represents the percentage of anchors.
In the third phase, the unknown nodes apply the multilateration technique to estimate their locations. Upon receiving A H S i z e n e w , a normal node U multiplies its hop count H i ; u (hops to A i ) by H i ; j . This yields the estimated distance to A i , denoted as d i ( d i = A H S i z e n e w × H i ) , where i { 1 , 2 , , k } represents the anchor nodes. The following equation is then created using the estimated position ( x , y ) of node U.
( x x 1 ) 2 + ( y y 1 ) 2 = d 1 2 ( x x 2 ) 2 + ( y y 2 ) 2 = d 2 2 ( x x k ) 2 + ( y y k ) 2 = d k 2
Using the least square technique, the solution to the aforementioned equation enables an unknown node U to acquire its estimated position U W D V H o p through the following formula:
U W D V H o p : x y = ( A T A ) 1 A T B ,
where
A = 2 × x 1 x k y 1 y k x 2 x k y 2 y k x k 1 x k y k 1 y k
B = d 1 2 d k 2 x 1 2 + x k 2 y 1 2 + y k 2 d 2 2 d k 2 x 2 2 + x k 2 y 2 2 + y k 2 d k 1 2 d k 2 x k 1 2 + x k 2 y k 1 2 + y k 2 .
It is important to note that the anchor nodes must not lie on a single line. If they do, the matrix ( A T A ) 1 becomes nonexistent due to the singularity of A T A .
A = ( ( G T G ) 1 ) G T b
The location of node U is then calculated as follows.
x u = A ( 1 ) y u = A ( 2 )

2.1.3. HW-DV-Hop Localization Algorithm

The HW-DV-Hop approach (Hyperbolic Weighted DV-Hop) is another improved method based on DV-Hop. HW-DV-Hop uses the following steps: (i) the anchors disseminate their precise locations; (ii) a new technique improves the average hop size; and (iii) the hyperbolic 2D schema is used to estimate the position of unknown nodes instead of the usual method.
The first stage of HW-DV-Hop is similar to the DV-Hop and W-DV-Hop approaches. Each anchor A i sends a message that includes its position and number of hops between the anchor nodes. In the second step,  A H S i z e i is determined using a new formula:
AHSize new = i = 1 m W i × A H S i z e i i = 1 m W i ,
where
W i = 1 j i | A H S i z e i A H S i z e j | .
In the third phase, rather than applying the multilateration approach, the 2D hyperbolic location schema [44] is used to estimate the locations of the unknown nodes.
This approach assumes that ( x i , y i ) represents the coordinates of anchor node A i and ( x u , y u ) represents the coordinates of unknown node U. The following formula is used to calculate d i , u , which is the approximate distance between A i and U.
d i , u 2 = ( x i x u ) 2 + ( y i y u ) 2
If R i = x i 2 + y i 2 and S i = x u 2 + y u 2 , Equation (18) can be reformulated as follows.
d i , u 2 R 2 = 2 x i x k 2 y i y k + S i
Equation (19) can be represented in matrix form as
G A = b ,
where A = [ x u , y u , S u ] T , G = 2 x 1 2 y 1 1 2 x 2 2 y 2 1 : : : 2 x k 2 y k 1 , b = d 1 , u 2 R 1 d 2 , u 2 R 2 : d k , u 2 R k .
According to Equation (20), A can be solved using the following formula.
A = ( ( G T G ) 1 ) G T b
Thus, the coordinates of node U are calculated using the formula below.
x u = A ( 1 ) y u = A ( 2 )

3. Proposed Localization Algorithms

In this section, we introduce a set of three novel localization approaches aimed at overcoming the limitations of DV-Hop and enhancing its accuracy by combining it with intelligent swarm optimization. While DV-Hop is widely recommended in WSNs, it often yields inaccurate positions for the sensor nodes, particularly in fields such as military and environmental monitoring. To enhance localization accuracy, we integrate CSO, which is a biologically inspired intelligent approach widely recognized for its efficiency in addressing complex problem scenarios.

3.1. Motivation behind Using Intelligent Swarm Optimization

DV-Hop is known to suffer from localization errors caused by uncertainty in distance estimation, particularly as relates to the minimum hop count and average hop size. This leads to significant deviations between estimated and actual distances that greatly affect its localization precision. Localization in WSNs is a challenging NP-hard optimization problem. Nature-inspired approaches have emerged as suitable solutions for this problem, with swarm intelligence optimizations being particularly promising thanks to their adaptability, simplicity, self-organizing capacity, decentralization, and robustness. These algorithms draw inspiration from social behaviors observed in animal communities such as ants, fish, birds, and even chickens. Swarm intelligence optimization encompasses various approaches, including the PSO, Ant Colony Optimization, Chicken Swarm Optimization, and Artificial Bee Colony algorithms [28,45,46,47]. Recent research comparisons indicate that CSO and PSO are among the most effective optimization algorithms for localization problems in WSNs, offering numerous advantages over other techniques. For instance, PSO is advantageous in its utilization of minimal parameters to adjust the particle population, resulting in simplified parameter tuning. Moreover, it exhibits low spatial complexity thanks to its efficient utilization of small temporary storage to minimize memory requirements. The fast convergence speed of PSO is attributed to its selective sharing of solutions, where only the most optimistic particle can influence others. This enhances the algorithm’s ability to rapidly converge towards optimal solutions. Furthermore, as demonstrated by its successful use in tackling an extensive variety of problem areas, PSO has excellent adaptability. Lastly, PSO offers an intuitive approach to interpreting and adapting solutions to specific problem contexts, facilitating ease of implementation and customization.
The aim of this paper is to improve the localization accuracy of algorithms based on chicken swarm optimization while achieving faster convergence. Our goal is to refine the positions of nodes within a specific area. To achieve this, we introduce extensions to the existing DV-Hop technique, which we call W-DV-Hop and HW-DV-Hop. These modifications incorporate biologically inspired optimization techniques by integrating CSO into the localization process. The process of localization consists of four key stages: (i) broadcasting and minimal hop computation; (ii) determining the average hop distance; (iii) localization for estimating the positions of unknown nodes; and (iv) CSO integration for determining the optimal positions of unknown nodes. Through this work, we endeavor to demonstrate the efficacy of leveraging CSO to improve the localization process and achieve improved accuracy in locating unknown sensor positions within WSNs.

3.2. CSO Optimization Approach

Chicken swarm optimization is a biologically inspired heuristic optimization approach that draws inspiration from the collective behavior of chickens. It falls under the category of swarm intelligence algorithms, which are widely used to tackle complex optimization problems by continuously seeking the best solution based on specific quality measures.
The CSO approach is based on the principles of self-organization, simplicity, and decentralization. Each member of the swarm represents a potential solution, and adapts its position and behavior to explore the search space. The interactions among swarm members facilitate information sharing, leading to updates in their positions and improvements in their individual and collective performance. This collective intelligence enables CSO to converge toward optimal solutions effectively. Due to its demonstrated effectiveness and competitiveness in various problem domains, CSO has become a favored optimization algorithm. By harnessing the collective behavior of chickens, CSO offers an efficient and adaptable approach to solving complex optimization problems. CSO uses a minimal number of parameters to adjust the particle population to simplify the optimization process. Furthermore, it guarantees efficient memory utilization, as it features low spatial complexity while using small temporary storage. CSO guarantees fast convergence by allowing the most optimistic chicken particles to share their solutions with others, offering an interactive and adaptable approach to interpreting and customizing solutions to specific problem contexts. The diversity of applications is ensured as well, as CSO has proven itself in many different areas.
The optimization process of CSO consists of four steps: (i) population initialization, parameter definition, and determining the fitness value of each individual calculation; (ii) sorting individuals by fitness value and determining their identities and subgroups; (iii) iteration of individuals with distinct identities based on different formulas and re-sorting them at regular intervals based on their new fitness values; (iv) iteration stops when the conditions are met, and the optimal solution is selected from among the population.
In the CSO approach, roosters with better fitness values are better able to find food in wider areas. Roosters with the best fitness values can cover a larger distance to find food than those with lower fitness values. The rooster movement function is as follows:
X ( p , q ) ( t + 1 ) = X ( p , q ) t × ( 1 + Randn ( 0 , σ 2 ) )
σ 2 = 1 if f p f k exp f k f p | f p | + ϵ otherwise for k [ 1 , N ] , k p
where the normal distribution of R a n d n ( 0 , σ 2 ) is around a mean of 0 and standard deviation σ 2 , The index k refers to the stochastically determined rooster, f k is the fitness value of the k-th rooster, and the minimum constant ε is applied to avoid the zero-division error.
The hens follow the roosters as group mates to find food, and can engage in stochastic pilfering of food discovered by the roosters. This can be illustrated using the following formulas:
X ( p , q ) ( t + 1 ) = X ( p , q ) t + φ 1 × Rand × ( X ( r 1 , q ) t X ( p , q ) t ) + φ 2 × Rand × ( X ( r 2 , q ) t X ( p , q ) t ) ,
φ 1 = exp f p f r 1 | f p | + ϵ ,
φ 2 = exp ( f r 2 f p ) ,
where Rand represents a uniform random number in the range [0, 1], f represents the fitness value, r 1 represents an index of a roosters and it serves as the partner for the p-th hen, r 2 denotes the index of the selected rooster or hen from the group of individuals, where r 1 and r 2 are different, and φ 1 and φ 2 represent the selection coefficients. In their search for food, the chicks trail behind the mother hen; their behavior is expressed as follows:
X ( p , q ) ( t + 1 ) = X ( p , q ) t + FL × ( X ( s , q ) t X ( p , q ) t ) ,
where X ( s , q ) t signifies the position of the mother hen of the s-th chick’s mother and F L is a constant randomly selected from the range of [0, 2].
Generally, in the realm of 2D WSNs the network localization challenge can be modeled by the following concept. Consider a network denoted as Net = { Sn 1 , Sn 2 , , Sn k + n } in which there are n nodes and k anchors. The location of each sensor is represented by A i ( x i , y i ) and U i ( x u i , y u i ) for i = 1 to k + n . In this problem, it is assumed that the k anchor nodes A i know their positions and that the objective is to estimate the n unknown nodes’ positions of U i . More precisely, the  d i can be estimated as shown in the second phase of each proposed DV-Hop variant. However, the estimation of this distance value always involves a higher degree of error.
In this paper, we present novel localization approaches using chicken swarm optimization to address the localization challenges in WSNs. In this study, the objective function of chicken swarm optimization is defined as follows.
f ( x , y ) = min i = 1 k ( x x i ) 2 + ( y y i ) 2 d i
Using the objective function defined in Equation (26), the fitness function formula is as follows.
fitness = f ( x , y )
Likewise, all chickens (roosters, hens, and chicks) update their positions using Equations (24), (26), and (29), respectively. The fitness of each particle is assessed using Equation (30). The optimal solution is considered to be the optimized position of the sensor node during this phase. Figure 3 provides the comprehensive localization process utilized in our proposed approach. In the following subsection, the CSO approach is applied to bridge the accuracy gap between DV-Hop and our improved algorithms.

3.3. CSO-Based Enhanced DV-Hop Algorithm

In this section, we discuss three localization approaches that are used in WSNs to enhance the accuracy and efficiency of sensor node position estimation. In Section 2, we introduced the W-DV-Hop and HW-DV-Hop algorithms. The DV-Hop, W-DV-Hop, and HW-DV-Hop approaches are further improved using an optimization technique based on the Chicken Swarm Optimization (CSO) approach. These improvements aim to accurately determine node locations in WSNs.
We assess different scenarios to confirm the efficacy of several localization algorithms in comparison with DV-Hop: MDV-Hop [35], PSODV-Hop [48], W-DV-Hop [39], and HW-DV-Hop [40]. All of the proposed techniques were developed and implemented in MATLAB, and we analyze their performance in static WSNs. The three new enhanced localization schemes are denoted as DV-HopCSO, W-DV-HopCSO, and HW-DV-HopCSO. These approaches consist of four stages, introduced as follows: (i) the locations of anchors are broadcast; (ii) the computation of the average hop size is enhanced; (iii) the hyperbolic 2D technique is adopted to optimize the unknown nodes’ positions; and (iv) the CSO approach is integrated to enhance the accuracy of the localization process.
In the DV-Hop algorithm, the conventional three phases are kept and an additional fourth phase is introduced to integrate CSO. This phase results in improved accuracy when locating the positions of sensor nodes within the network.
For W-DV-HopCSO, the first and third stages are equivalent to those of W-DV-Hop, which is discussed in Section 2. Throughout the first phase, the anchor nodes transmit their position information. The weighted mean approach is used in the second phase to find the average hop size for each anchor node. Multilateration is used in the third phase to approximate the locations of unknown nodes. Finally, CSO is used in the fourth phase to minimize the positioning error of unknown nodes. Similarly, HW-DV-HopCSO is divided into four stages: (i) the locations of the anchors are broadcast; (ii) the average hop size computation is enhanced; (iii) the hyperbolic 2D solution is selected to determine the node positions; and (iv) CSO is used to optimize and refine the unknown node locations.
During the first step, the anchor nodes disseminate a message specifying their exact positions in the network. In the second step, we adopt the mean weighted method [42] to calculate the A H S i z e i utilizing the novel formula discussed in Section 3. In the third phase, the 2D hyperbolic location approach [43] is employed instead of multilateration to precisely identify the unknown nodes’ coordinates. In the fourth stage, we use CSO to improve and refine the estimated positions. Furthermore, as detailed in this research, we use CSO to improve the precision of unknown node positions. The flowchart shown in Figure 3 provides an overview of the proposed hybrid localization methods, and the comprehensive pseudocode is illustrated in Algorithm 1.
Algorithm 1: Pseudocode of the Proposed Algorithms
1: Input: n nodes; k anchors; communication range R
2:
3: Network topology distribution: square random; H-shaped; O-shaped; W-shaped
4: for i = 1 to n do
5:    for j = 1 to n do
6:      Distance calculation
7:      d i , j = ( x i x j ) 2 + ( y i y j ) 2
8:      and initialize hop-count H i , j = 0 ;
9: if d i , j < = R then
10:    H i , j = 1 ;
11: else if i = = j then
12:      H i , j = 1 ;
13: else
14:      H i , j = i n f ;
15: end if
16: end for
17: end for
18:
19: Creation of the Matrix of hop count between anchors based on the path algorithm;
20: Creation of distance matrix between anchors based on the path algorithm;
21:
22: for i = 1 to k do
23:   Average hop size distance calculation A H S i z e i per anchor node based on Equation (1);
24: end for
25:
26: for i = 1 to k do
27:    W i weighted values calculation per anchor nodes based on Equation (18);
28: end for
29:
30: New corrected average hop size distance A H S i z e n e w according to Equation (17);
31: for i = 1 to k do
32:    d i , k = A H S i z e n e w × H i , k from i-th anchor to k-th unknown node;
33: end for
34:
35: Determine the position of the unknown node using a 2D-hyperbolic based on Equation (23);
36:
37: CSO parameters initialization and using the coordinate of nodes calculated according to
38:    2D-hyperbolic;
39: Evaluate the chickens’ fitness values;
40: Made iteratively an update of the positions according to Equations (24), (26), and (29);
41: Stop the iteration when the goals are reached;
42: Output: the best locations of unknown nodes.

4. Simulation Results and Discussions

Comprehensive simulations were carried out using a MATLAB-based simulator to assess the performance of all the introduced algorithms. MATLAB is a widely endorsed numeric computing platform favored by many researchers for algorithm analysis, data examination, and scenario modeling. Hence, in this study we employed MATLAB 2019a to assess the performance of our algorithms for localization within static WSNs. Moreover, the performance of our developed algorithms was contrasted with that of the original DV-Hop, a PSO variant called PSODV-Hop [48], and the enhanced DV-Hop algorithms MDV-Hop [33], W-DV-Hop [38], and HW-DV-Hop [39] through a series of simulations. The localization error and localization accuracy of each algorithm were evaluated by varying the simulation parameters, including the number of sensor nodes, ratio of sensor nodes to anchor nodes, range of communication R, and maximum number of iterations considering a square random network topology and three distinct types of complex network topologies (H-shaped, O-shaped, and W-shaped).
The localization accuracy used to confirm the efficiency of the introduced approach was determined by calculating the average localization error using the formula in Equation (33):
Localization   error = ( x exact i x estimated i ) 2 + ( y exact i y estimated i ) 2
Localization   accuracy = i = 1 N ( x exact i x estimated i ) 2 + ( y exact i y estimated i ) 2 N × R
where ( x e x a c t i , y e x a c t i ) represents the exact coordinate of sensor i and ( x e s t i m a t e d i , y e s t i m a t e d i ) represents the estimated coordinate of sensor i.
The localization error signifies the disparity between the accurate and estimated geographical position of the unknown node. This error is quantified according to the formula presented in Equation (32).
The evaluation of the new algorithms involved the following parameters: (i) the network topology, characterized by the ratio of sensor nodes to anchor nodes and the communication range R; (ii) the distribution of sensor nodes in a selected 100 m × 100 m area; and (iii) the communication range R used by all sensors in the network. A total of 30 experiments were carried out, and the reported values represent the average result derived from each of these experiments. Table 2 describes the simulation parameters in detail.
The efficiency of the introduced algorithms regarding localization accuracy was examined considering parameters such as the numbers of sensor nodes and anchor nodes, range of communication, maximum number of iterations, and time of complexity in four distinct types of topologies: square random, H-shaped, O-shaped, and W-shaped. The nodes within the square were distributed randomly in a defined area of interest. This distribution is the most commonly utilized topology for localization techniques. The H-shaped, O-shaped, and W-shaped topologies of networks are irregular, and are based on empty regions on two sides for the H-shaped topology, an internal side for the O-shaped topology, and three sides for the W-shaped topology. Figure 4 depicts the four network topologies used in our simulations. In the following subsections, we thoroughly discuss the simulation performance for each of the mentioned topologies.

4.1. Impact of Communication Range

This section presents a comprehensive analysis of the introduced algorithms in order to assess their impacts and performance on four different kind of network topologies while varying the communication range: square random, H-shaped, O-shaped, and W-shaped. In this scenario, the number of nodes remained constant at 200, the percentage of anchors was set at 20%, and the range of communication R was varied from 15 m to 35 m.
The results, as depicted in Figure 5a, Figure 6a, Figure 7a and Figure 8a, reveal the influence of communication range on localization accuracy for each algorithm within the four network topologies. For each topology, the network becomes more connected as the communication range increases. The HW-DV-HopCSO exhibits respective localization accuracy improvements of 46%, 42%, 46%, and 33% compared to DV-Hop and W-DV-Hop and respective improvements of 36%, 33%, 26%, and 32% compared to HW-DV-Hop, MDV-Hop, and PSODV-Hop in random square, H-shaped, O-shaped, and W-shaped networks. In contrast, DV-HopCSO, W-DV-HopCSO, and HW-DV-HopCSO consistently outperform other localization algorithms across various network topologies. In addition, these algorithms outshine competitive localization algorithms, including PSODV-Hop, MDV-Hop, and HW-DV-Hop, across different network topologies. The HW-DV-HopCSO algorithm demonstrates the highest efficiency among the tested algorithms.

4.2. Impact of the Percentage of Anchor Nodes

In this section, we present a thorough examination of the proposed approaches to evaluate their performance on the same four distinct networks while changing the percentage of anchor nodes within the network. In this configuration, the number of sensor nodes remained fixed at 200 and the communication range remained constant at 30 m while the percentage of anchor nodes was varied between 15% and 40%. The findings reveal that the accuracy of all the proposed localization methods is impacted by the percentage of anchor nodes.
Figure 5b, Figure 6b, Figure 7b and Figure 8b depict the results with respect to the percentage of anchor nodes. It can be seen that DV-Hop, W-DV-Hop, MDV-Hop, and HW-DV-Hop exhibit lower localization accuracy compared to HW-DV-HopCSO across the four different network topologies. Furthermore, HW-DV-HopCSO respectively enhances localization accuracy by 51%, 45%, 49%, and 43% compared to DV-Hop and W-DV-Hop and by about 34%, 33%, 25%, and 26% compared to HW-DV-Hop, MDV-Hop, and PSODV-Hop in the random square, H-shaped, O-shaped, and W-shaped networks. In addition, the proposed W-DV-HopCSO and HW-DV-HopCSO algorithms surpass the other approaches in terms of localization accuracy, offering significantly improved results compared to competitive algorithms in all of the different network topologies.

4.3. Impact of the Total Number of Nodes

In this section, our focus is on assessing the accuracy of localization for the proposed techniques within square random, H-shaped, O-shaped, and W-shaped network topologies. We comprehensively analyze their performance by examining the algorithm’s ability to respond to changing the number of sensor nodes in the network. In this scenario, the number of sensor nodes ranged from 200 to 500, the communication range remained fixed at 30 m, and the percentage of anchor nodes was set at 20%. The results provide a comprehensive comparison of the proposed localization algorithms based on the number of sensor nodes. Figure 5c, Figure 6c, Figure 7c and Figure 8c depict the simulation results based on the number of nodes. It is essential to highlight that as the density of sensor nodes increases within the region of interest, the network achieves greater interconnectivity. In this scenarion, the HW-DV-HopCSO algorithm demonstrates significantly higher localization accuracy, approximately 48%, 47%, 50%, and 43% better than DV-Hop and W-DV-Hop and approximately 34%, 36%, 27%, and 26% better than HW-DV-Hop, PSODV-Hop, and MDV-Hop for random square, H-shaped, O-shaped, and W-shaped network topologies, respectively. Furthermore, in this experiment we observed that our DV-HopCSO, W-DV-HopCSO, and HW-DV-HopCSO algorithms yield better results regarding localization accuracy when contrasted with the competing methods. The HW-DV-HopCSO algorithm exhibits the most outstanding performance among the algorithms under consideration.
In all considered scenarios, there is a significant improvement in the performance of the HW-DV-HopCSO localization algorithm across the four different network topologies when modifying various simulation parameters. Our results indicate that integrating the CSO method to refine the locations of sensor nodes represents a valuable approach to localization in WSNs.
Table 3 provides a concise summary comparing the introduced and competing algorithms in terms of minimum, maximum, and mean localization accuracy.

4.4. Number of Iterations Analysis

In this section, we examine the influence of the iteration number on the presented localization approaches based on PSO and chicken swarm optimization (PSODV-Hop, DV-HopCSO, W-DV-HopCSO, and HW-DV-HopCSO) considering the same four distinct types of complex network topologies. In this configuration, the number of nodes remained constant at 200, the percentage of anchor nodes was set to 15%, and the communication range was 30 m, while the number of iteration was varied from 1 to 50. For CSO, the number of roosters was fixed at 8, the number of chicks at 1, and the number of hens at 15. Additionally, the particle velocity V m a x and learning coefficients C 1 and C 2 for PSO were fixed at 10, 1.5, and 2, respectively, and the swarm size for both PSO and CSO was fixed at 20. Table 2 provides a summary of the parameters used for this simulation.
The results depicted in Figure 9 reveal that the HW-DV-Hop algorithm based on CSO is faster in terms of convergence speed in all four network topologies, in contrast to PSODV-Hop. The HW-DV-HopCSO algorithm demonstrates the robustness of using CSO for localization. It maintains a stable localization error compared to PSODV-Hop when increasing the maximum number of iterations, with the latter exhibiting an unstable localization error across different simulation scenarios and presented types of networks.
Table 4 provides a summary comparing the performance of the proposed algorithms to the existing ones as a function of the number of simulation trials.

4.5. Analysis of Time Complexity

Wireless sensor networks comprise many small devices, each with a limited battery, and operate under stringent constraints in terms of capacity and energy consumption. Implementing complex algorithms in WSNs presents a considerable challenge in many fields. Due to these considerations, it is essential to conduct an evaluation of the time complexity of the proposed algorithms. This is particularly important when considering the NP-hard nature of the WSN localization problem. This scenario considered a WSN consisting of n sensor nodes with unknown locations and k anchors; the generation maximum for CSO and PSO were M a x G 1 and M a x G 2 , respectively, the population size for CSO and PSO was N P 1 and N P 2 , respectively, and the time interval for status updates in the chicken swarm was T. We employed the complexity to evaluate the time to completion required by an algorithm or, in the worst-case scenario, its overall execution time.
The time complexity of all presented algorithms was examined. During the first stage, all algorithms similarly create a hop count matrix; the time complexity of this stage is O ( k 2 ) . In the second step, the complexity for DV-Hop and PSODV-Hop is O ( k 2 ) due to the way in which they calculate the average hop size. The W-DV-Hop, W-DV-HopCSO, HW-DV-Hop, HW-DV-HopCSO, and MDV-Hop algorithms all apply different weighted formulas to calculate the average hop size; despite these differences, the time complexity remains O ( k 2 ) . In the third step, the complexity for DV-Hop, PSODV-Hop, and DV-HopCSO is O ( k ( n K ) ) , as these algorithms all use the least squares approach to calculate the nodes’ location. The time complexity for W-DV-Hop, W-DV-HopCSO, HW-DV-Hop, HW-DV-HopCSO, and MDV-Hop is O ( k ( n K ) ) in this stage, which is due to their reliance on the hyperbolic 2D integration technique rather than the trilateration approach.
In the fourth phase, the time complexity of PSODV-Hop is O ( M a x G 1 N P 1 ( n k ) ) , while for W-DV-HopCSO and HW-DV-HopCSO, which use CSO, it is O ( M a x G 2 N P 2 ( n k ) ) . An extra time cost of O ( k N P 1 ) is required due to the fitness function calculation for the PSO-based algorithms, while O ( k N P 2 ) is needed for the CSO-based proposed algorithms. In addition, O ( M a x G 1 N P 1 ) and O ( M a x 21 N P 2 ) are required to update the locations, resulting in the time complexity of the W-DV-HopCSO and HW-DV-HopCSO algorithms, which use CSO, being O ( M a x G 2 N P 2 ( n k ) ) . Table 5 provides a summary of the time complexity for the tested algorithms.

5. Conclusions

In this paper, we showcase several novel localization algorithms designed to accurately determine the locations of unknown sensor nodes. We proceed to evaluate and analyze these new algorithms across four distinct network topologies, focusing on metrics such as localization error and accuracy.
More specifically, we enhance the basic DV-Hop algorithm by incorporating additional steps to enhance the precision of position estimation for unknown nodes. Through extensive simulations, we thoroughly assess the performance of these new algorithms within four different random network topologies in static WSNs. These simulations involve a number of variations in parameters, including the number of nodes, percentage of anchor nodes, communication range, and maximum number of iterations. Our results highlight the exceptional performance of the HW-DV-HopCSO algorithm as compared to the standard DV-Hop and other competing algorithms in all the considered network experiments. Both the HW-DV-HopCSO and W-DV-HopCSO algorithms exhibit lower localization errors compared to the standard DV-Hop and other algorithms in the tested random square, H-shaped, O-shaped, and W-shaped network topologies. Furthermore, the simulation outcomes demonstrate that the HW-DV-HopCSO and W-DV-HopCSO algorithms consistently outperform the standard DV-Hop and other state-of-the-art approaches. In our ongoing research work, we intend to conduct future simulations to further evaluate the proposed algorithms in mobile wireless sensor networks. Additionally, the presented algorithms can be extended to more accurately calculate the locations of sensor nodes in three dimensions.

Author Contributions

Conceptualization, A.H.; methodology, A.H. and N.K.; software, A.H.; validation, A.H. and N.K.; formal analysis, A.H., M.-A.E.H. and N.K.; investigation, A.H.; resources, A.H.; data curation, A.H., M.-A.E.H. and J.E.K.; writing—original draft preparation, A.H. and N.K.; writing—review and editing, A.H., M.-A.E.H., J.E.K. and N.K.; visualization, A.H.; supervision, N.K.; project administration, A.H., N.K., M.-A.E.H. and J.E.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zrelli, A. Hardware, software platforms, operating systems and routing protocols for Internet of Things applications. Wirel. Pers. Commun. 2022, 122, 3889–3912. [Google Scholar] [CrossRef]
  2. Soldatos, J.; Gusmeroli, S.; Malo, P.; Di Orio, G. Internet of things applications in future manufacturing. In Digitising the Industry Internet of Things Connecting the Physical, Digital and Virtual Worlds; River Publishers: Nordjylland, Denmark, 2022; pp. 153–183. [Google Scholar]
  3. Suresh, S.; Chakaravarthi, G. RFID technology and its diverse applications: A brief exposition with a proposed Machine Learning approach. Measurement 2022, 195, 111197. [Google Scholar] [CrossRef]
  4. Nourildean, S.W.; Hassib, M.D.; Mohammed, Y. Internet of things based wireless sensor network: A review. Indones. J. Electr. Eng. Comput. Sci. 2022, 27, 246–261. [Google Scholar] [CrossRef]
  5. Gliga, L.I.; Khemmar, R.; Chafouk, H.; Popescu, D. A Survey of Wireless Communication Technologies for an IoT-connected Wind Farm. Wirel. Pers. Commun. 2022, 122, 2253–2272. [Google Scholar] [CrossRef]
  6. Jin, Y.; Cui, L. Discovering Influential Positions in RFID-Based Indoor Tracking Data. Information 2020, 11, 330. [Google Scholar] [CrossRef]
  7. Alhayani, B.; Kwekha-Rashid, A.S.; Mahajan, H.B.; Ilhan, H.; Uke, N.; Alkhayyat, A.; Mohammed, H.J. 5G standards for the Industry 4.0 enabled communication systems using artificial intelligence: Perspective of smart healthcare system. Appl. Nanosci. 2023, 13, 1807–1817. [Google Scholar] [CrossRef]
  8. Kabashkin, I. Availability of Services in Wireless Sensor Network with Aerial Base Station Placement. J. Sens. Actuator Netw. 2023, 12, 39. [Google Scholar] [CrossRef]
  9. Asha, A.; Arunachalam, R.; Poonguzhali, I.; Urooj, S.; Alelyani, S. Optimized RNN-based performance prediction of IoT and WSN-oriented smart city application using improved honey badger algorithm. Measurement 2023, 210, 112505. [Google Scholar] [CrossRef]
  10. Ghazal, T.M.; Hasan, M.K.; Alshurideh, M.T.; Alzoubi, H.M.; Ahmad, M.; Akbar, S.S.; Al Kurdi, B.; Akour, I.A. IoT for Smart Cities: Machine Learning Approaches in Smart Healthcare—A Review. Future Internet 2021, 13, 218. [Google Scholar] [CrossRef]
  11. Oğur, N.B.; Al-Hubaishi, M.; Çeken, C. IoT data analytics architecture for smart healthcare using RFID and WSN. ETRI J. 2022, 44, 135–146. [Google Scholar] [CrossRef]
  12. Khalifeh, A.; Gupta, M.; Almomani, O.; Khasawneh, A.M.; Darabkh, K.A. Smart remote sensing network for early warning of disaster risks. In Nanotechnology-Based Smart Remote Sensing Networks for Disaster Prevention; Elsevier: Amsterdam, The Netherlands, 2022; pp. 303–324. [Google Scholar]
  13. Hadir, A.; Zine-Dine, K.; Bakhouya, M.; El Kafi, J.; El Ouadghiri, D. Towards an integrated geographic routing approach using estimated sensors position in WSNs. In Proceedings of the 2018 International Conference on High Performance Computing & Simulation (HPCS), Orleans, France, 16–20 July 2018; pp. 943–948. [Google Scholar]
  14. Naghibi, M.; Barati, H. EGRPM: Energy efficient geographic routing protocol based on mobile sink in wireless sensor networks. Sustain. Comput. Inform. Syst. 2020, 25, 100377. [Google Scholar] [CrossRef]
  15. Prasanth, A.; Jayachitra, S. A novel multi-objective optimization strategy for enhancing quality of service in IoT-enabled WSN applications. Peer-Netw. Appl. 2020, 13, 1905–1920. [Google Scholar] [CrossRef]
  16. Arafat, M.Y.; Alam, M.M.; Moh, S. Vision-based navigation techniques for unmanned aerial vehicles: Review and challenges. Drones 2023, 7, 89. [Google Scholar] [CrossRef]
  17. 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]
  18. Rizk, H.; Elmogy, A.; Yamaguchi, H. A robust and accurate indoor localization using learning-based fusion of Wi-Fi RTT and RSSI. Sensors 2022, 22, 2700. [Google Scholar] [CrossRef] [PubMed]
  19. Aubry, A.; Babu, P.; De Maio, A.; Fatima, G.; Sahu, N. A Robust Framework to Design Optimal Sensor Locations for TOA or RSS Source Localization Techniques. IEEE Trans. Signal Process. 2023, 71, 1293–1306. [Google Scholar] [CrossRef]
  20. Wang, W.; Wang, G.; Ho, K.; Huang, L. Robust TDOA localization based on maximum correntropy criterion with variable center. Signal Process. 2023, 205, 108860. [Google Scholar] [CrossRef]
  21. Chen, H.; Cao, L.; Yue, Y. TDOA/AOA Hybrid Localization Based on Improved Dandelion Optimization Algorithm for Mobile Location Estimation Under NLOS Simulation Environment. Wirel. Pers. Commun. 2023, 131, 2747–2772. [Google Scholar] [CrossRef]
  22. Dou, Z.; Yao, Z.; Zhang, Z.; Lu, M. A Lidar-assisted Self-localization Technology for Indoor Wireless Sensor Networks. IEEE Internet Things J. 2023, 10, 17515–17529. [Google Scholar] [CrossRef]
  23. Niculescu, D.; Nath, B. DV based positioning in ad hoc networks. Telecommun. Syst. 2003, 22, 267–280. [Google Scholar] [CrossRef]
  24. Latha, T.S.; Rekha, K.B.; Ferede, A.W. Lightweight APIT with Bat Optimization with Simulated Annealing Localization for Resource-Constrained Sensor Networks. Wirel. Commun. Mob. Comput. 2023, 2023, 7982038. [Google Scholar] [CrossRef]
  25. Qu, S.; Bao, Z.; Yin, Y.; Yang, X. MineBL: A Battery-Free Localization Scheme with Binocular Camera for Coal Mine. Sensors 2022, 22, 6511. [Google Scholar] [CrossRef] [PubMed]
  26. Tripathy, P.; Khilar, P. An ensemble approach for improving localization accuracy in wireless sensor network. Comput. Netw. 2022, 219, 109427. [Google Scholar] [CrossRef]
  27. Liu, J.; Liu, M.; Du, X.; Stanimirovi, P.S.; Jin, L. An improved DV-Hop algorithm for wireless sensor networks based on neural dynamics. Neurocomputing 2022, 491, 172–185. [Google Scholar] [CrossRef]
  28. Meng, X.; Liu, Y.; Gao, X.; Zhang, H. A new bio-inspired algorithm: Chicken swarm optimization. In Proceedings of the Advances in Swarm Intelligence: 5th International Conference, ICSI 2014, Hefei, China, 17–20 October 2014; Proceedings, Part I 5. Springer: Berlin/Heidelberg, Germany, 2014; pp. 86–94. [Google Scholar]
  29. Chen, T.; Hou, S.; Sun, L.; Sun, K. An Enhanced DV-Hop Localization Scheme Based on Weighted Iteration and Optimal Beacon Set. Electronics 2022, 11, 1774. [Google Scholar] [CrossRef]
  30. Yanfei, J.; Kexin, Z.; Liquan, Z. Improved DV-hop location algorithm based on mobile anchor node and modified hop count for wireless sensor network. J. Electr. Comput. Eng. 2020, 2020, 9275603. [Google Scholar] [CrossRef]
  31. Shi, Q.; Wu, C.; Xu, Q.; Zhang, J. Optimization for DV-Hop type of localization scheme in wireless sensor networks. J. Supercomput. 2021, 77, 13629–13652. [Google Scholar] [CrossRef]
  32. Han, D.; Yu, Y.; Li, K.C.; de Mello, R.F. Enhancing the sensor node localization algorithm based on improved DV-hop and DE algorithms in wireless sensor networks. Sensors 2020, 20, 343. [Google Scholar] [CrossRef]
  33. Zhang, S.; Li, J.; He, B.; Chen, J. LSDV-Hop: Least Squares Based DV-Hop Localization Algorithm for Wireless Sensor Networks. J. Commun. 2016, 11, 243–248. [Google Scholar] [CrossRef]
  34. Messous, S.; Liouane, H. Online sequential DV-hop localization algorithm for wireless sensor networks. Mob. Inf. Syst. 2020, 2020, 8195309. [Google Scholar] [CrossRef]
  35. Song, G.; Tam, D. Two novel DV-Hop localization algorithms for randomly deployed wireless sensor networks. Int. J. Distrib. Sens. Netw. 2015, 11, 187670. [Google Scholar] [CrossRef]
  36. Tomic, S.; Mezei, I. Improvements of DV-Hop localization algorithm for wireless sensor networks. Telecommun. Syst. 2016, 61, 93–106. [Google Scholar] [CrossRef]
  37. Singh, S.P.; Sharma, S.C. A PSO based improved localization algorithm for wireless sensor network. Wirel. Pers. Commun. 2018, 98, 487–503. [Google Scholar] [CrossRef]
  38. Rabhi, S.; Ouahab, A.; Baddou, S.; Chetouah, K. An Improved Algorithm Based on Chicken Swarm Optimization for Localization in Wireless Sensor Networks. Adv. Model. Anal. B 2021, 64, 34–39. [Google Scholar] [CrossRef]
  39. Hadir, A.; Zine-Dine, K.; Bakhouya, M.; El Kafi, J. An optimized DV-hop localization algorithm using average hop weighted mean in WSNs. In Proceedings of the 2014 5th Workshop on Codes, Cryptography and Communication Systems (WCCCS), El Jadida, Morocco, 27–28 November 2014; pp. 25–29. [Google Scholar]
  40. Hadir, A.; Zine-Dine, K.; Bakhouya, M.; Kafi, J.E. Novel localisation algorithms in wireless sensor networks. Int. J. Wirel. Mob. Comput. 2019, 16, 80–96. [Google Scholar] [CrossRef]
  41. Hadir, A.; Regragui, Y.; Garcia, N.M. Accurate range-free localization algorithms based on PSO for wireless sensor networks. IEEE Access 2021, 9, 149906–149924. [Google Scholar] [CrossRef]
  42. Nagpal, R.; Shrobe, H.; Bachrach, J. Organizing a global coordinate system from local information on an ad hoc sensor network. In Proceedings of the Information Processing in Sensor Networks, Palo Alto, CA, USA, 22–23 April 2003; pp. 333–348. [Google Scholar]
  43. Rockmore, D.N.; Healy, D.M., Jr. Modern Signal Processing; Cambridge University Press: Cambridge, UK, 2004; Volume 46. [Google Scholar]
  44. Chan, Y.T.; Ho, K.C. A simple and efficient estimator for hyperbolic location. IEEE Trans. Signal Process. 1994, 42, 1905–1915. [Google Scholar] [CrossRef]
  45. Gad, A.G. Particle swarm optimization algorithm and its applications: A systematic review. Arch. Comput. Methods Eng. 2022, 29, 2531–2561. [Google Scholar] [CrossRef]
  46. Xie, X.; Tang, Z.; Cai, J. The multi-objective inspection path-planning in radioactive environment based on an improved ant colony optimization algorithm. Prog. Nucl. Energy 2022, 144, 104076. [Google Scholar] [CrossRef]
  47. Kaya, E.; Gorkemli, B.; Akay, B.; Karaboga, D. A review on the studies employing artificial bee colony algorithm to solve combinatorial optimization problems. Eng. Appl. Artif. Intell. 2022, 115, 105311. [Google Scholar] [CrossRef]
  48. Singh, S.P.; Sharma, S.C. Implementation of a PSO based improved localization algorithm for wireless sensor networks. IETE J. Res. 2019, 65, 502–514. [Google Scholar] [CrossRef]
Figure 1. Relevance of localization in various domains.
Figure 1. Relevance of localization in various domains.
Information 14 00592 g001
Figure 2. Example showing the process of localization.
Figure 2. Example showing the process of localization.
Information 14 00592 g002
Figure 3. Flowchart of the proposed algorithms.
Figure 3. Flowchart of the proposed algorithms.
Information 14 00592 g003
Figure 4. Node distribution vs. networks: (a) square random, (b) H-shaped, (c) O-shaped, (d) W-shaped (400 nodes, 30% of anchors, and R = 15 m).
Figure 4. Node distribution vs. networks: (a) square random, (b) H-shaped, (c) O-shaped, (d) W-shaped (400 nodes, 30% of anchors, and R = 15 m).
Information 14 00592 g004
Figure 5. Localization accuracy in the square random network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Figure 5. Localization accuracy in the square random network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Information 14 00592 g005
Figure 6. Localization accuracy in the H-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Figure 6. Localization accuracy in the H-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Information 14 00592 g006
Figure 7. Localization accuracy in the O-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchor nodes and R = 30 m.
Figure 7. Localization accuracy in the O-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchor nodes and R = 30 m.
Information 14 00592 g007
Figure 8. Localization accuracy in the W-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Figure 8. Localization accuracy in the W-shaped network: (a) 15% of anchors and 200 nodes, (b) R = 30 m and 200 nodes, (c) 15% of anchors and R = 30 m.
Information 14 00592 g008
Figure 9. Localization accuracy vs. number of iterations in different network topologies: (a) square random, (b) H-shaped, (c) O-shaped, and (d) W-shaped (200 sensor nodes, 15% of anchors, R = 30 m).
Figure 9. Localization accuracy vs. number of iterations in different network topologies: (a) square random, (b) H-shaped, (c) O-shaped, and (d) W-shaped (200 sensor nodes, 15% of anchors, R = 30 m).
Information 14 00592 g009
Table 1. Comprehensive summary of DV-Hop localization algorithm variants.
Table 1. Comprehensive summary of DV-Hop localization algorithm variants.
AuthorsSummaryStrength of ApproachAnchors BasedNode DensityLocalization ErrorApproaches of LocalizationComplexityAccuracy
Chen et al. in [29]A novel method that integrates redundancy, optimized beacons, and iterative techniques using hop error-based signal weighting and an optimal average hop size to improve localization.Weighted redundancy and optimized beacons are used.YesHighMediumIterativeMediumMedium
Yanfei et al. in [30]An approach that involves modifying the hop count technique and incorporating a mobile anchor node. The hop count computation is modified.Both static and mobile anchor nodes are used.YesHighMediumDistributedMediumMedium
Shi et al. in [31]A modified approach that combines Particle Swarm Optimization (PSO) and Simulated Annealing (SA) to handle nonlinear equations.Uses the PSO and SA methods to address nonlinear equations. The anisotropic networks.YesHighLowerIterativeHighHigh
Han et al. in [32]DEIDV-Hop combines an enhanced DV-Hop algorithm with Differential Evolution (DE) to correct inaccuracies caused by the average hop size in the network.Uses PSO with four distinct network topologies.YesHighLowerIterativeHighHigh
Zhang et al. in [33]A localization approach called LSDV-Hop that leverages the least squares theory to enhance the precision of node localization.Transformation vector using the least-squares method.YesHighMediumDistributedMediumMedium
Messous et al. in [34]An online sequential localization algorithm based on the DV-Hop technique.Modifies DV-Hop into an online sequential localization algorithmYesHighMediumDistributedHighMedium
Song et al. [35]An approach based on a novel method for hop size distance calculation with 2D hyperbolic techniques.Uses a new average hop size and 2D hyperbolic techniquesYesHighMediumIterativeMediumMedium
Tomic et al. in [36]Three enhanced algorithms (iDV-Hop1, iDV-Hop2, and Quad DV-Hop) based on the DV-Hop technique.New approaches based on geometry.YesHighMediumDistributedHighMedium
Singh et al. in [37]A new DV-Hop-based scheme that incorporates PSO to minimize the localization error.Combines DV-Hop and PSOYesHighHighIterativeHighHigh
Rabhi et al. in [38]An optimized algorithm based on the chicken swarm optimization approach.Uses chicken swarm optimization to achieve superior results in comparison with the PSO method.YesHighHighIterativeHighHigh
Table 2. Detailed simulation parameters.
Table 2. Detailed simulation parameters.
ParameterValue
Network
Network topologySquare random, H-shaped, O-shaped, and W-shaped
Total runs30
Length of area100 m × 100 m
Number of nodes200, 250, 300, 350, 400, 450, and 500
Number of anchor nodes15%, 20%, 25%, 30%, 35%, and 40%
Communication range R15 m, 20 m, 25 m, 30 m, and 35 m
PSO
Number of iterations50
particle sizes20
Random values σ 1 and σ 1 [0, 1]
Learning coefficient C 1 , C 2 1.5 and 2
Particle’s velocity V m a x 10
CSO
Number of iterations50
Size of chicken swarm20
Number of roosters8
Number of chicks1
Number of hens15
Table 3. Simulation results and analysis for the random square, H-shaped, O-shaped, and W-shaped networks (200 nodes, 40 anchors, R = 30 m).
Table 3. Simulation results and analysis for the random square, H-shaped, O-shaped, and W-shaped networks (200 nodes, 40 anchors, R = 30 m).
Network TopologyRandom SquareH-ShapedO-ShapedW-Shaped
AlgorithmMINMAXAVGMINMAXAVGMINMAXAVGMINMAXAVG
DV-Hop0.0320.6930.2820.0211.0650.3790.0530.8060.2820.0170.7720.274
DV-HopPSO0.0391.110.2720.0131.1480.2880.0070.8920.2360.0090.8540.225
MDV-Hop0.0250.6470.2580.0220.9740.3270.0250.5220.2080.0310.790.299
DV-HopCSO0.0170.5950.2010.0210.8040.2330.0190.5640.1910.0170.7720.212
W-DV-Hop0.0120.9760.2780.0121.5950.380.0170.7130.2670.0131.090.278
W-DV-HopCSO0.0120.7080.1820.0120.9690.2520.0170.610.1860.0130.7520.187
HW-DV-Hop0.0340.8160.2430.0090.8210.2690.0240.7850.2440.0060.710.286
HW-DV-HopCSO0.0160.6460.1740.0090.7290.2000.0080.4560.1940.0060.5380.201
Table 4. Simulation results and analysis in the random square, H-shaped, O-shaped, and W-shaped network topologies (200 nodes, 40 anchors, R = 30 m).
Table 4. Simulation results and analysis in the random square, H-shaped, O-shaped, and W-shaped network topologies (200 nodes, 40 anchors, R = 30 m).
Network TopologyRandom SquareH-ShapedO-ShapedW-Shaped
Algorithm3080100308010030801003080100
DV-Hop0.2820.3030.3160.3790.3740.3700.2820.3050.3000.2740.3240.322
PSODV-Hop0.2720.2430.2470.2880.2860.2870.2360.2570.2560.2250.2430.245
MDV-Hop0.2580.2250.2300.3270.2880.2860.2080.1990.1970.2990.2550.265
DV-HopCSO0.2010.2000.2040.2330.2330.2330.1910.2110.2080.2120.2250.222
W-DV-Hop0.2780.2880.2980.380.3670.3650.2670.2890.2810.2780.3100.312
W-DV-HopCSO0.1820.1900.1940.2520.2320.2340.1860.1970.1920.1870.2150.221
HW-DV-Hop0.2430.2480.2430.2690.3290.3270.2440.2120.2140.2860.2760.276
HW-DV-HopCSO0.1740.1770.1760.2000.2260.2220.1940.1860.1710.2010.2080.211
Table 5. Time complexity analysis.
Table 5. Time complexity analysis.
AlgorithmTime ComplexitySpace Complexity
DV-Hop O ( k 2 ) O ( 1 )
PSODV-Hop O ( M a x G 1 N P 1 ( n k ) ) O ( N P 1 )
MDV-Hop O ( M a x G 1 N P 1 ( n k ) ) O ( N P 1 )
DV-HopCSO O ( M a x G 2 N P 2 ( n k ) ) O ( N P 2 )
W-DV-Hop O ( k 2 ) O ( 1 )
W-DV-HopCSO O ( M a x G 2 N P 2 ( n k ) ) O ( N P 2 )
HW-DV-Hop O ( k 2 ) O ( 1 )
HW-DV-HopCSO O ( M a x G 2 N P 2 ( n k ) ) O ( N P 2 )
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

Hadir, A.; Kaabouch, N.; El Houssaini, M.-A.; El Kafi, J. Range-Free Localization Approaches Based on Intelligent Swarm Optimization for Internet of Things. Information 2023, 14, 592. https://doi.org/10.3390/info14110592

AMA Style

Hadir A, Kaabouch N, El Houssaini M-A, El Kafi J. Range-Free Localization Approaches Based on Intelligent Swarm Optimization for Internet of Things. Information. 2023; 14(11):592. https://doi.org/10.3390/info14110592

Chicago/Turabian Style

Hadir, Abdelali, Naima Kaabouch, Mohammed-Alamine El Houssaini, and Jamal El Kafi. 2023. "Range-Free Localization Approaches Based on Intelligent Swarm Optimization for Internet of Things" Information 14, no. 11: 592. https://doi.org/10.3390/info14110592

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop